reports

package
v0.0.0-...-4958bdd Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 12 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(body *models.CreateOrUpdateReportConfig, 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) CreateReportWithParams

func (a *Client) CreateReportWithParams(params *CreateReportParams, opts ...ClientOption) (*CreateReportOK, error)

func (*Client) DeleteReport

func (a *Client) DeleteReport(id int64, 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) DeleteReportWithParams

func (a *Client) DeleteReportWithParams(params *DeleteReportParams, opts ...ClientOption) (*DeleteReportOK, error)

func (*Client) GetReport

func (a *Client) GetReport(id int64, 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(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) GetReportSettingsWithParams

func (a *Client) GetReportSettingsWithParams(params *GetReportSettingsParams, opts ...ClientOption) (*GetReportSettingsOK, error)

func (*Client) GetReportWithParams

func (a *Client) GetReportWithParams(params *GetReportParams, opts ...ClientOption) (*GetReportOK, error)

func (*Client) GetReports

func (a *Client) GetReports(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) GetReportsWithParams

func (a *Client) GetReportsWithParams(params *GetReportsParams, opts ...ClientOption) (*GetReportsOK, error)

func (*Client) RenderReportPDFs

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

func (*Client) SaveReportSettings

func (a *Client) SaveReportSettings(body *models.ReportSettings, 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) SaveReportSettingsWithParams

func (a *Client) SaveReportSettingsWithParams(params *SaveReportSettingsParams, opts ...ClientOption) (*SaveReportSettingsOK, error)

func (*Client) SendReport

func (a *Client) SendReport(body *models.ReportEmail, 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) SendReportWithParams

func (a *Client) SendReportWithParams(params *SendReportParams, opts ...ClientOption) (*SendReportOK, error)

func (*Client) SendTestEmail

func (a *Client) SendTestEmail(body *models.CreateOrUpdateReportConfig, 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) SendTestEmailWithParams

func (a *Client) SendTestEmailWithParams(params *SendTestEmailParams, opts ...ClientOption) (*SendTestEmailOK, error)

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateReport

func (a *Client) UpdateReport(id int64, body *models.CreateOrUpdateReportConfig, 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>`.

func (*Client) UpdateReportWithParams

func (a *Client) UpdateReportWithParams(params *UpdateReportParams, opts ...ClientOption) (*UpdateReportOK, error)

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

func WithAuthInfo

func WithAuthInfo(authInfo runtime.ClientAuthInfoWriter) ClientOption

WithAuthInfo changes the transport on the client

type ClientService

type ClientService interface {
	CreateReport(body *models.CreateOrUpdateReportConfig, opts ...ClientOption) (*CreateReportOK, error)
	CreateReportWithParams(params *CreateReportParams, opts ...ClientOption) (*CreateReportOK, error)

	DeleteReport(id int64, opts ...ClientOption) (*DeleteReportOK, error)
	DeleteReportWithParams(params *DeleteReportParams, opts ...ClientOption) (*DeleteReportOK, error)

	GetReport(id int64, opts ...ClientOption) (*GetReportOK, error)
	GetReportWithParams(params *GetReportParams, opts ...ClientOption) (*GetReportOK, error)

	GetReportSettings(opts ...ClientOption) (*GetReportSettingsOK, error)
	GetReportSettingsWithParams(params *GetReportSettingsParams, opts ...ClientOption) (*GetReportSettingsOK, error)

	GetReports(opts ...ClientOption) (*GetReportsOK, error)
	GetReportsWithParams(params *GetReportsParams, opts ...ClientOption) (*GetReportsOK, error)

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

	SaveReportSettings(body *models.ReportSettings, opts ...ClientOption) (*SaveReportSettingsOK, error)
	SaveReportSettingsWithParams(params *SaveReportSettingsParams, opts ...ClientOption) (*SaveReportSettingsOK, error)

	SendReport(body *models.ReportEmail, opts ...ClientOption) (*SendReportOK, error)
	SendReportWithParams(params *SendReportParams, opts ...ClientOption) (*SendReportOK, error)

	SendTestEmail(body *models.CreateOrUpdateReportConfig, opts ...ClientOption) (*SendTestEmailOK, error)
	SendTestEmailWithParams(params *SendTestEmailParams, opts ...ClientOption) (*SendTestEmailOK, error)

	UpdateReport(id int64, body *models.CreateOrUpdateReportConfig, opts ...ClientOption) (*UpdateReportOK, error)
	UpdateReportWithParams(params *UpdateReportParams, 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) Code

func (o *CreateReportBadRequest) Code() int

Code gets the status code for the create report bad request response

func (*CreateReportBadRequest) Error

func (o *CreateReportBadRequest) Error() string

func (*CreateReportBadRequest) GetPayload

func (*CreateReportBadRequest) IsClientError

func (o *CreateReportBadRequest) IsClientError() bool

IsClientError returns true when this create report bad request response has a 4xx status code

func (*CreateReportBadRequest) IsCode

func (o *CreateReportBadRequest) IsCode(code int) bool

IsCode returns true when this create report bad request response a status code equal to that given

func (*CreateReportBadRequest) IsRedirect

func (o *CreateReportBadRequest) IsRedirect() bool

IsRedirect returns true when this create report bad request response has a 3xx status code

func (*CreateReportBadRequest) IsServerError

func (o *CreateReportBadRequest) IsServerError() bool

IsServerError returns true when this create report bad request response has a 5xx status code

func (*CreateReportBadRequest) IsSuccess

func (o *CreateReportBadRequest) IsSuccess() bool

IsSuccess returns true when this create report bad request response has a 2xx status code

func (*CreateReportBadRequest) String

func (o *CreateReportBadRequest) String() string

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) Code

func (o *CreateReportForbidden) Code() int

Code gets the status code for the create report forbidden response

func (*CreateReportForbidden) Error

func (o *CreateReportForbidden) Error() string

func (*CreateReportForbidden) GetPayload

func (*CreateReportForbidden) IsClientError

func (o *CreateReportForbidden) IsClientError() bool

IsClientError returns true when this create report forbidden response has a 4xx status code

func (*CreateReportForbidden) IsCode

func (o *CreateReportForbidden) IsCode(code int) bool

IsCode returns true when this create report forbidden response a status code equal to that given

func (*CreateReportForbidden) IsRedirect

func (o *CreateReportForbidden) IsRedirect() bool

IsRedirect returns true when this create report forbidden response has a 3xx status code

func (*CreateReportForbidden) IsServerError

func (o *CreateReportForbidden) IsServerError() bool

IsServerError returns true when this create report forbidden response has a 5xx status code

func (*CreateReportForbidden) IsSuccess

func (o *CreateReportForbidden) IsSuccess() bool

IsSuccess returns true when this create report forbidden response has a 2xx status code

func (*CreateReportForbidden) String

func (o *CreateReportForbidden) String() string

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) Code

Code gets the status code for the create report internal server error response

func (*CreateReportInternalServerError) Error

func (*CreateReportInternalServerError) GetPayload

func (*CreateReportInternalServerError) IsClientError

func (o *CreateReportInternalServerError) IsClientError() bool

IsClientError returns true when this create report internal server error response has a 4xx status code

func (*CreateReportInternalServerError) IsCode

func (o *CreateReportInternalServerError) IsCode(code int) bool

IsCode returns true when this create report internal server error response a status code equal to that given

func (*CreateReportInternalServerError) IsRedirect

func (o *CreateReportInternalServerError) IsRedirect() bool

IsRedirect returns true when this create report internal server error response has a 3xx status code

func (*CreateReportInternalServerError) IsServerError

func (o *CreateReportInternalServerError) IsServerError() bool

IsServerError returns true when this create report internal server error response has a 5xx status code

func (*CreateReportInternalServerError) IsSuccess

func (o *CreateReportInternalServerError) IsSuccess() bool

IsSuccess returns true when this create report internal server error response has a 2xx status code

func (*CreateReportInternalServerError) String

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) Code

func (o *CreateReportNotFound) Code() int

Code gets the status code for the create report not found response

func (*CreateReportNotFound) Error

func (o *CreateReportNotFound) Error() string

func (*CreateReportNotFound) GetPayload

func (*CreateReportNotFound) IsClientError

func (o *CreateReportNotFound) IsClientError() bool

IsClientError returns true when this create report not found response has a 4xx status code

func (*CreateReportNotFound) IsCode

func (o *CreateReportNotFound) IsCode(code int) bool

IsCode returns true when this create report not found response a status code equal to that given

func (*CreateReportNotFound) IsRedirect

func (o *CreateReportNotFound) IsRedirect() bool

IsRedirect returns true when this create report not found response has a 3xx status code

func (*CreateReportNotFound) IsServerError

func (o *CreateReportNotFound) IsServerError() bool

IsServerError returns true when this create report not found response has a 5xx status code

func (*CreateReportNotFound) IsSuccess

func (o *CreateReportNotFound) IsSuccess() bool

IsSuccess returns true when this create report not found response has a 2xx status code

func (*CreateReportNotFound) String

func (o *CreateReportNotFound) String() string

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) Code

func (o *CreateReportOK) Code() int

Code gets the status code for the create report Ok response

func (*CreateReportOK) Error

func (o *CreateReportOK) Error() string

func (*CreateReportOK) GetPayload

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

func (*CreateReportOK) IsClientError

func (o *CreateReportOK) IsClientError() bool

IsClientError returns true when this create report Ok response has a 4xx status code

func (*CreateReportOK) IsCode

func (o *CreateReportOK) IsCode(code int) bool

IsCode returns true when this create report Ok response a status code equal to that given

func (*CreateReportOK) IsRedirect

func (o *CreateReportOK) IsRedirect() bool

IsRedirect returns true when this create report Ok response has a 3xx status code

func (*CreateReportOK) IsServerError

func (o *CreateReportOK) IsServerError() bool

IsServerError returns true when this create report Ok response has a 5xx status code

func (*CreateReportOK) IsSuccess

func (o *CreateReportOK) IsSuccess() bool

IsSuccess returns true when this create report Ok response has a 2xx status code

func (*CreateReportOK) String

func (o *CreateReportOK) String() string

type CreateReportParams

type CreateReportParams struct {

	// Body.
	Body *models.CreateOrUpdateReportConfig

	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) Code

func (o *CreateReportUnauthorized) Code() int

Code gets the status code for the create report unauthorized response

func (*CreateReportUnauthorized) Error

func (o *CreateReportUnauthorized) Error() string

func (*CreateReportUnauthorized) GetPayload

func (*CreateReportUnauthorized) IsClientError

func (o *CreateReportUnauthorized) IsClientError() bool

IsClientError returns true when this create report unauthorized response has a 4xx status code

func (*CreateReportUnauthorized) IsCode

func (o *CreateReportUnauthorized) IsCode(code int) bool

IsCode returns true when this create report unauthorized response a status code equal to that given

func (*CreateReportUnauthorized) IsRedirect

func (o *CreateReportUnauthorized) IsRedirect() bool

IsRedirect returns true when this create report unauthorized response has a 3xx status code

func (*CreateReportUnauthorized) IsServerError

func (o *CreateReportUnauthorized) IsServerError() bool

IsServerError returns true when this create report unauthorized response has a 5xx status code

func (*CreateReportUnauthorized) IsSuccess

func (o *CreateReportUnauthorized) IsSuccess() bool

IsSuccess returns true when this create report unauthorized response has a 2xx status code

func (*CreateReportUnauthorized) String

func (o *CreateReportUnauthorized) String() string

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) Code

func (o *DeleteReportBadRequest) Code() int

Code gets the status code for the delete report bad request response

func (*DeleteReportBadRequest) Error

func (o *DeleteReportBadRequest) Error() string

func (*DeleteReportBadRequest) GetPayload

func (*DeleteReportBadRequest) IsClientError

func (o *DeleteReportBadRequest) IsClientError() bool

IsClientError returns true when this delete report bad request response has a 4xx status code

func (*DeleteReportBadRequest) IsCode

func (o *DeleteReportBadRequest) IsCode(code int) bool

IsCode returns true when this delete report bad request response a status code equal to that given

func (*DeleteReportBadRequest) IsRedirect

func (o *DeleteReportBadRequest) IsRedirect() bool

IsRedirect returns true when this delete report bad request response has a 3xx status code

func (*DeleteReportBadRequest) IsServerError

func (o *DeleteReportBadRequest) IsServerError() bool

IsServerError returns true when this delete report bad request response has a 5xx status code

func (*DeleteReportBadRequest) IsSuccess

func (o *DeleteReportBadRequest) IsSuccess() bool

IsSuccess returns true when this delete report bad request response has a 2xx status code

func (*DeleteReportBadRequest) String

func (o *DeleteReportBadRequest) String() string

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) Code

func (o *DeleteReportForbidden) Code() int

Code gets the status code for the delete report forbidden response

func (*DeleteReportForbidden) Error

func (o *DeleteReportForbidden) Error() string

func (*DeleteReportForbidden) GetPayload

func (*DeleteReportForbidden) IsClientError

func (o *DeleteReportForbidden) IsClientError() bool

IsClientError returns true when this delete report forbidden response has a 4xx status code

func (*DeleteReportForbidden) IsCode

func (o *DeleteReportForbidden) IsCode(code int) bool

IsCode returns true when this delete report forbidden response a status code equal to that given

func (*DeleteReportForbidden) IsRedirect

func (o *DeleteReportForbidden) IsRedirect() bool

IsRedirect returns true when this delete report forbidden response has a 3xx status code

func (*DeleteReportForbidden) IsServerError

func (o *DeleteReportForbidden) IsServerError() bool

IsServerError returns true when this delete report forbidden response has a 5xx status code

func (*DeleteReportForbidden) IsSuccess

func (o *DeleteReportForbidden) IsSuccess() bool

IsSuccess returns true when this delete report forbidden response has a 2xx status code

func (*DeleteReportForbidden) String

func (o *DeleteReportForbidden) String() string

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) Code

Code gets the status code for the delete report internal server error response

func (*DeleteReportInternalServerError) Error

func (*DeleteReportInternalServerError) GetPayload

func (*DeleteReportInternalServerError) IsClientError

func (o *DeleteReportInternalServerError) IsClientError() bool

IsClientError returns true when this delete report internal server error response has a 4xx status code

func (*DeleteReportInternalServerError) IsCode

func (o *DeleteReportInternalServerError) IsCode(code int) bool

IsCode returns true when this delete report internal server error response a status code equal to that given

func (*DeleteReportInternalServerError) IsRedirect

func (o *DeleteReportInternalServerError) IsRedirect() bool

IsRedirect returns true when this delete report internal server error response has a 3xx status code

func (*DeleteReportInternalServerError) IsServerError

func (o *DeleteReportInternalServerError) IsServerError() bool

IsServerError returns true when this delete report internal server error response has a 5xx status code

func (*DeleteReportInternalServerError) IsSuccess

func (o *DeleteReportInternalServerError) IsSuccess() bool

IsSuccess returns true when this delete report internal server error response has a 2xx status code

func (*DeleteReportInternalServerError) String

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) Code

func (o *DeleteReportNotFound) Code() int

Code gets the status code for the delete report not found response

func (*DeleteReportNotFound) Error

func (o *DeleteReportNotFound) Error() string

func (*DeleteReportNotFound) GetPayload

func (*DeleteReportNotFound) IsClientError

func (o *DeleteReportNotFound) IsClientError() bool

IsClientError returns true when this delete report not found response has a 4xx status code

func (*DeleteReportNotFound) IsCode

func (o *DeleteReportNotFound) IsCode(code int) bool

IsCode returns true when this delete report not found response a status code equal to that given

func (*DeleteReportNotFound) IsRedirect

func (o *DeleteReportNotFound) IsRedirect() bool

IsRedirect returns true when this delete report not found response has a 3xx status code

func (*DeleteReportNotFound) IsServerError

func (o *DeleteReportNotFound) IsServerError() bool

IsServerError returns true when this delete report not found response has a 5xx status code

func (*DeleteReportNotFound) IsSuccess

func (o *DeleteReportNotFound) IsSuccess() bool

IsSuccess returns true when this delete report not found response has a 2xx status code

func (*DeleteReportNotFound) String

func (o *DeleteReportNotFound) String() string

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) Code

func (o *DeleteReportOK) Code() int

Code gets the status code for the delete report Ok response

func (*DeleteReportOK) Error

func (o *DeleteReportOK) Error() string

func (*DeleteReportOK) GetPayload

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

func (*DeleteReportOK) IsClientError

func (o *DeleteReportOK) IsClientError() bool

IsClientError returns true when this delete report Ok response has a 4xx status code

func (*DeleteReportOK) IsCode

func (o *DeleteReportOK) IsCode(code int) bool

IsCode returns true when this delete report Ok response a status code equal to that given

func (*DeleteReportOK) IsRedirect

func (o *DeleteReportOK) IsRedirect() bool

IsRedirect returns true when this delete report Ok response has a 3xx status code

func (*DeleteReportOK) IsServerError

func (o *DeleteReportOK) IsServerError() bool

IsServerError returns true when this delete report Ok response has a 5xx status code

func (*DeleteReportOK) IsSuccess

func (o *DeleteReportOK) IsSuccess() bool

IsSuccess returns true when this delete report Ok response has a 2xx status code

func (*DeleteReportOK) String

func (o *DeleteReportOK) String() string

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) Code

func (o *DeleteReportUnauthorized) Code() int

Code gets the status code for the delete report unauthorized response

func (*DeleteReportUnauthorized) Error

func (o *DeleteReportUnauthorized) Error() string

func (*DeleteReportUnauthorized) GetPayload

func (*DeleteReportUnauthorized) IsClientError

func (o *DeleteReportUnauthorized) IsClientError() bool

IsClientError returns true when this delete report unauthorized response has a 4xx status code

func (*DeleteReportUnauthorized) IsCode

func (o *DeleteReportUnauthorized) IsCode(code int) bool

IsCode returns true when this delete report unauthorized response a status code equal to that given

func (*DeleteReportUnauthorized) IsRedirect

func (o *DeleteReportUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete report unauthorized response has a 3xx status code

func (*DeleteReportUnauthorized) IsServerError

func (o *DeleteReportUnauthorized) IsServerError() bool

IsServerError returns true when this delete report unauthorized response has a 5xx status code

func (*DeleteReportUnauthorized) IsSuccess

func (o *DeleteReportUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete report unauthorized response has a 2xx status code

func (*DeleteReportUnauthorized) String

func (o *DeleteReportUnauthorized) String() string

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) Code

func (o *GetReportBadRequest) Code() int

Code gets the status code for the get report bad request response

func (*GetReportBadRequest) Error

func (o *GetReportBadRequest) Error() string

func (*GetReportBadRequest) GetPayload

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

func (*GetReportBadRequest) IsClientError

func (o *GetReportBadRequest) IsClientError() bool

IsClientError returns true when this get report bad request response has a 4xx status code

func (*GetReportBadRequest) IsCode

func (o *GetReportBadRequest) IsCode(code int) bool

IsCode returns true when this get report bad request response a status code equal to that given

func (*GetReportBadRequest) IsRedirect

func (o *GetReportBadRequest) IsRedirect() bool

IsRedirect returns true when this get report bad request response has a 3xx status code

func (*GetReportBadRequest) IsServerError

func (o *GetReportBadRequest) IsServerError() bool

IsServerError returns true when this get report bad request response has a 5xx status code

func (*GetReportBadRequest) IsSuccess

func (o *GetReportBadRequest) IsSuccess() bool

IsSuccess returns true when this get report bad request response has a 2xx status code

func (*GetReportBadRequest) String

func (o *GetReportBadRequest) String() string

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) Code

func (o *GetReportForbidden) Code() int

Code gets the status code for the get report forbidden response

func (*GetReportForbidden) Error

func (o *GetReportForbidden) Error() string

func (*GetReportForbidden) GetPayload

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

func (*GetReportForbidden) IsClientError

func (o *GetReportForbidden) IsClientError() bool

IsClientError returns true when this get report forbidden response has a 4xx status code

func (*GetReportForbidden) IsCode

func (o *GetReportForbidden) IsCode(code int) bool

IsCode returns true when this get report forbidden response a status code equal to that given

func (*GetReportForbidden) IsRedirect

func (o *GetReportForbidden) IsRedirect() bool

IsRedirect returns true when this get report forbidden response has a 3xx status code

func (*GetReportForbidden) IsServerError

func (o *GetReportForbidden) IsServerError() bool

IsServerError returns true when this get report forbidden response has a 5xx status code

func (*GetReportForbidden) IsSuccess

func (o *GetReportForbidden) IsSuccess() bool

IsSuccess returns true when this get report forbidden response has a 2xx status code

func (*GetReportForbidden) String

func (o *GetReportForbidden) String() string

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) Code

Code gets the status code for the get report internal server error response

func (*GetReportInternalServerError) Error

func (*GetReportInternalServerError) GetPayload

func (*GetReportInternalServerError) IsClientError

func (o *GetReportInternalServerError) IsClientError() bool

IsClientError returns true when this get report internal server error response has a 4xx status code

func (*GetReportInternalServerError) IsCode

func (o *GetReportInternalServerError) IsCode(code int) bool

IsCode returns true when this get report internal server error response a status code equal to that given

func (*GetReportInternalServerError) IsRedirect

func (o *GetReportInternalServerError) IsRedirect() bool

IsRedirect returns true when this get report internal server error response has a 3xx status code

func (*GetReportInternalServerError) IsServerError

func (o *GetReportInternalServerError) IsServerError() bool

IsServerError returns true when this get report internal server error response has a 5xx status code

func (*GetReportInternalServerError) IsSuccess

func (o *GetReportInternalServerError) IsSuccess() bool

IsSuccess returns true when this get report internal server error response has a 2xx status code

func (*GetReportInternalServerError) String

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) Code

func (o *GetReportNotFound) Code() int

Code gets the status code for the get report not found response

func (*GetReportNotFound) Error

func (o *GetReportNotFound) Error() string

func (*GetReportNotFound) GetPayload

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

func (*GetReportNotFound) IsClientError

func (o *GetReportNotFound) IsClientError() bool

IsClientError returns true when this get report not found response has a 4xx status code

func (*GetReportNotFound) IsCode

func (o *GetReportNotFound) IsCode(code int) bool

IsCode returns true when this get report not found response a status code equal to that given

func (*GetReportNotFound) IsRedirect

func (o *GetReportNotFound) IsRedirect() bool

IsRedirect returns true when this get report not found response has a 3xx status code

func (*GetReportNotFound) IsServerError

func (o *GetReportNotFound) IsServerError() bool

IsServerError returns true when this get report not found response has a 5xx status code

func (*GetReportNotFound) IsSuccess

func (o *GetReportNotFound) IsSuccess() bool

IsSuccess returns true when this get report not found response has a 2xx status code

func (*GetReportNotFound) String

func (o *GetReportNotFound) String() string

type GetReportOK

type GetReportOK struct {
	Payload *models.Report
}

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) Code

func (o *GetReportOK) Code() int

Code gets the status code for the get report Ok response

func (*GetReportOK) Error

func (o *GetReportOK) Error() string

func (*GetReportOK) GetPayload

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

func (*GetReportOK) IsClientError

func (o *GetReportOK) IsClientError() bool

IsClientError returns true when this get report Ok response has a 4xx status code

func (*GetReportOK) IsCode

func (o *GetReportOK) IsCode(code int) bool

IsCode returns true when this get report Ok response a status code equal to that given

func (*GetReportOK) IsRedirect

func (o *GetReportOK) IsRedirect() bool

IsRedirect returns true when this get report Ok response has a 3xx status code

func (*GetReportOK) IsServerError

func (o *GetReportOK) IsServerError() bool

IsServerError returns true when this get report Ok response has a 5xx status code

func (*GetReportOK) IsSuccess

func (o *GetReportOK) IsSuccess() bool

IsSuccess returns true when this get report Ok response has a 2xx status code

func (*GetReportOK) String

func (o *GetReportOK) String() string

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) Code

func (o *GetReportSettingsForbidden) Code() int

Code gets the status code for the get report settings forbidden response

func (*GetReportSettingsForbidden) Error

func (*GetReportSettingsForbidden) GetPayload

func (*GetReportSettingsForbidden) IsClientError

func (o *GetReportSettingsForbidden) IsClientError() bool

IsClientError returns true when this get report settings forbidden response has a 4xx status code

func (*GetReportSettingsForbidden) IsCode

func (o *GetReportSettingsForbidden) IsCode(code int) bool

IsCode returns true when this get report settings forbidden response a status code equal to that given

func (*GetReportSettingsForbidden) IsRedirect

func (o *GetReportSettingsForbidden) IsRedirect() bool

IsRedirect returns true when this get report settings forbidden response has a 3xx status code

func (*GetReportSettingsForbidden) IsServerError

func (o *GetReportSettingsForbidden) IsServerError() bool

IsServerError returns true when this get report settings forbidden response has a 5xx status code

func (*GetReportSettingsForbidden) IsSuccess

func (o *GetReportSettingsForbidden) IsSuccess() bool

IsSuccess returns true when this get report settings forbidden response has a 2xx status code

func (*GetReportSettingsForbidden) String

func (o *GetReportSettingsForbidden) String() string

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) Code

Code gets the status code for the get report settings internal server error response

func (*GetReportSettingsInternalServerError) Error

func (*GetReportSettingsInternalServerError) GetPayload

func (*GetReportSettingsInternalServerError) IsClientError

func (o *GetReportSettingsInternalServerError) IsClientError() bool

IsClientError returns true when this get report settings internal server error response has a 4xx status code

func (*GetReportSettingsInternalServerError) IsCode

IsCode returns true when this get report settings internal server error response a status code equal to that given

func (*GetReportSettingsInternalServerError) IsRedirect

IsRedirect returns true when this get report settings internal server error response has a 3xx status code

func (*GetReportSettingsInternalServerError) IsServerError

func (o *GetReportSettingsInternalServerError) IsServerError() bool

IsServerError returns true when this get report settings internal server error response has a 5xx status code

func (*GetReportSettingsInternalServerError) IsSuccess

IsSuccess returns true when this get report settings internal server error response has a 2xx status code

func (*GetReportSettingsInternalServerError) String

type GetReportSettingsOK

type GetReportSettingsOK struct {
	Payload *models.ReportSettings
}

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) Code

func (o *GetReportSettingsOK) Code() int

Code gets the status code for the get report settings Ok response

func (*GetReportSettingsOK) Error

func (o *GetReportSettingsOK) Error() string

func (*GetReportSettingsOK) GetPayload

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

func (*GetReportSettingsOK) IsClientError

func (o *GetReportSettingsOK) IsClientError() bool

IsClientError returns true when this get report settings Ok response has a 4xx status code

func (*GetReportSettingsOK) IsCode

func (o *GetReportSettingsOK) IsCode(code int) bool

IsCode returns true when this get report settings Ok response a status code equal to that given

func (*GetReportSettingsOK) IsRedirect

func (o *GetReportSettingsOK) IsRedirect() bool

IsRedirect returns true when this get report settings Ok response has a 3xx status code

func (*GetReportSettingsOK) IsServerError

func (o *GetReportSettingsOK) IsServerError() bool

IsServerError returns true when this get report settings Ok response has a 5xx status code

func (*GetReportSettingsOK) IsSuccess

func (o *GetReportSettingsOK) IsSuccess() bool

IsSuccess returns true when this get report settings Ok response has a 2xx status code

func (*GetReportSettingsOK) String

func (o *GetReportSettingsOK) String() string

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) Code

Code gets the status code for the get report settings unauthorized response

func (*GetReportSettingsUnauthorized) Error

func (*GetReportSettingsUnauthorized) GetPayload

func (*GetReportSettingsUnauthorized) IsClientError

func (o *GetReportSettingsUnauthorized) IsClientError() bool

IsClientError returns true when this get report settings unauthorized response has a 4xx status code

func (*GetReportSettingsUnauthorized) IsCode

func (o *GetReportSettingsUnauthorized) IsCode(code int) bool

IsCode returns true when this get report settings unauthorized response a status code equal to that given

func (*GetReportSettingsUnauthorized) IsRedirect

func (o *GetReportSettingsUnauthorized) IsRedirect() bool

IsRedirect returns true when this get report settings unauthorized response has a 3xx status code

func (*GetReportSettingsUnauthorized) IsServerError

func (o *GetReportSettingsUnauthorized) IsServerError() bool

IsServerError returns true when this get report settings unauthorized response has a 5xx status code

func (*GetReportSettingsUnauthorized) IsSuccess

func (o *GetReportSettingsUnauthorized) IsSuccess() bool

IsSuccess returns true when this get report settings unauthorized response has a 2xx status code

func (*GetReportSettingsUnauthorized) String

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) Code

func (o *GetReportUnauthorized) Code() int

Code gets the status code for the get report unauthorized response

func (*GetReportUnauthorized) Error

func (o *GetReportUnauthorized) Error() string

func (*GetReportUnauthorized) GetPayload

func (*GetReportUnauthorized) IsClientError

func (o *GetReportUnauthorized) IsClientError() bool

IsClientError returns true when this get report unauthorized response has a 4xx status code

func (*GetReportUnauthorized) IsCode

func (o *GetReportUnauthorized) IsCode(code int) bool

IsCode returns true when this get report unauthorized response a status code equal to that given

func (*GetReportUnauthorized) IsRedirect

func (o *GetReportUnauthorized) IsRedirect() bool

IsRedirect returns true when this get report unauthorized response has a 3xx status code

func (*GetReportUnauthorized) IsServerError

func (o *GetReportUnauthorized) IsServerError() bool

IsServerError returns true when this get report unauthorized response has a 5xx status code

func (*GetReportUnauthorized) IsSuccess

func (o *GetReportUnauthorized) IsSuccess() bool

IsSuccess returns true when this get report unauthorized response has a 2xx status code

func (*GetReportUnauthorized) String

func (o *GetReportUnauthorized) String() string

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) Code

func (o *GetReportsForbidden) Code() int

Code gets the status code for the get reports forbidden response

func (*GetReportsForbidden) Error

func (o *GetReportsForbidden) Error() string

func (*GetReportsForbidden) GetPayload

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

func (*GetReportsForbidden) IsClientError

func (o *GetReportsForbidden) IsClientError() bool

IsClientError returns true when this get reports forbidden response has a 4xx status code

func (*GetReportsForbidden) IsCode

func (o *GetReportsForbidden) IsCode(code int) bool

IsCode returns true when this get reports forbidden response a status code equal to that given

func (*GetReportsForbidden) IsRedirect

func (o *GetReportsForbidden) IsRedirect() bool

IsRedirect returns true when this get reports forbidden response has a 3xx status code

func (*GetReportsForbidden) IsServerError

func (o *GetReportsForbidden) IsServerError() bool

IsServerError returns true when this get reports forbidden response has a 5xx status code

func (*GetReportsForbidden) IsSuccess

func (o *GetReportsForbidden) IsSuccess() bool

IsSuccess returns true when this get reports forbidden response has a 2xx status code

func (*GetReportsForbidden) String

func (o *GetReportsForbidden) String() string

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) Code

Code gets the status code for the get reports internal server error response

func (*GetReportsInternalServerError) Error

func (*GetReportsInternalServerError) GetPayload

func (*GetReportsInternalServerError) IsClientError

func (o *GetReportsInternalServerError) IsClientError() bool

IsClientError returns true when this get reports internal server error response has a 4xx status code

func (*GetReportsInternalServerError) IsCode

func (o *GetReportsInternalServerError) IsCode(code int) bool

IsCode returns true when this get reports internal server error response a status code equal to that given

func (*GetReportsInternalServerError) IsRedirect

func (o *GetReportsInternalServerError) IsRedirect() bool

IsRedirect returns true when this get reports internal server error response has a 3xx status code

func (*GetReportsInternalServerError) IsServerError

func (o *GetReportsInternalServerError) IsServerError() bool

IsServerError returns true when this get reports internal server error response has a 5xx status code

func (*GetReportsInternalServerError) IsSuccess

func (o *GetReportsInternalServerError) IsSuccess() bool

IsSuccess returns true when this get reports internal server error response has a 2xx status code

func (*GetReportsInternalServerError) String

type GetReportsOK

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

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) Code

func (o *GetReportsOK) Code() int

Code gets the status code for the get reports Ok response

func (*GetReportsOK) Error

func (o *GetReportsOK) Error() string

func (*GetReportsOK) GetPayload

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

func (*GetReportsOK) IsClientError

func (o *GetReportsOK) IsClientError() bool

IsClientError returns true when this get reports Ok response has a 4xx status code

func (*GetReportsOK) IsCode

func (o *GetReportsOK) IsCode(code int) bool

IsCode returns true when this get reports Ok response a status code equal to that given

func (*GetReportsOK) IsRedirect

func (o *GetReportsOK) IsRedirect() bool

IsRedirect returns true when this get reports Ok response has a 3xx status code

func (*GetReportsOK) IsServerError

func (o *GetReportsOK) IsServerError() bool

IsServerError returns true when this get reports Ok response has a 5xx status code

func (*GetReportsOK) IsSuccess

func (o *GetReportsOK) IsSuccess() bool

IsSuccess returns true when this get reports Ok response has a 2xx status code

func (*GetReportsOK) String

func (o *GetReportsOK) String() string

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) Code

func (o *GetReportsUnauthorized) Code() int

Code gets the status code for the get reports unauthorized response

func (*GetReportsUnauthorized) Error

func (o *GetReportsUnauthorized) Error() string

func (*GetReportsUnauthorized) GetPayload

func (*GetReportsUnauthorized) IsClientError

func (o *GetReportsUnauthorized) IsClientError() bool

IsClientError returns true when this get reports unauthorized response has a 4xx status code

func (*GetReportsUnauthorized) IsCode

func (o *GetReportsUnauthorized) IsCode(code int) bool

IsCode returns true when this get reports unauthorized response a status code equal to that given

func (*GetReportsUnauthorized) IsRedirect

func (o *GetReportsUnauthorized) IsRedirect() bool

IsRedirect returns true when this get reports unauthorized response has a 3xx status code

func (*GetReportsUnauthorized) IsServerError

func (o *GetReportsUnauthorized) IsServerError() bool

IsServerError returns true when this get reports unauthorized response has a 5xx status code

func (*GetReportsUnauthorized) IsSuccess

func (o *GetReportsUnauthorized) IsSuccess() bool

IsSuccess returns true when this get reports unauthorized response has a 2xx status code

func (*GetReportsUnauthorized) String

func (o *GetReportsUnauthorized) String() string

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) Code

func (o *RenderReportPDFsBadRequest) Code() int

Code gets the status code for the render report p d fs bad request response

func (*RenderReportPDFsBadRequest) Error

func (*RenderReportPDFsBadRequest) GetPayload

func (*RenderReportPDFsBadRequest) IsClientError

func (o *RenderReportPDFsBadRequest) IsClientError() bool

IsClientError returns true when this render report p d fs bad request response has a 4xx status code

func (*RenderReportPDFsBadRequest) IsCode

func (o *RenderReportPDFsBadRequest) IsCode(code int) bool

IsCode returns true when this render report p d fs bad request response a status code equal to that given

func (*RenderReportPDFsBadRequest) IsRedirect

func (o *RenderReportPDFsBadRequest) IsRedirect() bool

IsRedirect returns true when this render report p d fs bad request response has a 3xx status code

func (*RenderReportPDFsBadRequest) IsServerError

func (o *RenderReportPDFsBadRequest) IsServerError() bool

IsServerError returns true when this render report p d fs bad request response has a 5xx status code

func (*RenderReportPDFsBadRequest) IsSuccess

func (o *RenderReportPDFsBadRequest) IsSuccess() bool

IsSuccess returns true when this render report p d fs bad request response has a 2xx status code

func (*RenderReportPDFsBadRequest) String

func (o *RenderReportPDFsBadRequest) String() string

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) Code

Code gets the status code for the render report p d fs internal server error response

func (*RenderReportPDFsInternalServerError) Error

func (*RenderReportPDFsInternalServerError) GetPayload

func (*RenderReportPDFsInternalServerError) IsClientError

func (o *RenderReportPDFsInternalServerError) IsClientError() bool

IsClientError returns true when this render report p d fs internal server error response has a 4xx status code

func (*RenderReportPDFsInternalServerError) IsCode

IsCode returns true when this render report p d fs internal server error response a status code equal to that given

func (*RenderReportPDFsInternalServerError) IsRedirect

func (o *RenderReportPDFsInternalServerError) IsRedirect() bool

IsRedirect returns true when this render report p d fs internal server error response has a 3xx status code

func (*RenderReportPDFsInternalServerError) IsServerError

func (o *RenderReportPDFsInternalServerError) IsServerError() bool

IsServerError returns true when this render report p d fs internal server error response has a 5xx status code

func (*RenderReportPDFsInternalServerError) IsSuccess

IsSuccess returns true when this render report p d fs internal server error response has a 2xx status code

func (*RenderReportPDFsInternalServerError) String

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) Code

func (o *RenderReportPDFsOK) Code() int

Code gets the status code for the render report p d fs Ok response

func (*RenderReportPDFsOK) Error

func (o *RenderReportPDFsOK) Error() string

func (*RenderReportPDFsOK) GetPayload

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

func (*RenderReportPDFsOK) IsClientError

func (o *RenderReportPDFsOK) IsClientError() bool

IsClientError returns true when this render report p d fs Ok response has a 4xx status code

func (*RenderReportPDFsOK) IsCode

func (o *RenderReportPDFsOK) IsCode(code int) bool

IsCode returns true when this render report p d fs Ok response a status code equal to that given

func (*RenderReportPDFsOK) IsRedirect

func (o *RenderReportPDFsOK) IsRedirect() bool

IsRedirect returns true when this render report p d fs Ok response has a 3xx status code

func (*RenderReportPDFsOK) IsServerError

func (o *RenderReportPDFsOK) IsServerError() bool

IsServerError returns true when this render report p d fs Ok response has a 5xx status code

func (*RenderReportPDFsOK) IsSuccess

func (o *RenderReportPDFsOK) IsSuccess() bool

IsSuccess returns true when this render report p d fs Ok response has a 2xx status code

func (*RenderReportPDFsOK) String

func (o *RenderReportPDFsOK) String() string

type RenderReportPDFsParams

type RenderReportPDFsParams struct {

	// DashboardID.
	DashboardID *string

	// IncludeTables.
	IncludeTables *string

	// Layout.
	Layout *string

	// Orientation.
	Orientation *string

	// ScaleFactor.
	ScaleFactor *string

	// Title.
	Title *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) SetIncludeTables

func (o *RenderReportPDFsParams) SetIncludeTables(includeTables *string)

SetIncludeTables adds the includeTables 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) SetScaleFactor

func (o *RenderReportPDFsParams) SetScaleFactor(scaleFactor *string)

SetScaleFactor adds the scaleFactor 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) SetTitle

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

SetTitle adds the title 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) WithIncludeTables

func (o *RenderReportPDFsParams) WithIncludeTables(includeTables *string) *RenderReportPDFsParams

WithIncludeTables adds the includeTables 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) WithScaleFactor

func (o *RenderReportPDFsParams) WithScaleFactor(scaleFactor *string) *RenderReportPDFsParams

WithScaleFactor adds the scaleFactor 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) WithTitle

WithTitle adds the title 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) Code

Code gets the status code for the render report p d fs unauthorized response

func (*RenderReportPDFsUnauthorized) Error

func (*RenderReportPDFsUnauthorized) GetPayload

func (*RenderReportPDFsUnauthorized) IsClientError

func (o *RenderReportPDFsUnauthorized) IsClientError() bool

IsClientError returns true when this render report p d fs unauthorized response has a 4xx status code

func (*RenderReportPDFsUnauthorized) IsCode

func (o *RenderReportPDFsUnauthorized) IsCode(code int) bool

IsCode returns true when this render report p d fs unauthorized response a status code equal to that given

func (*RenderReportPDFsUnauthorized) IsRedirect

func (o *RenderReportPDFsUnauthorized) IsRedirect() bool

IsRedirect returns true when this render report p d fs unauthorized response has a 3xx status code

func (*RenderReportPDFsUnauthorized) IsServerError

func (o *RenderReportPDFsUnauthorized) IsServerError() bool

IsServerError returns true when this render report p d fs unauthorized response has a 5xx status code

func (*RenderReportPDFsUnauthorized) IsSuccess

func (o *RenderReportPDFsUnauthorized) IsSuccess() bool

IsSuccess returns true when this render report p d fs unauthorized response has a 2xx status code

func (*RenderReportPDFsUnauthorized) String

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) Code

Code gets the status code for the save report settings bad request response

func (*SaveReportSettingsBadRequest) Error

func (*SaveReportSettingsBadRequest) GetPayload

func (*SaveReportSettingsBadRequest) IsClientError

func (o *SaveReportSettingsBadRequest) IsClientError() bool

IsClientError returns true when this save report settings bad request response has a 4xx status code

func (*SaveReportSettingsBadRequest) IsCode

func (o *SaveReportSettingsBadRequest) IsCode(code int) bool

IsCode returns true when this save report settings bad request response a status code equal to that given

func (*SaveReportSettingsBadRequest) IsRedirect

func (o *SaveReportSettingsBadRequest) IsRedirect() bool

IsRedirect returns true when this save report settings bad request response has a 3xx status code

func (*SaveReportSettingsBadRequest) IsServerError

func (o *SaveReportSettingsBadRequest) IsServerError() bool

IsServerError returns true when this save report settings bad request response has a 5xx status code

func (*SaveReportSettingsBadRequest) IsSuccess

func (o *SaveReportSettingsBadRequest) IsSuccess() bool

IsSuccess returns true when this save report settings bad request response has a 2xx status code

func (*SaveReportSettingsBadRequest) String

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) Code

func (o *SaveReportSettingsForbidden) Code() int

Code gets the status code for the save report settings forbidden response

func (*SaveReportSettingsForbidden) Error

func (*SaveReportSettingsForbidden) GetPayload

func (*SaveReportSettingsForbidden) IsClientError

func (o *SaveReportSettingsForbidden) IsClientError() bool

IsClientError returns true when this save report settings forbidden response has a 4xx status code

func (*SaveReportSettingsForbidden) IsCode

func (o *SaveReportSettingsForbidden) IsCode(code int) bool

IsCode returns true when this save report settings forbidden response a status code equal to that given

func (*SaveReportSettingsForbidden) IsRedirect

func (o *SaveReportSettingsForbidden) IsRedirect() bool

IsRedirect returns true when this save report settings forbidden response has a 3xx status code

func (*SaveReportSettingsForbidden) IsServerError

func (o *SaveReportSettingsForbidden) IsServerError() bool

IsServerError returns true when this save report settings forbidden response has a 5xx status code

func (*SaveReportSettingsForbidden) IsSuccess

func (o *SaveReportSettingsForbidden) IsSuccess() bool

IsSuccess returns true when this save report settings forbidden response has a 2xx status code

func (*SaveReportSettingsForbidden) String

func (o *SaveReportSettingsForbidden) String() string

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) Code

Code gets the status code for the save report settings internal server error response

func (*SaveReportSettingsInternalServerError) Error

func (*SaveReportSettingsInternalServerError) GetPayload

func (*SaveReportSettingsInternalServerError) IsClientError

func (o *SaveReportSettingsInternalServerError) IsClientError() bool

IsClientError returns true when this save report settings internal server error response has a 4xx status code

func (*SaveReportSettingsInternalServerError) IsCode

IsCode returns true when this save report settings internal server error response a status code equal to that given

func (*SaveReportSettingsInternalServerError) IsRedirect

IsRedirect returns true when this save report settings internal server error response has a 3xx status code

func (*SaveReportSettingsInternalServerError) IsServerError

func (o *SaveReportSettingsInternalServerError) IsServerError() bool

IsServerError returns true when this save report settings internal server error response has a 5xx status code

func (*SaveReportSettingsInternalServerError) IsSuccess

IsSuccess returns true when this save report settings internal server error response has a 2xx status code

func (*SaveReportSettingsInternalServerError) String

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) Code

func (o *SaveReportSettingsOK) Code() int

Code gets the status code for the save report settings Ok response

func (*SaveReportSettingsOK) Error

func (o *SaveReportSettingsOK) Error() string

func (*SaveReportSettingsOK) GetPayload

func (*SaveReportSettingsOK) IsClientError

func (o *SaveReportSettingsOK) IsClientError() bool

IsClientError returns true when this save report settings Ok response has a 4xx status code

func (*SaveReportSettingsOK) IsCode

func (o *SaveReportSettingsOK) IsCode(code int) bool

IsCode returns true when this save report settings Ok response a status code equal to that given

func (*SaveReportSettingsOK) IsRedirect

func (o *SaveReportSettingsOK) IsRedirect() bool

IsRedirect returns true when this save report settings Ok response has a 3xx status code

func (*SaveReportSettingsOK) IsServerError

func (o *SaveReportSettingsOK) IsServerError() bool

IsServerError returns true when this save report settings Ok response has a 5xx status code

func (*SaveReportSettingsOK) IsSuccess

func (o *SaveReportSettingsOK) IsSuccess() bool

IsSuccess returns true when this save report settings Ok response has a 2xx status code

func (*SaveReportSettingsOK) String

func (o *SaveReportSettingsOK) String() string

type SaveReportSettingsParams

type SaveReportSettingsParams struct {

	// Body.
	Body *models.ReportSettings

	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

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) Code

Code gets the status code for the save report settings unauthorized response

func (*SaveReportSettingsUnauthorized) Error

func (*SaveReportSettingsUnauthorized) GetPayload

func (*SaveReportSettingsUnauthorized) IsClientError

func (o *SaveReportSettingsUnauthorized) IsClientError() bool

IsClientError returns true when this save report settings unauthorized response has a 4xx status code

func (*SaveReportSettingsUnauthorized) IsCode

func (o *SaveReportSettingsUnauthorized) IsCode(code int) bool

IsCode returns true when this save report settings unauthorized response a status code equal to that given

func (*SaveReportSettingsUnauthorized) IsRedirect

func (o *SaveReportSettingsUnauthorized) IsRedirect() bool

IsRedirect returns true when this save report settings unauthorized response has a 3xx status code

func (*SaveReportSettingsUnauthorized) IsServerError

func (o *SaveReportSettingsUnauthorized) IsServerError() bool

IsServerError returns true when this save report settings unauthorized response has a 5xx status code

func (*SaveReportSettingsUnauthorized) IsSuccess

func (o *SaveReportSettingsUnauthorized) IsSuccess() bool

IsSuccess returns true when this save report settings unauthorized response has a 2xx status code

func (*SaveReportSettingsUnauthorized) String

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) Code

func (o *SendReportBadRequest) Code() int

Code gets the status code for the send report bad request response

func (*SendReportBadRequest) Error

func (o *SendReportBadRequest) Error() string

func (*SendReportBadRequest) GetPayload

func (*SendReportBadRequest) IsClientError

func (o *SendReportBadRequest) IsClientError() bool

IsClientError returns true when this send report bad request response has a 4xx status code

func (*SendReportBadRequest) IsCode

func (o *SendReportBadRequest) IsCode(code int) bool

IsCode returns true when this send report bad request response a status code equal to that given

func (*SendReportBadRequest) IsRedirect

func (o *SendReportBadRequest) IsRedirect() bool

IsRedirect returns true when this send report bad request response has a 3xx status code

func (*SendReportBadRequest) IsServerError

func (o *SendReportBadRequest) IsServerError() bool

IsServerError returns true when this send report bad request response has a 5xx status code

func (*SendReportBadRequest) IsSuccess

func (o *SendReportBadRequest) IsSuccess() bool

IsSuccess returns true when this send report bad request response has a 2xx status code

func (*SendReportBadRequest) String

func (o *SendReportBadRequest) String() string

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) Code

func (o *SendReportForbidden) Code() int

Code gets the status code for the send report forbidden response

func (*SendReportForbidden) Error

func (o *SendReportForbidden) Error() string

func (*SendReportForbidden) GetPayload

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

func (*SendReportForbidden) IsClientError

func (o *SendReportForbidden) IsClientError() bool

IsClientError returns true when this send report forbidden response has a 4xx status code

func (*SendReportForbidden) IsCode

func (o *SendReportForbidden) IsCode(code int) bool

IsCode returns true when this send report forbidden response a status code equal to that given

func (*SendReportForbidden) IsRedirect

func (o *SendReportForbidden) IsRedirect() bool

IsRedirect returns true when this send report forbidden response has a 3xx status code

func (*SendReportForbidden) IsServerError

func (o *SendReportForbidden) IsServerError() bool

IsServerError returns true when this send report forbidden response has a 5xx status code

func (*SendReportForbidden) IsSuccess

func (o *SendReportForbidden) IsSuccess() bool

IsSuccess returns true when this send report forbidden response has a 2xx status code

func (*SendReportForbidden) String

func (o *SendReportForbidden) String() string

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) Code

Code gets the status code for the send report internal server error response

func (*SendReportInternalServerError) Error

func (*SendReportInternalServerError) GetPayload

func (*SendReportInternalServerError) IsClientError

func (o *SendReportInternalServerError) IsClientError() bool

IsClientError returns true when this send report internal server error response has a 4xx status code

func (*SendReportInternalServerError) IsCode

func (o *SendReportInternalServerError) IsCode(code int) bool

IsCode returns true when this send report internal server error response a status code equal to that given

func (*SendReportInternalServerError) IsRedirect

func (o *SendReportInternalServerError) IsRedirect() bool

IsRedirect returns true when this send report internal server error response has a 3xx status code

func (*SendReportInternalServerError) IsServerError

func (o *SendReportInternalServerError) IsServerError() bool

IsServerError returns true when this send report internal server error response has a 5xx status code

func (*SendReportInternalServerError) IsSuccess

func (o *SendReportInternalServerError) IsSuccess() bool

IsSuccess returns true when this send report internal server error response has a 2xx status code

func (*SendReportInternalServerError) String

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) Code

func (o *SendReportNotFound) Code() int

Code gets the status code for the send report not found response

func (*SendReportNotFound) Error

func (o *SendReportNotFound) Error() string

func (*SendReportNotFound) GetPayload

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

func (*SendReportNotFound) IsClientError

func (o *SendReportNotFound) IsClientError() bool

IsClientError returns true when this send report not found response has a 4xx status code

func (*SendReportNotFound) IsCode

func (o *SendReportNotFound) IsCode(code int) bool

IsCode returns true when this send report not found response a status code equal to that given

func (*SendReportNotFound) IsRedirect

func (o *SendReportNotFound) IsRedirect() bool

IsRedirect returns true when this send report not found response has a 3xx status code

func (*SendReportNotFound) IsServerError

func (o *SendReportNotFound) IsServerError() bool

IsServerError returns true when this send report not found response has a 5xx status code

func (*SendReportNotFound) IsSuccess

func (o *SendReportNotFound) IsSuccess() bool

IsSuccess returns true when this send report not found response has a 2xx status code

func (*SendReportNotFound) String

func (o *SendReportNotFound) String() string

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) Code

func (o *SendReportOK) Code() int

Code gets the status code for the send report Ok response

func (*SendReportOK) Error

func (o *SendReportOK) Error() string

func (*SendReportOK) GetPayload

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

func (*SendReportOK) IsClientError

func (o *SendReportOK) IsClientError() bool

IsClientError returns true when this send report Ok response has a 4xx status code

func (*SendReportOK) IsCode

func (o *SendReportOK) IsCode(code int) bool

IsCode returns true when this send report Ok response a status code equal to that given

func (*SendReportOK) IsRedirect

func (o *SendReportOK) IsRedirect() bool

IsRedirect returns true when this send report Ok response has a 3xx status code

func (*SendReportOK) IsServerError

func (o *SendReportOK) IsServerError() bool

IsServerError returns true when this send report Ok response has a 5xx status code

func (*SendReportOK) IsSuccess

func (o *SendReportOK) IsSuccess() bool

IsSuccess returns true when this send report Ok response has a 2xx status code

func (*SendReportOK) String

func (o *SendReportOK) String() string

type SendReportParams

type SendReportParams struct {

	// Body.
	Body *models.ReportEmail

	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.ReportEmail)

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) Code

func (o *SendReportUnauthorized) Code() int

Code gets the status code for the send report unauthorized response

func (*SendReportUnauthorized) Error

func (o *SendReportUnauthorized) Error() string

func (*SendReportUnauthorized) GetPayload

func (*SendReportUnauthorized) IsClientError

func (o *SendReportUnauthorized) IsClientError() bool

IsClientError returns true when this send report unauthorized response has a 4xx status code

func (*SendReportUnauthorized) IsCode

func (o *SendReportUnauthorized) IsCode(code int) bool

IsCode returns true when this send report unauthorized response a status code equal to that given

func (*SendReportUnauthorized) IsRedirect

func (o *SendReportUnauthorized) IsRedirect() bool

IsRedirect returns true when this send report unauthorized response has a 3xx status code

func (*SendReportUnauthorized) IsServerError

func (o *SendReportUnauthorized) IsServerError() bool

IsServerError returns true when this send report unauthorized response has a 5xx status code

func (*SendReportUnauthorized) IsSuccess

func (o *SendReportUnauthorized) IsSuccess() bool

IsSuccess returns true when this send report unauthorized response has a 2xx status code

func (*SendReportUnauthorized) String

func (o *SendReportUnauthorized) String() string

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) Code

func (o *SendTestEmailBadRequest) Code() int

Code gets the status code for the send test email bad request response

func (*SendTestEmailBadRequest) Error

func (o *SendTestEmailBadRequest) Error() string

func (*SendTestEmailBadRequest) GetPayload

func (*SendTestEmailBadRequest) IsClientError

func (o *SendTestEmailBadRequest) IsClientError() bool

IsClientError returns true when this send test email bad request response has a 4xx status code

func (*SendTestEmailBadRequest) IsCode

func (o *SendTestEmailBadRequest) IsCode(code int) bool

IsCode returns true when this send test email bad request response a status code equal to that given

func (*SendTestEmailBadRequest) IsRedirect

func (o *SendTestEmailBadRequest) IsRedirect() bool

IsRedirect returns true when this send test email bad request response has a 3xx status code

func (*SendTestEmailBadRequest) IsServerError

func (o *SendTestEmailBadRequest) IsServerError() bool

IsServerError returns true when this send test email bad request response has a 5xx status code

func (*SendTestEmailBadRequest) IsSuccess

func (o *SendTestEmailBadRequest) IsSuccess() bool

IsSuccess returns true when this send test email bad request response has a 2xx status code

func (*SendTestEmailBadRequest) String

func (o *SendTestEmailBadRequest) String() string

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) Code

func (o *SendTestEmailForbidden) Code() int

Code gets the status code for the send test email forbidden response

func (*SendTestEmailForbidden) Error

func (o *SendTestEmailForbidden) Error() string

func (*SendTestEmailForbidden) GetPayload

func (*SendTestEmailForbidden) IsClientError

func (o *SendTestEmailForbidden) IsClientError() bool

IsClientError returns true when this send test email forbidden response has a 4xx status code

func (*SendTestEmailForbidden) IsCode

func (o *SendTestEmailForbidden) IsCode(code int) bool

IsCode returns true when this send test email forbidden response a status code equal to that given

func (*SendTestEmailForbidden) IsRedirect

func (o *SendTestEmailForbidden) IsRedirect() bool

IsRedirect returns true when this send test email forbidden response has a 3xx status code

func (*SendTestEmailForbidden) IsServerError

func (o *SendTestEmailForbidden) IsServerError() bool

IsServerError returns true when this send test email forbidden response has a 5xx status code

func (*SendTestEmailForbidden) IsSuccess

func (o *SendTestEmailForbidden) IsSuccess() bool

IsSuccess returns true when this send test email forbidden response has a 2xx status code

func (*SendTestEmailForbidden) String

func (o *SendTestEmailForbidden) String() string

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) Code

Code gets the status code for the send test email internal server error response

func (*SendTestEmailInternalServerError) Error

func (*SendTestEmailInternalServerError) GetPayload

func (*SendTestEmailInternalServerError) IsClientError

func (o *SendTestEmailInternalServerError) IsClientError() bool

IsClientError returns true when this send test email internal server error response has a 4xx status code

func (*SendTestEmailInternalServerError) IsCode

func (o *SendTestEmailInternalServerError) IsCode(code int) bool

IsCode returns true when this send test email internal server error response a status code equal to that given

func (*SendTestEmailInternalServerError) IsRedirect

func (o *SendTestEmailInternalServerError) IsRedirect() bool

IsRedirect returns true when this send test email internal server error response has a 3xx status code

func (*SendTestEmailInternalServerError) IsServerError

func (o *SendTestEmailInternalServerError) IsServerError() bool

IsServerError returns true when this send test email internal server error response has a 5xx status code

func (*SendTestEmailInternalServerError) IsSuccess

func (o *SendTestEmailInternalServerError) IsSuccess() bool

IsSuccess returns true when this send test email internal server error response has a 2xx status code

func (*SendTestEmailInternalServerError) String

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) Code

func (o *SendTestEmailNotFound) Code() int

Code gets the status code for the send test email not found response

func (*SendTestEmailNotFound) Error

func (o *SendTestEmailNotFound) Error() string

func (*SendTestEmailNotFound) GetPayload

func (*SendTestEmailNotFound) IsClientError

func (o *SendTestEmailNotFound) IsClientError() bool

IsClientError returns true when this send test email not found response has a 4xx status code

func (*SendTestEmailNotFound) IsCode

func (o *SendTestEmailNotFound) IsCode(code int) bool

IsCode returns true when this send test email not found response a status code equal to that given

func (*SendTestEmailNotFound) IsRedirect

func (o *SendTestEmailNotFound) IsRedirect() bool

IsRedirect returns true when this send test email not found response has a 3xx status code

func (*SendTestEmailNotFound) IsServerError

func (o *SendTestEmailNotFound) IsServerError() bool

IsServerError returns true when this send test email not found response has a 5xx status code

func (*SendTestEmailNotFound) IsSuccess

func (o *SendTestEmailNotFound) IsSuccess() bool

IsSuccess returns true when this send test email not found response has a 2xx status code

func (*SendTestEmailNotFound) String

func (o *SendTestEmailNotFound) String() string

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) Code

func (o *SendTestEmailOK) Code() int

Code gets the status code for the send test email Ok response

func (*SendTestEmailOK) Error

func (o *SendTestEmailOK) Error() string

func (*SendTestEmailOK) GetPayload

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

func (*SendTestEmailOK) IsClientError

func (o *SendTestEmailOK) IsClientError() bool

IsClientError returns true when this send test email Ok response has a 4xx status code

func (*SendTestEmailOK) IsCode

func (o *SendTestEmailOK) IsCode(code int) bool

IsCode returns true when this send test email Ok response a status code equal to that given

func (*SendTestEmailOK) IsRedirect

func (o *SendTestEmailOK) IsRedirect() bool

IsRedirect returns true when this send test email Ok response has a 3xx status code

func (*SendTestEmailOK) IsServerError

func (o *SendTestEmailOK) IsServerError() bool

IsServerError returns true when this send test email Ok response has a 5xx status code

func (*SendTestEmailOK) IsSuccess

func (o *SendTestEmailOK) IsSuccess() bool

IsSuccess returns true when this send test email Ok response has a 2xx status code

func (*SendTestEmailOK) String

func (o *SendTestEmailOK) String() string

type SendTestEmailParams

type SendTestEmailParams struct {

	// Body.
	Body *models.CreateOrUpdateReportConfig

	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) Code

func (o *SendTestEmailUnauthorized) Code() int

Code gets the status code for the send test email unauthorized response

func (*SendTestEmailUnauthorized) Error

func (o *SendTestEmailUnauthorized) Error() string

func (*SendTestEmailUnauthorized) GetPayload

func (*SendTestEmailUnauthorized) IsClientError

func (o *SendTestEmailUnauthorized) IsClientError() bool

IsClientError returns true when this send test email unauthorized response has a 4xx status code

func (*SendTestEmailUnauthorized) IsCode

func (o *SendTestEmailUnauthorized) IsCode(code int) bool

IsCode returns true when this send test email unauthorized response a status code equal to that given

func (*SendTestEmailUnauthorized) IsRedirect

func (o *SendTestEmailUnauthorized) IsRedirect() bool

IsRedirect returns true when this send test email unauthorized response has a 3xx status code

func (*SendTestEmailUnauthorized) IsServerError

func (o *SendTestEmailUnauthorized) IsServerError() bool

IsServerError returns true when this send test email unauthorized response has a 5xx status code

func (*SendTestEmailUnauthorized) IsSuccess

func (o *SendTestEmailUnauthorized) IsSuccess() bool

IsSuccess returns true when this send test email unauthorized response has a 2xx status code

func (*SendTestEmailUnauthorized) String

func (o *SendTestEmailUnauthorized) String() string

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) Code

func (o *UpdateReportBadRequest) Code() int

Code gets the status code for the update report bad request response

func (*UpdateReportBadRequest) Error

func (o *UpdateReportBadRequest) Error() string

func (*UpdateReportBadRequest) GetPayload

func (*UpdateReportBadRequest) IsClientError

func (o *UpdateReportBadRequest) IsClientError() bool

IsClientError returns true when this update report bad request response has a 4xx status code

func (*UpdateReportBadRequest) IsCode

func (o *UpdateReportBadRequest) IsCode(code int) bool

IsCode returns true when this update report bad request response a status code equal to that given

func (*UpdateReportBadRequest) IsRedirect

func (o *UpdateReportBadRequest) IsRedirect() bool

IsRedirect returns true when this update report bad request response has a 3xx status code

func (*UpdateReportBadRequest) IsServerError

func (o *UpdateReportBadRequest) IsServerError() bool

IsServerError returns true when this update report bad request response has a 5xx status code

func (*UpdateReportBadRequest) IsSuccess

func (o *UpdateReportBadRequest) IsSuccess() bool

IsSuccess returns true when this update report bad request response has a 2xx status code

func (*UpdateReportBadRequest) String

func (o *UpdateReportBadRequest) String() string

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) Code

func (o *UpdateReportForbidden) Code() int

Code gets the status code for the update report forbidden response

func (*UpdateReportForbidden) Error

func (o *UpdateReportForbidden) Error() string

func (*UpdateReportForbidden) GetPayload

func (*UpdateReportForbidden) IsClientError

func (o *UpdateReportForbidden) IsClientError() bool

IsClientError returns true when this update report forbidden response has a 4xx status code

func (*UpdateReportForbidden) IsCode

func (o *UpdateReportForbidden) IsCode(code int) bool

IsCode returns true when this update report forbidden response a status code equal to that given

func (*UpdateReportForbidden) IsRedirect

func (o *UpdateReportForbidden) IsRedirect() bool

IsRedirect returns true when this update report forbidden response has a 3xx status code

func (*UpdateReportForbidden) IsServerError

func (o *UpdateReportForbidden) IsServerError() bool

IsServerError returns true when this update report forbidden response has a 5xx status code

func (*UpdateReportForbidden) IsSuccess

func (o *UpdateReportForbidden) IsSuccess() bool

IsSuccess returns true when this update report forbidden response has a 2xx status code

func (*UpdateReportForbidden) String

func (o *UpdateReportForbidden) String() string

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) Code

Code gets the status code for the update report internal server error response

func (*UpdateReportInternalServerError) Error

func (*UpdateReportInternalServerError) GetPayload

func (*UpdateReportInternalServerError) IsClientError

func (o *UpdateReportInternalServerError) IsClientError() bool

IsClientError returns true when this update report internal server error response has a 4xx status code

func (*UpdateReportInternalServerError) IsCode

func (o *UpdateReportInternalServerError) IsCode(code int) bool

IsCode returns true when this update report internal server error response a status code equal to that given

func (*UpdateReportInternalServerError) IsRedirect

func (o *UpdateReportInternalServerError) IsRedirect() bool

IsRedirect returns true when this update report internal server error response has a 3xx status code

func (*UpdateReportInternalServerError) IsServerError

func (o *UpdateReportInternalServerError) IsServerError() bool

IsServerError returns true when this update report internal server error response has a 5xx status code

func (*UpdateReportInternalServerError) IsSuccess

func (o *UpdateReportInternalServerError) IsSuccess() bool

IsSuccess returns true when this update report internal server error response has a 2xx status code

func (*UpdateReportInternalServerError) String

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) Code

func (o *UpdateReportNotFound) Code() int

Code gets the status code for the update report not found response

func (*UpdateReportNotFound) Error

func (o *UpdateReportNotFound) Error() string

func (*UpdateReportNotFound) GetPayload

func (*UpdateReportNotFound) IsClientError

func (o *UpdateReportNotFound) IsClientError() bool

IsClientError returns true when this update report not found response has a 4xx status code

func (*UpdateReportNotFound) IsCode

func (o *UpdateReportNotFound) IsCode(code int) bool

IsCode returns true when this update report not found response a status code equal to that given

func (*UpdateReportNotFound) IsRedirect

func (o *UpdateReportNotFound) IsRedirect() bool

IsRedirect returns true when this update report not found response has a 3xx status code

func (*UpdateReportNotFound) IsServerError

func (o *UpdateReportNotFound) IsServerError() bool

IsServerError returns true when this update report not found response has a 5xx status code

func (*UpdateReportNotFound) IsSuccess

func (o *UpdateReportNotFound) IsSuccess() bool

IsSuccess returns true when this update report not found response has a 2xx status code

func (*UpdateReportNotFound) String

func (o *UpdateReportNotFound) String() string

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) Code

func (o *UpdateReportOK) Code() int

Code gets the status code for the update report Ok response

func (*UpdateReportOK) Error

func (o *UpdateReportOK) Error() string

func (*UpdateReportOK) GetPayload

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

func (*UpdateReportOK) IsClientError

func (o *UpdateReportOK) IsClientError() bool

IsClientError returns true when this update report Ok response has a 4xx status code

func (*UpdateReportOK) IsCode

func (o *UpdateReportOK) IsCode(code int) bool

IsCode returns true when this update report Ok response a status code equal to that given

func (*UpdateReportOK) IsRedirect

func (o *UpdateReportOK) IsRedirect() bool

IsRedirect returns true when this update report Ok response has a 3xx status code

func (*UpdateReportOK) IsServerError

func (o *UpdateReportOK) IsServerError() bool

IsServerError returns true when this update report Ok response has a 5xx status code

func (*UpdateReportOK) IsSuccess

func (o *UpdateReportOK) IsSuccess() bool

IsSuccess returns true when this update report Ok response has a 2xx status code

func (*UpdateReportOK) String

func (o *UpdateReportOK) String() string

type UpdateReportParams

type UpdateReportParams struct {

	// Body.
	Body *models.CreateOrUpdateReportConfig

	// 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) Code

func (o *UpdateReportUnauthorized) Code() int

Code gets the status code for the update report unauthorized response

func (*UpdateReportUnauthorized) Error

func (o *UpdateReportUnauthorized) Error() string

func (*UpdateReportUnauthorized) GetPayload

func (*UpdateReportUnauthorized) IsClientError

func (o *UpdateReportUnauthorized) IsClientError() bool

IsClientError returns true when this update report unauthorized response has a 4xx status code

func (*UpdateReportUnauthorized) IsCode

func (o *UpdateReportUnauthorized) IsCode(code int) bool

IsCode returns true when this update report unauthorized response a status code equal to that given

func (*UpdateReportUnauthorized) IsRedirect

func (o *UpdateReportUnauthorized) IsRedirect() bool

IsRedirect returns true when this update report unauthorized response has a 3xx status code

func (*UpdateReportUnauthorized) IsServerError

func (o *UpdateReportUnauthorized) IsServerError() bool

IsServerError returns true when this update report unauthorized response has a 5xx status code

func (*UpdateReportUnauthorized) IsSuccess

func (o *UpdateReportUnauthorized) IsSuccess() bool

IsSuccess returns true when this update report unauthorized response has a 2xx status code

func (*UpdateReportUnauthorized) String

func (o *UpdateReportUnauthorized) String() string

Jump to

Keyboard shortcuts

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