report_template

package
v2.18.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2024 License: ISC Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for report template API

func (*Client) CreateReportTemplate

func (a *Client) CreateReportTemplate(params *CreateReportTemplateParams, opts ...ClientOption) (*CreateReportTemplateOK, error)

CreateReportTemplate create report template API

func (*Client) DeleteReportTemplate

func (a *Client) DeleteReportTemplate(params *DeleteReportTemplateParams, opts ...ClientOption) (*DeleteReportTemplateOK, error)

DeleteReportTemplate delete report template API

func (*Client) GenerateFromReportTemplate

func (a *Client) GenerateFromReportTemplate(params *GenerateFromReportTemplateParams, opts ...ClientOption) (*GenerateFromReportTemplateOK, error)

GenerateFromReportTemplate generate from report template API

func (*Client) GetReportTemplates

func (a *Client) GetReportTemplates(params *GetReportTemplatesParams, opts ...ClientOption) (*GetReportTemplatesOK, error)

GetReportTemplates get report templates API

func (*Client) GetReportTemplatesConnection

func (a *Client) GetReportTemplatesConnection(params *GetReportTemplatesConnectionParams, opts ...ClientOption) (*GetReportTemplatesConnectionOK, error)

GetReportTemplatesConnection get report templates connection API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateReportTemplate

func (a *Client) UpdateReportTemplate(params *UpdateReportTemplateParams, opts ...ClientOption) (*UpdateReportTemplateOK, error)

UpdateReportTemplate update report template API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateReportTemplate(params *CreateReportTemplateParams, opts ...ClientOption) (*CreateReportTemplateOK, error)

	DeleteReportTemplate(params *DeleteReportTemplateParams, opts ...ClientOption) (*DeleteReportTemplateOK, error)

	GenerateFromReportTemplate(params *GenerateFromReportTemplateParams, opts ...ClientOption) (*GenerateFromReportTemplateOK, error)

	GetReportTemplates(params *GetReportTemplatesParams, opts ...ClientOption) (*GetReportTemplatesOK, error)

	GetReportTemplatesConnection(params *GetReportTemplatesConnectionParams, opts ...ClientOption) (*GetReportTemplatesConnectionOK, error)

	UpdateReportTemplate(params *UpdateReportTemplateParams, opts ...ClientOption) (*UpdateReportTemplateOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new report template API client.

type CreateReportTemplateBadRequest

type CreateReportTemplateBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateReportTemplateBadRequest describes a response with status code 400, with default header values.

Bad request

func NewCreateReportTemplateBadRequest

func NewCreateReportTemplateBadRequest() *CreateReportTemplateBadRequest

NewCreateReportTemplateBadRequest creates a CreateReportTemplateBadRequest with default headers values

func (*CreateReportTemplateBadRequest) Error

func (*CreateReportTemplateBadRequest) GetPayload

type CreateReportTemplateInternalServerError

type CreateReportTemplateInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateReportTemplateInternalServerError describes a response with status code 500, with default header values.

Server error

func NewCreateReportTemplateInternalServerError

func NewCreateReportTemplateInternalServerError() *CreateReportTemplateInternalServerError

NewCreateReportTemplateInternalServerError creates a CreateReportTemplateInternalServerError with default headers values

func (*CreateReportTemplateInternalServerError) Error

func (*CreateReportTemplateInternalServerError) GetPayload

type CreateReportTemplateNotFound

type CreateReportTemplateNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateReportTemplateNotFound describes a response with status code 404, with default header values.

Not found

func NewCreateReportTemplateNotFound

func NewCreateReportTemplateNotFound() *CreateReportTemplateNotFound

NewCreateReportTemplateNotFound creates a CreateReportTemplateNotFound with default headers values

func (*CreateReportTemplateNotFound) Error

func (*CreateReportTemplateNotFound) GetPayload

type CreateReportTemplateOK

type CreateReportTemplateOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskReportTemplate
}
CreateReportTemplateOK describes a response with status code 200, with default header values.

CreateReportTemplateOK create report template o k

func NewCreateReportTemplateOK

func NewCreateReportTemplateOK() *CreateReportTemplateOK

NewCreateReportTemplateOK creates a CreateReportTemplateOK with default headers values

func (*CreateReportTemplateOK) Error

func (o *CreateReportTemplateOK) Error() string

func (*CreateReportTemplateOK) GetPayload

