alert_notifier

package
v2.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: ISC Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for alert notifier API

func (*Client) CreateAlertNotifier added in v2.10.0

func (a *Client) CreateAlertNotifier(params *CreateAlertNotifierParams, opts ...ClientOption) (*CreateAlertNotifierOK, error)

CreateAlertNotifier create alert notifier API

func (*Client) DeleteAlertNotifier added in v2.10.0

func (a *Client) DeleteAlertNotifier(params *DeleteAlertNotifierParams, opts ...ClientOption) (*DeleteAlertNotifierOK, error)

DeleteAlertNotifier delete alert notifier API

func (*Client) GetAlertNotifiers

func (a *Client) GetAlertNotifiers(params *GetAlertNotifiersParams, opts ...ClientOption) (*GetAlertNotifiersOK, error)

GetAlertNotifiers get alert notifiers API

func (*Client) GetAlertNotifiersConnection

func (a *Client) GetAlertNotifiersConnection(params *GetAlertNotifiersConnectionParams, opts ...ClientOption) (*GetAlertNotifiersConnectionOK, error)

GetAlertNotifiersConnection get alert notifiers connection API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateAlertNotifier

func (a *Client) UpdateAlertNotifier(params *UpdateAlertNotifierParams, opts ...ClientOption) (*UpdateAlertNotifierOK, error)

UpdateAlertNotifier update alert notifier API

func (*Client) UpdateManyAlertNotifiers added in v2.10.0

func (a *Client) UpdateManyAlertNotifiers(params *UpdateManyAlertNotifiersParams, opts ...ClientOption) (*UpdateManyAlertNotifiersOK, error)

UpdateManyAlertNotifiers update many alert notifiers API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateAlertNotifier(params *CreateAlertNotifierParams, opts ...ClientOption) (*CreateAlertNotifierOK, error)

	DeleteAlertNotifier(params *DeleteAlertNotifierParams, opts ...ClientOption) (*DeleteAlertNotifierOK, error)

	GetAlertNotifiers(params *GetAlertNotifiersParams, opts ...ClientOption) (*GetAlertNotifiersOK, error)

	GetAlertNotifiersConnection(params *GetAlertNotifiersConnectionParams, opts ...ClientOption) (*GetAlertNotifiersConnectionOK, error)

	UpdateAlertNotifier(params *UpdateAlertNotifierParams, opts ...ClientOption) (*UpdateAlertNotifierOK, error)

	UpdateManyAlertNotifiers(params *UpdateManyAlertNotifiersParams, opts ...ClientOption) (*UpdateManyAlertNotifiersOK, 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 alert notifier API client.

type CreateAlertNotifierBadRequest added in v2.10.0

type CreateAlertNotifierBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateAlertNotifierBadRequest describes a response with status code 400, with default header values.

Bad request

func NewCreateAlertNotifierBadRequest added in v2.10.0

func NewCreateAlertNotifierBadRequest() *CreateAlertNotifierBadRequest

NewCreateAlertNotifierBadRequest creates a CreateAlertNotifierBadRequest with default headers values

func (*CreateAlertNotifierBadRequest) Error added in v2.10.0

func (*CreateAlertNotifierBadRequest) GetPayload added in v2.10.0

type CreateAlertNotifierInternalServerError added in v2.10.0

type CreateAlertNotifierInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateAlertNotifierInternalServerError describes a response with status code 500, with default header values.

Server error

func NewCreateAlertNotifierInternalServerError added in v2.10.0

func NewCreateAlertNotifierInternalServerError() *CreateAlertNotifierInternalServerError

NewCreateAlertNotifierInternalServerError creates a CreateAlertNotifierInternalServerError with default headers values

func (*CreateAlertNotifierInternalServerError) Error added in v2.10.0

func (*CreateAlertNotifierInternalServerError) GetPayload added in v2.10.0

type CreateAlertNotifierNotFound added in v2.10.0

type CreateAlertNotifierNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateAlertNotifierNotFound describes a response with status code 404, with default header values.

Not found

func NewCreateAlertNotifierNotFound added in v2.10.0

func NewCreateAlertNotifierNotFound() *CreateAlertNotifierNotFound

NewCreateAlertNotifierNotFound creates a CreateAlertNotifierNotFound with default headers values

func (*CreateAlertNotifierNotFound) Error added in v2.10.0

func (*CreateAlertNotifierNotFound) GetPayload added in v2.10.0

func (o *CreateAlertNotifierNotFound) GetPayload() *models.ErrorBody

type CreateAlertNotifierOK added in v2.10.0

type CreateAlertNotifierOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskAlertNotifier
}
CreateAlertNotifierOK describes a response with status code 200, with default header values.

