provisioning

package
v0.0.0-...-c0f8cbb Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2025 License: Apache-2.0 Imports: 12 Imported by: 3

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) DeleteAlertRule

func (a *Client) DeleteAlertRule(params *DeleteAlertRuleParams, opts ...ClientOption) (*DeleteAlertRuleNoContent, error)

func (*Client) DeleteAlertRuleGroup

func (a *Client) DeleteAlertRuleGroup(group string, folderUID string, opts ...ClientOption) (*DeleteAlertRuleGroupNoContent, error)

DeleteAlertRuleGroup Delete rule group

func (*Client) DeleteAlertRuleGroupWithParams

func (a *Client) DeleteAlertRuleGroupWithParams(params *DeleteAlertRuleGroupParams, opts ...ClientOption) (*DeleteAlertRuleGroupNoContent, error)

func (*Client) DeleteContactpoints

func (a *Client) DeleteContactpoints(uid string, opts ...ClientOption) (*DeleteContactpointsAccepted, error)

DeleteContactpoints deletes a contact point

func (*Client) DeleteContactpointsWithParams

func (a *Client) DeleteContactpointsWithParams(params *DeleteContactpointsParams, opts ...ClientOption) (*DeleteContactpointsAccepted, error)

func (*Client) DeleteMuteTiming

func (a *Client) DeleteMuteTiming(params *DeleteMuteTimingParams, opts ...ClientOption) (*DeleteMuteTimingNoContent, error)

func (*Client) DeleteTemplate

func (a *Client) DeleteTemplate(params *DeleteTemplateParams, opts ...ClientOption) (*DeleteTemplateNoContent, error)

func (*Client) ExportMuteTiming

func (a *Client) ExportMuteTiming(params *ExportMuteTimingParams, opts ...ClientOption) (*ExportMuteTimingOK, error)

func (*Client) ExportMuteTimings

func (a *Client) ExportMuteTimings(params *ExportMuteTimingsParams, opts ...ClientOption) (*ExportMuteTimingsOK, error)

func (*Client) GetAlertRule

func (a *Client) GetAlertRule(uid string, opts ...ClientOption) (*GetAlertRuleOK, error)

GetAlertRule gets a specific alert rule by UID

func (*Client) GetAlertRuleExport

func (a *Client) GetAlertRuleExport(params *GetAlertRuleExportParams, opts ...ClientOption) (*GetAlertRuleExportOK, error)

func (*Client) GetAlertRuleGroup

func (a *Client) GetAlertRuleGroup(group string, folderUID string, opts ...ClientOption) (*GetAlertRuleGroupOK, error)

GetAlertRuleGroup gets a rule group

func (*Client) GetAlertRuleGroupExport

func (a *Client) GetAlertRuleGroupExport(params *GetAlertRuleGroupExportParams, opts ...ClientOption) (*GetAlertRuleGroupExportOK, error)

func (*Client) GetAlertRuleGroupWithParams

func (a *Client) GetAlertRuleGroupWithParams(params *GetAlertRuleGroupParams, opts ...ClientOption) (*GetAlertRuleGroupOK, error)

func (*Client) GetAlertRuleWithParams

func (a *Client) GetAlertRuleWithParams(params *GetAlertRuleParams, opts ...ClientOption) (*GetAlertRuleOK, error)

func (*Client) GetAlertRules

func (a *Client) GetAlertRules(opts ...ClientOption) (*GetAlertRulesOK, error)

GetAlertRules gets all the alert rules

func (*Client) GetAlertRulesExport

func (a *Client) GetAlertRulesExport(params *GetAlertRulesExportParams, opts ...ClientOption) (*GetAlertRulesExportOK, error)

func (*Client) GetAlertRulesWithParams

func (a *Client) GetAlertRulesWithParams(params *GetAlertRulesParams, opts ...ClientOption) (*GetAlertRulesOK, error)

func (*Client) GetContactpoints

func (a *Client) GetContactpoints(params *GetContactpointsParams, opts ...ClientOption) (*GetContactpointsOK, error)

func (*Client) GetContactpointsExport

func (a *Client) GetContactpointsExport(params *GetContactpointsExportParams, opts ...ClientOption) (*GetContactpointsExportOK, error)

func (*Client) GetMuteTiming

func (a *Client) GetMuteTiming(name string, opts ...ClientOption) (*GetMuteTimingOK, error)

GetMuteTiming gets a mute timing

func (*Client) GetMuteTimingWithParams

func (a *Client) GetMuteTimingWithParams(params *GetMuteTimingParams, opts ...ClientOption) (*GetMuteTimingOK, error)

func (*Client) GetMuteTimings

func (a *Client) GetMuteTimings(opts ...ClientOption) (*GetMuteTimingsOK, error)

GetMuteTimings gets all the mute timings

func (*Client) GetMuteTimingsWithParams

func (a *Client) GetMuteTimingsWithParams(params *GetMuteTimingsParams, opts ...ClientOption) (*GetMuteTimingsOK, error)

func (*Client) GetPolicyTree

func (a *Client) GetPolicyTree(opts ...ClientOption) (*GetPolicyTreeOK, error)

GetPolicyTree gets the notification policy tree

func (*Client) GetPolicyTreeExport

func (a *Client) GetPolicyTreeExport(opts ...ClientOption) (*GetPolicyTreeExportOK, error)

GetPolicyTreeExport exports the notification policy tree in provisioning file format

func (*Client) GetPolicyTreeExportWithParams

func (a *Client) GetPolicyTreeExportWithParams(params *GetPolicyTreeExportParams, opts ...ClientOption) (*GetPolicyTreeExportOK, error)

func (*Client) GetPolicyTreeWithParams

func (a *Client) GetPolicyTreeWithParams(params *GetPolicyTreeParams, opts ...ClientOption) (*GetPolicyTreeOK, error)

func (*Client) GetTemplate

func (a *Client) GetTemplate(name string, opts ...ClientOption) (*GetTemplateOK, error)

GetTemplate gets a notification template group

func (*Client) GetTemplateWithParams

func (a *Client) GetTemplateWithParams(params *GetTemplateParams, opts ...ClientOption) (*GetTemplateOK, error)

func (*Client) GetTemplates

func (a *Client) GetTemplates(opts ...ClientOption) (*GetTemplatesOK, error)

GetTemplates gets all notification template groups

func (*Client) GetTemplatesWithParams

func (a *Client) GetTemplatesWithParams(params *GetTemplatesParams, opts ...ClientOption) (*GetTemplatesOK, error)

func (*Client) PostAlertRule

func (a *Client) PostAlertRule(params *PostAlertRuleParams, opts ...ClientOption) (*PostAlertRuleCreated, error)

func (*Client) PostContactpoints

func (a *Client) PostContactpoints(params *PostContactpointsParams, opts ...ClientOption) (*PostContactpointsAccepted, error)

func (*Client) PostMuteTiming

func (a *Client) PostMuteTiming(params *PostMuteTimingParams, opts ...ClientOption) (*PostMuteTimingCreated, error)

func (*Client) PutAlertRule

func (a *Client) PutAlertRule(params *PutAlertRuleParams, opts ...ClientOption) (*PutAlertRuleOK, error)

func (*Client) PutAlertRuleGroup

func (a *Client) PutAlertRuleGroup(params *PutAlertRuleGroupParams, opts ...ClientOption) (*PutAlertRuleGroupOK, error)

func (*Client) PutContactpoint

func (a *Client) PutContactpoint(params *PutContactpointParams, opts ...ClientOption) (*PutContactpointAccepted, error)

func (*Client) PutMuteTiming

func (a *Client) PutMuteTiming(params *PutMuteTimingParams, opts ...ClientOption) (*PutMuteTimingAccepted, error)

func (*Client) PutPolicyTree

func (a *Client) PutPolicyTree(params *PutPolicyTreeParams, opts ...ClientOption) (*PutPolicyTreeAccepted, error)

func (*Client) PutTemplate

func (a *Client) PutTemplate(params *PutTemplateParams, opts ...ClientOption) (*PutTemplateAccepted, error)

func (*Client) ResetPolicyTree

func (a *Client) ResetPolicyTree(opts ...ClientOption) (*ResetPolicyTreeAccepted, error)

ResetPolicyTree clears the notification policy tree

func (*Client) ResetPolicyTreeWithParams

func (a *Client) ResetPolicyTreeWithParams(params *ResetPolicyTreeParams, opts ...ClientOption) (*ResetPolicyTreeAccepted, error)

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

func WithAuthInfo

func WithAuthInfo(authInfo runtime.ClientAuthInfoWriter) ClientOption

WithAuthInfo changes the transport on the client

type ClientService

