Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteAPI24AlertWatchers(params *DeleteAPI24AlertWatchersParams) (*DeleteApi24AlertWatchersOK, error)
- func (a *Client) GetAPI24AlertWatchers(params *GetAPI24AlertWatchersParams) (*GetApi24AlertWatchersOK, error)
- func (a *Client) GetAPI24AlertWatchersTest(params *GetAPI24AlertWatchersTestParams) (*GetApi24AlertWatchersTestOK, error)
- func (a *Client) PatchAPI24AlertWatchers(params *PatchAPI24AlertWatchersParams) (*PatchApi24AlertWatchersOK, error)
- func (a *Client) PostAPI24AlertWatchers(params *PostAPI24AlertWatchersParams) (*PostApi24AlertWatchersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DeleteAPI24AlertWatchersParams
- func NewDeleteAPI24AlertWatchersParams() *DeleteAPI24AlertWatchersParams
- func NewDeleteAPI24AlertWatchersParamsWithContext(ctx context.Context) *DeleteAPI24AlertWatchersParams
- func NewDeleteAPI24AlertWatchersParamsWithHTTPClient(client *http.Client) *DeleteAPI24AlertWatchersParams
- func NewDeleteAPI24AlertWatchersParamsWithTimeout(timeout time.Duration) *DeleteAPI24AlertWatchersParams
- func (o *DeleteAPI24AlertWatchersParams) SetAuthorization(authorization *string)
- func (o *DeleteAPI24AlertWatchersParams) SetContext(ctx context.Context)
- func (o *DeleteAPI24AlertWatchersParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAPI24AlertWatchersParams) SetNames(names []string)
- func (o *DeleteAPI24AlertWatchersParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAPI24AlertWatchersParams) SetXRequestID(xRequestID *string)
- func (o *DeleteAPI24AlertWatchersParams) WithAuthorization(authorization *string) *DeleteAPI24AlertWatchersParams
- func (o *DeleteAPI24AlertWatchersParams) WithContext(ctx context.Context) *DeleteAPI24AlertWatchersParams
- func (o *DeleteAPI24AlertWatchersParams) WithHTTPClient(client *http.Client) *DeleteAPI24AlertWatchersParams
- func (o *DeleteAPI24AlertWatchersParams) WithNames(names []string) *DeleteAPI24AlertWatchersParams
- func (o *DeleteAPI24AlertWatchersParams) WithTimeout(timeout time.Duration) *DeleteAPI24AlertWatchersParams
- func (o *DeleteAPI24AlertWatchersParams) WithXRequestID(xRequestID *string) *DeleteAPI24AlertWatchersParams
- func (o *DeleteAPI24AlertWatchersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAPI24AlertWatchersReader
- type DeleteApi24AlertWatchersBadRequest
- type DeleteApi24AlertWatchersOK
- type GetAPI24AlertWatchersParams
- func NewGetAPI24AlertWatchersParams() *GetAPI24AlertWatchersParams
- func NewGetAPI24AlertWatchersParamsWithContext(ctx context.Context) *GetAPI24AlertWatchersParams
- func NewGetAPI24AlertWatchersParamsWithHTTPClient(client *http.Client) *GetAPI24AlertWatchersParams
- func NewGetAPI24AlertWatchersParamsWithTimeout(timeout time.Duration) *GetAPI24AlertWatchersParams
- func (o *GetAPI24AlertWatchersParams) SetAuthorization(authorization *string)
- func (o *GetAPI24AlertWatchersParams) SetContext(ctx context.Context)
- func (o *GetAPI24AlertWatchersParams) SetContinuationToken(continuationToken *string)
- func (o *GetAPI24AlertWatchersParams) SetFilter(filter *string)
- func (o *GetAPI24AlertWatchersParams) SetHTTPClient(client *http.Client)
- func (o *GetAPI24AlertWatchersParams) SetLimit(limit *int32)
- func (o *GetAPI24AlertWatchersParams) SetNames(names []string)
- func (o *GetAPI24AlertWatchersParams) SetOffset(offset *int32)
- func (o *GetAPI24AlertWatchersParams) SetSort(sort []string)
- func (o *GetAPI24AlertWatchersParams) SetTimeout(timeout time.Duration)
- func (o *GetAPI24AlertWatchersParams) SetTotalItemCount(totalItemCount *bool)
- func (o *GetAPI24AlertWatchersParams) SetXRequestID(xRequestID *string)
- func (o *GetAPI24AlertWatchersParams) WithAuthorization(authorization *string) *GetAPI24AlertWatchersParams
- func (o *GetAPI24AlertWatchersParams) WithContext(ctx context.Context) *GetAPI24AlertWatchersParams
- func (o *GetAPI24AlertWatchersParams) WithContinuationToken(continuationToken *string) *GetAPI24AlertWatchersParams
- func (o *GetAPI24AlertWatchersParams) WithFilter(filter *string) *GetAPI24AlertWatchersParams
- func (o *GetAPI24AlertWatchersParams) WithHTTPClient(client *http.Client) *GetAPI24AlertWatchersParams
- func (o *GetAPI24AlertWatchersParams) WithLimit(limit *int32) *GetAPI24AlertWatchersParams
- func (o *GetAPI24AlertWatchersParams) WithNames(names []string) *GetAPI24AlertWatchersParams
- func (o *GetAPI24AlertWatchersParams) WithOffset(offset *int32) *GetAPI24AlertWatchersParams
- func (o *GetAPI24AlertWatchersParams) WithSort(sort []string) *GetAPI24AlertWatchersParams
- func (o *GetAPI24AlertWatchersParams) WithTimeout(timeout time.Duration) *GetAPI24AlertWatchersParams
- func (o *GetAPI24AlertWatchersParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24AlertWatchersParams
- func (o *GetAPI24AlertWatchersParams) WithXRequestID(xRequestID *string) *GetAPI24AlertWatchersParams
- func (o *GetAPI24AlertWatchersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPI24AlertWatchersReader
- type GetAPI24AlertWatchersTestParams
- func NewGetAPI24AlertWatchersTestParams() *GetAPI24AlertWatchersTestParams
- func NewGetAPI24AlertWatchersTestParamsWithContext(ctx context.Context) *GetAPI24AlertWatchersTestParams
- func NewGetAPI24AlertWatchersTestParamsWithHTTPClient(client *http.Client) *GetAPI24AlertWatchersTestParams
- func NewGetAPI24AlertWatchersTestParamsWithTimeout(timeout time.Duration) *GetAPI24AlertWatchersTestParams
- func (o *GetAPI24AlertWatchersTestParams) SetAuthorization(authorization *string)
- func (o *GetAPI24AlertWatchersTestParams) SetContext(ctx context.Context)
- func (o *GetAPI24AlertWatchersTestParams) SetFilter(filter *string)
- func (o *GetAPI24AlertWatchersTestParams) SetHTTPClient(client *http.Client)
- func (o *GetAPI24AlertWatchersTestParams) SetLimit(limit *int32)
- func (o *GetAPI24AlertWatchersTestParams) SetNames(names []string)
- func (o *GetAPI24AlertWatchersTestParams) SetOffset(offset *int32)
- func (o *GetAPI24AlertWatchersTestParams) SetSort(sort []string)
- func (o *GetAPI24AlertWatchersTestParams) SetTimeout(timeout time.Duration)
- func (o *GetAPI24AlertWatchersTestParams) SetTotalItemCount(totalItemCount *bool)
- func (o *GetAPI24AlertWatchersTestParams) SetXRequestID(xRequestID *string)
- func (o *GetAPI24AlertWatchersTestParams) WithAuthorization(authorization *string) *GetAPI24AlertWatchersTestParams
- func (o *GetAPI24AlertWatchersTestParams) WithContext(ctx context.Context) *GetAPI24AlertWatchersTestParams
- func (o *GetAPI24AlertWatchersTestParams) WithFilter(filter *string) *GetAPI24AlertWatchersTestParams
- func (o *GetAPI24AlertWatchersTestParams) WithHTTPClient(client *http.Client) *GetAPI24AlertWatchersTestParams
- func (o *GetAPI24AlertWatchersTestParams) WithLimit(limit *int32) *GetAPI24AlertWatchersTestParams
- func (o *GetAPI24AlertWatchersTestParams) WithNames(names []string) *GetAPI24AlertWatchersTestParams
- func (o *GetAPI24AlertWatchersTestParams) WithOffset(offset *int32) *GetAPI24AlertWatchersTestParams
- func (o *GetAPI24AlertWatchersTestParams) WithSort(sort []string) *GetAPI24AlertWatchersTestParams
- func (o *GetAPI24AlertWatchersTestParams) WithTimeout(timeout time.Duration) *GetAPI24AlertWatchersTestParams
- func (o *GetAPI24AlertWatchersTestParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24AlertWatchersTestParams
- func (o *GetAPI24AlertWatchersTestParams) WithXRequestID(xRequestID *string) *GetAPI24AlertWatchersTestParams
- func (o *GetAPI24AlertWatchersTestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPI24AlertWatchersTestReader
- type GetApi24AlertWatchersBadRequest
- type GetApi24AlertWatchersOK
- type GetApi24AlertWatchersTestBadRequest
- type GetApi24AlertWatchersTestOK
- type PatchAPI24AlertWatchersParams
- func NewPatchAPI24AlertWatchersParams() *PatchAPI24AlertWatchersParams
- func NewPatchAPI24AlertWatchersParamsWithContext(ctx context.Context) *PatchAPI24AlertWatchersParams
- func NewPatchAPI24AlertWatchersParamsWithHTTPClient(client *http.Client) *PatchAPI24AlertWatchersParams
- func NewPatchAPI24AlertWatchersParamsWithTimeout(timeout time.Duration) *PatchAPI24AlertWatchersParams
- func (o *PatchAPI24AlertWatchersParams) SetAlertWatcher(alertWatcher *models.AlertWatcherPatch)
- func (o *PatchAPI24AlertWatchersParams) SetAuthorization(authorization *string)
- func (o *PatchAPI24AlertWatchersParams) SetContext(ctx context.Context)
- func (o *PatchAPI24AlertWatchersParams) SetHTTPClient(client *http.Client)
- func (o *PatchAPI24AlertWatchersParams) SetNames(names []string)
- func (o *PatchAPI24AlertWatchersParams) SetTimeout(timeout time.Duration)
- func (o *PatchAPI24AlertWatchersParams) SetXRequestID(xRequestID *string)
- func (o *PatchAPI24AlertWatchersParams) WithAlertWatcher(alertWatcher *models.AlertWatcherPatch) *PatchAPI24AlertWatchersParams
- func (o *PatchAPI24AlertWatchersParams) WithAuthorization(authorization *string) *PatchAPI24AlertWatchersParams
- func (o *PatchAPI24AlertWatchersParams) WithContext(ctx context.Context) *PatchAPI24AlertWatchersParams
- func (o *PatchAPI24AlertWatchersParams) WithHTTPClient(client *http.Client) *PatchAPI24AlertWatchersParams
- func (o *PatchAPI24AlertWatchersParams) WithNames(names []string) *PatchAPI24AlertWatchersParams
- func (o *PatchAPI24AlertWatchersParams) WithTimeout(timeout time.Duration) *PatchAPI24AlertWatchersParams
- func (o *PatchAPI24AlertWatchersParams) WithXRequestID(xRequestID *string) *PatchAPI24AlertWatchersParams
- func (o *PatchAPI24AlertWatchersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchAPI24AlertWatchersReader
- type PatchApi24AlertWatchersBadRequest
- type PatchApi24AlertWatchersOK
- type PostAPI24AlertWatchersParams
- func NewPostAPI24AlertWatchersParams() *PostAPI24AlertWatchersParams
- func NewPostAPI24AlertWatchersParamsWithContext(ctx context.Context) *PostAPI24AlertWatchersParams
- func NewPostAPI24AlertWatchersParamsWithHTTPClient(client *http.Client) *PostAPI24AlertWatchersParams
- func NewPostAPI24AlertWatchersParamsWithTimeout(timeout time.Duration) *PostAPI24AlertWatchersParams
- func (o *PostAPI24AlertWatchersParams) SetAlertWatcher(alertWatcher *models.AlertWatcherPost)
- func (o *PostAPI24AlertWatchersParams) SetAuthorization(authorization *string)
- func (o *PostAPI24AlertWatchersParams) SetContext(ctx context.Context)
- func (o *PostAPI24AlertWatchersParams) SetHTTPClient(client *http.Client)
- func (o *PostAPI24AlertWatchersParams) SetNames(names []string)
- func (o *PostAPI24AlertWatchersParams) SetTimeout(timeout time.Duration)
- func (o *PostAPI24AlertWatchersParams) SetXRequestID(xRequestID *string)
- func (o *PostAPI24AlertWatchersParams) WithAlertWatcher(alertWatcher *models.AlertWatcherPost) *PostAPI24AlertWatchersParams
- func (o *PostAPI24AlertWatchersParams) WithAuthorization(authorization *string) *PostAPI24AlertWatchersParams
- func (o *PostAPI24AlertWatchersParams) WithContext(ctx context.Context) *PostAPI24AlertWatchersParams
- func (o *PostAPI24AlertWatchersParams) WithHTTPClient(client *http.Client) *PostAPI24AlertWatchersParams
- func (o *PostAPI24AlertWatchersParams) WithNames(names []string) *PostAPI24AlertWatchersParams
- func (o *PostAPI24AlertWatchersParams) WithTimeout(timeout time.Duration) *PostAPI24AlertWatchersParams
- func (o *PostAPI24AlertWatchersParams) WithXRequestID(xRequestID *string) *PostAPI24AlertWatchersParams
- func (o *PostAPI24AlertWatchersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPI24AlertWatchersReader
- type PostApi24AlertWatchersBadRequest
- type PostApi24AlertWatchersOK
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 ¶
func (o *DeleteAPI24AlertWatchersParams) WithContext(ctx context.Context) *DeleteAPI24AlertWatchersParams
WithContext adds the context to the delete API 24 alert watchers params
func (*DeleteAPI24AlertWatchersParams) WithHTTPClient ¶
func (o *DeleteAPI24AlertWatchersParams) WithHTTPClient(client *http.Client) *DeleteAPI24AlertWatchersParams
WithHTTPClient adds the HTTPClient to the delete API 24 alert watchers params
func (*DeleteAPI24AlertWatchersParams) WithNames ¶
func (o *DeleteAPI24AlertWatchersParams) WithNames(names []string) *DeleteAPI24AlertWatchersParams
WithNames adds the names to the delete API 24 alert watchers params
func (*DeleteAPI24AlertWatchersParams) WithTimeout ¶
func (o *DeleteAPI24AlertWatchersParams) WithTimeout(timeout time.Duration) *DeleteAPI24AlertWatchersParams
WithTimeout adds the timeout to the delete API 24 alert watchers params
func (*DeleteAPI24AlertWatchersParams) WithXRequestID ¶
func (o *DeleteAPI24AlertWatchersParams) WithXRequestID(xRequestID *string) *DeleteAPI24AlertWatchersParams
WithXRequestID adds the xRequestID to the delete API 24 alert watchers params
func (*DeleteAPI24AlertWatchersParams) WriteToRequest ¶
func (o *DeleteAPI24AlertWatchersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *DeleteApi24AlertWatchersBadRequest) Error() string
func (*DeleteApi24AlertWatchersBadRequest) GetPayload ¶
func (o *DeleteApi24AlertWatchersBadRequest) GetPayload() *models.Error
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 ¶
func (o *DeleteApi24AlertWatchersOK) Error() string
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 ¶
func (o *GetAPI24AlertWatchersParams) WithContext(ctx context.Context) *GetAPI24AlertWatchersParams
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 ¶
func (o *GetAPI24AlertWatchersParams) WithFilter(filter *string) *GetAPI24AlertWatchersParams
WithFilter adds the filter to the get API 24 alert watchers params
func (*GetAPI24AlertWatchersParams) WithHTTPClient ¶
func (o *GetAPI24AlertWatchersParams) WithHTTPClient(client *http.Client) *GetAPI24AlertWatchersParams
WithHTTPClient adds the HTTPClient to the get API 24 alert watchers params
func (*GetAPI24AlertWatchersParams) WithLimit ¶
func (o *GetAPI24AlertWatchersParams) WithLimit(limit *int32) *GetAPI24AlertWatchersParams
WithLimit adds the limit to the get API 24 alert watchers params
func (*GetAPI24AlertWatchersParams) WithNames ¶
func (o *GetAPI24AlertWatchersParams) WithNames(names []string) *GetAPI24AlertWatchersParams
WithNames adds the names to the get API 24 alert watchers params
func (*GetAPI24AlertWatchersParams) WithOffset ¶
func (o *GetAPI24AlertWatchersParams) WithOffset(offset *int32) *GetAPI24AlertWatchersParams
WithOffset adds the offset to the get API 24 alert watchers params
func (*GetAPI24AlertWatchersParams) WithSort ¶
func (o *GetAPI24AlertWatchersParams) WithSort(sort []string) *GetAPI24AlertWatchersParams
WithSort adds the sort to the get API 24 alert watchers params
func (*GetAPI24AlertWatchersParams) WithTimeout ¶
func (o *GetAPI24AlertWatchersParams) WithTimeout(timeout time.Duration) *GetAPI24AlertWatchersParams
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 ¶
func (o *GetAPI24AlertWatchersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetAPI24AlertWatchersTestParams) WithContext(ctx context.Context) *GetAPI24AlertWatchersTestParams
WithContext adds the context to the get API 24 alert watchers test params
func (*GetAPI24AlertWatchersTestParams) WithFilter ¶
func (o *GetAPI24AlertWatchersTestParams) WithFilter(filter *string) *GetAPI24AlertWatchersTestParams
WithFilter adds the filter to the get API 24 alert watchers test params
func (*GetAPI24AlertWatchersTestParams) WithHTTPClient ¶
func (o *GetAPI24AlertWatchersTestParams) WithHTTPClient(client *http.Client) *GetAPI24AlertWatchersTestParams
WithHTTPClient adds the HTTPClient to the get API 24 alert watchers test params
func (*GetAPI24AlertWatchersTestParams) WithLimit ¶
func (o *GetAPI24AlertWatchersTestParams) WithLimit(limit *int32) *GetAPI24AlertWatchersTestParams
WithLimit adds the limit to the get API 24 alert watchers test params
func (*GetAPI24AlertWatchersTestParams) WithNames ¶
func (o *GetAPI24AlertWatchersTestParams) WithNames(names []string) *GetAPI24AlertWatchersTestParams
WithNames adds the names to the get API 24 alert watchers test params
func (*GetAPI24AlertWatchersTestParams) WithOffset ¶
func (o *GetAPI24AlertWatchersTestParams) WithOffset(offset *int32) *GetAPI24AlertWatchersTestParams
WithOffset adds the offset to the get API 24 alert watchers test params
func (*GetAPI24AlertWatchersTestParams) WithSort ¶
func (o *GetAPI24AlertWatchersTestParams) WithSort(sort []string) *GetAPI24AlertWatchersTestParams
WithSort adds the sort to the get API 24 alert watchers test params
func (*GetAPI24AlertWatchersTestParams) WithTimeout ¶
func (o *GetAPI24AlertWatchersTestParams) WithTimeout(timeout time.Duration) *GetAPI24AlertWatchersTestParams
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 ¶
func (o *GetAPI24AlertWatchersTestParams) WithXRequestID(xRequestID *string) *GetAPI24AlertWatchersTestParams
WithXRequestID adds the xRequestID to the get API 24 alert watchers test params
func (*GetAPI24AlertWatchersTestParams) WriteToRequest ¶
func (o *GetAPI24AlertWatchersTestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *GetApi24AlertWatchersBadRequest) Error() string
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 ¶
func (o *GetApi24AlertWatchersOK) GetPayload() *models.AlertWatcherGetResponse
type GetApi24AlertWatchersTestBadRequest ¶
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 (o *GetApi24AlertWatchersTestBadRequest) Error() string
func (*GetApi24AlertWatchersTestBadRequest) GetPayload ¶
func (o *GetApi24AlertWatchersTestBadRequest) GetPayload() *models.Error
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 (o *GetApi24AlertWatchersTestOK) Error() string
func (*GetApi24AlertWatchersTestOK) GetPayload ¶
func (o *GetApi24AlertWatchersTestOK) GetPayload() *models.TestResultWithResourceGetResponse
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 ¶
func (o *PatchAPI24AlertWatchersParams) WithAlertWatcher(alertWatcher *models.AlertWatcherPatch) *PatchAPI24AlertWatchersParams
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 ¶
func (o *PatchAPI24AlertWatchersParams) WithContext(ctx context.Context) *PatchAPI24AlertWatchersParams
WithContext adds the context to the patch API 24 alert watchers params
func (*PatchAPI24AlertWatchersParams) WithHTTPClient ¶
func (o *PatchAPI24AlertWatchersParams) WithHTTPClient(client *http.Client) *PatchAPI24AlertWatchersParams
WithHTTPClient adds the HTTPClient to the patch API 24 alert watchers params
func (*PatchAPI24AlertWatchersParams) WithNames ¶
func (o *PatchAPI24AlertWatchersParams) WithNames(names []string) *PatchAPI24AlertWatchersParams
WithNames adds the names to the patch API 24 alert watchers params
func (*PatchAPI24AlertWatchersParams) WithTimeout ¶
func (o *PatchAPI24AlertWatchersParams) WithTimeout(timeout time.Duration) *PatchAPI24AlertWatchersParams
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 ¶
func (o *PatchAPI24AlertWatchersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *PatchApi24AlertWatchersBadRequest) Error() string
func (*PatchApi24AlertWatchersBadRequest) GetPayload ¶
func (o *PatchApi24AlertWatchersBadRequest) GetPayload() *models.Error
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 ¶
func (o *PatchApi24AlertWatchersOK) GetPayload() *models.AlertWatcherResponse
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 ¶
func (o *PostAPI24AlertWatchersParams) WithAlertWatcher(alertWatcher *models.AlertWatcherPost) *PostAPI24AlertWatchersParams
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 ¶
func (o *PostAPI24AlertWatchersParams) WithContext(ctx context.Context) *PostAPI24AlertWatchersParams
WithContext adds the context to the post API 24 alert watchers params
func (*PostAPI24AlertWatchersParams) WithHTTPClient ¶
func (o *PostAPI24AlertWatchersParams) WithHTTPClient(client *http.Client) *PostAPI24AlertWatchersParams
WithHTTPClient adds the HTTPClient to the post API 24 alert watchers params
func (*PostAPI24AlertWatchersParams) WithNames ¶
func (o *PostAPI24AlertWatchersParams) WithNames(names []string) *PostAPI24AlertWatchersParams
WithNames adds the names to the post API 24 alert watchers params
func (*PostAPI24AlertWatchersParams) WithTimeout ¶
func (o *PostAPI24AlertWatchersParams) WithTimeout(timeout time.Duration) *PostAPI24AlertWatchersParams
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 ¶
func (o *PostAPI24AlertWatchersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *PostApi24AlertWatchersBadRequest) Error() string
func (*PostApi24AlertWatchersBadRequest) GetPayload ¶
func (o *PostApi24AlertWatchersBadRequest) GetPayload() *models.Error
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 ¶
func (o *PostApi24AlertWatchersOK) GetPayload() *models.AlertWatcherResponse
Source Files
¶
- alert_watchers_client.go
- delete_api_24_alert_watchers_parameters.go
- delete_api_24_alert_watchers_responses.go
- get_api_24_alert_watchers_parameters.go
- get_api_24_alert_watchers_responses.go
- get_api_24_alert_watchers_test_swagger_parameters.go
- get_api_24_alert_watchers_test_swagger_responses.go
- patch_api_24_alert_watchers_parameters.go
- patch_api_24_alert_watchers_responses.go
- post_api_24_alert_watchers_parameters.go
- post_api_24_alert_watchers_responses.go