provisioning

package
v0.0.0-...-d4d7cce Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for 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

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

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

WithContext adds the context to the route delete alert rule params

func (*RouteDeleteAlertRuleParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the route delete alert rule params

func (*RouteDeleteAlertRuleParams) WithTimeout

WithTimeout adds the timeout to the route delete alert rule params

func (*RouteDeleteAlertRuleParams) WithUID

WithUID adds the uid to the route delete alert rule params

func (*RouteDeleteAlertRuleParams) WriteToRequest

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

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

WithContext adds the context to the route delete contactpoints params

func (*RouteDeleteContactpointsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the route delete contactpoints params

func (*RouteDeleteContactpointsParams) WithTimeout

WithTimeout adds the timeout to the route delete contactpoints params

func (*RouteDeleteContactpointsParams) WithUID

WithUID adds the uid to the route delete contactpoints params

func (*RouteDeleteContactpointsParams) WriteToRequest

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

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

WithContext adds the context to the route delete mute timing params

func (*RouteDeleteMuteTimingParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the route delete mute timing params

func (*RouteDeleteMuteTimingParams) WithName

WithName adds the name to the route delete mute timing params

func (*RouteDeleteMuteTimingParams) WithTimeout

WithTimeout adds the timeout to the route delete mute timing params

func (*RouteDeleteMuteTimingParams) WriteToRequest

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

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

WithContext adds the context to the route delete template params

func (*RouteDeleteTemplateParams) WithDefaults

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

WithName adds the name to the route delete template params

func (*RouteDeleteTemplateParams) WithTimeout

WithTimeout adds the timeout to the route delete template params

func (*RouteDeleteTemplateParams) WriteToRequest

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

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

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

WithContext adds the context to the route get alert rule export params

func (*RouteGetAlertRuleExportParams) WithDefaults

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

WithDownload adds the download to the route get alert rule export params

func (*RouteGetAlertRuleExportParams) WithFormat

WithFormat adds the format to the route get alert rule export params

func (*RouteGetAlertRuleExportParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the route get alert rule export params

func (*RouteGetAlertRuleExportParams) WithTimeout

WithTimeout adds the timeout to the route get alert rule export params

func (*RouteGetAlertRuleExportParams) WithUID

WithUID adds the uid to the route get alert rule export params

func (*RouteGetAlertRuleExportParams) WriteToRequest

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

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 (*RouteGetAlertRuleGroupExportOK) GetPayload

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

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

WithContext adds the context to the route get alert rule group export params

func (*RouteGetAlertRuleGroupExportParams) WithDefaults

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

WithDownload adds the download to the route get alert rule group export params

func (*RouteGetAlertRuleGroupExportParams) WithFolderUID

WithFolderUID adds the folderUID to the route get alert rule group export params

func (*RouteGetAlertRuleGroupExportParams) WithFormat

WithFormat adds the format to the route get alert rule group export params

func (*RouteGetAlertRuleGroupExportParams) WithGroup

WithGroup adds the group to the route get alert rule group export params

func (*RouteGetAlertRuleGroupExportParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the route get alert rule group export params

func (*RouteGetAlertRuleGroupExportParams) WithTimeout

WithTimeout adds the timeout to the route get alert rule group export params

func (*RouteGetAlertRuleGroupExportParams) WriteToRequest

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

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

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

WithContext adds the context to the route get alert rule group params

func (*RouteGetAlertRuleGroupParams) WithDefaults

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

WithFolderUID adds the folderUID to the route get alert rule group params

func (*RouteGetAlertRuleGroupParams) WithGroup

WithGroup adds the group to the route get alert rule group params

func (*RouteGetAlertRuleGroupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the route get alert rule group params

func (*RouteGetAlertRuleGroupParams) WithTimeout

WithTimeout adds the timeout to the route get alert rule group params

func (*RouteGetAlertRuleGroupParams) WriteToRequest

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

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

WithContext adds the context to the route get alert rule params

func (*RouteGetAlertRuleParams) WithDefaults

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

WithTimeout adds the timeout to the route get alert rule params

func (*RouteGetAlertRuleParams) WithUID

WithUID adds the uid to the route get alert rule params

func (*RouteGetAlertRuleParams) WriteToRequest

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

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 (*RouteGetAlertRulesExportOK) GetPayload

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

WithContext adds the context to the route get alert rules export params

func (*RouteGetAlertRulesExportParams) WithDefaults

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

WithDownload adds the download to the route get alert rules export params

func (*RouteGetAlertRulesExportParams) WithFormat

WithFormat adds the format to the route get alert rules export params

func (*RouteGetAlertRulesExportParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the route get alert rules export params

func (*RouteGetAlertRulesExportParams) WithTimeout

WithTimeout adds the timeout to the route get alert rules export params

func (*RouteGetAlertRulesExportParams) WriteToRequest

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

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

WithContext adds the context to the route get alert rules params

func (*RouteGetAlertRulesParams) WithDefaults

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

WithTimeout adds the timeout to the route get alert rules params

func (*RouteGetAlertRulesParams) WriteToRequest

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

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

WithContext adds the context to the route get contactpoints params

func (*RouteGetContactpointsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the route get contactpoints params

func (*RouteGetContactpointsParams) WithName

WithName adds the name to the route get contactpoints params

func (*RouteGetContactpointsParams) WithTimeout

WithTimeout adds the timeout to the route get contactpoints params

func (*RouteGetContactpointsParams) WriteToRequest

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

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

WithContext adds the context to the route get mute timing params

func (*RouteGetMuteTimingParams) WithDefaults

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

WithName adds the name to the route get mute timing params

func (*RouteGetMuteTimingParams) WithTimeout

WithTimeout adds the timeout to the route get mute timing params

func (*RouteGetMuteTimingParams) WriteToRequest

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

WithContext adds the context to the route get mute timings params

func (*RouteGetMuteTimingsParams) WithDefaults

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

WithTimeout adds the timeout to the route get mute timings params

func (*RouteGetMuteTimingsParams) WriteToRequest

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

type RouteGetPolicyTreeOK struct {
	Payload *models.Route
}

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

WithContext adds the context to the route get policy tree params

func (*RouteGetPolicyTreeParams) WithDefaults

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

WithTimeout adds the timeout to the route get policy tree params

func (*RouteGetPolicyTreeParams) WriteToRequest

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

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

WithContext adds the context to the route get template params

func (*RouteGetTemplateParams) WithDefaults

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

WithName adds the name to the route get template params

func (*RouteGetTemplateParams) WithTimeout

WithTimeout adds the timeout to the route get template params

func (*RouteGetTemplateParams) WriteToRequest

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

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

WithContext adds the context to the route get templates params

func (*RouteGetTemplatesParams) WithDefaults

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

WithTimeout adds the timeout to the route get templates params

func (*RouteGetTemplatesParams) WriteToRequest

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 (*RoutePostAlertRuleBadRequest) GetPayload

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

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

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

WithBody adds the body to the route post alert rule params

func (*RoutePostAlertRuleParams) WithContext

WithContext adds the context to the route post alert rule params

func (*RoutePostAlertRuleParams) WithDefaults

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

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

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 (*RoutePostContactpointsAccepted) GetPayload

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 (*RoutePostContactpointsBadRequest) GetPayload

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

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

WithBody adds the body to the route post contactpoints params

func (*RoutePostContactpointsParams) WithContext

WithContext adds the context to the route post contactpoints params

func (*RoutePostContactpointsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the route post contactpoints params

func (*RoutePostContactpointsParams) WithTimeout

WithTimeout adds the timeout to the route post contactpoints params

func (*RoutePostContactpointsParams) WriteToRequest

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 (*RoutePostMuteTimingBadRequest) GetPayload

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 (*RoutePostMuteTimingCreated) GetPayload

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

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

WithBody adds the body to the route post mute timing params

func (*RoutePostMuteTimingParams) WithContext

WithContext adds the context to the route post mute timing params

func (*RoutePostMuteTimingParams) WithDefaults

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

WithTimeout adds the timeout to the route post mute timing params

func (*RoutePostMuteTimingParams) WriteToRequest

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 (*RoutePutAlertRuleBadRequest) GetPayload

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 (*RoutePutAlertRuleGroupBadRequest) GetPayload

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

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

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

WithBody adds the body to the route put alert rule group params

func (*RoutePutAlertRuleGroupParams) WithContext

WithContext adds the context to the route put alert rule group params

func (*RoutePutAlertRuleGroupParams) WithDefaults

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

WithFolderUID adds the folderUID to the route put alert rule group params

func (*RoutePutAlertRuleGroupParams) WithGroup

WithGroup adds the group to the route put alert rule group params

func (*RoutePutAlertRuleGroupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the route put alert rule group params

func (*RoutePutAlertRuleGroupParams) WithTimeout

WithTimeout adds the timeout to the route put alert rule group params

func (*RoutePutAlertRuleGroupParams) WriteToRequest

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

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

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

WithBody adds the body to the route put alert rule params

func (*RoutePutAlertRuleParams) WithContext

WithContext adds the context to the route put alert rule params

func (*RoutePutAlertRuleParams) WithDefaults

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

WithTimeout adds the timeout to the route put alert rule params

func (*RoutePutAlertRuleParams) WithUID

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

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

type RoutePutContactpointAccepted struct {
	Payload models.Ack
}

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 (*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 (*RoutePutContactpointBadRequest) GetPayload

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

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

WithBody adds the body to the route put contactpoint params

func (*RoutePutContactpointParams) WithContext

WithContext adds the context to the route put contactpoint params

func (*RoutePutContactpointParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the route put contactpoint params

func (*RoutePutContactpointParams) WithTimeout

WithTimeout adds the timeout to the route put contactpoint params

func (*RoutePutContactpointParams) WithUID

WithUID adds the uid to the route put contactpoint params

func (*RoutePutContactpointParams) WriteToRequest

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 (*RoutePutMuteTimingBadRequest) GetPayload

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

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

WithBody adds the body to the route put mute timing params

func (*RoutePutMuteTimingParams) WithContext

WithContext adds the context to the route put mute timing params

func (*RoutePutMuteTimingParams) WithDefaults

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

WithName adds the name to the route put mute timing params

func (*RoutePutMuteTimingParams) WithTimeout

WithTimeout adds the timeout to the route put mute timing params

func (*RoutePutMuteTimingParams) WriteToRequest

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

type RoutePutPolicyTreeAccepted struct {
	Payload models.Ack
}

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 (*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 (*RoutePutPolicyTreeBadRequest) GetPayload

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

WithBody adds the body to the route put policy tree params

func (*RoutePutPolicyTreeParams) WithContext

WithContext adds the context to the route put policy tree params

func (*RoutePutPolicyTreeParams) WithDefaults

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

WithTimeout adds the timeout to the route put policy tree params

func (*RoutePutPolicyTreeParams) WriteToRequest

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

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 (*RoutePutTemplateBadRequest) GetPayload

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

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

WithBody adds the body to the route put template params

func (*RoutePutTemplateParams) WithContext

WithContext adds the context to the route put template params

func (*RoutePutTemplateParams) WithDefaults

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

WithName adds the name to the route put template params

func (*RoutePutTemplateParams) WithTimeout

WithTimeout adds the timeout to the route put template params

func (*RoutePutTemplateParams) WriteToRequest

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

type RouteResetPolicyTreeAccepted struct {
	Payload models.Ack
}

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 (*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

WithContext adds the context to the route reset policy tree params

func (*RouteResetPolicyTreeParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the route reset policy tree params

func (*RouteResetPolicyTreeParams) WithTimeout

WithTimeout adds the timeout to the route reset policy tree params

func (*RouteResetPolicyTreeParams) WriteToRequest

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

Jump to

Keyboard shortcuts

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