type ClientService interface {
	DeleteAlertRule(params *DeleteAlertRuleParams, opts ...ClientOption) (*DeleteAlertRuleNoContent, error)

	DeleteAlertRuleGroup(group string, folderUID string, opts ...ClientOption) (*DeleteAlertRuleGroupNoContent, error)
	DeleteAlertRuleGroupWithParams(params *DeleteAlertRuleGroupParams, opts ...ClientOption) (*DeleteAlertRuleGroupNoContent, error)

	DeleteContactpoints(uid string, opts ...ClientOption) (*DeleteContactpointsAccepted, error)
	DeleteContactpointsWithParams(params *DeleteContactpointsParams, opts ...ClientOption) (*DeleteContactpointsAccepted, error)

	DeleteMuteTiming(params *DeleteMuteTimingParams, opts ...ClientOption) (*DeleteMuteTimingNoContent, error)

	DeleteTemplate(params *DeleteTemplateParams, opts ...ClientOption) (*DeleteTemplateNoContent, error)

	ExportMuteTiming(params *ExportMuteTimingParams, opts ...ClientOption) (*ExportMuteTimingOK, error)

	ExportMuteTimings(params *ExportMuteTimingsParams, opts ...ClientOption) (*ExportMuteTimingsOK, error)

	GetAlertRule(uid string, opts ...ClientOption) (*GetAlertRuleOK, error)
	GetAlertRuleWithParams(params *GetAlertRuleParams, opts ...ClientOption) (*GetAlertRuleOK, error)

	GetAlertRuleExport(params *GetAlertRuleExportParams, opts ...ClientOption) (*GetAlertRuleExportOK, error)

	GetAlertRuleGroup(group string, folderUID string, opts ...ClientOption) (*GetAlertRuleGroupOK, error)
	GetAlertRuleGroupWithParams(params *GetAlertRuleGroupParams, opts ...ClientOption) (*GetAlertRuleGroupOK, error)

	GetAlertRuleGroupExport(params *GetAlertRuleGroupExportParams, opts ...ClientOption) (*GetAlertRuleGroupExportOK, error)

	GetAlertRules(opts ...ClientOption) (*GetAlertRulesOK, error)
	GetAlertRulesWithParams(params *GetAlertRulesParams, opts ...ClientOption) (*GetAlertRulesOK, error)

	GetAlertRulesExport(params *GetAlertRulesExportParams, opts ...ClientOption) (*GetAlertRulesExportOK, error)

	GetContactpoints(params *GetContactpointsParams, opts ...ClientOption) (*GetContactpointsOK, error)

	GetContactpointsExport(params *GetContactpointsExportParams, opts ...ClientOption) (*GetContactpointsExportOK, error)

	GetMuteTiming(name string, opts ...ClientOption) (*GetMuteTimingOK, error)
	GetMuteTimingWithParams(params *GetMuteTimingParams, opts ...ClientOption) (*GetMuteTimingOK, error)

	GetMuteTimings(opts ...ClientOption) (*GetMuteTimingsOK, error)
	GetMuteTimingsWithParams(params *GetMuteTimingsParams, opts ...ClientOption) (*GetMuteTimingsOK, error)

	GetPolicyTree(opts ...ClientOption) (*GetPolicyTreeOK, error)
	GetPolicyTreeWithParams(params *GetPolicyTreeParams, opts ...ClientOption) (*GetPolicyTreeOK, error)

	GetPolicyTreeExport(opts ...ClientOption) (*GetPolicyTreeExportOK, error)
	GetPolicyTreeExportWithParams(params *GetPolicyTreeExportParams, opts ...ClientOption) (*GetPolicyTreeExportOK, error)

	GetTemplate(name string, opts ...ClientOption) (*GetTemplateOK, error)
	GetTemplateWithParams(params *GetTemplateParams, opts ...ClientOption) (*GetTemplateOK, error)

	GetTemplates(opts ...ClientOption) (*GetTemplatesOK, error)
	GetTemplatesWithParams(params *GetTemplatesParams, opts ...ClientOption) (*GetTemplatesOK, error)

	PostAlertRule(params *PostAlertRuleParams, opts ...ClientOption) (*PostAlertRuleCreated, error)

	PostContactpoints(params *PostContactpointsParams, opts ...ClientOption) (*PostContactpointsAccepted, error)

	PostMuteTiming(params *PostMuteTimingParams, opts ...ClientOption) (*PostMuteTimingCreated, error)

	PutAlertRule(params *PutAlertRuleParams, opts ...ClientOption) (*PutAlertRuleOK, error)

	PutAlertRuleGroup(params *PutAlertRuleGroupParams, opts ...ClientOption) (*PutAlertRuleGroupOK, error)

	PutContactpoint(params *PutContactpointParams, opts ...ClientOption) (*PutContactpointAccepted, error)

	PutMuteTiming(params *PutMuteTimingParams, opts ...ClientOption) (*PutMuteTimingAccepted, error)

	PutPolicyTree(params *PutPolicyTreeParams, opts ...ClientOption) (*PutPolicyTreeAccepted, error)

	PutTemplate(params *PutTemplateParams, opts ...ClientOption) (*PutTemplateAccepted, error)

	ResetPolicyTree(opts ...ClientOption) (*ResetPolicyTreeAccepted, error)
	ResetPolicyTreeWithParams(params *ResetPolicyTreeParams, opts ...ClientOption) (*ResetPolicyTreeAccepted, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new provisioning API client.

type DeleteAlertRuleGroupForbidden

type DeleteAlertRuleGroupForbidden struct {
	Payload *models.ForbiddenError
}

DeleteAlertRuleGroupForbidden describes a response with status code 403, with default header values.

ForbiddenError

func NewDeleteAlertRuleGroupForbidden

func NewDeleteAlertRuleGroupForbidden() *DeleteAlertRuleGroupForbidden

NewDeleteAlertRuleGroupForbidden creates a DeleteAlertRuleGroupForbidden with default headers values

func (*DeleteAlertRuleGroupForbidden) Code

Code gets the status code for the delete alert rule group forbidden response

func (*DeleteAlertRuleGroupForbidden) Error

func (*DeleteAlertRuleGroupForbidden) GetPayload

func (*DeleteAlertRuleGroupForbidden) IsClientError

func (o *DeleteAlertRuleGroupForbidden) IsClientError() bool

IsClientError returns true when this delete alert rule group forbidden response has a 4xx status code

func (*DeleteAlertRuleGroupForbidden) IsCode

func (o *DeleteAlertRuleGroupForbidden) IsCode(code int) bool

IsCode returns true when this delete alert rule group forbidden response a status code equal to that given

func (*DeleteAlertRuleGroupForbidden) IsRedirect

func (o *DeleteAlertRuleGroupForbidden) IsRedirect() bool

IsRedirect returns true when this delete alert rule group forbidden response has a 3xx status code

func (*DeleteAlertRuleGroupForbidden) IsServerError

func (o *DeleteAlertRuleGroupForbidden) IsServerError() bool

IsServerError returns true when this delete alert rule group forbidden response has a 5xx status code

func (*DeleteAlertRuleGroupForbidden) IsSuccess

func (o *DeleteAlertRuleGroupForbidden) IsSuccess() bool

IsSuccess returns true when this delete alert rule group forbidden response has a 2xx status code

func (*DeleteAlertRuleGroupForbidden) String

type DeleteAlertRuleGroupNoContent

type DeleteAlertRuleGroupNoContent struct {
}

DeleteAlertRuleGroupNoContent describes a response with status code 204, with default header values.

The alert rule group was deleted successfully.

func NewDeleteAlertRuleGroupNoContent

func NewDeleteAlertRuleGroupNoContent() *DeleteAlertRuleGroupNoContent

NewDeleteAlertRuleGroupNoContent creates a DeleteAlertRuleGroupNoContent with default headers values

func (*DeleteAlertRuleGroupNoContent) Code

Code gets the status code for the delete alert rule group no content response

func (*DeleteAlertRuleGroupNoContent) Error

func (*DeleteAlertRuleGroupNoContent) IsClientError

func (o *DeleteAlertRuleGroupNoContent) IsClientError() bool

IsClientError returns true when this delete alert rule group no content response has a 4xx status code

func (*DeleteAlertRuleGroupNoContent) IsCode

func (o *DeleteAlertRuleGroupNoContent) IsCode(code int) bool

IsCode returns true when this delete alert rule group no content response a status code equal to that given

func (*DeleteAlertRuleGroupNoContent) IsRedirect

func (o *DeleteAlertRuleGroupNoContent) IsRedirect() bool

IsRedirect returns true when this delete alert rule group no content response has a 3xx status code

func (*DeleteAlertRuleGroupNoContent) IsServerError

func (o *DeleteAlertRuleGroupNoContent) IsServerError() bool

IsServerError returns true when this delete alert rule group no content response has a 5xx status code

func (*DeleteAlertRuleGroupNoContent) IsSuccess

func (o *DeleteAlertRuleGroupNoContent) IsSuccess() bool

IsSuccess returns true when this delete alert rule group no content response has a 2xx status code

func (*DeleteAlertRuleGroupNoContent) String

type DeleteAlertRuleGroupNotFound

type DeleteAlertRuleGroupNotFound struct {
	Payload models.NotFound
}

DeleteAlertRuleGroupNotFound describes a response with status code 404, with default header values.

NotFound

func NewDeleteAlertRuleGroupNotFound

func NewDeleteAlertRuleGroupNotFound() *DeleteAlertRuleGroupNotFound

NewDeleteAlertRuleGroupNotFound creates a DeleteAlertRuleGroupNotFound with default headers values

func (*DeleteAlertRuleGroupNotFound) Code

Code gets the status code for the delete alert rule group not found response

func (*DeleteAlertRuleGroupNotFound) Error

func (*DeleteAlertRuleGroupNotFound) GetPayload

func (*DeleteAlertRuleGroupNotFound) IsClientError

func (o *DeleteAlertRuleGroupNotFound) IsClientError() bool

IsClientError returns true when this delete alert rule group not found response has a 4xx status code

func (*DeleteAlertRuleGroupNotFound) IsCode

func (o *DeleteAlertRuleGroupNotFound) IsCode(code int) bool

IsCode returns true when this delete alert rule group not found response a status code equal to that given

func (*DeleteAlertRuleGroupNotFound) IsRedirect

func (o *DeleteAlertRuleGroupNotFound) IsRedirect() bool

IsRedirect returns true when this delete alert rule group not found response has a 3xx status code

func (*DeleteAlertRuleGroupNotFound) IsServerError

func (o *DeleteAlertRuleGroupNotFound) IsServerError() bool

IsServerError returns true when this delete alert rule group not found response has a 5xx status code

func (*DeleteAlertRuleGroupNotFound) IsSuccess

func (o *DeleteAlertRuleGroupNotFound) IsSuccess() bool

IsSuccess returns true when this delete alert rule group not found response has a 2xx status code

func (*DeleteAlertRuleGroupNotFound) String

type DeleteAlertRuleGroupParams

type DeleteAlertRuleGroupParams struct {

	// FolderUID.
	FolderUID string

	// Group.
	Group string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteAlertRuleGroupParams contains all the parameters to send to the API endpoint

for the delete alert rule group operation.

Typically these are written to a http.Request.

func NewDeleteAlertRuleGroupParams

func NewDeleteAlertRuleGroupParams() *DeleteAlertRuleGroupParams

NewDeleteAlertRuleGroupParams creates a new DeleteAlertRuleGroupParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteAlertRuleGroupParamsWithContext

func NewDeleteAlertRuleGroupParamsWithContext(ctx context.Context) *DeleteAlertRuleGroupParams

NewDeleteAlertRuleGroupParamsWithContext creates a new DeleteAlertRuleGroupParams object with the ability to set a context for a request.

func NewDeleteAlertRuleGroupParamsWithHTTPClient

func NewDeleteAlertRuleGroupParamsWithHTTPClient(client *http.Client) *DeleteAlertRuleGroupParams

NewDeleteAlertRuleGroupParamsWithHTTPClient creates a new DeleteAlertRuleGroupParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAlertRuleGroupParamsWithTimeout

func NewDeleteAlertRuleGroupParamsWithTimeout(timeout time.Duration) *DeleteAlertRuleGroupParams

NewDeleteAlertRuleGroupParamsWithTimeout creates a new DeleteAlertRuleGroupParams object with the ability to set a timeout on a request.

func (*DeleteAlertRuleGroupParams) SetContext

func (o *DeleteAlertRuleGroupParams) SetContext(ctx context.Context)

SetContext adds the context to the delete alert rule group params

func (*DeleteAlertRuleGroupParams) SetDefaults

func (o *DeleteAlertRuleGroupParams) SetDefaults()

SetDefaults hydrates default values in the delete alert rule group params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteAlertRuleGroupParams) SetFolderUID

func (o *DeleteAlertRuleGroupParams) SetFolderUID(folderUID string)

SetFolderUID adds the folderUid to the delete alert rule group params

func (*DeleteAlertRuleGroupParams) SetGroup

func (o *DeleteAlertRuleGroupParams) SetGroup(group string)

SetGroup adds the group to the delete alert rule group params

func (*DeleteAlertRuleGroupParams) SetHTTPClient

func (o *DeleteAlertRuleGroupParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete alert rule group params

func (*DeleteAlertRuleGroupParams) SetTimeout

func (o *DeleteAlertRuleGroupParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete alert rule group params

func (*DeleteAlertRuleGroupParams) WithContext

WithContext adds the context to the delete alert rule group params

func (*DeleteAlertRuleGroupParams) WithDefaults

WithDefaults hydrates default values in the delete alert rule group params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteAlertRuleGroupParams) WithFolderUID

func (o *DeleteAlertRuleGroupParams) WithFolderUID(folderUID string) *DeleteAlertRuleGroupParams

WithFolderUID adds the folderUID to the delete alert rule group params

func (*DeleteAlertRuleGroupParams) WithGroup

WithGroup adds the group to the delete alert rule group params

func (*DeleteAlertRuleGroupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete alert rule group params

func (*DeleteAlertRuleGroupParams) WithTimeout

WithTimeout adds the timeout to the delete alert rule group params

func (*DeleteAlertRuleGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAlertRuleGroupReader

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

DeleteAlertRuleGroupReader is a Reader for the DeleteAlertRuleGroup structure.

func (*DeleteAlertRuleGroupReader) ReadResponse

func (o *DeleteAlertRuleGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteAlertRuleNoContent

type DeleteAlertRuleNoContent struct {
}

DeleteAlertRuleNoContent describes a response with status code 204, with default header values.

The alert rule was deleted successfully.

func NewDeleteAlertRuleNoContent

func NewDeleteAlertRuleNoContent() *DeleteAlertRuleNoContent

NewDeleteAlertRuleNoContent creates a DeleteAlertRuleNoContent with default headers values

func (*DeleteAlertRuleNoContent) Code

func (o *DeleteAlertRuleNoContent) Code() int

Code gets the status code for the delete alert rule no content response

func (*DeleteAlertRuleNoContent) Error

func (o *DeleteAlertRuleNoContent) Error() string

func (*DeleteAlertRuleNoContent) IsClientError

func (o *DeleteAlertRuleNoContent) IsClientError() bool

IsClientError returns true when this delete alert rule no content response has a 4xx status code

func (*DeleteAlertRuleNoContent) IsCode

func (o *DeleteAlertRuleNoContent) IsCode(code int) bool

IsCode returns true when this delete alert rule no content response a status code equal to that given

func (*DeleteAlertRuleNoContent) IsRedirect

func (o *DeleteAlertRuleNoContent) IsRedirect() bool

IsRedirect returns true when this delete alert rule no content response has a 3xx status code

func (*DeleteAlertRuleNoContent) IsServerError

func (o *DeleteAlertRuleNoContent) IsServerError() bool

IsServerError returns true when this delete alert rule no content response has a 5xx status code

func (*DeleteAlertRuleNoContent) IsSuccess

func (o *DeleteAlertRuleNoContent) IsSuccess() bool

IsSuccess returns true when this delete alert rule no content response has a 2xx status code

func (*DeleteAlertRuleNoContent) String

func (o *DeleteAlertRuleNoContent) String() string

type DeleteAlertRuleParams

type DeleteAlertRuleParams struct {

	/* UID.

	   Alert rule UID
	*/
	UID string

	// XDisableProvenance.
	XDisableProvenance *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteAlertRuleParams contains all the parameters to send to the API endpoint

for the delete alert rule operation.

Typically these are written to a http.Request.

func NewDeleteAlertRuleParams

func NewDeleteAlertRuleParams() *DeleteAlertRuleParams

NewDeleteAlertRuleParams creates a new DeleteAlertRuleParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteAlertRuleParamsWithContext

func NewDeleteAlertRuleParamsWithContext(ctx context.Context) *DeleteAlertRuleParams

NewDeleteAlertRuleParamsWithContext creates a new DeleteAlertRuleParams object with the ability to set a context for a request.

func NewDeleteAlertRuleParamsWithHTTPClient

func NewDeleteAlertRuleParamsWithHTTPClient(client *http.Client) *DeleteAlertRuleParams

NewDeleteAlertRuleParamsWithHTTPClient creates a new DeleteAlertRuleParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAlertRuleParamsWithTimeout

func NewDeleteAlertRuleParamsWithTimeout(timeout time.Duration) *DeleteAlertRuleParams

NewDeleteAlertRuleParamsWithTimeout creates a new DeleteAlertRuleParams object with the ability to set a timeout on a request.

func (*DeleteAlertRuleParams) SetContext

func (o *DeleteAlertRuleParams) SetContext(ctx context.Context)

SetContext adds the context to the delete alert rule params

func (*DeleteAlertRuleParams) SetDefaults

func (o *DeleteAlertRuleParams) SetDefaults()

SetDefaults hydrates default values in the delete alert rule params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteAlertRuleParams) SetHTTPClient

func (o *DeleteAlertRuleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete alert rule params

func (*DeleteAlertRuleParams) SetTimeout

func (o *DeleteAlertRuleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete alert rule params

func (*DeleteAlertRuleParams) SetUID

func (o *DeleteAlertRuleParams) SetUID(uid string)

SetUID adds the uid to the delete alert rule params

func (*DeleteAlertRuleParams) SetXDisableProvenance

func (o *DeleteAlertRuleParams) SetXDisableProvenance(xDisableProvenance *string)

SetXDisableProvenance adds the xDisableProvenance to the delete alert rule params

func (*DeleteAlertRuleParams) WithContext

WithContext adds the context to the delete alert rule params

func (*DeleteAlertRuleParams) WithDefaults

func (o *DeleteAlertRuleParams) WithDefaults() *DeleteAlertRuleParams

WithDefaults hydrates default values in the delete alert rule params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteAlertRuleParams) WithHTTPClient

func (o *DeleteAlertRuleParams) WithHTTPClient(client *http.Client) *DeleteAlertRuleParams

WithHTTPClient adds the HTTPClient to the delete alert rule params

func (*DeleteAlertRuleParams) WithTimeout

func (o *DeleteAlertRuleParams) WithTimeout(timeout time.Duration) *DeleteAlertRuleParams

WithTimeout adds the timeout to the delete alert rule params

func (*DeleteAlertRuleParams) WithUID

WithUID adds the uid to the delete alert rule params

func (*DeleteAlertRuleParams) WithXDisableProvenance

func (o *DeleteAlertRuleParams) WithXDisableProvenance(xDisableProvenance *string) *DeleteAlertRuleParams

WithXDisableProvenance adds the xDisableProvenance to the delete alert rule params

func (*DeleteAlertRuleParams) WriteToRequest

func (o *DeleteAlertRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteAlertRuleReader

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

DeleteAlertRuleReader is a Reader for the DeleteAlertRule structure.

func (*DeleteAlertRuleReader) ReadResponse

func (o *DeleteAlertRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteContactpointsAccepted

type DeleteContactpointsAccepted struct {
}

DeleteContactpointsAccepted describes a response with status code 202, with default header values.

The contact point was deleted successfully.

func NewDeleteContactpointsAccepted

func NewDeleteContactpointsAccepted() *DeleteContactpointsAccepted

NewDeleteContactpointsAccepted creates a DeleteContactpointsAccepted with default headers values

func (*DeleteContactpointsAccepted) Code

func (o *DeleteContactpointsAccepted) Code() int

Code gets the status code for the delete contactpoints accepted response

func (*DeleteContactpointsAccepted) Error

func (*DeleteContactpointsAccepted) IsClientError

func (o *DeleteContactpointsAccepted) IsClientError() bool

IsClientError returns true when this delete contactpoints accepted response has a 4xx status code

func (*DeleteContactpointsAccepted) IsCode

func (o *DeleteContactpointsAccepted) IsCode(code int) bool

IsCode returns true when this delete contactpoints accepted response a status code equal to that given

func (*DeleteContactpointsAccepted) IsRedirect

func (o *DeleteContactpointsAccepted) IsRedirect() bool

IsRedirect returns true when this delete contactpoints accepted response has a 3xx status code

func (*DeleteContactpointsAccepted) IsServerError

func (o *DeleteContactpointsAccepted) IsServerError() bool

IsServerError returns true when this delete contactpoints accepted response has a 5xx status code

func (*DeleteContactpointsAccepted) IsSuccess

func (o *DeleteContactpointsAccepted) IsSuccess() bool

IsSuccess returns true when this delete contactpoints accepted response has a 2xx status code

func (*DeleteContactpointsAccepted) String

func (o *DeleteContactpointsAccepted) String() string

type DeleteContactpointsParams

type DeleteContactpointsParams struct {

	/* UID.

	   UID is the contact point unique identifier
	*/
	UID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteContactpointsParams contains all the parameters to send to the API endpoint

for the delete contactpoints operation.

Typically these are written to a http.Request.

func NewDeleteContactpointsParams

func NewDeleteContactpointsParams() *DeleteContactpointsParams

NewDeleteContactpointsParams creates a new DeleteContactpointsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteContactpointsParamsWithContext

func NewDeleteContactpointsParamsWithContext(ctx context.Context) *DeleteContactpointsParams

NewDeleteContactpointsParamsWithContext creates a new DeleteContactpointsParams object with the ability to set a context for a request.

func NewDeleteContactpointsParamsWithHTTPClient

func NewDeleteContactpointsParamsWithHTTPClient(client *http.Client) *DeleteContactpointsParams

NewDeleteContactpointsParamsWithHTTPClient creates a new DeleteContactpointsParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteContactpointsParamsWithTimeout

func NewDeleteContactpointsParamsWithTimeout(timeout time.Duration) *DeleteContactpointsParams

NewDeleteContactpointsParamsWithTimeout creates a new DeleteContactpointsParams object with the ability to set a timeout on a request.

func (*DeleteContactpointsParams) SetContext

func (o *DeleteContactpointsParams) SetContext(ctx context.Context)

SetContext adds the context to the delete contactpoints params

func (*DeleteContactpointsParams) SetDefaults

func (o *DeleteContactpointsParams) SetDefaults()

SetDefaults hydrates default values in the delete contactpoints params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteContactpointsParams) SetHTTPClient

func (o *DeleteContactpointsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete contactpoints params

func (*DeleteContactpointsParams) SetTimeout

func (o *DeleteContactpointsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete contactpoints params

func (*DeleteContactpointsParams) SetUID

func (o *DeleteContactpointsParams) SetUID(uid string)

SetUID adds the uid to the delete contactpoints params

func (*DeleteContactpointsParams) WithContext

WithContext adds the context to the delete contactpoints params

func (*DeleteContactpointsParams) WithDefaults

WithDefaults hydrates default values in the delete contactpoints params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteContactpointsParams) WithHTTPClient

func (o *DeleteContactpointsParams) WithHTTPClient(client *http.Client) *DeleteContactpointsParams

WithHTTPClient adds the HTTPClient to the delete contactpoints params

func (*DeleteContactpointsParams) WithTimeout

WithTimeout adds the timeout to the delete contactpoints params

func (*DeleteContactpointsParams) WithUID

WithUID adds the uid to the delete contactpoints params

func (*DeleteContactpointsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteContactpointsReader

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

DeleteContactpointsReader is a Reader for the DeleteContactpoints structure.

func (*DeleteContactpointsReader) ReadResponse

func (o *DeleteContactpointsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteMuteTimingConflict

type DeleteMuteTimingConflict struct {
	Payload *models.PublicError
}

DeleteMuteTimingConflict describes a response with status code 409, with default header values.

PublicError

func NewDeleteMuteTimingConflict

func NewDeleteMuteTimingConflict() *DeleteMuteTimingConflict

NewDeleteMuteTimingConflict creates a DeleteMuteTimingConflict with default headers values

func (*DeleteMuteTimingConflict) Code

func (o *DeleteMuteTimingConflict) Code() int

Code gets the status code for the delete mute timing conflict response

func (*DeleteMuteTimingConflict) Error

func (o *DeleteMuteTimingConflict) Error() string

func (*DeleteMuteTimingConflict) GetPayload

func (o *DeleteMuteTimingConflict) GetPayload() *models.PublicError

func (*DeleteMuteTimingConflict) IsClientError

func (o *DeleteMuteTimingConflict) IsClientError() bool

IsClientError returns true when this delete mute timing conflict response has a 4xx status code

func (*DeleteMuteTimingConflict) IsCode

func (o *DeleteMuteTimingConflict) IsCode(code int) bool

IsCode returns true when this delete mute timing conflict response a status code equal to that given

func (*DeleteMuteTimingConflict) IsRedirect

func (o *DeleteMuteTimingConflict) IsRedirect() bool

IsRedirect returns true when this delete mute timing conflict response has a 3xx status code

func (*DeleteMuteTimingConflict) IsServerError

func (o *DeleteMuteTimingConflict) IsServerError() bool

IsServerError returns true when this delete mute timing conflict response has a 5xx status code

func (*DeleteMuteTimingConflict) IsSuccess

func (o *DeleteMuteTimingConflict) IsSuccess() bool

IsSuccess returns true when this delete mute timing conflict response has a 2xx status code

func (*DeleteMuteTimingConflict) String

func (o *DeleteMuteTimingConflict) String() string

type DeleteMuteTimingNoContent

type DeleteMuteTimingNoContent struct {
}

DeleteMuteTimingNoContent describes a response with status code 204, with default header values.

The mute timing was deleted successfully.

func NewDeleteMuteTimingNoContent

func NewDeleteMuteTimingNoContent() *DeleteMuteTimingNoContent

NewDeleteMuteTimingNoContent creates a DeleteMuteTimingNoContent with default headers values

func (*DeleteMuteTimingNoContent) Code

func (o *DeleteMuteTimingNoContent) Code() int

Code gets the status code for the delete mute timing no content response

func (*DeleteMuteTimingNoContent) Error

func (o *DeleteMuteTimingNoContent) Error() string

func (*DeleteMuteTimingNoContent) IsClientError

func (o *DeleteMuteTimingNoContent) IsClientError() bool

IsClientError returns true when this delete mute timing no content response has a 4xx status code

func (*DeleteMuteTimingNoContent) IsCode

func (o *DeleteMuteTimingNoContent) IsCode(code int) bool

IsCode returns true when this delete mute timing no content response a status code equal to that given

func (*DeleteMuteTimingNoContent) IsRedirect

func (o *DeleteMuteTimingNoContent) IsRedirect() bool

IsRedirect returns true when this delete mute timing no content response has a 3xx status code

func (*DeleteMuteTimingNoContent) IsServerError

func (o *DeleteMuteTimingNoContent) IsServerError() bool

IsServerError returns true when this delete mute timing no content response has a 5xx status code

func (*DeleteMuteTimingNoContent) IsSuccess

func (o *DeleteMuteTimingNoContent) IsSuccess() bool

IsSuccess returns true when this delete mute timing no content response has a 2xx status code

func (*DeleteMuteTimingNoContent) String

func (o *DeleteMuteTimingNoContent) String() string

type DeleteMuteTimingParams

type DeleteMuteTimingParams struct {

	// XDisableProvenance.
	XDisableProvenance *string

	/* Name.

	   Mute timing name
	*/
	Name string

	/* Version.

	   Version of mute timing to use for optimistic concurrency. Leave empty to disable validation
	*/
	Version *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteMuteTimingParams contains all the parameters to send to the API endpoint

for the delete mute timing operation.

Typically these are written to a http.Request.

func NewDeleteMuteTimingParams

func NewDeleteMuteTimingParams() *DeleteMuteTimingParams

NewDeleteMuteTimingParams creates a new DeleteMuteTimingParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteMuteTimingParamsWithContext

func NewDeleteMuteTimingParamsWithContext(ctx context.Context) *DeleteMuteTimingParams

NewDeleteMuteTimingParamsWithContext creates a new DeleteMuteTimingParams object with the ability to set a context for a request.

func NewDeleteMuteTimingParamsWithHTTPClient

func NewDeleteMuteTimingParamsWithHTTPClient(client *http.Client) *DeleteMuteTimingParams

NewDeleteMuteTimingParamsWithHTTPClient creates a new DeleteMuteTimingParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteMuteTimingParamsWithTimeout

func NewDeleteMuteTimingParamsWithTimeout(timeout time.Duration) *DeleteMuteTimingParams

NewDeleteMuteTimingParamsWithTimeout creates a new DeleteMuteTimingParams object with the ability to set a timeout on a request.

func (*DeleteMuteTimingParams) SetContext

func (o *DeleteMuteTimingParams) SetContext(ctx context.Context)

SetContext adds the context to the delete mute timing params

func (*DeleteMuteTimingParams) SetDefaults

func (o *DeleteMuteTimingParams) SetDefaults()

SetDefaults hydrates default values in the delete mute timing params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteMuteTimingParams) SetHTTPClient

func (o *DeleteMuteTimingParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete mute timing params

func (*DeleteMuteTimingParams) SetName

func (o *DeleteMuteTimingParams) SetName(name string)

SetName adds the name to the delete mute timing params

func (*DeleteMuteTimingParams) SetTimeout

func (o *DeleteMuteTimingParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete mute timing params

func (*DeleteMuteTimingParams) SetVersion

func (o *DeleteMuteTimingParams) SetVersion(version *string)

SetVersion adds the version to the delete mute timing params

func (*DeleteMuteTimingParams) SetXDisableProvenance

func (o *DeleteMuteTimingParams) SetXDisableProvenance(xDisableProvenance *string)

SetXDisableProvenance adds the xDisableProvenance to the delete mute timing params

func (*DeleteMuteTimingParams) WithContext

WithContext adds the context to the delete mute timing params

func (*DeleteMuteTimingParams) WithDefaults

WithDefaults hydrates default values in the delete mute timing params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteMuteTimingParams) WithHTTPClient

func (o *DeleteMuteTimingParams) WithHTTPClient(client *http.Client) *DeleteMuteTimingParams

WithHTTPClient adds the HTTPClient to the delete mute timing params

func (*DeleteMuteTimingParams) WithName

WithName adds the name to the delete mute timing params

func (*DeleteMuteTimingParams) WithTimeout

WithTimeout adds the timeout to the delete mute timing params

func (*DeleteMuteTimingParams) WithVersion

func (o *DeleteMuteTimingParams) WithVersion(version *string) *DeleteMuteTimingParams

WithVersion adds the version to the delete mute timing params

func (*DeleteMuteTimingParams) WithXDisableProvenance

func (o *DeleteMuteTimingParams) WithXDisableProvenance(xDisableProvenance *string) *DeleteMuteTimingParams

WithXDisableProvenance adds the xDisableProvenance to the delete mute timing params

func (*DeleteMuteTimingParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteMuteTimingReader

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

DeleteMuteTimingReader is a Reader for the DeleteMuteTiming structure.

func (*DeleteMuteTimingReader) ReadResponse

func (o *DeleteMuteTimingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteTemplateConflict

type DeleteTemplateConflict struct {
	Payload *models.PublicError
}

DeleteTemplateConflict describes a response with status code 409, with default header values.

PublicError

func NewDeleteTemplateConflict

func NewDeleteTemplateConflict() *DeleteTemplateConflict

NewDeleteTemplateConflict creates a DeleteTemplateConflict with default headers values

func (*DeleteTemplateConflict) Code

func (o *DeleteTemplateConflict) Code() int

Code gets the status code for the delete template conflict response

func (*DeleteTemplateConflict) Error

func (o *DeleteTemplateConflict) Error() string

func (*DeleteTemplateConflict) GetPayload

func (o *DeleteTemplateConflict) GetPayload() *models.PublicError

func (*DeleteTemplateConflict) IsClientError

func (o *DeleteTemplateConflict) IsClientError() bool

IsClientError returns true when this delete template conflict response has a 4xx status code

func (*DeleteTemplateConflict) IsCode

func (o *DeleteTemplateConflict) IsCode(code int) bool

IsCode returns true when this delete template conflict response a status code equal to that given

func (*DeleteTemplateConflict) IsRedirect

func (o *DeleteTemplateConflict) IsRedirect() bool

IsRedirect returns true when this delete template conflict response has a 3xx status code

func (*DeleteTemplateConflict) IsServerError

func (o *DeleteTemplateConflict) IsServerError() bool

IsServerError returns true when this delete template conflict response has a 5xx status code

func (*DeleteTemplateConflict) IsSuccess

func (o *DeleteTemplateConflict) IsSuccess() bool

IsSuccess returns true when this delete template conflict response has a 2xx status code

func (*DeleteTemplateConflict) String

func (o *DeleteTemplateConflict) String() string

type DeleteTemplateNoContent

type DeleteTemplateNoContent struct {
}

DeleteTemplateNoContent describes a response with status code 204, with default header values.

The template was deleted successfully.

func NewDeleteTemplateNoContent

func NewDeleteTemplateNoContent() *DeleteTemplateNoContent

NewDeleteTemplateNoContent creates a DeleteTemplateNoContent with default headers values

func (*DeleteTemplateNoContent) Code

func (o *DeleteTemplateNoContent) Code() int

Code gets the status code for the delete template no content response

func (*DeleteTemplateNoContent) Error

func (o *DeleteTemplateNoContent) Error() string

func (*DeleteTemplateNoContent) IsClientError

func (o *DeleteTemplateNoContent) IsClientError() bool

IsClientError returns true when this delete template no content response has a 4xx status code

func (*DeleteTemplateNoContent) IsCode

func (o *DeleteTemplateNoContent) IsCode(code int) bool

IsCode returns true when this delete template no content response a status code equal to that given

func (*DeleteTemplateNoContent) IsRedirect

func (o *DeleteTemplateNoContent) IsRedirect() bool

IsRedirect returns true when this delete template no content response has a 3xx status code

func (*DeleteTemplateNoContent) IsServerError

func (o *DeleteTemplateNoContent) IsServerError() bool

IsServerError returns true when this delete template no content response has a 5xx status code

func (*DeleteTemplateNoContent) IsSuccess

func (o *DeleteTemplateNoContent) IsSuccess() bool

IsSuccess returns true when this delete template no content response has a 2xx status code

func (*DeleteTemplateNoContent) String

func (o *DeleteTemplateNoContent) String() string

type DeleteTemplateParams

type DeleteTemplateParams struct {

	/* Name.

	   Template group name
	*/
	Name string

	/* Version.

	   Version of template to use for optimistic concurrency. Leave empty to disable validation
	*/
	Version *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteTemplateParams contains all the parameters to send to the API endpoint

for the delete template operation.

Typically these are written to a http.Request.

func NewDeleteTemplateParams

func NewDeleteTemplateParams() *DeleteTemplateParams

NewDeleteTemplateParams creates a new DeleteTemplateParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteTemplateParamsWithContext

func NewDeleteTemplateParamsWithContext(ctx context.Context) *DeleteTemplateParams

NewDeleteTemplateParamsWithContext creates a new DeleteTemplateParams object with the ability to set a context for a request.

func NewDeleteTemplateParamsWithHTTPClient

func NewDeleteTemplateParamsWithHTTPClient(client *http.Client) *DeleteTemplateParams

NewDeleteTemplateParamsWithHTTPClient creates a new DeleteTemplateParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteTemplateParamsWithTimeout

func NewDeleteTemplateParamsWithTimeout(timeout time.Duration) *DeleteTemplateParams

NewDeleteTemplateParamsWithTimeout creates a new DeleteTemplateParams object with the ability to set a timeout on a request.

func (*DeleteTemplateParams) SetContext

func (o *DeleteTemplateParams) SetContext(ctx context.Context)

SetContext adds the context to the delete template params

func (*DeleteTemplateParams) SetDefaults

func (o *DeleteTemplateParams) SetDefaults()

SetDefaults hydrates default values in the delete template params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteTemplateParams) SetHTTPClient

func (o *DeleteTemplateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete template params

func (*DeleteTemplateParams) SetName

func (o *DeleteTemplateParams) SetName(name string)

SetName adds the name to the delete template params

func (*DeleteTemplateParams) SetTimeout

func (o *DeleteTemplateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete template params

func (*DeleteTemplateParams) SetVersion

func (o *DeleteTemplateParams) SetVersion(version *string)

SetVersion adds the version to the delete template params

func (*DeleteTemplateParams) WithContext

WithContext adds the context to the delete template params

func (*DeleteTemplateParams) WithDefaults

func (o *DeleteTemplateParams) WithDefaults() *DeleteTemplateParams

WithDefaults hydrates default values in the delete template params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteTemplateParams) WithHTTPClient

func (o *DeleteTemplateParams) WithHTTPClient(client *http.Client) *DeleteTemplateParams

WithHTTPClient adds the HTTPClient to the delete template params

func (*DeleteTemplateParams) WithName

WithName adds the name to the delete template params

func (*DeleteTemplateParams) WithTimeout

func (o *DeleteTemplateParams) WithTimeout(timeout time.Duration) *DeleteTemplateParams

WithTimeout adds the timeout to the delete template params

func (*DeleteTemplateParams) WithVersion

func (o *DeleteTemplateParams) WithVersion(version *string) *DeleteTemplateParams

WithVersion adds the version to the delete template params

func (*DeleteTemplateParams) WriteToRequest

func (o *DeleteTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteTemplateReader

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

DeleteTemplateReader is a Reader for the DeleteTemplate structure.

func (*DeleteTemplateReader) ReadResponse

func (o *DeleteTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ExportMuteTimingForbidden

type ExportMuteTimingForbidden struct {
	Payload models.PermissionDenied
}

ExportMuteTimingForbidden describes a response with status code 403, with default header values.

PermissionDenied

func NewExportMuteTimingForbidden

func NewExportMuteTimingForbidden() *ExportMuteTimingForbidden

NewExportMuteTimingForbidden creates a ExportMuteTimingForbidden with default headers values

func (*ExportMuteTimingForbidden) Code

func (o *ExportMuteTimingForbidden) Code() int

Code gets the status code for the export mute timing forbidden response

func (*ExportMuteTimingForbidden) Error

func (o *ExportMuteTimingForbidden) Error() string

func (*ExportMuteTimingForbidden) GetPayload

func (*ExportMuteTimingForbidden) IsClientError

func (o *ExportMuteTimingForbidden) IsClientError() bool

IsClientError returns true when this export mute timing forbidden response has a 4xx status code

func (*ExportMuteTimingForbidden) IsCode

func (o *ExportMuteTimingForbidden) IsCode(code int) bool

IsCode returns true when this export mute timing forbidden response a status code equal to that given

func (*ExportMuteTimingForbidden) IsRedirect

func (o *ExportMuteTimingForbidden) IsRedirect() bool

IsRedirect returns true when this export mute timing forbidden response has a 3xx status code

func (*ExportMuteTimingForbidden) IsServerError

func (o *ExportMuteTimingForbidden) IsServerError() bool

IsServerError returns true when this export mute timing forbidden response has a 5xx status code

func (*ExportMuteTimingForbidden) IsSuccess

func (o *ExportMuteTimingForbidden) IsSuccess() bool

IsSuccess returns true when this export mute timing forbidden response has a 2xx status code

func (*ExportMuteTimingForbidden) String

func (o *ExportMuteTimingForbidden) String() string

type ExportMuteTimingOK

type ExportMuteTimingOK struct {
	Payload *models.AlertingFileExport
}

ExportMuteTimingOK describes a response with status code 200, with default header values.

AlertingFileExport

func NewExportMuteTimingOK

func NewExportMuteTimingOK() *ExportMuteTimingOK

NewExportMuteTimingOK creates a ExportMuteTimingOK with default headers values

func (*ExportMuteTimingOK) Code

func (o *ExportMuteTimingOK) Code() int

Code gets the status code for the export mute timing Ok response

func (*ExportMuteTimingOK) Error

func (o *ExportMuteTimingOK) Error() string

func (*ExportMuteTimingOK) GetPayload

func (o *ExportMuteTimingOK) GetPayload() *models.AlertingFileExport

func (*ExportMuteTimingOK) IsClientError

func (o *ExportMuteTimingOK) IsClientError() bool

IsClientError returns true when this export mute timing Ok response has a 4xx status code

func (*ExportMuteTimingOK) IsCode

func (o *ExportMuteTimingOK) IsCode(code int) bool

IsCode returns true when this export mute timing Ok response a status code equal to that given

func (*ExportMuteTimingOK) IsRedirect

func (o *ExportMuteTimingOK) IsRedirect() bool

IsRedirect returns true when this export mute timing Ok response has a 3xx status code

func (*ExportMuteTimingOK) IsServerError

func (o *ExportMuteTimingOK) IsServerError() bool

IsServerError returns true when this export mute timing Ok response has a 5xx status code

func (*ExportMuteTimingOK) IsSuccess

func (o *ExportMuteTimingOK) IsSuccess() bool

IsSuccess returns true when this export mute timing Ok response has a 2xx status code

func (*ExportMuteTimingOK) String

func (o *ExportMuteTimingOK) String() string

type ExportMuteTimingParams

type ExportMuteTimingParams struct {

	/* Download.

	   Whether to initiate a download of the file or not.
	*/
	Download *bool

	/* Format.

	   Format of the downloaded file. Supported yaml, json or hcl. Accept header can also be used, but the query parameter will take precedence.

	   Default: "yaml"
	*/
	Format *string

	/* Name.

	   Mute timing name
	*/
	Name string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ExportMuteTimingParams contains all the parameters to send to the API endpoint

for the export mute timing operation.

Typically these are written to a http.Request.

func NewExportMuteTimingParams

func NewExportMuteTimingParams() *ExportMuteTimingParams

NewExportMuteTimingParams creates a new ExportMuteTimingParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewExportMuteTimingParamsWithContext

func NewExportMuteTimingParamsWithContext(ctx context.Context) *ExportMuteTimingParams

NewExportMuteTimingParamsWithContext creates a new ExportMuteTimingParams object with the ability to set a context for a request.

func NewExportMuteTimingParamsWithHTTPClient

func NewExportMuteTimingParamsWithHTTPClient(client *http.Client) *ExportMuteTimingParams

NewExportMuteTimingParamsWithHTTPClient creates a new ExportMuteTimingParams object with the ability to set a custom HTTPClient for a request.

func NewExportMuteTimingParamsWithTimeout

func NewExportMuteTimingParamsWithTimeout(timeout time.Duration) *ExportMuteTimingParams

NewExportMuteTimingParamsWithTimeout creates a new ExportMuteTimingParams object with the ability to set a timeout on a request.

func (*ExportMuteTimingParams) SetContext

func (o *ExportMuteTimingParams) SetContext(ctx context.Context)

SetContext adds the context to the export mute timing params

func (*ExportMuteTimingParams) SetDefaults

func (o *ExportMuteTimingParams) SetDefaults()

SetDefaults hydrates default values in the export mute timing params (not the query body).

All values with no default are reset to their zero value.

func (*ExportMuteTimingParams) SetDownload

func (o *ExportMuteTimingParams) SetDownload(download *bool)

SetDownload adds the download to the export mute timing params

func (*ExportMuteTimingParams) SetFormat

func (o *ExportMuteTimingParams) SetFormat(format *string)

SetFormat adds the format to the export mute timing params

func (*ExportMuteTimingParams) SetHTTPClient

func (o *ExportMuteTimingParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the export mute timing params

func (*ExportMuteTimingParams) SetName

func (o *ExportMuteTimingParams) SetName(name string)

SetName adds the name to the export mute timing params

func (*ExportMuteTimingParams) SetTimeout

func (o *ExportMuteTimingParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the export mute timing params

func (*ExportMuteTimingParams) WithContext

WithContext adds the context to the export mute timing params

func (*ExportMuteTimingParams) WithDefaults

WithDefaults hydrates default values in the export mute timing params (not the query body).

All values with no default are reset to their zero value.

func (*ExportMuteTimingParams) WithDownload

func (o *ExportMuteTimingParams) WithDownload(download *bool) *ExportMuteTimingParams

WithDownload adds the download to the export mute timing params

func (*ExportMuteTimingParams) WithFormat

func (o *ExportMuteTimingParams) WithFormat(format *string) *ExportMuteTimingParams

WithFormat adds the format to the export mute timing params

func (*ExportMuteTimingParams) WithHTTPClient

func (o *ExportMuteTimingParams) WithHTTPClient(client *http.Client) *ExportMuteTimingParams

WithHTTPClient adds the HTTPClient to the export mute timing params

func (*ExportMuteTimingParams) WithName

WithName adds the name to the export mute timing params

func (*ExportMuteTimingParams) WithTimeout

WithTimeout adds the timeout to the export mute timing params

func (*ExportMuteTimingParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ExportMuteTimingReader

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

ExportMuteTimingReader is a Reader for the ExportMuteTiming structure.

func (*ExportMuteTimingReader) ReadResponse

func (o *ExportMuteTimingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ExportMuteTimingsForbidden

type ExportMuteTimingsForbidden struct {
	Payload models.PermissionDenied
}

ExportMuteTimingsForbidden describes a response with status code 403, with default header values.

PermissionDenied

func NewExportMuteTimingsForbidden

func NewExportMuteTimingsForbidden() *ExportMuteTimingsForbidden

NewExportMuteTimingsForbidden creates a ExportMuteTimingsForbidden with default headers values

func (*ExportMuteTimingsForbidden) Code

func (o *ExportMuteTimingsForbidden) Code() int

Code gets the status code for the export mute timings forbidden response

func (*ExportMuteTimingsForbidden) Error

func (*ExportMuteTimingsForbidden) GetPayload

func (*ExportMuteTimingsForbidden) IsClientError

func (o *ExportMuteTimingsForbidden) IsClientError() bool

IsClientError returns true when this export mute timings forbidden response has a 4xx status code

func (*ExportMuteTimingsForbidden) IsCode

func (o *ExportMuteTimingsForbidden) IsCode(code int) bool

IsCode returns true when this export mute timings forbidden response a status code equal to that given

func (*ExportMuteTimingsForbidden) IsRedirect

func (o *ExportMuteTimingsForbidden) IsRedirect() bool

IsRedirect returns true when this export mute timings forbidden response has a 3xx status code

func (*ExportMuteTimingsForbidden) IsServerError

func (o *ExportMuteTimingsForbidden) IsServerError() bool

IsServerError returns true when this export mute timings forbidden response has a 5xx status code

func (*ExportMuteTimingsForbidden) IsSuccess

func (o *ExportMuteTimingsForbidden) IsSuccess() bool

IsSuccess returns true when this export mute timings forbidden response has a 2xx status code

func (*ExportMuteTimingsForbidden) String

func (o *ExportMuteTimingsForbidden) String() string

type ExportMuteTimingsOK

type ExportMuteTimingsOK struct {
	Payload *models.AlertingFileExport
}

ExportMuteTimingsOK describes a response with status code 200, with default header values.

AlertingFileExport

func NewExportMuteTimingsOK

func NewExportMuteTimingsOK() *ExportMuteTimingsOK

NewExportMuteTimingsOK creates a ExportMuteTimingsOK with default headers values

func (*ExportMuteTimingsOK) Code

func (o *ExportMuteTimingsOK) Code() int

Code gets the status code for the export mute timings Ok response

func (*ExportMuteTimingsOK) Error

func (o *ExportMuteTimingsOK) Error() string

func (*ExportMuteTimingsOK) GetPayload

func (*ExportMuteTimingsOK) IsClientError

func (o *ExportMuteTimingsOK) IsClientError() bool

IsClientError returns true when this export mute timings Ok response has a 4xx status code

func (*ExportMuteTimingsOK) IsCode

func (o *ExportMuteTimingsOK) IsCode(code int) bool

IsCode returns true when this export mute timings Ok response a status code equal to that given

func (*ExportMuteTimingsOK) IsRedirect

func (o *ExportMuteTimingsOK) IsRedirect() bool

IsRedirect returns true when this export mute timings Ok response has a 3xx status code

func (*ExportMuteTimingsOK) IsServerError

func (o *ExportMuteTimingsOK) IsServerError() bool

IsServerError returns true when this export mute timings Ok response has a 5xx status code

func (*ExportMuteTimingsOK) IsSuccess

func (o *ExportMuteTimingsOK) IsSuccess() bool

IsSuccess returns true when this export mute timings Ok response has a 2xx status code

func (*ExportMuteTimingsOK) String

func (o *ExportMuteTimingsOK) String() string

type ExportMuteTimingsParams

type ExportMuteTimingsParams struct {

	/* Download.

	   Whether to initiate a download of the file or not.
	*/
	Download *bool

	/* Format.

	   Format of the downloaded file. Supported yaml, json or hcl. Accept header can also be used, but the query parameter will take precedence.

	   Default: "yaml"
	*/
	Format *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ExportMuteTimingsParams contains all the parameters to send to the API endpoint

for the export mute timings operation.

Typically these are written to a http.Request.

func NewExportMuteTimingsParams

func NewExportMuteTimingsParams() *ExportMuteTimingsParams

NewExportMuteTimingsParams creates a new ExportMuteTimingsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewExportMuteTimingsParamsWithContext

func NewExportMuteTimingsParamsWithContext(ctx context.Context) *ExportMuteTimingsParams

NewExportMuteTimingsParamsWithContext creates a new ExportMuteTimingsParams object with the ability to set a context for a request.

func NewExportMuteTimingsParamsWithHTTPClient

func NewExportMuteTimingsParamsWithHTTPClient(client *http.Client) *ExportMuteTimingsParams

NewExportMuteTimingsParamsWithHTTPClient creates a new ExportMuteTimingsParams object with the ability to set a custom HTTPClient for a request.

func NewExportMuteTimingsParamsWithTimeout

func NewExportMuteTimingsParamsWithTimeout(timeout time.Duration) *ExportMuteTimingsParams

NewExportMuteTimingsParamsWithTimeout creates a new ExportMuteTimingsParams object with the ability to set a timeout on a request.

func (*ExportMuteTimingsParams) SetContext

func (o *ExportMuteTimingsParams) SetContext(ctx context.Context)

SetContext adds the context to the export mute timings params

func (*ExportMuteTimingsParams) SetDefaults

func (o *ExportMuteTimingsParams) SetDefaults()

SetDefaults hydrates default values in the export mute timings params (not the query body).

All values with no default are reset to their zero value.

func (*ExportMuteTimingsParams) SetDownload

func (o *ExportMuteTimingsParams) SetDownload(download *bool)

SetDownload adds the download to the export mute timings params

func (*ExportMuteTimingsParams) SetFormat

func (o *ExportMuteTimingsParams) SetFormat(format *string)

SetFormat adds the format to the export mute timings params

func (*ExportMuteTimingsParams) SetHTTPClient

func (o *ExportMuteTimingsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the export mute timings params

func (*ExportMuteTimingsParams) SetTimeout

func (o *ExportMuteTimingsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the export mute timings params

func (*ExportMuteTimingsParams) WithContext

WithContext adds the context to the export mute timings params

func (*ExportMuteTimingsParams) WithDefaults

WithDefaults hydrates default values in the export mute timings params (not the query body).

All values with no default are reset to their zero value.

func (*ExportMuteTimingsParams) WithDownload

func (o *ExportMuteTimingsParams) WithDownload(download *bool) *ExportMuteTimingsParams

WithDownload adds the download to the export mute timings params

func (*ExportMuteTimingsParams) WithFormat

func (o *ExportMuteTimingsParams) WithFormat(format *string) *ExportMuteTimingsParams

WithFormat adds the format to the export mute timings params

func (*ExportMuteTimingsParams) WithHTTPClient

func (o *ExportMuteTimingsParams) WithHTTPClient(client *http.Client) *ExportMuteTimingsParams

WithHTTPClient adds the HTTPClient to the export mute timings params

func (*ExportMuteTimingsParams) WithTimeout

WithTimeout adds the timeout to the export mute timings params

func (*ExportMuteTimingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ExportMuteTimingsReader

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

ExportMuteTimingsReader is a Reader for the ExportMuteTimings structure.

func (*ExportMuteTimingsReader) ReadResponse

func (o *ExportMuteTimingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAlertRuleExportNotFound

type GetAlertRuleExportNotFound struct {
}

GetAlertRuleExportNotFound describes a response with status code 404, with default header values.

Not found.

func NewGetAlertRuleExportNotFound

func NewGetAlertRuleExportNotFound() *GetAlertRuleExportNotFound

NewGetAlertRuleExportNotFound creates a GetAlertRuleExportNotFound with default headers values

func (*GetAlertRuleExportNotFound) Code

func (o *GetAlertRuleExportNotFound) Code() int

Code gets the status code for the get alert rule export not found response

func (*GetAlertRuleExportNotFound) Error

func (*GetAlertRuleExportNotFound) IsClientError

func (o *GetAlertRuleExportNotFound) IsClientError() bool

IsClientError returns true when this get alert rule export not found response has a 4xx status code

func (*GetAlertRuleExportNotFound) IsCode

func (o *GetAlertRuleExportNotFound) IsCode(code int) bool

IsCode returns true when this get alert rule export not found response a status code equal to that given

func (*GetAlertRuleExportNotFound) IsRedirect

func (o *GetAlertRuleExportNotFound) IsRedirect() bool

IsRedirect returns true when this get alert rule export not found response has a 3xx status code

func (*GetAlertRuleExportNotFound) IsServerError

func (o *GetAlertRuleExportNotFound) IsServerError() bool

IsServerError returns true when this get alert rule export not found response has a 5xx status code

func (*GetAlertRuleExportNotFound) IsSuccess

func (o *GetAlertRuleExportNotFound) IsSuccess() bool

IsSuccess returns true when this get alert rule export not found response has a 2xx status code

func (*GetAlertRuleExportNotFound) String

func (o *GetAlertRuleExportNotFound) String() string

type GetAlertRuleExportOK

type GetAlertRuleExportOK struct {
	Payload *models.AlertingFileExport
}

GetAlertRuleExportOK describes a response with status code 200, with default header values.

AlertingFileExport

func NewGetAlertRuleExportOK

func NewGetAlertRuleExportOK() *GetAlertRuleExportOK

NewGetAlertRuleExportOK creates a GetAlertRuleExportOK with default headers values

func (*GetAlertRuleExportOK) Code

func (o *GetAlertRuleExportOK) Code() int

Code gets the status code for the get alert rule export Ok response

func (*GetAlertRuleExportOK) Error

func (o *GetAlertRuleExportOK) Error() string

func (*GetAlertRuleExportOK) GetPayload

func (*GetAlertRuleExportOK) IsClientError

func (o *GetAlertRuleExportOK) IsClientError() bool

IsClientError returns true when this get alert rule export Ok response has a 4xx status code

func (*GetAlertRuleExportOK) IsCode

func (o *GetAlertRuleExportOK) IsCode(code int) bool

IsCode returns true when this get alert rule export Ok response a status code equal to that given

func (*GetAlertRuleExportOK) IsRedirect

func (o *GetAlertRuleExportOK) IsRedirect() bool

IsRedirect returns true when this get alert rule export Ok response has a 3xx status code

func (*GetAlertRuleExportOK) IsServerError

func (o *GetAlertRuleExportOK) IsServerError() bool

IsServerError returns true when this get alert rule export Ok response has a 5xx status code

func (*GetAlertRuleExportOK) IsSuccess

func (o *GetAlertRuleExportOK) IsSuccess() bool

IsSuccess returns true when this get alert rule export Ok response has a 2xx status code

func (*GetAlertRuleExportOK) String

func (o *GetAlertRuleExportOK) String() string

type GetAlertRuleExportParams

type GetAlertRuleExportParams struct {

	/* UID.

	   Alert rule UID
	*/
	UID string

	/* Download.

	   Whether to initiate a download of the file or not.
	*/
	Download *bool

	/* Format.

	   Format of the downloaded file. Supported yaml, json or hcl. Accept header can also be used, but the query parameter will take precedence.

	   Default: "yaml"
	*/
	Format *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAlertRuleExportParams contains all the parameters to send to the API endpoint

for the get alert rule export operation.

Typically these are written to a http.Request.

func NewGetAlertRuleExportParams

func NewGetAlertRuleExportParams() *GetAlertRuleExportParams

NewGetAlertRuleExportParams creates a new GetAlertRuleExportParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAlertRuleExportParamsWithContext

func NewGetAlertRuleExportParamsWithContext(ctx context.Context) *GetAlertRuleExportParams

NewGetAlertRuleExportParamsWithContext creates a new GetAlertRuleExportParams object with the ability to set a context for a request.

func NewGetAlertRuleExportParamsWithHTTPClient

func NewGetAlertRuleExportParamsWithHTTPClient(client *http.Client) *GetAlertRuleExportParams

NewGetAlertRuleExportParamsWithHTTPClient creates a new GetAlertRuleExportParams object with the ability to set a custom HTTPClient for a request.

func NewGetAlertRuleExportParamsWithTimeout

func NewGetAlertRuleExportParamsWithTimeout(timeout time.Duration) *GetAlertRuleExportParams

NewGetAlertRuleExportParamsWithTimeout creates a new GetAlertRuleExportParams object with the ability to set a timeout on a request.

func (*GetAlertRuleExportParams) SetContext

func (o *GetAlertRuleExportParams) SetContext(ctx context.Context)

SetContext adds the context to the get alert rule export params

func (*GetAlertRuleExportParams) SetDefaults

func (o *GetAlertRuleExportParams) SetDefaults()

SetDefaults hydrates default values in the get alert rule export params (not the query body).

All values with no default are reset to their zero value.

func (*GetAlertRuleExportParams) SetDownload

func (o *GetAlertRuleExportParams) SetDownload(download *bool)

SetDownload adds the download to the get alert rule export params

func (*GetAlertRuleExportParams) SetFormat

func (o *GetAlertRuleExportParams) SetFormat(format *string)

SetFormat adds the format to the get alert rule export params

func (*GetAlertRuleExportParams) SetHTTPClient

func (o *GetAlertRuleExportParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get alert rule export params

func (*GetAlertRuleExportParams) SetTimeout

func (o *GetAlertRuleExportParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get alert rule export params

func (*GetAlertRuleExportParams) SetUID

func (o *GetAlertRuleExportParams) SetUID(uid string)

SetUID adds the uid to the get alert rule export params

func (*GetAlertRuleExportParams) WithContext

WithContext adds the context to the get alert rule export params

func (*GetAlertRuleExportParams) WithDefaults

WithDefaults hydrates default values in the get alert rule export params (not the query body).

All values with no default are reset to their zero value.

func (*GetAlertRuleExportParams) WithDownload

func (o *GetAlertRuleExportParams) WithDownload(download *bool) *GetAlertRuleExportParams

WithDownload adds the download to the get alert rule export params

func (*GetAlertRuleExportParams) WithFormat

WithFormat adds the format to the get alert rule export params

func (*GetAlertRuleExportParams) WithHTTPClient

func (o *GetAlertRuleExportParams) WithHTTPClient(client *http.Client) *GetAlertRuleExportParams

WithHTTPClient adds the HTTPClient to the get alert rule export params

func (*GetAlertRuleExportParams) WithTimeout

WithTimeout adds the timeout to the get alert rule export params

func (*GetAlertRuleExportParams) WithUID

WithUID adds the uid to the get alert rule export params

func (*GetAlertRuleExportParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAlertRuleExportReader

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

GetAlertRuleExportReader is a Reader for the GetAlertRuleExport structure.

func (*GetAlertRuleExportReader) ReadResponse

func (o *GetAlertRuleExportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAlertRuleGroupExportNotFound

type GetAlertRuleGroupExportNotFound struct {
}

GetAlertRuleGroupExportNotFound describes a response with status code 404, with default header values.

Not found.

func NewGetAlertRuleGroupExportNotFound

func NewGetAlertRuleGroupExportNotFound() *GetAlertRuleGroupExportNotFound

NewGetAlertRuleGroupExportNotFound creates a GetAlertRuleGroupExportNotFound with default headers values

func (*GetAlertRuleGroupExportNotFound) Code

Code gets the status code for the get alert rule group export not found response

func (*GetAlertRuleGroupExportNotFound) Error

func (*GetAlertRuleGroupExportNotFound) IsClientError

func (o *GetAlertRuleGroupExportNotFound) IsClientError() bool

IsClientError returns true when this get alert rule group export not found response has a 4xx status code

func (*GetAlertRuleGroupExportNotFound) IsCode

func (o *GetAlertRuleGroupExportNotFound) IsCode(code int) bool

IsCode returns true when this get alert rule group export not found response a status code equal to that given

func (*GetAlertRuleGroupExportNotFound) IsRedirect

func (o *GetAlertRuleGroupExportNotFound) IsRedirect() bool

IsRedirect returns true when this get alert rule group export not found response has a 3xx status code

func (*GetAlertRuleGroupExportNotFound) IsServerError

func (o *GetAlertRuleGroupExportNotFound) IsServerError() bool

IsServerError returns true when this get alert rule group export not found response has a 5xx status code

func (*GetAlertRuleGroupExportNotFound) IsSuccess

func (o *GetAlertRuleGroupExportNotFound) IsSuccess() bool

IsSuccess returns true when this get alert rule group export not found response has a 2xx status code

func (*GetAlertRuleGroupExportNotFound) String

type GetAlertRuleGroupExportOK

type GetAlertRuleGroupExportOK struct {
	Payload *models.AlertingFileExport
}

GetAlertRuleGroupExportOK describes a response with status code 200, with default header values.

AlertingFileExport

func NewGetAlertRuleGroupExportOK

func NewGetAlertRuleGroupExportOK() *GetAlertRuleGroupExportOK

NewGetAlertRuleGroupExportOK creates a GetAlertRuleGroupExportOK with default headers values

func (*GetAlertRuleGroupExportOK) Code

func (o *GetAlertRuleGroupExportOK) Code() int

Code gets the status code for the get alert rule group export Ok response

func (*GetAlertRuleGroupExportOK) Error

func (o *GetAlertRuleGroupExportOK) Error() string

func (*GetAlertRuleGroupExportOK) GetPayload

func (*GetAlertRuleGroupExportOK) IsClientError

func (o *GetAlertRuleGroupExportOK) IsClientError() bool

IsClientError returns true when this get alert rule group export Ok response has a 4xx status code

func (*GetAlertRuleGroupExportOK) IsCode

func (o *GetAlertRuleGroupExportOK) IsCode(code int) bool

IsCode returns true when this get alert rule group export Ok response a status code equal to that given

func (*GetAlertRuleGroupExportOK) IsRedirect

func (o *GetAlertRuleGroupExportOK) IsRedirect() bool

IsRedirect returns true when this get alert rule group export Ok response has a 3xx status code

func (*GetAlertRuleGroupExportOK) IsServerError

func (o *GetAlertRuleGroupExportOK) IsServerError() bool

IsServerError returns true when this get alert rule group export Ok response has a 5xx status code

func (*GetAlertRuleGroupExportOK) IsSuccess

func (o *GetAlertRuleGroupExportOK) IsSuccess() bool

IsSuccess returns true when this get alert rule group export Ok response has a 2xx status code

func (*GetAlertRuleGroupExportOK) String

func (o *GetAlertRuleGroupExportOK) String() string

type GetAlertRuleGroupExportParams

type GetAlertRuleGroupExportParams struct {

	// FolderUID.
	FolderUID string

	// Group.
	Group string

	/* Download.

	   Whether to initiate a download of the file or not.
	*/
	Download *bool

	/* Format.

	   Format of the downloaded file. Supported yaml, json or hcl. Accept header can also be used, but the query parameter will take precedence.

	   Default: "yaml"
	*/
	Format *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAlertRuleGroupExportParams contains all the parameters to send to the API endpoint

for the get alert rule group export operation.

Typically these are written to a http.Request.

func NewGetAlertRuleGroupExportParams

func NewGetAlertRuleGroupExportParams() *GetAlertRuleGroupExportParams

NewGetAlertRuleGroupExportParams creates a new GetAlertRuleGroupExportParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAlertRuleGroupExportParamsWithContext

func NewGetAlertRuleGroupExportParamsWithContext(ctx context.Context) *GetAlertRuleGroupExportParams

NewGetAlertRuleGroupExportParamsWithContext creates a new GetAlertRuleGroupExportParams object with the ability to set a context for a request.

func NewGetAlertRuleGroupExportParamsWithHTTPClient

func NewGetAlertRuleGroupExportParamsWithHTTPClient(client *http.Client) *GetAlertRuleGroupExportParams

NewGetAlertRuleGroupExportParamsWithHTTPClient creates a new GetAlertRuleGroupExportParams object with the ability to set a custom HTTPClient for a request.

func NewGetAlertRuleGroupExportParamsWithTimeout

func NewGetAlertRuleGroupExportParamsWithTimeout(timeout time.Duration) *GetAlertRuleGroupExportParams

NewGetAlertRuleGroupExportParamsWithTimeout creates a new GetAlertRuleGroupExportParams object with the ability to set a timeout on a request.

func (*GetAlertRuleGroupExportParams) SetContext

func (o *GetAlertRuleGroupExportParams) SetContext(ctx context.Context)

SetContext adds the context to the get alert rule group export params

func (*GetAlertRuleGroupExportParams) SetDefaults

func (o *GetAlertRuleGroupExportParams) SetDefaults()

SetDefaults hydrates default values in the get alert rule group export params (not the query body).

All values with no default are reset to their zero value.

func (*GetAlertRuleGroupExportParams) SetDownload

func (o *GetAlertRuleGroupExportParams) SetDownload(download *bool)

SetDownload adds the download to the get alert rule group export params

func (*GetAlertRuleGroupExportParams) SetFolderUID

func (o *GetAlertRuleGroupExportParams) SetFolderUID(folderUID string)

SetFolderUID adds the folderUid to the get alert rule group export params

func (*GetAlertRuleGroupExportParams) SetFormat

func (o *GetAlertRuleGroupExportParams) SetFormat(format *string)

SetFormat adds the format to the get alert rule group export params

func (*GetAlertRuleGroupExportParams) SetGroup

func (o *GetAlertRuleGroupExportParams) SetGroup(group string)

SetGroup adds the group to the get alert rule group export params

func (*GetAlertRuleGroupExportParams) SetHTTPClient

func (o *GetAlertRuleGroupExportParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get alert rule group export params

func (*GetAlertRuleGroupExportParams) SetTimeout

func (o *GetAlertRuleGroupExportParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get alert rule group export params

func (*GetAlertRuleGroupExportParams) WithContext

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

func (*GetAlertRuleGroupExportParams) WithDefaults

WithDefaults hydrates default values in the get alert rule group export params (not the query body).

All values with no default are reset to their zero value.

func (*GetAlertRuleGroupExportParams) WithDownload

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

func (*GetAlertRuleGroupExportParams) WithFolderUID

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

func (*GetAlertRuleGroupExportParams) WithFormat

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

func (*GetAlertRuleGroupExportParams) WithGroup

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

func (*GetAlertRuleGroupExportParams) WithHTTPClient

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

func (*GetAlertRuleGroupExportParams) WithTimeout

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

func (*GetAlertRuleGroupExportParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAlertRuleGroupExportReader

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

GetAlertRuleGroupExportReader is a Reader for the GetAlertRuleGroupExport structure.

func (*GetAlertRuleGroupExportReader) ReadResponse

func (o *GetAlertRuleGroupExportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAlertRuleGroupNotFound

type GetAlertRuleGroupNotFound struct {
}

GetAlertRuleGroupNotFound describes a response with status code 404, with default header values.

Not found.

func NewGetAlertRuleGroupNotFound

func NewGetAlertRuleGroupNotFound() *GetAlertRuleGroupNotFound

NewGetAlertRuleGroupNotFound creates a GetAlertRuleGroupNotFound with default headers values

func (*GetAlertRuleGroupNotFound) Code

func (o *GetAlertRuleGroupNotFound) Code() int

Code gets the status code for the get alert rule group not found response

func (*GetAlertRuleGroupNotFound) Error

func (o *GetAlertRuleGroupNotFound) Error() string

func (*GetAlertRuleGroupNotFound) IsClientError

func (o *GetAlertRuleGroupNotFound) IsClientError() bool

IsClientError returns true when this get alert rule group not found response has a 4xx status code

func (*GetAlertRuleGroupNotFound) IsCode

func (o *GetAlertRuleGroupNotFound) IsCode(code int) bool

IsCode returns true when this get alert rule group not found response a status code equal to that given

func (*GetAlertRuleGroupNotFound) IsRedirect

func (o *GetAlertRuleGroupNotFound) IsRedirect() bool

IsRedirect returns true when this get alert rule group not found response has a 3xx status code

func (*GetAlertRuleGroupNotFound) IsServerError

func (o *GetAlertRuleGroupNotFound) IsServerError() bool

IsServerError returns true when this get alert rule group not found response has a 5xx status code

func (*GetAlertRuleGroupNotFound) IsSuccess

func (o *GetAlertRuleGroupNotFound) IsSuccess() bool

IsSuccess returns true when this get alert rule group not found response has a 2xx status code

func (*GetAlertRuleGroupNotFound) String

func (o *GetAlertRuleGroupNotFound) String() string

type GetAlertRuleGroupOK

type GetAlertRuleGroupOK struct {
	Payload *models.AlertRuleGroup
}

GetAlertRuleGroupOK describes a response with status code 200, with default header values.

AlertRuleGroup

func NewGetAlertRuleGroupOK

func NewGetAlertRuleGroupOK() *GetAlertRuleGroupOK

NewGetAlertRuleGroupOK creates a GetAlertRuleGroupOK with default headers values

func (*GetAlertRuleGroupOK) Code

func (o *GetAlertRuleGroupOK) Code() int

Code gets the status code for the get alert rule group Ok response

func (*GetAlertRuleGroupOK) Error

func (o *GetAlertRuleGroupOK) Error() string

func (*GetAlertRuleGroupOK) GetPayload

func (o *GetAlertRuleGroupOK) GetPayload() *models.AlertRuleGroup

func (*GetAlertRuleGroupOK) IsClientError

func (o *GetAlertRuleGroupOK) IsClientError() bool

IsClientError returns true when this get alert rule group Ok response has a 4xx status code

func (*GetAlertRuleGroupOK) IsCode

func (o *GetAlertRuleGroupOK) IsCode(code int) bool

IsCode returns true when this get alert rule group Ok response a status code equal to that given

func (*GetAlertRuleGroupOK) IsRedirect

func (o *GetAlertRuleGroupOK) IsRedirect() bool

IsRedirect returns true when this get alert rule group Ok response has a 3xx status code

func (*GetAlertRuleGroupOK) IsServerError

func (o *GetAlertRuleGroupOK) IsServerError() bool

IsServerError returns true when this get alert rule group Ok response has a 5xx status code

func (*GetAlertRuleGroupOK) IsSuccess

func (o *GetAlertRuleGroupOK) IsSuccess() bool

IsSuccess returns true when this get alert rule group Ok response has a 2xx status code

func (*GetAlertRuleGroupOK) String

func (o *GetAlertRuleGroupOK) String() string

type GetAlertRuleGroupParams

type GetAlertRuleGroupParams struct {

	// FolderUID.
	FolderUID string

	// Group.
	Group string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAlertRuleGroupParams contains all the parameters to send to the API endpoint

for the get alert rule group operation.

Typically these are written to a http.Request.

func NewGetAlertRuleGroupParams

func NewGetAlertRuleGroupParams() *GetAlertRuleGroupParams

NewGetAlertRuleGroupParams creates a new GetAlertRuleGroupParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAlertRuleGroupParamsWithContext

func NewGetAlertRuleGroupParamsWithContext(ctx context.Context) *GetAlertRuleGroupParams

NewGetAlertRuleGroupParamsWithContext creates a new GetAlertRuleGroupParams object with the ability to set a context for a request.

func NewGetAlertRuleGroupParamsWithHTTPClient

func NewGetAlertRuleGroupParamsWithHTTPClient(client *http.Client) *GetAlertRuleGroupParams

NewGetAlertRuleGroupParamsWithHTTPClient creates a new GetAlertRuleGroupParams object with the ability to set a custom HTTPClient for a request.

func NewGetAlertRuleGroupParamsWithTimeout

func NewGetAlertRuleGroupParamsWithTimeout(timeout time.Duration) *GetAlertRuleGroupParams

NewGetAlertRuleGroupParamsWithTimeout creates a new GetAlertRuleGroupParams object with the ability to set a timeout on a request.

func (*GetAlertRuleGroupParams) SetContext

func (o *GetAlertRuleGroupParams) SetContext(ctx context.Context)

SetContext adds the context to the get alert rule group params

func (*GetAlertRuleGroupParams) SetDefaults

func (o *GetAlertRuleGroupParams) SetDefaults()

SetDefaults hydrates default values in the get alert rule group params (not the query body).

All values with no default are reset to their zero value.

func (*GetAlertRuleGroupParams) SetFolderUID

func (o *GetAlertRuleGroupParams) SetFolderUID(folderUID string)

SetFolderUID adds the folderUid to the get alert rule group params

func (*GetAlertRuleGroupParams) SetGroup

func (o *GetAlertRuleGroupParams) SetGroup(group string)

SetGroup adds the group to the get alert rule group params

func (*GetAlertRuleGroupParams) SetHTTPClient

func (o *GetAlertRuleGroupParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get alert rule group params

func (*GetAlertRuleGroupParams) SetTimeout

func (o *GetAlertRuleGroupParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get alert rule group params

func (*GetAlertRuleGroupParams) WithContext

WithContext adds the context to the get alert rule group params

func (*GetAlertRuleGroupParams) WithDefaults

WithDefaults hydrates default values in the get alert rule group params (not the query body).

All values with no default are reset to their zero value.

func (*GetAlertRuleGroupParams) WithFolderUID

func (o *GetAlertRuleGroupParams) WithFolderUID(folderUID string) *GetAlertRuleGroupParams

WithFolderUID adds the folderUID to the get alert rule group params

func (*GetAlertRuleGroupParams) WithGroup

WithGroup adds the group to the get alert rule group params

func (*GetAlertRuleGroupParams) WithHTTPClient

func (o *GetAlertRuleGroupParams) WithHTTPClient(client *http.Client) *GetAlertRuleGroupParams

WithHTTPClient adds the HTTPClient to the get alert rule group params

func (*GetAlertRuleGroupParams) WithTimeout

WithTimeout adds the timeout to the get alert rule group params

func (*GetAlertRuleGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAlertRuleGroupReader

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

GetAlertRuleGroupReader is a Reader for the GetAlertRuleGroup structure.

func (*GetAlertRuleGroupReader) ReadResponse

func (o *GetAlertRuleGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAlertRuleNotFound

type GetAlertRuleNotFound struct {
}

GetAlertRuleNotFound describes a response with status code 404, with default header values.

Not found.

func NewGetAlertRuleNotFound

func NewGetAlertRuleNotFound() *GetAlertRuleNotFound

NewGetAlertRuleNotFound creates a GetAlertRuleNotFound with default headers values

func (*GetAlertRuleNotFound) Code

func (o *GetAlertRuleNotFound) Code() int

Code gets the status code for the get alert rule not found response

func (*GetAlertRuleNotFound) Error

func (o *GetAlertRuleNotFound) Error() string

func (*GetAlertRuleNotFound) IsClientError

func (o *GetAlertRuleNotFound) IsClientError() bool

IsClientError returns true when this get alert rule not found response has a 4xx status code

func (*GetAlertRuleNotFound) IsCode

func (o *GetAlertRuleNotFound) IsCode(code int) bool

IsCode returns true when this get alert rule not found response a status code equal to that given

func (*GetAlertRuleNotFound) IsRedirect

func (o *GetAlertRuleNotFound) IsRedirect() bool

IsRedirect returns true when this get alert rule not found response has a 3xx status code

func (*GetAlertRuleNotFound) IsServerError

func (o *GetAlertRuleNotFound) IsServerError() bool

IsServerError returns true when this get alert rule not found response has a 5xx status code

func (*GetAlertRuleNotFound) IsSuccess

func (o *GetAlertRuleNotFound) IsSuccess() bool

IsSuccess returns true when this get alert rule not found response has a 2xx status code

func (*GetAlertRuleNotFound) String

func (o *GetAlertRuleNotFound) String() string

type GetAlertRuleOK

type GetAlertRuleOK struct {
	Payload *models.ProvisionedAlertRule
}

GetAlertRuleOK describes a response with status code 200, with default header values.

ProvisionedAlertRule

func NewGetAlertRuleOK

func NewGetAlertRuleOK() *GetAlertRuleOK

NewGetAlertRuleOK creates a GetAlertRuleOK with default headers values

func (*GetAlertRuleOK) Code

func (o *GetAlertRuleOK) Code() int

Code gets the status code for the get alert rule Ok response

func (*GetAlertRuleOK) Error

func (o *GetAlertRuleOK) Error() string

func (*GetAlertRuleOK) GetPayload

func (o *GetAlertRuleOK) GetPayload() *models.ProvisionedAlertRule

func (*GetAlertRuleOK) IsClientError

func (o *GetAlertRuleOK) IsClientError() bool

IsClientError returns true when this get alert rule Ok response has a 4xx status code

func (*GetAlertRuleOK) IsCode

func (o *GetAlertRuleOK) IsCode(code int) bool

IsCode returns true when this get alert rule Ok response a status code equal to that given

func (*GetAlertRuleOK) IsRedirect

func (o *GetAlertRuleOK) IsRedirect() bool

IsRedirect returns true when this get alert rule Ok response has a 3xx status code

func (*GetAlertRuleOK) IsServerError

func (o *GetAlertRuleOK) IsServerError() bool

IsServerError returns true when this get alert rule Ok response has a 5xx status code

func (*GetAlertRuleOK) IsSuccess

func (o *GetAlertRuleOK) IsSuccess() bool

IsSuccess returns true when this get alert rule Ok response has a 2xx status code

func (*GetAlertRuleOK) String

func (o *GetAlertRuleOK) String() string

type GetAlertRuleParams

type GetAlertRuleParams struct {

	/* UID.

	   Alert rule UID
	*/
	UID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAlertRuleParams contains all the parameters to send to the API endpoint

for the get alert rule operation.

Typically these are written to a http.Request.

func NewGetAlertRuleParams

func NewGetAlertRuleParams() *GetAlertRuleParams

NewGetAlertRuleParams creates a new GetAlertRuleParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAlertRuleParamsWithContext

func NewGetAlertRuleParamsWithContext(ctx context.Context) *GetAlertRuleParams

NewGetAlertRuleParamsWithContext creates a new GetAlertRuleParams object with the ability to set a context for a request.

func NewGetAlertRuleParamsWithHTTPClient

func NewGetAlertRuleParamsWithHTTPClient(client *http.Client) *GetAlertRuleParams

NewGetAlertRuleParamsWithHTTPClient creates a new GetAlertRuleParams object with the ability to set a custom HTTPClient for a request.

func NewGetAlertRuleParamsWithTimeout

func NewGetAlertRuleParamsWithTimeout(timeout time.Duration) *GetAlertRuleParams

NewGetAlertRuleParamsWithTimeout creates a new GetAlertRuleParams object with the ability to set a timeout on a request.

func (*GetAlertRuleParams) SetContext

func (o *GetAlertRuleParams) SetContext(ctx context.Context)

SetContext adds the context to the get alert rule params

func (*GetAlertRuleParams) SetDefaults

func (o *GetAlertRuleParams) SetDefaults()

SetDefaults hydrates default values in the get alert rule params (not the query body).

All values with no default are reset to their zero value.

func (*GetAlertRuleParams) SetHTTPClient

func (o *GetAlertRuleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get alert rule params

func (*GetAlertRuleParams) SetTimeout

func (o *GetAlertRuleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get alert rule params

func (*GetAlertRuleParams) SetUID

func (o *GetAlertRuleParams) SetUID(uid string)

SetUID adds the uid to the get alert rule params

func (*GetAlertRuleParams) WithContext

WithContext adds the context to the get alert rule params

func (*GetAlertRuleParams) WithDefaults

func (o *GetAlertRuleParams) WithDefaults() *GetAlertRuleParams

WithDefaults hydrates default values in the get alert rule params (not the query body).

All values with no default are reset to their zero value.

func (*GetAlertRuleParams) WithHTTPClient

func (o *GetAlertRuleParams) WithHTTPClient(client *http.Client) *GetAlertRuleParams

WithHTTPClient adds the HTTPClient to the get alert rule params

func (*GetAlertRuleParams) WithTimeout

func (o *GetAlertRuleParams) WithTimeout(timeout time.Duration) *GetAlertRuleParams

WithTimeout adds the timeout to the get alert rule params

func (*GetAlertRuleParams) WithUID

func (o *GetAlertRuleParams) WithUID(uid string) *GetAlertRuleParams

WithUID adds the uid to the get alert rule params

func (*GetAlertRuleParams) WriteToRequest

func (o *GetAlertRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetAlertRuleReader

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

GetAlertRuleReader is a Reader for the GetAlertRule structure.

func (*GetAlertRuleReader) ReadResponse

func (o *GetAlertRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAlertRulesExportNotFound

type GetAlertRulesExportNotFound struct {
}

GetAlertRulesExportNotFound describes a response with status code 404, with default header values.

Not found.

func NewGetAlertRulesExportNotFound

func NewGetAlertRulesExportNotFound() *GetAlertRulesExportNotFound

NewGetAlertRulesExportNotFound creates a GetAlertRulesExportNotFound with default headers values

func (*GetAlertRulesExportNotFound) Code

func (o *GetAlertRulesExportNotFound) Code() int

Code gets the status code for the get alert rules export not found response

func (*GetAlertRulesExportNotFound) Error

func (*GetAlertRulesExportNotFound) IsClientError

func (o *GetAlertRulesExportNotFound) IsClientError() bool

IsClientError returns true when this get alert rules export not found response has a 4xx status code

func (*GetAlertRulesExportNotFound) IsCode

func (o *GetAlertRulesExportNotFound) IsCode(code int) bool

IsCode returns true when this get alert rules export not found response a status code equal to that given

func (*GetAlertRulesExportNotFound) IsRedirect

func (o *GetAlertRulesExportNotFound) IsRedirect() bool

IsRedirect returns true when this get alert rules export not found response has a 3xx status code

func (*GetAlertRulesExportNotFound) IsServerError

func (o *GetAlertRulesExportNotFound) IsServerError() bool

IsServerError returns true when this get alert rules export not found response has a 5xx status code

func (*GetAlertRulesExportNotFound) IsSuccess

func (o *GetAlertRulesExportNotFound) IsSuccess() bool

IsSuccess returns true when this get alert rules export not found response has a 2xx status code

func (*GetAlertRulesExportNotFound) String

func (o *GetAlertRulesExportNotFound) String() string

type GetAlertRulesExportOK

type GetAlertRulesExportOK struct {
	Payload *models.AlertingFileExport
}

GetAlertRulesExportOK describes a response with status code 200, with default header values.

AlertingFileExport

func NewGetAlertRulesExportOK

func NewGetAlertRulesExportOK() *GetAlertRulesExportOK

NewGetAlertRulesExportOK creates a GetAlertRulesExportOK with default headers values

func (*GetAlertRulesExportOK) Code

func (o *GetAlertRulesExportOK) Code() int

Code gets the status code for the get alert rules export Ok response

func (*GetAlertRulesExportOK) Error

func (o *GetAlertRulesExportOK) Error() string

func (*GetAlertRulesExportOK) GetPayload

func (*GetAlertRulesExportOK) IsClientError

func (o *GetAlertRulesExportOK) IsClientError() bool

IsClientError returns true when this get alert rules export Ok response has a 4xx status code

func (*GetAlertRulesExportOK) IsCode

func (o *GetAlertRulesExportOK) IsCode(code int) bool

IsCode returns true when this get alert rules export Ok response a status code equal to that given

func (*GetAlertRulesExportOK) IsRedirect

func (o *GetAlertRulesExportOK) IsRedirect() bool

IsRedirect returns true when this get alert rules export Ok response has a 3xx status code

func (*GetAlertRulesExportOK) IsServerError

func (o *GetAlertRulesExportOK) IsServerError() bool

IsServerError returns true when this get alert rules export Ok response has a 5xx status code

func (*GetAlertRulesExportOK) IsSuccess

func (o *GetAlertRulesExportOK) IsSuccess() bool

IsSuccess returns true when this get alert rules export Ok response has a 2xx status code

func (*GetAlertRulesExportOK) String

func (o *GetAlertRulesExportOK) String() string

type GetAlertRulesExportParams

type GetAlertRulesExportParams struct {

	/* Download.

	   Whether to initiate a download of the file or not.
	*/
	Download *bool

	/* FolderUID.

	   UIDs of folders from which to export rules
	*/
	FolderUID []string

	/* Format.

	   Format of the downloaded file. Supported yaml, json or hcl. Accept header can also be used, but the query parameter will take precedence.

	   Default: "yaml"
	*/
	Format *string

	/* Group.

	   Name of group of rules to export. Must be specified only together with a single folder UID
	*/
	Group *string

	/* RuleUID.

	   UID of alert rule to export. If specified, parameters folderUid and group must be empty.
	*/
	RuleUID *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAlertRulesExportParams contains all the parameters to send to the API endpoint

for the get alert rules export operation.

Typically these are written to a http.Request.

func NewGetAlertRulesExportParams

func NewGetAlertRulesExportParams() *GetAlertRulesExportParams

NewGetAlertRulesExportParams creates a new GetAlertRulesExportParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAlertRulesExportParamsWithContext

func NewGetAlertRulesExportParamsWithContext(ctx context.Context) *GetAlertRulesExportParams

NewGetAlertRulesExportParamsWithContext creates a new GetAlertRulesExportParams object with the ability to set a context for a request.

func NewGetAlertRulesExportParamsWithHTTPClient

func NewGetAlertRulesExportParamsWithHTTPClient(client *http.Client) *GetAlertRulesExportParams

NewGetAlertRulesExportParamsWithHTTPClient creates a new GetAlertRulesExportParams object with the ability to set a custom HTTPClient for a request.

func NewGetAlertRulesExportParamsWithTimeout

func NewGetAlertRulesExportParamsWithTimeout(timeout time.Duration) *GetAlertRulesExportParams

NewGetAlertRulesExportParamsWithTimeout creates a new GetAlertRulesExportParams object with the ability to set a timeout on a request.

func (*GetAlertRulesExportParams) SetContext

func (o *GetAlertRulesExportParams) SetContext(ctx context.Context)

SetContext adds the context to the get alert rules export params

func (*GetAlertRulesExportParams) SetDefaults

func (o *GetAlertRulesExportParams) SetDefaults()

SetDefaults hydrates default values in the get alert rules export params (not the query body).

All values with no default are reset to their zero value.

func (*GetAlertRulesExportParams) SetDownload

func (o *GetAlertRulesExportParams) SetDownload(download *bool)

SetDownload adds the download to the get alert rules export params

func (*GetAlertRulesExportParams) SetFolderUID

func (o *GetAlertRulesExportParams) SetFolderUID(folderUID []string)

SetFolderUID adds the folderUid to the get alert rules export params

func (*GetAlertRulesExportParams) SetFormat

func (o *GetAlertRulesExportParams) SetFormat(format *string)

SetFormat adds the format to the get alert rules export params

func (*GetAlertRulesExportParams) SetGroup

func (o *GetAlertRulesExportParams) SetGroup(group *string)

SetGroup adds the group to the get alert rules export params

func (*GetAlertRulesExportParams) SetHTTPClient

func (o *GetAlertRulesExportParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get alert rules export params

func (*GetAlertRulesExportParams) SetRuleUID

func (o *GetAlertRulesExportParams) SetRuleUID(ruleUID *string)

SetRuleUID adds the ruleUid to the get alert rules export params

func (*GetAlertRulesExportParams) SetTimeout

func (o *GetAlertRulesExportParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get alert rules export params

func (*GetAlertRulesExportParams) WithContext

WithContext adds the context to the get alert rules export params

func (*GetAlertRulesExportParams) WithDefaults

WithDefaults hydrates default values in the get alert rules export params (not the query body).

All values with no default are reset to their zero value.

func (*GetAlertRulesExportParams) WithDownload

func (o *GetAlertRulesExportParams) WithDownload(download *bool) *GetAlertRulesExportParams

WithDownload adds the download to the get alert rules export params

func (*GetAlertRulesExportParams) WithFolderUID

func (o *GetAlertRulesExportParams) WithFolderUID(folderUID []string) *GetAlertRulesExportParams

WithFolderUID adds the folderUID to the get alert rules export params

func (*GetAlertRulesExportParams) WithFormat

WithFormat adds the format to the get alert rules export params

func (*GetAlertRulesExportParams) WithGroup

WithGroup adds the group to the get alert rules export params

func (*GetAlertRulesExportParams) WithHTTPClient

func (o *GetAlertRulesExportParams) WithHTTPClient(client *http.Client) *GetAlertRulesExportParams

WithHTTPClient adds the HTTPClient to the get alert rules export params

func (*GetAlertRulesExportParams) WithRuleUID

WithRuleUID adds the ruleUID to the get alert rules export params

func (*GetAlertRulesExportParams) WithTimeout

WithTimeout adds the timeout to the get alert rules export params

func (*GetAlertRulesExportParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAlertRulesExportReader

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

GetAlertRulesExportReader is a Reader for the GetAlertRulesExport structure.

func (*GetAlertRulesExportReader) ReadResponse

func (o *GetAlertRulesExportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAlertRulesOK

type GetAlertRulesOK struct {
	Payload models.ProvisionedAlertRules
}

GetAlertRulesOK describes a response with status code 200, with default header values.

ProvisionedAlertRules

func NewGetAlertRulesOK

func NewGetAlertRulesOK() *GetAlertRulesOK

NewGetAlertRulesOK creates a GetAlertRulesOK with default headers values

func (*GetAlertRulesOK) Code

func (o *GetAlertRulesOK) Code() int

Code gets the status code for the get alert rules Ok response

func (*GetAlertRulesOK) Error

func (o *GetAlertRulesOK) Error() string

func (*GetAlertRulesOK) GetPayload

func (*GetAlertRulesOK) IsClientError

func (o *GetAlertRulesOK) IsClientError() bool

IsClientError returns true when this get alert rules Ok response has a 4xx status code

func (*GetAlertRulesOK) IsCode

func (o *GetAlertRulesOK) IsCode(code int) bool

IsCode returns true when this get alert rules Ok response a status code equal to that given

func (*GetAlertRulesOK) IsRedirect

func (o *GetAlertRulesOK) IsRedirect() bool

IsRedirect returns true when this get alert rules Ok response has a 3xx status code

func (*GetAlertRulesOK) IsServerError

func (o *GetAlertRulesOK) IsServerError() bool

IsServerError returns true when this get alert rules Ok response has a 5xx status code

func (*GetAlertRulesOK) IsSuccess

func (o *GetAlertRulesOK) IsSuccess() bool

IsSuccess returns true when this get alert rules Ok response has a 2xx status code

func (*GetAlertRulesOK) String

func (o *GetAlertRulesOK) String() string

type GetAlertRulesParams

type GetAlertRulesParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAlertRulesParams contains all the parameters to send to the API endpoint

for the get alert rules operation.

Typically these are written to a http.Request.

func NewGetAlertRulesParams

func NewGetAlertRulesParams() *GetAlertRulesParams

NewGetAlertRulesParams creates a new GetAlertRulesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAlertRulesParamsWithContext

func NewGetAlertRulesParamsWithContext(ctx context.Context) *GetAlertRulesParams

NewGetAlertRulesParamsWithContext creates a new GetAlertRulesParams object with the ability to set a context for a request.

func NewGetAlertRulesParamsWithHTTPClient

func NewGetAlertRulesParamsWithHTTPClient(client *http.Client) *GetAlertRulesParams

NewGetAlertRulesParamsWithHTTPClient creates a new GetAlertRulesParams object with the ability to set a custom HTTPClient for a request.

func NewGetAlertRulesParamsWithTimeout

func NewGetAlertRulesParamsWithTimeout(timeout time.Duration) *GetAlertRulesParams

NewGetAlertRulesParamsWithTimeout creates a new GetAlertRulesParams object with the ability to set a timeout on a request.

func (*GetAlertRulesParams) SetContext

func (o *GetAlertRulesParams) SetContext(ctx context.Context)

SetContext adds the context to the get alert rules params

func (*GetAlertRulesParams) SetDefaults

func (o *GetAlertRulesParams) SetDefaults()

SetDefaults hydrates default values in the get alert rules params (not the query body).

All values with no default are reset to their zero value.

func (*GetAlertRulesParams) SetHTTPClient

func (o *GetAlertRulesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get alert rules params

func (*GetAlertRulesParams) SetTimeout

func (o *GetAlertRulesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get alert rules params

func (*GetAlertRulesParams) WithContext

WithContext adds the context to the get alert rules params

func (*GetAlertRulesParams) WithDefaults

func (o *GetAlertRulesParams) WithDefaults() *GetAlertRulesParams

WithDefaults hydrates default values in the get alert rules params (not the query body).

All values with no default are reset to their zero value.

func (*GetAlertRulesParams) WithHTTPClient

func (o *GetAlertRulesParams) WithHTTPClient(client *http.Client) *GetAlertRulesParams

WithHTTPClient adds the HTTPClient to the get alert rules params

func (*GetAlertRulesParams) WithTimeout

func (o *GetAlertRulesParams) WithTimeout(timeout time.Duration) *GetAlertRulesParams

WithTimeout adds the timeout to the get alert rules params

func (*GetAlertRulesParams) WriteToRequest

func (o *GetAlertRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetAlertRulesReader

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

GetAlertRulesReader is a Reader for the GetAlertRules structure.

func (*GetAlertRulesReader) ReadResponse

func (o *GetAlertRulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetContactpointsExportForbidden

type GetContactpointsExportForbidden struct {
	Payload models.PermissionDenied
}

GetContactpointsExportForbidden describes a response with status code 403, with default header values.

PermissionDenied

func NewGetContactpointsExportForbidden

func NewGetContactpointsExportForbidden() *GetContactpointsExportForbidden

NewGetContactpointsExportForbidden creates a GetContactpointsExportForbidden with default headers values

func (*GetContactpointsExportForbidden) Code

Code gets the status code for the get contactpoints export forbidden response

func (*GetContactpointsExportForbidden) Error

func (*GetContactpointsExportForbidden) GetPayload

func (*GetContactpointsExportForbidden) IsClientError

func (o *GetContactpointsExportForbidden) IsClientError() bool

IsClientError returns true when this get contactpoints export forbidden response has a 4xx status code

func (*GetContactpointsExportForbidden) IsCode

func (o *GetContactpointsExportForbidden) IsCode(code int) bool

IsCode returns true when this get contactpoints export forbidden response a status code equal to that given

func (*GetContactpointsExportForbidden) IsRedirect

func (o *GetContactpointsExportForbidden) IsRedirect() bool

IsRedirect returns true when this get contactpoints export forbidden response has a 3xx status code

func (*GetContactpointsExportForbidden) IsServerError

func (o *GetContactpointsExportForbidden) IsServerError() bool

IsServerError returns true when this get contactpoints export forbidden response has a 5xx status code

func (*GetContactpointsExportForbidden) IsSuccess

func (o *GetContactpointsExportForbidden) IsSuccess() bool

IsSuccess returns true when this get contactpoints export forbidden response has a 2xx status code

func (*GetContactpointsExportForbidden) String

type GetContactpointsExportOK

type GetContactpointsExportOK struct {
	Payload *models.AlertingFileExport
}

GetContactpointsExportOK describes a response with status code 200, with default header values.

AlertingFileExport

func NewGetContactpointsExportOK

func NewGetContactpointsExportOK() *GetContactpointsExportOK

NewGetContactpointsExportOK creates a GetContactpointsExportOK with default headers values

func (*GetContactpointsExportOK) Code

func (o *GetContactpointsExportOK) Code() int

Code gets the status code for the get contactpoints export Ok response

func (*GetContactpointsExportOK) Error

func (o *GetContactpointsExportOK) Error() string

func (*GetContactpointsExportOK) GetPayload

func (*GetContactpointsExportOK) IsClientError

func (o *GetContactpointsExportOK) IsClientError() bool

IsClientError returns true when this get contactpoints export Ok response has a 4xx status code

func (*GetContactpointsExportOK) IsCode

func (o *GetContactpointsExportOK) IsCode(code int) bool

IsCode returns true when this get contactpoints export Ok response a status code equal to that given

func (*GetContactpointsExportOK) IsRedirect

func (o *GetContactpointsExportOK) IsRedirect() bool

IsRedirect returns true when this get contactpoints export Ok response has a 3xx status code

func (*GetContactpointsExportOK) IsServerError

func (o *GetContactpointsExportOK) IsServerError() bool

IsServerError returns true when this get contactpoints export Ok response has a 5xx status code

func (*GetContactpointsExportOK) IsSuccess

func (o *GetContactpointsExportOK) IsSuccess() bool

IsSuccess returns true when this get contactpoints export Ok response has a 2xx status code

func (*GetContactpointsExportOK) String

func (o *GetContactpointsExportOK) String() string

type GetContactpointsExportParams

type GetContactpointsExportParams struct {

	/* Decrypt.

	   Whether any contained secure settings should be decrypted or left redacted. Redacted settings will contain RedactedValue instead. Currently, only org admin can view decrypted secure settings.
	*/
	Decrypt *bool

	/* Download.

	   Whether to initiate a download of the file or not.
	*/
	Download *bool

	/* Format.

	   Format of the downloaded file. Supported yaml, json or hcl. Accept header can also be used, but the query parameter will take precedence.

	   Default: "yaml"
	*/
	Format *string

	/* Name.

	   Filter by name
	*/
	Name *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetContactpointsExportParams contains all the parameters to send to the API endpoint

for the get contactpoints export operation.

Typically these are written to a http.Request.

func NewGetContactpointsExportParams

func NewGetContactpointsExportParams() *GetContactpointsExportParams

NewGetContactpointsExportParams creates a new GetContactpointsExportParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetContactpointsExportParamsWithContext

func NewGetContactpointsExportParamsWithContext(ctx context.Context) *GetContactpointsExportParams

NewGetContactpointsExportParamsWithContext creates a new GetContactpointsExportParams object with the ability to set a context for a request.

func NewGetContactpointsExportParamsWithHTTPClient

func NewGetContactpointsExportParamsWithHTTPClient(client *http.Client) *GetContactpointsExportParams

NewGetContactpointsExportParamsWithHTTPClient creates a new GetContactpointsExportParams object with the ability to set a custom HTTPClient for a request.

func NewGetContactpointsExportParamsWithTimeout

func NewGetContactpointsExportParamsWithTimeout(timeout time.Duration) *GetContactpointsExportParams

NewGetContactpointsExportParamsWithTimeout creates a new GetContactpointsExportParams object with the ability to set a timeout on a request.

func (*GetContactpointsExportParams) SetContext

func (o *GetContactpointsExportParams) SetContext(ctx context.Context)

SetContext adds the context to the get contactpoints export params

func (*GetContactpointsExportParams) SetDecrypt

func (o *GetContactpointsExportParams) SetDecrypt(decrypt *bool)

SetDecrypt adds the decrypt to the get contactpoints export params

func (*GetContactpointsExportParams) SetDefaults

func (o *GetContactpointsExportParams) SetDefaults()

SetDefaults hydrates default values in the get contactpoints export params (not the query body).

All values with no default are reset to their zero value.

func (*GetContactpointsExportParams) SetDownload

func (o *GetContactpointsExportParams) SetDownload(download *bool)

SetDownload adds the download to the get contactpoints export params

func (*GetContactpointsExportParams) SetFormat

func (o *GetContactpointsExportParams) SetFormat(format *string)

SetFormat adds the format to the get contactpoints export params

func (*GetContactpointsExportParams) SetHTTPClient

func (o *GetContactpointsExportParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get contactpoints export params

func (*GetContactpointsExportParams) SetName

func (o *GetContactpointsExportParams) SetName(name *string)

SetName adds the name to the get contactpoints export params

func (*GetContactpointsExportParams) SetTimeout

func (o *GetContactpointsExportParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get contactpoints export params

func (*GetContactpointsExportParams) WithContext

WithContext adds the context to the get contactpoints export params

func (*GetContactpointsExportParams) WithDecrypt

WithDecrypt adds the decrypt to the get contactpoints export params

func (*GetContactpointsExportParams) WithDefaults

WithDefaults hydrates default values in the get contactpoints export params (not the query body).

All values with no default are reset to their zero value.

func (*GetContactpointsExportParams) WithDownload

WithDownload adds the download to the get contactpoints export params

func (*GetContactpointsExportParams) WithFormat

WithFormat adds the format to the get contactpoints export params

func (*GetContactpointsExportParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get contactpoints export params

func (*GetContactpointsExportParams) WithName

WithName adds the name to the get contactpoints export params

func (*GetContactpointsExportParams) WithTimeout

WithTimeout adds the timeout to the get contactpoints export params

func (*GetContactpointsExportParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetContactpointsExportReader

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

GetContactpointsExportReader is a Reader for the GetContactpointsExport structure.

func (*GetContactpointsExportReader) ReadResponse

func (o *GetContactpointsExportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetContactpointsOK

type GetContactpointsOK struct {
	Payload models.ContactPoints
}

GetContactpointsOK describes a response with status code 200, with default header values.

ContactPoints

func NewGetContactpointsOK

func NewGetContactpointsOK() *GetContactpointsOK

NewGetContactpointsOK creates a GetContactpointsOK with default headers values

func (*GetContactpointsOK) Code

func (o *GetContactpointsOK) Code() int

Code gets the status code for the get contactpoints Ok response

func (*GetContactpointsOK) Error

func (o *GetContactpointsOK) Error() string

func (*GetContactpointsOK) GetPayload

func (o *GetContactpointsOK) GetPayload() models.ContactPoints

func (*GetContactpointsOK) IsClientError

func (o *GetContactpointsOK) IsClientError() bool

IsClientError returns true when this get contactpoints Ok response has a 4xx status code

func (*GetContactpointsOK) IsCode

func (o *GetContactpointsOK) IsCode(code int) bool

IsCode returns true when this get contactpoints Ok response a status code equal to that given

func (*GetContactpointsOK) IsRedirect

func (o *GetContactpointsOK) IsRedirect() bool

IsRedirect returns true when this get contactpoints Ok response has a 3xx status code

func (*GetContactpointsOK) IsServerError

func (o *GetContactpointsOK) IsServerError() bool

IsServerError returns true when this get contactpoints Ok response has a 5xx status code

func (*GetContactpointsOK) IsSuccess

func (o *GetContactpointsOK) IsSuccess() bool

IsSuccess returns true when this get contactpoints Ok response has a 2xx status code

func (*GetContactpointsOK) String

func (o *GetContactpointsOK) String() string

type GetContactpointsParams

type GetContactpointsParams struct {

	/* Name.

	   Filter by name
	*/
	Name *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetContactpointsParams contains all the parameters to send to the API endpoint

for the get contactpoints operation.

Typically these are written to a http.Request.

func NewGetContactpointsParams

func NewGetContactpointsParams() *GetContactpointsParams

NewGetContactpointsParams creates a new GetContactpointsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetContactpointsParamsWithContext

func NewGetContactpointsParamsWithContext(ctx context.Context) *GetContactpointsParams

NewGetContactpointsParamsWithContext creates a new GetContactpointsParams object with the ability to set a context for a request.

func NewGetContactpointsParamsWithHTTPClient

func NewGetContactpointsParamsWithHTTPClient(client *http.Client) *GetContactpointsParams

NewGetContactpointsParamsWithHTTPClient creates a new GetContactpointsParams object with the ability to set a custom HTTPClient for a request.

func NewGetContactpointsParamsWithTimeout

func NewGetContactpointsParamsWithTimeout(timeout time.Duration) *GetContactpointsParams

NewGetContactpointsParamsWithTimeout creates a new GetContactpointsParams object with the ability to set a timeout on a request.

func (*GetContactpointsParams) SetContext

func (o *GetContactpointsParams) SetContext(ctx context.Context)

SetContext adds the context to the get contactpoints params

func (*GetContactpointsParams) SetDefaults

func (o *GetContactpointsParams) SetDefaults()

SetDefaults hydrates default values in the get contactpoints params (not the query body).

All values with no default are reset to their zero value.

func (*GetContactpointsParams) SetHTTPClient

func (o *GetContactpointsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get contactpoints params

func (*GetContactpointsParams) SetName

func (o *GetContactpointsParams) SetName(name *string)

SetName adds the name to the get contactpoints params

func (*GetContactpointsParams) SetTimeout

func (o *GetContactpointsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get contactpoints params

func (*GetContactpointsParams) WithContext

WithContext adds the context to the get contactpoints params

func (*GetContactpointsParams) WithDefaults

WithDefaults hydrates default values in the get contactpoints params (not the query body).

All values with no default are reset to their zero value.

func (*GetContactpointsParams) WithHTTPClient

func (o *GetContactpointsParams) WithHTTPClient(client *http.Client) *GetContactpointsParams

WithHTTPClient adds the HTTPClient to the get contactpoints params

func (*GetContactpointsParams) WithName

WithName adds the name to the get contactpoints params

func (*GetContactpointsParams) WithTimeout

WithTimeout adds the timeout to the get contactpoints params

func (*GetContactpointsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetContactpointsReader

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

GetContactpointsReader is a Reader for the GetContactpoints structure.

func (*GetContactpointsReader) ReadResponse

func (o *GetContactpointsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetMuteTimingNotFound

type GetMuteTimingNotFound struct {
}

GetMuteTimingNotFound describes a response with status code 404, with default header values.

Not found.

func NewGetMuteTimingNotFound

func NewGetMuteTimingNotFound() *GetMuteTimingNotFound

NewGetMuteTimingNotFound creates a GetMuteTimingNotFound with default headers values

func (*GetMuteTimingNotFound) Code

func (o *GetMuteTimingNotFound) Code() int

Code gets the status code for the get mute timing not found response

func (*GetMuteTimingNotFound) Error

func (o *GetMuteTimingNotFound) Error() string

func (*GetMuteTimingNotFound) IsClientError

func (o *GetMuteTimingNotFound) IsClientError() bool

IsClientError returns true when this get mute timing not found response has a 4xx status code

func (*GetMuteTimingNotFound) IsCode

func (o *GetMuteTimingNotFound) IsCode(code int) bool

IsCode returns true when this get mute timing not found response a status code equal to that given

func (*GetMuteTimingNotFound) IsRedirect

func (o *GetMuteTimingNotFound) IsRedirect() bool

IsRedirect returns true when this get mute timing not found response has a 3xx status code

func (*GetMuteTimingNotFound) IsServerError

func (o *GetMuteTimingNotFound) IsServerError() bool

IsServerError returns true when this get mute timing not found response has a 5xx status code

func (*GetMuteTimingNotFound) IsSuccess

func (o *GetMuteTimingNotFound) IsSuccess() bool

IsSuccess returns true when this get mute timing not found response has a 2xx status code

func (*GetMuteTimingNotFound) String

func (o *GetMuteTimingNotFound) String() string

type GetMuteTimingOK

type GetMuteTimingOK struct {
	Payload *models.MuteTimeInterval
}

GetMuteTimingOK describes a response with status code 200, with default header values.

MuteTimeInterval

func NewGetMuteTimingOK

func NewGetMuteTimingOK() *GetMuteTimingOK

NewGetMuteTimingOK creates a GetMuteTimingOK with default headers values

func (*GetMuteTimingOK) Code

func (o *GetMuteTimingOK) Code() int

Code gets the status code for the get mute timing Ok response

func (*GetMuteTimingOK) Error

func (o *GetMuteTimingOK) Error() string

func (*GetMuteTimingOK) GetPayload

func (o *GetMuteTimingOK) GetPayload() *models.MuteTimeInterval

func (*GetMuteTimingOK) IsClientError

func (o *GetMuteTimingOK) IsClientError() bool

IsClientError returns true when this get mute timing Ok response has a 4xx status code

func (*GetMuteTimingOK) IsCode

func (o *GetMuteTimingOK) IsCode(code int) bool

IsCode returns true when this get mute timing Ok response a status code equal to that given

func (*GetMuteTimingOK) IsRedirect

func (o *GetMuteTimingOK) IsRedirect() bool

IsRedirect returns true when this get mute timing Ok response has a 3xx status code

func (*GetMuteTimingOK) IsServerError

func (o *GetMuteTimingOK) IsServerError() bool

IsServerError returns true when this get mute timing Ok response has a 5xx status code

func (*GetMuteTimingOK) IsSuccess

func (o *GetMuteTimingOK) IsSuccess() bool

IsSuccess returns true when this get mute timing Ok response has a 2xx status code

func (*GetMuteTimingOK) String

func (o *GetMuteTimingOK) String() string

type GetMuteTimingParams

type GetMuteTimingParams struct {

	/* Name.

	   Mute timing name
	*/
	Name string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetMuteTimingParams contains all the parameters to send to the API endpoint

for the get mute timing operation.

Typically these are written to a http.Request.

func NewGetMuteTimingParams

func NewGetMuteTimingParams() *GetMuteTimingParams

NewGetMuteTimingParams creates a new GetMuteTimingParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetMuteTimingParamsWithContext

func NewGetMuteTimingParamsWithContext(ctx context.Context) *GetMuteTimingParams

NewGetMuteTimingParamsWithContext creates a new GetMuteTimingParams object with the ability to set a context for a request.

func NewGetMuteTimingParamsWithHTTPClient

func NewGetMuteTimingParamsWithHTTPClient(client *http.Client) *GetMuteTimingParams

NewGetMuteTimingParamsWithHTTPClient creates a new GetMuteTimingParams object with the ability to set a custom HTTPClient for a request.

func NewGetMuteTimingParamsWithTimeout

func NewGetMuteTimingParamsWithTimeout(timeout time.Duration) *GetMuteTimingParams

NewGetMuteTimingParamsWithTimeout creates a new GetMuteTimingParams object with the ability to set a timeout on a request.

func (*GetMuteTimingParams) SetContext

func (o *GetMuteTimingParams) SetContext(ctx context.Context)

SetContext adds the context to the get mute timing params

func (*GetMuteTimingParams) SetDefaults

func (o *GetMuteTimingParams) SetDefaults()

SetDefaults hydrates default values in the get mute timing params (not the query body).

All values with no default are reset to their zero value.

func (*GetMuteTimingParams) SetHTTPClient

func (o *GetMuteTimingParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get mute timing params

func (*GetMuteTimingParams) SetName

func (o *GetMuteTimingParams) SetName(name string)

SetName adds the name to the get mute timing params

func (*GetMuteTimingParams) SetTimeout

func (o *GetMuteTimingParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get mute timing params

func (*GetMuteTimingParams) WithContext

WithContext adds the context to the get mute timing params

func (*GetMuteTimingParams) WithDefaults

func (o *GetMuteTimingParams) WithDefaults() *GetMuteTimingParams

WithDefaults hydrates default values in the get mute timing params (not the query body).

All values with no default are reset to their zero value.

func (*GetMuteTimingParams) WithHTTPClient

func (o *GetMuteTimingParams) WithHTTPClient(client *http.Client) *GetMuteTimingParams

WithHTTPClient adds the HTTPClient to the get mute timing params

func (*GetMuteTimingParams) WithName

func (o *GetMuteTimingParams) WithName(name string) *GetMuteTimingParams

WithName adds the name to the get mute timing params

func (*GetMuteTimingParams) WithTimeout

func (o *GetMuteTimingParams) WithTimeout(timeout time.Duration) *GetMuteTimingParams

WithTimeout adds the timeout to the get mute timing params

func (*GetMuteTimingParams) WriteToRequest

func (o *GetMuteTimingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetMuteTimingReader

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

GetMuteTimingReader is a Reader for the GetMuteTiming structure.

func (*GetMuteTimingReader) ReadResponse

func (o *GetMuteTimingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetMuteTimingsOK

type GetMuteTimingsOK struct {
	Payload models.MuteTimings
}

GetMuteTimingsOK describes a response with status code 200, with default header values.

MuteTimings

func NewGetMuteTimingsOK

func NewGetMuteTimingsOK() *GetMuteTimingsOK

NewGetMuteTimingsOK creates a GetMuteTimingsOK with default headers values

func (*GetMuteTimingsOK) Code

func (o *GetMuteTimingsOK) Code() int

Code gets the status code for the get mute timings Ok response

func (*GetMuteTimingsOK) Error

func (o *GetMuteTimingsOK) Error() string

func (*GetMuteTimingsOK) GetPayload

func (o *GetMuteTimingsOK) GetPayload() models.MuteTimings

func (*GetMuteTimingsOK) IsClientError

func (o *GetMuteTimingsOK) IsClientError() bool

IsClientError returns true when this get mute timings Ok response has a 4xx status code

func (*GetMuteTimingsOK) IsCode

func (o *GetMuteTimingsOK) IsCode(code int) bool

IsCode returns true when this get mute timings Ok response a status code equal to that given

func (*GetMuteTimingsOK) IsRedirect

func (o *GetMuteTimingsOK) IsRedirect() bool

IsRedirect returns true when this get mute timings Ok response has a 3xx status code

func (*GetMuteTimingsOK) IsServerError

func (o *GetMuteTimingsOK) IsServerError() bool

IsServerError returns true when this get mute timings Ok response has a 5xx status code

func (*GetMuteTimingsOK) IsSuccess

func (o *GetMuteTimingsOK) IsSuccess() bool

IsSuccess returns true when this get mute timings Ok response has a 2xx status code

func (*GetMuteTimingsOK) String

func (o *GetMuteTimingsOK) String() string

type GetMuteTimingsParams

type GetMuteTimingsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetMuteTimingsParams contains all the parameters to send to the API endpoint

for the get mute timings operation.

Typically these are written to a http.Request.

func NewGetMuteTimingsParams

func NewGetMuteTimingsParams() *GetMuteTimingsParams

NewGetMuteTimingsParams creates a new GetMuteTimingsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetMuteTimingsParamsWithContext

func NewGetMuteTimingsParamsWithContext(ctx context.Context) *GetMuteTimingsParams

NewGetMuteTimingsParamsWithContext creates a new GetMuteTimingsParams object with the ability to set a context for a request.

func NewGetMuteTimingsParamsWithHTTPClient

func NewGetMuteTimingsParamsWithHTTPClient(client *http.Client) *GetMuteTimingsParams

NewGetMuteTimingsParamsWithHTTPClient creates a new GetMuteTimingsParams object with the ability to set a custom HTTPClient for a request.

func NewGetMuteTimingsParamsWithTimeout

func NewGetMuteTimingsParamsWithTimeout(timeout time.Duration) *GetMuteTimingsParams

NewGetMuteTimingsParamsWithTimeout creates a new GetMuteTimingsParams object with the ability to set a timeout on a request.

func (*GetMuteTimingsParams) SetContext

func (o *GetMuteTimingsParams) SetContext(ctx context.Context)

SetContext adds the context to the get mute timings params

func (*GetMuteTimingsParams) SetDefaults

func (o *GetMuteTimingsParams) SetDefaults()

SetDefaults hydrates default values in the get mute timings params (not the query body).

All values with no default are reset to their zero value.

func (*GetMuteTimingsParams) SetHTTPClient

func (o *GetMuteTimingsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get mute timings params

func (*GetMuteTimingsParams) SetTimeout

func (o *GetMuteTimingsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get mute timings params

func (*GetMuteTimingsParams) WithContext

WithContext adds the context to the get mute timings params

func (*GetMuteTimingsParams) WithDefaults

func (o *GetMuteTimingsParams) WithDefaults() *GetMuteTimingsParams

WithDefaults hydrates default values in the get mute timings params (not the query body).

All values with no default are reset to their zero value.

func (*GetMuteTimingsParams) WithHTTPClient

func (o *GetMuteTimingsParams) WithHTTPClient(client *http.Client) *GetMuteTimingsParams

WithHTTPClient adds the HTTPClient to the get mute timings params

func (*GetMuteTimingsParams) WithTimeout

func (o *GetMuteTimingsParams) WithTimeout(timeout time.Duration) *GetMuteTimingsParams

WithTimeout adds the timeout to the get mute timings params

func (*GetMuteTimingsParams) WriteToRequest

func (o *GetMuteTimingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetMuteTimingsReader

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

GetMuteTimingsReader is a Reader for the GetMuteTimings structure.

func (*GetMuteTimingsReader) ReadResponse

func (o *GetMuteTimingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPolicyTreeExportNotFound

type GetPolicyTreeExportNotFound struct {
	Payload models.NotFound
}

GetPolicyTreeExportNotFound describes a response with status code 404, with default header values.

NotFound

func NewGetPolicyTreeExportNotFound

func NewGetPolicyTreeExportNotFound() *GetPolicyTreeExportNotFound

NewGetPolicyTreeExportNotFound creates a GetPolicyTreeExportNotFound with default headers values

func (*GetPolicyTreeExportNotFound) Code

func (o *GetPolicyTreeExportNotFound) Code() int

Code gets the status code for the get policy tree export not found response

func (*GetPolicyTreeExportNotFound) Error

func (*GetPolicyTreeExportNotFound) GetPayload

func (*GetPolicyTreeExportNotFound) IsClientError

func (o *GetPolicyTreeExportNotFound) IsClientError() bool

IsClientError returns true when this get policy tree export not found response has a 4xx status code

func (*GetPolicyTreeExportNotFound) IsCode

func (o *GetPolicyTreeExportNotFound) IsCode(code int) bool

IsCode returns true when this get policy tree export not found response a status code equal to that given

func (*GetPolicyTreeExportNotFound) IsRedirect

func (o *GetPolicyTreeExportNotFound) IsRedirect() bool

IsRedirect returns true when this get policy tree export not found response has a 3xx status code

func (*GetPolicyTreeExportNotFound) IsServerError

func (o *GetPolicyTreeExportNotFound) IsServerError() bool

IsServerError returns true when this get policy tree export not found response has a 5xx status code

func (*GetPolicyTreeExportNotFound) IsSuccess

func (o *GetPolicyTreeExportNotFound) IsSuccess() bool

IsSuccess returns true when this get policy tree export not found response has a 2xx status code

func (*GetPolicyTreeExportNotFound) String

func (o *GetPolicyTreeExportNotFound) String() string

type GetPolicyTreeExportOK

type GetPolicyTreeExportOK struct {
	Payload *models.AlertingFileExport
}

GetPolicyTreeExportOK describes a response with status code 200, with default header values.

AlertingFileExport

func NewGetPolicyTreeExportOK

func NewGetPolicyTreeExportOK() *GetPolicyTreeExportOK

NewGetPolicyTreeExportOK creates a GetPolicyTreeExportOK with default headers values

func (*GetPolicyTreeExportOK) Code

func (o *GetPolicyTreeExportOK) Code() int

Code gets the status code for the get policy tree export Ok response

func (*GetPolicyTreeExportOK) Error

func (o *GetPolicyTreeExportOK) Error() string

func (*GetPolicyTreeExportOK) GetPayload

func (*GetPolicyTreeExportOK) IsClientError

func (o *GetPolicyTreeExportOK) IsClientError() bool

IsClientError returns true when this get policy tree export Ok response has a 4xx status code

func (*GetPolicyTreeExportOK) IsCode

func (o *GetPolicyTreeExportOK) IsCode(code int) bool

IsCode returns true when this get policy tree export Ok response a status code equal to that given

func (*GetPolicyTreeExportOK) IsRedirect

func (o *GetPolicyTreeExportOK) IsRedirect() bool

IsRedirect returns true when this get policy tree export Ok response has a 3xx status code

func (*GetPolicyTreeExportOK) IsServerError

func (o *GetPolicyTreeExportOK) IsServerError() bool

IsServerError returns true when this get policy tree export Ok response has a 5xx status code

func (*GetPolicyTreeExportOK) IsSuccess

func (o *GetPolicyTreeExportOK) IsSuccess() bool

IsSuccess returns true when this get policy tree export Ok response has a 2xx status code

func (*GetPolicyTreeExportOK) String

func (o *GetPolicyTreeExportOK) String() string

type GetPolicyTreeExportParams

type GetPolicyTreeExportParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPolicyTreeExportParams contains all the parameters to send to the API endpoint

for the get policy tree export operation.

Typically these are written to a http.Request.

func NewGetPolicyTreeExportParams

func NewGetPolicyTreeExportParams() *GetPolicyTreeExportParams

NewGetPolicyTreeExportParams creates a new GetPolicyTreeExportParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetPolicyTreeExportParamsWithContext

func NewGetPolicyTreeExportParamsWithContext(ctx context.Context) *GetPolicyTreeExportParams

NewGetPolicyTreeExportParamsWithContext creates a new GetPolicyTreeExportParams object with the ability to set a context for a request.

func NewGetPolicyTreeExportParamsWithHTTPClient

func NewGetPolicyTreeExportParamsWithHTTPClient(client *http.Client) *GetPolicyTreeExportParams

NewGetPolicyTreeExportParamsWithHTTPClient creates a new GetPolicyTreeExportParams object with the ability to set a custom HTTPClient for a request.

func NewGetPolicyTreeExportParamsWithTimeout

func NewGetPolicyTreeExportParamsWithTimeout(timeout time.Duration) *GetPolicyTreeExportParams

NewGetPolicyTreeExportParamsWithTimeout creates a new GetPolicyTreeExportParams object with the ability to set a timeout on a request.

func (*GetPolicyTreeExportParams) SetContext

func (o *GetPolicyTreeExportParams) SetContext(ctx context.Context)

SetContext adds the context to the get policy tree export params

func (*GetPolicyTreeExportParams) SetDefaults

func (o *GetPolicyTreeExportParams) SetDefaults()

SetDefaults hydrates default values in the get policy tree export params (not the query body).

All values with no default are reset to their zero value.

func (*GetPolicyTreeExportParams) SetHTTPClient

func (o *GetPolicyTreeExportParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get policy tree export params

func (*GetPolicyTreeExportParams) SetTimeout

func (o *GetPolicyTreeExportParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get policy tree export params

func (*GetPolicyTreeExportParams) WithContext

WithContext adds the context to the get policy tree export params

func (*GetPolicyTreeExportParams) WithDefaults

WithDefaults hydrates default values in the get policy tree export params (not the query body).

All values with no default are reset to their zero value.

func (*GetPolicyTreeExportParams) WithHTTPClient

func (o *GetPolicyTreeExportParams) WithHTTPClient(client *http.Client) *GetPolicyTreeExportParams

WithHTTPClient adds the HTTPClient to the get policy tree export params

func (*GetPolicyTreeExportParams) WithTimeout

WithTimeout adds the timeout to the get policy tree export params

func (*GetPolicyTreeExportParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPolicyTreeExportReader

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

GetPolicyTreeExportReader is a Reader for the GetPolicyTreeExport structure.

func (*GetPolicyTreeExportReader) ReadResponse

func (o *GetPolicyTreeExportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPolicyTreeOK

type GetPolicyTreeOK struct {
	Payload *models.Route
}

GetPolicyTreeOK describes a response with status code 200, with default header values.

Route

func NewGetPolicyTreeOK

func NewGetPolicyTreeOK() *GetPolicyTreeOK

NewGetPolicyTreeOK creates a GetPolicyTreeOK with default headers values

func (*GetPolicyTreeOK) Code

func (o *GetPolicyTreeOK) Code() int

Code gets the status code for the get policy tree Ok response

func (*GetPolicyTreeOK) Error

func (o *GetPolicyTreeOK) Error() string

func (*GetPolicyTreeOK) GetPayload

func (o *GetPolicyTreeOK) GetPayload() *models.Route

func (*GetPolicyTreeOK) IsClientError

func (o *GetPolicyTreeOK) IsClientError() bool

IsClientError returns true when this get policy tree Ok response has a 4xx status code

func (*GetPolicyTreeOK) IsCode

func (o *GetPolicyTreeOK) IsCode(code int) bool

IsCode returns true when this get policy tree Ok response a status code equal to that given

func (*GetPolicyTreeOK) IsRedirect

func (o *GetPolicyTreeOK) IsRedirect() bool

IsRedirect returns true when this get policy tree Ok response has a 3xx status code

func (*GetPolicyTreeOK) IsServerError

func (o *GetPolicyTreeOK) IsServerError() bool

IsServerError returns true when this get policy tree Ok response has a 5xx status code

func (*GetPolicyTreeOK) IsSuccess

func (o *GetPolicyTreeOK) IsSuccess() bool

IsSuccess returns true when this get policy tree Ok response has a 2xx status code

func (*GetPolicyTreeOK) String

func (o *GetPolicyTreeOK) String() string

type GetPolicyTreeParams

type GetPolicyTreeParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPolicyTreeParams contains all the parameters to send to the API endpoint

for the get policy tree operation.

Typically these are written to a http.Request.

func NewGetPolicyTreeParams

func NewGetPolicyTreeParams() *GetPolicyTreeParams

NewGetPolicyTreeParams creates a new GetPolicyTreeParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetPolicyTreeParamsWithContext

func NewGetPolicyTreeParamsWithContext(ctx context.Context) *GetPolicyTreeParams

NewGetPolicyTreeParamsWithContext creates a new GetPolicyTreeParams object with the ability to set a context for a request.

func NewGetPolicyTreeParamsWithHTTPClient

func NewGetPolicyTreeParamsWithHTTPClient(client *http.Client) *GetPolicyTreeParams

NewGetPolicyTreeParamsWithHTTPClient creates a new GetPolicyTreeParams object with the ability to set a custom HTTPClient for a request.

func NewGetPolicyTreeParamsWithTimeout

func NewGetPolicyTreeParamsWithTimeout(timeout time.Duration) *GetPolicyTreeParams

NewGetPolicyTreeParamsWithTimeout creates a new GetPolicyTreeParams object with the ability to set a timeout on a request.

func (*GetPolicyTreeParams) SetContext

func (o *GetPolicyTreeParams) SetContext(ctx context.Context)

SetContext adds the context to the get policy tree params

func (*GetPolicyTreeParams) SetDefaults

func (o *GetPolicyTreeParams) SetDefaults()

SetDefaults hydrates default values in the get policy tree params (not the query body).

All values with no default are reset to their zero value.

func (*GetPolicyTreeParams) SetHTTPClient

func (o *GetPolicyTreeParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get policy tree params

func (*GetPolicyTreeParams) SetTimeout

func (o *GetPolicyTreeParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get policy tree params

func (*GetPolicyTreeParams) WithContext

WithContext adds the context to the get policy tree params

func (*GetPolicyTreeParams) WithDefaults

func (o *GetPolicyTreeParams) WithDefaults() *GetPolicyTreeParams

WithDefaults hydrates default values in the get policy tree params (not the query body).

All values with no default are reset to their zero value.

func (*GetPolicyTreeParams) WithHTTPClient

func (o *GetPolicyTreeParams) WithHTTPClient(client *http.Client) *GetPolicyTreeParams

WithHTTPClient adds the HTTPClient to the get policy tree params

func (*GetPolicyTreeParams) WithTimeout

func (o *GetPolicyTreeParams) WithTimeout(timeout time.Duration) *GetPolicyTreeParams

WithTimeout adds the timeout to the get policy tree params

func (*GetPolicyTreeParams) WriteToRequest

func (o *GetPolicyTreeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPolicyTreeReader

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

GetPolicyTreeReader is a Reader for the GetPolicyTree structure.

func (*GetPolicyTreeReader) ReadResponse

func (o *GetPolicyTreeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetTemplateNotFound

type GetTemplateNotFound struct {
	Payload *models.PublicError
}

GetTemplateNotFound describes a response with status code 404, with default header values.

PublicError

func NewGetTemplateNotFound

func NewGetTemplateNotFound() *GetTemplateNotFound

NewGetTemplateNotFound creates a GetTemplateNotFound with default headers values

func (*GetTemplateNotFound) Code

func (o *GetTemplateNotFound) Code() int

Code gets the status code for the get template not found response

func (*GetTemplateNotFound) Error

func (o *GetTemplateNotFound) Error() string

func (*GetTemplateNotFound) GetPayload

func (o *GetTemplateNotFound) GetPayload() *models.PublicError

func (*GetTemplateNotFound) IsClientError

func (o *GetTemplateNotFound) IsClientError() bool

IsClientError returns true when this get template not found response has a 4xx status code

func (*GetTemplateNotFound) IsCode

func (o *GetTemplateNotFound) IsCode(code int) bool

IsCode returns true when this get template not found response a status code equal to that given

func (*GetTemplateNotFound) IsRedirect

func (o *GetTemplateNotFound) IsRedirect() bool

IsRedirect returns true when this get template not found response has a 3xx status code

func (*GetTemplateNotFound) IsServerError

func (o *GetTemplateNotFound) IsServerError() bool

IsServerError returns true when this get template not found response has a 5xx status code

func (*GetTemplateNotFound) IsSuccess

func (o *GetTemplateNotFound) IsSuccess() bool

IsSuccess returns true when this get template not found response has a 2xx status code

func (*GetTemplateNotFound) String

func (o *GetTemplateNotFound) String() string

type GetTemplateOK

type GetTemplateOK struct {
	Payload *models.NotificationTemplate
}

GetTemplateOK describes a response with status code 200, with default header values.

NotificationTemplate

func NewGetTemplateOK

func NewGetTemplateOK() *GetTemplateOK

NewGetTemplateOK creates a GetTemplateOK with default headers values

func (*GetTemplateOK) Code

func (o *GetTemplateOK) Code() int

Code gets the status code for the get template Ok response

func (*GetTemplateOK) Error

func (o *GetTemplateOK) Error() string

func (*GetTemplateOK) GetPayload

func (o *GetTemplateOK) GetPayload() *models.NotificationTemplate

func (*GetTemplateOK) IsClientError

func (o *GetTemplateOK) IsClientError() bool

IsClientError returns true when this get template Ok response has a 4xx status code

func (*GetTemplateOK) IsCode

func (o *GetTemplateOK) IsCode(code int) bool

IsCode returns true when this get template Ok response a status code equal to that given

func (*GetTemplateOK) IsRedirect

func (o *GetTemplateOK) IsRedirect() bool

IsRedirect returns true when this get template Ok response has a 3xx status code

func (*GetTemplateOK) IsServerError

func (o *GetTemplateOK) IsServerError() bool

IsServerError returns true when this get template Ok response has a 5xx status code

func (*GetTemplateOK) IsSuccess

func (o *GetTemplateOK) IsSuccess() bool

IsSuccess returns true when this get template Ok response has a 2xx status code

func (*GetTemplateOK) String

func (o *GetTemplateOK) String() string

type GetTemplateParams

type GetTemplateParams struct {

	/* Name.

	   Template group name
	*/
	Name string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetTemplateParams contains all the parameters to send to the API endpoint

for the get template operation.

Typically these are written to a http.Request.

func NewGetTemplateParams

func NewGetTemplateParams() *GetTemplateParams

NewGetTemplateParams creates a new GetTemplateParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetTemplateParamsWithContext

func NewGetTemplateParamsWithContext(ctx context.Context) *GetTemplateParams

NewGetTemplateParamsWithContext creates a new GetTemplateParams object with the ability to set a context for a request.

func NewGetTemplateParamsWithHTTPClient

func NewGetTemplateParamsWithHTTPClient(client *http.Client) *GetTemplateParams

NewGetTemplateParamsWithHTTPClient creates a new GetTemplateParams object with the ability to set a custom HTTPClient for a request.

func NewGetTemplateParamsWithTimeout

func NewGetTemplateParamsWithTimeout(timeout time.Duration) *GetTemplateParams

NewGetTemplateParamsWithTimeout creates a new GetTemplateParams object with the ability to set a timeout on a request.

func (*GetTemplateParams) SetContext

func (o *GetTemplateParams) SetContext(ctx context.Context)

SetContext adds the context to the get template params

func (*GetTemplateParams) SetDefaults

func (o *GetTemplateParams) SetDefaults()

SetDefaults hydrates default values in the get template params (not the query body).

All values with no default are reset to their zero value.

func (*GetTemplateParams) SetHTTPClient

func (o *GetTemplateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get template params

func (*GetTemplateParams) SetName

func (o *GetTemplateParams) SetName(name string)

SetName adds the name to the get template params

func (*GetTemplateParams) SetTimeout

func (o *GetTemplateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get template params

func (*GetTemplateParams) WithContext

func (o *GetTemplateParams) WithContext(ctx context.Context) *GetTemplateParams

WithContext adds the context to the get template params

func (*GetTemplateParams) WithDefaults

func (o *GetTemplateParams) WithDefaults() *GetTemplateParams

WithDefaults hydrates default values in the get template params (not the query body).

All values with no default are reset to their zero value.

func (*GetTemplateParams) WithHTTPClient

func (o *GetTemplateParams) WithHTTPClient(client *http.Client) *GetTemplateParams

WithHTTPClient adds the HTTPClient to the get template params

func (*GetTemplateParams) WithName

func (o *GetTemplateParams) WithName(name string) *GetTemplateParams

WithName adds the name to the get template params

func (*GetTemplateParams) WithTimeout

func (o *GetTemplateParams) WithTimeout(timeout time.Duration) *GetTemplateParams

WithTimeout adds the timeout to the get template params

func (*GetTemplateParams) WriteToRequest

func (o *GetTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetTemplateReader

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

GetTemplateReader is a Reader for the GetTemplate structure.

func (*GetTemplateReader) ReadResponse

func (o *GetTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetTemplatesOK

type GetTemplatesOK struct {
	Payload models.NotificationTemplates
}

GetTemplatesOK describes a response with status code 200, with default header values.

NotificationTemplates

func NewGetTemplatesOK

func NewGetTemplatesOK() *GetTemplatesOK

NewGetTemplatesOK creates a GetTemplatesOK with default headers values

func (*GetTemplatesOK) Code

func (o *GetTemplatesOK) Code() int

Code gets the status code for the get templates Ok response

func (*GetTemplatesOK) Error

func (o *GetTemplatesOK) Error() string

func (*GetTemplatesOK) GetPayload

func (*GetTemplatesOK) IsClientError

func (o *GetTemplatesOK) IsClientError() bool

IsClientError returns true when this get templates Ok response has a 4xx status code

func (*GetTemplatesOK) IsCode

func (o *GetTemplatesOK) IsCode(code int) bool

IsCode returns true when this get templates Ok response a status code equal to that given

func (*GetTemplatesOK) IsRedirect

func (o *GetTemplatesOK) IsRedirect() bool

IsRedirect returns true when this get templates Ok response has a 3xx status code

func (*GetTemplatesOK) IsServerError

func (o *GetTemplatesOK) IsServerError() bool

IsServerError returns true when this get templates Ok response has a 5xx status code

func (*GetTemplatesOK) IsSuccess

func (o *GetTemplatesOK) IsSuccess() bool

IsSuccess returns true when this get templates Ok response has a 2xx status code

func (*GetTemplatesOK) String

func (o *GetTemplatesOK) String() string

type GetTemplatesParams

type GetTemplatesParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetTemplatesParams contains all the parameters to send to the API endpoint

for the get templates operation.

Typically these are written to a http.Request.

func NewGetTemplatesParams

func NewGetTemplatesParams() *GetTemplatesParams

NewGetTemplatesParams creates a new GetTemplatesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetTemplatesParamsWithContext

func NewGetTemplatesParamsWithContext(ctx context.Context) *GetTemplatesParams

NewGetTemplatesParamsWithContext creates a new GetTemplatesParams object with the ability to set a context for a request.

func NewGetTemplatesParamsWithHTTPClient

func NewGetTemplatesParamsWithHTTPClient(client *http.Client) *GetTemplatesParams

NewGetTemplatesParamsWithHTTPClient creates a new GetTemplatesParams object with the ability to set a custom HTTPClient for a request.

func NewGetTemplatesParamsWithTimeout

func NewGetTemplatesParamsWithTimeout(timeout time.Duration) *GetTemplatesParams

NewGetTemplatesParamsWithTimeout creates a new GetTemplatesParams object with the ability to set a timeout on a request.

func (*GetTemplatesParams) SetContext

func (o *GetTemplatesParams) SetContext(ctx context.Context)

SetContext adds the context to the get templates params

func (*GetTemplatesParams) SetDefaults

func (o *GetTemplatesParams) SetDefaults()

SetDefaults hydrates default values in the get templates params (not the query body).

All values with no default are reset to their zero value.

func (*GetTemplatesParams) SetHTTPClient

func (o *GetTemplatesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get templates params

func (*GetTemplatesParams) SetTimeout

func (o *GetTemplatesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get templates params

func (*GetTemplatesParams) WithContext

WithContext adds the context to the get templates params

func (*GetTemplatesParams) WithDefaults

func (o *GetTemplatesParams) WithDefaults() *GetTemplatesParams

WithDefaults hydrates default values in the get templates params (not the query body).

All values with no default are reset to their zero value.

func (*GetTemplatesParams) WithHTTPClient

func (o *GetTemplatesParams) WithHTTPClient(client *http.Client) *GetTemplatesParams

WithHTTPClient adds the HTTPClient to the get templates params

func (*GetTemplatesParams) WithTimeout

func (o *GetTemplatesParams) WithTimeout(timeout time.Duration) *GetTemplatesParams

WithTimeout adds the timeout to the get templates params

func (*GetTemplatesParams) WriteToRequest

func (o *GetTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetTemplatesReader

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

GetTemplatesReader is a Reader for the GetTemplates structure.

func (*GetTemplatesReader) ReadResponse

func (o *GetTemplatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostAlertRuleBadRequest

type PostAlertRuleBadRequest struct {
	Payload *models.ValidationError
}

PostAlertRuleBadRequest describes a response with status code 400, with default header values.

ValidationError

func NewPostAlertRuleBadRequest

func NewPostAlertRuleBadRequest() *PostAlertRuleBadRequest

NewPostAlertRuleBadRequest creates a PostAlertRuleBadRequest with default headers values

func (*PostAlertRuleBadRequest) Code

func (o *PostAlertRuleBadRequest) Code() int

Code gets the status code for the post alert rule bad request response

func (*PostAlertRuleBadRequest) Error

func (o *PostAlertRuleBadRequest) Error() string

func (*PostAlertRuleBadRequest) GetPayload

func (*PostAlertRuleBadRequest) IsClientError

func (o *PostAlertRuleBadRequest) IsClientError() bool

IsClientError returns true when this post alert rule bad request response has a 4xx status code

func (*PostAlertRuleBadRequest) IsCode

func (o *PostAlertRuleBadRequest) IsCode(code int) bool

IsCode returns true when this post alert rule bad request response a status code equal to that given

func (*PostAlertRuleBadRequest) IsRedirect

func (o *PostAlertRuleBadRequest) IsRedirect() bool

IsRedirect returns true when this post alert rule bad request response has a 3xx status code

func (*PostAlertRuleBadRequest) IsServerError

func (o *PostAlertRuleBadRequest) IsServerError() bool

IsServerError returns true when this post alert rule bad request response has a 5xx status code

func (*PostAlertRuleBadRequest) IsSuccess

func (o *PostAlertRuleBadRequest) IsSuccess() bool

IsSuccess returns true when this post alert rule bad request response has a 2xx status code

func (*PostAlertRuleBadRequest) String

func (o *PostAlertRuleBadRequest) String() string

type PostAlertRuleCreated

type PostAlertRuleCreated struct {
	Payload *models.ProvisionedAlertRule
}

PostAlertRuleCreated describes a response with status code 201, with default header values.

ProvisionedAlertRule

func NewPostAlertRuleCreated

func NewPostAlertRuleCreated() *PostAlertRuleCreated

NewPostAlertRuleCreated creates a PostAlertRuleCreated with default headers values

func (*PostAlertRuleCreated) Code

func (o *PostAlertRuleCreated) Code() int

Code gets the status code for the post alert rule created response

func (*PostAlertRuleCreated) Error

func (o *PostAlertRuleCreated) Error() string

func (*PostAlertRuleCreated) GetPayload

func (*PostAlertRuleCreated) IsClientError

func (o *PostAlertRuleCreated) IsClientError() bool

IsClientError returns true when this post alert rule created response has a 4xx status code

func (*PostAlertRuleCreated) IsCode

func (o *PostAlertRuleCreated) IsCode(code int) bool

IsCode returns true when this post alert rule created response a status code equal to that given

func (*PostAlertRuleCreated) IsRedirect

func (o *PostAlertRuleCreated) IsRedirect() bool

IsRedirect returns true when this post alert rule created response has a 3xx status code

func (*PostAlertRuleCreated) IsServerError

func (o *PostAlertRuleCreated) IsServerError() bool

IsServerError returns true when this post alert rule created response has a 5xx status code

func (*PostAlertRuleCreated) IsSuccess

func (o *PostAlertRuleCreated) IsSuccess() bool

IsSuccess returns true when this post alert rule created response has a 2xx status code

func (*PostAlertRuleCreated) String

func (o *PostAlertRuleCreated) String() string

type PostAlertRuleParams

type PostAlertRuleParams struct {

	// Body.
	Body *models.ProvisionedAlertRule

	// XDisableProvenance.
	XDisableProvenance *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostAlertRuleParams contains all the parameters to send to the API endpoint

for the post alert rule operation.

Typically these are written to a http.Request.

func NewPostAlertRuleParams

func NewPostAlertRuleParams() *PostAlertRuleParams

NewPostAlertRuleParams creates a new PostAlertRuleParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostAlertRuleParamsWithContext

func NewPostAlertRuleParamsWithContext(ctx context.Context) *PostAlertRuleParams

NewPostAlertRuleParamsWithContext creates a new PostAlertRuleParams object with the ability to set a context for a request.

func NewPostAlertRuleParamsWithHTTPClient

func NewPostAlertRuleParamsWithHTTPClient(client *http.Client) *PostAlertRuleParams

NewPostAlertRuleParamsWithHTTPClient creates a new PostAlertRuleParams object with the ability to set a custom HTTPClient for a request.

func NewPostAlertRuleParamsWithTimeout

func NewPostAlertRuleParamsWithTimeout(timeout time.Duration) *PostAlertRuleParams

NewPostAlertRuleParamsWithTimeout creates a new PostAlertRuleParams object with the ability to set a timeout on a request.

func (*PostAlertRuleParams) SetBody

SetBody adds the body to the post alert rule params

func (*PostAlertRuleParams) SetContext

func (o *PostAlertRuleParams) SetContext(ctx context.Context)

SetContext adds the context to the post alert rule params

func (*PostAlertRuleParams) SetDefaults

func (o *PostAlertRuleParams) SetDefaults()

SetDefaults hydrates default values in the post alert rule params (not the query body).

All values with no default are reset to their zero value.

func (*PostAlertRuleParams) SetHTTPClient

func (o *PostAlertRuleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post alert rule params

func (*PostAlertRuleParams) SetTimeout

func (o *PostAlertRuleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the post alert rule params

func (*PostAlertRuleParams) SetXDisableProvenance

func (o *PostAlertRuleParams) SetXDisableProvenance(xDisableProvenance *string)

SetXDisableProvenance adds the xDisableProvenance to the post alert rule params

func (*PostAlertRuleParams) WithBody

WithBody adds the body to the post alert rule params

func (*PostAlertRuleParams) WithContext

WithContext adds the context to the post alert rule params

func (*PostAlertRuleParams) WithDefaults

func (o *PostAlertRuleParams) WithDefaults() *PostAlertRuleParams

WithDefaults hydrates default values in the post alert rule params (not the query body).

All values with no default are reset to their zero value.

func (*PostAlertRuleParams) WithHTTPClient

func (o *PostAlertRuleParams) WithHTTPClient(client *http.Client) *PostAlertRuleParams

WithHTTPClient adds the HTTPClient to the post alert rule params

func (*PostAlertRuleParams) WithTimeout

func (o *PostAlertRuleParams) WithTimeout(timeout time.Duration) *PostAlertRuleParams

WithTimeout adds the timeout to the post alert rule params

func (*PostAlertRuleParams) WithXDisableProvenance

func (o *PostAlertRuleParams) WithXDisableProvenance(xDisableProvenance *string) *PostAlertRuleParams

WithXDisableProvenance adds the xDisableProvenance to the post alert rule params

func (*PostAlertRuleParams) WriteToRequest

func (o *PostAlertRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostAlertRuleReader

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

PostAlertRuleReader is a Reader for the PostAlertRule structure.

func (*PostAlertRuleReader) ReadResponse

func (o *PostAlertRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostContactpointsAccepted

type PostContactpointsAccepted struct {
	Payload *models.EmbeddedContactPoint
}

PostContactpointsAccepted describes a response with status code 202, with default header values.

EmbeddedContactPoint

func NewPostContactpointsAccepted

func NewPostContactpointsAccepted() *PostContactpointsAccepted

NewPostContactpointsAccepted creates a PostContactpointsAccepted with default headers values

func (*PostContactpointsAccepted) Code

func (o *PostContactpointsAccepted) Code() int

Code gets the status code for the post contactpoints accepted response

func (*PostContactpointsAccepted) Error

func (o *PostContactpointsAccepted) Error() string

func (*PostContactpointsAccepted) GetPayload

func (*PostContactpointsAccepted) IsClientError

func (o *PostContactpointsAccepted) IsClientError() bool

IsClientError returns true when this post contactpoints accepted response has a 4xx status code

func (*PostContactpointsAccepted) IsCode

func (o *PostContactpointsAccepted) IsCode(code int) bool

IsCode returns true when this post contactpoints accepted response a status code equal to that given

func (*PostContactpointsAccepted) IsRedirect

func (o *PostContactpointsAccepted) IsRedirect() bool

IsRedirect returns true when this post contactpoints accepted response has a 3xx status code

func (*PostContactpointsAccepted) IsServerError

func (o *PostContactpointsAccepted) IsServerError() bool

IsServerError returns true when this post contactpoints accepted response has a 5xx status code

func (*PostContactpointsAccepted) IsSuccess

func (o *PostContactpointsAccepted) IsSuccess() bool

IsSuccess returns true when this post contactpoints accepted response has a 2xx status code

func (*PostContactpointsAccepted) String

func (o *PostContactpointsAccepted) String() string

type PostContactpointsBadRequest

type PostContactpointsBadRequest struct {
	Payload *models.ValidationError
}

PostContactpointsBadRequest describes a response with status code 400, with default header values.

ValidationError

func NewPostContactpointsBadRequest

func NewPostContactpointsBadRequest() *PostContactpointsBadRequest

NewPostContactpointsBadRequest creates a PostContactpointsBadRequest with default headers values

func (*PostContactpointsBadRequest) Code

func (o *PostContactpointsBadRequest) Code() int

Code gets the status code for the post contactpoints bad request response

func (*PostContactpointsBadRequest) Error

func (*PostContactpointsBadRequest) GetPayload

func (*PostContactpointsBadRequest) IsClientError

func (o *PostContactpointsBadRequest) IsClientError() bool

IsClientError returns true when this post contactpoints bad request response has a 4xx status code

func (*PostContactpointsBadRequest) IsCode

func (o *PostContactpointsBadRequest) IsCode(code int) bool

IsCode returns true when this post contactpoints bad request response a status code equal to that given

func (*PostContactpointsBadRequest) IsRedirect

func (o *PostContactpointsBadRequest) IsRedirect() bool

IsRedirect returns true when this post contactpoints bad request response has a 3xx status code

func (*PostContactpointsBadRequest) IsServerError

func (o *PostContactpointsBadRequest) IsServerError() bool

IsServerError returns true when this post contactpoints bad request response has a 5xx status code

func (*PostContactpointsBadRequest) IsSuccess

func (o *PostContactpointsBadRequest) IsSuccess() bool

IsSuccess returns true when this post contactpoints bad request response has a 2xx status code

func (*PostContactpointsBadRequest) String

func (o *PostContactpointsBadRequest) String() string

type PostContactpointsParams

type PostContactpointsParams struct {

	// Body.
	Body *models.EmbeddedContactPoint

	// XDisableProvenance.
	XDisableProvenance *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostContactpointsParams contains all the parameters to send to the API endpoint

for the post contactpoints operation.

Typically these are written to a http.Request.

func NewPostContactpointsParams

func NewPostContactpointsParams() *PostContactpointsParams

NewPostContactpointsParams creates a new PostContactpointsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostContactpointsParamsWithContext

func NewPostContactpointsParamsWithContext(ctx context.Context) *PostContactpointsParams

NewPostContactpointsParamsWithContext creates a new PostContactpointsParams object with the ability to set a context for a request.

func NewPostContactpointsParamsWithHTTPClient

func NewPostContactpointsParamsWithHTTPClient(client *http.Client) *PostContactpointsParams

NewPostContactpointsParamsWithHTTPClient creates a new PostContactpointsParams object with the ability to set a custom HTTPClient for a request.

func NewPostContactpointsParamsWithTimeout

func NewPostContactpointsParamsWithTimeout(timeout time.Duration) *PostContactpointsParams

NewPostContactpointsParamsWithTimeout creates a new PostContactpointsParams object with the ability to set a timeout on a request.

func (*PostContactpointsParams) SetBody

SetBody adds the body to the post contactpoints params

func (*PostContactpointsParams) SetContext

func (o *PostContactpointsParams) SetContext(ctx context.Context)

SetContext adds the context to the post contactpoints params

func (*PostContactpointsParams) SetDefaults

func (o *PostContactpointsParams) SetDefaults()

SetDefaults hydrates default values in the post contactpoints params (not the query body).

All values with no default are reset to their zero value.

func (*PostContactpointsParams) SetHTTPClient

func (o *PostContactpointsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post contactpoints params

func (*PostContactpointsParams) SetTimeout

func (o *PostContactpointsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the post contactpoints params

func (*PostContactpointsParams) SetXDisableProvenance

func (o *PostContactpointsParams) SetXDisableProvenance(xDisableProvenance *string)

SetXDisableProvenance adds the xDisableProvenance to the post contactpoints params

func (*PostContactpointsParams) WithBody

WithBody adds the body to the post contactpoints params

func (*PostContactpointsParams) WithContext

WithContext adds the context to the post contactpoints params

func (*PostContactpointsParams) WithDefaults

WithDefaults hydrates default values in the post contactpoints params (not the query body).

All values with no default are reset to their zero value.

func (*PostContactpointsParams) WithHTTPClient

func (o *PostContactpointsParams) WithHTTPClient(client *http.Client) *PostContactpointsParams

WithHTTPClient adds the HTTPClient to the post contactpoints params

func (*PostContactpointsParams) WithTimeout

WithTimeout adds the timeout to the post contactpoints params

func (*PostContactpointsParams) WithXDisableProvenance

func (o *PostContactpointsParams) WithXDisableProvenance(xDisableProvenance *string) *PostContactpointsParams

WithXDisableProvenance adds the xDisableProvenance to the post contactpoints params

func (*PostContactpointsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostContactpointsReader

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

PostContactpointsReader is a Reader for the PostContactpoints structure.

func (*PostContactpointsReader) ReadResponse

func (o *PostContactpointsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostMuteTimingBadRequest

type PostMuteTimingBadRequest struct {
	Payload *models.ValidationError
}

PostMuteTimingBadRequest describes a response with status code 400, with default header values.

ValidationError

func NewPostMuteTimingBadRequest

func NewPostMuteTimingBadRequest() *PostMuteTimingBadRequest

NewPostMuteTimingBadRequest creates a PostMuteTimingBadRequest with default headers values

func (*PostMuteTimingBadRequest) Code

func (o *PostMuteTimingBadRequest) Code() int

Code gets the status code for the post mute timing bad request response

func (*PostMuteTimingBadRequest) Error

func (o *PostMuteTimingBadRequest) Error() string

func (*PostMuteTimingBadRequest) GetPayload

func (*PostMuteTimingBadRequest) IsClientError

func (o *PostMuteTimingBadRequest) IsClientError() bool

IsClientError returns true when this post mute timing bad request response has a 4xx status code

func (*PostMuteTimingBadRequest) IsCode

func (o *PostMuteTimingBadRequest) IsCode(code int) bool

IsCode returns true when this post mute timing bad request response a status code equal to that given

func (*PostMuteTimingBadRequest) IsRedirect

func (o *PostMuteTimingBadRequest) IsRedirect() bool

IsRedirect returns true when this post mute timing bad request response has a 3xx status code

func (*PostMuteTimingBadRequest) IsServerError

func (o *PostMuteTimingBadRequest) IsServerError() bool

IsServerError returns true when this post mute timing bad request response has a 5xx status code

func (*PostMuteTimingBadRequest) IsSuccess

func (o *PostMuteTimingBadRequest) IsSuccess() bool

IsSuccess returns true when this post mute timing bad request response has a 2xx status code

func (*PostMuteTimingBadRequest) String

func (o *PostMuteTimingBadRequest) String() string

type PostMuteTimingCreated

type PostMuteTimingCreated struct {
	Payload *models.MuteTimeInterval
}

PostMuteTimingCreated describes a response with status code 201, with default header values.

MuteTimeInterval

func NewPostMuteTimingCreated

func NewPostMuteTimingCreated() *PostMuteTimingCreated

NewPostMuteTimingCreated creates a PostMuteTimingCreated with default headers values

func (*PostMuteTimingCreated) Code

func (o *PostMuteTimingCreated) Code() int

Code gets the status code for the post mute timing created response

func (*PostMuteTimingCreated) Error

func (o *PostMuteTimingCreated) Error() string

func (*PostMuteTimingCreated) GetPayload

func (*PostMuteTimingCreated) IsClientError

func (o *PostMuteTimingCreated) IsClientError() bool

IsClientError returns true when this post mute timing created response has a 4xx status code

func (*PostMuteTimingCreated) IsCode

func (o *PostMuteTimingCreated) IsCode(code int) bool

IsCode returns true when this post mute timing created response a status code equal to that given

func (*PostMuteTimingCreated) IsRedirect

func (o *PostMuteTimingCreated) IsRedirect() bool

IsRedirect returns true when this post mute timing created response has a 3xx status code

func (*PostMuteTimingCreated) IsServerError

func (o *PostMuteTimingCreated) IsServerError() bool

IsServerError returns true when this post mute timing created response has a 5xx status code

func (*PostMuteTimingCreated) IsSuccess

func (o *PostMuteTimingCreated) IsSuccess() bool

IsSuccess returns true when this post mute timing created response has a 2xx status code

func (*PostMuteTimingCreated) String

func (o *PostMuteTimingCreated) String() string

type PostMuteTimingParams

type PostMuteTimingParams struct {

	// Body.
	Body *models.MuteTimeInterval

	// XDisableProvenance.
	XDisableProvenance *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostMuteTimingParams contains all the parameters to send to the API endpoint

for the post mute timing operation.

Typically these are written to a http.Request.

func NewPostMuteTimingParams

func NewPostMuteTimingParams() *PostMuteTimingParams

NewPostMuteTimingParams creates a new PostMuteTimingParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostMuteTimingParamsWithContext

func NewPostMuteTimingParamsWithContext(ctx context.Context) *PostMuteTimingParams

NewPostMuteTimingParamsWithContext creates a new PostMuteTimingParams object with the ability to set a context for a request.

func NewPostMuteTimingParamsWithHTTPClient

func NewPostMuteTimingParamsWithHTTPClient(client *http.Client) *PostMuteTimingParams

NewPostMuteTimingParamsWithHTTPClient creates a new PostMuteTimingParams object with the ability to set a custom HTTPClient for a request.

func NewPostMuteTimingParamsWithTimeout

func NewPostMuteTimingParamsWithTimeout(timeout time.Duration) *PostMuteTimingParams

NewPostMuteTimingParamsWithTimeout creates a new PostMuteTimingParams object with the ability to set a timeout on a request.

func (*PostMuteTimingParams) SetBody

func (o *PostMuteTimingParams) SetBody(body *models.MuteTimeInterval)

SetBody adds the body to the post mute timing params

func (*PostMuteTimingParams) SetContext

func (o *PostMuteTimingParams) SetContext(ctx context.Context)

SetContext adds the context to the post mute timing params

func (*PostMuteTimingParams) SetDefaults

func (o *PostMuteTimingParams) SetDefaults()

SetDefaults hydrates default values in the post mute timing params (not the query body).

All values with no default are reset to their zero value.

func (*PostMuteTimingParams) SetHTTPClient

func (o *PostMuteTimingParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post mute timing params

func (*PostMuteTimingParams) SetTimeout

func (o *PostMuteTimingParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the post mute timing params

func (*PostMuteTimingParams) SetXDisableProvenance

func (o *PostMuteTimingParams) SetXDisableProvenance(xDisableProvenance *string)

SetXDisableProvenance adds the xDisableProvenance to the post mute timing params

func (*PostMuteTimingParams) WithBody

WithBody adds the body to the post mute timing params

func (*PostMuteTimingParams) WithContext

WithContext adds the context to the post mute timing params

func (*PostMuteTimingParams) WithDefaults

func (o *PostMuteTimingParams) WithDefaults() *PostMuteTimingParams

WithDefaults hydrates default values in the post mute timing params (not the query body).

All values with no default are reset to their zero value.

func (*PostMuteTimingParams) WithHTTPClient

func (o *PostMuteTimingParams) WithHTTPClient(client *http.Client) *PostMuteTimingParams

WithHTTPClient adds the HTTPClient to the post mute timing params

func (*PostMuteTimingParams) WithTimeout

func (o *PostMuteTimingParams) WithTimeout(timeout time.Duration) *PostMuteTimingParams

WithTimeout adds the timeout to the post mute timing params

func (*PostMuteTimingParams) WithXDisableProvenance

func (o *PostMuteTimingParams) WithXDisableProvenance(xDisableProvenance *string) *PostMuteTimingParams

WithXDisableProvenance adds the xDisableProvenance to the post mute timing params

func (*PostMuteTimingParams) WriteToRequest

func (o *PostMuteTimingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostMuteTimingReader

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

PostMuteTimingReader is a Reader for the PostMuteTiming structure.

func (*PostMuteTimingReader) ReadResponse

func (o *PostMuteTimingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutAlertRuleBadRequest

type PutAlertRuleBadRequest struct {
	Payload *models.ValidationError
}

PutAlertRuleBadRequest describes a response with status code 400, with default header values.

ValidationError

func NewPutAlertRuleBadRequest

func NewPutAlertRuleBadRequest() *PutAlertRuleBadRequest

NewPutAlertRuleBadRequest creates a PutAlertRuleBadRequest with default headers values

func (*PutAlertRuleBadRequest) Code

func (o *PutAlertRuleBadRequest) Code() int

Code gets the status code for the put alert rule bad request response

func (*PutAlertRuleBadRequest) Error

func (o *PutAlertRuleBadRequest) Error() string

func (*PutAlertRuleBadRequest) GetPayload

func (*PutAlertRuleBadRequest) IsClientError

func (o *PutAlertRuleBadRequest) IsClientError() bool

IsClientError returns true when this put alert rule bad request response has a 4xx status code

func (*PutAlertRuleBadRequest) IsCode

func (o *PutAlertRuleBadRequest) IsCode(code int) bool

IsCode returns true when this put alert rule bad request response a status code equal to that given

func (*PutAlertRuleBadRequest) IsRedirect

func (o *PutAlertRuleBadRequest) IsRedirect() bool

IsRedirect returns true when this put alert rule bad request response has a 3xx status code

func (*PutAlertRuleBadRequest) IsServerError

func (o *PutAlertRuleBadRequest) IsServerError() bool

IsServerError returns true when this put alert rule bad request response has a 5xx status code

func (*PutAlertRuleBadRequest) IsSuccess

func (o *PutAlertRuleBadRequest) IsSuccess() bool

IsSuccess returns true when this put alert rule bad request response has a 2xx status code

func (*PutAlertRuleBadRequest) String

func (o *PutAlertRuleBadRequest) String() string

type PutAlertRuleGroupBadRequest

type PutAlertRuleGroupBadRequest struct {
	Payload *models.ValidationError
}

PutAlertRuleGroupBadRequest describes a response with status code 400, with default header values.

ValidationError

func NewPutAlertRuleGroupBadRequest

func NewPutAlertRuleGroupBadRequest() *PutAlertRuleGroupBadRequest

NewPutAlertRuleGroupBadRequest creates a PutAlertRuleGroupBadRequest with default headers values

func (*PutAlertRuleGroupBadRequest) Code

func (o *PutAlertRuleGroupBadRequest) Code() int

Code gets the status code for the put alert rule group bad request response

func (*PutAlertRuleGroupBadRequest) Error

func (*PutAlertRuleGroupBadRequest) GetPayload

func (*PutAlertRuleGroupBadRequest) IsClientError

func (o *PutAlertRuleGroupBadRequest) IsClientError() bool

IsClientError returns true when this put alert rule group bad request response has a 4xx status code

func (*PutAlertRuleGroupBadRequest) IsCode

func (o *PutAlertRuleGroupBadRequest) IsCode(code int) bool

IsCode returns true when this put alert rule group bad request response a status code equal to that given

func (*PutAlertRuleGroupBadRequest) IsRedirect

func (o *PutAlertRuleGroupBadRequest) IsRedirect() bool

IsRedirect returns true when this put alert rule group bad request response has a 3xx status code

func (*PutAlertRuleGroupBadRequest) IsServerError

func (o *PutAlertRuleGroupBadRequest) IsServerError() bool

IsServerError returns true when this put alert rule group bad request response has a 5xx status code

func (*PutAlertRuleGroupBadRequest) IsSuccess

func (o *PutAlertRuleGroupBadRequest) IsSuccess() bool

IsSuccess returns true when this put alert rule group bad request response has a 2xx status code

func (*PutAlertRuleGroupBadRequest) String

func (o *PutAlertRuleGroupBadRequest) String() string

type PutAlertRuleGroupOK

type PutAlertRuleGroupOK struct {
	Payload *models.AlertRuleGroup
}

PutAlertRuleGroupOK describes a response with status code 200, with default header values.

AlertRuleGroup

func NewPutAlertRuleGroupOK

func NewPutAlertRuleGroupOK() *PutAlertRuleGroupOK

NewPutAlertRuleGroupOK creates a PutAlertRuleGroupOK with default headers values

func (*PutAlertRuleGroupOK) Code

func (o *PutAlertRuleGroupOK) Code() int

Code gets the status code for the put alert rule group Ok response

func (*PutAlertRuleGroupOK) Error

func (o *PutAlertRuleGroupOK) Error() string

func (*PutAlertRuleGroupOK) GetPayload

func (o *PutAlertRuleGroupOK) GetPayload() *models.AlertRuleGroup

func (*PutAlertRuleGroupOK) IsClientError

func (o *PutAlertRuleGroupOK) IsClientError() bool

IsClientError returns true when this put alert rule group Ok response has a 4xx status code

func (*PutAlertRuleGroupOK) IsCode

func (o *PutAlertRuleGroupOK) IsCode(code int) bool

IsCode returns true when this put alert rule group Ok response a status code equal to that given

func (*PutAlertRuleGroupOK) IsRedirect

func (o *PutAlertRuleGroupOK) IsRedirect() bool

IsRedirect returns true when this put alert rule group Ok response has a 3xx status code

func (*PutAlertRuleGroupOK) IsServerError

func (o *PutAlertRuleGroupOK) IsServerError() bool

IsServerError returns true when this put alert rule group Ok response has a 5xx status code

func (*PutAlertRuleGroupOK) IsSuccess

func (o *PutAlertRuleGroupOK) IsSuccess() bool

IsSuccess returns true when this put alert rule group Ok response has a 2xx status code

func (*PutAlertRuleGroupOK) String

func (o *PutAlertRuleGroupOK) String() string

type PutAlertRuleGroupParams

type PutAlertRuleGroupParams struct {

	// Body.
	Body *models.AlertRuleGroup

	// FolderUID.
	FolderUID string

	// Group.
	Group string

	// XDisableProvenance.
	XDisableProvenance *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutAlertRuleGroupParams contains all the parameters to send to the API endpoint

for the put alert rule group operation.

Typically these are written to a http.Request.

func NewPutAlertRuleGroupParams

func NewPutAlertRuleGroupParams() *PutAlertRuleGroupParams

NewPutAlertRuleGroupParams creates a new PutAlertRuleGroupParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutAlertRuleGroupParamsWithContext

func NewPutAlertRuleGroupParamsWithContext(ctx context.Context) *PutAlertRuleGroupParams

NewPutAlertRuleGroupParamsWithContext creates a new PutAlertRuleGroupParams object with the ability to set a context for a request.

func NewPutAlertRuleGroupParamsWithHTTPClient

func NewPutAlertRuleGroupParamsWithHTTPClient(client *http.Client) *PutAlertRuleGroupParams

NewPutAlertRuleGroupParamsWithHTTPClient creates a new PutAlertRuleGroupParams object with the ability to set a custom HTTPClient for a request.

func NewPutAlertRuleGroupParamsWithTimeout

func NewPutAlertRuleGroupParamsWithTimeout(timeout time.Duration) *PutAlertRuleGroupParams

NewPutAlertRuleGroupParamsWithTimeout creates a new PutAlertRuleGroupParams object with the ability to set a timeout on a request.

func (*PutAlertRuleGroupParams) SetBody

func (o *PutAlertRuleGroupParams) SetBody(body *models.AlertRuleGroup)

SetBody adds the body to the put alert rule group params

func (*PutAlertRuleGroupParams) SetContext

func (o *PutAlertRuleGroupParams) SetContext(ctx context.Context)

SetContext adds the context to the put alert rule group params

func (*PutAlertRuleGroupParams) SetDefaults

func (o *PutAlertRuleGroupParams) SetDefaults()

SetDefaults hydrates default values in the put alert rule group params (not the query body).

All values with no default are reset to their zero value.

func (*PutAlertRuleGroupParams) SetFolderUID

func (o *PutAlertRuleGroupParams) SetFolderUID(folderUID string)

SetFolderUID adds the folderUid to the put alert rule group params

func (*PutAlertRuleGroupParams) SetGroup

func (o *PutAlertRuleGroupParams) SetGroup(group string)

SetGroup adds the group to the put alert rule group params

func (*PutAlertRuleGroupParams) SetHTTPClient

func (o *PutAlertRuleGroupParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put alert rule group params

func (*PutAlertRuleGroupParams) SetTimeout

func (o *PutAlertRuleGroupParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put alert rule group params

func (*PutAlertRuleGroupParams) SetXDisableProvenance

func (o *PutAlertRuleGroupParams) SetXDisableProvenance(xDisableProvenance *string)

SetXDisableProvenance adds the xDisableProvenance to the put alert rule group params

func (*PutAlertRuleGroupParams) WithBody

WithBody adds the body to the put alert rule group params

func (*PutAlertRuleGroupParams) WithContext

WithContext adds the context to the put alert rule group params

func (*PutAlertRuleGroupParams) WithDefaults

WithDefaults hydrates default values in the put alert rule group params (not the query body).

All values with no default are reset to their zero value.

func (*PutAlertRuleGroupParams) WithFolderUID

func (o *PutAlertRuleGroupParams) WithFolderUID(folderUID string) *PutAlertRuleGroupParams

WithFolderUID adds the folderUID to the put alert rule group params

func (*PutAlertRuleGroupParams) WithGroup

WithGroup adds the group to the put alert rule group params

func (*PutAlertRuleGroupParams) WithHTTPClient

func (o *PutAlertRuleGroupParams) WithHTTPClient(client *http.Client) *PutAlertRuleGroupParams

WithHTTPClient adds the HTTPClient to the put alert rule group params

func (*PutAlertRuleGroupParams) WithTimeout

WithTimeout adds the timeout to the put alert rule group params

func (*PutAlertRuleGroupParams) WithXDisableProvenance

func (o *PutAlertRuleGroupParams) WithXDisableProvenance(xDisableProvenance *string) *PutAlertRuleGroupParams

WithXDisableProvenance adds the xDisableProvenance to the put alert rule group params

func (*PutAlertRuleGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutAlertRuleGroupReader

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

PutAlertRuleGroupReader is a Reader for the PutAlertRuleGroup structure.

func (*PutAlertRuleGroupReader) ReadResponse

func (o *PutAlertRuleGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutAlertRuleOK

type PutAlertRuleOK struct {
	Payload *models.ProvisionedAlertRule
}

PutAlertRuleOK describes a response with status code 200, with default header values.

ProvisionedAlertRule

func NewPutAlertRuleOK

func NewPutAlertRuleOK() *PutAlertRuleOK

NewPutAlertRuleOK creates a PutAlertRuleOK with default headers values

func (*PutAlertRuleOK) Code

func (o *PutAlertRuleOK) Code() int

Code gets the status code for the put alert rule Ok response

func (*PutAlertRuleOK) Error

func (o *PutAlertRuleOK) Error() string

func (*PutAlertRuleOK) GetPayload

func (o *PutAlertRuleOK) GetPayload() *models.ProvisionedAlertRule

func (*PutAlertRuleOK) IsClientError

func (o *PutAlertRuleOK) IsClientError() bool

IsClientError returns true when this put alert rule Ok response has a 4xx status code

func (*PutAlertRuleOK) IsCode

func (o *PutAlertRuleOK) IsCode(code int) bool

IsCode returns true when this put alert rule Ok response a status code equal to that given

func (*PutAlertRuleOK) IsRedirect

func (o *PutAlertRuleOK) IsRedirect() bool

IsRedirect returns true when this put alert rule Ok response has a 3xx status code

func (*PutAlertRuleOK) IsServerError

func (o *PutAlertRuleOK) IsServerError() bool

IsServerError returns true when this put alert rule Ok response has a 5xx status code

func (*PutAlertRuleOK) IsSuccess

func (o *PutAlertRuleOK) IsSuccess() bool

IsSuccess returns true when this put alert rule Ok response has a 2xx status code

func (*PutAlertRuleOK) String

func (o *PutAlertRuleOK) String() string

type PutAlertRuleParams

type PutAlertRuleParams struct {

	// Body.
	Body *models.ProvisionedAlertRule

	/* UID.

	   Alert rule UID
	*/
	UID string

	// XDisableProvenance.
	XDisableProvenance *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutAlertRuleParams contains all the parameters to send to the API endpoint

for the put alert rule operation.

Typically these are written to a http.Request.

func NewPutAlertRuleParams

func NewPutAlertRuleParams() *PutAlertRuleParams

NewPutAlertRuleParams creates a new PutAlertRuleParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutAlertRuleParamsWithContext

func NewPutAlertRuleParamsWithContext(ctx context.Context) *PutAlertRuleParams

NewPutAlertRuleParamsWithContext creates a new PutAlertRuleParams object with the ability to set a context for a request.

func NewPutAlertRuleParamsWithHTTPClient

func NewPutAlertRuleParamsWithHTTPClient(client *http.Client) *PutAlertRuleParams

NewPutAlertRuleParamsWithHTTPClient creates a new PutAlertRuleParams object with the ability to set a custom HTTPClient for a request.

func NewPutAlertRuleParamsWithTimeout

func NewPutAlertRuleParamsWithTimeout(timeout time.Duration) *PutAlertRuleParams

NewPutAlertRuleParamsWithTimeout creates a new PutAlertRuleParams object with the ability to set a timeout on a request.

func (*PutAlertRuleParams) SetBody

SetBody adds the body to the put alert rule params

func (*PutAlertRuleParams) SetContext

func (o *PutAlertRuleParams) SetContext(ctx context.Context)

SetContext adds the context to the put alert rule params

func (*PutAlertRuleParams) SetDefaults

func (o *PutAlertRuleParams) SetDefaults()

SetDefaults hydrates default values in the put alert rule params (not the query body).

All values with no default are reset to their zero value.

func (*PutAlertRuleParams) SetHTTPClient

func (o *PutAlertRuleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put alert rule params

func (*PutAlertRuleParams) SetTimeout

func (o *PutAlertRuleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put alert rule params

func (*PutAlertRuleParams) SetUID

func (o *PutAlertRuleParams) SetUID(uid string)

SetUID adds the uid to the put alert rule params

func (*PutAlertRuleParams) SetXDisableProvenance

func (o *PutAlertRuleParams) SetXDisableProvenance(xDisableProvenance *string)

SetXDisableProvenance adds the xDisableProvenance to the put alert rule params

func (*PutAlertRuleParams) WithBody

WithBody adds the body to the put alert rule params

func (*PutAlertRuleParams) WithContext

WithContext adds the context to the put alert rule params

func (*PutAlertRuleParams) WithDefaults

func (o *PutAlertRuleParams) WithDefaults() *PutAlertRuleParams

WithDefaults hydrates default values in the put alert rule params (not the query body).

All values with no default are reset to their zero value.

func (*PutAlertRuleParams) WithHTTPClient

func (o *PutAlertRuleParams) WithHTTPClient(client *http.Client) *PutAlertRuleParams

WithHTTPClient adds the HTTPClient to the put alert rule params

func (*PutAlertRuleParams) WithTimeout

func (o *PutAlertRuleParams) WithTimeout(timeout time.Duration) *PutAlertRuleParams

WithTimeout adds the timeout to the put alert rule params

func (*PutAlertRuleParams) WithUID

func (o *PutAlertRuleParams) WithUID(uid string) *PutAlertRuleParams

WithUID adds the uid to the put alert rule params

func (*PutAlertRuleParams) WithXDisableProvenance

func (o *PutAlertRuleParams) WithXDisableProvenance(xDisableProvenance *string) *PutAlertRuleParams

WithXDisableProvenance adds the xDisableProvenance to the put alert rule params

func (*PutAlertRuleParams) WriteToRequest

func (o *PutAlertRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PutAlertRuleReader

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

PutAlertRuleReader is a Reader for the PutAlertRule structure.

func (*PutAlertRuleReader) ReadResponse

func (o *PutAlertRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutContactpointAccepted

type PutContactpointAccepted struct {
	Payload models.Ack
}

PutContactpointAccepted describes a response with status code 202, with default header values.

Ack

func NewPutContactpointAccepted

func NewPutContactpointAccepted() *PutContactpointAccepted

NewPutContactpointAccepted creates a PutContactpointAccepted with default headers values

func (*PutContactpointAccepted) Code

func (o *PutContactpointAccepted) Code() int

Code gets the status code for the put contactpoint accepted response

func (*PutContactpointAccepted) Error

func (o *PutContactpointAccepted) Error() string

func (*PutContactpointAccepted) GetPayload

func (o *PutContactpointAccepted) GetPayload() models.Ack

func (*PutContactpointAccepted) IsClientError

func (o *PutContactpointAccepted) IsClientError() bool

IsClientError returns true when this put contactpoint accepted response has a 4xx status code

func (*PutContactpointAccepted) IsCode

func (o *PutContactpointAccepted) IsCode(code int) bool

IsCode returns true when this put contactpoint accepted response a status code equal to that given

func (*PutContactpointAccepted) IsRedirect

func (o *PutContactpointAccepted) IsRedirect() bool

IsRedirect returns true when this put contactpoint accepted response has a 3xx status code

func (*PutContactpointAccepted) IsServerError

func (o *PutContactpointAccepted) IsServerError() bool

IsServerError returns true when this put contactpoint accepted response has a 5xx status code

func (*PutContactpointAccepted) IsSuccess

func (o *PutContactpointAccepted) IsSuccess() bool

IsSuccess returns true when this put contactpoint accepted response has a 2xx status code

func (*PutContactpointAccepted) String

func (o *PutContactpointAccepted) String() string

type PutContactpointBadRequest

type PutContactpointBadRequest struct {
	Payload *models.ValidationError
}

PutContactpointBadRequest describes a response with status code 400, with default header values.

ValidationError

func NewPutContactpointBadRequest

func NewPutContactpointBadRequest() *PutContactpointBadRequest

NewPutContactpointBadRequest creates a PutContactpointBadRequest with default headers values

func (*PutContactpointBadRequest) Code

func (o *PutContactpointBadRequest) Code() int

Code gets the status code for the put contactpoint bad request response

func (*PutContactpointBadRequest) Error

func (o *PutContactpointBadRequest) Error() string

func (*PutContactpointBadRequest) GetPayload

func (*PutContactpointBadRequest) IsClientError

func (o *PutContactpointBadRequest) IsClientError() bool

IsClientError returns true when this put contactpoint bad request response has a 4xx status code

func (*PutContactpointBadRequest) IsCode

func (o *PutContactpointBadRequest) IsCode(code int) bool

IsCode returns true when this put contactpoint bad request response a status code equal to that given

func (*PutContactpointBadRequest) IsRedirect

func (o *PutContactpointBadRequest) IsRedirect() bool

IsRedirect returns true when this put contactpoint bad request response has a 3xx status code

func (*PutContactpointBadRequest) IsServerError

func (o *PutContactpointBadRequest) IsServerError() bool

IsServerError returns true when this put contactpoint bad request response has a 5xx status code

func (*PutContactpointBadRequest) IsSuccess

func (o *PutContactpointBadRequest) IsSuccess() bool

IsSuccess returns true when this put contactpoint bad request response has a 2xx status code

func (*PutContactpointBadRequest) String

func (o *PutContactpointBadRequest) String() string

type PutContactpointParams

type PutContactpointParams struct {

	// Body.
	Body *models.EmbeddedContactPoint

	/* UID.

	   UID is the contact point unique identifier
	*/
	UID string

	// XDisableProvenance.
	XDisableProvenance *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutContactpointParams contains all the parameters to send to the API endpoint

for the put contactpoint operation.

Typically these are written to a http.Request.

func NewPutContactpointParams

func NewPutContactpointParams() *PutContactpointParams

NewPutContactpointParams creates a new PutContactpointParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutContactpointParamsWithContext

func NewPutContactpointParamsWithContext(ctx context.Context) *PutContactpointParams

NewPutContactpointParamsWithContext creates a new PutContactpointParams object with the ability to set a context for a request.

func NewPutContactpointParamsWithHTTPClient

func NewPutContactpointParamsWithHTTPClient(client *http.Client) *PutContactpointParams

NewPutContactpointParamsWithHTTPClient creates a new PutContactpointParams object with the ability to set a custom HTTPClient for a request.

func NewPutContactpointParamsWithTimeout

func NewPutContactpointParamsWithTimeout(timeout time.Duration) *PutContactpointParams

NewPutContactpointParamsWithTimeout creates a new PutContactpointParams object with the ability to set a timeout on a request.

func (*PutContactpointParams) SetBody

SetBody adds the body to the put contactpoint params

func (*PutContactpointParams) SetContext

func (o *PutContactpointParams) SetContext(ctx context.Context)

SetContext adds the context to the put contactpoint params

func (*PutContactpointParams) SetDefaults

func (o *PutContactpointParams) SetDefaults()

SetDefaults hydrates default values in the put contactpoint params (not the query body).

All values with no default are reset to their zero value.

func (*PutContactpointParams) SetHTTPClient

func (o *PutContactpointParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put contactpoint params

func (*PutContactpointParams) SetTimeout

func (o *PutContactpointParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put contactpoint params

func (*PutContactpointParams) SetUID

func (o *PutContactpointParams) SetUID(uid string)

SetUID adds the uid to the put contactpoint params

func (*PutContactpointParams) SetXDisableProvenance

func (o *PutContactpointParams) SetXDisableProvenance(xDisableProvenance *string)

SetXDisableProvenance adds the xDisableProvenance to the put contactpoint params

func (*PutContactpointParams) WithBody

WithBody adds the body to the put contactpoint params

func (*PutContactpointParams) WithContext

WithContext adds the context to the put contactpoint params

func (*PutContactpointParams) WithDefaults

func (o *PutContactpointParams) WithDefaults() *PutContactpointParams

WithDefaults hydrates default values in the put contactpoint params (not the query body).

All values with no default are reset to their zero value.

func (*PutContactpointParams) WithHTTPClient

func (o *PutContactpointParams) WithHTTPClient(client *http.Client) *PutContactpointParams

WithHTTPClient adds the HTTPClient to the put contactpoint params

func (*PutContactpointParams) WithTimeout

func (o *PutContactpointParams) WithTimeout(timeout time.Duration) *PutContactpointParams

WithTimeout adds the timeout to the put contactpoint params

func (*PutContactpointParams) WithUID

WithUID adds the uid to the put contactpoint params

func (*PutContactpointParams) WithXDisableProvenance

func (o *PutContactpointParams) WithXDisableProvenance(xDisableProvenance *string) *PutContactpointParams

WithXDisableProvenance adds the xDisableProvenance to the put contactpoint params

func (*PutContactpointParams) WriteToRequest

func (o *PutContactpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PutContactpointReader

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

PutContactpointReader is a Reader for the PutContactpoint structure.

func (*PutContactpointReader) ReadResponse

func (o *PutContactpointReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutMuteTimingAccepted

type PutMuteTimingAccepted struct {
	Payload *models.MuteTimeInterval
}

PutMuteTimingAccepted describes a response with status code 202, with default header values.

MuteTimeInterval

func NewPutMuteTimingAccepted

func NewPutMuteTimingAccepted() *PutMuteTimingAccepted

NewPutMuteTimingAccepted creates a PutMuteTimingAccepted with default headers values

func (*PutMuteTimingAccepted) Code

func (o *PutMuteTimingAccepted) Code() int

Code gets the status code for the put mute timing accepted response

func (*PutMuteTimingAccepted) Error

func (o *PutMuteTimingAccepted) Error() string

func (*PutMuteTimingAccepted) GetPayload

func (*PutMuteTimingAccepted) IsClientError

func (o *PutMuteTimingAccepted) IsClientError() bool

IsClientError returns true when this put mute timing accepted response has a 4xx status code

func (*PutMuteTimingAccepted) IsCode

func (o *PutMuteTimingAccepted) IsCode(code int) bool

IsCode returns true when this put mute timing accepted response a status code equal to that given

func (*PutMuteTimingAccepted) IsRedirect

func (o *PutMuteTimingAccepted) IsRedirect() bool

IsRedirect returns true when this put mute timing accepted response has a 3xx status code

func (*PutMuteTimingAccepted) IsServerError

func (o *PutMuteTimingAccepted) IsServerError() bool

IsServerError returns true when this put mute timing accepted response has a 5xx status code

func (*PutMuteTimingAccepted) IsSuccess

func (o *PutMuteTimingAccepted) IsSuccess() bool

IsSuccess returns true when this put mute timing accepted response has a 2xx status code

func (*PutMuteTimingAccepted) String

func (o *PutMuteTimingAccepted) String() string

type PutMuteTimingBadRequest

type PutMuteTimingBadRequest struct {
	Payload *models.ValidationError
}

PutMuteTimingBadRequest describes a response with status code 400, with default header values.

ValidationError

func NewPutMuteTimingBadRequest

func NewPutMuteTimingBadRequest() *PutMuteTimingBadRequest

NewPutMuteTimingBadRequest creates a PutMuteTimingBadRequest with default headers values

func (*PutMuteTimingBadRequest) Code

func (o *PutMuteTimingBadRequest) Code() int

Code gets the status code for the put mute timing bad request response

func (*PutMuteTimingBadRequest) Error

func (o *PutMuteTimingBadRequest) Error() string

func (*PutMuteTimingBadRequest) GetPayload

func (*PutMuteTimingBadRequest) IsClientError

func (o *PutMuteTimingBadRequest) IsClientError() bool

IsClientError returns true when this put mute timing bad request response has a 4xx status code

func (*PutMuteTimingBadRequest) IsCode

func (o *PutMuteTimingBadRequest) IsCode(code int) bool

IsCode returns true when this put mute timing bad request response a status code equal to that given

func (*PutMuteTimingBadRequest) IsRedirect

func (o *PutMuteTimingBadRequest) IsRedirect() bool

IsRedirect returns true when this put mute timing bad request response has a 3xx status code

func (*PutMuteTimingBadRequest) IsServerError

func (o *PutMuteTimingBadRequest) IsServerError() bool

IsServerError returns true when this put mute timing bad request response has a 5xx status code

func (*PutMuteTimingBadRequest) IsSuccess

func (o *PutMuteTimingBadRequest) IsSuccess() bool

IsSuccess returns true when this put mute timing bad request response has a 2xx status code

func (*PutMuteTimingBadRequest) String

func (o *PutMuteTimingBadRequest) String() string

type PutMuteTimingConflict

type PutMuteTimingConflict struct {
	Payload *models.PublicError
}

PutMuteTimingConflict describes a response with status code 409, with default header values.

PublicError

func NewPutMuteTimingConflict

func NewPutMuteTimingConflict() *PutMuteTimingConflict

NewPutMuteTimingConflict creates a PutMuteTimingConflict with default headers values

func (*PutMuteTimingConflict) Code

func (o *PutMuteTimingConflict) Code() int

Code gets the status code for the put mute timing conflict response

func (*PutMuteTimingConflict) Error

func (o *PutMuteTimingConflict) Error() string

func (*PutMuteTimingConflict) GetPayload

func (o *PutMuteTimingConflict) GetPayload() *models.PublicError

func (*PutMuteTimingConflict) IsClientError

func (o *PutMuteTimingConflict) IsClientError() bool

IsClientError returns true when this put mute timing conflict response has a 4xx status code

func (*PutMuteTimingConflict) IsCode

func (o *PutMuteTimingConflict) IsCode(code int) bool

IsCode returns true when this put mute timing conflict response a status code equal to that given

func (*PutMuteTimingConflict) IsRedirect

func (o *PutMuteTimingConflict) IsRedirect() bool

IsRedirect returns true when this put mute timing conflict response has a 3xx status code

func (*PutMuteTimingConflict) IsServerError

func (o *PutMuteTimingConflict) IsServerError() bool

IsServerError returns true when this put mute timing conflict response has a 5xx status code

func (*PutMuteTimingConflict) IsSuccess

func (o *PutMuteTimingConflict) IsSuccess() bool

IsSuccess returns true when this put mute timing conflict response has a 2xx status code

func (*PutMuteTimingConflict) String

func (o *PutMuteTimingConflict) String() string

type PutMuteTimingParams

type PutMuteTimingParams struct {

	// Body.
	Body *models.MuteTimeInterval

	// XDisableProvenance.
	XDisableProvenance *string

	/* Name.

	   Mute timing name
	*/
	Name string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutMuteTimingParams contains all the parameters to send to the API endpoint

for the put mute timing operation.

Typically these are written to a http.Request.

func NewPutMuteTimingParams

func NewPutMuteTimingParams() *PutMuteTimingParams

NewPutMuteTimingParams creates a new PutMuteTimingParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutMuteTimingParamsWithContext

func NewPutMuteTimingParamsWithContext(ctx context.Context) *PutMuteTimingParams

NewPutMuteTimingParamsWithContext creates a new PutMuteTimingParams object with the ability to set a context for a request.

func NewPutMuteTimingParamsWithHTTPClient

func NewPutMuteTimingParamsWithHTTPClient(client *http.Client) *PutMuteTimingParams

NewPutMuteTimingParamsWithHTTPClient creates a new PutMuteTimingParams object with the ability to set a custom HTTPClient for a request.

func NewPutMuteTimingParamsWithTimeout

func NewPutMuteTimingParamsWithTimeout(timeout time.Duration) *PutMuteTimingParams

NewPutMuteTimingParamsWithTimeout creates a new PutMuteTimingParams object with the ability to set a timeout on a request.

func (*PutMuteTimingParams) SetBody

func (o *PutMuteTimingParams) SetBody(body *models.MuteTimeInterval)

SetBody adds the body to the put mute timing params

func (*PutMuteTimingParams) SetContext

func (o *PutMuteTimingParams) SetContext(ctx context.Context)

SetContext adds the context to the put mute timing params

func (*PutMuteTimingParams) SetDefaults

func (o *PutMuteTimingParams) SetDefaults()

SetDefaults hydrates default values in the put mute timing params (not the query body).

All values with no default are reset to their zero value.

func (*PutMuteTimingParams) SetHTTPClient

func (o *PutMuteTimingParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put mute timing params

func (*PutMuteTimingParams) SetName

func (o *PutMuteTimingParams) SetName(name string)

SetName adds the name to the put mute timing params

func (*PutMuteTimingParams) SetTimeout

func (o *PutMuteTimingParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put mute timing params

func (*PutMuteTimingParams) SetXDisableProvenance

func (o *PutMuteTimingParams) SetXDisableProvenance(xDisableProvenance *string)

SetXDisableProvenance adds the xDisableProvenance to the put mute timing params

func (*PutMuteTimingParams) WithBody

WithBody adds the body to the put mute timing params

func (*PutMuteTimingParams) WithContext

WithContext adds the context to the put mute timing params

func (*PutMuteTimingParams) WithDefaults

func (o *PutMuteTimingParams) WithDefaults() *PutMuteTimingParams

WithDefaults hydrates default values in the put mute timing params (not the query body).

All values with no default are reset to their zero value.

func (*PutMuteTimingParams) WithHTTPClient

func (o *PutMuteTimingParams) WithHTTPClient(client *http.Client) *PutMuteTimingParams

WithHTTPClient adds the HTTPClient to the put mute timing params

func (*PutMuteTimingParams) WithName

func (o *PutMuteTimingParams) WithName(name string) *PutMuteTimingParams

WithName adds the name to the put mute timing params

func (*PutMuteTimingParams) WithTimeout

func (o *PutMuteTimingParams) WithTimeout(timeout time.Duration) *PutMuteTimingParams

WithTimeout adds the timeout to the put mute timing params

func (*PutMuteTimingParams) WithXDisableProvenance

func (o *PutMuteTimingParams) WithXDisableProvenance(xDisableProvenance *string) *PutMuteTimingParams

WithXDisableProvenance adds the xDisableProvenance to the put mute timing params

func (*PutMuteTimingParams) WriteToRequest

func (o *PutMuteTimingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PutMuteTimingReader

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

PutMuteTimingReader is a Reader for the PutMuteTiming structure.

func (*PutMuteTimingReader) ReadResponse

func (o *PutMuteTimingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutPolicyTreeAccepted

type PutPolicyTreeAccepted struct {
	Payload models.Ack
}

PutPolicyTreeAccepted describes a response with status code 202, with default header values.

Ack

func NewPutPolicyTreeAccepted

func NewPutPolicyTreeAccepted() *PutPolicyTreeAccepted

NewPutPolicyTreeAccepted creates a PutPolicyTreeAccepted with default headers values

func (*PutPolicyTreeAccepted) Code

func (o *PutPolicyTreeAccepted) Code() int

Code gets the status code for the put policy tree accepted response

func (*PutPolicyTreeAccepted) Error

func (o *PutPolicyTreeAccepted) Error() string

func (*PutPolicyTreeAccepted) GetPayload

func (o *PutPolicyTreeAccepted) GetPayload() models.Ack

func (*PutPolicyTreeAccepted) IsClientError

func (o *PutPolicyTreeAccepted) IsClientError() bool

IsClientError returns true when this put policy tree accepted response has a 4xx status code

func (*PutPolicyTreeAccepted) IsCode

func (o *PutPolicyTreeAccepted) IsCode(code int) bool

IsCode returns true when this put policy tree accepted response a status code equal to that given

func (*PutPolicyTreeAccepted) IsRedirect

func (o *PutPolicyTreeAccepted) IsRedirect() bool

IsRedirect returns true when this put policy tree accepted response has a 3xx status code

func (*PutPolicyTreeAccepted) IsServerError

func (o *PutPolicyTreeAccepted) IsServerError() bool

IsServerError returns true when this put policy tree accepted response has a 5xx status code

func (*PutPolicyTreeAccepted) IsSuccess

func (o *PutPolicyTreeAccepted) IsSuccess() bool

IsSuccess returns true when this put policy tree accepted response has a 2xx status code

func (*PutPolicyTreeAccepted) String

func (o *PutPolicyTreeAccepted) String() string

type PutPolicyTreeBadRequest

type PutPolicyTreeBadRequest struct {
	Payload *models.ValidationError
}

PutPolicyTreeBadRequest describes a response with status code 400, with default header values.

ValidationError

func NewPutPolicyTreeBadRequest

func NewPutPolicyTreeBadRequest() *PutPolicyTreeBadRequest

NewPutPolicyTreeBadRequest creates a PutPolicyTreeBadRequest with default headers values

func (*PutPolicyTreeBadRequest) Code

func (o *PutPolicyTreeBadRequest) Code() int

Code gets the status code for the put policy tree bad request response

func (*PutPolicyTreeBadRequest) Error

func (o *PutPolicyTreeBadRequest) Error() string

func (*PutPolicyTreeBadRequest) GetPayload

func (*PutPolicyTreeBadRequest) IsClientError

func (o *PutPolicyTreeBadRequest) IsClientError() bool

IsClientError returns true when this put policy tree bad request response has a 4xx status code

func (*PutPolicyTreeBadRequest) IsCode

func (o *PutPolicyTreeBadRequest) IsCode(code int) bool

IsCode returns true when this put policy tree bad request response a status code equal to that given

func (*PutPolicyTreeBadRequest) IsRedirect

func (o *PutPolicyTreeBadRequest) IsRedirect() bool

IsRedirect returns true when this put policy tree bad request response has a 3xx status code

func (*PutPolicyTreeBadRequest) IsServerError

func (o *PutPolicyTreeBadRequest) IsServerError() bool

IsServerError returns true when this put policy tree bad request response has a 5xx status code

func (*PutPolicyTreeBadRequest) IsSuccess

func (o *PutPolicyTreeBadRequest) IsSuccess() bool

IsSuccess returns true when this put policy tree bad request response has a 2xx status code

func (*PutPolicyTreeBadRequest) String

func (o *PutPolicyTreeBadRequest) String() string

type PutPolicyTreeParams

type PutPolicyTreeParams struct {

	/* Body.

	   The new notification routing tree to use
	*/
	Body *models.Route

	// XDisableProvenance.
	XDisableProvenance *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutPolicyTreeParams contains all the parameters to send to the API endpoint

for the put policy tree operation.

Typically these are written to a http.Request.

func NewPutPolicyTreeParams

func NewPutPolicyTreeParams() *PutPolicyTreeParams

NewPutPolicyTreeParams creates a new PutPolicyTreeParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutPolicyTreeParamsWithContext

func NewPutPolicyTreeParamsWithContext(ctx context.Context) *PutPolicyTreeParams

NewPutPolicyTreeParamsWithContext creates a new PutPolicyTreeParams object with the ability to set a context for a request.

func NewPutPolicyTreeParamsWithHTTPClient

func NewPutPolicyTreeParamsWithHTTPClient(client *http.Client) *PutPolicyTreeParams

NewPutPolicyTreeParamsWithHTTPClient creates a new PutPolicyTreeParams object with the ability to set a custom HTTPClient for a request.

func NewPutPolicyTreeParamsWithTimeout

func NewPutPolicyTreeParamsWithTimeout(timeout time.Duration) *PutPolicyTreeParams

NewPutPolicyTreeParamsWithTimeout creates a new PutPolicyTreeParams object with the ability to set a timeout on a request.

func (*PutPolicyTreeParams) SetBody

func (o *PutPolicyTreeParams) SetBody(body *models.Route)

SetBody adds the body to the put policy tree params

func (*PutPolicyTreeParams) SetContext

func (o *PutPolicyTreeParams) SetContext(ctx context.Context)

SetContext adds the context to the put policy tree params

func (*PutPolicyTreeParams) SetDefaults

func (o *PutPolicyTreeParams) SetDefaults()

SetDefaults hydrates default values in the put policy tree params (not the query body).

All values with no default are reset to their zero value.

func (*PutPolicyTreeParams) SetHTTPClient

func (o *PutPolicyTreeParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put policy tree params

func (*PutPolicyTreeParams) SetTimeout

func (o *PutPolicyTreeParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put policy tree params

func (*PutPolicyTreeParams) SetXDisableProvenance

func (o *PutPolicyTreeParams) SetXDisableProvenance(xDisableProvenance *string)

SetXDisableProvenance adds the xDisableProvenance to the put policy tree params

func (*PutPolicyTreeParams) WithBody

WithBody adds the body to the put policy tree params

func (*PutPolicyTreeParams) WithContext

WithContext adds the context to the put policy tree params

func (*PutPolicyTreeParams) WithDefaults

func (o *PutPolicyTreeParams) WithDefaults() *PutPolicyTreeParams

WithDefaults hydrates default values in the put policy tree params (not the query body).

All values with no default are reset to their zero value.

func (*PutPolicyTreeParams) WithHTTPClient

func (o *PutPolicyTreeParams) WithHTTPClient(client *http.Client) *PutPolicyTreeParams

WithHTTPClient adds the HTTPClient to the put policy tree params

func (*PutPolicyTreeParams) WithTimeout

func (o *PutPolicyTreeParams) WithTimeout(timeout time.Duration) *PutPolicyTreeParams

WithTimeout adds the timeout to the put policy tree params

func (*PutPolicyTreeParams) WithXDisableProvenance

func (o *PutPolicyTreeParams) WithXDisableProvenance(xDisableProvenance *string) *PutPolicyTreeParams

WithXDisableProvenance adds the xDisableProvenance to the put policy tree params

func (*PutPolicyTreeParams) WriteToRequest

func (o *PutPolicyTreeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PutPolicyTreeReader

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

PutPolicyTreeReader is a Reader for the PutPolicyTree structure.

func (*PutPolicyTreeReader) ReadResponse

func (o *PutPolicyTreeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutTemplateAccepted

type PutTemplateAccepted struct {
	Payload *models.NotificationTemplate
}

PutTemplateAccepted describes a response with status code 202, with default header values.

NotificationTemplate

func NewPutTemplateAccepted

func NewPutTemplateAccepted() *PutTemplateAccepted

NewPutTemplateAccepted creates a PutTemplateAccepted with default headers values

func (*PutTemplateAccepted) Code

func (o *PutTemplateAccepted) Code() int

Code gets the status code for the put template accepted response

func (*PutTemplateAccepted) Error

func (o *PutTemplateAccepted) Error() string

func (*PutTemplateAccepted) GetPayload

func (*PutTemplateAccepted) IsClientError

func (o *PutTemplateAccepted) IsClientError() bool

IsClientError returns true when this put template accepted response has a 4xx status code

func (*PutTemplateAccepted) IsCode

func (o *PutTemplateAccepted) IsCode(code int) bool

IsCode returns true when this put template accepted response a status code equal to that given

func (*PutTemplateAccepted) IsRedirect

func (o *PutTemplateAccepted) IsRedirect() bool

IsRedirect returns true when this put template accepted response has a 3xx status code

func (*PutTemplateAccepted) IsServerError

func (o *PutTemplateAccepted) IsServerError() bool

IsServerError returns true when this put template accepted response has a 5xx status code

func (*PutTemplateAccepted) IsSuccess

func (o *PutTemplateAccepted) IsSuccess() bool

IsSuccess returns true when this put template accepted response has a 2xx status code

func (*PutTemplateAccepted) String

func (o *PutTemplateAccepted) String() string

type PutTemplateBadRequest

type PutTemplateBadRequest struct {
	Payload *models.PublicError
}

PutTemplateBadRequest describes a response with status code 400, with default header values.

PublicError

func NewPutTemplateBadRequest

func NewPutTemplateBadRequest() *PutTemplateBadRequest

NewPutTemplateBadRequest creates a PutTemplateBadRequest with default headers values

func (*PutTemplateBadRequest) Code

func (o *PutTemplateBadRequest) Code() int

Code gets the status code for the put template bad request response

func (*PutTemplateBadRequest) Error

func (o *PutTemplateBadRequest) Error() string

func (*PutTemplateBadRequest) GetPayload

func (o *PutTemplateBadRequest) GetPayload() *models.PublicError

func (*PutTemplateBadRequest) IsClientError

func (o *PutTemplateBadRequest) IsClientError() bool

IsClientError returns true when this put template bad request response has a 4xx status code

func (*PutTemplateBadRequest) IsCode

func (o *PutTemplateBadRequest) IsCode(code int) bool

IsCode returns true when this put template bad request response a status code equal to that given

func (*PutTemplateBadRequest) IsRedirect

func (o *PutTemplateBadRequest) IsRedirect() bool

IsRedirect returns true when this put template bad request response has a 3xx status code

func (*PutTemplateBadRequest) IsServerError

func (o *PutTemplateBadRequest) IsServerError() bool

IsServerError returns true when this put template bad request response has a 5xx status code

func (*PutTemplateBadRequest) IsSuccess

func (o *PutTemplateBadRequest) IsSuccess() bool

IsSuccess returns true when this put template bad request response has a 2xx status code

func (*PutTemplateBadRequest) String

func (o *PutTemplateBadRequest) String() string

type PutTemplateConflict

type PutTemplateConflict struct {
	Payload *models.PublicError
}

PutTemplateConflict describes a response with status code 409, with default header values.

PublicError

func NewPutTemplateConflict

func NewPutTemplateConflict() *PutTemplateConflict

NewPutTemplateConflict creates a PutTemplateConflict with default headers values

func (*PutTemplateConflict) Code

func (o *PutTemplateConflict) Code() int

Code gets the status code for the put template conflict response

func (*PutTemplateConflict) Error

func (o *PutTemplateConflict) Error() string

func (*PutTemplateConflict) GetPayload

func (o *PutTemplateConflict) GetPayload() *models.PublicError

func (*PutTemplateConflict) IsClientError

func (o *PutTemplateConflict) IsClientError() bool

IsClientError returns true when this put template conflict response has a 4xx status code

func (*PutTemplateConflict) IsCode

func (o *PutTemplateConflict) IsCode(code int) bool

IsCode returns true when this put template conflict response a status code equal to that given

func (*PutTemplateConflict) IsRedirect

func (o *PutTemplateConflict) IsRedirect() bool

IsRedirect returns true when this put template conflict response has a 3xx status code

func (*PutTemplateConflict) IsServerError

func (o *PutTemplateConflict) IsServerError() bool

IsServerError returns true when this put template conflict response has a 5xx status code

func (*PutTemplateConflict) IsSuccess

func (o *PutTemplateConflict) IsSuccess() bool

IsSuccess returns true when this put template conflict response has a 2xx status code

func (*PutTemplateConflict) String

func (o *PutTemplateConflict) String() string

type PutTemplateParams

type PutTemplateParams struct {

	// Body.
	Body *models.NotificationTemplateContent

	// XDisableProvenance.
	XDisableProvenance *string

	/* Name.

	   Template group name
	*/
	Name string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutTemplateParams contains all the parameters to send to the API endpoint

for the put template operation.

Typically these are written to a http.Request.

func NewPutTemplateParams

func NewPutTemplateParams() *PutTemplateParams

NewPutTemplateParams creates a new PutTemplateParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutTemplateParamsWithContext

func NewPutTemplateParamsWithContext(ctx context.Context) *PutTemplateParams

NewPutTemplateParamsWithContext creates a new PutTemplateParams object with the ability to set a context for a request.

func NewPutTemplateParamsWithHTTPClient

func NewPutTemplateParamsWithHTTPClient(client *http.Client) *PutTemplateParams

NewPutTemplateParamsWithHTTPClient creates a new PutTemplateParams object with the ability to set a custom HTTPClient for a request.

func NewPutTemplateParamsWithTimeout

func NewPutTemplateParamsWithTimeout(timeout time.Duration) *PutTemplateParams

NewPutTemplateParamsWithTimeout creates a new PutTemplateParams object with the ability to set a timeout on a request.

func (*PutTemplateParams) SetBody

SetBody adds the body to the put template params

func (*PutTemplateParams) SetContext

func (o *PutTemplateParams) SetContext(ctx context.Context)

SetContext adds the context to the put template params

func (*PutTemplateParams) SetDefaults

func (o *PutTemplateParams) SetDefaults()

SetDefaults hydrates default values in the put template params (not the query body).

All values with no default are reset to their zero value.

func (*PutTemplateParams) SetHTTPClient

func (o *PutTemplateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put template params

func (*PutTemplateParams) SetName

func (o *PutTemplateParams) SetName(name string)

SetName adds the name to the put template params

func (*PutTemplateParams) SetTimeout

func (o *PutTemplateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put template params

func (*PutTemplateParams) SetXDisableProvenance

func (o *PutTemplateParams) SetXDisableProvenance(xDisableProvenance *string)

SetXDisableProvenance adds the xDisableProvenance to the put template params

func (*PutTemplateParams) WithBody

WithBody adds the body to the put template params

func (*PutTemplateParams) WithContext

func (o *PutTemplateParams) WithContext(ctx context.Context) *PutTemplateParams

WithContext adds the context to the put template params

func (*PutTemplateParams) WithDefaults

func (o *PutTemplateParams) WithDefaults() *PutTemplateParams

WithDefaults hydrates default values in the put template params (not the query body).

All values with no default are reset to their zero value.

func (*PutTemplateParams) WithHTTPClient

func (o *PutTemplateParams) WithHTTPClient(client *http.Client) *PutTemplateParams

WithHTTPClient adds the HTTPClient to the put template params

func (*PutTemplateParams) WithName

func (o *PutTemplateParams) WithName(name string) *PutTemplateParams

WithName adds the name to the put template params

func (*PutTemplateParams) WithTimeout

func (o *PutTemplateParams) WithTimeout(timeout time.Duration) *PutTemplateParams

WithTimeout adds the timeout to the put template params

func (*PutTemplateParams) WithXDisableProvenance

func (o *PutTemplateParams) WithXDisableProvenance(xDisableProvenance *string) *PutTemplateParams

WithXDisableProvenance adds the xDisableProvenance to the put template params

func (*PutTemplateParams) WriteToRequest

func (o *PutTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PutTemplateReader

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

PutTemplateReader is a Reader for the PutTemplate structure.

func (*PutTemplateReader) ReadResponse

func (o *PutTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ResetPolicyTreeAccepted

type ResetPolicyTreeAccepted struct {
	Payload models.Ack
}

ResetPolicyTreeAccepted describes a response with status code 202, with default header values.

Ack

func NewResetPolicyTreeAccepted

func NewResetPolicyTreeAccepted() *ResetPolicyTreeAccepted

NewResetPolicyTreeAccepted creates a ResetPolicyTreeAccepted with default headers values

func (*ResetPolicyTreeAccepted) Code

func (o *ResetPolicyTreeAccepted) Code() int

Code gets the status code for the reset policy tree accepted response

func (*ResetPolicyTreeAccepted) Error

func (o *ResetPolicyTreeAccepted) Error() string

func (*ResetPolicyTreeAccepted) GetPayload

func (o *ResetPolicyTreeAccepted) GetPayload() models.Ack

func (*ResetPolicyTreeAccepted) IsClientError

func (o *ResetPolicyTreeAccepted) IsClientError() bool

IsClientError returns true when this reset policy tree accepted response has a 4xx status code

func (*ResetPolicyTreeAccepted) IsCode

func (o *ResetPolicyTreeAccepted) IsCode(code int) bool

IsCode returns true when this reset policy tree accepted response a status code equal to that given

func (*ResetPolicyTreeAccepted) IsRedirect

func (o *ResetPolicyTreeAccepted) IsRedirect() bool

IsRedirect returns true when this reset policy tree accepted response has a 3xx status code

func (*ResetPolicyTreeAccepted) IsServerError

func (o *ResetPolicyTreeAccepted) IsServerError() bool

IsServerError returns true when this reset policy tree accepted response has a 5xx status code

func (*ResetPolicyTreeAccepted) IsSuccess

func (o *ResetPolicyTreeAccepted) IsSuccess() bool

IsSuccess returns true when this reset policy tree accepted response has a 2xx status code

func (*ResetPolicyTreeAccepted) String

func (o *ResetPolicyTreeAccepted) String() string

type ResetPolicyTreeParams

type ResetPolicyTreeParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ResetPolicyTreeParams contains all the parameters to send to the API endpoint

for the reset policy tree operation.

Typically these are written to a http.Request.

func NewResetPolicyTreeParams

func NewResetPolicyTreeParams() *ResetPolicyTreeParams

NewResetPolicyTreeParams creates a new ResetPolicyTreeParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewResetPolicyTreeParamsWithContext

func NewResetPolicyTreeParamsWithContext(ctx context.Context) *ResetPolicyTreeParams

NewResetPolicyTreeParamsWithContext creates a new ResetPolicyTreeParams object with the ability to set a context for a request.

func NewResetPolicyTreeParamsWithHTTPClient

func NewResetPolicyTreeParamsWithHTTPClient(client *http.Client) *ResetPolicyTreeParams

NewResetPolicyTreeParamsWithHTTPClient creates a new ResetPolicyTreeParams object with the ability to set a custom HTTPClient for a request.

func NewResetPolicyTreeParamsWithTimeout

func NewResetPolicyTreeParamsWithTimeout(timeout time.Duration) *ResetPolicyTreeParams

NewResetPolicyTreeParamsWithTimeout creates a new ResetPolicyTreeParams object with the ability to set a timeout on a request.

func (*ResetPolicyTreeParams) SetContext

func (o *ResetPolicyTreeParams) SetContext(ctx context.Context)

SetContext adds the context to the reset policy tree params

func (*ResetPolicyTreeParams) SetDefaults

func (o *ResetPolicyTreeParams) SetDefaults()

SetDefaults hydrates default values in the reset policy tree params (not the query body).

All values with no default are reset to their zero value.

func (*ResetPolicyTreeParams) SetHTTPClient

func (o *ResetPolicyTreeParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the reset policy tree params

func (*ResetPolicyTreeParams) SetTimeout

func (o *ResetPolicyTreeParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the reset policy tree params

func (*ResetPolicyTreeParams) WithContext

WithContext adds the context to the reset policy tree params

func (*ResetPolicyTreeParams) WithDefaults

func (o *ResetPolicyTreeParams) WithDefaults() *ResetPolicyTreeParams

WithDefaults hydrates default values in the reset policy tree params (not the query body).

All values with no default are reset to their zero value.

func (*ResetPolicyTreeParams) WithHTTPClient

func (o *ResetPolicyTreeParams) WithHTTPClient(client *http.Client) *ResetPolicyTreeParams

WithHTTPClient adds the HTTPClient to the reset policy tree params

func (*ResetPolicyTreeParams) WithTimeout

func (o *ResetPolicyTreeParams) WithTimeout(timeout time.Duration) *ResetPolicyTreeParams

WithTimeout adds the timeout to the reset policy tree params

func (*ResetPolicyTreeParams) WriteToRequest

func (o *ResetPolicyTreeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ResetPolicyTreeReader

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

ResetPolicyTreeReader is a Reader for the ResetPolicyTree structure.

func (*ResetPolicyTreeReader) ReadResponse

func (o *ResetPolicyTreeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Source Files

Jump to

Keyboard shortcuts

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