type CreateReportTemplateParams

type CreateReportTemplateParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody []*models.ReportTemplateCreationParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateReportTemplateParams contains all the parameters to send to the API endpoint

for the create report template operation.

Typically these are written to a http.Request.

func NewCreateReportTemplateParams

func NewCreateReportTemplateParams() *CreateReportTemplateParams

NewCreateReportTemplateParams creates a new CreateReportTemplateParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateReportTemplateParamsWithContext

func NewCreateReportTemplateParamsWithContext(ctx context.Context) *CreateReportTemplateParams

NewCreateReportTemplateParamsWithContext creates a new CreateReportTemplateParams object with the ability to set a context for a request.

func NewCreateReportTemplateParamsWithHTTPClient

func NewCreateReportTemplateParamsWithHTTPClient(client *http.Client) *CreateReportTemplateParams

NewCreateReportTemplateParamsWithHTTPClient creates a new CreateReportTemplateParams object with the ability to set a custom HTTPClient for a request.

func NewCreateReportTemplateParamsWithTimeout

func NewCreateReportTemplateParamsWithTimeout(timeout time.Duration) *CreateReportTemplateParams

NewCreateReportTemplateParamsWithTimeout creates a new CreateReportTemplateParams object with the ability to set a timeout on a request.

func (*CreateReportTemplateParams) SetContentLanguage

