Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateAlertNotifier(params *CreateAlertNotifierParams, opts ...ClientOption) (*CreateAlertNotifierOK, error)
- func (a *Client) DeleteAlertNotifier(params *DeleteAlertNotifierParams, opts ...ClientOption) (*DeleteAlertNotifierOK, error)
- func (a *Client) GetAlertNotifiers(params *GetAlertNotifiersParams, opts ...ClientOption) (*GetAlertNotifiersOK, error)
- func (a *Client) GetAlertNotifiersConnection(params *GetAlertNotifiersConnectionParams, opts ...ClientOption) (*GetAlertNotifiersConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateAlertNotifier(params *UpdateAlertNotifierParams, opts ...ClientOption) (*UpdateAlertNotifierOK, error)
- func (a *Client) UpdateManyAlertNotifiers(params *UpdateManyAlertNotifiersParams, opts ...ClientOption) (*UpdateManyAlertNotifiersOK, error)
- type ClientOption
- type ClientService
- type CreateAlertNotifierBadRequest
- type CreateAlertNotifierInternalServerError
- type CreateAlertNotifierNotFound
- type CreateAlertNotifierOK
- type CreateAlertNotifierParams
- func NewCreateAlertNotifierParams() *CreateAlertNotifierParams
- func NewCreateAlertNotifierParamsWithContext(ctx context.Context) *CreateAlertNotifierParams
- func NewCreateAlertNotifierParamsWithHTTPClient(client *http.Client) *CreateAlertNotifierParams
- func NewCreateAlertNotifierParamsWithTimeout(timeout time.Duration) *CreateAlertNotifierParams
- func (o *CreateAlertNotifierParams) SetContext(ctx context.Context)
- func (o *CreateAlertNotifierParams) SetDefaults()
- func (o *CreateAlertNotifierParams) SetHTTPClient(client *http.Client)
- func (o *CreateAlertNotifierParams) SetRequestBody(requestBody []*models.AlertNotifierCreationParams)
- func (o *CreateAlertNotifierParams) SetTimeout(timeout time.Duration)
- func (o *CreateAlertNotifierParams) WithContext(ctx context.Context) *CreateAlertNotifierParams
- func (o *CreateAlertNotifierParams) WithDefaults() *CreateAlertNotifierParams
- func (o *CreateAlertNotifierParams) WithHTTPClient(client *http.Client) *CreateAlertNotifierParams
- func (o *CreateAlertNotifierParams) WithRequestBody(requestBody []*models.AlertNotifierCreationParams) *CreateAlertNotifierParams
- func (o *CreateAlertNotifierParams) WithTimeout(timeout time.Duration) *CreateAlertNotifierParams
- func (o *CreateAlertNotifierParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateAlertNotifierReader
- type DeleteAlertNotifierBadRequest
- type DeleteAlertNotifierInternalServerError
- type DeleteAlertNotifierNotFound
- type DeleteAlertNotifierOK
- type DeleteAlertNotifierParams
- func NewDeleteAlertNotifierParams() *DeleteAlertNotifierParams
- func NewDeleteAlertNotifierParamsWithContext(ctx context.Context) *DeleteAlertNotifierParams
- func NewDeleteAlertNotifierParamsWithHTTPClient(client *http.Client) *DeleteAlertNotifierParams
- func NewDeleteAlertNotifierParamsWithTimeout(timeout time.Duration) *DeleteAlertNotifierParams
- func (o *DeleteAlertNotifierParams) SetContext(ctx context.Context)
- func (o *DeleteAlertNotifierParams) SetDefaults()
- func (o *DeleteAlertNotifierParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAlertNotifierParams) SetRequestBody(requestBody *models.DeleteAlertNotifierParams)
- func (o *DeleteAlertNotifierParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAlertNotifierParams) WithContext(ctx context.Context) *DeleteAlertNotifierParams
- func (o *DeleteAlertNotifierParams) WithDefaults() *DeleteAlertNotifierParams
- func (o *DeleteAlertNotifierParams) WithHTTPClient(client *http.Client) *DeleteAlertNotifierParams
- func (o *DeleteAlertNotifierParams) WithRequestBody(requestBody *models.DeleteAlertNotifierParams) *DeleteAlertNotifierParams
- func (o *DeleteAlertNotifierParams) WithTimeout(timeout time.Duration) *DeleteAlertNotifierParams
- func (o *DeleteAlertNotifierParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAlertNotifierReader
- type GetAlertNotifiersBadRequest
- type GetAlertNotifiersConnectionBadRequest
- type GetAlertNotifiersConnectionInternalServerError
- type GetAlertNotifiersConnectionNotFound
- type GetAlertNotifiersConnectionOK
- type GetAlertNotifiersConnectionParams
- func NewGetAlertNotifiersConnectionParams() *GetAlertNotifiersConnectionParams
- func NewGetAlertNotifiersConnectionParamsWithContext(ctx context.Context) *GetAlertNotifiersConnectionParams
- func NewGetAlertNotifiersConnectionParamsWithHTTPClient(client *http.Client) *GetAlertNotifiersConnectionParams
- func NewGetAlertNotifiersConnectionParamsWithTimeout(timeout time.Duration) *GetAlertNotifiersConnectionParams
- func (o *GetAlertNotifiersConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetAlertNotifiersConnectionParams) SetContext(ctx context.Context)
- func (o *GetAlertNotifiersConnectionParams) SetDefaults()
- func (o *GetAlertNotifiersConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetAlertNotifiersConnectionParams) SetRequestBody(requestBody *models.GetAlertNotifiersConnectionRequestBody)
- func (o *GetAlertNotifiersConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetAlertNotifiersConnectionParams) WithContentLanguage(contentLanguage *string) *GetAlertNotifiersConnectionParams
- func (o *GetAlertNotifiersConnectionParams) WithContext(ctx context.Context) *GetAlertNotifiersConnectionParams
- func (o *GetAlertNotifiersConnectionParams) WithDefaults() *GetAlertNotifiersConnectionParams
- func (o *GetAlertNotifiersConnectionParams) WithHTTPClient(client *http.Client) *GetAlertNotifiersConnectionParams
- func (o *GetAlertNotifiersConnectionParams) WithRequestBody(requestBody *models.GetAlertNotifiersConnectionRequestBody) *GetAlertNotifiersConnectionParams
- func (o *GetAlertNotifiersConnectionParams) WithTimeout(timeout time.Duration) *GetAlertNotifiersConnectionParams
- func (o *GetAlertNotifiersConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAlertNotifiersConnectionReader
- type GetAlertNotifiersInternalServerError
- type GetAlertNotifiersNotFound
- type GetAlertNotifiersOK
- type GetAlertNotifiersParams
- func NewGetAlertNotifiersParams() *GetAlertNotifiersParams
- func NewGetAlertNotifiersParamsWithContext(ctx context.Context) *GetAlertNotifiersParams
- func NewGetAlertNotifiersParamsWithHTTPClient(client *http.Client) *GetAlertNotifiersParams
- func NewGetAlertNotifiersParamsWithTimeout(timeout time.Duration) *GetAlertNotifiersParams
- func (o *GetAlertNotifiersParams) SetContentLanguage(contentLanguage *string)
- func (o *GetAlertNotifiersParams) SetContext(ctx context.Context)
- func (o *GetAlertNotifiersParams) SetDefaults()
- func (o *GetAlertNotifiersParams) SetHTTPClient(client *http.Client)
- func (o *GetAlertNotifiersParams) SetRequestBody(requestBody *models.GetAlertNotifiersRequestBody)
- func (o *GetAlertNotifiersParams) SetTimeout(timeout time.Duration)
- func (o *GetAlertNotifiersParams) WithContentLanguage(contentLanguage *string) *GetAlertNotifiersParams
- func (o *GetAlertNotifiersParams) WithContext(ctx context.Context) *GetAlertNotifiersParams
- func (o *GetAlertNotifiersParams) WithDefaults() *GetAlertNotifiersParams
- func (o *GetAlertNotifiersParams) WithHTTPClient(client *http.Client) *GetAlertNotifiersParams
- func (o *GetAlertNotifiersParams) WithRequestBody(requestBody *models.GetAlertNotifiersRequestBody) *GetAlertNotifiersParams
- func (o *GetAlertNotifiersParams) WithTimeout(timeout time.Duration) *GetAlertNotifiersParams
- func (o *GetAlertNotifiersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAlertNotifiersReader
- type UpdateAlertNotifierBadRequest
- type UpdateAlertNotifierInternalServerError
- type UpdateAlertNotifierNotFound
- type UpdateAlertNotifierOK
- type UpdateAlertNotifierParams
- func NewUpdateAlertNotifierParams() *UpdateAlertNotifierParams
- func NewUpdateAlertNotifierParamsWithContext(ctx context.Context) *UpdateAlertNotifierParams
- func NewUpdateAlertNotifierParamsWithHTTPClient(client *http.Client) *UpdateAlertNotifierParams
- func NewUpdateAlertNotifierParamsWithTimeout(timeout time.Duration) *UpdateAlertNotifierParams
- func (o *UpdateAlertNotifierParams) SetContext(ctx context.Context)
- func (o *UpdateAlertNotifierParams) SetDefaults()
- func (o *UpdateAlertNotifierParams) SetHTTPClient(client *http.Client)
- func (o *UpdateAlertNotifierParams) SetRequestBody(requestBody *models.AlertNotifierUpdationParams)
- func (o *UpdateAlertNotifierParams) SetTimeout(timeout time.Duration)
- func (o *UpdateAlertNotifierParams) WithContext(ctx context.Context) *UpdateAlertNotifierParams
- func (o *UpdateAlertNotifierParams) WithDefaults() *UpdateAlertNotifierParams
- func (o *UpdateAlertNotifierParams) WithHTTPClient(client *http.Client) *UpdateAlertNotifierParams
- func (o *UpdateAlertNotifierParams) WithRequestBody(requestBody *models.AlertNotifierUpdationParams) *UpdateAlertNotifierParams
- func (o *UpdateAlertNotifierParams) WithTimeout(timeout time.Duration) *UpdateAlertNotifierParams
- func (o *UpdateAlertNotifierParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateAlertNotifierReader
- type UpdateManyAlertNotifiersBadRequest
- type UpdateManyAlertNotifiersInternalServerError
- type UpdateManyAlertNotifiersNotFound
- type UpdateManyAlertNotifiersOK
- type UpdateManyAlertNotifiersParams
- func NewUpdateManyAlertNotifiersParams() *UpdateManyAlertNotifiersParams
- func NewUpdateManyAlertNotifiersParamsWithContext(ctx context.Context) *UpdateManyAlertNotifiersParams
- func NewUpdateManyAlertNotifiersParamsWithHTTPClient(client *http.Client) *UpdateManyAlertNotifiersParams
- func NewUpdateManyAlertNotifiersParamsWithTimeout(timeout time.Duration) *UpdateManyAlertNotifiersParams
- func (o *UpdateManyAlertNotifiersParams) SetContext(ctx context.Context)
- func (o *UpdateManyAlertNotifiersParams) SetDefaults()
- func (o *UpdateManyAlertNotifiersParams) SetHTTPClient(client *http.Client)
- func (o *UpdateManyAlertNotifiersParams) SetRequestBody(requestBody *models.AlertNotifierManyUpdationParams)
- func (o *UpdateManyAlertNotifiersParams) SetTimeout(timeout time.Duration)
- func (o *UpdateManyAlertNotifiersParams) WithContext(ctx context.Context) *UpdateManyAlertNotifiersParams
- func (o *UpdateManyAlertNotifiersParams) WithDefaults() *UpdateManyAlertNotifiersParams
- func (o *UpdateManyAlertNotifiersParams) WithHTTPClient(client *http.Client) *UpdateManyAlertNotifiersParams
- func (o *UpdateManyAlertNotifiersParams) WithRequestBody(requestBody *models.AlertNotifierManyUpdationParams) *UpdateManyAlertNotifiersParams
- func (o *UpdateManyAlertNotifiersParams) WithTimeout(timeout time.Duration) *UpdateManyAlertNotifiersParams
- func (o *UpdateManyAlertNotifiersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateManyAlertNotifiersReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for alert notifier API
func (*Client) CreateAlertNotifier ¶ added in v2.10.0
func (a *Client) CreateAlertNotifier(params *CreateAlertNotifierParams, opts ...ClientOption) (*CreateAlertNotifierOK, error)
CreateAlertNotifier create alert notifier API
func (*Client) DeleteAlertNotifier ¶ added in v2.10.0
func (a *Client) DeleteAlertNotifier(params *DeleteAlertNotifierParams, opts ...ClientOption) (*DeleteAlertNotifierOK, error)
DeleteAlertNotifier delete alert notifier API
func (*Client) GetAlertNotifiers ¶
func (a *Client) GetAlertNotifiers(params *GetAlertNotifiersParams, opts ...ClientOption) (*GetAlertNotifiersOK, error)
GetAlertNotifiers get alert notifiers API
func (*Client) GetAlertNotifiersConnection ¶
func (a *Client) GetAlertNotifiersConnection(params *GetAlertNotifiersConnectionParams, opts ...ClientOption) (*GetAlertNotifiersConnectionOK, error)
GetAlertNotifiersConnection get alert notifiers connection API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateAlertNotifier ¶
func (a *Client) UpdateAlertNotifier(params *UpdateAlertNotifierParams, opts ...ClientOption) (*UpdateAlertNotifierOK, error)
UpdateAlertNotifier update alert notifier API
func (*Client) UpdateManyAlertNotifiers ¶ added in v2.10.0
func (a *Client) UpdateManyAlertNotifiers(params *UpdateManyAlertNotifiersParams, opts ...ClientOption) (*UpdateManyAlertNotifiersOK, error)
UpdateManyAlertNotifiers update many alert notifiers API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateAlertNotifier(params *CreateAlertNotifierParams, opts ...ClientOption) (*CreateAlertNotifierOK, error) DeleteAlertNotifier(params *DeleteAlertNotifierParams, opts ...ClientOption) (*DeleteAlertNotifierOK, error) GetAlertNotifiers(params *GetAlertNotifiersParams, opts ...ClientOption) (*GetAlertNotifiersOK, error) GetAlertNotifiersConnection(params *GetAlertNotifiersConnectionParams, opts ...ClientOption) (*GetAlertNotifiersConnectionOK, error) UpdateAlertNotifier(params *UpdateAlertNotifierParams, opts ...ClientOption) (*UpdateAlertNotifierOK, error) UpdateManyAlertNotifiers(params *UpdateManyAlertNotifiersParams, opts ...ClientOption) (*UpdateManyAlertNotifiersOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new alert notifier API client.
type CreateAlertNotifierBadRequest ¶ added in v2.10.0
CreateAlertNotifierBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateAlertNotifierBadRequest ¶ added in v2.10.0
func NewCreateAlertNotifierBadRequest() *CreateAlertNotifierBadRequest
NewCreateAlertNotifierBadRequest creates a CreateAlertNotifierBadRequest with default headers values
func (*CreateAlertNotifierBadRequest) Error ¶ added in v2.10.0
func (o *CreateAlertNotifierBadRequest) Error() string
func (*CreateAlertNotifierBadRequest) GetPayload ¶ added in v2.10.0
func (o *CreateAlertNotifierBadRequest) GetPayload() *models.ErrorBody
type CreateAlertNotifierInternalServerError ¶ added in v2.10.0
type CreateAlertNotifierInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
CreateAlertNotifierInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCreateAlertNotifierInternalServerError ¶ added in v2.10.0
func NewCreateAlertNotifierInternalServerError() *CreateAlertNotifierInternalServerError
NewCreateAlertNotifierInternalServerError creates a CreateAlertNotifierInternalServerError with default headers values
func (*CreateAlertNotifierInternalServerError) Error ¶ added in v2.10.0
func (o *CreateAlertNotifierInternalServerError) Error() string
func (*CreateAlertNotifierInternalServerError) GetPayload ¶ added in v2.10.0
func (o *CreateAlertNotifierInternalServerError) GetPayload() *models.ErrorBody
type CreateAlertNotifierNotFound ¶ added in v2.10.0
CreateAlertNotifierNotFound describes a response with status code 404, with default header values.
Not found
func NewCreateAlertNotifierNotFound ¶ added in v2.10.0
func NewCreateAlertNotifierNotFound() *CreateAlertNotifierNotFound
NewCreateAlertNotifierNotFound creates a CreateAlertNotifierNotFound with default headers values
func (*CreateAlertNotifierNotFound) Error ¶ added in v2.10.0
func (o *CreateAlertNotifierNotFound) Error() string
func (*CreateAlertNotifierNotFound) GetPayload ¶ added in v2.10.0
func (o *CreateAlertNotifierNotFound) GetPayload() *models.ErrorBody
type CreateAlertNotifierOK ¶ added in v2.10.0
type CreateAlertNotifierOK struct { XTowerRequestID string Payload []*models.WithTaskAlertNotifier }
CreateAlertNotifierOK describes a response with status code 200, with default header values.
CreateAlertNotifierOK create alert notifier o k
func NewCreateAlertNotifierOK ¶ added in v2.10.0
func NewCreateAlertNotifierOK() *CreateAlertNotifierOK
NewCreateAlertNotifierOK creates a CreateAlertNotifierOK with default headers values
func (*CreateAlertNotifierOK) Error ¶ added in v2.10.0
func (o *CreateAlertNotifierOK) Error() string
func (*CreateAlertNotifierOK) GetPayload ¶ added in v2.10.0
func (o *CreateAlertNotifierOK) GetPayload() []*models.WithTaskAlertNotifier
type CreateAlertNotifierParams ¶ added in v2.10.0
type CreateAlertNotifierParams struct { // RequestBody. RequestBody []*models.AlertNotifierCreationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateAlertNotifierParams contains all the parameters to send to the API endpoint
for the create alert notifier operation. Typically these are written to a http.Request.
func NewCreateAlertNotifierParams ¶ added in v2.10.0
func NewCreateAlertNotifierParams() *CreateAlertNotifierParams
NewCreateAlertNotifierParams creates a new CreateAlertNotifierParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateAlertNotifierParamsWithContext ¶ added in v2.10.0
func NewCreateAlertNotifierParamsWithContext(ctx context.Context) *CreateAlertNotifierParams
NewCreateAlertNotifierParamsWithContext creates a new CreateAlertNotifierParams object with the ability to set a context for a request.
func NewCreateAlertNotifierParamsWithHTTPClient ¶ added in v2.10.0
func NewCreateAlertNotifierParamsWithHTTPClient(client *http.Client) *CreateAlertNotifierParams
NewCreateAlertNotifierParamsWithHTTPClient creates a new CreateAlertNotifierParams object with the ability to set a custom HTTPClient for a request.
func NewCreateAlertNotifierParamsWithTimeout ¶ added in v2.10.0
func NewCreateAlertNotifierParamsWithTimeout(timeout time.Duration) *CreateAlertNotifierParams
NewCreateAlertNotifierParamsWithTimeout creates a new CreateAlertNotifierParams object with the ability to set a timeout on a request.
func (*CreateAlertNotifierParams) SetContext ¶ added in v2.10.0
func (o *CreateAlertNotifierParams) SetContext(ctx context.Context)
SetContext adds the context to the create alert notifier params
func (*CreateAlertNotifierParams) SetDefaults ¶ added in v2.10.0
func (o *CreateAlertNotifierParams) SetDefaults()
SetDefaults hydrates default values in the create alert notifier params (not the query body).
All values with no default are reset to their zero value.
func (*CreateAlertNotifierParams) SetHTTPClient ¶ added in v2.10.0
func (o *CreateAlertNotifierParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create alert notifier params
func (*CreateAlertNotifierParams) SetRequestBody ¶ added in v2.10.0
func (o *CreateAlertNotifierParams) SetRequestBody(requestBody []*models.AlertNotifierCreationParams)
SetRequestBody adds the requestBody to the create alert notifier params
func (*CreateAlertNotifierParams) SetTimeout ¶ added in v2.10.0
func (o *CreateAlertNotifierParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create alert notifier params
func (*CreateAlertNotifierParams) WithContext ¶ added in v2.10.0
func (o *CreateAlertNotifierParams) WithContext(ctx context.Context) *CreateAlertNotifierParams
WithContext adds the context to the create alert notifier params
func (*CreateAlertNotifierParams) WithDefaults ¶ added in v2.10.0
func (o *CreateAlertNotifierParams) WithDefaults() *CreateAlertNotifierParams
WithDefaults hydrates default values in the create alert notifier params (not the query body).
All values with no default are reset to their zero value.
func (*CreateAlertNotifierParams) WithHTTPClient ¶ added in v2.10.0
func (o *CreateAlertNotifierParams) WithHTTPClient(client *http.Client) *CreateAlertNotifierParams
WithHTTPClient adds the HTTPClient to the create alert notifier params
func (*CreateAlertNotifierParams) WithRequestBody ¶ added in v2.10.0
func (o *CreateAlertNotifierParams) WithRequestBody(requestBody []*models.AlertNotifierCreationParams) *CreateAlertNotifierParams
WithRequestBody adds the requestBody to the create alert notifier params
func (*CreateAlertNotifierParams) WithTimeout ¶ added in v2.10.0
func (o *CreateAlertNotifierParams) WithTimeout(timeout time.Duration) *CreateAlertNotifierParams
WithTimeout adds the timeout to the create alert notifier params
func (*CreateAlertNotifierParams) WriteToRequest ¶ added in v2.10.0
func (o *CreateAlertNotifierParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateAlertNotifierReader ¶ added in v2.10.0
type CreateAlertNotifierReader struct {
// contains filtered or unexported fields
}
CreateAlertNotifierReader is a Reader for the CreateAlertNotifier structure.
func (*CreateAlertNotifierReader) ReadResponse ¶ added in v2.10.0
func (o *CreateAlertNotifierReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteAlertNotifierBadRequest ¶ added in v2.10.0
DeleteAlertNotifierBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDeleteAlertNotifierBadRequest ¶ added in v2.10.0
func NewDeleteAlertNotifierBadRequest() *DeleteAlertNotifierBadRequest
NewDeleteAlertNotifierBadRequest creates a DeleteAlertNotifierBadRequest with default headers values
func (*DeleteAlertNotifierBadRequest) Error ¶ added in v2.10.0
func (o *DeleteAlertNotifierBadRequest) Error() string
func (*DeleteAlertNotifierBadRequest) GetPayload ¶ added in v2.10.0
func (o *DeleteAlertNotifierBadRequest) GetPayload() *models.ErrorBody
type DeleteAlertNotifierInternalServerError ¶ added in v2.10.0
type DeleteAlertNotifierInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
DeleteAlertNotifierInternalServerError describes a response with status code 500, with default header values.
Server error
func NewDeleteAlertNotifierInternalServerError ¶ added in v2.10.0
func NewDeleteAlertNotifierInternalServerError() *DeleteAlertNotifierInternalServerError
NewDeleteAlertNotifierInternalServerError creates a DeleteAlertNotifierInternalServerError with default headers values
func (*DeleteAlertNotifierInternalServerError) Error ¶ added in v2.10.0
func (o *DeleteAlertNotifierInternalServerError) Error() string
func (*DeleteAlertNotifierInternalServerError) GetPayload ¶ added in v2.10.0
func (o *DeleteAlertNotifierInternalServerError) GetPayload() *models.ErrorBody
type DeleteAlertNotifierNotFound ¶ added in v2.10.0
DeleteAlertNotifierNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteAlertNotifierNotFound ¶ added in v2.10.0
func NewDeleteAlertNotifierNotFound() *DeleteAlertNotifierNotFound
NewDeleteAlertNotifierNotFound creates a DeleteAlertNotifierNotFound with default headers values
func (*DeleteAlertNotifierNotFound) Error ¶ added in v2.10.0
func (o *DeleteAlertNotifierNotFound) Error() string
func (*DeleteAlertNotifierNotFound) GetPayload ¶ added in v2.10.0
func (o *DeleteAlertNotifierNotFound) GetPayload() *models.ErrorBody
type DeleteAlertNotifierOK ¶ added in v2.10.0
type DeleteAlertNotifierOK struct { XTowerRequestID string Payload []*models.WithTaskDeleteAlertNotifier }
DeleteAlertNotifierOK describes a response with status code 200, with default header values.
DeleteAlertNotifierOK delete alert notifier o k
func NewDeleteAlertNotifierOK ¶ added in v2.10.0
func NewDeleteAlertNotifierOK() *DeleteAlertNotifierOK
NewDeleteAlertNotifierOK creates a DeleteAlertNotifierOK with default headers values
func (*DeleteAlertNotifierOK) Error ¶ added in v2.10.0
func (o *DeleteAlertNotifierOK) Error() string
func (*DeleteAlertNotifierOK) GetPayload ¶ added in v2.10.0
func (o *DeleteAlertNotifierOK) GetPayload() []*models.WithTaskDeleteAlertNotifier
type DeleteAlertNotifierParams ¶ added in v2.10.0
type DeleteAlertNotifierParams struct { // RequestBody. RequestBody *models.DeleteAlertNotifierParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAlertNotifierParams contains all the parameters to send to the API endpoint
for the delete alert notifier operation. Typically these are written to a http.Request.
func NewDeleteAlertNotifierParams ¶ added in v2.10.0
func NewDeleteAlertNotifierParams() *DeleteAlertNotifierParams
NewDeleteAlertNotifierParams creates a new DeleteAlertNotifierParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteAlertNotifierParamsWithContext ¶ added in v2.10.0
func NewDeleteAlertNotifierParamsWithContext(ctx context.Context) *DeleteAlertNotifierParams
NewDeleteAlertNotifierParamsWithContext creates a new DeleteAlertNotifierParams object with the ability to set a context for a request.
func NewDeleteAlertNotifierParamsWithHTTPClient ¶ added in v2.10.0
func NewDeleteAlertNotifierParamsWithHTTPClient(client *http.Client) *DeleteAlertNotifierParams
NewDeleteAlertNotifierParamsWithHTTPClient creates a new DeleteAlertNotifierParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteAlertNotifierParamsWithTimeout ¶ added in v2.10.0
func NewDeleteAlertNotifierParamsWithTimeout(timeout time.Duration) *DeleteAlertNotifierParams
NewDeleteAlertNotifierParamsWithTimeout creates a new DeleteAlertNotifierParams object with the ability to set a timeout on a request.
func (*DeleteAlertNotifierParams) SetContext ¶ added in v2.10.0
func (o *DeleteAlertNotifierParams) SetContext(ctx context.Context)
SetContext adds the context to the delete alert notifier params
func (*DeleteAlertNotifierParams) SetDefaults ¶ added in v2.10.0
func (o *DeleteAlertNotifierParams) SetDefaults()
SetDefaults hydrates default values in the delete alert notifier params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAlertNotifierParams) SetHTTPClient ¶ added in v2.10.0
func (o *DeleteAlertNotifierParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete alert notifier params
func (*DeleteAlertNotifierParams) SetRequestBody ¶ added in v2.10.0
func (o *DeleteAlertNotifierParams) SetRequestBody(requestBody *models.DeleteAlertNotifierParams)
SetRequestBody adds the requestBody to the delete alert notifier params
func (*DeleteAlertNotifierParams) SetTimeout ¶ added in v2.10.0
func (o *DeleteAlertNotifierParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete alert notifier params
func (*DeleteAlertNotifierParams) WithContext ¶ added in v2.10.0
func (o *DeleteAlertNotifierParams) WithContext(ctx context.Context) *DeleteAlertNotifierParams
WithContext adds the context to the delete alert notifier params
func (*DeleteAlertNotifierParams) WithDefaults ¶ added in v2.10.0
func (o *DeleteAlertNotifierParams) WithDefaults() *DeleteAlertNotifierParams
WithDefaults hydrates default values in the delete alert notifier params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAlertNotifierParams) WithHTTPClient ¶ added in v2.10.0
func (o *DeleteAlertNotifierParams) WithHTTPClient(client *http.Client) *DeleteAlertNotifierParams
WithHTTPClient adds the HTTPClient to the delete alert notifier params
func (*DeleteAlertNotifierParams) WithRequestBody ¶ added in v2.10.0
func (o *DeleteAlertNotifierParams) WithRequestBody(requestBody *models.DeleteAlertNotifierParams) *DeleteAlertNotifierParams
WithRequestBody adds the requestBody to the delete alert notifier params
func (*DeleteAlertNotifierParams) WithTimeout ¶ added in v2.10.0
func (o *DeleteAlertNotifierParams) WithTimeout(timeout time.Duration) *DeleteAlertNotifierParams
WithTimeout adds the timeout to the delete alert notifier params
func (*DeleteAlertNotifierParams) WriteToRequest ¶ added in v2.10.0
func (o *DeleteAlertNotifierParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAlertNotifierReader ¶ added in v2.10.0
type DeleteAlertNotifierReader struct {
// contains filtered or unexported fields
}
DeleteAlertNotifierReader is a Reader for the DeleteAlertNotifier structure.
func (*DeleteAlertNotifierReader) ReadResponse ¶ added in v2.10.0
func (o *DeleteAlertNotifierReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAlertNotifiersBadRequest ¶
GetAlertNotifiersBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetAlertNotifiersBadRequest ¶
func NewGetAlertNotifiersBadRequest() *GetAlertNotifiersBadRequest
NewGetAlertNotifiersBadRequest creates a GetAlertNotifiersBadRequest with default headers values
func (*GetAlertNotifiersBadRequest) Error ¶
func (o *GetAlertNotifiersBadRequest) Error() string
func (*GetAlertNotifiersBadRequest) GetPayload ¶
func (o *GetAlertNotifiersBadRequest) GetPayload() *models.ErrorBody
type GetAlertNotifiersConnectionBadRequest ¶
type GetAlertNotifiersConnectionBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
GetAlertNotifiersConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetAlertNotifiersConnectionBadRequest ¶
func NewGetAlertNotifiersConnectionBadRequest() *GetAlertNotifiersConnectionBadRequest
NewGetAlertNotifiersConnectionBadRequest creates a GetAlertNotifiersConnectionBadRequest with default headers values
func (*GetAlertNotifiersConnectionBadRequest) Error ¶
func (o *GetAlertNotifiersConnectionBadRequest) Error() string
func (*GetAlertNotifiersConnectionBadRequest) GetPayload ¶
func (o *GetAlertNotifiersConnectionBadRequest) GetPayload() *models.ErrorBody
type GetAlertNotifiersConnectionInternalServerError ¶
type GetAlertNotifiersConnectionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetAlertNotifiersConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetAlertNotifiersConnectionInternalServerError ¶
func NewGetAlertNotifiersConnectionInternalServerError() *GetAlertNotifiersConnectionInternalServerError
NewGetAlertNotifiersConnectionInternalServerError creates a GetAlertNotifiersConnectionInternalServerError with default headers values
func (*GetAlertNotifiersConnectionInternalServerError) Error ¶
func (o *GetAlertNotifiersConnectionInternalServerError) Error() string
func (*GetAlertNotifiersConnectionInternalServerError) GetPayload ¶
func (o *GetAlertNotifiersConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetAlertNotifiersConnectionNotFound ¶
type GetAlertNotifiersConnectionNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
GetAlertNotifiersConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetAlertNotifiersConnectionNotFound ¶
func NewGetAlertNotifiersConnectionNotFound() *GetAlertNotifiersConnectionNotFound
NewGetAlertNotifiersConnectionNotFound creates a GetAlertNotifiersConnectionNotFound with default headers values
func (*GetAlertNotifiersConnectionNotFound) Error ¶
func (o *GetAlertNotifiersConnectionNotFound) Error() string
func (*GetAlertNotifiersConnectionNotFound) GetPayload ¶
func (o *GetAlertNotifiersConnectionNotFound) GetPayload() *models.ErrorBody
type GetAlertNotifiersConnectionOK ¶
type GetAlertNotifiersConnectionOK struct { XTowerRequestID string Payload *models.AlertNotifierConnection }
GetAlertNotifiersConnectionOK describes a response with status code 200, with default header values.
GetAlertNotifiersConnectionOK get alert notifiers connection o k
func NewGetAlertNotifiersConnectionOK ¶
func NewGetAlertNotifiersConnectionOK() *GetAlertNotifiersConnectionOK
NewGetAlertNotifiersConnectionOK creates a GetAlertNotifiersConnectionOK with default headers values
func (*GetAlertNotifiersConnectionOK) Error ¶
func (o *GetAlertNotifiersConnectionOK) Error() string
func (*GetAlertNotifiersConnectionOK) GetPayload ¶
func (o *GetAlertNotifiersConnectionOK) GetPayload() *models.AlertNotifierConnection
type GetAlertNotifiersConnectionParams ¶
type GetAlertNotifiersConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetAlertNotifiersConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAlertNotifiersConnectionParams contains all the parameters to send to the API endpoint
for the get alert notifiers connection operation. Typically these are written to a http.Request.
func NewGetAlertNotifiersConnectionParams ¶
func NewGetAlertNotifiersConnectionParams() *GetAlertNotifiersConnectionParams
NewGetAlertNotifiersConnectionParams creates a new GetAlertNotifiersConnectionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAlertNotifiersConnectionParamsWithContext ¶
func NewGetAlertNotifiersConnectionParamsWithContext(ctx context.Context) *GetAlertNotifiersConnectionParams
NewGetAlertNotifiersConnectionParamsWithContext creates a new GetAlertNotifiersConnectionParams object with the ability to set a context for a request.
func NewGetAlertNotifiersConnectionParamsWithHTTPClient ¶
func NewGetAlertNotifiersConnectionParamsWithHTTPClient(client *http.Client) *GetAlertNotifiersConnectionParams
NewGetAlertNotifiersConnectionParamsWithHTTPClient creates a new GetAlertNotifiersConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetAlertNotifiersConnectionParamsWithTimeout ¶
func NewGetAlertNotifiersConnectionParamsWithTimeout(timeout time.Duration) *GetAlertNotifiersConnectionParams
NewGetAlertNotifiersConnectionParamsWithTimeout creates a new GetAlertNotifiersConnectionParams object with the ability to set a timeout on a request.
func (*GetAlertNotifiersConnectionParams) SetContentLanguage ¶
func (o *GetAlertNotifiersConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get alert notifiers connection params
func (*GetAlertNotifiersConnectionParams) SetContext ¶
func (o *GetAlertNotifiersConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get alert notifiers connection params
func (*GetAlertNotifiersConnectionParams) SetDefaults ¶
func (o *GetAlertNotifiersConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get alert notifiers connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetAlertNotifiersConnectionParams) SetHTTPClient ¶
func (o *GetAlertNotifiersConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get alert notifiers connection params
func (*GetAlertNotifiersConnectionParams) SetRequestBody ¶
func (o *GetAlertNotifiersConnectionParams) SetRequestBody(requestBody *models.GetAlertNotifiersConnectionRequestBody)
SetRequestBody adds the requestBody to the get alert notifiers connection params
func (*GetAlertNotifiersConnectionParams) SetTimeout ¶
func (o *GetAlertNotifiersConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get alert notifiers connection params
func (*GetAlertNotifiersConnectionParams) WithContentLanguage ¶
func (o *GetAlertNotifiersConnectionParams) WithContentLanguage(contentLanguage *string) *GetAlertNotifiersConnectionParams
WithContentLanguage adds the contentLanguage to the get alert notifiers connection params
func (*GetAlertNotifiersConnectionParams) WithContext ¶
func (o *GetAlertNotifiersConnectionParams) WithContext(ctx context.Context) *GetAlertNotifiersConnectionParams
WithContext adds the context to the get alert notifiers connection params
func (*GetAlertNotifiersConnectionParams) WithDefaults ¶
func (o *GetAlertNotifiersConnectionParams) WithDefaults() *GetAlertNotifiersConnectionParams
WithDefaults hydrates default values in the get alert notifiers connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetAlertNotifiersConnectionParams) WithHTTPClient ¶
func (o *GetAlertNotifiersConnectionParams) WithHTTPClient(client *http.Client) *GetAlertNotifiersConnectionParams
WithHTTPClient adds the HTTPClient to the get alert notifiers connection params
func (*GetAlertNotifiersConnectionParams) WithRequestBody ¶
func (o *GetAlertNotifiersConnectionParams) WithRequestBody(requestBody *models.GetAlertNotifiersConnectionRequestBody) *GetAlertNotifiersConnectionParams
WithRequestBody adds the requestBody to the get alert notifiers connection params
func (*GetAlertNotifiersConnectionParams) WithTimeout ¶
func (o *GetAlertNotifiersConnectionParams) WithTimeout(timeout time.Duration) *GetAlertNotifiersConnectionParams
WithTimeout adds the timeout to the get alert notifiers connection params
func (*GetAlertNotifiersConnectionParams) WriteToRequest ¶
func (o *GetAlertNotifiersConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAlertNotifiersConnectionReader ¶
type GetAlertNotifiersConnectionReader struct {
// contains filtered or unexported fields
}
GetAlertNotifiersConnectionReader is a Reader for the GetAlertNotifiersConnection structure.
func (*GetAlertNotifiersConnectionReader) ReadResponse ¶
func (o *GetAlertNotifiersConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAlertNotifiersInternalServerError ¶
type GetAlertNotifiersInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetAlertNotifiersInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetAlertNotifiersInternalServerError ¶
func NewGetAlertNotifiersInternalServerError() *GetAlertNotifiersInternalServerError
NewGetAlertNotifiersInternalServerError creates a GetAlertNotifiersInternalServerError with default headers values
func (*GetAlertNotifiersInternalServerError) Error ¶
func (o *GetAlertNotifiersInternalServerError) Error() string
func (*GetAlertNotifiersInternalServerError) GetPayload ¶
func (o *GetAlertNotifiersInternalServerError) GetPayload() *models.ErrorBody
type GetAlertNotifiersNotFound ¶
GetAlertNotifiersNotFound describes a response with status code 404, with default header values.
Not found
func NewGetAlertNotifiersNotFound ¶
func NewGetAlertNotifiersNotFound() *GetAlertNotifiersNotFound
NewGetAlertNotifiersNotFound creates a GetAlertNotifiersNotFound with default headers values
func (*GetAlertNotifiersNotFound) Error ¶
func (o *GetAlertNotifiersNotFound) Error() string
func (*GetAlertNotifiersNotFound) GetPayload ¶
func (o *GetAlertNotifiersNotFound) GetPayload() *models.ErrorBody
type GetAlertNotifiersOK ¶
type GetAlertNotifiersOK struct { XTowerRequestID string Payload []*models.AlertNotifier }
GetAlertNotifiersOK describes a response with status code 200, with default header values.
GetAlertNotifiersOK get alert notifiers o k
func NewGetAlertNotifiersOK ¶
func NewGetAlertNotifiersOK() *GetAlertNotifiersOK
NewGetAlertNotifiersOK creates a GetAlertNotifiersOK with default headers values
func (*GetAlertNotifiersOK) Error ¶
func (o *GetAlertNotifiersOK) Error() string
func (*GetAlertNotifiersOK) GetPayload ¶
func (o *GetAlertNotifiersOK) GetPayload() []*models.AlertNotifier
type GetAlertNotifiersParams ¶
type GetAlertNotifiersParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetAlertNotifiersRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAlertNotifiersParams contains all the parameters to send to the API endpoint
for the get alert notifiers operation. Typically these are written to a http.Request.
func NewGetAlertNotifiersParams ¶
func NewGetAlertNotifiersParams() *GetAlertNotifiersParams
NewGetAlertNotifiersParams creates a new GetAlertNotifiersParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAlertNotifiersParamsWithContext ¶
func NewGetAlertNotifiersParamsWithContext(ctx context.Context) *GetAlertNotifiersParams
NewGetAlertNotifiersParamsWithContext creates a new GetAlertNotifiersParams object with the ability to set a context for a request.
func NewGetAlertNotifiersParamsWithHTTPClient ¶
func NewGetAlertNotifiersParamsWithHTTPClient(client *http.Client) *GetAlertNotifiersParams
NewGetAlertNotifiersParamsWithHTTPClient creates a new GetAlertNotifiersParams object with the ability to set a custom HTTPClient for a request.
func NewGetAlertNotifiersParamsWithTimeout ¶
func NewGetAlertNotifiersParamsWithTimeout(timeout time.Duration) *GetAlertNotifiersParams
NewGetAlertNotifiersParamsWithTimeout creates a new GetAlertNotifiersParams object with the ability to set a timeout on a request.
func (*GetAlertNotifiersParams) SetContentLanguage ¶
func (o *GetAlertNotifiersParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get alert notifiers params
func (*GetAlertNotifiersParams) SetContext ¶
func (o *GetAlertNotifiersParams) SetContext(ctx context.Context)
SetContext adds the context to the get alert notifiers params
func (*GetAlertNotifiersParams) SetDefaults ¶
func (o *GetAlertNotifiersParams) SetDefaults()
SetDefaults hydrates default values in the get alert notifiers params (not the query body).
All values with no default are reset to their zero value.
func (*GetAlertNotifiersParams) SetHTTPClient ¶
func (o *GetAlertNotifiersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get alert notifiers params
func (*GetAlertNotifiersParams) SetRequestBody ¶
func (o *GetAlertNotifiersParams) SetRequestBody(requestBody *models.GetAlertNotifiersRequestBody)
SetRequestBody adds the requestBody to the get alert notifiers params
func (*GetAlertNotifiersParams) SetTimeout ¶
func (o *GetAlertNotifiersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get alert notifiers params
func (*GetAlertNotifiersParams) WithContentLanguage ¶
func (o *GetAlertNotifiersParams) WithContentLanguage(contentLanguage *string) *GetAlertNotifiersParams
WithContentLanguage adds the contentLanguage to the get alert notifiers params
func (*GetAlertNotifiersParams) WithContext ¶
func (o *GetAlertNotifiersParams) WithContext(ctx context.Context) *GetAlertNotifiersParams
WithContext adds the context to the get alert notifiers params
func (*GetAlertNotifiersParams) WithDefaults ¶
func (o *GetAlertNotifiersParams) WithDefaults() *GetAlertNotifiersParams
WithDefaults hydrates default values in the get alert notifiers params (not the query body).
All values with no default are reset to their zero value.
func (*GetAlertNotifiersParams) WithHTTPClient ¶
func (o *GetAlertNotifiersParams) WithHTTPClient(client *http.Client) *GetAlertNotifiersParams
WithHTTPClient adds the HTTPClient to the get alert notifiers params
func (*GetAlertNotifiersParams) WithRequestBody ¶
func (o *GetAlertNotifiersParams) WithRequestBody(requestBody *models.GetAlertNotifiersRequestBody) *GetAlertNotifiersParams
WithRequestBody adds the requestBody to the get alert notifiers params
func (*GetAlertNotifiersParams) WithTimeout ¶
func (o *GetAlertNotifiersParams) WithTimeout(timeout time.Duration) *GetAlertNotifiersParams
WithTimeout adds the timeout to the get alert notifiers params
func (*GetAlertNotifiersParams) WriteToRequest ¶
func (o *GetAlertNotifiersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAlertNotifiersReader ¶
type GetAlertNotifiersReader struct {
// contains filtered or unexported fields
}
GetAlertNotifiersReader is a Reader for the GetAlertNotifiers structure.
func (*GetAlertNotifiersReader) ReadResponse ¶
func (o *GetAlertNotifiersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateAlertNotifierBadRequest ¶
UpdateAlertNotifierBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateAlertNotifierBadRequest ¶
func NewUpdateAlertNotifierBadRequest() *UpdateAlertNotifierBadRequest
NewUpdateAlertNotifierBadRequest creates a UpdateAlertNotifierBadRequest with default headers values
func (*UpdateAlertNotifierBadRequest) Error ¶
func (o *UpdateAlertNotifierBadRequest) Error() string
func (*UpdateAlertNotifierBadRequest) GetPayload ¶
func (o *UpdateAlertNotifierBadRequest) GetPayload() *models.ErrorBody
type UpdateAlertNotifierInternalServerError ¶
type UpdateAlertNotifierInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
UpdateAlertNotifierInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateAlertNotifierInternalServerError ¶
func NewUpdateAlertNotifierInternalServerError() *UpdateAlertNotifierInternalServerError
NewUpdateAlertNotifierInternalServerError creates a UpdateAlertNotifierInternalServerError with default headers values
func (*UpdateAlertNotifierInternalServerError) Error ¶
func (o *UpdateAlertNotifierInternalServerError) Error() string
func (*UpdateAlertNotifierInternalServerError) GetPayload ¶
func (o *UpdateAlertNotifierInternalServerError) GetPayload() *models.ErrorBody
type UpdateAlertNotifierNotFound ¶
UpdateAlertNotifierNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateAlertNotifierNotFound ¶
func NewUpdateAlertNotifierNotFound() *UpdateAlertNotifierNotFound
NewUpdateAlertNotifierNotFound creates a UpdateAlertNotifierNotFound with default headers values
func (*UpdateAlertNotifierNotFound) Error ¶
func (o *UpdateAlertNotifierNotFound) Error() string
func (*UpdateAlertNotifierNotFound) GetPayload ¶
func (o *UpdateAlertNotifierNotFound) GetPayload() *models.ErrorBody
type UpdateAlertNotifierOK ¶
type UpdateAlertNotifierOK struct { XTowerRequestID string Payload *models.WithTaskAlertNotifier }
UpdateAlertNotifierOK describes a response with status code 200, with default header values.
UpdateAlertNotifierOK update alert notifier o k
func NewUpdateAlertNotifierOK ¶
func NewUpdateAlertNotifierOK() *UpdateAlertNotifierOK
NewUpdateAlertNotifierOK creates a UpdateAlertNotifierOK with default headers values
func (*UpdateAlertNotifierOK) Error ¶
func (o *UpdateAlertNotifierOK) Error() string
func (*UpdateAlertNotifierOK) GetPayload ¶
func (o *UpdateAlertNotifierOK) GetPayload() *models.WithTaskAlertNotifier
type UpdateAlertNotifierParams ¶
type UpdateAlertNotifierParams struct { // RequestBody. RequestBody *models.AlertNotifierUpdationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateAlertNotifierParams contains all the parameters to send to the API endpoint
for the update alert notifier operation. Typically these are written to a http.Request.
func NewUpdateAlertNotifierParams ¶
func NewUpdateAlertNotifierParams() *UpdateAlertNotifierParams
NewUpdateAlertNotifierParams creates a new UpdateAlertNotifierParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateAlertNotifierParamsWithContext ¶
func NewUpdateAlertNotifierParamsWithContext(ctx context.Context) *UpdateAlertNotifierParams
NewUpdateAlertNotifierParamsWithContext creates a new UpdateAlertNotifierParams object with the ability to set a context for a request.
func NewUpdateAlertNotifierParamsWithHTTPClient ¶
func NewUpdateAlertNotifierParamsWithHTTPClient(client *http.Client) *UpdateAlertNotifierParams
NewUpdateAlertNotifierParamsWithHTTPClient creates a new UpdateAlertNotifierParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateAlertNotifierParamsWithTimeout ¶
func NewUpdateAlertNotifierParamsWithTimeout(timeout time.Duration) *UpdateAlertNotifierParams
NewUpdateAlertNotifierParamsWithTimeout creates a new UpdateAlertNotifierParams object with the ability to set a timeout on a request.
func (*UpdateAlertNotifierParams) SetContext ¶
func (o *UpdateAlertNotifierParams) SetContext(ctx context.Context)
SetContext adds the context to the update alert notifier params
func (*UpdateAlertNotifierParams) SetDefaults ¶
func (o *UpdateAlertNotifierParams) SetDefaults()
SetDefaults hydrates default values in the update alert notifier params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateAlertNotifierParams) SetHTTPClient ¶
func (o *UpdateAlertNotifierParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update alert notifier params
func (*UpdateAlertNotifierParams) SetRequestBody ¶
func (o *UpdateAlertNotifierParams) SetRequestBody(requestBody *models.AlertNotifierUpdationParams)
SetRequestBody adds the requestBody to the update alert notifier params
func (*UpdateAlertNotifierParams) SetTimeout ¶
func (o *UpdateAlertNotifierParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update alert notifier params
func (*UpdateAlertNotifierParams) WithContext ¶
func (o *UpdateAlertNotifierParams) WithContext(ctx context.Context) *UpdateAlertNotifierParams
WithContext adds the context to the update alert notifier params
func (*UpdateAlertNotifierParams) WithDefaults ¶
func (o *UpdateAlertNotifierParams) WithDefaults() *UpdateAlertNotifierParams
WithDefaults hydrates default values in the update alert notifier params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateAlertNotifierParams) WithHTTPClient ¶
func (o *UpdateAlertNotifierParams) WithHTTPClient(client *http.Client) *UpdateAlertNotifierParams
WithHTTPClient adds the HTTPClient to the update alert notifier params
func (*UpdateAlertNotifierParams) WithRequestBody ¶
func (o *UpdateAlertNotifierParams) WithRequestBody(requestBody *models.AlertNotifierUpdationParams) *UpdateAlertNotifierParams
WithRequestBody adds the requestBody to the update alert notifier params
func (*UpdateAlertNotifierParams) WithTimeout ¶
func (o *UpdateAlertNotifierParams) WithTimeout(timeout time.Duration) *UpdateAlertNotifierParams
WithTimeout adds the timeout to the update alert notifier params
func (*UpdateAlertNotifierParams) WriteToRequest ¶
func (o *UpdateAlertNotifierParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateAlertNotifierReader ¶
type UpdateAlertNotifierReader struct {
// contains filtered or unexported fields
}
UpdateAlertNotifierReader is a Reader for the UpdateAlertNotifier structure.
func (*UpdateAlertNotifierReader) ReadResponse ¶
func (o *UpdateAlertNotifierReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateManyAlertNotifiersBadRequest ¶ added in v2.10.0
UpdateManyAlertNotifiersBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateManyAlertNotifiersBadRequest ¶ added in v2.10.0
func NewUpdateManyAlertNotifiersBadRequest() *UpdateManyAlertNotifiersBadRequest
NewUpdateManyAlertNotifiersBadRequest creates a UpdateManyAlertNotifiersBadRequest with default headers values
func (*UpdateManyAlertNotifiersBadRequest) Error ¶ added in v2.10.0
func (o *UpdateManyAlertNotifiersBadRequest) Error() string
func (*UpdateManyAlertNotifiersBadRequest) GetPayload ¶ added in v2.10.0
func (o *UpdateManyAlertNotifiersBadRequest) GetPayload() *models.ErrorBody
type UpdateManyAlertNotifiersInternalServerError ¶ added in v2.10.0
type UpdateManyAlertNotifiersInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
UpdateManyAlertNotifiersInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateManyAlertNotifiersInternalServerError ¶ added in v2.10.0
func NewUpdateManyAlertNotifiersInternalServerError() *UpdateManyAlertNotifiersInternalServerError
NewUpdateManyAlertNotifiersInternalServerError creates a UpdateManyAlertNotifiersInternalServerError with default headers values
func (*UpdateManyAlertNotifiersInternalServerError) Error ¶ added in v2.10.0
func (o *UpdateManyAlertNotifiersInternalServerError) Error() string
func (*UpdateManyAlertNotifiersInternalServerError) GetPayload ¶ added in v2.10.0
func (o *UpdateManyAlertNotifiersInternalServerError) GetPayload() *models.ErrorBody
type UpdateManyAlertNotifiersNotFound ¶ added in v2.10.0
UpdateManyAlertNotifiersNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateManyAlertNotifiersNotFound ¶ added in v2.10.0
func NewUpdateManyAlertNotifiersNotFound() *UpdateManyAlertNotifiersNotFound
NewUpdateManyAlertNotifiersNotFound creates a UpdateManyAlertNotifiersNotFound with default headers values
func (*UpdateManyAlertNotifiersNotFound) Error ¶ added in v2.10.0
func (o *UpdateManyAlertNotifiersNotFound) Error() string
func (*UpdateManyAlertNotifiersNotFound) GetPayload ¶ added in v2.10.0
func (o *UpdateManyAlertNotifiersNotFound) GetPayload() *models.ErrorBody
type UpdateManyAlertNotifiersOK ¶ added in v2.10.0
type UpdateManyAlertNotifiersOK struct { XTowerRequestID string Payload []*models.WithTaskAlertNotifier }
UpdateManyAlertNotifiersOK describes a response with status code 200, with default header values.
UpdateManyAlertNotifiersOK update many alert notifiers o k
func NewUpdateManyAlertNotifiersOK ¶ added in v2.10.0
func NewUpdateManyAlertNotifiersOK() *UpdateManyAlertNotifiersOK
NewUpdateManyAlertNotifiersOK creates a UpdateManyAlertNotifiersOK with default headers values
func (*UpdateManyAlertNotifiersOK) Error ¶ added in v2.10.0
func (o *UpdateManyAlertNotifiersOK) Error() string
func (*UpdateManyAlertNotifiersOK) GetPayload ¶ added in v2.10.0
func (o *UpdateManyAlertNotifiersOK) GetPayload() []*models.WithTaskAlertNotifier
type UpdateManyAlertNotifiersParams ¶ added in v2.10.0
type UpdateManyAlertNotifiersParams struct { // RequestBody. RequestBody *models.AlertNotifierManyUpdationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateManyAlertNotifiersParams contains all the parameters to send to the API endpoint
for the update many alert notifiers operation. Typically these are written to a http.Request.
func NewUpdateManyAlertNotifiersParams ¶ added in v2.10.0
func NewUpdateManyAlertNotifiersParams() *UpdateManyAlertNotifiersParams
NewUpdateManyAlertNotifiersParams creates a new UpdateManyAlertNotifiersParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateManyAlertNotifiersParamsWithContext ¶ added in v2.10.0
func NewUpdateManyAlertNotifiersParamsWithContext(ctx context.Context) *UpdateManyAlertNotifiersParams
NewUpdateManyAlertNotifiersParamsWithContext creates a new UpdateManyAlertNotifiersParams object with the ability to set a context for a request.
func NewUpdateManyAlertNotifiersParamsWithHTTPClient ¶ added in v2.10.0
func NewUpdateManyAlertNotifiersParamsWithHTTPClient(client *http.Client) *UpdateManyAlertNotifiersParams
NewUpdateManyAlertNotifiersParamsWithHTTPClient creates a new UpdateManyAlertNotifiersParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateManyAlertNotifiersParamsWithTimeout ¶ added in v2.10.0
func NewUpdateManyAlertNotifiersParamsWithTimeout(timeout time.Duration) *UpdateManyAlertNotifiersParams
NewUpdateManyAlertNotifiersParamsWithTimeout creates a new UpdateManyAlertNotifiersParams object with the ability to set a timeout on a request.
func (*UpdateManyAlertNotifiersParams) SetContext ¶ added in v2.10.0
func (o *UpdateManyAlertNotifiersParams) SetContext(ctx context.Context)
SetContext adds the context to the update many alert notifiers params
func (*UpdateManyAlertNotifiersParams) SetDefaults ¶ added in v2.10.0
func (o *UpdateManyAlertNotifiersParams) SetDefaults()
SetDefaults hydrates default values in the update many alert notifiers params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateManyAlertNotifiersParams) SetHTTPClient ¶ added in v2.10.0
func (o *UpdateManyAlertNotifiersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update many alert notifiers params
func (*UpdateManyAlertNotifiersParams) SetRequestBody ¶ added in v2.10.0
func (o *UpdateManyAlertNotifiersParams) SetRequestBody(requestBody *models.AlertNotifierManyUpdationParams)
SetRequestBody adds the requestBody to the update many alert notifiers params
func (*UpdateManyAlertNotifiersParams) SetTimeout ¶ added in v2.10.0
func (o *UpdateManyAlertNotifiersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update many alert notifiers params
func (*UpdateManyAlertNotifiersParams) WithContext ¶ added in v2.10.0
func (o *UpdateManyAlertNotifiersParams) WithContext(ctx context.Context) *UpdateManyAlertNotifiersParams
WithContext adds the context to the update many alert notifiers params
func (*UpdateManyAlertNotifiersParams) WithDefaults ¶ added in v2.10.0
func (o *UpdateManyAlertNotifiersParams) WithDefaults() *UpdateManyAlertNotifiersParams
WithDefaults hydrates default values in the update many alert notifiers params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateManyAlertNotifiersParams) WithHTTPClient ¶ added in v2.10.0
func (o *UpdateManyAlertNotifiersParams) WithHTTPClient(client *http.Client) *UpdateManyAlertNotifiersParams
WithHTTPClient adds the HTTPClient to the update many alert notifiers params
func (*UpdateManyAlertNotifiersParams) WithRequestBody ¶ added in v2.10.0
func (o *UpdateManyAlertNotifiersParams) WithRequestBody(requestBody *models.AlertNotifierManyUpdationParams) *UpdateManyAlertNotifiersParams
WithRequestBody adds the requestBody to the update many alert notifiers params
func (*UpdateManyAlertNotifiersParams) WithTimeout ¶ added in v2.10.0
func (o *UpdateManyAlertNotifiersParams) WithTimeout(timeout time.Duration) *UpdateManyAlertNotifiersParams
WithTimeout adds the timeout to the update many alert notifiers params
func (*UpdateManyAlertNotifiersParams) WriteToRequest ¶ added in v2.10.0
func (o *UpdateManyAlertNotifiersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateManyAlertNotifiersReader ¶ added in v2.10.0
type UpdateManyAlertNotifiersReader struct {
// contains filtered or unexported fields
}
UpdateManyAlertNotifiersReader is a Reader for the UpdateManyAlertNotifiers structure.
func (*UpdateManyAlertNotifiersReader) ReadResponse ¶ added in v2.10.0
func (o *UpdateManyAlertNotifiersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- alert_notifier_client.go
- create_alert_notifier_parameters.go
- create_alert_notifier_responses.go
- delete_alert_notifier_parameters.go
- delete_alert_notifier_responses.go
- get_alert_notifiers_connection_parameters.go
- get_alert_notifiers_connection_responses.go
- get_alert_notifiers_parameters.go
- get_alert_notifiers_responses.go
- update_alert_notifier_parameters.go
- update_alert_notifier_responses.go
- update_many_alert_notifiers_parameters.go
- update_many_alert_notifiers_responses.go