reports

package
v0.0.0-...-d4d7cce Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 11 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 reports API

func (*Client) CreateReport

func (a *Client) CreateReport(params *CreateReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateReportOK, error)
CreateReport creates a report

Available to org admins only and with a valid license.

You need to have a permission with action `reports.admin:create`.

func (*Client) DeleteReport

func (a *Client) DeleteReport(params *DeleteReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteReportOK, error)
DeleteReport deletes a report

Available to org admins only and with a valid or expired license.

You need to have a permission with action `reports.delete` with scope `reports:id:<report ID>`.

func (*Client) GetReport

func (a *Client) GetReport(params *GetReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetReportOK, error)
GetReport gets a report

Available to org admins only and with a valid or expired license.

You need to have a permission with action `reports:read` with scope `reports:id:<report ID>`.

func (*Client) GetReportSettings

func (a *Client) GetReportSettings(params *GetReportSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetReportSettingsOK, error)
GetReportSettings gets settings

Available to org admins only and with a valid or expired license.

You need to have a permission with action `reports.settings:read`x.

func (*Client) GetReports

func (a *Client) GetReports(params *GetReportsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetReportsOK, error)
GetReports lists reports

Available to org admins only and with a valid or expired license.

You need to have a permission with action `reports:read` with scope `reports:*`.

func (*Client) RenderReportPDF

func (a *Client) RenderReportPDF(params *RenderReportPDFParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RenderReportPDFOK, error)

RenderReportPDF renders report for dashboard

