Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateReport(body *models.CreateOrUpdateReportConfig, opts ...ClientOption) (*CreateReportOK, error)
- func (a *Client) CreateReportWithParams(params *CreateReportParams, opts ...ClientOption) (*CreateReportOK, error)
- func (a *Client) DeleteReport(id int64, opts ...ClientOption) (*DeleteReportOK, error)
- func (a *Client) DeleteReportWithParams(params *DeleteReportParams, opts ...ClientOption) (*DeleteReportOK, error)
- func (a *Client) GetReport(id int64, opts ...ClientOption) (*GetReportOK, error)
- func (a *Client) GetReportSettings(opts ...ClientOption) (*GetReportSettingsOK, error)
- func (a *Client) GetReportSettingsWithParams(params *GetReportSettingsParams, opts ...ClientOption) (*GetReportSettingsOK, error)
- func (a *Client) GetReportWithParams(params *GetReportParams, opts ...ClientOption) (*GetReportOK, error)
- func (a *Client) GetReports(opts ...ClientOption) (*GetReportsOK, error)
- func (a *Client) GetReportsWithParams(params *GetReportsParams, opts ...ClientOption) (*GetReportsOK, error)
- func (a *Client) RenderReportPDFs(params *RenderReportPDFsParams, opts ...ClientOption) (*RenderReportPDFsOK, error)
- func (a *Client) SaveReportSettings(body *models.ReportSettings, opts ...ClientOption) (*SaveReportSettingsOK, error)
- func (a *Client) SaveReportSettingsWithParams(params *SaveReportSettingsParams, opts ...ClientOption) (*SaveReportSettingsOK, error)
- func (a *Client) SendReport(body *models.ReportEmail, opts ...ClientOption) (*SendReportOK, error)
- func (a *Client) SendReportWithParams(params *SendReportParams, opts ...ClientOption) (*SendReportOK, error)
- func (a *Client) SendTestEmail(body *models.CreateOrUpdateReportConfig, opts ...ClientOption) (*SendTestEmailOK, error)
- func (a *Client) SendTestEmailWithParams(params *SendTestEmailParams, opts ...ClientOption) (*SendTestEmailOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateReport(id int64, body *models.CreateOrUpdateReportConfig, opts ...ClientOption) (*UpdateReportOK, error)
- func (a *Client) UpdateReportWithParams(params *UpdateReportParams, opts ...ClientOption) (*UpdateReportOK, error)
- type ClientOption
- type ClientService
- type CreateReportBadRequest
- func (o *CreateReportBadRequest) Code() int
- func (o *CreateReportBadRequest) Error() string
- func (o *CreateReportBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *CreateReportBadRequest) IsClientError() bool
- func (o *CreateReportBadRequest) IsCode(code int) bool
- func (o *CreateReportBadRequest) IsRedirect() bool
- func (o *CreateReportBadRequest) IsServerError() bool
- func (o *CreateReportBadRequest) IsSuccess() bool
- func (o *CreateReportBadRequest) String() string
- type CreateReportForbidden
- func (o *CreateReportForbidden) Code() int
- func (o *CreateReportForbidden) Error() string
- func (o *CreateReportForbidden) GetPayload() *models.ErrorResponseBody
- func (o *CreateReportForbidden) IsClientError() bool
- func (o *CreateReportForbidden) IsCode(code int) bool
- func (o *CreateReportForbidden) IsRedirect() bool
- func (o *CreateReportForbidden) IsServerError() bool
- func (o *CreateReportForbidden) IsSuccess() bool
- func (o *CreateReportForbidden) String() string
- type CreateReportInternalServerError
- func (o *CreateReportInternalServerError) Code() int
- func (o *CreateReportInternalServerError) Error() string
- func (o *CreateReportInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *CreateReportInternalServerError) IsClientError() bool
- func (o *CreateReportInternalServerError) IsCode(code int) bool
- func (o *CreateReportInternalServerError) IsRedirect() bool
- func (o *CreateReportInternalServerError) IsServerError() bool
- func (o *CreateReportInternalServerError) IsSuccess() bool
- func (o *CreateReportInternalServerError) String() string
- type CreateReportNotFound
- func (o *CreateReportNotFound) Code() int
- func (o *CreateReportNotFound) Error() string
- func (o *CreateReportNotFound) GetPayload() *models.ErrorResponseBody
- func (o *CreateReportNotFound) IsClientError() bool
- func (o *CreateReportNotFound) IsCode(code int) bool
- func (o *CreateReportNotFound) IsRedirect() bool
- func (o *CreateReportNotFound) IsServerError() bool
- func (o *CreateReportNotFound) IsSuccess() bool
- func (o *CreateReportNotFound) String() string
- type CreateReportOK
- func (o *CreateReportOK) Code() int
- func (o *CreateReportOK) Error() string
- func (o *CreateReportOK) GetPayload() *models.CreateReportOKBody
- func (o *CreateReportOK) IsClientError() bool
- func (o *CreateReportOK) IsCode(code int) bool
- func (o *CreateReportOK) IsRedirect() bool
- func (o *CreateReportOK) IsServerError() bool
- func (o *CreateReportOK) IsSuccess() bool
- func (o *CreateReportOK) String() string
- type CreateReportParams
- func (o *CreateReportParams) SetBody(body *models.CreateOrUpdateReportConfig)
- 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.CreateOrUpdateReportConfig) *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
- func (o *CreateReportUnauthorized) Code() int
- func (o *CreateReportUnauthorized) Error() string
- func (o *CreateReportUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *CreateReportUnauthorized) IsClientError() bool
- func (o *CreateReportUnauthorized) IsCode(code int) bool
- func (o *CreateReportUnauthorized) IsRedirect() bool
- func (o *CreateReportUnauthorized) IsServerError() bool
- func (o *CreateReportUnauthorized) IsSuccess() bool
- func (o *CreateReportUnauthorized) String() string
- type DeleteReportBadRequest
- func (o *DeleteReportBadRequest) Code() int
- func (o *DeleteReportBadRequest) Error() string
- func (o *DeleteReportBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *DeleteReportBadRequest) IsClientError() bool
- func (o *DeleteReportBadRequest) IsCode(code int) bool
- func (o *DeleteReportBadRequest) IsRedirect() bool
- func (o *DeleteReportBadRequest) IsServerError() bool
- func (o *DeleteReportBadRequest) IsSuccess() bool
- func (o *DeleteReportBadRequest) String() string
- type DeleteReportForbidden
- func (o *DeleteReportForbidden) Code() int
- func (o *DeleteReportForbidden) Error() string
- func (o *DeleteReportForbidden) GetPayload() *models.ErrorResponseBody
- func (o *DeleteReportForbidden) IsClientError() bool
- func (o *DeleteReportForbidden) IsCode(code int) bool
- func (o *DeleteReportForbidden) IsRedirect() bool
- func (o *DeleteReportForbidden) IsServerError() bool
- func (o *DeleteReportForbidden) IsSuccess() bool
- func (o *DeleteReportForbidden) String() string
- type DeleteReportInternalServerError
- func (o *DeleteReportInternalServerError) Code() int
- func (o *DeleteReportInternalServerError) Error() string
- func (o *DeleteReportInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *DeleteReportInternalServerError) IsClientError() bool
- func (o *DeleteReportInternalServerError) IsCode(code int) bool
- func (o *DeleteReportInternalServerError) IsRedirect() bool
- func (o *DeleteReportInternalServerError) IsServerError() bool
- func (o *DeleteReportInternalServerError) IsSuccess() bool
- func (o *DeleteReportInternalServerError) String() string
- type DeleteReportNotFound
- func (o *DeleteReportNotFound) Code() int
- func (o *DeleteReportNotFound) Error() string
- func (o *DeleteReportNotFound) GetPayload() *models.ErrorResponseBody
- func (o *DeleteReportNotFound) IsClientError() bool
- func (o *DeleteReportNotFound) IsCode(code int) bool
- func (o *DeleteReportNotFound) IsRedirect() bool
- func (o *DeleteReportNotFound) IsServerError() bool
- func (o *DeleteReportNotFound) IsSuccess() bool
- func (o *DeleteReportNotFound) String() string
- type DeleteReportOK
- func (o *DeleteReportOK) Code() int
- func (o *DeleteReportOK) Error() string
- func (o *DeleteReportOK) GetPayload() *models.SuccessResponseBody
- func (o *DeleteReportOK) IsClientError() bool
- func (o *DeleteReportOK) IsCode(code int) bool
- func (o *DeleteReportOK) IsRedirect() bool
- func (o *DeleteReportOK) IsServerError() bool
- func (o *DeleteReportOK) IsSuccess() bool
- func (o *DeleteReportOK) String() string
- 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
- func (o *DeleteReportUnauthorized) Code() int
- func (o *DeleteReportUnauthorized) Error() string
- func (o *DeleteReportUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *DeleteReportUnauthorized) IsClientError() bool
- func (o *DeleteReportUnauthorized) IsCode(code int) bool
- func (o *DeleteReportUnauthorized) IsRedirect() bool
- func (o *DeleteReportUnauthorized) IsServerError() bool
- func (o *DeleteReportUnauthorized) IsSuccess() bool
- func (o *DeleteReportUnauthorized) String() string
- type GetReportBadRequest
- func (o *GetReportBadRequest) Code() int
- func (o *GetReportBadRequest) Error() string
- func (o *GetReportBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *GetReportBadRequest) IsClientError() bool
- func (o *GetReportBadRequest) IsCode(code int) bool
- func (o *GetReportBadRequest) IsRedirect() bool
- func (o *GetReportBadRequest) IsServerError() bool
- func (o *GetReportBadRequest) IsSuccess() bool
- func (o *GetReportBadRequest) String() string
- type GetReportForbidden
- func (o *GetReportForbidden) Code() int
- func (o *GetReportForbidden) Error() string
- func (o *GetReportForbidden) GetPayload() *models.ErrorResponseBody
- func (o *GetReportForbidden) IsClientError() bool
- func (o *GetReportForbidden) IsCode(code int) bool
- func (o *GetReportForbidden) IsRedirect() bool
- func (o *GetReportForbidden) IsServerError() bool
- func (o *GetReportForbidden) IsSuccess() bool
- func (o *GetReportForbidden) String() string
- type GetReportInternalServerError
- func (o *GetReportInternalServerError) Code() int
- func (o *GetReportInternalServerError) Error() string
- func (o *GetReportInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *GetReportInternalServerError) IsClientError() bool
- func (o *GetReportInternalServerError) IsCode(code int) bool
- func (o *GetReportInternalServerError) IsRedirect() bool
- func (o *GetReportInternalServerError) IsServerError() bool
- func (o *GetReportInternalServerError) IsSuccess() bool
- func (o *GetReportInternalServerError) String() string
- type GetReportNotFound
- func (o *GetReportNotFound) Code() int
- func (o *GetReportNotFound) Error() string
- func (o *GetReportNotFound) GetPayload() *models.ErrorResponseBody
- func (o *GetReportNotFound) IsClientError() bool
- func (o *GetReportNotFound) IsCode(code int) bool
- func (o *GetReportNotFound) IsRedirect() bool
- func (o *GetReportNotFound) IsServerError() bool
- func (o *GetReportNotFound) IsSuccess() bool
- func (o *GetReportNotFound) String() string
- type GetReportOK
- func (o *GetReportOK) Code() int
- func (o *GetReportOK) Error() string
- func (o *GetReportOK) GetPayload() *models.Report
- func (o *GetReportOK) IsClientError() bool
- func (o *GetReportOK) IsCode(code int) bool
- func (o *GetReportOK) IsRedirect() bool
- func (o *GetReportOK) IsServerError() bool
- func (o *GetReportOK) IsSuccess() bool
- func (o *GetReportOK) String() string
- 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
- func (o *GetReportSettingsForbidden) Code() int
- func (o *GetReportSettingsForbidden) Error() string
- func (o *GetReportSettingsForbidden) GetPayload() *models.ErrorResponseBody
- func (o *GetReportSettingsForbidden) IsClientError() bool
- func (o *GetReportSettingsForbidden) IsCode(code int) bool
- func (o *GetReportSettingsForbidden) IsRedirect() bool
- func (o *GetReportSettingsForbidden) IsServerError() bool
- func (o *GetReportSettingsForbidden) IsSuccess() bool
- func (o *GetReportSettingsForbidden) String() string
- type GetReportSettingsInternalServerError
- func (o *GetReportSettingsInternalServerError) Code() int
- func (o *GetReportSettingsInternalServerError) Error() string
- func (o *GetReportSettingsInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *GetReportSettingsInternalServerError) IsClientError() bool
- func (o *GetReportSettingsInternalServerError) IsCode(code int) bool
- func (o *GetReportSettingsInternalServerError) IsRedirect() bool
- func (o *GetReportSettingsInternalServerError) IsServerError() bool
- func (o *GetReportSettingsInternalServerError) IsSuccess() bool
- func (o *GetReportSettingsInternalServerError) String() string
- type GetReportSettingsOK
- func (o *GetReportSettingsOK) Code() int
- func (o *GetReportSettingsOK) Error() string
- func (o *GetReportSettingsOK) GetPayload() *models.ReportSettings
- func (o *GetReportSettingsOK) IsClientError() bool
- func (o *GetReportSettingsOK) IsCode(code int) bool
- func (o *GetReportSettingsOK) IsRedirect() bool
- func (o *GetReportSettingsOK) IsServerError() bool
- func (o *GetReportSettingsOK) IsSuccess() bool
- func (o *GetReportSettingsOK) String() string
- 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
- func (o *GetReportSettingsUnauthorized) Code() int
- func (o *GetReportSettingsUnauthorized) Error() string
- func (o *GetReportSettingsUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *GetReportSettingsUnauthorized) IsClientError() bool
- func (o *GetReportSettingsUnauthorized) IsCode(code int) bool
- func (o *GetReportSettingsUnauthorized) IsRedirect() bool
- func (o *GetReportSettingsUnauthorized) IsServerError() bool
- func (o *GetReportSettingsUnauthorized) IsSuccess() bool
- func (o *GetReportSettingsUnauthorized) String() string
- type GetReportUnauthorized
- func (o *GetReportUnauthorized) Code() int
- func (o *GetReportUnauthorized) Error() string
- func (o *GetReportUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *GetReportUnauthorized) IsClientError() bool
- func (o *GetReportUnauthorized) IsCode(code int) bool
- func (o *GetReportUnauthorized) IsRedirect() bool
- func (o *GetReportUnauthorized) IsServerError() bool
- func (o *GetReportUnauthorized) IsSuccess() bool
- func (o *GetReportUnauthorized) String() string
- type GetReportsForbidden
- func (o *GetReportsForbidden) Code() int
- func (o *GetReportsForbidden) Error() string
- func (o *GetReportsForbidden) GetPayload() *models.ErrorResponseBody
- func (o *GetReportsForbidden) IsClientError() bool
- func (o *GetReportsForbidden) IsCode(code int) bool
- func (o *GetReportsForbidden) IsRedirect() bool
- func (o *GetReportsForbidden) IsServerError() bool
- func (o *GetReportsForbidden) IsSuccess() bool
- func (o *GetReportsForbidden) String() string
- type GetReportsInternalServerError
- func (o *GetReportsInternalServerError) Code() int
- func (o *GetReportsInternalServerError) Error() string
- func (o *GetReportsInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *GetReportsInternalServerError) IsClientError() bool
- func (o *GetReportsInternalServerError) IsCode(code int) bool
- func (o *GetReportsInternalServerError) IsRedirect() bool
- func (o *GetReportsInternalServerError) IsServerError() bool
- func (o *GetReportsInternalServerError) IsSuccess() bool
- func (o *GetReportsInternalServerError) String() string
- type GetReportsOK
- func (o *GetReportsOK) Code() int
- func (o *GetReportsOK) Error() string
- func (o *GetReportsOK) GetPayload() []*models.Report
- func (o *GetReportsOK) IsClientError() bool
- func (o *GetReportsOK) IsCode(code int) bool
- func (o *GetReportsOK) IsRedirect() bool
- func (o *GetReportsOK) IsServerError() bool
- func (o *GetReportsOK) IsSuccess() bool
- func (o *GetReportsOK) String() string
- 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
- func (o *GetReportsUnauthorized) Code() int
- func (o *GetReportsUnauthorized) Error() string
- func (o *GetReportsUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *GetReportsUnauthorized) IsClientError() bool
- func (o *GetReportsUnauthorized) IsCode(code int) bool
- func (o *GetReportsUnauthorized) IsRedirect() bool
- func (o *GetReportsUnauthorized) IsServerError() bool
- func (o *GetReportsUnauthorized) IsSuccess() bool
- func (o *GetReportsUnauthorized) String() string
- type RenderReportPDFsBadRequest
- func (o *RenderReportPDFsBadRequest) Code() int
- func (o *RenderReportPDFsBadRequest) Error() string
- func (o *RenderReportPDFsBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *RenderReportPDFsBadRequest) IsClientError() bool
- func (o *RenderReportPDFsBadRequest) IsCode(code int) bool
- func (o *RenderReportPDFsBadRequest) IsRedirect() bool
- func (o *RenderReportPDFsBadRequest) IsServerError() bool
- func (o *RenderReportPDFsBadRequest) IsSuccess() bool
- func (o *RenderReportPDFsBadRequest) String() string
- type RenderReportPDFsInternalServerError
- func (o *RenderReportPDFsInternalServerError) Code() int
- func (o *RenderReportPDFsInternalServerError) Error() string
- func (o *RenderReportPDFsInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *RenderReportPDFsInternalServerError) IsClientError() bool
- func (o *RenderReportPDFsInternalServerError) IsCode(code int) bool
- func (o *RenderReportPDFsInternalServerError) IsRedirect() bool
- func (o *RenderReportPDFsInternalServerError) IsServerError() bool
- func (o *RenderReportPDFsInternalServerError) IsSuccess() bool
- func (o *RenderReportPDFsInternalServerError) String() string
- type RenderReportPDFsOK
- func (o *RenderReportPDFsOK) Code() int
- func (o *RenderReportPDFsOK) Error() string
- func (o *RenderReportPDFsOK) GetPayload() []uint8
- func (o *RenderReportPDFsOK) IsClientError() bool
- func (o *RenderReportPDFsOK) IsCode(code int) bool
- func (o *RenderReportPDFsOK) IsRedirect() bool
- func (o *RenderReportPDFsOK) IsServerError() bool
- func (o *RenderReportPDFsOK) IsSuccess() bool
- func (o *RenderReportPDFsOK) String() string
- 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) SetIncludeTables(includeTables *string)
- func (o *RenderReportPDFsParams) SetLayout(layout *string)
- func (o *RenderReportPDFsParams) SetOrientation(orientation *string)
- func (o *RenderReportPDFsParams) SetScaleFactor(scaleFactor *string)
- func (o *RenderReportPDFsParams) SetTimeout(timeout time.Duration)
- func (o *RenderReportPDFsParams) SetTitle(title *string)
- 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) WithIncludeTables(includeTables *string) *RenderReportPDFsParams
- func (o *RenderReportPDFsParams) WithLayout(layout *string) *RenderReportPDFsParams
- func (o *RenderReportPDFsParams) WithOrientation(orientation *string) *RenderReportPDFsParams
- func (o *RenderReportPDFsParams) WithScaleFactor(scaleFactor *string) *RenderReportPDFsParams
- func (o *RenderReportPDFsParams) WithTimeout(timeout time.Duration) *RenderReportPDFsParams
- func (o *RenderReportPDFsParams) WithTitle(title *string) *RenderReportPDFsParams
- func (o *RenderReportPDFsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RenderReportPDFsReader
- type RenderReportPDFsUnauthorized
- func (o *RenderReportPDFsUnauthorized) Code() int
- func (o *RenderReportPDFsUnauthorized) Error() string
- func (o *RenderReportPDFsUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *RenderReportPDFsUnauthorized) IsClientError() bool
- func (o *RenderReportPDFsUnauthorized) IsCode(code int) bool
- func (o *RenderReportPDFsUnauthorized) IsRedirect() bool
- func (o *RenderReportPDFsUnauthorized) IsServerError() bool
- func (o *RenderReportPDFsUnauthorized) IsSuccess() bool
- func (o *RenderReportPDFsUnauthorized) String() string
- type SaveReportSettingsBadRequest
- func (o *SaveReportSettingsBadRequest) Code() int
- func (o *SaveReportSettingsBadRequest) Error() string
- func (o *SaveReportSettingsBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *SaveReportSettingsBadRequest) IsClientError() bool
- func (o *SaveReportSettingsBadRequest) IsCode(code int) bool
- func (o *SaveReportSettingsBadRequest) IsRedirect() bool
- func (o *SaveReportSettingsBadRequest) IsServerError() bool
- func (o *SaveReportSettingsBadRequest) IsSuccess() bool
- func (o *SaveReportSettingsBadRequest) String() string
- type SaveReportSettingsForbidden
- func (o *SaveReportSettingsForbidden) Code() int
- func (o *SaveReportSettingsForbidden) Error() string
- func (o *SaveReportSettingsForbidden) GetPayload() *models.ErrorResponseBody
- func (o *SaveReportSettingsForbidden) IsClientError() bool
- func (o *SaveReportSettingsForbidden) IsCode(code int) bool
- func (o *SaveReportSettingsForbidden) IsRedirect() bool
- func (o *SaveReportSettingsForbidden) IsServerError() bool
- func (o *SaveReportSettingsForbidden) IsSuccess() bool
- func (o *SaveReportSettingsForbidden) String() string
- type SaveReportSettingsInternalServerError
- func (o *SaveReportSettingsInternalServerError) Code() int
- func (o *SaveReportSettingsInternalServerError) Error() string
- func (o *SaveReportSettingsInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *SaveReportSettingsInternalServerError) IsClientError() bool
- func (o *SaveReportSettingsInternalServerError) IsCode(code int) bool
- func (o *SaveReportSettingsInternalServerError) IsRedirect() bool
- func (o *SaveReportSettingsInternalServerError) IsServerError() bool
- func (o *SaveReportSettingsInternalServerError) IsSuccess() bool
- func (o *SaveReportSettingsInternalServerError) String() string
- type SaveReportSettingsOK
- func (o *SaveReportSettingsOK) Code() int
- func (o *SaveReportSettingsOK) Error() string
- func (o *SaveReportSettingsOK) GetPayload() *models.SuccessResponseBody
- func (o *SaveReportSettingsOK) IsClientError() bool
- func (o *SaveReportSettingsOK) IsCode(code int) bool
- func (o *SaveReportSettingsOK) IsRedirect() bool
- func (o *SaveReportSettingsOK) IsServerError() bool
- func (o *SaveReportSettingsOK) IsSuccess() bool
- func (o *SaveReportSettingsOK) String() string
- 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.ReportSettings)
- 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.ReportSettings) *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
- func (o *SaveReportSettingsUnauthorized) Code() int
- func (o *SaveReportSettingsUnauthorized) Error() string
- func (o *SaveReportSettingsUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *SaveReportSettingsUnauthorized) IsClientError() bool
- func (o *SaveReportSettingsUnauthorized) IsCode(code int) bool
- func (o *SaveReportSettingsUnauthorized) IsRedirect() bool
- func (o *SaveReportSettingsUnauthorized) IsServerError() bool
- func (o *SaveReportSettingsUnauthorized) IsSuccess() bool
- func (o *SaveReportSettingsUnauthorized) String() string
- type SendReportBadRequest
- func (o *SendReportBadRequest) Code() int
- func (o *SendReportBadRequest) Error() string
- func (o *SendReportBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *SendReportBadRequest) IsClientError() bool
- func (o *SendReportBadRequest) IsCode(code int) bool
- func (o *SendReportBadRequest) IsRedirect() bool
- func (o *SendReportBadRequest) IsServerError() bool
- func (o *SendReportBadRequest) IsSuccess() bool
- func (o *SendReportBadRequest) String() string
- type SendReportForbidden
- func (o *SendReportForbidden) Code() int
- func (o *SendReportForbidden) Error() string
- func (o *SendReportForbidden) GetPayload() *models.ErrorResponseBody
- func (o *SendReportForbidden) IsClientError() bool
- func (o *SendReportForbidden) IsCode(code int) bool
- func (o *SendReportForbidden) IsRedirect() bool
- func (o *SendReportForbidden) IsServerError() bool
- func (o *SendReportForbidden) IsSuccess() bool
- func (o *SendReportForbidden) String() string
- type SendReportInternalServerError
- func (o *SendReportInternalServerError) Code() int
- func (o *SendReportInternalServerError) Error() string
- func (o *SendReportInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *SendReportInternalServerError) IsClientError() bool
- func (o *SendReportInternalServerError) IsCode(code int) bool
- func (o *SendReportInternalServerError) IsRedirect() bool
- func (o *SendReportInternalServerError) IsServerError() bool
- func (o *SendReportInternalServerError) IsSuccess() bool
- func (o *SendReportInternalServerError) String() string
- type SendReportNotFound
- func (o *SendReportNotFound) Code() int
- func (o *SendReportNotFound) Error() string
- func (o *SendReportNotFound) GetPayload() *models.ErrorResponseBody
- func (o *SendReportNotFound) IsClientError() bool
- func (o *SendReportNotFound) IsCode(code int) bool
- func (o *SendReportNotFound) IsRedirect() bool
- func (o *SendReportNotFound) IsServerError() bool
- func (o *SendReportNotFound) IsSuccess() bool
- func (o *SendReportNotFound) String() string
- type SendReportOK
- func (o *SendReportOK) Code() int
- func (o *SendReportOK) Error() string
- func (o *SendReportOK) GetPayload() *models.SuccessResponseBody
- func (o *SendReportOK) IsClientError() bool
- func (o *SendReportOK) IsCode(code int) bool
- func (o *SendReportOK) IsRedirect() bool
- func (o *SendReportOK) IsServerError() bool
- func (o *SendReportOK) IsSuccess() bool
- func (o *SendReportOK) String() string
- type SendReportParams
- func (o *SendReportParams) SetBody(body *models.ReportEmail)
- 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.ReportEmail) *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
- func (o *SendReportUnauthorized) Code() int
- func (o *SendReportUnauthorized) Error() string
- func (o *SendReportUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *SendReportUnauthorized) IsClientError() bool
- func (o *SendReportUnauthorized) IsCode(code int) bool
- func (o *SendReportUnauthorized) IsRedirect() bool
- func (o *SendReportUnauthorized) IsServerError() bool
- func (o *SendReportUnauthorized) IsSuccess() bool
- func (o *SendReportUnauthorized) String() string
- type SendTestEmailBadRequest
- func (o *SendTestEmailBadRequest) Code() int
- func (o *SendTestEmailBadRequest) Error() string
- func (o *SendTestEmailBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *SendTestEmailBadRequest) IsClientError() bool
- func (o *SendTestEmailBadRequest) IsCode(code int) bool
- func (o *SendTestEmailBadRequest) IsRedirect() bool
- func (o *SendTestEmailBadRequest) IsServerError() bool
- func (o *SendTestEmailBadRequest) IsSuccess() bool
- func (o *SendTestEmailBadRequest) String() string
- type SendTestEmailForbidden
- func (o *SendTestEmailForbidden) Code() int
- func (o *SendTestEmailForbidden) Error() string
- func (o *SendTestEmailForbidden) GetPayload() *models.ErrorResponseBody
- func (o *SendTestEmailForbidden) IsClientError() bool
- func (o *SendTestEmailForbidden) IsCode(code int) bool
- func (o *SendTestEmailForbidden) IsRedirect() bool
- func (o *SendTestEmailForbidden) IsServerError() bool
- func (o *SendTestEmailForbidden) IsSuccess() bool
- func (o *SendTestEmailForbidden) String() string
- type SendTestEmailInternalServerError
- func (o *SendTestEmailInternalServerError) Code() int
- func (o *SendTestEmailInternalServerError) Error() string
- func (o *SendTestEmailInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *SendTestEmailInternalServerError) IsClientError() bool
- func (o *SendTestEmailInternalServerError) IsCode(code int) bool
- func (o *SendTestEmailInternalServerError) IsRedirect() bool
- func (o *SendTestEmailInternalServerError) IsServerError() bool
- func (o *SendTestEmailInternalServerError) IsSuccess() bool
- func (o *SendTestEmailInternalServerError) String() string
- type SendTestEmailNotFound
- func (o *SendTestEmailNotFound) Code() int
- func (o *SendTestEmailNotFound) Error() string
- func (o *SendTestEmailNotFound) GetPayload() *models.ErrorResponseBody
- func (o *SendTestEmailNotFound) IsClientError() bool
- func (o *SendTestEmailNotFound) IsCode(code int) bool
- func (o *SendTestEmailNotFound) IsRedirect() bool
- func (o *SendTestEmailNotFound) IsServerError() bool
- func (o *SendTestEmailNotFound) IsSuccess() bool
- func (o *SendTestEmailNotFound) String() string
- type SendTestEmailOK
- func (o *SendTestEmailOK) Code() int
- func (o *SendTestEmailOK) Error() string
- func (o *SendTestEmailOK) GetPayload() *models.SuccessResponseBody
- func (o *SendTestEmailOK) IsClientError() bool
- func (o *SendTestEmailOK) IsCode(code int) bool
- func (o *SendTestEmailOK) IsRedirect() bool
- func (o *SendTestEmailOK) IsServerError() bool
- func (o *SendTestEmailOK) IsSuccess() bool
- func (o *SendTestEmailOK) String() string
- type SendTestEmailParams
- func (o *SendTestEmailParams) SetBody(body *models.CreateOrUpdateReportConfig)
- 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.CreateOrUpdateReportConfig) *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
- func (o *SendTestEmailUnauthorized) Code() int
- func (o *SendTestEmailUnauthorized) Error() string
- func (o *SendTestEmailUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *SendTestEmailUnauthorized) IsClientError() bool
- func (o *SendTestEmailUnauthorized) IsCode(code int) bool
- func (o *SendTestEmailUnauthorized) IsRedirect() bool
- func (o *SendTestEmailUnauthorized) IsServerError() bool
- func (o *SendTestEmailUnauthorized) IsSuccess() bool
- func (o *SendTestEmailUnauthorized) String() string
- type UpdateReportBadRequest
- func (o *UpdateReportBadRequest) Code() int
- func (o *UpdateReportBadRequest) Error() string
- func (o *UpdateReportBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *UpdateReportBadRequest) IsClientError() bool
- func (o *UpdateReportBadRequest) IsCode(code int) bool
- func (o *UpdateReportBadRequest) IsRedirect() bool
- func (o *UpdateReportBadRequest) IsServerError() bool
- func (o *UpdateReportBadRequest) IsSuccess() bool
- func (o *UpdateReportBadRequest) String() string
- type UpdateReportForbidden
- func (o *UpdateReportForbidden) Code() int
- func (o *UpdateReportForbidden) Error() string
- func (o *UpdateReportForbidden) GetPayload() *models.ErrorResponseBody
- func (o *UpdateReportForbidden) IsClientError() bool
- func (o *UpdateReportForbidden) IsCode(code int) bool
- func (o *UpdateReportForbidden) IsRedirect() bool
- func (o *UpdateReportForbidden) IsServerError() bool
- func (o *UpdateReportForbidden) IsSuccess() bool
- func (o *UpdateReportForbidden) String() string
- type UpdateReportInternalServerError
- func (o *UpdateReportInternalServerError) Code() int
- func (o *UpdateReportInternalServerError) Error() string
- func (o *UpdateReportInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *UpdateReportInternalServerError) IsClientError() bool
- func (o *UpdateReportInternalServerError) IsCode(code int) bool
- func (o *UpdateReportInternalServerError) IsRedirect() bool
- func (o *UpdateReportInternalServerError) IsServerError() bool
- func (o *UpdateReportInternalServerError) IsSuccess() bool
- func (o *UpdateReportInternalServerError) String() string
- type UpdateReportNotFound
- func (o *UpdateReportNotFound) Code() int
- func (o *UpdateReportNotFound) Error() string
- func (o *UpdateReportNotFound) GetPayload() *models.ErrorResponseBody
- func (o *UpdateReportNotFound) IsClientError() bool
- func (o *UpdateReportNotFound) IsCode(code int) bool
- func (o *UpdateReportNotFound) IsRedirect() bool
- func (o *UpdateReportNotFound) IsServerError() bool
- func (o *UpdateReportNotFound) IsSuccess() bool
- func (o *UpdateReportNotFound) String() string
- type UpdateReportOK
- func (o *UpdateReportOK) Code() int
- func (o *UpdateReportOK) Error() string
- func (o *UpdateReportOK) GetPayload() *models.SuccessResponseBody
- func (o *UpdateReportOK) IsClientError() bool
- func (o *UpdateReportOK) IsCode(code int) bool
- func (o *UpdateReportOK) IsRedirect() bool
- func (o *UpdateReportOK) IsServerError() bool
- func (o *UpdateReportOK) IsSuccess() bool
- func (o *UpdateReportOK) String() string
- type UpdateReportParams
- func (o *UpdateReportParams) SetBody(body *models.CreateOrUpdateReportConfig)
- 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.CreateOrUpdateReportConfig) *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
- func (o *UpdateReportUnauthorized) Code() int
- func (o *UpdateReportUnauthorized) Error() string
- func (o *UpdateReportUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *UpdateReportUnauthorized) IsClientError() bool
- func (o *UpdateReportUnauthorized) IsCode(code int) bool
- func (o *UpdateReportUnauthorized) IsRedirect() bool
- func (o *UpdateReportUnauthorized) IsServerError() bool
- func (o *UpdateReportUnauthorized) IsSuccess() bool
- func (o *UpdateReportUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for reports API
func (*Client) CreateReport ¶
func (a *Client) CreateReport(body *models.CreateOrUpdateReportConfig, opts ...ClientOption) (*CreateReportOK, error)
CreateReport creates a report
Available to org admins only and with a valid license.
You need to have a permission with action `reports.admin:create`.
func (*Client) CreateReportWithParams ¶
func (a *Client) CreateReportWithParams(params *CreateReportParams, opts ...ClientOption) (*CreateReportOK, error)
func (*Client) DeleteReport ¶
func (a *Client) DeleteReport(id int64, opts ...ClientOption) (*DeleteReportOK, error)
DeleteReport deletes a report
Available to org admins only and with a valid or expired license.
You need to have a permission with action `reports.delete` with scope `reports:id:<report ID>`.
func (*Client) DeleteReportWithParams ¶
func (a *Client) DeleteReportWithParams(params *DeleteReportParams, opts ...ClientOption) (*DeleteReportOK, error)
func (*Client) GetReport ¶
func (a *Client) GetReport(id int64, opts ...ClientOption) (*GetReportOK, error)
GetReport gets a report
Available to org admins only and with a valid or expired license.
You need to have a permission with action `reports:read` with scope `reports:id:<report ID>`.
func (*Client) GetReportSettings ¶
func (a *Client) GetReportSettings(opts ...ClientOption) (*GetReportSettingsOK, error)
GetReportSettings gets settings
Available to org admins only and with a valid or expired license.
You need to have a permission with action `reports.settings:read`x.
func (*Client) GetReportSettingsWithParams ¶
func (a *Client) GetReportSettingsWithParams(params *GetReportSettingsParams, opts ...ClientOption) (*GetReportSettingsOK, error)
func (*Client) GetReportWithParams ¶
func (a *Client) GetReportWithParams(params *GetReportParams, opts ...ClientOption) (*GetReportOK, error)
func (*Client) GetReports ¶
func (a *Client) GetReports(opts ...ClientOption) (*GetReportsOK, error)
GetReports lists reports
Available to org admins only and with a valid or expired license.
You need to have a permission with action `reports:read` with scope `reports:*`.
func (*Client) GetReportsWithParams ¶
func (a *Client) GetReportsWithParams(params *GetReportsParams, opts ...ClientOption) (*GetReportsOK, error)
func (*Client) RenderReportPDFs ¶
func (a *Client) RenderReportPDFs(params *RenderReportPDFsParams, opts ...ClientOption) (*RenderReportPDFsOK, error)
func (*Client) SaveReportSettings ¶
func (a *Client) SaveReportSettings(body *models.ReportSettings, opts ...ClientOption) (*SaveReportSettingsOK, error)
SaveReportSettings saves settings
Available to org admins only and with a valid or expired license.
You need to have a permission with action `reports.settings:write`xx.
func (*Client) SaveReportSettingsWithParams ¶
func (a *Client) SaveReportSettingsWithParams(params *SaveReportSettingsParams, opts ...ClientOption) (*SaveReportSettingsOK, error)
func (*Client) SendReport ¶
func (a *Client) SendReport(body *models.ReportEmail, opts ...ClientOption) (*SendReportOK, error)
SendReport sends a report
Generate and send a report. This API waits for the report to be generated before returning. We recommend that you set the client’s timeout to at least 60 seconds. Available to org admins only and with a valid license.
Only available in Grafana Enterprise v7.0+. This API endpoint is experimental and may be deprecated in a future release. On deprecation, a migration strategy will be provided and the endpoint will remain functional until the next major release of Grafana.
You need to have a permission with action `reports:send`.
func (*Client) SendReportWithParams ¶
func (a *Client) SendReportWithParams(params *SendReportParams, opts ...ClientOption) (*SendReportOK, error)
func (*Client) SendTestEmail ¶
func (a *Client) SendTestEmail(body *models.CreateOrUpdateReportConfig, opts ...ClientOption) (*SendTestEmailOK, error)
SendTestEmail sends test report via email
Available to org admins only and with a valid license.
You need to have a permission with action `reports:send`.
func (*Client) SendTestEmailWithParams ¶
func (a *Client) SendTestEmailWithParams(params *SendTestEmailParams, opts ...ClientOption) (*SendTestEmailOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateReport ¶
func (a *Client) UpdateReport(id int64, body *models.CreateOrUpdateReportConfig, opts ...ClientOption) (*UpdateReportOK, error)
UpdateReport updates a report
Available to org admins only and with a valid or expired license.
You need to have a permission with action `reports.admin:write` with scope `reports:id:<report ID>`.
func (*Client) UpdateReportWithParams ¶
func (a *Client) UpdateReportWithParams(params *UpdateReportParams, opts ...ClientOption) (*UpdateReportOK, error)
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
func WithAuthInfo ¶
func WithAuthInfo(authInfo runtime.ClientAuthInfoWriter) ClientOption
WithAuthInfo changes the transport on the client
type ClientService ¶
type ClientService interface { CreateReport(body *models.CreateOrUpdateReportConfig, opts ...ClientOption) (*CreateReportOK, error) CreateReportWithParams(params *CreateReportParams, opts ...ClientOption) (*CreateReportOK, error) DeleteReport(id int64, opts ...ClientOption) (*DeleteReportOK, error) DeleteReportWithParams(params *DeleteReportParams, opts ...ClientOption) (*DeleteReportOK, error) GetReport(id int64, opts ...ClientOption) (*GetReportOK, error) GetReportWithParams(params *GetReportParams, opts ...ClientOption) (*GetReportOK, error) GetReportSettings(opts ...ClientOption) (*GetReportSettingsOK, error) GetReportSettingsWithParams(params *GetReportSettingsParams, opts ...ClientOption) (*GetReportSettingsOK, error) GetReports(opts ...ClientOption) (*GetReportsOK, error) GetReportsWithParams(params *GetReportsParams, opts ...ClientOption) (*GetReportsOK, error) RenderReportPDFs(params *RenderReportPDFsParams, opts ...ClientOption) (*RenderReportPDFsOK, error) SaveReportSettings(body *models.ReportSettings, opts ...ClientOption) (*SaveReportSettingsOK, error) SaveReportSettingsWithParams(params *SaveReportSettingsParams, opts ...ClientOption) (*SaveReportSettingsOK, error) SendReport(body *models.ReportEmail, opts ...ClientOption) (*SendReportOK, error) SendReportWithParams(params *SendReportParams, opts ...ClientOption) (*SendReportOK, error) SendTestEmail(body *models.CreateOrUpdateReportConfig, opts ...ClientOption) (*SendTestEmailOK, error) SendTestEmailWithParams(params *SendTestEmailParams, opts ...ClientOption) (*SendTestEmailOK, error) UpdateReport(id int64, body *models.CreateOrUpdateReportConfig, opts ...ClientOption) (*UpdateReportOK, error) UpdateReportWithParams(params *UpdateReportParams, opts ...ClientOption) (*UpdateReportOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new reports API client.
type CreateReportBadRequest ¶
type CreateReportBadRequest struct {
Payload *models.ErrorResponseBody
}
CreateReportBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewCreateReportBadRequest ¶
func NewCreateReportBadRequest() *CreateReportBadRequest
NewCreateReportBadRequest creates a CreateReportBadRequest with default headers values
func (*CreateReportBadRequest) Code ¶
func (o *CreateReportBadRequest) Code() int
Code gets the status code for the create report bad request response
func (*CreateReportBadRequest) Error ¶
func (o *CreateReportBadRequest) Error() string
func (*CreateReportBadRequest) GetPayload ¶
func (o *CreateReportBadRequest) GetPayload() *models.ErrorResponseBody
func (*CreateReportBadRequest) IsClientError ¶
func (o *CreateReportBadRequest) IsClientError() bool
IsClientError returns true when this create report bad request response has a 4xx status code
func (*CreateReportBadRequest) IsCode ¶
func (o *CreateReportBadRequest) IsCode(code int) bool
IsCode returns true when this create report bad request response a status code equal to that given
func (*CreateReportBadRequest) IsRedirect ¶
func (o *CreateReportBadRequest) IsRedirect() bool
IsRedirect returns true when this create report bad request response has a 3xx status code
func (*CreateReportBadRequest) IsServerError ¶
func (o *CreateReportBadRequest) IsServerError() bool
IsServerError returns true when this create report bad request response has a 5xx status code
func (*CreateReportBadRequest) IsSuccess ¶
func (o *CreateReportBadRequest) IsSuccess() bool
IsSuccess returns true when this create report bad request response has a 2xx status code
func (*CreateReportBadRequest) String ¶
func (o *CreateReportBadRequest) String() string
type CreateReportForbidden ¶
type CreateReportForbidden struct {
Payload *models.ErrorResponseBody
}
CreateReportForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewCreateReportForbidden ¶
func NewCreateReportForbidden() *CreateReportForbidden
NewCreateReportForbidden creates a CreateReportForbidden with default headers values
func (*CreateReportForbidden) Code ¶
func (o *CreateReportForbidden) Code() int
Code gets the status code for the create report forbidden response
func (*CreateReportForbidden) Error ¶
func (o *CreateReportForbidden) Error() string
func (*CreateReportForbidden) GetPayload ¶
func (o *CreateReportForbidden) GetPayload() *models.ErrorResponseBody
func (*CreateReportForbidden) IsClientError ¶
func (o *CreateReportForbidden) IsClientError() bool
IsClientError returns true when this create report forbidden response has a 4xx status code
func (*CreateReportForbidden) IsCode ¶
func (o *CreateReportForbidden) IsCode(code int) bool
IsCode returns true when this create report forbidden response a status code equal to that given
func (*CreateReportForbidden) IsRedirect ¶
func (o *CreateReportForbidden) IsRedirect() bool
IsRedirect returns true when this create report forbidden response has a 3xx status code
func (*CreateReportForbidden) IsServerError ¶
func (o *CreateReportForbidden) IsServerError() bool
IsServerError returns true when this create report forbidden response has a 5xx status code
func (*CreateReportForbidden) IsSuccess ¶
func (o *CreateReportForbidden) IsSuccess() bool
IsSuccess returns true when this create report forbidden response has a 2xx status code
func (*CreateReportForbidden) String ¶
func (o *CreateReportForbidden) String() string
type CreateReportInternalServerError ¶
type CreateReportInternalServerError struct {
Payload *models.ErrorResponseBody
}
CreateReportInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewCreateReportInternalServerError ¶
func NewCreateReportInternalServerError() *CreateReportInternalServerError
NewCreateReportInternalServerError creates a CreateReportInternalServerError with default headers values
func (*CreateReportInternalServerError) Code ¶
func (o *CreateReportInternalServerError) Code() int
Code gets the status code for the create report internal server error response
func (*CreateReportInternalServerError) Error ¶
func (o *CreateReportInternalServerError) Error() string
func (*CreateReportInternalServerError) GetPayload ¶
func (o *CreateReportInternalServerError) GetPayload() *models.ErrorResponseBody
func (*CreateReportInternalServerError) IsClientError ¶
func (o *CreateReportInternalServerError) IsClientError() bool
IsClientError returns true when this create report internal server error response has a 4xx status code
func (*CreateReportInternalServerError) IsCode ¶
func (o *CreateReportInternalServerError) IsCode(code int) bool
IsCode returns true when this create report internal server error response a status code equal to that given
func (*CreateReportInternalServerError) IsRedirect ¶
func (o *CreateReportInternalServerError) IsRedirect() bool
IsRedirect returns true when this create report internal server error response has a 3xx status code
func (*CreateReportInternalServerError) IsServerError ¶
func (o *CreateReportInternalServerError) IsServerError() bool
IsServerError returns true when this create report internal server error response has a 5xx status code
func (*CreateReportInternalServerError) IsSuccess ¶
func (o *CreateReportInternalServerError) IsSuccess() bool
IsSuccess returns true when this create report internal server error response has a 2xx status code
func (*CreateReportInternalServerError) String ¶
func (o *CreateReportInternalServerError) String() string
type CreateReportNotFound ¶
type CreateReportNotFound struct {
Payload *models.ErrorResponseBody
}
CreateReportNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewCreateReportNotFound ¶
func NewCreateReportNotFound() *CreateReportNotFound
NewCreateReportNotFound creates a CreateReportNotFound with default headers values
func (*CreateReportNotFound) Code ¶
func (o *CreateReportNotFound) Code() int
Code gets the status code for the create report not found response
func (*CreateReportNotFound) Error ¶
func (o *CreateReportNotFound) Error() string
func (*CreateReportNotFound) GetPayload ¶
func (o *CreateReportNotFound) GetPayload() *models.ErrorResponseBody
func (*CreateReportNotFound) IsClientError ¶
func (o *CreateReportNotFound) IsClientError() bool
IsClientError returns true when this create report not found response has a 4xx status code
func (*CreateReportNotFound) IsCode ¶
func (o *CreateReportNotFound) IsCode(code int) bool
IsCode returns true when this create report not found response a status code equal to that given
func (*CreateReportNotFound) IsRedirect ¶
func (o *CreateReportNotFound) IsRedirect() bool
IsRedirect returns true when this create report not found response has a 3xx status code
func (*CreateReportNotFound) IsServerError ¶
func (o *CreateReportNotFound) IsServerError() bool
IsServerError returns true when this create report not found response has a 5xx status code
func (*CreateReportNotFound) IsSuccess ¶
func (o *CreateReportNotFound) IsSuccess() bool
IsSuccess returns true when this create report not found response has a 2xx status code
func (*CreateReportNotFound) String ¶
func (o *CreateReportNotFound) String() string
type CreateReportOK ¶
type CreateReportOK struct {
Payload *models.CreateReportOKBody
}
CreateReportOK describes a response with status code 200, with default header values.
(empty)
func NewCreateReportOK ¶
func NewCreateReportOK() *CreateReportOK
NewCreateReportOK creates a CreateReportOK with default headers values
func (*CreateReportOK) Code ¶
func (o *CreateReportOK) Code() int
Code gets the status code for the create report Ok response
func (*CreateReportOK) Error ¶
func (o *CreateReportOK) Error() string
func (*CreateReportOK) GetPayload ¶
func (o *CreateReportOK) GetPayload() *models.CreateReportOKBody
func (*CreateReportOK) IsClientError ¶
func (o *CreateReportOK) IsClientError() bool
IsClientError returns true when this create report Ok response has a 4xx status code
func (*CreateReportOK) IsCode ¶
func (o *CreateReportOK) IsCode(code int) bool
IsCode returns true when this create report Ok response a status code equal to that given
func (*CreateReportOK) IsRedirect ¶
func (o *CreateReportOK) IsRedirect() bool
IsRedirect returns true when this create report Ok response has a 3xx status code
func (*CreateReportOK) IsServerError ¶
func (o *CreateReportOK) IsServerError() bool
IsServerError returns true when this create report Ok response has a 5xx status code
func (*CreateReportOK) IsSuccess ¶
func (o *CreateReportOK) IsSuccess() bool
IsSuccess returns true when this create report Ok response has a 2xx status code
func (*CreateReportOK) String ¶
func (o *CreateReportOK) String() string
type CreateReportParams ¶
type CreateReportParams struct { // Body. Body *models.CreateOrUpdateReportConfig Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateReportParams contains all the parameters to send to the API endpoint
for the create report operation. Typically these are written to a http.Request.
func NewCreateReportParams ¶
func NewCreateReportParams() *CreateReportParams
NewCreateReportParams creates a new CreateReportParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateReportParamsWithContext ¶
func NewCreateReportParamsWithContext(ctx context.Context) *CreateReportParams
NewCreateReportParamsWithContext creates a new CreateReportParams object with the ability to set a context for a request.
func NewCreateReportParamsWithHTTPClient ¶
func NewCreateReportParamsWithHTTPClient(client *http.Client) *CreateReportParams
NewCreateReportParamsWithHTTPClient creates a new CreateReportParams object with the ability to set a custom HTTPClient for a request.
func NewCreateReportParamsWithTimeout ¶
func NewCreateReportParamsWithTimeout(timeout time.Duration) *CreateReportParams
NewCreateReportParamsWithTimeout creates a new CreateReportParams object with the ability to set a timeout on a request.
func (*CreateReportParams) SetBody ¶
func (o *CreateReportParams) SetBody(body *models.CreateOrUpdateReportConfig)
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.CreateOrUpdateReportConfig) *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) Code ¶
func (o *CreateReportUnauthorized) Code() int
Code gets the status code for the create report unauthorized response
func (*CreateReportUnauthorized) Error ¶
func (o *CreateReportUnauthorized) Error() string
func (*CreateReportUnauthorized) GetPayload ¶
func (o *CreateReportUnauthorized) GetPayload() *models.ErrorResponseBody
func (*CreateReportUnauthorized) IsClientError ¶
func (o *CreateReportUnauthorized) IsClientError() bool
IsClientError returns true when this create report unauthorized response has a 4xx status code
func (*CreateReportUnauthorized) IsCode ¶
func (o *CreateReportUnauthorized) IsCode(code int) bool
IsCode returns true when this create report unauthorized response a status code equal to that given
func (*CreateReportUnauthorized) IsRedirect ¶
func (o *CreateReportUnauthorized) IsRedirect() bool
IsRedirect returns true when this create report unauthorized response has a 3xx status code
func (*CreateReportUnauthorized) IsServerError ¶
func (o *CreateReportUnauthorized) IsServerError() bool
IsServerError returns true when this create report unauthorized response has a 5xx status code
func (*CreateReportUnauthorized) IsSuccess ¶
func (o *CreateReportUnauthorized) IsSuccess() bool
IsSuccess returns true when this create report unauthorized response has a 2xx status code
func (*CreateReportUnauthorized) String ¶
func (o *CreateReportUnauthorized) String() string
type DeleteReportBadRequest ¶
type DeleteReportBadRequest struct {
Payload *models.ErrorResponseBody
}
DeleteReportBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewDeleteReportBadRequest ¶
func NewDeleteReportBadRequest() *DeleteReportBadRequest
NewDeleteReportBadRequest creates a DeleteReportBadRequest with default headers values
func (*DeleteReportBadRequest) Code ¶
func (o *DeleteReportBadRequest) Code() int
Code gets the status code for the delete report bad request response
func (*DeleteReportBadRequest) Error ¶
func (o *DeleteReportBadRequest) Error() string
func (*DeleteReportBadRequest) GetPayload ¶
func (o *DeleteReportBadRequest) GetPayload() *models.ErrorResponseBody
func (*DeleteReportBadRequest) IsClientError ¶
func (o *DeleteReportBadRequest) IsClientError() bool
IsClientError returns true when this delete report bad request response has a 4xx status code
func (*DeleteReportBadRequest) IsCode ¶
func (o *DeleteReportBadRequest) IsCode(code int) bool
IsCode returns true when this delete report bad request response a status code equal to that given
func (*DeleteReportBadRequest) IsRedirect ¶
func (o *DeleteReportBadRequest) IsRedirect() bool
IsRedirect returns true when this delete report bad request response has a 3xx status code
func (*DeleteReportBadRequest) IsServerError ¶
func (o *DeleteReportBadRequest) IsServerError() bool
IsServerError returns true when this delete report bad request response has a 5xx status code
func (*DeleteReportBadRequest) IsSuccess ¶
func (o *DeleteReportBadRequest) IsSuccess() bool
IsSuccess returns true when this delete report bad request response has a 2xx status code
func (*DeleteReportBadRequest) String ¶
func (o *DeleteReportBadRequest) String() string
type DeleteReportForbidden ¶
type DeleteReportForbidden struct {
Payload *models.ErrorResponseBody
}
DeleteReportForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewDeleteReportForbidden ¶
func NewDeleteReportForbidden() *DeleteReportForbidden
NewDeleteReportForbidden creates a DeleteReportForbidden with default headers values
func (*DeleteReportForbidden) Code ¶
func (o *DeleteReportForbidden) Code() int
Code gets the status code for the delete report forbidden response
func (*DeleteReportForbidden) Error ¶
func (o *DeleteReportForbidden) Error() string
func (*DeleteReportForbidden) GetPayload ¶
func (o *DeleteReportForbidden) GetPayload() *models.ErrorResponseBody
func (*DeleteReportForbidden) IsClientError ¶
func (o *DeleteReportForbidden) IsClientError() bool
IsClientError returns true when this delete report forbidden response has a 4xx status code
func (*DeleteReportForbidden) IsCode ¶
func (o *DeleteReportForbidden) IsCode(code int) bool
IsCode returns true when this delete report forbidden response a status code equal to that given
func (*DeleteReportForbidden) IsRedirect ¶
func (o *DeleteReportForbidden) IsRedirect() bool
IsRedirect returns true when this delete report forbidden response has a 3xx status code
func (*DeleteReportForbidden) IsServerError ¶
func (o *DeleteReportForbidden) IsServerError() bool
IsServerError returns true when this delete report forbidden response has a 5xx status code
func (*DeleteReportForbidden) IsSuccess ¶
func (o *DeleteReportForbidden) IsSuccess() bool
IsSuccess returns true when this delete report forbidden response has a 2xx status code
func (*DeleteReportForbidden) String ¶
func (o *DeleteReportForbidden) String() string
type DeleteReportInternalServerError ¶
type DeleteReportInternalServerError struct {
Payload *models.ErrorResponseBody
}
DeleteReportInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewDeleteReportInternalServerError ¶
func NewDeleteReportInternalServerError() *DeleteReportInternalServerError
NewDeleteReportInternalServerError creates a DeleteReportInternalServerError with default headers values
func (*DeleteReportInternalServerError) Code ¶
func (o *DeleteReportInternalServerError) Code() int
Code gets the status code for the delete report internal server error response
func (*DeleteReportInternalServerError) Error ¶
func (o *DeleteReportInternalServerError) Error() string
func (*DeleteReportInternalServerError) GetPayload ¶
func (o *DeleteReportInternalServerError) GetPayload() *models.ErrorResponseBody
func (*DeleteReportInternalServerError) IsClientError ¶
func (o *DeleteReportInternalServerError) IsClientError() bool
IsClientError returns true when this delete report internal server error response has a 4xx status code
func (*DeleteReportInternalServerError) IsCode ¶
func (o *DeleteReportInternalServerError) IsCode(code int) bool
IsCode returns true when this delete report internal server error response a status code equal to that given
func (*DeleteReportInternalServerError) IsRedirect ¶
func (o *DeleteReportInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete report internal server error response has a 3xx status code
func (*DeleteReportInternalServerError) IsServerError ¶
func (o *DeleteReportInternalServerError) IsServerError() bool
IsServerError returns true when this delete report internal server error response has a 5xx status code
func (*DeleteReportInternalServerError) IsSuccess ¶
func (o *DeleteReportInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete report internal server error response has a 2xx status code
func (*DeleteReportInternalServerError) String ¶
func (o *DeleteReportInternalServerError) String() string
type DeleteReportNotFound ¶
type DeleteReportNotFound struct {
Payload *models.ErrorResponseBody
}
DeleteReportNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewDeleteReportNotFound ¶
func NewDeleteReportNotFound() *DeleteReportNotFound
NewDeleteReportNotFound creates a DeleteReportNotFound with default headers values
func (*DeleteReportNotFound) Code ¶
func (o *DeleteReportNotFound) Code() int
Code gets the status code for the delete report not found response
func (*DeleteReportNotFound) Error ¶
func (o *DeleteReportNotFound) Error() string
func (*DeleteReportNotFound) GetPayload ¶
func (o *DeleteReportNotFound) GetPayload() *models.ErrorResponseBody
func (*DeleteReportNotFound) IsClientError ¶
func (o *DeleteReportNotFound) IsClientError() bool
IsClientError returns true when this delete report not found response has a 4xx status code
func (*DeleteReportNotFound) IsCode ¶
func (o *DeleteReportNotFound) IsCode(code int) bool
IsCode returns true when this delete report not found response a status code equal to that given
func (*DeleteReportNotFound) IsRedirect ¶
func (o *DeleteReportNotFound) IsRedirect() bool
IsRedirect returns true when this delete report not found response has a 3xx status code
func (*DeleteReportNotFound) IsServerError ¶
func (o *DeleteReportNotFound) IsServerError() bool
IsServerError returns true when this delete report not found response has a 5xx status code
func (*DeleteReportNotFound) IsSuccess ¶
func (o *DeleteReportNotFound) IsSuccess() bool
IsSuccess returns true when this delete report not found response has a 2xx status code
func (*DeleteReportNotFound) String ¶
func (o *DeleteReportNotFound) String() string
type DeleteReportOK ¶
type DeleteReportOK struct {
Payload *models.SuccessResponseBody
}
DeleteReportOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewDeleteReportOK ¶
func NewDeleteReportOK() *DeleteReportOK
NewDeleteReportOK creates a DeleteReportOK with default headers values
func (*DeleteReportOK) Code ¶
func (o *DeleteReportOK) Code() int
Code gets the status code for the delete report Ok response
func (*DeleteReportOK) Error ¶
func (o *DeleteReportOK) Error() string
func (*DeleteReportOK) GetPayload ¶
func (o *DeleteReportOK) GetPayload() *models.SuccessResponseBody
func (*DeleteReportOK) IsClientError ¶
func (o *DeleteReportOK) IsClientError() bool
IsClientError returns true when this delete report Ok response has a 4xx status code
func (*DeleteReportOK) IsCode ¶
func (o *DeleteReportOK) IsCode(code int) bool
IsCode returns true when this delete report Ok response a status code equal to that given
func (*DeleteReportOK) IsRedirect ¶
func (o *DeleteReportOK) IsRedirect() bool
IsRedirect returns true when this delete report Ok response has a 3xx status code
func (*DeleteReportOK) IsServerError ¶
func (o *DeleteReportOK) IsServerError() bool
IsServerError returns true when this delete report Ok response has a 5xx status code
func (*DeleteReportOK) IsSuccess ¶
func (o *DeleteReportOK) IsSuccess() bool
IsSuccess returns true when this delete report Ok response has a 2xx status code
func (*DeleteReportOK) String ¶
func (o *DeleteReportOK) String() string
type DeleteReportParams ¶
type DeleteReportParams struct { // ID. // // Format: int64 ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteReportParams contains all the parameters to send to the API endpoint
for the delete report operation. Typically these are written to a http.Request.
func NewDeleteReportParams ¶
func NewDeleteReportParams() *DeleteReportParams
NewDeleteReportParams creates a new DeleteReportParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteReportParamsWithContext ¶
func NewDeleteReportParamsWithContext(ctx context.Context) *DeleteReportParams
NewDeleteReportParamsWithContext creates a new DeleteReportParams object with the ability to set a context for a request.
func NewDeleteReportParamsWithHTTPClient ¶
func NewDeleteReportParamsWithHTTPClient(client *http.Client) *DeleteReportParams
NewDeleteReportParamsWithHTTPClient creates a new DeleteReportParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteReportParamsWithTimeout ¶
func NewDeleteReportParamsWithTimeout(timeout time.Duration) *DeleteReportParams
NewDeleteReportParamsWithTimeout creates a new DeleteReportParams object with the ability to set a timeout on a request.
func (*DeleteReportParams) SetContext ¶
func (o *DeleteReportParams) SetContext(ctx context.Context)
SetContext adds the context to the delete report params
func (*DeleteReportParams) SetDefaults ¶
func (o *DeleteReportParams) SetDefaults()
SetDefaults hydrates default values in the delete report params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteReportParams) SetHTTPClient ¶
func (o *DeleteReportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete report params
func (*DeleteReportParams) SetID ¶
func (o *DeleteReportParams) SetID(id int64)
SetID adds the id to the delete report params
func (*DeleteReportParams) SetTimeout ¶
func (o *DeleteReportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete report params
func (*DeleteReportParams) WithContext ¶
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) Code ¶
func (o *DeleteReportUnauthorized) Code() int
Code gets the status code for the delete report unauthorized response
func (*DeleteReportUnauthorized) Error ¶
func (o *DeleteReportUnauthorized) Error() string
func (*DeleteReportUnauthorized) GetPayload ¶
func (o *DeleteReportUnauthorized) GetPayload() *models.ErrorResponseBody
func (*DeleteReportUnauthorized) IsClientError ¶
func (o *DeleteReportUnauthorized) IsClientError() bool
IsClientError returns true when this delete report unauthorized response has a 4xx status code
func (*DeleteReportUnauthorized) IsCode ¶
func (o *DeleteReportUnauthorized) IsCode(code int) bool
IsCode returns true when this delete report unauthorized response a status code equal to that given
func (*DeleteReportUnauthorized) IsRedirect ¶
func (o *DeleteReportUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete report unauthorized response has a 3xx status code
func (*DeleteReportUnauthorized) IsServerError ¶
func (o *DeleteReportUnauthorized) IsServerError() bool
IsServerError returns true when this delete report unauthorized response has a 5xx status code
func (*DeleteReportUnauthorized) IsSuccess ¶
func (o *DeleteReportUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete report unauthorized response has a 2xx status code
func (*DeleteReportUnauthorized) String ¶
func (o *DeleteReportUnauthorized) String() string
type GetReportBadRequest ¶
type GetReportBadRequest struct {
Payload *models.ErrorResponseBody
}
GetReportBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewGetReportBadRequest ¶
func NewGetReportBadRequest() *GetReportBadRequest
NewGetReportBadRequest creates a GetReportBadRequest with default headers values
func (*GetReportBadRequest) Code ¶
func (o *GetReportBadRequest) Code() int
Code gets the status code for the get report bad request response
func (*GetReportBadRequest) Error ¶
func (o *GetReportBadRequest) Error() string
func (*GetReportBadRequest) GetPayload ¶
func (o *GetReportBadRequest) GetPayload() *models.ErrorResponseBody
func (*GetReportBadRequest) IsClientError ¶
func (o *GetReportBadRequest) IsClientError() bool
IsClientError returns true when this get report bad request response has a 4xx status code
func (*GetReportBadRequest) IsCode ¶
func (o *GetReportBadRequest) IsCode(code int) bool
IsCode returns true when this get report bad request response a status code equal to that given
func (*GetReportBadRequest) IsRedirect ¶
func (o *GetReportBadRequest) IsRedirect() bool
IsRedirect returns true when this get report bad request response has a 3xx status code
func (*GetReportBadRequest) IsServerError ¶
func (o *GetReportBadRequest) IsServerError() bool
IsServerError returns true when this get report bad request response has a 5xx status code
func (*GetReportBadRequest) IsSuccess ¶
func (o *GetReportBadRequest) IsSuccess() bool
IsSuccess returns true when this get report bad request response has a 2xx status code
func (*GetReportBadRequest) String ¶
func (o *GetReportBadRequest) String() string
type GetReportForbidden ¶
type GetReportForbidden struct {
Payload *models.ErrorResponseBody
}
GetReportForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewGetReportForbidden ¶
func NewGetReportForbidden() *GetReportForbidden
NewGetReportForbidden creates a GetReportForbidden with default headers values
func (*GetReportForbidden) Code ¶
func (o *GetReportForbidden) Code() int
Code gets the status code for the get report forbidden response
func (*GetReportForbidden) Error ¶
func (o *GetReportForbidden) Error() string
func (*GetReportForbidden) GetPayload ¶
func (o *GetReportForbidden) GetPayload() *models.ErrorResponseBody
func (*GetReportForbidden) IsClientError ¶
func (o *GetReportForbidden) IsClientError() bool
IsClientError returns true when this get report forbidden response has a 4xx status code
func (*GetReportForbidden) IsCode ¶
func (o *GetReportForbidden) IsCode(code int) bool
IsCode returns true when this get report forbidden response a status code equal to that given
func (*GetReportForbidden) IsRedirect ¶
func (o *GetReportForbidden) IsRedirect() bool
IsRedirect returns true when this get report forbidden response has a 3xx status code
func (*GetReportForbidden) IsServerError ¶
func (o *GetReportForbidden) IsServerError() bool
IsServerError returns true when this get report forbidden response has a 5xx status code
func (*GetReportForbidden) IsSuccess ¶
func (o *GetReportForbidden) IsSuccess() bool
IsSuccess returns true when this get report forbidden response has a 2xx status code
func (*GetReportForbidden) String ¶
func (o *GetReportForbidden) String() string
type GetReportInternalServerError ¶
type GetReportInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetReportInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetReportInternalServerError ¶
func NewGetReportInternalServerError() *GetReportInternalServerError
NewGetReportInternalServerError creates a GetReportInternalServerError with default headers values
func (*GetReportInternalServerError) Code ¶
func (o *GetReportInternalServerError) Code() int
Code gets the status code for the get report internal server error response
func (*GetReportInternalServerError) Error ¶
func (o *GetReportInternalServerError) Error() string
func (*GetReportInternalServerError) GetPayload ¶
func (o *GetReportInternalServerError) GetPayload() *models.ErrorResponseBody
func (*GetReportInternalServerError) IsClientError ¶
func (o *GetReportInternalServerError) IsClientError() bool
IsClientError returns true when this get report internal server error response has a 4xx status code
func (*GetReportInternalServerError) IsCode ¶
func (o *GetReportInternalServerError) IsCode(code int) bool
IsCode returns true when this get report internal server error response a status code equal to that given
func (*GetReportInternalServerError) IsRedirect ¶
func (o *GetReportInternalServerError) IsRedirect() bool
IsRedirect returns true when this get report internal server error response has a 3xx status code
func (*GetReportInternalServerError) IsServerError ¶
func (o *GetReportInternalServerError) IsServerError() bool
IsServerError returns true when this get report internal server error response has a 5xx status code
func (*GetReportInternalServerError) IsSuccess ¶
func (o *GetReportInternalServerError) IsSuccess() bool
IsSuccess returns true when this get report internal server error response has a 2xx status code
func (*GetReportInternalServerError) String ¶
func (o *GetReportInternalServerError) String() string
type GetReportNotFound ¶
type GetReportNotFound struct {
Payload *models.ErrorResponseBody
}
GetReportNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewGetReportNotFound ¶
func NewGetReportNotFound() *GetReportNotFound
NewGetReportNotFound creates a GetReportNotFound with default headers values
func (*GetReportNotFound) Code ¶
func (o *GetReportNotFound) Code() int
Code gets the status code for the get report not found response
func (*GetReportNotFound) Error ¶
func (o *GetReportNotFound) Error() string
func (*GetReportNotFound) GetPayload ¶
func (o *GetReportNotFound) GetPayload() *models.ErrorResponseBody
func (*GetReportNotFound) IsClientError ¶
func (o *GetReportNotFound) IsClientError() bool
IsClientError returns true when this get report not found response has a 4xx status code
func (*GetReportNotFound) IsCode ¶
func (o *GetReportNotFound) IsCode(code int) bool
IsCode returns true when this get report not found response a status code equal to that given
func (*GetReportNotFound) IsRedirect ¶
func (o *GetReportNotFound) IsRedirect() bool
IsRedirect returns true when this get report not found response has a 3xx status code
func (*GetReportNotFound) IsServerError ¶
func (o *GetReportNotFound) IsServerError() bool
IsServerError returns true when this get report not found response has a 5xx status code
func (*GetReportNotFound) IsSuccess ¶
func (o *GetReportNotFound) IsSuccess() bool
IsSuccess returns true when this get report not found response has a 2xx status code
func (*GetReportNotFound) String ¶
func (o *GetReportNotFound) String() string
type GetReportOK ¶
GetReportOK describes a response with status code 200, with default header values.
(empty)
func NewGetReportOK ¶
func NewGetReportOK() *GetReportOK
NewGetReportOK creates a GetReportOK with default headers values
func (*GetReportOK) Code ¶
func (o *GetReportOK) Code() int
Code gets the status code for the get report Ok response
func (*GetReportOK) Error ¶
func (o *GetReportOK) Error() string
func (*GetReportOK) GetPayload ¶
func (o *GetReportOK) GetPayload() *models.Report
func (*GetReportOK) IsClientError ¶
func (o *GetReportOK) IsClientError() bool
IsClientError returns true when this get report Ok response has a 4xx status code
func (*GetReportOK) IsCode ¶
func (o *GetReportOK) IsCode(code int) bool
IsCode returns true when this get report Ok response a status code equal to that given
func (*GetReportOK) IsRedirect ¶
func (o *GetReportOK) IsRedirect() bool
IsRedirect returns true when this get report Ok response has a 3xx status code
func (*GetReportOK) IsServerError ¶
func (o *GetReportOK) IsServerError() bool
IsServerError returns true when this get report Ok response has a 5xx status code
func (*GetReportOK) IsSuccess ¶
func (o *GetReportOK) IsSuccess() bool
IsSuccess returns true when this get report Ok response has a 2xx status code
func (*GetReportOK) String ¶
func (o *GetReportOK) String() string
type GetReportParams ¶
type GetReportParams struct { // ID. // // Format: int64 ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetReportParams contains all the parameters to send to the API endpoint
for the get report operation. Typically these are written to a http.Request.
func NewGetReportParams ¶
func NewGetReportParams() *GetReportParams
NewGetReportParams creates a new GetReportParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetReportParamsWithContext ¶
func NewGetReportParamsWithContext(ctx context.Context) *GetReportParams
NewGetReportParamsWithContext creates a new GetReportParams object with the ability to set a context for a request.
func NewGetReportParamsWithHTTPClient ¶
func NewGetReportParamsWithHTTPClient(client *http.Client) *GetReportParams
NewGetReportParamsWithHTTPClient creates a new GetReportParams object with the ability to set a custom HTTPClient for a request.
func NewGetReportParamsWithTimeout ¶
func NewGetReportParamsWithTimeout(timeout time.Duration) *GetReportParams
NewGetReportParamsWithTimeout creates a new GetReportParams object with the ability to set a timeout on a request.
func (*GetReportParams) SetContext ¶
func (o *GetReportParams) SetContext(ctx context.Context)
SetContext adds the context to the get report params
func (*GetReportParams) SetDefaults ¶
func (o *GetReportParams) SetDefaults()
SetDefaults hydrates default values in the get report params (not the query body).
All values with no default are reset to their zero value.
func (*GetReportParams) SetHTTPClient ¶
func (o *GetReportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get report params
func (*GetReportParams) SetID ¶
func (o *GetReportParams) SetID(id int64)
SetID adds the id to the get report params
func (*GetReportParams) SetTimeout ¶
func (o *GetReportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get report params
func (*GetReportParams) WithContext ¶
func (o *GetReportParams) WithContext(ctx context.Context) *GetReportParams
WithContext adds the context to the get report params
func (*GetReportParams) WithDefaults ¶
func (o *GetReportParams) WithDefaults() *GetReportParams
WithDefaults hydrates default values in the get report params (not the query body).
All values with no default are reset to their zero value.
func (*GetReportParams) WithHTTPClient ¶
func (o *GetReportParams) WithHTTPClient(client *http.Client) *GetReportParams
WithHTTPClient adds the HTTPClient to the get report params
func (*GetReportParams) WithID ¶
func (o *GetReportParams) WithID(id int64) *GetReportParams
WithID adds the id to the get report params
func (*GetReportParams) WithTimeout ¶
func (o *GetReportParams) WithTimeout(timeout time.Duration) *GetReportParams
WithTimeout adds the timeout to the get report params
func (*GetReportParams) WriteToRequest ¶
func (o *GetReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetReportReader ¶
type GetReportReader struct {
// contains filtered or unexported fields
}
GetReportReader is a Reader for the GetReport structure.
func (*GetReportReader) ReadResponse ¶
func (o *GetReportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetReportSettingsForbidden ¶
type GetReportSettingsForbidden struct {
Payload *models.ErrorResponseBody
}
GetReportSettingsForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewGetReportSettingsForbidden ¶
func NewGetReportSettingsForbidden() *GetReportSettingsForbidden
NewGetReportSettingsForbidden creates a GetReportSettingsForbidden with default headers values
func (*GetReportSettingsForbidden) Code ¶
func (o *GetReportSettingsForbidden) Code() int
Code gets the status code for the get report settings forbidden response
func (*GetReportSettingsForbidden) Error ¶
func (o *GetReportSettingsForbidden) Error() string
func (*GetReportSettingsForbidden) GetPayload ¶
func (o *GetReportSettingsForbidden) GetPayload() *models.ErrorResponseBody
func (*GetReportSettingsForbidden) IsClientError ¶
func (o *GetReportSettingsForbidden) IsClientError() bool
IsClientError returns true when this get report settings forbidden response has a 4xx status code
func (*GetReportSettingsForbidden) IsCode ¶
func (o *GetReportSettingsForbidden) IsCode(code int) bool
IsCode returns true when this get report settings forbidden response a status code equal to that given
func (*GetReportSettingsForbidden) IsRedirect ¶
func (o *GetReportSettingsForbidden) IsRedirect() bool
IsRedirect returns true when this get report settings forbidden response has a 3xx status code
func (*GetReportSettingsForbidden) IsServerError ¶
func (o *GetReportSettingsForbidden) IsServerError() bool
IsServerError returns true when this get report settings forbidden response has a 5xx status code
func (*GetReportSettingsForbidden) IsSuccess ¶
func (o *GetReportSettingsForbidden) IsSuccess() bool
IsSuccess returns true when this get report settings forbidden response has a 2xx status code
func (*GetReportSettingsForbidden) String ¶
func (o *GetReportSettingsForbidden) String() string
type GetReportSettingsInternalServerError ¶
type GetReportSettingsInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetReportSettingsInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetReportSettingsInternalServerError ¶
func NewGetReportSettingsInternalServerError() *GetReportSettingsInternalServerError
NewGetReportSettingsInternalServerError creates a GetReportSettingsInternalServerError with default headers values
func (*GetReportSettingsInternalServerError) Code ¶
func (o *GetReportSettingsInternalServerError) Code() int
Code gets the status code for the get report settings internal server error response
func (*GetReportSettingsInternalServerError) Error ¶
func (o *GetReportSettingsInternalServerError) Error() string
func (*GetReportSettingsInternalServerError) GetPayload ¶
func (o *GetReportSettingsInternalServerError) GetPayload() *models.ErrorResponseBody
func (*GetReportSettingsInternalServerError) IsClientError ¶
func (o *GetReportSettingsInternalServerError) IsClientError() bool
IsClientError returns true when this get report settings internal server error response has a 4xx status code
func (*GetReportSettingsInternalServerError) IsCode ¶
func (o *GetReportSettingsInternalServerError) IsCode(code int) bool
IsCode returns true when this get report settings internal server error response a status code equal to that given
func (*GetReportSettingsInternalServerError) IsRedirect ¶
func (o *GetReportSettingsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get report settings internal server error response has a 3xx status code
func (*GetReportSettingsInternalServerError) IsServerError ¶
func (o *GetReportSettingsInternalServerError) IsServerError() bool
IsServerError returns true when this get report settings internal server error response has a 5xx status code
func (*GetReportSettingsInternalServerError) IsSuccess ¶
func (o *GetReportSettingsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get report settings internal server error response has a 2xx status code
func (*GetReportSettingsInternalServerError) String ¶
func (o *GetReportSettingsInternalServerError) String() string
type GetReportSettingsOK ¶
type GetReportSettingsOK struct {
Payload *models.ReportSettings
}
GetReportSettingsOK describes a response with status code 200, with default header values.
(empty)
func NewGetReportSettingsOK ¶
func NewGetReportSettingsOK() *GetReportSettingsOK
NewGetReportSettingsOK creates a GetReportSettingsOK with default headers values
func (*GetReportSettingsOK) Code ¶
func (o *GetReportSettingsOK) Code() int
Code gets the status code for the get report settings Ok response
func (*GetReportSettingsOK) Error ¶
func (o *GetReportSettingsOK) Error() string
func (*GetReportSettingsOK) GetPayload ¶
func (o *GetReportSettingsOK) GetPayload() *models.ReportSettings
func (*GetReportSettingsOK) IsClientError ¶
func (o *GetReportSettingsOK) IsClientError() bool
IsClientError returns true when this get report settings Ok response has a 4xx status code
func (*GetReportSettingsOK) IsCode ¶
func (o *GetReportSettingsOK) IsCode(code int) bool
IsCode returns true when this get report settings Ok response a status code equal to that given
func (*GetReportSettingsOK) IsRedirect ¶
func (o *GetReportSettingsOK) IsRedirect() bool
IsRedirect returns true when this get report settings Ok response has a 3xx status code
func (*GetReportSettingsOK) IsServerError ¶
func (o *GetReportSettingsOK) IsServerError() bool
IsServerError returns true when this get report settings Ok response has a 5xx status code
func (*GetReportSettingsOK) IsSuccess ¶
func (o *GetReportSettingsOK) IsSuccess() bool
IsSuccess returns true when this get report settings Ok response has a 2xx status code
func (*GetReportSettingsOK) String ¶
func (o *GetReportSettingsOK) String() string
type GetReportSettingsParams ¶
type GetReportSettingsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetReportSettingsParams contains all the parameters to send to the API endpoint
for the get report settings operation. Typically these are written to a http.Request.
func NewGetReportSettingsParams ¶
func NewGetReportSettingsParams() *GetReportSettingsParams
NewGetReportSettingsParams creates a new GetReportSettingsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetReportSettingsParamsWithContext ¶
func NewGetReportSettingsParamsWithContext(ctx context.Context) *GetReportSettingsParams
NewGetReportSettingsParamsWithContext creates a new GetReportSettingsParams object with the ability to set a context for a request.
func NewGetReportSettingsParamsWithHTTPClient ¶
func NewGetReportSettingsParamsWithHTTPClient(client *http.Client) *GetReportSettingsParams
NewGetReportSettingsParamsWithHTTPClient creates a new GetReportSettingsParams object with the ability to set a custom HTTPClient for a request.
func NewGetReportSettingsParamsWithTimeout ¶
func NewGetReportSettingsParamsWithTimeout(timeout time.Duration) *GetReportSettingsParams
NewGetReportSettingsParamsWithTimeout creates a new GetReportSettingsParams object with the ability to set a timeout on a request.
func (*GetReportSettingsParams) SetContext ¶
func (o *GetReportSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the get report settings params
func (*GetReportSettingsParams) SetDefaults ¶
func (o *GetReportSettingsParams) SetDefaults()
SetDefaults hydrates default values in the get report settings params (not the query body).
All values with no default are reset to their zero value.
func (*GetReportSettingsParams) SetHTTPClient ¶
func (o *GetReportSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get report settings params
func (*GetReportSettingsParams) SetTimeout ¶
func (o *GetReportSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get report settings params
func (*GetReportSettingsParams) WithContext ¶
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) Code ¶
func (o *GetReportSettingsUnauthorized) Code() int
Code gets the status code for the get report settings unauthorized response
func (*GetReportSettingsUnauthorized) Error ¶
func (o *GetReportSettingsUnauthorized) Error() string
func (*GetReportSettingsUnauthorized) GetPayload ¶
func (o *GetReportSettingsUnauthorized) GetPayload() *models.ErrorResponseBody
func (*GetReportSettingsUnauthorized) IsClientError ¶
func (o *GetReportSettingsUnauthorized) IsClientError() bool
IsClientError returns true when this get report settings unauthorized response has a 4xx status code
func (*GetReportSettingsUnauthorized) IsCode ¶
func (o *GetReportSettingsUnauthorized) IsCode(code int) bool
IsCode returns true when this get report settings unauthorized response a status code equal to that given
func (*GetReportSettingsUnauthorized) IsRedirect ¶
func (o *GetReportSettingsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get report settings unauthorized response has a 3xx status code
func (*GetReportSettingsUnauthorized) IsServerError ¶
func (o *GetReportSettingsUnauthorized) IsServerError() bool
IsServerError returns true when this get report settings unauthorized response has a 5xx status code
func (*GetReportSettingsUnauthorized) IsSuccess ¶
func (o *GetReportSettingsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get report settings unauthorized response has a 2xx status code
func (*GetReportSettingsUnauthorized) String ¶
func (o *GetReportSettingsUnauthorized) String() string
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) Code ¶
func (o *GetReportUnauthorized) Code() int
Code gets the status code for the get report unauthorized response
func (*GetReportUnauthorized) Error ¶
func (o *GetReportUnauthorized) Error() string
func (*GetReportUnauthorized) GetPayload ¶
func (o *GetReportUnauthorized) GetPayload() *models.ErrorResponseBody
func (*GetReportUnauthorized) IsClientError ¶
func (o *GetReportUnauthorized) IsClientError() bool
IsClientError returns true when this get report unauthorized response has a 4xx status code
func (*GetReportUnauthorized) IsCode ¶
func (o *GetReportUnauthorized) IsCode(code int) bool
IsCode returns true when this get report unauthorized response a status code equal to that given
func (*GetReportUnauthorized) IsRedirect ¶
func (o *GetReportUnauthorized) IsRedirect() bool
IsRedirect returns true when this get report unauthorized response has a 3xx status code
func (*GetReportUnauthorized) IsServerError ¶
func (o *GetReportUnauthorized) IsServerError() bool
IsServerError returns true when this get report unauthorized response has a 5xx status code
func (*GetReportUnauthorized) IsSuccess ¶
func (o *GetReportUnauthorized) IsSuccess() bool
IsSuccess returns true when this get report unauthorized response has a 2xx status code
func (*GetReportUnauthorized) String ¶
func (o *GetReportUnauthorized) String() string
type GetReportsForbidden ¶
type GetReportsForbidden struct {
Payload *models.ErrorResponseBody
}
GetReportsForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewGetReportsForbidden ¶
func NewGetReportsForbidden() *GetReportsForbidden
NewGetReportsForbidden creates a GetReportsForbidden with default headers values
func (*GetReportsForbidden) Code ¶
func (o *GetReportsForbidden) Code() int
Code gets the status code for the get reports forbidden response
func (*GetReportsForbidden) Error ¶
func (o *GetReportsForbidden) Error() string
func (*GetReportsForbidden) GetPayload ¶
func (o *GetReportsForbidden) GetPayload() *models.ErrorResponseBody
func (*GetReportsForbidden) IsClientError ¶
func (o *GetReportsForbidden) IsClientError() bool
IsClientError returns true when this get reports forbidden response has a 4xx status code
func (*GetReportsForbidden) IsCode ¶
func (o *GetReportsForbidden) IsCode(code int) bool
IsCode returns true when this get reports forbidden response a status code equal to that given
func (*GetReportsForbidden) IsRedirect ¶
func (o *GetReportsForbidden) IsRedirect() bool
IsRedirect returns true when this get reports forbidden response has a 3xx status code
func (*GetReportsForbidden) IsServerError ¶
func (o *GetReportsForbidden) IsServerError() bool
IsServerError returns true when this get reports forbidden response has a 5xx status code
func (*GetReportsForbidden) IsSuccess ¶
func (o *GetReportsForbidden) IsSuccess() bool
IsSuccess returns true when this get reports forbidden response has a 2xx status code
func (*GetReportsForbidden) String ¶
func (o *GetReportsForbidden) String() string
type GetReportsInternalServerError ¶
type GetReportsInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetReportsInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetReportsInternalServerError ¶
func NewGetReportsInternalServerError() *GetReportsInternalServerError
NewGetReportsInternalServerError creates a GetReportsInternalServerError with default headers values
func (*GetReportsInternalServerError) Code ¶
func (o *GetReportsInternalServerError) Code() int
Code gets the status code for the get reports internal server error response
func (*GetReportsInternalServerError) Error ¶
func (o *GetReportsInternalServerError) Error() string
func (*GetReportsInternalServerError) GetPayload ¶
func (o *GetReportsInternalServerError) GetPayload() *models.ErrorResponseBody
func (*GetReportsInternalServerError) IsClientError ¶
func (o *GetReportsInternalServerError) IsClientError() bool
IsClientError returns true when this get reports internal server error response has a 4xx status code
func (*GetReportsInternalServerError) IsCode ¶
func (o *GetReportsInternalServerError) IsCode(code int) bool
IsCode returns true when this get reports internal server error response a status code equal to that given
func (*GetReportsInternalServerError) IsRedirect ¶
func (o *GetReportsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get reports internal server error response has a 3xx status code
func (*GetReportsInternalServerError) IsServerError ¶
func (o *GetReportsInternalServerError) IsServerError() bool
IsServerError returns true when this get reports internal server error response has a 5xx status code
func (*GetReportsInternalServerError) IsSuccess ¶
func (o *GetReportsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get reports internal server error response has a 2xx status code
func (*GetReportsInternalServerError) String ¶
func (o *GetReportsInternalServerError) String() string
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) Code ¶
func (o *GetReportsOK) Code() int
Code gets the status code for the get reports Ok response
func (*GetReportsOK) Error ¶
func (o *GetReportsOK) Error() string
func (*GetReportsOK) GetPayload ¶
func (o *GetReportsOK) GetPayload() []*models.Report
func (*GetReportsOK) IsClientError ¶
func (o *GetReportsOK) IsClientError() bool
IsClientError returns true when this get reports Ok response has a 4xx status code
func (*GetReportsOK) IsCode ¶
func (o *GetReportsOK) IsCode(code int) bool
IsCode returns true when this get reports Ok response a status code equal to that given
func (*GetReportsOK) IsRedirect ¶
func (o *GetReportsOK) IsRedirect() bool
IsRedirect returns true when this get reports Ok response has a 3xx status code
func (*GetReportsOK) IsServerError ¶
func (o *GetReportsOK) IsServerError() bool
IsServerError returns true when this get reports Ok response has a 5xx status code
func (*GetReportsOK) IsSuccess ¶
func (o *GetReportsOK) IsSuccess() bool
IsSuccess returns true when this get reports Ok response has a 2xx status code
func (*GetReportsOK) String ¶
func (o *GetReportsOK) String() string
type GetReportsParams ¶
type GetReportsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetReportsParams contains all the parameters to send to the API endpoint
for the get reports operation. Typically these are written to a http.Request.
func NewGetReportsParams ¶
func NewGetReportsParams() *GetReportsParams
NewGetReportsParams creates a new GetReportsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetReportsParamsWithContext ¶
func NewGetReportsParamsWithContext(ctx context.Context) *GetReportsParams
NewGetReportsParamsWithContext creates a new GetReportsParams object with the ability to set a context for a request.
func NewGetReportsParamsWithHTTPClient ¶
func NewGetReportsParamsWithHTTPClient(client *http.Client) *GetReportsParams
NewGetReportsParamsWithHTTPClient creates a new GetReportsParams object with the ability to set a custom HTTPClient for a request.
func NewGetReportsParamsWithTimeout ¶
func NewGetReportsParamsWithTimeout(timeout time.Duration) *GetReportsParams
NewGetReportsParamsWithTimeout creates a new GetReportsParams object with the ability to set a timeout on a request.
func (*GetReportsParams) SetContext ¶
func (o *GetReportsParams) SetContext(ctx context.Context)
SetContext adds the context to the get reports params
func (*GetReportsParams) SetDefaults ¶
func (o *GetReportsParams) SetDefaults()
SetDefaults hydrates default values in the get reports params (not the query body).
All values with no default are reset to their zero value.
func (*GetReportsParams) SetHTTPClient ¶
func (o *GetReportsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get reports params
func (*GetReportsParams) SetTimeout ¶
func (o *GetReportsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get reports params
func (*GetReportsParams) WithContext ¶
func (o *GetReportsParams) WithContext(ctx context.Context) *GetReportsParams
WithContext adds the context to the get reports params
func (*GetReportsParams) WithDefaults ¶
func (o *GetReportsParams) WithDefaults() *GetReportsParams
WithDefaults hydrates default values in the get reports params (not the query body).
All values with no default are reset to their zero value.
func (*GetReportsParams) WithHTTPClient ¶
func (o *GetReportsParams) WithHTTPClient(client *http.Client) *GetReportsParams
WithHTTPClient adds the HTTPClient to the get reports params
func (*GetReportsParams) WithTimeout ¶
func (o *GetReportsParams) WithTimeout(timeout time.Duration) *GetReportsParams
WithTimeout adds the timeout to the get reports params
func (*GetReportsParams) WriteToRequest ¶
func (o *GetReportsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetReportsReader ¶
type GetReportsReader struct {
// contains filtered or unexported fields
}
GetReportsReader is a Reader for the GetReports structure.
func (*GetReportsReader) ReadResponse ¶
func (o *GetReportsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetReportsUnauthorized ¶
type GetReportsUnauthorized struct {
}GetReportsUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetReportsUnauthorized ¶
func NewGetReportsUnauthorized() *GetReportsUnauthorized
NewGetReportsUnauthorized creates a GetReportsUnauthorized with default headers values
func (*GetReportsUnauthorized) Code ¶
func (o *GetReportsUnauthorized) Code() int
Code gets the status code for the get reports unauthorized response
func (*GetReportsUnauthorized) Error ¶
func (o *GetReportsUnauthorized) Error() string
func (*GetReportsUnauthorized) GetPayload ¶
func (o *GetReportsUnauthorized) GetPayload() *models.ErrorResponseBody
func (*GetReportsUnauthorized) IsClientError ¶
func (o *GetReportsUnauthorized) IsClientError() bool
IsClientError returns true when this get reports unauthorized response has a 4xx status code
func (*GetReportsUnauthorized) IsCode ¶
func (o *GetReportsUnauthorized) IsCode(code int) bool
IsCode returns true when this get reports unauthorized response a status code equal to that given
func (*GetReportsUnauthorized) IsRedirect ¶
func (o *GetReportsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get reports unauthorized response has a 3xx status code
func (*GetReportsUnauthorized) IsServerError ¶
func (o *GetReportsUnauthorized) IsServerError() bool
IsServerError returns true when this get reports unauthorized response has a 5xx status code
func (*GetReportsUnauthorized) IsSuccess ¶
func (o *GetReportsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get reports unauthorized response has a 2xx status code
func (*GetReportsUnauthorized) String ¶
func (o *GetReportsUnauthorized) String() string
type RenderReportPDFsBadRequest ¶
type RenderReportPDFsBadRequest struct {
Payload *models.ErrorResponseBody
}
RenderReportPDFsBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewRenderReportPDFsBadRequest ¶
func NewRenderReportPDFsBadRequest() *RenderReportPDFsBadRequest
NewRenderReportPDFsBadRequest creates a RenderReportPDFsBadRequest with default headers values
func (*RenderReportPDFsBadRequest) Code ¶
func (o *RenderReportPDFsBadRequest) Code() int
Code gets the status code for the render report p d fs bad request response
func (*RenderReportPDFsBadRequest) Error ¶
func (o *RenderReportPDFsBadRequest) Error() string
func (*RenderReportPDFsBadRequest) GetPayload ¶
func (o *RenderReportPDFsBadRequest) GetPayload() *models.ErrorResponseBody
func (*RenderReportPDFsBadRequest) IsClientError ¶
func (o *RenderReportPDFsBadRequest) IsClientError() bool
IsClientError returns true when this render report p d fs bad request response has a 4xx status code
func (*RenderReportPDFsBadRequest) IsCode ¶
func (o *RenderReportPDFsBadRequest) IsCode(code int) bool
IsCode returns true when this render report p d fs bad request response a status code equal to that given
func (*RenderReportPDFsBadRequest) IsRedirect ¶
func (o *RenderReportPDFsBadRequest) IsRedirect() bool
IsRedirect returns true when this render report p d fs bad request response has a 3xx status code
func (*RenderReportPDFsBadRequest) IsServerError ¶
func (o *RenderReportPDFsBadRequest) IsServerError() bool
IsServerError returns true when this render report p d fs bad request response has a 5xx status code
func (*RenderReportPDFsBadRequest) IsSuccess ¶
func (o *RenderReportPDFsBadRequest) IsSuccess() bool
IsSuccess returns true when this render report p d fs bad request response has a 2xx status code
func (*RenderReportPDFsBadRequest) String ¶
func (o *RenderReportPDFsBadRequest) String() string
type RenderReportPDFsInternalServerError ¶
type RenderReportPDFsInternalServerError struct {
Payload *models.ErrorResponseBody
}
RenderReportPDFsInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewRenderReportPDFsInternalServerError ¶
func NewRenderReportPDFsInternalServerError() *RenderReportPDFsInternalServerError
NewRenderReportPDFsInternalServerError creates a RenderReportPDFsInternalServerError with default headers values
func (*RenderReportPDFsInternalServerError) Code ¶
func (o *RenderReportPDFsInternalServerError) Code() int
Code gets the status code for the render report p d fs internal server error response
func (*RenderReportPDFsInternalServerError) Error ¶
func (o *RenderReportPDFsInternalServerError) Error() string
func (*RenderReportPDFsInternalServerError) GetPayload ¶
func (o *RenderReportPDFsInternalServerError) GetPayload() *models.ErrorResponseBody
func (*RenderReportPDFsInternalServerError) IsClientError ¶
func (o *RenderReportPDFsInternalServerError) IsClientError() bool
IsClientError returns true when this render report p d fs internal server error response has a 4xx status code
func (*RenderReportPDFsInternalServerError) IsCode ¶
func (o *RenderReportPDFsInternalServerError) IsCode(code int) bool
IsCode returns true when this render report p d fs internal server error response a status code equal to that given
func (*RenderReportPDFsInternalServerError) IsRedirect ¶
func (o *RenderReportPDFsInternalServerError) IsRedirect() bool
IsRedirect returns true when this render report p d fs internal server error response has a 3xx status code
func (*RenderReportPDFsInternalServerError) IsServerError ¶
func (o *RenderReportPDFsInternalServerError) IsServerError() bool
IsServerError returns true when this render report p d fs internal server error response has a 5xx status code
func (*RenderReportPDFsInternalServerError) IsSuccess ¶
func (o *RenderReportPDFsInternalServerError) IsSuccess() bool
IsSuccess returns true when this render report p d fs internal server error response has a 2xx status code
func (*RenderReportPDFsInternalServerError) String ¶
func (o *RenderReportPDFsInternalServerError) String() string
type RenderReportPDFsOK ¶
type RenderReportPDFsOK struct {
Payload []uint8
}
RenderReportPDFsOK describes a response with status code 200, with default header values.
(empty)
func NewRenderReportPDFsOK ¶
func NewRenderReportPDFsOK() *RenderReportPDFsOK
NewRenderReportPDFsOK creates a RenderReportPDFsOK with default headers values
func (*RenderReportPDFsOK) Code ¶
func (o *RenderReportPDFsOK) Code() int
Code gets the status code for the render report p d fs Ok response
func (*RenderReportPDFsOK) Error ¶
func (o *RenderReportPDFsOK) Error() string
func (*RenderReportPDFsOK) GetPayload ¶
func (o *RenderReportPDFsOK) GetPayload() []uint8
func (*RenderReportPDFsOK) IsClientError ¶
func (o *RenderReportPDFsOK) IsClientError() bool
IsClientError returns true when this render report p d fs Ok response has a 4xx status code
func (*RenderReportPDFsOK) IsCode ¶
func (o *RenderReportPDFsOK) IsCode(code int) bool
IsCode returns true when this render report p d fs Ok response a status code equal to that given
func (*RenderReportPDFsOK) IsRedirect ¶
func (o *RenderReportPDFsOK) IsRedirect() bool
IsRedirect returns true when this render report p d fs Ok response has a 3xx status code
func (*RenderReportPDFsOK) IsServerError ¶
func (o *RenderReportPDFsOK) IsServerError() bool
IsServerError returns true when this render report p d fs Ok response has a 5xx status code
func (*RenderReportPDFsOK) IsSuccess ¶
func (o *RenderReportPDFsOK) IsSuccess() bool
IsSuccess returns true when this render report p d fs Ok response has a 2xx status code
func (*RenderReportPDFsOK) String ¶
func (o *RenderReportPDFsOK) String() string
type RenderReportPDFsParams ¶
type RenderReportPDFsParams struct { // DashboardID. DashboardID *string // IncludeTables. IncludeTables *string // Layout. Layout *string // Orientation. Orientation *string // ScaleFactor. ScaleFactor *string // Title. Title *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RenderReportPDFsParams contains all the parameters to send to the API endpoint
for the render report p d fs operation. Typically these are written to a http.Request.
func NewRenderReportPDFsParams ¶
func NewRenderReportPDFsParams() *RenderReportPDFsParams
NewRenderReportPDFsParams creates a new RenderReportPDFsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRenderReportPDFsParamsWithContext ¶
func NewRenderReportPDFsParamsWithContext(ctx context.Context) *RenderReportPDFsParams
NewRenderReportPDFsParamsWithContext creates a new RenderReportPDFsParams object with the ability to set a context for a request.
func NewRenderReportPDFsParamsWithHTTPClient ¶
func NewRenderReportPDFsParamsWithHTTPClient(client *http.Client) *RenderReportPDFsParams
NewRenderReportPDFsParamsWithHTTPClient creates a new RenderReportPDFsParams object with the ability to set a custom HTTPClient for a request.
func NewRenderReportPDFsParamsWithTimeout ¶
func NewRenderReportPDFsParamsWithTimeout(timeout time.Duration) *RenderReportPDFsParams
NewRenderReportPDFsParamsWithTimeout creates a new RenderReportPDFsParams object with the ability to set a timeout on a request.
func (*RenderReportPDFsParams) SetContext ¶
func (o *RenderReportPDFsParams) SetContext(ctx context.Context)
SetContext adds the context to the render report p d fs params
func (*RenderReportPDFsParams) SetDashboardID ¶
func (o *RenderReportPDFsParams) SetDashboardID(dashboardID *string)
SetDashboardID adds the dashboardId to the render report p d fs params
func (*RenderReportPDFsParams) SetDefaults ¶
func (o *RenderReportPDFsParams) SetDefaults()
SetDefaults hydrates default values in the render report p d fs params (not the query body).
All values with no default are reset to their zero value.
func (*RenderReportPDFsParams) SetHTTPClient ¶
func (o *RenderReportPDFsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the render report p d fs params
func (*RenderReportPDFsParams) SetIncludeTables ¶
func (o *RenderReportPDFsParams) SetIncludeTables(includeTables *string)
SetIncludeTables adds the includeTables to the render report p d fs params
func (*RenderReportPDFsParams) SetLayout ¶
func (o *RenderReportPDFsParams) SetLayout(layout *string)
SetLayout adds the layout to the render report p d fs params
func (*RenderReportPDFsParams) SetOrientation ¶
func (o *RenderReportPDFsParams) SetOrientation(orientation *string)
SetOrientation adds the orientation to the render report p d fs params
func (*RenderReportPDFsParams) SetScaleFactor ¶
func (o *RenderReportPDFsParams) SetScaleFactor(scaleFactor *string)
SetScaleFactor adds the scaleFactor to the render report p d fs params
func (*RenderReportPDFsParams) SetTimeout ¶
func (o *RenderReportPDFsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the render report p d fs params
func (*RenderReportPDFsParams) SetTitle ¶
func (o *RenderReportPDFsParams) SetTitle(title *string)
SetTitle adds the title to the render report p d fs params
func (*RenderReportPDFsParams) WithContext ¶
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) WithIncludeTables ¶
func (o *RenderReportPDFsParams) WithIncludeTables(includeTables *string) *RenderReportPDFsParams
WithIncludeTables adds the includeTables to the render report p d fs params
func (*RenderReportPDFsParams) WithLayout ¶
func (o *RenderReportPDFsParams) WithLayout(layout *string) *RenderReportPDFsParams
WithLayout adds the layout to the render report p d fs params
func (*RenderReportPDFsParams) WithOrientation ¶
func (o *RenderReportPDFsParams) WithOrientation(orientation *string) *RenderReportPDFsParams
WithOrientation adds the orientation to the render report p d fs params
func (*RenderReportPDFsParams) WithScaleFactor ¶
func (o *RenderReportPDFsParams) WithScaleFactor(scaleFactor *string) *RenderReportPDFsParams
WithScaleFactor adds the scaleFactor to the render report p d fs params
func (*RenderReportPDFsParams) WithTimeout ¶
func (o *RenderReportPDFsParams) WithTimeout(timeout time.Duration) *RenderReportPDFsParams
WithTimeout adds the timeout to the render report p d fs params
func (*RenderReportPDFsParams) WithTitle ¶
func (o *RenderReportPDFsParams) WithTitle(title *string) *RenderReportPDFsParams
WithTitle adds the title 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) Code ¶
func (o *RenderReportPDFsUnauthorized) Code() int
Code gets the status code for the render report p d fs unauthorized response
func (*RenderReportPDFsUnauthorized) Error ¶
func (o *RenderReportPDFsUnauthorized) Error() string
func (*RenderReportPDFsUnauthorized) GetPayload ¶
func (o *RenderReportPDFsUnauthorized) GetPayload() *models.ErrorResponseBody
func (*RenderReportPDFsUnauthorized) IsClientError ¶
func (o *RenderReportPDFsUnauthorized) IsClientError() bool
IsClientError returns true when this render report p d fs unauthorized response has a 4xx status code
func (*RenderReportPDFsUnauthorized) IsCode ¶
func (o *RenderReportPDFsUnauthorized) IsCode(code int) bool
IsCode returns true when this render report p d fs unauthorized response a status code equal to that given
func (*RenderReportPDFsUnauthorized) IsRedirect ¶
func (o *RenderReportPDFsUnauthorized) IsRedirect() bool
IsRedirect returns true when this render report p d fs unauthorized response has a 3xx status code
func (*RenderReportPDFsUnauthorized) IsServerError ¶
func (o *RenderReportPDFsUnauthorized) IsServerError() bool
IsServerError returns true when this render report p d fs unauthorized response has a 5xx status code
func (*RenderReportPDFsUnauthorized) IsSuccess ¶
func (o *RenderReportPDFsUnauthorized) IsSuccess() bool
IsSuccess returns true when this render report p d fs unauthorized response has a 2xx status code
func (*RenderReportPDFsUnauthorized) String ¶
func (o *RenderReportPDFsUnauthorized) String() string
type SaveReportSettingsBadRequest ¶
type SaveReportSettingsBadRequest struct {
Payload *models.ErrorResponseBody
}
SaveReportSettingsBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewSaveReportSettingsBadRequest ¶
func NewSaveReportSettingsBadRequest() *SaveReportSettingsBadRequest
NewSaveReportSettingsBadRequest creates a SaveReportSettingsBadRequest with default headers values
func (*SaveReportSettingsBadRequest) Code ¶
func (o *SaveReportSettingsBadRequest) Code() int
Code gets the status code for the save report settings bad request response
func (*SaveReportSettingsBadRequest) Error ¶
func (o *SaveReportSettingsBadRequest) Error() string
func (*SaveReportSettingsBadRequest) GetPayload ¶
func (o *SaveReportSettingsBadRequest) GetPayload() *models.ErrorResponseBody
func (*SaveReportSettingsBadRequest) IsClientError ¶
func (o *SaveReportSettingsBadRequest) IsClientError() bool
IsClientError returns true when this save report settings bad request response has a 4xx status code
func (*SaveReportSettingsBadRequest) IsCode ¶
func (o *SaveReportSettingsBadRequest) IsCode(code int) bool
IsCode returns true when this save report settings bad request response a status code equal to that given
func (*SaveReportSettingsBadRequest) IsRedirect ¶
func (o *SaveReportSettingsBadRequest) IsRedirect() bool
IsRedirect returns true when this save report settings bad request response has a 3xx status code
func (*SaveReportSettingsBadRequest) IsServerError ¶
func (o *SaveReportSettingsBadRequest) IsServerError() bool
IsServerError returns true when this save report settings bad request response has a 5xx status code
func (*SaveReportSettingsBadRequest) IsSuccess ¶
func (o *SaveReportSettingsBadRequest) IsSuccess() bool
IsSuccess returns true when this save report settings bad request response has a 2xx status code
func (*SaveReportSettingsBadRequest) String ¶
func (o *SaveReportSettingsBadRequest) String() string
type SaveReportSettingsForbidden ¶
type SaveReportSettingsForbidden struct {
Payload *models.ErrorResponseBody
}
SaveReportSettingsForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewSaveReportSettingsForbidden ¶
func NewSaveReportSettingsForbidden() *SaveReportSettingsForbidden
NewSaveReportSettingsForbidden creates a SaveReportSettingsForbidden with default headers values
func (*SaveReportSettingsForbidden) Code ¶
func (o *SaveReportSettingsForbidden) Code() int
Code gets the status code for the save report settings forbidden response
func (*SaveReportSettingsForbidden) Error ¶
func (o *SaveReportSettingsForbidden) Error() string
func (*SaveReportSettingsForbidden) GetPayload ¶
func (o *SaveReportSettingsForbidden) GetPayload() *models.ErrorResponseBody
func (*SaveReportSettingsForbidden) IsClientError ¶
func (o *SaveReportSettingsForbidden) IsClientError() bool
IsClientError returns true when this save report settings forbidden response has a 4xx status code
func (*SaveReportSettingsForbidden) IsCode ¶
func (o *SaveReportSettingsForbidden) IsCode(code int) bool
IsCode returns true when this save report settings forbidden response a status code equal to that given
func (*SaveReportSettingsForbidden) IsRedirect ¶
func (o *SaveReportSettingsForbidden) IsRedirect() bool
IsRedirect returns true when this save report settings forbidden response has a 3xx status code
func (*SaveReportSettingsForbidden) IsServerError ¶
func (o *SaveReportSettingsForbidden) IsServerError() bool
IsServerError returns true when this save report settings forbidden response has a 5xx status code
func (*SaveReportSettingsForbidden) IsSuccess ¶
func (o *SaveReportSettingsForbidden) IsSuccess() bool
IsSuccess returns true when this save report settings forbidden response has a 2xx status code
func (*SaveReportSettingsForbidden) String ¶
func (o *SaveReportSettingsForbidden) String() string
type SaveReportSettingsInternalServerError ¶
type SaveReportSettingsInternalServerError struct {
Payload *models.ErrorResponseBody
}
SaveReportSettingsInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewSaveReportSettingsInternalServerError ¶
func NewSaveReportSettingsInternalServerError() *SaveReportSettingsInternalServerError
NewSaveReportSettingsInternalServerError creates a SaveReportSettingsInternalServerError with default headers values
func (*SaveReportSettingsInternalServerError) Code ¶
func (o *SaveReportSettingsInternalServerError) Code() int
Code gets the status code for the save report settings internal server error response
func (*SaveReportSettingsInternalServerError) Error ¶
func (o *SaveReportSettingsInternalServerError) Error() string
func (*SaveReportSettingsInternalServerError) GetPayload ¶
func (o *SaveReportSettingsInternalServerError) GetPayload() *models.ErrorResponseBody
func (*SaveReportSettingsInternalServerError) IsClientError ¶
func (o *SaveReportSettingsInternalServerError) IsClientError() bool
IsClientError returns true when this save report settings internal server error response has a 4xx status code
func (*SaveReportSettingsInternalServerError) IsCode ¶
func (o *SaveReportSettingsInternalServerError) IsCode(code int) bool
IsCode returns true when this save report settings internal server error response a status code equal to that given
func (*SaveReportSettingsInternalServerError) IsRedirect ¶
func (o *SaveReportSettingsInternalServerError) IsRedirect() bool
IsRedirect returns true when this save report settings internal server error response has a 3xx status code
func (*SaveReportSettingsInternalServerError) IsServerError ¶
func (o *SaveReportSettingsInternalServerError) IsServerError() bool
IsServerError returns true when this save report settings internal server error response has a 5xx status code
func (*SaveReportSettingsInternalServerError) IsSuccess ¶
func (o *SaveReportSettingsInternalServerError) IsSuccess() bool
IsSuccess returns true when this save report settings internal server error response has a 2xx status code
func (*SaveReportSettingsInternalServerError) String ¶
func (o *SaveReportSettingsInternalServerError) String() string
type SaveReportSettingsOK ¶
type SaveReportSettingsOK struct {
Payload *models.SuccessResponseBody
}
SaveReportSettingsOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewSaveReportSettingsOK ¶
func NewSaveReportSettingsOK() *SaveReportSettingsOK
NewSaveReportSettingsOK creates a SaveReportSettingsOK with default headers values
func (*SaveReportSettingsOK) Code ¶
func (o *SaveReportSettingsOK) Code() int
Code gets the status code for the save report settings Ok response
func (*SaveReportSettingsOK) Error ¶
func (o *SaveReportSettingsOK) Error() string
func (*SaveReportSettingsOK) GetPayload ¶
func (o *SaveReportSettingsOK) GetPayload() *models.SuccessResponseBody
func (*SaveReportSettingsOK) IsClientError ¶
func (o *SaveReportSettingsOK) IsClientError() bool
IsClientError returns true when this save report settings Ok response has a 4xx status code
func (*SaveReportSettingsOK) IsCode ¶
func (o *SaveReportSettingsOK) IsCode(code int) bool
IsCode returns true when this save report settings Ok response a status code equal to that given
func (*SaveReportSettingsOK) IsRedirect ¶
func (o *SaveReportSettingsOK) IsRedirect() bool
IsRedirect returns true when this save report settings Ok response has a 3xx status code
func (*SaveReportSettingsOK) IsServerError ¶
func (o *SaveReportSettingsOK) IsServerError() bool
IsServerError returns true when this save report settings Ok response has a 5xx status code
func (*SaveReportSettingsOK) IsSuccess ¶
func (o *SaveReportSettingsOK) IsSuccess() bool
IsSuccess returns true when this save report settings Ok response has a 2xx status code
func (*SaveReportSettingsOK) String ¶
func (o *SaveReportSettingsOK) String() string
type SaveReportSettingsParams ¶
type SaveReportSettingsParams struct { // Body. Body *models.ReportSettings Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SaveReportSettingsParams contains all the parameters to send to the API endpoint
for the save report settings operation. Typically these are written to a http.Request.
func NewSaveReportSettingsParams ¶
func NewSaveReportSettingsParams() *SaveReportSettingsParams
NewSaveReportSettingsParams creates a new SaveReportSettingsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSaveReportSettingsParamsWithContext ¶
func NewSaveReportSettingsParamsWithContext(ctx context.Context) *SaveReportSettingsParams
NewSaveReportSettingsParamsWithContext creates a new SaveReportSettingsParams object with the ability to set a context for a request.
func NewSaveReportSettingsParamsWithHTTPClient ¶
func NewSaveReportSettingsParamsWithHTTPClient(client *http.Client) *SaveReportSettingsParams
NewSaveReportSettingsParamsWithHTTPClient creates a new SaveReportSettingsParams object with the ability to set a custom HTTPClient for a request.
func NewSaveReportSettingsParamsWithTimeout ¶
func NewSaveReportSettingsParamsWithTimeout(timeout time.Duration) *SaveReportSettingsParams
NewSaveReportSettingsParamsWithTimeout creates a new SaveReportSettingsParams object with the ability to set a timeout on a request.
func (*SaveReportSettingsParams) SetBody ¶
func (o *SaveReportSettingsParams) SetBody(body *models.ReportSettings)
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.ReportSettings) *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) Code ¶
func (o *SaveReportSettingsUnauthorized) Code() int
Code gets the status code for the save report settings unauthorized response
func (*SaveReportSettingsUnauthorized) Error ¶
func (o *SaveReportSettingsUnauthorized) Error() string
func (*SaveReportSettingsUnauthorized) GetPayload ¶
func (o *SaveReportSettingsUnauthorized) GetPayload() *models.ErrorResponseBody
func (*SaveReportSettingsUnauthorized) IsClientError ¶
func (o *SaveReportSettingsUnauthorized) IsClientError() bool
IsClientError returns true when this save report settings unauthorized response has a 4xx status code
func (*SaveReportSettingsUnauthorized) IsCode ¶
func (o *SaveReportSettingsUnauthorized) IsCode(code int) bool
IsCode returns true when this save report settings unauthorized response a status code equal to that given
func (*SaveReportSettingsUnauthorized) IsRedirect ¶
func (o *SaveReportSettingsUnauthorized) IsRedirect() bool
IsRedirect returns true when this save report settings unauthorized response has a 3xx status code
func (*SaveReportSettingsUnauthorized) IsServerError ¶
func (o *SaveReportSettingsUnauthorized) IsServerError() bool
IsServerError returns true when this save report settings unauthorized response has a 5xx status code
func (*SaveReportSettingsUnauthorized) IsSuccess ¶
func (o *SaveReportSettingsUnauthorized) IsSuccess() bool
IsSuccess returns true when this save report settings unauthorized response has a 2xx status code
func (*SaveReportSettingsUnauthorized) String ¶
func (o *SaveReportSettingsUnauthorized) String() string
type SendReportBadRequest ¶
type SendReportBadRequest struct {
Payload *models.ErrorResponseBody
}
SendReportBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewSendReportBadRequest ¶
func NewSendReportBadRequest() *SendReportBadRequest
NewSendReportBadRequest creates a SendReportBadRequest with default headers values
func (*SendReportBadRequest) Code ¶
func (o *SendReportBadRequest) Code() int
Code gets the status code for the send report bad request response
func (*SendReportBadRequest) Error ¶
func (o *SendReportBadRequest) Error() string
func (*SendReportBadRequest) GetPayload ¶
func (o *SendReportBadRequest) GetPayload() *models.ErrorResponseBody
func (*SendReportBadRequest) IsClientError ¶
func (o *SendReportBadRequest) IsClientError() bool
IsClientError returns true when this send report bad request response has a 4xx status code
func (*SendReportBadRequest) IsCode ¶
func (o *SendReportBadRequest) IsCode(code int) bool
IsCode returns true when this send report bad request response a status code equal to that given
func (*SendReportBadRequest) IsRedirect ¶
func (o *SendReportBadRequest) IsRedirect() bool
IsRedirect returns true when this send report bad request response has a 3xx status code
func (*SendReportBadRequest) IsServerError ¶
func (o *SendReportBadRequest) IsServerError() bool
IsServerError returns true when this send report bad request response has a 5xx status code
func (*SendReportBadRequest) IsSuccess ¶
func (o *SendReportBadRequest) IsSuccess() bool
IsSuccess returns true when this send report bad request response has a 2xx status code
func (*SendReportBadRequest) String ¶
func (o *SendReportBadRequest) String() string
type SendReportForbidden ¶
type SendReportForbidden struct {
Payload *models.ErrorResponseBody
}
SendReportForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewSendReportForbidden ¶
func NewSendReportForbidden() *SendReportForbidden
NewSendReportForbidden creates a SendReportForbidden with default headers values
func (*SendReportForbidden) Code ¶
func (o *SendReportForbidden) Code() int
Code gets the status code for the send report forbidden response
func (*SendReportForbidden) Error ¶
func (o *SendReportForbidden) Error() string
func (*SendReportForbidden) GetPayload ¶
func (o *SendReportForbidden) GetPayload() *models.ErrorResponseBody
func (*SendReportForbidden) IsClientError ¶
func (o *SendReportForbidden) IsClientError() bool
IsClientError returns true when this send report forbidden response has a 4xx status code
func (*SendReportForbidden) IsCode ¶
func (o *SendReportForbidden) IsCode(code int) bool
IsCode returns true when this send report forbidden response a status code equal to that given
func (*SendReportForbidden) IsRedirect ¶
func (o *SendReportForbidden) IsRedirect() bool
IsRedirect returns true when this send report forbidden response has a 3xx status code
func (*SendReportForbidden) IsServerError ¶
func (o *SendReportForbidden) IsServerError() bool
IsServerError returns true when this send report forbidden response has a 5xx status code
func (*SendReportForbidden) IsSuccess ¶
func (o *SendReportForbidden) IsSuccess() bool
IsSuccess returns true when this send report forbidden response has a 2xx status code
func (*SendReportForbidden) String ¶
func (o *SendReportForbidden) String() string
type SendReportInternalServerError ¶
type SendReportInternalServerError struct {
Payload *models.ErrorResponseBody
}
SendReportInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewSendReportInternalServerError ¶
func NewSendReportInternalServerError() *SendReportInternalServerError
NewSendReportInternalServerError creates a SendReportInternalServerError with default headers values
func (*SendReportInternalServerError) Code ¶
func (o *SendReportInternalServerError) Code() int
Code gets the status code for the send report internal server error response
func (*SendReportInternalServerError) Error ¶
func (o *SendReportInternalServerError) Error() string
func (*SendReportInternalServerError) GetPayload ¶
func (o *SendReportInternalServerError) GetPayload() *models.ErrorResponseBody
func (*SendReportInternalServerError) IsClientError ¶
func (o *SendReportInternalServerError) IsClientError() bool
IsClientError returns true when this send report internal server error response has a 4xx status code
func (*SendReportInternalServerError) IsCode ¶
func (o *SendReportInternalServerError) IsCode(code int) bool
IsCode returns true when this send report internal server error response a status code equal to that given
func (*SendReportInternalServerError) IsRedirect ¶
func (o *SendReportInternalServerError) IsRedirect() bool
IsRedirect returns true when this send report internal server error response has a 3xx status code
func (*SendReportInternalServerError) IsServerError ¶
func (o *SendReportInternalServerError) IsServerError() bool
IsServerError returns true when this send report internal server error response has a 5xx status code
func (*SendReportInternalServerError) IsSuccess ¶
func (o *SendReportInternalServerError) IsSuccess() bool
IsSuccess returns true when this send report internal server error response has a 2xx status code
func (*SendReportInternalServerError) String ¶
func (o *SendReportInternalServerError) String() string
type SendReportNotFound ¶
type SendReportNotFound struct {
Payload *models.ErrorResponseBody
}
SendReportNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewSendReportNotFound ¶
func NewSendReportNotFound() *SendReportNotFound
NewSendReportNotFound creates a SendReportNotFound with default headers values
func (*SendReportNotFound) Code ¶
func (o *SendReportNotFound) Code() int
Code gets the status code for the send report not found response
func (*SendReportNotFound) Error ¶
func (o *SendReportNotFound) Error() string
func (*SendReportNotFound) GetPayload ¶
func (o *SendReportNotFound) GetPayload() *models.ErrorResponseBody
func (*SendReportNotFound) IsClientError ¶
func (o *SendReportNotFound) IsClientError() bool
IsClientError returns true when this send report not found response has a 4xx status code
func (*SendReportNotFound) IsCode ¶
func (o *SendReportNotFound) IsCode(code int) bool
IsCode returns true when this send report not found response a status code equal to that given
func (*SendReportNotFound) IsRedirect ¶
func (o *SendReportNotFound) IsRedirect() bool
IsRedirect returns true when this send report not found response has a 3xx status code
func (*SendReportNotFound) IsServerError ¶
func (o *SendReportNotFound) IsServerError() bool
IsServerError returns true when this send report not found response has a 5xx status code
func (*SendReportNotFound) IsSuccess ¶
func (o *SendReportNotFound) IsSuccess() bool
IsSuccess returns true when this send report not found response has a 2xx status code
func (*SendReportNotFound) String ¶
func (o *SendReportNotFound) String() string
type SendReportOK ¶
type SendReportOK struct {
Payload *models.SuccessResponseBody
}
SendReportOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewSendReportOK ¶
func NewSendReportOK() *SendReportOK
NewSendReportOK creates a SendReportOK with default headers values
func (*SendReportOK) Code ¶
func (o *SendReportOK) Code() int
Code gets the status code for the send report Ok response
func (*SendReportOK) Error ¶
func (o *SendReportOK) Error() string
func (*SendReportOK) GetPayload ¶
func (o *SendReportOK) GetPayload() *models.SuccessResponseBody
func (*SendReportOK) IsClientError ¶
func (o *SendReportOK) IsClientError() bool
IsClientError returns true when this send report Ok response has a 4xx status code
func (*SendReportOK) IsCode ¶
func (o *SendReportOK) IsCode(code int) bool
IsCode returns true when this send report Ok response a status code equal to that given
func (*SendReportOK) IsRedirect ¶
func (o *SendReportOK) IsRedirect() bool
IsRedirect returns true when this send report Ok response has a 3xx status code
func (*SendReportOK) IsServerError ¶
func (o *SendReportOK) IsServerError() bool
IsServerError returns true when this send report Ok response has a 5xx status code
func (*SendReportOK) IsSuccess ¶
func (o *SendReportOK) IsSuccess() bool
IsSuccess returns true when this send report Ok response has a 2xx status code
func (*SendReportOK) String ¶
func (o *SendReportOK) String() string
type SendReportParams ¶
type SendReportParams struct { // Body. Body *models.ReportEmail Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SendReportParams contains all the parameters to send to the API endpoint
for the send report operation. Typically these are written to a http.Request.
func NewSendReportParams ¶
func NewSendReportParams() *SendReportParams
NewSendReportParams creates a new SendReportParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSendReportParamsWithContext ¶
func NewSendReportParamsWithContext(ctx context.Context) *SendReportParams
NewSendReportParamsWithContext creates a new SendReportParams object with the ability to set a context for a request.
func NewSendReportParamsWithHTTPClient ¶
func NewSendReportParamsWithHTTPClient(client *http.Client) *SendReportParams
NewSendReportParamsWithHTTPClient creates a new SendReportParams object with the ability to set a custom HTTPClient for a request.
func NewSendReportParamsWithTimeout ¶
func NewSendReportParamsWithTimeout(timeout time.Duration) *SendReportParams
NewSendReportParamsWithTimeout creates a new SendReportParams object with the ability to set a timeout on a request.
func (*SendReportParams) SetBody ¶
func (o *SendReportParams) SetBody(body *models.ReportEmail)
SetBody adds the body to the send report params
func (*SendReportParams) SetContext ¶
func (o *SendReportParams) SetContext(ctx context.Context)
SetContext adds the context to the send report params
func (*SendReportParams) SetDefaults ¶
func (o *SendReportParams) SetDefaults()
SetDefaults hydrates default values in the send report params (not the query body).
All values with no default are reset to their zero value.
func (*SendReportParams) SetHTTPClient ¶
func (o *SendReportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the send report params
func (*SendReportParams) SetTimeout ¶
func (o *SendReportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the send report params
func (*SendReportParams) WithBody ¶
func (o *SendReportParams) WithBody(body *models.ReportEmail) *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) Code ¶
func (o *SendReportUnauthorized) Code() int
Code gets the status code for the send report unauthorized response
func (*SendReportUnauthorized) Error ¶
func (o *SendReportUnauthorized) Error() string
func (*SendReportUnauthorized) GetPayload ¶
func (o *SendReportUnauthorized) GetPayload() *models.ErrorResponseBody
func (*SendReportUnauthorized) IsClientError ¶
func (o *SendReportUnauthorized) IsClientError() bool
IsClientError returns true when this send report unauthorized response has a 4xx status code
func (*SendReportUnauthorized) IsCode ¶
func (o *SendReportUnauthorized) IsCode(code int) bool
IsCode returns true when this send report unauthorized response a status code equal to that given
func (*SendReportUnauthorized) IsRedirect ¶
func (o *SendReportUnauthorized) IsRedirect() bool
IsRedirect returns true when this send report unauthorized response has a 3xx status code
func (*SendReportUnauthorized) IsServerError ¶
func (o *SendReportUnauthorized) IsServerError() bool
IsServerError returns true when this send report unauthorized response has a 5xx status code
func (*SendReportUnauthorized) IsSuccess ¶
func (o *SendReportUnauthorized) IsSuccess() bool
IsSuccess returns true when this send report unauthorized response has a 2xx status code
func (*SendReportUnauthorized) String ¶
func (o *SendReportUnauthorized) String() string
type SendTestEmailBadRequest ¶
type SendTestEmailBadRequest struct {
Payload *models.ErrorResponseBody
}
SendTestEmailBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewSendTestEmailBadRequest ¶
func NewSendTestEmailBadRequest() *SendTestEmailBadRequest
NewSendTestEmailBadRequest creates a SendTestEmailBadRequest with default headers values
func (*SendTestEmailBadRequest) Code ¶
func (o *SendTestEmailBadRequest) Code() int
Code gets the status code for the send test email bad request response
func (*SendTestEmailBadRequest) Error ¶
func (o *SendTestEmailBadRequest) Error() string
func (*SendTestEmailBadRequest) GetPayload ¶
func (o *SendTestEmailBadRequest) GetPayload() *models.ErrorResponseBody
func (*SendTestEmailBadRequest) IsClientError ¶
func (o *SendTestEmailBadRequest) IsClientError() bool
IsClientError returns true when this send test email bad request response has a 4xx status code
func (*SendTestEmailBadRequest) IsCode ¶
func (o *SendTestEmailBadRequest) IsCode(code int) bool
IsCode returns true when this send test email bad request response a status code equal to that given
func (*SendTestEmailBadRequest) IsRedirect ¶
func (o *SendTestEmailBadRequest) IsRedirect() bool
IsRedirect returns true when this send test email bad request response has a 3xx status code
func (*SendTestEmailBadRequest) IsServerError ¶
func (o *SendTestEmailBadRequest) IsServerError() bool
IsServerError returns true when this send test email bad request response has a 5xx status code
func (*SendTestEmailBadRequest) IsSuccess ¶
func (o *SendTestEmailBadRequest) IsSuccess() bool
IsSuccess returns true when this send test email bad request response has a 2xx status code
func (*SendTestEmailBadRequest) String ¶
func (o *SendTestEmailBadRequest) String() string
type SendTestEmailForbidden ¶
type SendTestEmailForbidden struct {
Payload *models.ErrorResponseBody
}
SendTestEmailForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewSendTestEmailForbidden ¶
func NewSendTestEmailForbidden() *SendTestEmailForbidden
NewSendTestEmailForbidden creates a SendTestEmailForbidden with default headers values
func (*SendTestEmailForbidden) Code ¶
func (o *SendTestEmailForbidden) Code() int
Code gets the status code for the send test email forbidden response
func (*SendTestEmailForbidden) Error ¶
func (o *SendTestEmailForbidden) Error() string
func (*SendTestEmailForbidden) GetPayload ¶
func (o *SendTestEmailForbidden) GetPayload() *models.ErrorResponseBody
func (*SendTestEmailForbidden) IsClientError ¶
func (o *SendTestEmailForbidden) IsClientError() bool
IsClientError returns true when this send test email forbidden response has a 4xx status code
func (*SendTestEmailForbidden) IsCode ¶
func (o *SendTestEmailForbidden) IsCode(code int) bool
IsCode returns true when this send test email forbidden response a status code equal to that given
func (*SendTestEmailForbidden) IsRedirect ¶
func (o *SendTestEmailForbidden) IsRedirect() bool
IsRedirect returns true when this send test email forbidden response has a 3xx status code
func (*SendTestEmailForbidden) IsServerError ¶
func (o *SendTestEmailForbidden) IsServerError() bool
IsServerError returns true when this send test email forbidden response has a 5xx status code
func (*SendTestEmailForbidden) IsSuccess ¶
func (o *SendTestEmailForbidden) IsSuccess() bool
IsSuccess returns true when this send test email forbidden response has a 2xx status code
func (*SendTestEmailForbidden) String ¶
func (o *SendTestEmailForbidden) String() string
type SendTestEmailInternalServerError ¶
type SendTestEmailInternalServerError struct {
Payload *models.ErrorResponseBody
}
SendTestEmailInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewSendTestEmailInternalServerError ¶
func NewSendTestEmailInternalServerError() *SendTestEmailInternalServerError
NewSendTestEmailInternalServerError creates a SendTestEmailInternalServerError with default headers values
func (*SendTestEmailInternalServerError) Code ¶
func (o *SendTestEmailInternalServerError) Code() int
Code gets the status code for the send test email internal server error response
func (*SendTestEmailInternalServerError) Error ¶
func (o *SendTestEmailInternalServerError) Error() string
func (*SendTestEmailInternalServerError) GetPayload ¶
func (o *SendTestEmailInternalServerError) GetPayload() *models.ErrorResponseBody
func (*SendTestEmailInternalServerError) IsClientError ¶
func (o *SendTestEmailInternalServerError) IsClientError() bool
IsClientError returns true when this send test email internal server error response has a 4xx status code
func (*SendTestEmailInternalServerError) IsCode ¶
func (o *SendTestEmailInternalServerError) IsCode(code int) bool
IsCode returns true when this send test email internal server error response a status code equal to that given
func (*SendTestEmailInternalServerError) IsRedirect ¶
func (o *SendTestEmailInternalServerError) IsRedirect() bool
IsRedirect returns true when this send test email internal server error response has a 3xx status code
func (*SendTestEmailInternalServerError) IsServerError ¶
func (o *SendTestEmailInternalServerError) IsServerError() bool
IsServerError returns true when this send test email internal server error response has a 5xx status code
func (*SendTestEmailInternalServerError) IsSuccess ¶
func (o *SendTestEmailInternalServerError) IsSuccess() bool
IsSuccess returns true when this send test email internal server error response has a 2xx status code
func (*SendTestEmailInternalServerError) String ¶
func (o *SendTestEmailInternalServerError) String() string
type SendTestEmailNotFound ¶
type SendTestEmailNotFound struct {
Payload *models.ErrorResponseBody
}
SendTestEmailNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewSendTestEmailNotFound ¶
func NewSendTestEmailNotFound() *SendTestEmailNotFound
NewSendTestEmailNotFound creates a SendTestEmailNotFound with default headers values
func (*SendTestEmailNotFound) Code ¶
func (o *SendTestEmailNotFound) Code() int
Code gets the status code for the send test email not found response
func (*SendTestEmailNotFound) Error ¶
func (o *SendTestEmailNotFound) Error() string
func (*SendTestEmailNotFound) GetPayload ¶
func (o *SendTestEmailNotFound) GetPayload() *models.ErrorResponseBody
func (*SendTestEmailNotFound) IsClientError ¶
func (o *SendTestEmailNotFound) IsClientError() bool
IsClientError returns true when this send test email not found response has a 4xx status code
func (*SendTestEmailNotFound) IsCode ¶
func (o *SendTestEmailNotFound) IsCode(code int) bool
IsCode returns true when this send test email not found response a status code equal to that given
func (*SendTestEmailNotFound) IsRedirect ¶
func (o *SendTestEmailNotFound) IsRedirect() bool
IsRedirect returns true when this send test email not found response has a 3xx status code
func (*SendTestEmailNotFound) IsServerError ¶
func (o *SendTestEmailNotFound) IsServerError() bool
IsServerError returns true when this send test email not found response has a 5xx status code
func (*SendTestEmailNotFound) IsSuccess ¶
func (o *SendTestEmailNotFound) IsSuccess() bool
IsSuccess returns true when this send test email not found response has a 2xx status code
func (*SendTestEmailNotFound) String ¶
func (o *SendTestEmailNotFound) String() string
type SendTestEmailOK ¶
type SendTestEmailOK struct {
Payload *models.SuccessResponseBody
}
SendTestEmailOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewSendTestEmailOK ¶
func NewSendTestEmailOK() *SendTestEmailOK
NewSendTestEmailOK creates a SendTestEmailOK with default headers values
func (*SendTestEmailOK) Code ¶
func (o *SendTestEmailOK) Code() int
Code gets the status code for the send test email Ok response
func (*SendTestEmailOK) Error ¶
func (o *SendTestEmailOK) Error() string
func (*SendTestEmailOK) GetPayload ¶
func (o *SendTestEmailOK) GetPayload() *models.SuccessResponseBody
func (*SendTestEmailOK) IsClientError ¶
func (o *SendTestEmailOK) IsClientError() bool
IsClientError returns true when this send test email Ok response has a 4xx status code
func (*SendTestEmailOK) IsCode ¶
func (o *SendTestEmailOK) IsCode(code int) bool
IsCode returns true when this send test email Ok response a status code equal to that given
func (*SendTestEmailOK) IsRedirect ¶
func (o *SendTestEmailOK) IsRedirect() bool
IsRedirect returns true when this send test email Ok response has a 3xx status code
func (*SendTestEmailOK) IsServerError ¶
func (o *SendTestEmailOK) IsServerError() bool
IsServerError returns true when this send test email Ok response has a 5xx status code
func (*SendTestEmailOK) IsSuccess ¶
func (o *SendTestEmailOK) IsSuccess() bool
IsSuccess returns true when this send test email Ok response has a 2xx status code
func (*SendTestEmailOK) String ¶
func (o *SendTestEmailOK) String() string
type SendTestEmailParams ¶
type SendTestEmailParams struct { // Body. Body *models.CreateOrUpdateReportConfig Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SendTestEmailParams contains all the parameters to send to the API endpoint
for the send test email operation. Typically these are written to a http.Request.
func NewSendTestEmailParams ¶
func NewSendTestEmailParams() *SendTestEmailParams
NewSendTestEmailParams creates a new SendTestEmailParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSendTestEmailParamsWithContext ¶
func NewSendTestEmailParamsWithContext(ctx context.Context) *SendTestEmailParams
NewSendTestEmailParamsWithContext creates a new SendTestEmailParams object with the ability to set a context for a request.
func NewSendTestEmailParamsWithHTTPClient ¶
func NewSendTestEmailParamsWithHTTPClient(client *http.Client) *SendTestEmailParams
NewSendTestEmailParamsWithHTTPClient creates a new SendTestEmailParams object with the ability to set a custom HTTPClient for a request.
func NewSendTestEmailParamsWithTimeout ¶
func NewSendTestEmailParamsWithTimeout(timeout time.Duration) *SendTestEmailParams
NewSendTestEmailParamsWithTimeout creates a new SendTestEmailParams object with the ability to set a timeout on a request.
func (*SendTestEmailParams) SetBody ¶
func (o *SendTestEmailParams) SetBody(body *models.CreateOrUpdateReportConfig)
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.CreateOrUpdateReportConfig) *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) Code ¶
func (o *SendTestEmailUnauthorized) Code() int
Code gets the status code for the send test email unauthorized response
func (*SendTestEmailUnauthorized) Error ¶
func (o *SendTestEmailUnauthorized) Error() string
func (*SendTestEmailUnauthorized) GetPayload ¶
func (o *SendTestEmailUnauthorized) GetPayload() *models.ErrorResponseBody
func (*SendTestEmailUnauthorized) IsClientError ¶
func (o *SendTestEmailUnauthorized) IsClientError() bool
IsClientError returns true when this send test email unauthorized response has a 4xx status code
func (*SendTestEmailUnauthorized) IsCode ¶
func (o *SendTestEmailUnauthorized) IsCode(code int) bool
IsCode returns true when this send test email unauthorized response a status code equal to that given
func (*SendTestEmailUnauthorized) IsRedirect ¶
func (o *SendTestEmailUnauthorized) IsRedirect() bool
IsRedirect returns true when this send test email unauthorized response has a 3xx status code
func (*SendTestEmailUnauthorized) IsServerError ¶
func (o *SendTestEmailUnauthorized) IsServerError() bool
IsServerError returns true when this send test email unauthorized response has a 5xx status code
func (*SendTestEmailUnauthorized) IsSuccess ¶
func (o *SendTestEmailUnauthorized) IsSuccess() bool
IsSuccess returns true when this send test email unauthorized response has a 2xx status code
func (*SendTestEmailUnauthorized) String ¶
func (o *SendTestEmailUnauthorized) String() string
type UpdateReportBadRequest ¶
type UpdateReportBadRequest struct {
Payload *models.ErrorResponseBody
}
UpdateReportBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewUpdateReportBadRequest ¶
func NewUpdateReportBadRequest() *UpdateReportBadRequest
NewUpdateReportBadRequest creates a UpdateReportBadRequest with default headers values
func (*UpdateReportBadRequest) Code ¶
func (o *UpdateReportBadRequest) Code() int
Code gets the status code for the update report bad request response
func (*UpdateReportBadRequest) Error ¶
func (o *UpdateReportBadRequest) Error() string
func (*UpdateReportBadRequest) GetPayload ¶
func (o *UpdateReportBadRequest) GetPayload() *models.ErrorResponseBody
func (*UpdateReportBadRequest) IsClientError ¶
func (o *UpdateReportBadRequest) IsClientError() bool
IsClientError returns true when this update report bad request response has a 4xx status code
func (*UpdateReportBadRequest) IsCode ¶
func (o *UpdateReportBadRequest) IsCode(code int) bool
IsCode returns true when this update report bad request response a status code equal to that given
func (*UpdateReportBadRequest) IsRedirect ¶
func (o *UpdateReportBadRequest) IsRedirect() bool
IsRedirect returns true when this update report bad request response has a 3xx status code
func (*UpdateReportBadRequest) IsServerError ¶
func (o *UpdateReportBadRequest) IsServerError() bool
IsServerError returns true when this update report bad request response has a 5xx status code
func (*UpdateReportBadRequest) IsSuccess ¶
func (o *UpdateReportBadRequest) IsSuccess() bool
IsSuccess returns true when this update report bad request response has a 2xx status code
func (*UpdateReportBadRequest) String ¶
func (o *UpdateReportBadRequest) String() string
type UpdateReportForbidden ¶
type UpdateReportForbidden struct {
Payload *models.ErrorResponseBody
}
UpdateReportForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewUpdateReportForbidden ¶
func NewUpdateReportForbidden() *UpdateReportForbidden
NewUpdateReportForbidden creates a UpdateReportForbidden with default headers values
func (*UpdateReportForbidden) Code ¶
func (o *UpdateReportForbidden) Code() int
Code gets the status code for the update report forbidden response
func (*UpdateReportForbidden) Error ¶
func (o *UpdateReportForbidden) Error() string
func (*UpdateReportForbidden) GetPayload ¶
func (o *UpdateReportForbidden) GetPayload() *models.ErrorResponseBody
func (*UpdateReportForbidden) IsClientError ¶
func (o *UpdateReportForbidden) IsClientError() bool
IsClientError returns true when this update report forbidden response has a 4xx status code
func (*UpdateReportForbidden) IsCode ¶
func (o *UpdateReportForbidden) IsCode(code int) bool
IsCode returns true when this update report forbidden response a status code equal to that given
func (*UpdateReportForbidden) IsRedirect ¶
func (o *UpdateReportForbidden) IsRedirect() bool
IsRedirect returns true when this update report forbidden response has a 3xx status code
func (*UpdateReportForbidden) IsServerError ¶
func (o *UpdateReportForbidden) IsServerError() bool
IsServerError returns true when this update report forbidden response has a 5xx status code
func (*UpdateReportForbidden) IsSuccess ¶
func (o *UpdateReportForbidden) IsSuccess() bool
IsSuccess returns true when this update report forbidden response has a 2xx status code
func (*UpdateReportForbidden) String ¶
func (o *UpdateReportForbidden) String() string
type UpdateReportInternalServerError ¶
type UpdateReportInternalServerError struct {
Payload *models.ErrorResponseBody
}
UpdateReportInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewUpdateReportInternalServerError ¶
func NewUpdateReportInternalServerError() *UpdateReportInternalServerError
NewUpdateReportInternalServerError creates a UpdateReportInternalServerError with default headers values
func (*UpdateReportInternalServerError) Code ¶
func (o *UpdateReportInternalServerError) Code() int
Code gets the status code for the update report internal server error response
func (*UpdateReportInternalServerError) Error ¶
func (o *UpdateReportInternalServerError) Error() string
func (*UpdateReportInternalServerError) GetPayload ¶
func (o *UpdateReportInternalServerError) GetPayload() *models.ErrorResponseBody
func (*UpdateReportInternalServerError) IsClientError ¶
func (o *UpdateReportInternalServerError) IsClientError() bool
IsClientError returns true when this update report internal server error response has a 4xx status code
func (*UpdateReportInternalServerError) IsCode ¶
func (o *UpdateReportInternalServerError) IsCode(code int) bool
IsCode returns true when this update report internal server error response a status code equal to that given
func (*UpdateReportInternalServerError) IsRedirect ¶
func (o *UpdateReportInternalServerError) IsRedirect() bool
IsRedirect returns true when this update report internal server error response has a 3xx status code
func (*UpdateReportInternalServerError) IsServerError ¶
func (o *UpdateReportInternalServerError) IsServerError() bool
IsServerError returns true when this update report internal server error response has a 5xx status code
func (*UpdateReportInternalServerError) IsSuccess ¶
func (o *UpdateReportInternalServerError) IsSuccess() bool
IsSuccess returns true when this update report internal server error response has a 2xx status code
func (*UpdateReportInternalServerError) String ¶
func (o *UpdateReportInternalServerError) String() string
type UpdateReportNotFound ¶
type UpdateReportNotFound struct {
Payload *models.ErrorResponseBody
}
UpdateReportNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewUpdateReportNotFound ¶
func NewUpdateReportNotFound() *UpdateReportNotFound
NewUpdateReportNotFound creates a UpdateReportNotFound with default headers values
func (*UpdateReportNotFound) Code ¶
func (o *UpdateReportNotFound) Code() int
Code gets the status code for the update report not found response
func (*UpdateReportNotFound) Error ¶
func (o *UpdateReportNotFound) Error() string
func (*UpdateReportNotFound) GetPayload ¶
func (o *UpdateReportNotFound) GetPayload() *models.ErrorResponseBody
func (*UpdateReportNotFound) IsClientError ¶
func (o *UpdateReportNotFound) IsClientError() bool
IsClientError returns true when this update report not found response has a 4xx status code
func (*UpdateReportNotFound) IsCode ¶
func (o *UpdateReportNotFound) IsCode(code int) bool
IsCode returns true when this update report not found response a status code equal to that given
func (*UpdateReportNotFound) IsRedirect ¶
func (o *UpdateReportNotFound) IsRedirect() bool
IsRedirect returns true when this update report not found response has a 3xx status code
func (*UpdateReportNotFound) IsServerError ¶
func (o *UpdateReportNotFound) IsServerError() bool
IsServerError returns true when this update report not found response has a 5xx status code
func (*UpdateReportNotFound) IsSuccess ¶
func (o *UpdateReportNotFound) IsSuccess() bool
IsSuccess returns true when this update report not found response has a 2xx status code
func (*UpdateReportNotFound) String ¶
func (o *UpdateReportNotFound) String() string
type UpdateReportOK ¶
type UpdateReportOK struct {
Payload *models.SuccessResponseBody
}
UpdateReportOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewUpdateReportOK ¶
func NewUpdateReportOK() *UpdateReportOK
NewUpdateReportOK creates a UpdateReportOK with default headers values
func (*UpdateReportOK) Code ¶
func (o *UpdateReportOK) Code() int
Code gets the status code for the update report Ok response
func (*UpdateReportOK) Error ¶
func (o *UpdateReportOK) Error() string
func (*UpdateReportOK) GetPayload ¶
func (o *UpdateReportOK) GetPayload() *models.SuccessResponseBody
func (*UpdateReportOK) IsClientError ¶
func (o *UpdateReportOK) IsClientError() bool
IsClientError returns true when this update report Ok response has a 4xx status code
func (*UpdateReportOK) IsCode ¶
func (o *UpdateReportOK) IsCode(code int) bool
IsCode returns true when this update report Ok response a status code equal to that given
func (*UpdateReportOK) IsRedirect ¶
func (o *UpdateReportOK) IsRedirect() bool
IsRedirect returns true when this update report Ok response has a 3xx status code
func (*UpdateReportOK) IsServerError ¶
func (o *UpdateReportOK) IsServerError() bool
IsServerError returns true when this update report Ok response has a 5xx status code
func (*UpdateReportOK) IsSuccess ¶
func (o *UpdateReportOK) IsSuccess() bool
IsSuccess returns true when this update report Ok response has a 2xx status code
func (*UpdateReportOK) String ¶
func (o *UpdateReportOK) String() string
type UpdateReportParams ¶
type UpdateReportParams struct { // Body. Body *models.CreateOrUpdateReportConfig // ID. // // Format: int64 ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateReportParams contains all the parameters to send to the API endpoint
for the update report operation. Typically these are written to a http.Request.
func NewUpdateReportParams ¶
func NewUpdateReportParams() *UpdateReportParams
NewUpdateReportParams creates a new UpdateReportParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateReportParamsWithContext ¶
func NewUpdateReportParamsWithContext(ctx context.Context) *UpdateReportParams
NewUpdateReportParamsWithContext creates a new UpdateReportParams object with the ability to set a context for a request.
func NewUpdateReportParamsWithHTTPClient ¶
func NewUpdateReportParamsWithHTTPClient(client *http.Client) *UpdateReportParams
NewUpdateReportParamsWithHTTPClient creates a new UpdateReportParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateReportParamsWithTimeout ¶
func NewUpdateReportParamsWithTimeout(timeout time.Duration) *UpdateReportParams
NewUpdateReportParamsWithTimeout creates a new UpdateReportParams object with the ability to set a timeout on a request.
func (*UpdateReportParams) SetBody ¶
func (o *UpdateReportParams) SetBody(body *models.CreateOrUpdateReportConfig)
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.CreateOrUpdateReportConfig) *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) Code ¶
func (o *UpdateReportUnauthorized) Code() int
Code gets the status code for the update report unauthorized response
func (*UpdateReportUnauthorized) Error ¶
func (o *UpdateReportUnauthorized) Error() string
func (*UpdateReportUnauthorized) GetPayload ¶
func (o *UpdateReportUnauthorized) GetPayload() *models.ErrorResponseBody
func (*UpdateReportUnauthorized) IsClientError ¶
func (o *UpdateReportUnauthorized) IsClientError() bool
IsClientError returns true when this update report unauthorized response has a 4xx status code
func (*UpdateReportUnauthorized) IsCode ¶
func (o *UpdateReportUnauthorized) IsCode(code int) bool
IsCode returns true when this update report unauthorized response a status code equal to that given
func (*UpdateReportUnauthorized) IsRedirect ¶
func (o *UpdateReportUnauthorized) IsRedirect() bool
IsRedirect returns true when this update report unauthorized response has a 3xx status code
func (*UpdateReportUnauthorized) IsServerError ¶
func (o *UpdateReportUnauthorized) IsServerError() bool
IsServerError returns true when this update report unauthorized response has a 5xx status code
func (*UpdateReportUnauthorized) IsSuccess ¶
func (o *UpdateReportUnauthorized) IsSuccess() bool
IsSuccess returns true when this update report unauthorized response has a 2xx status code
func (*UpdateReportUnauthorized) String ¶
func (o *UpdateReportUnauthorized) String() string
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_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