global_alert_rule

package
v0.0.0-...-67cd95e Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for global alert rule API

func (*Client) GetGlobalAlertRules

func (a *Client) GetGlobalAlertRules(params *GetGlobalAlertRulesParams, opts ...ClientOption) (*GetGlobalAlertRulesOK, error)

GetGlobalAlertRules get global alert rules API

func (*Client) GetGlobalAlertRulesConnection

func (a *Client) GetGlobalAlertRulesConnection(params *GetGlobalAlertRulesConnectionParams, opts ...ClientOption) (*GetGlobalAlertRulesConnectionOK, error)

GetGlobalAlertRulesConnection get global alert rules connection API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateCustomizeAlertRule

func (a *Client) UpdateCustomizeAlertRule(params *UpdateCustomizeAlertRuleParams, opts ...ClientOption) (*UpdateCustomizeAlertRuleOK, error)

UpdateCustomizeAlertRule update customize alert rule API

func (*Client) UpdateGlobalAlertRule

func (a *Client) UpdateGlobalAlertRule(params *UpdateGlobalAlertRuleParams, opts ...ClientOption) (*UpdateGlobalAlertRuleOK, error)

UpdateGlobalAlertRule update global alert rule API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetGlobalAlertRules(params *GetGlobalAlertRulesParams, opts ...ClientOption) (*GetGlobalAlertRulesOK, error)

	GetGlobalAlertRulesConnection(params *GetGlobalAlertRulesConnectionParams, opts ...ClientOption) (*GetGlobalAlertRulesConnectionOK, error)

	UpdateCustomizeAlertRule(params *UpdateCustomizeAlertRuleParams, opts ...ClientOption) (*UpdateCustomizeAlertRuleOK, error)

	UpdateGlobalAlertRule(params *UpdateGlobalAlertRuleParams, opts ...ClientOption) (*UpdateGlobalAlertRuleOK, 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 global alert rule API client.

type GetGlobalAlertRulesBadRequest

type GetGlobalAlertRulesBadRequest struct {
	Payload string
}
GetGlobalAlertRulesBadRequest describes a response with status code 400, with default header values.

GetGlobalAlertRulesBadRequest get global alert rules bad request

func NewGetGlobalAlertRulesBadRequest

func NewGetGlobalAlertRulesBadRequest() *GetGlobalAlertRulesBadRequest

NewGetGlobalAlertRulesBadRequest creates a GetGlobalAlertRulesBadRequest with default headers values

func (*GetGlobalAlertRulesBadRequest) Error

func (*GetGlobalAlertRulesBadRequest) GetPayload

func (o *GetGlobalAlertRulesBadRequest) GetPayload() string

type GetGlobalAlertRulesConnectionBadRequest

type GetGlobalAlertRulesConnectionBadRequest struct {
	Payload string
}
GetGlobalAlertRulesConnectionBadRequest describes a response with status code 400, with default header values.

GetGlobalAlertRulesConnectionBadRequest get global alert rules connection bad request

func NewGetGlobalAlertRulesConnectionBadRequest

func NewGetGlobalAlertRulesConnectionBadRequest() *GetGlobalAlertRulesConnectionBadRequest

NewGetGlobalAlertRulesConnectionBadRequest creates a GetGlobalAlertRulesConnectionBadRequest with default headers values

func (*GetGlobalAlertRulesConnectionBadRequest) Error

func (*GetGlobalAlertRulesConnectionBadRequest) GetPayload

type GetGlobalAlertRulesConnectionOK

type GetGlobalAlertRulesConnectionOK struct {
	Payload *models.GlobalAlertRuleConnection
}
GetGlobalAlertRulesConnectionOK describes a response with status code 200, with default header values.

Ok

func NewGetGlobalAlertRulesConnectionOK

func NewGetGlobalAlertRulesConnectionOK() *GetGlobalAlertRulesConnectionOK

NewGetGlobalAlertRulesConnectionOK creates a GetGlobalAlertRulesConnectionOK with default headers values

func (*GetGlobalAlertRulesConnectionOK) Error

func (*GetGlobalAlertRulesConnectionOK) GetPayload

type GetGlobalAlertRulesConnectionParams

type GetGlobalAlertRulesConnectionParams struct {

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

	// RequestBody.
	RequestBody *models.GetGlobalAlertRulesConnectionRequestBody

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

GetGlobalAlertRulesConnectionParams contains all the parameters to send to the API endpoint

for the get global alert rules connection operation.

Typically these are written to a http.Request.

func NewGetGlobalAlertRulesConnectionParams

func NewGetGlobalAlertRulesConnectionParams() *GetGlobalAlertRulesConnectionParams

NewGetGlobalAlertRulesConnectionParams creates a new GetGlobalAlertRulesConnectionParams 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 NewGetGlobalAlertRulesConnectionParamsWithContext

func NewGetGlobalAlertRulesConnectionParamsWithContext(ctx context.Context) *GetGlobalAlertRulesConnectionParams

NewGetGlobalAlertRulesConnectionParamsWithContext creates a new GetGlobalAlertRulesConnectionParams object with the ability to set a context for a request.

func NewGetGlobalAlertRulesConnectionParamsWithHTTPClient

func NewGetGlobalAlertRulesConnectionParamsWithHTTPClient(client *http.Client) *GetGlobalAlertRulesConnectionParams

NewGetGlobalAlertRulesConnectionParamsWithHTTPClient creates a new GetGlobalAlertRulesConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetGlobalAlertRulesConnectionParamsWithTimeout

func NewGetGlobalAlertRulesConnectionParamsWithTimeout(timeout time.Duration) *GetGlobalAlertRulesConnectionParams

NewGetGlobalAlertRulesConnectionParamsWithTimeout creates a new GetGlobalAlertRulesConnectionParams object with the ability to set a timeout on a request.

func (*GetGlobalAlertRulesConnectionParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the get global alert rules connection params

func (*GetGlobalAlertRulesConnectionParams) SetContext

SetContext adds the context to the get global alert rules connection params

func (*GetGlobalAlertRulesConnectionParams) SetDefaults

func (o *GetGlobalAlertRulesConnectionParams) SetDefaults()

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

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

func (*GetGlobalAlertRulesConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get global alert rules connection params

func (*GetGlobalAlertRulesConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get global alert rules connection params

func (*GetGlobalAlertRulesConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the get global alert rules connection params

func (*GetGlobalAlertRulesConnectionParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the get global alert rules connection params

func (*GetGlobalAlertRulesConnectionParams) WithContext

WithContext adds the context to the get global alert rules connection params

func (*GetGlobalAlertRulesConnectionParams) WithDefaults

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

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

func (*GetGlobalAlertRulesConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get global alert rules connection params

func (*GetGlobalAlertRulesConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get global alert rules connection params

func (*GetGlobalAlertRulesConnectionParams) WithTimeout

WithTimeout adds the timeout to the get global alert rules connection params

func (*GetGlobalAlertRulesConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetGlobalAlertRulesConnectionReader

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

GetGlobalAlertRulesConnectionReader is a Reader for the GetGlobalAlertRulesConnection structure.

func (*GetGlobalAlertRulesConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetGlobalAlertRulesOK

type GetGlobalAlertRulesOK struct {
	Payload []*models.GlobalAlertRule
}
GetGlobalAlertRulesOK describes a response with status code 200, with default header values.

Ok

func NewGetGlobalAlertRulesOK

func NewGetGlobalAlertRulesOK() *GetGlobalAlertRulesOK

NewGetGlobalAlertRulesOK creates a GetGlobalAlertRulesOK with default headers values

func (*GetGlobalAlertRulesOK) Error

func (o *GetGlobalAlertRulesOK) Error() string

func (*GetGlobalAlertRulesOK) GetPayload

func (o *GetGlobalAlertRulesOK) GetPayload() []*models.GlobalAlertRule

type GetGlobalAlertRulesParams

type GetGlobalAlertRulesParams struct {

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

	// RequestBody.
	RequestBody *models.GetGlobalAlertRulesRequestBody

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

GetGlobalAlertRulesParams contains all the parameters to send to the API endpoint

for the get global alert rules operation.

Typically these are written to a http.Request.

func NewGetGlobalAlertRulesParams

func NewGetGlobalAlertRulesParams() *GetGlobalAlertRulesParams

NewGetGlobalAlertRulesParams creates a new GetGlobalAlertRulesParams 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 NewGetGlobalAlertRulesParamsWithContext

func NewGetGlobalAlertRulesParamsWithContext(ctx context.Context) *GetGlobalAlertRulesParams

NewGetGlobalAlertRulesParamsWithContext creates a new GetGlobalAlertRulesParams object with the ability to set a context for a request.

func NewGetGlobalAlertRulesParamsWithHTTPClient

func NewGetGlobalAlertRulesParamsWithHTTPClient(client *http.Client) *GetGlobalAlertRulesParams

NewGetGlobalAlertRulesParamsWithHTTPClient creates a new GetGlobalAlertRulesParams object with the ability to set a custom HTTPClient for a request.

func NewGetGlobalAlertRulesParamsWithTimeout

func NewGetGlobalAlertRulesParamsWithTimeout(timeout time.Duration) *GetGlobalAlertRulesParams

NewGetGlobalAlertRulesParamsWithTimeout creates a new GetGlobalAlertRulesParams object with the ability to set a timeout on a request.

func (*GetGlobalAlertRulesParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the get global alert rules params

func (*GetGlobalAlertRulesParams) SetContext

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

SetContext adds the context to the get global alert rules params

func (*GetGlobalAlertRulesParams) SetDefaults

func (o *GetGlobalAlertRulesParams) SetDefaults()

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

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

func (*GetGlobalAlertRulesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get global alert rules params

func (*GetGlobalAlertRulesParams) SetRequestBody

func (o *GetGlobalAlertRulesParams) SetRequestBody(requestBody *models.GetGlobalAlertRulesRequestBody)

SetRequestBody adds the requestBody to the get global alert rules params

func (*GetGlobalAlertRulesParams) SetTimeout

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

SetTimeout adds the timeout to the get global alert rules params

func (*GetGlobalAlertRulesParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the get global alert rules params

func (*GetGlobalAlertRulesParams) WithContext

WithContext adds the context to the get global alert rules params

func (*GetGlobalAlertRulesParams) WithDefaults

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

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

func (*GetGlobalAlertRulesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get global alert rules params

func (*GetGlobalAlertRulesParams) WithRequestBody

WithRequestBody adds the requestBody to the get global alert rules params

func (*GetGlobalAlertRulesParams) WithTimeout

WithTimeout adds the timeout to the get global alert rules params

func (*GetGlobalAlertRulesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetGlobalAlertRulesReader

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

GetGlobalAlertRulesReader is a Reader for the GetGlobalAlertRules structure.

func (*GetGlobalAlertRulesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateCustomizeAlertRuleBadRequest

type UpdateCustomizeAlertRuleBadRequest struct {
	Payload string
}
UpdateCustomizeAlertRuleBadRequest describes a response with status code 400, with default header values.

UpdateCustomizeAlertRuleBadRequest update customize alert rule bad request

func NewUpdateCustomizeAlertRuleBadRequest

func NewUpdateCustomizeAlertRuleBadRequest() *UpdateCustomizeAlertRuleBadRequest

NewUpdateCustomizeAlertRuleBadRequest creates a UpdateCustomizeAlertRuleBadRequest with default headers values

func (*UpdateCustomizeAlertRuleBadRequest) Error

func (*UpdateCustomizeAlertRuleBadRequest) GetPayload

type UpdateCustomizeAlertRuleOK

type UpdateCustomizeAlertRuleOK struct {
	Payload []*models.WithTaskGlobalAlertRule
}
UpdateCustomizeAlertRuleOK describes a response with status code 200, with default header values.

Ok

func NewUpdateCustomizeAlertRuleOK

func NewUpdateCustomizeAlertRuleOK() *UpdateCustomizeAlertRuleOK

NewUpdateCustomizeAlertRuleOK creates a UpdateCustomizeAlertRuleOK with default headers values

func (*UpdateCustomizeAlertRuleOK) Error

func (*UpdateCustomizeAlertRuleOK) GetPayload

type UpdateCustomizeAlertRuleParams

type UpdateCustomizeAlertRuleParams struct {

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

	// RequestBody.
	RequestBody *models.CustomizeAlertRuleUpdationParams

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

UpdateCustomizeAlertRuleParams contains all the parameters to send to the API endpoint

for the update customize alert rule operation.

Typically these are written to a http.Request.

func NewUpdateCustomizeAlertRuleParams

func NewUpdateCustomizeAlertRuleParams() *UpdateCustomizeAlertRuleParams

NewUpdateCustomizeAlertRuleParams creates a new UpdateCustomizeAlertRuleParams 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 NewUpdateCustomizeAlertRuleParamsWithContext

func NewUpdateCustomizeAlertRuleParamsWithContext(ctx context.Context) *UpdateCustomizeAlertRuleParams

NewUpdateCustomizeAlertRuleParamsWithContext creates a new UpdateCustomizeAlertRuleParams object with the ability to set a context for a request.

func NewUpdateCustomizeAlertRuleParamsWithHTTPClient

func NewUpdateCustomizeAlertRuleParamsWithHTTPClient(client *http.Client) *UpdateCustomizeAlertRuleParams

NewUpdateCustomizeAlertRuleParamsWithHTTPClient creates a new UpdateCustomizeAlertRuleParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateCustomizeAlertRuleParamsWithTimeout

func NewUpdateCustomizeAlertRuleParamsWithTimeout(timeout time.Duration) *UpdateCustomizeAlertRuleParams

NewUpdateCustomizeAlertRuleParamsWithTimeout creates a new UpdateCustomizeAlertRuleParams object with the ability to set a timeout on a request.

func (*UpdateCustomizeAlertRuleParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the update customize alert rule params

func (*UpdateCustomizeAlertRuleParams) SetContext

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

SetContext adds the context to the update customize alert rule params

func (*UpdateCustomizeAlertRuleParams) SetDefaults

func (o *UpdateCustomizeAlertRuleParams) SetDefaults()

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

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

func (*UpdateCustomizeAlertRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update customize alert rule params

func (*UpdateCustomizeAlertRuleParams) SetRequestBody

SetRequestBody adds the requestBody to the update customize alert rule params

func (*UpdateCustomizeAlertRuleParams) SetTimeout

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

SetTimeout adds the timeout to the update customize alert rule params

func (*UpdateCustomizeAlertRuleParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the update customize alert rule params

func (*UpdateCustomizeAlertRuleParams) WithContext

WithContext adds the context to the update customize alert rule params

func (*UpdateCustomizeAlertRuleParams) WithDefaults

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

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

func (*UpdateCustomizeAlertRuleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update customize alert rule params

func (*UpdateCustomizeAlertRuleParams) WithRequestBody

WithRequestBody adds the requestBody to the update customize alert rule params

func (*UpdateCustomizeAlertRuleParams) WithTimeout

WithTimeout adds the timeout to the update customize alert rule params

func (*UpdateCustomizeAlertRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateCustomizeAlertRuleReader

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

UpdateCustomizeAlertRuleReader is a Reader for the UpdateCustomizeAlertRule structure.

func (*UpdateCustomizeAlertRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateGlobalAlertRuleBadRequest

type UpdateGlobalAlertRuleBadRequest struct {
	Payload string
}
UpdateGlobalAlertRuleBadRequest describes a response with status code 400, with default header values.

UpdateGlobalAlertRuleBadRequest update global alert rule bad request

func NewUpdateGlobalAlertRuleBadRequest

func NewUpdateGlobalAlertRuleBadRequest() *UpdateGlobalAlertRuleBadRequest

NewUpdateGlobalAlertRuleBadRequest creates a UpdateGlobalAlertRuleBadRequest with default headers values

func (*UpdateGlobalAlertRuleBadRequest) Error

func (*UpdateGlobalAlertRuleBadRequest) GetPayload

func (o *UpdateGlobalAlertRuleBadRequest) GetPayload() string

type UpdateGlobalAlertRuleOK

type UpdateGlobalAlertRuleOK struct {
	Payload []*models.WithTaskGlobalAlertRule
}
UpdateGlobalAlertRuleOK describes a response with status code 200, with default header values.

Ok

func NewUpdateGlobalAlertRuleOK

func NewUpdateGlobalAlertRuleOK() *UpdateGlobalAlertRuleOK

NewUpdateGlobalAlertRuleOK creates a UpdateGlobalAlertRuleOK with default headers values

func (*UpdateGlobalAlertRuleOK) Error

func (o *UpdateGlobalAlertRuleOK) Error() string

func (*UpdateGlobalAlertRuleOK) GetPayload

type UpdateGlobalAlertRuleParams

type UpdateGlobalAlertRuleParams struct {

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

	// RequestBody.
	RequestBody *models.GlobalAlertRuleUpdationParams

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

UpdateGlobalAlertRuleParams contains all the parameters to send to the API endpoint

for the update global alert rule operation.

Typically these are written to a http.Request.

func NewUpdateGlobalAlertRuleParams

func NewUpdateGlobalAlertRuleParams() *UpdateGlobalAlertRuleParams

NewUpdateGlobalAlertRuleParams creates a new UpdateGlobalAlertRuleParams 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 NewUpdateGlobalAlertRuleParamsWithContext

func NewUpdateGlobalAlertRuleParamsWithContext(ctx context.Context) *UpdateGlobalAlertRuleParams

NewUpdateGlobalAlertRuleParamsWithContext creates a new UpdateGlobalAlertRuleParams object with the ability to set a context for a request.

func NewUpdateGlobalAlertRuleParamsWithHTTPClient

func NewUpdateGlobalAlertRuleParamsWithHTTPClient(client *http.Client) *UpdateGlobalAlertRuleParams

NewUpdateGlobalAlertRuleParamsWithHTTPClient creates a new UpdateGlobalAlertRuleParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateGlobalAlertRuleParamsWithTimeout

func NewUpdateGlobalAlertRuleParamsWithTimeout(timeout time.Duration) *UpdateGlobalAlertRuleParams

NewUpdateGlobalAlertRuleParamsWithTimeout creates a new UpdateGlobalAlertRuleParams object with the ability to set a timeout on a request.

func (*UpdateGlobalAlertRuleParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the update global alert rule params

func (*UpdateGlobalAlertRuleParams) SetContext

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

SetContext adds the context to the update global alert rule params

func (*UpdateGlobalAlertRuleParams) SetDefaults

func (o *UpdateGlobalAlertRuleParams) SetDefaults()

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

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

func (*UpdateGlobalAlertRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update global alert rule params

func (*UpdateGlobalAlertRuleParams) SetRequestBody

func (o *UpdateGlobalAlertRuleParams) SetRequestBody(requestBody *models.GlobalAlertRuleUpdationParams)

SetRequestBody adds the requestBody to the update global alert rule params

func (*UpdateGlobalAlertRuleParams) SetTimeout

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

SetTimeout adds the timeout to the update global alert rule params

func (*UpdateGlobalAlertRuleParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the update global alert rule params

func (*UpdateGlobalAlertRuleParams) WithContext

WithContext adds the context to the update global alert rule params

func (*UpdateGlobalAlertRuleParams) WithDefaults

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

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

func (*UpdateGlobalAlertRuleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update global alert rule params

func (*UpdateGlobalAlertRuleParams) WithRequestBody

WithRequestBody adds the requestBody to the update global alert rule params

func (*UpdateGlobalAlertRuleParams) WithTimeout

WithTimeout adds the timeout to the update global alert rule params

func (*UpdateGlobalAlertRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateGlobalAlertRuleReader

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

UpdateGlobalAlertRuleReader is a Reader for the UpdateGlobalAlertRule structure.

func (*UpdateGlobalAlertRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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