log_scale_action

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for log scale action API

func (*Client) CreateLogScaleAction

func (a *Client) CreateLogScaleAction(params *CreateLogScaleActionParams, opts ...ClientOption) (*CreateLogScaleActionOK, error)

CreateLogScaleAction create log scale action API

func (*Client) DeleteLogScaleAction

func (a *Client) DeleteLogScaleAction(params *DeleteLogScaleActionParams, opts ...ClientOption) (*DeleteLogScaleActionOK, error)

DeleteLogScaleAction delete log scale action API

func (*Client) ListLogScaleActions

func (a *Client) ListLogScaleActions(params *ListLogScaleActionsParams, opts ...ClientOption) (*ListLogScaleActionsOK, error)

ListLogScaleActions list log scale actions API

func (*Client) ReadLogScaleAction

func (a *Client) ReadLogScaleAction(params *ReadLogScaleActionParams, opts ...ClientOption) (*ReadLogScaleActionOK, error)

ReadLogScaleAction read log scale action API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateLogScaleAction

func (a *Client) UpdateLogScaleAction(params *UpdateLogScaleActionParams, opts ...ClientOption) (*UpdateLogScaleActionOK, error)

UpdateLogScaleAction update log scale action API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateLogScaleAction(params *CreateLogScaleActionParams, opts ...ClientOption) (*CreateLogScaleActionOK, error)

	DeleteLogScaleAction(params *DeleteLogScaleActionParams, opts ...ClientOption) (*DeleteLogScaleActionOK, error)

	ListLogScaleActions(params *ListLogScaleActionsParams, opts ...ClientOption) (*ListLogScaleActionsOK, error)

	ReadLogScaleAction(params *ReadLogScaleActionParams, opts ...ClientOption) (*ReadLogScaleActionOK, error)

	UpdateLogScaleAction(params *UpdateLogScaleActionParams, opts ...ClientOption) (*UpdateLogScaleActionOK, 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 action API client.

type CreateLogScaleActionBadRequest

type CreateLogScaleActionBadRequest struct {
	Payload *models.APIError
}

CreateLogScaleActionBadRequest describes a response with status code 400, with default header values.

Cannot create the LogScaleAction because the request is invalid.

func NewCreateLogScaleActionBadRequest

func NewCreateLogScaleActionBadRequest() *CreateLogScaleActionBadRequest

NewCreateLogScaleActionBadRequest creates a CreateLogScaleActionBadRequest with default headers values

func (*CreateLogScaleActionBadRequest) Code

Code gets the status code for the create log scale action bad request response

func (*CreateLogScaleActionBadRequest) Error

func (*CreateLogScaleActionBadRequest) GetPayload

func (*CreateLogScaleActionBadRequest) IsClientError

func (o *CreateLogScaleActionBadRequest) IsClientError() bool

IsClientError returns true when this create log scale action bad request response has a 4xx status code

func (*CreateLogScaleActionBadRequest) IsCode

func (o *CreateLogScaleActionBadRequest) IsCode(code int) bool

IsCode returns true when this create log scale action bad request response a status code equal to that given

func (*CreateLogScaleActionBadRequest) IsRedirect

func (o *CreateLogScaleActionBadRequest) IsRedirect() bool

IsRedirect returns true when this create log scale action bad request response has a 3xx status code

func (*CreateLogScaleActionBadRequest) IsServerError

func (o *CreateLogScaleActionBadRequest) IsServerError() bool

IsServerError returns true when this create log scale action bad request response has a 5xx status code

func (*CreateLogScaleActionBadRequest) IsSuccess

func (o *CreateLogScaleActionBadRequest) IsSuccess() bool

IsSuccess returns true when this create log scale action bad request response has a 2xx status code

func (*CreateLogScaleActionBadRequest) String

type CreateLogScaleActionConflict

type CreateLogScaleActionConflict struct {
	Payload *models.APIError
}

CreateLogScaleActionConflict describes a response with status code 409, with default header values.

Cannot create the LogScaleAction because there is a conflict with an existing LogScaleAction.

func NewCreateLogScaleActionConflict

func NewCreateLogScaleActionConflict() *CreateLogScaleActionConflict

NewCreateLogScaleActionConflict creates a CreateLogScaleActionConflict with default headers values

func (*CreateLogScaleActionConflict) Code

Code gets the status code for the create log scale action conflict response

func (*CreateLogScaleActionConflict) Error

func (*CreateLogScaleActionConflict) GetPayload

func (o *CreateLogScaleActionConflict) GetPayload() *models.APIError

func (*CreateLogScaleActionConflict) IsClientError

func (o *CreateLogScaleActionConflict) IsClientError() bool

IsClientError returns true when this create log scale action conflict response has a 4xx status code

func (*CreateLogScaleActionConflict) IsCode

func (o *CreateLogScaleActionConflict) IsCode(code int) bool

IsCode returns true when this create log scale action conflict response a status code equal to that given

func (*CreateLogScaleActionConflict) IsRedirect

func (o *CreateLogScaleActionConflict) IsRedirect() bool

IsRedirect returns true when this create log scale action conflict response has a 3xx status code

func (*CreateLogScaleActionConflict) IsServerError

func (o *CreateLogScaleActionConflict) IsServerError() bool

IsServerError returns true when this create log scale action conflict response has a 5xx status code

func (*CreateLogScaleActionConflict) IsSuccess

func (o *CreateLogScaleActionConflict) IsSuccess() bool

IsSuccess returns true when this create log scale action conflict response has a 2xx status code

func (*CreateLogScaleActionConflict) String

type CreateLogScaleActionDefault

type CreateLogScaleActionDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

CreateLogScaleActionDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewCreateLogScaleActionDefault

func NewCreateLogScaleActionDefault(code int) *CreateLogScaleActionDefault

NewCreateLogScaleActionDefault creates a CreateLogScaleActionDefault with default headers values

func (*CreateLogScaleActionDefault) Code

func (o *CreateLogScaleActionDefault) Code() int

Code gets the status code for the create log scale action default response

func (*CreateLogScaleActionDefault) Error

func (*CreateLogScaleActionDefault) GetPayload

func (*CreateLogScaleActionDefault) IsClientError

func (o *CreateLogScaleActionDefault) IsClientError() bool

IsClientError returns true when this create log scale action default response has a 4xx status code

func (*CreateLogScaleActionDefault) IsCode

func (o *CreateLogScaleActionDefault) IsCode(code int) bool

IsCode returns true when this create log scale action default response a status code equal to that given

func (*CreateLogScaleActionDefault) IsRedirect

func (o *CreateLogScaleActionDefault) IsRedirect() bool

IsRedirect returns true when this create log scale action default response has a 3xx status code

func (*CreateLogScaleActionDefault) IsServerError

func (o *CreateLogScaleActionDefault) IsServerError() bool

IsServerError returns true when this create log scale action default response has a 5xx status code

func (*CreateLogScaleActionDefault) IsSuccess

func (o *CreateLogScaleActionDefault) IsSuccess() bool

IsSuccess returns true when this create log scale action default response has a 2xx status code

func (*CreateLogScaleActionDefault) String

func (o *CreateLogScaleActionDefault) String() string

type CreateLogScaleActionInternalServerError

type CreateLogScaleActionInternalServerError struct {
	Payload *models.APIError
}

CreateLogScaleActionInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewCreateLogScaleActionInternalServerError

func NewCreateLogScaleActionInternalServerError() *CreateLogScaleActionInternalServerError

NewCreateLogScaleActionInternalServerError creates a CreateLogScaleActionInternalServerError with default headers values

func (*CreateLogScaleActionInternalServerError) Code

Code gets the status code for the create log scale action internal server error response

func (*CreateLogScaleActionInternalServerError) Error

func (*CreateLogScaleActionInternalServerError) GetPayload

func (*CreateLogScaleActionInternalServerError) IsClientError

func (o *CreateLogScaleActionInternalServerError) IsClientError() bool

IsClientError returns true when this create log scale action internal server error response has a 4xx status code

func (*CreateLogScaleActionInternalServerError) IsCode

IsCode returns true when this create log scale action internal server error response a status code equal to that given

func (*CreateLogScaleActionInternalServerError) IsRedirect

IsRedirect returns true when this create log scale action internal server error response has a 3xx status code

func (*CreateLogScaleActionInternalServerError) IsServerError

func (o *CreateLogScaleActionInternalServerError) IsServerError() bool

IsServerError returns true when this create log scale action internal server error response has a 5xx status code

func (*CreateLogScaleActionInternalServerError) IsSuccess

IsSuccess returns true when this create log scale action internal server error response has a 2xx status code

func (*CreateLogScaleActionInternalServerError) String

type CreateLogScaleActionOK

type CreateLogScaleActionOK struct {
	Payload *models.Configv1CreateLogScaleActionResponse
}

CreateLogScaleActionOK describes a response with status code 200, with default header values.

A successful response containing the created LogScaleAction.

func NewCreateLogScaleActionOK

func NewCreateLogScaleActionOK() *CreateLogScaleActionOK

NewCreateLogScaleActionOK creates a CreateLogScaleActionOK with default headers values

func (*CreateLogScaleActionOK) Code

func (o *CreateLogScaleActionOK) Code() int

Code gets the status code for the create log scale action o k response

func (*CreateLogScaleActionOK) Error

func (o *CreateLogScaleActionOK) Error() string

func (*CreateLogScaleActionOK) GetPayload

func (*CreateLogScaleActionOK) IsClientError

func (o *CreateLogScaleActionOK) IsClientError() bool

IsClientError returns true when this create log scale action o k response has a 4xx status code

func (*CreateLogScaleActionOK) IsCode

func (o *CreateLogScaleActionOK) IsCode(code int) bool

IsCode returns true when this create log scale action o k response a status code equal to that given

func (*CreateLogScaleActionOK) IsRedirect

func (o *CreateLogScaleActionOK) IsRedirect() bool

IsRedirect returns true when this create log scale action o k response has a 3xx status code

func (*CreateLogScaleActionOK) IsServerError

func (o *CreateLogScaleActionOK) IsServerError() bool

IsServerError returns true when this create log scale action o k response has a 5xx status code

func (*CreateLogScaleActionOK) IsSuccess

func (o *CreateLogScaleActionOK) IsSuccess() bool

IsSuccess returns true when this create log scale action o k response has a 2xx status code

func (*CreateLogScaleActionOK) String

func (o *CreateLogScaleActionOK) String() string

type CreateLogScaleActionParams

type CreateLogScaleActionParams struct {

	// Body.
	Body *models.Configv1CreateLogScaleActionRequest

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

CreateLogScaleActionParams contains all the parameters to send to the API endpoint

for the create log scale action operation.

Typically these are written to a http.Request.

func NewCreateLogScaleActionParams

func NewCreateLogScaleActionParams() *CreateLogScaleActionParams

NewCreateLogScaleActionParams creates a new CreateLogScaleActionParams 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 NewCreateLogScaleActionParamsWithContext

func NewCreateLogScaleActionParamsWithContext(ctx context.Context) *CreateLogScaleActionParams

NewCreateLogScaleActionParamsWithContext creates a new CreateLogScaleActionParams object with the ability to set a context for a request.

func NewCreateLogScaleActionParamsWithHTTPClient

func NewCreateLogScaleActionParamsWithHTTPClient(client *http.Client) *CreateLogScaleActionParams

NewCreateLogScaleActionParamsWithHTTPClient creates a new CreateLogScaleActionParams object with the ability to set a custom HTTPClient for a request.

func NewCreateLogScaleActionParamsWithTimeout

func NewCreateLogScaleActionParamsWithTimeout(timeout time.Duration) *CreateLogScaleActionParams

NewCreateLogScaleActionParamsWithTimeout creates a new CreateLogScaleActionParams object with the ability to set a timeout on a request.

func (*CreateLogScaleActionParams) SetBody

SetBody adds the body to the create log scale action params

func (*CreateLogScaleActionParams) SetContext

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

SetContext adds the context to the create log scale action params

func (*CreateLogScaleActionParams) SetDefaults

func (o *CreateLogScaleActionParams) SetDefaults()

SetDefaults hydrates default values in the create log scale action params (not the query body).

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

func (*CreateLogScaleActionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create log scale action params

func (*CreateLogScaleActionParams) SetTimeout

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

SetTimeout adds the timeout to the create log scale action params

func (*CreateLogScaleActionParams) WithBody

WithBody adds the body to the create log scale action params

func (*CreateLogScaleActionParams) WithContext

WithContext adds the context to the create log scale action params

func (*CreateLogScaleActionParams) WithDefaults

WithDefaults hydrates default values in the create log scale action params (not the query body).

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

func (*CreateLogScaleActionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create log scale action params

func (*CreateLogScaleActionParams) WithTimeout

WithTimeout adds the timeout to the create log scale action params

func (*CreateLogScaleActionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateLogScaleActionReader

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

CreateLogScaleActionReader is a Reader for the CreateLogScaleAction structure.

func (*CreateLogScaleActionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteLogScaleActionBadRequest

type DeleteLogScaleActionBadRequest struct {
	Payload *models.APIError
}

DeleteLogScaleActionBadRequest describes a response with status code 400, with default header values.

Cannot delete the LogScaleAction because it is in use.

func NewDeleteLogScaleActionBadRequest

func NewDeleteLogScaleActionBadRequest() *DeleteLogScaleActionBadRequest

NewDeleteLogScaleActionBadRequest creates a DeleteLogScaleActionBadRequest with default headers values

func (*DeleteLogScaleActionBadRequest) Code

Code gets the status code for the delete log scale action bad request response

func (*DeleteLogScaleActionBadRequest) Error

func (*DeleteLogScaleActionBadRequest) GetPayload

func (*DeleteLogScaleActionBadRequest) IsClientError

func (o *DeleteLogScaleActionBadRequest) IsClientError() bool

IsClientError returns true when this delete log scale action bad request response has a 4xx status code

func (*DeleteLogScaleActionBadRequest) IsCode

func (o *DeleteLogScaleActionBadRequest) IsCode(code int) bool

IsCode returns true when this delete log scale action bad request response a status code equal to that given

func (*DeleteLogScaleActionBadRequest) IsRedirect

func (o *DeleteLogScaleActionBadRequest) IsRedirect() bool

IsRedirect returns true when this delete log scale action bad request response has a 3xx status code

func (*DeleteLogScaleActionBadRequest) IsServerError

func (o *DeleteLogScaleActionBadRequest) IsServerError() bool

IsServerError returns true when this delete log scale action bad request response has a 5xx status code

func (*DeleteLogScaleActionBadRequest) IsSuccess

func (o *DeleteLogScaleActionBadRequest) IsSuccess() bool

IsSuccess returns true when this delete log scale action bad request response has a 2xx status code

func (*DeleteLogScaleActionBadRequest) String

type DeleteLogScaleActionDefault

type DeleteLogScaleActionDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

DeleteLogScaleActionDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewDeleteLogScaleActionDefault

func NewDeleteLogScaleActionDefault(code int) *DeleteLogScaleActionDefault

NewDeleteLogScaleActionDefault creates a DeleteLogScaleActionDefault with default headers values

func (*DeleteLogScaleActionDefault) Code

func (o *DeleteLogScaleActionDefault) Code() int

Code gets the status code for the delete log scale action default response

func (*DeleteLogScaleActionDefault) Error

func (*DeleteLogScaleActionDefault) GetPayload

func (*DeleteLogScaleActionDefault) IsClientError

func (o *DeleteLogScaleActionDefault) IsClientError() bool

IsClientError returns true when this delete log scale action default response has a 4xx status code

func (*DeleteLogScaleActionDefault) IsCode

func (o *DeleteLogScaleActionDefault) IsCode(code int) bool

IsCode returns true when this delete log scale action default response a status code equal to that given

func (*DeleteLogScaleActionDefault) IsRedirect

func (o *DeleteLogScaleActionDefault) IsRedirect() bool

IsRedirect returns true when this delete log scale action default response has a 3xx status code

func (*DeleteLogScaleActionDefault) IsServerError

func (o *DeleteLogScaleActionDefault) IsServerError() bool

IsServerError returns true when this delete log scale action default response has a 5xx status code

func (*DeleteLogScaleActionDefault) IsSuccess

func (o *DeleteLogScaleActionDefault) IsSuccess() bool

IsSuccess returns true when this delete log scale action default response has a 2xx status code

func (*DeleteLogScaleActionDefault) String

func (o *DeleteLogScaleActionDefault) String() string

type DeleteLogScaleActionInternalServerError

type DeleteLogScaleActionInternalServerError struct {
	Payload *models.APIError
}

DeleteLogScaleActionInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewDeleteLogScaleActionInternalServerError

func NewDeleteLogScaleActionInternalServerError() *DeleteLogScaleActionInternalServerError

NewDeleteLogScaleActionInternalServerError creates a DeleteLogScaleActionInternalServerError with default headers values

func (*DeleteLogScaleActionInternalServerError) Code

Code gets the status code for the delete log scale action internal server error response

func (*DeleteLogScaleActionInternalServerError) Error

func (*DeleteLogScaleActionInternalServerError) GetPayload

func (*DeleteLogScaleActionInternalServerError) IsClientError

func (o *DeleteLogScaleActionInternalServerError) IsClientError() bool

IsClientError returns true when this delete log scale action internal server error response has a 4xx status code

func (*DeleteLogScaleActionInternalServerError) IsCode

IsCode returns true when this delete log scale action internal server error response a status code equal to that given

func (*DeleteLogScaleActionInternalServerError) IsRedirect

IsRedirect returns true when this delete log scale action internal server error response has a 3xx status code

func (*DeleteLogScaleActionInternalServerError) IsServerError

func (o *DeleteLogScaleActionInternalServerError) IsServerError() bool

IsServerError returns true when this delete log scale action internal server error response has a 5xx status code

func (*DeleteLogScaleActionInternalServerError) IsSuccess

IsSuccess returns true when this delete log scale action internal server error response has a 2xx status code

func (*DeleteLogScaleActionInternalServerError) String

type DeleteLogScaleActionNotFound

type DeleteLogScaleActionNotFound struct {
	Payload *models.APIError
}

DeleteLogScaleActionNotFound describes a response with status code 404, with default header values.

Cannot delete the LogScaleAction because the slug does not exist.

func NewDeleteLogScaleActionNotFound

func NewDeleteLogScaleActionNotFound() *DeleteLogScaleActionNotFound

NewDeleteLogScaleActionNotFound creates a DeleteLogScaleActionNotFound with default headers values

func (*DeleteLogScaleActionNotFound) Code

Code gets the status code for the delete log scale action not found response

func (*DeleteLogScaleActionNotFound) Error

func (*DeleteLogScaleActionNotFound) GetPayload

func (o *DeleteLogScaleActionNotFound) GetPayload() *models.APIError

func (*DeleteLogScaleActionNotFound) IsClientError

func (o *DeleteLogScaleActionNotFound) IsClientError() bool

IsClientError returns true when this delete log scale action not found response has a 4xx status code

func (*DeleteLogScaleActionNotFound) IsCode

func (o *DeleteLogScaleActionNotFound) IsCode(code int) bool

IsCode returns true when this delete log scale action not found response a status code equal to that given

func (*DeleteLogScaleActionNotFound) IsRedirect

func (o *DeleteLogScaleActionNotFound) IsRedirect() bool

IsRedirect returns true when this delete log scale action not found response has a 3xx status code

func (*DeleteLogScaleActionNotFound) IsServerError

func (o *DeleteLogScaleActionNotFound) IsServerError() bool

IsServerError returns true when this delete log scale action not found response has a 5xx status code

func (*DeleteLogScaleActionNotFound) IsSuccess

func (o *DeleteLogScaleActionNotFound) IsSuccess() bool

IsSuccess returns true when this delete log scale action not found response has a 2xx status code

func (*DeleteLogScaleActionNotFound) String

type DeleteLogScaleActionOK

type DeleteLogScaleActionOK struct {
	Payload models.Configv1DeleteLogScaleActionResponse
}

DeleteLogScaleActionOK describes a response with status code 200, with default header values.

A successful response.

func NewDeleteLogScaleActionOK

func NewDeleteLogScaleActionOK() *DeleteLogScaleActionOK

NewDeleteLogScaleActionOK creates a DeleteLogScaleActionOK with default headers values

func (*DeleteLogScaleActionOK) Code

func (o *DeleteLogScaleActionOK) Code() int

Code gets the status code for the delete log scale action o k response

func (*DeleteLogScaleActionOK) Error

func (o *DeleteLogScaleActionOK) Error() string

func (*DeleteLogScaleActionOK) GetPayload

func (*DeleteLogScaleActionOK) IsClientError

func (o *DeleteLogScaleActionOK) IsClientError() bool

IsClientError returns true when this delete log scale action o k response has a 4xx status code

func (*DeleteLogScaleActionOK) IsCode

func (o *DeleteLogScaleActionOK) IsCode(code int) bool

IsCode returns true when this delete log scale action o k response a status code equal to that given

func (*DeleteLogScaleActionOK) IsRedirect

func (o *DeleteLogScaleActionOK) IsRedirect() bool

IsRedirect returns true when this delete log scale action o k response has a 3xx status code

func (*DeleteLogScaleActionOK) IsServerError

func (o *DeleteLogScaleActionOK) IsServerError() bool

IsServerError returns true when this delete log scale action o k response has a 5xx status code

func (*DeleteLogScaleActionOK) IsSuccess

func (o *DeleteLogScaleActionOK) IsSuccess() bool

IsSuccess returns true when this delete log scale action o k response has a 2xx status code

func (*DeleteLogScaleActionOK) String

func (o *DeleteLogScaleActionOK) String() string

type DeleteLogScaleActionParams

type DeleteLogScaleActionParams struct {

	// Slug.
	Slug string

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

DeleteLogScaleActionParams contains all the parameters to send to the API endpoint

for the delete log scale action operation.

Typically these are written to a http.Request.

func NewDeleteLogScaleActionParams

func NewDeleteLogScaleActionParams() *DeleteLogScaleActionParams

NewDeleteLogScaleActionParams creates a new DeleteLogScaleActionParams 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 NewDeleteLogScaleActionParamsWithContext

func NewDeleteLogScaleActionParamsWithContext(ctx context.Context) *DeleteLogScaleActionParams

NewDeleteLogScaleActionParamsWithContext creates a new DeleteLogScaleActionParams object with the ability to set a context for a request.

func NewDeleteLogScaleActionParamsWithHTTPClient

func NewDeleteLogScaleActionParamsWithHTTPClient(client *http.Client) *DeleteLogScaleActionParams

NewDeleteLogScaleActionParamsWithHTTPClient creates a new DeleteLogScaleActionParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteLogScaleActionParamsWithTimeout

func NewDeleteLogScaleActionParamsWithTimeout(timeout time.Duration) *DeleteLogScaleActionParams

NewDeleteLogScaleActionParamsWithTimeout creates a new DeleteLogScaleActionParams object with the ability to set a timeout on a request.

func (*DeleteLogScaleActionParams) SetContext

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

SetContext adds the context to the delete log scale action params

func (*DeleteLogScaleActionParams) SetDefaults

func (o *DeleteLogScaleActionParams) SetDefaults()

SetDefaults hydrates default values in the delete log scale action params (not the query body).

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

func (*DeleteLogScaleActionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete log scale action params

func (*DeleteLogScaleActionParams) SetSlug

func (o *DeleteLogScaleActionParams) SetSlug(slug string)

SetSlug adds the slug to the delete log scale action params

func (*DeleteLogScaleActionParams) SetTimeout

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

SetTimeout adds the timeout to the delete log scale action params

func (*DeleteLogScaleActionParams) WithContext

WithContext adds the context to the delete log scale action params

func (*DeleteLogScaleActionParams) WithDefaults

WithDefaults hydrates default values in the delete log scale action params (not the query body).

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

func (*DeleteLogScaleActionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete log scale action params

func (*DeleteLogScaleActionParams) WithSlug

WithSlug adds the slug to the delete log scale action params

func (*DeleteLogScaleActionParams) WithTimeout

WithTimeout adds the timeout to the delete log scale action params

func (*DeleteLogScaleActionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteLogScaleActionReader

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

DeleteLogScaleActionReader is a Reader for the DeleteLogScaleAction structure.

func (*DeleteLogScaleActionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListLogScaleActionsDefault

type ListLogScaleActionsDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ListLogScaleActionsDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewListLogScaleActionsDefault

func NewListLogScaleActionsDefault(code int) *ListLogScaleActionsDefault

NewListLogScaleActionsDefault creates a ListLogScaleActionsDefault with default headers values

func (*ListLogScaleActionsDefault) Code

func (o *ListLogScaleActionsDefault) Code() int

Code gets the status code for the list log scale actions default response

func (*ListLogScaleActionsDefault) Error

func (*ListLogScaleActionsDefault) GetPayload

func (*ListLogScaleActionsDefault) IsClientError

func (o *ListLogScaleActionsDefault) IsClientError() bool

IsClientError returns true when this list log scale actions default response has a 4xx status code

func (*ListLogScaleActionsDefault) IsCode

func (o *ListLogScaleActionsDefault) IsCode(code int) bool

IsCode returns true when this list log scale actions default response a status code equal to that given

func (*ListLogScaleActionsDefault) IsRedirect

func (o *ListLogScaleActionsDefault) IsRedirect() bool

IsRedirect returns true when this list log scale actions default response has a 3xx status code

func (*ListLogScaleActionsDefault) IsServerError

func (o *ListLogScaleActionsDefault) IsServerError() bool

IsServerError returns true when this list log scale actions default response has a 5xx status code

func (*ListLogScaleActionsDefault) IsSuccess

func (o *ListLogScaleActionsDefault) IsSuccess() bool

IsSuccess returns true when this list log scale actions default response has a 2xx status code

func (*ListLogScaleActionsDefault) String

func (o *ListLogScaleActionsDefault) String() string

type ListLogScaleActionsInternalServerError

type ListLogScaleActionsInternalServerError struct {
	Payload *models.APIError
}

ListLogScaleActionsInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewListLogScaleActionsInternalServerError

func NewListLogScaleActionsInternalServerError() *ListLogScaleActionsInternalServerError

NewListLogScaleActionsInternalServerError creates a ListLogScaleActionsInternalServerError with default headers values

func (*ListLogScaleActionsInternalServerError) Code

Code gets the status code for the list log scale actions internal server error response

func (*ListLogScaleActionsInternalServerError) Error

func (*ListLogScaleActionsInternalServerError) GetPayload

func (*ListLogScaleActionsInternalServerError) IsClientError

func (o *ListLogScaleActionsInternalServerError) IsClientError() bool

IsClientError returns true when this list log scale actions internal server error response has a 4xx status code

func (*ListLogScaleActionsInternalServerError) IsCode

IsCode returns true when this list log scale actions internal server error response a status code equal to that given

func (*ListLogScaleActionsInternalServerError) IsRedirect

IsRedirect returns true when this list log scale actions internal server error response has a 3xx status code

func (*ListLogScaleActionsInternalServerError) IsServerError

func (o *ListLogScaleActionsInternalServerError) IsServerError() bool

IsServerError returns true when this list log scale actions internal server error response has a 5xx status code

func (*ListLogScaleActionsInternalServerError) IsSuccess

IsSuccess returns true when this list log scale actions internal server error response has a 2xx status code

func (*ListLogScaleActionsInternalServerError) String

type ListLogScaleActionsOK

type ListLogScaleActionsOK struct {
	Payload *models.Configv1ListLogScaleActionsResponse
}

ListLogScaleActionsOK describes a response with status code 200, with default header values.

A successful response.

func NewListLogScaleActionsOK

func NewListLogScaleActionsOK() *ListLogScaleActionsOK

NewListLogScaleActionsOK creates a ListLogScaleActionsOK with default headers values

func (*ListLogScaleActionsOK) Code

func (o *ListLogScaleActionsOK) Code() int

Code gets the status code for the list log scale actions o k response

func (*ListLogScaleActionsOK) Error

func (o *ListLogScaleActionsOK) Error() string

func (*ListLogScaleActionsOK) GetPayload

func (*ListLogScaleActionsOK) IsClientError

func (o *ListLogScaleActionsOK) IsClientError() bool

IsClientError returns true when this list log scale actions o k response has a 4xx status code

func (*ListLogScaleActionsOK) IsCode

func (o *ListLogScaleActionsOK) IsCode(code int) bool

IsCode returns true when this list log scale actions o k response a status code equal to that given

func (*ListLogScaleActionsOK) IsRedirect

func (o *ListLogScaleActionsOK) IsRedirect() bool

IsRedirect returns true when this list log scale actions o k response has a 3xx status code

func (*ListLogScaleActionsOK) IsServerError

func (o *ListLogScaleActionsOK) IsServerError() bool

IsServerError returns true when this list log scale actions o k response has a 5xx status code

func (*ListLogScaleActionsOK) IsSuccess

func (o *ListLogScaleActionsOK) IsSuccess() bool

IsSuccess returns true when this list log scale actions o k response has a 2xx status code

func (*ListLogScaleActionsOK) String

func (o *ListLogScaleActionsOK) String() string

type ListLogScaleActionsParams

type ListLogScaleActionsParams struct {

	/* Names.

	   Filters results by name, where any LogScaleAction 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 LogScaleAction 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
}

ListLogScaleActionsParams contains all the parameters to send to the API endpoint

for the list log scale actions operation.

Typically these are written to a http.Request.

func NewListLogScaleActionsParams

func NewListLogScaleActionsParams() *ListLogScaleActionsParams

NewListLogScaleActionsParams creates a new ListLogScaleActionsParams 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 NewListLogScaleActionsParamsWithContext

func NewListLogScaleActionsParamsWithContext(ctx context.Context) *ListLogScaleActionsParams

NewListLogScaleActionsParamsWithContext creates a new ListLogScaleActionsParams object with the ability to set a context for a request.

func NewListLogScaleActionsParamsWithHTTPClient

func NewListLogScaleActionsParamsWithHTTPClient(client *http.Client) *ListLogScaleActionsParams

NewListLogScaleActionsParamsWithHTTPClient creates a new ListLogScaleActionsParams object with the ability to set a custom HTTPClient for a request.

func NewListLogScaleActionsParamsWithTimeout

func NewListLogScaleActionsParamsWithTimeout(timeout time.Duration) *ListLogScaleActionsParams

NewListLogScaleActionsParamsWithTimeout creates a new ListLogScaleActionsParams object with the ability to set a timeout on a request.

func (*ListLogScaleActionsParams) SetContext

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

SetContext adds the context to the list log scale actions params

func (*ListLogScaleActionsParams) SetDefaults

func (o *ListLogScaleActionsParams) SetDefaults()

SetDefaults hydrates default values in the list log scale actions params (not the query body).

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

func (*ListLogScaleActionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list log scale actions params

func (*ListLogScaleActionsParams) SetNames

func (o *ListLogScaleActionsParams) SetNames(names []string)

SetNames adds the names to the list log scale actions params

func (*ListLogScaleActionsParams) SetPageMaxSize

func (o *ListLogScaleActionsParams) SetPageMaxSize(pageMaxSize *int64)

SetPageMaxSize adds the pageMaxSize to the list log scale actions params

func (*ListLogScaleActionsParams) SetPageToken

func (o *ListLogScaleActionsParams) SetPageToken(pageToken *string)

SetPageToken adds the pageToken to the list log scale actions params

func (*ListLogScaleActionsParams) SetSlugs

func (o *ListLogScaleActionsParams) SetSlugs(slugs []string)

SetSlugs adds the slugs to the list log scale actions params

func (*ListLogScaleActionsParams) SetTimeout

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

SetTimeout adds the timeout to the list log scale actions params

func (*ListLogScaleActionsParams) WithContext

WithContext adds the context to the list log scale actions params

func (*ListLogScaleActionsParams) WithDefaults

WithDefaults hydrates default values in the list log scale actions params (not the query body).

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

func (*ListLogScaleActionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list log scale actions params

func (*ListLogScaleActionsParams) WithNames

WithNames adds the names to the list log scale actions params

func (*ListLogScaleActionsParams) WithPageMaxSize

func (o *ListLogScaleActionsParams) WithPageMaxSize(pageMaxSize *int64) *ListLogScaleActionsParams

WithPageMaxSize adds the pageMaxSize to the list log scale actions params

func (*ListLogScaleActionsParams) WithPageToken

func (o *ListLogScaleActionsParams) WithPageToken(pageToken *string) *ListLogScaleActionsParams

WithPageToken adds the pageToken to the list log scale actions params

func (*ListLogScaleActionsParams) WithSlugs

WithSlugs adds the slugs to the list log scale actions params

func (*ListLogScaleActionsParams) WithTimeout

WithTimeout adds the timeout to the list log scale actions params

func (*ListLogScaleActionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListLogScaleActionsReader

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

ListLogScaleActionsReader is a Reader for the ListLogScaleActions structure.

func (*ListLogScaleActionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReadLogScaleActionDefault

type ReadLogScaleActionDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ReadLogScaleActionDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewReadLogScaleActionDefault

func NewReadLogScaleActionDefault(code int) *ReadLogScaleActionDefault

NewReadLogScaleActionDefault creates a ReadLogScaleActionDefault with default headers values

func (*ReadLogScaleActionDefault) Code

func (o *ReadLogScaleActionDefault) Code() int

Code gets the status code for the read log scale action default response

func (*ReadLogScaleActionDefault) Error

func (o *ReadLogScaleActionDefault) Error() string

func (*ReadLogScaleActionDefault) GetPayload

func (*ReadLogScaleActionDefault) IsClientError

func (o *ReadLogScaleActionDefault) IsClientError() bool

IsClientError returns true when this read log scale action default response has a 4xx status code

func (*ReadLogScaleActionDefault) IsCode

func (o *ReadLogScaleActionDefault) IsCode(code int) bool

IsCode returns true when this read log scale action default response a status code equal to that given

func (*ReadLogScaleActionDefault) IsRedirect

func (o *ReadLogScaleActionDefault) IsRedirect() bool

IsRedirect returns true when this read log scale action default response has a 3xx status code

func (*ReadLogScaleActionDefault) IsServerError

func (o *ReadLogScaleActionDefault) IsServerError() bool

IsServerError returns true when this read log scale action default response has a 5xx status code

func (*ReadLogScaleActionDefault) IsSuccess

func (o *ReadLogScaleActionDefault) IsSuccess() bool

IsSuccess returns true when this read log scale action default response has a 2xx status code

func (*ReadLogScaleActionDefault) String

func (o *ReadLogScaleActionDefault) String() string

type ReadLogScaleActionInternalServerError

type ReadLogScaleActionInternalServerError struct {
	Payload *models.APIError
}

ReadLogScaleActionInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewReadLogScaleActionInternalServerError

func NewReadLogScaleActionInternalServerError() *ReadLogScaleActionInternalServerError

NewReadLogScaleActionInternalServerError creates a ReadLogScaleActionInternalServerError with default headers values

func (*ReadLogScaleActionInternalServerError) Code

Code gets the status code for the read log scale action internal server error response

func (*ReadLogScaleActionInternalServerError) Error

func (*ReadLogScaleActionInternalServerError) GetPayload

func (*ReadLogScaleActionInternalServerError) IsClientError

func (o *ReadLogScaleActionInternalServerError) IsClientError() bool

IsClientError returns true when this read log scale action internal server error response has a 4xx status code

func (*ReadLogScaleActionInternalServerError) IsCode

IsCode returns true when this read log scale action internal server error response a status code equal to that given

func (*ReadLogScaleActionInternalServerError) IsRedirect

IsRedirect returns true when this read log scale action internal server error response has a 3xx status code

func (*ReadLogScaleActionInternalServerError) IsServerError

func (o *ReadLogScaleActionInternalServerError) IsServerError() bool

IsServerError returns true when this read log scale action internal server error response has a 5xx status code

func (*ReadLogScaleActionInternalServerError) IsSuccess

IsSuccess returns true when this read log scale action internal server error response has a 2xx status code

func (*ReadLogScaleActionInternalServerError) String

type ReadLogScaleActionNotFound

type ReadLogScaleActionNotFound struct {
	Payload *models.APIError
}

ReadLogScaleActionNotFound describes a response with status code 404, with default header values.

Cannot read the LogScaleAction because the slug does not exist.

func NewReadLogScaleActionNotFound

func NewReadLogScaleActionNotFound() *ReadLogScaleActionNotFound

NewReadLogScaleActionNotFound creates a ReadLogScaleActionNotFound with default headers values

func (*ReadLogScaleActionNotFound) Code

func (o *ReadLogScaleActionNotFound) Code() int

Code gets the status code for the read log scale action not found response

func (*ReadLogScaleActionNotFound) Error

func (*ReadLogScaleActionNotFound) GetPayload

func (o *ReadLogScaleActionNotFound) GetPayload() *models.APIError

func (*ReadLogScaleActionNotFound) IsClientError

func (o *ReadLogScaleActionNotFound) IsClientError() bool

IsClientError returns true when this read log scale action not found response has a 4xx status code

func (*ReadLogScaleActionNotFound) IsCode

func (o *ReadLogScaleActionNotFound) IsCode(code int) bool

IsCode returns true when this read log scale action not found response a status code equal to that given

func (*ReadLogScaleActionNotFound) IsRedirect

func (o *ReadLogScaleActionNotFound) IsRedirect() bool

IsRedirect returns true when this read log scale action not found response has a 3xx status code

func (*ReadLogScaleActionNotFound) IsServerError

func (o *ReadLogScaleActionNotFound) IsServerError() bool

IsServerError returns true when this read log scale action not found response has a 5xx status code

func (*ReadLogScaleActionNotFound) IsSuccess

func (o *ReadLogScaleActionNotFound) IsSuccess() bool

IsSuccess returns true when this read log scale action not found response has a 2xx status code

func (*ReadLogScaleActionNotFound) String

func (o *ReadLogScaleActionNotFound) String() string

type ReadLogScaleActionOK

type ReadLogScaleActionOK struct {
	Payload *models.Configv1ReadLogScaleActionResponse
}

ReadLogScaleActionOK describes a response with status code 200, with default header values.

A successful response.

func NewReadLogScaleActionOK

func NewReadLogScaleActionOK() *ReadLogScaleActionOK

NewReadLogScaleActionOK creates a ReadLogScaleActionOK with default headers values

func (*ReadLogScaleActionOK) Code

func (o *ReadLogScaleActionOK) Code() int

Code gets the status code for the read log scale action o k response

func (*ReadLogScaleActionOK) Error

func (o *ReadLogScaleActionOK) Error() string

func (*ReadLogScaleActionOK) GetPayload

func (*ReadLogScaleActionOK) IsClientError

func (o *ReadLogScaleActionOK) IsClientError() bool

IsClientError returns true when this read log scale action o k response has a 4xx status code

func (*ReadLogScaleActionOK) IsCode

func (o *ReadLogScaleActionOK) IsCode(code int) bool

IsCode returns true when this read log scale action o k response a status code equal to that given

func (*ReadLogScaleActionOK) IsRedirect

func (o *ReadLogScaleActionOK) IsRedirect() bool

IsRedirect returns true when this read log scale action o k response has a 3xx status code

func (*ReadLogScaleActionOK) IsServerError

func (o *ReadLogScaleActionOK) IsServerError() bool

IsServerError returns true when this read log scale action o k response has a 5xx status code

func (*ReadLogScaleActionOK) IsSuccess

func (o *ReadLogScaleActionOK) IsSuccess() bool

IsSuccess returns true when this read log scale action o k response has a 2xx status code

func (*ReadLogScaleActionOK) String

func (o *ReadLogScaleActionOK) String() string

type ReadLogScaleActionParams

type ReadLogScaleActionParams struct {

	// Slug.
	Slug string

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

ReadLogScaleActionParams contains all the parameters to send to the API endpoint

for the read log scale action operation.

Typically these are written to a http.Request.

func NewReadLogScaleActionParams

func NewReadLogScaleActionParams() *ReadLogScaleActionParams

NewReadLogScaleActionParams creates a new ReadLogScaleActionParams 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 NewReadLogScaleActionParamsWithContext

func NewReadLogScaleActionParamsWithContext(ctx context.Context) *ReadLogScaleActionParams

NewReadLogScaleActionParamsWithContext creates a new ReadLogScaleActionParams object with the ability to set a context for a request.

func NewReadLogScaleActionParamsWithHTTPClient

func NewReadLogScaleActionParamsWithHTTPClient(client *http.Client) *ReadLogScaleActionParams

NewReadLogScaleActionParamsWithHTTPClient creates a new ReadLogScaleActionParams object with the ability to set a custom HTTPClient for a request.

func NewReadLogScaleActionParamsWithTimeout

func NewReadLogScaleActionParamsWithTimeout(timeout time.Duration) *ReadLogScaleActionParams

NewReadLogScaleActionParamsWithTimeout creates a new ReadLogScaleActionParams object with the ability to set a timeout on a request.

func (*ReadLogScaleActionParams) SetContext

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

SetContext adds the context to the read log scale action params

func (*ReadLogScaleActionParams) SetDefaults

func (o *ReadLogScaleActionParams) SetDefaults()

SetDefaults hydrates default values in the read log scale action params (not the query body).

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

func (*ReadLogScaleActionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the read log scale action params

func (*ReadLogScaleActionParams) SetSlug

func (o *ReadLogScaleActionParams) SetSlug(slug string)

SetSlug adds the slug to the read log scale action params

func (*ReadLogScaleActionParams) SetTimeout

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

SetTimeout adds the timeout to the read log scale action params

func (*ReadLogScaleActionParams) WithContext

WithContext adds the context to the read log scale action params

func (*ReadLogScaleActionParams) WithDefaults

WithDefaults hydrates default values in the read log scale action params (not the query body).

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

func (*ReadLogScaleActionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the read log scale action params

func (*ReadLogScaleActionParams) WithSlug

WithSlug adds the slug to the read log scale action params

func (*ReadLogScaleActionParams) WithTimeout

WithTimeout adds the timeout to the read log scale action params

func (*ReadLogScaleActionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReadLogScaleActionReader

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

ReadLogScaleActionReader is a Reader for the ReadLogScaleAction structure.

func (*ReadLogScaleActionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateLogScaleActionBadRequest

type UpdateLogScaleActionBadRequest struct {
	Payload *models.APIError
}

UpdateLogScaleActionBadRequest describes a response with status code 400, with default header values.

Cannot update the LogScaleAction because the request is invalid.

func NewUpdateLogScaleActionBadRequest

func NewUpdateLogScaleActionBadRequest() *UpdateLogScaleActionBadRequest

NewUpdateLogScaleActionBadRequest creates a UpdateLogScaleActionBadRequest with default headers values

func (*UpdateLogScaleActionBadRequest) Code

Code gets the status code for the update log scale action bad request response

func (*UpdateLogScaleActionBadRequest) Error

func (*UpdateLogScaleActionBadRequest) GetPayload

func (*UpdateLogScaleActionBadRequest) IsClientError

func (o *UpdateLogScaleActionBadRequest) IsClientError() bool

IsClientError returns true when this update log scale action bad request response has a 4xx status code

func (*UpdateLogScaleActionBadRequest) IsCode

func (o *UpdateLogScaleActionBadRequest) IsCode(code int) bool

IsCode returns true when this update log scale action bad request response a status code equal to that given

func (*UpdateLogScaleActionBadRequest) IsRedirect

func (o *UpdateLogScaleActionBadRequest) IsRedirect() bool

IsRedirect returns true when this update log scale action bad request response has a 3xx status code

func (*UpdateLogScaleActionBadRequest) IsServerError

func (o *UpdateLogScaleActionBadRequest) IsServerError() bool

IsServerError returns true when this update log scale action bad request response has a 5xx status code

func (*UpdateLogScaleActionBadRequest) IsSuccess

func (o *UpdateLogScaleActionBadRequest) IsSuccess() bool

IsSuccess returns true when this update log scale action bad request response has a 2xx status code

func (*UpdateLogScaleActionBadRequest) String

type UpdateLogScaleActionConflict

type UpdateLogScaleActionConflict struct {
	Payload *models.APIError
}

UpdateLogScaleActionConflict describes a response with status code 409, with default header values.

Cannot update the LogScaleAction because there is a conflict with an existing LogScaleAction.

func NewUpdateLogScaleActionConflict

func NewUpdateLogScaleActionConflict() *UpdateLogScaleActionConflict

NewUpdateLogScaleActionConflict creates a UpdateLogScaleActionConflict with default headers values

func (*UpdateLogScaleActionConflict) Code

Code gets the status code for the update log scale action conflict response

func (*UpdateLogScaleActionConflict) Error

func (*UpdateLogScaleActionConflict) GetPayload

func (o *UpdateLogScaleActionConflict) GetPayload() *models.APIError

func (*UpdateLogScaleActionConflict) IsClientError

func (o *UpdateLogScaleActionConflict) IsClientError() bool

IsClientError returns true when this update log scale action conflict response has a 4xx status code

func (*UpdateLogScaleActionConflict) IsCode

func (o *UpdateLogScaleActionConflict) IsCode(code int) bool

IsCode returns true when this update log scale action conflict response a status code equal to that given

func (*UpdateLogScaleActionConflict) IsRedirect

func (o *UpdateLogScaleActionConflict) IsRedirect() bool

IsRedirect returns true when this update log scale action conflict response has a 3xx status code

func (*UpdateLogScaleActionConflict) IsServerError

func (o *UpdateLogScaleActionConflict) IsServerError() bool

IsServerError returns true when this update log scale action conflict response has a 5xx status code

func (*UpdateLogScaleActionConflict) IsSuccess

func (o *UpdateLogScaleActionConflict) IsSuccess() bool

IsSuccess returns true when this update log scale action conflict response has a 2xx status code

func (*UpdateLogScaleActionConflict) String

type UpdateLogScaleActionDefault

type UpdateLogScaleActionDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

UpdateLogScaleActionDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewUpdateLogScaleActionDefault

func NewUpdateLogScaleActionDefault(code int) *UpdateLogScaleActionDefault

NewUpdateLogScaleActionDefault creates a UpdateLogScaleActionDefault with default headers values

func (*UpdateLogScaleActionDefault) Code

func (o *UpdateLogScaleActionDefault) Code() int

Code gets the status code for the update log scale action default response

func (*UpdateLogScaleActionDefault) Error

func (*UpdateLogScaleActionDefault) GetPayload

func (*UpdateLogScaleActionDefault) IsClientError

func (o *UpdateLogScaleActionDefault) IsClientError() bool

IsClientError returns true when this update log scale action default response has a 4xx status code

func (*UpdateLogScaleActionDefault) IsCode

func (o *UpdateLogScaleActionDefault) IsCode(code int) bool

IsCode returns true when this update log scale action default response a status code equal to that given

func (*UpdateLogScaleActionDefault) IsRedirect

func (o *UpdateLogScaleActionDefault) IsRedirect() bool

IsRedirect returns true when this update log scale action default response has a 3xx status code

func (*UpdateLogScaleActionDefault) IsServerError

func (o *UpdateLogScaleActionDefault) IsServerError() bool

IsServerError returns true when this update log scale action default response has a 5xx status code

func (*UpdateLogScaleActionDefault) IsSuccess

func (o *UpdateLogScaleActionDefault) IsSuccess() bool

IsSuccess returns true when this update log scale action default response has a 2xx status code

func (*UpdateLogScaleActionDefault) String

func (o *UpdateLogScaleActionDefault) String() string

type UpdateLogScaleActionInternalServerError

type UpdateLogScaleActionInternalServerError struct {
	Payload *models.APIError
}

UpdateLogScaleActionInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewUpdateLogScaleActionInternalServerError

func NewUpdateLogScaleActionInternalServerError() *UpdateLogScaleActionInternalServerError

NewUpdateLogScaleActionInternalServerError creates a UpdateLogScaleActionInternalServerError with default headers values

func (*UpdateLogScaleActionInternalServerError) Code

Code gets the status code for the update log scale action internal server error response

func (*UpdateLogScaleActionInternalServerError) Error

func (*UpdateLogScaleActionInternalServerError) GetPayload

func (*UpdateLogScaleActionInternalServerError) IsClientError

func (o *UpdateLogScaleActionInternalServerError) IsClientError() bool

IsClientError returns true when this update log scale action internal server error response has a 4xx status code

func (*UpdateLogScaleActionInternalServerError) IsCode

IsCode returns true when this update log scale action internal server error response a status code equal to that given

func (*UpdateLogScaleActionInternalServerError) IsRedirect

IsRedirect returns true when this update log scale action internal server error response has a 3xx status code

func (*UpdateLogScaleActionInternalServerError) IsServerError

func (o *UpdateLogScaleActionInternalServerError) IsServerError() bool

IsServerError returns true when this update log scale action internal server error response has a 5xx status code

func (*UpdateLogScaleActionInternalServerError) IsSuccess

IsSuccess returns true when this update log scale action internal server error response has a 2xx status code

func (*UpdateLogScaleActionInternalServerError) String

type UpdateLogScaleActionNotFound

type UpdateLogScaleActionNotFound struct {
	Payload *models.APIError
}

UpdateLogScaleActionNotFound describes a response with status code 404, with default header values.

Cannot update the LogScaleAction because the slug does not exist.

func NewUpdateLogScaleActionNotFound

func NewUpdateLogScaleActionNotFound() *UpdateLogScaleActionNotFound

NewUpdateLogScaleActionNotFound creates a UpdateLogScaleActionNotFound with default headers values

func (*UpdateLogScaleActionNotFound) Code

Code gets the status code for the update log scale action not found response

func (*UpdateLogScaleActionNotFound) Error

func (*UpdateLogScaleActionNotFound) GetPayload

func (o *UpdateLogScaleActionNotFound) GetPayload() *models.APIError

func (*UpdateLogScaleActionNotFound) IsClientError

func (o *UpdateLogScaleActionNotFound) IsClientError() bool

IsClientError returns true when this update log scale action not found response has a 4xx status code

func (*UpdateLogScaleActionNotFound) IsCode

func (o *UpdateLogScaleActionNotFound) IsCode(code int) bool

IsCode returns true when this update log scale action not found response a status code equal to that given

func (*UpdateLogScaleActionNotFound) IsRedirect

func (o *UpdateLogScaleActionNotFound) IsRedirect() bool

IsRedirect returns true when this update log scale action not found response has a 3xx status code

func (*UpdateLogScaleActionNotFound) IsServerError

func (o *UpdateLogScaleActionNotFound) IsServerError() bool

IsServerError returns true when this update log scale action not found response has a 5xx status code

func (*UpdateLogScaleActionNotFound) IsSuccess

func (o *UpdateLogScaleActionNotFound) IsSuccess() bool

IsSuccess returns true when this update log scale action not found response has a 2xx status code

func (*UpdateLogScaleActionNotFound) String

type UpdateLogScaleActionOK

type UpdateLogScaleActionOK struct {
	Payload *models.Configv1UpdateLogScaleActionResponse
}

UpdateLogScaleActionOK describes a response with status code 200, with default header values.

A successful response containing the updated LogScaleAction.

func NewUpdateLogScaleActionOK

func NewUpdateLogScaleActionOK() *UpdateLogScaleActionOK

NewUpdateLogScaleActionOK creates a UpdateLogScaleActionOK with default headers values

func (*UpdateLogScaleActionOK) Code

func (o *UpdateLogScaleActionOK) Code() int

Code gets the status code for the update log scale action o k response

func (*UpdateLogScaleActionOK) Error

func (o *UpdateLogScaleActionOK) Error() string

func (*UpdateLogScaleActionOK) GetPayload

func (*UpdateLogScaleActionOK) IsClientError

func (o *UpdateLogScaleActionOK) IsClientError() bool

IsClientError returns true when this update log scale action o k response has a 4xx status code

func (*UpdateLogScaleActionOK) IsCode

func (o *UpdateLogScaleActionOK) IsCode(code int) bool

IsCode returns true when this update log scale action o k response a status code equal to that given

func (*UpdateLogScaleActionOK) IsRedirect

func (o *UpdateLogScaleActionOK) IsRedirect() bool

IsRedirect returns true when this update log scale action o k response has a 3xx status code

func (*UpdateLogScaleActionOK) IsServerError

func (o *UpdateLogScaleActionOK) IsServerError() bool

IsServerError returns true when this update log scale action o k response has a 5xx status code

func (*UpdateLogScaleActionOK) IsSuccess

func (o *UpdateLogScaleActionOK) IsSuccess() bool

IsSuccess returns true when this update log scale action o k response has a 2xx status code

func (*UpdateLogScaleActionOK) String

func (o *UpdateLogScaleActionOK) String() string

type UpdateLogScaleActionParams

type UpdateLogScaleActionParams struct {

	// Body.
	Body *models.ConfigV1UpdateLogScaleActionBody

	// Slug.
	Slug string

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

UpdateLogScaleActionParams contains all the parameters to send to the API endpoint

for the update log scale action operation.

Typically these are written to a http.Request.

func NewUpdateLogScaleActionParams

func NewUpdateLogScaleActionParams() *UpdateLogScaleActionParams

NewUpdateLogScaleActionParams creates a new UpdateLogScaleActionParams 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 NewUpdateLogScaleActionParamsWithContext

func NewUpdateLogScaleActionParamsWithContext(ctx context.Context) *UpdateLogScaleActionParams

NewUpdateLogScaleActionParamsWithContext creates a new UpdateLogScaleActionParams object with the ability to set a context for a request.

func NewUpdateLogScaleActionParamsWithHTTPClient

func NewUpdateLogScaleActionParamsWithHTTPClient(client *http.Client) *UpdateLogScaleActionParams

NewUpdateLogScaleActionParamsWithHTTPClient creates a new UpdateLogScaleActionParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateLogScaleActionParamsWithTimeout

func NewUpdateLogScaleActionParamsWithTimeout(timeout time.Duration) *UpdateLogScaleActionParams

NewUpdateLogScaleActionParamsWithTimeout creates a new UpdateLogScaleActionParams object with the ability to set a timeout on a request.

func (*UpdateLogScaleActionParams) SetBody

SetBody adds the body to the update log scale action params

func (*UpdateLogScaleActionParams) SetContext

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

SetContext adds the context to the update log scale action params

func (*UpdateLogScaleActionParams) SetDefaults

func (o *UpdateLogScaleActionParams) SetDefaults()

SetDefaults hydrates default values in the update log scale action params (not the query body).

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

func (*UpdateLogScaleActionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update log scale action params

func (*UpdateLogScaleActionParams) SetSlug

func (o *UpdateLogScaleActionParams) SetSlug(slug string)

SetSlug adds the slug to the update log scale action params

func (*UpdateLogScaleActionParams) SetTimeout

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

SetTimeout adds the timeout to the update log scale action params

func (*UpdateLogScaleActionParams) WithBody

WithBody adds the body to the update log scale action params

func (*UpdateLogScaleActionParams) WithContext

WithContext adds the context to the update log scale action params

func (*UpdateLogScaleActionParams) WithDefaults

WithDefaults hydrates default values in the update log scale action params (not the query body).

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

func (*UpdateLogScaleActionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update log scale action params

func (*UpdateLogScaleActionParams) WithSlug

WithSlug adds the slug to the update log scale action params

func (*UpdateLogScaleActionParams) WithTimeout

WithTimeout adds the timeout to the update log scale action params

func (*UpdateLogScaleActionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateLogScaleActionReader

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

UpdateLogScaleActionReader is a Reader for the UpdateLogScaleAction structure.

func (*UpdateLogScaleActionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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