alert_watchers

package
v0.9.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for alert watchers API

func (*Client) DeleteAPI24AlertWatchers

func (a *Client) DeleteAPI24AlertWatchers(params *DeleteAPI24AlertWatchersParams) (*DeleteApi24AlertWatchersOK, error)

DeleteAPI24AlertWatchers deletes alert watcher

Delete alert watcher email address from the list of alert watchers.

func (*Client) GetAPI24AlertWatchers

func (a *Client) GetAPI24AlertWatchers(params *GetAPI24AlertWatchersParams) (*GetApi24AlertWatchersOK, error)

GetAPI24AlertWatchers lists alert watchers

Displays alert watcher email addressess and indicates whether they are `enabled`.

func (*Client) GetAPI24AlertWatchersTest

func (a *Client) GetAPI24AlertWatchersTest(params *GetAPI24AlertWatchersTestParams) (*GetApi24AlertWatchersTestOK, error)

GetAPI24AlertWatchersTest lists alert watcher test

Displays alert watcher email test results.

func (*Client) PatchAPI24AlertWatchers

func (a *Client) PatchAPI24AlertWatchers(params *PatchAPI24AlertWatchersParams) (*PatchApi24AlertWatchersOK, error)

PatchAPI24AlertWatchers modifies alert watcher

Modify alert watcher email address by enabling or disabling it.

func (*Client) PostAPI24AlertWatchers

func (a *Client) PostAPI24AlertWatchers(params *PostAPI24AlertWatchersParams) (*PostApi24AlertWatchersOK, error)

PostAPI24AlertWatchers creates alert watcher

Creates one or more alert watcher email addresses, adding them to the list of alert watchers.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	DeleteAPI24AlertWatchers(params *DeleteAPI24AlertWatchersParams) (*DeleteApi24AlertWatchersOK, error)

	GetAPI24AlertWatchers(params *GetAPI24AlertWatchersParams) (*GetApi24AlertWatchersOK, error)

	GetAPI24AlertWatchersTest(params *GetAPI24AlertWatchersTestParams) (*GetApi24AlertWatchersTestOK, error)

	PatchAPI24AlertWatchers(params *PatchAPI24AlertWatchersParams) (*PatchApi24AlertWatchersOK, error)

	PostAPI24AlertWatchers(params *PostAPI24AlertWatchersParams) (*PostApi24AlertWatchersOK, 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 watchers API client.

type DeleteAPI24AlertWatchersParams

type DeleteAPI24AlertWatchersParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*Names
	  Performs the operation on the unique name specified. For example, `name01`. Enter multiple names in comma-separated format.

	*/
	Names []string

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

DeleteAPI24AlertWatchersParams contains all the parameters to send to the API endpoint for the delete API 24 alert watchers operation typically these are written to a http.Request

func NewDeleteAPI24AlertWatchersParams

func NewDeleteAPI24AlertWatchersParams() *DeleteAPI24AlertWatchersParams

NewDeleteAPI24AlertWatchersParams creates a new DeleteAPI24AlertWatchersParams object with the default values initialized.

func NewDeleteAPI24AlertWatchersParamsWithContext

func NewDeleteAPI24AlertWatchersParamsWithContext(ctx context.Context) *DeleteAPI24AlertWatchersParams

NewDeleteAPI24AlertWatchersParamsWithContext creates a new DeleteAPI24AlertWatchersParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteAPI24AlertWatchersParamsWithHTTPClient

func NewDeleteAPI24AlertWatchersParamsWithHTTPClient(client *http.Client) *DeleteAPI24AlertWatchersParams

NewDeleteAPI24AlertWatchersParamsWithHTTPClient creates a new DeleteAPI24AlertWatchersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteAPI24AlertWatchersParamsWithTimeout

func NewDeleteAPI24AlertWatchersParamsWithTimeout(timeout time.Duration) *DeleteAPI24AlertWatchersParams

NewDeleteAPI24AlertWatchersParamsWithTimeout creates a new DeleteAPI24AlertWatchersParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteAPI24AlertWatchersParams) SetAuthorization

