Documentation
¶
Index ¶
- type Client
- func (a *Client) RouteDeleteAlertRule(params *RouteDeleteAlertRuleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RouteDeleteAlertRuleNoContent, error)
- func (a *Client) RouteDeleteContactpoints(params *RouteDeleteContactpointsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RouteDeleteContactpointsNoContent, error)
- func (a *Client) RouteDeleteMuteTiming(params *RouteDeleteMuteTimingParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RouteDeleteMuteTimingNoContent, error)
- func (a *Client) RouteDeleteTemplate(params *RouteDeleteTemplateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RouteDeleteTemplateNoContent, error)
- func (a *Client) RouteGetAlertRule(params *RouteGetAlertRuleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RouteGetAlertRuleOK, error)
- func (a *Client) RouteGetAlertRuleExport(params *RouteGetAlertRuleExportParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RouteGetAlertRuleExportOK, error)
- func (a *Client) RouteGetAlertRuleGroup(params *RouteGetAlertRuleGroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RouteGetAlertRuleGroupOK, error)
- func (a *Client) RouteGetAlertRuleGroupExport(params *RouteGetAlertRuleGroupExportParams, ...) (*RouteGetAlertRuleGroupExportOK, error)
- func (a *Client) RouteGetAlertRules(params *RouteGetAlertRulesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RouteGetAlertRulesOK, error)
- func (a *Client) RouteGetAlertRulesExport(params *RouteGetAlertRulesExportParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RouteGetAlertRulesExportOK, error)
- func (a *Client) RouteGetContactpoints(params *RouteGetContactpointsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RouteGetContactpointsOK, error)
- func (a *Client) RouteGetMuteTiming(params *RouteGetMuteTimingParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RouteGetMuteTimingOK, error)
- func (a *Client) RouteGetMuteTimings(params *RouteGetMuteTimingsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RouteGetMuteTimingsOK, error)
- func (a *Client) RouteGetPolicyTree(params *RouteGetPolicyTreeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RouteGetPolicyTreeOK, error)
- func (a *Client) RouteGetTemplate(params *RouteGetTemplateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RouteGetTemplateOK, error)
- func (a *Client) RouteGetTemplates(params *RouteGetTemplatesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RouteGetTemplatesOK, error)
- func (a *Client) RoutePostAlertRule(params *RoutePostAlertRuleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RoutePostAlertRuleCreated, error)
- func (a *Client) RoutePostContactpoints(params *RoutePostContactpointsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RoutePostContactpointsAccepted, error)
- func (a *Client) RoutePostMuteTiming(params *RoutePostMuteTimingParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RoutePostMuteTimingCreated, error)
- func (a *Client) RoutePutAlertRule(params *RoutePutAlertRuleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RoutePutAlertRuleOK, error)
- func (a *Client) RoutePutAlertRuleGroup(params *RoutePutAlertRuleGroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RoutePutAlertRuleGroupOK, error)
- func (a *Client) RoutePutContactpoint(params *RoutePutContactpointParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RoutePutContactpointAccepted, error)
- func (a *Client) RoutePutMuteTiming(params *RoutePutMuteTimingParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RoutePutMuteTimingOK, error)
- func (a *Client) RoutePutPolicyTree(params *RoutePutPolicyTreeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RoutePutPolicyTreeAccepted, error)
- func (a *Client) RoutePutTemplate(params *RoutePutTemplateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RoutePutTemplateAccepted, error)
- func (a *Client) RouteResetPolicyTree(params *RouteResetPolicyTreeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RouteResetPolicyTreeAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type RouteDeleteAlertRuleNoContent
- type RouteDeleteAlertRuleParams
- func NewRouteDeleteAlertRuleParams() *RouteDeleteAlertRuleParams
- func NewRouteDeleteAlertRuleParamsWithContext(ctx context.Context) *RouteDeleteAlertRuleParams
- func NewRouteDeleteAlertRuleParamsWithHTTPClient(client *http.Client) *RouteDeleteAlertRuleParams
- func NewRouteDeleteAlertRuleParamsWithTimeout(timeout time.Duration) *RouteDeleteAlertRuleParams
- func (o *RouteDeleteAlertRuleParams) SetContext(ctx context.Context)
- func (o *RouteDeleteAlertRuleParams) SetDefaults()
- func (o *RouteDeleteAlertRuleParams) SetHTTPClient(client *http.Client)
- func (o *RouteDeleteAlertRuleParams) SetTimeout(timeout time.Duration)
- func (o *RouteDeleteAlertRuleParams) SetUID(uid string)
- func (o *RouteDeleteAlertRuleParams) WithContext(ctx context.Context) *RouteDeleteAlertRuleParams
- func (o *RouteDeleteAlertRuleParams) WithDefaults() *RouteDeleteAlertRuleParams
- func (o *RouteDeleteAlertRuleParams) WithHTTPClient(client *http.Client) *RouteDeleteAlertRuleParams
- func (o *RouteDeleteAlertRuleParams) WithTimeout(timeout time.Duration) *RouteDeleteAlertRuleParams
- func (o *RouteDeleteAlertRuleParams) WithUID(uid string) *RouteDeleteAlertRuleParams
- func (o *RouteDeleteAlertRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RouteDeleteAlertRuleReader
- type RouteDeleteContactpointsNoContent
- type RouteDeleteContactpointsParams
- func NewRouteDeleteContactpointsParams() *RouteDeleteContactpointsParams
- func NewRouteDeleteContactpointsParamsWithContext(ctx context.Context) *RouteDeleteContactpointsParams
- func NewRouteDeleteContactpointsParamsWithHTTPClient(client *http.Client) *RouteDeleteContactpointsParams
- func NewRouteDeleteContactpointsParamsWithTimeout(timeout time.Duration) *RouteDeleteContactpointsParams
- func (o *RouteDeleteContactpointsParams) SetContext(ctx context.Context)
- func (o *RouteDeleteContactpointsParams) SetDefaults()
- func (o *RouteDeleteContactpointsParams) SetHTTPClient(client *http.Client)
- func (o *RouteDeleteContactpointsParams) SetTimeout(timeout time.Duration)
- func (o *RouteDeleteContactpointsParams) SetUID(uid string)
- func (o *RouteDeleteContactpointsParams) WithContext(ctx context.Context) *RouteDeleteContactpointsParams
- func (o *RouteDeleteContactpointsParams) WithDefaults() *RouteDeleteContactpointsParams
- func (o *RouteDeleteContactpointsParams) WithHTTPClient(client *http.Client) *RouteDeleteContactpointsParams
- func (o *RouteDeleteContactpointsParams) WithTimeout(timeout time.Duration) *RouteDeleteContactpointsParams
- func (o *RouteDeleteContactpointsParams) WithUID(uid string) *RouteDeleteContactpointsParams
- func (o *RouteDeleteContactpointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RouteDeleteContactpointsReader
- type RouteDeleteMuteTimingNoContent
- type RouteDeleteMuteTimingParams
- func NewRouteDeleteMuteTimingParams() *RouteDeleteMuteTimingParams
- func NewRouteDeleteMuteTimingParamsWithContext(ctx context.Context) *RouteDeleteMuteTimingParams
- func NewRouteDeleteMuteTimingParamsWithHTTPClient(client *http.Client) *RouteDeleteMuteTimingParams
- func NewRouteDeleteMuteTimingParamsWithTimeout(timeout time.Duration) *RouteDeleteMuteTimingParams
- func (o *RouteDeleteMuteTimingParams) SetContext(ctx context.Context)
- func (o *RouteDeleteMuteTimingParams) SetDefaults()
- func (o *RouteDeleteMuteTimingParams) SetHTTPClient(client *http.Client)
- func (o *RouteDeleteMuteTimingParams) SetName(name string)
- func (o *RouteDeleteMuteTimingParams) SetTimeout(timeout time.Duration)
- func (o *RouteDeleteMuteTimingParams) WithContext(ctx context.Context) *RouteDeleteMuteTimingParams
- func (o *RouteDeleteMuteTimingParams) WithDefaults() *RouteDeleteMuteTimingParams
- func (o *RouteDeleteMuteTimingParams) WithHTTPClient(client *http.Client) *RouteDeleteMuteTimingParams
- func (o *RouteDeleteMuteTimingParams) WithName(name string) *RouteDeleteMuteTimingParams
- func (o *RouteDeleteMuteTimingParams) WithTimeout(timeout time.Duration) *RouteDeleteMuteTimingParams
- func (o *RouteDeleteMuteTimingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RouteDeleteMuteTimingReader
- type RouteDeleteTemplateNoContent
- type RouteDeleteTemplateParams
- func NewRouteDeleteTemplateParams() *RouteDeleteTemplateParams
- func NewRouteDeleteTemplateParamsWithContext(ctx context.Context) *RouteDeleteTemplateParams
- func NewRouteDeleteTemplateParamsWithHTTPClient(client *http.Client) *RouteDeleteTemplateParams
- func NewRouteDeleteTemplateParamsWithTimeout(timeout time.Duration) *RouteDeleteTemplateParams
- func (o *RouteDeleteTemplateParams) SetContext(ctx context.Context)
- func (o *RouteDeleteTemplateParams) SetDefaults()
- func (o *RouteDeleteTemplateParams) SetHTTPClient(client *http.Client)
- func (o *RouteDeleteTemplateParams) SetName(name string)
- func (o *RouteDeleteTemplateParams) SetTimeout(timeout time.Duration)
- func (o *RouteDeleteTemplateParams) WithContext(ctx context.Context) *RouteDeleteTemplateParams
- func (o *RouteDeleteTemplateParams) WithDefaults() *RouteDeleteTemplateParams
- func (o *RouteDeleteTemplateParams) WithHTTPClient(client *http.Client) *RouteDeleteTemplateParams
- func (o *RouteDeleteTemplateParams) WithName(name string) *RouteDeleteTemplateParams
- func (o *RouteDeleteTemplateParams) WithTimeout(timeout time.Duration) *RouteDeleteTemplateParams
- func (o *RouteDeleteTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RouteDeleteTemplateReader
- type RouteGetAlertRuleExportNotFound
- type RouteGetAlertRuleExportOK
- type RouteGetAlertRuleExportParams
- func NewRouteGetAlertRuleExportParams() *RouteGetAlertRuleExportParams
- func NewRouteGetAlertRuleExportParamsWithContext(ctx context.Context) *RouteGetAlertRuleExportParams
- func NewRouteGetAlertRuleExportParamsWithHTTPClient(client *http.Client) *RouteGetAlertRuleExportParams
- func NewRouteGetAlertRuleExportParamsWithTimeout(timeout time.Duration) *RouteGetAlertRuleExportParams
- func (o *RouteGetAlertRuleExportParams) SetContext(ctx context.Context)
- func (o *RouteGetAlertRuleExportParams) SetDefaults()
- func (o *RouteGetAlertRuleExportParams) SetDownload(download *bool)
- func (o *RouteGetAlertRuleExportParams) SetFormat(format *string)
- func (o *RouteGetAlertRuleExportParams) SetHTTPClient(client *http.Client)
- func (o *RouteGetAlertRuleExportParams) SetTimeout(timeout time.Duration)
- func (o *RouteGetAlertRuleExportParams) SetUID(uid string)
- func (o *RouteGetAlertRuleExportParams) WithContext(ctx context.Context) *RouteGetAlertRuleExportParams
- func (o *RouteGetAlertRuleExportParams) WithDefaults() *RouteGetAlertRuleExportParams
- func (o *RouteGetAlertRuleExportParams) WithDownload(download *bool) *RouteGetAlertRuleExportParams
- func (o *RouteGetAlertRuleExportParams) WithFormat(format *string) *RouteGetAlertRuleExportParams
- func (o *RouteGetAlertRuleExportParams) WithHTTPClient(client *http.Client) *RouteGetAlertRuleExportParams
- func (o *RouteGetAlertRuleExportParams) WithTimeout(timeout time.Duration) *RouteGetAlertRuleExportParams
- func (o *RouteGetAlertRuleExportParams) WithUID(uid string) *RouteGetAlertRuleExportParams
- func (o *RouteGetAlertRuleExportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RouteGetAlertRuleExportReader
- type RouteGetAlertRuleGroupExportNotFound
- type RouteGetAlertRuleGroupExportOK
- type RouteGetAlertRuleGroupExportParams
- func NewRouteGetAlertRuleGroupExportParams() *RouteGetAlertRuleGroupExportParams
- func NewRouteGetAlertRuleGroupExportParamsWithContext(ctx context.Context) *RouteGetAlertRuleGroupExportParams
- func NewRouteGetAlertRuleGroupExportParamsWithHTTPClient(client *http.Client) *RouteGetAlertRuleGroupExportParams
- func NewRouteGetAlertRuleGroupExportParamsWithTimeout(timeout time.Duration) *RouteGetAlertRuleGroupExportParams
- func (o *RouteGetAlertRuleGroupExportParams) SetContext(ctx context.Context)
- func (o *RouteGetAlertRuleGroupExportParams) SetDefaults()
- func (o *RouteGetAlertRuleGroupExportParams) SetDownload(download *bool)
- func (o *RouteGetAlertRuleGroupExportParams) SetFolderUID(folderUID string)
- func (o *RouteGetAlertRuleGroupExportParams) SetFormat(format *string)
- func (o *RouteGetAlertRuleGroupExportParams) SetGroup(group string)
- func (o *RouteGetAlertRuleGroupExportParams) SetHTTPClient(client *http.Client)
- func (o *RouteGetAlertRuleGroupExportParams) SetTimeout(timeout time.Duration)
- func (o *RouteGetAlertRuleGroupExportParams) WithContext(ctx context.Context) *RouteGetAlertRuleGroupExportParams
- func (o *RouteGetAlertRuleGroupExportParams) WithDefaults() *RouteGetAlertRuleGroupExportParams
- func (o *RouteGetAlertRuleGroupExportParams) WithDownload(download *bool) *RouteGetAlertRuleGroupExportParams
- func (o *RouteGetAlertRuleGroupExportParams) WithFolderUID(folderUID string) *RouteGetAlertRuleGroupExportParams
- func (o *RouteGetAlertRuleGroupExportParams) WithFormat(format *string) *RouteGetAlertRuleGroupExportParams
- func (o *RouteGetAlertRuleGroupExportParams) WithGroup(group string) *RouteGetAlertRuleGroupExportParams
- func (o *RouteGetAlertRuleGroupExportParams) WithHTTPClient(client *http.Client) *RouteGetAlertRuleGroupExportParams
- func (o *RouteGetAlertRuleGroupExportParams) WithTimeout(timeout time.Duration) *RouteGetAlertRuleGroupExportParams
- func (o *RouteGetAlertRuleGroupExportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RouteGetAlertRuleGroupExportReader
- type RouteGetAlertRuleGroupNotFound
- type RouteGetAlertRuleGroupOK
- type RouteGetAlertRuleGroupParams
- func NewRouteGetAlertRuleGroupParams() *RouteGetAlertRuleGroupParams
- func NewRouteGetAlertRuleGroupParamsWithContext(ctx context.Context) *RouteGetAlertRuleGroupParams
- func NewRouteGetAlertRuleGroupParamsWithHTTPClient(client *http.Client) *RouteGetAlertRuleGroupParams
- func NewRouteGetAlertRuleGroupParamsWithTimeout(timeout time.Duration) *RouteGetAlertRuleGroupParams
- func (o *RouteGetAlertRuleGroupParams) SetContext(ctx context.Context)
- func (o *RouteGetAlertRuleGroupParams) SetDefaults()
- func (o *RouteGetAlertRuleGroupParams) SetFolderUID(folderUID string)
- func (o *RouteGetAlertRuleGroupParams) SetGroup(group string)
- func (o *RouteGetAlertRuleGroupParams) SetHTTPClient(client *http.Client)
- func (o *RouteGetAlertRuleGroupParams) SetTimeout(timeout time.Duration)
- func (o *RouteGetAlertRuleGroupParams) WithContext(ctx context.Context) *RouteGetAlertRuleGroupParams
- func (o *RouteGetAlertRuleGroupParams) WithDefaults() *RouteGetAlertRuleGroupParams
- func (o *RouteGetAlertRuleGroupParams) WithFolderUID(folderUID string) *RouteGetAlertRuleGroupParams
- func (o *RouteGetAlertRuleGroupParams) WithGroup(group string) *RouteGetAlertRuleGroupParams
- func (o *RouteGetAlertRuleGroupParams) WithHTTPClient(client *http.Client) *RouteGetAlertRuleGroupParams
- func (o *RouteGetAlertRuleGroupParams) WithTimeout(timeout time.Duration) *RouteGetAlertRuleGroupParams
- func (o *RouteGetAlertRuleGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RouteGetAlertRuleGroupReader
- type RouteGetAlertRuleNotFound
- type RouteGetAlertRuleOK
- type RouteGetAlertRuleParams
- func NewRouteGetAlertRuleParams() *RouteGetAlertRuleParams
- func NewRouteGetAlertRuleParamsWithContext(ctx context.Context) *RouteGetAlertRuleParams
- func NewRouteGetAlertRuleParamsWithHTTPClient(client *http.Client) *RouteGetAlertRuleParams
- func NewRouteGetAlertRuleParamsWithTimeout(timeout time.Duration) *RouteGetAlertRuleParams
- func (o *RouteGetAlertRuleParams) SetContext(ctx context.Context)
- func (o *RouteGetAlertRuleParams) SetDefaults()
- func (o *RouteGetAlertRuleParams) SetHTTPClient(client *http.Client)
- func (o *RouteGetAlertRuleParams) SetTimeout(timeout time.Duration)
- func (o *RouteGetAlertRuleParams) SetUID(uid string)
- func (o *RouteGetAlertRuleParams) WithContext(ctx context.Context) *RouteGetAlertRuleParams
- func (o *RouteGetAlertRuleParams) WithDefaults() *RouteGetAlertRuleParams
- func (o *RouteGetAlertRuleParams) WithHTTPClient(client *http.Client) *RouteGetAlertRuleParams
- func (o *RouteGetAlertRuleParams) WithTimeout(timeout time.Duration) *RouteGetAlertRuleParams
- func (o *RouteGetAlertRuleParams) WithUID(uid string) *RouteGetAlertRuleParams
- func (o *RouteGetAlertRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RouteGetAlertRuleReader
- type RouteGetAlertRulesExportNotFound
- type RouteGetAlertRulesExportOK
- type RouteGetAlertRulesExportParams
- func NewRouteGetAlertRulesExportParams() *RouteGetAlertRulesExportParams
- func NewRouteGetAlertRulesExportParamsWithContext(ctx context.Context) *RouteGetAlertRulesExportParams
- func NewRouteGetAlertRulesExportParamsWithHTTPClient(client *http.Client) *RouteGetAlertRulesExportParams
- func NewRouteGetAlertRulesExportParamsWithTimeout(timeout time.Duration) *RouteGetAlertRulesExportParams
- func (o *RouteGetAlertRulesExportParams) SetContext(ctx context.Context)
- func (o *RouteGetAlertRulesExportParams) SetDefaults()
- func (o *RouteGetAlertRulesExportParams) SetDownload(download *bool)
- func (o *RouteGetAlertRulesExportParams) SetFormat(format *string)
- func (o *RouteGetAlertRulesExportParams) SetHTTPClient(client *http.Client)
- func (o *RouteGetAlertRulesExportParams) SetTimeout(timeout time.Duration)
- func (o *RouteGetAlertRulesExportParams) WithContext(ctx context.Context) *RouteGetAlertRulesExportParams
- func (o *RouteGetAlertRulesExportParams) WithDefaults() *RouteGetAlertRulesExportParams
- func (o *RouteGetAlertRulesExportParams) WithDownload(download *bool) *RouteGetAlertRulesExportParams
- func (o *RouteGetAlertRulesExportParams) WithFormat(format *string) *RouteGetAlertRulesExportParams
- func (o *RouteGetAlertRulesExportParams) WithHTTPClient(client *http.Client) *RouteGetAlertRulesExportParams
- func (o *RouteGetAlertRulesExportParams) WithTimeout(timeout time.Duration) *RouteGetAlertRulesExportParams
- func (o *RouteGetAlertRulesExportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RouteGetAlertRulesExportReader
- type RouteGetAlertRulesOK
- type RouteGetAlertRulesParams
- func NewRouteGetAlertRulesParams() *RouteGetAlertRulesParams
- func NewRouteGetAlertRulesParamsWithContext(ctx context.Context) *RouteGetAlertRulesParams
- func NewRouteGetAlertRulesParamsWithHTTPClient(client *http.Client) *RouteGetAlertRulesParams
- func NewRouteGetAlertRulesParamsWithTimeout(timeout time.Duration) *RouteGetAlertRulesParams
- func (o *RouteGetAlertRulesParams) SetContext(ctx context.Context)
- func (o *RouteGetAlertRulesParams) SetDefaults()
- func (o *RouteGetAlertRulesParams) SetHTTPClient(client *http.Client)
- func (o *RouteGetAlertRulesParams) SetTimeout(timeout time.Duration)
- func (o *RouteGetAlertRulesParams) WithContext(ctx context.Context) *RouteGetAlertRulesParams
- func (o *RouteGetAlertRulesParams) WithDefaults() *RouteGetAlertRulesParams
- func (o *RouteGetAlertRulesParams) WithHTTPClient(client *http.Client) *RouteGetAlertRulesParams
- func (o *RouteGetAlertRulesParams) WithTimeout(timeout time.Duration) *RouteGetAlertRulesParams
- func (o *RouteGetAlertRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RouteGetAlertRulesReader
- type RouteGetContactpointsOK
- type RouteGetContactpointsParams
- func NewRouteGetContactpointsParams() *RouteGetContactpointsParams
- func NewRouteGetContactpointsParamsWithContext(ctx context.Context) *RouteGetContactpointsParams
- func NewRouteGetContactpointsParamsWithHTTPClient(client *http.Client) *RouteGetContactpointsParams
- func NewRouteGetContactpointsParamsWithTimeout(timeout time.Duration) *RouteGetContactpointsParams
- func (o *RouteGetContactpointsParams) SetContext(ctx context.Context)
- func (o *RouteGetContactpointsParams) SetDefaults()
- func (o *RouteGetContactpointsParams) SetHTTPClient(client *http.Client)
- func (o *RouteGetContactpointsParams) SetName(name *string)
- func (o *RouteGetContactpointsParams) SetTimeout(timeout time.Duration)
- func (o *RouteGetContactpointsParams) WithContext(ctx context.Context) *RouteGetContactpointsParams
- func (o *RouteGetContactpointsParams) WithDefaults() *RouteGetContactpointsParams
- func (o *RouteGetContactpointsParams) WithHTTPClient(client *http.Client) *RouteGetContactpointsParams
- func (o *RouteGetContactpointsParams) WithName(name *string) *RouteGetContactpointsParams
- func (o *RouteGetContactpointsParams) WithTimeout(timeout time.Duration) *RouteGetContactpointsParams
- func (o *RouteGetContactpointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RouteGetContactpointsReader
- type RouteGetMuteTimingNotFound
- type RouteGetMuteTimingOK
- type RouteGetMuteTimingParams
- func NewRouteGetMuteTimingParams() *RouteGetMuteTimingParams
- func NewRouteGetMuteTimingParamsWithContext(ctx context.Context) *RouteGetMuteTimingParams
- func NewRouteGetMuteTimingParamsWithHTTPClient(client *http.Client) *RouteGetMuteTimingParams
- func NewRouteGetMuteTimingParamsWithTimeout(timeout time.Duration) *RouteGetMuteTimingParams
- func (o *RouteGetMuteTimingParams) SetContext(ctx context.Context)
- func (o *RouteGetMuteTimingParams) SetDefaults()
- func (o *RouteGetMuteTimingParams) SetHTTPClient(client *http.Client)
- func (o *RouteGetMuteTimingParams) SetName(name string)
- func (o *RouteGetMuteTimingParams) SetTimeout(timeout time.Duration)
- func (o *RouteGetMuteTimingParams) WithContext(ctx context.Context) *RouteGetMuteTimingParams
- func (o *RouteGetMuteTimingParams) WithDefaults() *RouteGetMuteTimingParams
- func (o *RouteGetMuteTimingParams) WithHTTPClient(client *http.Client) *RouteGetMuteTimingParams
- func (o *RouteGetMuteTimingParams) WithName(name string) *RouteGetMuteTimingParams
- func (o *RouteGetMuteTimingParams) WithTimeout(timeout time.Duration) *RouteGetMuteTimingParams
- func (o *RouteGetMuteTimingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RouteGetMuteTimingReader
- type RouteGetMuteTimingsOK
- type RouteGetMuteTimingsParams
- func NewRouteGetMuteTimingsParams() *RouteGetMuteTimingsParams
- func NewRouteGetMuteTimingsParamsWithContext(ctx context.Context) *RouteGetMuteTimingsParams
- func NewRouteGetMuteTimingsParamsWithHTTPClient(client *http.Client) *RouteGetMuteTimingsParams
- func NewRouteGetMuteTimingsParamsWithTimeout(timeout time.Duration) *RouteGetMuteTimingsParams
- func (o *RouteGetMuteTimingsParams) SetContext(ctx context.Context)
- func (o *RouteGetMuteTimingsParams) SetDefaults()
- func (o *RouteGetMuteTimingsParams) SetHTTPClient(client *http.Client)
- func (o *RouteGetMuteTimingsParams) SetTimeout(timeout time.Duration)
- func (o *RouteGetMuteTimingsParams) WithContext(ctx context.Context) *RouteGetMuteTimingsParams
- func (o *RouteGetMuteTimingsParams) WithDefaults() *RouteGetMuteTimingsParams
- func (o *RouteGetMuteTimingsParams) WithHTTPClient(client *http.Client) *RouteGetMuteTimingsParams
- func (o *RouteGetMuteTimingsParams) WithTimeout(timeout time.Duration) *RouteGetMuteTimingsParams
- func (o *RouteGetMuteTimingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RouteGetMuteTimingsReader
- type RouteGetPolicyTreeOK
- type RouteGetPolicyTreeParams
- func NewRouteGetPolicyTreeParams() *RouteGetPolicyTreeParams
- func NewRouteGetPolicyTreeParamsWithContext(ctx context.Context) *RouteGetPolicyTreeParams
- func NewRouteGetPolicyTreeParamsWithHTTPClient(client *http.Client) *RouteGetPolicyTreeParams
- func NewRouteGetPolicyTreeParamsWithTimeout(timeout time.Duration) *RouteGetPolicyTreeParams
- func (o *RouteGetPolicyTreeParams) SetContext(ctx context.Context)
- func (o *RouteGetPolicyTreeParams) SetDefaults()
- func (o *RouteGetPolicyTreeParams) SetHTTPClient(client *http.Client)
- func (o *RouteGetPolicyTreeParams) SetTimeout(timeout time.Duration)
- func (o *RouteGetPolicyTreeParams) WithContext(ctx context.Context) *RouteGetPolicyTreeParams
- func (o *RouteGetPolicyTreeParams) WithDefaults() *RouteGetPolicyTreeParams
- func (o *RouteGetPolicyTreeParams) WithHTTPClient(client *http.Client) *RouteGetPolicyTreeParams
- func (o *RouteGetPolicyTreeParams) WithTimeout(timeout time.Duration) *RouteGetPolicyTreeParams
- func (o *RouteGetPolicyTreeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RouteGetPolicyTreeReader
- type RouteGetTemplateNotFound
- type RouteGetTemplateOK
- type RouteGetTemplateParams
- func NewRouteGetTemplateParams() *RouteGetTemplateParams
- func NewRouteGetTemplateParamsWithContext(ctx context.Context) *RouteGetTemplateParams
- func NewRouteGetTemplateParamsWithHTTPClient(client *http.Client) *RouteGetTemplateParams
- func NewRouteGetTemplateParamsWithTimeout(timeout time.Duration) *RouteGetTemplateParams
- func (o *RouteGetTemplateParams) SetContext(ctx context.Context)
- func (o *RouteGetTemplateParams) SetDefaults()
- func (o *RouteGetTemplateParams) SetHTTPClient(client *http.Client)
- func (o *RouteGetTemplateParams) SetName(name string)
- func (o *RouteGetTemplateParams) SetTimeout(timeout time.Duration)
- func (o *RouteGetTemplateParams) WithContext(ctx context.Context) *RouteGetTemplateParams
- func (o *RouteGetTemplateParams) WithDefaults() *RouteGetTemplateParams
- func (o *RouteGetTemplateParams) WithHTTPClient(client *http.Client) *RouteGetTemplateParams
- func (o *RouteGetTemplateParams) WithName(name string) *RouteGetTemplateParams
- func (o *RouteGetTemplateParams) WithTimeout(timeout time.Duration) *RouteGetTemplateParams
- func (o *RouteGetTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RouteGetTemplateReader
- type RouteGetTemplatesNotFound
- type RouteGetTemplatesOK
- type RouteGetTemplatesParams
- func NewRouteGetTemplatesParams() *RouteGetTemplatesParams
- func NewRouteGetTemplatesParamsWithContext(ctx context.Context) *RouteGetTemplatesParams
- func NewRouteGetTemplatesParamsWithHTTPClient(client *http.Client) *RouteGetTemplatesParams
- func NewRouteGetTemplatesParamsWithTimeout(timeout time.Duration) *RouteGetTemplatesParams
- func (o *RouteGetTemplatesParams) SetContext(ctx context.Context)
- func (o *RouteGetTemplatesParams) SetDefaults()
- func (o *RouteGetTemplatesParams) SetHTTPClient(client *http.Client)
- func (o *RouteGetTemplatesParams) SetTimeout(timeout time.Duration)
- func (o *RouteGetTemplatesParams) WithContext(ctx context.Context) *RouteGetTemplatesParams
- func (o *RouteGetTemplatesParams) WithDefaults() *RouteGetTemplatesParams
- func (o *RouteGetTemplatesParams) WithHTTPClient(client *http.Client) *RouteGetTemplatesParams
- func (o *RouteGetTemplatesParams) WithTimeout(timeout time.Duration) *RouteGetTemplatesParams
- func (o *RouteGetTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RouteGetTemplatesReader
- type RoutePostAlertRuleBadRequest
- type RoutePostAlertRuleCreated
- type RoutePostAlertRuleParams
- func NewRoutePostAlertRuleParams() *RoutePostAlertRuleParams
- func NewRoutePostAlertRuleParamsWithContext(ctx context.Context) *RoutePostAlertRuleParams
- func NewRoutePostAlertRuleParamsWithHTTPClient(client *http.Client) *RoutePostAlertRuleParams
- func NewRoutePostAlertRuleParamsWithTimeout(timeout time.Duration) *RoutePostAlertRuleParams
- func (o *RoutePostAlertRuleParams) SetBody(body *models.ProvisionedAlertRule)
- func (o *RoutePostAlertRuleParams) SetContext(ctx context.Context)
- func (o *RoutePostAlertRuleParams) SetDefaults()
- func (o *RoutePostAlertRuleParams) SetHTTPClient(client *http.Client)
- func (o *RoutePostAlertRuleParams) SetTimeout(timeout time.Duration)
- func (o *RoutePostAlertRuleParams) SetXDisableProvenance(xDisableProvenance *string)
- func (o *RoutePostAlertRuleParams) WithBody(body *models.ProvisionedAlertRule) *RoutePostAlertRuleParams
- func (o *RoutePostAlertRuleParams) WithContext(ctx context.Context) *RoutePostAlertRuleParams
- func (o *RoutePostAlertRuleParams) WithDefaults() *RoutePostAlertRuleParams
- func (o *RoutePostAlertRuleParams) WithHTTPClient(client *http.Client) *RoutePostAlertRuleParams
- func (o *RoutePostAlertRuleParams) WithTimeout(timeout time.Duration) *RoutePostAlertRuleParams
- func (o *RoutePostAlertRuleParams) WithXDisableProvenance(xDisableProvenance *string) *RoutePostAlertRuleParams
- func (o *RoutePostAlertRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RoutePostAlertRuleReader
- type RoutePostContactpointsAccepted
- type RoutePostContactpointsBadRequest
- type RoutePostContactpointsParams
- func NewRoutePostContactpointsParams() *RoutePostContactpointsParams
- func NewRoutePostContactpointsParamsWithContext(ctx context.Context) *RoutePostContactpointsParams
- func NewRoutePostContactpointsParamsWithHTTPClient(client *http.Client) *RoutePostContactpointsParams
- func NewRoutePostContactpointsParamsWithTimeout(timeout time.Duration) *RoutePostContactpointsParams
- func (o *RoutePostContactpointsParams) SetBody(body *models.EmbeddedContactPoint)
- func (o *RoutePostContactpointsParams) SetContext(ctx context.Context)
- func (o *RoutePostContactpointsParams) SetDefaults()
- func (o *RoutePostContactpointsParams) SetHTTPClient(client *http.Client)
- func (o *RoutePostContactpointsParams) SetTimeout(timeout time.Duration)
- func (o *RoutePostContactpointsParams) WithBody(body *models.EmbeddedContactPoint) *RoutePostContactpointsParams
- func (o *RoutePostContactpointsParams) WithContext(ctx context.Context) *RoutePostContactpointsParams
- func (o *RoutePostContactpointsParams) WithDefaults() *RoutePostContactpointsParams
- func (o *RoutePostContactpointsParams) WithHTTPClient(client *http.Client) *RoutePostContactpointsParams
- func (o *RoutePostContactpointsParams) WithTimeout(timeout time.Duration) *RoutePostContactpointsParams
- func (o *RoutePostContactpointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RoutePostContactpointsReader
- type RoutePostMuteTimingBadRequest
- type RoutePostMuteTimingCreated
- type RoutePostMuteTimingParams
- func NewRoutePostMuteTimingParams() *RoutePostMuteTimingParams
- func NewRoutePostMuteTimingParamsWithContext(ctx context.Context) *RoutePostMuteTimingParams
- func NewRoutePostMuteTimingParamsWithHTTPClient(client *http.Client) *RoutePostMuteTimingParams
- func NewRoutePostMuteTimingParamsWithTimeout(timeout time.Duration) *RoutePostMuteTimingParams
- func (o *RoutePostMuteTimingParams) SetBody(body *models.MuteTimeInterval)
- func (o *RoutePostMuteTimingParams) SetContext(ctx context.Context)
- func (o *RoutePostMuteTimingParams) SetDefaults()
- func (o *RoutePostMuteTimingParams) SetHTTPClient(client *http.Client)
- func (o *RoutePostMuteTimingParams) SetTimeout(timeout time.Duration)
- func (o *RoutePostMuteTimingParams) WithBody(body *models.MuteTimeInterval) *RoutePostMuteTimingParams
- func (o *RoutePostMuteTimingParams) WithContext(ctx context.Context) *RoutePostMuteTimingParams
- func (o *RoutePostMuteTimingParams) WithDefaults() *RoutePostMuteTimingParams
- func (o *RoutePostMuteTimingParams) WithHTTPClient(client *http.Client) *RoutePostMuteTimingParams
- func (o *RoutePostMuteTimingParams) WithTimeout(timeout time.Duration) *RoutePostMuteTimingParams
- func (o *RoutePostMuteTimingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RoutePostMuteTimingReader
- type RoutePutAlertRuleBadRequest
- type RoutePutAlertRuleGroupBadRequest
- type RoutePutAlertRuleGroupOK
- type RoutePutAlertRuleGroupParams
- func NewRoutePutAlertRuleGroupParams() *RoutePutAlertRuleGroupParams
- func NewRoutePutAlertRuleGroupParamsWithContext(ctx context.Context) *RoutePutAlertRuleGroupParams
- func NewRoutePutAlertRuleGroupParamsWithHTTPClient(client *http.Client) *RoutePutAlertRuleGroupParams
- func NewRoutePutAlertRuleGroupParamsWithTimeout(timeout time.Duration) *RoutePutAlertRuleGroupParams
- func (o *RoutePutAlertRuleGroupParams) SetBody(body *models.AlertRuleGroup)
- func (o *RoutePutAlertRuleGroupParams) SetContext(ctx context.Context)
- func (o *RoutePutAlertRuleGroupParams) SetDefaults()
- func (o *RoutePutAlertRuleGroupParams) SetFolderUID(folderUID string)
- func (o *RoutePutAlertRuleGroupParams) SetGroup(group string)
- func (o *RoutePutAlertRuleGroupParams) SetHTTPClient(client *http.Client)
- func (o *RoutePutAlertRuleGroupParams) SetTimeout(timeout time.Duration)
- func (o *RoutePutAlertRuleGroupParams) WithBody(body *models.AlertRuleGroup) *RoutePutAlertRuleGroupParams
- func (o *RoutePutAlertRuleGroupParams) WithContext(ctx context.Context) *RoutePutAlertRuleGroupParams
- func (o *RoutePutAlertRuleGroupParams) WithDefaults() *RoutePutAlertRuleGroupParams
- func (o *RoutePutAlertRuleGroupParams) WithFolderUID(folderUID string) *RoutePutAlertRuleGroupParams
- func (o *RoutePutAlertRuleGroupParams) WithGroup(group string) *RoutePutAlertRuleGroupParams
- func (o *RoutePutAlertRuleGroupParams) WithHTTPClient(client *http.Client) *RoutePutAlertRuleGroupParams
- func (o *RoutePutAlertRuleGroupParams) WithTimeout(timeout time.Duration) *RoutePutAlertRuleGroupParams
- func (o *RoutePutAlertRuleGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RoutePutAlertRuleGroupReader
- type RoutePutAlertRuleOK
- type RoutePutAlertRuleParams
- func NewRoutePutAlertRuleParams() *RoutePutAlertRuleParams
- func NewRoutePutAlertRuleParamsWithContext(ctx context.Context) *RoutePutAlertRuleParams
- func NewRoutePutAlertRuleParamsWithHTTPClient(client *http.Client) *RoutePutAlertRuleParams
- func NewRoutePutAlertRuleParamsWithTimeout(timeout time.Duration) *RoutePutAlertRuleParams
- func (o *RoutePutAlertRuleParams) SetBody(body *models.ProvisionedAlertRule)
- func (o *RoutePutAlertRuleParams) SetContext(ctx context.Context)
- func (o *RoutePutAlertRuleParams) SetDefaults()
- func (o *RoutePutAlertRuleParams) SetHTTPClient(client *http.Client)
- func (o *RoutePutAlertRuleParams) SetTimeout(timeout time.Duration)
- func (o *RoutePutAlertRuleParams) SetUID(uid string)
- func (o *RoutePutAlertRuleParams) SetXDisableProvenance(xDisableProvenance *string)
- func (o *RoutePutAlertRuleParams) WithBody(body *models.ProvisionedAlertRule) *RoutePutAlertRuleParams
- func (o *RoutePutAlertRuleParams) WithContext(ctx context.Context) *RoutePutAlertRuleParams
- func (o *RoutePutAlertRuleParams) WithDefaults() *RoutePutAlertRuleParams
- func (o *RoutePutAlertRuleParams) WithHTTPClient(client *http.Client) *RoutePutAlertRuleParams
- func (o *RoutePutAlertRuleParams) WithTimeout(timeout time.Duration) *RoutePutAlertRuleParams
- func (o *RoutePutAlertRuleParams) WithUID(uid string) *RoutePutAlertRuleParams
- func (o *RoutePutAlertRuleParams) WithXDisableProvenance(xDisableProvenance *string) *RoutePutAlertRuleParams
- func (o *RoutePutAlertRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RoutePutAlertRuleReader
- type RoutePutContactpointAccepted
- type RoutePutContactpointBadRequest
- type RoutePutContactpointParams
- func NewRoutePutContactpointParams() *RoutePutContactpointParams
- func NewRoutePutContactpointParamsWithContext(ctx context.Context) *RoutePutContactpointParams
- func NewRoutePutContactpointParamsWithHTTPClient(client *http.Client) *RoutePutContactpointParams
- func NewRoutePutContactpointParamsWithTimeout(timeout time.Duration) *RoutePutContactpointParams
- func (o *RoutePutContactpointParams) SetBody(body *models.EmbeddedContactPoint)
- func (o *RoutePutContactpointParams) SetContext(ctx context.Context)
- func (o *RoutePutContactpointParams) SetDefaults()
- func (o *RoutePutContactpointParams) SetHTTPClient(client *http.Client)
- func (o *RoutePutContactpointParams) SetTimeout(timeout time.Duration)
- func (o *RoutePutContactpointParams) SetUID(uid string)
- func (o *RoutePutContactpointParams) WithBody(body *models.EmbeddedContactPoint) *RoutePutContactpointParams
- func (o *RoutePutContactpointParams) WithContext(ctx context.Context) *RoutePutContactpointParams
- func (o *RoutePutContactpointParams) WithDefaults() *RoutePutContactpointParams
- func (o *RoutePutContactpointParams) WithHTTPClient(client *http.Client) *RoutePutContactpointParams
- func (o *RoutePutContactpointParams) WithTimeout(timeout time.Duration) *RoutePutContactpointParams
- func (o *RoutePutContactpointParams) WithUID(uid string) *RoutePutContactpointParams
- func (o *RoutePutContactpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RoutePutContactpointReader
- type RoutePutMuteTimingBadRequest
- type RoutePutMuteTimingOK
- type RoutePutMuteTimingParams
- func NewRoutePutMuteTimingParams() *RoutePutMuteTimingParams
- func NewRoutePutMuteTimingParamsWithContext(ctx context.Context) *RoutePutMuteTimingParams
- func NewRoutePutMuteTimingParamsWithHTTPClient(client *http.Client) *RoutePutMuteTimingParams
- func NewRoutePutMuteTimingParamsWithTimeout(timeout time.Duration) *RoutePutMuteTimingParams
- func (o *RoutePutMuteTimingParams) SetBody(body *models.MuteTimeInterval)
- func (o *RoutePutMuteTimingParams) SetContext(ctx context.Context)
- func (o *RoutePutMuteTimingParams) SetDefaults()
- func (o *RoutePutMuteTimingParams) SetHTTPClient(client *http.Client)
- func (o *RoutePutMuteTimingParams) SetName(name string)
- func (o *RoutePutMuteTimingParams) SetTimeout(timeout time.Duration)
- func (o *RoutePutMuteTimingParams) WithBody(body *models.MuteTimeInterval) *RoutePutMuteTimingParams
- func (o *RoutePutMuteTimingParams) WithContext(ctx context.Context) *RoutePutMuteTimingParams
- func (o *RoutePutMuteTimingParams) WithDefaults() *RoutePutMuteTimingParams
- func (o *RoutePutMuteTimingParams) WithHTTPClient(client *http.Client) *RoutePutMuteTimingParams
- func (o *RoutePutMuteTimingParams) WithName(name string) *RoutePutMuteTimingParams
- func (o *RoutePutMuteTimingParams) WithTimeout(timeout time.Duration) *RoutePutMuteTimingParams
- func (o *RoutePutMuteTimingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RoutePutMuteTimingReader
- type RoutePutPolicyTreeAccepted
- type RoutePutPolicyTreeBadRequest
- type RoutePutPolicyTreeParams
- func NewRoutePutPolicyTreeParams() *RoutePutPolicyTreeParams
- func NewRoutePutPolicyTreeParamsWithContext(ctx context.Context) *RoutePutPolicyTreeParams
- func NewRoutePutPolicyTreeParamsWithHTTPClient(client *http.Client) *RoutePutPolicyTreeParams
- func NewRoutePutPolicyTreeParamsWithTimeout(timeout time.Duration) *RoutePutPolicyTreeParams
- func (o *RoutePutPolicyTreeParams) SetBody(body *models.Route)
- func (o *RoutePutPolicyTreeParams) SetContext(ctx context.Context)
- func (o *RoutePutPolicyTreeParams) SetDefaults()
- func (o *RoutePutPolicyTreeParams) SetHTTPClient(client *http.Client)
- func (o *RoutePutPolicyTreeParams) SetTimeout(timeout time.Duration)
- func (o *RoutePutPolicyTreeParams) WithBody(body *models.Route) *RoutePutPolicyTreeParams
- func (o *RoutePutPolicyTreeParams) WithContext(ctx context.Context) *RoutePutPolicyTreeParams
- func (o *RoutePutPolicyTreeParams) WithDefaults() *RoutePutPolicyTreeParams
- func (o *RoutePutPolicyTreeParams) WithHTTPClient(client *http.Client) *RoutePutPolicyTreeParams
- func (o *RoutePutPolicyTreeParams) WithTimeout(timeout time.Duration) *RoutePutPolicyTreeParams
- func (o *RoutePutPolicyTreeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RoutePutPolicyTreeReader
- type RoutePutTemplateAccepted
- type RoutePutTemplateBadRequest
- type RoutePutTemplateParams
- func NewRoutePutTemplateParams() *RoutePutTemplateParams
- func NewRoutePutTemplateParamsWithContext(ctx context.Context) *RoutePutTemplateParams
- func NewRoutePutTemplateParamsWithHTTPClient(client *http.Client) *RoutePutTemplateParams
- func NewRoutePutTemplateParamsWithTimeout(timeout time.Duration) *RoutePutTemplateParams
- func (o *RoutePutTemplateParams) SetBody(body *models.NotificationTemplateContent)
- func (o *RoutePutTemplateParams) SetContext(ctx context.Context)
- func (o *RoutePutTemplateParams) SetDefaults()
- func (o *RoutePutTemplateParams) SetHTTPClient(client *http.Client)
- func (o *RoutePutTemplateParams) SetName(name string)
- func (o *RoutePutTemplateParams) SetTimeout(timeout time.Duration)
- func (o *RoutePutTemplateParams) WithBody(body *models.NotificationTemplateContent) *RoutePutTemplateParams
- func (o *RoutePutTemplateParams) WithContext(ctx context.Context) *RoutePutTemplateParams
- func (o *RoutePutTemplateParams) WithDefaults() *RoutePutTemplateParams
- func (o *RoutePutTemplateParams) WithHTTPClient(client *http.Client) *RoutePutTemplateParams
- func (o *RoutePutTemplateParams) WithName(name string) *RoutePutTemplateParams
- func (o *RoutePutTemplateParams) WithTimeout(timeout time.Duration) *RoutePutTemplateParams
- func (o *RoutePutTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RoutePutTemplateReader
- type RouteResetPolicyTreeAccepted
- type RouteResetPolicyTreeParams
- func NewRouteResetPolicyTreeParams() *RouteResetPolicyTreeParams
- func NewRouteResetPolicyTreeParamsWithContext(ctx context.Context) *RouteResetPolicyTreeParams
- func NewRouteResetPolicyTreeParamsWithHTTPClient(client *http.Client) *RouteResetPolicyTreeParams
- func NewRouteResetPolicyTreeParamsWithTimeout(timeout time.Duration) *RouteResetPolicyTreeParams
- func (o *RouteResetPolicyTreeParams) SetContext(ctx context.Context)
- func (o *RouteResetPolicyTreeParams) SetDefaults()
- func (o *RouteResetPolicyTreeParams) SetHTTPClient(client *http.Client)
- func (o *RouteResetPolicyTreeParams) SetTimeout(timeout time.Duration)
- func (o *RouteResetPolicyTreeParams) WithContext(ctx context.Context) *RouteResetPolicyTreeParams
- func (o *RouteResetPolicyTreeParams) WithDefaults() *RouteResetPolicyTreeParams
- func (o *RouteResetPolicyTreeParams) WithHTTPClient(client *http.Client) *RouteResetPolicyTreeParams
- func (o *RouteResetPolicyTreeParams) WithTimeout(timeout time.Duration) *RouteResetPolicyTreeParams
- func (o *RouteResetPolicyTreeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RouteResetPolicyTreeReader
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) RouteDeleteAlertRule ¶
func (a *Client) RouteDeleteAlertRule(params *RouteDeleteAlertRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RouteDeleteAlertRuleNoContent, error)
RouteDeleteAlertRule deletes a specific alert rule by UID
func (*Client) RouteDeleteContactpoints ¶
func (a *Client) RouteDeleteContactpoints(params *RouteDeleteContactpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RouteDeleteContactpointsNoContent, error)
RouteDeleteContactpoints deletes a contact point
func (*Client) RouteDeleteMuteTiming ¶
func (a *Client) RouteDeleteMuteTiming(params *RouteDeleteMuteTimingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RouteDeleteMuteTimingNoContent, error)
RouteDeleteMuteTiming deletes a mute timing
func (*Client) RouteDeleteTemplate ¶
func (a *Client) RouteDeleteTemplate(params *RouteDeleteTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RouteDeleteTemplateNoContent, error)
RouteDeleteTemplate deletes a template
func (*Client) RouteGetAlertRule ¶
func (a *Client) RouteGetAlertRule(params *RouteGetAlertRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RouteGetAlertRuleOK, error)
RouteGetAlertRule gets a specific alert rule by UID
func (*Client) RouteGetAlertRuleExport ¶
func (a *Client) RouteGetAlertRuleExport(params *RouteGetAlertRuleExportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RouteGetAlertRuleExportOK, error)
RouteGetAlertRuleExport exports an alert rule in provisioning file format
func (*Client) RouteGetAlertRuleGroup ¶
func (a *Client) RouteGetAlertRuleGroup(params *RouteGetAlertRuleGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RouteGetAlertRuleGroupOK, error)
RouteGetAlertRuleGroup gets a rule group
func (*Client) RouteGetAlertRuleGroupExport ¶
func (a *Client) RouteGetAlertRuleGroupExport(params *RouteGetAlertRuleGroupExportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RouteGetAlertRuleGroupExportOK, error)
RouteGetAlertRuleGroupExport exports an alert rule group in provisioning file format
func (*Client) RouteGetAlertRules ¶
func (a *Client) RouteGetAlertRules(params *RouteGetAlertRulesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RouteGetAlertRulesOK, error)
RouteGetAlertRules gets all the alert rules
func (*Client) RouteGetAlertRulesExport ¶
func (a *Client) RouteGetAlertRulesExport(params *RouteGetAlertRulesExportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RouteGetAlertRulesExportOK, error)
RouteGetAlertRulesExport exports all alert rules in provisioning file format
func (*Client) RouteGetContactpoints ¶
func (a *Client) RouteGetContactpoints(params *RouteGetContactpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RouteGetContactpointsOK, error)
RouteGetContactpoints gets all the contact points
func (*Client) RouteGetMuteTiming ¶
func (a *Client) RouteGetMuteTiming(params *RouteGetMuteTimingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RouteGetMuteTimingOK, error)
RouteGetMuteTiming gets a mute timing
func (*Client) RouteGetMuteTimings ¶
func (a *Client) RouteGetMuteTimings(params *RouteGetMuteTimingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RouteGetMuteTimingsOK, error)
RouteGetMuteTimings gets all the mute timings
func (*Client) RouteGetPolicyTree ¶
func (a *Client) RouteGetPolicyTree(params *RouteGetPolicyTreeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RouteGetPolicyTreeOK, error)
RouteGetPolicyTree gets the notification policy tree
func (*Client) RouteGetTemplate ¶
func (a *Client) RouteGetTemplate(params *RouteGetTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RouteGetTemplateOK, error)
RouteGetTemplate gets a notification template
func (*Client) RouteGetTemplates ¶
func (a *Client) RouteGetTemplates(params *RouteGetTemplatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RouteGetTemplatesOK, error)
RouteGetTemplates gets all notification templates
func (*Client) RoutePostAlertRule ¶
func (a *Client) RoutePostAlertRule(params *RoutePostAlertRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RoutePostAlertRuleCreated, error)
RoutePostAlertRule creates a new alert rule
func (*Client) RoutePostContactpoints ¶
func (a *Client) RoutePostContactpoints(params *RoutePostContactpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RoutePostContactpointsAccepted, error)
RoutePostContactpoints creates a contact point
func (*Client) RoutePostMuteTiming ¶
func (a *Client) RoutePostMuteTiming(params *RoutePostMuteTimingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RoutePostMuteTimingCreated, error)
RoutePostMuteTiming creates a new mute timing
func (*Client) RoutePutAlertRule ¶
func (a *Client) RoutePutAlertRule(params *RoutePutAlertRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RoutePutAlertRuleOK, error)
RoutePutAlertRule updates an existing alert rule
func (*Client) RoutePutAlertRuleGroup ¶
func (a *Client) RoutePutAlertRuleGroup(params *RoutePutAlertRuleGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RoutePutAlertRuleGroupOK, error)
RoutePutAlertRuleGroup updates the interval of a rule group
func (*Client) RoutePutContactpoint ¶
func (a *Client) RoutePutContactpoint(params *RoutePutContactpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RoutePutContactpointAccepted, error)
RoutePutContactpoint updates an existing contact point
func (*Client) RoutePutMuteTiming ¶
func (a *Client) RoutePutMuteTiming(params *RoutePutMuteTimingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RoutePutMuteTimingOK, error)
RoutePutMuteTiming replaces an existing mute timing
func (*Client) RoutePutPolicyTree ¶
func (a *Client) RoutePutPolicyTree(params *RoutePutPolicyTreeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RoutePutPolicyTreeAccepted, error)
RoutePutPolicyTree sets the notification policy tree
func (*Client) RoutePutTemplate ¶
func (a *Client) RoutePutTemplate(params *RoutePutTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RoutePutTemplateAccepted, error)
RoutePutTemplate updates an existing notification template
func (*Client) RouteResetPolicyTree ¶
func (a *Client) RouteResetPolicyTree(params *RouteResetPolicyTreeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RouteResetPolicyTreeAccepted, error)
RouteResetPolicyTree clears the notification policy tree
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
type ClientService ¶
type ClientService interface { RouteDeleteAlertRule(params *RouteDeleteAlertRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RouteDeleteAlertRuleNoContent, error) RouteDeleteContactpoints(params *RouteDeleteContactpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RouteDeleteContactpointsNoContent, error) RouteDeleteMuteTiming(params *RouteDeleteMuteTimingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RouteDeleteMuteTimingNoContent, error) RouteDeleteTemplate(params *RouteDeleteTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RouteDeleteTemplateNoContent, error) RouteGetAlertRule(params *RouteGetAlertRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RouteGetAlertRuleOK, error) RouteGetAlertRuleExport(params *RouteGetAlertRuleExportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RouteGetAlertRuleExportOK, error) RouteGetAlertRuleGroup(params *RouteGetAlertRuleGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RouteGetAlertRuleGroupOK, error) RouteGetAlertRuleGroupExport(params *RouteGetAlertRuleGroupExportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RouteGetAlertRuleGroupExportOK, error) RouteGetAlertRules(params *RouteGetAlertRulesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RouteGetAlertRulesOK, error) RouteGetAlertRulesExport(params *RouteGetAlertRulesExportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RouteGetAlertRulesExportOK, error) RouteGetContactpoints(params *RouteGetContactpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RouteGetContactpointsOK, error) RouteGetMuteTiming(params *RouteGetMuteTimingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RouteGetMuteTimingOK, error) RouteGetMuteTimings(params *RouteGetMuteTimingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RouteGetMuteTimingsOK, error) RouteGetPolicyTree(params *RouteGetPolicyTreeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RouteGetPolicyTreeOK, error) RouteGetTemplate(params *RouteGetTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RouteGetTemplateOK, error) RouteGetTemplates(params *RouteGetTemplatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RouteGetTemplatesOK, error) RoutePostAlertRule(params *RoutePostAlertRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RoutePostAlertRuleCreated, error) RoutePostContactpoints(params *RoutePostContactpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RoutePostContactpointsAccepted, error) RoutePostMuteTiming(params *RoutePostMuteTimingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RoutePostMuteTimingCreated, error) RoutePutAlertRule(params *RoutePutAlertRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RoutePutAlertRuleOK, error) RoutePutAlertRuleGroup(params *RoutePutAlertRuleGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RoutePutAlertRuleGroupOK, error) RoutePutContactpoint(params *RoutePutContactpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RoutePutContactpointAccepted, error) RoutePutMuteTiming(params *RoutePutMuteTimingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RoutePutMuteTimingOK, error) RoutePutPolicyTree(params *RoutePutPolicyTreeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RoutePutPolicyTreeAccepted, error) RoutePutTemplate(params *RoutePutTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RoutePutTemplateAccepted, error) RouteResetPolicyTree(params *RouteResetPolicyTreeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RouteResetPolicyTreeAccepted, 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 RouteDeleteAlertRuleNoContent ¶
type RouteDeleteAlertRuleNoContent struct { }
RouteDeleteAlertRuleNoContent describes a response with status code 204, with default header values.
The alert rule was deleted successfully.
func NewRouteDeleteAlertRuleNoContent ¶
func NewRouteDeleteAlertRuleNoContent() *RouteDeleteAlertRuleNoContent
NewRouteDeleteAlertRuleNoContent creates a RouteDeleteAlertRuleNoContent with default headers values
func (*RouteDeleteAlertRuleNoContent) Error ¶
func (o *RouteDeleteAlertRuleNoContent) Error() string
type RouteDeleteAlertRuleParams ¶
type RouteDeleteAlertRuleParams struct { /* UID. Alert rule UID */ UID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RouteDeleteAlertRuleParams contains all the parameters to send to the API endpoint
for the route delete alert rule operation. Typically these are written to a http.Request.
func NewRouteDeleteAlertRuleParams ¶
func NewRouteDeleteAlertRuleParams() *RouteDeleteAlertRuleParams
NewRouteDeleteAlertRuleParams creates a new RouteDeleteAlertRuleParams 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 NewRouteDeleteAlertRuleParamsWithContext ¶
func NewRouteDeleteAlertRuleParamsWithContext(ctx context.Context) *RouteDeleteAlertRuleParams
NewRouteDeleteAlertRuleParamsWithContext creates a new RouteDeleteAlertRuleParams object with the ability to set a context for a request.
func NewRouteDeleteAlertRuleParamsWithHTTPClient ¶
func NewRouteDeleteAlertRuleParamsWithHTTPClient(client *http.Client) *RouteDeleteAlertRuleParams
NewRouteDeleteAlertRuleParamsWithHTTPClient creates a new RouteDeleteAlertRuleParams object with the ability to set a custom HTTPClient for a request.
func NewRouteDeleteAlertRuleParamsWithTimeout ¶
func NewRouteDeleteAlertRuleParamsWithTimeout(timeout time.Duration) *RouteDeleteAlertRuleParams
NewRouteDeleteAlertRuleParamsWithTimeout creates a new RouteDeleteAlertRuleParams object with the ability to set a timeout on a request.
func (*RouteDeleteAlertRuleParams) SetContext ¶
func (o *RouteDeleteAlertRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the route delete alert rule params
func (*RouteDeleteAlertRuleParams) SetDefaults ¶
func (o *RouteDeleteAlertRuleParams) SetDefaults()
SetDefaults hydrates default values in the route delete alert rule params (not the query body).
All values with no default are reset to their zero value.
func (*RouteDeleteAlertRuleParams) SetHTTPClient ¶
func (o *RouteDeleteAlertRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the route delete alert rule params
func (*RouteDeleteAlertRuleParams) SetTimeout ¶
func (o *RouteDeleteAlertRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the route delete alert rule params
func (*RouteDeleteAlertRuleParams) SetUID ¶
func (o *RouteDeleteAlertRuleParams) SetUID(uid string)
SetUID adds the uid to the route delete alert rule params
func (*RouteDeleteAlertRuleParams) WithContext ¶
func (o *RouteDeleteAlertRuleParams) WithContext(ctx context.Context) *RouteDeleteAlertRuleParams
WithContext adds the context to the route delete alert rule params
func (*RouteDeleteAlertRuleParams) WithDefaults ¶
func (o *RouteDeleteAlertRuleParams) WithDefaults() *RouteDeleteAlertRuleParams
WithDefaults hydrates default values in the route delete alert rule params (not the query body).
All values with no default are reset to their zero value.
func (*RouteDeleteAlertRuleParams) WithHTTPClient ¶
func (o *RouteDeleteAlertRuleParams) WithHTTPClient(client *http.Client) *RouteDeleteAlertRuleParams
WithHTTPClient adds the HTTPClient to the route delete alert rule params
func (*RouteDeleteAlertRuleParams) WithTimeout ¶
func (o *RouteDeleteAlertRuleParams) WithTimeout(timeout time.Duration) *RouteDeleteAlertRuleParams
WithTimeout adds the timeout to the route delete alert rule params
func (*RouteDeleteAlertRuleParams) WithUID ¶
func (o *RouteDeleteAlertRuleParams) WithUID(uid string) *RouteDeleteAlertRuleParams
WithUID adds the uid to the route delete alert rule params
func (*RouteDeleteAlertRuleParams) WriteToRequest ¶
func (o *RouteDeleteAlertRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RouteDeleteAlertRuleReader ¶
type RouteDeleteAlertRuleReader struct {
// contains filtered or unexported fields
}
RouteDeleteAlertRuleReader is a Reader for the RouteDeleteAlertRule structure.
func (*RouteDeleteAlertRuleReader) ReadResponse ¶
func (o *RouteDeleteAlertRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RouteDeleteContactpointsNoContent ¶
type RouteDeleteContactpointsNoContent struct { }
RouteDeleteContactpointsNoContent describes a response with status code 204, with default header values.
The contact point was deleted successfully.
func NewRouteDeleteContactpointsNoContent ¶
func NewRouteDeleteContactpointsNoContent() *RouteDeleteContactpointsNoContent
NewRouteDeleteContactpointsNoContent creates a RouteDeleteContactpointsNoContent with default headers values
func (*RouteDeleteContactpointsNoContent) Error ¶
func (o *RouteDeleteContactpointsNoContent) Error() string
type RouteDeleteContactpointsParams ¶
type RouteDeleteContactpointsParams struct { /* UID. UID is the contact point unique identifier */ UID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RouteDeleteContactpointsParams contains all the parameters to send to the API endpoint
for the route delete contactpoints operation. Typically these are written to a http.Request.
func NewRouteDeleteContactpointsParams ¶
func NewRouteDeleteContactpointsParams() *RouteDeleteContactpointsParams
NewRouteDeleteContactpointsParams creates a new RouteDeleteContactpointsParams 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 NewRouteDeleteContactpointsParamsWithContext ¶
func NewRouteDeleteContactpointsParamsWithContext(ctx context.Context) *RouteDeleteContactpointsParams
NewRouteDeleteContactpointsParamsWithContext creates a new RouteDeleteContactpointsParams object with the ability to set a context for a request.
func NewRouteDeleteContactpointsParamsWithHTTPClient ¶
func NewRouteDeleteContactpointsParamsWithHTTPClient(client *http.Client) *RouteDeleteContactpointsParams
NewRouteDeleteContactpointsParamsWithHTTPClient creates a new RouteDeleteContactpointsParams object with the ability to set a custom HTTPClient for a request.
func NewRouteDeleteContactpointsParamsWithTimeout ¶
func NewRouteDeleteContactpointsParamsWithTimeout(timeout time.Duration) *RouteDeleteContactpointsParams
NewRouteDeleteContactpointsParamsWithTimeout creates a new RouteDeleteContactpointsParams object with the ability to set a timeout on a request.
func (*RouteDeleteContactpointsParams) SetContext ¶
func (o *RouteDeleteContactpointsParams) SetContext(ctx context.Context)
SetContext adds the context to the route delete contactpoints params
func (*RouteDeleteContactpointsParams) SetDefaults ¶
func (o *RouteDeleteContactpointsParams) SetDefaults()
SetDefaults hydrates default values in the route delete contactpoints params (not the query body).
All values with no default are reset to their zero value.
func (*RouteDeleteContactpointsParams) SetHTTPClient ¶
func (o *RouteDeleteContactpointsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the route delete contactpoints params
func (*RouteDeleteContactpointsParams) SetTimeout ¶
func (o *RouteDeleteContactpointsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the route delete contactpoints params
func (*RouteDeleteContactpointsParams) SetUID ¶
func (o *RouteDeleteContactpointsParams) SetUID(uid string)
SetUID adds the uid to the route delete contactpoints params
func (*RouteDeleteContactpointsParams) WithContext ¶
func (o *RouteDeleteContactpointsParams) WithContext(ctx context.Context) *RouteDeleteContactpointsParams
WithContext adds the context to the route delete contactpoints params
func (*RouteDeleteContactpointsParams) WithDefaults ¶
func (o *RouteDeleteContactpointsParams) WithDefaults() *RouteDeleteContactpointsParams
WithDefaults hydrates default values in the route delete contactpoints params (not the query body).
All values with no default are reset to their zero value.
func (*RouteDeleteContactpointsParams) WithHTTPClient ¶
func (o *RouteDeleteContactpointsParams) WithHTTPClient(client *http.Client) *RouteDeleteContactpointsParams
WithHTTPClient adds the HTTPClient to the route delete contactpoints params
func (*RouteDeleteContactpointsParams) WithTimeout ¶
func (o *RouteDeleteContactpointsParams) WithTimeout(timeout time.Duration) *RouteDeleteContactpointsParams
WithTimeout adds the timeout to the route delete contactpoints params
func (*RouteDeleteContactpointsParams) WithUID ¶
func (o *RouteDeleteContactpointsParams) WithUID(uid string) *RouteDeleteContactpointsParams
WithUID adds the uid to the route delete contactpoints params
func (*RouteDeleteContactpointsParams) WriteToRequest ¶
func (o *RouteDeleteContactpointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RouteDeleteContactpointsReader ¶
type RouteDeleteContactpointsReader struct {
// contains filtered or unexported fields
}
RouteDeleteContactpointsReader is a Reader for the RouteDeleteContactpoints structure.
func (*RouteDeleteContactpointsReader) ReadResponse ¶
func (o *RouteDeleteContactpointsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RouteDeleteMuteTimingNoContent ¶
type RouteDeleteMuteTimingNoContent struct { }
RouteDeleteMuteTimingNoContent describes a response with status code 204, with default header values.
The mute timing was deleted successfully.
func NewRouteDeleteMuteTimingNoContent ¶
func NewRouteDeleteMuteTimingNoContent() *RouteDeleteMuteTimingNoContent
NewRouteDeleteMuteTimingNoContent creates a RouteDeleteMuteTimingNoContent with default headers values
func (*RouteDeleteMuteTimingNoContent) Error ¶
func (o *RouteDeleteMuteTimingNoContent) Error() string
type RouteDeleteMuteTimingParams ¶
type RouteDeleteMuteTimingParams struct { /* Name. Mute timing name */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RouteDeleteMuteTimingParams contains all the parameters to send to the API endpoint
for the route delete mute timing operation. Typically these are written to a http.Request.
func NewRouteDeleteMuteTimingParams ¶
func NewRouteDeleteMuteTimingParams() *RouteDeleteMuteTimingParams
NewRouteDeleteMuteTimingParams creates a new RouteDeleteMuteTimingParams 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 NewRouteDeleteMuteTimingParamsWithContext ¶
func NewRouteDeleteMuteTimingParamsWithContext(ctx context.Context) *RouteDeleteMuteTimingParams
NewRouteDeleteMuteTimingParamsWithContext creates a new RouteDeleteMuteTimingParams object with the ability to set a context for a request.
func NewRouteDeleteMuteTimingParamsWithHTTPClient ¶
func NewRouteDeleteMuteTimingParamsWithHTTPClient(client *http.Client) *RouteDeleteMuteTimingParams
NewRouteDeleteMuteTimingParamsWithHTTPClient creates a new RouteDeleteMuteTimingParams object with the ability to set a custom HTTPClient for a request.
func NewRouteDeleteMuteTimingParamsWithTimeout ¶
func NewRouteDeleteMuteTimingParamsWithTimeout(timeout time.Duration) *RouteDeleteMuteTimingParams
NewRouteDeleteMuteTimingParamsWithTimeout creates a new RouteDeleteMuteTimingParams object with the ability to set a timeout on a request.
func (*RouteDeleteMuteTimingParams) SetContext ¶
func (o *RouteDeleteMuteTimingParams) SetContext(ctx context.Context)
SetContext adds the context to the route delete mute timing params
func (*RouteDeleteMuteTimingParams) SetDefaults ¶
func (o *RouteDeleteMuteTimingParams) SetDefaults()
SetDefaults hydrates default values in the route delete mute timing params (not the query body).
All values with no default are reset to their zero value.
func (*RouteDeleteMuteTimingParams) SetHTTPClient ¶
func (o *RouteDeleteMuteTimingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the route delete mute timing params
func (*RouteDeleteMuteTimingParams) SetName ¶
func (o *RouteDeleteMuteTimingParams) SetName(name string)
SetName adds the name to the route delete mute timing params
func (*RouteDeleteMuteTimingParams) SetTimeout ¶
func (o *RouteDeleteMuteTimingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the route delete mute timing params
func (*RouteDeleteMuteTimingParams) WithContext ¶
func (o *RouteDeleteMuteTimingParams) WithContext(ctx context.Context) *RouteDeleteMuteTimingParams
WithContext adds the context to the route delete mute timing params
func (*RouteDeleteMuteTimingParams) WithDefaults ¶
func (o *RouteDeleteMuteTimingParams) WithDefaults() *RouteDeleteMuteTimingParams
WithDefaults hydrates default values in the route delete mute timing params (not the query body).
All values with no default are reset to their zero value.
func (*RouteDeleteMuteTimingParams) WithHTTPClient ¶
func (o *RouteDeleteMuteTimingParams) WithHTTPClient(client *http.Client) *RouteDeleteMuteTimingParams
WithHTTPClient adds the HTTPClient to the route delete mute timing params
func (*RouteDeleteMuteTimingParams) WithName ¶
func (o *RouteDeleteMuteTimingParams) WithName(name string) *RouteDeleteMuteTimingParams
WithName adds the name to the route delete mute timing params
func (*RouteDeleteMuteTimingParams) WithTimeout ¶
func (o *RouteDeleteMuteTimingParams) WithTimeout(timeout time.Duration) *RouteDeleteMuteTimingParams
WithTimeout adds the timeout to the route delete mute timing params
func (*RouteDeleteMuteTimingParams) WriteToRequest ¶
func (o *RouteDeleteMuteTimingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RouteDeleteMuteTimingReader ¶
type RouteDeleteMuteTimingReader struct {
// contains filtered or unexported fields
}
RouteDeleteMuteTimingReader is a Reader for the RouteDeleteMuteTiming structure.
func (*RouteDeleteMuteTimingReader) ReadResponse ¶
func (o *RouteDeleteMuteTimingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RouteDeleteTemplateNoContent ¶
type RouteDeleteTemplateNoContent struct { }
RouteDeleteTemplateNoContent describes a response with status code 204, with default header values.
The template was deleted successfully.
func NewRouteDeleteTemplateNoContent ¶
func NewRouteDeleteTemplateNoContent() *RouteDeleteTemplateNoContent
NewRouteDeleteTemplateNoContent creates a RouteDeleteTemplateNoContent with default headers values
func (*RouteDeleteTemplateNoContent) Error ¶
func (o *RouteDeleteTemplateNoContent) Error() string
type RouteDeleteTemplateParams ¶
type RouteDeleteTemplateParams struct { /* Name. Template Name */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RouteDeleteTemplateParams contains all the parameters to send to the API endpoint
for the route delete template operation. Typically these are written to a http.Request.
func NewRouteDeleteTemplateParams ¶
func NewRouteDeleteTemplateParams() *RouteDeleteTemplateParams
NewRouteDeleteTemplateParams creates a new RouteDeleteTemplateParams 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 NewRouteDeleteTemplateParamsWithContext ¶
func NewRouteDeleteTemplateParamsWithContext(ctx context.Context) *RouteDeleteTemplateParams
NewRouteDeleteTemplateParamsWithContext creates a new RouteDeleteTemplateParams object with the ability to set a context for a request.
func NewRouteDeleteTemplateParamsWithHTTPClient ¶
func NewRouteDeleteTemplateParamsWithHTTPClient(client *http.Client) *RouteDeleteTemplateParams
NewRouteDeleteTemplateParamsWithHTTPClient creates a new RouteDeleteTemplateParams object with the ability to set a custom HTTPClient for a request.
func NewRouteDeleteTemplateParamsWithTimeout ¶
func NewRouteDeleteTemplateParamsWithTimeout(timeout time.Duration) *RouteDeleteTemplateParams
NewRouteDeleteTemplateParamsWithTimeout creates a new RouteDeleteTemplateParams object with the ability to set a timeout on a request.
func (*RouteDeleteTemplateParams) SetContext ¶
func (o *RouteDeleteTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the route delete template params
func (*RouteDeleteTemplateParams) SetDefaults ¶
func (o *RouteDeleteTemplateParams) SetDefaults()
SetDefaults hydrates default values in the route delete template params (not the query body).
All values with no default are reset to their zero value.
func (*RouteDeleteTemplateParams) SetHTTPClient ¶
func (o *RouteDeleteTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the route delete template params
func (*RouteDeleteTemplateParams) SetName ¶
func (o *RouteDeleteTemplateParams) SetName(name string)
SetName adds the name to the route delete template params
func (*RouteDeleteTemplateParams) SetTimeout ¶
func (o *RouteDeleteTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the route delete template params
func (*RouteDeleteTemplateParams) WithContext ¶
func (o *RouteDeleteTemplateParams) WithContext(ctx context.Context) *RouteDeleteTemplateParams
WithContext adds the context to the route delete template params
func (*RouteDeleteTemplateParams) WithDefaults ¶
func (o *RouteDeleteTemplateParams) WithDefaults() *RouteDeleteTemplateParams
WithDefaults hydrates default values in the route delete template params (not the query body).
All values with no default are reset to their zero value.
func (*RouteDeleteTemplateParams) WithHTTPClient ¶
func (o *RouteDeleteTemplateParams) WithHTTPClient(client *http.Client) *RouteDeleteTemplateParams
WithHTTPClient adds the HTTPClient to the route delete template params
func (*RouteDeleteTemplateParams) WithName ¶
func (o *RouteDeleteTemplateParams) WithName(name string) *RouteDeleteTemplateParams
WithName adds the name to the route delete template params
func (*RouteDeleteTemplateParams) WithTimeout ¶
func (o *RouteDeleteTemplateParams) WithTimeout(timeout time.Duration) *RouteDeleteTemplateParams
WithTimeout adds the timeout to the route delete template params
func (*RouteDeleteTemplateParams) WriteToRequest ¶
func (o *RouteDeleteTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RouteDeleteTemplateReader ¶
type RouteDeleteTemplateReader struct {
// contains filtered or unexported fields
}
RouteDeleteTemplateReader is a Reader for the RouteDeleteTemplate structure.
func (*RouteDeleteTemplateReader) ReadResponse ¶
func (o *RouteDeleteTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RouteGetAlertRuleExportNotFound ¶
type RouteGetAlertRuleExportNotFound struct { }
RouteGetAlertRuleExportNotFound describes a response with status code 404, with default header values.
Not found.
func NewRouteGetAlertRuleExportNotFound ¶
func NewRouteGetAlertRuleExportNotFound() *RouteGetAlertRuleExportNotFound
NewRouteGetAlertRuleExportNotFound creates a RouteGetAlertRuleExportNotFound with default headers values
func (*RouteGetAlertRuleExportNotFound) Error ¶
func (o *RouteGetAlertRuleExportNotFound) Error() string
type RouteGetAlertRuleExportOK ¶
type RouteGetAlertRuleExportOK struct {
Payload *models.AlertingFileExport
}
RouteGetAlertRuleExportOK describes a response with status code 200, with default header values.
AlertingFileExport
func NewRouteGetAlertRuleExportOK ¶
func NewRouteGetAlertRuleExportOK() *RouteGetAlertRuleExportOK
NewRouteGetAlertRuleExportOK creates a RouteGetAlertRuleExportOK with default headers values
func (*RouteGetAlertRuleExportOK) Error ¶
func (o *RouteGetAlertRuleExportOK) Error() string
func (*RouteGetAlertRuleExportOK) GetPayload ¶
func (o *RouteGetAlertRuleExportOK) GetPayload() *models.AlertingFileExport
type RouteGetAlertRuleExportParams ¶
type RouteGetAlertRuleExportParams 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, either yaml or json. 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 }
RouteGetAlertRuleExportParams contains all the parameters to send to the API endpoint
for the route get alert rule export operation. Typically these are written to a http.Request.
func NewRouteGetAlertRuleExportParams ¶
func NewRouteGetAlertRuleExportParams() *RouteGetAlertRuleExportParams
NewRouteGetAlertRuleExportParams creates a new RouteGetAlertRuleExportParams 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 NewRouteGetAlertRuleExportParamsWithContext ¶
func NewRouteGetAlertRuleExportParamsWithContext(ctx context.Context) *RouteGetAlertRuleExportParams
NewRouteGetAlertRuleExportParamsWithContext creates a new RouteGetAlertRuleExportParams object with the ability to set a context for a request.
func NewRouteGetAlertRuleExportParamsWithHTTPClient ¶
func NewRouteGetAlertRuleExportParamsWithHTTPClient(client *http.Client) *RouteGetAlertRuleExportParams
NewRouteGetAlertRuleExportParamsWithHTTPClient creates a new RouteGetAlertRuleExportParams object with the ability to set a custom HTTPClient for a request.
func NewRouteGetAlertRuleExportParamsWithTimeout ¶
func NewRouteGetAlertRuleExportParamsWithTimeout(timeout time.Duration) *RouteGetAlertRuleExportParams
NewRouteGetAlertRuleExportParamsWithTimeout creates a new RouteGetAlertRuleExportParams object with the ability to set a timeout on a request.
func (*RouteGetAlertRuleExportParams) SetContext ¶
func (o *RouteGetAlertRuleExportParams) SetContext(ctx context.Context)
SetContext adds the context to the route get alert rule export params
func (*RouteGetAlertRuleExportParams) SetDefaults ¶
func (o *RouteGetAlertRuleExportParams) SetDefaults()
SetDefaults hydrates default values in the route get alert rule export params (not the query body).
All values with no default are reset to their zero value.
func (*RouteGetAlertRuleExportParams) SetDownload ¶
func (o *RouteGetAlertRuleExportParams) SetDownload(download *bool)
SetDownload adds the download to the route get alert rule export params
func (*RouteGetAlertRuleExportParams) SetFormat ¶
func (o *RouteGetAlertRuleExportParams) SetFormat(format *string)
SetFormat adds the format to the route get alert rule export params
func (*RouteGetAlertRuleExportParams) SetHTTPClient ¶
func (o *RouteGetAlertRuleExportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the route get alert rule export params
func (*RouteGetAlertRuleExportParams) SetTimeout ¶
func (o *RouteGetAlertRuleExportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the route get alert rule export params
func (*RouteGetAlertRuleExportParams) SetUID ¶
func (o *RouteGetAlertRuleExportParams) SetUID(uid string)
SetUID adds the uid to the route get alert rule export params
func (*RouteGetAlertRuleExportParams) WithContext ¶
func (o *RouteGetAlertRuleExportParams) WithContext(ctx context.Context) *RouteGetAlertRuleExportParams
WithContext adds the context to the route get alert rule export params
func (*RouteGetAlertRuleExportParams) WithDefaults ¶
func (o *RouteGetAlertRuleExportParams) WithDefaults() *RouteGetAlertRuleExportParams
WithDefaults hydrates default values in the route get alert rule export params (not the query body).
All values with no default are reset to their zero value.
func (*RouteGetAlertRuleExportParams) WithDownload ¶
func (o *RouteGetAlertRuleExportParams) WithDownload(download *bool) *RouteGetAlertRuleExportParams
WithDownload adds the download to the route get alert rule export params
func (*RouteGetAlertRuleExportParams) WithFormat ¶
func (o *RouteGetAlertRuleExportParams) WithFormat(format *string) *RouteGetAlertRuleExportParams
WithFormat adds the format to the route get alert rule export params
func (*RouteGetAlertRuleExportParams) WithHTTPClient ¶
func (o *RouteGetAlertRuleExportParams) WithHTTPClient(client *http.Client) *RouteGetAlertRuleExportParams
WithHTTPClient adds the HTTPClient to the route get alert rule export params
func (*RouteGetAlertRuleExportParams) WithTimeout ¶
func (o *RouteGetAlertRuleExportParams) WithTimeout(timeout time.Duration) *RouteGetAlertRuleExportParams
WithTimeout adds the timeout to the route get alert rule export params
func (*RouteGetAlertRuleExportParams) WithUID ¶
func (o *RouteGetAlertRuleExportParams) WithUID(uid string) *RouteGetAlertRuleExportParams
WithUID adds the uid to the route get alert rule export params
func (*RouteGetAlertRuleExportParams) WriteToRequest ¶
func (o *RouteGetAlertRuleExportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RouteGetAlertRuleExportReader ¶
type RouteGetAlertRuleExportReader struct {
// contains filtered or unexported fields
}
RouteGetAlertRuleExportReader is a Reader for the RouteGetAlertRuleExport structure.
func (*RouteGetAlertRuleExportReader) ReadResponse ¶
func (o *RouteGetAlertRuleExportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RouteGetAlertRuleGroupExportNotFound ¶
type RouteGetAlertRuleGroupExportNotFound struct { }
RouteGetAlertRuleGroupExportNotFound describes a response with status code 404, with default header values.
Not found.
func NewRouteGetAlertRuleGroupExportNotFound ¶
func NewRouteGetAlertRuleGroupExportNotFound() *RouteGetAlertRuleGroupExportNotFound
NewRouteGetAlertRuleGroupExportNotFound creates a RouteGetAlertRuleGroupExportNotFound with default headers values
func (*RouteGetAlertRuleGroupExportNotFound) Error ¶
func (o *RouteGetAlertRuleGroupExportNotFound) Error() string
type RouteGetAlertRuleGroupExportOK ¶
type RouteGetAlertRuleGroupExportOK struct {
Payload *models.AlertingFileExport
}
RouteGetAlertRuleGroupExportOK describes a response with status code 200, with default header values.
AlertingFileExport
func NewRouteGetAlertRuleGroupExportOK ¶
func NewRouteGetAlertRuleGroupExportOK() *RouteGetAlertRuleGroupExportOK
NewRouteGetAlertRuleGroupExportOK creates a RouteGetAlertRuleGroupExportOK with default headers values
func (*RouteGetAlertRuleGroupExportOK) Error ¶
func (o *RouteGetAlertRuleGroupExportOK) Error() string
func (*RouteGetAlertRuleGroupExportOK) GetPayload ¶
func (o *RouteGetAlertRuleGroupExportOK) GetPayload() *models.AlertingFileExport
type RouteGetAlertRuleGroupExportParams ¶
type RouteGetAlertRuleGroupExportParams 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, either yaml or json. 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 }
RouteGetAlertRuleGroupExportParams contains all the parameters to send to the API endpoint
for the route get alert rule group export operation. Typically these are written to a http.Request.
func NewRouteGetAlertRuleGroupExportParams ¶
func NewRouteGetAlertRuleGroupExportParams() *RouteGetAlertRuleGroupExportParams
NewRouteGetAlertRuleGroupExportParams creates a new RouteGetAlertRuleGroupExportParams 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 NewRouteGetAlertRuleGroupExportParamsWithContext ¶
func NewRouteGetAlertRuleGroupExportParamsWithContext(ctx context.Context) *RouteGetAlertRuleGroupExportParams
NewRouteGetAlertRuleGroupExportParamsWithContext creates a new RouteGetAlertRuleGroupExportParams object with the ability to set a context for a request.
func NewRouteGetAlertRuleGroupExportParamsWithHTTPClient ¶
func NewRouteGetAlertRuleGroupExportParamsWithHTTPClient(client *http.Client) *RouteGetAlertRuleGroupExportParams
NewRouteGetAlertRuleGroupExportParamsWithHTTPClient creates a new RouteGetAlertRuleGroupExportParams object with the ability to set a custom HTTPClient for a request.
func NewRouteGetAlertRuleGroupExportParamsWithTimeout ¶
func NewRouteGetAlertRuleGroupExportParamsWithTimeout(timeout time.Duration) *RouteGetAlertRuleGroupExportParams
NewRouteGetAlertRuleGroupExportParamsWithTimeout creates a new RouteGetAlertRuleGroupExportParams object with the ability to set a timeout on a request.
func (*RouteGetAlertRuleGroupExportParams) SetContext ¶
func (o *RouteGetAlertRuleGroupExportParams) SetContext(ctx context.Context)
SetContext adds the context to the route get alert rule group export params
func (*RouteGetAlertRuleGroupExportParams) SetDefaults ¶
func (o *RouteGetAlertRuleGroupExportParams) SetDefaults()
SetDefaults hydrates default values in the route get alert rule group export params (not the query body).
All values with no default are reset to their zero value.
func (*RouteGetAlertRuleGroupExportParams) SetDownload ¶
func (o *RouteGetAlertRuleGroupExportParams) SetDownload(download *bool)
SetDownload adds the download to the route get alert rule group export params
func (*RouteGetAlertRuleGroupExportParams) SetFolderUID ¶
func (o *RouteGetAlertRuleGroupExportParams) SetFolderUID(folderUID string)
SetFolderUID adds the folderUid to the route get alert rule group export params
func (*RouteGetAlertRuleGroupExportParams) SetFormat ¶
func (o *RouteGetAlertRuleGroupExportParams) SetFormat(format *string)
SetFormat adds the format to the route get alert rule group export params
func (*RouteGetAlertRuleGroupExportParams) SetGroup ¶
func (o *RouteGetAlertRuleGroupExportParams) SetGroup(group string)
SetGroup adds the group to the route get alert rule group export params
func (*RouteGetAlertRuleGroupExportParams) SetHTTPClient ¶
func (o *RouteGetAlertRuleGroupExportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the route get alert rule group export params
func (*RouteGetAlertRuleGroupExportParams) SetTimeout ¶
func (o *RouteGetAlertRuleGroupExportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the route get alert rule group export params
func (*RouteGetAlertRuleGroupExportParams) WithContext ¶
func (o *RouteGetAlertRuleGroupExportParams) WithContext(ctx context.Context) *RouteGetAlertRuleGroupExportParams
WithContext adds the context to the route get alert rule group export params
func (*RouteGetAlertRuleGroupExportParams) WithDefaults ¶
func (o *RouteGetAlertRuleGroupExportParams) WithDefaults() *RouteGetAlertRuleGroupExportParams
WithDefaults hydrates default values in the route get alert rule group export params (not the query body).
All values with no default are reset to their zero value.
func (*RouteGetAlertRuleGroupExportParams) WithDownload ¶
func (o *RouteGetAlertRuleGroupExportParams) WithDownload(download *bool) *RouteGetAlertRuleGroupExportParams
WithDownload adds the download to the route get alert rule group export params
func (*RouteGetAlertRuleGroupExportParams) WithFolderUID ¶
func (o *RouteGetAlertRuleGroupExportParams) WithFolderUID(folderUID string) *RouteGetAlertRuleGroupExportParams
WithFolderUID adds the folderUID to the route get alert rule group export params
func (*RouteGetAlertRuleGroupExportParams) WithFormat ¶
func (o *RouteGetAlertRuleGroupExportParams) WithFormat(format *string) *RouteGetAlertRuleGroupExportParams
WithFormat adds the format to the route get alert rule group export params
func (*RouteGetAlertRuleGroupExportParams) WithGroup ¶
func (o *RouteGetAlertRuleGroupExportParams) WithGroup(group string) *RouteGetAlertRuleGroupExportParams
WithGroup adds the group to the route get alert rule group export params
func (*RouteGetAlertRuleGroupExportParams) WithHTTPClient ¶
func (o *RouteGetAlertRuleGroupExportParams) WithHTTPClient(client *http.Client) *RouteGetAlertRuleGroupExportParams
WithHTTPClient adds the HTTPClient to the route get alert rule group export params
func (*RouteGetAlertRuleGroupExportParams) WithTimeout ¶
func (o *RouteGetAlertRuleGroupExportParams) WithTimeout(timeout time.Duration) *RouteGetAlertRuleGroupExportParams
WithTimeout adds the timeout to the route get alert rule group export params
func (*RouteGetAlertRuleGroupExportParams) WriteToRequest ¶
func (o *RouteGetAlertRuleGroupExportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RouteGetAlertRuleGroupExportReader ¶
type RouteGetAlertRuleGroupExportReader struct {
// contains filtered or unexported fields
}
RouteGetAlertRuleGroupExportReader is a Reader for the RouteGetAlertRuleGroupExport structure.
func (*RouteGetAlertRuleGroupExportReader) ReadResponse ¶
func (o *RouteGetAlertRuleGroupExportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RouteGetAlertRuleGroupNotFound ¶
type RouteGetAlertRuleGroupNotFound struct { }
RouteGetAlertRuleGroupNotFound describes a response with status code 404, with default header values.
Not found.
func NewRouteGetAlertRuleGroupNotFound ¶
func NewRouteGetAlertRuleGroupNotFound() *RouteGetAlertRuleGroupNotFound
NewRouteGetAlertRuleGroupNotFound creates a RouteGetAlertRuleGroupNotFound with default headers values
func (*RouteGetAlertRuleGroupNotFound) Error ¶
func (o *RouteGetAlertRuleGroupNotFound) Error() string
type RouteGetAlertRuleGroupOK ¶
type RouteGetAlertRuleGroupOK struct {
Payload *models.AlertRuleGroup
}
RouteGetAlertRuleGroupOK describes a response with status code 200, with default header values.
AlertRuleGroup
func NewRouteGetAlertRuleGroupOK ¶
func NewRouteGetAlertRuleGroupOK() *RouteGetAlertRuleGroupOK
NewRouteGetAlertRuleGroupOK creates a RouteGetAlertRuleGroupOK with default headers values
func (*RouteGetAlertRuleGroupOK) Error ¶
func (o *RouteGetAlertRuleGroupOK) Error() string
func (*RouteGetAlertRuleGroupOK) GetPayload ¶
func (o *RouteGetAlertRuleGroupOK) GetPayload() *models.AlertRuleGroup
type RouteGetAlertRuleGroupParams ¶
type RouteGetAlertRuleGroupParams struct { // FolderUID. FolderUID string // Group. Group string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RouteGetAlertRuleGroupParams contains all the parameters to send to the API endpoint
for the route get alert rule group operation. Typically these are written to a http.Request.
func NewRouteGetAlertRuleGroupParams ¶
func NewRouteGetAlertRuleGroupParams() *RouteGetAlertRuleGroupParams
NewRouteGetAlertRuleGroupParams creates a new RouteGetAlertRuleGroupParams 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 NewRouteGetAlertRuleGroupParamsWithContext ¶
func NewRouteGetAlertRuleGroupParamsWithContext(ctx context.Context) *RouteGetAlertRuleGroupParams
NewRouteGetAlertRuleGroupParamsWithContext creates a new RouteGetAlertRuleGroupParams object with the ability to set a context for a request.
func NewRouteGetAlertRuleGroupParamsWithHTTPClient ¶
func NewRouteGetAlertRuleGroupParamsWithHTTPClient(client *http.Client) *RouteGetAlertRuleGroupParams
NewRouteGetAlertRuleGroupParamsWithHTTPClient creates a new RouteGetAlertRuleGroupParams object with the ability to set a custom HTTPClient for a request.
func NewRouteGetAlertRuleGroupParamsWithTimeout ¶
func NewRouteGetAlertRuleGroupParamsWithTimeout(timeout time.Duration) *RouteGetAlertRuleGroupParams
NewRouteGetAlertRuleGroupParamsWithTimeout creates a new RouteGetAlertRuleGroupParams object with the ability to set a timeout on a request.
func (*RouteGetAlertRuleGroupParams) SetContext ¶
func (o *RouteGetAlertRuleGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the route get alert rule group params
func (*RouteGetAlertRuleGroupParams) SetDefaults ¶
func (o *RouteGetAlertRuleGroupParams) SetDefaults()
SetDefaults hydrates default values in the route get alert rule group params (not the query body).
All values with no default are reset to their zero value.
func (*RouteGetAlertRuleGroupParams) SetFolderUID ¶
func (o *RouteGetAlertRuleGroupParams) SetFolderUID(folderUID string)
SetFolderUID adds the folderUid to the route get alert rule group params
func (*RouteGetAlertRuleGroupParams) SetGroup ¶
func (o *RouteGetAlertRuleGroupParams) SetGroup(group string)
SetGroup adds the group to the route get alert rule group params
func (*RouteGetAlertRuleGroupParams) SetHTTPClient ¶
func (o *RouteGetAlertRuleGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the route get alert rule group params
func (*RouteGetAlertRuleGroupParams) SetTimeout ¶
func (o *RouteGetAlertRuleGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the route get alert rule group params
func (*RouteGetAlertRuleGroupParams) WithContext ¶
func (o *RouteGetAlertRuleGroupParams) WithContext(ctx context.Context) *RouteGetAlertRuleGroupParams
WithContext adds the context to the route get alert rule group params
func (*RouteGetAlertRuleGroupParams) WithDefaults ¶
func (o *RouteGetAlertRuleGroupParams) WithDefaults() *RouteGetAlertRuleGroupParams
WithDefaults hydrates default values in the route get alert rule group params (not the query body).
All values with no default are reset to their zero value.
func (*RouteGetAlertRuleGroupParams) WithFolderUID ¶
func (o *RouteGetAlertRuleGroupParams) WithFolderUID(folderUID string) *RouteGetAlertRuleGroupParams
WithFolderUID adds the folderUID to the route get alert rule group params
func (*RouteGetAlertRuleGroupParams) WithGroup ¶
func (o *RouteGetAlertRuleGroupParams) WithGroup(group string) *RouteGetAlertRuleGroupParams
WithGroup adds the group to the route get alert rule group params
func (*RouteGetAlertRuleGroupParams) WithHTTPClient ¶
func (o *RouteGetAlertRuleGroupParams) WithHTTPClient(client *http.Client) *RouteGetAlertRuleGroupParams
WithHTTPClient adds the HTTPClient to the route get alert rule group params
func (*RouteGetAlertRuleGroupParams) WithTimeout ¶
func (o *RouteGetAlertRuleGroupParams) WithTimeout(timeout time.Duration) *RouteGetAlertRuleGroupParams
WithTimeout adds the timeout to the route get alert rule group params
func (*RouteGetAlertRuleGroupParams) WriteToRequest ¶
func (o *RouteGetAlertRuleGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RouteGetAlertRuleGroupReader ¶
type RouteGetAlertRuleGroupReader struct {
// contains filtered or unexported fields
}
RouteGetAlertRuleGroupReader is a Reader for the RouteGetAlertRuleGroup structure.
func (*RouteGetAlertRuleGroupReader) ReadResponse ¶
func (o *RouteGetAlertRuleGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RouteGetAlertRuleNotFound ¶
type RouteGetAlertRuleNotFound struct { }
RouteGetAlertRuleNotFound describes a response with status code 404, with default header values.
Not found.
func NewRouteGetAlertRuleNotFound ¶
func NewRouteGetAlertRuleNotFound() *RouteGetAlertRuleNotFound
NewRouteGetAlertRuleNotFound creates a RouteGetAlertRuleNotFound with default headers values
func (*RouteGetAlertRuleNotFound) Error ¶
func (o *RouteGetAlertRuleNotFound) Error() string
type RouteGetAlertRuleOK ¶
type RouteGetAlertRuleOK struct {
Payload *models.ProvisionedAlertRule
}
RouteGetAlertRuleOK describes a response with status code 200, with default header values.
ProvisionedAlertRule
func NewRouteGetAlertRuleOK ¶
func NewRouteGetAlertRuleOK() *RouteGetAlertRuleOK
NewRouteGetAlertRuleOK creates a RouteGetAlertRuleOK with default headers values
func (*RouteGetAlertRuleOK) Error ¶
func (o *RouteGetAlertRuleOK) Error() string
func (*RouteGetAlertRuleOK) GetPayload ¶
func (o *RouteGetAlertRuleOK) GetPayload() *models.ProvisionedAlertRule
type RouteGetAlertRuleParams ¶
type RouteGetAlertRuleParams struct { /* UID. Alert rule UID */ UID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RouteGetAlertRuleParams contains all the parameters to send to the API endpoint
for the route get alert rule operation. Typically these are written to a http.Request.
func NewRouteGetAlertRuleParams ¶
func NewRouteGetAlertRuleParams() *RouteGetAlertRuleParams
NewRouteGetAlertRuleParams creates a new RouteGetAlertRuleParams 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 NewRouteGetAlertRuleParamsWithContext ¶
func NewRouteGetAlertRuleParamsWithContext(ctx context.Context) *RouteGetAlertRuleParams
NewRouteGetAlertRuleParamsWithContext creates a new RouteGetAlertRuleParams object with the ability to set a context for a request.
func NewRouteGetAlertRuleParamsWithHTTPClient ¶
func NewRouteGetAlertRuleParamsWithHTTPClient(client *http.Client) *RouteGetAlertRuleParams
NewRouteGetAlertRuleParamsWithHTTPClient creates a new RouteGetAlertRuleParams object with the ability to set a custom HTTPClient for a request.
func NewRouteGetAlertRuleParamsWithTimeout ¶
func NewRouteGetAlertRuleParamsWithTimeout(timeout time.Duration) *RouteGetAlertRuleParams
NewRouteGetAlertRuleParamsWithTimeout creates a new RouteGetAlertRuleParams object with the ability to set a timeout on a request.
func (*RouteGetAlertRuleParams) SetContext ¶
func (o *RouteGetAlertRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the route get alert rule params
func (*RouteGetAlertRuleParams) SetDefaults ¶
func (o *RouteGetAlertRuleParams) SetDefaults()
SetDefaults hydrates default values in the route get alert rule params (not the query body).
All values with no default are reset to their zero value.
func (*RouteGetAlertRuleParams) SetHTTPClient ¶
func (o *RouteGetAlertRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the route get alert rule params
func (*RouteGetAlertRuleParams) SetTimeout ¶
func (o *RouteGetAlertRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the route get alert rule params
func (*RouteGetAlertRuleParams) SetUID ¶
func (o *RouteGetAlertRuleParams) SetUID(uid string)
SetUID adds the uid to the route get alert rule params
func (*RouteGetAlertRuleParams) WithContext ¶
func (o *RouteGetAlertRuleParams) WithContext(ctx context.Context) *RouteGetAlertRuleParams
WithContext adds the context to the route get alert rule params
func (*RouteGetAlertRuleParams) WithDefaults ¶
func (o *RouteGetAlertRuleParams) WithDefaults() *RouteGetAlertRuleParams
WithDefaults hydrates default values in the route get alert rule params (not the query body).
All values with no default are reset to their zero value.
func (*RouteGetAlertRuleParams) WithHTTPClient ¶
func (o *RouteGetAlertRuleParams) WithHTTPClient(client *http.Client) *RouteGetAlertRuleParams
WithHTTPClient adds the HTTPClient to the route get alert rule params
func (*RouteGetAlertRuleParams) WithTimeout ¶
func (o *RouteGetAlertRuleParams) WithTimeout(timeout time.Duration) *RouteGetAlertRuleParams
WithTimeout adds the timeout to the route get alert rule params
func (*RouteGetAlertRuleParams) WithUID ¶
func (o *RouteGetAlertRuleParams) WithUID(uid string) *RouteGetAlertRuleParams
WithUID adds the uid to the route get alert rule params
func (*RouteGetAlertRuleParams) WriteToRequest ¶
func (o *RouteGetAlertRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RouteGetAlertRuleReader ¶
type RouteGetAlertRuleReader struct {
// contains filtered or unexported fields
}
RouteGetAlertRuleReader is a Reader for the RouteGetAlertRule structure.
func (*RouteGetAlertRuleReader) ReadResponse ¶
func (o *RouteGetAlertRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RouteGetAlertRulesExportNotFound ¶
type RouteGetAlertRulesExportNotFound struct { }
RouteGetAlertRulesExportNotFound describes a response with status code 404, with default header values.
Not found.
func NewRouteGetAlertRulesExportNotFound ¶
func NewRouteGetAlertRulesExportNotFound() *RouteGetAlertRulesExportNotFound
NewRouteGetAlertRulesExportNotFound creates a RouteGetAlertRulesExportNotFound with default headers values
func (*RouteGetAlertRulesExportNotFound) Error ¶
func (o *RouteGetAlertRulesExportNotFound) Error() string
type RouteGetAlertRulesExportOK ¶
type RouteGetAlertRulesExportOK struct {
Payload *models.AlertingFileExport
}
RouteGetAlertRulesExportOK describes a response with status code 200, with default header values.
AlertingFileExport
func NewRouteGetAlertRulesExportOK ¶
func NewRouteGetAlertRulesExportOK() *RouteGetAlertRulesExportOK
NewRouteGetAlertRulesExportOK creates a RouteGetAlertRulesExportOK with default headers values
func (*RouteGetAlertRulesExportOK) Error ¶
func (o *RouteGetAlertRulesExportOK) Error() string
func (*RouteGetAlertRulesExportOK) GetPayload ¶
func (o *RouteGetAlertRulesExportOK) GetPayload() *models.AlertingFileExport
type RouteGetAlertRulesExportParams ¶
type RouteGetAlertRulesExportParams struct { /* Download. Whether to initiate a download of the file or not. */ Download *bool /* Format. Format of the downloaded file, either yaml or json. 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 }
RouteGetAlertRulesExportParams contains all the parameters to send to the API endpoint
for the route get alert rules export operation. Typically these are written to a http.Request.
func NewRouteGetAlertRulesExportParams ¶
func NewRouteGetAlertRulesExportParams() *RouteGetAlertRulesExportParams
NewRouteGetAlertRulesExportParams creates a new RouteGetAlertRulesExportParams 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 NewRouteGetAlertRulesExportParamsWithContext ¶
func NewRouteGetAlertRulesExportParamsWithContext(ctx context.Context) *RouteGetAlertRulesExportParams
NewRouteGetAlertRulesExportParamsWithContext creates a new RouteGetAlertRulesExportParams object with the ability to set a context for a request.
func NewRouteGetAlertRulesExportParamsWithHTTPClient ¶
func NewRouteGetAlertRulesExportParamsWithHTTPClient(client *http.Client) *RouteGetAlertRulesExportParams
NewRouteGetAlertRulesExportParamsWithHTTPClient creates a new RouteGetAlertRulesExportParams object with the ability to set a custom HTTPClient for a request.
func NewRouteGetAlertRulesExportParamsWithTimeout ¶
func NewRouteGetAlertRulesExportParamsWithTimeout(timeout time.Duration) *RouteGetAlertRulesExportParams
NewRouteGetAlertRulesExportParamsWithTimeout creates a new RouteGetAlertRulesExportParams object with the ability to set a timeout on a request.
func (*RouteGetAlertRulesExportParams) SetContext ¶
func (o *RouteGetAlertRulesExportParams) SetContext(ctx context.Context)
SetContext adds the context to the route get alert rules export params
func (*RouteGetAlertRulesExportParams) SetDefaults ¶
func (o *RouteGetAlertRulesExportParams) SetDefaults()
SetDefaults hydrates default values in the route get alert rules export params (not the query body).
All values with no default are reset to their zero value.
func (*RouteGetAlertRulesExportParams) SetDownload ¶
func (o *RouteGetAlertRulesExportParams) SetDownload(download *bool)
SetDownload adds the download to the route get alert rules export params
func (*RouteGetAlertRulesExportParams) SetFormat ¶
func (o *RouteGetAlertRulesExportParams) SetFormat(format *string)
SetFormat adds the format to the route get alert rules export params
func (*RouteGetAlertRulesExportParams) SetHTTPClient ¶
func (o *RouteGetAlertRulesExportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the route get alert rules export params
func (*RouteGetAlertRulesExportParams) SetTimeout ¶
func (o *RouteGetAlertRulesExportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the route get alert rules export params
func (*RouteGetAlertRulesExportParams) WithContext ¶
func (o *RouteGetAlertRulesExportParams) WithContext(ctx context.Context) *RouteGetAlertRulesExportParams
WithContext adds the context to the route get alert rules export params
func (*RouteGetAlertRulesExportParams) WithDefaults ¶
func (o *RouteGetAlertRulesExportParams) WithDefaults() *RouteGetAlertRulesExportParams
WithDefaults hydrates default values in the route get alert rules export params (not the query body).
All values with no default are reset to their zero value.
func (*RouteGetAlertRulesExportParams) WithDownload ¶
func (o *RouteGetAlertRulesExportParams) WithDownload(download *bool) *RouteGetAlertRulesExportParams
WithDownload adds the download to the route get alert rules export params
func (*RouteGetAlertRulesExportParams) WithFormat ¶
func (o *RouteGetAlertRulesExportParams) WithFormat(format *string) *RouteGetAlertRulesExportParams
WithFormat adds the format to the route get alert rules export params
func (*RouteGetAlertRulesExportParams) WithHTTPClient ¶
func (o *RouteGetAlertRulesExportParams) WithHTTPClient(client *http.Client) *RouteGetAlertRulesExportParams
WithHTTPClient adds the HTTPClient to the route get alert rules export params
func (*RouteGetAlertRulesExportParams) WithTimeout ¶
func (o *RouteGetAlertRulesExportParams) WithTimeout(timeout time.Duration) *RouteGetAlertRulesExportParams
WithTimeout adds the timeout to the route get alert rules export params
func (*RouteGetAlertRulesExportParams) WriteToRequest ¶
func (o *RouteGetAlertRulesExportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RouteGetAlertRulesExportReader ¶
type RouteGetAlertRulesExportReader struct {
// contains filtered or unexported fields
}
RouteGetAlertRulesExportReader is a Reader for the RouteGetAlertRulesExport structure.
func (*RouteGetAlertRulesExportReader) ReadResponse ¶
func (o *RouteGetAlertRulesExportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RouteGetAlertRulesOK ¶
type RouteGetAlertRulesOK struct {
Payload models.ProvisionedAlertRules
}
RouteGetAlertRulesOK describes a response with status code 200, with default header values.
ProvisionedAlertRules
func NewRouteGetAlertRulesOK ¶
func NewRouteGetAlertRulesOK() *RouteGetAlertRulesOK
NewRouteGetAlertRulesOK creates a RouteGetAlertRulesOK with default headers values
func (*RouteGetAlertRulesOK) Error ¶
func (o *RouteGetAlertRulesOK) Error() string
func (*RouteGetAlertRulesOK) GetPayload ¶
func (o *RouteGetAlertRulesOK) GetPayload() models.ProvisionedAlertRules
type RouteGetAlertRulesParams ¶
type RouteGetAlertRulesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RouteGetAlertRulesParams contains all the parameters to send to the API endpoint
for the route get alert rules operation. Typically these are written to a http.Request.
func NewRouteGetAlertRulesParams ¶
func NewRouteGetAlertRulesParams() *RouteGetAlertRulesParams
NewRouteGetAlertRulesParams creates a new RouteGetAlertRulesParams 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 NewRouteGetAlertRulesParamsWithContext ¶
func NewRouteGetAlertRulesParamsWithContext(ctx context.Context) *RouteGetAlertRulesParams
NewRouteGetAlertRulesParamsWithContext creates a new RouteGetAlertRulesParams object with the ability to set a context for a request.
func NewRouteGetAlertRulesParamsWithHTTPClient ¶
func NewRouteGetAlertRulesParamsWithHTTPClient(client *http.Client) *RouteGetAlertRulesParams
NewRouteGetAlertRulesParamsWithHTTPClient creates a new RouteGetAlertRulesParams object with the ability to set a custom HTTPClient for a request.
func NewRouteGetAlertRulesParamsWithTimeout ¶
func NewRouteGetAlertRulesParamsWithTimeout(timeout time.Duration) *RouteGetAlertRulesParams
NewRouteGetAlertRulesParamsWithTimeout creates a new RouteGetAlertRulesParams object with the ability to set a timeout on a request.
func (*RouteGetAlertRulesParams) SetContext ¶
func (o *RouteGetAlertRulesParams) SetContext(ctx context.Context)
SetContext adds the context to the route get alert rules params
func (*RouteGetAlertRulesParams) SetDefaults ¶
func (o *RouteGetAlertRulesParams) SetDefaults()
SetDefaults hydrates default values in the route get alert rules params (not the query body).
All values with no default are reset to their zero value.
func (*RouteGetAlertRulesParams) SetHTTPClient ¶
func (o *RouteGetAlertRulesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the route get alert rules params
func (*RouteGetAlertRulesParams) SetTimeout ¶
func (o *RouteGetAlertRulesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the route get alert rules params
func (*RouteGetAlertRulesParams) WithContext ¶
func (o *RouteGetAlertRulesParams) WithContext(ctx context.Context) *RouteGetAlertRulesParams
WithContext adds the context to the route get alert rules params
func (*RouteGetAlertRulesParams) WithDefaults ¶
func (o *RouteGetAlertRulesParams) WithDefaults() *RouteGetAlertRulesParams
WithDefaults hydrates default values in the route get alert rules params (not the query body).
All values with no default are reset to their zero value.
func (*RouteGetAlertRulesParams) WithHTTPClient ¶
func (o *RouteGetAlertRulesParams) WithHTTPClient(client *http.Client) *RouteGetAlertRulesParams
WithHTTPClient adds the HTTPClient to the route get alert rules params
func (*RouteGetAlertRulesParams) WithTimeout ¶
func (o *RouteGetAlertRulesParams) WithTimeout(timeout time.Duration) *RouteGetAlertRulesParams
WithTimeout adds the timeout to the route get alert rules params
func (*RouteGetAlertRulesParams) WriteToRequest ¶
func (o *RouteGetAlertRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RouteGetAlertRulesReader ¶
type RouteGetAlertRulesReader struct {
// contains filtered or unexported fields
}
RouteGetAlertRulesReader is a Reader for the RouteGetAlertRules structure.
func (*RouteGetAlertRulesReader) ReadResponse ¶
func (o *RouteGetAlertRulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RouteGetContactpointsOK ¶
type RouteGetContactpointsOK struct {
Payload models.ContactPoints
}
RouteGetContactpointsOK describes a response with status code 200, with default header values.
ContactPoints
func NewRouteGetContactpointsOK ¶
func NewRouteGetContactpointsOK() *RouteGetContactpointsOK
NewRouteGetContactpointsOK creates a RouteGetContactpointsOK with default headers values
func (*RouteGetContactpointsOK) Error ¶
func (o *RouteGetContactpointsOK) Error() string
func (*RouteGetContactpointsOK) GetPayload ¶
func (o *RouteGetContactpointsOK) GetPayload() models.ContactPoints
type RouteGetContactpointsParams ¶
type RouteGetContactpointsParams struct { /* Name. Filter by name */ Name *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RouteGetContactpointsParams contains all the parameters to send to the API endpoint
for the route get contactpoints operation. Typically these are written to a http.Request.
func NewRouteGetContactpointsParams ¶
func NewRouteGetContactpointsParams() *RouteGetContactpointsParams
NewRouteGetContactpointsParams creates a new RouteGetContactpointsParams 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 NewRouteGetContactpointsParamsWithContext ¶
func NewRouteGetContactpointsParamsWithContext(ctx context.Context) *RouteGetContactpointsParams
NewRouteGetContactpointsParamsWithContext creates a new RouteGetContactpointsParams object with the ability to set a context for a request.
func NewRouteGetContactpointsParamsWithHTTPClient ¶
func NewRouteGetContactpointsParamsWithHTTPClient(client *http.Client) *RouteGetContactpointsParams
NewRouteGetContactpointsParamsWithHTTPClient creates a new RouteGetContactpointsParams object with the ability to set a custom HTTPClient for a request.
func NewRouteGetContactpointsParamsWithTimeout ¶
func NewRouteGetContactpointsParamsWithTimeout(timeout time.Duration) *RouteGetContactpointsParams
NewRouteGetContactpointsParamsWithTimeout creates a new RouteGetContactpointsParams object with the ability to set a timeout on a request.
func (*RouteGetContactpointsParams) SetContext ¶
func (o *RouteGetContactpointsParams) SetContext(ctx context.Context)
SetContext adds the context to the route get contactpoints params
func (*RouteGetContactpointsParams) SetDefaults ¶
func (o *RouteGetContactpointsParams) SetDefaults()
SetDefaults hydrates default values in the route get contactpoints params (not the query body).
All values with no default are reset to their zero value.
func (*RouteGetContactpointsParams) SetHTTPClient ¶
func (o *RouteGetContactpointsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the route get contactpoints params
func (*RouteGetContactpointsParams) SetName ¶
func (o *RouteGetContactpointsParams) SetName(name *string)
SetName adds the name to the route get contactpoints params
func (*RouteGetContactpointsParams) SetTimeout ¶
func (o *RouteGetContactpointsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the route get contactpoints params
func (*RouteGetContactpointsParams) WithContext ¶
func (o *RouteGetContactpointsParams) WithContext(ctx context.Context) *RouteGetContactpointsParams
WithContext adds the context to the route get contactpoints params
func (*RouteGetContactpointsParams) WithDefaults ¶
func (o *RouteGetContactpointsParams) WithDefaults() *RouteGetContactpointsParams
WithDefaults hydrates default values in the route get contactpoints params (not the query body).
All values with no default are reset to their zero value.
func (*RouteGetContactpointsParams) WithHTTPClient ¶
func (o *RouteGetContactpointsParams) WithHTTPClient(client *http.Client) *RouteGetContactpointsParams
WithHTTPClient adds the HTTPClient to the route get contactpoints params
func (*RouteGetContactpointsParams) WithName ¶
func (o *RouteGetContactpointsParams) WithName(name *string) *RouteGetContactpointsParams
WithName adds the name to the route get contactpoints params
func (*RouteGetContactpointsParams) WithTimeout ¶
func (o *RouteGetContactpointsParams) WithTimeout(timeout time.Duration) *RouteGetContactpointsParams
WithTimeout adds the timeout to the route get contactpoints params
func (*RouteGetContactpointsParams) WriteToRequest ¶
func (o *RouteGetContactpointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RouteGetContactpointsReader ¶
type RouteGetContactpointsReader struct {
// contains filtered or unexported fields
}
RouteGetContactpointsReader is a Reader for the RouteGetContactpoints structure.
func (*RouteGetContactpointsReader) ReadResponse ¶
func (o *RouteGetContactpointsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RouteGetMuteTimingNotFound ¶
type RouteGetMuteTimingNotFound struct { }
RouteGetMuteTimingNotFound describes a response with status code 404, with default header values.
Not found.
func NewRouteGetMuteTimingNotFound ¶
func NewRouteGetMuteTimingNotFound() *RouteGetMuteTimingNotFound
NewRouteGetMuteTimingNotFound creates a RouteGetMuteTimingNotFound with default headers values
func (*RouteGetMuteTimingNotFound) Error ¶
func (o *RouteGetMuteTimingNotFound) Error() string
type RouteGetMuteTimingOK ¶
type RouteGetMuteTimingOK struct {
Payload *models.MuteTimeInterval
}
RouteGetMuteTimingOK describes a response with status code 200, with default header values.
MuteTimeInterval
func NewRouteGetMuteTimingOK ¶
func NewRouteGetMuteTimingOK() *RouteGetMuteTimingOK
NewRouteGetMuteTimingOK creates a RouteGetMuteTimingOK with default headers values
func (*RouteGetMuteTimingOK) Error ¶
func (o *RouteGetMuteTimingOK) Error() string
func (*RouteGetMuteTimingOK) GetPayload ¶
func (o *RouteGetMuteTimingOK) GetPayload() *models.MuteTimeInterval
type RouteGetMuteTimingParams ¶
type RouteGetMuteTimingParams struct { /* Name. Mute timing name */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RouteGetMuteTimingParams contains all the parameters to send to the API endpoint
for the route get mute timing operation. Typically these are written to a http.Request.
func NewRouteGetMuteTimingParams ¶
func NewRouteGetMuteTimingParams() *RouteGetMuteTimingParams
NewRouteGetMuteTimingParams creates a new RouteGetMuteTimingParams 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 NewRouteGetMuteTimingParamsWithContext ¶
func NewRouteGetMuteTimingParamsWithContext(ctx context.Context) *RouteGetMuteTimingParams
NewRouteGetMuteTimingParamsWithContext creates a new RouteGetMuteTimingParams object with the ability to set a context for a request.
func NewRouteGetMuteTimingParamsWithHTTPClient ¶
func NewRouteGetMuteTimingParamsWithHTTPClient(client *http.Client) *RouteGetMuteTimingParams
NewRouteGetMuteTimingParamsWithHTTPClient creates a new RouteGetMuteTimingParams object with the ability to set a custom HTTPClient for a request.
func NewRouteGetMuteTimingParamsWithTimeout ¶
func NewRouteGetMuteTimingParamsWithTimeout(timeout time.Duration) *RouteGetMuteTimingParams
NewRouteGetMuteTimingParamsWithTimeout creates a new RouteGetMuteTimingParams object with the ability to set a timeout on a request.
func (*RouteGetMuteTimingParams) SetContext ¶
func (o *RouteGetMuteTimingParams) SetContext(ctx context.Context)
SetContext adds the context to the route get mute timing params
func (*RouteGetMuteTimingParams) SetDefaults ¶
func (o *RouteGetMuteTimingParams) SetDefaults()
SetDefaults hydrates default values in the route get mute timing params (not the query body).
All values with no default are reset to their zero value.
func (*RouteGetMuteTimingParams) SetHTTPClient ¶
func (o *RouteGetMuteTimingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the route get mute timing params
func (*RouteGetMuteTimingParams) SetName ¶
func (o *RouteGetMuteTimingParams) SetName(name string)
SetName adds the name to the route get mute timing params
func (*RouteGetMuteTimingParams) SetTimeout ¶
func (o *RouteGetMuteTimingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the route get mute timing params
func (*RouteGetMuteTimingParams) WithContext ¶
func (o *RouteGetMuteTimingParams) WithContext(ctx context.Context) *RouteGetMuteTimingParams
WithContext adds the context to the route get mute timing params
func (*RouteGetMuteTimingParams) WithDefaults ¶
func (o *RouteGetMuteTimingParams) WithDefaults() *RouteGetMuteTimingParams
WithDefaults hydrates default values in the route get mute timing params (not the query body).
All values with no default are reset to their zero value.
func (*RouteGetMuteTimingParams) WithHTTPClient ¶
func (o *RouteGetMuteTimingParams) WithHTTPClient(client *http.Client) *RouteGetMuteTimingParams
WithHTTPClient adds the HTTPClient to the route get mute timing params
func (*RouteGetMuteTimingParams) WithName ¶
func (o *RouteGetMuteTimingParams) WithName(name string) *RouteGetMuteTimingParams
WithName adds the name to the route get mute timing params
func (*RouteGetMuteTimingParams) WithTimeout ¶
func (o *RouteGetMuteTimingParams) WithTimeout(timeout time.Duration) *RouteGetMuteTimingParams
WithTimeout adds the timeout to the route get mute timing params
func (*RouteGetMuteTimingParams) WriteToRequest ¶
func (o *RouteGetMuteTimingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RouteGetMuteTimingReader ¶
type RouteGetMuteTimingReader struct {
// contains filtered or unexported fields
}
RouteGetMuteTimingReader is a Reader for the RouteGetMuteTiming structure.
func (*RouteGetMuteTimingReader) ReadResponse ¶
func (o *RouteGetMuteTimingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RouteGetMuteTimingsOK ¶
type RouteGetMuteTimingsOK struct {
Payload models.MuteTimings
}
RouteGetMuteTimingsOK describes a response with status code 200, with default header values.
MuteTimings
func NewRouteGetMuteTimingsOK ¶
func NewRouteGetMuteTimingsOK() *RouteGetMuteTimingsOK
NewRouteGetMuteTimingsOK creates a RouteGetMuteTimingsOK with default headers values
func (*RouteGetMuteTimingsOK) Error ¶
func (o *RouteGetMuteTimingsOK) Error() string
func (*RouteGetMuteTimingsOK) GetPayload ¶
func (o *RouteGetMuteTimingsOK) GetPayload() models.MuteTimings
type RouteGetMuteTimingsParams ¶
type RouteGetMuteTimingsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RouteGetMuteTimingsParams contains all the parameters to send to the API endpoint
for the route get mute timings operation. Typically these are written to a http.Request.
func NewRouteGetMuteTimingsParams ¶
func NewRouteGetMuteTimingsParams() *RouteGetMuteTimingsParams
NewRouteGetMuteTimingsParams creates a new RouteGetMuteTimingsParams 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 NewRouteGetMuteTimingsParamsWithContext ¶
func NewRouteGetMuteTimingsParamsWithContext(ctx context.Context) *RouteGetMuteTimingsParams
NewRouteGetMuteTimingsParamsWithContext creates a new RouteGetMuteTimingsParams object with the ability to set a context for a request.
func NewRouteGetMuteTimingsParamsWithHTTPClient ¶
func NewRouteGetMuteTimingsParamsWithHTTPClient(client *http.Client) *RouteGetMuteTimingsParams
NewRouteGetMuteTimingsParamsWithHTTPClient creates a new RouteGetMuteTimingsParams object with the ability to set a custom HTTPClient for a request.
func NewRouteGetMuteTimingsParamsWithTimeout ¶
func NewRouteGetMuteTimingsParamsWithTimeout(timeout time.Duration) *RouteGetMuteTimingsParams
NewRouteGetMuteTimingsParamsWithTimeout creates a new RouteGetMuteTimingsParams object with the ability to set a timeout on a request.
func (*RouteGetMuteTimingsParams) SetContext ¶
func (o *RouteGetMuteTimingsParams) SetContext(ctx context.Context)
SetContext adds the context to the route get mute timings params
func (*RouteGetMuteTimingsParams) SetDefaults ¶
func (o *RouteGetMuteTimingsParams) SetDefaults()
SetDefaults hydrates default values in the route get mute timings params (not the query body).
All values with no default are reset to their zero value.
func (*RouteGetMuteTimingsParams) SetHTTPClient ¶
func (o *RouteGetMuteTimingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the route get mute timings params
func (*RouteGetMuteTimingsParams) SetTimeout ¶
func (o *RouteGetMuteTimingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the route get mute timings params
func (*RouteGetMuteTimingsParams) WithContext ¶
func (o *RouteGetMuteTimingsParams) WithContext(ctx context.Context) *RouteGetMuteTimingsParams
WithContext adds the context to the route get mute timings params
func (*RouteGetMuteTimingsParams) WithDefaults ¶
func (o *RouteGetMuteTimingsParams) WithDefaults() *RouteGetMuteTimingsParams
WithDefaults hydrates default values in the route get mute timings params (not the query body).
All values with no default are reset to their zero value.
func (*RouteGetMuteTimingsParams) WithHTTPClient ¶
func (o *RouteGetMuteTimingsParams) WithHTTPClient(client *http.Client) *RouteGetMuteTimingsParams
WithHTTPClient adds the HTTPClient to the route get mute timings params
func (*RouteGetMuteTimingsParams) WithTimeout ¶
func (o *RouteGetMuteTimingsParams) WithTimeout(timeout time.Duration) *RouteGetMuteTimingsParams
WithTimeout adds the timeout to the route get mute timings params
func (*RouteGetMuteTimingsParams) WriteToRequest ¶
func (o *RouteGetMuteTimingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RouteGetMuteTimingsReader ¶
type RouteGetMuteTimingsReader struct {
// contains filtered or unexported fields
}
RouteGetMuteTimingsReader is a Reader for the RouteGetMuteTimings structure.
func (*RouteGetMuteTimingsReader) ReadResponse ¶
func (o *RouteGetMuteTimingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RouteGetPolicyTreeOK ¶
RouteGetPolicyTreeOK describes a response with status code 200, with default header values.
Route
func NewRouteGetPolicyTreeOK ¶
func NewRouteGetPolicyTreeOK() *RouteGetPolicyTreeOK
NewRouteGetPolicyTreeOK creates a RouteGetPolicyTreeOK with default headers values
func (*RouteGetPolicyTreeOK) Error ¶
func (o *RouteGetPolicyTreeOK) Error() string
func (*RouteGetPolicyTreeOK) GetPayload ¶
func (o *RouteGetPolicyTreeOK) GetPayload() *models.Route
type RouteGetPolicyTreeParams ¶
type RouteGetPolicyTreeParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RouteGetPolicyTreeParams contains all the parameters to send to the API endpoint
for the route get policy tree operation. Typically these are written to a http.Request.
func NewRouteGetPolicyTreeParams ¶
func NewRouteGetPolicyTreeParams() *RouteGetPolicyTreeParams
NewRouteGetPolicyTreeParams creates a new RouteGetPolicyTreeParams 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 NewRouteGetPolicyTreeParamsWithContext ¶
func NewRouteGetPolicyTreeParamsWithContext(ctx context.Context) *RouteGetPolicyTreeParams
NewRouteGetPolicyTreeParamsWithContext creates a new RouteGetPolicyTreeParams object with the ability to set a context for a request.
func NewRouteGetPolicyTreeParamsWithHTTPClient ¶
func NewRouteGetPolicyTreeParamsWithHTTPClient(client *http.Client) *RouteGetPolicyTreeParams
NewRouteGetPolicyTreeParamsWithHTTPClient creates a new RouteGetPolicyTreeParams object with the ability to set a custom HTTPClient for a request.
func NewRouteGetPolicyTreeParamsWithTimeout ¶
func NewRouteGetPolicyTreeParamsWithTimeout(timeout time.Duration) *RouteGetPolicyTreeParams
NewRouteGetPolicyTreeParamsWithTimeout creates a new RouteGetPolicyTreeParams object with the ability to set a timeout on a request.
func (*RouteGetPolicyTreeParams) SetContext ¶
func (o *RouteGetPolicyTreeParams) SetContext(ctx context.Context)
SetContext adds the context to the route get policy tree params
func (*RouteGetPolicyTreeParams) SetDefaults ¶
func (o *RouteGetPolicyTreeParams) SetDefaults()
SetDefaults hydrates default values in the route get policy tree params (not the query body).
All values with no default are reset to their zero value.
func (*RouteGetPolicyTreeParams) SetHTTPClient ¶
func (o *RouteGetPolicyTreeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the route get policy tree params
func (*RouteGetPolicyTreeParams) SetTimeout ¶
func (o *RouteGetPolicyTreeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the route get policy tree params
func (*RouteGetPolicyTreeParams) WithContext ¶
func (o *RouteGetPolicyTreeParams) WithContext(ctx context.Context) *RouteGetPolicyTreeParams
WithContext adds the context to the route get policy tree params
func (*RouteGetPolicyTreeParams) WithDefaults ¶
func (o *RouteGetPolicyTreeParams) WithDefaults() *RouteGetPolicyTreeParams
WithDefaults hydrates default values in the route get policy tree params (not the query body).
All values with no default are reset to their zero value.
func (*RouteGetPolicyTreeParams) WithHTTPClient ¶
func (o *RouteGetPolicyTreeParams) WithHTTPClient(client *http.Client) *RouteGetPolicyTreeParams
WithHTTPClient adds the HTTPClient to the route get policy tree params
func (*RouteGetPolicyTreeParams) WithTimeout ¶
func (o *RouteGetPolicyTreeParams) WithTimeout(timeout time.Duration) *RouteGetPolicyTreeParams
WithTimeout adds the timeout to the route get policy tree params
func (*RouteGetPolicyTreeParams) WriteToRequest ¶
func (o *RouteGetPolicyTreeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RouteGetPolicyTreeReader ¶
type RouteGetPolicyTreeReader struct {
// contains filtered or unexported fields
}
RouteGetPolicyTreeReader is a Reader for the RouteGetPolicyTree structure.
func (*RouteGetPolicyTreeReader) ReadResponse ¶
func (o *RouteGetPolicyTreeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RouteGetTemplateNotFound ¶
type RouteGetTemplateNotFound struct { }
RouteGetTemplateNotFound describes a response with status code 404, with default header values.
Not found.
func NewRouteGetTemplateNotFound ¶
func NewRouteGetTemplateNotFound() *RouteGetTemplateNotFound
NewRouteGetTemplateNotFound creates a RouteGetTemplateNotFound with default headers values
func (*RouteGetTemplateNotFound) Error ¶
func (o *RouteGetTemplateNotFound) Error() string
type RouteGetTemplateOK ¶
type RouteGetTemplateOK struct {
Payload *models.NotificationTemplate
}
RouteGetTemplateOK describes a response with status code 200, with default header values.
NotificationTemplate
func NewRouteGetTemplateOK ¶
func NewRouteGetTemplateOK() *RouteGetTemplateOK
NewRouteGetTemplateOK creates a RouteGetTemplateOK with default headers values
func (*RouteGetTemplateOK) Error ¶
func (o *RouteGetTemplateOK) Error() string
func (*RouteGetTemplateOK) GetPayload ¶
func (o *RouteGetTemplateOK) GetPayload() *models.NotificationTemplate
type RouteGetTemplateParams ¶
type RouteGetTemplateParams struct { /* Name. Template Name */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RouteGetTemplateParams contains all the parameters to send to the API endpoint
for the route get template operation. Typically these are written to a http.Request.
func NewRouteGetTemplateParams ¶
func NewRouteGetTemplateParams() *RouteGetTemplateParams
NewRouteGetTemplateParams creates a new RouteGetTemplateParams 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 NewRouteGetTemplateParamsWithContext ¶
func NewRouteGetTemplateParamsWithContext(ctx context.Context) *RouteGetTemplateParams
NewRouteGetTemplateParamsWithContext creates a new RouteGetTemplateParams object with the ability to set a context for a request.
func NewRouteGetTemplateParamsWithHTTPClient ¶
func NewRouteGetTemplateParamsWithHTTPClient(client *http.Client) *RouteGetTemplateParams
NewRouteGetTemplateParamsWithHTTPClient creates a new RouteGetTemplateParams object with the ability to set a custom HTTPClient for a request.
func NewRouteGetTemplateParamsWithTimeout ¶
func NewRouteGetTemplateParamsWithTimeout(timeout time.Duration) *RouteGetTemplateParams
NewRouteGetTemplateParamsWithTimeout creates a new RouteGetTemplateParams object with the ability to set a timeout on a request.
func (*RouteGetTemplateParams) SetContext ¶
func (o *RouteGetTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the route get template params
func (*RouteGetTemplateParams) SetDefaults ¶
func (o *RouteGetTemplateParams) SetDefaults()
SetDefaults hydrates default values in the route get template params (not the query body).
All values with no default are reset to their zero value.
func (*RouteGetTemplateParams) SetHTTPClient ¶
func (o *RouteGetTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the route get template params
func (*RouteGetTemplateParams) SetName ¶
func (o *RouteGetTemplateParams) SetName(name string)
SetName adds the name to the route get template params
func (*RouteGetTemplateParams) SetTimeout ¶
func (o *RouteGetTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the route get template params
func (*RouteGetTemplateParams) WithContext ¶
func (o *RouteGetTemplateParams) WithContext(ctx context.Context) *RouteGetTemplateParams
WithContext adds the context to the route get template params
func (*RouteGetTemplateParams) WithDefaults ¶
func (o *RouteGetTemplateParams) WithDefaults() *RouteGetTemplateParams
WithDefaults hydrates default values in the route get template params (not the query body).
All values with no default are reset to their zero value.
func (*RouteGetTemplateParams) WithHTTPClient ¶
func (o *RouteGetTemplateParams) WithHTTPClient(client *http.Client) *RouteGetTemplateParams
WithHTTPClient adds the HTTPClient to the route get template params
func (*RouteGetTemplateParams) WithName ¶
func (o *RouteGetTemplateParams) WithName(name string) *RouteGetTemplateParams
WithName adds the name to the route get template params
func (*RouteGetTemplateParams) WithTimeout ¶
func (o *RouteGetTemplateParams) WithTimeout(timeout time.Duration) *RouteGetTemplateParams
WithTimeout adds the timeout to the route get template params
func (*RouteGetTemplateParams) WriteToRequest ¶
func (o *RouteGetTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RouteGetTemplateReader ¶
type RouteGetTemplateReader struct {
// contains filtered or unexported fields
}
RouteGetTemplateReader is a Reader for the RouteGetTemplate structure.
func (*RouteGetTemplateReader) ReadResponse ¶
func (o *RouteGetTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RouteGetTemplatesNotFound ¶
type RouteGetTemplatesNotFound struct { }
RouteGetTemplatesNotFound describes a response with status code 404, with default header values.
Not found.
func NewRouteGetTemplatesNotFound ¶
func NewRouteGetTemplatesNotFound() *RouteGetTemplatesNotFound
NewRouteGetTemplatesNotFound creates a RouteGetTemplatesNotFound with default headers values
func (*RouteGetTemplatesNotFound) Error ¶
func (o *RouteGetTemplatesNotFound) Error() string
type RouteGetTemplatesOK ¶
type RouteGetTemplatesOK struct {
Payload models.NotificationTemplates
}
RouteGetTemplatesOK describes a response with status code 200, with default header values.
NotificationTemplates
func NewRouteGetTemplatesOK ¶
func NewRouteGetTemplatesOK() *RouteGetTemplatesOK
NewRouteGetTemplatesOK creates a RouteGetTemplatesOK with default headers values
func (*RouteGetTemplatesOK) Error ¶
func (o *RouteGetTemplatesOK) Error() string
func (*RouteGetTemplatesOK) GetPayload ¶
func (o *RouteGetTemplatesOK) GetPayload() models.NotificationTemplates
type RouteGetTemplatesParams ¶
type RouteGetTemplatesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RouteGetTemplatesParams contains all the parameters to send to the API endpoint
for the route get templates operation. Typically these are written to a http.Request.
func NewRouteGetTemplatesParams ¶
func NewRouteGetTemplatesParams() *RouteGetTemplatesParams
NewRouteGetTemplatesParams creates a new RouteGetTemplatesParams 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 NewRouteGetTemplatesParamsWithContext ¶
func NewRouteGetTemplatesParamsWithContext(ctx context.Context) *RouteGetTemplatesParams
NewRouteGetTemplatesParamsWithContext creates a new RouteGetTemplatesParams object with the ability to set a context for a request.
func NewRouteGetTemplatesParamsWithHTTPClient ¶
func NewRouteGetTemplatesParamsWithHTTPClient(client *http.Client) *RouteGetTemplatesParams
NewRouteGetTemplatesParamsWithHTTPClient creates a new RouteGetTemplatesParams object with the ability to set a custom HTTPClient for a request.
func NewRouteGetTemplatesParamsWithTimeout ¶
func NewRouteGetTemplatesParamsWithTimeout(timeout time.Duration) *RouteGetTemplatesParams
NewRouteGetTemplatesParamsWithTimeout creates a new RouteGetTemplatesParams object with the ability to set a timeout on a request.
func (*RouteGetTemplatesParams) SetContext ¶
func (o *RouteGetTemplatesParams) SetContext(ctx context.Context)
SetContext adds the context to the route get templates params
func (*RouteGetTemplatesParams) SetDefaults ¶
func (o *RouteGetTemplatesParams) SetDefaults()
SetDefaults hydrates default values in the route get templates params (not the query body).
All values with no default are reset to their zero value.
func (*RouteGetTemplatesParams) SetHTTPClient ¶
func (o *RouteGetTemplatesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the route get templates params
func (*RouteGetTemplatesParams) SetTimeout ¶
func (o *RouteGetTemplatesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the route get templates params
func (*RouteGetTemplatesParams) WithContext ¶
func (o *RouteGetTemplatesParams) WithContext(ctx context.Context) *RouteGetTemplatesParams
WithContext adds the context to the route get templates params
func (*RouteGetTemplatesParams) WithDefaults ¶
func (o *RouteGetTemplatesParams) WithDefaults() *RouteGetTemplatesParams
WithDefaults hydrates default values in the route get templates params (not the query body).
All values with no default are reset to their zero value.
func (*RouteGetTemplatesParams) WithHTTPClient ¶
func (o *RouteGetTemplatesParams) WithHTTPClient(client *http.Client) *RouteGetTemplatesParams
WithHTTPClient adds the HTTPClient to the route get templates params
func (*RouteGetTemplatesParams) WithTimeout ¶
func (o *RouteGetTemplatesParams) WithTimeout(timeout time.Duration) *RouteGetTemplatesParams
WithTimeout adds the timeout to the route get templates params
func (*RouteGetTemplatesParams) WriteToRequest ¶
func (o *RouteGetTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RouteGetTemplatesReader ¶
type RouteGetTemplatesReader struct {
// contains filtered or unexported fields
}
RouteGetTemplatesReader is a Reader for the RouteGetTemplates structure.
func (*RouteGetTemplatesReader) ReadResponse ¶
func (o *RouteGetTemplatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RoutePostAlertRuleBadRequest ¶
type RoutePostAlertRuleBadRequest struct {
Payload *models.ValidationError
}
RoutePostAlertRuleBadRequest describes a response with status code 400, with default header values.
ValidationError
func NewRoutePostAlertRuleBadRequest ¶
func NewRoutePostAlertRuleBadRequest() *RoutePostAlertRuleBadRequest
NewRoutePostAlertRuleBadRequest creates a RoutePostAlertRuleBadRequest with default headers values
func (*RoutePostAlertRuleBadRequest) Error ¶
func (o *RoutePostAlertRuleBadRequest) Error() string
func (*RoutePostAlertRuleBadRequest) GetPayload ¶
func (o *RoutePostAlertRuleBadRequest) GetPayload() *models.ValidationError
type RoutePostAlertRuleCreated ¶
type RoutePostAlertRuleCreated struct {
Payload *models.ProvisionedAlertRule
}
RoutePostAlertRuleCreated describes a response with status code 201, with default header values.
ProvisionedAlertRule
func NewRoutePostAlertRuleCreated ¶
func NewRoutePostAlertRuleCreated() *RoutePostAlertRuleCreated
NewRoutePostAlertRuleCreated creates a RoutePostAlertRuleCreated with default headers values
func (*RoutePostAlertRuleCreated) Error ¶
func (o *RoutePostAlertRuleCreated) Error() string
func (*RoutePostAlertRuleCreated) GetPayload ¶
func (o *RoutePostAlertRuleCreated) GetPayload() *models.ProvisionedAlertRule
type RoutePostAlertRuleParams ¶
type RoutePostAlertRuleParams struct { // Body. Body *models.ProvisionedAlertRule // XDisableProvenance. XDisableProvenance *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RoutePostAlertRuleParams contains all the parameters to send to the API endpoint
for the route post alert rule operation. Typically these are written to a http.Request.
func NewRoutePostAlertRuleParams ¶
func NewRoutePostAlertRuleParams() *RoutePostAlertRuleParams
NewRoutePostAlertRuleParams creates a new RoutePostAlertRuleParams 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 NewRoutePostAlertRuleParamsWithContext ¶
func NewRoutePostAlertRuleParamsWithContext(ctx context.Context) *RoutePostAlertRuleParams
NewRoutePostAlertRuleParamsWithContext creates a new RoutePostAlertRuleParams object with the ability to set a context for a request.
func NewRoutePostAlertRuleParamsWithHTTPClient ¶
func NewRoutePostAlertRuleParamsWithHTTPClient(client *http.Client) *RoutePostAlertRuleParams
NewRoutePostAlertRuleParamsWithHTTPClient creates a new RoutePostAlertRuleParams object with the ability to set a custom HTTPClient for a request.
func NewRoutePostAlertRuleParamsWithTimeout ¶
func NewRoutePostAlertRuleParamsWithTimeout(timeout time.Duration) *RoutePostAlertRuleParams
NewRoutePostAlertRuleParamsWithTimeout creates a new RoutePostAlertRuleParams object with the ability to set a timeout on a request.
func (*RoutePostAlertRuleParams) SetBody ¶
func (o *RoutePostAlertRuleParams) SetBody(body *models.ProvisionedAlertRule)
SetBody adds the body to the route post alert rule params
func (*RoutePostAlertRuleParams) SetContext ¶
func (o *RoutePostAlertRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the route post alert rule params
func (*RoutePostAlertRuleParams) SetDefaults ¶
func (o *RoutePostAlertRuleParams) SetDefaults()
SetDefaults hydrates default values in the route post alert rule params (not the query body).
All values with no default are reset to their zero value.
func (*RoutePostAlertRuleParams) SetHTTPClient ¶
func (o *RoutePostAlertRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the route post alert rule params
func (*RoutePostAlertRuleParams) SetTimeout ¶
func (o *RoutePostAlertRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the route post alert rule params
func (*RoutePostAlertRuleParams) SetXDisableProvenance ¶
func (o *RoutePostAlertRuleParams) SetXDisableProvenance(xDisableProvenance *string)
SetXDisableProvenance adds the xDisableProvenance to the route post alert rule params
func (*RoutePostAlertRuleParams) WithBody ¶
func (o *RoutePostAlertRuleParams) WithBody(body *models.ProvisionedAlertRule) *RoutePostAlertRuleParams
WithBody adds the body to the route post alert rule params
func (*RoutePostAlertRuleParams) WithContext ¶
func (o *RoutePostAlertRuleParams) WithContext(ctx context.Context) *RoutePostAlertRuleParams
WithContext adds the context to the route post alert rule params
func (*RoutePostAlertRuleParams) WithDefaults ¶
func (o *RoutePostAlertRuleParams) WithDefaults() *RoutePostAlertRuleParams
WithDefaults hydrates default values in the route post alert rule params (not the query body).
All values with no default are reset to their zero value.
func (*RoutePostAlertRuleParams) WithHTTPClient ¶
func (o *RoutePostAlertRuleParams) WithHTTPClient(client *http.Client) *RoutePostAlertRuleParams
WithHTTPClient adds the HTTPClient to the route post alert rule params
func (*RoutePostAlertRuleParams) WithTimeout ¶
func (o *RoutePostAlertRuleParams) WithTimeout(timeout time.Duration) *RoutePostAlertRuleParams
WithTimeout adds the timeout to the route post alert rule params
func (*RoutePostAlertRuleParams) WithXDisableProvenance ¶
func (o *RoutePostAlertRuleParams) WithXDisableProvenance(xDisableProvenance *string) *RoutePostAlertRuleParams
WithXDisableProvenance adds the xDisableProvenance to the route post alert rule params
func (*RoutePostAlertRuleParams) WriteToRequest ¶
func (o *RoutePostAlertRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RoutePostAlertRuleReader ¶
type RoutePostAlertRuleReader struct {
// contains filtered or unexported fields
}
RoutePostAlertRuleReader is a Reader for the RoutePostAlertRule structure.
func (*RoutePostAlertRuleReader) ReadResponse ¶
func (o *RoutePostAlertRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RoutePostContactpointsAccepted ¶
type RoutePostContactpointsAccepted struct {
Payload *models.EmbeddedContactPoint
}
RoutePostContactpointsAccepted describes a response with status code 202, with default header values.
EmbeddedContactPoint
func NewRoutePostContactpointsAccepted ¶
func NewRoutePostContactpointsAccepted() *RoutePostContactpointsAccepted
NewRoutePostContactpointsAccepted creates a RoutePostContactpointsAccepted with default headers values
func (*RoutePostContactpointsAccepted) Error ¶
func (o *RoutePostContactpointsAccepted) Error() string
func (*RoutePostContactpointsAccepted) GetPayload ¶
func (o *RoutePostContactpointsAccepted) GetPayload() *models.EmbeddedContactPoint
type RoutePostContactpointsBadRequest ¶
type RoutePostContactpointsBadRequest struct {
Payload *models.ValidationError
}
RoutePostContactpointsBadRequest describes a response with status code 400, with default header values.
ValidationError
func NewRoutePostContactpointsBadRequest ¶
func NewRoutePostContactpointsBadRequest() *RoutePostContactpointsBadRequest
NewRoutePostContactpointsBadRequest creates a RoutePostContactpointsBadRequest with default headers values
func (*RoutePostContactpointsBadRequest) Error ¶
func (o *RoutePostContactpointsBadRequest) Error() string
func (*RoutePostContactpointsBadRequest) GetPayload ¶
func (o *RoutePostContactpointsBadRequest) GetPayload() *models.ValidationError
type RoutePostContactpointsParams ¶
type RoutePostContactpointsParams struct { // Body. Body *models.EmbeddedContactPoint Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RoutePostContactpointsParams contains all the parameters to send to the API endpoint
for the route post contactpoints operation. Typically these are written to a http.Request.
func NewRoutePostContactpointsParams ¶
func NewRoutePostContactpointsParams() *RoutePostContactpointsParams
NewRoutePostContactpointsParams creates a new RoutePostContactpointsParams 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 NewRoutePostContactpointsParamsWithContext ¶
func NewRoutePostContactpointsParamsWithContext(ctx context.Context) *RoutePostContactpointsParams
NewRoutePostContactpointsParamsWithContext creates a new RoutePostContactpointsParams object with the ability to set a context for a request.
func NewRoutePostContactpointsParamsWithHTTPClient ¶
func NewRoutePostContactpointsParamsWithHTTPClient(client *http.Client) *RoutePostContactpointsParams
NewRoutePostContactpointsParamsWithHTTPClient creates a new RoutePostContactpointsParams object with the ability to set a custom HTTPClient for a request.
func NewRoutePostContactpointsParamsWithTimeout ¶
func NewRoutePostContactpointsParamsWithTimeout(timeout time.Duration) *RoutePostContactpointsParams
NewRoutePostContactpointsParamsWithTimeout creates a new RoutePostContactpointsParams object with the ability to set a timeout on a request.
func (*RoutePostContactpointsParams) SetBody ¶
func (o *RoutePostContactpointsParams) SetBody(body *models.EmbeddedContactPoint)
SetBody adds the body to the route post contactpoints params
func (*RoutePostContactpointsParams) SetContext ¶
func (o *RoutePostContactpointsParams) SetContext(ctx context.Context)
SetContext adds the context to the route post contactpoints params
func (*RoutePostContactpointsParams) SetDefaults ¶
func (o *RoutePostContactpointsParams) SetDefaults()
SetDefaults hydrates default values in the route post contactpoints params (not the query body).
All values with no default are reset to their zero value.
func (*RoutePostContactpointsParams) SetHTTPClient ¶
func (o *RoutePostContactpointsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the route post contactpoints params
func (*RoutePostContactpointsParams) SetTimeout ¶
func (o *RoutePostContactpointsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the route post contactpoints params
func (*RoutePostContactpointsParams) WithBody ¶
func (o *RoutePostContactpointsParams) WithBody(body *models.EmbeddedContactPoint) *RoutePostContactpointsParams
WithBody adds the body to the route post contactpoints params
func (*RoutePostContactpointsParams) WithContext ¶
func (o *RoutePostContactpointsParams) WithContext(ctx context.Context) *RoutePostContactpointsParams
WithContext adds the context to the route post contactpoints params
func (*RoutePostContactpointsParams) WithDefaults ¶
func (o *RoutePostContactpointsParams) WithDefaults() *RoutePostContactpointsParams
WithDefaults hydrates default values in the route post contactpoints params (not the query body).
All values with no default are reset to their zero value.
func (*RoutePostContactpointsParams) WithHTTPClient ¶
func (o *RoutePostContactpointsParams) WithHTTPClient(client *http.Client) *RoutePostContactpointsParams
WithHTTPClient adds the HTTPClient to the route post contactpoints params
func (*RoutePostContactpointsParams) WithTimeout ¶
func (o *RoutePostContactpointsParams) WithTimeout(timeout time.Duration) *RoutePostContactpointsParams
WithTimeout adds the timeout to the route post contactpoints params
func (*RoutePostContactpointsParams) WriteToRequest ¶
func (o *RoutePostContactpointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RoutePostContactpointsReader ¶
type RoutePostContactpointsReader struct {
// contains filtered or unexported fields
}
RoutePostContactpointsReader is a Reader for the RoutePostContactpoints structure.
func (*RoutePostContactpointsReader) ReadResponse ¶
func (o *RoutePostContactpointsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RoutePostMuteTimingBadRequest ¶
type RoutePostMuteTimingBadRequest struct {
Payload *models.ValidationError
}
RoutePostMuteTimingBadRequest describes a response with status code 400, with default header values.
ValidationError
func NewRoutePostMuteTimingBadRequest ¶
func NewRoutePostMuteTimingBadRequest() *RoutePostMuteTimingBadRequest
NewRoutePostMuteTimingBadRequest creates a RoutePostMuteTimingBadRequest with default headers values
func (*RoutePostMuteTimingBadRequest) Error ¶
func (o *RoutePostMuteTimingBadRequest) Error() string
func (*RoutePostMuteTimingBadRequest) GetPayload ¶
func (o *RoutePostMuteTimingBadRequest) GetPayload() *models.ValidationError
type RoutePostMuteTimingCreated ¶
type RoutePostMuteTimingCreated struct {
Payload *models.MuteTimeInterval
}
RoutePostMuteTimingCreated describes a response with status code 201, with default header values.
MuteTimeInterval
func NewRoutePostMuteTimingCreated ¶
func NewRoutePostMuteTimingCreated() *RoutePostMuteTimingCreated
NewRoutePostMuteTimingCreated creates a RoutePostMuteTimingCreated with default headers values
func (*RoutePostMuteTimingCreated) Error ¶
func (o *RoutePostMuteTimingCreated) Error() string
func (*RoutePostMuteTimingCreated) GetPayload ¶
func (o *RoutePostMuteTimingCreated) GetPayload() *models.MuteTimeInterval
type RoutePostMuteTimingParams ¶
type RoutePostMuteTimingParams struct { // Body. Body *models.MuteTimeInterval Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RoutePostMuteTimingParams contains all the parameters to send to the API endpoint
for the route post mute timing operation. Typically these are written to a http.Request.
func NewRoutePostMuteTimingParams ¶
func NewRoutePostMuteTimingParams() *RoutePostMuteTimingParams
NewRoutePostMuteTimingParams creates a new RoutePostMuteTimingParams 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 NewRoutePostMuteTimingParamsWithContext ¶
func NewRoutePostMuteTimingParamsWithContext(ctx context.Context) *RoutePostMuteTimingParams
NewRoutePostMuteTimingParamsWithContext creates a new RoutePostMuteTimingParams object with the ability to set a context for a request.
func NewRoutePostMuteTimingParamsWithHTTPClient ¶
func NewRoutePostMuteTimingParamsWithHTTPClient(client *http.Client) *RoutePostMuteTimingParams
NewRoutePostMuteTimingParamsWithHTTPClient creates a new RoutePostMuteTimingParams object with the ability to set a custom HTTPClient for a request.
func NewRoutePostMuteTimingParamsWithTimeout ¶
func NewRoutePostMuteTimingParamsWithTimeout(timeout time.Duration) *RoutePostMuteTimingParams
NewRoutePostMuteTimingParamsWithTimeout creates a new RoutePostMuteTimingParams object with the ability to set a timeout on a request.
func (*RoutePostMuteTimingParams) SetBody ¶
func (o *RoutePostMuteTimingParams) SetBody(body *models.MuteTimeInterval)
SetBody adds the body to the route post mute timing params
func (*RoutePostMuteTimingParams) SetContext ¶
func (o *RoutePostMuteTimingParams) SetContext(ctx context.Context)
SetContext adds the context to the route post mute timing params
func (*RoutePostMuteTimingParams) SetDefaults ¶
func (o *RoutePostMuteTimingParams) SetDefaults()
SetDefaults hydrates default values in the route post mute timing params (not the query body).
All values with no default are reset to their zero value.
func (*RoutePostMuteTimingParams) SetHTTPClient ¶
func (o *RoutePostMuteTimingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the route post mute timing params
func (*RoutePostMuteTimingParams) SetTimeout ¶
func (o *RoutePostMuteTimingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the route post mute timing params
func (*RoutePostMuteTimingParams) WithBody ¶
func (o *RoutePostMuteTimingParams) WithBody(body *models.MuteTimeInterval) *RoutePostMuteTimingParams
WithBody adds the body to the route post mute timing params
func (*RoutePostMuteTimingParams) WithContext ¶
func (o *RoutePostMuteTimingParams) WithContext(ctx context.Context) *RoutePostMuteTimingParams
WithContext adds the context to the route post mute timing params
func (*RoutePostMuteTimingParams) WithDefaults ¶
func (o *RoutePostMuteTimingParams) WithDefaults() *RoutePostMuteTimingParams
WithDefaults hydrates default values in the route post mute timing params (not the query body).
All values with no default are reset to their zero value.
func (*RoutePostMuteTimingParams) WithHTTPClient ¶
func (o *RoutePostMuteTimingParams) WithHTTPClient(client *http.Client) *RoutePostMuteTimingParams
WithHTTPClient adds the HTTPClient to the route post mute timing params
func (*RoutePostMuteTimingParams) WithTimeout ¶
func (o *RoutePostMuteTimingParams) WithTimeout(timeout time.Duration) *RoutePostMuteTimingParams
WithTimeout adds the timeout to the route post mute timing params
func (*RoutePostMuteTimingParams) WriteToRequest ¶
func (o *RoutePostMuteTimingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RoutePostMuteTimingReader ¶
type RoutePostMuteTimingReader struct {
// contains filtered or unexported fields
}
RoutePostMuteTimingReader is a Reader for the RoutePostMuteTiming structure.
func (*RoutePostMuteTimingReader) ReadResponse ¶
func (o *RoutePostMuteTimingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RoutePutAlertRuleBadRequest ¶
type RoutePutAlertRuleBadRequest struct {
Payload *models.ValidationError
}
RoutePutAlertRuleBadRequest describes a response with status code 400, with default header values.
ValidationError
func NewRoutePutAlertRuleBadRequest ¶
func NewRoutePutAlertRuleBadRequest() *RoutePutAlertRuleBadRequest
NewRoutePutAlertRuleBadRequest creates a RoutePutAlertRuleBadRequest with default headers values
func (*RoutePutAlertRuleBadRequest) Error ¶
func (o *RoutePutAlertRuleBadRequest) Error() string
func (*RoutePutAlertRuleBadRequest) GetPayload ¶
func (o *RoutePutAlertRuleBadRequest) GetPayload() *models.ValidationError
type RoutePutAlertRuleGroupBadRequest ¶
type RoutePutAlertRuleGroupBadRequest struct {
Payload *models.ValidationError
}
RoutePutAlertRuleGroupBadRequest describes a response with status code 400, with default header values.
ValidationError
func NewRoutePutAlertRuleGroupBadRequest ¶
func NewRoutePutAlertRuleGroupBadRequest() *RoutePutAlertRuleGroupBadRequest
NewRoutePutAlertRuleGroupBadRequest creates a RoutePutAlertRuleGroupBadRequest with default headers values
func (*RoutePutAlertRuleGroupBadRequest) Error ¶
func (o *RoutePutAlertRuleGroupBadRequest) Error() string
func (*RoutePutAlertRuleGroupBadRequest) GetPayload ¶
func (o *RoutePutAlertRuleGroupBadRequest) GetPayload() *models.ValidationError
type RoutePutAlertRuleGroupOK ¶
type RoutePutAlertRuleGroupOK struct {
Payload *models.AlertRuleGroup
}
RoutePutAlertRuleGroupOK describes a response with status code 200, with default header values.
AlertRuleGroup
func NewRoutePutAlertRuleGroupOK ¶
func NewRoutePutAlertRuleGroupOK() *RoutePutAlertRuleGroupOK
NewRoutePutAlertRuleGroupOK creates a RoutePutAlertRuleGroupOK with default headers values
func (*RoutePutAlertRuleGroupOK) Error ¶
func (o *RoutePutAlertRuleGroupOK) Error() string
func (*RoutePutAlertRuleGroupOK) GetPayload ¶
func (o *RoutePutAlertRuleGroupOK) GetPayload() *models.AlertRuleGroup
type RoutePutAlertRuleGroupParams ¶
type RoutePutAlertRuleGroupParams struct { // Body. Body *models.AlertRuleGroup // FolderUID. FolderUID string // Group. Group string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RoutePutAlertRuleGroupParams contains all the parameters to send to the API endpoint
for the route put alert rule group operation. Typically these are written to a http.Request.
func NewRoutePutAlertRuleGroupParams ¶
func NewRoutePutAlertRuleGroupParams() *RoutePutAlertRuleGroupParams
NewRoutePutAlertRuleGroupParams creates a new RoutePutAlertRuleGroupParams 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 NewRoutePutAlertRuleGroupParamsWithContext ¶
func NewRoutePutAlertRuleGroupParamsWithContext(ctx context.Context) *RoutePutAlertRuleGroupParams
NewRoutePutAlertRuleGroupParamsWithContext creates a new RoutePutAlertRuleGroupParams object with the ability to set a context for a request.
func NewRoutePutAlertRuleGroupParamsWithHTTPClient ¶
func NewRoutePutAlertRuleGroupParamsWithHTTPClient(client *http.Client) *RoutePutAlertRuleGroupParams
NewRoutePutAlertRuleGroupParamsWithHTTPClient creates a new RoutePutAlertRuleGroupParams object with the ability to set a custom HTTPClient for a request.
func NewRoutePutAlertRuleGroupParamsWithTimeout ¶
func NewRoutePutAlertRuleGroupParamsWithTimeout(timeout time.Duration) *RoutePutAlertRuleGroupParams
NewRoutePutAlertRuleGroupParamsWithTimeout creates a new RoutePutAlertRuleGroupParams object with the ability to set a timeout on a request.
func (*RoutePutAlertRuleGroupParams) SetBody ¶
func (o *RoutePutAlertRuleGroupParams) SetBody(body *models.AlertRuleGroup)
SetBody adds the body to the route put alert rule group params
func (*RoutePutAlertRuleGroupParams) SetContext ¶
func (o *RoutePutAlertRuleGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the route put alert rule group params
func (*RoutePutAlertRuleGroupParams) SetDefaults ¶
func (o *RoutePutAlertRuleGroupParams) SetDefaults()
SetDefaults hydrates default values in the route put alert rule group params (not the query body).
All values with no default are reset to their zero value.
func (*RoutePutAlertRuleGroupParams) SetFolderUID ¶
func (o *RoutePutAlertRuleGroupParams) SetFolderUID(folderUID string)
SetFolderUID adds the folderUid to the route put alert rule group params
func (*RoutePutAlertRuleGroupParams) SetGroup ¶
func (o *RoutePutAlertRuleGroupParams) SetGroup(group string)
SetGroup adds the group to the route put alert rule group params
func (*RoutePutAlertRuleGroupParams) SetHTTPClient ¶
func (o *RoutePutAlertRuleGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the route put alert rule group params
func (*RoutePutAlertRuleGroupParams) SetTimeout ¶
func (o *RoutePutAlertRuleGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the route put alert rule group params
func (*RoutePutAlertRuleGroupParams) WithBody ¶
func (o *RoutePutAlertRuleGroupParams) WithBody(body *models.AlertRuleGroup) *RoutePutAlertRuleGroupParams
WithBody adds the body to the route put alert rule group params
func (*RoutePutAlertRuleGroupParams) WithContext ¶
func (o *RoutePutAlertRuleGroupParams) WithContext(ctx context.Context) *RoutePutAlertRuleGroupParams
WithContext adds the context to the route put alert rule group params
func (*RoutePutAlertRuleGroupParams) WithDefaults ¶
func (o *RoutePutAlertRuleGroupParams) WithDefaults() *RoutePutAlertRuleGroupParams
WithDefaults hydrates default values in the route put alert rule group params (not the query body).
All values with no default are reset to their zero value.
func (*RoutePutAlertRuleGroupParams) WithFolderUID ¶
func (o *RoutePutAlertRuleGroupParams) WithFolderUID(folderUID string) *RoutePutAlertRuleGroupParams
WithFolderUID adds the folderUID to the route put alert rule group params
func (*RoutePutAlertRuleGroupParams) WithGroup ¶
func (o *RoutePutAlertRuleGroupParams) WithGroup(group string) *RoutePutAlertRuleGroupParams
WithGroup adds the group to the route put alert rule group params
func (*RoutePutAlertRuleGroupParams) WithHTTPClient ¶
func (o *RoutePutAlertRuleGroupParams) WithHTTPClient(client *http.Client) *RoutePutAlertRuleGroupParams
WithHTTPClient adds the HTTPClient to the route put alert rule group params
func (*RoutePutAlertRuleGroupParams) WithTimeout ¶
func (o *RoutePutAlertRuleGroupParams) WithTimeout(timeout time.Duration) *RoutePutAlertRuleGroupParams
WithTimeout adds the timeout to the route put alert rule group params
func (*RoutePutAlertRuleGroupParams) WriteToRequest ¶
func (o *RoutePutAlertRuleGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RoutePutAlertRuleGroupReader ¶
type RoutePutAlertRuleGroupReader struct {
// contains filtered or unexported fields
}
RoutePutAlertRuleGroupReader is a Reader for the RoutePutAlertRuleGroup structure.
func (*RoutePutAlertRuleGroupReader) ReadResponse ¶
func (o *RoutePutAlertRuleGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RoutePutAlertRuleOK ¶
type RoutePutAlertRuleOK struct {
Payload *models.ProvisionedAlertRule
}
RoutePutAlertRuleOK describes a response with status code 200, with default header values.
ProvisionedAlertRule
func NewRoutePutAlertRuleOK ¶
func NewRoutePutAlertRuleOK() *RoutePutAlertRuleOK
NewRoutePutAlertRuleOK creates a RoutePutAlertRuleOK with default headers values
func (*RoutePutAlertRuleOK) Error ¶
func (o *RoutePutAlertRuleOK) Error() string
func (*RoutePutAlertRuleOK) GetPayload ¶
func (o *RoutePutAlertRuleOK) GetPayload() *models.ProvisionedAlertRule
type RoutePutAlertRuleParams ¶
type RoutePutAlertRuleParams 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 }
RoutePutAlertRuleParams contains all the parameters to send to the API endpoint
for the route put alert rule operation. Typically these are written to a http.Request.
func NewRoutePutAlertRuleParams ¶
func NewRoutePutAlertRuleParams() *RoutePutAlertRuleParams
NewRoutePutAlertRuleParams creates a new RoutePutAlertRuleParams 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 NewRoutePutAlertRuleParamsWithContext ¶
func NewRoutePutAlertRuleParamsWithContext(ctx context.Context) *RoutePutAlertRuleParams
NewRoutePutAlertRuleParamsWithContext creates a new RoutePutAlertRuleParams object with the ability to set a context for a request.
func NewRoutePutAlertRuleParamsWithHTTPClient ¶
func NewRoutePutAlertRuleParamsWithHTTPClient(client *http.Client) *RoutePutAlertRuleParams
NewRoutePutAlertRuleParamsWithHTTPClient creates a new RoutePutAlertRuleParams object with the ability to set a custom HTTPClient for a request.
func NewRoutePutAlertRuleParamsWithTimeout ¶
func NewRoutePutAlertRuleParamsWithTimeout(timeout time.Duration) *RoutePutAlertRuleParams
NewRoutePutAlertRuleParamsWithTimeout creates a new RoutePutAlertRuleParams object with the ability to set a timeout on a request.
func (*RoutePutAlertRuleParams) SetBody ¶
func (o *RoutePutAlertRuleParams) SetBody(body *models.ProvisionedAlertRule)
SetBody adds the body to the route put alert rule params
func (*RoutePutAlertRuleParams) SetContext ¶
func (o *RoutePutAlertRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the route put alert rule params
func (*RoutePutAlertRuleParams) SetDefaults ¶
func (o *RoutePutAlertRuleParams) SetDefaults()
SetDefaults hydrates default values in the route put alert rule params (not the query body).
All values with no default are reset to their zero value.
func (*RoutePutAlertRuleParams) SetHTTPClient ¶
func (o *RoutePutAlertRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the route put alert rule params
func (*RoutePutAlertRuleParams) SetTimeout ¶
func (o *RoutePutAlertRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the route put alert rule params
func (*RoutePutAlertRuleParams) SetUID ¶
func (o *RoutePutAlertRuleParams) SetUID(uid string)
SetUID adds the uid to the route put alert rule params
func (*RoutePutAlertRuleParams) SetXDisableProvenance ¶
func (o *RoutePutAlertRuleParams) SetXDisableProvenance(xDisableProvenance *string)
SetXDisableProvenance adds the xDisableProvenance to the route put alert rule params
func (*RoutePutAlertRuleParams) WithBody ¶
func (o *RoutePutAlertRuleParams) WithBody(body *models.ProvisionedAlertRule) *RoutePutAlertRuleParams
WithBody adds the body to the route put alert rule params
func (*RoutePutAlertRuleParams) WithContext ¶
func (o *RoutePutAlertRuleParams) WithContext(ctx context.Context) *RoutePutAlertRuleParams
WithContext adds the context to the route put alert rule params
func (*RoutePutAlertRuleParams) WithDefaults ¶
func (o *RoutePutAlertRuleParams) WithDefaults() *RoutePutAlertRuleParams
WithDefaults hydrates default values in the route put alert rule params (not the query body).
All values with no default are reset to their zero value.
func (*RoutePutAlertRuleParams) WithHTTPClient ¶
func (o *RoutePutAlertRuleParams) WithHTTPClient(client *http.Client) *RoutePutAlertRuleParams
WithHTTPClient adds the HTTPClient to the route put alert rule params
func (*RoutePutAlertRuleParams) WithTimeout ¶
func (o *RoutePutAlertRuleParams) WithTimeout(timeout time.Duration) *RoutePutAlertRuleParams
WithTimeout adds the timeout to the route put alert rule params
func (*RoutePutAlertRuleParams) WithUID ¶
func (o *RoutePutAlertRuleParams) WithUID(uid string) *RoutePutAlertRuleParams
WithUID adds the uid to the route put alert rule params
func (*RoutePutAlertRuleParams) WithXDisableProvenance ¶
func (o *RoutePutAlertRuleParams) WithXDisableProvenance(xDisableProvenance *string) *RoutePutAlertRuleParams
WithXDisableProvenance adds the xDisableProvenance to the route put alert rule params
func (*RoutePutAlertRuleParams) WriteToRequest ¶
func (o *RoutePutAlertRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RoutePutAlertRuleReader ¶
type RoutePutAlertRuleReader struct {
// contains filtered or unexported fields
}
RoutePutAlertRuleReader is a Reader for the RoutePutAlertRule structure.
func (*RoutePutAlertRuleReader) ReadResponse ¶
func (o *RoutePutAlertRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RoutePutContactpointAccepted ¶
RoutePutContactpointAccepted describes a response with status code 202, with default header values.
Ack
func NewRoutePutContactpointAccepted ¶
func NewRoutePutContactpointAccepted() *RoutePutContactpointAccepted
NewRoutePutContactpointAccepted creates a RoutePutContactpointAccepted with default headers values
func (*RoutePutContactpointAccepted) Error ¶
func (o *RoutePutContactpointAccepted) Error() string
func (*RoutePutContactpointAccepted) GetPayload ¶
func (o *RoutePutContactpointAccepted) GetPayload() models.Ack
type RoutePutContactpointBadRequest ¶
type RoutePutContactpointBadRequest struct {
Payload *models.ValidationError
}
RoutePutContactpointBadRequest describes a response with status code 400, with default header values.
ValidationError
func NewRoutePutContactpointBadRequest ¶
func NewRoutePutContactpointBadRequest() *RoutePutContactpointBadRequest
NewRoutePutContactpointBadRequest creates a RoutePutContactpointBadRequest with default headers values
func (*RoutePutContactpointBadRequest) Error ¶
func (o *RoutePutContactpointBadRequest) Error() string
func (*RoutePutContactpointBadRequest) GetPayload ¶
func (o *RoutePutContactpointBadRequest) GetPayload() *models.ValidationError
type RoutePutContactpointParams ¶
type RoutePutContactpointParams struct { // Body. Body *models.EmbeddedContactPoint /* UID. UID is the contact point unique identifier */ UID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RoutePutContactpointParams contains all the parameters to send to the API endpoint
for the route put contactpoint operation. Typically these are written to a http.Request.
func NewRoutePutContactpointParams ¶
func NewRoutePutContactpointParams() *RoutePutContactpointParams
NewRoutePutContactpointParams creates a new RoutePutContactpointParams 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 NewRoutePutContactpointParamsWithContext ¶
func NewRoutePutContactpointParamsWithContext(ctx context.Context) *RoutePutContactpointParams
NewRoutePutContactpointParamsWithContext creates a new RoutePutContactpointParams object with the ability to set a context for a request.
func NewRoutePutContactpointParamsWithHTTPClient ¶
func NewRoutePutContactpointParamsWithHTTPClient(client *http.Client) *RoutePutContactpointParams
NewRoutePutContactpointParamsWithHTTPClient creates a new RoutePutContactpointParams object with the ability to set a custom HTTPClient for a request.
func NewRoutePutContactpointParamsWithTimeout ¶
func NewRoutePutContactpointParamsWithTimeout(timeout time.Duration) *RoutePutContactpointParams
NewRoutePutContactpointParamsWithTimeout creates a new RoutePutContactpointParams object with the ability to set a timeout on a request.
func (*RoutePutContactpointParams) SetBody ¶
func (o *RoutePutContactpointParams) SetBody(body *models.EmbeddedContactPoint)
SetBody adds the body to the route put contactpoint params
func (*RoutePutContactpointParams) SetContext ¶
func (o *RoutePutContactpointParams) SetContext(ctx context.Context)
SetContext adds the context to the route put contactpoint params
func (*RoutePutContactpointParams) SetDefaults ¶
func (o *RoutePutContactpointParams) SetDefaults()
SetDefaults hydrates default values in the route put contactpoint params (not the query body).
All values with no default are reset to their zero value.
func (*RoutePutContactpointParams) SetHTTPClient ¶
func (o *RoutePutContactpointParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the route put contactpoint params
func (*RoutePutContactpointParams) SetTimeout ¶
func (o *RoutePutContactpointParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the route put contactpoint params
func (*RoutePutContactpointParams) SetUID ¶
func (o *RoutePutContactpointParams) SetUID(uid string)
SetUID adds the uid to the route put contactpoint params
func (*RoutePutContactpointParams) WithBody ¶
func (o *RoutePutContactpointParams) WithBody(body *models.EmbeddedContactPoint) *RoutePutContactpointParams
WithBody adds the body to the route put contactpoint params
func (*RoutePutContactpointParams) WithContext ¶
func (o *RoutePutContactpointParams) WithContext(ctx context.Context) *RoutePutContactpointParams
WithContext adds the context to the route put contactpoint params
func (*RoutePutContactpointParams) WithDefaults ¶
func (o *RoutePutContactpointParams) WithDefaults() *RoutePutContactpointParams
WithDefaults hydrates default values in the route put contactpoint params (not the query body).
All values with no default are reset to their zero value.
func (*RoutePutContactpointParams) WithHTTPClient ¶
func (o *RoutePutContactpointParams) WithHTTPClient(client *http.Client) *RoutePutContactpointParams
WithHTTPClient adds the HTTPClient to the route put contactpoint params
func (*RoutePutContactpointParams) WithTimeout ¶
func (o *RoutePutContactpointParams) WithTimeout(timeout time.Duration) *RoutePutContactpointParams
WithTimeout adds the timeout to the route put contactpoint params
func (*RoutePutContactpointParams) WithUID ¶
func (o *RoutePutContactpointParams) WithUID(uid string) *RoutePutContactpointParams
WithUID adds the uid to the route put contactpoint params
func (*RoutePutContactpointParams) WriteToRequest ¶
func (o *RoutePutContactpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RoutePutContactpointReader ¶
type RoutePutContactpointReader struct {
// contains filtered or unexported fields
}
RoutePutContactpointReader is a Reader for the RoutePutContactpoint structure.
func (*RoutePutContactpointReader) ReadResponse ¶
func (o *RoutePutContactpointReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RoutePutMuteTimingBadRequest ¶
type RoutePutMuteTimingBadRequest struct {
Payload *models.ValidationError
}
RoutePutMuteTimingBadRequest describes a response with status code 400, with default header values.
ValidationError
func NewRoutePutMuteTimingBadRequest ¶
func NewRoutePutMuteTimingBadRequest() *RoutePutMuteTimingBadRequest
NewRoutePutMuteTimingBadRequest creates a RoutePutMuteTimingBadRequest with default headers values
func (*RoutePutMuteTimingBadRequest) Error ¶
func (o *RoutePutMuteTimingBadRequest) Error() string
func (*RoutePutMuteTimingBadRequest) GetPayload ¶
func (o *RoutePutMuteTimingBadRequest) GetPayload() *models.ValidationError
type RoutePutMuteTimingOK ¶
type RoutePutMuteTimingOK struct {
Payload *models.MuteTimeInterval
}
RoutePutMuteTimingOK describes a response with status code 200, with default header values.
MuteTimeInterval
func NewRoutePutMuteTimingOK ¶
func NewRoutePutMuteTimingOK() *RoutePutMuteTimingOK
NewRoutePutMuteTimingOK creates a RoutePutMuteTimingOK with default headers values
func (*RoutePutMuteTimingOK) Error ¶
func (o *RoutePutMuteTimingOK) Error() string
func (*RoutePutMuteTimingOK) GetPayload ¶
func (o *RoutePutMuteTimingOK) GetPayload() *models.MuteTimeInterval
type RoutePutMuteTimingParams ¶
type RoutePutMuteTimingParams struct { // Body. Body *models.MuteTimeInterval /* Name. Mute timing name */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RoutePutMuteTimingParams contains all the parameters to send to the API endpoint
for the route put mute timing operation. Typically these are written to a http.Request.
func NewRoutePutMuteTimingParams ¶
func NewRoutePutMuteTimingParams() *RoutePutMuteTimingParams
NewRoutePutMuteTimingParams creates a new RoutePutMuteTimingParams 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 NewRoutePutMuteTimingParamsWithContext ¶
func NewRoutePutMuteTimingParamsWithContext(ctx context.Context) *RoutePutMuteTimingParams
NewRoutePutMuteTimingParamsWithContext creates a new RoutePutMuteTimingParams object with the ability to set a context for a request.
func NewRoutePutMuteTimingParamsWithHTTPClient ¶
func NewRoutePutMuteTimingParamsWithHTTPClient(client *http.Client) *RoutePutMuteTimingParams
NewRoutePutMuteTimingParamsWithHTTPClient creates a new RoutePutMuteTimingParams object with the ability to set a custom HTTPClient for a request.
func NewRoutePutMuteTimingParamsWithTimeout ¶
func NewRoutePutMuteTimingParamsWithTimeout(timeout time.Duration) *RoutePutMuteTimingParams
NewRoutePutMuteTimingParamsWithTimeout creates a new RoutePutMuteTimingParams object with the ability to set a timeout on a request.
func (*RoutePutMuteTimingParams) SetBody ¶
func (o *RoutePutMuteTimingParams) SetBody(body *models.MuteTimeInterval)
SetBody adds the body to the route put mute timing params
func (*RoutePutMuteTimingParams) SetContext ¶
func (o *RoutePutMuteTimingParams) SetContext(ctx context.Context)
SetContext adds the context to the route put mute timing params
func (*RoutePutMuteTimingParams) SetDefaults ¶
func (o *RoutePutMuteTimingParams) SetDefaults()
SetDefaults hydrates default values in the route put mute timing params (not the query body).
All values with no default are reset to their zero value.
func (*RoutePutMuteTimingParams) SetHTTPClient ¶
func (o *RoutePutMuteTimingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the route put mute timing params
func (*RoutePutMuteTimingParams) SetName ¶
func (o *RoutePutMuteTimingParams) SetName(name string)
SetName adds the name to the route put mute timing params
func (*RoutePutMuteTimingParams) SetTimeout ¶
func (o *RoutePutMuteTimingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the route put mute timing params
func (*RoutePutMuteTimingParams) WithBody ¶
func (o *RoutePutMuteTimingParams) WithBody(body *models.MuteTimeInterval) *RoutePutMuteTimingParams
WithBody adds the body to the route put mute timing params
func (*RoutePutMuteTimingParams) WithContext ¶
func (o *RoutePutMuteTimingParams) WithContext(ctx context.Context) *RoutePutMuteTimingParams
WithContext adds the context to the route put mute timing params
func (*RoutePutMuteTimingParams) WithDefaults ¶
func (o *RoutePutMuteTimingParams) WithDefaults() *RoutePutMuteTimingParams
WithDefaults hydrates default values in the route put mute timing params (not the query body).
All values with no default are reset to their zero value.
func (*RoutePutMuteTimingParams) WithHTTPClient ¶
func (o *RoutePutMuteTimingParams) WithHTTPClient(client *http.Client) *RoutePutMuteTimingParams
WithHTTPClient adds the HTTPClient to the route put mute timing params
func (*RoutePutMuteTimingParams) WithName ¶
func (o *RoutePutMuteTimingParams) WithName(name string) *RoutePutMuteTimingParams
WithName adds the name to the route put mute timing params
func (*RoutePutMuteTimingParams) WithTimeout ¶
func (o *RoutePutMuteTimingParams) WithTimeout(timeout time.Duration) *RoutePutMuteTimingParams
WithTimeout adds the timeout to the route put mute timing params
func (*RoutePutMuteTimingParams) WriteToRequest ¶
func (o *RoutePutMuteTimingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RoutePutMuteTimingReader ¶
type RoutePutMuteTimingReader struct {
// contains filtered or unexported fields
}
RoutePutMuteTimingReader is a Reader for the RoutePutMuteTiming structure.
func (*RoutePutMuteTimingReader) ReadResponse ¶
func (o *RoutePutMuteTimingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RoutePutPolicyTreeAccepted ¶
RoutePutPolicyTreeAccepted describes a response with status code 202, with default header values.
Ack
func NewRoutePutPolicyTreeAccepted ¶
func NewRoutePutPolicyTreeAccepted() *RoutePutPolicyTreeAccepted
NewRoutePutPolicyTreeAccepted creates a RoutePutPolicyTreeAccepted with default headers values
func (*RoutePutPolicyTreeAccepted) Error ¶
func (o *RoutePutPolicyTreeAccepted) Error() string
func (*RoutePutPolicyTreeAccepted) GetPayload ¶
func (o *RoutePutPolicyTreeAccepted) GetPayload() models.Ack
type RoutePutPolicyTreeBadRequest ¶
type RoutePutPolicyTreeBadRequest struct {
Payload *models.ValidationError
}
RoutePutPolicyTreeBadRequest describes a response with status code 400, with default header values.
ValidationError
func NewRoutePutPolicyTreeBadRequest ¶
func NewRoutePutPolicyTreeBadRequest() *RoutePutPolicyTreeBadRequest
NewRoutePutPolicyTreeBadRequest creates a RoutePutPolicyTreeBadRequest with default headers values
func (*RoutePutPolicyTreeBadRequest) Error ¶
func (o *RoutePutPolicyTreeBadRequest) Error() string
func (*RoutePutPolicyTreeBadRequest) GetPayload ¶
func (o *RoutePutPolicyTreeBadRequest) GetPayload() *models.ValidationError
type RoutePutPolicyTreeParams ¶
type RoutePutPolicyTreeParams struct { /* Body. The new notification routing tree to use */ Body *models.Route Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RoutePutPolicyTreeParams contains all the parameters to send to the API endpoint
for the route put policy tree operation. Typically these are written to a http.Request.
func NewRoutePutPolicyTreeParams ¶
func NewRoutePutPolicyTreeParams() *RoutePutPolicyTreeParams
NewRoutePutPolicyTreeParams creates a new RoutePutPolicyTreeParams 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 NewRoutePutPolicyTreeParamsWithContext ¶
func NewRoutePutPolicyTreeParamsWithContext(ctx context.Context) *RoutePutPolicyTreeParams
NewRoutePutPolicyTreeParamsWithContext creates a new RoutePutPolicyTreeParams object with the ability to set a context for a request.
func NewRoutePutPolicyTreeParamsWithHTTPClient ¶
func NewRoutePutPolicyTreeParamsWithHTTPClient(client *http.Client) *RoutePutPolicyTreeParams
NewRoutePutPolicyTreeParamsWithHTTPClient creates a new RoutePutPolicyTreeParams object with the ability to set a custom HTTPClient for a request.
func NewRoutePutPolicyTreeParamsWithTimeout ¶
func NewRoutePutPolicyTreeParamsWithTimeout(timeout time.Duration) *RoutePutPolicyTreeParams
NewRoutePutPolicyTreeParamsWithTimeout creates a new RoutePutPolicyTreeParams object with the ability to set a timeout on a request.
func (*RoutePutPolicyTreeParams) SetBody ¶
func (o *RoutePutPolicyTreeParams) SetBody(body *models.Route)
SetBody adds the body to the route put policy tree params
func (*RoutePutPolicyTreeParams) SetContext ¶
func (o *RoutePutPolicyTreeParams) SetContext(ctx context.Context)
SetContext adds the context to the route put policy tree params
func (*RoutePutPolicyTreeParams) SetDefaults ¶
func (o *RoutePutPolicyTreeParams) SetDefaults()
SetDefaults hydrates default values in the route put policy tree params (not the query body).
All values with no default are reset to their zero value.
func (*RoutePutPolicyTreeParams) SetHTTPClient ¶
func (o *RoutePutPolicyTreeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the route put policy tree params
func (*RoutePutPolicyTreeParams) SetTimeout ¶
func (o *RoutePutPolicyTreeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the route put policy tree params
func (*RoutePutPolicyTreeParams) WithBody ¶
func (o *RoutePutPolicyTreeParams) WithBody(body *models.Route) *RoutePutPolicyTreeParams
WithBody adds the body to the route put policy tree params
func (*RoutePutPolicyTreeParams) WithContext ¶
func (o *RoutePutPolicyTreeParams) WithContext(ctx context.Context) *RoutePutPolicyTreeParams
WithContext adds the context to the route put policy tree params
func (*RoutePutPolicyTreeParams) WithDefaults ¶
func (o *RoutePutPolicyTreeParams) WithDefaults() *RoutePutPolicyTreeParams
WithDefaults hydrates default values in the route put policy tree params (not the query body).
All values with no default are reset to their zero value.
func (*RoutePutPolicyTreeParams) WithHTTPClient ¶
func (o *RoutePutPolicyTreeParams) WithHTTPClient(client *http.Client) *RoutePutPolicyTreeParams
WithHTTPClient adds the HTTPClient to the route put policy tree params
func (*RoutePutPolicyTreeParams) WithTimeout ¶
func (o *RoutePutPolicyTreeParams) WithTimeout(timeout time.Duration) *RoutePutPolicyTreeParams
WithTimeout adds the timeout to the route put policy tree params
func (*RoutePutPolicyTreeParams) WriteToRequest ¶
func (o *RoutePutPolicyTreeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RoutePutPolicyTreeReader ¶
type RoutePutPolicyTreeReader struct {
// contains filtered or unexported fields
}
RoutePutPolicyTreeReader is a Reader for the RoutePutPolicyTree structure.
func (*RoutePutPolicyTreeReader) ReadResponse ¶
func (o *RoutePutPolicyTreeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RoutePutTemplateAccepted ¶
type RoutePutTemplateAccepted struct {
Payload *models.NotificationTemplate
}
RoutePutTemplateAccepted describes a response with status code 202, with default header values.
NotificationTemplate
func NewRoutePutTemplateAccepted ¶
func NewRoutePutTemplateAccepted() *RoutePutTemplateAccepted
NewRoutePutTemplateAccepted creates a RoutePutTemplateAccepted with default headers values
func (*RoutePutTemplateAccepted) Error ¶
func (o *RoutePutTemplateAccepted) Error() string
func (*RoutePutTemplateAccepted) GetPayload ¶
func (o *RoutePutTemplateAccepted) GetPayload() *models.NotificationTemplate
type RoutePutTemplateBadRequest ¶
type RoutePutTemplateBadRequest struct {
Payload *models.ValidationError
}
RoutePutTemplateBadRequest describes a response with status code 400, with default header values.
ValidationError
func NewRoutePutTemplateBadRequest ¶
func NewRoutePutTemplateBadRequest() *RoutePutTemplateBadRequest
NewRoutePutTemplateBadRequest creates a RoutePutTemplateBadRequest with default headers values
func (*RoutePutTemplateBadRequest) Error ¶
func (o *RoutePutTemplateBadRequest) Error() string
func (*RoutePutTemplateBadRequest) GetPayload ¶
func (o *RoutePutTemplateBadRequest) GetPayload() *models.ValidationError
type RoutePutTemplateParams ¶
type RoutePutTemplateParams struct { // Body. Body *models.NotificationTemplateContent /* Name. Template Name */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RoutePutTemplateParams contains all the parameters to send to the API endpoint
for the route put template operation. Typically these are written to a http.Request.
func NewRoutePutTemplateParams ¶
func NewRoutePutTemplateParams() *RoutePutTemplateParams
NewRoutePutTemplateParams creates a new RoutePutTemplateParams 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 NewRoutePutTemplateParamsWithContext ¶
func NewRoutePutTemplateParamsWithContext(ctx context.Context) *RoutePutTemplateParams
NewRoutePutTemplateParamsWithContext creates a new RoutePutTemplateParams object with the ability to set a context for a request.
func NewRoutePutTemplateParamsWithHTTPClient ¶
func NewRoutePutTemplateParamsWithHTTPClient(client *http.Client) *RoutePutTemplateParams
NewRoutePutTemplateParamsWithHTTPClient creates a new RoutePutTemplateParams object with the ability to set a custom HTTPClient for a request.
func NewRoutePutTemplateParamsWithTimeout ¶
func NewRoutePutTemplateParamsWithTimeout(timeout time.Duration) *RoutePutTemplateParams
NewRoutePutTemplateParamsWithTimeout creates a new RoutePutTemplateParams object with the ability to set a timeout on a request.
func (*RoutePutTemplateParams) SetBody ¶
func (o *RoutePutTemplateParams) SetBody(body *models.NotificationTemplateContent)
SetBody adds the body to the route put template params
func (*RoutePutTemplateParams) SetContext ¶
func (o *RoutePutTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the route put template params
func (*RoutePutTemplateParams) SetDefaults ¶
func (o *RoutePutTemplateParams) SetDefaults()
SetDefaults hydrates default values in the route put template params (not the query body).
All values with no default are reset to their zero value.
func (*RoutePutTemplateParams) SetHTTPClient ¶
func (o *RoutePutTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the route put template params
func (*RoutePutTemplateParams) SetName ¶
func (o *RoutePutTemplateParams) SetName(name string)
SetName adds the name to the route put template params
func (*RoutePutTemplateParams) SetTimeout ¶
func (o *RoutePutTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the route put template params
func (*RoutePutTemplateParams) WithBody ¶
func (o *RoutePutTemplateParams) WithBody(body *models.NotificationTemplateContent) *RoutePutTemplateParams
WithBody adds the body to the route put template params
func (*RoutePutTemplateParams) WithContext ¶
func (o *RoutePutTemplateParams) WithContext(ctx context.Context) *RoutePutTemplateParams
WithContext adds the context to the route put template params
func (*RoutePutTemplateParams) WithDefaults ¶
func (o *RoutePutTemplateParams) WithDefaults() *RoutePutTemplateParams
WithDefaults hydrates default values in the route put template params (not the query body).
All values with no default are reset to their zero value.
func (*RoutePutTemplateParams) WithHTTPClient ¶
func (o *RoutePutTemplateParams) WithHTTPClient(client *http.Client) *RoutePutTemplateParams
WithHTTPClient adds the HTTPClient to the route put template params
func (*RoutePutTemplateParams) WithName ¶
func (o *RoutePutTemplateParams) WithName(name string) *RoutePutTemplateParams
WithName adds the name to the route put template params
func (*RoutePutTemplateParams) WithTimeout ¶
func (o *RoutePutTemplateParams) WithTimeout(timeout time.Duration) *RoutePutTemplateParams
WithTimeout adds the timeout to the route put template params
func (*RoutePutTemplateParams) WriteToRequest ¶
func (o *RoutePutTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RoutePutTemplateReader ¶
type RoutePutTemplateReader struct {
// contains filtered or unexported fields
}
RoutePutTemplateReader is a Reader for the RoutePutTemplate structure.
func (*RoutePutTemplateReader) ReadResponse ¶
func (o *RoutePutTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RouteResetPolicyTreeAccepted ¶
RouteResetPolicyTreeAccepted describes a response with status code 202, with default header values.
Ack
func NewRouteResetPolicyTreeAccepted ¶
func NewRouteResetPolicyTreeAccepted() *RouteResetPolicyTreeAccepted
NewRouteResetPolicyTreeAccepted creates a RouteResetPolicyTreeAccepted with default headers values
func (*RouteResetPolicyTreeAccepted) Error ¶
func (o *RouteResetPolicyTreeAccepted) Error() string
func (*RouteResetPolicyTreeAccepted) GetPayload ¶
func (o *RouteResetPolicyTreeAccepted) GetPayload() models.Ack
type RouteResetPolicyTreeParams ¶
type RouteResetPolicyTreeParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RouteResetPolicyTreeParams contains all the parameters to send to the API endpoint
for the route reset policy tree operation. Typically these are written to a http.Request.
func NewRouteResetPolicyTreeParams ¶
func NewRouteResetPolicyTreeParams() *RouteResetPolicyTreeParams
NewRouteResetPolicyTreeParams creates a new RouteResetPolicyTreeParams 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 NewRouteResetPolicyTreeParamsWithContext ¶
func NewRouteResetPolicyTreeParamsWithContext(ctx context.Context) *RouteResetPolicyTreeParams
NewRouteResetPolicyTreeParamsWithContext creates a new RouteResetPolicyTreeParams object with the ability to set a context for a request.
func NewRouteResetPolicyTreeParamsWithHTTPClient ¶
func NewRouteResetPolicyTreeParamsWithHTTPClient(client *http.Client) *RouteResetPolicyTreeParams
NewRouteResetPolicyTreeParamsWithHTTPClient creates a new RouteResetPolicyTreeParams object with the ability to set a custom HTTPClient for a request.
func NewRouteResetPolicyTreeParamsWithTimeout ¶
func NewRouteResetPolicyTreeParamsWithTimeout(timeout time.Duration) *RouteResetPolicyTreeParams
NewRouteResetPolicyTreeParamsWithTimeout creates a new RouteResetPolicyTreeParams object with the ability to set a timeout on a request.
func (*RouteResetPolicyTreeParams) SetContext ¶
func (o *RouteResetPolicyTreeParams) SetContext(ctx context.Context)
SetContext adds the context to the route reset policy tree params
func (*RouteResetPolicyTreeParams) SetDefaults ¶
func (o *RouteResetPolicyTreeParams) SetDefaults()
SetDefaults hydrates default values in the route reset policy tree params (not the query body).
All values with no default are reset to their zero value.
func (*RouteResetPolicyTreeParams) SetHTTPClient ¶
func (o *RouteResetPolicyTreeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the route reset policy tree params
func (*RouteResetPolicyTreeParams) SetTimeout ¶
func (o *RouteResetPolicyTreeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the route reset policy tree params
func (*RouteResetPolicyTreeParams) WithContext ¶
func (o *RouteResetPolicyTreeParams) WithContext(ctx context.Context) *RouteResetPolicyTreeParams
WithContext adds the context to the route reset policy tree params
func (*RouteResetPolicyTreeParams) WithDefaults ¶
func (o *RouteResetPolicyTreeParams) WithDefaults() *RouteResetPolicyTreeParams
WithDefaults hydrates default values in the route reset policy tree params (not the query body).
All values with no default are reset to their zero value.
func (*RouteResetPolicyTreeParams) WithHTTPClient ¶
func (o *RouteResetPolicyTreeParams) WithHTTPClient(client *http.Client) *RouteResetPolicyTreeParams
WithHTTPClient adds the HTTPClient to the route reset policy tree params
func (*RouteResetPolicyTreeParams) WithTimeout ¶
func (o *RouteResetPolicyTreeParams) WithTimeout(timeout time.Duration) *RouteResetPolicyTreeParams
WithTimeout adds the timeout to the route reset policy tree params
func (*RouteResetPolicyTreeParams) WriteToRequest ¶
func (o *RouteResetPolicyTreeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RouteResetPolicyTreeReader ¶
type RouteResetPolicyTreeReader struct {
// contains filtered or unexported fields
}
RouteResetPolicyTreeReader is a Reader for the RouteResetPolicyTree structure.
func (*RouteResetPolicyTreeReader) ReadResponse ¶
func (o *RouteResetPolicyTreeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- provisioning_client.go
- route_delete_alert_rule_parameters.go
- route_delete_alert_rule_responses.go
- route_delete_contactpoints_parameters.go
- route_delete_contactpoints_responses.go
- route_delete_mute_timing_parameters.go
- route_delete_mute_timing_responses.go
- route_delete_template_parameters.go
- route_delete_template_responses.go
- route_get_alert_rule_export_parameters.go
- route_get_alert_rule_export_responses.go
- route_get_alert_rule_group_export_parameters.go
- route_get_alert_rule_group_export_responses.go
- route_get_alert_rule_group_parameters.go
- route_get_alert_rule_group_responses.go
- route_get_alert_rule_parameters.go
- route_get_alert_rule_responses.go
- route_get_alert_rules_export_parameters.go
- route_get_alert_rules_export_responses.go
- route_get_alert_rules_parameters.go
- route_get_alert_rules_responses.go
- route_get_contactpoints_parameters.go
- route_get_contactpoints_responses.go
- route_get_mute_timing_parameters.go
- route_get_mute_timing_responses.go
- route_get_mute_timings_parameters.go
- route_get_mute_timings_responses.go
- route_get_policy_tree_parameters.go
- route_get_policy_tree_responses.go
- route_get_template_parameters.go
- route_get_template_responses.go
- route_get_templates_parameters.go
- route_get_templates_responses.go
- route_post_alert_rule_parameters.go
- route_post_alert_rule_responses.go
- route_post_contactpoints_parameters.go
- route_post_contactpoints_responses.go
- route_post_mute_timing_parameters.go
- route_post_mute_timing_responses.go
- route_put_alert_rule_group_parameters.go
- route_put_alert_rule_group_responses.go
- route_put_alert_rule_parameters.go
- route_put_alert_rule_responses.go
- route_put_contactpoint_parameters.go
- route_put_contactpoint_responses.go
- route_put_mute_timing_parameters.go
- route_put_mute_timing_responses.go
- route_put_policy_tree_parameters.go
- route_put_policy_tree_responses.go
- route_put_template_parameters.go
- route_put_template_responses.go
- route_reset_policy_tree_parameters.go
- route_reset_policy_tree_responses.go