Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteAlertRule(params *DeleteAlertRuleParams, opts ...ClientOption) (*DeleteAlertRuleNoContent, error)
- func (a *Client) DeleteAlertRuleGroup(group string, folderUID string, opts ...ClientOption) (*DeleteAlertRuleGroupNoContent, error)
- func (a *Client) DeleteAlertRuleGroupWithParams(params *DeleteAlertRuleGroupParams, opts ...ClientOption) (*DeleteAlertRuleGroupNoContent, error)
- func (a *Client) DeleteContactpoints(uid string, opts ...ClientOption) (*DeleteContactpointsAccepted, error)
- func (a *Client) DeleteContactpointsWithParams(params *DeleteContactpointsParams, opts ...ClientOption) (*DeleteContactpointsAccepted, error)
- func (a *Client) DeleteMuteTiming(params *DeleteMuteTimingParams, opts ...ClientOption) (*DeleteMuteTimingNoContent, error)
- func (a *Client) DeleteTemplate(params *DeleteTemplateParams, opts ...ClientOption) (*DeleteTemplateNoContent, error)
- func (a *Client) ExportMuteTiming(params *ExportMuteTimingParams, opts ...ClientOption) (*ExportMuteTimingOK, error)
- func (a *Client) ExportMuteTimings(params *ExportMuteTimingsParams, opts ...ClientOption) (*ExportMuteTimingsOK, error)
- func (a *Client) GetAlertRule(uid string, opts ...ClientOption) (*GetAlertRuleOK, error)
- func (a *Client) GetAlertRuleExport(params *GetAlertRuleExportParams, opts ...ClientOption) (*GetAlertRuleExportOK, error)
- func (a *Client) GetAlertRuleGroup(group string, folderUID string, opts ...ClientOption) (*GetAlertRuleGroupOK, error)
- func (a *Client) GetAlertRuleGroupExport(params *GetAlertRuleGroupExportParams, opts ...ClientOption) (*GetAlertRuleGroupExportOK, error)
- func (a *Client) GetAlertRuleGroupWithParams(params *GetAlertRuleGroupParams, opts ...ClientOption) (*GetAlertRuleGroupOK, error)
- func (a *Client) GetAlertRuleWithParams(params *GetAlertRuleParams, opts ...ClientOption) (*GetAlertRuleOK, error)
- func (a *Client) GetAlertRules(opts ...ClientOption) (*GetAlertRulesOK, error)
- func (a *Client) GetAlertRulesExport(params *GetAlertRulesExportParams, opts ...ClientOption) (*GetAlertRulesExportOK, error)
- func (a *Client) GetAlertRulesWithParams(params *GetAlertRulesParams, opts ...ClientOption) (*GetAlertRulesOK, error)
- func (a *Client) GetContactpoints(params *GetContactpointsParams, opts ...ClientOption) (*GetContactpointsOK, error)
- func (a *Client) GetContactpointsExport(params *GetContactpointsExportParams, opts ...ClientOption) (*GetContactpointsExportOK, error)
- func (a *Client) GetMuteTiming(name string, opts ...ClientOption) (*GetMuteTimingOK, error)
- func (a *Client) GetMuteTimingWithParams(params *GetMuteTimingParams, opts ...ClientOption) (*GetMuteTimingOK, error)
- func (a *Client) GetMuteTimings(opts ...ClientOption) (*GetMuteTimingsOK, error)
- func (a *Client) GetMuteTimingsWithParams(params *GetMuteTimingsParams, opts ...ClientOption) (*GetMuteTimingsOK, error)
- func (a *Client) GetPolicyTree(opts ...ClientOption) (*GetPolicyTreeOK, error)
- func (a *Client) GetPolicyTreeExport(opts ...ClientOption) (*GetPolicyTreeExportOK, error)
- func (a *Client) GetPolicyTreeExportWithParams(params *GetPolicyTreeExportParams, opts ...ClientOption) (*GetPolicyTreeExportOK, error)
- func (a *Client) GetPolicyTreeWithParams(params *GetPolicyTreeParams, opts ...ClientOption) (*GetPolicyTreeOK, error)
- func (a *Client) GetTemplate(name string, opts ...ClientOption) (*GetTemplateOK, error)
- func (a *Client) GetTemplateWithParams(params *GetTemplateParams, opts ...ClientOption) (*GetTemplateOK, error)
- func (a *Client) GetTemplates(opts ...ClientOption) (*GetTemplatesOK, error)
- func (a *Client) GetTemplatesWithParams(params *GetTemplatesParams, opts ...ClientOption) (*GetTemplatesOK, error)
- func (a *Client) PostAlertRule(params *PostAlertRuleParams, opts ...ClientOption) (*PostAlertRuleCreated, error)
- func (a *Client) PostContactpoints(params *PostContactpointsParams, opts ...ClientOption) (*PostContactpointsAccepted, error)
- func (a *Client) PostMuteTiming(params *PostMuteTimingParams, opts ...ClientOption) (*PostMuteTimingCreated, error)
- func (a *Client) PutAlertRule(params *PutAlertRuleParams, opts ...ClientOption) (*PutAlertRuleOK, error)
- func (a *Client) PutAlertRuleGroup(params *PutAlertRuleGroupParams, opts ...ClientOption) (*PutAlertRuleGroupOK, error)
- func (a *Client) PutContactpoint(params *PutContactpointParams, opts ...ClientOption) (*PutContactpointAccepted, error)
- func (a *Client) PutMuteTiming(params *PutMuteTimingParams, opts ...ClientOption) (*PutMuteTimingAccepted, error)
- func (a *Client) PutPolicyTree(params *PutPolicyTreeParams, opts ...ClientOption) (*PutPolicyTreeAccepted, error)
- func (a *Client) PutTemplate(params *PutTemplateParams, opts ...ClientOption) (*PutTemplateAccepted, error)
- func (a *Client) ResetPolicyTree(opts ...ClientOption) (*ResetPolicyTreeAccepted, error)
- func (a *Client) ResetPolicyTreeWithParams(params *ResetPolicyTreeParams, opts ...ClientOption) (*ResetPolicyTreeAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteAlertRuleGroupForbidden
- func (o *DeleteAlertRuleGroupForbidden) Code() int
- func (o *DeleteAlertRuleGroupForbidden) Error() string
- func (o *DeleteAlertRuleGroupForbidden) GetPayload() *models.ForbiddenError
- func (o *DeleteAlertRuleGroupForbidden) IsClientError() bool
- func (o *DeleteAlertRuleGroupForbidden) IsCode(code int) bool
- func (o *DeleteAlertRuleGroupForbidden) IsRedirect() bool
- func (o *DeleteAlertRuleGroupForbidden) IsServerError() bool
- func (o *DeleteAlertRuleGroupForbidden) IsSuccess() bool
- func (o *DeleteAlertRuleGroupForbidden) String() string
- type DeleteAlertRuleGroupNoContent
- func (o *DeleteAlertRuleGroupNoContent) Code() int
- func (o *DeleteAlertRuleGroupNoContent) Error() string
- func (o *DeleteAlertRuleGroupNoContent) IsClientError() bool
- func (o *DeleteAlertRuleGroupNoContent) IsCode(code int) bool
- func (o *DeleteAlertRuleGroupNoContent) IsRedirect() bool
- func (o *DeleteAlertRuleGroupNoContent) IsServerError() bool
- func (o *DeleteAlertRuleGroupNoContent) IsSuccess() bool
- func (o *DeleteAlertRuleGroupNoContent) String() string
- type DeleteAlertRuleGroupNotFound
- func (o *DeleteAlertRuleGroupNotFound) Code() int
- func (o *DeleteAlertRuleGroupNotFound) Error() string
- func (o *DeleteAlertRuleGroupNotFound) GetPayload() models.NotFound
- func (o *DeleteAlertRuleGroupNotFound) IsClientError() bool
- func (o *DeleteAlertRuleGroupNotFound) IsCode(code int) bool
- func (o *DeleteAlertRuleGroupNotFound) IsRedirect() bool
- func (o *DeleteAlertRuleGroupNotFound) IsServerError() bool
- func (o *DeleteAlertRuleGroupNotFound) IsSuccess() bool
- func (o *DeleteAlertRuleGroupNotFound) String() string
- type DeleteAlertRuleGroupParams
- func NewDeleteAlertRuleGroupParams() *DeleteAlertRuleGroupParams
- func NewDeleteAlertRuleGroupParamsWithContext(ctx context.Context) *DeleteAlertRuleGroupParams
- func NewDeleteAlertRuleGroupParamsWithHTTPClient(client *http.Client) *DeleteAlertRuleGroupParams
- func NewDeleteAlertRuleGroupParamsWithTimeout(timeout time.Duration) *DeleteAlertRuleGroupParams
- func (o *DeleteAlertRuleGroupParams) SetContext(ctx context.Context)
- func (o *DeleteAlertRuleGroupParams) SetDefaults()
- func (o *DeleteAlertRuleGroupParams) SetFolderUID(folderUID string)
- func (o *DeleteAlertRuleGroupParams) SetGroup(group string)
- func (o *DeleteAlertRuleGroupParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAlertRuleGroupParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAlertRuleGroupParams) WithContext(ctx context.Context) *DeleteAlertRuleGroupParams
- func (o *DeleteAlertRuleGroupParams) WithDefaults() *DeleteAlertRuleGroupParams
- func (o *DeleteAlertRuleGroupParams) WithFolderUID(folderUID string) *DeleteAlertRuleGroupParams
- func (o *DeleteAlertRuleGroupParams) WithGroup(group string) *DeleteAlertRuleGroupParams
- func (o *DeleteAlertRuleGroupParams) WithHTTPClient(client *http.Client) *DeleteAlertRuleGroupParams
- func (o *DeleteAlertRuleGroupParams) WithTimeout(timeout time.Duration) *DeleteAlertRuleGroupParams
- func (o *DeleteAlertRuleGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAlertRuleGroupReader
- type DeleteAlertRuleNoContent
- func (o *DeleteAlertRuleNoContent) Code() int
- func (o *DeleteAlertRuleNoContent) Error() string
- func (o *DeleteAlertRuleNoContent) IsClientError() bool
- func (o *DeleteAlertRuleNoContent) IsCode(code int) bool
- func (o *DeleteAlertRuleNoContent) IsRedirect() bool
- func (o *DeleteAlertRuleNoContent) IsServerError() bool
- func (o *DeleteAlertRuleNoContent) IsSuccess() bool
- func (o *DeleteAlertRuleNoContent) String() string
- type DeleteAlertRuleParams
- func NewDeleteAlertRuleParams() *DeleteAlertRuleParams
- func NewDeleteAlertRuleParamsWithContext(ctx context.Context) *DeleteAlertRuleParams
- func NewDeleteAlertRuleParamsWithHTTPClient(client *http.Client) *DeleteAlertRuleParams
- func NewDeleteAlertRuleParamsWithTimeout(timeout time.Duration) *DeleteAlertRuleParams
- func (o *DeleteAlertRuleParams) SetContext(ctx context.Context)
- func (o *DeleteAlertRuleParams) SetDefaults()
- func (o *DeleteAlertRuleParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAlertRuleParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAlertRuleParams) SetUID(uid string)
- func (o *DeleteAlertRuleParams) SetXDisableProvenance(xDisableProvenance *string)
- func (o *DeleteAlertRuleParams) WithContext(ctx context.Context) *DeleteAlertRuleParams
- func (o *DeleteAlertRuleParams) WithDefaults() *DeleteAlertRuleParams
- func (o *DeleteAlertRuleParams) WithHTTPClient(client *http.Client) *DeleteAlertRuleParams
- func (o *DeleteAlertRuleParams) WithTimeout(timeout time.Duration) *DeleteAlertRuleParams
- func (o *DeleteAlertRuleParams) WithUID(uid string) *DeleteAlertRuleParams
- func (o *DeleteAlertRuleParams) WithXDisableProvenance(xDisableProvenance *string) *DeleteAlertRuleParams
- func (o *DeleteAlertRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAlertRuleReader
- type DeleteContactpointsAccepted
- func (o *DeleteContactpointsAccepted) Code() int
- func (o *DeleteContactpointsAccepted) Error() string
- func (o *DeleteContactpointsAccepted) IsClientError() bool
- func (o *DeleteContactpointsAccepted) IsCode(code int) bool
- func (o *DeleteContactpointsAccepted) IsRedirect() bool
- func (o *DeleteContactpointsAccepted) IsServerError() bool
- func (o *DeleteContactpointsAccepted) IsSuccess() bool
- func (o *DeleteContactpointsAccepted) String() string
- type DeleteContactpointsParams
- func NewDeleteContactpointsParams() *DeleteContactpointsParams
- func NewDeleteContactpointsParamsWithContext(ctx context.Context) *DeleteContactpointsParams
- func NewDeleteContactpointsParamsWithHTTPClient(client *http.Client) *DeleteContactpointsParams
- func NewDeleteContactpointsParamsWithTimeout(timeout time.Duration) *DeleteContactpointsParams
- func (o *DeleteContactpointsParams) SetContext(ctx context.Context)
- func (o *DeleteContactpointsParams) SetDefaults()
- func (o *DeleteContactpointsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteContactpointsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteContactpointsParams) SetUID(uid string)
- func (o *DeleteContactpointsParams) WithContext(ctx context.Context) *DeleteContactpointsParams
- func (o *DeleteContactpointsParams) WithDefaults() *DeleteContactpointsParams
- func (o *DeleteContactpointsParams) WithHTTPClient(client *http.Client) *DeleteContactpointsParams
- func (o *DeleteContactpointsParams) WithTimeout(timeout time.Duration) *DeleteContactpointsParams
- func (o *DeleteContactpointsParams) WithUID(uid string) *DeleteContactpointsParams
- func (o *DeleteContactpointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteContactpointsReader
- type DeleteMuteTimingConflict
- func (o *DeleteMuteTimingConflict) Code() int
- func (o *DeleteMuteTimingConflict) Error() string
- func (o *DeleteMuteTimingConflict) GetPayload() *models.PublicError
- func (o *DeleteMuteTimingConflict) IsClientError() bool
- func (o *DeleteMuteTimingConflict) IsCode(code int) bool
- func (o *DeleteMuteTimingConflict) IsRedirect() bool
- func (o *DeleteMuteTimingConflict) IsServerError() bool
- func (o *DeleteMuteTimingConflict) IsSuccess() bool
- func (o *DeleteMuteTimingConflict) String() string
- type DeleteMuteTimingNoContent
- func (o *DeleteMuteTimingNoContent) Code() int
- func (o *DeleteMuteTimingNoContent) Error() string
- func (o *DeleteMuteTimingNoContent) IsClientError() bool
- func (o *DeleteMuteTimingNoContent) IsCode(code int) bool
- func (o *DeleteMuteTimingNoContent) IsRedirect() bool
- func (o *DeleteMuteTimingNoContent) IsServerError() bool
- func (o *DeleteMuteTimingNoContent) IsSuccess() bool
- func (o *DeleteMuteTimingNoContent) String() string
- type DeleteMuteTimingParams
- func NewDeleteMuteTimingParams() *DeleteMuteTimingParams
- func NewDeleteMuteTimingParamsWithContext(ctx context.Context) *DeleteMuteTimingParams
- func NewDeleteMuteTimingParamsWithHTTPClient(client *http.Client) *DeleteMuteTimingParams
- func NewDeleteMuteTimingParamsWithTimeout(timeout time.Duration) *DeleteMuteTimingParams
- func (o *DeleteMuteTimingParams) SetContext(ctx context.Context)
- func (o *DeleteMuteTimingParams) SetDefaults()
- func (o *DeleteMuteTimingParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMuteTimingParams) SetName(name string)
- func (o *DeleteMuteTimingParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMuteTimingParams) SetVersion(version *string)
- func (o *DeleteMuteTimingParams) SetXDisableProvenance(xDisableProvenance *string)
- func (o *DeleteMuteTimingParams) WithContext(ctx context.Context) *DeleteMuteTimingParams
- func (o *DeleteMuteTimingParams) WithDefaults() *DeleteMuteTimingParams
- func (o *DeleteMuteTimingParams) WithHTTPClient(client *http.Client) *DeleteMuteTimingParams
- func (o *DeleteMuteTimingParams) WithName(name string) *DeleteMuteTimingParams
- func (o *DeleteMuteTimingParams) WithTimeout(timeout time.Duration) *DeleteMuteTimingParams
- func (o *DeleteMuteTimingParams) WithVersion(version *string) *DeleteMuteTimingParams
- func (o *DeleteMuteTimingParams) WithXDisableProvenance(xDisableProvenance *string) *DeleteMuteTimingParams
- func (o *DeleteMuteTimingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMuteTimingReader
- type DeleteTemplateConflict
- func (o *DeleteTemplateConflict) Code() int
- func (o *DeleteTemplateConflict) Error() string
- func (o *DeleteTemplateConflict) GetPayload() *models.PublicError
- func (o *DeleteTemplateConflict) IsClientError() bool
- func (o *DeleteTemplateConflict) IsCode(code int) bool
- func (o *DeleteTemplateConflict) IsRedirect() bool
- func (o *DeleteTemplateConflict) IsServerError() bool
- func (o *DeleteTemplateConflict) IsSuccess() bool
- func (o *DeleteTemplateConflict) String() string
- type DeleteTemplateNoContent
- func (o *DeleteTemplateNoContent) Code() int
- func (o *DeleteTemplateNoContent) Error() string
- func (o *DeleteTemplateNoContent) IsClientError() bool
- func (o *DeleteTemplateNoContent) IsCode(code int) bool
- func (o *DeleteTemplateNoContent) IsRedirect() bool
- func (o *DeleteTemplateNoContent) IsServerError() bool
- func (o *DeleteTemplateNoContent) IsSuccess() bool
- func (o *DeleteTemplateNoContent) String() string
- type DeleteTemplateParams
- func NewDeleteTemplateParams() *DeleteTemplateParams
- func NewDeleteTemplateParamsWithContext(ctx context.Context) *DeleteTemplateParams
- func NewDeleteTemplateParamsWithHTTPClient(client *http.Client) *DeleteTemplateParams
- func NewDeleteTemplateParamsWithTimeout(timeout time.Duration) *DeleteTemplateParams
- func (o *DeleteTemplateParams) SetContext(ctx context.Context)
- func (o *DeleteTemplateParams) SetDefaults()
- func (o *DeleteTemplateParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTemplateParams) SetName(name string)
- func (o *DeleteTemplateParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTemplateParams) SetVersion(version *string)
- func (o *DeleteTemplateParams) WithContext(ctx context.Context) *DeleteTemplateParams
- func (o *DeleteTemplateParams) WithDefaults() *DeleteTemplateParams
- func (o *DeleteTemplateParams) WithHTTPClient(client *http.Client) *DeleteTemplateParams
- func (o *DeleteTemplateParams) WithName(name string) *DeleteTemplateParams
- func (o *DeleteTemplateParams) WithTimeout(timeout time.Duration) *DeleteTemplateParams
- func (o *DeleteTemplateParams) WithVersion(version *string) *DeleteTemplateParams
- func (o *DeleteTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTemplateReader
- type ExportMuteTimingForbidden
- func (o *ExportMuteTimingForbidden) Code() int
- func (o *ExportMuteTimingForbidden) Error() string
- func (o *ExportMuteTimingForbidden) GetPayload() models.PermissionDenied
- func (o *ExportMuteTimingForbidden) IsClientError() bool
- func (o *ExportMuteTimingForbidden) IsCode(code int) bool
- func (o *ExportMuteTimingForbidden) IsRedirect() bool
- func (o *ExportMuteTimingForbidden) IsServerError() bool
- func (o *ExportMuteTimingForbidden) IsSuccess() bool
- func (o *ExportMuteTimingForbidden) String() string
- type ExportMuteTimingOK
- func (o *ExportMuteTimingOK) Code() int
- func (o *ExportMuteTimingOK) Error() string
- func (o *ExportMuteTimingOK) GetPayload() *models.AlertingFileExport
- func (o *ExportMuteTimingOK) IsClientError() bool
- func (o *ExportMuteTimingOK) IsCode(code int) bool
- func (o *ExportMuteTimingOK) IsRedirect() bool
- func (o *ExportMuteTimingOK) IsServerError() bool
- func (o *ExportMuteTimingOK) IsSuccess() bool
- func (o *ExportMuteTimingOK) String() string
- type ExportMuteTimingParams
- func NewExportMuteTimingParams() *ExportMuteTimingParams
- func NewExportMuteTimingParamsWithContext(ctx context.Context) *ExportMuteTimingParams
- func NewExportMuteTimingParamsWithHTTPClient(client *http.Client) *ExportMuteTimingParams
- func NewExportMuteTimingParamsWithTimeout(timeout time.Duration) *ExportMuteTimingParams
- func (o *ExportMuteTimingParams) SetContext(ctx context.Context)
- func (o *ExportMuteTimingParams) SetDefaults()
- func (o *ExportMuteTimingParams) SetDownload(download *bool)
- func (o *ExportMuteTimingParams) SetFormat(format *string)
- func (o *ExportMuteTimingParams) SetHTTPClient(client *http.Client)
- func (o *ExportMuteTimingParams) SetName(name string)
- func (o *ExportMuteTimingParams) SetTimeout(timeout time.Duration)
- func (o *ExportMuteTimingParams) WithContext(ctx context.Context) *ExportMuteTimingParams
- func (o *ExportMuteTimingParams) WithDefaults() *ExportMuteTimingParams
- func (o *ExportMuteTimingParams) WithDownload(download *bool) *ExportMuteTimingParams
- func (o *ExportMuteTimingParams) WithFormat(format *string) *ExportMuteTimingParams
- func (o *ExportMuteTimingParams) WithHTTPClient(client *http.Client) *ExportMuteTimingParams
- func (o *ExportMuteTimingParams) WithName(name string) *ExportMuteTimingParams
- func (o *ExportMuteTimingParams) WithTimeout(timeout time.Duration) *ExportMuteTimingParams
- func (o *ExportMuteTimingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExportMuteTimingReader
- type ExportMuteTimingsForbidden
- func (o *ExportMuteTimingsForbidden) Code() int
- func (o *ExportMuteTimingsForbidden) Error() string
- func (o *ExportMuteTimingsForbidden) GetPayload() models.PermissionDenied
- func (o *ExportMuteTimingsForbidden) IsClientError() bool
- func (o *ExportMuteTimingsForbidden) IsCode(code int) bool
- func (o *ExportMuteTimingsForbidden) IsRedirect() bool
- func (o *ExportMuteTimingsForbidden) IsServerError() bool
- func (o *ExportMuteTimingsForbidden) IsSuccess() bool
- func (o *ExportMuteTimingsForbidden) String() string
- type ExportMuteTimingsOK
- func (o *ExportMuteTimingsOK) Code() int
- func (o *ExportMuteTimingsOK) Error() string
- func (o *ExportMuteTimingsOK) GetPayload() *models.AlertingFileExport
- func (o *ExportMuteTimingsOK) IsClientError() bool
- func (o *ExportMuteTimingsOK) IsCode(code int) bool
- func (o *ExportMuteTimingsOK) IsRedirect() bool
- func (o *ExportMuteTimingsOK) IsServerError() bool
- func (o *ExportMuteTimingsOK) IsSuccess() bool
- func (o *ExportMuteTimingsOK) String() string
- type ExportMuteTimingsParams
- func NewExportMuteTimingsParams() *ExportMuteTimingsParams
- func NewExportMuteTimingsParamsWithContext(ctx context.Context) *ExportMuteTimingsParams
- func NewExportMuteTimingsParamsWithHTTPClient(client *http.Client) *ExportMuteTimingsParams
- func NewExportMuteTimingsParamsWithTimeout(timeout time.Duration) *ExportMuteTimingsParams
- func (o *ExportMuteTimingsParams) SetContext(ctx context.Context)
- func (o *ExportMuteTimingsParams) SetDefaults()
- func (o *ExportMuteTimingsParams) SetDownload(download *bool)
- func (o *ExportMuteTimingsParams) SetFormat(format *string)
- func (o *ExportMuteTimingsParams) SetHTTPClient(client *http.Client)
- func (o *ExportMuteTimingsParams) SetTimeout(timeout time.Duration)
- func (o *ExportMuteTimingsParams) WithContext(ctx context.Context) *ExportMuteTimingsParams
- func (o *ExportMuteTimingsParams) WithDefaults() *ExportMuteTimingsParams
- func (o *ExportMuteTimingsParams) WithDownload(download *bool) *ExportMuteTimingsParams
- func (o *ExportMuteTimingsParams) WithFormat(format *string) *ExportMuteTimingsParams
- func (o *ExportMuteTimingsParams) WithHTTPClient(client *http.Client) *ExportMuteTimingsParams
- func (o *ExportMuteTimingsParams) WithTimeout(timeout time.Duration) *ExportMuteTimingsParams
- func (o *ExportMuteTimingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExportMuteTimingsReader
- type GetAlertRuleExportNotFound
- func (o *GetAlertRuleExportNotFound) Code() int
- func (o *GetAlertRuleExportNotFound) Error() string
- func (o *GetAlertRuleExportNotFound) IsClientError() bool
- func (o *GetAlertRuleExportNotFound) IsCode(code int) bool
- func (o *GetAlertRuleExportNotFound) IsRedirect() bool
- func (o *GetAlertRuleExportNotFound) IsServerError() bool
- func (o *GetAlertRuleExportNotFound) IsSuccess() bool
- func (o *GetAlertRuleExportNotFound) String() string
- type GetAlertRuleExportOK
- func (o *GetAlertRuleExportOK) Code() int
- func (o *GetAlertRuleExportOK) Error() string
- func (o *GetAlertRuleExportOK) GetPayload() *models.AlertingFileExport
- func (o *GetAlertRuleExportOK) IsClientError() bool
- func (o *GetAlertRuleExportOK) IsCode(code int) bool
- func (o *GetAlertRuleExportOK) IsRedirect() bool
- func (o *GetAlertRuleExportOK) IsServerError() bool
- func (o *GetAlertRuleExportOK) IsSuccess() bool
- func (o *GetAlertRuleExportOK) String() string
- type GetAlertRuleExportParams
- func NewGetAlertRuleExportParams() *GetAlertRuleExportParams
- func NewGetAlertRuleExportParamsWithContext(ctx context.Context) *GetAlertRuleExportParams
- func NewGetAlertRuleExportParamsWithHTTPClient(client *http.Client) *GetAlertRuleExportParams
- func NewGetAlertRuleExportParamsWithTimeout(timeout time.Duration) *GetAlertRuleExportParams
- func (o *GetAlertRuleExportParams) SetContext(ctx context.Context)
- func (o *GetAlertRuleExportParams) SetDefaults()
- func (o *GetAlertRuleExportParams) SetDownload(download *bool)
- func (o *GetAlertRuleExportParams) SetFormat(format *string)
- func (o *GetAlertRuleExportParams) SetHTTPClient(client *http.Client)
- func (o *GetAlertRuleExportParams) SetTimeout(timeout time.Duration)
- func (o *GetAlertRuleExportParams) SetUID(uid string)
- func (o *GetAlertRuleExportParams) WithContext(ctx context.Context) *GetAlertRuleExportParams
- func (o *GetAlertRuleExportParams) WithDefaults() *GetAlertRuleExportParams
- func (o *GetAlertRuleExportParams) WithDownload(download *bool) *GetAlertRuleExportParams
- func (o *GetAlertRuleExportParams) WithFormat(format *string) *GetAlertRuleExportParams
- func (o *GetAlertRuleExportParams) WithHTTPClient(client *http.Client) *GetAlertRuleExportParams
- func (o *GetAlertRuleExportParams) WithTimeout(timeout time.Duration) *GetAlertRuleExportParams
- func (o *GetAlertRuleExportParams) WithUID(uid string) *GetAlertRuleExportParams
- func (o *GetAlertRuleExportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAlertRuleExportReader
- type GetAlertRuleGroupExportNotFound
- func (o *GetAlertRuleGroupExportNotFound) Code() int
- func (o *GetAlertRuleGroupExportNotFound) Error() string
- func (o *GetAlertRuleGroupExportNotFound) IsClientError() bool
- func (o *GetAlertRuleGroupExportNotFound) IsCode(code int) bool
- func (o *GetAlertRuleGroupExportNotFound) IsRedirect() bool
- func (o *GetAlertRuleGroupExportNotFound) IsServerError() bool
- func (o *GetAlertRuleGroupExportNotFound) IsSuccess() bool
- func (o *GetAlertRuleGroupExportNotFound) String() string
- type GetAlertRuleGroupExportOK
- func (o *GetAlertRuleGroupExportOK) Code() int
- func (o *GetAlertRuleGroupExportOK) Error() string
- func (o *GetAlertRuleGroupExportOK) GetPayload() *models.AlertingFileExport
- func (o *GetAlertRuleGroupExportOK) IsClientError() bool
- func (o *GetAlertRuleGroupExportOK) IsCode(code int) bool
- func (o *GetAlertRuleGroupExportOK) IsRedirect() bool
- func (o *GetAlertRuleGroupExportOK) IsServerError() bool
- func (o *GetAlertRuleGroupExportOK) IsSuccess() bool
- func (o *GetAlertRuleGroupExportOK) String() string
- type GetAlertRuleGroupExportParams
- func NewGetAlertRuleGroupExportParams() *GetAlertRuleGroupExportParams
- func NewGetAlertRuleGroupExportParamsWithContext(ctx context.Context) *GetAlertRuleGroupExportParams
- func NewGetAlertRuleGroupExportParamsWithHTTPClient(client *http.Client) *GetAlertRuleGroupExportParams
- func NewGetAlertRuleGroupExportParamsWithTimeout(timeout time.Duration) *GetAlertRuleGroupExportParams
- func (o *GetAlertRuleGroupExportParams) SetContext(ctx context.Context)
- func (o *GetAlertRuleGroupExportParams) SetDefaults()
- func (o *GetAlertRuleGroupExportParams) SetDownload(download *bool)
- func (o *GetAlertRuleGroupExportParams) SetFolderUID(folderUID string)
- func (o *GetAlertRuleGroupExportParams) SetFormat(format *string)
- func (o *GetAlertRuleGroupExportParams) SetGroup(group string)
- func (o *GetAlertRuleGroupExportParams) SetHTTPClient(client *http.Client)
- func (o *GetAlertRuleGroupExportParams) SetTimeout(timeout time.Duration)
- func (o *GetAlertRuleGroupExportParams) WithContext(ctx context.Context) *GetAlertRuleGroupExportParams
- func (o *GetAlertRuleGroupExportParams) WithDefaults() *GetAlertRuleGroupExportParams
- func (o *GetAlertRuleGroupExportParams) WithDownload(download *bool) *GetAlertRuleGroupExportParams
- func (o *GetAlertRuleGroupExportParams) WithFolderUID(folderUID string) *GetAlertRuleGroupExportParams
- func (o *GetAlertRuleGroupExportParams) WithFormat(format *string) *GetAlertRuleGroupExportParams
- func (o *GetAlertRuleGroupExportParams) WithGroup(group string) *GetAlertRuleGroupExportParams
- func (o *GetAlertRuleGroupExportParams) WithHTTPClient(client *http.Client) *GetAlertRuleGroupExportParams
- func (o *GetAlertRuleGroupExportParams) WithTimeout(timeout time.Duration) *GetAlertRuleGroupExportParams
- func (o *GetAlertRuleGroupExportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAlertRuleGroupExportReader
- type GetAlertRuleGroupNotFound
- func (o *GetAlertRuleGroupNotFound) Code() int
- func (o *GetAlertRuleGroupNotFound) Error() string
- func (o *GetAlertRuleGroupNotFound) IsClientError() bool
- func (o *GetAlertRuleGroupNotFound) IsCode(code int) bool
- func (o *GetAlertRuleGroupNotFound) IsRedirect() bool
- func (o *GetAlertRuleGroupNotFound) IsServerError() bool
- func (o *GetAlertRuleGroupNotFound) IsSuccess() bool
- func (o *GetAlertRuleGroupNotFound) String() string
- type GetAlertRuleGroupOK
- func (o *GetAlertRuleGroupOK) Code() int
- func (o *GetAlertRuleGroupOK) Error() string
- func (o *GetAlertRuleGroupOK) GetPayload() *models.AlertRuleGroup
- func (o *GetAlertRuleGroupOK) IsClientError() bool
- func (o *GetAlertRuleGroupOK) IsCode(code int) bool
- func (o *GetAlertRuleGroupOK) IsRedirect() bool
- func (o *GetAlertRuleGroupOK) IsServerError() bool
- func (o *GetAlertRuleGroupOK) IsSuccess() bool
- func (o *GetAlertRuleGroupOK) String() string
- type GetAlertRuleGroupParams
- func NewGetAlertRuleGroupParams() *GetAlertRuleGroupParams
- func NewGetAlertRuleGroupParamsWithContext(ctx context.Context) *GetAlertRuleGroupParams
- func NewGetAlertRuleGroupParamsWithHTTPClient(client *http.Client) *GetAlertRuleGroupParams
- func NewGetAlertRuleGroupParamsWithTimeout(timeout time.Duration) *GetAlertRuleGroupParams
- func (o *GetAlertRuleGroupParams) SetContext(ctx context.Context)
- func (o *GetAlertRuleGroupParams) SetDefaults()
- func (o *GetAlertRuleGroupParams) SetFolderUID(folderUID string)
- func (o *GetAlertRuleGroupParams) SetGroup(group string)
- func (o *GetAlertRuleGroupParams) SetHTTPClient(client *http.Client)
- func (o *GetAlertRuleGroupParams) SetTimeout(timeout time.Duration)
- func (o *GetAlertRuleGroupParams) WithContext(ctx context.Context) *GetAlertRuleGroupParams
- func (o *GetAlertRuleGroupParams) WithDefaults() *GetAlertRuleGroupParams
- func (o *GetAlertRuleGroupParams) WithFolderUID(folderUID string) *GetAlertRuleGroupParams
- func (o *GetAlertRuleGroupParams) WithGroup(group string) *GetAlertRuleGroupParams
- func (o *GetAlertRuleGroupParams) WithHTTPClient(client *http.Client) *GetAlertRuleGroupParams
- func (o *GetAlertRuleGroupParams) WithTimeout(timeout time.Duration) *GetAlertRuleGroupParams
- func (o *GetAlertRuleGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAlertRuleGroupReader
- type GetAlertRuleNotFound
- func (o *GetAlertRuleNotFound) Code() int
- func (o *GetAlertRuleNotFound) Error() string
- func (o *GetAlertRuleNotFound) IsClientError() bool
- func (o *GetAlertRuleNotFound) IsCode(code int) bool
- func (o *GetAlertRuleNotFound) IsRedirect() bool
- func (o *GetAlertRuleNotFound) IsServerError() bool
- func (o *GetAlertRuleNotFound) IsSuccess() bool
- func (o *GetAlertRuleNotFound) String() string
- type GetAlertRuleOK
- func (o *GetAlertRuleOK) Code() int
- func (o *GetAlertRuleOK) Error() string
- func (o *GetAlertRuleOK) GetPayload() *models.ProvisionedAlertRule
- func (o *GetAlertRuleOK) IsClientError() bool
- func (o *GetAlertRuleOK) IsCode(code int) bool
- func (o *GetAlertRuleOK) IsRedirect() bool
- func (o *GetAlertRuleOK) IsServerError() bool
- func (o *GetAlertRuleOK) IsSuccess() bool
- func (o *GetAlertRuleOK) String() string
- type GetAlertRuleParams
- func (o *GetAlertRuleParams) SetContext(ctx context.Context)
- func (o *GetAlertRuleParams) SetDefaults()
- func (o *GetAlertRuleParams) SetHTTPClient(client *http.Client)
- func (o *GetAlertRuleParams) SetTimeout(timeout time.Duration)
- func (o *GetAlertRuleParams) SetUID(uid string)
- func (o *GetAlertRuleParams) WithContext(ctx context.Context) *GetAlertRuleParams
- func (o *GetAlertRuleParams) WithDefaults() *GetAlertRuleParams
- func (o *GetAlertRuleParams) WithHTTPClient(client *http.Client) *GetAlertRuleParams
- func (o *GetAlertRuleParams) WithTimeout(timeout time.Duration) *GetAlertRuleParams
- func (o *GetAlertRuleParams) WithUID(uid string) *GetAlertRuleParams
- func (o *GetAlertRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAlertRuleReader
- type GetAlertRulesExportNotFound
- func (o *GetAlertRulesExportNotFound) Code() int
- func (o *GetAlertRulesExportNotFound) Error() string
- func (o *GetAlertRulesExportNotFound) IsClientError() bool
- func (o *GetAlertRulesExportNotFound) IsCode(code int) bool
- func (o *GetAlertRulesExportNotFound) IsRedirect() bool
- func (o *GetAlertRulesExportNotFound) IsServerError() bool
- func (o *GetAlertRulesExportNotFound) IsSuccess() bool
- func (o *GetAlertRulesExportNotFound) String() string
- type GetAlertRulesExportOK
- func (o *GetAlertRulesExportOK) Code() int
- func (o *GetAlertRulesExportOK) Error() string
- func (o *GetAlertRulesExportOK) GetPayload() *models.AlertingFileExport
- func (o *GetAlertRulesExportOK) IsClientError() bool
- func (o *GetAlertRulesExportOK) IsCode(code int) bool
- func (o *GetAlertRulesExportOK) IsRedirect() bool
- func (o *GetAlertRulesExportOK) IsServerError() bool
- func (o *GetAlertRulesExportOK) IsSuccess() bool
- func (o *GetAlertRulesExportOK) String() string
- type GetAlertRulesExportParams
- func NewGetAlertRulesExportParams() *GetAlertRulesExportParams
- func NewGetAlertRulesExportParamsWithContext(ctx context.Context) *GetAlertRulesExportParams
- func NewGetAlertRulesExportParamsWithHTTPClient(client *http.Client) *GetAlertRulesExportParams
- func NewGetAlertRulesExportParamsWithTimeout(timeout time.Duration) *GetAlertRulesExportParams
- func (o *GetAlertRulesExportParams) SetContext(ctx context.Context)
- func (o *GetAlertRulesExportParams) SetDefaults()
- func (o *GetAlertRulesExportParams) SetDownload(download *bool)
- func (o *GetAlertRulesExportParams) SetFolderUID(folderUID []string)
- func (o *GetAlertRulesExportParams) SetFormat(format *string)
- func (o *GetAlertRulesExportParams) SetGroup(group *string)
- func (o *GetAlertRulesExportParams) SetHTTPClient(client *http.Client)
- func (o *GetAlertRulesExportParams) SetRuleUID(ruleUID *string)
- func (o *GetAlertRulesExportParams) SetTimeout(timeout time.Duration)
- func (o *GetAlertRulesExportParams) WithContext(ctx context.Context) *GetAlertRulesExportParams
- func (o *GetAlertRulesExportParams) WithDefaults() *GetAlertRulesExportParams
- func (o *GetAlertRulesExportParams) WithDownload(download *bool) *GetAlertRulesExportParams
- func (o *GetAlertRulesExportParams) WithFolderUID(folderUID []string) *GetAlertRulesExportParams
- func (o *GetAlertRulesExportParams) WithFormat(format *string) *GetAlertRulesExportParams
- func (o *GetAlertRulesExportParams) WithGroup(group *string) *GetAlertRulesExportParams
- func (o *GetAlertRulesExportParams) WithHTTPClient(client *http.Client) *GetAlertRulesExportParams
- func (o *GetAlertRulesExportParams) WithRuleUID(ruleUID *string) *GetAlertRulesExportParams
- func (o *GetAlertRulesExportParams) WithTimeout(timeout time.Duration) *GetAlertRulesExportParams
- func (o *GetAlertRulesExportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAlertRulesExportReader
- type GetAlertRulesOK
- func (o *GetAlertRulesOK) Code() int
- func (o *GetAlertRulesOK) Error() string
- func (o *GetAlertRulesOK) GetPayload() models.ProvisionedAlertRules
- func (o *GetAlertRulesOK) IsClientError() bool
- func (o *GetAlertRulesOK) IsCode(code int) bool
- func (o *GetAlertRulesOK) IsRedirect() bool
- func (o *GetAlertRulesOK) IsServerError() bool
- func (o *GetAlertRulesOK) IsSuccess() bool
- func (o *GetAlertRulesOK) String() string
- type GetAlertRulesParams
- func (o *GetAlertRulesParams) SetContext(ctx context.Context)
- func (o *GetAlertRulesParams) SetDefaults()
- func (o *GetAlertRulesParams) SetHTTPClient(client *http.Client)
- func (o *GetAlertRulesParams) SetTimeout(timeout time.Duration)
- func (o *GetAlertRulesParams) WithContext(ctx context.Context) *GetAlertRulesParams
- func (o *GetAlertRulesParams) WithDefaults() *GetAlertRulesParams
- func (o *GetAlertRulesParams) WithHTTPClient(client *http.Client) *GetAlertRulesParams
- func (o *GetAlertRulesParams) WithTimeout(timeout time.Duration) *GetAlertRulesParams
- func (o *GetAlertRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAlertRulesReader
- type GetContactpointsExportForbidden
- func (o *GetContactpointsExportForbidden) Code() int
- func (o *GetContactpointsExportForbidden) Error() string
- func (o *GetContactpointsExportForbidden) GetPayload() models.PermissionDenied
- func (o *GetContactpointsExportForbidden) IsClientError() bool
- func (o *GetContactpointsExportForbidden) IsCode(code int) bool
- func (o *GetContactpointsExportForbidden) IsRedirect() bool
- func (o *GetContactpointsExportForbidden) IsServerError() bool
- func (o *GetContactpointsExportForbidden) IsSuccess() bool
- func (o *GetContactpointsExportForbidden) String() string
- type GetContactpointsExportOK
- func (o *GetContactpointsExportOK) Code() int
- func (o *GetContactpointsExportOK) Error() string
- func (o *GetContactpointsExportOK) GetPayload() *models.AlertingFileExport
- func (o *GetContactpointsExportOK) IsClientError() bool
- func (o *GetContactpointsExportOK) IsCode(code int) bool
- func (o *GetContactpointsExportOK) IsRedirect() bool
- func (o *GetContactpointsExportOK) IsServerError() bool
- func (o *GetContactpointsExportOK) IsSuccess() bool
- func (o *GetContactpointsExportOK) String() string
- type GetContactpointsExportParams
- func NewGetContactpointsExportParams() *GetContactpointsExportParams
- func NewGetContactpointsExportParamsWithContext(ctx context.Context) *GetContactpointsExportParams
- func NewGetContactpointsExportParamsWithHTTPClient(client *http.Client) *GetContactpointsExportParams
- func NewGetContactpointsExportParamsWithTimeout(timeout time.Duration) *GetContactpointsExportParams
- func (o *GetContactpointsExportParams) SetContext(ctx context.Context)
- func (o *GetContactpointsExportParams) SetDecrypt(decrypt *bool)
- func (o *GetContactpointsExportParams) SetDefaults()
- func (o *GetContactpointsExportParams) SetDownload(download *bool)
- func (o *GetContactpointsExportParams) SetFormat(format *string)
- func (o *GetContactpointsExportParams) SetHTTPClient(client *http.Client)
- func (o *GetContactpointsExportParams) SetName(name *string)
- func (o *GetContactpointsExportParams) SetTimeout(timeout time.Duration)
- func (o *GetContactpointsExportParams) WithContext(ctx context.Context) *GetContactpointsExportParams
- func (o *GetContactpointsExportParams) WithDecrypt(decrypt *bool) *GetContactpointsExportParams
- func (o *GetContactpointsExportParams) WithDefaults() *GetContactpointsExportParams
- func (o *GetContactpointsExportParams) WithDownload(download *bool) *GetContactpointsExportParams
- func (o *GetContactpointsExportParams) WithFormat(format *string) *GetContactpointsExportParams
- func (o *GetContactpointsExportParams) WithHTTPClient(client *http.Client) *GetContactpointsExportParams
- func (o *GetContactpointsExportParams) WithName(name *string) *GetContactpointsExportParams
- func (o *GetContactpointsExportParams) WithTimeout(timeout time.Duration) *GetContactpointsExportParams
- func (o *GetContactpointsExportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetContactpointsExportReader
- type GetContactpointsOK
- func (o *GetContactpointsOK) Code() int
- func (o *GetContactpointsOK) Error() string
- func (o *GetContactpointsOK) GetPayload() models.ContactPoints
- func (o *GetContactpointsOK) IsClientError() bool
- func (o *GetContactpointsOK) IsCode(code int) bool
- func (o *GetContactpointsOK) IsRedirect() bool
- func (o *GetContactpointsOK) IsServerError() bool
- func (o *GetContactpointsOK) IsSuccess() bool
- func (o *GetContactpointsOK) String() string
- type GetContactpointsParams
- func NewGetContactpointsParams() *GetContactpointsParams
- func NewGetContactpointsParamsWithContext(ctx context.Context) *GetContactpointsParams
- func NewGetContactpointsParamsWithHTTPClient(client *http.Client) *GetContactpointsParams
- func NewGetContactpointsParamsWithTimeout(timeout time.Duration) *GetContactpointsParams
- func (o *GetContactpointsParams) SetContext(ctx context.Context)
- func (o *GetContactpointsParams) SetDefaults()
- func (o *GetContactpointsParams) SetHTTPClient(client *http.Client)
- func (o *GetContactpointsParams) SetName(name *string)
- func (o *GetContactpointsParams) SetTimeout(timeout time.Duration)
- func (o *GetContactpointsParams) WithContext(ctx context.Context) *GetContactpointsParams
- func (o *GetContactpointsParams) WithDefaults() *GetContactpointsParams
- func (o *GetContactpointsParams) WithHTTPClient(client *http.Client) *GetContactpointsParams
- func (o *GetContactpointsParams) WithName(name *string) *GetContactpointsParams
- func (o *GetContactpointsParams) WithTimeout(timeout time.Duration) *GetContactpointsParams
- func (o *GetContactpointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetContactpointsReader
- type GetMuteTimingNotFound
- func (o *GetMuteTimingNotFound) Code() int
- func (o *GetMuteTimingNotFound) Error() string
- func (o *GetMuteTimingNotFound) IsClientError() bool
- func (o *GetMuteTimingNotFound) IsCode(code int) bool
- func (o *GetMuteTimingNotFound) IsRedirect() bool
- func (o *GetMuteTimingNotFound) IsServerError() bool
- func (o *GetMuteTimingNotFound) IsSuccess() bool
- func (o *GetMuteTimingNotFound) String() string
- type GetMuteTimingOK
- func (o *GetMuteTimingOK) Code() int
- func (o *GetMuteTimingOK) Error() string
- func (o *GetMuteTimingOK) GetPayload() *models.MuteTimeInterval
- func (o *GetMuteTimingOK) IsClientError() bool
- func (o *GetMuteTimingOK) IsCode(code int) bool
- func (o *GetMuteTimingOK) IsRedirect() bool
- func (o *GetMuteTimingOK) IsServerError() bool
- func (o *GetMuteTimingOK) IsSuccess() bool
- func (o *GetMuteTimingOK) String() string
- type GetMuteTimingParams
- func (o *GetMuteTimingParams) SetContext(ctx context.Context)
- func (o *GetMuteTimingParams) SetDefaults()
- func (o *GetMuteTimingParams) SetHTTPClient(client *http.Client)
- func (o *GetMuteTimingParams) SetName(name string)
- func (o *GetMuteTimingParams) SetTimeout(timeout time.Duration)
- func (o *GetMuteTimingParams) WithContext(ctx context.Context) *GetMuteTimingParams
- func (o *GetMuteTimingParams) WithDefaults() *GetMuteTimingParams
- func (o *GetMuteTimingParams) WithHTTPClient(client *http.Client) *GetMuteTimingParams
- func (o *GetMuteTimingParams) WithName(name string) *GetMuteTimingParams
- func (o *GetMuteTimingParams) WithTimeout(timeout time.Duration) *GetMuteTimingParams
- func (o *GetMuteTimingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMuteTimingReader
- type GetMuteTimingsOK
- func (o *GetMuteTimingsOK) Code() int
- func (o *GetMuteTimingsOK) Error() string
- func (o *GetMuteTimingsOK) GetPayload() models.MuteTimings
- func (o *GetMuteTimingsOK) IsClientError() bool
- func (o *GetMuteTimingsOK) IsCode(code int) bool
- func (o *GetMuteTimingsOK) IsRedirect() bool
- func (o *GetMuteTimingsOK) IsServerError() bool
- func (o *GetMuteTimingsOK) IsSuccess() bool
- func (o *GetMuteTimingsOK) String() string
- type GetMuteTimingsParams
- func NewGetMuteTimingsParams() *GetMuteTimingsParams
- func NewGetMuteTimingsParamsWithContext(ctx context.Context) *GetMuteTimingsParams
- func NewGetMuteTimingsParamsWithHTTPClient(client *http.Client) *GetMuteTimingsParams
- func NewGetMuteTimingsParamsWithTimeout(timeout time.Duration) *GetMuteTimingsParams
- func (o *GetMuteTimingsParams) SetContext(ctx context.Context)
- func (o *GetMuteTimingsParams) SetDefaults()
- func (o *GetMuteTimingsParams) SetHTTPClient(client *http.Client)
- func (o *GetMuteTimingsParams) SetTimeout(timeout time.Duration)
- func (o *GetMuteTimingsParams) WithContext(ctx context.Context) *GetMuteTimingsParams
- func (o *GetMuteTimingsParams) WithDefaults() *GetMuteTimingsParams
- func (o *GetMuteTimingsParams) WithHTTPClient(client *http.Client) *GetMuteTimingsParams
- func (o *GetMuteTimingsParams) WithTimeout(timeout time.Duration) *GetMuteTimingsParams
- func (o *GetMuteTimingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMuteTimingsReader
- type GetPolicyTreeExportNotFound
- func (o *GetPolicyTreeExportNotFound) Code() int
- func (o *GetPolicyTreeExportNotFound) Error() string
- func (o *GetPolicyTreeExportNotFound) GetPayload() models.NotFound
- func (o *GetPolicyTreeExportNotFound) IsClientError() bool
- func (o *GetPolicyTreeExportNotFound) IsCode(code int) bool
- func (o *GetPolicyTreeExportNotFound) IsRedirect() bool
- func (o *GetPolicyTreeExportNotFound) IsServerError() bool
- func (o *GetPolicyTreeExportNotFound) IsSuccess() bool
- func (o *GetPolicyTreeExportNotFound) String() string
- type GetPolicyTreeExportOK
- func (o *GetPolicyTreeExportOK) Code() int
- func (o *GetPolicyTreeExportOK) Error() string
- func (o *GetPolicyTreeExportOK) GetPayload() *models.AlertingFileExport
- func (o *GetPolicyTreeExportOK) IsClientError() bool
- func (o *GetPolicyTreeExportOK) IsCode(code int) bool
- func (o *GetPolicyTreeExportOK) IsRedirect() bool
- func (o *GetPolicyTreeExportOK) IsServerError() bool
- func (o *GetPolicyTreeExportOK) IsSuccess() bool
- func (o *GetPolicyTreeExportOK) String() string
- type GetPolicyTreeExportParams
- func NewGetPolicyTreeExportParams() *GetPolicyTreeExportParams
- func NewGetPolicyTreeExportParamsWithContext(ctx context.Context) *GetPolicyTreeExportParams
- func NewGetPolicyTreeExportParamsWithHTTPClient(client *http.Client) *GetPolicyTreeExportParams
- func NewGetPolicyTreeExportParamsWithTimeout(timeout time.Duration) *GetPolicyTreeExportParams
- func (o *GetPolicyTreeExportParams) SetContext(ctx context.Context)
- func (o *GetPolicyTreeExportParams) SetDefaults()
- func (o *GetPolicyTreeExportParams) SetHTTPClient(client *http.Client)
- func (o *GetPolicyTreeExportParams) SetTimeout(timeout time.Duration)
- func (o *GetPolicyTreeExportParams) WithContext(ctx context.Context) *GetPolicyTreeExportParams
- func (o *GetPolicyTreeExportParams) WithDefaults() *GetPolicyTreeExportParams
- func (o *GetPolicyTreeExportParams) WithHTTPClient(client *http.Client) *GetPolicyTreeExportParams
- func (o *GetPolicyTreeExportParams) WithTimeout(timeout time.Duration) *GetPolicyTreeExportParams
- func (o *GetPolicyTreeExportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPolicyTreeExportReader
- type GetPolicyTreeOK
- func (o *GetPolicyTreeOK) Code() int
- func (o *GetPolicyTreeOK) Error() string
- func (o *GetPolicyTreeOK) GetPayload() *models.Route
- func (o *GetPolicyTreeOK) IsClientError() bool
- func (o *GetPolicyTreeOK) IsCode(code int) bool
- func (o *GetPolicyTreeOK) IsRedirect() bool
- func (o *GetPolicyTreeOK) IsServerError() bool
- func (o *GetPolicyTreeOK) IsSuccess() bool
- func (o *GetPolicyTreeOK) String() string
- type GetPolicyTreeParams
- func (o *GetPolicyTreeParams) SetContext(ctx context.Context)
- func (o *GetPolicyTreeParams) SetDefaults()
- func (o *GetPolicyTreeParams) SetHTTPClient(client *http.Client)
- func (o *GetPolicyTreeParams) SetTimeout(timeout time.Duration)
- func (o *GetPolicyTreeParams) WithContext(ctx context.Context) *GetPolicyTreeParams
- func (o *GetPolicyTreeParams) WithDefaults() *GetPolicyTreeParams
- func (o *GetPolicyTreeParams) WithHTTPClient(client *http.Client) *GetPolicyTreeParams
- func (o *GetPolicyTreeParams) WithTimeout(timeout time.Duration) *GetPolicyTreeParams
- func (o *GetPolicyTreeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPolicyTreeReader
- type GetTemplateNotFound
- func (o *GetTemplateNotFound) Code() int
- func (o *GetTemplateNotFound) Error() string
- func (o *GetTemplateNotFound) GetPayload() *models.PublicError
- func (o *GetTemplateNotFound) IsClientError() bool
- func (o *GetTemplateNotFound) IsCode(code int) bool
- func (o *GetTemplateNotFound) IsRedirect() bool
- func (o *GetTemplateNotFound) IsServerError() bool
- func (o *GetTemplateNotFound) IsSuccess() bool
- func (o *GetTemplateNotFound) String() string
- type GetTemplateOK
- func (o *GetTemplateOK) Code() int
- func (o *GetTemplateOK) Error() string
- func (o *GetTemplateOK) GetPayload() *models.NotificationTemplate
- func (o *GetTemplateOK) IsClientError() bool
- func (o *GetTemplateOK) IsCode(code int) bool
- func (o *GetTemplateOK) IsRedirect() bool
- func (o *GetTemplateOK) IsServerError() bool
- func (o *GetTemplateOK) IsSuccess() bool
- func (o *GetTemplateOK) String() string
- type GetTemplateParams
- func (o *GetTemplateParams) SetContext(ctx context.Context)
- func (o *GetTemplateParams) SetDefaults()
- func (o *GetTemplateParams) SetHTTPClient(client *http.Client)
- func (o *GetTemplateParams) SetName(name string)
- func (o *GetTemplateParams) SetTimeout(timeout time.Duration)
- func (o *GetTemplateParams) WithContext(ctx context.Context) *GetTemplateParams
- func (o *GetTemplateParams) WithDefaults() *GetTemplateParams
- func (o *GetTemplateParams) WithHTTPClient(client *http.Client) *GetTemplateParams
- func (o *GetTemplateParams) WithName(name string) *GetTemplateParams
- func (o *GetTemplateParams) WithTimeout(timeout time.Duration) *GetTemplateParams
- func (o *GetTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTemplateReader
- type GetTemplatesOK
- func (o *GetTemplatesOK) Code() int
- func (o *GetTemplatesOK) Error() string
- func (o *GetTemplatesOK) GetPayload() models.NotificationTemplates
- func (o *GetTemplatesOK) IsClientError() bool
- func (o *GetTemplatesOK) IsCode(code int) bool
- func (o *GetTemplatesOK) IsRedirect() bool
- func (o *GetTemplatesOK) IsServerError() bool
- func (o *GetTemplatesOK) IsSuccess() bool
- func (o *GetTemplatesOK) String() string
- type GetTemplatesParams
- func (o *GetTemplatesParams) SetContext(ctx context.Context)
- func (o *GetTemplatesParams) SetDefaults()
- func (o *GetTemplatesParams) SetHTTPClient(client *http.Client)
- func (o *GetTemplatesParams) SetTimeout(timeout time.Duration)
- func (o *GetTemplatesParams) WithContext(ctx context.Context) *GetTemplatesParams
- func (o *GetTemplatesParams) WithDefaults() *GetTemplatesParams
- func (o *GetTemplatesParams) WithHTTPClient(client *http.Client) *GetTemplatesParams
- func (o *GetTemplatesParams) WithTimeout(timeout time.Duration) *GetTemplatesParams
- func (o *GetTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTemplatesReader
- type PostAlertRuleBadRequest
- func (o *PostAlertRuleBadRequest) Code() int
- func (o *PostAlertRuleBadRequest) Error() string
- func (o *PostAlertRuleBadRequest) GetPayload() *models.ValidationError
- func (o *PostAlertRuleBadRequest) IsClientError() bool
- func (o *PostAlertRuleBadRequest) IsCode(code int) bool
- func (o *PostAlertRuleBadRequest) IsRedirect() bool
- func (o *PostAlertRuleBadRequest) IsServerError() bool
- func (o *PostAlertRuleBadRequest) IsSuccess() bool
- func (o *PostAlertRuleBadRequest) String() string
- type PostAlertRuleCreated
- func (o *PostAlertRuleCreated) Code() int
- func (o *PostAlertRuleCreated) Error() string
- func (o *PostAlertRuleCreated) GetPayload() *models.ProvisionedAlertRule
- func (o *PostAlertRuleCreated) IsClientError() bool
- func (o *PostAlertRuleCreated) IsCode(code int) bool
- func (o *PostAlertRuleCreated) IsRedirect() bool
- func (o *PostAlertRuleCreated) IsServerError() bool
- func (o *PostAlertRuleCreated) IsSuccess() bool
- func (o *PostAlertRuleCreated) String() string
- type PostAlertRuleParams
- func (o *PostAlertRuleParams) SetBody(body *models.ProvisionedAlertRule)
- func (o *PostAlertRuleParams) SetContext(ctx context.Context)
- func (o *PostAlertRuleParams) SetDefaults()
- func (o *PostAlertRuleParams) SetHTTPClient(client *http.Client)
- func (o *PostAlertRuleParams) SetTimeout(timeout time.Duration)
- func (o *PostAlertRuleParams) SetXDisableProvenance(xDisableProvenance *string)
- func (o *PostAlertRuleParams) WithBody(body *models.ProvisionedAlertRule) *PostAlertRuleParams
- func (o *PostAlertRuleParams) WithContext(ctx context.Context) *PostAlertRuleParams
- func (o *PostAlertRuleParams) WithDefaults() *PostAlertRuleParams
- func (o *PostAlertRuleParams) WithHTTPClient(client *http.Client) *PostAlertRuleParams
- func (o *PostAlertRuleParams) WithTimeout(timeout time.Duration) *PostAlertRuleParams
- func (o *PostAlertRuleParams) WithXDisableProvenance(xDisableProvenance *string) *PostAlertRuleParams
- func (o *PostAlertRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAlertRuleReader
- type PostContactpointsAccepted
- func (o *PostContactpointsAccepted) Code() int
- func (o *PostContactpointsAccepted) Error() string
- func (o *PostContactpointsAccepted) GetPayload() *models.EmbeddedContactPoint
- func (o *PostContactpointsAccepted) IsClientError() bool
- func (o *PostContactpointsAccepted) IsCode(code int) bool
- func (o *PostContactpointsAccepted) IsRedirect() bool
- func (o *PostContactpointsAccepted) IsServerError() bool
- func (o *PostContactpointsAccepted) IsSuccess() bool
- func (o *PostContactpointsAccepted) String() string
- type PostContactpointsBadRequest
- func (o *PostContactpointsBadRequest) Code() int
- func (o *PostContactpointsBadRequest) Error() string
- func (o *PostContactpointsBadRequest) GetPayload() *models.ValidationError
- func (o *PostContactpointsBadRequest) IsClientError() bool
- func (o *PostContactpointsBadRequest) IsCode(code int) bool
- func (o *PostContactpointsBadRequest) IsRedirect() bool
- func (o *PostContactpointsBadRequest) IsServerError() bool
- func (o *PostContactpointsBadRequest) IsSuccess() bool
- func (o *PostContactpointsBadRequest) String() string
- type PostContactpointsParams
- func NewPostContactpointsParams() *PostContactpointsParams
- func NewPostContactpointsParamsWithContext(ctx context.Context) *PostContactpointsParams
- func NewPostContactpointsParamsWithHTTPClient(client *http.Client) *PostContactpointsParams
- func NewPostContactpointsParamsWithTimeout(timeout time.Duration) *PostContactpointsParams
- func (o *PostContactpointsParams) SetBody(body *models.EmbeddedContactPoint)
- func (o *PostContactpointsParams) SetContext(ctx context.Context)
- func (o *PostContactpointsParams) SetDefaults()
- func (o *PostContactpointsParams) SetHTTPClient(client *http.Client)
- func (o *PostContactpointsParams) SetTimeout(timeout time.Duration)
- func (o *PostContactpointsParams) SetXDisableProvenance(xDisableProvenance *string)
- func (o *PostContactpointsParams) WithBody(body *models.EmbeddedContactPoint) *PostContactpointsParams
- func (o *PostContactpointsParams) WithContext(ctx context.Context) *PostContactpointsParams
- func (o *PostContactpointsParams) WithDefaults() *PostContactpointsParams
- func (o *PostContactpointsParams) WithHTTPClient(client *http.Client) *PostContactpointsParams
- func (o *PostContactpointsParams) WithTimeout(timeout time.Duration) *PostContactpointsParams
- func (o *PostContactpointsParams) WithXDisableProvenance(xDisableProvenance *string) *PostContactpointsParams
- func (o *PostContactpointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostContactpointsReader
- type PostMuteTimingBadRequest
- func (o *PostMuteTimingBadRequest) Code() int
- func (o *PostMuteTimingBadRequest) Error() string
- func (o *PostMuteTimingBadRequest) GetPayload() *models.ValidationError
- func (o *PostMuteTimingBadRequest) IsClientError() bool
- func (o *PostMuteTimingBadRequest) IsCode(code int) bool
- func (o *PostMuteTimingBadRequest) IsRedirect() bool
- func (o *PostMuteTimingBadRequest) IsServerError() bool
- func (o *PostMuteTimingBadRequest) IsSuccess() bool
- func (o *PostMuteTimingBadRequest) String() string
- type PostMuteTimingCreated
- func (o *PostMuteTimingCreated) Code() int
- func (o *PostMuteTimingCreated) Error() string
- func (o *PostMuteTimingCreated) GetPayload() *models.MuteTimeInterval
- func (o *PostMuteTimingCreated) IsClientError() bool
- func (o *PostMuteTimingCreated) IsCode(code int) bool
- func (o *PostMuteTimingCreated) IsRedirect() bool
- func (o *PostMuteTimingCreated) IsServerError() bool
- func (o *PostMuteTimingCreated) IsSuccess() bool
- func (o *PostMuteTimingCreated) String() string
- type PostMuteTimingParams
- func NewPostMuteTimingParams() *PostMuteTimingParams
- func NewPostMuteTimingParamsWithContext(ctx context.Context) *PostMuteTimingParams
- func NewPostMuteTimingParamsWithHTTPClient(client *http.Client) *PostMuteTimingParams
- func NewPostMuteTimingParamsWithTimeout(timeout time.Duration) *PostMuteTimingParams
- func (o *PostMuteTimingParams) SetBody(body *models.MuteTimeInterval)
- func (o *PostMuteTimingParams) SetContext(ctx context.Context)
- func (o *PostMuteTimingParams) SetDefaults()
- func (o *PostMuteTimingParams) SetHTTPClient(client *http.Client)
- func (o *PostMuteTimingParams) SetTimeout(timeout time.Duration)
- func (o *PostMuteTimingParams) SetXDisableProvenance(xDisableProvenance *string)
- func (o *PostMuteTimingParams) WithBody(body *models.MuteTimeInterval) *PostMuteTimingParams
- func (o *PostMuteTimingParams) WithContext(ctx context.Context) *PostMuteTimingParams
- func (o *PostMuteTimingParams) WithDefaults() *PostMuteTimingParams
- func (o *PostMuteTimingParams) WithHTTPClient(client *http.Client) *PostMuteTimingParams
- func (o *PostMuteTimingParams) WithTimeout(timeout time.Duration) *PostMuteTimingParams
- func (o *PostMuteTimingParams) WithXDisableProvenance(xDisableProvenance *string) *PostMuteTimingParams
- func (o *PostMuteTimingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostMuteTimingReader
- type PutAlertRuleBadRequest
- func (o *PutAlertRuleBadRequest) Code() int
- func (o *PutAlertRuleBadRequest) Error() string
- func (o *PutAlertRuleBadRequest) GetPayload() *models.ValidationError
- func (o *PutAlertRuleBadRequest) IsClientError() bool
- func (o *PutAlertRuleBadRequest) IsCode(code int) bool
- func (o *PutAlertRuleBadRequest) IsRedirect() bool
- func (o *PutAlertRuleBadRequest) IsServerError() bool
- func (o *PutAlertRuleBadRequest) IsSuccess() bool
- func (o *PutAlertRuleBadRequest) String() string
- type PutAlertRuleGroupBadRequest
- func (o *PutAlertRuleGroupBadRequest) Code() int
- func (o *PutAlertRuleGroupBadRequest) Error() string
- func (o *PutAlertRuleGroupBadRequest) GetPayload() *models.ValidationError
- func (o *PutAlertRuleGroupBadRequest) IsClientError() bool
- func (o *PutAlertRuleGroupBadRequest) IsCode(code int) bool
- func (o *PutAlertRuleGroupBadRequest) IsRedirect() bool
- func (o *PutAlertRuleGroupBadRequest) IsServerError() bool
- func (o *PutAlertRuleGroupBadRequest) IsSuccess() bool
- func (o *PutAlertRuleGroupBadRequest) String() string
- type PutAlertRuleGroupOK
- func (o *PutAlertRuleGroupOK) Code() int
- func (o *PutAlertRuleGroupOK) Error() string
- func (o *PutAlertRuleGroupOK) GetPayload() *models.AlertRuleGroup
- func (o *PutAlertRuleGroupOK) IsClientError() bool
- func (o *PutAlertRuleGroupOK) IsCode(code int) bool
- func (o *PutAlertRuleGroupOK) IsRedirect() bool
- func (o *PutAlertRuleGroupOK) IsServerError() bool
- func (o *PutAlertRuleGroupOK) IsSuccess() bool
- func (o *PutAlertRuleGroupOK) String() string
- type PutAlertRuleGroupParams
- func NewPutAlertRuleGroupParams() *PutAlertRuleGroupParams
- func NewPutAlertRuleGroupParamsWithContext(ctx context.Context) *PutAlertRuleGroupParams
- func NewPutAlertRuleGroupParamsWithHTTPClient(client *http.Client) *PutAlertRuleGroupParams
- func NewPutAlertRuleGroupParamsWithTimeout(timeout time.Duration) *PutAlertRuleGroupParams
- func (o *PutAlertRuleGroupParams) SetBody(body *models.AlertRuleGroup)
- func (o *PutAlertRuleGroupParams) SetContext(ctx context.Context)
- func (o *PutAlertRuleGroupParams) SetDefaults()
- func (o *PutAlertRuleGroupParams) SetFolderUID(folderUID string)
- func (o *PutAlertRuleGroupParams) SetGroup(group string)
- func (o *PutAlertRuleGroupParams) SetHTTPClient(client *http.Client)
- func (o *PutAlertRuleGroupParams) SetTimeout(timeout time.Duration)
- func (o *PutAlertRuleGroupParams) SetXDisableProvenance(xDisableProvenance *string)
- func (o *PutAlertRuleGroupParams) WithBody(body *models.AlertRuleGroup) *PutAlertRuleGroupParams
- func (o *PutAlertRuleGroupParams) WithContext(ctx context.Context) *PutAlertRuleGroupParams
- func (o *PutAlertRuleGroupParams) WithDefaults() *PutAlertRuleGroupParams
- func (o *PutAlertRuleGroupParams) WithFolderUID(folderUID string) *PutAlertRuleGroupParams
- func (o *PutAlertRuleGroupParams) WithGroup(group string) *PutAlertRuleGroupParams
- func (o *PutAlertRuleGroupParams) WithHTTPClient(client *http.Client) *PutAlertRuleGroupParams
- func (o *PutAlertRuleGroupParams) WithTimeout(timeout time.Duration) *PutAlertRuleGroupParams
- func (o *PutAlertRuleGroupParams) WithXDisableProvenance(xDisableProvenance *string) *PutAlertRuleGroupParams
- func (o *PutAlertRuleGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutAlertRuleGroupReader
- type PutAlertRuleOK
- func (o *PutAlertRuleOK) Code() int
- func (o *PutAlertRuleOK) Error() string
- func (o *PutAlertRuleOK) GetPayload() *models.ProvisionedAlertRule
- func (o *PutAlertRuleOK) IsClientError() bool
- func (o *PutAlertRuleOK) IsCode(code int) bool
- func (o *PutAlertRuleOK) IsRedirect() bool
- func (o *PutAlertRuleOK) IsServerError() bool
- func (o *PutAlertRuleOK) IsSuccess() bool
- func (o *PutAlertRuleOK) String() string
- type PutAlertRuleParams
- func (o *PutAlertRuleParams) SetBody(body *models.ProvisionedAlertRule)
- func (o *PutAlertRuleParams) SetContext(ctx context.Context)
- func (o *PutAlertRuleParams) SetDefaults()
- func (o *PutAlertRuleParams) SetHTTPClient(client *http.Client)
- func (o *PutAlertRuleParams) SetTimeout(timeout time.Duration)
- func (o *PutAlertRuleParams) SetUID(uid string)
- func (o *PutAlertRuleParams) SetXDisableProvenance(xDisableProvenance *string)
- func (o *PutAlertRuleParams) WithBody(body *models.ProvisionedAlertRule) *PutAlertRuleParams
- func (o *PutAlertRuleParams) WithContext(ctx context.Context) *PutAlertRuleParams
- func (o *PutAlertRuleParams) WithDefaults() *PutAlertRuleParams
- func (o *PutAlertRuleParams) WithHTTPClient(client *http.Client) *PutAlertRuleParams
- func (o *PutAlertRuleParams) WithTimeout(timeout time.Duration) *PutAlertRuleParams
- func (o *PutAlertRuleParams) WithUID(uid string) *PutAlertRuleParams
- func (o *PutAlertRuleParams) WithXDisableProvenance(xDisableProvenance *string) *PutAlertRuleParams
- func (o *PutAlertRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutAlertRuleReader
- type PutContactpointAccepted
- func (o *PutContactpointAccepted) Code() int
- func (o *PutContactpointAccepted) Error() string
- func (o *PutContactpointAccepted) GetPayload() models.Ack
- func (o *PutContactpointAccepted) IsClientError() bool
- func (o *PutContactpointAccepted) IsCode(code int) bool
- func (o *PutContactpointAccepted) IsRedirect() bool
- func (o *PutContactpointAccepted) IsServerError() bool
- func (o *PutContactpointAccepted) IsSuccess() bool
- func (o *PutContactpointAccepted) String() string
- type PutContactpointBadRequest
- func (o *PutContactpointBadRequest) Code() int
- func (o *PutContactpointBadRequest) Error() string
- func (o *PutContactpointBadRequest) GetPayload() *models.ValidationError
- func (o *PutContactpointBadRequest) IsClientError() bool
- func (o *PutContactpointBadRequest) IsCode(code int) bool
- func (o *PutContactpointBadRequest) IsRedirect() bool
- func (o *PutContactpointBadRequest) IsServerError() bool
- func (o *PutContactpointBadRequest) IsSuccess() bool
- func (o *PutContactpointBadRequest) String() string
- type PutContactpointParams
- func NewPutContactpointParams() *PutContactpointParams
- func NewPutContactpointParamsWithContext(ctx context.Context) *PutContactpointParams
- func NewPutContactpointParamsWithHTTPClient(client *http.Client) *PutContactpointParams
- func NewPutContactpointParamsWithTimeout(timeout time.Duration) *PutContactpointParams
- func (o *PutContactpointParams) SetBody(body *models.EmbeddedContactPoint)
- func (o *PutContactpointParams) SetContext(ctx context.Context)
- func (o *PutContactpointParams) SetDefaults()
- func (o *PutContactpointParams) SetHTTPClient(client *http.Client)
- func (o *PutContactpointParams) SetTimeout(timeout time.Duration)
- func (o *PutContactpointParams) SetUID(uid string)
- func (o *PutContactpointParams) SetXDisableProvenance(xDisableProvenance *string)
- func (o *PutContactpointParams) WithBody(body *models.EmbeddedContactPoint) *PutContactpointParams
- func (o *PutContactpointParams) WithContext(ctx context.Context) *PutContactpointParams
- func (o *PutContactpointParams) WithDefaults() *PutContactpointParams
- func (o *PutContactpointParams) WithHTTPClient(client *http.Client) *PutContactpointParams
- func (o *PutContactpointParams) WithTimeout(timeout time.Duration) *PutContactpointParams
- func (o *PutContactpointParams) WithUID(uid string) *PutContactpointParams
- func (o *PutContactpointParams) WithXDisableProvenance(xDisableProvenance *string) *PutContactpointParams
- func (o *PutContactpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutContactpointReader
- type PutMuteTimingAccepted
- func (o *PutMuteTimingAccepted) Code() int
- func (o *PutMuteTimingAccepted) Error() string
- func (o *PutMuteTimingAccepted) GetPayload() *models.MuteTimeInterval
- func (o *PutMuteTimingAccepted) IsClientError() bool
- func (o *PutMuteTimingAccepted) IsCode(code int) bool
- func (o *PutMuteTimingAccepted) IsRedirect() bool
- func (o *PutMuteTimingAccepted) IsServerError() bool
- func (o *PutMuteTimingAccepted) IsSuccess() bool
- func (o *PutMuteTimingAccepted) String() string
- type PutMuteTimingBadRequest
- func (o *PutMuteTimingBadRequest) Code() int
- func (o *PutMuteTimingBadRequest) Error() string
- func (o *PutMuteTimingBadRequest) GetPayload() *models.ValidationError
- func (o *PutMuteTimingBadRequest) IsClientError() bool
- func (o *PutMuteTimingBadRequest) IsCode(code int) bool
- func (o *PutMuteTimingBadRequest) IsRedirect() bool
- func (o *PutMuteTimingBadRequest) IsServerError() bool
- func (o *PutMuteTimingBadRequest) IsSuccess() bool
- func (o *PutMuteTimingBadRequest) String() string
- type PutMuteTimingConflict
- func (o *PutMuteTimingConflict) Code() int
- func (o *PutMuteTimingConflict) Error() string
- func (o *PutMuteTimingConflict) GetPayload() *models.PublicError
- func (o *PutMuteTimingConflict) IsClientError() bool
- func (o *PutMuteTimingConflict) IsCode(code int) bool
- func (o *PutMuteTimingConflict) IsRedirect() bool
- func (o *PutMuteTimingConflict) IsServerError() bool
- func (o *PutMuteTimingConflict) IsSuccess() bool
- func (o *PutMuteTimingConflict) String() string
- type PutMuteTimingParams
- func (o *PutMuteTimingParams) SetBody(body *models.MuteTimeInterval)
- func (o *PutMuteTimingParams) SetContext(ctx context.Context)
- func (o *PutMuteTimingParams) SetDefaults()
- func (o *PutMuteTimingParams) SetHTTPClient(client *http.Client)
- func (o *PutMuteTimingParams) SetName(name string)
- func (o *PutMuteTimingParams) SetTimeout(timeout time.Duration)
- func (o *PutMuteTimingParams) SetXDisableProvenance(xDisableProvenance *string)
- func (o *PutMuteTimingParams) WithBody(body *models.MuteTimeInterval) *PutMuteTimingParams
- func (o *PutMuteTimingParams) WithContext(ctx context.Context) *PutMuteTimingParams
- func (o *PutMuteTimingParams) WithDefaults() *PutMuteTimingParams
- func (o *PutMuteTimingParams) WithHTTPClient(client *http.Client) *PutMuteTimingParams
- func (o *PutMuteTimingParams) WithName(name string) *PutMuteTimingParams
- func (o *PutMuteTimingParams) WithTimeout(timeout time.Duration) *PutMuteTimingParams
- func (o *PutMuteTimingParams) WithXDisableProvenance(xDisableProvenance *string) *PutMuteTimingParams
- func (o *PutMuteTimingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutMuteTimingReader
- type PutPolicyTreeAccepted
- func (o *PutPolicyTreeAccepted) Code() int
- func (o *PutPolicyTreeAccepted) Error() string
- func (o *PutPolicyTreeAccepted) GetPayload() models.Ack
- func (o *PutPolicyTreeAccepted) IsClientError() bool
- func (o *PutPolicyTreeAccepted) IsCode(code int) bool
- func (o *PutPolicyTreeAccepted) IsRedirect() bool
- func (o *PutPolicyTreeAccepted) IsServerError() bool
- func (o *PutPolicyTreeAccepted) IsSuccess() bool
- func (o *PutPolicyTreeAccepted) String() string
- type PutPolicyTreeBadRequest
- func (o *PutPolicyTreeBadRequest) Code() int
- func (o *PutPolicyTreeBadRequest) Error() string
- func (o *PutPolicyTreeBadRequest) GetPayload() *models.ValidationError
- func (o *PutPolicyTreeBadRequest) IsClientError() bool
- func (o *PutPolicyTreeBadRequest) IsCode(code int) bool
- func (o *PutPolicyTreeBadRequest) IsRedirect() bool
- func (o *PutPolicyTreeBadRequest) IsServerError() bool
- func (o *PutPolicyTreeBadRequest) IsSuccess() bool
- func (o *PutPolicyTreeBadRequest) String() string
- type PutPolicyTreeParams
- func (o *PutPolicyTreeParams) SetBody(body *models.Route)
- func (o *PutPolicyTreeParams) SetContext(ctx context.Context)
- func (o *PutPolicyTreeParams) SetDefaults()
- func (o *PutPolicyTreeParams) SetHTTPClient(client *http.Client)
- func (o *PutPolicyTreeParams) SetTimeout(timeout time.Duration)
- func (o *PutPolicyTreeParams) SetXDisableProvenance(xDisableProvenance *string)
- func (o *PutPolicyTreeParams) WithBody(body *models.Route) *PutPolicyTreeParams
- func (o *PutPolicyTreeParams) WithContext(ctx context.Context) *PutPolicyTreeParams
- func (o *PutPolicyTreeParams) WithDefaults() *PutPolicyTreeParams
- func (o *PutPolicyTreeParams) WithHTTPClient(client *http.Client) *PutPolicyTreeParams
- func (o *PutPolicyTreeParams) WithTimeout(timeout time.Duration) *PutPolicyTreeParams
- func (o *PutPolicyTreeParams) WithXDisableProvenance(xDisableProvenance *string) *PutPolicyTreeParams
- func (o *PutPolicyTreeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutPolicyTreeReader
- type PutTemplateAccepted
- func (o *PutTemplateAccepted) Code() int
- func (o *PutTemplateAccepted) Error() string
- func (o *PutTemplateAccepted) GetPayload() *models.NotificationTemplate
- func (o *PutTemplateAccepted) IsClientError() bool
- func (o *PutTemplateAccepted) IsCode(code int) bool
- func (o *PutTemplateAccepted) IsRedirect() bool
- func (o *PutTemplateAccepted) IsServerError() bool
- func (o *PutTemplateAccepted) IsSuccess() bool
- func (o *PutTemplateAccepted) String() string
- type PutTemplateBadRequest
- func (o *PutTemplateBadRequest) Code() int
- func (o *PutTemplateBadRequest) Error() string
- func (o *PutTemplateBadRequest) GetPayload() *models.PublicError
- func (o *PutTemplateBadRequest) IsClientError() bool
- func (o *PutTemplateBadRequest) IsCode(code int) bool
- func (o *PutTemplateBadRequest) IsRedirect() bool
- func (o *PutTemplateBadRequest) IsServerError() bool
- func (o *PutTemplateBadRequest) IsSuccess() bool
- func (o *PutTemplateBadRequest) String() string
- type PutTemplateConflict
- func (o *PutTemplateConflict) Code() int
- func (o *PutTemplateConflict) Error() string
- func (o *PutTemplateConflict) GetPayload() *models.PublicError
- func (o *PutTemplateConflict) IsClientError() bool
- func (o *PutTemplateConflict) IsCode(code int) bool
- func (o *PutTemplateConflict) IsRedirect() bool
- func (o *PutTemplateConflict) IsServerError() bool
- func (o *PutTemplateConflict) IsSuccess() bool
- func (o *PutTemplateConflict) String() string
- type PutTemplateParams
- func (o *PutTemplateParams) SetBody(body *models.NotificationTemplateContent)
- func (o *PutTemplateParams) SetContext(ctx context.Context)
- func (o *PutTemplateParams) SetDefaults()
- func (o *PutTemplateParams) SetHTTPClient(client *http.Client)
- func (o *PutTemplateParams) SetName(name string)
- func (o *PutTemplateParams) SetTimeout(timeout time.Duration)
- func (o *PutTemplateParams) SetXDisableProvenance(xDisableProvenance *string)
- func (o *PutTemplateParams) WithBody(body *models.NotificationTemplateContent) *PutTemplateParams
- func (o *PutTemplateParams) WithContext(ctx context.Context) *PutTemplateParams
- func (o *PutTemplateParams) WithDefaults() *PutTemplateParams
- func (o *PutTemplateParams) WithHTTPClient(client *http.Client) *PutTemplateParams
- func (o *PutTemplateParams) WithName(name string) *PutTemplateParams
- func (o *PutTemplateParams) WithTimeout(timeout time.Duration) *PutTemplateParams
- func (o *PutTemplateParams) WithXDisableProvenance(xDisableProvenance *string) *PutTemplateParams
- func (o *PutTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutTemplateReader
- type ResetPolicyTreeAccepted
- func (o *ResetPolicyTreeAccepted) Code() int
- func (o *ResetPolicyTreeAccepted) Error() string
- func (o *ResetPolicyTreeAccepted) GetPayload() models.Ack
- func (o *ResetPolicyTreeAccepted) IsClientError() bool
- func (o *ResetPolicyTreeAccepted) IsCode(code int) bool
- func (o *ResetPolicyTreeAccepted) IsRedirect() bool
- func (o *ResetPolicyTreeAccepted) IsServerError() bool
- func (o *ResetPolicyTreeAccepted) IsSuccess() bool
- func (o *ResetPolicyTreeAccepted) String() string
- type ResetPolicyTreeParams
- func NewResetPolicyTreeParams() *ResetPolicyTreeParams
- func NewResetPolicyTreeParamsWithContext(ctx context.Context) *ResetPolicyTreeParams
- func NewResetPolicyTreeParamsWithHTTPClient(client *http.Client) *ResetPolicyTreeParams
- func NewResetPolicyTreeParamsWithTimeout(timeout time.Duration) *ResetPolicyTreeParams
- func (o *ResetPolicyTreeParams) SetContext(ctx context.Context)
- func (o *ResetPolicyTreeParams) SetDefaults()
- func (o *ResetPolicyTreeParams) SetHTTPClient(client *http.Client)
- func (o *ResetPolicyTreeParams) SetTimeout(timeout time.Duration)
- func (o *ResetPolicyTreeParams) WithContext(ctx context.Context) *ResetPolicyTreeParams
- func (o *ResetPolicyTreeParams) WithDefaults() *ResetPolicyTreeParams
- func (o *ResetPolicyTreeParams) WithHTTPClient(client *http.Client) *ResetPolicyTreeParams
- func (o *ResetPolicyTreeParams) WithTimeout(timeout time.Duration) *ResetPolicyTreeParams
- func (o *ResetPolicyTreeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResetPolicyTreeReader
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 provisioning API
func (*Client) DeleteAlertRule ¶
func (a *Client) DeleteAlertRule(params *DeleteAlertRuleParams, opts ...ClientOption) (*DeleteAlertRuleNoContent, error)
func (*Client) DeleteAlertRuleGroup ¶
func (a *Client) DeleteAlertRuleGroup(group string, folderUID string, opts ...ClientOption) (*DeleteAlertRuleGroupNoContent, error)
DeleteAlertRuleGroup Delete rule group
func (*Client) DeleteAlertRuleGroupWithParams ¶
func (a *Client) DeleteAlertRuleGroupWithParams(params *DeleteAlertRuleGroupParams, opts ...ClientOption) (*DeleteAlertRuleGroupNoContent, error)
func (*Client) DeleteContactpoints ¶
func (a *Client) DeleteContactpoints(uid string, opts ...ClientOption) (*DeleteContactpointsAccepted, error)
DeleteContactpoints deletes a contact point
func (*Client) DeleteContactpointsWithParams ¶
func (a *Client) DeleteContactpointsWithParams(params *DeleteContactpointsParams, opts ...ClientOption) (*DeleteContactpointsAccepted, error)
func (*Client) DeleteMuteTiming ¶
func (a *Client) DeleteMuteTiming(params *DeleteMuteTimingParams, opts ...ClientOption) (*DeleteMuteTimingNoContent, error)
func (*Client) DeleteTemplate ¶
func (a *Client) DeleteTemplate(params *DeleteTemplateParams, opts ...ClientOption) (*DeleteTemplateNoContent, error)
func (*Client) ExportMuteTiming ¶
func (a *Client) ExportMuteTiming(params *ExportMuteTimingParams, opts ...ClientOption) (*ExportMuteTimingOK, error)
func (*Client) ExportMuteTimings ¶
func (a *Client) ExportMuteTimings(params *ExportMuteTimingsParams, opts ...ClientOption) (*ExportMuteTimingsOK, error)
func (*Client) GetAlertRule ¶
func (a *Client) GetAlertRule(uid string, opts ...ClientOption) (*GetAlertRuleOK, error)
GetAlertRule gets a specific alert rule by UID
func (*Client) GetAlertRuleExport ¶
func (a *Client) GetAlertRuleExport(params *GetAlertRuleExportParams, opts ...ClientOption) (*GetAlertRuleExportOK, error)
func (*Client) GetAlertRuleGroup ¶
func (a *Client) GetAlertRuleGroup(group string, folderUID string, opts ...ClientOption) (*GetAlertRuleGroupOK, error)
GetAlertRuleGroup gets a rule group
func (*Client) GetAlertRuleGroupExport ¶
func (a *Client) GetAlertRuleGroupExport(params *GetAlertRuleGroupExportParams, opts ...ClientOption) (*GetAlertRuleGroupExportOK, error)
func (*Client) GetAlertRuleGroupWithParams ¶
func (a *Client) GetAlertRuleGroupWithParams(params *GetAlertRuleGroupParams, opts ...ClientOption) (*GetAlertRuleGroupOK, error)
func (*Client) GetAlertRuleWithParams ¶
func (a *Client) GetAlertRuleWithParams(params *GetAlertRuleParams, opts ...ClientOption) (*GetAlertRuleOK, error)
func (*Client) GetAlertRules ¶
func (a *Client) GetAlertRules(opts ...ClientOption) (*GetAlertRulesOK, error)
GetAlertRules gets all the alert rules
func (*Client) GetAlertRulesExport ¶
func (a *Client) GetAlertRulesExport(params *GetAlertRulesExportParams, opts ...ClientOption) (*GetAlertRulesExportOK, error)
func (*Client) GetAlertRulesWithParams ¶
func (a *Client) GetAlertRulesWithParams(params *GetAlertRulesParams, opts ...ClientOption) (*GetAlertRulesOK, error)
func (*Client) GetContactpoints ¶
func (a *Client) GetContactpoints(params *GetContactpointsParams, opts ...ClientOption) (*GetContactpointsOK, error)
func (*Client) GetContactpointsExport ¶
func (a *Client) GetContactpointsExport(params *GetContactpointsExportParams, opts ...ClientOption) (*GetContactpointsExportOK, error)
func (*Client) GetMuteTiming ¶
func (a *Client) GetMuteTiming(name string, opts ...ClientOption) (*GetMuteTimingOK, error)
GetMuteTiming gets a mute timing
func (*Client) GetMuteTimingWithParams ¶
func (a *Client) GetMuteTimingWithParams(params *GetMuteTimingParams, opts ...ClientOption) (*GetMuteTimingOK, error)
func (*Client) GetMuteTimings ¶
func (a *Client) GetMuteTimings(opts ...ClientOption) (*GetMuteTimingsOK, error)
GetMuteTimings gets all the mute timings
func (*Client) GetMuteTimingsWithParams ¶
func (a *Client) GetMuteTimingsWithParams(params *GetMuteTimingsParams, opts ...ClientOption) (*GetMuteTimingsOK, error)
func (*Client) GetPolicyTree ¶
func (a *Client) GetPolicyTree(opts ...ClientOption) (*GetPolicyTreeOK, error)
GetPolicyTree gets the notification policy tree
func (*Client) GetPolicyTreeExport ¶
func (a *Client) GetPolicyTreeExport(opts ...ClientOption) (*GetPolicyTreeExportOK, error)
GetPolicyTreeExport exports the notification policy tree in provisioning file format
func (*Client) GetPolicyTreeExportWithParams ¶
func (a *Client) GetPolicyTreeExportWithParams(params *GetPolicyTreeExportParams, opts ...ClientOption) (*GetPolicyTreeExportOK, error)
func (*Client) GetPolicyTreeWithParams ¶
func (a *Client) GetPolicyTreeWithParams(params *GetPolicyTreeParams, opts ...ClientOption) (*GetPolicyTreeOK, error)
func (*Client) GetTemplate ¶
func (a *Client) GetTemplate(name string, opts ...ClientOption) (*GetTemplateOK, error)
GetTemplate gets a notification template group
func (*Client) GetTemplateWithParams ¶
func (a *Client) GetTemplateWithParams(params *GetTemplateParams, opts ...ClientOption) (*GetTemplateOK, error)
func (*Client) GetTemplates ¶
func (a *Client) GetTemplates(opts ...ClientOption) (*GetTemplatesOK, error)
GetTemplates gets all notification template groups
func (*Client) GetTemplatesWithParams ¶
func (a *Client) GetTemplatesWithParams(params *GetTemplatesParams, opts ...ClientOption) (*GetTemplatesOK, error)
func (*Client) PostAlertRule ¶
func (a *Client) PostAlertRule(params *PostAlertRuleParams, opts ...ClientOption) (*PostAlertRuleCreated, error)
func (*Client) PostContactpoints ¶
func (a *Client) PostContactpoints(params *PostContactpointsParams, opts ...ClientOption) (*PostContactpointsAccepted, error)
func (*Client) PostMuteTiming ¶
func (a *Client) PostMuteTiming(params *PostMuteTimingParams, opts ...ClientOption) (*PostMuteTimingCreated, error)
func (*Client) PutAlertRule ¶
func (a *Client) PutAlertRule(params *PutAlertRuleParams, opts ...ClientOption) (*PutAlertRuleOK, error)
func (*Client) PutAlertRuleGroup ¶
func (a *Client) PutAlertRuleGroup(params *PutAlertRuleGroupParams, opts ...ClientOption) (*PutAlertRuleGroupOK, error)
func (*Client) PutContactpoint ¶
func (a *Client) PutContactpoint(params *PutContactpointParams, opts ...ClientOption) (*PutContactpointAccepted, error)
func (*Client) PutMuteTiming ¶
func (a *Client) PutMuteTiming(params *PutMuteTimingParams, opts ...ClientOption) (*PutMuteTimingAccepted, error)
func (*Client) PutPolicyTree ¶
func (a *Client) PutPolicyTree(params *PutPolicyTreeParams, opts ...ClientOption) (*PutPolicyTreeAccepted, error)
func (*Client) PutTemplate ¶
func (a *Client) PutTemplate(params *PutTemplateParams, opts ...ClientOption) (*PutTemplateAccepted, error)
func (*Client) ResetPolicyTree ¶
func (a *Client) ResetPolicyTree(opts ...ClientOption) (*ResetPolicyTreeAccepted, error)
ResetPolicyTree clears the notification policy tree
func (*Client) ResetPolicyTreeWithParams ¶
func (a *Client) ResetPolicyTreeWithParams(params *ResetPolicyTreeParams, opts ...ClientOption) (*ResetPolicyTreeAccepted, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
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 { DeleteAlertRule(params *DeleteAlertRuleParams, opts ...ClientOption) (*DeleteAlertRuleNoContent, error) DeleteAlertRuleGroup(group string, folderUID string, opts ...ClientOption) (*DeleteAlertRuleGroupNoContent, error) DeleteAlertRuleGroupWithParams(params *DeleteAlertRuleGroupParams, opts ...ClientOption) (*DeleteAlertRuleGroupNoContent, error) DeleteContactpoints(uid string, opts ...ClientOption) (*DeleteContactpointsAccepted, error) DeleteContactpointsWithParams(params *DeleteContactpointsParams, opts ...ClientOption) (*DeleteContactpointsAccepted, error) DeleteMuteTiming(params *DeleteMuteTimingParams, opts ...ClientOption) (*DeleteMuteTimingNoContent, error) DeleteTemplate(params *DeleteTemplateParams, opts ...ClientOption) (*DeleteTemplateNoContent, error) ExportMuteTiming(params *ExportMuteTimingParams, opts ...ClientOption) (*ExportMuteTimingOK, error) ExportMuteTimings(params *ExportMuteTimingsParams, opts ...ClientOption) (*ExportMuteTimingsOK, error) GetAlertRule(uid string, opts ...ClientOption) (*GetAlertRuleOK, error) GetAlertRuleWithParams(params *GetAlertRuleParams, opts ...ClientOption) (*GetAlertRuleOK, error) GetAlertRuleExport(params *GetAlertRuleExportParams, opts ...ClientOption) (*GetAlertRuleExportOK, error) GetAlertRuleGroup(group string, folderUID string, opts ...ClientOption) (*GetAlertRuleGroupOK, error) GetAlertRuleGroupWithParams(params *GetAlertRuleGroupParams, opts ...ClientOption) (*GetAlertRuleGroupOK, error) GetAlertRuleGroupExport(params *GetAlertRuleGroupExportParams, opts ...ClientOption) (*GetAlertRuleGroupExportOK, error) GetAlertRules(opts ...ClientOption) (*GetAlertRulesOK, error) GetAlertRulesWithParams(params *GetAlertRulesParams, opts ...ClientOption) (*GetAlertRulesOK, error) GetAlertRulesExport(params *GetAlertRulesExportParams, opts ...ClientOption) (*GetAlertRulesExportOK, error) GetContactpoints(params *GetContactpointsParams, opts ...ClientOption) (*GetContactpointsOK, error) GetContactpointsExport(params *GetContactpointsExportParams, opts ...ClientOption) (*GetContactpointsExportOK, error) GetMuteTiming(name string, opts ...ClientOption) (*GetMuteTimingOK, error) GetMuteTimingWithParams(params *GetMuteTimingParams, opts ...ClientOption) (*GetMuteTimingOK, error) GetMuteTimings(opts ...ClientOption) (*GetMuteTimingsOK, error) GetMuteTimingsWithParams(params *GetMuteTimingsParams, opts ...ClientOption) (*GetMuteTimingsOK, error) GetPolicyTree(opts ...ClientOption) (*GetPolicyTreeOK, error) GetPolicyTreeWithParams(params *GetPolicyTreeParams, opts ...ClientOption) (*GetPolicyTreeOK, error) GetPolicyTreeExport(opts ...ClientOption) (*GetPolicyTreeExportOK, error) GetPolicyTreeExportWithParams(params *GetPolicyTreeExportParams, opts ...ClientOption) (*GetPolicyTreeExportOK, error) GetTemplate(name string, opts ...ClientOption) (*GetTemplateOK, error) GetTemplateWithParams(params *GetTemplateParams, opts ...ClientOption) (*GetTemplateOK, error) GetTemplates(opts ...ClientOption) (*GetTemplatesOK, error) GetTemplatesWithParams(params *GetTemplatesParams, opts ...ClientOption) (*GetTemplatesOK, error) PostAlertRule(params *PostAlertRuleParams, opts ...ClientOption) (*PostAlertRuleCreated, error) PostContactpoints(params *PostContactpointsParams, opts ...ClientOption) (*PostContactpointsAccepted, error) PostMuteTiming(params *PostMuteTimingParams, opts ...ClientOption) (*PostMuteTimingCreated, error) PutAlertRule(params *PutAlertRuleParams, opts ...ClientOption) (*PutAlertRuleOK, error) PutAlertRuleGroup(params *PutAlertRuleGroupParams, opts ...ClientOption) (*PutAlertRuleGroupOK, error) PutContactpoint(params *PutContactpointParams, opts ...ClientOption) (*PutContactpointAccepted, error) PutMuteTiming(params *PutMuteTimingParams, opts ...ClientOption) (*PutMuteTimingAccepted, error) PutPolicyTree(params *PutPolicyTreeParams, opts ...ClientOption) (*PutPolicyTreeAccepted, error) PutTemplate(params *PutTemplateParams, opts ...ClientOption) (*PutTemplateAccepted, error) ResetPolicyTree(opts ...ClientOption) (*ResetPolicyTreeAccepted, error) ResetPolicyTreeWithParams(params *ResetPolicyTreeParams, opts ...ClientOption) (*ResetPolicyTreeAccepted, 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 provisioning API client.
type DeleteAlertRuleGroupForbidden ¶
type DeleteAlertRuleGroupForbidden struct {
Payload *models.ForbiddenError
}
DeleteAlertRuleGroupForbidden describes a response with status code 403, with default header values.
ForbiddenError
func NewDeleteAlertRuleGroupForbidden ¶
func NewDeleteAlertRuleGroupForbidden() *DeleteAlertRuleGroupForbidden
NewDeleteAlertRuleGroupForbidden creates a DeleteAlertRuleGroupForbidden with default headers values
func (*DeleteAlertRuleGroupForbidden) Code ¶
func (o *DeleteAlertRuleGroupForbidden) Code() int
Code gets the status code for the delete alert rule group forbidden response
func (*DeleteAlertRuleGroupForbidden) Error ¶
func (o *DeleteAlertRuleGroupForbidden) Error() string
func (*DeleteAlertRuleGroupForbidden) GetPayload ¶
func (o *DeleteAlertRuleGroupForbidden) GetPayload() *models.ForbiddenError
func (*DeleteAlertRuleGroupForbidden) IsClientError ¶
func (o *DeleteAlertRuleGroupForbidden) IsClientError() bool
IsClientError returns true when this delete alert rule group forbidden response has a 4xx status code
func (*DeleteAlertRuleGroupForbidden) IsCode ¶
func (o *DeleteAlertRuleGroupForbidden) IsCode(code int) bool
IsCode returns true when this delete alert rule group forbidden response a status code equal to that given
func (*DeleteAlertRuleGroupForbidden) IsRedirect ¶
func (o *DeleteAlertRuleGroupForbidden) IsRedirect() bool
IsRedirect returns true when this delete alert rule group forbidden response has a 3xx status code
func (*DeleteAlertRuleGroupForbidden) IsServerError ¶
func (o *DeleteAlertRuleGroupForbidden) IsServerError() bool
IsServerError returns true when this delete alert rule group forbidden response has a 5xx status code
func (*DeleteAlertRuleGroupForbidden) IsSuccess ¶
func (o *DeleteAlertRuleGroupForbidden) IsSuccess() bool
IsSuccess returns true when this delete alert rule group forbidden response has a 2xx status code
func (*DeleteAlertRuleGroupForbidden) String ¶
func (o *DeleteAlertRuleGroupForbidden) String() string
type DeleteAlertRuleGroupNoContent ¶
type DeleteAlertRuleGroupNoContent struct { }
DeleteAlertRuleGroupNoContent describes a response with status code 204, with default header values.
The alert rule group was deleted successfully.
func NewDeleteAlertRuleGroupNoContent ¶
func NewDeleteAlertRuleGroupNoContent() *DeleteAlertRuleGroupNoContent
NewDeleteAlertRuleGroupNoContent creates a DeleteAlertRuleGroupNoContent with default headers values
func (*DeleteAlertRuleGroupNoContent) Code ¶
func (o *DeleteAlertRuleGroupNoContent) Code() int
Code gets the status code for the delete alert rule group no content response
func (*DeleteAlertRuleGroupNoContent) Error ¶
func (o *DeleteAlertRuleGroupNoContent) Error() string
func (*DeleteAlertRuleGroupNoContent) IsClientError ¶
func (o *DeleteAlertRuleGroupNoContent) IsClientError() bool
IsClientError returns true when this delete alert rule group no content response has a 4xx status code
func (*DeleteAlertRuleGroupNoContent) IsCode ¶
func (o *DeleteAlertRuleGroupNoContent) IsCode(code int) bool
IsCode returns true when this delete alert rule group no content response a status code equal to that given
func (*DeleteAlertRuleGroupNoContent) IsRedirect ¶
func (o *DeleteAlertRuleGroupNoContent) IsRedirect() bool
IsRedirect returns true when this delete alert rule group no content response has a 3xx status code
func (*DeleteAlertRuleGroupNoContent) IsServerError ¶
func (o *DeleteAlertRuleGroupNoContent) IsServerError() bool
IsServerError returns true when this delete alert rule group no content response has a 5xx status code
func (*DeleteAlertRuleGroupNoContent) IsSuccess ¶
func (o *DeleteAlertRuleGroupNoContent) IsSuccess() bool
IsSuccess returns true when this delete alert rule group no content response has a 2xx status code
func (*DeleteAlertRuleGroupNoContent) String ¶
func (o *DeleteAlertRuleGroupNoContent) String() string
type DeleteAlertRuleGroupNotFound ¶
DeleteAlertRuleGroupNotFound describes a response with status code 404, with default header values.
NotFound
func NewDeleteAlertRuleGroupNotFound ¶
func NewDeleteAlertRuleGroupNotFound() *DeleteAlertRuleGroupNotFound
NewDeleteAlertRuleGroupNotFound creates a DeleteAlertRuleGroupNotFound with default headers values
func (*DeleteAlertRuleGroupNotFound) Code ¶
func (o *DeleteAlertRuleGroupNotFound) Code() int
Code gets the status code for the delete alert rule group not found response
func (*DeleteAlertRuleGroupNotFound) Error ¶
func (o *DeleteAlertRuleGroupNotFound) Error() string
func (*DeleteAlertRuleGroupNotFound) GetPayload ¶
func (o *DeleteAlertRuleGroupNotFound) GetPayload() models.NotFound
func (*DeleteAlertRuleGroupNotFound) IsClientError ¶
func (o *DeleteAlertRuleGroupNotFound) IsClientError() bool
IsClientError returns true when this delete alert rule group not found response has a 4xx status code
func (*DeleteAlertRuleGroupNotFound) IsCode ¶
func (o *DeleteAlertRuleGroupNotFound) IsCode(code int) bool
IsCode returns true when this delete alert rule group not found response a status code equal to that given
func (*DeleteAlertRuleGroupNotFound) IsRedirect ¶
func (o *DeleteAlertRuleGroupNotFound) IsRedirect() bool
IsRedirect returns true when this delete alert rule group not found response has a 3xx status code
func (*DeleteAlertRuleGroupNotFound) IsServerError ¶
func (o *DeleteAlertRuleGroupNotFound) IsServerError() bool
IsServerError returns true when this delete alert rule group not found response has a 5xx status code
func (*DeleteAlertRuleGroupNotFound) IsSuccess ¶
func (o *DeleteAlertRuleGroupNotFound) IsSuccess() bool
IsSuccess returns true when this delete alert rule group not found response has a 2xx status code
func (*DeleteAlertRuleGroupNotFound) String ¶
func (o *DeleteAlertRuleGroupNotFound) String() string
type DeleteAlertRuleGroupParams ¶
type DeleteAlertRuleGroupParams struct { // FolderUID. FolderUID string // Group. Group string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAlertRuleGroupParams contains all the parameters to send to the API endpoint
for the delete alert rule group operation. Typically these are written to a http.Request.
func NewDeleteAlertRuleGroupParams ¶
func NewDeleteAlertRuleGroupParams() *DeleteAlertRuleGroupParams
NewDeleteAlertRuleGroupParams creates a new DeleteAlertRuleGroupParams 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 NewDeleteAlertRuleGroupParamsWithContext ¶
func NewDeleteAlertRuleGroupParamsWithContext(ctx context.Context) *DeleteAlertRuleGroupParams
NewDeleteAlertRuleGroupParamsWithContext creates a new DeleteAlertRuleGroupParams object with the ability to set a context for a request.
func NewDeleteAlertRuleGroupParamsWithHTTPClient ¶
func NewDeleteAlertRuleGroupParamsWithHTTPClient(client *http.Client) *DeleteAlertRuleGroupParams
NewDeleteAlertRuleGroupParamsWithHTTPClient creates a new DeleteAlertRuleGroupParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteAlertRuleGroupParamsWithTimeout ¶
func NewDeleteAlertRuleGroupParamsWithTimeout(timeout time.Duration) *DeleteAlertRuleGroupParams
NewDeleteAlertRuleGroupParamsWithTimeout creates a new DeleteAlertRuleGroupParams object with the ability to set a timeout on a request.
func (*DeleteAlertRuleGroupParams) SetContext ¶
func (o *DeleteAlertRuleGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the delete alert rule group params
func (*DeleteAlertRuleGroupParams) SetDefaults ¶
func (o *DeleteAlertRuleGroupParams) SetDefaults()
SetDefaults hydrates default values in the delete alert rule group params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAlertRuleGroupParams) SetFolderUID ¶
func (o *DeleteAlertRuleGroupParams) SetFolderUID(folderUID string)
SetFolderUID adds the folderUid to the delete alert rule group params
func (*DeleteAlertRuleGroupParams) SetGroup ¶
func (o *DeleteAlertRuleGroupParams) SetGroup(group string)
SetGroup adds the group to the delete alert rule group params
func (*DeleteAlertRuleGroupParams) SetHTTPClient ¶
func (o *DeleteAlertRuleGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete alert rule group params
func (*DeleteAlertRuleGroupParams) SetTimeout ¶
func (o *DeleteAlertRuleGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete alert rule group params
func (*DeleteAlertRuleGroupParams) WithContext ¶
func (o *DeleteAlertRuleGroupParams) WithContext(ctx context.Context) *DeleteAlertRuleGroupParams
WithContext adds the context to the delete alert rule group params
func (*DeleteAlertRuleGroupParams) WithDefaults ¶
func (o *DeleteAlertRuleGroupParams) WithDefaults() *DeleteAlertRuleGroupParams
WithDefaults hydrates default values in the delete alert rule group params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAlertRuleGroupParams) WithFolderUID ¶
func (o *DeleteAlertRuleGroupParams) WithFolderUID(folderUID string) *DeleteAlertRuleGroupParams
WithFolderUID adds the folderUID to the delete alert rule group params
func (*DeleteAlertRuleGroupParams) WithGroup ¶
func (o *DeleteAlertRuleGroupParams) WithGroup(group string) *DeleteAlertRuleGroupParams
WithGroup adds the group to the delete alert rule group params
func (*DeleteAlertRuleGroupParams) WithHTTPClient ¶
func (o *DeleteAlertRuleGroupParams) WithHTTPClient(client *http.Client) *DeleteAlertRuleGroupParams
WithHTTPClient adds the HTTPClient to the delete alert rule group params
func (*DeleteAlertRuleGroupParams) WithTimeout ¶
func (o *DeleteAlertRuleGroupParams) WithTimeout(timeout time.Duration) *DeleteAlertRuleGroupParams
WithTimeout adds the timeout to the delete alert rule group params
func (*DeleteAlertRuleGroupParams) WriteToRequest ¶
func (o *DeleteAlertRuleGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAlertRuleGroupReader ¶
type DeleteAlertRuleGroupReader struct {
// contains filtered or unexported fields
}
DeleteAlertRuleGroupReader is a Reader for the DeleteAlertRuleGroup structure.
func (*DeleteAlertRuleGroupReader) ReadResponse ¶
func (o *DeleteAlertRuleGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteAlertRuleNoContent ¶
type DeleteAlertRuleNoContent struct { }
DeleteAlertRuleNoContent describes a response with status code 204, with default header values.
The alert rule was deleted successfully.
func NewDeleteAlertRuleNoContent ¶
func NewDeleteAlertRuleNoContent() *DeleteAlertRuleNoContent
NewDeleteAlertRuleNoContent creates a DeleteAlertRuleNoContent with default headers values
func (*DeleteAlertRuleNoContent) Code ¶
func (o *DeleteAlertRuleNoContent) Code() int
Code gets the status code for the delete alert rule no content response
func (*DeleteAlertRuleNoContent) Error ¶
func (o *DeleteAlertRuleNoContent) Error() string
func (*DeleteAlertRuleNoContent) IsClientError ¶
func (o *DeleteAlertRuleNoContent) IsClientError() bool
IsClientError returns true when this delete alert rule no content response has a 4xx status code
func (*DeleteAlertRuleNoContent) IsCode ¶
func (o *DeleteAlertRuleNoContent) IsCode(code int) bool
IsCode returns true when this delete alert rule no content response a status code equal to that given
func (*DeleteAlertRuleNoContent) IsRedirect ¶
func (o *DeleteAlertRuleNoContent) IsRedirect() bool
IsRedirect returns true when this delete alert rule no content response has a 3xx status code
func (*DeleteAlertRuleNoContent) IsServerError ¶
func (o *DeleteAlertRuleNoContent) IsServerError() bool
IsServerError returns true when this delete alert rule no content response has a 5xx status code
func (*DeleteAlertRuleNoContent) IsSuccess ¶
func (o *DeleteAlertRuleNoContent) IsSuccess() bool
IsSuccess returns true when this delete alert rule no content response has a 2xx status code
func (*DeleteAlertRuleNoContent) String ¶
func (o *DeleteAlertRuleNoContent) String() string
type DeleteAlertRuleParams ¶
type DeleteAlertRuleParams struct { /* UID. Alert rule UID */ UID string // XDisableProvenance. XDisableProvenance *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAlertRuleParams contains all the parameters to send to the API endpoint
for the delete alert rule operation. Typically these are written to a http.Request.
func NewDeleteAlertRuleParams ¶
func NewDeleteAlertRuleParams() *DeleteAlertRuleParams
NewDeleteAlertRuleParams creates a new DeleteAlertRuleParams 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 NewDeleteAlertRuleParamsWithContext ¶
func NewDeleteAlertRuleParamsWithContext(ctx context.Context) *DeleteAlertRuleParams
NewDeleteAlertRuleParamsWithContext creates a new DeleteAlertRuleParams object with the ability to set a context for a request.
func NewDeleteAlertRuleParamsWithHTTPClient ¶
func NewDeleteAlertRuleParamsWithHTTPClient(client *http.Client) *DeleteAlertRuleParams
NewDeleteAlertRuleParamsWithHTTPClient creates a new DeleteAlertRuleParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteAlertRuleParamsWithTimeout ¶
func NewDeleteAlertRuleParamsWithTimeout(timeout time.Duration) *DeleteAlertRuleParams
NewDeleteAlertRuleParamsWithTimeout creates a new DeleteAlertRuleParams object with the ability to set a timeout on a request.
func (*DeleteAlertRuleParams) SetContext ¶
func (o *DeleteAlertRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the delete alert rule params
func (*DeleteAlertRuleParams) SetDefaults ¶
func (o *DeleteAlertRuleParams) SetDefaults()
SetDefaults hydrates default values in the delete alert rule params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAlertRuleParams) SetHTTPClient ¶
func (o *DeleteAlertRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete alert rule params
func (*DeleteAlertRuleParams) SetTimeout ¶
func (o *DeleteAlertRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete alert rule params
func (*DeleteAlertRuleParams) SetUID ¶
func (o *DeleteAlertRuleParams) SetUID(uid string)
SetUID adds the uid to the delete alert rule params
func (*DeleteAlertRuleParams) SetXDisableProvenance ¶
func (o *DeleteAlertRuleParams) SetXDisableProvenance(xDisableProvenance *string)
SetXDisableProvenance adds the xDisableProvenance to the delete alert rule params
func (*DeleteAlertRuleParams) WithContext ¶
func (o *DeleteAlertRuleParams) WithContext(ctx context.Context) *DeleteAlertRuleParams
WithContext adds the context to the delete alert rule params
func (*DeleteAlertRuleParams) WithDefaults ¶
func (o *DeleteAlertRuleParams) WithDefaults() *DeleteAlertRuleParams
WithDefaults hydrates default values in the delete alert rule params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAlertRuleParams) WithHTTPClient ¶
func (o *DeleteAlertRuleParams) WithHTTPClient(client *http.Client) *DeleteAlertRuleParams
WithHTTPClient adds the HTTPClient to the delete alert rule params
func (*DeleteAlertRuleParams) WithTimeout ¶
func (o *DeleteAlertRuleParams) WithTimeout(timeout time.Duration) *DeleteAlertRuleParams
WithTimeout adds the timeout to the delete alert rule params
func (*DeleteAlertRuleParams) WithUID ¶
func (o *DeleteAlertRuleParams) WithUID(uid string) *DeleteAlertRuleParams
WithUID adds the uid to the delete alert rule params
func (*DeleteAlertRuleParams) WithXDisableProvenance ¶
func (o *DeleteAlertRuleParams) WithXDisableProvenance(xDisableProvenance *string) *DeleteAlertRuleParams
WithXDisableProvenance adds the xDisableProvenance to the delete alert rule params
func (*DeleteAlertRuleParams) WriteToRequest ¶
func (o *DeleteAlertRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAlertRuleReader ¶
type DeleteAlertRuleReader struct {
// contains filtered or unexported fields
}
DeleteAlertRuleReader is a Reader for the DeleteAlertRule structure.
func (*DeleteAlertRuleReader) ReadResponse ¶
func (o *DeleteAlertRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteContactpointsAccepted ¶
type DeleteContactpointsAccepted struct { }
DeleteContactpointsAccepted describes a response with status code 202, with default header values.
The contact point was deleted successfully.
func NewDeleteContactpointsAccepted ¶
func NewDeleteContactpointsAccepted() *DeleteContactpointsAccepted
NewDeleteContactpointsAccepted creates a DeleteContactpointsAccepted with default headers values
func (*DeleteContactpointsAccepted) Code ¶
func (o *DeleteContactpointsAccepted) Code() int
Code gets the status code for the delete contactpoints accepted response
func (*DeleteContactpointsAccepted) Error ¶
func (o *DeleteContactpointsAccepted) Error() string
func (*DeleteContactpointsAccepted) IsClientError ¶
func (o *DeleteContactpointsAccepted) IsClientError() bool
IsClientError returns true when this delete contactpoints accepted response has a 4xx status code
func (*DeleteContactpointsAccepted) IsCode ¶
func (o *DeleteContactpointsAccepted) IsCode(code int) bool
IsCode returns true when this delete contactpoints accepted response a status code equal to that given
func (*DeleteContactpointsAccepted) IsRedirect ¶
func (o *DeleteContactpointsAccepted) IsRedirect() bool
IsRedirect returns true when this delete contactpoints accepted response has a 3xx status code
func (*DeleteContactpointsAccepted) IsServerError ¶
func (o *DeleteContactpointsAccepted) IsServerError() bool
IsServerError returns true when this delete contactpoints accepted response has a 5xx status code
func (*DeleteContactpointsAccepted) IsSuccess ¶
func (o *DeleteContactpointsAccepted) IsSuccess() bool
IsSuccess returns true when this delete contactpoints accepted response has a 2xx status code
func (*DeleteContactpointsAccepted) String ¶
func (o *DeleteContactpointsAccepted) String() string
type DeleteContactpointsParams ¶
type DeleteContactpointsParams struct { /* UID. UID is the contact point unique identifier */ UID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteContactpointsParams contains all the parameters to send to the API endpoint
for the delete contactpoints operation. Typically these are written to a http.Request.
func NewDeleteContactpointsParams ¶
func NewDeleteContactpointsParams() *DeleteContactpointsParams
NewDeleteContactpointsParams creates a new DeleteContactpointsParams 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 NewDeleteContactpointsParamsWithContext ¶
func NewDeleteContactpointsParamsWithContext(ctx context.Context) *DeleteContactpointsParams
NewDeleteContactpointsParamsWithContext creates a new DeleteContactpointsParams object with the ability to set a context for a request.
func NewDeleteContactpointsParamsWithHTTPClient ¶
func NewDeleteContactpointsParamsWithHTTPClient(client *http.Client) *DeleteContactpointsParams
NewDeleteContactpointsParamsWithHTTPClient creates a new DeleteContactpointsParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteContactpointsParamsWithTimeout ¶
func NewDeleteContactpointsParamsWithTimeout(timeout time.Duration) *DeleteContactpointsParams
NewDeleteContactpointsParamsWithTimeout creates a new DeleteContactpointsParams object with the ability to set a timeout on a request.
func (*DeleteContactpointsParams) SetContext ¶
func (o *DeleteContactpointsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete contactpoints params
func (*DeleteContactpointsParams) SetDefaults ¶
func (o *DeleteContactpointsParams) SetDefaults()
SetDefaults hydrates default values in the delete contactpoints params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteContactpointsParams) SetHTTPClient ¶
func (o *DeleteContactpointsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete contactpoints params
func (*DeleteContactpointsParams) SetTimeout ¶
func (o *DeleteContactpointsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete contactpoints params
func (*DeleteContactpointsParams) SetUID ¶
func (o *DeleteContactpointsParams) SetUID(uid string)
SetUID adds the uid to the delete contactpoints params
func (*DeleteContactpointsParams) WithContext ¶
func (o *DeleteContactpointsParams) WithContext(ctx context.Context) *DeleteContactpointsParams
WithContext adds the context to the delete contactpoints params
func (*DeleteContactpointsParams) WithDefaults ¶
func (o *DeleteContactpointsParams) WithDefaults() *DeleteContactpointsParams
WithDefaults hydrates default values in the delete contactpoints params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteContactpointsParams) WithHTTPClient ¶
func (o *DeleteContactpointsParams) WithHTTPClient(client *http.Client) *DeleteContactpointsParams
WithHTTPClient adds the HTTPClient to the delete contactpoints params
func (*DeleteContactpointsParams) WithTimeout ¶
func (o *DeleteContactpointsParams) WithTimeout(timeout time.Duration) *DeleteContactpointsParams
WithTimeout adds the timeout to the delete contactpoints params
func (*DeleteContactpointsParams) WithUID ¶
func (o *DeleteContactpointsParams) WithUID(uid string) *DeleteContactpointsParams
WithUID adds the uid to the delete contactpoints params
func (*DeleteContactpointsParams) WriteToRequest ¶
func (o *DeleteContactpointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteContactpointsReader ¶
type DeleteContactpointsReader struct {
// contains filtered or unexported fields
}
DeleteContactpointsReader is a Reader for the DeleteContactpoints structure.
func (*DeleteContactpointsReader) ReadResponse ¶
func (o *DeleteContactpointsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteMuteTimingConflict ¶
type DeleteMuteTimingConflict struct {
Payload *models.PublicError
}
DeleteMuteTimingConflict describes a response with status code 409, with default header values.
PublicError
func NewDeleteMuteTimingConflict ¶
func NewDeleteMuteTimingConflict() *DeleteMuteTimingConflict
NewDeleteMuteTimingConflict creates a DeleteMuteTimingConflict with default headers values
func (*DeleteMuteTimingConflict) Code ¶
func (o *DeleteMuteTimingConflict) Code() int
Code gets the status code for the delete mute timing conflict response
func (*DeleteMuteTimingConflict) Error ¶
func (o *DeleteMuteTimingConflict) Error() string
func (*DeleteMuteTimingConflict) GetPayload ¶
func (o *DeleteMuteTimingConflict) GetPayload() *models.PublicError
func (*DeleteMuteTimingConflict) IsClientError ¶
func (o *DeleteMuteTimingConflict) IsClientError() bool
IsClientError returns true when this delete mute timing conflict response has a 4xx status code
func (*DeleteMuteTimingConflict) IsCode ¶
func (o *DeleteMuteTimingConflict) IsCode(code int) bool
IsCode returns true when this delete mute timing conflict response a status code equal to that given
func (*DeleteMuteTimingConflict) IsRedirect ¶
func (o *DeleteMuteTimingConflict) IsRedirect() bool
IsRedirect returns true when this delete mute timing conflict response has a 3xx status code
func (*DeleteMuteTimingConflict) IsServerError ¶
func (o *DeleteMuteTimingConflict) IsServerError() bool
IsServerError returns true when this delete mute timing conflict response has a 5xx status code
func (*DeleteMuteTimingConflict) IsSuccess ¶
func (o *DeleteMuteTimingConflict) IsSuccess() bool
IsSuccess returns true when this delete mute timing conflict response has a 2xx status code
func (*DeleteMuteTimingConflict) String ¶
func (o *DeleteMuteTimingConflict) String() string
type DeleteMuteTimingNoContent ¶
type DeleteMuteTimingNoContent struct { }
DeleteMuteTimingNoContent describes a response with status code 204, with default header values.
The mute timing was deleted successfully.
func NewDeleteMuteTimingNoContent ¶
func NewDeleteMuteTimingNoContent() *DeleteMuteTimingNoContent
NewDeleteMuteTimingNoContent creates a DeleteMuteTimingNoContent with default headers values
func (*DeleteMuteTimingNoContent) Code ¶
func (o *DeleteMuteTimingNoContent) Code() int
Code gets the status code for the delete mute timing no content response
func (*DeleteMuteTimingNoContent) Error ¶
func (o *DeleteMuteTimingNoContent) Error() string
func (*DeleteMuteTimingNoContent) IsClientError ¶
func (o *DeleteMuteTimingNoContent) IsClientError() bool
IsClientError returns true when this delete mute timing no content response has a 4xx status code
func (*DeleteMuteTimingNoContent) IsCode ¶
func (o *DeleteMuteTimingNoContent) IsCode(code int) bool
IsCode returns true when this delete mute timing no content response a status code equal to that given
func (*DeleteMuteTimingNoContent) IsRedirect ¶
func (o *DeleteMuteTimingNoContent) IsRedirect() bool
IsRedirect returns true when this delete mute timing no content response has a 3xx status code
func (*DeleteMuteTimingNoContent) IsServerError ¶
func (o *DeleteMuteTimingNoContent) IsServerError() bool
IsServerError returns true when this delete mute timing no content response has a 5xx status code
func (*DeleteMuteTimingNoContent) IsSuccess ¶
func (o *DeleteMuteTimingNoContent) IsSuccess() bool
IsSuccess returns true when this delete mute timing no content response has a 2xx status code
func (*DeleteMuteTimingNoContent) String ¶
func (o *DeleteMuteTimingNoContent) String() string
type DeleteMuteTimingParams ¶
type DeleteMuteTimingParams struct { // XDisableProvenance. XDisableProvenance *string /* Name. Mute timing name */ Name string /* Version. Version of mute timing to use for optimistic concurrency. Leave empty to disable validation */ Version *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteMuteTimingParams contains all the parameters to send to the API endpoint
for the delete mute timing operation. Typically these are written to a http.Request.
func NewDeleteMuteTimingParams ¶
func NewDeleteMuteTimingParams() *DeleteMuteTimingParams
NewDeleteMuteTimingParams creates a new DeleteMuteTimingParams 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 NewDeleteMuteTimingParamsWithContext ¶
func NewDeleteMuteTimingParamsWithContext(ctx context.Context) *DeleteMuteTimingParams
NewDeleteMuteTimingParamsWithContext creates a new DeleteMuteTimingParams object with the ability to set a context for a request.
func NewDeleteMuteTimingParamsWithHTTPClient ¶
func NewDeleteMuteTimingParamsWithHTTPClient(client *http.Client) *DeleteMuteTimingParams
NewDeleteMuteTimingParamsWithHTTPClient creates a new DeleteMuteTimingParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteMuteTimingParamsWithTimeout ¶
func NewDeleteMuteTimingParamsWithTimeout(timeout time.Duration) *DeleteMuteTimingParams
NewDeleteMuteTimingParamsWithTimeout creates a new DeleteMuteTimingParams object with the ability to set a timeout on a request.
func (*DeleteMuteTimingParams) SetContext ¶
func (o *DeleteMuteTimingParams) SetContext(ctx context.Context)
SetContext adds the context to the delete mute timing params
func (*DeleteMuteTimingParams) SetDefaults ¶
func (o *DeleteMuteTimingParams) SetDefaults()
SetDefaults hydrates default values in the delete mute timing params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteMuteTimingParams) SetHTTPClient ¶
func (o *DeleteMuteTimingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete mute timing params
func (*DeleteMuteTimingParams) SetName ¶
func (o *DeleteMuteTimingParams) SetName(name string)
SetName adds the name to the delete mute timing params
func (*DeleteMuteTimingParams) SetTimeout ¶
func (o *DeleteMuteTimingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete mute timing params
func (*DeleteMuteTimingParams) SetVersion ¶
func (o *DeleteMuteTimingParams) SetVersion(version *string)
SetVersion adds the version to the delete mute timing params
func (*DeleteMuteTimingParams) SetXDisableProvenance ¶
func (o *DeleteMuteTimingParams) SetXDisableProvenance(xDisableProvenance *string)
SetXDisableProvenance adds the xDisableProvenance to the delete mute timing params
func (*DeleteMuteTimingParams) WithContext ¶
func (o *DeleteMuteTimingParams) WithContext(ctx context.Context) *DeleteMuteTimingParams
WithContext adds the context to the delete mute timing params
func (*DeleteMuteTimingParams) WithDefaults ¶
func (o *DeleteMuteTimingParams) WithDefaults() *DeleteMuteTimingParams
WithDefaults hydrates default values in the delete mute timing params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteMuteTimingParams) WithHTTPClient ¶
func (o *DeleteMuteTimingParams) WithHTTPClient(client *http.Client) *DeleteMuteTimingParams
WithHTTPClient adds the HTTPClient to the delete mute timing params
func (*DeleteMuteTimingParams) WithName ¶
func (o *DeleteMuteTimingParams) WithName(name string) *DeleteMuteTimingParams
WithName adds the name to the delete mute timing params
func (*DeleteMuteTimingParams) WithTimeout ¶
func (o *DeleteMuteTimingParams) WithTimeout(timeout time.Duration) *DeleteMuteTimingParams
WithTimeout adds the timeout to the delete mute timing params
func (*DeleteMuteTimingParams) WithVersion ¶
func (o *DeleteMuteTimingParams) WithVersion(version *string) *DeleteMuteTimingParams
WithVersion adds the version to the delete mute timing params
func (*DeleteMuteTimingParams) WithXDisableProvenance ¶
func (o *DeleteMuteTimingParams) WithXDisableProvenance(xDisableProvenance *string) *DeleteMuteTimingParams
WithXDisableProvenance adds the xDisableProvenance to the delete mute timing params
func (*DeleteMuteTimingParams) WriteToRequest ¶
func (o *DeleteMuteTimingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteMuteTimingReader ¶
type DeleteMuteTimingReader struct {
// contains filtered or unexported fields
}
DeleteMuteTimingReader is a Reader for the DeleteMuteTiming structure.
func (*DeleteMuteTimingReader) ReadResponse ¶
func (o *DeleteMuteTimingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteTemplateConflict ¶
type DeleteTemplateConflict struct {
Payload *models.PublicError
}
DeleteTemplateConflict describes a response with status code 409, with default header values.
PublicError
func NewDeleteTemplateConflict ¶
func NewDeleteTemplateConflict() *DeleteTemplateConflict
NewDeleteTemplateConflict creates a DeleteTemplateConflict with default headers values
func (*DeleteTemplateConflict) Code ¶
func (o *DeleteTemplateConflict) Code() int
Code gets the status code for the delete template conflict response
func (*DeleteTemplateConflict) Error ¶
func (o *DeleteTemplateConflict) Error() string
func (*DeleteTemplateConflict) GetPayload ¶
func (o *DeleteTemplateConflict) GetPayload() *models.PublicError
func (*DeleteTemplateConflict) IsClientError ¶
func (o *DeleteTemplateConflict) IsClientError() bool
IsClientError returns true when this delete template conflict response has a 4xx status code
func (*DeleteTemplateConflict) IsCode ¶
func (o *DeleteTemplateConflict) IsCode(code int) bool
IsCode returns true when this delete template conflict response a status code equal to that given
func (*DeleteTemplateConflict) IsRedirect ¶
func (o *DeleteTemplateConflict) IsRedirect() bool
IsRedirect returns true when this delete template conflict response has a 3xx status code
func (*DeleteTemplateConflict) IsServerError ¶
func (o *DeleteTemplateConflict) IsServerError() bool
IsServerError returns true when this delete template conflict response has a 5xx status code
func (*DeleteTemplateConflict) IsSuccess ¶
func (o *DeleteTemplateConflict) IsSuccess() bool
IsSuccess returns true when this delete template conflict response has a 2xx status code
func (*DeleteTemplateConflict) String ¶
func (o *DeleteTemplateConflict) String() string
type DeleteTemplateNoContent ¶
type DeleteTemplateNoContent struct { }
DeleteTemplateNoContent describes a response with status code 204, with default header values.
The template was deleted successfully.
func NewDeleteTemplateNoContent ¶
func NewDeleteTemplateNoContent() *DeleteTemplateNoContent
NewDeleteTemplateNoContent creates a DeleteTemplateNoContent with default headers values
func (*DeleteTemplateNoContent) Code ¶
func (o *DeleteTemplateNoContent) Code() int
Code gets the status code for the delete template no content response
func (*DeleteTemplateNoContent) Error ¶
func (o *DeleteTemplateNoContent) Error() string
func (*DeleteTemplateNoContent) IsClientError ¶
func (o *DeleteTemplateNoContent) IsClientError() bool
IsClientError returns true when this delete template no content response has a 4xx status code
func (*DeleteTemplateNoContent) IsCode ¶
func (o *DeleteTemplateNoContent) IsCode(code int) bool
IsCode returns true when this delete template no content response a status code equal to that given
func (*DeleteTemplateNoContent) IsRedirect ¶
func (o *DeleteTemplateNoContent) IsRedirect() bool
IsRedirect returns true when this delete template no content response has a 3xx status code
func (*DeleteTemplateNoContent) IsServerError ¶
func (o *DeleteTemplateNoContent) IsServerError() bool
IsServerError returns true when this delete template no content response has a 5xx status code
func (*DeleteTemplateNoContent) IsSuccess ¶
func (o *DeleteTemplateNoContent) IsSuccess() bool
IsSuccess returns true when this delete template no content response has a 2xx status code
func (*DeleteTemplateNoContent) String ¶
func (o *DeleteTemplateNoContent) String() string
type DeleteTemplateParams ¶
type DeleteTemplateParams struct { /* Name. Template group name */ Name string /* Version. Version of template to use for optimistic concurrency. Leave empty to disable validation */ Version *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteTemplateParams contains all the parameters to send to the API endpoint
for the delete template operation. Typically these are written to a http.Request.
func NewDeleteTemplateParams ¶
func NewDeleteTemplateParams() *DeleteTemplateParams
NewDeleteTemplateParams creates a new DeleteTemplateParams 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 NewDeleteTemplateParamsWithContext ¶
func NewDeleteTemplateParamsWithContext(ctx context.Context) *DeleteTemplateParams
NewDeleteTemplateParamsWithContext creates a new DeleteTemplateParams object with the ability to set a context for a request.
func NewDeleteTemplateParamsWithHTTPClient ¶
func NewDeleteTemplateParamsWithHTTPClient(client *http.Client) *DeleteTemplateParams
NewDeleteTemplateParamsWithHTTPClient creates a new DeleteTemplateParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteTemplateParamsWithTimeout ¶
func NewDeleteTemplateParamsWithTimeout(timeout time.Duration) *DeleteTemplateParams
NewDeleteTemplateParamsWithTimeout creates a new DeleteTemplateParams object with the ability to set a timeout on a request.
func (*DeleteTemplateParams) SetContext ¶
func (o *DeleteTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the delete template params
func (*DeleteTemplateParams) SetDefaults ¶
func (o *DeleteTemplateParams) SetDefaults()
SetDefaults hydrates default values in the delete template params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTemplateParams) SetHTTPClient ¶
func (o *DeleteTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete template params
func (*DeleteTemplateParams) SetName ¶
func (o *DeleteTemplateParams) SetName(name string)
SetName adds the name to the delete template params
func (*DeleteTemplateParams) SetTimeout ¶
func (o *DeleteTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete template params
func (*DeleteTemplateParams) SetVersion ¶
func (o *DeleteTemplateParams) SetVersion(version *string)
SetVersion adds the version to the delete template params
func (*DeleteTemplateParams) WithContext ¶
func (o *DeleteTemplateParams) WithContext(ctx context.Context) *DeleteTemplateParams
WithContext adds the context to the delete template params
func (*DeleteTemplateParams) WithDefaults ¶
func (o *DeleteTemplateParams) WithDefaults() *DeleteTemplateParams
WithDefaults hydrates default values in the delete template params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTemplateParams) WithHTTPClient ¶
func (o *DeleteTemplateParams) WithHTTPClient(client *http.Client) *DeleteTemplateParams
WithHTTPClient adds the HTTPClient to the delete template params
func (*DeleteTemplateParams) WithName ¶
func (o *DeleteTemplateParams) WithName(name string) *DeleteTemplateParams
WithName adds the name to the delete template params
func (*DeleteTemplateParams) WithTimeout ¶
func (o *DeleteTemplateParams) WithTimeout(timeout time.Duration) *DeleteTemplateParams
WithTimeout adds the timeout to the delete template params
func (*DeleteTemplateParams) WithVersion ¶
func (o *DeleteTemplateParams) WithVersion(version *string) *DeleteTemplateParams
WithVersion adds the version to the delete template params
func (*DeleteTemplateParams) WriteToRequest ¶
func (o *DeleteTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteTemplateReader ¶
type DeleteTemplateReader struct {
// contains filtered or unexported fields
}
DeleteTemplateReader is a Reader for the DeleteTemplate structure.
func (*DeleteTemplateReader) ReadResponse ¶
func (o *DeleteTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExportMuteTimingForbidden ¶
type ExportMuteTimingForbidden struct {
Payload models.PermissionDenied
}
ExportMuteTimingForbidden describes a response with status code 403, with default header values.
PermissionDenied
func NewExportMuteTimingForbidden ¶
func NewExportMuteTimingForbidden() *ExportMuteTimingForbidden
NewExportMuteTimingForbidden creates a ExportMuteTimingForbidden with default headers values
func (*ExportMuteTimingForbidden) Code ¶
func (o *ExportMuteTimingForbidden) Code() int
Code gets the status code for the export mute timing forbidden response
func (*ExportMuteTimingForbidden) Error ¶
func (o *ExportMuteTimingForbidden) Error() string
func (*ExportMuteTimingForbidden) GetPayload ¶
func (o *ExportMuteTimingForbidden) GetPayload() models.PermissionDenied
func (*ExportMuteTimingForbidden) IsClientError ¶
func (o *ExportMuteTimingForbidden) IsClientError() bool
IsClientError returns true when this export mute timing forbidden response has a 4xx status code
func (*ExportMuteTimingForbidden) IsCode ¶
func (o *ExportMuteTimingForbidden) IsCode(code int) bool
IsCode returns true when this export mute timing forbidden response a status code equal to that given
func (*ExportMuteTimingForbidden) IsRedirect ¶
func (o *ExportMuteTimingForbidden) IsRedirect() bool
IsRedirect returns true when this export mute timing forbidden response has a 3xx status code
func (*ExportMuteTimingForbidden) IsServerError ¶
func (o *ExportMuteTimingForbidden) IsServerError() bool
IsServerError returns true when this export mute timing forbidden response has a 5xx status code
func (*ExportMuteTimingForbidden) IsSuccess ¶
func (o *ExportMuteTimingForbidden) IsSuccess() bool
IsSuccess returns true when this export mute timing forbidden response has a 2xx status code
func (*ExportMuteTimingForbidden) String ¶
func (o *ExportMuteTimingForbidden) String() string
type ExportMuteTimingOK ¶
type ExportMuteTimingOK struct {
Payload *models.AlertingFileExport
}
ExportMuteTimingOK describes a response with status code 200, with default header values.
AlertingFileExport
func NewExportMuteTimingOK ¶
func NewExportMuteTimingOK() *ExportMuteTimingOK
NewExportMuteTimingOK creates a ExportMuteTimingOK with default headers values
func (*ExportMuteTimingOK) Code ¶
func (o *ExportMuteTimingOK) Code() int
Code gets the status code for the export mute timing Ok response
func (*ExportMuteTimingOK) Error ¶
func (o *ExportMuteTimingOK) Error() string
func (*ExportMuteTimingOK) GetPayload ¶
func (o *ExportMuteTimingOK) GetPayload() *models.AlertingFileExport
func (*ExportMuteTimingOK) IsClientError ¶
func (o *ExportMuteTimingOK) IsClientError() bool
IsClientError returns true when this export mute timing Ok response has a 4xx status code
func (*ExportMuteTimingOK) IsCode ¶
func (o *ExportMuteTimingOK) IsCode(code int) bool
IsCode returns true when this export mute timing Ok response a status code equal to that given
func (*ExportMuteTimingOK) IsRedirect ¶
func (o *ExportMuteTimingOK) IsRedirect() bool
IsRedirect returns true when this export mute timing Ok response has a 3xx status code
func (*ExportMuteTimingOK) IsServerError ¶
func (o *ExportMuteTimingOK) IsServerError() bool
IsServerError returns true when this export mute timing Ok response has a 5xx status code
func (*ExportMuteTimingOK) IsSuccess ¶
func (o *ExportMuteTimingOK) IsSuccess() bool
IsSuccess returns true when this export mute timing Ok response has a 2xx status code
func (*ExportMuteTimingOK) String ¶
func (o *ExportMuteTimingOK) String() string
type ExportMuteTimingParams ¶
type ExportMuteTimingParams struct { /* Download. Whether to initiate a download of the file or not. */ Download *bool /* Format. Format of the downloaded file. Supported yaml, json or hcl. Accept header can also be used, but the query parameter will take precedence. Default: "yaml" */ Format *string /* Name. Mute timing name */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ExportMuteTimingParams contains all the parameters to send to the API endpoint
for the export mute timing operation. Typically these are written to a http.Request.
func NewExportMuteTimingParams ¶
func NewExportMuteTimingParams() *ExportMuteTimingParams
NewExportMuteTimingParams creates a new ExportMuteTimingParams 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 NewExportMuteTimingParamsWithContext ¶
func NewExportMuteTimingParamsWithContext(ctx context.Context) *ExportMuteTimingParams
NewExportMuteTimingParamsWithContext creates a new ExportMuteTimingParams object with the ability to set a context for a request.
func NewExportMuteTimingParamsWithHTTPClient ¶
func NewExportMuteTimingParamsWithHTTPClient(client *http.Client) *ExportMuteTimingParams
NewExportMuteTimingParamsWithHTTPClient creates a new ExportMuteTimingParams object with the ability to set a custom HTTPClient for a request.
func NewExportMuteTimingParamsWithTimeout ¶
func NewExportMuteTimingParamsWithTimeout(timeout time.Duration) *ExportMuteTimingParams
NewExportMuteTimingParamsWithTimeout creates a new ExportMuteTimingParams object with the ability to set a timeout on a request.
func (*ExportMuteTimingParams) SetContext ¶
func (o *ExportMuteTimingParams) SetContext(ctx context.Context)
SetContext adds the context to the export mute timing params
func (*ExportMuteTimingParams) SetDefaults ¶
func (o *ExportMuteTimingParams) SetDefaults()
SetDefaults hydrates default values in the export mute timing params (not the query body).
All values with no default are reset to their zero value.
func (*ExportMuteTimingParams) SetDownload ¶
func (o *ExportMuteTimingParams) SetDownload(download *bool)
SetDownload adds the download to the export mute timing params
func (*ExportMuteTimingParams) SetFormat ¶
func (o *ExportMuteTimingParams) SetFormat(format *string)
SetFormat adds the format to the export mute timing params
func (*ExportMuteTimingParams) SetHTTPClient ¶
func (o *ExportMuteTimingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the export mute timing params
func (*ExportMuteTimingParams) SetName ¶
func (o *ExportMuteTimingParams) SetName(name string)
SetName adds the name to the export mute timing params
func (*ExportMuteTimingParams) SetTimeout ¶
func (o *ExportMuteTimingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the export mute timing params
func (*ExportMuteTimingParams) WithContext ¶
func (o *ExportMuteTimingParams) WithContext(ctx context.Context) *ExportMuteTimingParams
WithContext adds the context to the export mute timing params
func (*ExportMuteTimingParams) WithDefaults ¶
func (o *ExportMuteTimingParams) WithDefaults() *ExportMuteTimingParams
WithDefaults hydrates default values in the export mute timing params (not the query body).
All values with no default are reset to their zero value.
func (*ExportMuteTimingParams) WithDownload ¶
func (o *ExportMuteTimingParams) WithDownload(download *bool) *ExportMuteTimingParams
WithDownload adds the download to the export mute timing params
func (*ExportMuteTimingParams) WithFormat ¶
func (o *ExportMuteTimingParams) WithFormat(format *string) *ExportMuteTimingParams
WithFormat adds the format to the export mute timing params
func (*ExportMuteTimingParams) WithHTTPClient ¶
func (o *ExportMuteTimingParams) WithHTTPClient(client *http.Client) *ExportMuteTimingParams
WithHTTPClient adds the HTTPClient to the export mute timing params
func (*ExportMuteTimingParams) WithName ¶
func (o *ExportMuteTimingParams) WithName(name string) *ExportMuteTimingParams
WithName adds the name to the export mute timing params
func (*ExportMuteTimingParams) WithTimeout ¶
func (o *ExportMuteTimingParams) WithTimeout(timeout time.Duration) *ExportMuteTimingParams
WithTimeout adds the timeout to the export mute timing params
func (*ExportMuteTimingParams) WriteToRequest ¶
func (o *ExportMuteTimingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExportMuteTimingReader ¶
type ExportMuteTimingReader struct {
// contains filtered or unexported fields
}
ExportMuteTimingReader is a Reader for the ExportMuteTiming structure.
func (*ExportMuteTimingReader) ReadResponse ¶
func (o *ExportMuteTimingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExportMuteTimingsForbidden ¶
type ExportMuteTimingsForbidden struct {
Payload models.PermissionDenied
}
ExportMuteTimingsForbidden describes a response with status code 403, with default header values.
PermissionDenied
func NewExportMuteTimingsForbidden ¶
func NewExportMuteTimingsForbidden() *ExportMuteTimingsForbidden
NewExportMuteTimingsForbidden creates a ExportMuteTimingsForbidden with default headers values
func (*ExportMuteTimingsForbidden) Code ¶
func (o *ExportMuteTimingsForbidden) Code() int
Code gets the status code for the export mute timings forbidden response
func (*ExportMuteTimingsForbidden) Error ¶
func (o *ExportMuteTimingsForbidden) Error() string
func (*ExportMuteTimingsForbidden) GetPayload ¶
func (o *ExportMuteTimingsForbidden) GetPayload() models.PermissionDenied
func (*ExportMuteTimingsForbidden) IsClientError ¶
func (o *ExportMuteTimingsForbidden) IsClientError() bool
IsClientError returns true when this export mute timings forbidden response has a 4xx status code
func (*ExportMuteTimingsForbidden) IsCode ¶
func (o *ExportMuteTimingsForbidden) IsCode(code int) bool
IsCode returns true when this export mute timings forbidden response a status code equal to that given
func (*ExportMuteTimingsForbidden) IsRedirect ¶
func (o *ExportMuteTimingsForbidden) IsRedirect() bool
IsRedirect returns true when this export mute timings forbidden response has a 3xx status code
func (*ExportMuteTimingsForbidden) IsServerError ¶
func (o *ExportMuteTimingsForbidden) IsServerError() bool
IsServerError returns true when this export mute timings forbidden response has a 5xx status code
func (*ExportMuteTimingsForbidden) IsSuccess ¶
func (o *ExportMuteTimingsForbidden) IsSuccess() bool
IsSuccess returns true when this export mute timings forbidden response has a 2xx status code
func (*ExportMuteTimingsForbidden) String ¶
func (o *ExportMuteTimingsForbidden) String() string
type ExportMuteTimingsOK ¶
type ExportMuteTimingsOK struct {
Payload *models.AlertingFileExport
}
ExportMuteTimingsOK describes a response with status code 200, with default header values.
AlertingFileExport
func NewExportMuteTimingsOK ¶
func NewExportMuteTimingsOK() *ExportMuteTimingsOK
NewExportMuteTimingsOK creates a ExportMuteTimingsOK with default headers values
func (*ExportMuteTimingsOK) Code ¶
func (o *ExportMuteTimingsOK) Code() int
Code gets the status code for the export mute timings Ok response
func (*ExportMuteTimingsOK) Error ¶
func (o *ExportMuteTimingsOK) Error() string
func (*ExportMuteTimingsOK) GetPayload ¶
func (o *ExportMuteTimingsOK) GetPayload() *models.AlertingFileExport
func (*ExportMuteTimingsOK) IsClientError ¶
func (o *ExportMuteTimingsOK) IsClientError() bool
IsClientError returns true when this export mute timings Ok response has a 4xx status code
func (*ExportMuteTimingsOK) IsCode ¶
func (o *ExportMuteTimingsOK) IsCode(code int) bool
IsCode returns true when this export mute timings Ok response a status code equal to that given
func (*ExportMuteTimingsOK) IsRedirect ¶
func (o *ExportMuteTimingsOK) IsRedirect() bool
IsRedirect returns true when this export mute timings Ok response has a 3xx status code
func (*ExportMuteTimingsOK) IsServerError ¶
func (o *ExportMuteTimingsOK) IsServerError() bool
IsServerError returns true when this export mute timings Ok response has a 5xx status code
func (*ExportMuteTimingsOK) IsSuccess ¶
func (o *ExportMuteTimingsOK) IsSuccess() bool
IsSuccess returns true when this export mute timings Ok response has a 2xx status code
func (*ExportMuteTimingsOK) String ¶
func (o *ExportMuteTimingsOK) String() string
type ExportMuteTimingsParams ¶
type ExportMuteTimingsParams struct { /* Download. Whether to initiate a download of the file or not. */ Download *bool /* Format. Format of the downloaded file. Supported yaml, json or hcl. Accept header can also be used, but the query parameter will take precedence. Default: "yaml" */ Format *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ExportMuteTimingsParams contains all the parameters to send to the API endpoint
for the export mute timings operation. Typically these are written to a http.Request.
func NewExportMuteTimingsParams ¶
func NewExportMuteTimingsParams() *ExportMuteTimingsParams
NewExportMuteTimingsParams creates a new ExportMuteTimingsParams 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 NewExportMuteTimingsParamsWithContext ¶
func NewExportMuteTimingsParamsWithContext(ctx context.Context) *ExportMuteTimingsParams
NewExportMuteTimingsParamsWithContext creates a new ExportMuteTimingsParams object with the ability to set a context for a request.
func NewExportMuteTimingsParamsWithHTTPClient ¶
func NewExportMuteTimingsParamsWithHTTPClient(client *http.Client) *ExportMuteTimingsParams
NewExportMuteTimingsParamsWithHTTPClient creates a new ExportMuteTimingsParams object with the ability to set a custom HTTPClient for a request.
func NewExportMuteTimingsParamsWithTimeout ¶
func NewExportMuteTimingsParamsWithTimeout(timeout time.Duration) *ExportMuteTimingsParams
NewExportMuteTimingsParamsWithTimeout creates a new ExportMuteTimingsParams object with the ability to set a timeout on a request.
func (*ExportMuteTimingsParams) SetContext ¶
func (o *ExportMuteTimingsParams) SetContext(ctx context.Context)
SetContext adds the context to the export mute timings params
func (*ExportMuteTimingsParams) SetDefaults ¶
func (o *ExportMuteTimingsParams) SetDefaults()
SetDefaults hydrates default values in the export mute timings params (not the query body).
All values with no default are reset to their zero value.
func (*ExportMuteTimingsParams) SetDownload ¶
func (o *ExportMuteTimingsParams) SetDownload(download *bool)
SetDownload adds the download to the export mute timings params
func (*ExportMuteTimingsParams) SetFormat ¶
func (o *ExportMuteTimingsParams) SetFormat(format *string)
SetFormat adds the format to the export mute timings params
func (*ExportMuteTimingsParams) SetHTTPClient ¶
func (o *ExportMuteTimingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the export mute timings params
func (*ExportMuteTimingsParams) SetTimeout ¶
func (o *ExportMuteTimingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the export mute timings params
func (*ExportMuteTimingsParams) WithContext ¶
func (o *ExportMuteTimingsParams) WithContext(ctx context.Context) *ExportMuteTimingsParams
WithContext adds the context to the export mute timings params
func (*ExportMuteTimingsParams) WithDefaults ¶
func (o *ExportMuteTimingsParams) WithDefaults() *ExportMuteTimingsParams
WithDefaults hydrates default values in the export mute timings params (not the query body).
All values with no default are reset to their zero value.
func (*ExportMuteTimingsParams) WithDownload ¶
func (o *ExportMuteTimingsParams) WithDownload(download *bool) *ExportMuteTimingsParams
WithDownload adds the download to the export mute timings params
func (*ExportMuteTimingsParams) WithFormat ¶
func (o *ExportMuteTimingsParams) WithFormat(format *string) *ExportMuteTimingsParams
WithFormat adds the format to the export mute timings params
func (*ExportMuteTimingsParams) WithHTTPClient ¶
func (o *ExportMuteTimingsParams) WithHTTPClient(client *http.Client) *ExportMuteTimingsParams
WithHTTPClient adds the HTTPClient to the export mute timings params
func (*ExportMuteTimingsParams) WithTimeout ¶
func (o *ExportMuteTimingsParams) WithTimeout(timeout time.Duration) *ExportMuteTimingsParams
WithTimeout adds the timeout to the export mute timings params
func (*ExportMuteTimingsParams) WriteToRequest ¶
func (o *ExportMuteTimingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExportMuteTimingsReader ¶
type ExportMuteTimingsReader struct {
// contains filtered or unexported fields
}
ExportMuteTimingsReader is a Reader for the ExportMuteTimings structure.
func (*ExportMuteTimingsReader) ReadResponse ¶
func (o *ExportMuteTimingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAlertRuleExportNotFound ¶
type GetAlertRuleExportNotFound struct { }
GetAlertRuleExportNotFound describes a response with status code 404, with default header values.
Not found.
func NewGetAlertRuleExportNotFound ¶
func NewGetAlertRuleExportNotFound() *GetAlertRuleExportNotFound
NewGetAlertRuleExportNotFound creates a GetAlertRuleExportNotFound with default headers values
func (*GetAlertRuleExportNotFound) Code ¶
func (o *GetAlertRuleExportNotFound) Code() int
Code gets the status code for the get alert rule export not found response
func (*GetAlertRuleExportNotFound) Error ¶
func (o *GetAlertRuleExportNotFound) Error() string
func (*GetAlertRuleExportNotFound) IsClientError ¶
func (o *GetAlertRuleExportNotFound) IsClientError() bool
IsClientError returns true when this get alert rule export not found response has a 4xx status code
func (*GetAlertRuleExportNotFound) IsCode ¶
func (o *GetAlertRuleExportNotFound) IsCode(code int) bool
IsCode returns true when this get alert rule export not found response a status code equal to that given
func (*GetAlertRuleExportNotFound) IsRedirect ¶
func (o *GetAlertRuleExportNotFound) IsRedirect() bool
IsRedirect returns true when this get alert rule export not found response has a 3xx status code
func (*GetAlertRuleExportNotFound) IsServerError ¶
func (o *GetAlertRuleExportNotFound) IsServerError() bool
IsServerError returns true when this get alert rule export not found response has a 5xx status code
func (*GetAlertRuleExportNotFound) IsSuccess ¶
func (o *GetAlertRuleExportNotFound) IsSuccess() bool
IsSuccess returns true when this get alert rule export not found response has a 2xx status code
func (*GetAlertRuleExportNotFound) String ¶
func (o *GetAlertRuleExportNotFound) String() string
type GetAlertRuleExportOK ¶
type GetAlertRuleExportOK struct {
Payload *models.AlertingFileExport
}
GetAlertRuleExportOK describes a response with status code 200, with default header values.
AlertingFileExport
func NewGetAlertRuleExportOK ¶
func NewGetAlertRuleExportOK() *GetAlertRuleExportOK
NewGetAlertRuleExportOK creates a GetAlertRuleExportOK with default headers values
func (*GetAlertRuleExportOK) Code ¶
func (o *GetAlertRuleExportOK) Code() int
Code gets the status code for the get alert rule export Ok response
func (*GetAlertRuleExportOK) Error ¶
func (o *GetAlertRuleExportOK) Error() string
func (*GetAlertRuleExportOK) GetPayload ¶
func (o *GetAlertRuleExportOK) GetPayload() *models.AlertingFileExport
func (*GetAlertRuleExportOK) IsClientError ¶
func (o *GetAlertRuleExportOK) IsClientError() bool
IsClientError returns true when this get alert rule export Ok response has a 4xx status code
func (*GetAlertRuleExportOK) IsCode ¶
func (o *GetAlertRuleExportOK) IsCode(code int) bool
IsCode returns true when this get alert rule export Ok response a status code equal to that given
func (*GetAlertRuleExportOK) IsRedirect ¶
func (o *GetAlertRuleExportOK) IsRedirect() bool
IsRedirect returns true when this get alert rule export Ok response has a 3xx status code
func (*GetAlertRuleExportOK) IsServerError ¶
func (o *GetAlertRuleExportOK) IsServerError() bool
IsServerError returns true when this get alert rule export Ok response has a 5xx status code
func (*GetAlertRuleExportOK) IsSuccess ¶
func (o *GetAlertRuleExportOK) IsSuccess() bool
IsSuccess returns true when this get alert rule export Ok response has a 2xx status code
func (*GetAlertRuleExportOK) String ¶
func (o *GetAlertRuleExportOK) String() string
type GetAlertRuleExportParams ¶
type GetAlertRuleExportParams struct { /* UID. Alert rule UID */ UID string /* Download. Whether to initiate a download of the file or not. */ Download *bool /* Format. Format of the downloaded file. Supported yaml, json or hcl. Accept header can also be used, but the query parameter will take precedence. Default: "yaml" */ Format *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAlertRuleExportParams contains all the parameters to send to the API endpoint
for the get alert rule export operation. Typically these are written to a http.Request.
func NewGetAlertRuleExportParams ¶
func NewGetAlertRuleExportParams() *GetAlertRuleExportParams
NewGetAlertRuleExportParams creates a new GetAlertRuleExportParams 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 NewGetAlertRuleExportParamsWithContext ¶
func NewGetAlertRuleExportParamsWithContext(ctx context.Context) *GetAlertRuleExportParams
NewGetAlertRuleExportParamsWithContext creates a new GetAlertRuleExportParams object with the ability to set a context for a request.
func NewGetAlertRuleExportParamsWithHTTPClient ¶
func NewGetAlertRuleExportParamsWithHTTPClient(client *http.Client) *GetAlertRuleExportParams
NewGetAlertRuleExportParamsWithHTTPClient creates a new GetAlertRuleExportParams object with the ability to set a custom HTTPClient for a request.
func NewGetAlertRuleExportParamsWithTimeout ¶
func NewGetAlertRuleExportParamsWithTimeout(timeout time.Duration) *GetAlertRuleExportParams
NewGetAlertRuleExportParamsWithTimeout creates a new GetAlertRuleExportParams object with the ability to set a timeout on a request.
func (*GetAlertRuleExportParams) SetContext ¶
func (o *GetAlertRuleExportParams) SetContext(ctx context.Context)
SetContext adds the context to the get alert rule export params
func (*GetAlertRuleExportParams) SetDefaults ¶
func (o *GetAlertRuleExportParams) SetDefaults()
SetDefaults hydrates default values in the get alert rule export params (not the query body).
All values with no default are reset to their zero value.
func (*GetAlertRuleExportParams) SetDownload ¶
func (o *GetAlertRuleExportParams) SetDownload(download *bool)
SetDownload adds the download to the get alert rule export params
func (*GetAlertRuleExportParams) SetFormat ¶
func (o *GetAlertRuleExportParams) SetFormat(format *string)
SetFormat adds the format to the get alert rule export params
func (*GetAlertRuleExportParams) SetHTTPClient ¶
func (o *GetAlertRuleExportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get alert rule export params
func (*GetAlertRuleExportParams) SetTimeout ¶
func (o *GetAlertRuleExportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get alert rule export params
func (*GetAlertRuleExportParams) SetUID ¶
func (o *GetAlertRuleExportParams) SetUID(uid string)
SetUID adds the uid to the get alert rule export params
func (*GetAlertRuleExportParams) WithContext ¶
func (o *GetAlertRuleExportParams) WithContext(ctx context.Context) *GetAlertRuleExportParams
WithContext adds the context to the get alert rule export params
func (*GetAlertRuleExportParams) WithDefaults ¶
func (o *GetAlertRuleExportParams) WithDefaults() *GetAlertRuleExportParams
WithDefaults hydrates default values in the get alert rule export params (not the query body).
All values with no default are reset to their zero value.
func (*GetAlertRuleExportParams) WithDownload ¶
func (o *GetAlertRuleExportParams) WithDownload(download *bool) *GetAlertRuleExportParams
WithDownload adds the download to the get alert rule export params
func (*GetAlertRuleExportParams) WithFormat ¶
func (o *GetAlertRuleExportParams) WithFormat(format *string) *GetAlertRuleExportParams
WithFormat adds the format to the get alert rule export params
func (*GetAlertRuleExportParams) WithHTTPClient ¶
func (o *GetAlertRuleExportParams) WithHTTPClient(client *http.Client) *GetAlertRuleExportParams
WithHTTPClient adds the HTTPClient to the get alert rule export params
func (*GetAlertRuleExportParams) WithTimeout ¶
func (o *GetAlertRuleExportParams) WithTimeout(timeout time.Duration) *GetAlertRuleExportParams
WithTimeout adds the timeout to the get alert rule export params
func (*GetAlertRuleExportParams) WithUID ¶
func (o *GetAlertRuleExportParams) WithUID(uid string) *GetAlertRuleExportParams
WithUID adds the uid to the get alert rule export params
func (*GetAlertRuleExportParams) WriteToRequest ¶
func (o *GetAlertRuleExportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAlertRuleExportReader ¶
type GetAlertRuleExportReader struct {
// contains filtered or unexported fields
}
GetAlertRuleExportReader is a Reader for the GetAlertRuleExport structure.
func (*GetAlertRuleExportReader) ReadResponse ¶
func (o *GetAlertRuleExportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAlertRuleGroupExportNotFound ¶
type GetAlertRuleGroupExportNotFound struct { }
GetAlertRuleGroupExportNotFound describes a response with status code 404, with default header values.
Not found.
func NewGetAlertRuleGroupExportNotFound ¶
func NewGetAlertRuleGroupExportNotFound() *GetAlertRuleGroupExportNotFound
NewGetAlertRuleGroupExportNotFound creates a GetAlertRuleGroupExportNotFound with default headers values
func (*GetAlertRuleGroupExportNotFound) Code ¶
func (o *GetAlertRuleGroupExportNotFound) Code() int
Code gets the status code for the get alert rule group export not found response
func (*GetAlertRuleGroupExportNotFound) Error ¶
func (o *GetAlertRuleGroupExportNotFound) Error() string
func (*GetAlertRuleGroupExportNotFound) IsClientError ¶
func (o *GetAlertRuleGroupExportNotFound) IsClientError() bool
IsClientError returns true when this get alert rule group export not found response has a 4xx status code
func (*GetAlertRuleGroupExportNotFound) IsCode ¶
func (o *GetAlertRuleGroupExportNotFound) IsCode(code int) bool
IsCode returns true when this get alert rule group export not found response a status code equal to that given
func (*GetAlertRuleGroupExportNotFound) IsRedirect ¶
func (o *GetAlertRuleGroupExportNotFound) IsRedirect() bool
IsRedirect returns true when this get alert rule group export not found response has a 3xx status code
func (*GetAlertRuleGroupExportNotFound) IsServerError ¶
func (o *GetAlertRuleGroupExportNotFound) IsServerError() bool
IsServerError returns true when this get alert rule group export not found response has a 5xx status code
func (*GetAlertRuleGroupExportNotFound) IsSuccess ¶
func (o *GetAlertRuleGroupExportNotFound) IsSuccess() bool
IsSuccess returns true when this get alert rule group export not found response has a 2xx status code
func (*GetAlertRuleGroupExportNotFound) String ¶
func (o *GetAlertRuleGroupExportNotFound) String() string
type GetAlertRuleGroupExportOK ¶
type GetAlertRuleGroupExportOK struct {
Payload *models.AlertingFileExport
}
GetAlertRuleGroupExportOK describes a response with status code 200, with default header values.
AlertingFileExport
func NewGetAlertRuleGroupExportOK ¶
func NewGetAlertRuleGroupExportOK() *GetAlertRuleGroupExportOK
NewGetAlertRuleGroupExportOK creates a GetAlertRuleGroupExportOK with default headers values
func (*GetAlertRuleGroupExportOK) Code ¶
func (o *GetAlertRuleGroupExportOK) Code() int
Code gets the status code for the get alert rule group export Ok response
func (*GetAlertRuleGroupExportOK) Error ¶
func (o *GetAlertRuleGroupExportOK) Error() string
func (*GetAlertRuleGroupExportOK) GetPayload ¶
func (o *GetAlertRuleGroupExportOK) GetPayload() *models.AlertingFileExport
func (*GetAlertRuleGroupExportOK) IsClientError ¶
func (o *GetAlertRuleGroupExportOK) IsClientError() bool
IsClientError returns true when this get alert rule group export Ok response has a 4xx status code
func (*GetAlertRuleGroupExportOK) IsCode ¶
func (o *GetAlertRuleGroupExportOK) IsCode(code int) bool
IsCode returns true when this get alert rule group export Ok response a status code equal to that given
func (*GetAlertRuleGroupExportOK) IsRedirect ¶
func (o *GetAlertRuleGroupExportOK) IsRedirect() bool
IsRedirect returns true when this get alert rule group export Ok response has a 3xx status code
func (*GetAlertRuleGroupExportOK) IsServerError ¶
func (o *GetAlertRuleGroupExportOK) IsServerError() bool
IsServerError returns true when this get alert rule group export Ok response has a 5xx status code
func (*GetAlertRuleGroupExportOK) IsSuccess ¶
func (o *GetAlertRuleGroupExportOK) IsSuccess() bool
IsSuccess returns true when this get alert rule group export Ok response has a 2xx status code
func (*GetAlertRuleGroupExportOK) String ¶
func (o *GetAlertRuleGroupExportOK) String() string
type GetAlertRuleGroupExportParams ¶
type GetAlertRuleGroupExportParams struct { // FolderUID. FolderUID string // Group. Group string /* Download. Whether to initiate a download of the file or not. */ Download *bool /* Format. Format of the downloaded file. Supported yaml, json or hcl. Accept header can also be used, but the query parameter will take precedence. Default: "yaml" */ Format *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAlertRuleGroupExportParams contains all the parameters to send to the API endpoint
for the get alert rule group export operation. Typically these are written to a http.Request.
func NewGetAlertRuleGroupExportParams ¶
func NewGetAlertRuleGroupExportParams() *GetAlertRuleGroupExportParams
NewGetAlertRuleGroupExportParams creates a new GetAlertRuleGroupExportParams 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 NewGetAlertRuleGroupExportParamsWithContext ¶
func NewGetAlertRuleGroupExportParamsWithContext(ctx context.Context) *GetAlertRuleGroupExportParams
NewGetAlertRuleGroupExportParamsWithContext creates a new GetAlertRuleGroupExportParams object with the ability to set a context for a request.
func NewGetAlertRuleGroupExportParamsWithHTTPClient ¶
func NewGetAlertRuleGroupExportParamsWithHTTPClient(client *http.Client) *GetAlertRuleGroupExportParams
NewGetAlertRuleGroupExportParamsWithHTTPClient creates a new GetAlertRuleGroupExportParams object with the ability to set a custom HTTPClient for a request.
func NewGetAlertRuleGroupExportParamsWithTimeout ¶
func NewGetAlertRuleGroupExportParamsWithTimeout(timeout time.Duration) *GetAlertRuleGroupExportParams
NewGetAlertRuleGroupExportParamsWithTimeout creates a new GetAlertRuleGroupExportParams object with the ability to set a timeout on a request.
func (*GetAlertRuleGroupExportParams) SetContext ¶
func (o *GetAlertRuleGroupExportParams) SetContext(ctx context.Context)
SetContext adds the context to the get alert rule group export params
func (*GetAlertRuleGroupExportParams) SetDefaults ¶
func (o *GetAlertRuleGroupExportParams) SetDefaults()
SetDefaults hydrates default values in the get alert rule group export params (not the query body).
All values with no default are reset to their zero value.
func (*GetAlertRuleGroupExportParams) SetDownload ¶
func (o *GetAlertRuleGroupExportParams) SetDownload(download *bool)
SetDownload adds the download to the get alert rule group export params
func (*GetAlertRuleGroupExportParams) SetFolderUID ¶
func (o *GetAlertRuleGroupExportParams) SetFolderUID(folderUID string)
SetFolderUID adds the folderUid to the get alert rule group export params
func (*GetAlertRuleGroupExportParams) SetFormat ¶
func (o *GetAlertRuleGroupExportParams) SetFormat(format *string)
SetFormat adds the format to the get alert rule group export params
func (*GetAlertRuleGroupExportParams) SetGroup ¶
func (o *GetAlertRuleGroupExportParams) SetGroup(group string)
SetGroup adds the group to the get alert rule group export params
func (*GetAlertRuleGroupExportParams) SetHTTPClient ¶
func (o *GetAlertRuleGroupExportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get alert rule group export params
func (*GetAlertRuleGroupExportParams) SetTimeout ¶
func (o *GetAlertRuleGroupExportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get alert rule group export params
func (*GetAlertRuleGroupExportParams) WithContext ¶
func (o *GetAlertRuleGroupExportParams) WithContext(ctx context.Context) *GetAlertRuleGroupExportParams
WithContext adds the context to the get alert rule group export params
func (*GetAlertRuleGroupExportParams) WithDefaults ¶
func (o *GetAlertRuleGroupExportParams) WithDefaults() *GetAlertRuleGroupExportParams
WithDefaults hydrates default values in the get alert rule group export params (not the query body).
All values with no default are reset to their zero value.
func (*GetAlertRuleGroupExportParams) WithDownload ¶
func (o *GetAlertRuleGroupExportParams) WithDownload(download *bool) *GetAlertRuleGroupExportParams
WithDownload adds the download to the get alert rule group export params
func (*GetAlertRuleGroupExportParams) WithFolderUID ¶
func (o *GetAlertRuleGroupExportParams) WithFolderUID(folderUID string) *GetAlertRuleGroupExportParams
WithFolderUID adds the folderUID to the get alert rule group export params
func (*GetAlertRuleGroupExportParams) WithFormat ¶
func (o *GetAlertRuleGroupExportParams) WithFormat(format *string) *GetAlertRuleGroupExportParams
WithFormat adds the format to the get alert rule group export params
func (*GetAlertRuleGroupExportParams) WithGroup ¶
func (o *GetAlertRuleGroupExportParams) WithGroup(group string) *GetAlertRuleGroupExportParams
WithGroup adds the group to the get alert rule group export params
func (*GetAlertRuleGroupExportParams) WithHTTPClient ¶
func (o *GetAlertRuleGroupExportParams) WithHTTPClient(client *http.Client) *GetAlertRuleGroupExportParams
WithHTTPClient adds the HTTPClient to the get alert rule group export params
func (*GetAlertRuleGroupExportParams) WithTimeout ¶
func (o *GetAlertRuleGroupExportParams) WithTimeout(timeout time.Duration) *GetAlertRuleGroupExportParams
WithTimeout adds the timeout to the get alert rule group export params
func (*GetAlertRuleGroupExportParams) WriteToRequest ¶
func (o *GetAlertRuleGroupExportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAlertRuleGroupExportReader ¶
type GetAlertRuleGroupExportReader struct {
// contains filtered or unexported fields
}
GetAlertRuleGroupExportReader is a Reader for the GetAlertRuleGroupExport structure.
func (*GetAlertRuleGroupExportReader) ReadResponse ¶
func (o *GetAlertRuleGroupExportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAlertRuleGroupNotFound ¶
type GetAlertRuleGroupNotFound struct { }
GetAlertRuleGroupNotFound describes a response with status code 404, with default header values.
Not found.
func NewGetAlertRuleGroupNotFound ¶
func NewGetAlertRuleGroupNotFound() *GetAlertRuleGroupNotFound
NewGetAlertRuleGroupNotFound creates a GetAlertRuleGroupNotFound with default headers values
func (*GetAlertRuleGroupNotFound) Code ¶
func (o *GetAlertRuleGroupNotFound) Code() int
Code gets the status code for the get alert rule group not found response
func (*GetAlertRuleGroupNotFound) Error ¶
func (o *GetAlertRuleGroupNotFound) Error() string
func (*GetAlertRuleGroupNotFound) IsClientError ¶
func (o *GetAlertRuleGroupNotFound) IsClientError() bool
IsClientError returns true when this get alert rule group not found response has a 4xx status code
func (*GetAlertRuleGroupNotFound) IsCode ¶
func (o *GetAlertRuleGroupNotFound) IsCode(code int) bool
IsCode returns true when this get alert rule group not found response a status code equal to that given
func (*GetAlertRuleGroupNotFound) IsRedirect ¶
func (o *GetAlertRuleGroupNotFound) IsRedirect() bool
IsRedirect returns true when this get alert rule group not found response has a 3xx status code
func (*GetAlertRuleGroupNotFound) IsServerError ¶
func (o *GetAlertRuleGroupNotFound) IsServerError() bool
IsServerError returns true when this get alert rule group not found response has a 5xx status code
func (*GetAlertRuleGroupNotFound) IsSuccess ¶
func (o *GetAlertRuleGroupNotFound) IsSuccess() bool
IsSuccess returns true when this get alert rule group not found response has a 2xx status code
func (*GetAlertRuleGroupNotFound) String ¶
func (o *GetAlertRuleGroupNotFound) String() string
type GetAlertRuleGroupOK ¶
type GetAlertRuleGroupOK struct {
Payload *models.AlertRuleGroup
}
GetAlertRuleGroupOK describes a response with status code 200, with default header values.
AlertRuleGroup
func NewGetAlertRuleGroupOK ¶
func NewGetAlertRuleGroupOK() *GetAlertRuleGroupOK
NewGetAlertRuleGroupOK creates a GetAlertRuleGroupOK with default headers values
func (*GetAlertRuleGroupOK) Code ¶
func (o *GetAlertRuleGroupOK) Code() int
Code gets the status code for the get alert rule group Ok response
func (*GetAlertRuleGroupOK) Error ¶
func (o *GetAlertRuleGroupOK) Error() string
func (*GetAlertRuleGroupOK) GetPayload ¶
func (o *GetAlertRuleGroupOK) GetPayload() *models.AlertRuleGroup
func (*GetAlertRuleGroupOK) IsClientError ¶
func (o *GetAlertRuleGroupOK) IsClientError() bool
IsClientError returns true when this get alert rule group Ok response has a 4xx status code
func (*GetAlertRuleGroupOK) IsCode ¶
func (o *GetAlertRuleGroupOK) IsCode(code int) bool
IsCode returns true when this get alert rule group Ok response a status code equal to that given
func (*GetAlertRuleGroupOK) IsRedirect ¶
func (o *GetAlertRuleGroupOK) IsRedirect() bool
IsRedirect returns true when this get alert rule group Ok response has a 3xx status code
func (*GetAlertRuleGroupOK) IsServerError ¶
func (o *GetAlertRuleGroupOK) IsServerError() bool
IsServerError returns true when this get alert rule group Ok response has a 5xx status code
func (*GetAlertRuleGroupOK) IsSuccess ¶
func (o *GetAlertRuleGroupOK) IsSuccess() bool
IsSuccess returns true when this get alert rule group Ok response has a 2xx status code
func (*GetAlertRuleGroupOK) String ¶
func (o *GetAlertRuleGroupOK) String() string
type GetAlertRuleGroupParams ¶
type GetAlertRuleGroupParams struct { // FolderUID. FolderUID string // Group. Group string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAlertRuleGroupParams contains all the parameters to send to the API endpoint
for the get alert rule group operation. Typically these are written to a http.Request.
func NewGetAlertRuleGroupParams ¶
func NewGetAlertRuleGroupParams() *GetAlertRuleGroupParams
NewGetAlertRuleGroupParams creates a new GetAlertRuleGroupParams 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 NewGetAlertRuleGroupParamsWithContext ¶
func NewGetAlertRuleGroupParamsWithContext(ctx context.Context) *GetAlertRuleGroupParams
NewGetAlertRuleGroupParamsWithContext creates a new GetAlertRuleGroupParams object with the ability to set a context for a request.
func NewGetAlertRuleGroupParamsWithHTTPClient ¶
func NewGetAlertRuleGroupParamsWithHTTPClient(client *http.Client) *GetAlertRuleGroupParams
NewGetAlertRuleGroupParamsWithHTTPClient creates a new GetAlertRuleGroupParams object with the ability to set a custom HTTPClient for a request.
func NewGetAlertRuleGroupParamsWithTimeout ¶
func NewGetAlertRuleGroupParamsWithTimeout(timeout time.Duration) *GetAlertRuleGroupParams
NewGetAlertRuleGroupParamsWithTimeout creates a new GetAlertRuleGroupParams object with the ability to set a timeout on a request.
func (*GetAlertRuleGroupParams) SetContext ¶
func (o *GetAlertRuleGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the get alert rule group params
func (*GetAlertRuleGroupParams) SetDefaults ¶
func (o *GetAlertRuleGroupParams) SetDefaults()
SetDefaults hydrates default values in the get alert rule group params (not the query body).
All values with no default are reset to their zero value.
func (*GetAlertRuleGroupParams) SetFolderUID ¶
func (o *GetAlertRuleGroupParams) SetFolderUID(folderUID string)
SetFolderUID adds the folderUid to the get alert rule group params
func (*GetAlertRuleGroupParams) SetGroup ¶
func (o *GetAlertRuleGroupParams) SetGroup(group string)
SetGroup adds the group to the get alert rule group params
func (*GetAlertRuleGroupParams) SetHTTPClient ¶
func (o *GetAlertRuleGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get alert rule group params
func (*GetAlertRuleGroupParams) SetTimeout ¶
func (o *GetAlertRuleGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get alert rule group params
func (*GetAlertRuleGroupParams) WithContext ¶
func (o *GetAlertRuleGroupParams) WithContext(ctx context.Context) *GetAlertRuleGroupParams
WithContext adds the context to the get alert rule group params
func (*GetAlertRuleGroupParams) WithDefaults ¶
func (o *GetAlertRuleGroupParams) WithDefaults() *GetAlertRuleGroupParams
WithDefaults hydrates default values in the get alert rule group params (not the query body).
All values with no default are reset to their zero value.
func (*GetAlertRuleGroupParams) WithFolderUID ¶
func (o *GetAlertRuleGroupParams) WithFolderUID(folderUID string) *GetAlertRuleGroupParams
WithFolderUID adds the folderUID to the get alert rule group params
func (*GetAlertRuleGroupParams) WithGroup ¶
func (o *GetAlertRuleGroupParams) WithGroup(group string) *GetAlertRuleGroupParams
WithGroup adds the group to the get alert rule group params
func (*GetAlertRuleGroupParams) WithHTTPClient ¶
func (o *GetAlertRuleGroupParams) WithHTTPClient(client *http.Client) *GetAlertRuleGroupParams
WithHTTPClient adds the HTTPClient to the get alert rule group params
func (*GetAlertRuleGroupParams) WithTimeout ¶
func (o *GetAlertRuleGroupParams) WithTimeout(timeout time.Duration) *GetAlertRuleGroupParams
WithTimeout adds the timeout to the get alert rule group params
func (*GetAlertRuleGroupParams) WriteToRequest ¶
func (o *GetAlertRuleGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAlertRuleGroupReader ¶
type GetAlertRuleGroupReader struct {
// contains filtered or unexported fields
}
GetAlertRuleGroupReader is a Reader for the GetAlertRuleGroup structure.
func (*GetAlertRuleGroupReader) ReadResponse ¶
func (o *GetAlertRuleGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAlertRuleNotFound ¶
type GetAlertRuleNotFound struct { }
GetAlertRuleNotFound describes a response with status code 404, with default header values.
Not found.
func NewGetAlertRuleNotFound ¶
func NewGetAlertRuleNotFound() *GetAlertRuleNotFound
NewGetAlertRuleNotFound creates a GetAlertRuleNotFound with default headers values
func (*GetAlertRuleNotFound) Code ¶
func (o *GetAlertRuleNotFound) Code() int
Code gets the status code for the get alert rule not found response
func (*GetAlertRuleNotFound) Error ¶
func (o *GetAlertRuleNotFound) Error() string
func (*GetAlertRuleNotFound) IsClientError ¶
func (o *GetAlertRuleNotFound) IsClientError() bool
IsClientError returns true when this get alert rule not found response has a 4xx status code
func (*GetAlertRuleNotFound) IsCode ¶
func (o *GetAlertRuleNotFound) IsCode(code int) bool
IsCode returns true when this get alert rule not found response a status code equal to that given
func (*GetAlertRuleNotFound) IsRedirect ¶
func (o *GetAlertRuleNotFound) IsRedirect() bool
IsRedirect returns true when this get alert rule not found response has a 3xx status code
func (*GetAlertRuleNotFound) IsServerError ¶
func (o *GetAlertRuleNotFound) IsServerError() bool
IsServerError returns true when this get alert rule not found response has a 5xx status code
func (*GetAlertRuleNotFound) IsSuccess ¶
func (o *GetAlertRuleNotFound) IsSuccess() bool
IsSuccess returns true when this get alert rule not found response has a 2xx status code
func (*GetAlertRuleNotFound) String ¶
func (o *GetAlertRuleNotFound) String() string
type GetAlertRuleOK ¶
type GetAlertRuleOK struct {
Payload *models.ProvisionedAlertRule
}
GetAlertRuleOK describes a response with status code 200, with default header values.
ProvisionedAlertRule
func NewGetAlertRuleOK ¶
func NewGetAlertRuleOK() *GetAlertRuleOK
NewGetAlertRuleOK creates a GetAlertRuleOK with default headers values
func (*GetAlertRuleOK) Code ¶
func (o *GetAlertRuleOK) Code() int
Code gets the status code for the get alert rule Ok response
func (*GetAlertRuleOK) Error ¶
func (o *GetAlertRuleOK) Error() string
func (*GetAlertRuleOK) GetPayload ¶
func (o *GetAlertRuleOK) GetPayload() *models.ProvisionedAlertRule
func (*GetAlertRuleOK) IsClientError ¶
func (o *GetAlertRuleOK) IsClientError() bool
IsClientError returns true when this get alert rule Ok response has a 4xx status code
func (*GetAlertRuleOK) IsCode ¶
func (o *GetAlertRuleOK) IsCode(code int) bool
IsCode returns true when this get alert rule Ok response a status code equal to that given
func (*GetAlertRuleOK) IsRedirect ¶
func (o *GetAlertRuleOK) IsRedirect() bool
IsRedirect returns true when this get alert rule Ok response has a 3xx status code
func (*GetAlertRuleOK) IsServerError ¶
func (o *GetAlertRuleOK) IsServerError() bool
IsServerError returns true when this get alert rule Ok response has a 5xx status code
func (*GetAlertRuleOK) IsSuccess ¶
func (o *GetAlertRuleOK) IsSuccess() bool
IsSuccess returns true when this get alert rule Ok response has a 2xx status code
func (*GetAlertRuleOK) String ¶
func (o *GetAlertRuleOK) String() string
type GetAlertRuleParams ¶
type GetAlertRuleParams struct { /* UID. Alert rule UID */ UID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAlertRuleParams contains all the parameters to send to the API endpoint
for the get alert rule operation. Typically these are written to a http.Request.
func NewGetAlertRuleParams ¶
func NewGetAlertRuleParams() *GetAlertRuleParams
NewGetAlertRuleParams creates a new GetAlertRuleParams 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 NewGetAlertRuleParamsWithContext ¶
func NewGetAlertRuleParamsWithContext(ctx context.Context) *GetAlertRuleParams
NewGetAlertRuleParamsWithContext creates a new GetAlertRuleParams object with the ability to set a context for a request.
func NewGetAlertRuleParamsWithHTTPClient ¶
func NewGetAlertRuleParamsWithHTTPClient(client *http.Client) *GetAlertRuleParams
NewGetAlertRuleParamsWithHTTPClient creates a new GetAlertRuleParams object with the ability to set a custom HTTPClient for a request.
func NewGetAlertRuleParamsWithTimeout ¶
func NewGetAlertRuleParamsWithTimeout(timeout time.Duration) *GetAlertRuleParams
NewGetAlertRuleParamsWithTimeout creates a new GetAlertRuleParams object with the ability to set a timeout on a request.
func (*GetAlertRuleParams) SetContext ¶
func (o *GetAlertRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the get alert rule params
func (*GetAlertRuleParams) SetDefaults ¶
func (o *GetAlertRuleParams) SetDefaults()
SetDefaults hydrates default values in the get alert rule params (not the query body).
All values with no default are reset to their zero value.
func (*GetAlertRuleParams) SetHTTPClient ¶
func (o *GetAlertRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get alert rule params
func (*GetAlertRuleParams) SetTimeout ¶
func (o *GetAlertRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get alert rule params
func (*GetAlertRuleParams) SetUID ¶
func (o *GetAlertRuleParams) SetUID(uid string)
SetUID adds the uid to the get alert rule params
func (*GetAlertRuleParams) WithContext ¶
func (o *GetAlertRuleParams) WithContext(ctx context.Context) *GetAlertRuleParams
WithContext adds the context to the get alert rule params
func (*GetAlertRuleParams) WithDefaults ¶
func (o *GetAlertRuleParams) WithDefaults() *GetAlertRuleParams
WithDefaults hydrates default values in the get alert rule params (not the query body).
All values with no default are reset to their zero value.
func (*GetAlertRuleParams) WithHTTPClient ¶
func (o *GetAlertRuleParams) WithHTTPClient(client *http.Client) *GetAlertRuleParams
WithHTTPClient adds the HTTPClient to the get alert rule params
func (*GetAlertRuleParams) WithTimeout ¶
func (o *GetAlertRuleParams) WithTimeout(timeout time.Duration) *GetAlertRuleParams
WithTimeout adds the timeout to the get alert rule params
func (*GetAlertRuleParams) WithUID ¶
func (o *GetAlertRuleParams) WithUID(uid string) *GetAlertRuleParams
WithUID adds the uid to the get alert rule params
func (*GetAlertRuleParams) WriteToRequest ¶
func (o *GetAlertRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAlertRuleReader ¶
type GetAlertRuleReader struct {
// contains filtered or unexported fields
}
GetAlertRuleReader is a Reader for the GetAlertRule structure.
func (*GetAlertRuleReader) ReadResponse ¶
func (o *GetAlertRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAlertRulesExportNotFound ¶
type GetAlertRulesExportNotFound struct { }
GetAlertRulesExportNotFound describes a response with status code 404, with default header values.
Not found.
func NewGetAlertRulesExportNotFound ¶
func NewGetAlertRulesExportNotFound() *GetAlertRulesExportNotFound
NewGetAlertRulesExportNotFound creates a GetAlertRulesExportNotFound with default headers values
func (*GetAlertRulesExportNotFound) Code ¶
func (o *GetAlertRulesExportNotFound) Code() int
Code gets the status code for the get alert rules export not found response
func (*GetAlertRulesExportNotFound) Error ¶
func (o *GetAlertRulesExportNotFound) Error() string
func (*GetAlertRulesExportNotFound) IsClientError ¶
func (o *GetAlertRulesExportNotFound) IsClientError() bool
IsClientError returns true when this get alert rules export not found response has a 4xx status code
func (*GetAlertRulesExportNotFound) IsCode ¶
func (o *GetAlertRulesExportNotFound) IsCode(code int) bool
IsCode returns true when this get alert rules export not found response a status code equal to that given
func (*GetAlertRulesExportNotFound) IsRedirect ¶
func (o *GetAlertRulesExportNotFound) IsRedirect() bool
IsRedirect returns true when this get alert rules export not found response has a 3xx status code
func (*GetAlertRulesExportNotFound) IsServerError ¶
func (o *GetAlertRulesExportNotFound) IsServerError() bool
IsServerError returns true when this get alert rules export not found response has a 5xx status code
func (*GetAlertRulesExportNotFound) IsSuccess ¶
func (o *GetAlertRulesExportNotFound) IsSuccess() bool
IsSuccess returns true when this get alert rules export not found response has a 2xx status code
func (*GetAlertRulesExportNotFound) String ¶
func (o *GetAlertRulesExportNotFound) String() string
type GetAlertRulesExportOK ¶
type GetAlertRulesExportOK struct {
Payload *models.AlertingFileExport
}
GetAlertRulesExportOK describes a response with status code 200, with default header values.
AlertingFileExport
func NewGetAlertRulesExportOK ¶
func NewGetAlertRulesExportOK() *GetAlertRulesExportOK
NewGetAlertRulesExportOK creates a GetAlertRulesExportOK with default headers values
func (*GetAlertRulesExportOK) Code ¶
func (o *GetAlertRulesExportOK) Code() int
Code gets the status code for the get alert rules export Ok response
func (*GetAlertRulesExportOK) Error ¶
func (o *GetAlertRulesExportOK) Error() string
func (*GetAlertRulesExportOK) GetPayload ¶
func (o *GetAlertRulesExportOK) GetPayload() *models.AlertingFileExport
func (*GetAlertRulesExportOK) IsClientError ¶
func (o *GetAlertRulesExportOK) IsClientError() bool
IsClientError returns true when this get alert rules export Ok response has a 4xx status code
func (*GetAlertRulesExportOK) IsCode ¶
func (o *GetAlertRulesExportOK) IsCode(code int) bool
IsCode returns true when this get alert rules export Ok response a status code equal to that given
func (*GetAlertRulesExportOK) IsRedirect ¶
func (o *GetAlertRulesExportOK) IsRedirect() bool
IsRedirect returns true when this get alert rules export Ok response has a 3xx status code
func (*GetAlertRulesExportOK) IsServerError ¶
func (o *GetAlertRulesExportOK) IsServerError() bool
IsServerError returns true when this get alert rules export Ok response has a 5xx status code
func (*GetAlertRulesExportOK) IsSuccess ¶
func (o *GetAlertRulesExportOK) IsSuccess() bool
IsSuccess returns true when this get alert rules export Ok response has a 2xx status code
func (*GetAlertRulesExportOK) String ¶
func (o *GetAlertRulesExportOK) String() string
type GetAlertRulesExportParams ¶
type GetAlertRulesExportParams struct { /* Download. Whether to initiate a download of the file or not. */ Download *bool /* FolderUID. UIDs of folders from which to export rules */ FolderUID []string /* Format. Format of the downloaded file. Supported yaml, json or hcl. Accept header can also be used, but the query parameter will take precedence. Default: "yaml" */ Format *string /* Group. Name of group of rules to export. Must be specified only together with a single folder UID */ Group *string /* RuleUID. UID of alert rule to export. If specified, parameters folderUid and group must be empty. */ RuleUID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAlertRulesExportParams contains all the parameters to send to the API endpoint
for the get alert rules export operation. Typically these are written to a http.Request.
func NewGetAlertRulesExportParams ¶
func NewGetAlertRulesExportParams() *GetAlertRulesExportParams
NewGetAlertRulesExportParams creates a new GetAlertRulesExportParams 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 NewGetAlertRulesExportParamsWithContext ¶
func NewGetAlertRulesExportParamsWithContext(ctx context.Context) *GetAlertRulesExportParams
NewGetAlertRulesExportParamsWithContext creates a new GetAlertRulesExportParams object with the ability to set a context for a request.
func NewGetAlertRulesExportParamsWithHTTPClient ¶
func NewGetAlertRulesExportParamsWithHTTPClient(client *http.Client) *GetAlertRulesExportParams
NewGetAlertRulesExportParamsWithHTTPClient creates a new GetAlertRulesExportParams object with the ability to set a custom HTTPClient for a request.
func NewGetAlertRulesExportParamsWithTimeout ¶
func NewGetAlertRulesExportParamsWithTimeout(timeout time.Duration) *GetAlertRulesExportParams
NewGetAlertRulesExportParamsWithTimeout creates a new GetAlertRulesExportParams object with the ability to set a timeout on a request.
func (*GetAlertRulesExportParams) SetContext ¶
func (o *GetAlertRulesExportParams) SetContext(ctx context.Context)
SetContext adds the context to the get alert rules export params
func (*GetAlertRulesExportParams) SetDefaults ¶
func (o *GetAlertRulesExportParams) SetDefaults()
SetDefaults hydrates default values in the get alert rules export params (not the query body).
All values with no default are reset to their zero value.
func (*GetAlertRulesExportParams) SetDownload ¶
func (o *GetAlertRulesExportParams) SetDownload(download *bool)
SetDownload adds the download to the get alert rules export params
func (*GetAlertRulesExportParams) SetFolderUID ¶
func (o *GetAlertRulesExportParams) SetFolderUID(folderUID []string)
SetFolderUID adds the folderUid to the get alert rules export params
func (*GetAlertRulesExportParams) SetFormat ¶
func (o *GetAlertRulesExportParams) SetFormat(format *string)
SetFormat adds the format to the get alert rules export params
func (*GetAlertRulesExportParams) SetGroup ¶
func (o *GetAlertRulesExportParams) SetGroup(group *string)
SetGroup adds the group to the get alert rules export params
func (*GetAlertRulesExportParams) SetHTTPClient ¶
func (o *GetAlertRulesExportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get alert rules export params
func (*GetAlertRulesExportParams) SetRuleUID ¶
func (o *GetAlertRulesExportParams) SetRuleUID(ruleUID *string)
SetRuleUID adds the ruleUid to the get alert rules export params
func (*GetAlertRulesExportParams) SetTimeout ¶
func (o *GetAlertRulesExportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get alert rules export params
func (*GetAlertRulesExportParams) WithContext ¶
func (o *GetAlertRulesExportParams) WithContext(ctx context.Context) *GetAlertRulesExportParams
WithContext adds the context to the get alert rules export params
func (*GetAlertRulesExportParams) WithDefaults ¶
func (o *GetAlertRulesExportParams) WithDefaults() *GetAlertRulesExportParams
WithDefaults hydrates default values in the get alert rules export params (not the query body).
All values with no default are reset to their zero value.
func (*GetAlertRulesExportParams) WithDownload ¶
func (o *GetAlertRulesExportParams) WithDownload(download *bool) *GetAlertRulesExportParams
WithDownload adds the download to the get alert rules export params
func (*GetAlertRulesExportParams) WithFolderUID ¶
func (o *GetAlertRulesExportParams) WithFolderUID(folderUID []string) *GetAlertRulesExportParams
WithFolderUID adds the folderUID to the get alert rules export params
func (*GetAlertRulesExportParams) WithFormat ¶
func (o *GetAlertRulesExportParams) WithFormat(format *string) *GetAlertRulesExportParams
WithFormat adds the format to the get alert rules export params
func (*GetAlertRulesExportParams) WithGroup ¶
func (o *GetAlertRulesExportParams) WithGroup(group *string) *GetAlertRulesExportParams
WithGroup adds the group to the get alert rules export params
func (*GetAlertRulesExportParams) WithHTTPClient ¶
func (o *GetAlertRulesExportParams) WithHTTPClient(client *http.Client) *GetAlertRulesExportParams
WithHTTPClient adds the HTTPClient to the get alert rules export params
func (*GetAlertRulesExportParams) WithRuleUID ¶
func (o *GetAlertRulesExportParams) WithRuleUID(ruleUID *string) *GetAlertRulesExportParams
WithRuleUID adds the ruleUID to the get alert rules export params
func (*GetAlertRulesExportParams) WithTimeout ¶
func (o *GetAlertRulesExportParams) WithTimeout(timeout time.Duration) *GetAlertRulesExportParams
WithTimeout adds the timeout to the get alert rules export params
func (*GetAlertRulesExportParams) WriteToRequest ¶
func (o *GetAlertRulesExportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAlertRulesExportReader ¶
type GetAlertRulesExportReader struct {
// contains filtered or unexported fields
}
GetAlertRulesExportReader is a Reader for the GetAlertRulesExport structure.
func (*GetAlertRulesExportReader) ReadResponse ¶
func (o *GetAlertRulesExportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAlertRulesOK ¶
type GetAlertRulesOK struct {
Payload models.ProvisionedAlertRules
}
GetAlertRulesOK describes a response with status code 200, with default header values.
ProvisionedAlertRules
func NewGetAlertRulesOK ¶
func NewGetAlertRulesOK() *GetAlertRulesOK
NewGetAlertRulesOK creates a GetAlertRulesOK with default headers values
func (*GetAlertRulesOK) Code ¶
func (o *GetAlertRulesOK) Code() int
Code gets the status code for the get alert rules Ok response
func (*GetAlertRulesOK) Error ¶
func (o *GetAlertRulesOK) Error() string
func (*GetAlertRulesOK) GetPayload ¶
func (o *GetAlertRulesOK) GetPayload() models.ProvisionedAlertRules
func (*GetAlertRulesOK) IsClientError ¶
func (o *GetAlertRulesOK) IsClientError() bool
IsClientError returns true when this get alert rules Ok response has a 4xx status code
func (*GetAlertRulesOK) IsCode ¶
func (o *GetAlertRulesOK) IsCode(code int) bool
IsCode returns true when this get alert rules Ok response a status code equal to that given
func (*GetAlertRulesOK) IsRedirect ¶
func (o *GetAlertRulesOK) IsRedirect() bool
IsRedirect returns true when this get alert rules Ok response has a 3xx status code
func (*GetAlertRulesOK) IsServerError ¶
func (o *GetAlertRulesOK) IsServerError() bool
IsServerError returns true when this get alert rules Ok response has a 5xx status code
func (*GetAlertRulesOK) IsSuccess ¶
func (o *GetAlertRulesOK) IsSuccess() bool
IsSuccess returns true when this get alert rules Ok response has a 2xx status code
func (*GetAlertRulesOK) String ¶
func (o *GetAlertRulesOK) String() string
type GetAlertRulesParams ¶
type GetAlertRulesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAlertRulesParams contains all the parameters to send to the API endpoint
for the get alert rules operation. Typically these are written to a http.Request.
func NewGetAlertRulesParams ¶
func NewGetAlertRulesParams() *GetAlertRulesParams
NewGetAlertRulesParams creates a new GetAlertRulesParams 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 NewGetAlertRulesParamsWithContext ¶
func NewGetAlertRulesParamsWithContext(ctx context.Context) *GetAlertRulesParams
NewGetAlertRulesParamsWithContext creates a new GetAlertRulesParams object with the ability to set a context for a request.
func NewGetAlertRulesParamsWithHTTPClient ¶
func NewGetAlertRulesParamsWithHTTPClient(client *http.Client) *GetAlertRulesParams
NewGetAlertRulesParamsWithHTTPClient creates a new GetAlertRulesParams object with the ability to set a custom HTTPClient for a request.
func NewGetAlertRulesParamsWithTimeout ¶
func NewGetAlertRulesParamsWithTimeout(timeout time.Duration) *GetAlertRulesParams
NewGetAlertRulesParamsWithTimeout creates a new GetAlertRulesParams object with the ability to set a timeout on a request.
func (*GetAlertRulesParams) SetContext ¶
func (o *GetAlertRulesParams) SetContext(ctx context.Context)
SetContext adds the context to the get alert rules params
func (*GetAlertRulesParams) SetDefaults ¶
func (o *GetAlertRulesParams) SetDefaults()
SetDefaults hydrates default values in the get alert rules params (not the query body).
All values with no default are reset to their zero value.
func (*GetAlertRulesParams) SetHTTPClient ¶
func (o *GetAlertRulesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get alert rules params
func (*GetAlertRulesParams) SetTimeout ¶
func (o *GetAlertRulesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get alert rules params
func (*GetAlertRulesParams) WithContext ¶
func (o *GetAlertRulesParams) WithContext(ctx context.Context) *GetAlertRulesParams
WithContext adds the context to the get alert rules params
func (*GetAlertRulesParams) WithDefaults ¶
func (o *GetAlertRulesParams) WithDefaults() *GetAlertRulesParams
WithDefaults hydrates default values in the get alert rules params (not the query body).
All values with no default are reset to their zero value.
func (*GetAlertRulesParams) WithHTTPClient ¶
func (o *GetAlertRulesParams) WithHTTPClient(client *http.Client) *GetAlertRulesParams
WithHTTPClient adds the HTTPClient to the get alert rules params
func (*GetAlertRulesParams) WithTimeout ¶
func (o *GetAlertRulesParams) WithTimeout(timeout time.Duration) *GetAlertRulesParams
WithTimeout adds the timeout to the get alert rules params
func (*GetAlertRulesParams) WriteToRequest ¶
func (o *GetAlertRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAlertRulesReader ¶
type GetAlertRulesReader struct {
// contains filtered or unexported fields
}
GetAlertRulesReader is a Reader for the GetAlertRules structure.
func (*GetAlertRulesReader) ReadResponse ¶
func (o *GetAlertRulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetContactpointsExportForbidden ¶
type GetContactpointsExportForbidden struct {
Payload models.PermissionDenied
}
GetContactpointsExportForbidden describes a response with status code 403, with default header values.
PermissionDenied
func NewGetContactpointsExportForbidden ¶
func NewGetContactpointsExportForbidden() *GetContactpointsExportForbidden
NewGetContactpointsExportForbidden creates a GetContactpointsExportForbidden with default headers values
func (*GetContactpointsExportForbidden) Code ¶
func (o *GetContactpointsExportForbidden) Code() int
Code gets the status code for the get contactpoints export forbidden response
func (*GetContactpointsExportForbidden) Error ¶
func (o *GetContactpointsExportForbidden) Error() string
func (*GetContactpointsExportForbidden) GetPayload ¶
func (o *GetContactpointsExportForbidden) GetPayload() models.PermissionDenied
func (*GetContactpointsExportForbidden) IsClientError ¶
func (o *GetContactpointsExportForbidden) IsClientError() bool
IsClientError returns true when this get contactpoints export forbidden response has a 4xx status code
func (*GetContactpointsExportForbidden) IsCode ¶
func (o *GetContactpointsExportForbidden) IsCode(code int) bool
IsCode returns true when this get contactpoints export forbidden response a status code equal to that given
func (*GetContactpointsExportForbidden) IsRedirect ¶
func (o *GetContactpointsExportForbidden) IsRedirect() bool
IsRedirect returns true when this get contactpoints export forbidden response has a 3xx status code
func (*GetContactpointsExportForbidden) IsServerError ¶
func (o *GetContactpointsExportForbidden) IsServerError() bool
IsServerError returns true when this get contactpoints export forbidden response has a 5xx status code
func (*GetContactpointsExportForbidden) IsSuccess ¶
func (o *GetContactpointsExportForbidden) IsSuccess() bool
IsSuccess returns true when this get contactpoints export forbidden response has a 2xx status code
func (*GetContactpointsExportForbidden) String ¶
func (o *GetContactpointsExportForbidden) String() string
type GetContactpointsExportOK ¶
type GetContactpointsExportOK struct {
Payload *models.AlertingFileExport
}
GetContactpointsExportOK describes a response with status code 200, with default header values.
AlertingFileExport
func NewGetContactpointsExportOK ¶
func NewGetContactpointsExportOK() *GetContactpointsExportOK
NewGetContactpointsExportOK creates a GetContactpointsExportOK with default headers values
func (*GetContactpointsExportOK) Code ¶
func (o *GetContactpointsExportOK) Code() int
Code gets the status code for the get contactpoints export Ok response
func (*GetContactpointsExportOK) Error ¶
func (o *GetContactpointsExportOK) Error() string
func (*GetContactpointsExportOK) GetPayload ¶
func (o *GetContactpointsExportOK) GetPayload() *models.AlertingFileExport
func (*GetContactpointsExportOK) IsClientError ¶
func (o *GetContactpointsExportOK) IsClientError() bool
IsClientError returns true when this get contactpoints export Ok response has a 4xx status code
func (*GetContactpointsExportOK) IsCode ¶
func (o *GetContactpointsExportOK) IsCode(code int) bool
IsCode returns true when this get contactpoints export Ok response a status code equal to that given
func (*GetContactpointsExportOK) IsRedirect ¶
func (o *GetContactpointsExportOK) IsRedirect() bool
IsRedirect returns true when this get contactpoints export Ok response has a 3xx status code
func (*GetContactpointsExportOK) IsServerError ¶
func (o *GetContactpointsExportOK) IsServerError() bool
IsServerError returns true when this get contactpoints export Ok response has a 5xx status code
func (*GetContactpointsExportOK) IsSuccess ¶
func (o *GetContactpointsExportOK) IsSuccess() bool
IsSuccess returns true when this get contactpoints export Ok response has a 2xx status code
func (*GetContactpointsExportOK) String ¶
func (o *GetContactpointsExportOK) String() string
type GetContactpointsExportParams ¶
type GetContactpointsExportParams struct { /* Decrypt. Whether any contained secure settings should be decrypted or left redacted. Redacted settings will contain RedactedValue instead. Currently, only org admin can view decrypted secure settings. */ Decrypt *bool /* Download. Whether to initiate a download of the file or not. */ Download *bool /* Format. Format of the downloaded file. Supported yaml, json or hcl. Accept header can also be used, but the query parameter will take precedence. Default: "yaml" */ Format *string /* Name. Filter by name */ Name *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetContactpointsExportParams contains all the parameters to send to the API endpoint
for the get contactpoints export operation. Typically these are written to a http.Request.
func NewGetContactpointsExportParams ¶
func NewGetContactpointsExportParams() *GetContactpointsExportParams
NewGetContactpointsExportParams creates a new GetContactpointsExportParams 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 NewGetContactpointsExportParamsWithContext ¶
func NewGetContactpointsExportParamsWithContext(ctx context.Context) *GetContactpointsExportParams
NewGetContactpointsExportParamsWithContext creates a new GetContactpointsExportParams object with the ability to set a context for a request.
func NewGetContactpointsExportParamsWithHTTPClient ¶
func NewGetContactpointsExportParamsWithHTTPClient(client *http.Client) *GetContactpointsExportParams
NewGetContactpointsExportParamsWithHTTPClient creates a new GetContactpointsExportParams object with the ability to set a custom HTTPClient for a request.
func NewGetContactpointsExportParamsWithTimeout ¶
func NewGetContactpointsExportParamsWithTimeout(timeout time.Duration) *GetContactpointsExportParams
NewGetContactpointsExportParamsWithTimeout creates a new GetContactpointsExportParams object with the ability to set a timeout on a request.
func (*GetContactpointsExportParams) SetContext ¶
func (o *GetContactpointsExportParams) SetContext(ctx context.Context)
SetContext adds the context to the get contactpoints export params
func (*GetContactpointsExportParams) SetDecrypt ¶
func (o *GetContactpointsExportParams) SetDecrypt(decrypt *bool)
SetDecrypt adds the decrypt to the get contactpoints export params
func (*GetContactpointsExportParams) SetDefaults ¶
func (o *GetContactpointsExportParams) SetDefaults()
SetDefaults hydrates default values in the get contactpoints export params (not the query body).
All values with no default are reset to their zero value.
func (*GetContactpointsExportParams) SetDownload ¶
func (o *GetContactpointsExportParams) SetDownload(download *bool)
SetDownload adds the download to the get contactpoints export params
func (*GetContactpointsExportParams) SetFormat ¶
func (o *GetContactpointsExportParams) SetFormat(format *string)
SetFormat adds the format to the get contactpoints export params
func (*GetContactpointsExportParams) SetHTTPClient ¶
func (o *GetContactpointsExportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get contactpoints export params
func (*GetContactpointsExportParams) SetName ¶
func (o *GetContactpointsExportParams) SetName(name *string)
SetName adds the name to the get contactpoints export params
func (*GetContactpointsExportParams) SetTimeout ¶
func (o *GetContactpointsExportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get contactpoints export params
func (*GetContactpointsExportParams) WithContext ¶
func (o *GetContactpointsExportParams) WithContext(ctx context.Context) *GetContactpointsExportParams
WithContext adds the context to the get contactpoints export params
func (*GetContactpointsExportParams) WithDecrypt ¶
func (o *GetContactpointsExportParams) WithDecrypt(decrypt *bool) *GetContactpointsExportParams
WithDecrypt adds the decrypt to the get contactpoints export params
func (*GetContactpointsExportParams) WithDefaults ¶
func (o *GetContactpointsExportParams) WithDefaults() *GetContactpointsExportParams
WithDefaults hydrates default values in the get contactpoints export params (not the query body).
All values with no default are reset to their zero value.
func (*GetContactpointsExportParams) WithDownload ¶
func (o *GetContactpointsExportParams) WithDownload(download *bool) *GetContactpointsExportParams
WithDownload adds the download to the get contactpoints export params
func (*GetContactpointsExportParams) WithFormat ¶
func (o *GetContactpointsExportParams) WithFormat(format *string) *GetContactpointsExportParams
WithFormat adds the format to the get contactpoints export params
func (*GetContactpointsExportParams) WithHTTPClient ¶
func (o *GetContactpointsExportParams) WithHTTPClient(client *http.Client) *GetContactpointsExportParams
WithHTTPClient adds the HTTPClient to the get contactpoints export params
func (*GetContactpointsExportParams) WithName ¶
func (o *GetContactpointsExportParams) WithName(name *string) *GetContactpointsExportParams
WithName adds the name to the get contactpoints export params
func (*GetContactpointsExportParams) WithTimeout ¶
func (o *GetContactpointsExportParams) WithTimeout(timeout time.Duration) *GetContactpointsExportParams
WithTimeout adds the timeout to the get contactpoints export params
func (*GetContactpointsExportParams) WriteToRequest ¶
func (o *GetContactpointsExportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetContactpointsExportReader ¶
type GetContactpointsExportReader struct {
// contains filtered or unexported fields
}
GetContactpointsExportReader is a Reader for the GetContactpointsExport structure.
func (*GetContactpointsExportReader) ReadResponse ¶
func (o *GetContactpointsExportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetContactpointsOK ¶
type GetContactpointsOK struct {
Payload models.ContactPoints
}
GetContactpointsOK describes a response with status code 200, with default header values.
ContactPoints
func NewGetContactpointsOK ¶
func NewGetContactpointsOK() *GetContactpointsOK
NewGetContactpointsOK creates a GetContactpointsOK with default headers values
func (*GetContactpointsOK) Code ¶
func (o *GetContactpointsOK) Code() int
Code gets the status code for the get contactpoints Ok response
func (*GetContactpointsOK) Error ¶
func (o *GetContactpointsOK) Error() string
func (*GetContactpointsOK) GetPayload ¶
func (o *GetContactpointsOK) GetPayload() models.ContactPoints
func (*GetContactpointsOK) IsClientError ¶
func (o *GetContactpointsOK) IsClientError() bool
IsClientError returns true when this get contactpoints Ok response has a 4xx status code
func (*GetContactpointsOK) IsCode ¶
func (o *GetContactpointsOK) IsCode(code int) bool
IsCode returns true when this get contactpoints Ok response a status code equal to that given
func (*GetContactpointsOK) IsRedirect ¶
func (o *GetContactpointsOK) IsRedirect() bool
IsRedirect returns true when this get contactpoints Ok response has a 3xx status code
func (*GetContactpointsOK) IsServerError ¶
func (o *GetContactpointsOK) IsServerError() bool
IsServerError returns true when this get contactpoints Ok response has a 5xx status code
func (*GetContactpointsOK) IsSuccess ¶
func (o *GetContactpointsOK) IsSuccess() bool
IsSuccess returns true when this get contactpoints Ok response has a 2xx status code
func (*GetContactpointsOK) String ¶
func (o *GetContactpointsOK) String() string
type GetContactpointsParams ¶
type GetContactpointsParams struct { /* Name. Filter by name */ Name *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetContactpointsParams contains all the parameters to send to the API endpoint
for the get contactpoints operation. Typically these are written to a http.Request.
func NewGetContactpointsParams ¶
func NewGetContactpointsParams() *GetContactpointsParams
NewGetContactpointsParams creates a new GetContactpointsParams 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 NewGetContactpointsParamsWithContext ¶
func NewGetContactpointsParamsWithContext(ctx context.Context) *GetContactpointsParams
NewGetContactpointsParamsWithContext creates a new GetContactpointsParams object with the ability to set a context for a request.
func NewGetContactpointsParamsWithHTTPClient ¶
func NewGetContactpointsParamsWithHTTPClient(client *http.Client) *GetContactpointsParams
NewGetContactpointsParamsWithHTTPClient creates a new GetContactpointsParams object with the ability to set a custom HTTPClient for a request.
func NewGetContactpointsParamsWithTimeout ¶
func NewGetContactpointsParamsWithTimeout(timeout time.Duration) *GetContactpointsParams
NewGetContactpointsParamsWithTimeout creates a new GetContactpointsParams object with the ability to set a timeout on a request.
func (*GetContactpointsParams) SetContext ¶
func (o *GetContactpointsParams) SetContext(ctx context.Context)
SetContext adds the context to the get contactpoints params
func (*GetContactpointsParams) SetDefaults ¶
func (o *GetContactpointsParams) SetDefaults()
SetDefaults hydrates default values in the get contactpoints params (not the query body).
All values with no default are reset to their zero value.
func (*GetContactpointsParams) SetHTTPClient ¶
func (o *GetContactpointsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get contactpoints params
func (*GetContactpointsParams) SetName ¶
func (o *GetContactpointsParams) SetName(name *string)
SetName adds the name to the get contactpoints params
func (*GetContactpointsParams) SetTimeout ¶
func (o *GetContactpointsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get contactpoints params
func (*GetContactpointsParams) WithContext ¶
func (o *GetContactpointsParams) WithContext(ctx context.Context) *GetContactpointsParams
WithContext adds the context to the get contactpoints params
func (*GetContactpointsParams) WithDefaults ¶
func (o *GetContactpointsParams) WithDefaults() *GetContactpointsParams
WithDefaults hydrates default values in the get contactpoints params (not the query body).
All values with no default are reset to their zero value.
func (*GetContactpointsParams) WithHTTPClient ¶
func (o *GetContactpointsParams) WithHTTPClient(client *http.Client) *GetContactpointsParams
WithHTTPClient adds the HTTPClient to the get contactpoints params
func (*GetContactpointsParams) WithName ¶
func (o *GetContactpointsParams) WithName(name *string) *GetContactpointsParams
WithName adds the name to the get contactpoints params
func (*GetContactpointsParams) WithTimeout ¶
func (o *GetContactpointsParams) WithTimeout(timeout time.Duration) *GetContactpointsParams
WithTimeout adds the timeout to the get contactpoints params
func (*GetContactpointsParams) WriteToRequest ¶
func (o *GetContactpointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetContactpointsReader ¶
type GetContactpointsReader struct {
// contains filtered or unexported fields
}
GetContactpointsReader is a Reader for the GetContactpoints structure.
func (*GetContactpointsReader) ReadResponse ¶
func (o *GetContactpointsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMuteTimingNotFound ¶
type GetMuteTimingNotFound struct { }
GetMuteTimingNotFound describes a response with status code 404, with default header values.
Not found.
func NewGetMuteTimingNotFound ¶
func NewGetMuteTimingNotFound() *GetMuteTimingNotFound
NewGetMuteTimingNotFound creates a GetMuteTimingNotFound with default headers values
func (*GetMuteTimingNotFound) Code ¶
func (o *GetMuteTimingNotFound) Code() int
Code gets the status code for the get mute timing not found response
func (*GetMuteTimingNotFound) Error ¶
func (o *GetMuteTimingNotFound) Error() string
func (*GetMuteTimingNotFound) IsClientError ¶
func (o *GetMuteTimingNotFound) IsClientError() bool
IsClientError returns true when this get mute timing not found response has a 4xx status code
func (*GetMuteTimingNotFound) IsCode ¶
func (o *GetMuteTimingNotFound) IsCode(code int) bool
IsCode returns true when this get mute timing not found response a status code equal to that given
func (*GetMuteTimingNotFound) IsRedirect ¶
func (o *GetMuteTimingNotFound) IsRedirect() bool
IsRedirect returns true when this get mute timing not found response has a 3xx status code
func (*GetMuteTimingNotFound) IsServerError ¶
func (o *GetMuteTimingNotFound) IsServerError() bool
IsServerError returns true when this get mute timing not found response has a 5xx status code
func (*GetMuteTimingNotFound) IsSuccess ¶
func (o *GetMuteTimingNotFound) IsSuccess() bool
IsSuccess returns true when this get mute timing not found response has a 2xx status code
func (*GetMuteTimingNotFound) String ¶
func (o *GetMuteTimingNotFound) String() string
type GetMuteTimingOK ¶
type GetMuteTimingOK struct {
Payload *models.MuteTimeInterval
}
GetMuteTimingOK describes a response with status code 200, with default header values.
MuteTimeInterval
func NewGetMuteTimingOK ¶
func NewGetMuteTimingOK() *GetMuteTimingOK
NewGetMuteTimingOK creates a GetMuteTimingOK with default headers values
func (*GetMuteTimingOK) Code ¶
func (o *GetMuteTimingOK) Code() int
Code gets the status code for the get mute timing Ok response
func (*GetMuteTimingOK) Error ¶
func (o *GetMuteTimingOK) Error() string
func (*GetMuteTimingOK) GetPayload ¶
func (o *GetMuteTimingOK) GetPayload() *models.MuteTimeInterval
func (*GetMuteTimingOK) IsClientError ¶
func (o *GetMuteTimingOK) IsClientError() bool
IsClientError returns true when this get mute timing Ok response has a 4xx status code
func (*GetMuteTimingOK) IsCode ¶
func (o *GetMuteTimingOK) IsCode(code int) bool
IsCode returns true when this get mute timing Ok response a status code equal to that given
func (*GetMuteTimingOK) IsRedirect ¶
func (o *GetMuteTimingOK) IsRedirect() bool
IsRedirect returns true when this get mute timing Ok response has a 3xx status code
func (*GetMuteTimingOK) IsServerError ¶
func (o *GetMuteTimingOK) IsServerError() bool
IsServerError returns true when this get mute timing Ok response has a 5xx status code
func (*GetMuteTimingOK) IsSuccess ¶
func (o *GetMuteTimingOK) IsSuccess() bool
IsSuccess returns true when this get mute timing Ok response has a 2xx status code
func (*GetMuteTimingOK) String ¶
func (o *GetMuteTimingOK) String() string
type GetMuteTimingParams ¶
type GetMuteTimingParams struct { /* Name. Mute timing name */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMuteTimingParams contains all the parameters to send to the API endpoint
for the get mute timing operation. Typically these are written to a http.Request.
func NewGetMuteTimingParams ¶
func NewGetMuteTimingParams() *GetMuteTimingParams
NewGetMuteTimingParams creates a new GetMuteTimingParams 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 NewGetMuteTimingParamsWithContext ¶
func NewGetMuteTimingParamsWithContext(ctx context.Context) *GetMuteTimingParams
NewGetMuteTimingParamsWithContext creates a new GetMuteTimingParams object with the ability to set a context for a request.
func NewGetMuteTimingParamsWithHTTPClient ¶
func NewGetMuteTimingParamsWithHTTPClient(client *http.Client) *GetMuteTimingParams
NewGetMuteTimingParamsWithHTTPClient creates a new GetMuteTimingParams object with the ability to set a custom HTTPClient for a request.
func NewGetMuteTimingParamsWithTimeout ¶
func NewGetMuteTimingParamsWithTimeout(timeout time.Duration) *GetMuteTimingParams
NewGetMuteTimingParamsWithTimeout creates a new GetMuteTimingParams object with the ability to set a timeout on a request.
func (*GetMuteTimingParams) SetContext ¶
func (o *GetMuteTimingParams) SetContext(ctx context.Context)
SetContext adds the context to the get mute timing params
func (*GetMuteTimingParams) SetDefaults ¶
func (o *GetMuteTimingParams) SetDefaults()
SetDefaults hydrates default values in the get mute timing params (not the query body).
All values with no default are reset to their zero value.
func (*GetMuteTimingParams) SetHTTPClient ¶
func (o *GetMuteTimingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get mute timing params
func (*GetMuteTimingParams) SetName ¶
func (o *GetMuteTimingParams) SetName(name string)
SetName adds the name to the get mute timing params
func (*GetMuteTimingParams) SetTimeout ¶
func (o *GetMuteTimingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get mute timing params
func (*GetMuteTimingParams) WithContext ¶
func (o *GetMuteTimingParams) WithContext(ctx context.Context) *GetMuteTimingParams
WithContext adds the context to the get mute timing params
func (*GetMuteTimingParams) WithDefaults ¶
func (o *GetMuteTimingParams) WithDefaults() *GetMuteTimingParams
WithDefaults hydrates default values in the get mute timing params (not the query body).
All values with no default are reset to their zero value.
func (*GetMuteTimingParams) WithHTTPClient ¶
func (o *GetMuteTimingParams) WithHTTPClient(client *http.Client) *GetMuteTimingParams
WithHTTPClient adds the HTTPClient to the get mute timing params
func (*GetMuteTimingParams) WithName ¶
func (o *GetMuteTimingParams) WithName(name string) *GetMuteTimingParams
WithName adds the name to the get mute timing params
func (*GetMuteTimingParams) WithTimeout ¶
func (o *GetMuteTimingParams) WithTimeout(timeout time.Duration) *GetMuteTimingParams
WithTimeout adds the timeout to the get mute timing params
func (*GetMuteTimingParams) WriteToRequest ¶
func (o *GetMuteTimingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMuteTimingReader ¶
type GetMuteTimingReader struct {
// contains filtered or unexported fields
}
GetMuteTimingReader is a Reader for the GetMuteTiming structure.
func (*GetMuteTimingReader) ReadResponse ¶
func (o *GetMuteTimingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMuteTimingsOK ¶
type GetMuteTimingsOK struct {
Payload models.MuteTimings
}
GetMuteTimingsOK describes a response with status code 200, with default header values.
MuteTimings
func NewGetMuteTimingsOK ¶
func NewGetMuteTimingsOK() *GetMuteTimingsOK
NewGetMuteTimingsOK creates a GetMuteTimingsOK with default headers values
func (*GetMuteTimingsOK) Code ¶
func (o *GetMuteTimingsOK) Code() int
Code gets the status code for the get mute timings Ok response
func (*GetMuteTimingsOK) Error ¶
func (o *GetMuteTimingsOK) Error() string
func (*GetMuteTimingsOK) GetPayload ¶
func (o *GetMuteTimingsOK) GetPayload() models.MuteTimings
func (*GetMuteTimingsOK) IsClientError ¶
func (o *GetMuteTimingsOK) IsClientError() bool
IsClientError returns true when this get mute timings Ok response has a 4xx status code
func (*GetMuteTimingsOK) IsCode ¶
func (o *GetMuteTimingsOK) IsCode(code int) bool
IsCode returns true when this get mute timings Ok response a status code equal to that given
func (*GetMuteTimingsOK) IsRedirect ¶
func (o *GetMuteTimingsOK) IsRedirect() bool
IsRedirect returns true when this get mute timings Ok response has a 3xx status code
func (*GetMuteTimingsOK) IsServerError ¶
func (o *GetMuteTimingsOK) IsServerError() bool
IsServerError returns true when this get mute timings Ok response has a 5xx status code
func (*GetMuteTimingsOK) IsSuccess ¶
func (o *GetMuteTimingsOK) IsSuccess() bool
IsSuccess returns true when this get mute timings Ok response has a 2xx status code
func (*GetMuteTimingsOK) String ¶
func (o *GetMuteTimingsOK) String() string
type GetMuteTimingsParams ¶
type GetMuteTimingsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMuteTimingsParams contains all the parameters to send to the API endpoint
for the get mute timings operation. Typically these are written to a http.Request.
func NewGetMuteTimingsParams ¶
func NewGetMuteTimingsParams() *GetMuteTimingsParams
NewGetMuteTimingsParams creates a new GetMuteTimingsParams 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 NewGetMuteTimingsParamsWithContext ¶
func NewGetMuteTimingsParamsWithContext(ctx context.Context) *GetMuteTimingsParams
NewGetMuteTimingsParamsWithContext creates a new GetMuteTimingsParams object with the ability to set a context for a request.
func NewGetMuteTimingsParamsWithHTTPClient ¶
func NewGetMuteTimingsParamsWithHTTPClient(client *http.Client) *GetMuteTimingsParams
NewGetMuteTimingsParamsWithHTTPClient creates a new GetMuteTimingsParams object with the ability to set a custom HTTPClient for a request.
func NewGetMuteTimingsParamsWithTimeout ¶
func NewGetMuteTimingsParamsWithTimeout(timeout time.Duration) *GetMuteTimingsParams
NewGetMuteTimingsParamsWithTimeout creates a new GetMuteTimingsParams object with the ability to set a timeout on a request.
func (*GetMuteTimingsParams) SetContext ¶
func (o *GetMuteTimingsParams) SetContext(ctx context.Context)
SetContext adds the context to the get mute timings params
func (*GetMuteTimingsParams) SetDefaults ¶
func (o *GetMuteTimingsParams) SetDefaults()
SetDefaults hydrates default values in the get mute timings params (not the query body).
All values with no default are reset to their zero value.
func (*GetMuteTimingsParams) SetHTTPClient ¶
func (o *GetMuteTimingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get mute timings params
func (*GetMuteTimingsParams) SetTimeout ¶
func (o *GetMuteTimingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get mute timings params
func (*GetMuteTimingsParams) WithContext ¶
func (o *GetMuteTimingsParams) WithContext(ctx context.Context) *GetMuteTimingsParams
WithContext adds the context to the get mute timings params
func (*GetMuteTimingsParams) WithDefaults ¶
func (o *GetMuteTimingsParams) WithDefaults() *GetMuteTimingsParams
WithDefaults hydrates default values in the get mute timings params (not the query body).
All values with no default are reset to their zero value.
func (*GetMuteTimingsParams) WithHTTPClient ¶
func (o *GetMuteTimingsParams) WithHTTPClient(client *http.Client) *GetMuteTimingsParams
WithHTTPClient adds the HTTPClient to the get mute timings params
func (*GetMuteTimingsParams) WithTimeout ¶
func (o *GetMuteTimingsParams) WithTimeout(timeout time.Duration) *GetMuteTimingsParams
WithTimeout adds the timeout to the get mute timings params
func (*GetMuteTimingsParams) WriteToRequest ¶
func (o *GetMuteTimingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMuteTimingsReader ¶
type GetMuteTimingsReader struct {
// contains filtered or unexported fields
}
GetMuteTimingsReader is a Reader for the GetMuteTimings structure.
func (*GetMuteTimingsReader) ReadResponse ¶
func (o *GetMuteTimingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPolicyTreeExportNotFound ¶
GetPolicyTreeExportNotFound describes a response with status code 404, with default header values.
NotFound
func NewGetPolicyTreeExportNotFound ¶
func NewGetPolicyTreeExportNotFound() *GetPolicyTreeExportNotFound
NewGetPolicyTreeExportNotFound creates a GetPolicyTreeExportNotFound with default headers values
func (*GetPolicyTreeExportNotFound) Code ¶
func (o *GetPolicyTreeExportNotFound) Code() int
Code gets the status code for the get policy tree export not found response
func (*GetPolicyTreeExportNotFound) Error ¶
func (o *GetPolicyTreeExportNotFound) Error() string
func (*GetPolicyTreeExportNotFound) GetPayload ¶
func (o *GetPolicyTreeExportNotFound) GetPayload() models.NotFound
func (*GetPolicyTreeExportNotFound) IsClientError ¶
func (o *GetPolicyTreeExportNotFound) IsClientError() bool
IsClientError returns true when this get policy tree export not found response has a 4xx status code
func (*GetPolicyTreeExportNotFound) IsCode ¶
func (o *GetPolicyTreeExportNotFound) IsCode(code int) bool
IsCode returns true when this get policy tree export not found response a status code equal to that given
func (*GetPolicyTreeExportNotFound) IsRedirect ¶
func (o *GetPolicyTreeExportNotFound) IsRedirect() bool
IsRedirect returns true when this get policy tree export not found response has a 3xx status code
func (*GetPolicyTreeExportNotFound) IsServerError ¶
func (o *GetPolicyTreeExportNotFound) IsServerError() bool
IsServerError returns true when this get policy tree export not found response has a 5xx status code
func (*GetPolicyTreeExportNotFound) IsSuccess ¶
func (o *GetPolicyTreeExportNotFound) IsSuccess() bool
IsSuccess returns true when this get policy tree export not found response has a 2xx status code
func (*GetPolicyTreeExportNotFound) String ¶
func (o *GetPolicyTreeExportNotFound) String() string
type GetPolicyTreeExportOK ¶
type GetPolicyTreeExportOK struct {
Payload *models.AlertingFileExport
}
GetPolicyTreeExportOK describes a response with status code 200, with default header values.
AlertingFileExport
func NewGetPolicyTreeExportOK ¶
func NewGetPolicyTreeExportOK() *GetPolicyTreeExportOK
NewGetPolicyTreeExportOK creates a GetPolicyTreeExportOK with default headers values
func (*GetPolicyTreeExportOK) Code ¶
func (o *GetPolicyTreeExportOK) Code() int
Code gets the status code for the get policy tree export Ok response
func (*GetPolicyTreeExportOK) Error ¶
func (o *GetPolicyTreeExportOK) Error() string
func (*GetPolicyTreeExportOK) GetPayload ¶
func (o *GetPolicyTreeExportOK) GetPayload() *models.AlertingFileExport
func (*GetPolicyTreeExportOK) IsClientError ¶
func (o *GetPolicyTreeExportOK) IsClientError() bool
IsClientError returns true when this get policy tree export Ok response has a 4xx status code
func (*GetPolicyTreeExportOK) IsCode ¶
func (o *GetPolicyTreeExportOK) IsCode(code int) bool
IsCode returns true when this get policy tree export Ok response a status code equal to that given
func (*GetPolicyTreeExportOK) IsRedirect ¶
func (o *GetPolicyTreeExportOK) IsRedirect() bool
IsRedirect returns true when this get policy tree export Ok response has a 3xx status code
func (*GetPolicyTreeExportOK) IsServerError ¶
func (o *GetPolicyTreeExportOK) IsServerError() bool
IsServerError returns true when this get policy tree export Ok response has a 5xx status code
func (*GetPolicyTreeExportOK) IsSuccess ¶
func (o *GetPolicyTreeExportOK) IsSuccess() bool
IsSuccess returns true when this get policy tree export Ok response has a 2xx status code
func (*GetPolicyTreeExportOK) String ¶
func (o *GetPolicyTreeExportOK) String() string
type GetPolicyTreeExportParams ¶
type GetPolicyTreeExportParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPolicyTreeExportParams contains all the parameters to send to the API endpoint
for the get policy tree export operation. Typically these are written to a http.Request.
func NewGetPolicyTreeExportParams ¶
func NewGetPolicyTreeExportParams() *GetPolicyTreeExportParams
NewGetPolicyTreeExportParams creates a new GetPolicyTreeExportParams 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 NewGetPolicyTreeExportParamsWithContext ¶
func NewGetPolicyTreeExportParamsWithContext(ctx context.Context) *GetPolicyTreeExportParams
NewGetPolicyTreeExportParamsWithContext creates a new GetPolicyTreeExportParams object with the ability to set a context for a request.
func NewGetPolicyTreeExportParamsWithHTTPClient ¶
func NewGetPolicyTreeExportParamsWithHTTPClient(client *http.Client) *GetPolicyTreeExportParams
NewGetPolicyTreeExportParamsWithHTTPClient creates a new GetPolicyTreeExportParams object with the ability to set a custom HTTPClient for a request.
func NewGetPolicyTreeExportParamsWithTimeout ¶
func NewGetPolicyTreeExportParamsWithTimeout(timeout time.Duration) *GetPolicyTreeExportParams
NewGetPolicyTreeExportParamsWithTimeout creates a new GetPolicyTreeExportParams object with the ability to set a timeout on a request.
func (*GetPolicyTreeExportParams) SetContext ¶
func (o *GetPolicyTreeExportParams) SetContext(ctx context.Context)
SetContext adds the context to the get policy tree export params
func (*GetPolicyTreeExportParams) SetDefaults ¶
func (o *GetPolicyTreeExportParams) SetDefaults()
SetDefaults hydrates default values in the get policy tree export params (not the query body).
All values with no default are reset to their zero value.
func (*GetPolicyTreeExportParams) SetHTTPClient ¶
func (o *GetPolicyTreeExportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get policy tree export params
func (*GetPolicyTreeExportParams) SetTimeout ¶
func (o *GetPolicyTreeExportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get policy tree export params
func (*GetPolicyTreeExportParams) WithContext ¶
func (o *GetPolicyTreeExportParams) WithContext(ctx context.Context) *GetPolicyTreeExportParams
WithContext adds the context to the get policy tree export params
func (*GetPolicyTreeExportParams) WithDefaults ¶
func (o *GetPolicyTreeExportParams) WithDefaults() *GetPolicyTreeExportParams
WithDefaults hydrates default values in the get policy tree export params (not the query body).
All values with no default are reset to their zero value.
func (*GetPolicyTreeExportParams) WithHTTPClient ¶
func (o *GetPolicyTreeExportParams) WithHTTPClient(client *http.Client) *GetPolicyTreeExportParams
WithHTTPClient adds the HTTPClient to the get policy tree export params
func (*GetPolicyTreeExportParams) WithTimeout ¶
func (o *GetPolicyTreeExportParams) WithTimeout(timeout time.Duration) *GetPolicyTreeExportParams
WithTimeout adds the timeout to the get policy tree export params
func (*GetPolicyTreeExportParams) WriteToRequest ¶
func (o *GetPolicyTreeExportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPolicyTreeExportReader ¶
type GetPolicyTreeExportReader struct {
// contains filtered or unexported fields
}
GetPolicyTreeExportReader is a Reader for the GetPolicyTreeExport structure.
func (*GetPolicyTreeExportReader) ReadResponse ¶
func (o *GetPolicyTreeExportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPolicyTreeOK ¶
GetPolicyTreeOK describes a response with status code 200, with default header values.
Route
func NewGetPolicyTreeOK ¶
func NewGetPolicyTreeOK() *GetPolicyTreeOK
NewGetPolicyTreeOK creates a GetPolicyTreeOK with default headers values
func (*GetPolicyTreeOK) Code ¶
func (o *GetPolicyTreeOK) Code() int
Code gets the status code for the get policy tree Ok response
func (*GetPolicyTreeOK) Error ¶
func (o *GetPolicyTreeOK) Error() string
func (*GetPolicyTreeOK) GetPayload ¶
func (o *GetPolicyTreeOK) GetPayload() *models.Route
func (*GetPolicyTreeOK) IsClientError ¶
func (o *GetPolicyTreeOK) IsClientError() bool
IsClientError returns true when this get policy tree Ok response has a 4xx status code
func (*GetPolicyTreeOK) IsCode ¶
func (o *GetPolicyTreeOK) IsCode(code int) bool
IsCode returns true when this get policy tree Ok response a status code equal to that given
func (*GetPolicyTreeOK) IsRedirect ¶
func (o *GetPolicyTreeOK) IsRedirect() bool
IsRedirect returns true when this get policy tree Ok response has a 3xx status code
func (*GetPolicyTreeOK) IsServerError ¶
func (o *GetPolicyTreeOK) IsServerError() bool
IsServerError returns true when this get policy tree Ok response has a 5xx status code
func (*GetPolicyTreeOK) IsSuccess ¶
func (o *GetPolicyTreeOK) IsSuccess() bool
IsSuccess returns true when this get policy tree Ok response has a 2xx status code
func (*GetPolicyTreeOK) String ¶
func (o *GetPolicyTreeOK) String() string
type GetPolicyTreeParams ¶
type GetPolicyTreeParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPolicyTreeParams contains all the parameters to send to the API endpoint
for the get policy tree operation. Typically these are written to a http.Request.
func NewGetPolicyTreeParams ¶
func NewGetPolicyTreeParams() *GetPolicyTreeParams
NewGetPolicyTreeParams creates a new GetPolicyTreeParams 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 NewGetPolicyTreeParamsWithContext ¶
func NewGetPolicyTreeParamsWithContext(ctx context.Context) *GetPolicyTreeParams
NewGetPolicyTreeParamsWithContext creates a new GetPolicyTreeParams object with the ability to set a context for a request.
func NewGetPolicyTreeParamsWithHTTPClient ¶
func NewGetPolicyTreeParamsWithHTTPClient(client *http.Client) *GetPolicyTreeParams
NewGetPolicyTreeParamsWithHTTPClient creates a new GetPolicyTreeParams object with the ability to set a custom HTTPClient for a request.
func NewGetPolicyTreeParamsWithTimeout ¶
func NewGetPolicyTreeParamsWithTimeout(timeout time.Duration) *GetPolicyTreeParams
NewGetPolicyTreeParamsWithTimeout creates a new GetPolicyTreeParams object with the ability to set a timeout on a request.
func (*GetPolicyTreeParams) SetContext ¶
func (o *GetPolicyTreeParams) SetContext(ctx context.Context)
SetContext adds the context to the get policy tree params
func (*GetPolicyTreeParams) SetDefaults ¶
func (o *GetPolicyTreeParams) SetDefaults()
SetDefaults hydrates default values in the get policy tree params (not the query body).
All values with no default are reset to their zero value.
func (*GetPolicyTreeParams) SetHTTPClient ¶
func (o *GetPolicyTreeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get policy tree params
func (*GetPolicyTreeParams) SetTimeout ¶
func (o *GetPolicyTreeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get policy tree params
func (*GetPolicyTreeParams) WithContext ¶
func (o *GetPolicyTreeParams) WithContext(ctx context.Context) *GetPolicyTreeParams
WithContext adds the context to the get policy tree params
func (*GetPolicyTreeParams) WithDefaults ¶
func (o *GetPolicyTreeParams) WithDefaults() *GetPolicyTreeParams
WithDefaults hydrates default values in the get policy tree params (not the query body).
All values with no default are reset to their zero value.
func (*GetPolicyTreeParams) WithHTTPClient ¶
func (o *GetPolicyTreeParams) WithHTTPClient(client *http.Client) *GetPolicyTreeParams
WithHTTPClient adds the HTTPClient to the get policy tree params
func (*GetPolicyTreeParams) WithTimeout ¶
func (o *GetPolicyTreeParams) WithTimeout(timeout time.Duration) *GetPolicyTreeParams
WithTimeout adds the timeout to the get policy tree params
func (*GetPolicyTreeParams) WriteToRequest ¶
func (o *GetPolicyTreeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPolicyTreeReader ¶
type GetPolicyTreeReader struct {
// contains filtered or unexported fields
}
GetPolicyTreeReader is a Reader for the GetPolicyTree structure.
func (*GetPolicyTreeReader) ReadResponse ¶
func (o *GetPolicyTreeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTemplateNotFound ¶
type GetTemplateNotFound struct {
Payload *models.PublicError
}
GetTemplateNotFound describes a response with status code 404, with default header values.
PublicError
func NewGetTemplateNotFound ¶
func NewGetTemplateNotFound() *GetTemplateNotFound
NewGetTemplateNotFound creates a GetTemplateNotFound with default headers values
func (*GetTemplateNotFound) Code ¶
func (o *GetTemplateNotFound) Code() int
Code gets the status code for the get template not found response
func (*GetTemplateNotFound) Error ¶
func (o *GetTemplateNotFound) Error() string
func (*GetTemplateNotFound) GetPayload ¶
func (o *GetTemplateNotFound) GetPayload() *models.PublicError
func (*GetTemplateNotFound) IsClientError ¶
func (o *GetTemplateNotFound) IsClientError() bool
IsClientError returns true when this get template not found response has a 4xx status code
func (*GetTemplateNotFound) IsCode ¶
func (o *GetTemplateNotFound) IsCode(code int) bool
IsCode returns true when this get template not found response a status code equal to that given
func (*GetTemplateNotFound) IsRedirect ¶
func (o *GetTemplateNotFound) IsRedirect() bool
IsRedirect returns true when this get template not found response has a 3xx status code
func (*GetTemplateNotFound) IsServerError ¶
func (o *GetTemplateNotFound) IsServerError() bool
IsServerError returns true when this get template not found response has a 5xx status code
func (*GetTemplateNotFound) IsSuccess ¶
func (o *GetTemplateNotFound) IsSuccess() bool
IsSuccess returns true when this get template not found response has a 2xx status code
func (*GetTemplateNotFound) String ¶
func (o *GetTemplateNotFound) String() string
type GetTemplateOK ¶
type GetTemplateOK struct {
Payload *models.NotificationTemplate
}
GetTemplateOK describes a response with status code 200, with default header values.
NotificationTemplate
func NewGetTemplateOK ¶
func NewGetTemplateOK() *GetTemplateOK
NewGetTemplateOK creates a GetTemplateOK with default headers values
func (*GetTemplateOK) Code ¶
func (o *GetTemplateOK) Code() int
Code gets the status code for the get template Ok response
func (*GetTemplateOK) Error ¶
func (o *GetTemplateOK) Error() string
func (*GetTemplateOK) GetPayload ¶
func (o *GetTemplateOK) GetPayload() *models.NotificationTemplate
func (*GetTemplateOK) IsClientError ¶
func (o *GetTemplateOK) IsClientError() bool
IsClientError returns true when this get template Ok response has a 4xx status code
func (*GetTemplateOK) IsCode ¶
func (o *GetTemplateOK) IsCode(code int) bool
IsCode returns true when this get template Ok response a status code equal to that given
func (*GetTemplateOK) IsRedirect ¶
func (o *GetTemplateOK) IsRedirect() bool
IsRedirect returns true when this get template Ok response has a 3xx status code
func (*GetTemplateOK) IsServerError ¶
func (o *GetTemplateOK) IsServerError() bool
IsServerError returns true when this get template Ok response has a 5xx status code
func (*GetTemplateOK) IsSuccess ¶
func (o *GetTemplateOK) IsSuccess() bool
IsSuccess returns true when this get template Ok response has a 2xx status code
func (*GetTemplateOK) String ¶
func (o *GetTemplateOK) String() string
type GetTemplateParams ¶
type GetTemplateParams struct { /* Name. Template group name */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTemplateParams contains all the parameters to send to the API endpoint
for the get template operation. Typically these are written to a http.Request.
func NewGetTemplateParams ¶
func NewGetTemplateParams() *GetTemplateParams
NewGetTemplateParams creates a new GetTemplateParams 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 NewGetTemplateParamsWithContext ¶
func NewGetTemplateParamsWithContext(ctx context.Context) *GetTemplateParams
NewGetTemplateParamsWithContext creates a new GetTemplateParams object with the ability to set a context for a request.
func NewGetTemplateParamsWithHTTPClient ¶
func NewGetTemplateParamsWithHTTPClient(client *http.Client) *GetTemplateParams
NewGetTemplateParamsWithHTTPClient creates a new GetTemplateParams object with the ability to set a custom HTTPClient for a request.
func NewGetTemplateParamsWithTimeout ¶
func NewGetTemplateParamsWithTimeout(timeout time.Duration) *GetTemplateParams
NewGetTemplateParamsWithTimeout creates a new GetTemplateParams object with the ability to set a timeout on a request.
func (*GetTemplateParams) SetContext ¶
func (o *GetTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the get template params
func (*GetTemplateParams) SetDefaults ¶
func (o *GetTemplateParams) SetDefaults()
SetDefaults hydrates default values in the get template params (not the query body).
All values with no default are reset to their zero value.
func (*GetTemplateParams) SetHTTPClient ¶
func (o *GetTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get template params
func (*GetTemplateParams) SetName ¶
func (o *GetTemplateParams) SetName(name string)
SetName adds the name to the get template params
func (*GetTemplateParams) SetTimeout ¶
func (o *GetTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get template params
func (*GetTemplateParams) WithContext ¶
func (o *GetTemplateParams) WithContext(ctx context.Context) *GetTemplateParams
WithContext adds the context to the get template params
func (*GetTemplateParams) WithDefaults ¶
func (o *GetTemplateParams) WithDefaults() *GetTemplateParams
WithDefaults hydrates default values in the get template params (not the query body).
All values with no default are reset to their zero value.
func (*GetTemplateParams) WithHTTPClient ¶
func (o *GetTemplateParams) WithHTTPClient(client *http.Client) *GetTemplateParams
WithHTTPClient adds the HTTPClient to the get template params
func (*GetTemplateParams) WithName ¶
func (o *GetTemplateParams) WithName(name string) *GetTemplateParams
WithName adds the name to the get template params
func (*GetTemplateParams) WithTimeout ¶
func (o *GetTemplateParams) WithTimeout(timeout time.Duration) *GetTemplateParams
WithTimeout adds the timeout to the get template params
func (*GetTemplateParams) WriteToRequest ¶
func (o *GetTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTemplateReader ¶
type GetTemplateReader struct {
// contains filtered or unexported fields
}
GetTemplateReader is a Reader for the GetTemplate structure.
func (*GetTemplateReader) ReadResponse ¶
func (o *GetTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTemplatesOK ¶
type GetTemplatesOK struct {
Payload models.NotificationTemplates
}
GetTemplatesOK describes a response with status code 200, with default header values.
NotificationTemplates
func NewGetTemplatesOK ¶
func NewGetTemplatesOK() *GetTemplatesOK
NewGetTemplatesOK creates a GetTemplatesOK with default headers values
func (*GetTemplatesOK) Code ¶
func (o *GetTemplatesOK) Code() int
Code gets the status code for the get templates Ok response
func (*GetTemplatesOK) Error ¶
func (o *GetTemplatesOK) Error() string
func (*GetTemplatesOK) GetPayload ¶
func (o *GetTemplatesOK) GetPayload() models.NotificationTemplates
func (*GetTemplatesOK) IsClientError ¶
func (o *GetTemplatesOK) IsClientError() bool
IsClientError returns true when this get templates Ok response has a 4xx status code
func (*GetTemplatesOK) IsCode ¶
func (o *GetTemplatesOK) IsCode(code int) bool
IsCode returns true when this get templates Ok response a status code equal to that given
func (*GetTemplatesOK) IsRedirect ¶
func (o *GetTemplatesOK) IsRedirect() bool
IsRedirect returns true when this get templates Ok response has a 3xx status code
func (*GetTemplatesOK) IsServerError ¶
func (o *GetTemplatesOK) IsServerError() bool
IsServerError returns true when this get templates Ok response has a 5xx status code
func (*GetTemplatesOK) IsSuccess ¶
func (o *GetTemplatesOK) IsSuccess() bool
IsSuccess returns true when this get templates Ok response has a 2xx status code
func (*GetTemplatesOK) String ¶
func (o *GetTemplatesOK) String() string
type GetTemplatesParams ¶
type GetTemplatesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTemplatesParams contains all the parameters to send to the API endpoint
for the get templates operation. Typically these are written to a http.Request.
func NewGetTemplatesParams ¶
func NewGetTemplatesParams() *GetTemplatesParams
NewGetTemplatesParams creates a new GetTemplatesParams 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 NewGetTemplatesParamsWithContext ¶
func NewGetTemplatesParamsWithContext(ctx context.Context) *GetTemplatesParams
NewGetTemplatesParamsWithContext creates a new GetTemplatesParams object with the ability to set a context for a request.
func NewGetTemplatesParamsWithHTTPClient ¶
func NewGetTemplatesParamsWithHTTPClient(client *http.Client) *GetTemplatesParams
NewGetTemplatesParamsWithHTTPClient creates a new GetTemplatesParams object with the ability to set a custom HTTPClient for a request.
func NewGetTemplatesParamsWithTimeout ¶
func NewGetTemplatesParamsWithTimeout(timeout time.Duration) *GetTemplatesParams
NewGetTemplatesParamsWithTimeout creates a new GetTemplatesParams object with the ability to set a timeout on a request.
func (*GetTemplatesParams) SetContext ¶
func (o *GetTemplatesParams) SetContext(ctx context.Context)
SetContext adds the context to the get templates params
func (*GetTemplatesParams) SetDefaults ¶
func (o *GetTemplatesParams) SetDefaults()
SetDefaults hydrates default values in the get templates params (not the query body).
All values with no default are reset to their zero value.
func (*GetTemplatesParams) SetHTTPClient ¶
func (o *GetTemplatesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get templates params
func (*GetTemplatesParams) SetTimeout ¶
func (o *GetTemplatesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get templates params
func (*GetTemplatesParams) WithContext ¶
func (o *GetTemplatesParams) WithContext(ctx context.Context) *GetTemplatesParams
WithContext adds the context to the get templates params
func (*GetTemplatesParams) WithDefaults ¶
func (o *GetTemplatesParams) WithDefaults() *GetTemplatesParams
WithDefaults hydrates default values in the get templates params (not the query body).
All values with no default are reset to their zero value.
func (*GetTemplatesParams) WithHTTPClient ¶
func (o *GetTemplatesParams) WithHTTPClient(client *http.Client) *GetTemplatesParams
WithHTTPClient adds the HTTPClient to the get templates params
func (*GetTemplatesParams) WithTimeout ¶
func (o *GetTemplatesParams) WithTimeout(timeout time.Duration) *GetTemplatesParams
WithTimeout adds the timeout to the get templates params
func (*GetTemplatesParams) WriteToRequest ¶
func (o *GetTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTemplatesReader ¶
type GetTemplatesReader struct {
// contains filtered or unexported fields
}
GetTemplatesReader is a Reader for the GetTemplates structure.
func (*GetTemplatesReader) ReadResponse ¶
func (o *GetTemplatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostAlertRuleBadRequest ¶
type PostAlertRuleBadRequest struct {
Payload *models.ValidationError
}
PostAlertRuleBadRequest describes a response with status code 400, with default header values.
ValidationError
func NewPostAlertRuleBadRequest ¶
func NewPostAlertRuleBadRequest() *PostAlertRuleBadRequest
NewPostAlertRuleBadRequest creates a PostAlertRuleBadRequest with default headers values
func (*PostAlertRuleBadRequest) Code ¶
func (o *PostAlertRuleBadRequest) Code() int
Code gets the status code for the post alert rule bad request response
func (*PostAlertRuleBadRequest) Error ¶
func (o *PostAlertRuleBadRequest) Error() string
func (*PostAlertRuleBadRequest) GetPayload ¶
func (o *PostAlertRuleBadRequest) GetPayload() *models.ValidationError
func (*PostAlertRuleBadRequest) IsClientError ¶
func (o *PostAlertRuleBadRequest) IsClientError() bool
IsClientError returns true when this post alert rule bad request response has a 4xx status code
func (*PostAlertRuleBadRequest) IsCode ¶
func (o *PostAlertRuleBadRequest) IsCode(code int) bool
IsCode returns true when this post alert rule bad request response a status code equal to that given
func (*PostAlertRuleBadRequest) IsRedirect ¶
func (o *PostAlertRuleBadRequest) IsRedirect() bool
IsRedirect returns true when this post alert rule bad request response has a 3xx status code
func (*PostAlertRuleBadRequest) IsServerError ¶
func (o *PostAlertRuleBadRequest) IsServerError() bool
IsServerError returns true when this post alert rule bad request response has a 5xx status code
func (*PostAlertRuleBadRequest) IsSuccess ¶
func (o *PostAlertRuleBadRequest) IsSuccess() bool
IsSuccess returns true when this post alert rule bad request response has a 2xx status code
func (*PostAlertRuleBadRequest) String ¶
func (o *PostAlertRuleBadRequest) String() string
type PostAlertRuleCreated ¶
type PostAlertRuleCreated struct {
Payload *models.ProvisionedAlertRule
}
PostAlertRuleCreated describes a response with status code 201, with default header values.
ProvisionedAlertRule
func NewPostAlertRuleCreated ¶
func NewPostAlertRuleCreated() *PostAlertRuleCreated
NewPostAlertRuleCreated creates a PostAlertRuleCreated with default headers values
func (*PostAlertRuleCreated) Code ¶
func (o *PostAlertRuleCreated) Code() int
Code gets the status code for the post alert rule created response
func (*PostAlertRuleCreated) Error ¶
func (o *PostAlertRuleCreated) Error() string
func (*PostAlertRuleCreated) GetPayload ¶
func (o *PostAlertRuleCreated) GetPayload() *models.ProvisionedAlertRule
func (*PostAlertRuleCreated) IsClientError ¶
func (o *PostAlertRuleCreated) IsClientError() bool
IsClientError returns true when this post alert rule created response has a 4xx status code
func (*PostAlertRuleCreated) IsCode ¶
func (o *PostAlertRuleCreated) IsCode(code int) bool
IsCode returns true when this post alert rule created response a status code equal to that given
func (*PostAlertRuleCreated) IsRedirect ¶
func (o *PostAlertRuleCreated) IsRedirect() bool
IsRedirect returns true when this post alert rule created response has a 3xx status code
func (*PostAlertRuleCreated) IsServerError ¶
func (o *PostAlertRuleCreated) IsServerError() bool
IsServerError returns true when this post alert rule created response has a 5xx status code
func (*PostAlertRuleCreated) IsSuccess ¶
func (o *PostAlertRuleCreated) IsSuccess() bool
IsSuccess returns true when this post alert rule created response has a 2xx status code
func (*PostAlertRuleCreated) String ¶
func (o *PostAlertRuleCreated) String() string
type PostAlertRuleParams ¶
type PostAlertRuleParams struct { // Body. Body *models.ProvisionedAlertRule // XDisableProvenance. XDisableProvenance *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostAlertRuleParams contains all the parameters to send to the API endpoint
for the post alert rule operation. Typically these are written to a http.Request.
func NewPostAlertRuleParams ¶
func NewPostAlertRuleParams() *PostAlertRuleParams
NewPostAlertRuleParams creates a new PostAlertRuleParams 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 NewPostAlertRuleParamsWithContext ¶
func NewPostAlertRuleParamsWithContext(ctx context.Context) *PostAlertRuleParams
NewPostAlertRuleParamsWithContext creates a new PostAlertRuleParams object with the ability to set a context for a request.
func NewPostAlertRuleParamsWithHTTPClient ¶
func NewPostAlertRuleParamsWithHTTPClient(client *http.Client) *PostAlertRuleParams
NewPostAlertRuleParamsWithHTTPClient creates a new PostAlertRuleParams object with the ability to set a custom HTTPClient for a request.
func NewPostAlertRuleParamsWithTimeout ¶
func NewPostAlertRuleParamsWithTimeout(timeout time.Duration) *PostAlertRuleParams
NewPostAlertRuleParamsWithTimeout creates a new PostAlertRuleParams object with the ability to set a timeout on a request.
func (*PostAlertRuleParams) SetBody ¶
func (o *PostAlertRuleParams) SetBody(body *models.ProvisionedAlertRule)
SetBody adds the body to the post alert rule params
func (*PostAlertRuleParams) SetContext ¶
func (o *PostAlertRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the post alert rule params
func (*PostAlertRuleParams) SetDefaults ¶
func (o *PostAlertRuleParams) SetDefaults()
SetDefaults hydrates default values in the post alert rule params (not the query body).
All values with no default are reset to their zero value.
func (*PostAlertRuleParams) SetHTTPClient ¶
func (o *PostAlertRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post alert rule params
func (*PostAlertRuleParams) SetTimeout ¶
func (o *PostAlertRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post alert rule params
func (*PostAlertRuleParams) SetXDisableProvenance ¶
func (o *PostAlertRuleParams) SetXDisableProvenance(xDisableProvenance *string)
SetXDisableProvenance adds the xDisableProvenance to the post alert rule params
func (*PostAlertRuleParams) WithBody ¶
func (o *PostAlertRuleParams) WithBody(body *models.ProvisionedAlertRule) *PostAlertRuleParams
WithBody adds the body to the post alert rule params
func (*PostAlertRuleParams) WithContext ¶
func (o *PostAlertRuleParams) WithContext(ctx context.Context) *PostAlertRuleParams
WithContext adds the context to the post alert rule params
func (*PostAlertRuleParams) WithDefaults ¶
func (o *PostAlertRuleParams) WithDefaults() *PostAlertRuleParams
WithDefaults hydrates default values in the post alert rule params (not the query body).
All values with no default are reset to their zero value.
func (*PostAlertRuleParams) WithHTTPClient ¶
func (o *PostAlertRuleParams) WithHTTPClient(client *http.Client) *PostAlertRuleParams
WithHTTPClient adds the HTTPClient to the post alert rule params
func (*PostAlertRuleParams) WithTimeout ¶
func (o *PostAlertRuleParams) WithTimeout(timeout time.Duration) *PostAlertRuleParams
WithTimeout adds the timeout to the post alert rule params
func (*PostAlertRuleParams) WithXDisableProvenance ¶
func (o *PostAlertRuleParams) WithXDisableProvenance(xDisableProvenance *string) *PostAlertRuleParams
WithXDisableProvenance adds the xDisableProvenance to the post alert rule params
func (*PostAlertRuleParams) WriteToRequest ¶
func (o *PostAlertRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAlertRuleReader ¶
type PostAlertRuleReader struct {
// contains filtered or unexported fields
}
PostAlertRuleReader is a Reader for the PostAlertRule structure.
func (*PostAlertRuleReader) ReadResponse ¶
func (o *PostAlertRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostContactpointsAccepted ¶
type PostContactpointsAccepted struct {
Payload *models.EmbeddedContactPoint
}
PostContactpointsAccepted describes a response with status code 202, with default header values.
EmbeddedContactPoint
func NewPostContactpointsAccepted ¶
func NewPostContactpointsAccepted() *PostContactpointsAccepted
NewPostContactpointsAccepted creates a PostContactpointsAccepted with default headers values
func (*PostContactpointsAccepted) Code ¶
func (o *PostContactpointsAccepted) Code() int
Code gets the status code for the post contactpoints accepted response
func (*PostContactpointsAccepted) Error ¶
func (o *PostContactpointsAccepted) Error() string
func (*PostContactpointsAccepted) GetPayload ¶
func (o *PostContactpointsAccepted) GetPayload() *models.EmbeddedContactPoint
func (*PostContactpointsAccepted) IsClientError ¶
func (o *PostContactpointsAccepted) IsClientError() bool
IsClientError returns true when this post contactpoints accepted response has a 4xx status code
func (*PostContactpointsAccepted) IsCode ¶
func (o *PostContactpointsAccepted) IsCode(code int) bool
IsCode returns true when this post contactpoints accepted response a status code equal to that given
func (*PostContactpointsAccepted) IsRedirect ¶
func (o *PostContactpointsAccepted) IsRedirect() bool
IsRedirect returns true when this post contactpoints accepted response has a 3xx status code
func (*PostContactpointsAccepted) IsServerError ¶
func (o *PostContactpointsAccepted) IsServerError() bool
IsServerError returns true when this post contactpoints accepted response has a 5xx status code
func (*PostContactpointsAccepted) IsSuccess ¶
func (o *PostContactpointsAccepted) IsSuccess() bool
IsSuccess returns true when this post contactpoints accepted response has a 2xx status code
func (*PostContactpointsAccepted) String ¶
func (o *PostContactpointsAccepted) String() string
type PostContactpointsBadRequest ¶
type PostContactpointsBadRequest struct {
Payload *models.ValidationError
}
PostContactpointsBadRequest describes a response with status code 400, with default header values.
ValidationError
func NewPostContactpointsBadRequest ¶
func NewPostContactpointsBadRequest() *PostContactpointsBadRequest
NewPostContactpointsBadRequest creates a PostContactpointsBadRequest with default headers values
func (*PostContactpointsBadRequest) Code ¶
func (o *PostContactpointsBadRequest) Code() int
Code gets the status code for the post contactpoints bad request response
func (*PostContactpointsBadRequest) Error ¶
func (o *PostContactpointsBadRequest) Error() string
func (*PostContactpointsBadRequest) GetPayload ¶
func (o *PostContactpointsBadRequest) GetPayload() *models.ValidationError
func (*PostContactpointsBadRequest) IsClientError ¶
func (o *PostContactpointsBadRequest) IsClientError() bool
IsClientError returns true when this post contactpoints bad request response has a 4xx status code
func (*PostContactpointsBadRequest) IsCode ¶
func (o *PostContactpointsBadRequest) IsCode(code int) bool
IsCode returns true when this post contactpoints bad request response a status code equal to that given
func (*PostContactpointsBadRequest) IsRedirect ¶
func (o *PostContactpointsBadRequest) IsRedirect() bool
IsRedirect returns true when this post contactpoints bad request response has a 3xx status code
func (*PostContactpointsBadRequest) IsServerError ¶
func (o *PostContactpointsBadRequest) IsServerError() bool
IsServerError returns true when this post contactpoints bad request response has a 5xx status code
func (*PostContactpointsBadRequest) IsSuccess ¶
func (o *PostContactpointsBadRequest) IsSuccess() bool
IsSuccess returns true when this post contactpoints bad request response has a 2xx status code
func (*PostContactpointsBadRequest) String ¶
func (o *PostContactpointsBadRequest) String() string
type PostContactpointsParams ¶
type PostContactpointsParams struct { // Body. Body *models.EmbeddedContactPoint // XDisableProvenance. XDisableProvenance *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostContactpointsParams contains all the parameters to send to the API endpoint
for the post contactpoints operation. Typically these are written to a http.Request.
func NewPostContactpointsParams ¶
func NewPostContactpointsParams() *PostContactpointsParams
NewPostContactpointsParams creates a new PostContactpointsParams 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 NewPostContactpointsParamsWithContext ¶
func NewPostContactpointsParamsWithContext(ctx context.Context) *PostContactpointsParams
NewPostContactpointsParamsWithContext creates a new PostContactpointsParams object with the ability to set a context for a request.
func NewPostContactpointsParamsWithHTTPClient ¶
func NewPostContactpointsParamsWithHTTPClient(client *http.Client) *PostContactpointsParams
NewPostContactpointsParamsWithHTTPClient creates a new PostContactpointsParams object with the ability to set a custom HTTPClient for a request.
func NewPostContactpointsParamsWithTimeout ¶
func NewPostContactpointsParamsWithTimeout(timeout time.Duration) *PostContactpointsParams
NewPostContactpointsParamsWithTimeout creates a new PostContactpointsParams object with the ability to set a timeout on a request.
func (*PostContactpointsParams) SetBody ¶
func (o *PostContactpointsParams) SetBody(body *models.EmbeddedContactPoint)
SetBody adds the body to the post contactpoints params
func (*PostContactpointsParams) SetContext ¶
func (o *PostContactpointsParams) SetContext(ctx context.Context)
SetContext adds the context to the post contactpoints params
func (*PostContactpointsParams) SetDefaults ¶
func (o *PostContactpointsParams) SetDefaults()
SetDefaults hydrates default values in the post contactpoints params (not the query body).
All values with no default are reset to their zero value.
func (*PostContactpointsParams) SetHTTPClient ¶
func (o *PostContactpointsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post contactpoints params
func (*PostContactpointsParams) SetTimeout ¶
func (o *PostContactpointsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post contactpoints params
func (*PostContactpointsParams) SetXDisableProvenance ¶
func (o *PostContactpointsParams) SetXDisableProvenance(xDisableProvenance *string)
SetXDisableProvenance adds the xDisableProvenance to the post contactpoints params
func (*PostContactpointsParams) WithBody ¶
func (o *PostContactpointsParams) WithBody(body *models.EmbeddedContactPoint) *PostContactpointsParams
WithBody adds the body to the post contactpoints params
func (*PostContactpointsParams) WithContext ¶
func (o *PostContactpointsParams) WithContext(ctx context.Context) *PostContactpointsParams
WithContext adds the context to the post contactpoints params
func (*PostContactpointsParams) WithDefaults ¶
func (o *PostContactpointsParams) WithDefaults() *PostContactpointsParams
WithDefaults hydrates default values in the post contactpoints params (not the query body).
All values with no default are reset to their zero value.
func (*PostContactpointsParams) WithHTTPClient ¶
func (o *PostContactpointsParams) WithHTTPClient(client *http.Client) *PostContactpointsParams
WithHTTPClient adds the HTTPClient to the post contactpoints params
func (*PostContactpointsParams) WithTimeout ¶
func (o *PostContactpointsParams) WithTimeout(timeout time.Duration) *PostContactpointsParams
WithTimeout adds the timeout to the post contactpoints params
func (*PostContactpointsParams) WithXDisableProvenance ¶
func (o *PostContactpointsParams) WithXDisableProvenance(xDisableProvenance *string) *PostContactpointsParams
WithXDisableProvenance adds the xDisableProvenance to the post contactpoints params
func (*PostContactpointsParams) WriteToRequest ¶
func (o *PostContactpointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostContactpointsReader ¶
type PostContactpointsReader struct {
// contains filtered or unexported fields
}
PostContactpointsReader is a Reader for the PostContactpoints structure.
func (*PostContactpointsReader) ReadResponse ¶
func (o *PostContactpointsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostMuteTimingBadRequest ¶
type PostMuteTimingBadRequest struct {
Payload *models.ValidationError
}
PostMuteTimingBadRequest describes a response with status code 400, with default header values.
ValidationError
func NewPostMuteTimingBadRequest ¶
func NewPostMuteTimingBadRequest() *PostMuteTimingBadRequest
NewPostMuteTimingBadRequest creates a PostMuteTimingBadRequest with default headers values
func (*PostMuteTimingBadRequest) Code ¶
func (o *PostMuteTimingBadRequest) Code() int
Code gets the status code for the post mute timing bad request response
func (*PostMuteTimingBadRequest) Error ¶
func (o *PostMuteTimingBadRequest) Error() string
func (*PostMuteTimingBadRequest) GetPayload ¶
func (o *PostMuteTimingBadRequest) GetPayload() *models.ValidationError
func (*PostMuteTimingBadRequest) IsClientError ¶
func (o *PostMuteTimingBadRequest) IsClientError() bool
IsClientError returns true when this post mute timing bad request response has a 4xx status code
func (*PostMuteTimingBadRequest) IsCode ¶
func (o *PostMuteTimingBadRequest) IsCode(code int) bool
IsCode returns true when this post mute timing bad request response a status code equal to that given
func (*PostMuteTimingBadRequest) IsRedirect ¶
func (o *PostMuteTimingBadRequest) IsRedirect() bool
IsRedirect returns true when this post mute timing bad request response has a 3xx status code
func (*PostMuteTimingBadRequest) IsServerError ¶
func (o *PostMuteTimingBadRequest) IsServerError() bool
IsServerError returns true when this post mute timing bad request response has a 5xx status code
func (*PostMuteTimingBadRequest) IsSuccess ¶
func (o *PostMuteTimingBadRequest) IsSuccess() bool
IsSuccess returns true when this post mute timing bad request response has a 2xx status code
func (*PostMuteTimingBadRequest) String ¶
func (o *PostMuteTimingBadRequest) String() string
type PostMuteTimingCreated ¶
type PostMuteTimingCreated struct {
Payload *models.MuteTimeInterval
}
PostMuteTimingCreated describes a response with status code 201, with default header values.
MuteTimeInterval
func NewPostMuteTimingCreated ¶
func NewPostMuteTimingCreated() *PostMuteTimingCreated
NewPostMuteTimingCreated creates a PostMuteTimingCreated with default headers values
func (*PostMuteTimingCreated) Code ¶
func (o *PostMuteTimingCreated) Code() int
Code gets the status code for the post mute timing created response
func (*PostMuteTimingCreated) Error ¶
func (o *PostMuteTimingCreated) Error() string
func (*PostMuteTimingCreated) GetPayload ¶
func (o *PostMuteTimingCreated) GetPayload() *models.MuteTimeInterval
func (*PostMuteTimingCreated) IsClientError ¶
func (o *PostMuteTimingCreated) IsClientError() bool
IsClientError returns true when this post mute timing created response has a 4xx status code
func (*PostMuteTimingCreated) IsCode ¶
func (o *PostMuteTimingCreated) IsCode(code int) bool
IsCode returns true when this post mute timing created response a status code equal to that given
func (*PostMuteTimingCreated) IsRedirect ¶
func (o *PostMuteTimingCreated) IsRedirect() bool
IsRedirect returns true when this post mute timing created response has a 3xx status code
func (*PostMuteTimingCreated) IsServerError ¶
func (o *PostMuteTimingCreated) IsServerError() bool
IsServerError returns true when this post mute timing created response has a 5xx status code
func (*PostMuteTimingCreated) IsSuccess ¶
func (o *PostMuteTimingCreated) IsSuccess() bool
IsSuccess returns true when this post mute timing created response has a 2xx status code
func (*PostMuteTimingCreated) String ¶
func (o *PostMuteTimingCreated) String() string
type PostMuteTimingParams ¶
type PostMuteTimingParams struct { // Body. Body *models.MuteTimeInterval // XDisableProvenance. XDisableProvenance *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostMuteTimingParams contains all the parameters to send to the API endpoint
for the post mute timing operation. Typically these are written to a http.Request.
func NewPostMuteTimingParams ¶
func NewPostMuteTimingParams() *PostMuteTimingParams
NewPostMuteTimingParams creates a new PostMuteTimingParams 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 NewPostMuteTimingParamsWithContext ¶
func NewPostMuteTimingParamsWithContext(ctx context.Context) *PostMuteTimingParams
NewPostMuteTimingParamsWithContext creates a new PostMuteTimingParams object with the ability to set a context for a request.
func NewPostMuteTimingParamsWithHTTPClient ¶
func NewPostMuteTimingParamsWithHTTPClient(client *http.Client) *PostMuteTimingParams
NewPostMuteTimingParamsWithHTTPClient creates a new PostMuteTimingParams object with the ability to set a custom HTTPClient for a request.
func NewPostMuteTimingParamsWithTimeout ¶
func NewPostMuteTimingParamsWithTimeout(timeout time.Duration) *PostMuteTimingParams
NewPostMuteTimingParamsWithTimeout creates a new PostMuteTimingParams object with the ability to set a timeout on a request.
func (*PostMuteTimingParams) SetBody ¶
func (o *PostMuteTimingParams) SetBody(body *models.MuteTimeInterval)
SetBody adds the body to the post mute timing params
func (*PostMuteTimingParams) SetContext ¶
func (o *PostMuteTimingParams) SetContext(ctx context.Context)
SetContext adds the context to the post mute timing params
func (*PostMuteTimingParams) SetDefaults ¶
func (o *PostMuteTimingParams) SetDefaults()
SetDefaults hydrates default values in the post mute timing params (not the query body).
All values with no default are reset to their zero value.
func (*PostMuteTimingParams) SetHTTPClient ¶
func (o *PostMuteTimingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post mute timing params
func (*PostMuteTimingParams) SetTimeout ¶
func (o *PostMuteTimingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post mute timing params
func (*PostMuteTimingParams) SetXDisableProvenance ¶
func (o *PostMuteTimingParams) SetXDisableProvenance(xDisableProvenance *string)
SetXDisableProvenance adds the xDisableProvenance to the post mute timing params
func (*PostMuteTimingParams) WithBody ¶
func (o *PostMuteTimingParams) WithBody(body *models.MuteTimeInterval) *PostMuteTimingParams
WithBody adds the body to the post mute timing params
func (*PostMuteTimingParams) WithContext ¶
func (o *PostMuteTimingParams) WithContext(ctx context.Context) *PostMuteTimingParams
WithContext adds the context to the post mute timing params
func (*PostMuteTimingParams) WithDefaults ¶
func (o *PostMuteTimingParams) WithDefaults() *PostMuteTimingParams
WithDefaults hydrates default values in the post mute timing params (not the query body).
All values with no default are reset to their zero value.
func (*PostMuteTimingParams) WithHTTPClient ¶
func (o *PostMuteTimingParams) WithHTTPClient(client *http.Client) *PostMuteTimingParams
WithHTTPClient adds the HTTPClient to the post mute timing params
func (*PostMuteTimingParams) WithTimeout ¶
func (o *PostMuteTimingParams) WithTimeout(timeout time.Duration) *PostMuteTimingParams
WithTimeout adds the timeout to the post mute timing params
func (*PostMuteTimingParams) WithXDisableProvenance ¶
func (o *PostMuteTimingParams) WithXDisableProvenance(xDisableProvenance *string) *PostMuteTimingParams
WithXDisableProvenance adds the xDisableProvenance to the post mute timing params
func (*PostMuteTimingParams) WriteToRequest ¶
func (o *PostMuteTimingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostMuteTimingReader ¶
type PostMuteTimingReader struct {
// contains filtered or unexported fields
}
PostMuteTimingReader is a Reader for the PostMuteTiming structure.
func (*PostMuteTimingReader) ReadResponse ¶
func (o *PostMuteTimingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutAlertRuleBadRequest ¶
type PutAlertRuleBadRequest struct {
Payload *models.ValidationError
}
PutAlertRuleBadRequest describes a response with status code 400, with default header values.
ValidationError
func NewPutAlertRuleBadRequest ¶
func NewPutAlertRuleBadRequest() *PutAlertRuleBadRequest
NewPutAlertRuleBadRequest creates a PutAlertRuleBadRequest with default headers values
func (*PutAlertRuleBadRequest) Code ¶
func (o *PutAlertRuleBadRequest) Code() int
Code gets the status code for the put alert rule bad request response
func (*PutAlertRuleBadRequest) Error ¶
func (o *PutAlertRuleBadRequest) Error() string
func (*PutAlertRuleBadRequest) GetPayload ¶
func (o *PutAlertRuleBadRequest) GetPayload() *models.ValidationError
func (*PutAlertRuleBadRequest) IsClientError ¶
func (o *PutAlertRuleBadRequest) IsClientError() bool
IsClientError returns true when this put alert rule bad request response has a 4xx status code
func (*PutAlertRuleBadRequest) IsCode ¶
func (o *PutAlertRuleBadRequest) IsCode(code int) bool
IsCode returns true when this put alert rule bad request response a status code equal to that given
func (*PutAlertRuleBadRequest) IsRedirect ¶
func (o *PutAlertRuleBadRequest) IsRedirect() bool
IsRedirect returns true when this put alert rule bad request response has a 3xx status code
func (*PutAlertRuleBadRequest) IsServerError ¶
func (o *PutAlertRuleBadRequest) IsServerError() bool
IsServerError returns true when this put alert rule bad request response has a 5xx status code
func (*PutAlertRuleBadRequest) IsSuccess ¶
func (o *PutAlertRuleBadRequest) IsSuccess() bool
IsSuccess returns true when this put alert rule bad request response has a 2xx status code
func (*PutAlertRuleBadRequest) String ¶
func (o *PutAlertRuleBadRequest) String() string
type PutAlertRuleGroupBadRequest ¶
type PutAlertRuleGroupBadRequest struct {
Payload *models.ValidationError
}
PutAlertRuleGroupBadRequest describes a response with status code 400, with default header values.
ValidationError
func NewPutAlertRuleGroupBadRequest ¶
func NewPutAlertRuleGroupBadRequest() *PutAlertRuleGroupBadRequest
NewPutAlertRuleGroupBadRequest creates a PutAlertRuleGroupBadRequest with default headers values
func (*PutAlertRuleGroupBadRequest) Code ¶
func (o *PutAlertRuleGroupBadRequest) Code() int
Code gets the status code for the put alert rule group bad request response
func (*PutAlertRuleGroupBadRequest) Error ¶
func (o *PutAlertRuleGroupBadRequest) Error() string
func (*PutAlertRuleGroupBadRequest) GetPayload ¶
func (o *PutAlertRuleGroupBadRequest) GetPayload() *models.ValidationError
func (*PutAlertRuleGroupBadRequest) IsClientError ¶
func (o *PutAlertRuleGroupBadRequest) IsClientError() bool
IsClientError returns true when this put alert rule group bad request response has a 4xx status code
func (*PutAlertRuleGroupBadRequest) IsCode ¶
func (o *PutAlertRuleGroupBadRequest) IsCode(code int) bool
IsCode returns true when this put alert rule group bad request response a status code equal to that given
func (*PutAlertRuleGroupBadRequest) IsRedirect ¶
func (o *PutAlertRuleGroupBadRequest) IsRedirect() bool
IsRedirect returns true when this put alert rule group bad request response has a 3xx status code
func (*PutAlertRuleGroupBadRequest) IsServerError ¶
func (o *PutAlertRuleGroupBadRequest) IsServerError() bool
IsServerError returns true when this put alert rule group bad request response has a 5xx status code
func (*PutAlertRuleGroupBadRequest) IsSuccess ¶
func (o *PutAlertRuleGroupBadRequest) IsSuccess() bool
IsSuccess returns true when this put alert rule group bad request response has a 2xx status code
func (*PutAlertRuleGroupBadRequest) String ¶
func (o *PutAlertRuleGroupBadRequest) String() string
type PutAlertRuleGroupOK ¶
type PutAlertRuleGroupOK struct {
Payload *models.AlertRuleGroup
}
PutAlertRuleGroupOK describes a response with status code 200, with default header values.
AlertRuleGroup
func NewPutAlertRuleGroupOK ¶
func NewPutAlertRuleGroupOK() *PutAlertRuleGroupOK
NewPutAlertRuleGroupOK creates a PutAlertRuleGroupOK with default headers values
func (*PutAlertRuleGroupOK) Code ¶
func (o *PutAlertRuleGroupOK) Code() int
Code gets the status code for the put alert rule group Ok response
func (*PutAlertRuleGroupOK) Error ¶
func (o *PutAlertRuleGroupOK) Error() string
func (*PutAlertRuleGroupOK) GetPayload ¶
func (o *PutAlertRuleGroupOK) GetPayload() *models.AlertRuleGroup
func (*PutAlertRuleGroupOK) IsClientError ¶
func (o *PutAlertRuleGroupOK) IsClientError() bool
IsClientError returns true when this put alert rule group Ok response has a 4xx status code
func (*PutAlertRuleGroupOK) IsCode ¶
func (o *PutAlertRuleGroupOK) IsCode(code int) bool
IsCode returns true when this put alert rule group Ok response a status code equal to that given
func (*PutAlertRuleGroupOK) IsRedirect ¶
func (o *PutAlertRuleGroupOK) IsRedirect() bool
IsRedirect returns true when this put alert rule group Ok response has a 3xx status code
func (*PutAlertRuleGroupOK) IsServerError ¶
func (o *PutAlertRuleGroupOK) IsServerError() bool
IsServerError returns true when this put alert rule group Ok response has a 5xx status code
func (*PutAlertRuleGroupOK) IsSuccess ¶
func (o *PutAlertRuleGroupOK) IsSuccess() bool
IsSuccess returns true when this put alert rule group Ok response has a 2xx status code
func (*PutAlertRuleGroupOK) String ¶
func (o *PutAlertRuleGroupOK) String() string
type PutAlertRuleGroupParams ¶
type PutAlertRuleGroupParams struct { // Body. Body *models.AlertRuleGroup // FolderUID. FolderUID string // Group. Group string // XDisableProvenance. XDisableProvenance *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutAlertRuleGroupParams contains all the parameters to send to the API endpoint
for the put alert rule group operation. Typically these are written to a http.Request.
func NewPutAlertRuleGroupParams ¶
func NewPutAlertRuleGroupParams() *PutAlertRuleGroupParams
NewPutAlertRuleGroupParams creates a new PutAlertRuleGroupParams 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 NewPutAlertRuleGroupParamsWithContext ¶
func NewPutAlertRuleGroupParamsWithContext(ctx context.Context) *PutAlertRuleGroupParams
NewPutAlertRuleGroupParamsWithContext creates a new PutAlertRuleGroupParams object with the ability to set a context for a request.
func NewPutAlertRuleGroupParamsWithHTTPClient ¶
func NewPutAlertRuleGroupParamsWithHTTPClient(client *http.Client) *PutAlertRuleGroupParams
NewPutAlertRuleGroupParamsWithHTTPClient creates a new PutAlertRuleGroupParams object with the ability to set a custom HTTPClient for a request.
func NewPutAlertRuleGroupParamsWithTimeout ¶
func NewPutAlertRuleGroupParamsWithTimeout(timeout time.Duration) *PutAlertRuleGroupParams
NewPutAlertRuleGroupParamsWithTimeout creates a new PutAlertRuleGroupParams object with the ability to set a timeout on a request.
func (*PutAlertRuleGroupParams) SetBody ¶
func (o *PutAlertRuleGroupParams) SetBody(body *models.AlertRuleGroup)
SetBody adds the body to the put alert rule group params
func (*PutAlertRuleGroupParams) SetContext ¶
func (o *PutAlertRuleGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the put alert rule group params
func (*PutAlertRuleGroupParams) SetDefaults ¶
func (o *PutAlertRuleGroupParams) SetDefaults()
SetDefaults hydrates default values in the put alert rule group params (not the query body).
All values with no default are reset to their zero value.
func (*PutAlertRuleGroupParams) SetFolderUID ¶
func (o *PutAlertRuleGroupParams) SetFolderUID(folderUID string)
SetFolderUID adds the folderUid to the put alert rule group params
func (*PutAlertRuleGroupParams) SetGroup ¶
func (o *PutAlertRuleGroupParams) SetGroup(group string)
SetGroup adds the group to the put alert rule group params
func (*PutAlertRuleGroupParams) SetHTTPClient ¶
func (o *PutAlertRuleGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put alert rule group params
func (*PutAlertRuleGroupParams) SetTimeout ¶
func (o *PutAlertRuleGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put alert rule group params
func (*PutAlertRuleGroupParams) SetXDisableProvenance ¶
func (o *PutAlertRuleGroupParams) SetXDisableProvenance(xDisableProvenance *string)
SetXDisableProvenance adds the xDisableProvenance to the put alert rule group params
func (*PutAlertRuleGroupParams) WithBody ¶
func (o *PutAlertRuleGroupParams) WithBody(body *models.AlertRuleGroup) *PutAlertRuleGroupParams
WithBody adds the body to the put alert rule group params
func (*PutAlertRuleGroupParams) WithContext ¶
func (o *PutAlertRuleGroupParams) WithContext(ctx context.Context) *PutAlertRuleGroupParams
WithContext adds the context to the put alert rule group params
func (*PutAlertRuleGroupParams) WithDefaults ¶
func (o *PutAlertRuleGroupParams) WithDefaults() *PutAlertRuleGroupParams
WithDefaults hydrates default values in the put alert rule group params (not the query body).
All values with no default are reset to their zero value.
func (*PutAlertRuleGroupParams) WithFolderUID ¶
func (o *PutAlertRuleGroupParams) WithFolderUID(folderUID string) *PutAlertRuleGroupParams
WithFolderUID adds the folderUID to the put alert rule group params
func (*PutAlertRuleGroupParams) WithGroup ¶
func (o *PutAlertRuleGroupParams) WithGroup(group string) *PutAlertRuleGroupParams
WithGroup adds the group to the put alert rule group params
func (*PutAlertRuleGroupParams) WithHTTPClient ¶
func (o *PutAlertRuleGroupParams) WithHTTPClient(client *http.Client) *PutAlertRuleGroupParams
WithHTTPClient adds the HTTPClient to the put alert rule group params
func (*PutAlertRuleGroupParams) WithTimeout ¶
func (o *PutAlertRuleGroupParams) WithTimeout(timeout time.Duration) *PutAlertRuleGroupParams
WithTimeout adds the timeout to the put alert rule group params
func (*PutAlertRuleGroupParams) WithXDisableProvenance ¶
func (o *PutAlertRuleGroupParams) WithXDisableProvenance(xDisableProvenance *string) *PutAlertRuleGroupParams
WithXDisableProvenance adds the xDisableProvenance to the put alert rule group params
func (*PutAlertRuleGroupParams) WriteToRequest ¶
func (o *PutAlertRuleGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutAlertRuleGroupReader ¶
type PutAlertRuleGroupReader struct {
// contains filtered or unexported fields
}
PutAlertRuleGroupReader is a Reader for the PutAlertRuleGroup structure.
func (*PutAlertRuleGroupReader) ReadResponse ¶
func (o *PutAlertRuleGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutAlertRuleOK ¶
type PutAlertRuleOK struct {
Payload *models.ProvisionedAlertRule
}
PutAlertRuleOK describes a response with status code 200, with default header values.
ProvisionedAlertRule
func NewPutAlertRuleOK ¶
func NewPutAlertRuleOK() *PutAlertRuleOK
NewPutAlertRuleOK creates a PutAlertRuleOK with default headers values
func (*PutAlertRuleOK) Code ¶
func (o *PutAlertRuleOK) Code() int
Code gets the status code for the put alert rule Ok response
func (*PutAlertRuleOK) Error ¶
func (o *PutAlertRuleOK) Error() string
func (*PutAlertRuleOK) GetPayload ¶
func (o *PutAlertRuleOK) GetPayload() *models.ProvisionedAlertRule
func (*PutAlertRuleOK) IsClientError ¶
func (o *PutAlertRuleOK) IsClientError() bool
IsClientError returns true when this put alert rule Ok response has a 4xx status code
func (*PutAlertRuleOK) IsCode ¶
func (o *PutAlertRuleOK) IsCode(code int) bool
IsCode returns true when this put alert rule Ok response a status code equal to that given
func (*PutAlertRuleOK) IsRedirect ¶
func (o *PutAlertRuleOK) IsRedirect() bool
IsRedirect returns true when this put alert rule Ok response has a 3xx status code
func (*PutAlertRuleOK) IsServerError ¶
func (o *PutAlertRuleOK) IsServerError() bool
IsServerError returns true when this put alert rule Ok response has a 5xx status code
func (*PutAlertRuleOK) IsSuccess ¶
func (o *PutAlertRuleOK) IsSuccess() bool
IsSuccess returns true when this put alert rule Ok response has a 2xx status code
func (*PutAlertRuleOK) String ¶
func (o *PutAlertRuleOK) String() string
type PutAlertRuleParams ¶
type PutAlertRuleParams struct { // Body. Body *models.ProvisionedAlertRule /* UID. Alert rule UID */ UID string // XDisableProvenance. XDisableProvenance *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutAlertRuleParams contains all the parameters to send to the API endpoint
for the put alert rule operation. Typically these are written to a http.Request.
func NewPutAlertRuleParams ¶
func NewPutAlertRuleParams() *PutAlertRuleParams
NewPutAlertRuleParams creates a new PutAlertRuleParams 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 NewPutAlertRuleParamsWithContext ¶
func NewPutAlertRuleParamsWithContext(ctx context.Context) *PutAlertRuleParams
NewPutAlertRuleParamsWithContext creates a new PutAlertRuleParams object with the ability to set a context for a request.
func NewPutAlertRuleParamsWithHTTPClient ¶
func NewPutAlertRuleParamsWithHTTPClient(client *http.Client) *PutAlertRuleParams
NewPutAlertRuleParamsWithHTTPClient creates a new PutAlertRuleParams object with the ability to set a custom HTTPClient for a request.
func NewPutAlertRuleParamsWithTimeout ¶
func NewPutAlertRuleParamsWithTimeout(timeout time.Duration) *PutAlertRuleParams
NewPutAlertRuleParamsWithTimeout creates a new PutAlertRuleParams object with the ability to set a timeout on a request.
func (*PutAlertRuleParams) SetBody ¶
func (o *PutAlertRuleParams) SetBody(body *models.ProvisionedAlertRule)
SetBody adds the body to the put alert rule params
func (*PutAlertRuleParams) SetContext ¶
func (o *PutAlertRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the put alert rule params
func (*PutAlertRuleParams) SetDefaults ¶
func (o *PutAlertRuleParams) SetDefaults()
SetDefaults hydrates default values in the put alert rule params (not the query body).
All values with no default are reset to their zero value.
func (*PutAlertRuleParams) SetHTTPClient ¶
func (o *PutAlertRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put alert rule params
func (*PutAlertRuleParams) SetTimeout ¶
func (o *PutAlertRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put alert rule params
func (*PutAlertRuleParams) SetUID ¶
func (o *PutAlertRuleParams) SetUID(uid string)
SetUID adds the uid to the put alert rule params
func (*PutAlertRuleParams) SetXDisableProvenance ¶
func (o *PutAlertRuleParams) SetXDisableProvenance(xDisableProvenance *string)
SetXDisableProvenance adds the xDisableProvenance to the put alert rule params
func (*PutAlertRuleParams) WithBody ¶
func (o *PutAlertRuleParams) WithBody(body *models.ProvisionedAlertRule) *PutAlertRuleParams
WithBody adds the body to the put alert rule params
func (*PutAlertRuleParams) WithContext ¶
func (o *PutAlertRuleParams) WithContext(ctx context.Context) *PutAlertRuleParams
WithContext adds the context to the put alert rule params
func (*PutAlertRuleParams) WithDefaults ¶
func (o *PutAlertRuleParams) WithDefaults() *PutAlertRuleParams
WithDefaults hydrates default values in the put alert rule params (not the query body).
All values with no default are reset to their zero value.
func (*PutAlertRuleParams) WithHTTPClient ¶
func (o *PutAlertRuleParams) WithHTTPClient(client *http.Client) *PutAlertRuleParams
WithHTTPClient adds the HTTPClient to the put alert rule params
func (*PutAlertRuleParams) WithTimeout ¶
func (o *PutAlertRuleParams) WithTimeout(timeout time.Duration) *PutAlertRuleParams
WithTimeout adds the timeout to the put alert rule params
func (*PutAlertRuleParams) WithUID ¶
func (o *PutAlertRuleParams) WithUID(uid string) *PutAlertRuleParams
WithUID adds the uid to the put alert rule params
func (*PutAlertRuleParams) WithXDisableProvenance ¶
func (o *PutAlertRuleParams) WithXDisableProvenance(xDisableProvenance *string) *PutAlertRuleParams
WithXDisableProvenance adds the xDisableProvenance to the put alert rule params
func (*PutAlertRuleParams) WriteToRequest ¶
func (o *PutAlertRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutAlertRuleReader ¶
type PutAlertRuleReader struct {
// contains filtered or unexported fields
}
PutAlertRuleReader is a Reader for the PutAlertRule structure.
func (*PutAlertRuleReader) ReadResponse ¶
func (o *PutAlertRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutContactpointAccepted ¶
PutContactpointAccepted describes a response with status code 202, with default header values.
Ack
func NewPutContactpointAccepted ¶
func NewPutContactpointAccepted() *PutContactpointAccepted
NewPutContactpointAccepted creates a PutContactpointAccepted with default headers values
func (*PutContactpointAccepted) Code ¶
func (o *PutContactpointAccepted) Code() int
Code gets the status code for the put contactpoint accepted response
func (*PutContactpointAccepted) Error ¶
func (o *PutContactpointAccepted) Error() string
func (*PutContactpointAccepted) GetPayload ¶
func (o *PutContactpointAccepted) GetPayload() models.Ack
func (*PutContactpointAccepted) IsClientError ¶
func (o *PutContactpointAccepted) IsClientError() bool
IsClientError returns true when this put contactpoint accepted response has a 4xx status code
func (*PutContactpointAccepted) IsCode ¶
func (o *PutContactpointAccepted) IsCode(code int) bool
IsCode returns true when this put contactpoint accepted response a status code equal to that given
func (*PutContactpointAccepted) IsRedirect ¶
func (o *PutContactpointAccepted) IsRedirect() bool
IsRedirect returns true when this put contactpoint accepted response has a 3xx status code
func (*PutContactpointAccepted) IsServerError ¶
func (o *PutContactpointAccepted) IsServerError() bool
IsServerError returns true when this put contactpoint accepted response has a 5xx status code
func (*PutContactpointAccepted) IsSuccess ¶
func (o *PutContactpointAccepted) IsSuccess() bool
IsSuccess returns true when this put contactpoint accepted response has a 2xx status code
func (*PutContactpointAccepted) String ¶
func (o *PutContactpointAccepted) String() string
type PutContactpointBadRequest ¶
type PutContactpointBadRequest struct {
Payload *models.ValidationError
}
PutContactpointBadRequest describes a response with status code 400, with default header values.
ValidationError
func NewPutContactpointBadRequest ¶
func NewPutContactpointBadRequest() *PutContactpointBadRequest
NewPutContactpointBadRequest creates a PutContactpointBadRequest with default headers values
func (*PutContactpointBadRequest) Code ¶
func (o *PutContactpointBadRequest) Code() int
Code gets the status code for the put contactpoint bad request response
func (*PutContactpointBadRequest) Error ¶
func (o *PutContactpointBadRequest) Error() string
func (*PutContactpointBadRequest) GetPayload ¶
func (o *PutContactpointBadRequest) GetPayload() *models.ValidationError
func (*PutContactpointBadRequest) IsClientError ¶
func (o *PutContactpointBadRequest) IsClientError() bool
IsClientError returns true when this put contactpoint bad request response has a 4xx status code
func (*PutContactpointBadRequest) IsCode ¶
func (o *PutContactpointBadRequest) IsCode(code int) bool
IsCode returns true when this put contactpoint bad request response a status code equal to that given
func (*PutContactpointBadRequest) IsRedirect ¶
func (o *PutContactpointBadRequest) IsRedirect() bool
IsRedirect returns true when this put contactpoint bad request response has a 3xx status code
func (*PutContactpointBadRequest) IsServerError ¶
func (o *PutContactpointBadRequest) IsServerError() bool
IsServerError returns true when this put contactpoint bad request response has a 5xx status code
func (*PutContactpointBadRequest) IsSuccess ¶
func (o *PutContactpointBadRequest) IsSuccess() bool
IsSuccess returns true when this put contactpoint bad request response has a 2xx status code
func (*PutContactpointBadRequest) String ¶
func (o *PutContactpointBadRequest) String() string
type PutContactpointParams ¶
type PutContactpointParams struct { // Body. Body *models.EmbeddedContactPoint /* UID. UID is the contact point unique identifier */ UID string // XDisableProvenance. XDisableProvenance *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutContactpointParams contains all the parameters to send to the API endpoint
for the put contactpoint operation. Typically these are written to a http.Request.
func NewPutContactpointParams ¶
func NewPutContactpointParams() *PutContactpointParams
NewPutContactpointParams creates a new PutContactpointParams 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 NewPutContactpointParamsWithContext ¶
func NewPutContactpointParamsWithContext(ctx context.Context) *PutContactpointParams
NewPutContactpointParamsWithContext creates a new PutContactpointParams object with the ability to set a context for a request.
func NewPutContactpointParamsWithHTTPClient ¶
func NewPutContactpointParamsWithHTTPClient(client *http.Client) *PutContactpointParams
NewPutContactpointParamsWithHTTPClient creates a new PutContactpointParams object with the ability to set a custom HTTPClient for a request.
func NewPutContactpointParamsWithTimeout ¶
func NewPutContactpointParamsWithTimeout(timeout time.Duration) *PutContactpointParams
NewPutContactpointParamsWithTimeout creates a new PutContactpointParams object with the ability to set a timeout on a request.
func (*PutContactpointParams) SetBody ¶
func (o *PutContactpointParams) SetBody(body *models.EmbeddedContactPoint)
SetBody adds the body to the put contactpoint params
func (*PutContactpointParams) SetContext ¶
func (o *PutContactpointParams) SetContext(ctx context.Context)
SetContext adds the context to the put contactpoint params
func (*PutContactpointParams) SetDefaults ¶
func (o *PutContactpointParams) SetDefaults()
SetDefaults hydrates default values in the put contactpoint params (not the query body).
All values with no default are reset to their zero value.
func (*PutContactpointParams) SetHTTPClient ¶
func (o *PutContactpointParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put contactpoint params
func (*PutContactpointParams) SetTimeout ¶
func (o *PutContactpointParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put contactpoint params
func (*PutContactpointParams) SetUID ¶
func (o *PutContactpointParams) SetUID(uid string)
SetUID adds the uid to the put contactpoint params
func (*PutContactpointParams) SetXDisableProvenance ¶
func (o *PutContactpointParams) SetXDisableProvenance(xDisableProvenance *string)
SetXDisableProvenance adds the xDisableProvenance to the put contactpoint params
func (*PutContactpointParams) WithBody ¶
func (o *PutContactpointParams) WithBody(body *models.EmbeddedContactPoint) *PutContactpointParams
WithBody adds the body to the put contactpoint params
func (*PutContactpointParams) WithContext ¶
func (o *PutContactpointParams) WithContext(ctx context.Context) *PutContactpointParams
WithContext adds the context to the put contactpoint params
func (*PutContactpointParams) WithDefaults ¶
func (o *PutContactpointParams) WithDefaults() *PutContactpointParams
WithDefaults hydrates default values in the put contactpoint params (not the query body).
All values with no default are reset to their zero value.
func (*PutContactpointParams) WithHTTPClient ¶
func (o *PutContactpointParams) WithHTTPClient(client *http.Client) *PutContactpointParams
WithHTTPClient adds the HTTPClient to the put contactpoint params
func (*PutContactpointParams) WithTimeout ¶
func (o *PutContactpointParams) WithTimeout(timeout time.Duration) *PutContactpointParams
WithTimeout adds the timeout to the put contactpoint params
func (*PutContactpointParams) WithUID ¶
func (o *PutContactpointParams) WithUID(uid string) *PutContactpointParams
WithUID adds the uid to the put contactpoint params
func (*PutContactpointParams) WithXDisableProvenance ¶
func (o *PutContactpointParams) WithXDisableProvenance(xDisableProvenance *string) *PutContactpointParams
WithXDisableProvenance adds the xDisableProvenance to the put contactpoint params
func (*PutContactpointParams) WriteToRequest ¶
func (o *PutContactpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutContactpointReader ¶
type PutContactpointReader struct {
// contains filtered or unexported fields
}
PutContactpointReader is a Reader for the PutContactpoint structure.
func (*PutContactpointReader) ReadResponse ¶
func (o *PutContactpointReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutMuteTimingAccepted ¶
type PutMuteTimingAccepted struct {
Payload *models.MuteTimeInterval
}
PutMuteTimingAccepted describes a response with status code 202, with default header values.
MuteTimeInterval
func NewPutMuteTimingAccepted ¶
func NewPutMuteTimingAccepted() *PutMuteTimingAccepted
NewPutMuteTimingAccepted creates a PutMuteTimingAccepted with default headers values
func (*PutMuteTimingAccepted) Code ¶
func (o *PutMuteTimingAccepted) Code() int
Code gets the status code for the put mute timing accepted response
func (*PutMuteTimingAccepted) Error ¶
func (o *PutMuteTimingAccepted) Error() string
func (*PutMuteTimingAccepted) GetPayload ¶
func (o *PutMuteTimingAccepted) GetPayload() *models.MuteTimeInterval
func (*PutMuteTimingAccepted) IsClientError ¶
func (o *PutMuteTimingAccepted) IsClientError() bool
IsClientError returns true when this put mute timing accepted response has a 4xx status code
func (*PutMuteTimingAccepted) IsCode ¶
func (o *PutMuteTimingAccepted) IsCode(code int) bool
IsCode returns true when this put mute timing accepted response a status code equal to that given
func (*PutMuteTimingAccepted) IsRedirect ¶
func (o *PutMuteTimingAccepted) IsRedirect() bool
IsRedirect returns true when this put mute timing accepted response has a 3xx status code
func (*PutMuteTimingAccepted) IsServerError ¶
func (o *PutMuteTimingAccepted) IsServerError() bool
IsServerError returns true when this put mute timing accepted response has a 5xx status code
func (*PutMuteTimingAccepted) IsSuccess ¶
func (o *PutMuteTimingAccepted) IsSuccess() bool
IsSuccess returns true when this put mute timing accepted response has a 2xx status code
func (*PutMuteTimingAccepted) String ¶
func (o *PutMuteTimingAccepted) String() string
type PutMuteTimingBadRequest ¶
type PutMuteTimingBadRequest struct {
Payload *models.ValidationError
}
PutMuteTimingBadRequest describes a response with status code 400, with default header values.
ValidationError
func NewPutMuteTimingBadRequest ¶
func NewPutMuteTimingBadRequest() *PutMuteTimingBadRequest
NewPutMuteTimingBadRequest creates a PutMuteTimingBadRequest with default headers values
func (*PutMuteTimingBadRequest) Code ¶
func (o *PutMuteTimingBadRequest) Code() int
Code gets the status code for the put mute timing bad request response
func (*PutMuteTimingBadRequest) Error ¶
func (o *PutMuteTimingBadRequest) Error() string
func (*PutMuteTimingBadRequest) GetPayload ¶
func (o *PutMuteTimingBadRequest) GetPayload() *models.ValidationError
func (*PutMuteTimingBadRequest) IsClientError ¶
func (o *PutMuteTimingBadRequest) IsClientError() bool
IsClientError returns true when this put mute timing bad request response has a 4xx status code
func (*PutMuteTimingBadRequest) IsCode ¶
func (o *PutMuteTimingBadRequest) IsCode(code int) bool
IsCode returns true when this put mute timing bad request response a status code equal to that given
func (*PutMuteTimingBadRequest) IsRedirect ¶
func (o *PutMuteTimingBadRequest) IsRedirect() bool
IsRedirect returns true when this put mute timing bad request response has a 3xx status code
func (*PutMuteTimingBadRequest) IsServerError ¶
func (o *PutMuteTimingBadRequest) IsServerError() bool
IsServerError returns true when this put mute timing bad request response has a 5xx status code
func (*PutMuteTimingBadRequest) IsSuccess ¶
func (o *PutMuteTimingBadRequest) IsSuccess() bool
IsSuccess returns true when this put mute timing bad request response has a 2xx status code
func (*PutMuteTimingBadRequest) String ¶
func (o *PutMuteTimingBadRequest) String() string
type PutMuteTimingConflict ¶
type PutMuteTimingConflict struct {
Payload *models.PublicError
}
PutMuteTimingConflict describes a response with status code 409, with default header values.
PublicError
func NewPutMuteTimingConflict ¶
func NewPutMuteTimingConflict() *PutMuteTimingConflict
NewPutMuteTimingConflict creates a PutMuteTimingConflict with default headers values
func (*PutMuteTimingConflict) Code ¶
func (o *PutMuteTimingConflict) Code() int
Code gets the status code for the put mute timing conflict response
func (*PutMuteTimingConflict) Error ¶
func (o *PutMuteTimingConflict) Error() string
func (*PutMuteTimingConflict) GetPayload ¶
func (o *PutMuteTimingConflict) GetPayload() *models.PublicError
func (*PutMuteTimingConflict) IsClientError ¶
func (o *PutMuteTimingConflict) IsClientError() bool
IsClientError returns true when this put mute timing conflict response has a 4xx status code
func (*PutMuteTimingConflict) IsCode ¶
func (o *PutMuteTimingConflict) IsCode(code int) bool
IsCode returns true when this put mute timing conflict response a status code equal to that given
func (*PutMuteTimingConflict) IsRedirect ¶
func (o *PutMuteTimingConflict) IsRedirect() bool
IsRedirect returns true when this put mute timing conflict response has a 3xx status code
func (*PutMuteTimingConflict) IsServerError ¶
func (o *PutMuteTimingConflict) IsServerError() bool
IsServerError returns true when this put mute timing conflict response has a 5xx status code
func (*PutMuteTimingConflict) IsSuccess ¶
func (o *PutMuteTimingConflict) IsSuccess() bool
IsSuccess returns true when this put mute timing conflict response has a 2xx status code
func (*PutMuteTimingConflict) String ¶
func (o *PutMuteTimingConflict) String() string
type PutMuteTimingParams ¶
type PutMuteTimingParams struct { // Body. Body *models.MuteTimeInterval // XDisableProvenance. XDisableProvenance *string /* Name. Mute timing name */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutMuteTimingParams contains all the parameters to send to the API endpoint
for the put mute timing operation. Typically these are written to a http.Request.
func NewPutMuteTimingParams ¶
func NewPutMuteTimingParams() *PutMuteTimingParams
NewPutMuteTimingParams creates a new PutMuteTimingParams 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 NewPutMuteTimingParamsWithContext ¶
func NewPutMuteTimingParamsWithContext(ctx context.Context) *PutMuteTimingParams
NewPutMuteTimingParamsWithContext creates a new PutMuteTimingParams object with the ability to set a context for a request.
func NewPutMuteTimingParamsWithHTTPClient ¶
func NewPutMuteTimingParamsWithHTTPClient(client *http.Client) *PutMuteTimingParams
NewPutMuteTimingParamsWithHTTPClient creates a new PutMuteTimingParams object with the ability to set a custom HTTPClient for a request.
func NewPutMuteTimingParamsWithTimeout ¶
func NewPutMuteTimingParamsWithTimeout(timeout time.Duration) *PutMuteTimingParams
NewPutMuteTimingParamsWithTimeout creates a new PutMuteTimingParams object with the ability to set a timeout on a request.
func (*PutMuteTimingParams) SetBody ¶
func (o *PutMuteTimingParams) SetBody(body *models.MuteTimeInterval)
SetBody adds the body to the put mute timing params
func (*PutMuteTimingParams) SetContext ¶
func (o *PutMuteTimingParams) SetContext(ctx context.Context)
SetContext adds the context to the put mute timing params
func (*PutMuteTimingParams) SetDefaults ¶
func (o *PutMuteTimingParams) SetDefaults()
SetDefaults hydrates default values in the put mute timing params (not the query body).
All values with no default are reset to their zero value.
func (*PutMuteTimingParams) SetHTTPClient ¶
func (o *PutMuteTimingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put mute timing params
func (*PutMuteTimingParams) SetName ¶
func (o *PutMuteTimingParams) SetName(name string)
SetName adds the name to the put mute timing params
func (*PutMuteTimingParams) SetTimeout ¶
func (o *PutMuteTimingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put mute timing params
func (*PutMuteTimingParams) SetXDisableProvenance ¶
func (o *PutMuteTimingParams) SetXDisableProvenance(xDisableProvenance *string)
SetXDisableProvenance adds the xDisableProvenance to the put mute timing params
func (*PutMuteTimingParams) WithBody ¶
func (o *PutMuteTimingParams) WithBody(body *models.MuteTimeInterval) *PutMuteTimingParams
WithBody adds the body to the put mute timing params
func (*PutMuteTimingParams) WithContext ¶
func (o *PutMuteTimingParams) WithContext(ctx context.Context) *PutMuteTimingParams
WithContext adds the context to the put mute timing params
func (*PutMuteTimingParams) WithDefaults ¶
func (o *PutMuteTimingParams) WithDefaults() *PutMuteTimingParams
WithDefaults hydrates default values in the put mute timing params (not the query body).
All values with no default are reset to their zero value.
func (*PutMuteTimingParams) WithHTTPClient ¶
func (o *PutMuteTimingParams) WithHTTPClient(client *http.Client) *PutMuteTimingParams
WithHTTPClient adds the HTTPClient to the put mute timing params
func (*PutMuteTimingParams) WithName ¶
func (o *PutMuteTimingParams) WithName(name string) *PutMuteTimingParams
WithName adds the name to the put mute timing params
func (*PutMuteTimingParams) WithTimeout ¶
func (o *PutMuteTimingParams) WithTimeout(timeout time.Duration) *PutMuteTimingParams
WithTimeout adds the timeout to the put mute timing params
func (*PutMuteTimingParams) WithXDisableProvenance ¶
func (o *PutMuteTimingParams) WithXDisableProvenance(xDisableProvenance *string) *PutMuteTimingParams
WithXDisableProvenance adds the xDisableProvenance to the put mute timing params
func (*PutMuteTimingParams) WriteToRequest ¶
func (o *PutMuteTimingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutMuteTimingReader ¶
type PutMuteTimingReader struct {
// contains filtered or unexported fields
}
PutMuteTimingReader is a Reader for the PutMuteTiming structure.
func (*PutMuteTimingReader) ReadResponse ¶
func (o *PutMuteTimingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutPolicyTreeAccepted ¶
PutPolicyTreeAccepted describes a response with status code 202, with default header values.
Ack
func NewPutPolicyTreeAccepted ¶
func NewPutPolicyTreeAccepted() *PutPolicyTreeAccepted
NewPutPolicyTreeAccepted creates a PutPolicyTreeAccepted with default headers values
func (*PutPolicyTreeAccepted) Code ¶
func (o *PutPolicyTreeAccepted) Code() int
Code gets the status code for the put policy tree accepted response
func (*PutPolicyTreeAccepted) Error ¶
func (o *PutPolicyTreeAccepted) Error() string
func (*PutPolicyTreeAccepted) GetPayload ¶
func (o *PutPolicyTreeAccepted) GetPayload() models.Ack
func (*PutPolicyTreeAccepted) IsClientError ¶
func (o *PutPolicyTreeAccepted) IsClientError() bool
IsClientError returns true when this put policy tree accepted response has a 4xx status code
func (*PutPolicyTreeAccepted) IsCode ¶
func (o *PutPolicyTreeAccepted) IsCode(code int) bool
IsCode returns true when this put policy tree accepted response a status code equal to that given
func (*PutPolicyTreeAccepted) IsRedirect ¶
func (o *PutPolicyTreeAccepted) IsRedirect() bool
IsRedirect returns true when this put policy tree accepted response has a 3xx status code
func (*PutPolicyTreeAccepted) IsServerError ¶
func (o *PutPolicyTreeAccepted) IsServerError() bool
IsServerError returns true when this put policy tree accepted response has a 5xx status code
func (*PutPolicyTreeAccepted) IsSuccess ¶
func (o *PutPolicyTreeAccepted) IsSuccess() bool
IsSuccess returns true when this put policy tree accepted response has a 2xx status code
func (*PutPolicyTreeAccepted) String ¶
func (o *PutPolicyTreeAccepted) String() string
type PutPolicyTreeBadRequest ¶
type PutPolicyTreeBadRequest struct {
Payload *models.ValidationError
}
PutPolicyTreeBadRequest describes a response with status code 400, with default header values.
ValidationError
func NewPutPolicyTreeBadRequest ¶
func NewPutPolicyTreeBadRequest() *PutPolicyTreeBadRequest
NewPutPolicyTreeBadRequest creates a PutPolicyTreeBadRequest with default headers values
func (*PutPolicyTreeBadRequest) Code ¶
func (o *PutPolicyTreeBadRequest) Code() int
Code gets the status code for the put policy tree bad request response
func (*PutPolicyTreeBadRequest) Error ¶
func (o *PutPolicyTreeBadRequest) Error() string
func (*PutPolicyTreeBadRequest) GetPayload ¶
func (o *PutPolicyTreeBadRequest) GetPayload() *models.ValidationError
func (*PutPolicyTreeBadRequest) IsClientError ¶
func (o *PutPolicyTreeBadRequest) IsClientError() bool
IsClientError returns true when this put policy tree bad request response has a 4xx status code
func (*PutPolicyTreeBadRequest) IsCode ¶
func (o *PutPolicyTreeBadRequest) IsCode(code int) bool
IsCode returns true when this put policy tree bad request response a status code equal to that given
func (*PutPolicyTreeBadRequest) IsRedirect ¶
func (o *PutPolicyTreeBadRequest) IsRedirect() bool
IsRedirect returns true when this put policy tree bad request response has a 3xx status code
func (*PutPolicyTreeBadRequest) IsServerError ¶
func (o *PutPolicyTreeBadRequest) IsServerError() bool
IsServerError returns true when this put policy tree bad request response has a 5xx status code
func (*PutPolicyTreeBadRequest) IsSuccess ¶
func (o *PutPolicyTreeBadRequest) IsSuccess() bool
IsSuccess returns true when this put policy tree bad request response has a 2xx status code
func (*PutPolicyTreeBadRequest) String ¶
func (o *PutPolicyTreeBadRequest) String() string
type PutPolicyTreeParams ¶
type PutPolicyTreeParams struct { /* Body. The new notification routing tree to use */ Body *models.Route // XDisableProvenance. XDisableProvenance *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutPolicyTreeParams contains all the parameters to send to the API endpoint
for the put policy tree operation. Typically these are written to a http.Request.
func NewPutPolicyTreeParams ¶
func NewPutPolicyTreeParams() *PutPolicyTreeParams
NewPutPolicyTreeParams creates a new PutPolicyTreeParams 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 NewPutPolicyTreeParamsWithContext ¶
func NewPutPolicyTreeParamsWithContext(ctx context.Context) *PutPolicyTreeParams
NewPutPolicyTreeParamsWithContext creates a new PutPolicyTreeParams object with the ability to set a context for a request.
func NewPutPolicyTreeParamsWithHTTPClient ¶
func NewPutPolicyTreeParamsWithHTTPClient(client *http.Client) *PutPolicyTreeParams
NewPutPolicyTreeParamsWithHTTPClient creates a new PutPolicyTreeParams object with the ability to set a custom HTTPClient for a request.
func NewPutPolicyTreeParamsWithTimeout ¶
func NewPutPolicyTreeParamsWithTimeout(timeout time.Duration) *PutPolicyTreeParams
NewPutPolicyTreeParamsWithTimeout creates a new PutPolicyTreeParams object with the ability to set a timeout on a request.
func (*PutPolicyTreeParams) SetBody ¶
func (o *PutPolicyTreeParams) SetBody(body *models.Route)
SetBody adds the body to the put policy tree params
func (*PutPolicyTreeParams) SetContext ¶
func (o *PutPolicyTreeParams) SetContext(ctx context.Context)
SetContext adds the context to the put policy tree params
func (*PutPolicyTreeParams) SetDefaults ¶
func (o *PutPolicyTreeParams) SetDefaults()
SetDefaults hydrates default values in the put policy tree params (not the query body).
All values with no default are reset to their zero value.
func (*PutPolicyTreeParams) SetHTTPClient ¶
func (o *PutPolicyTreeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put policy tree params
func (*PutPolicyTreeParams) SetTimeout ¶
func (o *PutPolicyTreeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put policy tree params
func (*PutPolicyTreeParams) SetXDisableProvenance ¶
func (o *PutPolicyTreeParams) SetXDisableProvenance(xDisableProvenance *string)
SetXDisableProvenance adds the xDisableProvenance to the put policy tree params
func (*PutPolicyTreeParams) WithBody ¶
func (o *PutPolicyTreeParams) WithBody(body *models.Route) *PutPolicyTreeParams
WithBody adds the body to the put policy tree params
func (*PutPolicyTreeParams) WithContext ¶
func (o *PutPolicyTreeParams) WithContext(ctx context.Context) *PutPolicyTreeParams
WithContext adds the context to the put policy tree params
func (*PutPolicyTreeParams) WithDefaults ¶
func (o *PutPolicyTreeParams) WithDefaults() *PutPolicyTreeParams
WithDefaults hydrates default values in the put policy tree params (not the query body).
All values with no default are reset to their zero value.
func (*PutPolicyTreeParams) WithHTTPClient ¶
func (o *PutPolicyTreeParams) WithHTTPClient(client *http.Client) *PutPolicyTreeParams
WithHTTPClient adds the HTTPClient to the put policy tree params
func (*PutPolicyTreeParams) WithTimeout ¶
func (o *PutPolicyTreeParams) WithTimeout(timeout time.Duration) *PutPolicyTreeParams
WithTimeout adds the timeout to the put policy tree params
func (*PutPolicyTreeParams) WithXDisableProvenance ¶
func (o *PutPolicyTreeParams) WithXDisableProvenance(xDisableProvenance *string) *PutPolicyTreeParams
WithXDisableProvenance adds the xDisableProvenance to the put policy tree params
func (*PutPolicyTreeParams) WriteToRequest ¶
func (o *PutPolicyTreeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutPolicyTreeReader ¶
type PutPolicyTreeReader struct {
// contains filtered or unexported fields
}
PutPolicyTreeReader is a Reader for the PutPolicyTree structure.
func (*PutPolicyTreeReader) ReadResponse ¶
func (o *PutPolicyTreeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutTemplateAccepted ¶
type PutTemplateAccepted struct {
Payload *models.NotificationTemplate
}
PutTemplateAccepted describes a response with status code 202, with default header values.
NotificationTemplate
func NewPutTemplateAccepted ¶
func NewPutTemplateAccepted() *PutTemplateAccepted
NewPutTemplateAccepted creates a PutTemplateAccepted with default headers values
func (*PutTemplateAccepted) Code ¶
func (o *PutTemplateAccepted) Code() int
Code gets the status code for the put template accepted response
func (*PutTemplateAccepted) Error ¶
func (o *PutTemplateAccepted) Error() string
func (*PutTemplateAccepted) GetPayload ¶
func (o *PutTemplateAccepted) GetPayload() *models.NotificationTemplate
func (*PutTemplateAccepted) IsClientError ¶
func (o *PutTemplateAccepted) IsClientError() bool
IsClientError returns true when this put template accepted response has a 4xx status code
func (*PutTemplateAccepted) IsCode ¶
func (o *PutTemplateAccepted) IsCode(code int) bool
IsCode returns true when this put template accepted response a status code equal to that given
func (*PutTemplateAccepted) IsRedirect ¶
func (o *PutTemplateAccepted) IsRedirect() bool
IsRedirect returns true when this put template accepted response has a 3xx status code
func (*PutTemplateAccepted) IsServerError ¶
func (o *PutTemplateAccepted) IsServerError() bool
IsServerError returns true when this put template accepted response has a 5xx status code
func (*PutTemplateAccepted) IsSuccess ¶
func (o *PutTemplateAccepted) IsSuccess() bool
IsSuccess returns true when this put template accepted response has a 2xx status code
func (*PutTemplateAccepted) String ¶
func (o *PutTemplateAccepted) String() string
type PutTemplateBadRequest ¶
type PutTemplateBadRequest struct {
Payload *models.PublicError
}
PutTemplateBadRequest describes a response with status code 400, with default header values.
PublicError
func NewPutTemplateBadRequest ¶
func NewPutTemplateBadRequest() *PutTemplateBadRequest
NewPutTemplateBadRequest creates a PutTemplateBadRequest with default headers values
func (*PutTemplateBadRequest) Code ¶
func (o *PutTemplateBadRequest) Code() int
Code gets the status code for the put template bad request response
func (*PutTemplateBadRequest) Error ¶
func (o *PutTemplateBadRequest) Error() string
func (*PutTemplateBadRequest) GetPayload ¶
func (o *PutTemplateBadRequest) GetPayload() *models.PublicError
func (*PutTemplateBadRequest) IsClientError ¶
func (o *PutTemplateBadRequest) IsClientError() bool
IsClientError returns true when this put template bad request response has a 4xx status code
func (*PutTemplateBadRequest) IsCode ¶
func (o *PutTemplateBadRequest) IsCode(code int) bool
IsCode returns true when this put template bad request response a status code equal to that given
func (*PutTemplateBadRequest) IsRedirect ¶
func (o *PutTemplateBadRequest) IsRedirect() bool
IsRedirect returns true when this put template bad request response has a 3xx status code
func (*PutTemplateBadRequest) IsServerError ¶
func (o *PutTemplateBadRequest) IsServerError() bool
IsServerError returns true when this put template bad request response has a 5xx status code
func (*PutTemplateBadRequest) IsSuccess ¶
func (o *PutTemplateBadRequest) IsSuccess() bool
IsSuccess returns true when this put template bad request response has a 2xx status code
func (*PutTemplateBadRequest) String ¶
func (o *PutTemplateBadRequest) String() string
type PutTemplateConflict ¶
type PutTemplateConflict struct {
Payload *models.PublicError
}
PutTemplateConflict describes a response with status code 409, with default header values.
PublicError
func NewPutTemplateConflict ¶
func NewPutTemplateConflict() *PutTemplateConflict
NewPutTemplateConflict creates a PutTemplateConflict with default headers values
func (*PutTemplateConflict) Code ¶
func (o *PutTemplateConflict) Code() int
Code gets the status code for the put template conflict response
func (*PutTemplateConflict) Error ¶
func (o *PutTemplateConflict) Error() string
func (*PutTemplateConflict) GetPayload ¶
func (o *PutTemplateConflict) GetPayload() *models.PublicError
func (*PutTemplateConflict) IsClientError ¶
func (o *PutTemplateConflict) IsClientError() bool
IsClientError returns true when this put template conflict response has a 4xx status code
func (*PutTemplateConflict) IsCode ¶
func (o *PutTemplateConflict) IsCode(code int) bool
IsCode returns true when this put template conflict response a status code equal to that given
func (*PutTemplateConflict) IsRedirect ¶
func (o *PutTemplateConflict) IsRedirect() bool
IsRedirect returns true when this put template conflict response has a 3xx status code
func (*PutTemplateConflict) IsServerError ¶
func (o *PutTemplateConflict) IsServerError() bool
IsServerError returns true when this put template conflict response has a 5xx status code
func (*PutTemplateConflict) IsSuccess ¶
func (o *PutTemplateConflict) IsSuccess() bool
IsSuccess returns true when this put template conflict response has a 2xx status code
func (*PutTemplateConflict) String ¶
func (o *PutTemplateConflict) String() string
type PutTemplateParams ¶
type PutTemplateParams struct { // Body. Body *models.NotificationTemplateContent // XDisableProvenance. XDisableProvenance *string /* Name. Template group name */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutTemplateParams contains all the parameters to send to the API endpoint
for the put template operation. Typically these are written to a http.Request.
func NewPutTemplateParams ¶
func NewPutTemplateParams() *PutTemplateParams
NewPutTemplateParams creates a new PutTemplateParams 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 NewPutTemplateParamsWithContext ¶
func NewPutTemplateParamsWithContext(ctx context.Context) *PutTemplateParams
NewPutTemplateParamsWithContext creates a new PutTemplateParams object with the ability to set a context for a request.
func NewPutTemplateParamsWithHTTPClient ¶
func NewPutTemplateParamsWithHTTPClient(client *http.Client) *PutTemplateParams
NewPutTemplateParamsWithHTTPClient creates a new PutTemplateParams object with the ability to set a custom HTTPClient for a request.
func NewPutTemplateParamsWithTimeout ¶
func NewPutTemplateParamsWithTimeout(timeout time.Duration) *PutTemplateParams
NewPutTemplateParamsWithTimeout creates a new PutTemplateParams object with the ability to set a timeout on a request.
func (*PutTemplateParams) SetBody ¶
func (o *PutTemplateParams) SetBody(body *models.NotificationTemplateContent)
SetBody adds the body to the put template params
func (*PutTemplateParams) SetContext ¶
func (o *PutTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the put template params
func (*PutTemplateParams) SetDefaults ¶
func (o *PutTemplateParams) SetDefaults()
SetDefaults hydrates default values in the put template params (not the query body).
All values with no default are reset to their zero value.
func (*PutTemplateParams) SetHTTPClient ¶
func (o *PutTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put template params
func (*PutTemplateParams) SetName ¶
func (o *PutTemplateParams) SetName(name string)
SetName adds the name to the put template params
func (*PutTemplateParams) SetTimeout ¶
func (o *PutTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put template params
func (*PutTemplateParams) SetXDisableProvenance ¶
func (o *PutTemplateParams) SetXDisableProvenance(xDisableProvenance *string)
SetXDisableProvenance adds the xDisableProvenance to the put template params
func (*PutTemplateParams) WithBody ¶
func (o *PutTemplateParams) WithBody(body *models.NotificationTemplateContent) *PutTemplateParams
WithBody adds the body to the put template params
func (*PutTemplateParams) WithContext ¶
func (o *PutTemplateParams) WithContext(ctx context.Context) *PutTemplateParams
WithContext adds the context to the put template params
func (*PutTemplateParams) WithDefaults ¶
func (o *PutTemplateParams) WithDefaults() *PutTemplateParams
WithDefaults hydrates default values in the put template params (not the query body).
All values with no default are reset to their zero value.
func (*PutTemplateParams) WithHTTPClient ¶
func (o *PutTemplateParams) WithHTTPClient(client *http.Client) *PutTemplateParams
WithHTTPClient adds the HTTPClient to the put template params
func (*PutTemplateParams) WithName ¶
func (o *PutTemplateParams) WithName(name string) *PutTemplateParams
WithName adds the name to the put template params
func (*PutTemplateParams) WithTimeout ¶
func (o *PutTemplateParams) WithTimeout(timeout time.Duration) *PutTemplateParams
WithTimeout adds the timeout to the put template params
func (*PutTemplateParams) WithXDisableProvenance ¶
func (o *PutTemplateParams) WithXDisableProvenance(xDisableProvenance *string) *PutTemplateParams
WithXDisableProvenance adds the xDisableProvenance to the put template params
func (*PutTemplateParams) WriteToRequest ¶
func (o *PutTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutTemplateReader ¶
type PutTemplateReader struct {
// contains filtered or unexported fields
}
PutTemplateReader is a Reader for the PutTemplate structure.
func (*PutTemplateReader) ReadResponse ¶
func (o *PutTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ResetPolicyTreeAccepted ¶
ResetPolicyTreeAccepted describes a response with status code 202, with default header values.
Ack
func NewResetPolicyTreeAccepted ¶
func NewResetPolicyTreeAccepted() *ResetPolicyTreeAccepted
NewResetPolicyTreeAccepted creates a ResetPolicyTreeAccepted with default headers values
func (*ResetPolicyTreeAccepted) Code ¶
func (o *ResetPolicyTreeAccepted) Code() int
Code gets the status code for the reset policy tree accepted response
func (*ResetPolicyTreeAccepted) Error ¶
func (o *ResetPolicyTreeAccepted) Error() string
func (*ResetPolicyTreeAccepted) GetPayload ¶
func (o *ResetPolicyTreeAccepted) GetPayload() models.Ack
func (*ResetPolicyTreeAccepted) IsClientError ¶
func (o *ResetPolicyTreeAccepted) IsClientError() bool
IsClientError returns true when this reset policy tree accepted response has a 4xx status code
func (*ResetPolicyTreeAccepted) IsCode ¶
func (o *ResetPolicyTreeAccepted) IsCode(code int) bool
IsCode returns true when this reset policy tree accepted response a status code equal to that given
func (*ResetPolicyTreeAccepted) IsRedirect ¶
func (o *ResetPolicyTreeAccepted) IsRedirect() bool
IsRedirect returns true when this reset policy tree accepted response has a 3xx status code
func (*ResetPolicyTreeAccepted) IsServerError ¶
func (o *ResetPolicyTreeAccepted) IsServerError() bool
IsServerError returns true when this reset policy tree accepted response has a 5xx status code
func (*ResetPolicyTreeAccepted) IsSuccess ¶
func (o *ResetPolicyTreeAccepted) IsSuccess() bool
IsSuccess returns true when this reset policy tree accepted response has a 2xx status code
func (*ResetPolicyTreeAccepted) String ¶
func (o *ResetPolicyTreeAccepted) String() string
type ResetPolicyTreeParams ¶
type ResetPolicyTreeParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ResetPolicyTreeParams contains all the parameters to send to the API endpoint
for the reset policy tree operation. Typically these are written to a http.Request.
func NewResetPolicyTreeParams ¶
func NewResetPolicyTreeParams() *ResetPolicyTreeParams
NewResetPolicyTreeParams creates a new ResetPolicyTreeParams 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 NewResetPolicyTreeParamsWithContext ¶
func NewResetPolicyTreeParamsWithContext(ctx context.Context) *ResetPolicyTreeParams
NewResetPolicyTreeParamsWithContext creates a new ResetPolicyTreeParams object with the ability to set a context for a request.
func NewResetPolicyTreeParamsWithHTTPClient ¶
func NewResetPolicyTreeParamsWithHTTPClient(client *http.Client) *ResetPolicyTreeParams
NewResetPolicyTreeParamsWithHTTPClient creates a new ResetPolicyTreeParams object with the ability to set a custom HTTPClient for a request.
func NewResetPolicyTreeParamsWithTimeout ¶
func NewResetPolicyTreeParamsWithTimeout(timeout time.Duration) *ResetPolicyTreeParams
NewResetPolicyTreeParamsWithTimeout creates a new ResetPolicyTreeParams object with the ability to set a timeout on a request.
func (*ResetPolicyTreeParams) SetContext ¶
func (o *ResetPolicyTreeParams) SetContext(ctx context.Context)
SetContext adds the context to the reset policy tree params
func (*ResetPolicyTreeParams) SetDefaults ¶
func (o *ResetPolicyTreeParams) SetDefaults()
SetDefaults hydrates default values in the reset policy tree params (not the query body).
All values with no default are reset to their zero value.
func (*ResetPolicyTreeParams) SetHTTPClient ¶
func (o *ResetPolicyTreeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the reset policy tree params
func (*ResetPolicyTreeParams) SetTimeout ¶
func (o *ResetPolicyTreeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the reset policy tree params
func (*ResetPolicyTreeParams) WithContext ¶
func (o *ResetPolicyTreeParams) WithContext(ctx context.Context) *ResetPolicyTreeParams
WithContext adds the context to the reset policy tree params
func (*ResetPolicyTreeParams) WithDefaults ¶
func (o *ResetPolicyTreeParams) WithDefaults() *ResetPolicyTreeParams
WithDefaults hydrates default values in the reset policy tree params (not the query body).
All values with no default are reset to their zero value.
func (*ResetPolicyTreeParams) WithHTTPClient ¶
func (o *ResetPolicyTreeParams) WithHTTPClient(client *http.Client) *ResetPolicyTreeParams
WithHTTPClient adds the HTTPClient to the reset policy tree params
func (*ResetPolicyTreeParams) WithTimeout ¶
func (o *ResetPolicyTreeParams) WithTimeout(timeout time.Duration) *ResetPolicyTreeParams
WithTimeout adds the timeout to the reset policy tree params
func (*ResetPolicyTreeParams) WriteToRequest ¶
func (o *ResetPolicyTreeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ResetPolicyTreeReader ¶
type ResetPolicyTreeReader struct {
// contains filtered or unexported fields
}
ResetPolicyTreeReader is a Reader for the ResetPolicyTree structure.
func (*ResetPolicyTreeReader) ReadResponse ¶
func (o *ResetPolicyTreeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- delete_alert_rule_group_parameters.go
- delete_alert_rule_group_responses.go
- delete_alert_rule_parameters.go
- delete_alert_rule_responses.go
- delete_contactpoints_parameters.go
- delete_contactpoints_responses.go
- delete_mute_timing_parameters.go
- delete_mute_timing_responses.go
- delete_template_parameters.go
- delete_template_responses.go
- export_mute_timing_parameters.go
- export_mute_timing_responses.go
- export_mute_timings_parameters.go
- export_mute_timings_responses.go
- get_alert_rule_export_parameters.go
- get_alert_rule_export_responses.go
- get_alert_rule_group_export_parameters.go
- get_alert_rule_group_export_responses.go
- get_alert_rule_group_parameters.go
- get_alert_rule_group_responses.go
- get_alert_rule_parameters.go
- get_alert_rule_responses.go
- get_alert_rules_export_parameters.go
- get_alert_rules_export_responses.go
- get_alert_rules_parameters.go
- get_alert_rules_responses.go
- get_contactpoints_export_parameters.go
- get_contactpoints_export_responses.go
- get_contactpoints_parameters.go
- get_contactpoints_responses.go
- get_mute_timing_parameters.go
- get_mute_timing_responses.go
- get_mute_timings_parameters.go
- get_mute_timings_responses.go
- get_policy_tree_export_parameters.go
- get_policy_tree_export_responses.go
- get_policy_tree_parameters.go
- get_policy_tree_responses.go
- get_template_parameters.go
- get_template_responses.go
- get_templates_parameters.go
- get_templates_responses.go
- post_alert_rule_parameters.go
- post_alert_rule_responses.go
- post_contactpoints_parameters.go
- post_contactpoints_responses.go
- post_mute_timing_parameters.go
- post_mute_timing_responses.go
- provisioning_client.go
- put_alert_rule_group_parameters.go
- put_alert_rule_group_responses.go
- put_alert_rule_parameters.go
- put_alert_rule_responses.go
- put_contactpoint_parameters.go
- put_contactpoint_responses.go
- put_mute_timing_parameters.go
- put_mute_timing_responses.go
- put_policy_tree_parameters.go
- put_policy_tree_responses.go
- put_template_parameters.go
- put_template_responses.go
- reset_policy_tree_parameters.go
- reset_policy_tree_responses.go