func (o *DeleteAPI24AlertWatchersParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the delete API 24 alert watchers params

func (*DeleteAPI24AlertWatchersParams) SetContext

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

SetContext adds the context to the delete API 24 alert watchers params

func (*DeleteAPI24AlertWatchersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete API 24 alert watchers params

func (*DeleteAPI24AlertWatchersParams) SetNames

func (o *DeleteAPI24AlertWatchersParams) SetNames(names []string)

SetNames adds the names to the delete API 24 alert watchers params

func (*DeleteAPI24AlertWatchersParams) SetTimeout

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

SetTimeout adds the timeout to the delete API 24 alert watchers params

func (*DeleteAPI24AlertWatchersParams) SetXRequestID

func (o *DeleteAPI24AlertWatchersParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the delete API 24 alert watchers params

func (*DeleteAPI24AlertWatchersParams) WithAuthorization

func (o *DeleteAPI24AlertWatchersParams) WithAuthorization(authorization *string) *DeleteAPI24AlertWatchersParams

WithAuthorization adds the authorization to the delete API 24 alert watchers params

func (*DeleteAPI24AlertWatchersParams) WithContext

WithContext adds the context to the delete API 24 alert watchers params

func (*DeleteAPI24AlertWatchersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete API 24 alert watchers params

func (*DeleteAPI24AlertWatchersParams) WithNames

WithNames adds the names to the delete API 24 alert watchers params

func (*DeleteAPI24AlertWatchersParams) WithTimeout

WithTimeout adds the timeout to the delete API 24 alert watchers params

func (*DeleteAPI24AlertWatchersParams) WithXRequestID

WithXRequestID adds the xRequestID to the delete API 24 alert watchers params

func (*DeleteAPI24AlertWatchersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAPI24AlertWatchersReader

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

DeleteAPI24AlertWatchersReader is a Reader for the DeleteAPI24AlertWatchers structure.

func (*DeleteAPI24AlertWatchersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteApi24AlertWatchersBadRequest

type DeleteApi24AlertWatchersBadRequest struct {
	Payload *models.Error
}

DeleteApi24AlertWatchersBadRequest handles this case with default header values.

BadRequest

func NewDeleteApi24AlertWatchersBadRequest

func NewDeleteApi24AlertWatchersBadRequest() *DeleteApi24AlertWatchersBadRequest

NewDeleteApi24AlertWatchersBadRequest creates a DeleteApi24AlertWatchersBadRequest with default headers values

func (*DeleteApi24AlertWatchersBadRequest) Error

func (*DeleteApi24AlertWatchersBadRequest) GetPayload

type DeleteApi24AlertWatchersOK

type DeleteApi24AlertWatchersOK struct {
}

DeleteApi24AlertWatchersOK handles this case with default header values.

OK

func NewDeleteApi24AlertWatchersOK

func NewDeleteApi24AlertWatchersOK() *DeleteApi24AlertWatchersOK

NewDeleteApi24AlertWatchersOK creates a DeleteApi24AlertWatchersOK with default headers values

func (*DeleteApi24AlertWatchersOK) Error

type GetAPI24AlertWatchersParams

type GetAPI24AlertWatchersParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*ContinuationToken
	  A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set `continuation_token` to the system-generated token taken from the `x-next-token` header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the `limit` and `continuation_token` query parameters.

	*/
	ContinuationToken *string
	/*Filter
	  Narrows down the results to only the response objects that satisfy the filter criteria.

	*/
	Filter *string
	/*Limit
	  Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set `limit=0`. The total number of resources is returned as a `total_item_count` value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

	*/
	Limit *int32
	/*Names
	  Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`.

	*/
	Names []string
	/*Offset
	  The starting position based on the results of the query in relation to the full set of response objects returned.

	*/
	Offset *int32
	/*Sort
	  Returns the response objects in the order specified. Set `sort` to the name in the response by which to sort. Sorting can be performed on any of the names in the response, and the objects can be sorted in ascending or descending order. By default, the response objects are sorted in ascending order. To sort in descending order, append the minus sign (`-`) to the name. A single request can be sorted on multiple objects. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple names, list the names as comma-separated values.

	*/
	Sort []string
	/*TotalItemCount
	  If set to `true`, the `total_item_count` matching the specified query parameters is calculated and returned in the response. If set to `false`, the `total_item_count` is `null` in the response. This may speed up queries where the `total_item_count` is large. If not specified, defaults to `false`.

	*/
	TotalItemCount *bool

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

GetAPI24AlertWatchersParams contains all the parameters to send to the API endpoint for the get API 24 alert watchers operation typically these are written to a http.Request

func NewGetAPI24AlertWatchersParams

func NewGetAPI24AlertWatchersParams() *GetAPI24AlertWatchersParams

NewGetAPI24AlertWatchersParams creates a new GetAPI24AlertWatchersParams object with the default values initialized.

func NewGetAPI24AlertWatchersParamsWithContext

func NewGetAPI24AlertWatchersParamsWithContext(ctx context.Context) *GetAPI24AlertWatchersParams

NewGetAPI24AlertWatchersParamsWithContext creates a new GetAPI24AlertWatchersParams object with the default values initialized, and the ability to set a context for a request

func NewGetAPI24AlertWatchersParamsWithHTTPClient

func NewGetAPI24AlertWatchersParamsWithHTTPClient(client *http.Client) *GetAPI24AlertWatchersParams

NewGetAPI24AlertWatchersParamsWithHTTPClient creates a new GetAPI24AlertWatchersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAPI24AlertWatchersParamsWithTimeout

func NewGetAPI24AlertWatchersParamsWithTimeout(timeout time.Duration) *GetAPI24AlertWatchersParams

NewGetAPI24AlertWatchersParamsWithTimeout creates a new GetAPI24AlertWatchersParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAPI24AlertWatchersParams) SetAuthorization

func (o *GetAPI24AlertWatchersParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the get API 24 alert watchers params

func (*GetAPI24AlertWatchersParams) SetContext

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

SetContext adds the context to the get API 24 alert watchers params

func (*GetAPI24AlertWatchersParams) SetContinuationToken

func (o *GetAPI24AlertWatchersParams) SetContinuationToken(continuationToken *string)

SetContinuationToken adds the continuationToken to the get API 24 alert watchers params

func (*GetAPI24AlertWatchersParams) SetFilter

func (o *GetAPI24AlertWatchersParams) SetFilter(filter *string)

SetFilter adds the filter to the get API 24 alert watchers params

func (*GetAPI24AlertWatchersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API 24 alert watchers params

func (*GetAPI24AlertWatchersParams) SetLimit

func (o *GetAPI24AlertWatchersParams) SetLimit(limit *int32)

SetLimit adds the limit to the get API 24 alert watchers params

func (*GetAPI24AlertWatchersParams) SetNames

func (o *GetAPI24AlertWatchersParams) SetNames(names []string)

SetNames adds the names to the get API 24 alert watchers params

func (*GetAPI24AlertWatchersParams) SetOffset

func (o *GetAPI24AlertWatchersParams) SetOffset(offset *int32)

SetOffset adds the offset to the get API 24 alert watchers params

func (*GetAPI24AlertWatchersParams) SetSort

func (o *GetAPI24AlertWatchersParams) SetSort(sort []string)

SetSort adds the sort to the get API 24 alert watchers params

func (*GetAPI24AlertWatchersParams) SetTimeout

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

SetTimeout adds the timeout to the get API 24 alert watchers params

func (*GetAPI24AlertWatchersParams) SetTotalItemCount

func (o *GetAPI24AlertWatchersParams) SetTotalItemCount(totalItemCount *bool)

SetTotalItemCount adds the totalItemCount to the get API 24 alert watchers params

func (*GetAPI24AlertWatchersParams) SetXRequestID

func (o *GetAPI24AlertWatchersParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get API 24 alert watchers params

func (*GetAPI24AlertWatchersParams) WithAuthorization

func (o *GetAPI24AlertWatchersParams) WithAuthorization(authorization *string) *GetAPI24AlertWatchersParams

WithAuthorization adds the authorization to the get API 24 alert watchers params

func (*GetAPI24AlertWatchersParams) WithContext

WithContext adds the context to the get API 24 alert watchers params

func (*GetAPI24AlertWatchersParams) WithContinuationToken

func (o *GetAPI24AlertWatchersParams) WithContinuationToken(continuationToken *string) *GetAPI24AlertWatchersParams

WithContinuationToken adds the continuationToken to the get API 24 alert watchers params

func (*GetAPI24AlertWatchersParams) WithFilter

WithFilter adds the filter to the get API 24 alert watchers params

func (*GetAPI24AlertWatchersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get API 24 alert watchers params

func (*GetAPI24AlertWatchersParams) WithLimit

WithLimit adds the limit to the get API 24 alert watchers params

func (*GetAPI24AlertWatchersParams) WithNames

WithNames adds the names to the get API 24 alert watchers params

func (*GetAPI24AlertWatchersParams) WithOffset

WithOffset adds the offset to the get API 24 alert watchers params

func (*GetAPI24AlertWatchersParams) WithSort

WithSort adds the sort to the get API 24 alert watchers params

func (*GetAPI24AlertWatchersParams) WithTimeout

WithTimeout adds the timeout to the get API 24 alert watchers params

func (*GetAPI24AlertWatchersParams) WithTotalItemCount

func (o *GetAPI24AlertWatchersParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24AlertWatchersParams

WithTotalItemCount adds the totalItemCount to the get API 24 alert watchers params

func (*GetAPI24AlertWatchersParams) WithXRequestID

func (o *GetAPI24AlertWatchersParams) WithXRequestID(xRequestID *string) *GetAPI24AlertWatchersParams

WithXRequestID adds the xRequestID to the get API 24 alert watchers params

func (*GetAPI24AlertWatchersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPI24AlertWatchersReader

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

GetAPI24AlertWatchersReader is a Reader for the GetAPI24AlertWatchers structure.

func (*GetAPI24AlertWatchersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAPI24AlertWatchersTestParams

type GetAPI24AlertWatchersTestParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*Filter
	  Narrows down the results to only the response objects that satisfy the filter criteria.

	*/
	Filter *string
	/*Limit
	  Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set `limit=0`. The total number of resources is returned as a `total_item_count` value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

	*/
	Limit *int32
	/*Names
	  Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`.

	*/
	Names []string
	/*Offset
	  The starting position based on the results of the query in relation to the full set of response objects returned.

	*/
	Offset *int32
	/*Sort
	  Returns the response objects in the order specified. Set `sort` to the name in the response by which to sort. Sorting can be performed on any of the names in the response, and the objects can be sorted in ascending or descending order. By default, the response objects are sorted in ascending order. To sort in descending order, append the minus sign (`-`) to the name. A single request can be sorted on multiple objects. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple names, list the names as comma-separated values.

	*/
	Sort []string
	/*TotalItemCount
	  If set to `true`, the `total_item_count` matching the specified query parameters is calculated and returned in the response. If set to `false`, the `total_item_count` is `null` in the response. This may speed up queries where the `total_item_count` is large. If not specified, defaults to `false`.

	*/
	TotalItemCount *bool

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

GetAPI24AlertWatchersTestParams contains all the parameters to send to the API endpoint for the get API 24 alert watchers test operation typically these are written to a http.Request

func NewGetAPI24AlertWatchersTestParams

func NewGetAPI24AlertWatchersTestParams() *GetAPI24AlertWatchersTestParams

NewGetAPI24AlertWatchersTestParams creates a new GetAPI24AlertWatchersTestParams object with the default values initialized.

func NewGetAPI24AlertWatchersTestParamsWithContext

func NewGetAPI24AlertWatchersTestParamsWithContext(ctx context.Context) *GetAPI24AlertWatchersTestParams

NewGetAPI24AlertWatchersTestParamsWithContext creates a new GetAPI24AlertWatchersTestParams object with the default values initialized, and the ability to set a context for a request

func NewGetAPI24AlertWatchersTestParamsWithHTTPClient

func NewGetAPI24AlertWatchersTestParamsWithHTTPClient(client *http.Client) *GetAPI24AlertWatchersTestParams

NewGetAPI24AlertWatchersTestParamsWithHTTPClient creates a new GetAPI24AlertWatchersTestParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAPI24AlertWatchersTestParamsWithTimeout

func NewGetAPI24AlertWatchersTestParamsWithTimeout(timeout time.Duration) *GetAPI24AlertWatchersTestParams

NewGetAPI24AlertWatchersTestParamsWithTimeout creates a new GetAPI24AlertWatchersTestParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAPI24AlertWatchersTestParams) SetAuthorization

func (o *GetAPI24AlertWatchersTestParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the get API 24 alert watchers test params

func (*GetAPI24AlertWatchersTestParams) SetContext

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

SetContext adds the context to the get API 24 alert watchers test params

func (*GetAPI24AlertWatchersTestParams) SetFilter

func (o *GetAPI24AlertWatchersTestParams) SetFilter(filter *string)

SetFilter adds the filter to the get API 24 alert watchers test params

func (*GetAPI24AlertWatchersTestParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API 24 alert watchers test params

func (*GetAPI24AlertWatchersTestParams) SetLimit

func (o *GetAPI24AlertWatchersTestParams) SetLimit(limit *int32)

SetLimit adds the limit to the get API 24 alert watchers test params

func (*GetAPI24AlertWatchersTestParams) SetNames

func (o *GetAPI24AlertWatchersTestParams) SetNames(names []string)

SetNames adds the names to the get API 24 alert watchers test params

func (*GetAPI24AlertWatchersTestParams) SetOffset

func (o *GetAPI24AlertWatchersTestParams) SetOffset(offset *int32)

SetOffset adds the offset to the get API 24 alert watchers test params

func (*GetAPI24AlertWatchersTestParams) SetSort

func (o *GetAPI24AlertWatchersTestParams) SetSort(sort []string)

SetSort adds the sort to the get API 24 alert watchers test params

func (*GetAPI24AlertWatchersTestParams) SetTimeout

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

SetTimeout adds the timeout to the get API 24 alert watchers test params

func (*GetAPI24AlertWatchersTestParams) SetTotalItemCount

func (o *GetAPI24AlertWatchersTestParams) SetTotalItemCount(totalItemCount *bool)

SetTotalItemCount adds the totalItemCount to the get API 24 alert watchers test params

func (*GetAPI24AlertWatchersTestParams) SetXRequestID

func (o *GetAPI24AlertWatchersTestParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get API 24 alert watchers test params

func (*GetAPI24AlertWatchersTestParams) WithAuthorization

func (o *GetAPI24AlertWatchersTestParams) WithAuthorization(authorization *string) *GetAPI24AlertWatchersTestParams

WithAuthorization adds the authorization to the get API 24 alert watchers test params

func (*GetAPI24AlertWatchersTestParams) WithContext

WithContext adds the context to the get API 24 alert watchers test params

func (*GetAPI24AlertWatchersTestParams) WithFilter

WithFilter adds the filter to the get API 24 alert watchers test params

func (*GetAPI24AlertWatchersTestParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get API 24 alert watchers test params

func (*GetAPI24AlertWatchersTestParams) WithLimit

WithLimit adds the limit to the get API 24 alert watchers test params

func (*GetAPI24AlertWatchersTestParams) WithNames

WithNames adds the names to the get API 24 alert watchers test params

func (*GetAPI24AlertWatchersTestParams) WithOffset

WithOffset adds the offset to the get API 24 alert watchers test params

func (*GetAPI24AlertWatchersTestParams) WithSort

WithSort adds the sort to the get API 24 alert watchers test params

func (*GetAPI24AlertWatchersTestParams) WithTimeout

WithTimeout adds the timeout to the get API 24 alert watchers test params

func (*GetAPI24AlertWatchersTestParams) WithTotalItemCount

func (o *GetAPI24AlertWatchersTestParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24AlertWatchersTestParams

WithTotalItemCount adds the totalItemCount to the get API 24 alert watchers test params

func (*GetAPI24AlertWatchersTestParams) WithXRequestID

WithXRequestID adds the xRequestID to the get API 24 alert watchers test params

func (*GetAPI24AlertWatchersTestParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPI24AlertWatchersTestReader

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

GetAPI24AlertWatchersTestReader is a Reader for the GetAPI24AlertWatchersTest structure.

func (*GetAPI24AlertWatchersTestReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetApi24AlertWatchersBadRequest

type GetApi24AlertWatchersBadRequest struct {
	Payload *models.Error
}

GetApi24AlertWatchersBadRequest handles this case with default header values.

BadRequest

func NewGetApi24AlertWatchersBadRequest

func NewGetApi24AlertWatchersBadRequest() *GetApi24AlertWatchersBadRequest

NewGetApi24AlertWatchersBadRequest creates a GetApi24AlertWatchersBadRequest with default headers values

func (*GetApi24AlertWatchersBadRequest) Error

func (*GetApi24AlertWatchersBadRequest) GetPayload

func (o *GetApi24AlertWatchersBadRequest) GetPayload() *models.Error

type GetApi24AlertWatchersOK

type GetApi24AlertWatchersOK struct {
	Payload *models.AlertWatcherGetResponse
}

GetApi24AlertWatchersOK handles this case with default header values.

OK

func NewGetApi24AlertWatchersOK

func NewGetApi24AlertWatchersOK() *GetApi24AlertWatchersOK

NewGetApi24AlertWatchersOK creates a GetApi24AlertWatchersOK with default headers values

func (*GetApi24AlertWatchersOK) Error

func (o *GetApi24AlertWatchersOK) Error() string

func (*GetApi24AlertWatchersOK) GetPayload

type GetApi24AlertWatchersTestBadRequest

type GetApi24AlertWatchersTestBadRequest struct {
	Payload *models.Error
}

GetApi24AlertWatchersTestBadRequest handles this case with default header values.

BadRequest

func NewGetApi24AlertWatchersTestBadRequest

func NewGetApi24AlertWatchersTestBadRequest() *GetApi24AlertWatchersTestBadRequest

NewGetApi24AlertWatchersTestBadRequest creates a GetApi24AlertWatchersTestBadRequest with default headers values

func (*GetApi24AlertWatchersTestBadRequest) Error

func (*GetApi24AlertWatchersTestBadRequest) GetPayload

type GetApi24AlertWatchersTestOK

type GetApi24AlertWatchersTestOK struct {
	Payload *models.TestResultWithResourceGetResponse
}

GetApi24AlertWatchersTestOK handles this case with default header values.

OK

func NewGetApi24AlertWatchersTestOK

func NewGetApi24AlertWatchersTestOK() *GetApi24AlertWatchersTestOK

NewGetApi24AlertWatchersTestOK creates a GetApi24AlertWatchersTestOK with default headers values

func (*GetApi24AlertWatchersTestOK) Error

func (*GetApi24AlertWatchersTestOK) GetPayload

type PatchAPI24AlertWatchersParams

type PatchAPI24AlertWatchersParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*AlertWatcher*/
	AlertWatcher *models.AlertWatcherPatch
	/*Names
	  Performs the operation on the unique name specified. For example, `name01`. Enter multiple names in comma-separated format.

	*/
	Names []string

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

PatchAPI24AlertWatchersParams contains all the parameters to send to the API endpoint for the patch API 24 alert watchers operation typically these are written to a http.Request

func NewPatchAPI24AlertWatchersParams

func NewPatchAPI24AlertWatchersParams() *PatchAPI24AlertWatchersParams

NewPatchAPI24AlertWatchersParams creates a new PatchAPI24AlertWatchersParams object with the default values initialized.

func NewPatchAPI24AlertWatchersParamsWithContext

func NewPatchAPI24AlertWatchersParamsWithContext(ctx context.Context) *PatchAPI24AlertWatchersParams

NewPatchAPI24AlertWatchersParamsWithContext creates a new PatchAPI24AlertWatchersParams object with the default values initialized, and the ability to set a context for a request

func NewPatchAPI24AlertWatchersParamsWithHTTPClient

func NewPatchAPI24AlertWatchersParamsWithHTTPClient(client *http.Client) *PatchAPI24AlertWatchersParams

NewPatchAPI24AlertWatchersParamsWithHTTPClient creates a new PatchAPI24AlertWatchersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPatchAPI24AlertWatchersParamsWithTimeout

func NewPatchAPI24AlertWatchersParamsWithTimeout(timeout time.Duration) *PatchAPI24AlertWatchersParams

NewPatchAPI24AlertWatchersParamsWithTimeout creates a new PatchAPI24AlertWatchersParams object with the default values initialized, and the ability to set a timeout on a request

func (*PatchAPI24AlertWatchersParams) SetAlertWatcher

func (o *PatchAPI24AlertWatchersParams) SetAlertWatcher(alertWatcher *models.AlertWatcherPatch)

SetAlertWatcher adds the alertWatcher to the patch API 24 alert watchers params

func (*PatchAPI24AlertWatchersParams) SetAuthorization

func (o *PatchAPI24AlertWatchersParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the patch API 24 alert watchers params

func (*PatchAPI24AlertWatchersParams) SetContext

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

SetContext adds the context to the patch API 24 alert watchers params

func (*PatchAPI24AlertWatchersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch API 24 alert watchers params

func (*PatchAPI24AlertWatchersParams) SetNames

func (o *PatchAPI24AlertWatchersParams) SetNames(names []string)

SetNames adds the names to the patch API 24 alert watchers params

func (*PatchAPI24AlertWatchersParams) SetTimeout

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

SetTimeout adds the timeout to the patch API 24 alert watchers params

func (*PatchAPI24AlertWatchersParams) SetXRequestID

func (o *PatchAPI24AlertWatchersParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the patch API 24 alert watchers params

func (*PatchAPI24AlertWatchersParams) WithAlertWatcher

WithAlertWatcher adds the alertWatcher to the patch API 24 alert watchers params

func (*PatchAPI24AlertWatchersParams) WithAuthorization

func (o *PatchAPI24AlertWatchersParams) WithAuthorization(authorization *string) *PatchAPI24AlertWatchersParams

WithAuthorization adds the authorization to the patch API 24 alert watchers params

func (*PatchAPI24AlertWatchersParams) WithContext

WithContext adds the context to the patch API 24 alert watchers params

func (*PatchAPI24AlertWatchersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch API 24 alert watchers params

func (*PatchAPI24AlertWatchersParams) WithNames

WithNames adds the names to the patch API 24 alert watchers params

func (*PatchAPI24AlertWatchersParams) WithTimeout

WithTimeout adds the timeout to the patch API 24 alert watchers params

func (*PatchAPI24AlertWatchersParams) WithXRequestID

func (o *PatchAPI24AlertWatchersParams) WithXRequestID(xRequestID *string) *PatchAPI24AlertWatchersParams

WithXRequestID adds the xRequestID to the patch API 24 alert watchers params

func (*PatchAPI24AlertWatchersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchAPI24AlertWatchersReader

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

PatchAPI24AlertWatchersReader is a Reader for the PatchAPI24AlertWatchers structure.

func (*PatchAPI24AlertWatchersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchApi24AlertWatchersBadRequest

type PatchApi24AlertWatchersBadRequest struct {
	Payload *models.Error
}

PatchApi24AlertWatchersBadRequest handles this case with default header values.

BadRequest

func NewPatchApi24AlertWatchersBadRequest

func NewPatchApi24AlertWatchersBadRequest() *PatchApi24AlertWatchersBadRequest

NewPatchApi24AlertWatchersBadRequest creates a PatchApi24AlertWatchersBadRequest with default headers values

func (*PatchApi24AlertWatchersBadRequest) Error

func (*PatchApi24AlertWatchersBadRequest) GetPayload

type PatchApi24AlertWatchersOK

type PatchApi24AlertWatchersOK struct {
	Payload *models.AlertWatcherResponse
}

PatchApi24AlertWatchersOK handles this case with default header values.

OK

func NewPatchApi24AlertWatchersOK

func NewPatchApi24AlertWatchersOK() *PatchApi24AlertWatchersOK

NewPatchApi24AlertWatchersOK creates a PatchApi24AlertWatchersOK with default headers values

func (*PatchApi24AlertWatchersOK) Error

func (o *PatchApi24AlertWatchersOK) Error() string

func (*PatchApi24AlertWatchersOK) GetPayload

type PostAPI24AlertWatchersParams

type PostAPI24AlertWatchersParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*AlertWatcher*/
	AlertWatcher *models.AlertWatcherPost
	/*Names
	  Performs the operation on the unique name specified. For example, `name01`. Enter multiple names in comma-separated format.

	*/
	Names []string

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

PostAPI24AlertWatchersParams contains all the parameters to send to the API endpoint for the post API 24 alert watchers operation typically these are written to a http.Request

func NewPostAPI24AlertWatchersParams

func NewPostAPI24AlertWatchersParams() *PostAPI24AlertWatchersParams

NewPostAPI24AlertWatchersParams creates a new PostAPI24AlertWatchersParams object with the default values initialized.

func NewPostAPI24AlertWatchersParamsWithContext

func NewPostAPI24AlertWatchersParamsWithContext(ctx context.Context) *PostAPI24AlertWatchersParams

NewPostAPI24AlertWatchersParamsWithContext creates a new PostAPI24AlertWatchersParams object with the default values initialized, and the ability to set a context for a request

func NewPostAPI24AlertWatchersParamsWithHTTPClient

func NewPostAPI24AlertWatchersParamsWithHTTPClient(client *http.Client) *PostAPI24AlertWatchersParams

NewPostAPI24AlertWatchersParamsWithHTTPClient creates a new PostAPI24AlertWatchersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostAPI24AlertWatchersParamsWithTimeout

func NewPostAPI24AlertWatchersParamsWithTimeout(timeout time.Duration) *PostAPI24AlertWatchersParams

NewPostAPI24AlertWatchersParamsWithTimeout creates a new PostAPI24AlertWatchersParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostAPI24AlertWatchersParams) SetAlertWatcher

func (o *PostAPI24AlertWatchersParams) SetAlertWatcher(alertWatcher *models.AlertWatcherPost)

SetAlertWatcher adds the alertWatcher to the post API 24 alert watchers params

func (*PostAPI24AlertWatchersParams) SetAuthorization

func (o *PostAPI24AlertWatchersParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the post API 24 alert watchers params

func (*PostAPI24AlertWatchersParams) SetContext

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

SetContext adds the context to the post API 24 alert watchers params

func (*PostAPI24AlertWatchersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post API 24 alert watchers params

func (*PostAPI24AlertWatchersParams) SetNames

func (o *PostAPI24AlertWatchersParams) SetNames(names []string)

SetNames adds the names to the post API 24 alert watchers params

func (*PostAPI24AlertWatchersParams) SetTimeout

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

SetTimeout adds the timeout to the post API 24 alert watchers params

func (*PostAPI24AlertWatchersParams) SetXRequestID

func (o *PostAPI24AlertWatchersParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the post API 24 alert watchers params

func (*PostAPI24AlertWatchersParams) WithAlertWatcher

WithAlertWatcher adds the alertWatcher to the post API 24 alert watchers params

func (*PostAPI24AlertWatchersParams) WithAuthorization

func (o *PostAPI24AlertWatchersParams) WithAuthorization(authorization *string) *PostAPI24AlertWatchersParams

WithAuthorization adds the authorization to the post API 24 alert watchers params

func (*PostAPI24AlertWatchersParams) WithContext

WithContext adds the context to the post API 24 alert watchers params

func (*PostAPI24AlertWatchersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API 24 alert watchers params

func (*PostAPI24AlertWatchersParams) WithNames

WithNames adds the names to the post API 24 alert watchers params

func (*PostAPI24AlertWatchersParams) WithTimeout

WithTimeout adds the timeout to the post API 24 alert watchers params

func (*PostAPI24AlertWatchersParams) WithXRequestID

func (o *PostAPI24AlertWatchersParams) WithXRequestID(xRequestID *string) *PostAPI24AlertWatchersParams

WithXRequestID adds the xRequestID to the post API 24 alert watchers params

func (*PostAPI24AlertWatchersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAPI24AlertWatchersReader

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

PostAPI24AlertWatchersReader is a Reader for the PostAPI24AlertWatchers structure.

func (*PostAPI24AlertWatchersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostApi24AlertWatchersBadRequest

type PostApi24AlertWatchersBadRequest struct {
	Payload *models.Error
}

PostApi24AlertWatchersBadRequest handles this case with default header values.

BadRequest

func NewPostApi24AlertWatchersBadRequest

func NewPostApi24AlertWatchersBadRequest() *PostApi24AlertWatchersBadRequest

NewPostApi24AlertWatchersBadRequest creates a PostApi24AlertWatchersBadRequest with default headers values

func (*PostApi24AlertWatchersBadRequest) Error

func (*PostApi24AlertWatchersBadRequest) GetPayload

type PostApi24AlertWatchersOK

type PostApi24AlertWatchersOK struct {
	Payload *models.AlertWatcherResponse
}

PostApi24AlertWatchersOK handles this case with default header values.

OK

func NewPostApi24AlertWatchersOK

func NewPostApi24AlertWatchersOK() *PostApi24AlertWatchersOK

NewPostApi24AlertWatchersOK creates a PostApi24AlertWatchersOK with default headers values

func (*PostApi24AlertWatchersOK) Error

func (o *PostApi24AlertWatchersOK) Error() string

func (*PostApi24AlertWatchersOK) GetPayload

Jump to

Keyboard shortcuts

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