CreateAlertNotifierOK create alert notifier o k

func NewCreateAlertNotifierOK added in v2.10.0

func NewCreateAlertNotifierOK() *CreateAlertNotifierOK

NewCreateAlertNotifierOK creates a CreateAlertNotifierOK with default headers values

func (*CreateAlertNotifierOK) Error added in v2.10.0

func (o *CreateAlertNotifierOK) Error() string

func (*CreateAlertNotifierOK) GetPayload added in v2.10.0

type CreateAlertNotifierParams added in v2.10.0

type CreateAlertNotifierParams struct {

	// RequestBody.
	RequestBody []*models.AlertNotifierCreationParams

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

CreateAlertNotifierParams contains all the parameters to send to the API endpoint

for the create alert notifier operation.

Typically these are written to a http.Request.

func NewCreateAlertNotifierParams added in v2.10.0

func NewCreateAlertNotifierParams() *CreateAlertNotifierParams

NewCreateAlertNotifierParams creates a new CreateAlertNotifierParams 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 NewCreateAlertNotifierParamsWithContext added in v2.10.0

func NewCreateAlertNotifierParamsWithContext(ctx context.Context) *CreateAlertNotifierParams

NewCreateAlertNotifierParamsWithContext creates a new CreateAlertNotifierParams object with the ability to set a context for a request.

func NewCreateAlertNotifierParamsWithHTTPClient added in v2.10.0

func NewCreateAlertNotifierParamsWithHTTPClient(client *http.Client) *CreateAlertNotifierParams

NewCreateAlertNotifierParamsWithHTTPClient creates a new CreateAlertNotifierParams object with the ability to set a custom HTTPClient for a request.

func NewCreateAlertNotifierParamsWithTimeout added in v2.10.0

func NewCreateAlertNotifierParamsWithTimeout(timeout time.Duration) *CreateAlertNotifierParams

NewCreateAlertNotifierParamsWithTimeout creates a new CreateAlertNotifierParams object with the ability to set a timeout on a request.

func (*CreateAlertNotifierParams) SetContext added in v2.10.0

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

SetContext adds the context to the create alert notifier params

func (*CreateAlertNotifierParams) SetDefaults added in v2.10.0

func (o *CreateAlertNotifierParams) SetDefaults()

SetDefaults hydrates default values in the create alert notifier params (not the query body).

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

func (*CreateAlertNotifierParams) SetHTTPClient added in v2.10.0

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

SetHTTPClient adds the HTTPClient to the create alert notifier params

func (*CreateAlertNotifierParams) SetRequestBody added in v2.10.0

func (o *CreateAlertNotifierParams) SetRequestBody(requestBody []*models.AlertNotifierCreationParams)

SetRequestBody adds the requestBody to the create alert notifier params

func (*CreateAlertNotifierParams) SetTimeout added in v2.10.0

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

SetTimeout adds the timeout to the create alert notifier params

func (*CreateAlertNotifierParams) WithContext added in v2.10.0

WithContext adds the context to the create alert notifier params

func (*CreateAlertNotifierParams) WithDefaults added in v2.10.0

WithDefaults hydrates default values in the create alert notifier params (not the query body).

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

func (*CreateAlertNotifierParams) WithHTTPClient added in v2.10.0

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

WithHTTPClient adds the HTTPClient to the create alert notifier params

func (*CreateAlertNotifierParams) WithRequestBody added in v2.10.0

WithRequestBody adds the requestBody to the create alert notifier params

func (*CreateAlertNotifierParams) WithTimeout added in v2.10.0

WithTimeout adds the timeout to the create alert notifier params

func (*CreateAlertNotifierParams) WriteToRequest added in v2.10.0

WriteToRequest writes these params to a swagger request

type CreateAlertNotifierReader added in v2.10.0

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

CreateAlertNotifierReader is a Reader for the CreateAlertNotifier structure.

func (*CreateAlertNotifierReader) ReadResponse added in v2.10.0

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

ReadResponse reads a server response into the received o.

type DeleteAlertNotifierBadRequest added in v2.10.0

type DeleteAlertNotifierBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
DeleteAlertNotifierBadRequest describes a response with status code 400, with default header values.

Bad request

func NewDeleteAlertNotifierBadRequest added in v2.10.0

func NewDeleteAlertNotifierBadRequest() *DeleteAlertNotifierBadRequest

NewDeleteAlertNotifierBadRequest creates a DeleteAlertNotifierBadRequest with default headers values

func (*DeleteAlertNotifierBadRequest) Error added in v2.10.0

func (*DeleteAlertNotifierBadRequest) GetPayload added in v2.10.0

type DeleteAlertNotifierInternalServerError added in v2.10.0

type DeleteAlertNotifierInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
DeleteAlertNotifierInternalServerError describes a response with status code 500, with default header values.

Server error

func NewDeleteAlertNotifierInternalServerError added in v2.10.0

func NewDeleteAlertNotifierInternalServerError() *DeleteAlertNotifierInternalServerError

NewDeleteAlertNotifierInternalServerError creates a DeleteAlertNotifierInternalServerError with default headers values

func (*DeleteAlertNotifierInternalServerError) Error added in v2.10.0

func (*DeleteAlertNotifierInternalServerError) GetPayload added in v2.10.0

type DeleteAlertNotifierNotFound added in v2.10.0

type DeleteAlertNotifierNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
DeleteAlertNotifierNotFound describes a response with status code 404, with default header values.

Not found

func NewDeleteAlertNotifierNotFound added in v2.10.0

func NewDeleteAlertNotifierNotFound() *DeleteAlertNotifierNotFound

NewDeleteAlertNotifierNotFound creates a DeleteAlertNotifierNotFound with default headers values

func (*DeleteAlertNotifierNotFound) Error added in v2.10.0

func (*DeleteAlertNotifierNotFound) GetPayload added in v2.10.0

func (o *DeleteAlertNotifierNotFound) GetPayload() *models.ErrorBody

type DeleteAlertNotifierOK added in v2.10.0

type DeleteAlertNotifierOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskDeleteAlertNotifier
}
DeleteAlertNotifierOK describes a response with status code 200, with default header values.

