Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateReport(params *CreateReportParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateReportOK, error)
- func (a *Client) DeleteReport(params *DeleteReportParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteReportOK, error)
- func (a *Client) GetReport(params *GetReportParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetReportOK, error)
- func (a *Client) GetReportSettings(params *GetReportSettingsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetReportSettingsOK, error)
- func (a *Client) GetReports(params *GetReportsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetReportsOK, error)
- func (a *Client) RenderReportPDF(params *RenderReportPDFParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RenderReportPDFOK, error)
- func (a *Client) RenderReportPDFs(params *RenderReportPDFsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RenderReportPDFsOK, error)
- func (a *Client) SaveReportSettings(params *SaveReportSettingsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SaveReportSettingsOK, error)
- func (a *Client) SendReport(params *SendReportParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SendReportOK, error)
- func (a *Client) SendTestEmail(params *SendTestEmailParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SendTestEmailOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateReport(params *UpdateReportParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateReportOK, error)
- type ClientOption
- type ClientService
- type CreateReportBadRequest
- type CreateReportForbidden
- type CreateReportInternalServerError
- type CreateReportNotFound
- type CreateReportOK
- type CreateReportParams
- func (o *CreateReportParams) SetBody(body *models.CreateOrUpdateConfigCmd)
- func (o *CreateReportParams) SetContext(ctx context.Context)
- func (o *CreateReportParams) SetDefaults()
- func (o *CreateReportParams) SetHTTPClient(client *http.Client)
- func (o *CreateReportParams) SetTimeout(timeout time.Duration)
- func (o *CreateReportParams) WithBody(body *models.CreateOrUpdateConfigCmd) *CreateReportParams
- func (o *CreateReportParams) WithContext(ctx context.Context) *CreateReportParams
- func (o *CreateReportParams) WithDefaults() *CreateReportParams
- func (o *CreateReportParams) WithHTTPClient(client *http.Client) *CreateReportParams
- func (o *CreateReportParams) WithTimeout(timeout time.Duration) *CreateReportParams
- func (o *CreateReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateReportReader
- type CreateReportUnauthorized
- type DeleteReportBadRequest
- type DeleteReportForbidden
- type DeleteReportInternalServerError
- type DeleteReportNotFound
- type DeleteReportOK
- type DeleteReportParams
- func (o *DeleteReportParams) SetContext(ctx context.Context)
- func (o *DeleteReportParams) SetDefaults()
- func (o *DeleteReportParams) SetHTTPClient(client *http.Client)
- func (o *DeleteReportParams) SetID(id int64)
- func (o *DeleteReportParams) SetTimeout(timeout time.Duration)
- func (o *DeleteReportParams) WithContext(ctx context.Context) *DeleteReportParams
- func (o *DeleteReportParams) WithDefaults() *DeleteReportParams
- func (o *DeleteReportParams) WithHTTPClient(client *http.Client) *DeleteReportParams
- func (o *DeleteReportParams) WithID(id int64) *DeleteReportParams
- func (o *DeleteReportParams) WithTimeout(timeout time.Duration) *DeleteReportParams
- func (o *DeleteReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteReportReader
- type DeleteReportUnauthorized
- type GetReportBadRequest
- type GetReportForbidden
- type GetReportInternalServerError
- type GetReportNotFound
- type GetReportOK
- type GetReportParams
- func (o *GetReportParams) SetContext(ctx context.Context)
- func (o *GetReportParams) SetDefaults()
- func (o *GetReportParams) SetHTTPClient(client *http.Client)
- func (o *GetReportParams) SetID(id int64)
- func (o *GetReportParams) SetTimeout(timeout time.Duration)
- func (o *GetReportParams) WithContext(ctx context.Context) *GetReportParams
- func (o *GetReportParams) WithDefaults() *GetReportParams
- func (o *GetReportParams) WithHTTPClient(client *http.Client) *GetReportParams
- func (o *GetReportParams) WithID(id int64) *GetReportParams
- func (o *GetReportParams) WithTimeout(timeout time.Duration) *GetReportParams
- func (o *GetReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetReportReader
- type GetReportSettingsForbidden
- type GetReportSettingsInternalServerError
- type GetReportSettingsOK
- type GetReportSettingsParams
- func NewGetReportSettingsParams() *GetReportSettingsParams
- func NewGetReportSettingsParamsWithContext(ctx context.Context) *GetReportSettingsParams
- func NewGetReportSettingsParamsWithHTTPClient(client *http.Client) *GetReportSettingsParams
- func NewGetReportSettingsParamsWithTimeout(timeout time.Duration) *GetReportSettingsParams
- func (o *GetReportSettingsParams) SetContext(ctx context.Context)
- func (o *GetReportSettingsParams) SetDefaults()
- func (o *GetReportSettingsParams) SetHTTPClient(client *http.Client)
- func (o *GetReportSettingsParams) SetTimeout(timeout time.Duration)
- func (o *GetReportSettingsParams) WithContext(ctx context.Context) *GetReportSettingsParams
- func (o *GetReportSettingsParams) WithDefaults() *GetReportSettingsParams
- func (o *GetReportSettingsParams) WithHTTPClient(client *http.Client) *GetReportSettingsParams
- func (o *GetReportSettingsParams) WithTimeout(timeout time.Duration) *GetReportSettingsParams
- func (o *GetReportSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetReportSettingsReader
- type GetReportSettingsUnauthorized
- type GetReportUnauthorized
- type GetReportsForbidden
- type GetReportsInternalServerError
- type GetReportsOK
- type GetReportsParams
- func (o *GetReportsParams) SetContext(ctx context.Context)
- func (o *GetReportsParams) SetDefaults()
- func (o *GetReportsParams) SetHTTPClient(client *http.Client)
- func (o *GetReportsParams) SetTimeout(timeout time.Duration)
- func (o *GetReportsParams) WithContext(ctx context.Context) *GetReportsParams
- func (o *GetReportsParams) WithDefaults() *GetReportsParams
- func (o *GetReportsParams) WithHTTPClient(client *http.Client) *GetReportsParams
- func (o *GetReportsParams) WithTimeout(timeout time.Duration) *GetReportsParams
- func (o *GetReportsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetReportsReader
- type GetReportsUnauthorized
- type RenderReportPDFBadRequest
- type RenderReportPDFInternalServerError
- type RenderReportPDFOK
- type RenderReportPDFParams
- func NewRenderReportPDFParams() *RenderReportPDFParams
- func NewRenderReportPDFParamsWithContext(ctx context.Context) *RenderReportPDFParams
- func NewRenderReportPDFParamsWithHTTPClient(client *http.Client) *RenderReportPDFParams
- func NewRenderReportPDFParamsWithTimeout(timeout time.Duration) *RenderReportPDFParams
- func (o *RenderReportPDFParams) SetContext(ctx context.Context)
- func (o *RenderReportPDFParams) SetDashboardID(dashboardID int64)
- func (o *RenderReportPDFParams) SetDefaults()
- func (o *RenderReportPDFParams) SetFrom(from *string)
- func (o *RenderReportPDFParams) SetHTTPClient(client *http.Client)
- func (o *RenderReportPDFParams) SetLayout(layout *string)
- func (o *RenderReportPDFParams) SetOrientation(orientation *string)
- func (o *RenderReportPDFParams) SetTimeout(timeout time.Duration)
- func (o *RenderReportPDFParams) SetTitle(title *string)
- func (o *RenderReportPDFParams) SetTo(to *string)
- func (o *RenderReportPDFParams) SetVariables(variables *string)
- func (o *RenderReportPDFParams) WithContext(ctx context.Context) *RenderReportPDFParams
- func (o *RenderReportPDFParams) WithDashboardID(dashboardID int64) *RenderReportPDFParams
- func (o *RenderReportPDFParams) WithDefaults() *RenderReportPDFParams
- func (o *RenderReportPDFParams) WithFrom(from *string) *RenderReportPDFParams
- func (o *RenderReportPDFParams) WithHTTPClient(client *http.Client) *RenderReportPDFParams
- func (o *RenderReportPDFParams) WithLayout(layout *string) *RenderReportPDFParams
- func (o *RenderReportPDFParams) WithOrientation(orientation *string) *RenderReportPDFParams
- func (o *RenderReportPDFParams) WithTimeout(timeout time.Duration) *RenderReportPDFParams
- func (o *RenderReportPDFParams) WithTitle(title *string) *RenderReportPDFParams
- func (o *RenderReportPDFParams) WithTo(to *string) *RenderReportPDFParams
- func (o *RenderReportPDFParams) WithVariables(variables *string) *RenderReportPDFParams
- func (o *RenderReportPDFParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RenderReportPDFReader
- type RenderReportPDFUnauthorized
- type RenderReportPDFsBadRequest
- type RenderReportPDFsInternalServerError
- type RenderReportPDFsOK
- type RenderReportPDFsParams
- func NewRenderReportPDFsParams() *RenderReportPDFsParams
- func NewRenderReportPDFsParamsWithContext(ctx context.Context) *RenderReportPDFsParams
- func NewRenderReportPDFsParamsWithHTTPClient(client *http.Client) *RenderReportPDFsParams
- func NewRenderReportPDFsParamsWithTimeout(timeout time.Duration) *RenderReportPDFsParams
- func (o *RenderReportPDFsParams) SetContext(ctx context.Context)
- func (o *RenderReportPDFsParams) SetDashboardID(dashboardID *string)
- func (o *RenderReportPDFsParams) SetDefaults()
- func (o *RenderReportPDFsParams) SetHTTPClient(client *http.Client)
- func (o *RenderReportPDFsParams) SetLayout(layout *string)
- func (o *RenderReportPDFsParams) SetOrientation(orientation *string)
- func (o *RenderReportPDFsParams) SetTimeout(timeout time.Duration)
- func (o *RenderReportPDFsParams) WithContext(ctx context.Context) *RenderReportPDFsParams
- func (o *RenderReportPDFsParams) WithDashboardID(dashboardID *string) *RenderReportPDFsParams
- func (o *RenderReportPDFsParams) WithDefaults() *RenderReportPDFsParams
- func (o *RenderReportPDFsParams) WithHTTPClient(client *http.Client) *RenderReportPDFsParams
- func (o *RenderReportPDFsParams) WithLayout(layout *string) *RenderReportPDFsParams
- func (o *RenderReportPDFsParams) WithOrientation(orientation *string) *RenderReportPDFsParams
- func (o *RenderReportPDFsParams) WithTimeout(timeout time.Duration) *RenderReportPDFsParams
- func (o *RenderReportPDFsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RenderReportPDFsReader
- type RenderReportPDFsUnauthorized
- type SaveReportSettingsBadRequest
- type SaveReportSettingsForbidden
- type SaveReportSettingsInternalServerError
- type SaveReportSettingsOK
- type SaveReportSettingsParams
- func NewSaveReportSettingsParams() *SaveReportSettingsParams
- func NewSaveReportSettingsParamsWithContext(ctx context.Context) *SaveReportSettingsParams
- func NewSaveReportSettingsParamsWithHTTPClient(client *http.Client) *SaveReportSettingsParams
- func NewSaveReportSettingsParamsWithTimeout(timeout time.Duration) *SaveReportSettingsParams
- func (o *SaveReportSettingsParams) SetBody(body *models.SettingsDTO)
- func (o *SaveReportSettingsParams) SetContext(ctx context.Context)
- func (o *SaveReportSettingsParams) SetDefaults()
- func (o *SaveReportSettingsParams) SetHTTPClient(client *http.Client)
- func (o *SaveReportSettingsParams) SetTimeout(timeout time.Duration)
- func (o *SaveReportSettingsParams) WithBody(body *models.SettingsDTO) *SaveReportSettingsParams
- func (o *SaveReportSettingsParams) WithContext(ctx context.Context) *SaveReportSettingsParams
- func (o *SaveReportSettingsParams) WithDefaults() *SaveReportSettingsParams
- func (o *SaveReportSettingsParams) WithHTTPClient(client *http.Client) *SaveReportSettingsParams
- func (o *SaveReportSettingsParams) WithTimeout(timeout time.Duration) *SaveReportSettingsParams
- func (o *SaveReportSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SaveReportSettingsReader
- type SaveReportSettingsUnauthorized
- type SendReportBadRequest
- type SendReportForbidden
- type SendReportInternalServerError
- type SendReportNotFound
- type SendReportOK
- type SendReportParams
- func (o *SendReportParams) SetBody(body *models.ReportEmailDTO)
- func (o *SendReportParams) SetContext(ctx context.Context)
- func (o *SendReportParams) SetDefaults()
- func (o *SendReportParams) SetHTTPClient(client *http.Client)
- func (o *SendReportParams) SetTimeout(timeout time.Duration)
- func (o *SendReportParams) WithBody(body *models.ReportEmailDTO) *SendReportParams
- func (o *SendReportParams) WithContext(ctx context.Context) *SendReportParams
- func (o *SendReportParams) WithDefaults() *SendReportParams
- func (o *SendReportParams) WithHTTPClient(client *http.Client) *SendReportParams
- func (o *SendReportParams) WithTimeout(timeout time.Duration) *SendReportParams
- func (o *SendReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SendReportReader
- type SendReportUnauthorized
- type SendTestEmailBadRequest
- type SendTestEmailForbidden
- type SendTestEmailInternalServerError
- type SendTestEmailNotFound
- type SendTestEmailOK
- type SendTestEmailParams
- func (o *SendTestEmailParams) SetBody(body *models.CreateOrUpdateConfigCmd)
- func (o *SendTestEmailParams) SetContext(ctx context.Context)
- func (o *SendTestEmailParams) SetDefaults()
- func (o *SendTestEmailParams) SetHTTPClient(client *http.Client)
- func (o *SendTestEmailParams) SetTimeout(timeout time.Duration)
- func (o *SendTestEmailParams) WithBody(body *models.CreateOrUpdateConfigCmd) *SendTestEmailParams
- func (o *SendTestEmailParams) WithContext(ctx context.Context) *SendTestEmailParams
- func (o *SendTestEmailParams) WithDefaults() *SendTestEmailParams
- func (o *SendTestEmailParams) WithHTTPClient(client *http.Client) *SendTestEmailParams
- func (o *SendTestEmailParams) WithTimeout(timeout time.Duration) *SendTestEmailParams
- func (o *SendTestEmailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SendTestEmailReader
- type SendTestEmailUnauthorized
- type UpdateReportBadRequest
- type UpdateReportForbidden
- type UpdateReportInternalServerError
- type UpdateReportNotFound
- type UpdateReportOK
- type UpdateReportParams
- func (o *UpdateReportParams) SetBody(body *models.CreateOrUpdateConfigCmd)
- func (o *UpdateReportParams) SetContext(ctx context.Context)
- func (o *UpdateReportParams) SetDefaults()
- func (o *UpdateReportParams) SetHTTPClient(client *http.Client)
- func (o *UpdateReportParams) SetID(id int64)
- func (o *UpdateReportParams) SetTimeout(timeout time.Duration)
- func (o *UpdateReportParams) WithBody(body *models.CreateOrUpdateConfigCmd) *UpdateReportParams
- func (o *UpdateReportParams) WithContext(ctx context.Context) *UpdateReportParams
- func (o *UpdateReportParams) WithDefaults() *UpdateReportParams
- func (o *UpdateReportParams) WithHTTPClient(client *http.Client) *UpdateReportParams
- func (o *UpdateReportParams) WithID(id int64) *UpdateReportParams
- func (o *UpdateReportParams) WithTimeout(timeout time.Duration) *UpdateReportParams
- func (o *UpdateReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateReportReader
- type UpdateReportUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for reports API
func (*Client) CreateReport ¶
func (a *Client) CreateReport(params *CreateReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateReportOK, error)
CreateReport creates a report Available to org admins only and with a valid license.
You need to have a permission with action `reports.admin:create`.
func (*Client) DeleteReport ¶
func (a *Client) DeleteReport(params *DeleteReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteReportOK, error)
DeleteReport deletes a report Available to org admins only and with a valid or expired license.
You need to have a permission with action `reports.delete` with scope `reports:id:<report ID>`.
func (*Client) GetReport ¶
func (a *Client) GetReport(params *GetReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetReportOK, error)
GetReport gets a report Available to org admins only and with a valid or expired license.
You need to have a permission with action `reports:read` with scope `reports:id:<report ID>`.
func (*Client) GetReportSettings ¶
func (a *Client) GetReportSettings(params *GetReportSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetReportSettingsOK, error)
GetReportSettings gets settings Available to org admins only and with a valid or expired license.
You need to have a permission with action `reports.settings:read`x.
func (*Client) GetReports ¶
func (a *Client) GetReports(params *GetReportsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetReportsOK, error)
GetReports lists reports Available to org admins only and with a valid or expired license.
You need to have a permission with action `reports:read` with scope `reports:*`.
func (*Client) RenderReportPDF ¶
func (a *Client) RenderReportPDF(params *RenderReportPDFParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RenderReportPDFOK, error)
RenderReportPDF renders report for dashboard
Please refer to [reports enterprise](#/reports/renderReportPDFs) instead. This will be removed in Grafana 10.
func (*Client) RenderReportPDFs ¶
func (a *Client) RenderReportPDFs(params *RenderReportPDFsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RenderReportPDFsOK, error)
RenderReportPDFs renders report for multiple dashboards
Available to all users and with a valid license.
func (*Client) SaveReportSettings ¶
func (a *Client) SaveReportSettings(params *SaveReportSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SaveReportSettingsOK, error)
SaveReportSettings saves settings Available to org admins only and with a valid or expired license.
You need to have a permission with action `reports.settings:write`xx.
func (*Client) SendReport ¶
func (a *Client) SendReport(params *SendReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SendReportOK, error)
SendReport sends a report Generate and send a report. This API waits for the report to be generated before returning. We recommend that you set the client’s timeout to at least 60 seconds. Available to org admins only and with a valid license.
Only available in Grafana Enterprise v7.0+. This API endpoint is experimental and may be deprecated in a future release. On deprecation, a migration strategy will be provided and the endpoint will remain functional until the next major release of Grafana.
You need to have a permission with action `reports:send`.
func (*Client) SendTestEmail ¶
func (a *Client) SendTestEmail(params *SendTestEmailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SendTestEmailOK, error)
SendTestEmail sends test report via email Available to org admins only and with a valid license.
You need to have a permission with action `reports:send`.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateReport ¶
func (a *Client) UpdateReport(params *UpdateReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateReportOK, error)
UpdateReport updates a report Available to org admins only and with a valid or expired license.
You need to have a permission with action `reports.admin:write` with scope `reports:id:<report ID>`.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateReport(params *CreateReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateReportOK, error) DeleteReport(params *DeleteReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteReportOK, error) GetReport(params *GetReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetReportOK, error) GetReportSettings(params *GetReportSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetReportSettingsOK, error) GetReports(params *GetReportsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetReportsOK, error) RenderReportPDF(params *RenderReportPDFParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RenderReportPDFOK, error) RenderReportPDFs(params *RenderReportPDFsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RenderReportPDFsOK, error) SaveReportSettings(params *SaveReportSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SaveReportSettingsOK, error) SendReport(params *SendReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SendReportOK, error) SendTestEmail(params *SendTestEmailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SendTestEmailOK, error) UpdateReport(params *UpdateReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateReportOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new reports API client.
type CreateReportBadRequest ¶
type CreateReportBadRequest struct {
Payload *models.ErrorResponseBody
}
CreateReportBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewCreateReportBadRequest ¶
func NewCreateReportBadRequest() *CreateReportBadRequest
NewCreateReportBadRequest creates a CreateReportBadRequest with default headers values
func (*CreateReportBadRequest) Error ¶
func (o *CreateReportBadRequest) Error() string
func (*CreateReportBadRequest) GetPayload ¶
func (o *CreateReportBadRequest) GetPayload() *models.ErrorResponseBody
type CreateReportForbidden ¶
type CreateReportForbidden struct {
Payload *models.ErrorResponseBody
}
CreateReportForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewCreateReportForbidden ¶
func NewCreateReportForbidden() *CreateReportForbidden
NewCreateReportForbidden creates a CreateReportForbidden with default headers values
func (*CreateReportForbidden) Error ¶
func (o *CreateReportForbidden) Error() string
func (*CreateReportForbidden) GetPayload ¶
func (o *CreateReportForbidden) GetPayload() *models.ErrorResponseBody
type CreateReportInternalServerError ¶
type CreateReportInternalServerError struct {
Payload *models.ErrorResponseBody
}
CreateReportInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewCreateReportInternalServerError ¶
func NewCreateReportInternalServerError() *CreateReportInternalServerError
NewCreateReportInternalServerError creates a CreateReportInternalServerError with default headers values
func (*CreateReportInternalServerError) Error ¶
func (o *CreateReportInternalServerError) Error() string
func (*CreateReportInternalServerError) GetPayload ¶
func (o *CreateReportInternalServerError) GetPayload() *models.ErrorResponseBody
type CreateReportNotFound ¶
type CreateReportNotFound struct {
Payload *models.ErrorResponseBody
}
CreateReportNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewCreateReportNotFound ¶
func NewCreateReportNotFound() *CreateReportNotFound
NewCreateReportNotFound creates a CreateReportNotFound with default headers values
func (*CreateReportNotFound) Error ¶
func (o *CreateReportNotFound) Error() string
func (*CreateReportNotFound) GetPayload ¶
func (o *CreateReportNotFound) GetPayload() *models.ErrorResponseBody
type CreateReportOK ¶
type CreateReportOK struct {
Payload *models.CreateReportOKBody
}
CreateReportOK describes a response with status code 200, with default header values.
(empty)
func NewCreateReportOK ¶
func NewCreateReportOK() *CreateReportOK
NewCreateReportOK creates a CreateReportOK with default headers values
func (*CreateReportOK) Error ¶
func (o *CreateReportOK) Error() string
func (*CreateReportOK) GetPayload ¶
func (o *CreateReportOK) GetPayload() *models.CreateReportOKBody
type CreateReportParams ¶
type CreateReportParams struct { // Body. Body *models.CreateOrUpdateConfigCmd Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateReportParams contains all the parameters to send to the API endpoint
for the create report operation. Typically these are written to a http.Request.
func NewCreateReportParams ¶
func NewCreateReportParams() *CreateReportParams
NewCreateReportParams creates a new CreateReportParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateReportParamsWithContext ¶
func NewCreateReportParamsWithContext(ctx context.Context) *CreateReportParams
NewCreateReportParamsWithContext creates a new CreateReportParams object with the ability to set a context for a request.
func NewCreateReportParamsWithHTTPClient ¶
func NewCreateReportParamsWithHTTPClient(client *http.Client) *CreateReportParams
NewCreateReportParamsWithHTTPClient creates a new CreateReportParams object with the ability to set a custom HTTPClient for a request.
func NewCreateReportParamsWithTimeout ¶
func NewCreateReportParamsWithTimeout(timeout time.Duration) *CreateReportParams
NewCreateReportParamsWithTimeout creates a new CreateReportParams object with the ability to set a timeout on a request.
func (*CreateReportParams) SetBody ¶
func (o *CreateReportParams) SetBody(body *models.CreateOrUpdateConfigCmd)
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 ¶
func (o *CreateReportParams) WithBody(body *models.CreateOrUpdateConfigCmd) *CreateReportParams
WithBody adds the body to the create report params
func (*CreateReportParams) WithContext ¶
func (o *CreateReportParams) WithContext(ctx context.Context) *CreateReportParams
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 {
}CreateReportUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewCreateReportUnauthorized ¶
func NewCreateReportUnauthorized() *CreateReportUnauthorized
NewCreateReportUnauthorized creates a CreateReportUnauthorized with default headers values
func (*CreateReportUnauthorized) Error ¶
func (o *CreateReportUnauthorized) Error() string
func (*CreateReportUnauthorized) GetPayload ¶
func (o *CreateReportUnauthorized) GetPayload() *models.ErrorResponseBody
type DeleteReportBadRequest ¶
type DeleteReportBadRequest struct {
Payload *models.ErrorResponseBody
}
DeleteReportBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewDeleteReportBadRequest ¶
func NewDeleteReportBadRequest() *DeleteReportBadRequest
NewDeleteReportBadRequest creates a DeleteReportBadRequest with default headers values
func (*DeleteReportBadRequest) Error ¶
func (o *DeleteReportBadRequest) Error() string
func (*DeleteReportBadRequest) GetPayload ¶
func (o *DeleteReportBadRequest) GetPayload() *models.ErrorResponseBody
type DeleteReportForbidden ¶
type DeleteReportForbidden struct {
Payload *models.ErrorResponseBody
}
DeleteReportForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewDeleteReportForbidden ¶
func NewDeleteReportForbidden() *DeleteReportForbidden
NewDeleteReportForbidden creates a DeleteReportForbidden with default headers values
func (*DeleteReportForbidden) Error ¶
func (o *DeleteReportForbidden) Error() string
func (*DeleteReportForbidden) GetPayload ¶
func (o *DeleteReportForbidden) GetPayload() *models.ErrorResponseBody
type DeleteReportInternalServerError ¶
type DeleteReportInternalServerError struct {
Payload *models.ErrorResponseBody
}
DeleteReportInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewDeleteReportInternalServerError ¶
func NewDeleteReportInternalServerError() *DeleteReportInternalServerError
NewDeleteReportInternalServerError creates a DeleteReportInternalServerError with default headers values
func (*DeleteReportInternalServerError) Error ¶
func (o *DeleteReportInternalServerError) Error() string
func (*DeleteReportInternalServerError) GetPayload ¶
func (o *DeleteReportInternalServerError) GetPayload() *models.ErrorResponseBody
type DeleteReportNotFound ¶
type DeleteReportNotFound struct {
Payload *models.ErrorResponseBody
}
DeleteReportNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewDeleteReportNotFound ¶
func NewDeleteReportNotFound() *DeleteReportNotFound
NewDeleteReportNotFound creates a DeleteReportNotFound with default headers values
func (*DeleteReportNotFound) Error ¶
func (o *DeleteReportNotFound) Error() string
func (*DeleteReportNotFound) GetPayload ¶
func (o *DeleteReportNotFound) GetPayload() *models.ErrorResponseBody
type DeleteReportOK ¶
type DeleteReportOK struct {
Payload *models.SuccessResponseBody
}
DeleteReportOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewDeleteReportOK ¶
func NewDeleteReportOK() *DeleteReportOK
NewDeleteReportOK creates a DeleteReportOK with default headers values
func (*DeleteReportOK) Error ¶
func (o *DeleteReportOK) Error() string
func (*DeleteReportOK) GetPayload ¶
func (o *DeleteReportOK) GetPayload() *models.SuccessResponseBody
type DeleteReportParams ¶
type DeleteReportParams struct { // ID. // // Format: int64 ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteReportParams contains all the parameters to send to the API endpoint
for the delete report operation. Typically these are written to a http.Request.
func NewDeleteReportParams ¶
func NewDeleteReportParams() *DeleteReportParams
NewDeleteReportParams creates a new DeleteReportParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteReportParamsWithContext ¶
func NewDeleteReportParamsWithContext(ctx context.Context) *DeleteReportParams
NewDeleteReportParamsWithContext creates a new DeleteReportParams object with the ability to set a context for a request.
func NewDeleteReportParamsWithHTTPClient ¶
func NewDeleteReportParamsWithHTTPClient(client *http.Client) *DeleteReportParams
NewDeleteReportParamsWithHTTPClient creates a new DeleteReportParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteReportParamsWithTimeout ¶
func NewDeleteReportParamsWithTimeout(timeout time.Duration) *DeleteReportParams
NewDeleteReportParamsWithTimeout creates a new DeleteReportParams object with the ability to set a timeout on a request.
func (*DeleteReportParams) SetContext ¶
func (o *DeleteReportParams) SetContext(ctx context.Context)
SetContext adds the context to the delete report params
func (*DeleteReportParams) SetDefaults ¶
func (o *DeleteReportParams) SetDefaults()
SetDefaults hydrates default values in the delete report params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteReportParams) SetHTTPClient ¶
func (o *DeleteReportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete report params
func (*DeleteReportParams) SetID ¶
func (o *DeleteReportParams) SetID(id int64)
SetID adds the id to the delete report params
func (*DeleteReportParams) SetTimeout ¶
func (o *DeleteReportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete report params
func (*DeleteReportParams) WithContext ¶
func (o *DeleteReportParams) WithContext(ctx context.Context) *DeleteReportParams
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 ¶
func (o *DeleteReportParams) WithID(id int64) *DeleteReportParams
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 {
}DeleteReportUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewDeleteReportUnauthorized ¶
func NewDeleteReportUnauthorized() *DeleteReportUnauthorized
NewDeleteReportUnauthorized creates a DeleteReportUnauthorized with default headers values
func (*DeleteReportUnauthorized) Error ¶
func (o *DeleteReportUnauthorized) Error() string
func (*DeleteReportUnauthorized) GetPayload ¶
func (o *DeleteReportUnauthorized) GetPayload() *models.ErrorResponseBody
type GetReportBadRequest ¶
type GetReportBadRequest struct {
Payload *models.ErrorResponseBody
}
GetReportBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewGetReportBadRequest ¶
func NewGetReportBadRequest() *GetReportBadRequest
NewGetReportBadRequest creates a GetReportBadRequest with default headers values
func (*GetReportBadRequest) Error ¶
func (o *GetReportBadRequest) Error() string
func (*GetReportBadRequest) GetPayload ¶
func (o *GetReportBadRequest) GetPayload() *models.ErrorResponseBody
type GetReportForbidden ¶
type GetReportForbidden struct {
Payload *models.ErrorResponseBody
}
GetReportForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewGetReportForbidden ¶
func NewGetReportForbidden() *GetReportForbidden
NewGetReportForbidden creates a GetReportForbidden with default headers values
func (*GetReportForbidden) Error ¶
func (o *GetReportForbidden) Error() string
func (*GetReportForbidden) GetPayload ¶
func (o *GetReportForbidden) GetPayload() *models.ErrorResponseBody
type GetReportInternalServerError ¶
type GetReportInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetReportInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetReportInternalServerError ¶
func NewGetReportInternalServerError() *GetReportInternalServerError
NewGetReportInternalServerError creates a GetReportInternalServerError with default headers values
func (*GetReportInternalServerError) Error ¶
func (o *GetReportInternalServerError) Error() string
func (*GetReportInternalServerError) GetPayload ¶
func (o *GetReportInternalServerError) GetPayload() *models.ErrorResponseBody
type GetReportNotFound ¶
type GetReportNotFound struct {
Payload *models.ErrorResponseBody
}
GetReportNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewGetReportNotFound ¶
func NewGetReportNotFound() *GetReportNotFound
NewGetReportNotFound creates a GetReportNotFound with default headers values
func (*GetReportNotFound) Error ¶
func (o *GetReportNotFound) Error() string
func (*GetReportNotFound) GetPayload ¶
func (o *GetReportNotFound) GetPayload() *models.ErrorResponseBody
type GetReportOK ¶
GetReportOK describes a response with status code 200, with default header values.
(empty)
func NewGetReportOK ¶
func NewGetReportOK() *GetReportOK
NewGetReportOK creates a GetReportOK with default headers values
func (*GetReportOK) Error ¶
func (o *GetReportOK) Error() string
func (*GetReportOK) GetPayload ¶
func (o *GetReportOK) GetPayload() *models.ConfigDTO
type GetReportParams ¶
type GetReportParams struct { // ID. // // Format: int64 ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetReportParams contains all the parameters to send to the API endpoint
for the get report operation. Typically these are written to a http.Request.
func NewGetReportParams ¶
func NewGetReportParams() *GetReportParams
NewGetReportParams creates a new GetReportParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetReportParamsWithContext ¶
func NewGetReportParamsWithContext(ctx context.Context) *GetReportParams
NewGetReportParamsWithContext creates a new GetReportParams object with the ability to set a context for a request.
func NewGetReportParamsWithHTTPClient ¶
func NewGetReportParamsWithHTTPClient(client *http.Client) *GetReportParams
NewGetReportParamsWithHTTPClient creates a new GetReportParams object with the ability to set a custom HTTPClient for a request.
func NewGetReportParamsWithTimeout ¶
func NewGetReportParamsWithTimeout(timeout time.Duration) *GetReportParams
NewGetReportParamsWithTimeout creates a new GetReportParams object with the ability to set a timeout on a request.
func (*GetReportParams) SetContext ¶
func (o *GetReportParams) SetContext(ctx context.Context)
SetContext adds the context to the get report params
func (*GetReportParams) SetDefaults ¶
func (o *GetReportParams) SetDefaults()
SetDefaults hydrates default values in the get report params (not the query body).
All values with no default are reset to their zero value.
func (*GetReportParams) SetHTTPClient ¶
func (o *GetReportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get report params
func (*GetReportParams) SetID ¶
func (o *GetReportParams) SetID(id int64)
SetID adds the id to the get report params
func (*GetReportParams) SetTimeout ¶
func (o *GetReportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get report params
func (*GetReportParams) WithContext ¶
func (o *GetReportParams) WithContext(ctx context.Context) *GetReportParams
WithContext adds the context to the get report params
func (*GetReportParams) WithDefaults ¶
func (o *GetReportParams) WithDefaults() *GetReportParams
WithDefaults hydrates default values in the get report params (not the query body).
All values with no default are reset to their zero value.
func (*GetReportParams) WithHTTPClient ¶
func (o *GetReportParams) WithHTTPClient(client *http.Client) *GetReportParams
WithHTTPClient adds the HTTPClient to the get report params
func (*GetReportParams) WithID ¶
func (o *GetReportParams) WithID(id int64) *GetReportParams
WithID adds the id to the get report params
func (*GetReportParams) WithTimeout ¶
func (o *GetReportParams) WithTimeout(timeout time.Duration) *GetReportParams
WithTimeout adds the timeout to the get report params
func (*GetReportParams) WriteToRequest ¶
func (o *GetReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetReportReader ¶
type GetReportReader struct {
// contains filtered or unexported fields
}
GetReportReader is a Reader for the GetReport structure.
func (*GetReportReader) ReadResponse ¶
func (o *GetReportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetReportSettingsForbidden ¶
type GetReportSettingsForbidden struct {
Payload *models.ErrorResponseBody
}
GetReportSettingsForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewGetReportSettingsForbidden ¶
func NewGetReportSettingsForbidden() *GetReportSettingsForbidden
NewGetReportSettingsForbidden creates a GetReportSettingsForbidden with default headers values
func (*GetReportSettingsForbidden) Error ¶
func (o *GetReportSettingsForbidden) Error() string
func (*GetReportSettingsForbidden) GetPayload ¶
func (o *GetReportSettingsForbidden) GetPayload() *models.ErrorResponseBody
type GetReportSettingsInternalServerError ¶
type GetReportSettingsInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetReportSettingsInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetReportSettingsInternalServerError ¶
func NewGetReportSettingsInternalServerError() *GetReportSettingsInternalServerError
NewGetReportSettingsInternalServerError creates a GetReportSettingsInternalServerError with default headers values
func (*GetReportSettingsInternalServerError) Error ¶
func (o *GetReportSettingsInternalServerError) Error() string
func (*GetReportSettingsInternalServerError) GetPayload ¶
func (o *GetReportSettingsInternalServerError) GetPayload() *models.ErrorResponseBody
type GetReportSettingsOK ¶
type GetReportSettingsOK struct {
Payload *models.SettingsDTO
}
GetReportSettingsOK describes a response with status code 200, with default header values.
(empty)
func NewGetReportSettingsOK ¶
func NewGetReportSettingsOK() *GetReportSettingsOK
NewGetReportSettingsOK creates a GetReportSettingsOK with default headers values
func (*GetReportSettingsOK) Error ¶
func (o *GetReportSettingsOK) Error() string
func (*GetReportSettingsOK) GetPayload ¶
func (o *GetReportSettingsOK) GetPayload() *models.SettingsDTO
type GetReportSettingsParams ¶
type GetReportSettingsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetReportSettingsParams contains all the parameters to send to the API endpoint
for the get report settings operation. Typically these are written to a http.Request.
func NewGetReportSettingsParams ¶
func NewGetReportSettingsParams() *GetReportSettingsParams
NewGetReportSettingsParams creates a new GetReportSettingsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetReportSettingsParamsWithContext ¶
func NewGetReportSettingsParamsWithContext(ctx context.Context) *GetReportSettingsParams
NewGetReportSettingsParamsWithContext creates a new GetReportSettingsParams object with the ability to set a context for a request.
func NewGetReportSettingsParamsWithHTTPClient ¶
func NewGetReportSettingsParamsWithHTTPClient(client *http.Client) *GetReportSettingsParams
NewGetReportSettingsParamsWithHTTPClient creates a new GetReportSettingsParams object with the ability to set a custom HTTPClient for a request.
func NewGetReportSettingsParamsWithTimeout ¶
func NewGetReportSettingsParamsWithTimeout(timeout time.Duration) *GetReportSettingsParams
NewGetReportSettingsParamsWithTimeout creates a new GetReportSettingsParams object with the ability to set a timeout on a request.
func (*GetReportSettingsParams) SetContext ¶
func (o *GetReportSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the get report settings params
func (*GetReportSettingsParams) SetDefaults ¶
func (o *GetReportSettingsParams) SetDefaults()
SetDefaults hydrates default values in the get report settings params (not the query body).
All values with no default are reset to their zero value.
func (*GetReportSettingsParams) SetHTTPClient ¶
func (o *GetReportSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get report settings params
func (*GetReportSettingsParams) SetTimeout ¶
func (o *GetReportSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get report settings params
func (*GetReportSettingsParams) WithContext ¶
func (o *GetReportSettingsParams) WithContext(ctx context.Context) *GetReportSettingsParams
WithContext adds the context to the get report settings params
func (*GetReportSettingsParams) WithDefaults ¶
func (o *GetReportSettingsParams) WithDefaults() *GetReportSettingsParams
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 ¶
func (o *GetReportSettingsParams) WithTimeout(timeout time.Duration) *GetReportSettingsParams
WithTimeout adds the timeout to the get report settings params
func (*GetReportSettingsParams) WriteToRequest ¶
func (o *GetReportSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}GetReportSettingsUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetReportSettingsUnauthorized ¶
func NewGetReportSettingsUnauthorized() *GetReportSettingsUnauthorized
NewGetReportSettingsUnauthorized creates a GetReportSettingsUnauthorized with default headers values
func (*GetReportSettingsUnauthorized) Error ¶
func (o *GetReportSettingsUnauthorized) Error() string
func (*GetReportSettingsUnauthorized) GetPayload ¶
func (o *GetReportSettingsUnauthorized) GetPayload() *models.ErrorResponseBody
type GetReportUnauthorized ¶
type GetReportUnauthorized struct {
}GetReportUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetReportUnauthorized ¶
func NewGetReportUnauthorized() *GetReportUnauthorized
NewGetReportUnauthorized creates a GetReportUnauthorized with default headers values
func (*GetReportUnauthorized) Error ¶
func (o *GetReportUnauthorized) Error() string
func (*GetReportUnauthorized) GetPayload ¶
func (o *GetReportUnauthorized) GetPayload() *models.ErrorResponseBody
type GetReportsForbidden ¶
type GetReportsForbidden struct {
Payload *models.ErrorResponseBody
}
GetReportsForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewGetReportsForbidden ¶
func NewGetReportsForbidden() *GetReportsForbidden
NewGetReportsForbidden creates a GetReportsForbidden with default headers values
func (*GetReportsForbidden) Error ¶
func (o *GetReportsForbidden) Error() string
func (*GetReportsForbidden) GetPayload ¶
func (o *GetReportsForbidden) GetPayload() *models.ErrorResponseBody
type GetReportsInternalServerError ¶
type GetReportsInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetReportsInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetReportsInternalServerError ¶
func NewGetReportsInternalServerError() *GetReportsInternalServerError
NewGetReportsInternalServerError creates a GetReportsInternalServerError with default headers values
func (*GetReportsInternalServerError) Error ¶
func (o *GetReportsInternalServerError) Error() string
func (*GetReportsInternalServerError) GetPayload ¶
func (o *GetReportsInternalServerError) GetPayload() *models.ErrorResponseBody
type GetReportsOK ¶
GetReportsOK describes a response with status code 200, with default header values.
(empty)
func NewGetReportsOK ¶
func NewGetReportsOK() *GetReportsOK
NewGetReportsOK creates a GetReportsOK with default headers values
func (*GetReportsOK) Error ¶
func (o *GetReportsOK) Error() string
func (*GetReportsOK) GetPayload ¶
func (o *GetReportsOK) GetPayload() []*models.ConfigDTO
type GetReportsParams ¶
type GetReportsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetReportsParams contains all the parameters to send to the API endpoint
for the get reports operation. Typically these are written to a http.Request.
func NewGetReportsParams ¶
func NewGetReportsParams() *GetReportsParams
NewGetReportsParams creates a new GetReportsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetReportsParamsWithContext ¶
func NewGetReportsParamsWithContext(ctx context.Context) *GetReportsParams
NewGetReportsParamsWithContext creates a new GetReportsParams object with the ability to set a context for a request.
func NewGetReportsParamsWithHTTPClient ¶
func NewGetReportsParamsWithHTTPClient(client *http.Client) *GetReportsParams
NewGetReportsParamsWithHTTPClient creates a new GetReportsParams object with the ability to set a custom HTTPClient for a request.
func NewGetReportsParamsWithTimeout ¶
func NewGetReportsParamsWithTimeout(timeout time.Duration) *GetReportsParams
NewGetReportsParamsWithTimeout creates a new GetReportsParams object with the ability to set a timeout on a request.
func (*GetReportsParams) SetContext ¶
func (o *GetReportsParams) SetContext(ctx context.Context)
SetContext adds the context to the get reports params
func (*GetReportsParams) SetDefaults ¶
func (o *GetReportsParams) SetDefaults()
SetDefaults hydrates default values in the get reports params (not the query body).
All values with no default are reset to their zero value.
func (*GetReportsParams) SetHTTPClient ¶
func (o *GetReportsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get reports params
func (*GetReportsParams) SetTimeout ¶
func (o *GetReportsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get reports params
func (*GetReportsParams) WithContext ¶
func (o *GetReportsParams) WithContext(ctx context.Context) *GetReportsParams
WithContext adds the context to the get reports params
func (*GetReportsParams) WithDefaults ¶
func (o *GetReportsParams) WithDefaults() *GetReportsParams
WithDefaults hydrates default values in the get reports params (not the query body).
All values with no default are reset to their zero value.
func (*GetReportsParams) WithHTTPClient ¶
func (o *GetReportsParams) WithHTTPClient(client *http.Client) *GetReportsParams
WithHTTPClient adds the HTTPClient to the get reports params
func (*GetReportsParams) WithTimeout ¶
func (o *GetReportsParams) WithTimeout(timeout time.Duration) *GetReportsParams
WithTimeout adds the timeout to the get reports params
func (*GetReportsParams) WriteToRequest ¶
func (o *GetReportsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetReportsReader ¶
type GetReportsReader struct {
// contains filtered or unexported fields
}
GetReportsReader is a Reader for the GetReports structure.
func (*GetReportsReader) ReadResponse ¶
func (o *GetReportsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetReportsUnauthorized ¶
type GetReportsUnauthorized struct {
}GetReportsUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetReportsUnauthorized ¶
func NewGetReportsUnauthorized() *GetReportsUnauthorized
NewGetReportsUnauthorized creates a GetReportsUnauthorized with default headers values
func (*GetReportsUnauthorized) Error ¶
func (o *GetReportsUnauthorized) Error() string
func (*GetReportsUnauthorized) GetPayload ¶
func (o *GetReportsUnauthorized) GetPayload() *models.ErrorResponseBody
type RenderReportPDFBadRequest ¶
type RenderReportPDFBadRequest struct {
Payload *models.ErrorResponseBody
}
RenderReportPDFBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewRenderReportPDFBadRequest ¶
func NewRenderReportPDFBadRequest() *RenderReportPDFBadRequest
NewRenderReportPDFBadRequest creates a RenderReportPDFBadRequest with default headers values
func (*RenderReportPDFBadRequest) Error ¶
func (o *RenderReportPDFBadRequest) Error() string
func (*RenderReportPDFBadRequest) GetPayload ¶
func (o *RenderReportPDFBadRequest) GetPayload() *models.ErrorResponseBody
type RenderReportPDFInternalServerError ¶
type RenderReportPDFInternalServerError struct {
Payload *models.ErrorResponseBody
}
RenderReportPDFInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewRenderReportPDFInternalServerError ¶
func NewRenderReportPDFInternalServerError() *RenderReportPDFInternalServerError
NewRenderReportPDFInternalServerError creates a RenderReportPDFInternalServerError with default headers values
func (*RenderReportPDFInternalServerError) Error ¶
func (o *RenderReportPDFInternalServerError) Error() string
func (*RenderReportPDFInternalServerError) GetPayload ¶
func (o *RenderReportPDFInternalServerError) GetPayload() *models.ErrorResponseBody
type RenderReportPDFOK ¶
type RenderReportPDFOK struct {
Payload []uint8
}
RenderReportPDFOK describes a response with status code 200, with default header values.
(empty)
func NewRenderReportPDFOK ¶
func NewRenderReportPDFOK() *RenderReportPDFOK
NewRenderReportPDFOK creates a RenderReportPDFOK with default headers values
func (*RenderReportPDFOK) Error ¶
func (o *RenderReportPDFOK) Error() string
func (*RenderReportPDFOK) GetPayload ¶
func (o *RenderReportPDFOK) GetPayload() []uint8
type RenderReportPDFParams ¶
type RenderReportPDFParams struct { // DashboardID. // // Format: int64 DashboardID int64 // From. From *string // Layout. Layout *string // Orientation. Orientation *string // Title. Title *string // To. To *string // Variables. Variables *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RenderReportPDFParams contains all the parameters to send to the API endpoint
for the render report p d f operation. Typically these are written to a http.Request.
func NewRenderReportPDFParams ¶
func NewRenderReportPDFParams() *RenderReportPDFParams
NewRenderReportPDFParams creates a new RenderReportPDFParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRenderReportPDFParamsWithContext ¶
func NewRenderReportPDFParamsWithContext(ctx context.Context) *RenderReportPDFParams
NewRenderReportPDFParamsWithContext creates a new RenderReportPDFParams object with the ability to set a context for a request.
func NewRenderReportPDFParamsWithHTTPClient ¶
func NewRenderReportPDFParamsWithHTTPClient(client *http.Client) *RenderReportPDFParams
NewRenderReportPDFParamsWithHTTPClient creates a new RenderReportPDFParams object with the ability to set a custom HTTPClient for a request.
func NewRenderReportPDFParamsWithTimeout ¶
func NewRenderReportPDFParamsWithTimeout(timeout time.Duration) *RenderReportPDFParams
NewRenderReportPDFParamsWithTimeout creates a new RenderReportPDFParams object with the ability to set a timeout on a request.
func (*RenderReportPDFParams) SetContext ¶
func (o *RenderReportPDFParams) SetContext(ctx context.Context)
SetContext adds the context to the render report p d f params
func (*RenderReportPDFParams) SetDashboardID ¶
func (o *RenderReportPDFParams) SetDashboardID(dashboardID int64)
SetDashboardID adds the dashboardId to the render report p d f params
func (*RenderReportPDFParams) SetDefaults ¶
func (o *RenderReportPDFParams) SetDefaults()
SetDefaults hydrates default values in the render report p d f params (not the query body).
All values with no default are reset to their zero value.
func (*RenderReportPDFParams) SetFrom ¶
func (o *RenderReportPDFParams) SetFrom(from *string)
SetFrom adds the from to the render report p d f params
func (*RenderReportPDFParams) SetHTTPClient ¶
func (o *RenderReportPDFParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the render report p d f params
func (*RenderReportPDFParams) SetLayout ¶
func (o *RenderReportPDFParams) SetLayout(layout *string)
SetLayout adds the layout to the render report p d f params
func (*RenderReportPDFParams) SetOrientation ¶
func (o *RenderReportPDFParams) SetOrientation(orientation *string)
SetOrientation adds the orientation to the render report p d f params
func (*RenderReportPDFParams) SetTimeout ¶
func (o *RenderReportPDFParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the render report p d f params
func (*RenderReportPDFParams) SetTitle ¶
func (o *RenderReportPDFParams) SetTitle(title *string)
SetTitle adds the title to the render report p d f params
func (*RenderReportPDFParams) SetTo ¶
func (o *RenderReportPDFParams) SetTo(to *string)
SetTo adds the to to the render report p d f params
func (*RenderReportPDFParams) SetVariables ¶
func (o *RenderReportPDFParams) SetVariables(variables *string)
SetVariables adds the variables to the render report p d f params
func (*RenderReportPDFParams) WithContext ¶
func (o *RenderReportPDFParams) WithContext(ctx context.Context) *RenderReportPDFParams
WithContext adds the context to the render report p d f params
func (*RenderReportPDFParams) WithDashboardID ¶
func (o *RenderReportPDFParams) WithDashboardID(dashboardID int64) *RenderReportPDFParams
WithDashboardID adds the dashboardID to the render report p d f params
func (*RenderReportPDFParams) WithDefaults ¶
func (o *RenderReportPDFParams) WithDefaults() *RenderReportPDFParams
WithDefaults hydrates default values in the render report p d f params (not the query body).
All values with no default are reset to their zero value.
func (*RenderReportPDFParams) WithFrom ¶
func (o *RenderReportPDFParams) WithFrom(from *string) *RenderReportPDFParams
WithFrom adds the from to the render report p d f params
func (*RenderReportPDFParams) WithHTTPClient ¶
func (o *RenderReportPDFParams) WithHTTPClient(client *http.Client) *RenderReportPDFParams
WithHTTPClient adds the HTTPClient to the render report p d f params
func (*RenderReportPDFParams) WithLayout ¶
func (o *RenderReportPDFParams) WithLayout(layout *string) *RenderReportPDFParams
WithLayout adds the layout to the render report p d f params
func (*RenderReportPDFParams) WithOrientation ¶
func (o *RenderReportPDFParams) WithOrientation(orientation *string) *RenderReportPDFParams
WithOrientation adds the orientation to the render report p d f params
func (*RenderReportPDFParams) WithTimeout ¶
func (o *RenderReportPDFParams) WithTimeout(timeout time.Duration) *RenderReportPDFParams
WithTimeout adds the timeout to the render report p d f params
func (*RenderReportPDFParams) WithTitle ¶
func (o *RenderReportPDFParams) WithTitle(title *string) *RenderReportPDFParams
WithTitle adds the title to the render report p d f params
func (*RenderReportPDFParams) WithTo ¶
func (o *RenderReportPDFParams) WithTo(to *string) *RenderReportPDFParams
WithTo adds the to to the render report p d f params
func (*RenderReportPDFParams) WithVariables ¶
func (o *RenderReportPDFParams) WithVariables(variables *string) *RenderReportPDFParams
WithVariables adds the variables to the render report p d f params
func (*RenderReportPDFParams) WriteToRequest ¶
func (o *RenderReportPDFParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RenderReportPDFReader ¶
type RenderReportPDFReader struct {
// contains filtered or unexported fields
}
RenderReportPDFReader is a Reader for the RenderReportPDF structure.
func (*RenderReportPDFReader) ReadResponse ¶
func (o *RenderReportPDFReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RenderReportPDFUnauthorized ¶
type RenderReportPDFUnauthorized struct {
}RenderReportPDFUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewRenderReportPDFUnauthorized ¶
func NewRenderReportPDFUnauthorized() *RenderReportPDFUnauthorized
NewRenderReportPDFUnauthorized creates a RenderReportPDFUnauthorized with default headers values
func (*RenderReportPDFUnauthorized) Error ¶
func (o *RenderReportPDFUnauthorized) Error() string
func (*RenderReportPDFUnauthorized) GetPayload ¶
func (o *RenderReportPDFUnauthorized) GetPayload() *models.ErrorResponseBody
type RenderReportPDFsBadRequest ¶
type RenderReportPDFsBadRequest struct {
Payload *models.ErrorResponseBody
}
RenderReportPDFsBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewRenderReportPDFsBadRequest ¶
func NewRenderReportPDFsBadRequest() *RenderReportPDFsBadRequest
NewRenderReportPDFsBadRequest creates a RenderReportPDFsBadRequest with default headers values
func (*RenderReportPDFsBadRequest) Error ¶
func (o *RenderReportPDFsBadRequest) Error() string
func (*RenderReportPDFsBadRequest) GetPayload ¶
func (o *RenderReportPDFsBadRequest) GetPayload() *models.ErrorResponseBody
type RenderReportPDFsInternalServerError ¶
type RenderReportPDFsInternalServerError struct {
Payload *models.ErrorResponseBody
}
RenderReportPDFsInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewRenderReportPDFsInternalServerError ¶
func NewRenderReportPDFsInternalServerError() *RenderReportPDFsInternalServerError
NewRenderReportPDFsInternalServerError creates a RenderReportPDFsInternalServerError with default headers values
func (*RenderReportPDFsInternalServerError) Error ¶
func (o *RenderReportPDFsInternalServerError) Error() string
func (*RenderReportPDFsInternalServerError) GetPayload ¶
func (o *RenderReportPDFsInternalServerError) GetPayload() *models.ErrorResponseBody
type RenderReportPDFsOK ¶
type RenderReportPDFsOK struct {
Payload []uint8
}
RenderReportPDFsOK describes a response with status code 200, with default header values.
(empty)
func NewRenderReportPDFsOK ¶
func NewRenderReportPDFsOK() *RenderReportPDFsOK
NewRenderReportPDFsOK creates a RenderReportPDFsOK with default headers values
func (*RenderReportPDFsOK) Error ¶
func (o *RenderReportPDFsOK) Error() string
func (*RenderReportPDFsOK) GetPayload ¶
func (o *RenderReportPDFsOK) GetPayload() []uint8
type RenderReportPDFsParams ¶
type RenderReportPDFsParams struct { // DashboardID. DashboardID *string // Layout. Layout *string // Orientation. Orientation *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RenderReportPDFsParams contains all the parameters to send to the API endpoint
for the render report p d fs operation. Typically these are written to a http.Request.
func NewRenderReportPDFsParams ¶
func NewRenderReportPDFsParams() *RenderReportPDFsParams
NewRenderReportPDFsParams creates a new RenderReportPDFsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRenderReportPDFsParamsWithContext ¶
func NewRenderReportPDFsParamsWithContext(ctx context.Context) *RenderReportPDFsParams
NewRenderReportPDFsParamsWithContext creates a new RenderReportPDFsParams object with the ability to set a context for a request.
func NewRenderReportPDFsParamsWithHTTPClient ¶
func NewRenderReportPDFsParamsWithHTTPClient(client *http.Client) *RenderReportPDFsParams
NewRenderReportPDFsParamsWithHTTPClient creates a new RenderReportPDFsParams object with the ability to set a custom HTTPClient for a request.
func NewRenderReportPDFsParamsWithTimeout ¶
func NewRenderReportPDFsParamsWithTimeout(timeout time.Duration) *RenderReportPDFsParams
NewRenderReportPDFsParamsWithTimeout creates a new RenderReportPDFsParams object with the ability to set a timeout on a request.
func (*RenderReportPDFsParams) SetContext ¶
func (o *RenderReportPDFsParams) SetContext(ctx context.Context)
SetContext adds the context to the render report p d fs params
func (*RenderReportPDFsParams) SetDashboardID ¶
func (o *RenderReportPDFsParams) SetDashboardID(dashboardID *string)
SetDashboardID adds the dashboardId to the render report p d fs params
func (*RenderReportPDFsParams) SetDefaults ¶
func (o *RenderReportPDFsParams) SetDefaults()
SetDefaults hydrates default values in the render report p d fs params (not the query body).
All values with no default are reset to their zero value.
func (*RenderReportPDFsParams) SetHTTPClient ¶
func (o *RenderReportPDFsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the render report p d fs params
func (*RenderReportPDFsParams) SetLayout ¶
func (o *RenderReportPDFsParams) SetLayout(layout *string)
SetLayout adds the layout to the render report p d fs params
func (*RenderReportPDFsParams) SetOrientation ¶
func (o *RenderReportPDFsParams) SetOrientation(orientation *string)
SetOrientation adds the orientation to the render report p d fs params
func (*RenderReportPDFsParams) SetTimeout ¶
func (o *RenderReportPDFsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the render report p d fs params
func (*RenderReportPDFsParams) WithContext ¶
func (o *RenderReportPDFsParams) WithContext(ctx context.Context) *RenderReportPDFsParams
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 ¶
func (o *RenderReportPDFsParams) WithDefaults() *RenderReportPDFsParams
WithDefaults hydrates default values in the render report p d fs params (not the query body).
All values with no default are reset to their zero value.
func (*RenderReportPDFsParams) WithHTTPClient ¶
func (o *RenderReportPDFsParams) WithHTTPClient(client *http.Client) *RenderReportPDFsParams
WithHTTPClient adds the HTTPClient to the render report p d fs params
func (*RenderReportPDFsParams) WithLayout ¶
func (o *RenderReportPDFsParams) WithLayout(layout *string) *RenderReportPDFsParams
WithLayout adds the layout to the render report p d fs params
func (*RenderReportPDFsParams) WithOrientation ¶
func (o *RenderReportPDFsParams) WithOrientation(orientation *string) *RenderReportPDFsParams
WithOrientation adds the orientation to the render report p d fs params
func (*RenderReportPDFsParams) WithTimeout ¶
func (o *RenderReportPDFsParams) WithTimeout(timeout time.Duration) *RenderReportPDFsParams
WithTimeout adds the timeout to the render report p d fs params
func (*RenderReportPDFsParams) WriteToRequest ¶
func (o *RenderReportPDFsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}RenderReportPDFsUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewRenderReportPDFsUnauthorized ¶
func NewRenderReportPDFsUnauthorized() *RenderReportPDFsUnauthorized
NewRenderReportPDFsUnauthorized creates a RenderReportPDFsUnauthorized with default headers values
func (*RenderReportPDFsUnauthorized) Error ¶
func (o *RenderReportPDFsUnauthorized) Error() string
func (*RenderReportPDFsUnauthorized) GetPayload ¶
func (o *RenderReportPDFsUnauthorized) GetPayload() *models.ErrorResponseBody
type SaveReportSettingsBadRequest ¶
type SaveReportSettingsBadRequest struct {
Payload *models.ErrorResponseBody
}
SaveReportSettingsBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewSaveReportSettingsBadRequest ¶
func NewSaveReportSettingsBadRequest() *SaveReportSettingsBadRequest
NewSaveReportSettingsBadRequest creates a SaveReportSettingsBadRequest with default headers values
func (*SaveReportSettingsBadRequest) Error ¶
func (o *SaveReportSettingsBadRequest) Error() string
func (*SaveReportSettingsBadRequest) GetPayload ¶
func (o *SaveReportSettingsBadRequest) GetPayload() *models.ErrorResponseBody
type SaveReportSettingsForbidden ¶
type SaveReportSettingsForbidden struct {
Payload *models.ErrorResponseBody
}
SaveReportSettingsForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewSaveReportSettingsForbidden ¶
func NewSaveReportSettingsForbidden() *SaveReportSettingsForbidden
NewSaveReportSettingsForbidden creates a SaveReportSettingsForbidden with default headers values
func (*SaveReportSettingsForbidden) Error ¶
func (o *SaveReportSettingsForbidden) Error() string
func (*SaveReportSettingsForbidden) GetPayload ¶
func (o *SaveReportSettingsForbidden) GetPayload() *models.ErrorResponseBody
type SaveReportSettingsInternalServerError ¶
type SaveReportSettingsInternalServerError struct {
Payload *models.ErrorResponseBody
}
SaveReportSettingsInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewSaveReportSettingsInternalServerError ¶
func NewSaveReportSettingsInternalServerError() *SaveReportSettingsInternalServerError
NewSaveReportSettingsInternalServerError creates a SaveReportSettingsInternalServerError with default headers values
func (*SaveReportSettingsInternalServerError) Error ¶
func (o *SaveReportSettingsInternalServerError) Error() string
func (*SaveReportSettingsInternalServerError) GetPayload ¶
func (o *SaveReportSettingsInternalServerError) GetPayload() *models.ErrorResponseBody
type SaveReportSettingsOK ¶
type SaveReportSettingsOK struct {
Payload *models.SuccessResponseBody
}
SaveReportSettingsOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewSaveReportSettingsOK ¶
func NewSaveReportSettingsOK() *SaveReportSettingsOK
NewSaveReportSettingsOK creates a SaveReportSettingsOK with default headers values
func (*SaveReportSettingsOK) Error ¶
func (o *SaveReportSettingsOK) Error() string
func (*SaveReportSettingsOK) GetPayload ¶
func (o *SaveReportSettingsOK) GetPayload() *models.SuccessResponseBody
type SaveReportSettingsParams ¶
type SaveReportSettingsParams struct { // Body. Body *models.SettingsDTO Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SaveReportSettingsParams contains all the parameters to send to the API endpoint
for the save report settings operation. Typically these are written to a http.Request.
func NewSaveReportSettingsParams ¶
func NewSaveReportSettingsParams() *SaveReportSettingsParams
NewSaveReportSettingsParams creates a new SaveReportSettingsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSaveReportSettingsParamsWithContext ¶
func NewSaveReportSettingsParamsWithContext(ctx context.Context) *SaveReportSettingsParams
NewSaveReportSettingsParamsWithContext creates a new SaveReportSettingsParams object with the ability to set a context for a request.
func NewSaveReportSettingsParamsWithHTTPClient ¶
func NewSaveReportSettingsParamsWithHTTPClient(client *http.Client) *SaveReportSettingsParams
NewSaveReportSettingsParamsWithHTTPClient creates a new SaveReportSettingsParams object with the ability to set a custom HTTPClient for a request.
func NewSaveReportSettingsParamsWithTimeout ¶
func NewSaveReportSettingsParamsWithTimeout(timeout time.Duration) *SaveReportSettingsParams
NewSaveReportSettingsParamsWithTimeout creates a new SaveReportSettingsParams object with the ability to set a timeout on a request.
func (*SaveReportSettingsParams) SetBody ¶
func (o *SaveReportSettingsParams) SetBody(body *models.SettingsDTO)
SetBody adds the body to the save report settings params
func (*SaveReportSettingsParams) SetContext ¶
func (o *SaveReportSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the save report settings params
func (*SaveReportSettingsParams) SetDefaults ¶
func (o *SaveReportSettingsParams) SetDefaults()
SetDefaults hydrates default values in the save report settings params (not the query body).
All values with no default are reset to their zero value.
func (*SaveReportSettingsParams) SetHTTPClient ¶
func (o *SaveReportSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the save report settings params
func (*SaveReportSettingsParams) SetTimeout ¶
func (o *SaveReportSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the save report settings params
func (*SaveReportSettingsParams) WithBody ¶
func (o *SaveReportSettingsParams) WithBody(body *models.SettingsDTO) *SaveReportSettingsParams
WithBody adds the body to the save report settings params
func (*SaveReportSettingsParams) WithContext ¶
func (o *SaveReportSettingsParams) WithContext(ctx context.Context) *SaveReportSettingsParams
WithContext adds the context to the save report settings params
func (*SaveReportSettingsParams) WithDefaults ¶
func (o *SaveReportSettingsParams) WithDefaults() *SaveReportSettingsParams
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 ¶
func (o *SaveReportSettingsParams) WithTimeout(timeout time.Duration) *SaveReportSettingsParams
WithTimeout adds the timeout to the save report settings params
func (*SaveReportSettingsParams) WriteToRequest ¶
func (o *SaveReportSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}SaveReportSettingsUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewSaveReportSettingsUnauthorized ¶
func NewSaveReportSettingsUnauthorized() *SaveReportSettingsUnauthorized
NewSaveReportSettingsUnauthorized creates a SaveReportSettingsUnauthorized with default headers values
func (*SaveReportSettingsUnauthorized) Error ¶
func (o *SaveReportSettingsUnauthorized) Error() string
func (*SaveReportSettingsUnauthorized) GetPayload ¶
func (o *SaveReportSettingsUnauthorized) GetPayload() *models.ErrorResponseBody
type SendReportBadRequest ¶
type SendReportBadRequest struct {
Payload *models.ErrorResponseBody
}
SendReportBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewSendReportBadRequest ¶
func NewSendReportBadRequest() *SendReportBadRequest
NewSendReportBadRequest creates a SendReportBadRequest with default headers values
func (*SendReportBadRequest) Error ¶
func (o *SendReportBadRequest) Error() string
func (*SendReportBadRequest) GetPayload ¶
func (o *SendReportBadRequest) GetPayload() *models.ErrorResponseBody
type SendReportForbidden ¶
type SendReportForbidden struct {
Payload *models.ErrorResponseBody
}
SendReportForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewSendReportForbidden ¶
func NewSendReportForbidden() *SendReportForbidden
NewSendReportForbidden creates a SendReportForbidden with default headers values
func (*SendReportForbidden) Error ¶
func (o *SendReportForbidden) Error() string
func (*SendReportForbidden) GetPayload ¶
func (o *SendReportForbidden) GetPayload() *models.ErrorResponseBody
type SendReportInternalServerError ¶
type SendReportInternalServerError struct {
Payload *models.ErrorResponseBody
}
SendReportInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewSendReportInternalServerError ¶
func NewSendReportInternalServerError() *SendReportInternalServerError
NewSendReportInternalServerError creates a SendReportInternalServerError with default headers values
func (*SendReportInternalServerError) Error ¶
func (o *SendReportInternalServerError) Error() string
func (*SendReportInternalServerError) GetPayload ¶
func (o *SendReportInternalServerError) GetPayload() *models.ErrorResponseBody
type SendReportNotFound ¶
type SendReportNotFound struct {
Payload *models.ErrorResponseBody
}
SendReportNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewSendReportNotFound ¶
func NewSendReportNotFound() *SendReportNotFound
NewSendReportNotFound creates a SendReportNotFound with default headers values
func (*SendReportNotFound) Error ¶
func (o *SendReportNotFound) Error() string
func (*SendReportNotFound) GetPayload ¶
func (o *SendReportNotFound) GetPayload() *models.ErrorResponseBody
type SendReportOK ¶
type SendReportOK struct {
Payload *models.SuccessResponseBody
}
SendReportOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewSendReportOK ¶
func NewSendReportOK() *SendReportOK
NewSendReportOK creates a SendReportOK with default headers values
func (*SendReportOK) Error ¶
func (o *SendReportOK) Error() string
func (*SendReportOK) GetPayload ¶
func (o *SendReportOK) GetPayload() *models.SuccessResponseBody
type SendReportParams ¶
type SendReportParams struct { // Body. Body *models.ReportEmailDTO Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SendReportParams contains all the parameters to send to the API endpoint
for the send report operation. Typically these are written to a http.Request.
func NewSendReportParams ¶
func NewSendReportParams() *SendReportParams
NewSendReportParams creates a new SendReportParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSendReportParamsWithContext ¶
func NewSendReportParamsWithContext(ctx context.Context) *SendReportParams
NewSendReportParamsWithContext creates a new SendReportParams object with the ability to set a context for a request.
func NewSendReportParamsWithHTTPClient ¶
func NewSendReportParamsWithHTTPClient(client *http.Client) *SendReportParams
NewSendReportParamsWithHTTPClient creates a new SendReportParams object with the ability to set a custom HTTPClient for a request.
func NewSendReportParamsWithTimeout ¶
func NewSendReportParamsWithTimeout(timeout time.Duration) *SendReportParams
NewSendReportParamsWithTimeout creates a new SendReportParams object with the ability to set a timeout on a request.
func (*SendReportParams) SetBody ¶
func (o *SendReportParams) SetBody(body *models.ReportEmailDTO)
SetBody adds the body to the send report params
func (*SendReportParams) SetContext ¶
func (o *SendReportParams) SetContext(ctx context.Context)
SetContext adds the context to the send report params
func (*SendReportParams) SetDefaults ¶
func (o *SendReportParams) SetDefaults()
SetDefaults hydrates default values in the send report params (not the query body).
All values with no default are reset to their zero value.
func (*SendReportParams) SetHTTPClient ¶
func (o *SendReportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the send report params
func (*SendReportParams) SetTimeout ¶
func (o *SendReportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the send report params
func (*SendReportParams) WithBody ¶
func (o *SendReportParams) WithBody(body *models.ReportEmailDTO) *SendReportParams
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 {
}SendReportUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewSendReportUnauthorized ¶
func NewSendReportUnauthorized() *SendReportUnauthorized
NewSendReportUnauthorized creates a SendReportUnauthorized with default headers values
func (*SendReportUnauthorized) Error ¶
func (o *SendReportUnauthorized) Error() string
func (*SendReportUnauthorized) GetPayload ¶
func (o *SendReportUnauthorized) GetPayload() *models.ErrorResponseBody
type SendTestEmailBadRequest ¶
type SendTestEmailBadRequest struct {
Payload *models.ErrorResponseBody
}
SendTestEmailBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewSendTestEmailBadRequest ¶
func NewSendTestEmailBadRequest() *SendTestEmailBadRequest
NewSendTestEmailBadRequest creates a SendTestEmailBadRequest with default headers values
func (*SendTestEmailBadRequest) Error ¶
func (o *SendTestEmailBadRequest) Error() string
func (*SendTestEmailBadRequest) GetPayload ¶
func (o *SendTestEmailBadRequest) GetPayload() *models.ErrorResponseBody
type SendTestEmailForbidden ¶
type SendTestEmailForbidden struct {
Payload *models.ErrorResponseBody
}
SendTestEmailForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewSendTestEmailForbidden ¶
func NewSendTestEmailForbidden() *SendTestEmailForbidden
NewSendTestEmailForbidden creates a SendTestEmailForbidden with default headers values
func (*SendTestEmailForbidden) Error ¶
func (o *SendTestEmailForbidden) Error() string
func (*SendTestEmailForbidden) GetPayload ¶
func (o *SendTestEmailForbidden) GetPayload() *models.ErrorResponseBody
type SendTestEmailInternalServerError ¶
type SendTestEmailInternalServerError struct {
Payload *models.ErrorResponseBody
}
SendTestEmailInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewSendTestEmailInternalServerError ¶
func NewSendTestEmailInternalServerError() *SendTestEmailInternalServerError
NewSendTestEmailInternalServerError creates a SendTestEmailInternalServerError with default headers values
func (*SendTestEmailInternalServerError) Error ¶
func (o *SendTestEmailInternalServerError) Error() string
func (*SendTestEmailInternalServerError) GetPayload ¶
func (o *SendTestEmailInternalServerError) GetPayload() *models.ErrorResponseBody
type SendTestEmailNotFound ¶
type SendTestEmailNotFound struct {
Payload *models.ErrorResponseBody
}
SendTestEmailNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewSendTestEmailNotFound ¶
func NewSendTestEmailNotFound() *SendTestEmailNotFound
NewSendTestEmailNotFound creates a SendTestEmailNotFound with default headers values
func (*SendTestEmailNotFound) Error ¶
func (o *SendTestEmailNotFound) Error() string
func (*SendTestEmailNotFound) GetPayload ¶
func (o *SendTestEmailNotFound) GetPayload() *models.ErrorResponseBody
type SendTestEmailOK ¶
type SendTestEmailOK struct {
Payload *models.SuccessResponseBody
}
SendTestEmailOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewSendTestEmailOK ¶
func NewSendTestEmailOK() *SendTestEmailOK
NewSendTestEmailOK creates a SendTestEmailOK with default headers values
func (*SendTestEmailOK) Error ¶
func (o *SendTestEmailOK) Error() string
func (*SendTestEmailOK) GetPayload ¶
func (o *SendTestEmailOK) GetPayload() *models.SuccessResponseBody
type SendTestEmailParams ¶
type SendTestEmailParams struct { // Body. Body *models.CreateOrUpdateConfigCmd Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SendTestEmailParams contains all the parameters to send to the API endpoint
for the send test email operation. Typically these are written to a http.Request.
func NewSendTestEmailParams ¶
func NewSendTestEmailParams() *SendTestEmailParams
NewSendTestEmailParams creates a new SendTestEmailParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSendTestEmailParamsWithContext ¶
func NewSendTestEmailParamsWithContext(ctx context.Context) *SendTestEmailParams
NewSendTestEmailParamsWithContext creates a new SendTestEmailParams object with the ability to set a context for a request.
func NewSendTestEmailParamsWithHTTPClient ¶
func NewSendTestEmailParamsWithHTTPClient(client *http.Client) *SendTestEmailParams
NewSendTestEmailParamsWithHTTPClient creates a new SendTestEmailParams object with the ability to set a custom HTTPClient for a request.
func NewSendTestEmailParamsWithTimeout ¶
func NewSendTestEmailParamsWithTimeout(timeout time.Duration) *SendTestEmailParams
NewSendTestEmailParamsWithTimeout creates a new SendTestEmailParams object with the ability to set a timeout on a request.
func (*SendTestEmailParams) SetBody ¶
func (o *SendTestEmailParams) SetBody(body *models.CreateOrUpdateConfigCmd)
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 ¶
func (o *SendTestEmailParams) WithBody(body *models.CreateOrUpdateConfigCmd) *SendTestEmailParams
WithBody adds the body to the send test email params
func (*SendTestEmailParams) WithContext ¶
func (o *SendTestEmailParams) WithContext(ctx context.Context) *SendTestEmailParams
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 {
}SendTestEmailUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewSendTestEmailUnauthorized ¶
func NewSendTestEmailUnauthorized() *SendTestEmailUnauthorized
NewSendTestEmailUnauthorized creates a SendTestEmailUnauthorized with default headers values
func (*SendTestEmailUnauthorized) Error ¶
func (o *SendTestEmailUnauthorized) Error() string
func (*SendTestEmailUnauthorized) GetPayload ¶
func (o *SendTestEmailUnauthorized) GetPayload() *models.ErrorResponseBody
type UpdateReportBadRequest ¶
type UpdateReportBadRequest struct {
Payload *models.ErrorResponseBody
}
UpdateReportBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewUpdateReportBadRequest ¶
func NewUpdateReportBadRequest() *UpdateReportBadRequest
NewUpdateReportBadRequest creates a UpdateReportBadRequest with default headers values
func (*UpdateReportBadRequest) Error ¶
func (o *UpdateReportBadRequest) Error() string
func (*UpdateReportBadRequest) GetPayload ¶
func (o *UpdateReportBadRequest) GetPayload() *models.ErrorResponseBody
type UpdateReportForbidden ¶
type UpdateReportForbidden struct {
Payload *models.ErrorResponseBody
}
UpdateReportForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewUpdateReportForbidden ¶
func NewUpdateReportForbidden() *UpdateReportForbidden
NewUpdateReportForbidden creates a UpdateReportForbidden with default headers values
func (*UpdateReportForbidden) Error ¶
func (o *UpdateReportForbidden) Error() string
func (*UpdateReportForbidden) GetPayload ¶
func (o *UpdateReportForbidden) GetPayload() *models.ErrorResponseBody
type UpdateReportInternalServerError ¶
type UpdateReportInternalServerError struct {
Payload *models.ErrorResponseBody
}
UpdateReportInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewUpdateReportInternalServerError ¶
func NewUpdateReportInternalServerError() *UpdateReportInternalServerError
NewUpdateReportInternalServerError creates a UpdateReportInternalServerError with default headers values
func (*UpdateReportInternalServerError) Error ¶
func (o *UpdateReportInternalServerError) Error() string
func (*UpdateReportInternalServerError) GetPayload ¶
func (o *UpdateReportInternalServerError) GetPayload() *models.ErrorResponseBody
type UpdateReportNotFound ¶
type UpdateReportNotFound struct {
Payload *models.ErrorResponseBody
}
UpdateReportNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewUpdateReportNotFound ¶
func NewUpdateReportNotFound() *UpdateReportNotFound
NewUpdateReportNotFound creates a UpdateReportNotFound with default headers values
func (*UpdateReportNotFound) Error ¶
func (o *UpdateReportNotFound) Error() string
func (*UpdateReportNotFound) GetPayload ¶
func (o *UpdateReportNotFound) GetPayload() *models.ErrorResponseBody
type UpdateReportOK ¶
type UpdateReportOK struct {
Payload *models.SuccessResponseBody
}
UpdateReportOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewUpdateReportOK ¶
func NewUpdateReportOK() *UpdateReportOK
NewUpdateReportOK creates a UpdateReportOK with default headers values
func (*UpdateReportOK) Error ¶
func (o *UpdateReportOK) Error() string
func (*UpdateReportOK) GetPayload ¶
func (o *UpdateReportOK) GetPayload() *models.SuccessResponseBody
type UpdateReportParams ¶
type UpdateReportParams struct { // Body. Body *models.CreateOrUpdateConfigCmd // ID. // // Format: int64 ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateReportParams contains all the parameters to send to the API endpoint
for the update report operation. Typically these are written to a http.Request.
func NewUpdateReportParams ¶
func NewUpdateReportParams() *UpdateReportParams
NewUpdateReportParams creates a new UpdateReportParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateReportParamsWithContext ¶
func NewUpdateReportParamsWithContext(ctx context.Context) *UpdateReportParams
NewUpdateReportParamsWithContext creates a new UpdateReportParams object with the ability to set a context for a request.
func NewUpdateReportParamsWithHTTPClient ¶
func NewUpdateReportParamsWithHTTPClient(client *http.Client) *UpdateReportParams
NewUpdateReportParamsWithHTTPClient creates a new UpdateReportParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateReportParamsWithTimeout ¶
func NewUpdateReportParamsWithTimeout(timeout time.Duration) *UpdateReportParams
NewUpdateReportParamsWithTimeout creates a new UpdateReportParams object with the ability to set a timeout on a request.
func (*UpdateReportParams) SetBody ¶
func (o *UpdateReportParams) SetBody(body *models.CreateOrUpdateConfigCmd)
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 ¶
func (o *UpdateReportParams) WithBody(body *models.CreateOrUpdateConfigCmd) *UpdateReportParams
WithBody adds the body to the update report params
func (*UpdateReportParams) WithContext ¶
func (o *UpdateReportParams) WithContext(ctx context.Context) *UpdateReportParams
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 ¶
func (o *UpdateReportParams) WithID(id int64) *UpdateReportParams
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 {
}UpdateReportUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewUpdateReportUnauthorized ¶
func NewUpdateReportUnauthorized() *UpdateReportUnauthorized
NewUpdateReportUnauthorized creates a UpdateReportUnauthorized with default headers values
func (*UpdateReportUnauthorized) Error ¶
func (o *UpdateReportUnauthorized) Error() string
func (*UpdateReportUnauthorized) GetPayload ¶
func (o *UpdateReportUnauthorized) GetPayload() *models.ErrorResponseBody
Source Files
¶
- create_report_parameters.go
- create_report_responses.go
- delete_report_parameters.go
- delete_report_responses.go
- get_report_parameters.go
- get_report_responses.go
- get_report_settings_parameters.go
- get_report_settings_responses.go
- get_reports_parameters.go
- get_reports_responses.go
- render_report_p_d_f_parameters.go
- render_report_p_d_f_responses.go
- render_report_p_d_fs_parameters.go
- render_report_p_d_fs_responses.go
- reports_client.go
- save_report_settings_parameters.go
- save_report_settings_responses.go
- send_report_parameters.go
- send_report_responses.go
- send_test_email_parameters.go
- send_test_email_responses.go
- update_report_parameters.go
- update_report_responses.go