Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateLogScaleAlert(params *CreateLogScaleAlertParams, opts ...ClientOption) (*CreateLogScaleAlertOK, error)
- func (a *Client) DeleteLogScaleAlert(params *DeleteLogScaleAlertParams, opts ...ClientOption) (*DeleteLogScaleAlertOK, error)
- func (a *Client) ListLogScaleAlerts(params *ListLogScaleAlertsParams, opts ...ClientOption) (*ListLogScaleAlertsOK, error)
- func (a *Client) ReadLogScaleAlert(params *ReadLogScaleAlertParams, opts ...ClientOption) (*ReadLogScaleAlertOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateLogScaleAlert(params *UpdateLogScaleAlertParams, opts ...ClientOption) (*UpdateLogScaleAlertOK, error)
- type ClientOption
- type ClientService
- type CreateLogScaleAlertBadRequest
- func (o *CreateLogScaleAlertBadRequest) Code() int
- func (o *CreateLogScaleAlertBadRequest) Error() string
- func (o *CreateLogScaleAlertBadRequest) GetPayload() *models.APIError
- func (o *CreateLogScaleAlertBadRequest) IsClientError() bool
- func (o *CreateLogScaleAlertBadRequest) IsCode(code int) bool
- func (o *CreateLogScaleAlertBadRequest) IsRedirect() bool
- func (o *CreateLogScaleAlertBadRequest) IsServerError() bool
- func (o *CreateLogScaleAlertBadRequest) IsSuccess() bool
- func (o *CreateLogScaleAlertBadRequest) String() string
- type CreateLogScaleAlertConflict
- func (o *CreateLogScaleAlertConflict) Code() int
- func (o *CreateLogScaleAlertConflict) Error() string
- func (o *CreateLogScaleAlertConflict) GetPayload() *models.APIError
- func (o *CreateLogScaleAlertConflict) IsClientError() bool
- func (o *CreateLogScaleAlertConflict) IsCode(code int) bool
- func (o *CreateLogScaleAlertConflict) IsRedirect() bool
- func (o *CreateLogScaleAlertConflict) IsServerError() bool
- func (o *CreateLogScaleAlertConflict) IsSuccess() bool
- func (o *CreateLogScaleAlertConflict) String() string
- type CreateLogScaleAlertDefault
- func (o *CreateLogScaleAlertDefault) Code() int
- func (o *CreateLogScaleAlertDefault) Error() string
- func (o *CreateLogScaleAlertDefault) GetPayload() models.GenericError
- func (o *CreateLogScaleAlertDefault) IsClientError() bool
- func (o *CreateLogScaleAlertDefault) IsCode(code int) bool
- func (o *CreateLogScaleAlertDefault) IsRedirect() bool
- func (o *CreateLogScaleAlertDefault) IsServerError() bool
- func (o *CreateLogScaleAlertDefault) IsSuccess() bool
- func (o *CreateLogScaleAlertDefault) String() string
- type CreateLogScaleAlertInternalServerError
- func (o *CreateLogScaleAlertInternalServerError) Code() int
- func (o *CreateLogScaleAlertInternalServerError) Error() string
- func (o *CreateLogScaleAlertInternalServerError) GetPayload() *models.APIError
- func (o *CreateLogScaleAlertInternalServerError) IsClientError() bool
- func (o *CreateLogScaleAlertInternalServerError) IsCode(code int) bool
- func (o *CreateLogScaleAlertInternalServerError) IsRedirect() bool
- func (o *CreateLogScaleAlertInternalServerError) IsServerError() bool
- func (o *CreateLogScaleAlertInternalServerError) IsSuccess() bool
- func (o *CreateLogScaleAlertInternalServerError) String() string
- type CreateLogScaleAlertOK
- func (o *CreateLogScaleAlertOK) Code() int
- func (o *CreateLogScaleAlertOK) Error() string
- func (o *CreateLogScaleAlertOK) GetPayload() *models.Configv1CreateLogScaleAlertResponse
- func (o *CreateLogScaleAlertOK) IsClientError() bool
- func (o *CreateLogScaleAlertOK) IsCode(code int) bool
- func (o *CreateLogScaleAlertOK) IsRedirect() bool
- func (o *CreateLogScaleAlertOK) IsServerError() bool
- func (o *CreateLogScaleAlertOK) IsSuccess() bool
- func (o *CreateLogScaleAlertOK) String() string
- type CreateLogScaleAlertParams
- func NewCreateLogScaleAlertParams() *CreateLogScaleAlertParams
- func NewCreateLogScaleAlertParamsWithContext(ctx context.Context) *CreateLogScaleAlertParams
- func NewCreateLogScaleAlertParamsWithHTTPClient(client *http.Client) *CreateLogScaleAlertParams
- func NewCreateLogScaleAlertParamsWithTimeout(timeout time.Duration) *CreateLogScaleAlertParams
- func (o *CreateLogScaleAlertParams) SetBody(body *models.Configv1CreateLogScaleAlertRequest)
- func (o *CreateLogScaleAlertParams) SetContext(ctx context.Context)
- func (o *CreateLogScaleAlertParams) SetDefaults()
- func (o *CreateLogScaleAlertParams) SetHTTPClient(client *http.Client)
- func (o *CreateLogScaleAlertParams) SetTimeout(timeout time.Duration)
- func (o *CreateLogScaleAlertParams) WithBody(body *models.Configv1CreateLogScaleAlertRequest) *CreateLogScaleAlertParams
- func (o *CreateLogScaleAlertParams) WithContext(ctx context.Context) *CreateLogScaleAlertParams
- func (o *CreateLogScaleAlertParams) WithDefaults() *CreateLogScaleAlertParams
- func (o *CreateLogScaleAlertParams) WithHTTPClient(client *http.Client) *CreateLogScaleAlertParams
- func (o *CreateLogScaleAlertParams) WithTimeout(timeout time.Duration) *CreateLogScaleAlertParams
- func (o *CreateLogScaleAlertParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateLogScaleAlertReader
- type DeleteLogScaleAlertBadRequest
- func (o *DeleteLogScaleAlertBadRequest) Code() int
- func (o *DeleteLogScaleAlertBadRequest) Error() string
- func (o *DeleteLogScaleAlertBadRequest) GetPayload() *models.APIError
- func (o *DeleteLogScaleAlertBadRequest) IsClientError() bool
- func (o *DeleteLogScaleAlertBadRequest) IsCode(code int) bool
- func (o *DeleteLogScaleAlertBadRequest) IsRedirect() bool
- func (o *DeleteLogScaleAlertBadRequest) IsServerError() bool
- func (o *DeleteLogScaleAlertBadRequest) IsSuccess() bool
- func (o *DeleteLogScaleAlertBadRequest) String() string
- type DeleteLogScaleAlertDefault
- func (o *DeleteLogScaleAlertDefault) Code() int
- func (o *DeleteLogScaleAlertDefault) Error() string
- func (o *DeleteLogScaleAlertDefault) GetPayload() models.GenericError
- func (o *DeleteLogScaleAlertDefault) IsClientError() bool
- func (o *DeleteLogScaleAlertDefault) IsCode(code int) bool
- func (o *DeleteLogScaleAlertDefault) IsRedirect() bool
- func (o *DeleteLogScaleAlertDefault) IsServerError() bool
- func (o *DeleteLogScaleAlertDefault) IsSuccess() bool
- func (o *DeleteLogScaleAlertDefault) String() string
- type DeleteLogScaleAlertInternalServerError
- func (o *DeleteLogScaleAlertInternalServerError) Code() int
- func (o *DeleteLogScaleAlertInternalServerError) Error() string
- func (o *DeleteLogScaleAlertInternalServerError) GetPayload() *models.APIError
- func (o *DeleteLogScaleAlertInternalServerError) IsClientError() bool
- func (o *DeleteLogScaleAlertInternalServerError) IsCode(code int) bool
- func (o *DeleteLogScaleAlertInternalServerError) IsRedirect() bool
- func (o *DeleteLogScaleAlertInternalServerError) IsServerError() bool
- func (o *DeleteLogScaleAlertInternalServerError) IsSuccess() bool
- func (o *DeleteLogScaleAlertInternalServerError) String() string
- type DeleteLogScaleAlertNotFound
- func (o *DeleteLogScaleAlertNotFound) Code() int
- func (o *DeleteLogScaleAlertNotFound) Error() string
- func (o *DeleteLogScaleAlertNotFound) GetPayload() *models.APIError
- func (o *DeleteLogScaleAlertNotFound) IsClientError() bool
- func (o *DeleteLogScaleAlertNotFound) IsCode(code int) bool
- func (o *DeleteLogScaleAlertNotFound) IsRedirect() bool
- func (o *DeleteLogScaleAlertNotFound) IsServerError() bool
- func (o *DeleteLogScaleAlertNotFound) IsSuccess() bool
- func (o *DeleteLogScaleAlertNotFound) String() string
- type DeleteLogScaleAlertOK
- func (o *DeleteLogScaleAlertOK) Code() int
- func (o *DeleteLogScaleAlertOK) Error() string
- func (o *DeleteLogScaleAlertOK) GetPayload() models.Configv1DeleteLogScaleAlertResponse
- func (o *DeleteLogScaleAlertOK) IsClientError() bool
- func (o *DeleteLogScaleAlertOK) IsCode(code int) bool
- func (o *DeleteLogScaleAlertOK) IsRedirect() bool
- func (o *DeleteLogScaleAlertOK) IsServerError() bool
- func (o *DeleteLogScaleAlertOK) IsSuccess() bool
- func (o *DeleteLogScaleAlertOK) String() string
- type DeleteLogScaleAlertParams
- func NewDeleteLogScaleAlertParams() *DeleteLogScaleAlertParams
- func NewDeleteLogScaleAlertParamsWithContext(ctx context.Context) *DeleteLogScaleAlertParams
- func NewDeleteLogScaleAlertParamsWithHTTPClient(client *http.Client) *DeleteLogScaleAlertParams
- func NewDeleteLogScaleAlertParamsWithTimeout(timeout time.Duration) *DeleteLogScaleAlertParams
- func (o *DeleteLogScaleAlertParams) SetContext(ctx context.Context)
- func (o *DeleteLogScaleAlertParams) SetDefaults()
- func (o *DeleteLogScaleAlertParams) SetHTTPClient(client *http.Client)
- func (o *DeleteLogScaleAlertParams) SetSlug(slug string)
- func (o *DeleteLogScaleAlertParams) SetTimeout(timeout time.Duration)
- func (o *DeleteLogScaleAlertParams) WithContext(ctx context.Context) *DeleteLogScaleAlertParams
- func (o *DeleteLogScaleAlertParams) WithDefaults() *DeleteLogScaleAlertParams
- func (o *DeleteLogScaleAlertParams) WithHTTPClient(client *http.Client) *DeleteLogScaleAlertParams
- func (o *DeleteLogScaleAlertParams) WithSlug(slug string) *DeleteLogScaleAlertParams
- func (o *DeleteLogScaleAlertParams) WithTimeout(timeout time.Duration) *DeleteLogScaleAlertParams
- func (o *DeleteLogScaleAlertParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteLogScaleAlertReader
- type ListLogScaleAlertsDefault
- func (o *ListLogScaleAlertsDefault) Code() int
- func (o *ListLogScaleAlertsDefault) Error() string
- func (o *ListLogScaleAlertsDefault) GetPayload() models.GenericError
- func (o *ListLogScaleAlertsDefault) IsClientError() bool
- func (o *ListLogScaleAlertsDefault) IsCode(code int) bool
- func (o *ListLogScaleAlertsDefault) IsRedirect() bool
- func (o *ListLogScaleAlertsDefault) IsServerError() bool
- func (o *ListLogScaleAlertsDefault) IsSuccess() bool
- func (o *ListLogScaleAlertsDefault) String() string
- type ListLogScaleAlertsInternalServerError
- func (o *ListLogScaleAlertsInternalServerError) Code() int
- func (o *ListLogScaleAlertsInternalServerError) Error() string
- func (o *ListLogScaleAlertsInternalServerError) GetPayload() *models.APIError
- func (o *ListLogScaleAlertsInternalServerError) IsClientError() bool
- func (o *ListLogScaleAlertsInternalServerError) IsCode(code int) bool
- func (o *ListLogScaleAlertsInternalServerError) IsRedirect() bool
- func (o *ListLogScaleAlertsInternalServerError) IsServerError() bool
- func (o *ListLogScaleAlertsInternalServerError) IsSuccess() bool
- func (o *ListLogScaleAlertsInternalServerError) String() string
- type ListLogScaleAlertsOK
- func (o *ListLogScaleAlertsOK) Code() int
- func (o *ListLogScaleAlertsOK) Error() string
- func (o *ListLogScaleAlertsOK) GetPayload() *models.Configv1ListLogScaleAlertsResponse
- func (o *ListLogScaleAlertsOK) IsClientError() bool
- func (o *ListLogScaleAlertsOK) IsCode(code int) bool
- func (o *ListLogScaleAlertsOK) IsRedirect() bool
- func (o *ListLogScaleAlertsOK) IsServerError() bool
- func (o *ListLogScaleAlertsOK) IsSuccess() bool
- func (o *ListLogScaleAlertsOK) String() string
- type ListLogScaleAlertsParams
- func NewListLogScaleAlertsParams() *ListLogScaleAlertsParams
- func NewListLogScaleAlertsParamsWithContext(ctx context.Context) *ListLogScaleAlertsParams
- func NewListLogScaleAlertsParamsWithHTTPClient(client *http.Client) *ListLogScaleAlertsParams
- func NewListLogScaleAlertsParamsWithTimeout(timeout time.Duration) *ListLogScaleAlertsParams
- func (o *ListLogScaleAlertsParams) SetContext(ctx context.Context)
- func (o *ListLogScaleAlertsParams) SetDefaults()
- func (o *ListLogScaleAlertsParams) SetHTTPClient(client *http.Client)
- func (o *ListLogScaleAlertsParams) SetNames(names []string)
- func (o *ListLogScaleAlertsParams) SetPageMaxSize(pageMaxSize *int64)
- func (o *ListLogScaleAlertsParams) SetPageToken(pageToken *string)
- func (o *ListLogScaleAlertsParams) SetSlugs(slugs []string)
- func (o *ListLogScaleAlertsParams) SetTimeout(timeout time.Duration)
- func (o *ListLogScaleAlertsParams) WithContext(ctx context.Context) *ListLogScaleAlertsParams
- func (o *ListLogScaleAlertsParams) WithDefaults() *ListLogScaleAlertsParams
- func (o *ListLogScaleAlertsParams) WithHTTPClient(client *http.Client) *ListLogScaleAlertsParams
- func (o *ListLogScaleAlertsParams) WithNames(names []string) *ListLogScaleAlertsParams
- func (o *ListLogScaleAlertsParams) WithPageMaxSize(pageMaxSize *int64) *ListLogScaleAlertsParams
- func (o *ListLogScaleAlertsParams) WithPageToken(pageToken *string) *ListLogScaleAlertsParams
- func (o *ListLogScaleAlertsParams) WithSlugs(slugs []string) *ListLogScaleAlertsParams
- func (o *ListLogScaleAlertsParams) WithTimeout(timeout time.Duration) *ListLogScaleAlertsParams
- func (o *ListLogScaleAlertsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListLogScaleAlertsReader
- type ReadLogScaleAlertDefault
- func (o *ReadLogScaleAlertDefault) Code() int
- func (o *ReadLogScaleAlertDefault) Error() string
- func (o *ReadLogScaleAlertDefault) GetPayload() models.GenericError
- func (o *ReadLogScaleAlertDefault) IsClientError() bool
- func (o *ReadLogScaleAlertDefault) IsCode(code int) bool
- func (o *ReadLogScaleAlertDefault) IsRedirect() bool
- func (o *ReadLogScaleAlertDefault) IsServerError() bool
- func (o *ReadLogScaleAlertDefault) IsSuccess() bool
- func (o *ReadLogScaleAlertDefault) String() string
- type ReadLogScaleAlertInternalServerError
- func (o *ReadLogScaleAlertInternalServerError) Code() int
- func (o *ReadLogScaleAlertInternalServerError) Error() string
- func (o *ReadLogScaleAlertInternalServerError) GetPayload() *models.APIError
- func (o *ReadLogScaleAlertInternalServerError) IsClientError() bool
- func (o *ReadLogScaleAlertInternalServerError) IsCode(code int) bool
- func (o *ReadLogScaleAlertInternalServerError) IsRedirect() bool
- func (o *ReadLogScaleAlertInternalServerError) IsServerError() bool
- func (o *ReadLogScaleAlertInternalServerError) IsSuccess() bool
- func (o *ReadLogScaleAlertInternalServerError) String() string
- type ReadLogScaleAlertNotFound
- func (o *ReadLogScaleAlertNotFound) Code() int
- func (o *ReadLogScaleAlertNotFound) Error() string
- func (o *ReadLogScaleAlertNotFound) GetPayload() *models.APIError
- func (o *ReadLogScaleAlertNotFound) IsClientError() bool
- func (o *ReadLogScaleAlertNotFound) IsCode(code int) bool
- func (o *ReadLogScaleAlertNotFound) IsRedirect() bool
- func (o *ReadLogScaleAlertNotFound) IsServerError() bool
- func (o *ReadLogScaleAlertNotFound) IsSuccess() bool
- func (o *ReadLogScaleAlertNotFound) String() string
- type ReadLogScaleAlertOK
- func (o *ReadLogScaleAlertOK) Code() int
- func (o *ReadLogScaleAlertOK) Error() string
- func (o *ReadLogScaleAlertOK) GetPayload() *models.Configv1ReadLogScaleAlertResponse
- func (o *ReadLogScaleAlertOK) IsClientError() bool
- func (o *ReadLogScaleAlertOK) IsCode(code int) bool
- func (o *ReadLogScaleAlertOK) IsRedirect() bool
- func (o *ReadLogScaleAlertOK) IsServerError() bool
- func (o *ReadLogScaleAlertOK) IsSuccess() bool
- func (o *ReadLogScaleAlertOK) String() string
- type ReadLogScaleAlertParams
- func NewReadLogScaleAlertParams() *ReadLogScaleAlertParams
- func NewReadLogScaleAlertParamsWithContext(ctx context.Context) *ReadLogScaleAlertParams
- func NewReadLogScaleAlertParamsWithHTTPClient(client *http.Client) *ReadLogScaleAlertParams
- func NewReadLogScaleAlertParamsWithTimeout(timeout time.Duration) *ReadLogScaleAlertParams
- func (o *ReadLogScaleAlertParams) SetContext(ctx context.Context)
- func (o *ReadLogScaleAlertParams) SetDefaults()
- func (o *ReadLogScaleAlertParams) SetHTTPClient(client *http.Client)
- func (o *ReadLogScaleAlertParams) SetSlug(slug string)
- func (o *ReadLogScaleAlertParams) SetTimeout(timeout time.Duration)
- func (o *ReadLogScaleAlertParams) WithContext(ctx context.Context) *ReadLogScaleAlertParams
- func (o *ReadLogScaleAlertParams) WithDefaults() *ReadLogScaleAlertParams
- func (o *ReadLogScaleAlertParams) WithHTTPClient(client *http.Client) *ReadLogScaleAlertParams
- func (o *ReadLogScaleAlertParams) WithSlug(slug string) *ReadLogScaleAlertParams
- func (o *ReadLogScaleAlertParams) WithTimeout(timeout time.Duration) *ReadLogScaleAlertParams
- func (o *ReadLogScaleAlertParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadLogScaleAlertReader
- type UpdateLogScaleAlertBadRequest
- func (o *UpdateLogScaleAlertBadRequest) Code() int
- func (o *UpdateLogScaleAlertBadRequest) Error() string
- func (o *UpdateLogScaleAlertBadRequest) GetPayload() *models.APIError
- func (o *UpdateLogScaleAlertBadRequest) IsClientError() bool
- func (o *UpdateLogScaleAlertBadRequest) IsCode(code int) bool
- func (o *UpdateLogScaleAlertBadRequest) IsRedirect() bool
- func (o *UpdateLogScaleAlertBadRequest) IsServerError() bool
- func (o *UpdateLogScaleAlertBadRequest) IsSuccess() bool
- func (o *UpdateLogScaleAlertBadRequest) String() string
- type UpdateLogScaleAlertConflict
- func (o *UpdateLogScaleAlertConflict) Code() int
- func (o *UpdateLogScaleAlertConflict) Error() string
- func (o *UpdateLogScaleAlertConflict) GetPayload() *models.APIError
- func (o *UpdateLogScaleAlertConflict) IsClientError() bool
- func (o *UpdateLogScaleAlertConflict) IsCode(code int) bool
- func (o *UpdateLogScaleAlertConflict) IsRedirect() bool
- func (o *UpdateLogScaleAlertConflict) IsServerError() bool
- func (o *UpdateLogScaleAlertConflict) IsSuccess() bool
- func (o *UpdateLogScaleAlertConflict) String() string
- type UpdateLogScaleAlertDefault
- func (o *UpdateLogScaleAlertDefault) Code() int
- func (o *UpdateLogScaleAlertDefault) Error() string
- func (o *UpdateLogScaleAlertDefault) GetPayload() models.GenericError
- func (o *UpdateLogScaleAlertDefault) IsClientError() bool
- func (o *UpdateLogScaleAlertDefault) IsCode(code int) bool
- func (o *UpdateLogScaleAlertDefault) IsRedirect() bool
- func (o *UpdateLogScaleAlertDefault) IsServerError() bool
- func (o *UpdateLogScaleAlertDefault) IsSuccess() bool
- func (o *UpdateLogScaleAlertDefault) String() string
- type UpdateLogScaleAlertInternalServerError
- func (o *UpdateLogScaleAlertInternalServerError) Code() int
- func (o *UpdateLogScaleAlertInternalServerError) Error() string
- func (o *UpdateLogScaleAlertInternalServerError) GetPayload() *models.APIError
- func (o *UpdateLogScaleAlertInternalServerError) IsClientError() bool
- func (o *UpdateLogScaleAlertInternalServerError) IsCode(code int) bool
- func (o *UpdateLogScaleAlertInternalServerError) IsRedirect() bool
- func (o *UpdateLogScaleAlertInternalServerError) IsServerError() bool
- func (o *UpdateLogScaleAlertInternalServerError) IsSuccess() bool
- func (o *UpdateLogScaleAlertInternalServerError) String() string
- type UpdateLogScaleAlertNotFound
- func (o *UpdateLogScaleAlertNotFound) Code() int
- func (o *UpdateLogScaleAlertNotFound) Error() string
- func (o *UpdateLogScaleAlertNotFound) GetPayload() *models.APIError
- func (o *UpdateLogScaleAlertNotFound) IsClientError() bool
- func (o *UpdateLogScaleAlertNotFound) IsCode(code int) bool
- func (o *UpdateLogScaleAlertNotFound) IsRedirect() bool
- func (o *UpdateLogScaleAlertNotFound) IsServerError() bool
- func (o *UpdateLogScaleAlertNotFound) IsSuccess() bool
- func (o *UpdateLogScaleAlertNotFound) String() string
- type UpdateLogScaleAlertOK
- func (o *UpdateLogScaleAlertOK) Code() int
- func (o *UpdateLogScaleAlertOK) Error() string
- func (o *UpdateLogScaleAlertOK) GetPayload() *models.Configv1UpdateLogScaleAlertResponse
- func (o *UpdateLogScaleAlertOK) IsClientError() bool
- func (o *UpdateLogScaleAlertOK) IsCode(code int) bool
- func (o *UpdateLogScaleAlertOK) IsRedirect() bool
- func (o *UpdateLogScaleAlertOK) IsServerError() bool
- func (o *UpdateLogScaleAlertOK) IsSuccess() bool
- func (o *UpdateLogScaleAlertOK) String() string
- type UpdateLogScaleAlertParams
- func NewUpdateLogScaleAlertParams() *UpdateLogScaleAlertParams
- func NewUpdateLogScaleAlertParamsWithContext(ctx context.Context) *UpdateLogScaleAlertParams
- func NewUpdateLogScaleAlertParamsWithHTTPClient(client *http.Client) *UpdateLogScaleAlertParams
- func NewUpdateLogScaleAlertParamsWithTimeout(timeout time.Duration) *UpdateLogScaleAlertParams
- func (o *UpdateLogScaleAlertParams) SetBody(body *models.ConfigV1UpdateLogScaleAlertBody)
- func (o *UpdateLogScaleAlertParams) SetContext(ctx context.Context)
- func (o *UpdateLogScaleAlertParams) SetDefaults()
- func (o *UpdateLogScaleAlertParams) SetHTTPClient(client *http.Client)
- func (o *UpdateLogScaleAlertParams) SetSlug(slug string)
- func (o *UpdateLogScaleAlertParams) SetTimeout(timeout time.Duration)
- func (o *UpdateLogScaleAlertParams) WithBody(body *models.ConfigV1UpdateLogScaleAlertBody) *UpdateLogScaleAlertParams
- func (o *UpdateLogScaleAlertParams) WithContext(ctx context.Context) *UpdateLogScaleAlertParams
- func (o *UpdateLogScaleAlertParams) WithDefaults() *UpdateLogScaleAlertParams
- func (o *UpdateLogScaleAlertParams) WithHTTPClient(client *http.Client) *UpdateLogScaleAlertParams
- func (o *UpdateLogScaleAlertParams) WithSlug(slug string) *UpdateLogScaleAlertParams
- func (o *UpdateLogScaleAlertParams) WithTimeout(timeout time.Duration) *UpdateLogScaleAlertParams
- func (o *UpdateLogScaleAlertParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateLogScaleAlertReader
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 log scale alert API
func (*Client) CreateLogScaleAlert ¶
func (a *Client) CreateLogScaleAlert(params *CreateLogScaleAlertParams, opts ...ClientOption) (*CreateLogScaleAlertOK, error)
CreateLogScaleAlert create log scale alert API
func (*Client) DeleteLogScaleAlert ¶
func (a *Client) DeleteLogScaleAlert(params *DeleteLogScaleAlertParams, opts ...ClientOption) (*DeleteLogScaleAlertOK, error)
DeleteLogScaleAlert delete log scale alert API
func (*Client) ListLogScaleAlerts ¶
func (a *Client) ListLogScaleAlerts(params *ListLogScaleAlertsParams, opts ...ClientOption) (*ListLogScaleAlertsOK, error)
ListLogScaleAlerts list log scale alerts API
func (*Client) ReadLogScaleAlert ¶
func (a *Client) ReadLogScaleAlert(params *ReadLogScaleAlertParams, opts ...ClientOption) (*ReadLogScaleAlertOK, error)
ReadLogScaleAlert read log scale alert API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateLogScaleAlert ¶
func (a *Client) UpdateLogScaleAlert(params *UpdateLogScaleAlertParams, opts ...ClientOption) (*UpdateLogScaleAlertOK, error)
UpdateLogScaleAlert update log scale alert API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateLogScaleAlert(params *CreateLogScaleAlertParams, opts ...ClientOption) (*CreateLogScaleAlertOK, error) DeleteLogScaleAlert(params *DeleteLogScaleAlertParams, opts ...ClientOption) (*DeleteLogScaleAlertOK, error) ListLogScaleAlerts(params *ListLogScaleAlertsParams, opts ...ClientOption) (*ListLogScaleAlertsOK, error) ReadLogScaleAlert(params *ReadLogScaleAlertParams, opts ...ClientOption) (*ReadLogScaleAlertOK, error) UpdateLogScaleAlert(params *UpdateLogScaleAlertParams, opts ...ClientOption) (*UpdateLogScaleAlertOK, 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 log scale alert API client.
type CreateLogScaleAlertBadRequest ¶
CreateLogScaleAlertBadRequest describes a response with status code 400, with default header values.
Cannot create the LogScaleAlert because the request is invalid.
func NewCreateLogScaleAlertBadRequest ¶
func NewCreateLogScaleAlertBadRequest() *CreateLogScaleAlertBadRequest
NewCreateLogScaleAlertBadRequest creates a CreateLogScaleAlertBadRequest with default headers values
func (*CreateLogScaleAlertBadRequest) Code ¶
func (o *CreateLogScaleAlertBadRequest) Code() int
Code gets the status code for the create log scale alert bad request response
func (*CreateLogScaleAlertBadRequest) Error ¶
func (o *CreateLogScaleAlertBadRequest) Error() string
func (*CreateLogScaleAlertBadRequest) GetPayload ¶
func (o *CreateLogScaleAlertBadRequest) GetPayload() *models.APIError
func (*CreateLogScaleAlertBadRequest) IsClientError ¶
func (o *CreateLogScaleAlertBadRequest) IsClientError() bool
IsClientError returns true when this create log scale alert bad request response has a 4xx status code
func (*CreateLogScaleAlertBadRequest) IsCode ¶
func (o *CreateLogScaleAlertBadRequest) IsCode(code int) bool
IsCode returns true when this create log scale alert bad request response a status code equal to that given
func (*CreateLogScaleAlertBadRequest) IsRedirect ¶
func (o *CreateLogScaleAlertBadRequest) IsRedirect() bool
IsRedirect returns true when this create log scale alert bad request response has a 3xx status code
func (*CreateLogScaleAlertBadRequest) IsServerError ¶
func (o *CreateLogScaleAlertBadRequest) IsServerError() bool
IsServerError returns true when this create log scale alert bad request response has a 5xx status code
func (*CreateLogScaleAlertBadRequest) IsSuccess ¶
func (o *CreateLogScaleAlertBadRequest) IsSuccess() bool
IsSuccess returns true when this create log scale alert bad request response has a 2xx status code
func (*CreateLogScaleAlertBadRequest) String ¶
func (o *CreateLogScaleAlertBadRequest) String() string
type CreateLogScaleAlertConflict ¶
CreateLogScaleAlertConflict describes a response with status code 409, with default header values.
Cannot create the LogScaleAlert because there is a conflict with an existing LogScaleAlert.
func NewCreateLogScaleAlertConflict ¶
func NewCreateLogScaleAlertConflict() *CreateLogScaleAlertConflict
NewCreateLogScaleAlertConflict creates a CreateLogScaleAlertConflict with default headers values
func (*CreateLogScaleAlertConflict) Code ¶
func (o *CreateLogScaleAlertConflict) Code() int
Code gets the status code for the create log scale alert conflict response
func (*CreateLogScaleAlertConflict) Error ¶
func (o *CreateLogScaleAlertConflict) Error() string
func (*CreateLogScaleAlertConflict) GetPayload ¶
func (o *CreateLogScaleAlertConflict) GetPayload() *models.APIError
func (*CreateLogScaleAlertConflict) IsClientError ¶
func (o *CreateLogScaleAlertConflict) IsClientError() bool
IsClientError returns true when this create log scale alert conflict response has a 4xx status code
func (*CreateLogScaleAlertConflict) IsCode ¶
func (o *CreateLogScaleAlertConflict) IsCode(code int) bool
IsCode returns true when this create log scale alert conflict response a status code equal to that given
func (*CreateLogScaleAlertConflict) IsRedirect ¶
func (o *CreateLogScaleAlertConflict) IsRedirect() bool
IsRedirect returns true when this create log scale alert conflict response has a 3xx status code
func (*CreateLogScaleAlertConflict) IsServerError ¶
func (o *CreateLogScaleAlertConflict) IsServerError() bool
IsServerError returns true when this create log scale alert conflict response has a 5xx status code
func (*CreateLogScaleAlertConflict) IsSuccess ¶
func (o *CreateLogScaleAlertConflict) IsSuccess() bool
IsSuccess returns true when this create log scale alert conflict response has a 2xx status code
func (*CreateLogScaleAlertConflict) String ¶
func (o *CreateLogScaleAlertConflict) String() string
type CreateLogScaleAlertDefault ¶
type CreateLogScaleAlertDefault struct { Payload models.GenericError // contains filtered or unexported fields }
CreateLogScaleAlertDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewCreateLogScaleAlertDefault ¶
func NewCreateLogScaleAlertDefault(code int) *CreateLogScaleAlertDefault
NewCreateLogScaleAlertDefault creates a CreateLogScaleAlertDefault with default headers values
func (*CreateLogScaleAlertDefault) Code ¶
func (o *CreateLogScaleAlertDefault) Code() int
Code gets the status code for the create log scale alert default response
func (*CreateLogScaleAlertDefault) Error ¶
func (o *CreateLogScaleAlertDefault) Error() string
func (*CreateLogScaleAlertDefault) GetPayload ¶
func (o *CreateLogScaleAlertDefault) GetPayload() models.GenericError
func (*CreateLogScaleAlertDefault) IsClientError ¶
func (o *CreateLogScaleAlertDefault) IsClientError() bool
IsClientError returns true when this create log scale alert default response has a 4xx status code
func (*CreateLogScaleAlertDefault) IsCode ¶
func (o *CreateLogScaleAlertDefault) IsCode(code int) bool
IsCode returns true when this create log scale alert default response a status code equal to that given
func (*CreateLogScaleAlertDefault) IsRedirect ¶
func (o *CreateLogScaleAlertDefault) IsRedirect() bool
IsRedirect returns true when this create log scale alert default response has a 3xx status code
func (*CreateLogScaleAlertDefault) IsServerError ¶
func (o *CreateLogScaleAlertDefault) IsServerError() bool
IsServerError returns true when this create log scale alert default response has a 5xx status code
func (*CreateLogScaleAlertDefault) IsSuccess ¶
func (o *CreateLogScaleAlertDefault) IsSuccess() bool
IsSuccess returns true when this create log scale alert default response has a 2xx status code
func (*CreateLogScaleAlertDefault) String ¶
func (o *CreateLogScaleAlertDefault) String() string
type CreateLogScaleAlertInternalServerError ¶
CreateLogScaleAlertInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewCreateLogScaleAlertInternalServerError ¶
func NewCreateLogScaleAlertInternalServerError() *CreateLogScaleAlertInternalServerError
NewCreateLogScaleAlertInternalServerError creates a CreateLogScaleAlertInternalServerError with default headers values
func (*CreateLogScaleAlertInternalServerError) Code ¶
func (o *CreateLogScaleAlertInternalServerError) Code() int
Code gets the status code for the create log scale alert internal server error response
func (*CreateLogScaleAlertInternalServerError) Error ¶
func (o *CreateLogScaleAlertInternalServerError) Error() string
func (*CreateLogScaleAlertInternalServerError) GetPayload ¶
func (o *CreateLogScaleAlertInternalServerError) GetPayload() *models.APIError
func (*CreateLogScaleAlertInternalServerError) IsClientError ¶
func (o *CreateLogScaleAlertInternalServerError) IsClientError() bool
IsClientError returns true when this create log scale alert internal server error response has a 4xx status code
func (*CreateLogScaleAlertInternalServerError) IsCode ¶
func (o *CreateLogScaleAlertInternalServerError) IsCode(code int) bool
IsCode returns true when this create log scale alert internal server error response a status code equal to that given
func (*CreateLogScaleAlertInternalServerError) IsRedirect ¶
func (o *CreateLogScaleAlertInternalServerError) IsRedirect() bool
IsRedirect returns true when this create log scale alert internal server error response has a 3xx status code
func (*CreateLogScaleAlertInternalServerError) IsServerError ¶
func (o *CreateLogScaleAlertInternalServerError) IsServerError() bool
IsServerError returns true when this create log scale alert internal server error response has a 5xx status code
func (*CreateLogScaleAlertInternalServerError) IsSuccess ¶
func (o *CreateLogScaleAlertInternalServerError) IsSuccess() bool
IsSuccess returns true when this create log scale alert internal server error response has a 2xx status code
func (*CreateLogScaleAlertInternalServerError) String ¶
func (o *CreateLogScaleAlertInternalServerError) String() string
type CreateLogScaleAlertOK ¶
type CreateLogScaleAlertOK struct {
Payload *models.Configv1CreateLogScaleAlertResponse
}
CreateLogScaleAlertOK describes a response with status code 200, with default header values.
A successful response containing the created LogScaleAlert.
func NewCreateLogScaleAlertOK ¶
func NewCreateLogScaleAlertOK() *CreateLogScaleAlertOK
NewCreateLogScaleAlertOK creates a CreateLogScaleAlertOK with default headers values
func (*CreateLogScaleAlertOK) Code ¶
func (o *CreateLogScaleAlertOK) Code() int
Code gets the status code for the create log scale alert o k response
func (*CreateLogScaleAlertOK) Error ¶
func (o *CreateLogScaleAlertOK) Error() string
func (*CreateLogScaleAlertOK) GetPayload ¶
func (o *CreateLogScaleAlertOK) GetPayload() *models.Configv1CreateLogScaleAlertResponse
func (*CreateLogScaleAlertOK) IsClientError ¶
func (o *CreateLogScaleAlertOK) IsClientError() bool
IsClientError returns true when this create log scale alert o k response has a 4xx status code
func (*CreateLogScaleAlertOK) IsCode ¶
func (o *CreateLogScaleAlertOK) IsCode(code int) bool
IsCode returns true when this create log scale alert o k response a status code equal to that given
func (*CreateLogScaleAlertOK) IsRedirect ¶
func (o *CreateLogScaleAlertOK) IsRedirect() bool
IsRedirect returns true when this create log scale alert o k response has a 3xx status code
func (*CreateLogScaleAlertOK) IsServerError ¶
func (o *CreateLogScaleAlertOK) IsServerError() bool
IsServerError returns true when this create log scale alert o k response has a 5xx status code
func (*CreateLogScaleAlertOK) IsSuccess ¶
func (o *CreateLogScaleAlertOK) IsSuccess() bool
IsSuccess returns true when this create log scale alert o k response has a 2xx status code
func (*CreateLogScaleAlertOK) String ¶
func (o *CreateLogScaleAlertOK) String() string
type CreateLogScaleAlertParams ¶
type CreateLogScaleAlertParams struct { // Body. Body *models.Configv1CreateLogScaleAlertRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateLogScaleAlertParams contains all the parameters to send to the API endpoint
for the create log scale alert operation. Typically these are written to a http.Request.
func NewCreateLogScaleAlertParams ¶
func NewCreateLogScaleAlertParams() *CreateLogScaleAlertParams
NewCreateLogScaleAlertParams creates a new CreateLogScaleAlertParams 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 NewCreateLogScaleAlertParamsWithContext ¶
func NewCreateLogScaleAlertParamsWithContext(ctx context.Context) *CreateLogScaleAlertParams
NewCreateLogScaleAlertParamsWithContext creates a new CreateLogScaleAlertParams object with the ability to set a context for a request.
func NewCreateLogScaleAlertParamsWithHTTPClient ¶
func NewCreateLogScaleAlertParamsWithHTTPClient(client *http.Client) *CreateLogScaleAlertParams
NewCreateLogScaleAlertParamsWithHTTPClient creates a new CreateLogScaleAlertParams object with the ability to set a custom HTTPClient for a request.
func NewCreateLogScaleAlertParamsWithTimeout ¶
func NewCreateLogScaleAlertParamsWithTimeout(timeout time.Duration) *CreateLogScaleAlertParams
NewCreateLogScaleAlertParamsWithTimeout creates a new CreateLogScaleAlertParams object with the ability to set a timeout on a request.
func (*CreateLogScaleAlertParams) SetBody ¶
func (o *CreateLogScaleAlertParams) SetBody(body *models.Configv1CreateLogScaleAlertRequest)
SetBody adds the body to the create log scale alert params
func (*CreateLogScaleAlertParams) SetContext ¶
func (o *CreateLogScaleAlertParams) SetContext(ctx context.Context)
SetContext adds the context to the create log scale alert params
func (*CreateLogScaleAlertParams) SetDefaults ¶
func (o *CreateLogScaleAlertParams) SetDefaults()
SetDefaults hydrates default values in the create log scale alert params (not the query body).
All values with no default are reset to their zero value.
func (*CreateLogScaleAlertParams) SetHTTPClient ¶
func (o *CreateLogScaleAlertParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create log scale alert params
func (*CreateLogScaleAlertParams) SetTimeout ¶
func (o *CreateLogScaleAlertParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create log scale alert params
func (*CreateLogScaleAlertParams) WithBody ¶
func (o *CreateLogScaleAlertParams) WithBody(body *models.Configv1CreateLogScaleAlertRequest) *CreateLogScaleAlertParams
WithBody adds the body to the create log scale alert params
func (*CreateLogScaleAlertParams) WithContext ¶
func (o *CreateLogScaleAlertParams) WithContext(ctx context.Context) *CreateLogScaleAlertParams
WithContext adds the context to the create log scale alert params
func (*CreateLogScaleAlertParams) WithDefaults ¶
func (o *CreateLogScaleAlertParams) WithDefaults() *CreateLogScaleAlertParams
WithDefaults hydrates default values in the create log scale alert params (not the query body).
All values with no default are reset to their zero value.
func (*CreateLogScaleAlertParams) WithHTTPClient ¶
func (o *CreateLogScaleAlertParams) WithHTTPClient(client *http.Client) *CreateLogScaleAlertParams
WithHTTPClient adds the HTTPClient to the create log scale alert params
func (*CreateLogScaleAlertParams) WithTimeout ¶
func (o *CreateLogScaleAlertParams) WithTimeout(timeout time.Duration) *CreateLogScaleAlertParams
WithTimeout adds the timeout to the create log scale alert params
func (*CreateLogScaleAlertParams) WriteToRequest ¶
func (o *CreateLogScaleAlertParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateLogScaleAlertReader ¶
type CreateLogScaleAlertReader struct {
// contains filtered or unexported fields
}
CreateLogScaleAlertReader is a Reader for the CreateLogScaleAlert structure.
func (*CreateLogScaleAlertReader) ReadResponse ¶
func (o *CreateLogScaleAlertReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteLogScaleAlertBadRequest ¶
DeleteLogScaleAlertBadRequest describes a response with status code 400, with default header values.
Cannot delete the LogScaleAlert because it is in use.
func NewDeleteLogScaleAlertBadRequest ¶
func NewDeleteLogScaleAlertBadRequest() *DeleteLogScaleAlertBadRequest
NewDeleteLogScaleAlertBadRequest creates a DeleteLogScaleAlertBadRequest with default headers values
func (*DeleteLogScaleAlertBadRequest) Code ¶
func (o *DeleteLogScaleAlertBadRequest) Code() int
Code gets the status code for the delete log scale alert bad request response
func (*DeleteLogScaleAlertBadRequest) Error ¶
func (o *DeleteLogScaleAlertBadRequest) Error() string
func (*DeleteLogScaleAlertBadRequest) GetPayload ¶
func (o *DeleteLogScaleAlertBadRequest) GetPayload() *models.APIError
func (*DeleteLogScaleAlertBadRequest) IsClientError ¶
func (o *DeleteLogScaleAlertBadRequest) IsClientError() bool
IsClientError returns true when this delete log scale alert bad request response has a 4xx status code
func (*DeleteLogScaleAlertBadRequest) IsCode ¶
func (o *DeleteLogScaleAlertBadRequest) IsCode(code int) bool
IsCode returns true when this delete log scale alert bad request response a status code equal to that given
func (*DeleteLogScaleAlertBadRequest) IsRedirect ¶
func (o *DeleteLogScaleAlertBadRequest) IsRedirect() bool
IsRedirect returns true when this delete log scale alert bad request response has a 3xx status code
func (*DeleteLogScaleAlertBadRequest) IsServerError ¶
func (o *DeleteLogScaleAlertBadRequest) IsServerError() bool
IsServerError returns true when this delete log scale alert bad request response has a 5xx status code
func (*DeleteLogScaleAlertBadRequest) IsSuccess ¶
func (o *DeleteLogScaleAlertBadRequest) IsSuccess() bool
IsSuccess returns true when this delete log scale alert bad request response has a 2xx status code
func (*DeleteLogScaleAlertBadRequest) String ¶
func (o *DeleteLogScaleAlertBadRequest) String() string
type DeleteLogScaleAlertDefault ¶
type DeleteLogScaleAlertDefault struct { Payload models.GenericError // contains filtered or unexported fields }
DeleteLogScaleAlertDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewDeleteLogScaleAlertDefault ¶
func NewDeleteLogScaleAlertDefault(code int) *DeleteLogScaleAlertDefault
NewDeleteLogScaleAlertDefault creates a DeleteLogScaleAlertDefault with default headers values
func (*DeleteLogScaleAlertDefault) Code ¶
func (o *DeleteLogScaleAlertDefault) Code() int
Code gets the status code for the delete log scale alert default response
func (*DeleteLogScaleAlertDefault) Error ¶
func (o *DeleteLogScaleAlertDefault) Error() string
func (*DeleteLogScaleAlertDefault) GetPayload ¶
func (o *DeleteLogScaleAlertDefault) GetPayload() models.GenericError
func (*DeleteLogScaleAlertDefault) IsClientError ¶
func (o *DeleteLogScaleAlertDefault) IsClientError() bool
IsClientError returns true when this delete log scale alert default response has a 4xx status code
func (*DeleteLogScaleAlertDefault) IsCode ¶
func (o *DeleteLogScaleAlertDefault) IsCode(code int) bool
IsCode returns true when this delete log scale alert default response a status code equal to that given
func (*DeleteLogScaleAlertDefault) IsRedirect ¶
func (o *DeleteLogScaleAlertDefault) IsRedirect() bool
IsRedirect returns true when this delete log scale alert default response has a 3xx status code
func (*DeleteLogScaleAlertDefault) IsServerError ¶
func (o *DeleteLogScaleAlertDefault) IsServerError() bool
IsServerError returns true when this delete log scale alert default response has a 5xx status code
func (*DeleteLogScaleAlertDefault) IsSuccess ¶
func (o *DeleteLogScaleAlertDefault) IsSuccess() bool
IsSuccess returns true when this delete log scale alert default response has a 2xx status code
func (*DeleteLogScaleAlertDefault) String ¶
func (o *DeleteLogScaleAlertDefault) String() string
type DeleteLogScaleAlertInternalServerError ¶
DeleteLogScaleAlertInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewDeleteLogScaleAlertInternalServerError ¶
func NewDeleteLogScaleAlertInternalServerError() *DeleteLogScaleAlertInternalServerError
NewDeleteLogScaleAlertInternalServerError creates a DeleteLogScaleAlertInternalServerError with default headers values
func (*DeleteLogScaleAlertInternalServerError) Code ¶
func (o *DeleteLogScaleAlertInternalServerError) Code() int
Code gets the status code for the delete log scale alert internal server error response
func (*DeleteLogScaleAlertInternalServerError) Error ¶
func (o *DeleteLogScaleAlertInternalServerError) Error() string
func (*DeleteLogScaleAlertInternalServerError) GetPayload ¶
func (o *DeleteLogScaleAlertInternalServerError) GetPayload() *models.APIError
func (*DeleteLogScaleAlertInternalServerError) IsClientError ¶
func (o *DeleteLogScaleAlertInternalServerError) IsClientError() bool
IsClientError returns true when this delete log scale alert internal server error response has a 4xx status code
func (*DeleteLogScaleAlertInternalServerError) IsCode ¶
func (o *DeleteLogScaleAlertInternalServerError) IsCode(code int) bool
IsCode returns true when this delete log scale alert internal server error response a status code equal to that given
func (*DeleteLogScaleAlertInternalServerError) IsRedirect ¶
func (o *DeleteLogScaleAlertInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete log scale alert internal server error response has a 3xx status code
func (*DeleteLogScaleAlertInternalServerError) IsServerError ¶
func (o *DeleteLogScaleAlertInternalServerError) IsServerError() bool
IsServerError returns true when this delete log scale alert internal server error response has a 5xx status code
func (*DeleteLogScaleAlertInternalServerError) IsSuccess ¶
func (o *DeleteLogScaleAlertInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete log scale alert internal server error response has a 2xx status code
func (*DeleteLogScaleAlertInternalServerError) String ¶
func (o *DeleteLogScaleAlertInternalServerError) String() string
type DeleteLogScaleAlertNotFound ¶
DeleteLogScaleAlertNotFound describes a response with status code 404, with default header values.
Cannot delete the LogScaleAlert because the slug does not exist.
func NewDeleteLogScaleAlertNotFound ¶
func NewDeleteLogScaleAlertNotFound() *DeleteLogScaleAlertNotFound
NewDeleteLogScaleAlertNotFound creates a DeleteLogScaleAlertNotFound with default headers values
func (*DeleteLogScaleAlertNotFound) Code ¶
func (o *DeleteLogScaleAlertNotFound) Code() int
Code gets the status code for the delete log scale alert not found response
func (*DeleteLogScaleAlertNotFound) Error ¶
func (o *DeleteLogScaleAlertNotFound) Error() string
func (*DeleteLogScaleAlertNotFound) GetPayload ¶
func (o *DeleteLogScaleAlertNotFound) GetPayload() *models.APIError
func (*DeleteLogScaleAlertNotFound) IsClientError ¶
func (o *DeleteLogScaleAlertNotFound) IsClientError() bool
IsClientError returns true when this delete log scale alert not found response has a 4xx status code
func (*DeleteLogScaleAlertNotFound) IsCode ¶
func (o *DeleteLogScaleAlertNotFound) IsCode(code int) bool
IsCode returns true when this delete log scale alert not found response a status code equal to that given
func (*DeleteLogScaleAlertNotFound) IsRedirect ¶
func (o *DeleteLogScaleAlertNotFound) IsRedirect() bool
IsRedirect returns true when this delete log scale alert not found response has a 3xx status code
func (*DeleteLogScaleAlertNotFound) IsServerError ¶
func (o *DeleteLogScaleAlertNotFound) IsServerError() bool
IsServerError returns true when this delete log scale alert not found response has a 5xx status code
func (*DeleteLogScaleAlertNotFound) IsSuccess ¶
func (o *DeleteLogScaleAlertNotFound) IsSuccess() bool
IsSuccess returns true when this delete log scale alert not found response has a 2xx status code
func (*DeleteLogScaleAlertNotFound) String ¶
func (o *DeleteLogScaleAlertNotFound) String() string
type DeleteLogScaleAlertOK ¶
type DeleteLogScaleAlertOK struct {
Payload models.Configv1DeleteLogScaleAlertResponse
}
DeleteLogScaleAlertOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteLogScaleAlertOK ¶
func NewDeleteLogScaleAlertOK() *DeleteLogScaleAlertOK
NewDeleteLogScaleAlertOK creates a DeleteLogScaleAlertOK with default headers values
func (*DeleteLogScaleAlertOK) Code ¶
func (o *DeleteLogScaleAlertOK) Code() int
Code gets the status code for the delete log scale alert o k response
func (*DeleteLogScaleAlertOK) Error ¶
func (o *DeleteLogScaleAlertOK) Error() string
func (*DeleteLogScaleAlertOK) GetPayload ¶
func (o *DeleteLogScaleAlertOK) GetPayload() models.Configv1DeleteLogScaleAlertResponse
func (*DeleteLogScaleAlertOK) IsClientError ¶
func (o *DeleteLogScaleAlertOK) IsClientError() bool
IsClientError returns true when this delete log scale alert o k response has a 4xx status code
func (*DeleteLogScaleAlertOK) IsCode ¶
func (o *DeleteLogScaleAlertOK) IsCode(code int) bool
IsCode returns true when this delete log scale alert o k response a status code equal to that given
func (*DeleteLogScaleAlertOK) IsRedirect ¶
func (o *DeleteLogScaleAlertOK) IsRedirect() bool
IsRedirect returns true when this delete log scale alert o k response has a 3xx status code
func (*DeleteLogScaleAlertOK) IsServerError ¶
func (o *DeleteLogScaleAlertOK) IsServerError() bool
IsServerError returns true when this delete log scale alert o k response has a 5xx status code
func (*DeleteLogScaleAlertOK) IsSuccess ¶
func (o *DeleteLogScaleAlertOK) IsSuccess() bool
IsSuccess returns true when this delete log scale alert o k response has a 2xx status code
func (*DeleteLogScaleAlertOK) String ¶
func (o *DeleteLogScaleAlertOK) String() string
type DeleteLogScaleAlertParams ¶
type DeleteLogScaleAlertParams struct { // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteLogScaleAlertParams contains all the parameters to send to the API endpoint
for the delete log scale alert operation. Typically these are written to a http.Request.
func NewDeleteLogScaleAlertParams ¶
func NewDeleteLogScaleAlertParams() *DeleteLogScaleAlertParams
NewDeleteLogScaleAlertParams creates a new DeleteLogScaleAlertParams 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 NewDeleteLogScaleAlertParamsWithContext ¶
func NewDeleteLogScaleAlertParamsWithContext(ctx context.Context) *DeleteLogScaleAlertParams
NewDeleteLogScaleAlertParamsWithContext creates a new DeleteLogScaleAlertParams object with the ability to set a context for a request.
func NewDeleteLogScaleAlertParamsWithHTTPClient ¶
func NewDeleteLogScaleAlertParamsWithHTTPClient(client *http.Client) *DeleteLogScaleAlertParams
NewDeleteLogScaleAlertParamsWithHTTPClient creates a new DeleteLogScaleAlertParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteLogScaleAlertParamsWithTimeout ¶
func NewDeleteLogScaleAlertParamsWithTimeout(timeout time.Duration) *DeleteLogScaleAlertParams
NewDeleteLogScaleAlertParamsWithTimeout creates a new DeleteLogScaleAlertParams object with the ability to set a timeout on a request.
func (*DeleteLogScaleAlertParams) SetContext ¶
func (o *DeleteLogScaleAlertParams) SetContext(ctx context.Context)
SetContext adds the context to the delete log scale alert params
func (*DeleteLogScaleAlertParams) SetDefaults ¶
func (o *DeleteLogScaleAlertParams) SetDefaults()
SetDefaults hydrates default values in the delete log scale alert params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteLogScaleAlertParams) SetHTTPClient ¶
func (o *DeleteLogScaleAlertParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete log scale alert params
func (*DeleteLogScaleAlertParams) SetSlug ¶
func (o *DeleteLogScaleAlertParams) SetSlug(slug string)
SetSlug adds the slug to the delete log scale alert params
func (*DeleteLogScaleAlertParams) SetTimeout ¶
func (o *DeleteLogScaleAlertParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete log scale alert params
func (*DeleteLogScaleAlertParams) WithContext ¶
func (o *DeleteLogScaleAlertParams) WithContext(ctx context.Context) *DeleteLogScaleAlertParams
WithContext adds the context to the delete log scale alert params
func (*DeleteLogScaleAlertParams) WithDefaults ¶
func (o *DeleteLogScaleAlertParams) WithDefaults() *DeleteLogScaleAlertParams
WithDefaults hydrates default values in the delete log scale alert params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteLogScaleAlertParams) WithHTTPClient ¶
func (o *DeleteLogScaleAlertParams) WithHTTPClient(client *http.Client) *DeleteLogScaleAlertParams
WithHTTPClient adds the HTTPClient to the delete log scale alert params
func (*DeleteLogScaleAlertParams) WithSlug ¶
func (o *DeleteLogScaleAlertParams) WithSlug(slug string) *DeleteLogScaleAlertParams
WithSlug adds the slug to the delete log scale alert params
func (*DeleteLogScaleAlertParams) WithTimeout ¶
func (o *DeleteLogScaleAlertParams) WithTimeout(timeout time.Duration) *DeleteLogScaleAlertParams
WithTimeout adds the timeout to the delete log scale alert params
func (*DeleteLogScaleAlertParams) WriteToRequest ¶
func (o *DeleteLogScaleAlertParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteLogScaleAlertReader ¶
type DeleteLogScaleAlertReader struct {
// contains filtered or unexported fields
}
DeleteLogScaleAlertReader is a Reader for the DeleteLogScaleAlert structure.
func (*DeleteLogScaleAlertReader) ReadResponse ¶
func (o *DeleteLogScaleAlertReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListLogScaleAlertsDefault ¶
type ListLogScaleAlertsDefault struct { Payload models.GenericError // contains filtered or unexported fields }
ListLogScaleAlertsDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewListLogScaleAlertsDefault ¶
func NewListLogScaleAlertsDefault(code int) *ListLogScaleAlertsDefault
NewListLogScaleAlertsDefault creates a ListLogScaleAlertsDefault with default headers values
func (*ListLogScaleAlertsDefault) Code ¶
func (o *ListLogScaleAlertsDefault) Code() int
Code gets the status code for the list log scale alerts default response
func (*ListLogScaleAlertsDefault) Error ¶
func (o *ListLogScaleAlertsDefault) Error() string
func (*ListLogScaleAlertsDefault) GetPayload ¶
func (o *ListLogScaleAlertsDefault) GetPayload() models.GenericError
func (*ListLogScaleAlertsDefault) IsClientError ¶
func (o *ListLogScaleAlertsDefault) IsClientError() bool
IsClientError returns true when this list log scale alerts default response has a 4xx status code
func (*ListLogScaleAlertsDefault) IsCode ¶
func (o *ListLogScaleAlertsDefault) IsCode(code int) bool
IsCode returns true when this list log scale alerts default response a status code equal to that given
func (*ListLogScaleAlertsDefault) IsRedirect ¶
func (o *ListLogScaleAlertsDefault) IsRedirect() bool
IsRedirect returns true when this list log scale alerts default response has a 3xx status code
func (*ListLogScaleAlertsDefault) IsServerError ¶
func (o *ListLogScaleAlertsDefault) IsServerError() bool
IsServerError returns true when this list log scale alerts default response has a 5xx status code
func (*ListLogScaleAlertsDefault) IsSuccess ¶
func (o *ListLogScaleAlertsDefault) IsSuccess() bool
IsSuccess returns true when this list log scale alerts default response has a 2xx status code
func (*ListLogScaleAlertsDefault) String ¶
func (o *ListLogScaleAlertsDefault) String() string
type ListLogScaleAlertsInternalServerError ¶
ListLogScaleAlertsInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewListLogScaleAlertsInternalServerError ¶
func NewListLogScaleAlertsInternalServerError() *ListLogScaleAlertsInternalServerError
NewListLogScaleAlertsInternalServerError creates a ListLogScaleAlertsInternalServerError with default headers values
func (*ListLogScaleAlertsInternalServerError) Code ¶
func (o *ListLogScaleAlertsInternalServerError) Code() int
Code gets the status code for the list log scale alerts internal server error response
func (*ListLogScaleAlertsInternalServerError) Error ¶
func (o *ListLogScaleAlertsInternalServerError) Error() string
func (*ListLogScaleAlertsInternalServerError) GetPayload ¶
func (o *ListLogScaleAlertsInternalServerError) GetPayload() *models.APIError
func (*ListLogScaleAlertsInternalServerError) IsClientError ¶
func (o *ListLogScaleAlertsInternalServerError) IsClientError() bool
IsClientError returns true when this list log scale alerts internal server error response has a 4xx status code
func (*ListLogScaleAlertsInternalServerError) IsCode ¶
func (o *ListLogScaleAlertsInternalServerError) IsCode(code int) bool
IsCode returns true when this list log scale alerts internal server error response a status code equal to that given
func (*ListLogScaleAlertsInternalServerError) IsRedirect ¶
func (o *ListLogScaleAlertsInternalServerError) IsRedirect() bool
IsRedirect returns true when this list log scale alerts internal server error response has a 3xx status code
func (*ListLogScaleAlertsInternalServerError) IsServerError ¶
func (o *ListLogScaleAlertsInternalServerError) IsServerError() bool
IsServerError returns true when this list log scale alerts internal server error response has a 5xx status code
func (*ListLogScaleAlertsInternalServerError) IsSuccess ¶
func (o *ListLogScaleAlertsInternalServerError) IsSuccess() bool
IsSuccess returns true when this list log scale alerts internal server error response has a 2xx status code
func (*ListLogScaleAlertsInternalServerError) String ¶
func (o *ListLogScaleAlertsInternalServerError) String() string
type ListLogScaleAlertsOK ¶
type ListLogScaleAlertsOK struct {
Payload *models.Configv1ListLogScaleAlertsResponse
}
ListLogScaleAlertsOK describes a response with status code 200, with default header values.
A successful response.
func NewListLogScaleAlertsOK ¶
func NewListLogScaleAlertsOK() *ListLogScaleAlertsOK
NewListLogScaleAlertsOK creates a ListLogScaleAlertsOK with default headers values
func (*ListLogScaleAlertsOK) Code ¶
func (o *ListLogScaleAlertsOK) Code() int
Code gets the status code for the list log scale alerts o k response
func (*ListLogScaleAlertsOK) Error ¶
func (o *ListLogScaleAlertsOK) Error() string
func (*ListLogScaleAlertsOK) GetPayload ¶
func (o *ListLogScaleAlertsOK) GetPayload() *models.Configv1ListLogScaleAlertsResponse
func (*ListLogScaleAlertsOK) IsClientError ¶
func (o *ListLogScaleAlertsOK) IsClientError() bool
IsClientError returns true when this list log scale alerts o k response has a 4xx status code
func (*ListLogScaleAlertsOK) IsCode ¶
func (o *ListLogScaleAlertsOK) IsCode(code int) bool
IsCode returns true when this list log scale alerts o k response a status code equal to that given
func (*ListLogScaleAlertsOK) IsRedirect ¶
func (o *ListLogScaleAlertsOK) IsRedirect() bool
IsRedirect returns true when this list log scale alerts o k response has a 3xx status code
func (*ListLogScaleAlertsOK) IsServerError ¶
func (o *ListLogScaleAlertsOK) IsServerError() bool
IsServerError returns true when this list log scale alerts o k response has a 5xx status code
func (*ListLogScaleAlertsOK) IsSuccess ¶
func (o *ListLogScaleAlertsOK) IsSuccess() bool
IsSuccess returns true when this list log scale alerts o k response has a 2xx status code
func (*ListLogScaleAlertsOK) String ¶
func (o *ListLogScaleAlertsOK) String() string
type ListLogScaleAlertsParams ¶
type ListLogScaleAlertsParams struct { /* Names. Filters results by name, where any LogScaleAlert with a matching name in the given list (and matches all other filters) is returned. */ Names []string /* PageMaxSize. Page size preference (i.e. how many items are returned in the next page). If zero, the server will use a default. Regardless of what size is given, clients must never assume how many items will be returned. Format: int64 */ PageMaxSize *int64 /* PageToken. Opaque page token identifying which page to request. An empty token identifies the first page. */ PageToken *string /* Slugs. Filters results by slug, where any LogScaleAlert with a matching slug in the given list (and matches all other filters) is returned. */ Slugs []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListLogScaleAlertsParams contains all the parameters to send to the API endpoint
for the list log scale alerts operation. Typically these are written to a http.Request.
func NewListLogScaleAlertsParams ¶
func NewListLogScaleAlertsParams() *ListLogScaleAlertsParams
NewListLogScaleAlertsParams creates a new ListLogScaleAlertsParams 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 NewListLogScaleAlertsParamsWithContext ¶
func NewListLogScaleAlertsParamsWithContext(ctx context.Context) *ListLogScaleAlertsParams
NewListLogScaleAlertsParamsWithContext creates a new ListLogScaleAlertsParams object with the ability to set a context for a request.
func NewListLogScaleAlertsParamsWithHTTPClient ¶
func NewListLogScaleAlertsParamsWithHTTPClient(client *http.Client) *ListLogScaleAlertsParams
NewListLogScaleAlertsParamsWithHTTPClient creates a new ListLogScaleAlertsParams object with the ability to set a custom HTTPClient for a request.
func NewListLogScaleAlertsParamsWithTimeout ¶
func NewListLogScaleAlertsParamsWithTimeout(timeout time.Duration) *ListLogScaleAlertsParams
NewListLogScaleAlertsParamsWithTimeout creates a new ListLogScaleAlertsParams object with the ability to set a timeout on a request.
func (*ListLogScaleAlertsParams) SetContext ¶
func (o *ListLogScaleAlertsParams) SetContext(ctx context.Context)
SetContext adds the context to the list log scale alerts params
func (*ListLogScaleAlertsParams) SetDefaults ¶
func (o *ListLogScaleAlertsParams) SetDefaults()
SetDefaults hydrates default values in the list log scale alerts params (not the query body).
All values with no default are reset to their zero value.
func (*ListLogScaleAlertsParams) SetHTTPClient ¶
func (o *ListLogScaleAlertsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list log scale alerts params
func (*ListLogScaleAlertsParams) SetNames ¶
func (o *ListLogScaleAlertsParams) SetNames(names []string)
SetNames adds the names to the list log scale alerts params
func (*ListLogScaleAlertsParams) SetPageMaxSize ¶
func (o *ListLogScaleAlertsParams) SetPageMaxSize(pageMaxSize *int64)
SetPageMaxSize adds the pageMaxSize to the list log scale alerts params
func (*ListLogScaleAlertsParams) SetPageToken ¶
func (o *ListLogScaleAlertsParams) SetPageToken(pageToken *string)
SetPageToken adds the pageToken to the list log scale alerts params
func (*ListLogScaleAlertsParams) SetSlugs ¶
func (o *ListLogScaleAlertsParams) SetSlugs(slugs []string)
SetSlugs adds the slugs to the list log scale alerts params
func (*ListLogScaleAlertsParams) SetTimeout ¶
func (o *ListLogScaleAlertsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list log scale alerts params
func (*ListLogScaleAlertsParams) WithContext ¶
func (o *ListLogScaleAlertsParams) WithContext(ctx context.Context) *ListLogScaleAlertsParams
WithContext adds the context to the list log scale alerts params
func (*ListLogScaleAlertsParams) WithDefaults ¶
func (o *ListLogScaleAlertsParams) WithDefaults() *ListLogScaleAlertsParams
WithDefaults hydrates default values in the list log scale alerts params (not the query body).
All values with no default are reset to their zero value.
func (*ListLogScaleAlertsParams) WithHTTPClient ¶
func (o *ListLogScaleAlertsParams) WithHTTPClient(client *http.Client) *ListLogScaleAlertsParams
WithHTTPClient adds the HTTPClient to the list log scale alerts params
func (*ListLogScaleAlertsParams) WithNames ¶
func (o *ListLogScaleAlertsParams) WithNames(names []string) *ListLogScaleAlertsParams
WithNames adds the names to the list log scale alerts params
func (*ListLogScaleAlertsParams) WithPageMaxSize ¶
func (o *ListLogScaleAlertsParams) WithPageMaxSize(pageMaxSize *int64) *ListLogScaleAlertsParams
WithPageMaxSize adds the pageMaxSize to the list log scale alerts params
func (*ListLogScaleAlertsParams) WithPageToken ¶
func (o *ListLogScaleAlertsParams) WithPageToken(pageToken *string) *ListLogScaleAlertsParams
WithPageToken adds the pageToken to the list log scale alerts params
func (*ListLogScaleAlertsParams) WithSlugs ¶
func (o *ListLogScaleAlertsParams) WithSlugs(slugs []string) *ListLogScaleAlertsParams
WithSlugs adds the slugs to the list log scale alerts params
func (*ListLogScaleAlertsParams) WithTimeout ¶
func (o *ListLogScaleAlertsParams) WithTimeout(timeout time.Duration) *ListLogScaleAlertsParams
WithTimeout adds the timeout to the list log scale alerts params
func (*ListLogScaleAlertsParams) WriteToRequest ¶
func (o *ListLogScaleAlertsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListLogScaleAlertsReader ¶
type ListLogScaleAlertsReader struct {
// contains filtered or unexported fields
}
ListLogScaleAlertsReader is a Reader for the ListLogScaleAlerts structure.
func (*ListLogScaleAlertsReader) ReadResponse ¶
func (o *ListLogScaleAlertsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadLogScaleAlertDefault ¶
type ReadLogScaleAlertDefault struct { Payload models.GenericError // contains filtered or unexported fields }
ReadLogScaleAlertDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewReadLogScaleAlertDefault ¶
func NewReadLogScaleAlertDefault(code int) *ReadLogScaleAlertDefault
NewReadLogScaleAlertDefault creates a ReadLogScaleAlertDefault with default headers values
func (*ReadLogScaleAlertDefault) Code ¶
func (o *ReadLogScaleAlertDefault) Code() int
Code gets the status code for the read log scale alert default response
func (*ReadLogScaleAlertDefault) Error ¶
func (o *ReadLogScaleAlertDefault) Error() string
func (*ReadLogScaleAlertDefault) GetPayload ¶
func (o *ReadLogScaleAlertDefault) GetPayload() models.GenericError
func (*ReadLogScaleAlertDefault) IsClientError ¶
func (o *ReadLogScaleAlertDefault) IsClientError() bool
IsClientError returns true when this read log scale alert default response has a 4xx status code
func (*ReadLogScaleAlertDefault) IsCode ¶
func (o *ReadLogScaleAlertDefault) IsCode(code int) bool
IsCode returns true when this read log scale alert default response a status code equal to that given
func (*ReadLogScaleAlertDefault) IsRedirect ¶
func (o *ReadLogScaleAlertDefault) IsRedirect() bool
IsRedirect returns true when this read log scale alert default response has a 3xx status code
func (*ReadLogScaleAlertDefault) IsServerError ¶
func (o *ReadLogScaleAlertDefault) IsServerError() bool
IsServerError returns true when this read log scale alert default response has a 5xx status code
func (*ReadLogScaleAlertDefault) IsSuccess ¶
func (o *ReadLogScaleAlertDefault) IsSuccess() bool
IsSuccess returns true when this read log scale alert default response has a 2xx status code
func (*ReadLogScaleAlertDefault) String ¶
func (o *ReadLogScaleAlertDefault) String() string
type ReadLogScaleAlertInternalServerError ¶
ReadLogScaleAlertInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewReadLogScaleAlertInternalServerError ¶
func NewReadLogScaleAlertInternalServerError() *ReadLogScaleAlertInternalServerError
NewReadLogScaleAlertInternalServerError creates a ReadLogScaleAlertInternalServerError with default headers values
func (*ReadLogScaleAlertInternalServerError) Code ¶
func (o *ReadLogScaleAlertInternalServerError) Code() int
Code gets the status code for the read log scale alert internal server error response
func (*ReadLogScaleAlertInternalServerError) Error ¶
func (o *ReadLogScaleAlertInternalServerError) Error() string
func (*ReadLogScaleAlertInternalServerError) GetPayload ¶
func (o *ReadLogScaleAlertInternalServerError) GetPayload() *models.APIError
func (*ReadLogScaleAlertInternalServerError) IsClientError ¶
func (o *ReadLogScaleAlertInternalServerError) IsClientError() bool
IsClientError returns true when this read log scale alert internal server error response has a 4xx status code
func (*ReadLogScaleAlertInternalServerError) IsCode ¶
func (o *ReadLogScaleAlertInternalServerError) IsCode(code int) bool
IsCode returns true when this read log scale alert internal server error response a status code equal to that given
func (*ReadLogScaleAlertInternalServerError) IsRedirect ¶
func (o *ReadLogScaleAlertInternalServerError) IsRedirect() bool
IsRedirect returns true when this read log scale alert internal server error response has a 3xx status code
func (*ReadLogScaleAlertInternalServerError) IsServerError ¶
func (o *ReadLogScaleAlertInternalServerError) IsServerError() bool
IsServerError returns true when this read log scale alert internal server error response has a 5xx status code
func (*ReadLogScaleAlertInternalServerError) IsSuccess ¶
func (o *ReadLogScaleAlertInternalServerError) IsSuccess() bool
IsSuccess returns true when this read log scale alert internal server error response has a 2xx status code
func (*ReadLogScaleAlertInternalServerError) String ¶
func (o *ReadLogScaleAlertInternalServerError) String() string
type ReadLogScaleAlertNotFound ¶
ReadLogScaleAlertNotFound describes a response with status code 404, with default header values.
Cannot read the LogScaleAlert because the slug does not exist.
func NewReadLogScaleAlertNotFound ¶
func NewReadLogScaleAlertNotFound() *ReadLogScaleAlertNotFound
NewReadLogScaleAlertNotFound creates a ReadLogScaleAlertNotFound with default headers values
func (*ReadLogScaleAlertNotFound) Code ¶
func (o *ReadLogScaleAlertNotFound) Code() int
Code gets the status code for the read log scale alert not found response
func (*ReadLogScaleAlertNotFound) Error ¶
func (o *ReadLogScaleAlertNotFound) Error() string
func (*ReadLogScaleAlertNotFound) GetPayload ¶
func (o *ReadLogScaleAlertNotFound) GetPayload() *models.APIError
func (*ReadLogScaleAlertNotFound) IsClientError ¶
func (o *ReadLogScaleAlertNotFound) IsClientError() bool
IsClientError returns true when this read log scale alert not found response has a 4xx status code
func (*ReadLogScaleAlertNotFound) IsCode ¶
func (o *ReadLogScaleAlertNotFound) IsCode(code int) bool
IsCode returns true when this read log scale alert not found response a status code equal to that given
func (*ReadLogScaleAlertNotFound) IsRedirect ¶
func (o *ReadLogScaleAlertNotFound) IsRedirect() bool
IsRedirect returns true when this read log scale alert not found response has a 3xx status code
func (*ReadLogScaleAlertNotFound) IsServerError ¶
func (o *ReadLogScaleAlertNotFound) IsServerError() bool
IsServerError returns true when this read log scale alert not found response has a 5xx status code
func (*ReadLogScaleAlertNotFound) IsSuccess ¶
func (o *ReadLogScaleAlertNotFound) IsSuccess() bool
IsSuccess returns true when this read log scale alert not found response has a 2xx status code
func (*ReadLogScaleAlertNotFound) String ¶
func (o *ReadLogScaleAlertNotFound) String() string
type ReadLogScaleAlertOK ¶
type ReadLogScaleAlertOK struct {
Payload *models.Configv1ReadLogScaleAlertResponse
}
ReadLogScaleAlertOK describes a response with status code 200, with default header values.
A successful response.
func NewReadLogScaleAlertOK ¶
func NewReadLogScaleAlertOK() *ReadLogScaleAlertOK
NewReadLogScaleAlertOK creates a ReadLogScaleAlertOK with default headers values
func (*ReadLogScaleAlertOK) Code ¶
func (o *ReadLogScaleAlertOK) Code() int
Code gets the status code for the read log scale alert o k response
func (*ReadLogScaleAlertOK) Error ¶
func (o *ReadLogScaleAlertOK) Error() string
func (*ReadLogScaleAlertOK) GetPayload ¶
func (o *ReadLogScaleAlertOK) GetPayload() *models.Configv1ReadLogScaleAlertResponse
func (*ReadLogScaleAlertOK) IsClientError ¶
func (o *ReadLogScaleAlertOK) IsClientError() bool
IsClientError returns true when this read log scale alert o k response has a 4xx status code
func (*ReadLogScaleAlertOK) IsCode ¶
func (o *ReadLogScaleAlertOK) IsCode(code int) bool
IsCode returns true when this read log scale alert o k response a status code equal to that given
func (*ReadLogScaleAlertOK) IsRedirect ¶
func (o *ReadLogScaleAlertOK) IsRedirect() bool
IsRedirect returns true when this read log scale alert o k response has a 3xx status code
func (*ReadLogScaleAlertOK) IsServerError ¶
func (o *ReadLogScaleAlertOK) IsServerError() bool
IsServerError returns true when this read log scale alert o k response has a 5xx status code
func (*ReadLogScaleAlertOK) IsSuccess ¶
func (o *ReadLogScaleAlertOK) IsSuccess() bool
IsSuccess returns true when this read log scale alert o k response has a 2xx status code
func (*ReadLogScaleAlertOK) String ¶
func (o *ReadLogScaleAlertOK) String() string
type ReadLogScaleAlertParams ¶
type ReadLogScaleAlertParams struct { // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadLogScaleAlertParams contains all the parameters to send to the API endpoint
for the read log scale alert operation. Typically these are written to a http.Request.
func NewReadLogScaleAlertParams ¶
func NewReadLogScaleAlertParams() *ReadLogScaleAlertParams
NewReadLogScaleAlertParams creates a new ReadLogScaleAlertParams 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 NewReadLogScaleAlertParamsWithContext ¶
func NewReadLogScaleAlertParamsWithContext(ctx context.Context) *ReadLogScaleAlertParams
NewReadLogScaleAlertParamsWithContext creates a new ReadLogScaleAlertParams object with the ability to set a context for a request.
func NewReadLogScaleAlertParamsWithHTTPClient ¶
func NewReadLogScaleAlertParamsWithHTTPClient(client *http.Client) *ReadLogScaleAlertParams
NewReadLogScaleAlertParamsWithHTTPClient creates a new ReadLogScaleAlertParams object with the ability to set a custom HTTPClient for a request.
func NewReadLogScaleAlertParamsWithTimeout ¶
func NewReadLogScaleAlertParamsWithTimeout(timeout time.Duration) *ReadLogScaleAlertParams
NewReadLogScaleAlertParamsWithTimeout creates a new ReadLogScaleAlertParams object with the ability to set a timeout on a request.
func (*ReadLogScaleAlertParams) SetContext ¶
func (o *ReadLogScaleAlertParams) SetContext(ctx context.Context)
SetContext adds the context to the read log scale alert params
func (*ReadLogScaleAlertParams) SetDefaults ¶
func (o *ReadLogScaleAlertParams) SetDefaults()
SetDefaults hydrates default values in the read log scale alert params (not the query body).
All values with no default are reset to their zero value.
func (*ReadLogScaleAlertParams) SetHTTPClient ¶
func (o *ReadLogScaleAlertParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read log scale alert params
func (*ReadLogScaleAlertParams) SetSlug ¶
func (o *ReadLogScaleAlertParams) SetSlug(slug string)
SetSlug adds the slug to the read log scale alert params
func (*ReadLogScaleAlertParams) SetTimeout ¶
func (o *ReadLogScaleAlertParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read log scale alert params
func (*ReadLogScaleAlertParams) WithContext ¶
func (o *ReadLogScaleAlertParams) WithContext(ctx context.Context) *ReadLogScaleAlertParams
WithContext adds the context to the read log scale alert params
func (*ReadLogScaleAlertParams) WithDefaults ¶
func (o *ReadLogScaleAlertParams) WithDefaults() *ReadLogScaleAlertParams
WithDefaults hydrates default values in the read log scale alert params (not the query body).
All values with no default are reset to their zero value.
func (*ReadLogScaleAlertParams) WithHTTPClient ¶
func (o *ReadLogScaleAlertParams) WithHTTPClient(client *http.Client) *ReadLogScaleAlertParams
WithHTTPClient adds the HTTPClient to the read log scale alert params
func (*ReadLogScaleAlertParams) WithSlug ¶
func (o *ReadLogScaleAlertParams) WithSlug(slug string) *ReadLogScaleAlertParams
WithSlug adds the slug to the read log scale alert params
func (*ReadLogScaleAlertParams) WithTimeout ¶
func (o *ReadLogScaleAlertParams) WithTimeout(timeout time.Duration) *ReadLogScaleAlertParams
WithTimeout adds the timeout to the read log scale alert params
func (*ReadLogScaleAlertParams) WriteToRequest ¶
func (o *ReadLogScaleAlertParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadLogScaleAlertReader ¶
type ReadLogScaleAlertReader struct {
// contains filtered or unexported fields
}
ReadLogScaleAlertReader is a Reader for the ReadLogScaleAlert structure.
func (*ReadLogScaleAlertReader) ReadResponse ¶
func (o *ReadLogScaleAlertReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateLogScaleAlertBadRequest ¶
UpdateLogScaleAlertBadRequest describes a response with status code 400, with default header values.
Cannot update the LogScaleAlert because the request is invalid.
func NewUpdateLogScaleAlertBadRequest ¶
func NewUpdateLogScaleAlertBadRequest() *UpdateLogScaleAlertBadRequest
NewUpdateLogScaleAlertBadRequest creates a UpdateLogScaleAlertBadRequest with default headers values
func (*UpdateLogScaleAlertBadRequest) Code ¶
func (o *UpdateLogScaleAlertBadRequest) Code() int
Code gets the status code for the update log scale alert bad request response
func (*UpdateLogScaleAlertBadRequest) Error ¶
func (o *UpdateLogScaleAlertBadRequest) Error() string
func (*UpdateLogScaleAlertBadRequest) GetPayload ¶
func (o *UpdateLogScaleAlertBadRequest) GetPayload() *models.APIError
func (*UpdateLogScaleAlertBadRequest) IsClientError ¶
func (o *UpdateLogScaleAlertBadRequest) IsClientError() bool
IsClientError returns true when this update log scale alert bad request response has a 4xx status code
func (*UpdateLogScaleAlertBadRequest) IsCode ¶
func (o *UpdateLogScaleAlertBadRequest) IsCode(code int) bool
IsCode returns true when this update log scale alert bad request response a status code equal to that given
func (*UpdateLogScaleAlertBadRequest) IsRedirect ¶
func (o *UpdateLogScaleAlertBadRequest) IsRedirect() bool
IsRedirect returns true when this update log scale alert bad request response has a 3xx status code
func (*UpdateLogScaleAlertBadRequest) IsServerError ¶
func (o *UpdateLogScaleAlertBadRequest) IsServerError() bool
IsServerError returns true when this update log scale alert bad request response has a 5xx status code
func (*UpdateLogScaleAlertBadRequest) IsSuccess ¶
func (o *UpdateLogScaleAlertBadRequest) IsSuccess() bool
IsSuccess returns true when this update log scale alert bad request response has a 2xx status code
func (*UpdateLogScaleAlertBadRequest) String ¶
func (o *UpdateLogScaleAlertBadRequest) String() string
type UpdateLogScaleAlertConflict ¶
UpdateLogScaleAlertConflict describes a response with status code 409, with default header values.
Cannot update the LogScaleAlert because there is a conflict with an existing LogScaleAlert.
func NewUpdateLogScaleAlertConflict ¶
func NewUpdateLogScaleAlertConflict() *UpdateLogScaleAlertConflict
NewUpdateLogScaleAlertConflict creates a UpdateLogScaleAlertConflict with default headers values
func (*UpdateLogScaleAlertConflict) Code ¶
func (o *UpdateLogScaleAlertConflict) Code() int
Code gets the status code for the update log scale alert conflict response
func (*UpdateLogScaleAlertConflict) Error ¶
func (o *UpdateLogScaleAlertConflict) Error() string
func (*UpdateLogScaleAlertConflict) GetPayload ¶
func (o *UpdateLogScaleAlertConflict) GetPayload() *models.APIError
func (*UpdateLogScaleAlertConflict) IsClientError ¶
func (o *UpdateLogScaleAlertConflict) IsClientError() bool
IsClientError returns true when this update log scale alert conflict response has a 4xx status code
func (*UpdateLogScaleAlertConflict) IsCode ¶
func (o *UpdateLogScaleAlertConflict) IsCode(code int) bool
IsCode returns true when this update log scale alert conflict response a status code equal to that given
func (*UpdateLogScaleAlertConflict) IsRedirect ¶
func (o *UpdateLogScaleAlertConflict) IsRedirect() bool
IsRedirect returns true when this update log scale alert conflict response has a 3xx status code
func (*UpdateLogScaleAlertConflict) IsServerError ¶
func (o *UpdateLogScaleAlertConflict) IsServerError() bool
IsServerError returns true when this update log scale alert conflict response has a 5xx status code
func (*UpdateLogScaleAlertConflict) IsSuccess ¶
func (o *UpdateLogScaleAlertConflict) IsSuccess() bool
IsSuccess returns true when this update log scale alert conflict response has a 2xx status code
func (*UpdateLogScaleAlertConflict) String ¶
func (o *UpdateLogScaleAlertConflict) String() string
type UpdateLogScaleAlertDefault ¶
type UpdateLogScaleAlertDefault struct { Payload models.GenericError // contains filtered or unexported fields }
UpdateLogScaleAlertDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewUpdateLogScaleAlertDefault ¶
func NewUpdateLogScaleAlertDefault(code int) *UpdateLogScaleAlertDefault
NewUpdateLogScaleAlertDefault creates a UpdateLogScaleAlertDefault with default headers values
func (*UpdateLogScaleAlertDefault) Code ¶
func (o *UpdateLogScaleAlertDefault) Code() int
Code gets the status code for the update log scale alert default response
func (*UpdateLogScaleAlertDefault) Error ¶
func (o *UpdateLogScaleAlertDefault) Error() string
func (*UpdateLogScaleAlertDefault) GetPayload ¶
func (o *UpdateLogScaleAlertDefault) GetPayload() models.GenericError
func (*UpdateLogScaleAlertDefault) IsClientError ¶
func (o *UpdateLogScaleAlertDefault) IsClientError() bool
IsClientError returns true when this update log scale alert default response has a 4xx status code
func (*UpdateLogScaleAlertDefault) IsCode ¶
func (o *UpdateLogScaleAlertDefault) IsCode(code int) bool
IsCode returns true when this update log scale alert default response a status code equal to that given
func (*UpdateLogScaleAlertDefault) IsRedirect ¶
func (o *UpdateLogScaleAlertDefault) IsRedirect() bool
IsRedirect returns true when this update log scale alert default response has a 3xx status code
func (*UpdateLogScaleAlertDefault) IsServerError ¶
func (o *UpdateLogScaleAlertDefault) IsServerError() bool
IsServerError returns true when this update log scale alert default response has a 5xx status code
func (*UpdateLogScaleAlertDefault) IsSuccess ¶
func (o *UpdateLogScaleAlertDefault) IsSuccess() bool
IsSuccess returns true when this update log scale alert default response has a 2xx status code
func (*UpdateLogScaleAlertDefault) String ¶
func (o *UpdateLogScaleAlertDefault) String() string
type UpdateLogScaleAlertInternalServerError ¶
UpdateLogScaleAlertInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewUpdateLogScaleAlertInternalServerError ¶
func NewUpdateLogScaleAlertInternalServerError() *UpdateLogScaleAlertInternalServerError
NewUpdateLogScaleAlertInternalServerError creates a UpdateLogScaleAlertInternalServerError with default headers values
func (*UpdateLogScaleAlertInternalServerError) Code ¶
func (o *UpdateLogScaleAlertInternalServerError) Code() int
Code gets the status code for the update log scale alert internal server error response
func (*UpdateLogScaleAlertInternalServerError) Error ¶
func (o *UpdateLogScaleAlertInternalServerError) Error() string
func (*UpdateLogScaleAlertInternalServerError) GetPayload ¶
func (o *UpdateLogScaleAlertInternalServerError) GetPayload() *models.APIError
func (*UpdateLogScaleAlertInternalServerError) IsClientError ¶
func (o *UpdateLogScaleAlertInternalServerError) IsClientError() bool
IsClientError returns true when this update log scale alert internal server error response has a 4xx status code
func (*UpdateLogScaleAlertInternalServerError) IsCode ¶
func (o *UpdateLogScaleAlertInternalServerError) IsCode(code int) bool
IsCode returns true when this update log scale alert internal server error response a status code equal to that given
func (*UpdateLogScaleAlertInternalServerError) IsRedirect ¶
func (o *UpdateLogScaleAlertInternalServerError) IsRedirect() bool
IsRedirect returns true when this update log scale alert internal server error response has a 3xx status code
func (*UpdateLogScaleAlertInternalServerError) IsServerError ¶
func (o *UpdateLogScaleAlertInternalServerError) IsServerError() bool
IsServerError returns true when this update log scale alert internal server error response has a 5xx status code
func (*UpdateLogScaleAlertInternalServerError) IsSuccess ¶
func (o *UpdateLogScaleAlertInternalServerError) IsSuccess() bool
IsSuccess returns true when this update log scale alert internal server error response has a 2xx status code
func (*UpdateLogScaleAlertInternalServerError) String ¶
func (o *UpdateLogScaleAlertInternalServerError) String() string
type UpdateLogScaleAlertNotFound ¶
UpdateLogScaleAlertNotFound describes a response with status code 404, with default header values.
Cannot update the LogScaleAlert because the slug does not exist.
func NewUpdateLogScaleAlertNotFound ¶
func NewUpdateLogScaleAlertNotFound() *UpdateLogScaleAlertNotFound
NewUpdateLogScaleAlertNotFound creates a UpdateLogScaleAlertNotFound with default headers values
func (*UpdateLogScaleAlertNotFound) Code ¶
func (o *UpdateLogScaleAlertNotFound) Code() int
Code gets the status code for the update log scale alert not found response
func (*UpdateLogScaleAlertNotFound) Error ¶
func (o *UpdateLogScaleAlertNotFound) Error() string
func (*UpdateLogScaleAlertNotFound) GetPayload ¶
func (o *UpdateLogScaleAlertNotFound) GetPayload() *models.APIError
func (*UpdateLogScaleAlertNotFound) IsClientError ¶
func (o *UpdateLogScaleAlertNotFound) IsClientError() bool
IsClientError returns true when this update log scale alert not found response has a 4xx status code
func (*UpdateLogScaleAlertNotFound) IsCode ¶
func (o *UpdateLogScaleAlertNotFound) IsCode(code int) bool
IsCode returns true when this update log scale alert not found response a status code equal to that given
func (*UpdateLogScaleAlertNotFound) IsRedirect ¶
func (o *UpdateLogScaleAlertNotFound) IsRedirect() bool
IsRedirect returns true when this update log scale alert not found response has a 3xx status code
func (*UpdateLogScaleAlertNotFound) IsServerError ¶
func (o *UpdateLogScaleAlertNotFound) IsServerError() bool
IsServerError returns true when this update log scale alert not found response has a 5xx status code
func (*UpdateLogScaleAlertNotFound) IsSuccess ¶
func (o *UpdateLogScaleAlertNotFound) IsSuccess() bool
IsSuccess returns true when this update log scale alert not found response has a 2xx status code
func (*UpdateLogScaleAlertNotFound) String ¶
func (o *UpdateLogScaleAlertNotFound) String() string
type UpdateLogScaleAlertOK ¶
type UpdateLogScaleAlertOK struct {
Payload *models.Configv1UpdateLogScaleAlertResponse
}
UpdateLogScaleAlertOK describes a response with status code 200, with default header values.
A successful response containing the updated LogScaleAlert.
func NewUpdateLogScaleAlertOK ¶
func NewUpdateLogScaleAlertOK() *UpdateLogScaleAlertOK
NewUpdateLogScaleAlertOK creates a UpdateLogScaleAlertOK with default headers values
func (*UpdateLogScaleAlertOK) Code ¶
func (o *UpdateLogScaleAlertOK) Code() int
Code gets the status code for the update log scale alert o k response
func (*UpdateLogScaleAlertOK) Error ¶
func (o *UpdateLogScaleAlertOK) Error() string
func (*UpdateLogScaleAlertOK) GetPayload ¶
func (o *UpdateLogScaleAlertOK) GetPayload() *models.Configv1UpdateLogScaleAlertResponse
func (*UpdateLogScaleAlertOK) IsClientError ¶
func (o *UpdateLogScaleAlertOK) IsClientError() bool
IsClientError returns true when this update log scale alert o k response has a 4xx status code
func (*UpdateLogScaleAlertOK) IsCode ¶
func (o *UpdateLogScaleAlertOK) IsCode(code int) bool
IsCode returns true when this update log scale alert o k response a status code equal to that given
func (*UpdateLogScaleAlertOK) IsRedirect ¶
func (o *UpdateLogScaleAlertOK) IsRedirect() bool
IsRedirect returns true when this update log scale alert o k response has a 3xx status code
func (*UpdateLogScaleAlertOK) IsServerError ¶
func (o *UpdateLogScaleAlertOK) IsServerError() bool
IsServerError returns true when this update log scale alert o k response has a 5xx status code
func (*UpdateLogScaleAlertOK) IsSuccess ¶
func (o *UpdateLogScaleAlertOK) IsSuccess() bool
IsSuccess returns true when this update log scale alert o k response has a 2xx status code
func (*UpdateLogScaleAlertOK) String ¶
func (o *UpdateLogScaleAlertOK) String() string
type UpdateLogScaleAlertParams ¶
type UpdateLogScaleAlertParams struct { // Body. Body *models.ConfigV1UpdateLogScaleAlertBody // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateLogScaleAlertParams contains all the parameters to send to the API endpoint
for the update log scale alert operation. Typically these are written to a http.Request.
func NewUpdateLogScaleAlertParams ¶
func NewUpdateLogScaleAlertParams() *UpdateLogScaleAlertParams
NewUpdateLogScaleAlertParams creates a new UpdateLogScaleAlertParams 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 NewUpdateLogScaleAlertParamsWithContext ¶
func NewUpdateLogScaleAlertParamsWithContext(ctx context.Context) *UpdateLogScaleAlertParams
NewUpdateLogScaleAlertParamsWithContext creates a new UpdateLogScaleAlertParams object with the ability to set a context for a request.
func NewUpdateLogScaleAlertParamsWithHTTPClient ¶
func NewUpdateLogScaleAlertParamsWithHTTPClient(client *http.Client) *UpdateLogScaleAlertParams
NewUpdateLogScaleAlertParamsWithHTTPClient creates a new UpdateLogScaleAlertParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateLogScaleAlertParamsWithTimeout ¶
func NewUpdateLogScaleAlertParamsWithTimeout(timeout time.Duration) *UpdateLogScaleAlertParams
NewUpdateLogScaleAlertParamsWithTimeout creates a new UpdateLogScaleAlertParams object with the ability to set a timeout on a request.
func (*UpdateLogScaleAlertParams) SetBody ¶
func (o *UpdateLogScaleAlertParams) SetBody(body *models.ConfigV1UpdateLogScaleAlertBody)
SetBody adds the body to the update log scale alert params
func (*UpdateLogScaleAlertParams) SetContext ¶
func (o *UpdateLogScaleAlertParams) SetContext(ctx context.Context)
SetContext adds the context to the update log scale alert params
func (*UpdateLogScaleAlertParams) SetDefaults ¶
func (o *UpdateLogScaleAlertParams) SetDefaults()
SetDefaults hydrates default values in the update log scale alert params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateLogScaleAlertParams) SetHTTPClient ¶
func (o *UpdateLogScaleAlertParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update log scale alert params
func (*UpdateLogScaleAlertParams) SetSlug ¶
func (o *UpdateLogScaleAlertParams) SetSlug(slug string)
SetSlug adds the slug to the update log scale alert params
func (*UpdateLogScaleAlertParams) SetTimeout ¶
func (o *UpdateLogScaleAlertParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update log scale alert params
func (*UpdateLogScaleAlertParams) WithBody ¶
func (o *UpdateLogScaleAlertParams) WithBody(body *models.ConfigV1UpdateLogScaleAlertBody) *UpdateLogScaleAlertParams
WithBody adds the body to the update log scale alert params
func (*UpdateLogScaleAlertParams) WithContext ¶
func (o *UpdateLogScaleAlertParams) WithContext(ctx context.Context) *UpdateLogScaleAlertParams
WithContext adds the context to the update log scale alert params
func (*UpdateLogScaleAlertParams) WithDefaults ¶
func (o *UpdateLogScaleAlertParams) WithDefaults() *UpdateLogScaleAlertParams
WithDefaults hydrates default values in the update log scale alert params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateLogScaleAlertParams) WithHTTPClient ¶
func (o *UpdateLogScaleAlertParams) WithHTTPClient(client *http.Client) *UpdateLogScaleAlertParams
WithHTTPClient adds the HTTPClient to the update log scale alert params
func (*UpdateLogScaleAlertParams) WithSlug ¶
func (o *UpdateLogScaleAlertParams) WithSlug(slug string) *UpdateLogScaleAlertParams
WithSlug adds the slug to the update log scale alert params
func (*UpdateLogScaleAlertParams) WithTimeout ¶
func (o *UpdateLogScaleAlertParams) WithTimeout(timeout time.Duration) *UpdateLogScaleAlertParams
WithTimeout adds the timeout to the update log scale alert params
func (*UpdateLogScaleAlertParams) WriteToRequest ¶
func (o *UpdateLogScaleAlertParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateLogScaleAlertReader ¶
type UpdateLogScaleAlertReader struct {
// contains filtered or unexported fields
}
UpdateLogScaleAlertReader is a Reader for the UpdateLogScaleAlert structure.
func (*UpdateLogScaleAlertReader) ReadResponse ¶
func (o *UpdateLogScaleAlertReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_log_scale_alert_parameters.go
- create_log_scale_alert_responses.go
- delete_log_scale_alert_parameters.go
- delete_log_scale_alert_responses.go
- list_log_scale_alerts_parameters.go
- list_log_scale_alerts_responses.go
- log_scale_alert_client.go
- read_log_scale_alert_parameters.go
- read_log_scale_alert_responses.go
- update_log_scale_alert_parameters.go
- update_log_scale_alert_responses.go