Please refer to [reports enterprise](#/reports/renderReportPDFs) instead. This will be removed in Grafana 10.

func (*Client) RenderReportPDFs

func (a *Client) RenderReportPDFs(params *RenderReportPDFsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RenderReportPDFsOK, error)

RenderReportPDFs renders report for multiple dashboards

Available to all users and with a valid license.

func (*Client) SaveReportSettings

func (a *Client) SaveReportSettings(params *SaveReportSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SaveReportSettingsOK, error)
SaveReportSettings saves settings

Available to org admins only and with a valid or expired license.

You need to have a permission with action `reports.settings:write`xx.

func (*Client) SendReport

func (a *Client) SendReport(params *SendReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SendReportOK, error)
SendReport sends a report

Generate and send a report. This API waits for the report to be generated before returning. We recommend that you set the client’s timeout to at least 60 seconds. Available to org admins only and with a valid license.

Only available in Grafana Enterprise v7.0+. This API endpoint is experimental and may be deprecated in a future release. On deprecation, a migration strategy will be provided and the endpoint will remain functional until the next major release of Grafana.

You need to have a permission with action `reports:send`.

func (*Client) SendTestEmail

func (a *Client) SendTestEmail(params *SendTestEmailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SendTestEmailOK, error)
SendTestEmail sends test report via email

Available to org admins only and with a valid license.

You need to have a permission with action `reports:send`.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateReport

func (a *Client) UpdateReport(params *UpdateReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateReportOK, error)
UpdateReport updates a report

Available to org admins only and with a valid or expired license.

You need to have a permission with action `reports.admin:write` with scope `reports:id:<report ID>`.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateReport(params *CreateReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateReportOK, error)

	DeleteReport(params *DeleteReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteReportOK, error)

	GetReport(params *GetReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetReportOK, error)

	GetReportSettings(params *GetReportSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetReportSettingsOK, error)

	GetReports(params *GetReportsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetReportsOK, error)

	RenderReportPDF(params *RenderReportPDFParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RenderReportPDFOK, error)

	RenderReportPDFs(params *RenderReportPDFsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RenderReportPDFsOK, error)

	SaveReportSettings(params *SaveReportSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SaveReportSettingsOK, error)

	SendReport(params *SendReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SendReportOK, error)

	SendTestEmail(params *SendTestEmailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SendTestEmailOK, error)

	UpdateReport(params *UpdateReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateReportOK, 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 reports API client.

type CreateReportBadRequest

type CreateReportBadRequest struct {
	Payload *models.ErrorResponseBody
}

CreateReportBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewCreateReportBadRequest

func NewCreateReportBadRequest() *CreateReportBadRequest

NewCreateReportBadRequest creates a CreateReportBadRequest with default headers values

func (*CreateReportBadRequest) Error

func (o *CreateReportBadRequest) Error() string

func (*CreateReportBadRequest) GetPayload

type CreateReportForbidden

type CreateReportForbidden struct {
	Payload *models.ErrorResponseBody
}

CreateReportForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewCreateReportForbidden

func NewCreateReportForbidden() *CreateReportForbidden

NewCreateReportForbidden creates a CreateReportForbidden with default headers values

func (*CreateReportForbidden) Error

func (o *CreateReportForbidden) Error() string

func (*CreateReportForbidden) GetPayload

type CreateReportInternalServerError

type CreateReportInternalServerError struct {
	Payload *models.ErrorResponseBody
}

CreateReportInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewCreateReportInternalServerError

func NewCreateReportInternalServerError() *CreateReportInternalServerError

NewCreateReportInternalServerError creates a CreateReportInternalServerError with default headers values

func (*CreateReportInternalServerError) Error

func (*CreateReportInternalServerError) GetPayload

type CreateReportNotFound

type CreateReportNotFound struct {
	Payload *models.ErrorResponseBody
}

CreateReportNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewCreateReportNotFound

func NewCreateReportNotFound() *CreateReportNotFound

NewCreateReportNotFound creates a CreateReportNotFound with default headers values

func (*CreateReportNotFound) Error

func (o *CreateReportNotFound) Error() string

func (*CreateReportNotFound) GetPayload

type CreateReportOK

type CreateReportOK struct {
	Payload *models.CreateReportOKBody
}

CreateReportOK describes a response with status code 200, with default header values.

(empty)

func NewCreateReportOK

func NewCreateReportOK() *CreateReportOK

NewCreateReportOK creates a CreateReportOK with default headers values

func (*CreateReportOK) Error

func (o *CreateReportOK) Error() string

func (*CreateReportOK) GetPayload

func (o *CreateReportOK) GetPayload() *models.CreateReportOKBody

type CreateReportParams

type CreateReportParams struct {

	// Body.
	Body *models.CreateOrUpdateConfigCmd

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

CreateReportParams contains all the parameters to send to the API endpoint

for the create report operation.

Typically these are written to a http.Request.

func NewCreateReportParams

func NewCreateReportParams() *CreateReportParams

NewCreateReportParams creates a new CreateReportParams 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 NewCreateReportParamsWithContext

func NewCreateReportParamsWithContext(ctx context.Context) *CreateReportParams

NewCreateReportParamsWithContext creates a new CreateReportParams object with the ability to set a context for a request.

func NewCreateReportParamsWithHTTPClient

func NewCreateReportParamsWithHTTPClient(client *http.Client) *CreateReportParams

NewCreateReportParamsWithHTTPClient creates a new CreateReportParams object with the ability to set a custom HTTPClient for a request.

func NewCreateReportParamsWithTimeout

func NewCreateReportParamsWithTimeout(timeout time.Duration) *CreateReportParams

NewCreateReportParamsWithTimeout creates a new CreateReportParams object with the ability to set a timeout on a request.

func (*CreateReportParams) SetBody

SetBody adds the body to the create report params

func (*CreateReportParams) SetContext

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

SetContext adds the context to the create report params

func (*CreateReportParams) SetDefaults

func (o *CreateReportParams) SetDefaults()

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

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

func (*CreateReportParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create report params

func (*CreateReportParams) SetTimeout

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

SetTimeout adds the timeout to the create report params

func (*CreateReportParams) WithBody

WithBody adds the body to the create report params

func (*CreateReportParams) WithContext

WithContext adds the context to the create report params

func (*CreateReportParams) WithDefaults

func (o *CreateReportParams) WithDefaults() *CreateReportParams

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

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

func (*CreateReportParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create report params

func (*CreateReportParams) WithTimeout

func (o *CreateReportParams) WithTimeout(timeout time.Duration) *CreateReportParams

WithTimeout adds the timeout to the create report params

func (*CreateReportParams) WriteToRequest

func (o *CreateReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateReportReader

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

CreateReportReader is a Reader for the CreateReport structure.

func (*CreateReportReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateReportUnauthorized

type CreateReportUnauthorized struct {
	Payload *models.ErrorResponseBody
}

CreateReportUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewCreateReportUnauthorized

func NewCreateReportUnauthorized() *CreateReportUnauthorized

NewCreateReportUnauthorized creates a CreateReportUnauthorized with default headers values

func (*CreateReportUnauthorized) Error

func (o *CreateReportUnauthorized) Error() string

func (*CreateReportUnauthorized) GetPayload

type DeleteReportBadRequest

type DeleteReportBadRequest struct {
	Payload *models.ErrorResponseBody
}

DeleteReportBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewDeleteReportBadRequest

func NewDeleteReportBadRequest() *DeleteReportBadRequest

NewDeleteReportBadRequest creates a DeleteReportBadRequest with default headers values

func (*DeleteReportBadRequest) Error

func (o *DeleteReportBadRequest) Error() string

func (*DeleteReportBadRequest) GetPayload

type DeleteReportForbidden

type DeleteReportForbidden struct {
	Payload *models.ErrorResponseBody
}

DeleteReportForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewDeleteReportForbidden

func NewDeleteReportForbidden() *DeleteReportForbidden

NewDeleteReportForbidden creates a DeleteReportForbidden with default headers values

func (*DeleteReportForbidden) Error

func (o *DeleteReportForbidden) Error() string

func (*DeleteReportForbidden) GetPayload

type DeleteReportInternalServerError

type DeleteReportInternalServerError struct {
	Payload *models.ErrorResponseBody
}

DeleteReportInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewDeleteReportInternalServerError

func NewDeleteReportInternalServerError() *DeleteReportInternalServerError

NewDeleteReportInternalServerError creates a DeleteReportInternalServerError with default headers values

func (*DeleteReportInternalServerError) Error

func (*DeleteReportInternalServerError) GetPayload

type DeleteReportNotFound

type DeleteReportNotFound struct {
	Payload *models.ErrorResponseBody
}

DeleteReportNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewDeleteReportNotFound

func NewDeleteReportNotFound() *DeleteReportNotFound

NewDeleteReportNotFound creates a DeleteReportNotFound with default headers values

func (*DeleteReportNotFound) Error

func (o *DeleteReportNotFound) Error() string

func (*DeleteReportNotFound) GetPayload

type DeleteReportOK

type DeleteReportOK struct {
	Payload *models.SuccessResponseBody
}

DeleteReportOK describes a response with status code 200, with default header values.

An OKResponse is returned if the request was successful.

func NewDeleteReportOK

func NewDeleteReportOK() *DeleteReportOK

NewDeleteReportOK creates a DeleteReportOK with default headers values

func (*DeleteReportOK) Error

func (o *DeleteReportOK) Error() string

func (*DeleteReportOK) GetPayload

func (o *DeleteReportOK) GetPayload() *models.SuccessResponseBody

type DeleteReportParams

type DeleteReportParams struct {

	// ID.
	//
	// Format: int64
	ID int64

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

DeleteReportParams contains all the parameters to send to the API endpoint

for the delete report operation.

Typically these are written to a http.Request.

func NewDeleteReportParams

func NewDeleteReportParams() *DeleteReportParams

NewDeleteReportParams creates a new DeleteReportParams 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 NewDeleteReportParamsWithContext

func NewDeleteReportParamsWithContext(ctx context.Context) *DeleteReportParams

NewDeleteReportParamsWithContext creates a new DeleteReportParams object with the ability to set a context for a request.

func NewDeleteReportParamsWithHTTPClient

func NewDeleteReportParamsWithHTTPClient(client *http.Client) *DeleteReportParams

NewDeleteReportParamsWithHTTPClient creates a new DeleteReportParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteReportParamsWithTimeout

func NewDeleteReportParamsWithTimeout(timeout time.Duration) *DeleteReportParams

NewDeleteReportParamsWithTimeout creates a new DeleteReportParams object with the ability to set a timeout on a request.

func (*DeleteReportParams) SetContext

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

SetContext adds the context to the delete report params

func (*DeleteReportParams) SetDefaults

func (o *DeleteReportParams) SetDefaults()

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

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

func (*DeleteReportParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete report params

func (*DeleteReportParams) SetID

func (o *DeleteReportParams) SetID(id int64)

SetID adds the id to the delete report params

func (*DeleteReportParams) SetTimeout

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

SetTimeout adds the timeout to the delete report params

func (*DeleteReportParams) WithContext

WithContext adds the context to the delete report params

func (*DeleteReportParams) WithDefaults

func (o *DeleteReportParams) WithDefaults() *DeleteReportParams

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

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

func (*DeleteReportParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete report params

func (*DeleteReportParams) WithID

WithID adds the id to the delete report params

func (*DeleteReportParams) WithTimeout

func (o *DeleteReportParams) WithTimeout(timeout time.Duration) *DeleteReportParams

WithTimeout adds the timeout to the delete report params

func (*DeleteReportParams) WriteToRequest

func (o *DeleteReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteReportReader

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

DeleteReportReader is a Reader for the DeleteReport structure.

func (*DeleteReportReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteReportUnauthorized

type DeleteReportUnauthorized struct {
	Payload *models.ErrorResponseBody
}

DeleteReportUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewDeleteReportUnauthorized

func NewDeleteReportUnauthorized() *DeleteReportUnauthorized

NewDeleteReportUnauthorized creates a DeleteReportUnauthorized with default headers values

func (*DeleteReportUnauthorized) Error

func (o *DeleteReportUnauthorized) Error() string

func (*DeleteReportUnauthorized) GetPayload

type GetReportBadRequest

type GetReportBadRequest struct {
	Payload *models.ErrorResponseBody
}

GetReportBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewGetReportBadRequest

func NewGetReportBadRequest() *GetReportBadRequest

NewGetReportBadRequest creates a GetReportBadRequest with default headers values

func (*GetReportBadRequest) Error

func (o *GetReportBadRequest) Error() string

func (*GetReportBadRequest) GetPayload

func (o *GetReportBadRequest) GetPayload() *models.ErrorResponseBody

type GetReportForbidden

type GetReportForbidden struct {
	Payload *models.ErrorResponseBody
}

GetReportForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewGetReportForbidden

func NewGetReportForbidden() *GetReportForbidden

NewGetReportForbidden creates a GetReportForbidden with default headers values

func (*GetReportForbidden) Error

func (o *GetReportForbidden) Error() string

func (*GetReportForbidden) GetPayload

func (o *GetReportForbidden) GetPayload() *models.ErrorResponseBody

type GetReportInternalServerError

type GetReportInternalServerError struct {
	Payload *models.ErrorResponseBody
}

GetReportInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewGetReportInternalServerError

func NewGetReportInternalServerError() *GetReportInternalServerError

NewGetReportInternalServerError creates a GetReportInternalServerError with default headers values

func (*GetReportInternalServerError) Error

func (*GetReportInternalServerError) GetPayload

type GetReportNotFound

type GetReportNotFound struct {
	Payload *models.ErrorResponseBody
}

GetReportNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewGetReportNotFound

func NewGetReportNotFound() *GetReportNotFound

NewGetReportNotFound creates a GetReportNotFound with default headers values

func (*GetReportNotFound) Error

func (o *GetReportNotFound) Error() string

func (*GetReportNotFound) GetPayload

func (o *GetReportNotFound) GetPayload() *models.ErrorResponseBody

type GetReportOK

type GetReportOK struct {
	Payload *models.ConfigDTO
}

GetReportOK describes a response with status code 200, with default header values.

(empty)

func NewGetReportOK

func NewGetReportOK() *GetReportOK

NewGetReportOK creates a GetReportOK with default headers values

func (*GetReportOK) Error

func (o *GetReportOK) Error() string

func (*GetReportOK) GetPayload

func (o *GetReportOK) GetPayload() *models.ConfigDTO

type GetReportParams

type GetReportParams struct {

	// ID.
	//
	// Format: int64
	ID int64

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

GetReportParams contains all the parameters to send to the API endpoint

for the get report operation.

Typically these are written to a http.Request.

func NewGetReportParams

func NewGetReportParams() *GetReportParams

NewGetReportParams creates a new GetReportParams 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 NewGetReportParamsWithContext

func NewGetReportParamsWithContext(ctx context.Context) *GetReportParams

NewGetReportParamsWithContext creates a new GetReportParams object with the ability to set a context for a request.

func NewGetReportParamsWithHTTPClient

func NewGetReportParamsWithHTTPClient(client *http.Client) *GetReportParams

NewGetReportParamsWithHTTPClient creates a new GetReportParams object with the ability to set a custom HTTPClient for a request.

func NewGetReportParamsWithTimeout

func NewGetReportParamsWithTimeout(timeout time.Duration) *GetReportParams

NewGetReportParamsWithTimeout creates a new GetReportParams object with the ability to set a timeout on a request.

func (*GetReportParams) SetContext

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

SetContext adds the context to the get report params

func (*GetReportParams) SetDefaults

func (o *GetReportParams) SetDefaults()

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

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

func (*GetReportParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get report params

func (*GetReportParams) SetID

func (o *GetReportParams) SetID(id int64)

SetID adds the id to the get report params

func (*GetReportParams) SetTimeout

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

SetTimeout adds the timeout to the get report params

func (*GetReportParams) WithContext

func (o *GetReportParams) WithContext(ctx context.Context) *GetReportParams

WithContext adds the context to the get report params

func (*GetReportParams) WithDefaults

func (o *GetReportParams) WithDefaults() *GetReportParams

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

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

func (*GetReportParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get report params

func (*GetReportParams) WithID

func (o *GetReportParams) WithID(id int64) *GetReportParams

WithID adds the id to the get report params

func (*GetReportParams) WithTimeout

func (o *GetReportParams) WithTimeout(timeout time.Duration) *GetReportParams

WithTimeout adds the timeout to the get report params

func (*GetReportParams) WriteToRequest

func (o *GetReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetReportReader

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

GetReportReader is a Reader for the GetReport structure.

func (*GetReportReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetReportSettingsForbidden

type GetReportSettingsForbidden struct {
	Payload *models.ErrorResponseBody
}

GetReportSettingsForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewGetReportSettingsForbidden

func NewGetReportSettingsForbidden() *GetReportSettingsForbidden

NewGetReportSettingsForbidden creates a GetReportSettingsForbidden with default headers values

func (*GetReportSettingsForbidden) Error

func (*GetReportSettingsForbidden) GetPayload

type GetReportSettingsInternalServerError

type GetReportSettingsInternalServerError struct {
	Payload *models.ErrorResponseBody
}

GetReportSettingsInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewGetReportSettingsInternalServerError

func NewGetReportSettingsInternalServerError() *GetReportSettingsInternalServerError

NewGetReportSettingsInternalServerError creates a GetReportSettingsInternalServerError with default headers values

func (*GetReportSettingsInternalServerError) Error

func (*GetReportSettingsInternalServerError) GetPayload

type GetReportSettingsOK

type GetReportSettingsOK struct {
	Payload *models.SettingsDTO
}

GetReportSettingsOK describes a response with status code 200, with default header values.

(empty)

func NewGetReportSettingsOK

func NewGetReportSettingsOK() *GetReportSettingsOK

NewGetReportSettingsOK creates a GetReportSettingsOK with default headers values

func (*GetReportSettingsOK) Error

func (o *GetReportSettingsOK) Error() string

func (*GetReportSettingsOK) GetPayload

func (o *GetReportSettingsOK) GetPayload() *models.SettingsDTO

type GetReportSettingsParams

type GetReportSettingsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetReportSettingsParams contains all the parameters to send to the API endpoint

for the get report settings operation.

Typically these are written to a http.Request.

func NewGetReportSettingsParams

func NewGetReportSettingsParams() *GetReportSettingsParams

NewGetReportSettingsParams creates a new GetReportSettingsParams 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 NewGetReportSettingsParamsWithContext

func NewGetReportSettingsParamsWithContext(ctx context.Context) *GetReportSettingsParams

NewGetReportSettingsParamsWithContext creates a new GetReportSettingsParams object with the ability to set a context for a request.

func NewGetReportSettingsParamsWithHTTPClient

func NewGetReportSettingsParamsWithHTTPClient(client *http.Client) *GetReportSettingsParams

NewGetReportSettingsParamsWithHTTPClient creates a new GetReportSettingsParams object with the ability to set a custom HTTPClient for a request.

func NewGetReportSettingsParamsWithTimeout

func NewGetReportSettingsParamsWithTimeout(timeout time.Duration) *GetReportSettingsParams

NewGetReportSettingsParamsWithTimeout creates a new GetReportSettingsParams object with the ability to set a timeout on a request.

func (*GetReportSettingsParams) SetContext

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

SetContext adds the context to the get report settings params

func (*GetReportSettingsParams) SetDefaults

func (o *GetReportSettingsParams) SetDefaults()

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

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

func (*GetReportSettingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get report settings params

func (*GetReportSettingsParams) SetTimeout

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

SetTimeout adds the timeout to the get report settings params

func (*GetReportSettingsParams) WithContext

WithContext adds the context to the get report settings params

func (*GetReportSettingsParams) WithDefaults

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

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

func (*GetReportSettingsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get report settings params

func (*GetReportSettingsParams) WithTimeout

WithTimeout adds the timeout to the get report settings params

func (*GetReportSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetReportSettingsReader

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

GetReportSettingsReader is a Reader for the GetReportSettings structure.

func (*GetReportSettingsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetReportSettingsUnauthorized

type GetReportSettingsUnauthorized struct {
	Payload *models.ErrorResponseBody
}

GetReportSettingsUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewGetReportSettingsUnauthorized

func NewGetReportSettingsUnauthorized() *GetReportSettingsUnauthorized

NewGetReportSettingsUnauthorized creates a GetReportSettingsUnauthorized with default headers values

func (*GetReportSettingsUnauthorized) Error

func (*GetReportSettingsUnauthorized) GetPayload

type GetReportUnauthorized

type GetReportUnauthorized struct {
	Payload *models.ErrorResponseBody
}

GetReportUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewGetReportUnauthorized

func NewGetReportUnauthorized() *GetReportUnauthorized

NewGetReportUnauthorized creates a GetReportUnauthorized with default headers values

func (*GetReportUnauthorized) Error

func (o *GetReportUnauthorized) Error() string

func (*GetReportUnauthorized) GetPayload

type GetReportsForbidden

type GetReportsForbidden struct {
	Payload *models.ErrorResponseBody
}

GetReportsForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewGetReportsForbidden

func NewGetReportsForbidden() *GetReportsForbidden

NewGetReportsForbidden creates a GetReportsForbidden with default headers values

func (*GetReportsForbidden) Error

func (o *GetReportsForbidden) Error() string

func (*GetReportsForbidden) GetPayload

func (o *GetReportsForbidden) GetPayload() *models.ErrorResponseBody

type GetReportsInternalServerError

type GetReportsInternalServerError struct {
	Payload *models.ErrorResponseBody
}

GetReportsInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewGetReportsInternalServerError

func NewGetReportsInternalServerError() *GetReportsInternalServerError

NewGetReportsInternalServerError creates a GetReportsInternalServerError with default headers values

func (*GetReportsInternalServerError) Error

func (*GetReportsInternalServerError) GetPayload

type GetReportsOK

type GetReportsOK struct {
	Payload []*models.ConfigDTO
}

GetReportsOK describes a response with status code 200, with default header values.

(empty)

func NewGetReportsOK

func NewGetReportsOK() *GetReportsOK

NewGetReportsOK creates a GetReportsOK with default headers values

func (*GetReportsOK) Error

func (o *GetReportsOK) Error() string

func (*GetReportsOK) GetPayload

func (o *GetReportsOK) GetPayload() []*models.ConfigDTO

type GetReportsParams

type GetReportsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetReportsParams contains all the parameters to send to the API endpoint

for the get reports operation.

Typically these are written to a http.Request.

func NewGetReportsParams

func NewGetReportsParams() *GetReportsParams

NewGetReportsParams creates a new GetReportsParams 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 NewGetReportsParamsWithContext

func NewGetReportsParamsWithContext(ctx context.Context) *GetReportsParams

NewGetReportsParamsWithContext creates a new GetReportsParams object with the ability to set a context for a request.

func NewGetReportsParamsWithHTTPClient

func NewGetReportsParamsWithHTTPClient(client *http.Client) *GetReportsParams

NewGetReportsParamsWithHTTPClient creates a new GetReportsParams object with the ability to set a custom HTTPClient for a request.

func NewGetReportsParamsWithTimeout

func NewGetReportsParamsWithTimeout(timeout time.Duration) *GetReportsParams

NewGetReportsParamsWithTimeout creates a new GetReportsParams object with the ability to set a timeout on a request.

func (*GetReportsParams) SetContext

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

SetContext adds the context to the get reports params

func (*GetReportsParams) SetDefaults

func (o *GetReportsParams) SetDefaults()

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

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

func (*GetReportsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get reports params

func (*GetReportsParams) SetTimeout

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

SetTimeout adds the timeout to the get reports params

func (*GetReportsParams) WithContext

func (o *GetReportsParams) WithContext(ctx context.Context) *GetReportsParams

WithContext adds the context to the get reports params

func (*GetReportsParams) WithDefaults

func (o *GetReportsParams) WithDefaults() *GetReportsParams

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

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

func (*GetReportsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get reports params

func (*GetReportsParams) WithTimeout

func (o *GetReportsParams) WithTimeout(timeout time.Duration) *GetReportsParams

WithTimeout adds the timeout to the get reports params

func (*GetReportsParams) WriteToRequest

func (o *GetReportsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetReportsReader

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

GetReportsReader is a Reader for the GetReports structure.

func (*GetReportsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetReportsUnauthorized

type GetReportsUnauthorized struct {
	Payload *models.ErrorResponseBody
}

GetReportsUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewGetReportsUnauthorized

func NewGetReportsUnauthorized() *GetReportsUnauthorized

NewGetReportsUnauthorized creates a GetReportsUnauthorized with default headers values

func (*GetReportsUnauthorized) Error

func (o *GetReportsUnauthorized) Error() string

func (*GetReportsUnauthorized) GetPayload

type RenderReportPDFBadRequest

type RenderReportPDFBadRequest struct {
	Payload *models.ErrorResponseBody
}

RenderReportPDFBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewRenderReportPDFBadRequest

func NewRenderReportPDFBadRequest() *RenderReportPDFBadRequest

NewRenderReportPDFBadRequest creates a RenderReportPDFBadRequest with default headers values

func (*RenderReportPDFBadRequest) Error

func (o *RenderReportPDFBadRequest) Error() string

func (*RenderReportPDFBadRequest) GetPayload

type RenderReportPDFInternalServerError

type RenderReportPDFInternalServerError struct {
	Payload *models.ErrorResponseBody
}

RenderReportPDFInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewRenderReportPDFInternalServerError

func NewRenderReportPDFInternalServerError() *RenderReportPDFInternalServerError

NewRenderReportPDFInternalServerError creates a RenderReportPDFInternalServerError with default headers values

func (*RenderReportPDFInternalServerError) Error

func (*RenderReportPDFInternalServerError) GetPayload

type RenderReportPDFOK

type RenderReportPDFOK struct {
	Payload []uint8
}

RenderReportPDFOK describes a response with status code 200, with default header values.

(empty)

func NewRenderReportPDFOK

func NewRenderReportPDFOK() *RenderReportPDFOK

NewRenderReportPDFOK creates a RenderReportPDFOK with default headers values

func (*RenderReportPDFOK) Error

func (o *RenderReportPDFOK) Error() string

func (*RenderReportPDFOK) GetPayload

func (o *RenderReportPDFOK) GetPayload() []uint8

type RenderReportPDFParams

type RenderReportPDFParams struct {

	// DashboardID.
	//
	// Format: int64
	DashboardID int64

	// From.
	From *string

	// Layout.
	Layout *string

	// Orientation.
	Orientation *string

	// Title.
	Title *string

	// To.
	To *string

	// Variables.
	Variables *string

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

RenderReportPDFParams contains all the parameters to send to the API endpoint

for the render report p d f operation.

Typically these are written to a http.Request.

func NewRenderReportPDFParams

func NewRenderReportPDFParams() *RenderReportPDFParams

NewRenderReportPDFParams creates a new RenderReportPDFParams 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 NewRenderReportPDFParamsWithContext

func NewRenderReportPDFParamsWithContext(ctx context.Context) *RenderReportPDFParams

NewRenderReportPDFParamsWithContext creates a new RenderReportPDFParams object with the ability to set a context for a request.

func NewRenderReportPDFParamsWithHTTPClient

func NewRenderReportPDFParamsWithHTTPClient(client *http.Client) *RenderReportPDFParams

NewRenderReportPDFParamsWithHTTPClient creates a new RenderReportPDFParams object with the ability to set a custom HTTPClient for a request.

func NewRenderReportPDFParamsWithTimeout

func NewRenderReportPDFParamsWithTimeout(timeout time.Duration) *RenderReportPDFParams

NewRenderReportPDFParamsWithTimeout creates a new RenderReportPDFParams object with the ability to set a timeout on a request.

func (*RenderReportPDFParams) SetContext

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

SetContext adds the context to the render report p d f params

func (*RenderReportPDFParams) SetDashboardID

func (o *RenderReportPDFParams) SetDashboardID(dashboardID int64)

SetDashboardID adds the dashboardId to the render report p d f params

func (*RenderReportPDFParams) SetDefaults

func (o *RenderReportPDFParams) SetDefaults()

SetDefaults hydrates default values in the render report p d f params (not the query body).

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

func (*RenderReportPDFParams) SetFrom

func (o *RenderReportPDFParams) SetFrom(from *string)

SetFrom adds the from to the render report p d f params

func (*RenderReportPDFParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the render report p d f params

func (*RenderReportPDFParams) SetLayout

func (o *RenderReportPDFParams) SetLayout(layout *string)

SetLayout adds the layout to the render report p d f params

func (*RenderReportPDFParams) SetOrientation

func (o *RenderReportPDFParams) SetOrientation(orientation *string)

SetOrientation adds the orientation to the render report p d f params

func (*RenderReportPDFParams) SetTimeout

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

SetTimeout adds the timeout to the render report p d f params

func (*RenderReportPDFParams) SetTitle

func (o *RenderReportPDFParams) SetTitle(title *string)

SetTitle adds the title to the render report p d f params

func (*RenderReportPDFParams) SetTo

func (o *RenderReportPDFParams) SetTo(to *string)

SetTo adds the to to the render report p d f params

func (*RenderReportPDFParams) SetVariables

func (o *RenderReportPDFParams) SetVariables(variables *string)

SetVariables adds the variables to the render report p d f params

func (*RenderReportPDFParams) WithContext

WithContext adds the context to the render report p d f params

func (*RenderReportPDFParams) WithDashboardID

func (o *RenderReportPDFParams) WithDashboardID(dashboardID int64) *RenderReportPDFParams

WithDashboardID adds the dashboardID to the render report p d f params

func (*RenderReportPDFParams) WithDefaults

func (o *RenderReportPDFParams) WithDefaults() *RenderReportPDFParams

WithDefaults hydrates default values in the render report p d f params (not the query body).

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

func (*RenderReportPDFParams) WithFrom

WithFrom adds the from to the render report p d f params

func (*RenderReportPDFParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the render report p d f params

func (*RenderReportPDFParams) WithLayout

func (o *RenderReportPDFParams) WithLayout(layout *string) *RenderReportPDFParams

WithLayout adds the layout to the render report p d f params

func (*RenderReportPDFParams) WithOrientation

func (o *RenderReportPDFParams) WithOrientation(orientation *string) *RenderReportPDFParams

WithOrientation adds the orientation to the render report p d f params

func (*RenderReportPDFParams) WithTimeout

func (o *RenderReportPDFParams) WithTimeout(timeout time.Duration) *RenderReportPDFParams

WithTimeout adds the timeout to the render report p d f params

func (*RenderReportPDFParams) WithTitle

func (o *RenderReportPDFParams) WithTitle(title *string) *RenderReportPDFParams

WithTitle adds the title to the render report p d f params

func (*RenderReportPDFParams) WithTo

WithTo adds the to to the render report p d f params

func (*RenderReportPDFParams) WithVariables

func (o *RenderReportPDFParams) WithVariables(variables *string) *RenderReportPDFParams

WithVariables adds the variables to the render report p d f params

func (*RenderReportPDFParams) WriteToRequest

func (o *RenderReportPDFParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RenderReportPDFReader

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

RenderReportPDFReader is a Reader for the RenderReportPDF structure.

func (*RenderReportPDFReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RenderReportPDFUnauthorized

type RenderReportPDFUnauthorized struct {
	Payload *models.ErrorResponseBody
}

RenderReportPDFUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewRenderReportPDFUnauthorized

func NewRenderReportPDFUnauthorized() *RenderReportPDFUnauthorized

NewRenderReportPDFUnauthorized creates a RenderReportPDFUnauthorized with default headers values

func (*RenderReportPDFUnauthorized) Error

func (*RenderReportPDFUnauthorized) GetPayload

type RenderReportPDFsBadRequest

type RenderReportPDFsBadRequest struct {
	Payload *models.ErrorResponseBody
}

RenderReportPDFsBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewRenderReportPDFsBadRequest

func NewRenderReportPDFsBadRequest() *RenderReportPDFsBadRequest

NewRenderReportPDFsBadRequest creates a RenderReportPDFsBadRequest with default headers values

func (*RenderReportPDFsBadRequest) Error

func (*RenderReportPDFsBadRequest) GetPayload

type RenderReportPDFsInternalServerError

type RenderReportPDFsInternalServerError struct {
	Payload *models.ErrorResponseBody
}

RenderReportPDFsInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewRenderReportPDFsInternalServerError

func NewRenderReportPDFsInternalServerError() *RenderReportPDFsInternalServerError

NewRenderReportPDFsInternalServerError creates a RenderReportPDFsInternalServerError with default headers values

func (*RenderReportPDFsInternalServerError) Error

func (*RenderReportPDFsInternalServerError) GetPayload

type RenderReportPDFsOK

type RenderReportPDFsOK struct {
	Payload []uint8
}

RenderReportPDFsOK describes a response with status code 200, with default header values.

(empty)

func NewRenderReportPDFsOK

func NewRenderReportPDFsOK() *RenderReportPDFsOK

NewRenderReportPDFsOK creates a RenderReportPDFsOK with default headers values

func (*RenderReportPDFsOK) Error

func (o *RenderReportPDFsOK) Error() string

func (*RenderReportPDFsOK) GetPayload

func (o *RenderReportPDFsOK) GetPayload() []uint8

type RenderReportPDFsParams

type RenderReportPDFsParams struct {

	// DashboardID.
	DashboardID *string

	// Layout.
	Layout *string

	// Orientation.
	Orientation *string

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

RenderReportPDFsParams contains all the parameters to send to the API endpoint

for the render report p d fs operation.

Typically these are written to a http.Request.

func NewRenderReportPDFsParams

func NewRenderReportPDFsParams() *RenderReportPDFsParams

NewRenderReportPDFsParams creates a new RenderReportPDFsParams 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 NewRenderReportPDFsParamsWithContext

func NewRenderReportPDFsParamsWithContext(ctx context.Context) *RenderReportPDFsParams

NewRenderReportPDFsParamsWithContext creates a new RenderReportPDFsParams object with the ability to set a context for a request.

func NewRenderReportPDFsParamsWithHTTPClient

func NewRenderReportPDFsParamsWithHTTPClient(client *http.Client) *RenderReportPDFsParams

NewRenderReportPDFsParamsWithHTTPClient creates a new RenderReportPDFsParams object with the ability to set a custom HTTPClient for a request.

func NewRenderReportPDFsParamsWithTimeout

func NewRenderReportPDFsParamsWithTimeout(timeout time.Duration) *RenderReportPDFsParams

NewRenderReportPDFsParamsWithTimeout creates a new RenderReportPDFsParams object with the ability to set a timeout on a request.

func (*RenderReportPDFsParams) SetContext

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

SetContext adds the context to the render report p d fs params

func (*RenderReportPDFsParams) SetDashboardID

func (o *RenderReportPDFsParams) SetDashboardID(dashboardID *string)

SetDashboardID adds the dashboardId to the render report p d fs params

func (*RenderReportPDFsParams) SetDefaults

func (o *RenderReportPDFsParams) SetDefaults()

SetDefaults hydrates default values in the render report p d fs params (not the query body).

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

func (*RenderReportPDFsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the render report p d fs params

func (*RenderReportPDFsParams) SetLayout

func (o *RenderReportPDFsParams) SetLayout(layout *string)

SetLayout adds the layout to the render report p d fs params

func (*RenderReportPDFsParams) SetOrientation

func (o *RenderReportPDFsParams) SetOrientation(orientation *string)

SetOrientation adds the orientation to the render report p d fs params

func (*RenderReportPDFsParams) SetTimeout

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

SetTimeout adds the timeout to the render report p d fs params

func (*RenderReportPDFsParams) WithContext

WithContext adds the context to the render report p d fs params

func (*RenderReportPDFsParams) WithDashboardID

func (o *RenderReportPDFsParams) WithDashboardID(dashboardID *string) *RenderReportPDFsParams

WithDashboardID adds the dashboardID to the render report p d fs params

func (*RenderReportPDFsParams) WithDefaults

WithDefaults hydrates default values in the render report p d fs params (not the query body).

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

func (*RenderReportPDFsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the render report p d fs params

func (*RenderReportPDFsParams) WithLayout

func (o *RenderReportPDFsParams) WithLayout(layout *string) *RenderReportPDFsParams

WithLayout adds the layout to the render report p d fs params

func (*RenderReportPDFsParams) WithOrientation

func (o *RenderReportPDFsParams) WithOrientation(orientation *string) *RenderReportPDFsParams

WithOrientation adds the orientation to the render report p d fs params

func (*RenderReportPDFsParams) WithTimeout

WithTimeout adds the timeout to the render report p d fs params

func (*RenderReportPDFsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RenderReportPDFsReader

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

RenderReportPDFsReader is a Reader for the RenderReportPDFs structure.

func (*RenderReportPDFsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RenderReportPDFsUnauthorized

type RenderReportPDFsUnauthorized struct {
	Payload *models.ErrorResponseBody
}

RenderReportPDFsUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewRenderReportPDFsUnauthorized

func NewRenderReportPDFsUnauthorized() *RenderReportPDFsUnauthorized

NewRenderReportPDFsUnauthorized creates a RenderReportPDFsUnauthorized with default headers values

func (*RenderReportPDFsUnauthorized) Error

func (*RenderReportPDFsUnauthorized) GetPayload

type SaveReportSettingsBadRequest

type SaveReportSettingsBadRequest struct {
	Payload *models.ErrorResponseBody
}

SaveReportSettingsBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewSaveReportSettingsBadRequest

func NewSaveReportSettingsBadRequest() *SaveReportSettingsBadRequest

NewSaveReportSettingsBadRequest creates a SaveReportSettingsBadRequest with default headers values

func (*SaveReportSettingsBadRequest) Error

func (*SaveReportSettingsBadRequest) GetPayload

type SaveReportSettingsForbidden

type SaveReportSettingsForbidden struct {
	Payload *models.ErrorResponseBody
}

SaveReportSettingsForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewSaveReportSettingsForbidden

func NewSaveReportSettingsForbidden() *SaveReportSettingsForbidden

NewSaveReportSettingsForbidden creates a SaveReportSettingsForbidden with default headers values

func (*SaveReportSettingsForbidden) Error

func (*SaveReportSettingsForbidden) GetPayload

type SaveReportSettingsInternalServerError

type SaveReportSettingsInternalServerError struct {
	Payload *models.ErrorResponseBody
}

SaveReportSettingsInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewSaveReportSettingsInternalServerError

func NewSaveReportSettingsInternalServerError() *SaveReportSettingsInternalServerError

NewSaveReportSettingsInternalServerError creates a SaveReportSettingsInternalServerError with default headers values

func (*SaveReportSettingsInternalServerError) Error

func (*SaveReportSettingsInternalServerError) GetPayload

type SaveReportSettingsOK

type SaveReportSettingsOK struct {
	Payload *models.SuccessResponseBody
}

SaveReportSettingsOK describes a response with status code 200, with default header values.

An OKResponse is returned if the request was successful.

func NewSaveReportSettingsOK

func NewSaveReportSettingsOK() *SaveReportSettingsOK

NewSaveReportSettingsOK creates a SaveReportSettingsOK with default headers values

func (*SaveReportSettingsOK) Error

func (o *SaveReportSettingsOK) Error() string

func (*SaveReportSettingsOK) GetPayload

type SaveReportSettingsParams

type SaveReportSettingsParams struct {

	// Body.
	Body *models.SettingsDTO

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

SaveReportSettingsParams contains all the parameters to send to the API endpoint

for the save report settings operation.

Typically these are written to a http.Request.

func NewSaveReportSettingsParams

func NewSaveReportSettingsParams() *SaveReportSettingsParams

NewSaveReportSettingsParams creates a new SaveReportSettingsParams 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 NewSaveReportSettingsParamsWithContext

func NewSaveReportSettingsParamsWithContext(ctx context.Context) *SaveReportSettingsParams

NewSaveReportSettingsParamsWithContext creates a new SaveReportSettingsParams object with the ability to set a context for a request.

func NewSaveReportSettingsParamsWithHTTPClient

func NewSaveReportSettingsParamsWithHTTPClient(client *http.Client) *SaveReportSettingsParams

NewSaveReportSettingsParamsWithHTTPClient creates a new SaveReportSettingsParams object with the ability to set a custom HTTPClient for a request.

func NewSaveReportSettingsParamsWithTimeout

func NewSaveReportSettingsParamsWithTimeout(timeout time.Duration) *SaveReportSettingsParams

NewSaveReportSettingsParamsWithTimeout creates a new SaveReportSettingsParams object with the ability to set a timeout on a request.

func (*SaveReportSettingsParams) SetBody

func (o *SaveReportSettingsParams) SetBody(body *models.SettingsDTO)

SetBody adds the body to the save report settings params

func (*SaveReportSettingsParams) SetContext

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

SetContext adds the context to the save report settings params

func (*SaveReportSettingsParams) SetDefaults

func (o *SaveReportSettingsParams) SetDefaults()

SetDefaults hydrates default values in the save report settings params (not the query body).

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

func (*SaveReportSettingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the save report settings params

func (*SaveReportSettingsParams) SetTimeout

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

SetTimeout adds the timeout to the save report settings params

func (*SaveReportSettingsParams) WithBody

WithBody adds the body to the save report settings params

func (*SaveReportSettingsParams) WithContext

WithContext adds the context to the save report settings params

func (*SaveReportSettingsParams) WithDefaults

WithDefaults hydrates default values in the save report settings params (not the query body).

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

func (*SaveReportSettingsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the save report settings params

func (*SaveReportSettingsParams) WithTimeout

WithTimeout adds the timeout to the save report settings params

func (*SaveReportSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SaveReportSettingsReader

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

SaveReportSettingsReader is a Reader for the SaveReportSettings structure.

func (*SaveReportSettingsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SaveReportSettingsUnauthorized

type SaveReportSettingsUnauthorized struct {
	Payload *models.ErrorResponseBody
}

SaveReportSettingsUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewSaveReportSettingsUnauthorized

func NewSaveReportSettingsUnauthorized() *SaveReportSettingsUnauthorized

NewSaveReportSettingsUnauthorized creates a SaveReportSettingsUnauthorized with default headers values

func (*SaveReportSettingsUnauthorized) Error

func (*SaveReportSettingsUnauthorized) GetPayload

type SendReportBadRequest

type SendReportBadRequest struct {
	Payload *models.ErrorResponseBody
}

SendReportBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewSendReportBadRequest

func NewSendReportBadRequest() *SendReportBadRequest

NewSendReportBadRequest creates a SendReportBadRequest with default headers values

func (*SendReportBadRequest) Error

func (o *SendReportBadRequest) Error() string

func (*SendReportBadRequest) GetPayload

type SendReportForbidden

type SendReportForbidden struct {
	Payload *models.ErrorResponseBody
}

SendReportForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewSendReportForbidden

func NewSendReportForbidden() *SendReportForbidden

NewSendReportForbidden creates a SendReportForbidden with default headers values

func (*SendReportForbidden) Error

func (o *SendReportForbidden) Error() string

func (*SendReportForbidden) GetPayload

func (o *SendReportForbidden) GetPayload() *models.ErrorResponseBody

type SendReportInternalServerError

type SendReportInternalServerError struct {
	Payload *models.ErrorResponseBody
}

SendReportInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewSendReportInternalServerError

func NewSendReportInternalServerError() *SendReportInternalServerError

NewSendReportInternalServerError creates a SendReportInternalServerError with default headers values

func (*SendReportInternalServerError) Error

func (*SendReportInternalServerError) GetPayload

type SendReportNotFound

type SendReportNotFound struct {
	Payload *models.ErrorResponseBody
}

SendReportNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewSendReportNotFound

func NewSendReportNotFound() *SendReportNotFound

NewSendReportNotFound creates a SendReportNotFound with default headers values

func (*SendReportNotFound) Error

func (o *SendReportNotFound) Error() string

func (*SendReportNotFound) GetPayload

func (o *SendReportNotFound) GetPayload() *models.ErrorResponseBody

type SendReportOK

type SendReportOK struct {
	Payload *models.SuccessResponseBody
}

SendReportOK describes a response with status code 200, with default header values.

An OKResponse is returned if the request was successful.

func NewSendReportOK

func NewSendReportOK() *SendReportOK

NewSendReportOK creates a SendReportOK with default headers values

func (*SendReportOK) Error

func (o *SendReportOK) Error() string

func (*SendReportOK) GetPayload

func (o *SendReportOK) GetPayload() *models.SuccessResponseBody

type SendReportParams

type SendReportParams struct {

	// Body.
	Body *models.ReportEmailDTO

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

SendReportParams contains all the parameters to send to the API endpoint

for the send report operation.

Typically these are written to a http.Request.

func NewSendReportParams

func NewSendReportParams() *SendReportParams

NewSendReportParams creates a new SendReportParams 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 NewSendReportParamsWithContext

func NewSendReportParamsWithContext(ctx context.Context) *SendReportParams

NewSendReportParamsWithContext creates a new SendReportParams object with the ability to set a context for a request.

func NewSendReportParamsWithHTTPClient

func NewSendReportParamsWithHTTPClient(client *http.Client) *SendReportParams

NewSendReportParamsWithHTTPClient creates a new SendReportParams object with the ability to set a custom HTTPClient for a request.

func NewSendReportParamsWithTimeout

func NewSendReportParamsWithTimeout(timeout time.Duration) *SendReportParams

NewSendReportParamsWithTimeout creates a new SendReportParams object with the ability to set a timeout on a request.

func (*SendReportParams) SetBody

func (o *SendReportParams) SetBody(body *models.ReportEmailDTO)

SetBody adds the body to the send report params

func (*SendReportParams) SetContext

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

SetContext adds the context to the send report params

func (*SendReportParams) SetDefaults

func (o *SendReportParams) SetDefaults()

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

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

func (*SendReportParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the send report params

func (*SendReportParams) SetTimeout

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

SetTimeout adds the timeout to the send report params

func (*SendReportParams) WithBody

WithBody adds the body to the send report params

func (*SendReportParams) WithContext

func (o *SendReportParams) WithContext(ctx context.Context) *SendReportParams

WithContext adds the context to the send report params

func (*SendReportParams) WithDefaults

func (o *SendReportParams) WithDefaults() *SendReportParams

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

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

func (*SendReportParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the send report params

func (*SendReportParams) WithTimeout

func (o *SendReportParams) WithTimeout(timeout time.Duration) *SendReportParams

WithTimeout adds the timeout to the send report params

func (*SendReportParams) WriteToRequest

func (o *SendReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SendReportReader

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

SendReportReader is a Reader for the SendReport structure.

func (*SendReportReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SendReportUnauthorized

type SendReportUnauthorized struct {
	Payload *models.ErrorResponseBody
}

SendReportUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewSendReportUnauthorized

func NewSendReportUnauthorized() *SendReportUnauthorized

NewSendReportUnauthorized creates a SendReportUnauthorized with default headers values

func (*SendReportUnauthorized) Error

func (o *SendReportUnauthorized) Error() string

func (*SendReportUnauthorized) GetPayload

type SendTestEmailBadRequest

type SendTestEmailBadRequest struct {
	Payload *models.ErrorResponseBody
}

SendTestEmailBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewSendTestEmailBadRequest

func NewSendTestEmailBadRequest() *SendTestEmailBadRequest

NewSendTestEmailBadRequest creates a SendTestEmailBadRequest with default headers values

func (*SendTestEmailBadRequest) Error

func (o *SendTestEmailBadRequest) Error() string

func (*SendTestEmailBadRequest) GetPayload

type SendTestEmailForbidden

type SendTestEmailForbidden struct {
	Payload *models.ErrorResponseBody
}

SendTestEmailForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewSendTestEmailForbidden

func NewSendTestEmailForbidden() *SendTestEmailForbidden

NewSendTestEmailForbidden creates a SendTestEmailForbidden with default headers values

func (*SendTestEmailForbidden) Error

func (o *SendTestEmailForbidden) Error() string

func (*SendTestEmailForbidden) GetPayload

type SendTestEmailInternalServerError

type SendTestEmailInternalServerError struct {
	Payload *models.ErrorResponseBody
}

SendTestEmailInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewSendTestEmailInternalServerError

func NewSendTestEmailInternalServerError() *SendTestEmailInternalServerError

NewSendTestEmailInternalServerError creates a SendTestEmailInternalServerError with default headers values

func (*SendTestEmailInternalServerError) Error

func (*SendTestEmailInternalServerError) GetPayload

type SendTestEmailNotFound

type SendTestEmailNotFound struct {
	Payload *models.ErrorResponseBody
}

SendTestEmailNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewSendTestEmailNotFound

func NewSendTestEmailNotFound() *SendTestEmailNotFound

NewSendTestEmailNotFound creates a SendTestEmailNotFound with default headers values

func (*SendTestEmailNotFound) Error

func (o *SendTestEmailNotFound) Error() string

func (*SendTestEmailNotFound) GetPayload

type SendTestEmailOK

type SendTestEmailOK struct {
	Payload *models.SuccessResponseBody
}

SendTestEmailOK describes a response with status code 200, with default header values.

An OKResponse is returned if the request was successful.

func NewSendTestEmailOK

func NewSendTestEmailOK() *SendTestEmailOK

NewSendTestEmailOK creates a SendTestEmailOK with default headers values

func (*SendTestEmailOK) Error

func (o *SendTestEmailOK) Error() string

func (*SendTestEmailOK) GetPayload

func (o *SendTestEmailOK) GetPayload() *models.SuccessResponseBody

type SendTestEmailParams

type SendTestEmailParams struct {

	// Body.
	Body *models.CreateOrUpdateConfigCmd

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

SendTestEmailParams contains all the parameters to send to the API endpoint

for the send test email operation.

Typically these are written to a http.Request.

func NewSendTestEmailParams

func NewSendTestEmailParams() *SendTestEmailParams

NewSendTestEmailParams creates a new SendTestEmailParams 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 NewSendTestEmailParamsWithContext

func NewSendTestEmailParamsWithContext(ctx context.Context) *SendTestEmailParams

NewSendTestEmailParamsWithContext creates a new SendTestEmailParams object with the ability to set a context for a request.

func NewSendTestEmailParamsWithHTTPClient

func NewSendTestEmailParamsWithHTTPClient(client *http.Client) *SendTestEmailParams

NewSendTestEmailParamsWithHTTPClient creates a new SendTestEmailParams object with the ability to set a custom HTTPClient for a request.

func NewSendTestEmailParamsWithTimeout

func NewSendTestEmailParamsWithTimeout(timeout time.Duration) *SendTestEmailParams

NewSendTestEmailParamsWithTimeout creates a new SendTestEmailParams object with the ability to set a timeout on a request.

func (*SendTestEmailParams) SetBody

SetBody adds the body to the send test email params

func (*SendTestEmailParams) SetContext

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

SetContext adds the context to the send test email params

func (*SendTestEmailParams) SetDefaults

func (o *SendTestEmailParams) SetDefaults()

SetDefaults hydrates default values in the send test email params (not the query body).

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

func (*SendTestEmailParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the send test email params

func (*SendTestEmailParams) SetTimeout

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

SetTimeout adds the timeout to the send test email params

func (*SendTestEmailParams) WithBody

WithBody adds the body to the send test email params

func (*SendTestEmailParams) WithContext

WithContext adds the context to the send test email params

func (*SendTestEmailParams) WithDefaults

func (o *SendTestEmailParams) WithDefaults() *SendTestEmailParams

WithDefaults hydrates default values in the send test email params (not the query body).

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

func (*SendTestEmailParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the send test email params

func (*SendTestEmailParams) WithTimeout

func (o *SendTestEmailParams) WithTimeout(timeout time.Duration) *SendTestEmailParams

WithTimeout adds the timeout to the send test email params

func (*SendTestEmailParams) WriteToRequest

func (o *SendTestEmailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SendTestEmailReader

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

SendTestEmailReader is a Reader for the SendTestEmail structure.

func (*SendTestEmailReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SendTestEmailUnauthorized

type SendTestEmailUnauthorized struct {
	Payload *models.ErrorResponseBody
}

SendTestEmailUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewSendTestEmailUnauthorized

func NewSendTestEmailUnauthorized() *SendTestEmailUnauthorized

NewSendTestEmailUnauthorized creates a SendTestEmailUnauthorized with default headers values

func (*SendTestEmailUnauthorized) Error

func (o *SendTestEmailUnauthorized) Error() string

func (*SendTestEmailUnauthorized) GetPayload

type UpdateReportBadRequest

type UpdateReportBadRequest struct {
	Payload *models.ErrorResponseBody
}

UpdateReportBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewUpdateReportBadRequest

func NewUpdateReportBadRequest() *UpdateReportBadRequest

NewUpdateReportBadRequest creates a UpdateReportBadRequest with default headers values

func (*UpdateReportBadRequest) Error

func (o *UpdateReportBadRequest) Error() string

func (*UpdateReportBadRequest) GetPayload

type UpdateReportForbidden

type UpdateReportForbidden struct {
	Payload *models.ErrorResponseBody
}

UpdateReportForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewUpdateReportForbidden

func NewUpdateReportForbidden() *UpdateReportForbidden

NewUpdateReportForbidden creates a UpdateReportForbidden with default headers values

func (*UpdateReportForbidden) Error

func (o *UpdateReportForbidden) Error() string

func (*UpdateReportForbidden) GetPayload

type UpdateReportInternalServerError

type UpdateReportInternalServerError struct {
	Payload *models.ErrorResponseBody
}

UpdateReportInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewUpdateReportInternalServerError

func NewUpdateReportInternalServerError() *UpdateReportInternalServerError

NewUpdateReportInternalServerError creates a UpdateReportInternalServerError with default headers values

func (*UpdateReportInternalServerError) Error

func (*UpdateReportInternalServerError) GetPayload

type UpdateReportNotFound

type UpdateReportNotFound struct {
	Payload *models.ErrorResponseBody
}

UpdateReportNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewUpdateReportNotFound

func NewUpdateReportNotFound() *UpdateReportNotFound

NewUpdateReportNotFound creates a UpdateReportNotFound with default headers values

func (*UpdateReportNotFound) Error

func (o *UpdateReportNotFound) Error() string

func (*UpdateReportNotFound) GetPayload

type UpdateReportOK

type UpdateReportOK struct {
	Payload *models.SuccessResponseBody
}

UpdateReportOK describes a response with status code 200, with default header values.

An OKResponse is returned if the request was successful.

func NewUpdateReportOK

func NewUpdateReportOK() *UpdateReportOK

NewUpdateReportOK creates a UpdateReportOK with default headers values

func (*UpdateReportOK) Error

func (o *UpdateReportOK) Error() string

func (*UpdateReportOK) GetPayload

func (o *UpdateReportOK) GetPayload() *models.SuccessResponseBody

type UpdateReportParams

type UpdateReportParams struct {

	// Body.
	Body *models.CreateOrUpdateConfigCmd

	// ID.
	//
	// Format: int64
	ID int64

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

UpdateReportParams contains all the parameters to send to the API endpoint

for the update report operation.

Typically these are written to a http.Request.

func NewUpdateReportParams

func NewUpdateReportParams() *UpdateReportParams

NewUpdateReportParams creates a new UpdateReportParams 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 NewUpdateReportParamsWithContext

func NewUpdateReportParamsWithContext(ctx context.Context) *UpdateReportParams

NewUpdateReportParamsWithContext creates a new UpdateReportParams object with the ability to set a context for a request.

func NewUpdateReportParamsWithHTTPClient

func NewUpdateReportParamsWithHTTPClient(client *http.Client) *UpdateReportParams

NewUpdateReportParamsWithHTTPClient creates a new UpdateReportParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateReportParamsWithTimeout

func NewUpdateReportParamsWithTimeout(timeout time.Duration) *UpdateReportParams

NewUpdateReportParamsWithTimeout creates a new UpdateReportParams object with the ability to set a timeout on a request.

func (*UpdateReportParams) SetBody

SetBody adds the body to the update report params

func (*UpdateReportParams) SetContext

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

SetContext adds the context to the update report params

func (*UpdateReportParams) SetDefaults

func (o *UpdateReportParams) SetDefaults()

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

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

func (*UpdateReportParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update report params

func (*UpdateReportParams) SetID

func (o *UpdateReportParams) SetID(id int64)

SetID adds the id to the update report params

func (*UpdateReportParams) SetTimeout

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

SetTimeout adds the timeout to the update report params

func (*UpdateReportParams) WithBody

WithBody adds the body to the update report params

func (*UpdateReportParams) WithContext

WithContext adds the context to the update report params

func (*UpdateReportParams) WithDefaults

func (o *UpdateReportParams) WithDefaults() *UpdateReportParams

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

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

func (*UpdateReportParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update report params

func (*UpdateReportParams) WithID

WithID adds the id to the update report params

func (*UpdateReportParams) WithTimeout

func (o *UpdateReportParams) WithTimeout(timeout time.Duration) *UpdateReportParams

WithTimeout adds the timeout to the update report params

func (*UpdateReportParams) WriteToRequest

func (o *UpdateReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateReportReader

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

UpdateReportReader is a Reader for the UpdateReport structure.

func (*UpdateReportReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateReportUnauthorized

type UpdateReportUnauthorized struct {
	Payload *models.ErrorResponseBody
}

UpdateReportUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewUpdateReportUnauthorized

func NewUpdateReportUnauthorized() *UpdateReportUnauthorized

NewUpdateReportUnauthorized creates a UpdateReportUnauthorized with default headers values

func (*UpdateReportUnauthorized) Error

func (o *UpdateReportUnauthorized) Error() string

func (*UpdateReportUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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