Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateReportTemplate(params *CreateReportTemplateParams, opts ...ClientOption) (*CreateReportTemplateOK, error)
- func (a *Client) DeleteReportTemplate(params *DeleteReportTemplateParams, opts ...ClientOption) (*DeleteReportTemplateOK, error)
- func (a *Client) GenerateFromReportTemplate(params *GenerateFromReportTemplateParams, opts ...ClientOption) (*GenerateFromReportTemplateOK, error)
- func (a *Client) GetReportTemplates(params *GetReportTemplatesParams, opts ...ClientOption) (*GetReportTemplatesOK, error)
- func (a *Client) GetReportTemplatesConnection(params *GetReportTemplatesConnectionParams, opts ...ClientOption) (*GetReportTemplatesConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateReportTemplate(params *UpdateReportTemplateParams, opts ...ClientOption) (*UpdateReportTemplateOK, error)
- type ClientOption
- type ClientService
- type CreateReportTemplateBadRequest
- type CreateReportTemplateInternalServerError
- type CreateReportTemplateNotFound
- type CreateReportTemplateOK
- type CreateReportTemplateParams
- func NewCreateReportTemplateParams() *CreateReportTemplateParams
- func NewCreateReportTemplateParamsWithContext(ctx context.Context) *CreateReportTemplateParams
- func NewCreateReportTemplateParamsWithHTTPClient(client *http.Client) *CreateReportTemplateParams
- func NewCreateReportTemplateParamsWithTimeout(timeout time.Duration) *CreateReportTemplateParams
- func (o *CreateReportTemplateParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateReportTemplateParams) SetContext(ctx context.Context)
- func (o *CreateReportTemplateParams) SetDefaults()
- func (o *CreateReportTemplateParams) SetHTTPClient(client *http.Client)
- func (o *CreateReportTemplateParams) SetRequestBody(requestBody []*models.ReportTemplateCreationParams)
- func (o *CreateReportTemplateParams) SetTimeout(timeout time.Duration)
- func (o *CreateReportTemplateParams) WithContentLanguage(contentLanguage *string) *CreateReportTemplateParams
- func (o *CreateReportTemplateParams) WithContext(ctx context.Context) *CreateReportTemplateParams
- func (o *CreateReportTemplateParams) WithDefaults() *CreateReportTemplateParams
- func (o *CreateReportTemplateParams) WithHTTPClient(client *http.Client) *CreateReportTemplateParams
- func (o *CreateReportTemplateParams) WithRequestBody(requestBody []*models.ReportTemplateCreationParams) *CreateReportTemplateParams
- func (o *CreateReportTemplateParams) WithTimeout(timeout time.Duration) *CreateReportTemplateParams
- func (o *CreateReportTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateReportTemplateReader
- type DeleteReportTemplateBadRequest
- type DeleteReportTemplateInternalServerError
- type DeleteReportTemplateNotFound
- type DeleteReportTemplateOK
- type DeleteReportTemplateParams
- func NewDeleteReportTemplateParams() *DeleteReportTemplateParams
- func NewDeleteReportTemplateParamsWithContext(ctx context.Context) *DeleteReportTemplateParams
- func NewDeleteReportTemplateParamsWithHTTPClient(client *http.Client) *DeleteReportTemplateParams
- func NewDeleteReportTemplateParamsWithTimeout(timeout time.Duration) *DeleteReportTemplateParams
- func (o *DeleteReportTemplateParams) SetContentLanguage(contentLanguage *string)
- func (o *DeleteReportTemplateParams) SetContext(ctx context.Context)
- func (o *DeleteReportTemplateParams) SetDefaults()
- func (o *DeleteReportTemplateParams) SetHTTPClient(client *http.Client)
- func (o *DeleteReportTemplateParams) SetRequestBody(requestBody *models.ReportTemplateDeletionParams)
- func (o *DeleteReportTemplateParams) SetTimeout(timeout time.Duration)
- func (o *DeleteReportTemplateParams) WithContentLanguage(contentLanguage *string) *DeleteReportTemplateParams
- func (o *DeleteReportTemplateParams) WithContext(ctx context.Context) *DeleteReportTemplateParams
- func (o *DeleteReportTemplateParams) WithDefaults() *DeleteReportTemplateParams
- func (o *DeleteReportTemplateParams) WithHTTPClient(client *http.Client) *DeleteReportTemplateParams
- func (o *DeleteReportTemplateParams) WithRequestBody(requestBody *models.ReportTemplateDeletionParams) *DeleteReportTemplateParams
- func (o *DeleteReportTemplateParams) WithTimeout(timeout time.Duration) *DeleteReportTemplateParams
- func (o *DeleteReportTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteReportTemplateReader
- type GenerateFromReportTemplateBadRequest
- type GenerateFromReportTemplateInternalServerError
- type GenerateFromReportTemplateNotFound
- type GenerateFromReportTemplateOK
- type GenerateFromReportTemplateParams
- func NewGenerateFromReportTemplateParams() *GenerateFromReportTemplateParams
- func NewGenerateFromReportTemplateParamsWithContext(ctx context.Context) *GenerateFromReportTemplateParams
- func NewGenerateFromReportTemplateParamsWithHTTPClient(client *http.Client) *GenerateFromReportTemplateParams
- func NewGenerateFromReportTemplateParamsWithTimeout(timeout time.Duration) *GenerateFromReportTemplateParams
- func (o *GenerateFromReportTemplateParams) SetContentLanguage(contentLanguage *string)
- func (o *GenerateFromReportTemplateParams) SetContext(ctx context.Context)
- func (o *GenerateFromReportTemplateParams) SetDefaults()
- func (o *GenerateFromReportTemplateParams) SetHTTPClient(client *http.Client)
- func (o *GenerateFromReportTemplateParams) SetRequestBody(requestBody *models.ReporteTemplateGenerationParams)
- func (o *GenerateFromReportTemplateParams) SetTimeout(timeout time.Duration)
- func (o *GenerateFromReportTemplateParams) WithContentLanguage(contentLanguage *string) *GenerateFromReportTemplateParams
- func (o *GenerateFromReportTemplateParams) WithContext(ctx context.Context) *GenerateFromReportTemplateParams
- func (o *GenerateFromReportTemplateParams) WithDefaults() *GenerateFromReportTemplateParams
- func (o *GenerateFromReportTemplateParams) WithHTTPClient(client *http.Client) *GenerateFromReportTemplateParams
- func (o *GenerateFromReportTemplateParams) WithRequestBody(requestBody *models.ReporteTemplateGenerationParams) *GenerateFromReportTemplateParams
- func (o *GenerateFromReportTemplateParams) WithTimeout(timeout time.Duration) *GenerateFromReportTemplateParams
- func (o *GenerateFromReportTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GenerateFromReportTemplateReader
- type GetReportTemplatesBadRequest
- type GetReportTemplatesConnectionBadRequest
- type GetReportTemplatesConnectionInternalServerError
- type GetReportTemplatesConnectionNotFound
- type GetReportTemplatesConnectionOK
- type GetReportTemplatesConnectionParams
- func NewGetReportTemplatesConnectionParams() *GetReportTemplatesConnectionParams
- func NewGetReportTemplatesConnectionParamsWithContext(ctx context.Context) *GetReportTemplatesConnectionParams
- func NewGetReportTemplatesConnectionParamsWithHTTPClient(client *http.Client) *GetReportTemplatesConnectionParams
- func NewGetReportTemplatesConnectionParamsWithTimeout(timeout time.Duration) *GetReportTemplatesConnectionParams
- func (o *GetReportTemplatesConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetReportTemplatesConnectionParams) SetContext(ctx context.Context)
- func (o *GetReportTemplatesConnectionParams) SetDefaults()
- func (o *GetReportTemplatesConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetReportTemplatesConnectionParams) SetRequestBody(requestBody *models.GetReportTemplatesConnectionRequestBody)
- func (o *GetReportTemplatesConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetReportTemplatesConnectionParams) WithContentLanguage(contentLanguage *string) *GetReportTemplatesConnectionParams
- func (o *GetReportTemplatesConnectionParams) WithContext(ctx context.Context) *GetReportTemplatesConnectionParams
- func (o *GetReportTemplatesConnectionParams) WithDefaults() *GetReportTemplatesConnectionParams
- func (o *GetReportTemplatesConnectionParams) WithHTTPClient(client *http.Client) *GetReportTemplatesConnectionParams
- func (o *GetReportTemplatesConnectionParams) WithRequestBody(requestBody *models.GetReportTemplatesConnectionRequestBody) *GetReportTemplatesConnectionParams
- func (o *GetReportTemplatesConnectionParams) WithTimeout(timeout time.Duration) *GetReportTemplatesConnectionParams
- func (o *GetReportTemplatesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetReportTemplatesConnectionReader
- type GetReportTemplatesInternalServerError
- type GetReportTemplatesNotFound
- type GetReportTemplatesOK
- type GetReportTemplatesParams
- func NewGetReportTemplatesParams() *GetReportTemplatesParams
- func NewGetReportTemplatesParamsWithContext(ctx context.Context) *GetReportTemplatesParams
- func NewGetReportTemplatesParamsWithHTTPClient(client *http.Client) *GetReportTemplatesParams
- func NewGetReportTemplatesParamsWithTimeout(timeout time.Duration) *GetReportTemplatesParams
- func (o *GetReportTemplatesParams) SetContentLanguage(contentLanguage *string)
- func (o *GetReportTemplatesParams) SetContext(ctx context.Context)
- func (o *GetReportTemplatesParams) SetDefaults()
- func (o *GetReportTemplatesParams) SetHTTPClient(client *http.Client)
- func (o *GetReportTemplatesParams) SetRequestBody(requestBody *models.GetReportTemplatesRequestBody)
- func (o *GetReportTemplatesParams) SetTimeout(timeout time.Duration)
- func (o *GetReportTemplatesParams) WithContentLanguage(contentLanguage *string) *GetReportTemplatesParams
- func (o *GetReportTemplatesParams) WithContext(ctx context.Context) *GetReportTemplatesParams
- func (o *GetReportTemplatesParams) WithDefaults() *GetReportTemplatesParams
- func (o *GetReportTemplatesParams) WithHTTPClient(client *http.Client) *GetReportTemplatesParams
- func (o *GetReportTemplatesParams) WithRequestBody(requestBody *models.GetReportTemplatesRequestBody) *GetReportTemplatesParams
- func (o *GetReportTemplatesParams) WithTimeout(timeout time.Duration) *GetReportTemplatesParams
- func (o *GetReportTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetReportTemplatesReader
- type UpdateReportTemplateBadRequest
- type UpdateReportTemplateInternalServerError
- type UpdateReportTemplateNotFound
- type UpdateReportTemplateOK
- type UpdateReportTemplateParams
- func NewUpdateReportTemplateParams() *UpdateReportTemplateParams
- func NewUpdateReportTemplateParamsWithContext(ctx context.Context) *UpdateReportTemplateParams
- func NewUpdateReportTemplateParamsWithHTTPClient(client *http.Client) *UpdateReportTemplateParams
- func NewUpdateReportTemplateParamsWithTimeout(timeout time.Duration) *UpdateReportTemplateParams
- func (o *UpdateReportTemplateParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateReportTemplateParams) SetContext(ctx context.Context)
- func (o *UpdateReportTemplateParams) SetDefaults()
- func (o *UpdateReportTemplateParams) SetHTTPClient(client *http.Client)
- func (o *UpdateReportTemplateParams) SetRequestBody(requestBody *models.ReportTemplateUpdationParams)
- func (o *UpdateReportTemplateParams) SetTimeout(timeout time.Duration)
- func (o *UpdateReportTemplateParams) WithContentLanguage(contentLanguage *string) *UpdateReportTemplateParams
- func (o *UpdateReportTemplateParams) WithContext(ctx context.Context) *UpdateReportTemplateParams
- func (o *UpdateReportTemplateParams) WithDefaults() *UpdateReportTemplateParams
- func (o *UpdateReportTemplateParams) WithHTTPClient(client *http.Client) *UpdateReportTemplateParams
- func (o *UpdateReportTemplateParams) WithRequestBody(requestBody *models.ReportTemplateUpdationParams) *UpdateReportTemplateParams
- func (o *UpdateReportTemplateParams) WithTimeout(timeout time.Duration) *UpdateReportTemplateParams
- func (o *UpdateReportTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateReportTemplateReader
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 ¶
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 (o *CreateReportTemplateBadRequest) Error() string
func (*CreateReportTemplateBadRequest) GetPayload ¶
func (o *CreateReportTemplateBadRequest) GetPayload() *models.ErrorBody
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 (o *CreateReportTemplateInternalServerError) Error() string
func (*CreateReportTemplateInternalServerError) GetPayload ¶
func (o *CreateReportTemplateInternalServerError) GetPayload() *models.ErrorBody
type CreateReportTemplateNotFound ¶
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 (o *CreateReportTemplateNotFound) Error() string
func (*CreateReportTemplateNotFound) GetPayload ¶
func (o *CreateReportTemplateNotFound) GetPayload() *models.ErrorBody
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 ¶
func (o *CreateReportTemplateOK) GetPayload() []*models.WithTaskReportTemplate
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 ¶
func (o *CreateReportTemplateParams) WithContext(ctx context.Context) *CreateReportTemplateParams
WithContext adds the context to the create report template params
func (*CreateReportTemplateParams) WithDefaults ¶
func (o *CreateReportTemplateParams) WithDefaults() *CreateReportTemplateParams
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 ¶
func (o *CreateReportTemplateParams) WithHTTPClient(client *http.Client) *CreateReportTemplateParams
WithHTTPClient adds the HTTPClient to the create report template params
func (*CreateReportTemplateParams) WithRequestBody ¶
func (o *CreateReportTemplateParams) WithRequestBody(requestBody []*models.ReportTemplateCreationParams) *CreateReportTemplateParams
WithRequestBody adds the requestBody to the create report template params
func (*CreateReportTemplateParams) WithTimeout ¶
func (o *CreateReportTemplateParams) WithTimeout(timeout time.Duration) *CreateReportTemplateParams
WithTimeout adds the timeout to the create report template params
func (*CreateReportTemplateParams) WriteToRequest ¶
func (o *CreateReportTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *DeleteReportTemplateBadRequest) Error() string
func (*DeleteReportTemplateBadRequest) GetPayload ¶
func (o *DeleteReportTemplateBadRequest) GetPayload() *models.ErrorBody
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 (o *DeleteReportTemplateInternalServerError) Error() string
func (*DeleteReportTemplateInternalServerError) GetPayload ¶
func (o *DeleteReportTemplateInternalServerError) GetPayload() *models.ErrorBody
type DeleteReportTemplateNotFound ¶
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 (o *DeleteReportTemplateNotFound) Error() string
func (*DeleteReportTemplateNotFound) GetPayload ¶
func (o *DeleteReportTemplateNotFound) GetPayload() *models.ErrorBody
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 ¶
func (o *DeleteReportTemplateOK) GetPayload() []*models.WithTaskDeleteReportTemplate
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 ¶
func (o *DeleteReportTemplateParams) WithContext(ctx context.Context) *DeleteReportTemplateParams
WithContext adds the context to the delete report template params
func (*DeleteReportTemplateParams) WithDefaults ¶
func (o *DeleteReportTemplateParams) WithDefaults() *DeleteReportTemplateParams
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 ¶
func (o *DeleteReportTemplateParams) WithHTTPClient(client *http.Client) *DeleteReportTemplateParams
WithHTTPClient adds the HTTPClient to the delete report template params
func (*DeleteReportTemplateParams) WithRequestBody ¶
func (o *DeleteReportTemplateParams) WithRequestBody(requestBody *models.ReportTemplateDeletionParams) *DeleteReportTemplateParams
WithRequestBody adds the requestBody to the delete report template params
func (*DeleteReportTemplateParams) WithTimeout ¶
func (o *DeleteReportTemplateParams) WithTimeout(timeout time.Duration) *DeleteReportTemplateParams
WithTimeout adds the timeout to the delete report template params
func (*DeleteReportTemplateParams) WriteToRequest ¶
func (o *DeleteReportTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GenerateFromReportTemplateBadRequest) Error() string
func (*GenerateFromReportTemplateBadRequest) GetPayload ¶
func (o *GenerateFromReportTemplateBadRequest) GetPayload() *models.ErrorBody
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 (o *GenerateFromReportTemplateInternalServerError) Error() string
func (*GenerateFromReportTemplateInternalServerError) GetPayload ¶
func (o *GenerateFromReportTemplateInternalServerError) GetPayload() *models.ErrorBody
type GenerateFromReportTemplateNotFound ¶
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 (o *GenerateFromReportTemplateNotFound) Error() string
func (*GenerateFromReportTemplateNotFound) GetPayload ¶
func (o *GenerateFromReportTemplateNotFound) GetPayload() *models.ErrorBody
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 (o *GenerateFromReportTemplateOK) Error() string
func (*GenerateFromReportTemplateOK) GetPayload ¶
func (o *GenerateFromReportTemplateOK) GetPayload() []*models.WithTaskReportTask
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 ¶
func (o *GenerateFromReportTemplateParams) SetContext(ctx context.Context)
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 ¶
func (o *GenerateFromReportTemplateParams) SetRequestBody(requestBody *models.ReporteTemplateGenerationParams)
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 ¶
func (o *GenerateFromReportTemplateParams) WithContext(ctx context.Context) *GenerateFromReportTemplateParams
WithContext adds the context to the generate from report template params
func (*GenerateFromReportTemplateParams) WithDefaults ¶
func (o *GenerateFromReportTemplateParams) WithDefaults() *GenerateFromReportTemplateParams
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 ¶
func (o *GenerateFromReportTemplateParams) WithHTTPClient(client *http.Client) *GenerateFromReportTemplateParams
WithHTTPClient adds the HTTPClient to the generate from report template params
func (*GenerateFromReportTemplateParams) WithRequestBody ¶
func (o *GenerateFromReportTemplateParams) WithRequestBody(requestBody *models.ReporteTemplateGenerationParams) *GenerateFromReportTemplateParams
WithRequestBody adds the requestBody to the generate from report template params
func (*GenerateFromReportTemplateParams) WithTimeout ¶
func (o *GenerateFromReportTemplateParams) WithTimeout(timeout time.Duration) *GenerateFromReportTemplateParams
WithTimeout adds the timeout to the generate from report template params
func (*GenerateFromReportTemplateParams) WriteToRequest ¶
func (o *GenerateFromReportTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *GetReportTemplatesBadRequest) Error() string
func (*GetReportTemplatesBadRequest) GetPayload ¶
func (o *GetReportTemplatesBadRequest) GetPayload() *models.ErrorBody
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 (o *GetReportTemplatesConnectionBadRequest) Error() string
func (*GetReportTemplatesConnectionBadRequest) GetPayload ¶
func (o *GetReportTemplatesConnectionBadRequest) GetPayload() *models.ErrorBody
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 (o *GetReportTemplatesConnectionInternalServerError) Error() string
func (*GetReportTemplatesConnectionInternalServerError) GetPayload ¶
func (o *GetReportTemplatesConnectionInternalServerError) GetPayload() *models.ErrorBody
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 (o *GetReportTemplatesConnectionNotFound) Error() string
func (*GetReportTemplatesConnectionNotFound) GetPayload ¶
func (o *GetReportTemplatesConnectionNotFound) GetPayload() *models.ErrorBody
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 (o *GetReportTemplatesConnectionOK) Error() string
func (*GetReportTemplatesConnectionOK) GetPayload ¶
func (o *GetReportTemplatesConnectionOK) GetPayload() *models.ReportTemplateConnection
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 ¶
func (o *GetReportTemplatesConnectionParams) SetContext(ctx context.Context)
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 ¶
func (o *GetReportTemplatesConnectionParams) SetRequestBody(requestBody *models.GetReportTemplatesConnectionRequestBody)
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 ¶
func (o *GetReportTemplatesConnectionParams) WithContext(ctx context.Context) *GetReportTemplatesConnectionParams
WithContext adds the context to the get report templates connection params
func (*GetReportTemplatesConnectionParams) WithDefaults ¶
func (o *GetReportTemplatesConnectionParams) WithDefaults() *GetReportTemplatesConnectionParams
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 ¶
func (o *GetReportTemplatesConnectionParams) WithHTTPClient(client *http.Client) *GetReportTemplatesConnectionParams
WithHTTPClient adds the HTTPClient to the get report templates connection params
func (*GetReportTemplatesConnectionParams) WithRequestBody ¶
func (o *GetReportTemplatesConnectionParams) WithRequestBody(requestBody *models.GetReportTemplatesConnectionRequestBody) *GetReportTemplatesConnectionParams
WithRequestBody adds the requestBody to the get report templates connection params
func (*GetReportTemplatesConnectionParams) WithTimeout ¶
func (o *GetReportTemplatesConnectionParams) WithTimeout(timeout time.Duration) *GetReportTemplatesConnectionParams
WithTimeout adds the timeout to the get report templates connection params
func (*GetReportTemplatesConnectionParams) WriteToRequest ¶
func (o *GetReportTemplatesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetReportTemplatesInternalServerError) Error() string
func (*GetReportTemplatesInternalServerError) GetPayload ¶
func (o *GetReportTemplatesInternalServerError) GetPayload() *models.ErrorBody
type GetReportTemplatesNotFound ¶
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 (o *GetReportTemplatesNotFound) Error() string
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 ¶
func (o *GetReportTemplatesParams) WithContext(ctx context.Context) *GetReportTemplatesParams
WithContext adds the context to the get report templates params
func (*GetReportTemplatesParams) WithDefaults ¶
func (o *GetReportTemplatesParams) WithDefaults() *GetReportTemplatesParams
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 ¶
func (o *GetReportTemplatesParams) WithRequestBody(requestBody *models.GetReportTemplatesRequestBody) *GetReportTemplatesParams
WithRequestBody adds the requestBody to the get report templates params
func (*GetReportTemplatesParams) WithTimeout ¶
func (o *GetReportTemplatesParams) WithTimeout(timeout time.Duration) *GetReportTemplatesParams
WithTimeout adds the timeout to the get report templates params
func (*GetReportTemplatesParams) WriteToRequest ¶
func (o *GetReportTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *UpdateReportTemplateBadRequest) Error() string
func (*UpdateReportTemplateBadRequest) GetPayload ¶
func (o *UpdateReportTemplateBadRequest) GetPayload() *models.ErrorBody
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 (o *UpdateReportTemplateInternalServerError) Error() string
func (*UpdateReportTemplateInternalServerError) GetPayload ¶
func (o *UpdateReportTemplateInternalServerError) GetPayload() *models.ErrorBody
type UpdateReportTemplateNotFound ¶
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 (o *UpdateReportTemplateNotFound) Error() string
func (*UpdateReportTemplateNotFound) GetPayload ¶
func (o *UpdateReportTemplateNotFound) GetPayload() *models.ErrorBody
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 ¶
func (o *UpdateReportTemplateOK) GetPayload() []*models.WithTaskReportTemplate
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 ¶
func (o *UpdateReportTemplateParams) WithContext(ctx context.Context) *UpdateReportTemplateParams
WithContext adds the context to the update report template params
func (*UpdateReportTemplateParams) WithDefaults ¶
func (o *UpdateReportTemplateParams) WithDefaults() *UpdateReportTemplateParams
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 ¶
func (o *UpdateReportTemplateParams) WithHTTPClient(client *http.Client) *UpdateReportTemplateParams
WithHTTPClient adds the HTTPClient to the update report template params
func (*UpdateReportTemplateParams) WithRequestBody ¶
func (o *UpdateReportTemplateParams) WithRequestBody(requestBody *models.ReportTemplateUpdationParams) *UpdateReportTemplateParams
WithRequestBody adds the requestBody to the update report template params
func (*UpdateReportTemplateParams) WithTimeout ¶
func (o *UpdateReportTemplateParams) WithTimeout(timeout time.Duration) *UpdateReportTemplateParams
WithTimeout adds the timeout to the update report template params
func (*UpdateReportTemplateParams) WriteToRequest ¶
func (o *UpdateReportTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- create_report_template_parameters.go
- create_report_template_responses.go
- delete_report_template_parameters.go
- delete_report_template_responses.go
- generate_from_report_template_parameters.go
- generate_from_report_template_responses.go
- get_report_templates_connection_parameters.go
- get_report_templates_connection_responses.go
- get_report_templates_parameters.go
- get_report_templates_responses.go
- report_template_client.go
- update_report_template_parameters.go
- update_report_template_responses.go