DeleteAlertNotifierOK delete alert notifier o k

func NewDeleteAlertNotifierOK added in v2.10.0

func NewDeleteAlertNotifierOK() *DeleteAlertNotifierOK

NewDeleteAlertNotifierOK creates a DeleteAlertNotifierOK with default headers values

func (*DeleteAlertNotifierOK) Error added in v2.10.0

func (o *DeleteAlertNotifierOK) Error() string

func (*DeleteAlertNotifierOK) GetPayload added in v2.10.0

type DeleteAlertNotifierParams added in v2.10.0

type DeleteAlertNotifierParams struct {

	// RequestBody.
	RequestBody *models.DeleteAlertNotifierParams

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

DeleteAlertNotifierParams contains all the parameters to send to the API endpoint

for the delete alert notifier operation.

Typically these are written to a http.Request.

func NewDeleteAlertNotifierParams added in v2.10.0

func NewDeleteAlertNotifierParams() *DeleteAlertNotifierParams

NewDeleteAlertNotifierParams creates a new DeleteAlertNotifierParams 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 NewDeleteAlertNotifierParamsWithContext added in v2.10.0

func NewDeleteAlertNotifierParamsWithContext(ctx context.Context) *DeleteAlertNotifierParams

NewDeleteAlertNotifierParamsWithContext creates a new DeleteAlertNotifierParams object with the ability to set a context for a request.

func NewDeleteAlertNotifierParamsWithHTTPClient added in v2.10.0

func NewDeleteAlertNotifierParamsWithHTTPClient(client *http.Client) *DeleteAlertNotifierParams

NewDeleteAlertNotifierParamsWithHTTPClient creates a new DeleteAlertNotifierParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAlertNotifierParamsWithTimeout added in v2.10.0

func NewDeleteAlertNotifierParamsWithTimeout(timeout time.Duration) *DeleteAlertNotifierParams

NewDeleteAlertNotifierParamsWithTimeout creates a new DeleteAlertNotifierParams object with the ability to set a timeout on a request.

func (*DeleteAlertNotifierParams) SetContext added in v2.10.0

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

SetContext adds the context to the delete alert notifier params

func (*DeleteAlertNotifierParams) SetDefaults added in v2.10.0

func (o *DeleteAlertNotifierParams) SetDefaults()

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

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

func (*DeleteAlertNotifierParams) SetHTTPClient added in v2.10.0

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

SetHTTPClient adds the HTTPClient to the delete alert notifier params

func (*DeleteAlertNotifierParams) SetRequestBody added in v2.10.0

func (o *DeleteAlertNotifierParams) SetRequestBody(requestBody *models.DeleteAlertNotifierParams)

SetRequestBody adds the requestBody to the delete alert notifier params

func (*DeleteAlertNotifierParams) SetTimeout added in v2.10.0

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

SetTimeout adds the timeout to the delete alert notifier params

func (*DeleteAlertNotifierParams) WithContext added in v2.10.0

WithContext adds the context to the delete alert notifier params

func (*DeleteAlertNotifierParams) WithDefaults added in v2.10.0

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

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

func (*DeleteAlertNotifierParams) WithHTTPClient added in v2.10.0

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

WithHTTPClient adds the HTTPClient to the delete alert notifier params

func (*DeleteAlertNotifierParams) WithRequestBody added in v2.10.0

WithRequestBody adds the requestBody to the delete alert notifier params

func (*DeleteAlertNotifierParams) WithTimeout added in v2.10.0

WithTimeout adds the timeout to the delete alert notifier params

func (*DeleteAlertNotifierParams) WriteToRequest added in v2.10.0

WriteToRequest writes these params to a swagger request

type DeleteAlertNotifierReader added in v2.10.0

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

DeleteAlertNotifierReader is a Reader for the DeleteAlertNotifier structure.

func (*DeleteAlertNotifierReader) ReadResponse added in v2.10.0

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

ReadResponse reads a server response into the received o.

type GetAlertNotifiersBadRequest

type GetAlertNotifiersBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetAlertNotifiersBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetAlertNotifiersBadRequest

func NewGetAlertNotifiersBadRequest() *GetAlertNotifiersBadRequest

NewGetAlertNotifiersBadRequest creates a GetAlertNotifiersBadRequest with default headers values

func (*GetAlertNotifiersBadRequest) Error

func (*GetAlertNotifiersBadRequest) GetPayload

func (o *GetAlertNotifiersBadRequest) GetPayload() *models.ErrorBody

type GetAlertNotifiersConnectionBadRequest

type GetAlertNotifiersConnectionBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetAlertNotifiersConnectionBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetAlertNotifiersConnectionBadRequest

func NewGetAlertNotifiersConnectionBadRequest() *GetAlertNotifiersConnectionBadRequest

NewGetAlertNotifiersConnectionBadRequest creates a GetAlertNotifiersConnectionBadRequest with default headers values

func (*GetAlertNotifiersConnectionBadRequest) Error

func (*GetAlertNotifiersConnectionBadRequest) GetPayload

type GetAlertNotifiersConnectionInternalServerError

type GetAlertNotifiersConnectionInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetAlertNotifiersConnectionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetAlertNotifiersConnectionInternalServerError

func NewGetAlertNotifiersConnectionInternalServerError() *GetAlertNotifiersConnectionInternalServerError

NewGetAlertNotifiersConnectionInternalServerError creates a GetAlertNotifiersConnectionInternalServerError with default headers values

func (*GetAlertNotifiersConnectionInternalServerError) Error

func (*GetAlertNotifiersConnectionInternalServerError) GetPayload

type GetAlertNotifiersConnectionNotFound

type GetAlertNotifiersConnectionNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetAlertNotifiersConnectionNotFound describes a response with status code 404, with default header values.

Not found

func NewGetAlertNotifiersConnectionNotFound

func NewGetAlertNotifiersConnectionNotFound() *GetAlertNotifiersConnectionNotFound

NewGetAlertNotifiersConnectionNotFound creates a GetAlertNotifiersConnectionNotFound with default headers values

func (*GetAlertNotifiersConnectionNotFound) Error

func (*GetAlertNotifiersConnectionNotFound) GetPayload

type GetAlertNotifiersConnectionOK

type GetAlertNotifiersConnectionOK struct {
	XTowerRequestID string

	Payload *models.AlertNotifierConnection
}
GetAlertNotifiersConnectionOK describes a response with status code 200, with default header values.

GetAlertNotifiersConnectionOK get alert notifiers connection o k

func NewGetAlertNotifiersConnectionOK

func NewGetAlertNotifiersConnectionOK() *GetAlertNotifiersConnectionOK

NewGetAlertNotifiersConnectionOK creates a GetAlertNotifiersConnectionOK with default headers values

func (*GetAlertNotifiersConnectionOK) Error

func (*GetAlertNotifiersConnectionOK) GetPayload

type GetAlertNotifiersConnectionParams

type GetAlertNotifiersConnectionParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetAlertNotifiersConnectionRequestBody

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

GetAlertNotifiersConnectionParams contains all the parameters to send to the API endpoint

for the get alert notifiers connection operation.

Typically these are written to a http.Request.

func NewGetAlertNotifiersConnectionParams

func NewGetAlertNotifiersConnectionParams() *GetAlertNotifiersConnectionParams

NewGetAlertNotifiersConnectionParams creates a new GetAlertNotifiersConnectionParams 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 NewGetAlertNotifiersConnectionParamsWithContext

func NewGetAlertNotifiersConnectionParamsWithContext(ctx context.Context) *GetAlertNotifiersConnectionParams

NewGetAlertNotifiersConnectionParamsWithContext creates a new GetAlertNotifiersConnectionParams object with the ability to set a context for a request.

func NewGetAlertNotifiersConnectionParamsWithHTTPClient

func NewGetAlertNotifiersConnectionParamsWithHTTPClient(client *http.Client) *GetAlertNotifiersConnectionParams

NewGetAlertNotifiersConnectionParamsWithHTTPClient creates a new GetAlertNotifiersConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetAlertNotifiersConnectionParamsWithTimeout

func NewGetAlertNotifiersConnectionParamsWithTimeout(timeout time.Duration) *GetAlertNotifiersConnectionParams

NewGetAlertNotifiersConnectionParamsWithTimeout creates a new GetAlertNotifiersConnectionParams object with the ability to set a timeout on a request.

func (*GetAlertNotifiersConnectionParams) SetContentLanguage

func (o *GetAlertNotifiersConnectionParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get alert notifiers connection params

func (*GetAlertNotifiersConnectionParams) SetContext

SetContext adds the context to the get alert notifiers connection params

func (*GetAlertNotifiersConnectionParams) SetDefaults

func (o *GetAlertNotifiersConnectionParams) SetDefaults()

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

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

func (*GetAlertNotifiersConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get alert notifiers connection params

func (*GetAlertNotifiersConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get alert notifiers connection params

func (*GetAlertNotifiersConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the get alert notifiers connection params

func (*GetAlertNotifiersConnectionParams) WithContentLanguage

func (o *GetAlertNotifiersConnectionParams) WithContentLanguage(contentLanguage *string) *GetAlertNotifiersConnectionParams

WithContentLanguage adds the contentLanguage to the get alert notifiers connection params

func (*GetAlertNotifiersConnectionParams) WithContext

WithContext adds the context to the get alert notifiers connection params

func (*GetAlertNotifiersConnectionParams) WithDefaults

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

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

func (*GetAlertNotifiersConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get alert notifiers connection params

func (*GetAlertNotifiersConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get alert notifiers connection params

func (*GetAlertNotifiersConnectionParams) WithTimeout

WithTimeout adds the timeout to the get alert notifiers connection params

func (*GetAlertNotifiersConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAlertNotifiersConnectionReader

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

GetAlertNotifiersConnectionReader is a Reader for the GetAlertNotifiersConnection structure.

func (*GetAlertNotifiersConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAlertNotifiersInternalServerError

type GetAlertNotifiersInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetAlertNotifiersInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetAlertNotifiersInternalServerError

func NewGetAlertNotifiersInternalServerError() *GetAlertNotifiersInternalServerError

NewGetAlertNotifiersInternalServerError creates a GetAlertNotifiersInternalServerError with default headers values

func (*GetAlertNotifiersInternalServerError) Error

func (*GetAlertNotifiersInternalServerError) GetPayload

type GetAlertNotifiersNotFound

type GetAlertNotifiersNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetAlertNotifiersNotFound describes a response with status code 404, with default header values.

Not found

func NewGetAlertNotifiersNotFound

func NewGetAlertNotifiersNotFound() *GetAlertNotifiersNotFound

NewGetAlertNotifiersNotFound creates a GetAlertNotifiersNotFound with default headers values

func (*GetAlertNotifiersNotFound) Error

func (o *GetAlertNotifiersNotFound) Error() string

func (*GetAlertNotifiersNotFound) GetPayload

func (o *GetAlertNotifiersNotFound) GetPayload() *models.ErrorBody

type GetAlertNotifiersOK

type GetAlertNotifiersOK struct {
	XTowerRequestID string

	Payload []*models.AlertNotifier
}
GetAlertNotifiersOK describes a response with status code 200, with default header values.

GetAlertNotifiersOK get alert notifiers o k

func NewGetAlertNotifiersOK

func NewGetAlertNotifiersOK() *GetAlertNotifiersOK

NewGetAlertNotifiersOK creates a GetAlertNotifiersOK with default headers values

func (*GetAlertNotifiersOK) Error

func (o *GetAlertNotifiersOK) Error() string

func (*GetAlertNotifiersOK) GetPayload

func (o *GetAlertNotifiersOK) GetPayload() []*models.AlertNotifier

type GetAlertNotifiersParams

type GetAlertNotifiersParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetAlertNotifiersRequestBody

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

GetAlertNotifiersParams contains all the parameters to send to the API endpoint

for the get alert notifiers operation.

Typically these are written to a http.Request.

func NewGetAlertNotifiersParams

func NewGetAlertNotifiersParams() *GetAlertNotifiersParams

NewGetAlertNotifiersParams creates a new GetAlertNotifiersParams 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 NewGetAlertNotifiersParamsWithContext

func NewGetAlertNotifiersParamsWithContext(ctx context.Context) *GetAlertNotifiersParams

NewGetAlertNotifiersParamsWithContext creates a new GetAlertNotifiersParams object with the ability to set a context for a request.

func NewGetAlertNotifiersParamsWithHTTPClient

func NewGetAlertNotifiersParamsWithHTTPClient(client *http.Client) *GetAlertNotifiersParams

NewGetAlertNotifiersParamsWithHTTPClient creates a new GetAlertNotifiersParams object with the ability to set a custom HTTPClient for a request.

func NewGetAlertNotifiersParamsWithTimeout

func NewGetAlertNotifiersParamsWithTimeout(timeout time.Duration) *GetAlertNotifiersParams

NewGetAlertNotifiersParamsWithTimeout creates a new GetAlertNotifiersParams object with the ability to set a timeout on a request.

func (*GetAlertNotifiersParams) SetContentLanguage

func (o *GetAlertNotifiersParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get alert notifiers params

func (*GetAlertNotifiersParams) SetContext

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

SetContext adds the context to the get alert notifiers params

func (*GetAlertNotifiersParams) SetDefaults

func (o *GetAlertNotifiersParams) SetDefaults()

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

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

func (*GetAlertNotifiersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get alert notifiers params

func (*GetAlertNotifiersParams) SetRequestBody

func (o *GetAlertNotifiersParams) SetRequestBody(requestBody *models.GetAlertNotifiersRequestBody)

SetRequestBody adds the requestBody to the get alert notifiers params

func (*GetAlertNotifiersParams) SetTimeout

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

SetTimeout adds the timeout to the get alert notifiers params

func (*GetAlertNotifiersParams) WithContentLanguage

func (o *GetAlertNotifiersParams) WithContentLanguage(contentLanguage *string) *GetAlertNotifiersParams

WithContentLanguage adds the contentLanguage to the get alert notifiers params

func (*GetAlertNotifiersParams) WithContext

WithContext adds the context to the get alert notifiers params

func (*GetAlertNotifiersParams) WithDefaults

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

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

func (*GetAlertNotifiersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get alert notifiers params

func (*GetAlertNotifiersParams) WithRequestBody

WithRequestBody adds the requestBody to the get alert notifiers params

func (*GetAlertNotifiersParams) WithTimeout

WithTimeout adds the timeout to the get alert notifiers params

func (*GetAlertNotifiersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAlertNotifiersReader

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

GetAlertNotifiersReader is a Reader for the GetAlertNotifiers structure.

func (*GetAlertNotifiersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateAlertNotifierBadRequest

type UpdateAlertNotifierBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateAlertNotifierBadRequest describes a response with status code 400, with default header values.

Bad request

func NewUpdateAlertNotifierBadRequest

func NewUpdateAlertNotifierBadRequest() *UpdateAlertNotifierBadRequest

NewUpdateAlertNotifierBadRequest creates a UpdateAlertNotifierBadRequest with default headers values

func (*UpdateAlertNotifierBadRequest) Error

func (*UpdateAlertNotifierBadRequest) GetPayload

type UpdateAlertNotifierInternalServerError

type UpdateAlertNotifierInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateAlertNotifierInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpdateAlertNotifierInternalServerError

func NewUpdateAlertNotifierInternalServerError() *UpdateAlertNotifierInternalServerError

NewUpdateAlertNotifierInternalServerError creates a UpdateAlertNotifierInternalServerError with default headers values

func (*UpdateAlertNotifierInternalServerError) Error

func (*UpdateAlertNotifierInternalServerError) GetPayload

type UpdateAlertNotifierNotFound

type UpdateAlertNotifierNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateAlertNotifierNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateAlertNotifierNotFound

func NewUpdateAlertNotifierNotFound() *UpdateAlertNotifierNotFound

NewUpdateAlertNotifierNotFound creates a UpdateAlertNotifierNotFound with default headers values

func (*UpdateAlertNotifierNotFound) Error

func (*UpdateAlertNotifierNotFound) GetPayload

func (o *UpdateAlertNotifierNotFound) GetPayload() *models.ErrorBody

type UpdateAlertNotifierOK

type UpdateAlertNotifierOK struct {
	XTowerRequestID string

	Payload *models.WithTaskAlertNotifier
}
UpdateAlertNotifierOK describes a response with status code 200, with default header values.

UpdateAlertNotifierOK update alert notifier o k

func NewUpdateAlertNotifierOK

func NewUpdateAlertNotifierOK() *UpdateAlertNotifierOK

NewUpdateAlertNotifierOK creates a UpdateAlertNotifierOK with default headers values

func (*UpdateAlertNotifierOK) Error

func (o *UpdateAlertNotifierOK) Error() string

func (*UpdateAlertNotifierOK) GetPayload

type UpdateAlertNotifierParams

type UpdateAlertNotifierParams struct {

	// RequestBody.
	RequestBody *models.AlertNotifierUpdationParams

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

UpdateAlertNotifierParams contains all the parameters to send to the API endpoint

for the update alert notifier operation.

Typically these are written to a http.Request.

func NewUpdateAlertNotifierParams

func NewUpdateAlertNotifierParams() *UpdateAlertNotifierParams

NewUpdateAlertNotifierParams creates a new UpdateAlertNotifierParams 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 NewUpdateAlertNotifierParamsWithContext

func NewUpdateAlertNotifierParamsWithContext(ctx context.Context) *UpdateAlertNotifierParams

NewUpdateAlertNotifierParamsWithContext creates a new UpdateAlertNotifierParams object with the ability to set a context for a request.

func NewUpdateAlertNotifierParamsWithHTTPClient

func NewUpdateAlertNotifierParamsWithHTTPClient(client *http.Client) *UpdateAlertNotifierParams

NewUpdateAlertNotifierParamsWithHTTPClient creates a new UpdateAlertNotifierParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateAlertNotifierParamsWithTimeout

func NewUpdateAlertNotifierParamsWithTimeout(timeout time.Duration) *UpdateAlertNotifierParams

NewUpdateAlertNotifierParamsWithTimeout creates a new UpdateAlertNotifierParams object with the ability to set a timeout on a request.

func (*UpdateAlertNotifierParams) SetContext

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

SetContext adds the context to the update alert notifier params

func (*UpdateAlertNotifierParams) SetDefaults

func (o *UpdateAlertNotifierParams) SetDefaults()

SetDefaults hydrates default values in the update alert notifier params (not the query body).

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

func (*UpdateAlertNotifierParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update alert notifier params

func (*UpdateAlertNotifierParams) SetRequestBody

func (o *UpdateAlertNotifierParams) SetRequestBody(requestBody *models.AlertNotifierUpdationParams)

SetRequestBody adds the requestBody to the update alert notifier params

func (*UpdateAlertNotifierParams) SetTimeout

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

SetTimeout adds the timeout to the update alert notifier params

func (*UpdateAlertNotifierParams) WithContext

WithContext adds the context to the update alert notifier params

func (*UpdateAlertNotifierParams) WithDefaults

WithDefaults hydrates default values in the update alert notifier params (not the query body).

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

func (*UpdateAlertNotifierParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update alert notifier params

func (*UpdateAlertNotifierParams) WithRequestBody

WithRequestBody adds the requestBody to the update alert notifier params

func (*UpdateAlertNotifierParams) WithTimeout

WithTimeout adds the timeout to the update alert notifier params

func (*UpdateAlertNotifierParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateAlertNotifierReader

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

UpdateAlertNotifierReader is a Reader for the UpdateAlertNotifier structure.

func (*UpdateAlertNotifierReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateManyAlertNotifiersBadRequest added in v2.10.0

type UpdateManyAlertNotifiersBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateManyAlertNotifiersBadRequest describes a response with status code 400, with default header values.

Bad request

func NewUpdateManyAlertNotifiersBadRequest added in v2.10.0

func NewUpdateManyAlertNotifiersBadRequest() *UpdateManyAlertNotifiersBadRequest

NewUpdateManyAlertNotifiersBadRequest creates a UpdateManyAlertNotifiersBadRequest with default headers values

func (*UpdateManyAlertNotifiersBadRequest) Error added in v2.10.0

func (*UpdateManyAlertNotifiersBadRequest) GetPayload added in v2.10.0

type UpdateManyAlertNotifiersInternalServerError added in v2.10.0

type UpdateManyAlertNotifiersInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateManyAlertNotifiersInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpdateManyAlertNotifiersInternalServerError added in v2.10.0

func NewUpdateManyAlertNotifiersInternalServerError() *UpdateManyAlertNotifiersInternalServerError

NewUpdateManyAlertNotifiersInternalServerError creates a UpdateManyAlertNotifiersInternalServerError with default headers values

func (*UpdateManyAlertNotifiersInternalServerError) Error added in v2.10.0

func (*UpdateManyAlertNotifiersInternalServerError) GetPayload added in v2.10.0

type UpdateManyAlertNotifiersNotFound added in v2.10.0

type UpdateManyAlertNotifiersNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateManyAlertNotifiersNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateManyAlertNotifiersNotFound added in v2.10.0

func NewUpdateManyAlertNotifiersNotFound() *UpdateManyAlertNotifiersNotFound

NewUpdateManyAlertNotifiersNotFound creates a UpdateManyAlertNotifiersNotFound with default headers values

func (*UpdateManyAlertNotifiersNotFound) Error added in v2.10.0

func (*UpdateManyAlertNotifiersNotFound) GetPayload added in v2.10.0

type UpdateManyAlertNotifiersOK added in v2.10.0

type UpdateManyAlertNotifiersOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskAlertNotifier
}
UpdateManyAlertNotifiersOK describes a response with status code 200, with default header values.

UpdateManyAlertNotifiersOK update many alert notifiers o k

func NewUpdateManyAlertNotifiersOK added in v2.10.0

func NewUpdateManyAlertNotifiersOK() *UpdateManyAlertNotifiersOK

NewUpdateManyAlertNotifiersOK creates a UpdateManyAlertNotifiersOK with default headers values

func (*UpdateManyAlertNotifiersOK) Error added in v2.10.0

func (*UpdateManyAlertNotifiersOK) GetPayload added in v2.10.0

type UpdateManyAlertNotifiersParams added in v2.10.0

type UpdateManyAlertNotifiersParams struct {

	// RequestBody.
	RequestBody *models.AlertNotifierManyUpdationParams

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

UpdateManyAlertNotifiersParams contains all the parameters to send to the API endpoint

for the update many alert notifiers operation.

Typically these are written to a http.Request.

func NewUpdateManyAlertNotifiersParams added in v2.10.0

func NewUpdateManyAlertNotifiersParams() *UpdateManyAlertNotifiersParams

NewUpdateManyAlertNotifiersParams creates a new UpdateManyAlertNotifiersParams 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 NewUpdateManyAlertNotifiersParamsWithContext added in v2.10.0

func NewUpdateManyAlertNotifiersParamsWithContext(ctx context.Context) *UpdateManyAlertNotifiersParams

NewUpdateManyAlertNotifiersParamsWithContext creates a new UpdateManyAlertNotifiersParams object with the ability to set a context for a request.

func NewUpdateManyAlertNotifiersParamsWithHTTPClient added in v2.10.0

func NewUpdateManyAlertNotifiersParamsWithHTTPClient(client *http.Client) *UpdateManyAlertNotifiersParams

NewUpdateManyAlertNotifiersParamsWithHTTPClient creates a new UpdateManyAlertNotifiersParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateManyAlertNotifiersParamsWithTimeout added in v2.10.0

func NewUpdateManyAlertNotifiersParamsWithTimeout(timeout time.Duration) *UpdateManyAlertNotifiersParams

NewUpdateManyAlertNotifiersParamsWithTimeout creates a new UpdateManyAlertNotifiersParams object with the ability to set a timeout on a request.

func (*UpdateManyAlertNotifiersParams) SetContext added in v2.10.0

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

SetContext adds the context to the update many alert notifiers params

func (*UpdateManyAlertNotifiersParams) SetDefaults added in v2.10.0

func (o *UpdateManyAlertNotifiersParams) SetDefaults()

SetDefaults hydrates default values in the update many alert notifiers params (not the query body).

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

func (*UpdateManyAlertNotifiersParams) SetHTTPClient added in v2.10.0

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

SetHTTPClient adds the HTTPClient to the update many alert notifiers params

func (*UpdateManyAlertNotifiersParams) SetRequestBody added in v2.10.0

SetRequestBody adds the requestBody to the update many alert notifiers params

func (*UpdateManyAlertNotifiersParams) SetTimeout added in v2.10.0

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

SetTimeout adds the timeout to the update many alert notifiers params

func (*UpdateManyAlertNotifiersParams) WithContext added in v2.10.0

WithContext adds the context to the update many alert notifiers params

func (*UpdateManyAlertNotifiersParams) WithDefaults added in v2.10.0

WithDefaults hydrates default values in the update many alert notifiers params (not the query body).

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

func (*UpdateManyAlertNotifiersParams) WithHTTPClient added in v2.10.0

WithHTTPClient adds the HTTPClient to the update many alert notifiers params

func (*UpdateManyAlertNotifiersParams) WithRequestBody added in v2.10.0

WithRequestBody adds the requestBody to the update many alert notifiers params

func (*UpdateManyAlertNotifiersParams) WithTimeout added in v2.10.0

WithTimeout adds the timeout to the update many alert notifiers params

func (*UpdateManyAlertNotifiersParams) WriteToRequest added in v2.10.0

WriteToRequest writes these params to a swagger request

type UpdateManyAlertNotifiersReader added in v2.10.0

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

UpdateManyAlertNotifiersReader is a Reader for the UpdateManyAlertNotifiers structure.

func (*UpdateManyAlertNotifiersReader) ReadResponse added in v2.10.0

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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