func (o *CreateReportTemplateParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the create report template params

func (*CreateReportTemplateParams) SetContext

func (o *CreateReportTemplateParams) SetContext(ctx context.Context)

SetContext adds the context to the create report template params

func (*CreateReportTemplateParams) SetDefaults

func (o *CreateReportTemplateParams) SetDefaults()

SetDefaults hydrates default values in the create report template params (not the query body).

All values with no default are reset to their zero value.

func (*CreateReportTemplateParams) SetHTTPClient

func (o *CreateReportTemplateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create report template params

func (*CreateReportTemplateParams) SetRequestBody

func (o *CreateReportTemplateParams) SetRequestBody(requestBody []*models.ReportTemplateCreationParams)

SetRequestBody adds the requestBody to the create report template params

func (*CreateReportTemplateParams) SetTimeout

func (o *CreateReportTemplateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create report template params

func (*CreateReportTemplateParams) WithContentLanguage

func (o *CreateReportTemplateParams) WithContentLanguage(contentLanguage *string) *CreateReportTemplateParams

WithContentLanguage adds the contentLanguage to the create report template params

func (*CreateReportTemplateParams) WithContext

WithContext adds the context to the create report template params

func (*CreateReportTemplateParams) WithDefaults

WithDefaults hydrates default values in the create report template params (not the query body).

All values with no default are reset to their zero value.

func (*CreateReportTemplateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create report template params

func (*CreateReportTemplateParams) WithRequestBody

WithRequestBody adds the requestBody to the create report template params

func (*CreateReportTemplateParams) WithTimeout

WithTimeout adds the timeout to the create report template params

func (*CreateReportTemplateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateReportTemplateReader

type CreateReportTemplateReader struct {
	// contains filtered or unexported fields
}

CreateReportTemplateReader is a Reader for the CreateReportTemplate structure.

func (*CreateReportTemplateReader) ReadResponse

func (o *CreateReportTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteReportTemplateBadRequest

type DeleteReportTemplateBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
DeleteReportTemplateBadRequest describes a response with status code 400, with default header values.

Bad request

func NewDeleteReportTemplateBadRequest

func NewDeleteReportTemplateBadRequest() *DeleteReportTemplateBadRequest

NewDeleteReportTemplateBadRequest creates a DeleteReportTemplateBadRequest with default headers values

func (*DeleteReportTemplateBadRequest) Error

func (*DeleteReportTemplateBadRequest) GetPayload

type DeleteReportTemplateInternalServerError

type DeleteReportTemplateInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
DeleteReportTemplateInternalServerError describes a response with status code 500, with default header values.

Server error

func NewDeleteReportTemplateInternalServerError

func NewDeleteReportTemplateInternalServerError() *DeleteReportTemplateInternalServerError

NewDeleteReportTemplateInternalServerError creates a DeleteReportTemplateInternalServerError with default headers values

func (*DeleteReportTemplateInternalServerError) Error

func (*DeleteReportTemplateInternalServerError) GetPayload

type DeleteReportTemplateNotFound

type DeleteReportTemplateNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
DeleteReportTemplateNotFound describes a response with status code 404, with default header values.

Not found

func NewDeleteReportTemplateNotFound

func NewDeleteReportTemplateNotFound() *DeleteReportTemplateNotFound

NewDeleteReportTemplateNotFound creates a DeleteReportTemplateNotFound with default headers values

func (*DeleteReportTemplateNotFound) Error

func (*DeleteReportTemplateNotFound) GetPayload

type DeleteReportTemplateOK

type DeleteReportTemplateOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskDeleteReportTemplate
}
DeleteReportTemplateOK describes a response with status code 200, with default header values.

DeleteReportTemplateOK delete report template o k

func NewDeleteReportTemplateOK

func NewDeleteReportTemplateOK() *DeleteReportTemplateOK

NewDeleteReportTemplateOK creates a DeleteReportTemplateOK with default headers values

func (*DeleteReportTemplateOK) Error

func (o *DeleteReportTemplateOK) Error() string

func (*DeleteReportTemplateOK) GetPayload

type DeleteReportTemplateParams

type DeleteReportTemplateParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.ReportTemplateDeletionParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteReportTemplateParams contains all the parameters to send to the API endpoint

for the delete report template operation.

Typically these are written to a http.Request.

func NewDeleteReportTemplateParams

func NewDeleteReportTemplateParams() *DeleteReportTemplateParams

NewDeleteReportTemplateParams creates a new DeleteReportTemplateParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteReportTemplateParamsWithContext

func NewDeleteReportTemplateParamsWithContext(ctx context.Context) *DeleteReportTemplateParams

NewDeleteReportTemplateParamsWithContext creates a new DeleteReportTemplateParams object with the ability to set a context for a request.

func NewDeleteReportTemplateParamsWithHTTPClient

func NewDeleteReportTemplateParamsWithHTTPClient(client *http.Client) *DeleteReportTemplateParams

NewDeleteReportTemplateParamsWithHTTPClient creates a new DeleteReportTemplateParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteReportTemplateParamsWithTimeout

func NewDeleteReportTemplateParamsWithTimeout(timeout time.Duration) *DeleteReportTemplateParams

NewDeleteReportTemplateParamsWithTimeout creates a new DeleteReportTemplateParams object with the ability to set a timeout on a request.

func (*DeleteReportTemplateParams) SetContentLanguage

func (o *DeleteReportTemplateParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the delete report template params

func (*DeleteReportTemplateParams) SetContext

func (o *DeleteReportTemplateParams) SetContext(ctx context.Context)

SetContext adds the context to the delete report template params

func (*DeleteReportTemplateParams) SetDefaults

func (o *DeleteReportTemplateParams) SetDefaults()

SetDefaults hydrates default values in the delete report template params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteReportTemplateParams) SetHTTPClient

func (o *DeleteReportTemplateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete report template params

func (*DeleteReportTemplateParams) SetRequestBody

func (o *DeleteReportTemplateParams) SetRequestBody(requestBody *models.ReportTemplateDeletionParams)

SetRequestBody adds the requestBody to the delete report template params

func (*DeleteReportTemplateParams) SetTimeout

func (o *DeleteReportTemplateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete report template params

func (*DeleteReportTemplateParams) WithContentLanguage

func (o *DeleteReportTemplateParams) WithContentLanguage(contentLanguage *string) *DeleteReportTemplateParams

WithContentLanguage adds the contentLanguage to the delete report template params

func (*DeleteReportTemplateParams) WithContext

WithContext adds the context to the delete report template params

func (*DeleteReportTemplateParams) WithDefaults

WithDefaults hydrates default values in the delete report template params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteReportTemplateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete report template params

func (*DeleteReportTemplateParams) WithRequestBody

WithRequestBody adds the requestBody to the delete report template params

func (*DeleteReportTemplateParams) WithTimeout

WithTimeout adds the timeout to the delete report template params

func (*DeleteReportTemplateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteReportTemplateReader

type DeleteReportTemplateReader struct {
	// contains filtered or unexported fields
}

DeleteReportTemplateReader is a Reader for the DeleteReportTemplate structure.

func (*DeleteReportTemplateReader) ReadResponse

func (o *DeleteReportTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GenerateFromReportTemplateBadRequest

type GenerateFromReportTemplateBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GenerateFromReportTemplateBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGenerateFromReportTemplateBadRequest

func NewGenerateFromReportTemplateBadRequest() *GenerateFromReportTemplateBadRequest

NewGenerateFromReportTemplateBadRequest creates a GenerateFromReportTemplateBadRequest with default headers values

func (*GenerateFromReportTemplateBadRequest) Error

func (*GenerateFromReportTemplateBadRequest) GetPayload

type GenerateFromReportTemplateInternalServerError

type GenerateFromReportTemplateInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GenerateFromReportTemplateInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGenerateFromReportTemplateInternalServerError

func NewGenerateFromReportTemplateInternalServerError() *GenerateFromReportTemplateInternalServerError

NewGenerateFromReportTemplateInternalServerError creates a GenerateFromReportTemplateInternalServerError with default headers values

func (*GenerateFromReportTemplateInternalServerError) Error

func (*GenerateFromReportTemplateInternalServerError) GetPayload

type GenerateFromReportTemplateNotFound

type GenerateFromReportTemplateNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GenerateFromReportTemplateNotFound describes a response with status code 404, with default header values.

Not found

func NewGenerateFromReportTemplateNotFound

func NewGenerateFromReportTemplateNotFound() *GenerateFromReportTemplateNotFound

NewGenerateFromReportTemplateNotFound creates a GenerateFromReportTemplateNotFound with default headers values

func (*GenerateFromReportTemplateNotFound) Error

func (*GenerateFromReportTemplateNotFound) GetPayload

type GenerateFromReportTemplateOK

type GenerateFromReportTemplateOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskReportTask
}
GenerateFromReportTemplateOK describes a response with status code 200, with default header values.

GenerateFromReportTemplateOK generate from report template o k

func NewGenerateFromReportTemplateOK

func NewGenerateFromReportTemplateOK() *GenerateFromReportTemplateOK

NewGenerateFromReportTemplateOK creates a GenerateFromReportTemplateOK with default headers values

func (*GenerateFromReportTemplateOK) Error

func (*GenerateFromReportTemplateOK) GetPayload

type GenerateFromReportTemplateParams

type GenerateFromReportTemplateParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.ReporteTemplateGenerationParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GenerateFromReportTemplateParams contains all the parameters to send to the API endpoint

for the generate from report template operation.

Typically these are written to a http.Request.

func NewGenerateFromReportTemplateParams

func NewGenerateFromReportTemplateParams() *GenerateFromReportTemplateParams

NewGenerateFromReportTemplateParams creates a new GenerateFromReportTemplateParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGenerateFromReportTemplateParamsWithContext

func NewGenerateFromReportTemplateParamsWithContext(ctx context.Context) *GenerateFromReportTemplateParams

NewGenerateFromReportTemplateParamsWithContext creates a new GenerateFromReportTemplateParams object with the ability to set a context for a request.

func NewGenerateFromReportTemplateParamsWithHTTPClient

func NewGenerateFromReportTemplateParamsWithHTTPClient(client *http.Client) *GenerateFromReportTemplateParams

NewGenerateFromReportTemplateParamsWithHTTPClient creates a new GenerateFromReportTemplateParams object with the ability to set a custom HTTPClient for a request.

func NewGenerateFromReportTemplateParamsWithTimeout

func NewGenerateFromReportTemplateParamsWithTimeout(timeout time.Duration) *GenerateFromReportTemplateParams

NewGenerateFromReportTemplateParamsWithTimeout creates a new GenerateFromReportTemplateParams object with the ability to set a timeout on a request.

func (*GenerateFromReportTemplateParams) SetContentLanguage

func (o *GenerateFromReportTemplateParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the generate from report template params

func (*GenerateFromReportTemplateParams) SetContext

SetContext adds the context to the generate from report template params

func (*GenerateFromReportTemplateParams) SetDefaults

func (o *GenerateFromReportTemplateParams) SetDefaults()

SetDefaults hydrates default values in the generate from report template params (not the query body).

All values with no default are reset to their zero value.

func (*GenerateFromReportTemplateParams) SetHTTPClient

func (o *GenerateFromReportTemplateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the generate from report template params

func (*GenerateFromReportTemplateParams) SetRequestBody

SetRequestBody adds the requestBody to the generate from report template params

func (*GenerateFromReportTemplateParams) SetTimeout

func (o *GenerateFromReportTemplateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the generate from report template params

func (*GenerateFromReportTemplateParams) WithContentLanguage

func (o *GenerateFromReportTemplateParams) WithContentLanguage(contentLanguage *string) *GenerateFromReportTemplateParams

WithContentLanguage adds the contentLanguage to the generate from report template params

func (*GenerateFromReportTemplateParams) WithContext

WithContext adds the context to the generate from report template params

func (*GenerateFromReportTemplateParams) WithDefaults

WithDefaults hydrates default values in the generate from report template params (not the query body).

All values with no default are reset to their zero value.

func (*GenerateFromReportTemplateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the generate from report template params

func (*GenerateFromReportTemplateParams) WithRequestBody

WithRequestBody adds the requestBody to the generate from report template params

func (*GenerateFromReportTemplateParams) WithTimeout

WithTimeout adds the timeout to the generate from report template params

func (*GenerateFromReportTemplateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GenerateFromReportTemplateReader

type GenerateFromReportTemplateReader struct {
	// contains filtered or unexported fields
}

GenerateFromReportTemplateReader is a Reader for the GenerateFromReportTemplate structure.

func (*GenerateFromReportTemplateReader) ReadResponse

func (o *GenerateFromReportTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetReportTemplatesBadRequest

type GetReportTemplatesBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetReportTemplatesBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetReportTemplatesBadRequest

func NewGetReportTemplatesBadRequest() *GetReportTemplatesBadRequest

NewGetReportTemplatesBadRequest creates a GetReportTemplatesBadRequest with default headers values

func (*GetReportTemplatesBadRequest) Error

func (*GetReportTemplatesBadRequest) GetPayload

type GetReportTemplatesConnectionBadRequest

type GetReportTemplatesConnectionBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetReportTemplatesConnectionBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetReportTemplatesConnectionBadRequest

func NewGetReportTemplatesConnectionBadRequest() *GetReportTemplatesConnectionBadRequest

NewGetReportTemplatesConnectionBadRequest creates a GetReportTemplatesConnectionBadRequest with default headers values

func (*GetReportTemplatesConnectionBadRequest) Error

func (*GetReportTemplatesConnectionBadRequest) GetPayload

type GetReportTemplatesConnectionInternalServerError

type GetReportTemplatesConnectionInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetReportTemplatesConnectionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetReportTemplatesConnectionInternalServerError

func NewGetReportTemplatesConnectionInternalServerError() *GetReportTemplatesConnectionInternalServerError

NewGetReportTemplatesConnectionInternalServerError creates a GetReportTemplatesConnectionInternalServerError with default headers values

func (*GetReportTemplatesConnectionInternalServerError) Error

func (*GetReportTemplatesConnectionInternalServerError) GetPayload

type GetReportTemplatesConnectionNotFound

type GetReportTemplatesConnectionNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetReportTemplatesConnectionNotFound describes a response with status code 404, with default header values.

Not found

func NewGetReportTemplatesConnectionNotFound

func NewGetReportTemplatesConnectionNotFound() *GetReportTemplatesConnectionNotFound

NewGetReportTemplatesConnectionNotFound creates a GetReportTemplatesConnectionNotFound with default headers values

func (*GetReportTemplatesConnectionNotFound) Error

func (*GetReportTemplatesConnectionNotFound) GetPayload

type GetReportTemplatesConnectionOK

type GetReportTemplatesConnectionOK struct {
	XTowerRequestID string

	Payload *models.ReportTemplateConnection
}
GetReportTemplatesConnectionOK describes a response with status code 200, with default header values.

GetReportTemplatesConnectionOK get report templates connection o k

func NewGetReportTemplatesConnectionOK

func NewGetReportTemplatesConnectionOK() *GetReportTemplatesConnectionOK

NewGetReportTemplatesConnectionOK creates a GetReportTemplatesConnectionOK with default headers values

func (*GetReportTemplatesConnectionOK) Error

func (*GetReportTemplatesConnectionOK) GetPayload

type GetReportTemplatesConnectionParams

type GetReportTemplatesConnectionParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetReportTemplatesConnectionRequestBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetReportTemplatesConnectionParams contains all the parameters to send to the API endpoint

for the get report templates connection operation.

Typically these are written to a http.Request.

func NewGetReportTemplatesConnectionParams

func NewGetReportTemplatesConnectionParams() *GetReportTemplatesConnectionParams

NewGetReportTemplatesConnectionParams creates a new GetReportTemplatesConnectionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetReportTemplatesConnectionParamsWithContext

func NewGetReportTemplatesConnectionParamsWithContext(ctx context.Context) *GetReportTemplatesConnectionParams

NewGetReportTemplatesConnectionParamsWithContext creates a new GetReportTemplatesConnectionParams object with the ability to set a context for a request.

func NewGetReportTemplatesConnectionParamsWithHTTPClient

func NewGetReportTemplatesConnectionParamsWithHTTPClient(client *http.Client) *GetReportTemplatesConnectionParams

NewGetReportTemplatesConnectionParamsWithHTTPClient creates a new GetReportTemplatesConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetReportTemplatesConnectionParamsWithTimeout

func NewGetReportTemplatesConnectionParamsWithTimeout(timeout time.Duration) *GetReportTemplatesConnectionParams

NewGetReportTemplatesConnectionParamsWithTimeout creates a new GetReportTemplatesConnectionParams object with the ability to set a timeout on a request.

func (*GetReportTemplatesConnectionParams) SetContentLanguage

func (o *GetReportTemplatesConnectionParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get report templates connection params

func (*GetReportTemplatesConnectionParams) SetContext

SetContext adds the context to the get report templates connection params

func (*GetReportTemplatesConnectionParams) SetDefaults

func (o *GetReportTemplatesConnectionParams) SetDefaults()

SetDefaults hydrates default values in the get report templates connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetReportTemplatesConnectionParams) SetHTTPClient

func (o *GetReportTemplatesConnectionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get report templates connection params

func (*GetReportTemplatesConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get report templates connection params

func (*GetReportTemplatesConnectionParams) SetTimeout

func (o *GetReportTemplatesConnectionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get report templates connection params

func (*GetReportTemplatesConnectionParams) WithContentLanguage

func (o *GetReportTemplatesConnectionParams) WithContentLanguage(contentLanguage *string) *GetReportTemplatesConnectionParams

WithContentLanguage adds the contentLanguage to the get report templates connection params

func (*GetReportTemplatesConnectionParams) WithContext

WithContext adds the context to the get report templates connection params

func (*GetReportTemplatesConnectionParams) WithDefaults

WithDefaults hydrates default values in the get report templates connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetReportTemplatesConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get report templates connection params

func (*GetReportTemplatesConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get report templates connection params

func (*GetReportTemplatesConnectionParams) WithTimeout

WithTimeout adds the timeout to the get report templates connection params

func (*GetReportTemplatesConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetReportTemplatesConnectionReader

type GetReportTemplatesConnectionReader struct {
	// contains filtered or unexported fields
}

GetReportTemplatesConnectionReader is a Reader for the GetReportTemplatesConnection structure.

func (*GetReportTemplatesConnectionReader) ReadResponse

func (o *GetReportTemplatesConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetReportTemplatesInternalServerError

type GetReportTemplatesInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetReportTemplatesInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetReportTemplatesInternalServerError

func NewGetReportTemplatesInternalServerError() *GetReportTemplatesInternalServerError

NewGetReportTemplatesInternalServerError creates a GetReportTemplatesInternalServerError with default headers values

func (*GetReportTemplatesInternalServerError) Error

func (*GetReportTemplatesInternalServerError) GetPayload

type GetReportTemplatesNotFound

type GetReportTemplatesNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetReportTemplatesNotFound describes a response with status code 404, with default header values.

Not found

func NewGetReportTemplatesNotFound

func NewGetReportTemplatesNotFound() *GetReportTemplatesNotFound

NewGetReportTemplatesNotFound creates a GetReportTemplatesNotFound with default headers values

func (*GetReportTemplatesNotFound) Error

func (*GetReportTemplatesNotFound) GetPayload

func (o *GetReportTemplatesNotFound) GetPayload() *models.ErrorBody

type GetReportTemplatesOK

type GetReportTemplatesOK struct {
	XTowerRequestID string

	Payload []*models.ReportTemplate
}
GetReportTemplatesOK describes a response with status code 200, with default header values.

GetReportTemplatesOK get report templates o k

func NewGetReportTemplatesOK

func NewGetReportTemplatesOK() *GetReportTemplatesOK

NewGetReportTemplatesOK creates a GetReportTemplatesOK with default headers values

func (*GetReportTemplatesOK) Error

func (o *GetReportTemplatesOK) Error() string

func (*GetReportTemplatesOK) GetPayload

func (o *GetReportTemplatesOK) GetPayload() []*models.ReportTemplate

type GetReportTemplatesParams

type GetReportTemplatesParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetReportTemplatesRequestBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetReportTemplatesParams contains all the parameters to send to the API endpoint

for the get report templates operation.

Typically these are written to a http.Request.

func NewGetReportTemplatesParams

func NewGetReportTemplatesParams() *GetReportTemplatesParams

NewGetReportTemplatesParams creates a new GetReportTemplatesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetReportTemplatesParamsWithContext

func NewGetReportTemplatesParamsWithContext(ctx context.Context) *GetReportTemplatesParams

NewGetReportTemplatesParamsWithContext creates a new GetReportTemplatesParams object with the ability to set a context for a request.

func NewGetReportTemplatesParamsWithHTTPClient

func NewGetReportTemplatesParamsWithHTTPClient(client *http.Client) *GetReportTemplatesParams

NewGetReportTemplatesParamsWithHTTPClient creates a new GetReportTemplatesParams object with the ability to set a custom HTTPClient for a request.

func NewGetReportTemplatesParamsWithTimeout

func NewGetReportTemplatesParamsWithTimeout(timeout time.Duration) *GetReportTemplatesParams

NewGetReportTemplatesParamsWithTimeout creates a new GetReportTemplatesParams object with the ability to set a timeout on a request.

func (*GetReportTemplatesParams) SetContentLanguage

func (o *GetReportTemplatesParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get report templates params

func (*GetReportTemplatesParams) SetContext

func (o *GetReportTemplatesParams) SetContext(ctx context.Context)

SetContext adds the context to the get report templates params

func (*GetReportTemplatesParams) SetDefaults

func (o *GetReportTemplatesParams) SetDefaults()

SetDefaults hydrates default values in the get report templates params (not the query body).

All values with no default are reset to their zero value.

func (*GetReportTemplatesParams) SetHTTPClient

func (o *GetReportTemplatesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get report templates params

func (*GetReportTemplatesParams) SetRequestBody

func (o *GetReportTemplatesParams) SetRequestBody(requestBody *models.GetReportTemplatesRequestBody)

SetRequestBody adds the requestBody to the get report templates params

func (*GetReportTemplatesParams) SetTimeout

func (o *GetReportTemplatesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get report templates params

func (*GetReportTemplatesParams) WithContentLanguage

func (o *GetReportTemplatesParams) WithContentLanguage(contentLanguage *string) *GetReportTemplatesParams

WithContentLanguage adds the contentLanguage to the get report templates params

func (*GetReportTemplatesParams) WithContext

WithContext adds the context to the get report templates params

func (*GetReportTemplatesParams) WithDefaults

WithDefaults hydrates default values in the get report templates params (not the query body).

All values with no default are reset to their zero value.

func (*GetReportTemplatesParams) WithHTTPClient

func (o *GetReportTemplatesParams) WithHTTPClient(client *http.Client) *GetReportTemplatesParams

WithHTTPClient adds the HTTPClient to the get report templates params

func (*GetReportTemplatesParams) WithRequestBody

WithRequestBody adds the requestBody to the get report templates params

func (*GetReportTemplatesParams) WithTimeout

WithTimeout adds the timeout to the get report templates params

func (*GetReportTemplatesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetReportTemplatesReader

type GetReportTemplatesReader struct {
	// contains filtered or unexported fields
}

GetReportTemplatesReader is a Reader for the GetReportTemplates structure.

func (*GetReportTemplatesReader) ReadResponse

func (o *GetReportTemplatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateReportTemplateBadRequest

type UpdateReportTemplateBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateReportTemplateBadRequest describes a response with status code 400, with default header values.

Bad request

func NewUpdateReportTemplateBadRequest

func NewUpdateReportTemplateBadRequest() *UpdateReportTemplateBadRequest

NewUpdateReportTemplateBadRequest creates a UpdateReportTemplateBadRequest with default headers values

func (*UpdateReportTemplateBadRequest) Error

func (*UpdateReportTemplateBadRequest) GetPayload

type UpdateReportTemplateInternalServerError

type UpdateReportTemplateInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateReportTemplateInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpdateReportTemplateInternalServerError

func NewUpdateReportTemplateInternalServerError() *UpdateReportTemplateInternalServerError

NewUpdateReportTemplateInternalServerError creates a UpdateReportTemplateInternalServerError with default headers values

func (*UpdateReportTemplateInternalServerError) Error

func (*UpdateReportTemplateInternalServerError) GetPayload

type UpdateReportTemplateNotFound

type UpdateReportTemplateNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateReportTemplateNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateReportTemplateNotFound

func NewUpdateReportTemplateNotFound() *UpdateReportTemplateNotFound

NewUpdateReportTemplateNotFound creates a UpdateReportTemplateNotFound with default headers values

func (*UpdateReportTemplateNotFound) Error

func (*UpdateReportTemplateNotFound) GetPayload

type UpdateReportTemplateOK

type UpdateReportTemplateOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskReportTemplate
}
UpdateReportTemplateOK describes a response with status code 200, with default header values.

UpdateReportTemplateOK update report template o k

func NewUpdateReportTemplateOK

func NewUpdateReportTemplateOK() *UpdateReportTemplateOK

NewUpdateReportTemplateOK creates a UpdateReportTemplateOK with default headers values

func (*UpdateReportTemplateOK) Error

func (o *UpdateReportTemplateOK) Error() string

func (*UpdateReportTemplateOK) GetPayload

type UpdateReportTemplateParams

type UpdateReportTemplateParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.ReportTemplateUpdationParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateReportTemplateParams contains all the parameters to send to the API endpoint

for the update report template operation.

Typically these are written to a http.Request.

func NewUpdateReportTemplateParams

func NewUpdateReportTemplateParams() *UpdateReportTemplateParams

NewUpdateReportTemplateParams creates a new UpdateReportTemplateParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateReportTemplateParamsWithContext

func NewUpdateReportTemplateParamsWithContext(ctx context.Context) *UpdateReportTemplateParams

NewUpdateReportTemplateParamsWithContext creates a new UpdateReportTemplateParams object with the ability to set a context for a request.

func NewUpdateReportTemplateParamsWithHTTPClient

func NewUpdateReportTemplateParamsWithHTTPClient(client *http.Client) *UpdateReportTemplateParams

NewUpdateReportTemplateParamsWithHTTPClient creates a new UpdateReportTemplateParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateReportTemplateParamsWithTimeout

func NewUpdateReportTemplateParamsWithTimeout(timeout time.Duration) *UpdateReportTemplateParams

NewUpdateReportTemplateParamsWithTimeout creates a new UpdateReportTemplateParams object with the ability to set a timeout on a request.

func (*UpdateReportTemplateParams) SetContentLanguage

func (o *UpdateReportTemplateParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the update report template params

func (*UpdateReportTemplateParams) SetContext

func (o *UpdateReportTemplateParams) SetContext(ctx context.Context)

SetContext adds the context to the update report template params

func (*UpdateReportTemplateParams) SetDefaults

func (o *UpdateReportTemplateParams) SetDefaults()

SetDefaults hydrates default values in the update report template params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateReportTemplateParams) SetHTTPClient

func (o *UpdateReportTemplateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update report template params

func (*UpdateReportTemplateParams) SetRequestBody

func (o *UpdateReportTemplateParams) SetRequestBody(requestBody *models.ReportTemplateUpdationParams)

SetRequestBody adds the requestBody to the update report template params

func (*UpdateReportTemplateParams) SetTimeout

func (o *UpdateReportTemplateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update report template params

func (*UpdateReportTemplateParams) WithContentLanguage

func (o *UpdateReportTemplateParams) WithContentLanguage(contentLanguage *string) *UpdateReportTemplateParams

WithContentLanguage adds the contentLanguage to the update report template params

func (*UpdateReportTemplateParams) WithContext

WithContext adds the context to the update report template params

func (*UpdateReportTemplateParams) WithDefaults

WithDefaults hydrates default values in the update report template params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateReportTemplateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update report template params

func (*UpdateReportTemplateParams) WithRequestBody

WithRequestBody adds the requestBody to the update report template params

func (*UpdateReportTemplateParams) WithTimeout

WithTimeout adds the timeout to the update report template params

func (*UpdateReportTemplateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateReportTemplateReader

type UpdateReportTemplateReader struct {
	// contains filtered or unexported fields
}

UpdateReportTemplateReader is a Reader for the UpdateReportTemplate structure.

func (*UpdateReportTemplateReader) ReadResponse

func (o *UpdateReportTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL