Documentation ¶
Index ¶
- type Client
- 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)
- type ClientOption
- type ClientService
- 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
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) 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 ¶ added in v1.10.0
func (a *Client) UpdateAlertNotifier(params *UpdateAlertNotifierParams, opts ...ClientOption) (*UpdateAlertNotifierOK, error)
UpdateAlertNotifier update alert notifier API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetAlertNotifiers(params *GetAlertNotifiersParams, opts ...ClientOption) (*GetAlertNotifiersOK, error) GetAlertNotifiersConnection(params *GetAlertNotifiersConnectionParams, opts ...ClientOption) (*GetAlertNotifiersConnectionOK, error) UpdateAlertNotifier(params *UpdateAlertNotifierParams, opts ...ClientOption) (*UpdateAlertNotifierOK, 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 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 ¶
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 ¶ added in v1.10.0
GetAlertNotifiersConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetAlertNotifiersConnectionInternalServerError ¶ added in v1.10.0
func NewGetAlertNotifiersConnectionInternalServerError() *GetAlertNotifiersConnectionInternalServerError
NewGetAlertNotifiersConnectionInternalServerError creates a GetAlertNotifiersConnectionInternalServerError with default headers values
func (*GetAlertNotifiersConnectionInternalServerError) Error ¶ added in v1.10.0
func (o *GetAlertNotifiersConnectionInternalServerError) Error() string
func (*GetAlertNotifiersConnectionInternalServerError) GetPayload ¶ added in v1.10.0
func (o *GetAlertNotifiersConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetAlertNotifiersConnectionNotFound ¶ added in v1.10.0
GetAlertNotifiersConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetAlertNotifiersConnectionNotFound ¶ added in v1.10.0
func NewGetAlertNotifiersConnectionNotFound() *GetAlertNotifiersConnectionNotFound
NewGetAlertNotifiersConnectionNotFound creates a GetAlertNotifiersConnectionNotFound with default headers values
func (*GetAlertNotifiersConnectionNotFound) Error ¶ added in v1.10.0
func (o *GetAlertNotifiersConnectionNotFound) Error() string
func (*GetAlertNotifiersConnectionNotFound) GetPayload ¶ added in v1.10.0
func (o *GetAlertNotifiersConnectionNotFound) GetPayload() *models.ErrorBody
type GetAlertNotifiersConnectionOK ¶
type GetAlertNotifiersConnectionOK struct {
Payload *models.AlertNotifierConnection
}
GetAlertNotifiersConnectionOK describes a response with status code 200, with default header values.
Ok
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 ¶ added in v1.10.0
GetAlertNotifiersInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetAlertNotifiersInternalServerError ¶ added in v1.10.0
func NewGetAlertNotifiersInternalServerError() *GetAlertNotifiersInternalServerError
NewGetAlertNotifiersInternalServerError creates a GetAlertNotifiersInternalServerError with default headers values
func (*GetAlertNotifiersInternalServerError) Error ¶ added in v1.10.0
func (o *GetAlertNotifiersInternalServerError) Error() string
func (*GetAlertNotifiersInternalServerError) GetPayload ¶ added in v1.10.0
func (o *GetAlertNotifiersInternalServerError) GetPayload() *models.ErrorBody
type GetAlertNotifiersNotFound ¶ added in v1.10.0
GetAlertNotifiersNotFound describes a response with status code 404, with default header values.
Not found
func NewGetAlertNotifiersNotFound ¶ added in v1.10.0
func NewGetAlertNotifiersNotFound() *GetAlertNotifiersNotFound
NewGetAlertNotifiersNotFound creates a GetAlertNotifiersNotFound with default headers values
func (*GetAlertNotifiersNotFound) Error ¶ added in v1.10.0
func (o *GetAlertNotifiersNotFound) Error() string
func (*GetAlertNotifiersNotFound) GetPayload ¶ added in v1.10.0
func (o *GetAlertNotifiersNotFound) GetPayload() *models.ErrorBody
type GetAlertNotifiersOK ¶
type GetAlertNotifiersOK struct {
Payload []*models.AlertNotifier
}
GetAlertNotifiersOK describes a response with status code 200, with default header values.
Ok
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 ¶ added in v1.10.0
UpdateAlertNotifierBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateAlertNotifierBadRequest ¶ added in v1.10.0
func NewUpdateAlertNotifierBadRequest() *UpdateAlertNotifierBadRequest
NewUpdateAlertNotifierBadRequest creates a UpdateAlertNotifierBadRequest with default headers values
func (*UpdateAlertNotifierBadRequest) Error ¶ added in v1.10.0
func (o *UpdateAlertNotifierBadRequest) Error() string
func (*UpdateAlertNotifierBadRequest) GetPayload ¶ added in v1.10.0
func (o *UpdateAlertNotifierBadRequest) GetPayload() *models.ErrorBody
type UpdateAlertNotifierInternalServerError ¶ added in v1.10.0
UpdateAlertNotifierInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateAlertNotifierInternalServerError ¶ added in v1.10.0
func NewUpdateAlertNotifierInternalServerError() *UpdateAlertNotifierInternalServerError
NewUpdateAlertNotifierInternalServerError creates a UpdateAlertNotifierInternalServerError with default headers values
func (*UpdateAlertNotifierInternalServerError) Error ¶ added in v1.10.0
func (o *UpdateAlertNotifierInternalServerError) Error() string
func (*UpdateAlertNotifierInternalServerError) GetPayload ¶ added in v1.10.0
func (o *UpdateAlertNotifierInternalServerError) GetPayload() *models.ErrorBody
type UpdateAlertNotifierNotFound ¶ added in v1.10.0
UpdateAlertNotifierNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateAlertNotifierNotFound ¶ added in v1.10.0
func NewUpdateAlertNotifierNotFound() *UpdateAlertNotifierNotFound
NewUpdateAlertNotifierNotFound creates a UpdateAlertNotifierNotFound with default headers values
func (*UpdateAlertNotifierNotFound) Error ¶ added in v1.10.0
func (o *UpdateAlertNotifierNotFound) Error() string
func (*UpdateAlertNotifierNotFound) GetPayload ¶ added in v1.10.0
func (o *UpdateAlertNotifierNotFound) GetPayload() *models.ErrorBody
type UpdateAlertNotifierOK ¶ added in v1.10.0
type UpdateAlertNotifierOK struct {
Payload *models.WithTaskAlertNotifier
}
UpdateAlertNotifierOK describes a response with status code 200, with default header values.
Ok
func NewUpdateAlertNotifierOK ¶ added in v1.10.0
func NewUpdateAlertNotifierOK() *UpdateAlertNotifierOK
NewUpdateAlertNotifierOK creates a UpdateAlertNotifierOK with default headers values
func (*UpdateAlertNotifierOK) Error ¶ added in v1.10.0
func (o *UpdateAlertNotifierOK) Error() string
func (*UpdateAlertNotifierOK) GetPayload ¶ added in v1.10.0
func (o *UpdateAlertNotifierOK) GetPayload() *models.WithTaskAlertNotifier
type UpdateAlertNotifierParams ¶ added in v1.10.0
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 ¶ added in v1.10.0
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 ¶ added in v1.10.0
func NewUpdateAlertNotifierParamsWithContext(ctx context.Context) *UpdateAlertNotifierParams
NewUpdateAlertNotifierParamsWithContext creates a new UpdateAlertNotifierParams object with the ability to set a context for a request.
func NewUpdateAlertNotifierParamsWithHTTPClient ¶ added in v1.10.0
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 ¶ added in v1.10.0
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 ¶ added in v1.10.0
func (o *UpdateAlertNotifierParams) SetContext(ctx context.Context)
SetContext adds the context to the update alert notifier params
func (*UpdateAlertNotifierParams) SetDefaults ¶ added in v1.10.0
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 ¶ added in v1.10.0
func (o *UpdateAlertNotifierParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update alert notifier params
func (*UpdateAlertNotifierParams) SetRequestBody ¶ added in v1.10.0
func (o *UpdateAlertNotifierParams) SetRequestBody(requestBody *models.AlertNotifierUpdationParams)
SetRequestBody adds the requestBody to the update alert notifier params
func (*UpdateAlertNotifierParams) SetTimeout ¶ added in v1.10.0
func (o *UpdateAlertNotifierParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update alert notifier params
func (*UpdateAlertNotifierParams) WithContext ¶ added in v1.10.0
func (o *UpdateAlertNotifierParams) WithContext(ctx context.Context) *UpdateAlertNotifierParams
WithContext adds the context to the update alert notifier params
func (*UpdateAlertNotifierParams) WithDefaults ¶ added in v1.10.0
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 ¶ added in v1.10.0
func (o *UpdateAlertNotifierParams) WithHTTPClient(client *http.Client) *UpdateAlertNotifierParams
WithHTTPClient adds the HTTPClient to the update alert notifier params
func (*UpdateAlertNotifierParams) WithRequestBody ¶ added in v1.10.0
func (o *UpdateAlertNotifierParams) WithRequestBody(requestBody *models.AlertNotifierUpdationParams) *UpdateAlertNotifierParams
WithRequestBody adds the requestBody to the update alert notifier params
func (*UpdateAlertNotifierParams) WithTimeout ¶ added in v1.10.0
func (o *UpdateAlertNotifierParams) WithTimeout(timeout time.Duration) *UpdateAlertNotifierParams
WithTimeout adds the timeout to the update alert notifier params
func (*UpdateAlertNotifierParams) WriteToRequest ¶ added in v1.10.0
func (o *UpdateAlertNotifierParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateAlertNotifierReader ¶ added in v1.10.0
type UpdateAlertNotifierReader struct {
// contains filtered or unexported fields
}
UpdateAlertNotifierReader is a Reader for the UpdateAlertNotifier structure.
func (*UpdateAlertNotifierReader) ReadResponse ¶ added in v1.10.0
func (o *UpdateAlertNotifierReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.