rollup_rule

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 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 rollup rule API

func (*Client) CreateRollupRule

func (a *Client) CreateRollupRule(params *CreateRollupRuleParams, opts ...ClientOption) (*CreateRollupRuleOK, error)

CreateRollupRule create rollup rule API

func (*Client) DeleteRollupRule

func (a *Client) DeleteRollupRule(params *DeleteRollupRuleParams, opts ...ClientOption) (*DeleteRollupRuleOK, error)

DeleteRollupRule delete rollup rule API

func (*Client) ListRollupRules

func (a *Client) ListRollupRules(params *ListRollupRulesParams, opts ...ClientOption) (*ListRollupRulesOK, error)

ListRollupRules list rollup rules API

func (*Client) ReadRollupRule

func (a *Client) ReadRollupRule(params *ReadRollupRuleParams, opts ...ClientOption) (*ReadRollupRuleOK, error)

ReadRollupRule read rollup rule API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateRollupRule

func (a *Client) UpdateRollupRule(params *UpdateRollupRuleParams, opts ...ClientOption) (*UpdateRollupRuleOK, error)

UpdateRollupRule update rollup rule API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateRollupRule(params *CreateRollupRuleParams, opts ...ClientOption) (*CreateRollupRuleOK, error)

	DeleteRollupRule(params *DeleteRollupRuleParams, opts ...ClientOption) (*DeleteRollupRuleOK, error)

	ListRollupRules(params *ListRollupRulesParams, opts ...ClientOption) (*ListRollupRulesOK, error)

	ReadRollupRule(params *ReadRollupRuleParams, opts ...ClientOption) (*ReadRollupRuleOK, error)

	UpdateRollupRule(params *UpdateRollupRuleParams, opts ...ClientOption) (*UpdateRollupRuleOK, 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 rollup rule API client.

type CreateRollupRuleBadRequest

type CreateRollupRuleBadRequest struct {
	Payload *models.APIError
}

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

Cannot create the RollupRule because the request is invalid.

func NewCreateRollupRuleBadRequest

func NewCreateRollupRuleBadRequest() *CreateRollupRuleBadRequest

NewCreateRollupRuleBadRequest creates a CreateRollupRuleBadRequest with default headers values

func (*CreateRollupRuleBadRequest) Code

func (o *CreateRollupRuleBadRequest) Code() int

Code gets the status code for the create rollup rule bad request response

func (*CreateRollupRuleBadRequest) Error

func (*CreateRollupRuleBadRequest) GetPayload

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

func (*CreateRollupRuleBadRequest) IsClientError

func (o *CreateRollupRuleBadRequest) IsClientError() bool

IsClientError returns true when this create rollup rule bad request response has a 4xx status code

func (*CreateRollupRuleBadRequest) IsCode

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

IsCode returns true when this create rollup rule bad request response a status code equal to that given

func (*CreateRollupRuleBadRequest) IsRedirect

func (o *CreateRollupRuleBadRequest) IsRedirect() bool

IsRedirect returns true when this create rollup rule bad request response has a 3xx status code

func (*CreateRollupRuleBadRequest) IsServerError

func (o *CreateRollupRuleBadRequest) IsServerError() bool

IsServerError returns true when this create rollup rule bad request response has a 5xx status code

func (*CreateRollupRuleBadRequest) IsSuccess

func (o *CreateRollupRuleBadRequest) IsSuccess() bool

IsSuccess returns true when this create rollup rule bad request response has a 2xx status code

func (*CreateRollupRuleBadRequest) String

func (o *CreateRollupRuleBadRequest) String() string

type CreateRollupRuleConflict

type CreateRollupRuleConflict struct {
	Payload *models.APIError
}

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

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

func NewCreateRollupRuleConflict

func NewCreateRollupRuleConflict() *CreateRollupRuleConflict

NewCreateRollupRuleConflict creates a CreateRollupRuleConflict with default headers values

func (*CreateRollupRuleConflict) Code

func (o *CreateRollupRuleConflict) Code() int

Code gets the status code for the create rollup rule conflict response

func (*CreateRollupRuleConflict) Error

func (o *CreateRollupRuleConflict) Error() string

func (*CreateRollupRuleConflict) GetPayload

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

func (*CreateRollupRuleConflict) IsClientError

func (o *CreateRollupRuleConflict) IsClientError() bool

IsClientError returns true when this create rollup rule conflict response has a 4xx status code

func (*CreateRollupRuleConflict) IsCode

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

IsCode returns true when this create rollup rule conflict response a status code equal to that given

func (*CreateRollupRuleConflict) IsRedirect

func (o *CreateRollupRuleConflict) IsRedirect() bool

IsRedirect returns true when this create rollup rule conflict response has a 3xx status code

func (*CreateRollupRuleConflict) IsServerError

func (o *CreateRollupRuleConflict) IsServerError() bool

IsServerError returns true when this create rollup rule conflict response has a 5xx status code

func (*CreateRollupRuleConflict) IsSuccess

func (o *CreateRollupRuleConflict) IsSuccess() bool

IsSuccess returns true when this create rollup rule conflict response has a 2xx status code

func (*CreateRollupRuleConflict) String

func (o *CreateRollupRuleConflict) String() string

type CreateRollupRuleDefault

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

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

An undefined error response.

func NewCreateRollupRuleDefault

func NewCreateRollupRuleDefault(code int) *CreateRollupRuleDefault

NewCreateRollupRuleDefault creates a CreateRollupRuleDefault with default headers values

func (*CreateRollupRuleDefault) Code

func (o *CreateRollupRuleDefault) Code() int

Code gets the status code for the create rollup rule default response

func (*CreateRollupRuleDefault) Error

func (o *CreateRollupRuleDefault) Error() string

func (*CreateRollupRuleDefault) GetPayload

func (*CreateRollupRuleDefault) IsClientError

func (o *CreateRollupRuleDefault) IsClientError() bool

IsClientError returns true when this create rollup rule default response has a 4xx status code

func (*CreateRollupRuleDefault) IsCode

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

IsCode returns true when this create rollup rule default response a status code equal to that given

func (*CreateRollupRuleDefault) IsRedirect

func (o *CreateRollupRuleDefault) IsRedirect() bool

IsRedirect returns true when this create rollup rule default response has a 3xx status code

func (*CreateRollupRuleDefault) IsServerError

func (o *CreateRollupRuleDefault) IsServerError() bool

IsServerError returns true when this create rollup rule default response has a 5xx status code

func (*CreateRollupRuleDefault) IsSuccess

func (o *CreateRollupRuleDefault) IsSuccess() bool

IsSuccess returns true when this create rollup rule default response has a 2xx status code

func (*CreateRollupRuleDefault) String

func (o *CreateRollupRuleDefault) String() string

type CreateRollupRuleInternalServerError

type CreateRollupRuleInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewCreateRollupRuleInternalServerError

func NewCreateRollupRuleInternalServerError() *CreateRollupRuleInternalServerError

NewCreateRollupRuleInternalServerError creates a CreateRollupRuleInternalServerError with default headers values

func (*CreateRollupRuleInternalServerError) Code

Code gets the status code for the create rollup rule internal server error response

func (*CreateRollupRuleInternalServerError) Error

func (*CreateRollupRuleInternalServerError) GetPayload

func (*CreateRollupRuleInternalServerError) IsClientError

func (o *CreateRollupRuleInternalServerError) IsClientError() bool

IsClientError returns true when this create rollup rule internal server error response has a 4xx status code

func (*CreateRollupRuleInternalServerError) IsCode

IsCode returns true when this create rollup rule internal server error response a status code equal to that given

func (*CreateRollupRuleInternalServerError) IsRedirect

func (o *CreateRollupRuleInternalServerError) IsRedirect() bool

IsRedirect returns true when this create rollup rule internal server error response has a 3xx status code

func (*CreateRollupRuleInternalServerError) IsServerError

func (o *CreateRollupRuleInternalServerError) IsServerError() bool

IsServerError returns true when this create rollup rule internal server error response has a 5xx status code

func (*CreateRollupRuleInternalServerError) IsSuccess

IsSuccess returns true when this create rollup rule internal server error response has a 2xx status code

func (*CreateRollupRuleInternalServerError) String

type CreateRollupRuleOK

type CreateRollupRuleOK struct {
	Payload *models.Configv1CreateRollupRuleResponse
}

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

A successful response containing the created RollupRule.

func NewCreateRollupRuleOK

func NewCreateRollupRuleOK() *CreateRollupRuleOK

NewCreateRollupRuleOK creates a CreateRollupRuleOK with default headers values

func (*CreateRollupRuleOK) Code

func (o *CreateRollupRuleOK) Code() int

Code gets the status code for the create rollup rule o k response

func (*CreateRollupRuleOK) Error

func (o *CreateRollupRuleOK) Error() string

func (*CreateRollupRuleOK) GetPayload

func (*CreateRollupRuleOK) IsClientError

func (o *CreateRollupRuleOK) IsClientError() bool

IsClientError returns true when this create rollup rule o k response has a 4xx status code

func (*CreateRollupRuleOK) IsCode

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

IsCode returns true when this create rollup rule o k response a status code equal to that given

func (*CreateRollupRuleOK) IsRedirect

func (o *CreateRollupRuleOK) IsRedirect() bool

IsRedirect returns true when this create rollup rule o k response has a 3xx status code

func (*CreateRollupRuleOK) IsServerError

func (o *CreateRollupRuleOK) IsServerError() bool

IsServerError returns true when this create rollup rule o k response has a 5xx status code

func (*CreateRollupRuleOK) IsSuccess

func (o *CreateRollupRuleOK) IsSuccess() bool

IsSuccess returns true when this create rollup rule o k response has a 2xx status code

func (*CreateRollupRuleOK) String

func (o *CreateRollupRuleOK) String() string

type CreateRollupRuleParams

type CreateRollupRuleParams struct {

	// Body.
	Body *models.Configv1CreateRollupRuleRequest

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

CreateRollupRuleParams contains all the parameters to send to the API endpoint

for the create rollup rule operation.

Typically these are written to a http.Request.

func NewCreateRollupRuleParams

func NewCreateRollupRuleParams() *CreateRollupRuleParams

NewCreateRollupRuleParams creates a new CreateRollupRuleParams 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 NewCreateRollupRuleParamsWithContext

func NewCreateRollupRuleParamsWithContext(ctx context.Context) *CreateRollupRuleParams

NewCreateRollupRuleParamsWithContext creates a new CreateRollupRuleParams object with the ability to set a context for a request.

func NewCreateRollupRuleParamsWithHTTPClient

func NewCreateRollupRuleParamsWithHTTPClient(client *http.Client) *CreateRollupRuleParams

NewCreateRollupRuleParamsWithHTTPClient creates a new CreateRollupRuleParams object with the ability to set a custom HTTPClient for a request.

func NewCreateRollupRuleParamsWithTimeout

func NewCreateRollupRuleParamsWithTimeout(timeout time.Duration) *CreateRollupRuleParams

NewCreateRollupRuleParamsWithTimeout creates a new CreateRollupRuleParams object with the ability to set a timeout on a request.

func (*CreateRollupRuleParams) SetBody

SetBody adds the body to the create rollup rule params

func (*CreateRollupRuleParams) SetContext

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

SetContext adds the context to the create rollup rule params

func (*CreateRollupRuleParams) SetDefaults

func (o *CreateRollupRuleParams) SetDefaults()

SetDefaults hydrates default values in the create rollup rule params (not the query body).

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

func (*CreateRollupRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create rollup rule params

func (*CreateRollupRuleParams) SetTimeout

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

SetTimeout adds the timeout to the create rollup rule params

func (*CreateRollupRuleParams) WithBody

WithBody adds the body to the create rollup rule params

func (*CreateRollupRuleParams) WithContext

WithContext adds the context to the create rollup rule params

func (*CreateRollupRuleParams) WithDefaults

WithDefaults hydrates default values in the create rollup rule params (not the query body).

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

func (*CreateRollupRuleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create rollup rule params

func (*CreateRollupRuleParams) WithTimeout

WithTimeout adds the timeout to the create rollup rule params

func (*CreateRollupRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateRollupRuleReader

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

CreateRollupRuleReader is a Reader for the CreateRollupRule structure.

func (*CreateRollupRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteRollupRuleBadRequest

type DeleteRollupRuleBadRequest struct {
	Payload *models.APIError
}

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

Cannot delete the RollupRule because it is in use.

func NewDeleteRollupRuleBadRequest

func NewDeleteRollupRuleBadRequest() *DeleteRollupRuleBadRequest

NewDeleteRollupRuleBadRequest creates a DeleteRollupRuleBadRequest with default headers values

func (*DeleteRollupRuleBadRequest) Code

func (o *DeleteRollupRuleBadRequest) Code() int

Code gets the status code for the delete rollup rule bad request response

func (*DeleteRollupRuleBadRequest) Error

func (*DeleteRollupRuleBadRequest) GetPayload

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

func (*DeleteRollupRuleBadRequest) IsClientError

func (o *DeleteRollupRuleBadRequest) IsClientError() bool

IsClientError returns true when this delete rollup rule bad request response has a 4xx status code

func (*DeleteRollupRuleBadRequest) IsCode

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

IsCode returns true when this delete rollup rule bad request response a status code equal to that given

func (*DeleteRollupRuleBadRequest) IsRedirect

func (o *DeleteRollupRuleBadRequest) IsRedirect() bool

IsRedirect returns true when this delete rollup rule bad request response has a 3xx status code

func (*DeleteRollupRuleBadRequest) IsServerError

func (o *DeleteRollupRuleBadRequest) IsServerError() bool

IsServerError returns true when this delete rollup rule bad request response has a 5xx status code

func (*DeleteRollupRuleBadRequest) IsSuccess

func (o *DeleteRollupRuleBadRequest) IsSuccess() bool

IsSuccess returns true when this delete rollup rule bad request response has a 2xx status code

func (*DeleteRollupRuleBadRequest) String

func (o *DeleteRollupRuleBadRequest) String() string

type DeleteRollupRuleDefault

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

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

An undefined error response.

func NewDeleteRollupRuleDefault

func NewDeleteRollupRuleDefault(code int) *DeleteRollupRuleDefault

NewDeleteRollupRuleDefault creates a DeleteRollupRuleDefault with default headers values

func (*DeleteRollupRuleDefault) Code

func (o *DeleteRollupRuleDefault) Code() int

Code gets the status code for the delete rollup rule default response

func (*DeleteRollupRuleDefault) Error

func (o *DeleteRollupRuleDefault) Error() string

func (*DeleteRollupRuleDefault) GetPayload

func (*DeleteRollupRuleDefault) IsClientError

func (o *DeleteRollupRuleDefault) IsClientError() bool

IsClientError returns true when this delete rollup rule default response has a 4xx status code

func (*DeleteRollupRuleDefault) IsCode

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

IsCode returns true when this delete rollup rule default response a status code equal to that given

func (*DeleteRollupRuleDefault) IsRedirect

func (o *DeleteRollupRuleDefault) IsRedirect() bool

IsRedirect returns true when this delete rollup rule default response has a 3xx status code

func (*DeleteRollupRuleDefault) IsServerError

func (o *DeleteRollupRuleDefault) IsServerError() bool

IsServerError returns true when this delete rollup rule default response has a 5xx status code

func (*DeleteRollupRuleDefault) IsSuccess

func (o *DeleteRollupRuleDefault) IsSuccess() bool

IsSuccess returns true when this delete rollup rule default response has a 2xx status code

func (*DeleteRollupRuleDefault) String

func (o *DeleteRollupRuleDefault) String() string

type DeleteRollupRuleInternalServerError

type DeleteRollupRuleInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewDeleteRollupRuleInternalServerError

func NewDeleteRollupRuleInternalServerError() *DeleteRollupRuleInternalServerError

NewDeleteRollupRuleInternalServerError creates a DeleteRollupRuleInternalServerError with default headers values

func (*DeleteRollupRuleInternalServerError) Code

Code gets the status code for the delete rollup rule internal server error response

func (*DeleteRollupRuleInternalServerError) Error

func (*DeleteRollupRuleInternalServerError) GetPayload

func (*DeleteRollupRuleInternalServerError) IsClientError

func (o *DeleteRollupRuleInternalServerError) IsClientError() bool

IsClientError returns true when this delete rollup rule internal server error response has a 4xx status code

func (*DeleteRollupRuleInternalServerError) IsCode

IsCode returns true when this delete rollup rule internal server error response a status code equal to that given

func (*DeleteRollupRuleInternalServerError) IsRedirect

func (o *DeleteRollupRuleInternalServerError) IsRedirect() bool

IsRedirect returns true when this delete rollup rule internal server error response has a 3xx status code

func (*DeleteRollupRuleInternalServerError) IsServerError

func (o *DeleteRollupRuleInternalServerError) IsServerError() bool

IsServerError returns true when this delete rollup rule internal server error response has a 5xx status code

func (*DeleteRollupRuleInternalServerError) IsSuccess

IsSuccess returns true when this delete rollup rule internal server error response has a 2xx status code

func (*DeleteRollupRuleInternalServerError) String

type DeleteRollupRuleNotFound

type DeleteRollupRuleNotFound struct {
	Payload *models.APIError
}

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

Cannot delete the RollupRule because the slug does not exist.

func NewDeleteRollupRuleNotFound

func NewDeleteRollupRuleNotFound() *DeleteRollupRuleNotFound

NewDeleteRollupRuleNotFound creates a DeleteRollupRuleNotFound with default headers values

func (*DeleteRollupRuleNotFound) Code

func (o *DeleteRollupRuleNotFound) Code() int

Code gets the status code for the delete rollup rule not found response

func (*DeleteRollupRuleNotFound) Error

func (o *DeleteRollupRuleNotFound) Error() string

func (*DeleteRollupRuleNotFound) GetPayload

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

func (*DeleteRollupRuleNotFound) IsClientError

func (o *DeleteRollupRuleNotFound) IsClientError() bool

IsClientError returns true when this delete rollup rule not found response has a 4xx status code

func (*DeleteRollupRuleNotFound) IsCode

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

IsCode returns true when this delete rollup rule not found response a status code equal to that given

func (*DeleteRollupRuleNotFound) IsRedirect

func (o *DeleteRollupRuleNotFound) IsRedirect() bool

IsRedirect returns true when this delete rollup rule not found response has a 3xx status code

func (*DeleteRollupRuleNotFound) IsServerError

func (o *DeleteRollupRuleNotFound) IsServerError() bool

IsServerError returns true when this delete rollup rule not found response has a 5xx status code

func (*DeleteRollupRuleNotFound) IsSuccess

func (o *DeleteRollupRuleNotFound) IsSuccess() bool

IsSuccess returns true when this delete rollup rule not found response has a 2xx status code

func (*DeleteRollupRuleNotFound) String

func (o *DeleteRollupRuleNotFound) String() string

type DeleteRollupRuleOK

type DeleteRollupRuleOK struct {
	Payload models.Configv1DeleteRollupRuleResponse
}

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

A successful response.

func NewDeleteRollupRuleOK

func NewDeleteRollupRuleOK() *DeleteRollupRuleOK

NewDeleteRollupRuleOK creates a DeleteRollupRuleOK with default headers values

func (*DeleteRollupRuleOK) Code

func (o *DeleteRollupRuleOK) Code() int

Code gets the status code for the delete rollup rule o k response

func (*DeleteRollupRuleOK) Error

func (o *DeleteRollupRuleOK) Error() string

func (*DeleteRollupRuleOK) GetPayload

func (*DeleteRollupRuleOK) IsClientError

func (o *DeleteRollupRuleOK) IsClientError() bool

IsClientError returns true when this delete rollup rule o k response has a 4xx status code

func (*DeleteRollupRuleOK) IsCode

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

IsCode returns true when this delete rollup rule o k response a status code equal to that given

func (*DeleteRollupRuleOK) IsRedirect

func (o *DeleteRollupRuleOK) IsRedirect() bool

IsRedirect returns true when this delete rollup rule o k response has a 3xx status code

func (*DeleteRollupRuleOK) IsServerError

func (o *DeleteRollupRuleOK) IsServerError() bool

IsServerError returns true when this delete rollup rule o k response has a 5xx status code

func (*DeleteRollupRuleOK) IsSuccess

func (o *DeleteRollupRuleOK) IsSuccess() bool

IsSuccess returns true when this delete rollup rule o k response has a 2xx status code

func (*DeleteRollupRuleOK) String

func (o *DeleteRollupRuleOK) String() string

type DeleteRollupRuleParams

type DeleteRollupRuleParams struct {

	// Slug.
	Slug string

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

DeleteRollupRuleParams contains all the parameters to send to the API endpoint

for the delete rollup rule operation.

Typically these are written to a http.Request.

func NewDeleteRollupRuleParams

func NewDeleteRollupRuleParams() *DeleteRollupRuleParams

NewDeleteRollupRuleParams creates a new DeleteRollupRuleParams 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 NewDeleteRollupRuleParamsWithContext

func NewDeleteRollupRuleParamsWithContext(ctx context.Context) *DeleteRollupRuleParams

NewDeleteRollupRuleParamsWithContext creates a new DeleteRollupRuleParams object with the ability to set a context for a request.

func NewDeleteRollupRuleParamsWithHTTPClient

func NewDeleteRollupRuleParamsWithHTTPClient(client *http.Client) *DeleteRollupRuleParams

NewDeleteRollupRuleParamsWithHTTPClient creates a new DeleteRollupRuleParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteRollupRuleParamsWithTimeout

func NewDeleteRollupRuleParamsWithTimeout(timeout time.Duration) *DeleteRollupRuleParams

NewDeleteRollupRuleParamsWithTimeout creates a new DeleteRollupRuleParams object with the ability to set a timeout on a request.

func (*DeleteRollupRuleParams) SetContext

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

SetContext adds the context to the delete rollup rule params

func (*DeleteRollupRuleParams) SetDefaults

func (o *DeleteRollupRuleParams) SetDefaults()

SetDefaults hydrates default values in the delete rollup rule params (not the query body).

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

func (*DeleteRollupRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete rollup rule params

func (*DeleteRollupRuleParams) SetSlug

func (o *DeleteRollupRuleParams) SetSlug(slug string)

SetSlug adds the slug to the delete rollup rule params

func (*DeleteRollupRuleParams) SetTimeout

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

SetTimeout adds the timeout to the delete rollup rule params

func (*DeleteRollupRuleParams) WithContext

WithContext adds the context to the delete rollup rule params

func (*DeleteRollupRuleParams) WithDefaults

WithDefaults hydrates default values in the delete rollup rule params (not the query body).

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

func (*DeleteRollupRuleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete rollup rule params

func (*DeleteRollupRuleParams) WithSlug

WithSlug adds the slug to the delete rollup rule params

func (*DeleteRollupRuleParams) WithTimeout

WithTimeout adds the timeout to the delete rollup rule params

func (*DeleteRollupRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteRollupRuleReader

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

DeleteRollupRuleReader is a Reader for the DeleteRollupRule structure.

func (*DeleteRollupRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListRollupRulesDefault

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

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

An undefined error response.

func NewListRollupRulesDefault

func NewListRollupRulesDefault(code int) *ListRollupRulesDefault

NewListRollupRulesDefault creates a ListRollupRulesDefault with default headers values

func (*ListRollupRulesDefault) Code

func (o *ListRollupRulesDefault) Code() int

Code gets the status code for the list rollup rules default response

func (*ListRollupRulesDefault) Error

func (o *ListRollupRulesDefault) Error() string

func (*ListRollupRulesDefault) GetPayload

func (o *ListRollupRulesDefault) GetPayload() models.GenericError

func (*ListRollupRulesDefault) IsClientError

func (o *ListRollupRulesDefault) IsClientError() bool

IsClientError returns true when this list rollup rules default response has a 4xx status code

func (*ListRollupRulesDefault) IsCode

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

IsCode returns true when this list rollup rules default response a status code equal to that given

func (*ListRollupRulesDefault) IsRedirect

func (o *ListRollupRulesDefault) IsRedirect() bool

IsRedirect returns true when this list rollup rules default response has a 3xx status code

func (*ListRollupRulesDefault) IsServerError

func (o *ListRollupRulesDefault) IsServerError() bool

IsServerError returns true when this list rollup rules default response has a 5xx status code

func (*ListRollupRulesDefault) IsSuccess

func (o *ListRollupRulesDefault) IsSuccess() bool

IsSuccess returns true when this list rollup rules default response has a 2xx status code

func (*ListRollupRulesDefault) String

func (o *ListRollupRulesDefault) String() string

type ListRollupRulesInternalServerError

type ListRollupRulesInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewListRollupRulesInternalServerError

func NewListRollupRulesInternalServerError() *ListRollupRulesInternalServerError

NewListRollupRulesInternalServerError creates a ListRollupRulesInternalServerError with default headers values

func (*ListRollupRulesInternalServerError) Code

Code gets the status code for the list rollup rules internal server error response

func (*ListRollupRulesInternalServerError) Error

func (*ListRollupRulesInternalServerError) GetPayload

func (*ListRollupRulesInternalServerError) IsClientError

func (o *ListRollupRulesInternalServerError) IsClientError() bool

IsClientError returns true when this list rollup rules internal server error response has a 4xx status code

func (*ListRollupRulesInternalServerError) IsCode

IsCode returns true when this list rollup rules internal server error response a status code equal to that given

func (*ListRollupRulesInternalServerError) IsRedirect

func (o *ListRollupRulesInternalServerError) IsRedirect() bool

IsRedirect returns true when this list rollup rules internal server error response has a 3xx status code

func (*ListRollupRulesInternalServerError) IsServerError

func (o *ListRollupRulesInternalServerError) IsServerError() bool

IsServerError returns true when this list rollup rules internal server error response has a 5xx status code

func (*ListRollupRulesInternalServerError) IsSuccess

IsSuccess returns true when this list rollup rules internal server error response has a 2xx status code

func (*ListRollupRulesInternalServerError) String

type ListRollupRulesOK

type ListRollupRulesOK struct {
	Payload *models.Configv1ListRollupRulesResponse
}

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

A successful response.

func NewListRollupRulesOK

func NewListRollupRulesOK() *ListRollupRulesOK

NewListRollupRulesOK creates a ListRollupRulesOK with default headers values

func (*ListRollupRulesOK) Code

func (o *ListRollupRulesOK) Code() int

Code gets the status code for the list rollup rules o k response

func (*ListRollupRulesOK) Error

func (o *ListRollupRulesOK) Error() string

func (*ListRollupRulesOK) GetPayload

func (*ListRollupRulesOK) IsClientError

func (o *ListRollupRulesOK) IsClientError() bool

IsClientError returns true when this list rollup rules o k response has a 4xx status code

func (*ListRollupRulesOK) IsCode

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

IsCode returns true when this list rollup rules o k response a status code equal to that given

func (*ListRollupRulesOK) IsRedirect

func (o *ListRollupRulesOK) IsRedirect() bool

IsRedirect returns true when this list rollup rules o k response has a 3xx status code

func (*ListRollupRulesOK) IsServerError

func (o *ListRollupRulesOK) IsServerError() bool

IsServerError returns true when this list rollup rules o k response has a 5xx status code

func (*ListRollupRulesOK) IsSuccess

func (o *ListRollupRulesOK) IsSuccess() bool

IsSuccess returns true when this list rollup rules o k response has a 2xx status code

func (*ListRollupRulesOK) String

func (o *ListRollupRulesOK) String() string

type ListRollupRulesParams

type ListRollupRulesParams struct {

	/* BucketSlugs.

	   Filters results by bucket_slug, where any RollupRule with a matching bucket_slug in the given list (and matches all other filters) is returned.
	*/
	BucketSlugs []string

	/* Names.

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

ListRollupRulesParams contains all the parameters to send to the API endpoint

for the list rollup rules operation.

Typically these are written to a http.Request.

func NewListRollupRulesParams

func NewListRollupRulesParams() *ListRollupRulesParams

NewListRollupRulesParams creates a new ListRollupRulesParams 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 NewListRollupRulesParamsWithContext

func NewListRollupRulesParamsWithContext(ctx context.Context) *ListRollupRulesParams

NewListRollupRulesParamsWithContext creates a new ListRollupRulesParams object with the ability to set a context for a request.

func NewListRollupRulesParamsWithHTTPClient

func NewListRollupRulesParamsWithHTTPClient(client *http.Client) *ListRollupRulesParams

NewListRollupRulesParamsWithHTTPClient creates a new ListRollupRulesParams object with the ability to set a custom HTTPClient for a request.

func NewListRollupRulesParamsWithTimeout

func NewListRollupRulesParamsWithTimeout(timeout time.Duration) *ListRollupRulesParams

NewListRollupRulesParamsWithTimeout creates a new ListRollupRulesParams object with the ability to set a timeout on a request.

func (*ListRollupRulesParams) SetBucketSlugs

func (o *ListRollupRulesParams) SetBucketSlugs(bucketSlugs []string)

SetBucketSlugs adds the bucketSlugs to the list rollup rules params

func (*ListRollupRulesParams) SetContext

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

SetContext adds the context to the list rollup rules params

func (*ListRollupRulesParams) SetDefaults

func (o *ListRollupRulesParams) SetDefaults()

SetDefaults hydrates default values in the list rollup rules params (not the query body).

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

func (*ListRollupRulesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list rollup rules params

func (*ListRollupRulesParams) SetNames

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

SetNames adds the names to the list rollup rules params

func (*ListRollupRulesParams) SetPageMaxSize

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

SetPageMaxSize adds the pageMaxSize to the list rollup rules params

func (*ListRollupRulesParams) SetPageToken

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

SetPageToken adds the pageToken to the list rollup rules params

func (*ListRollupRulesParams) SetSlugs

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

SetSlugs adds the slugs to the list rollup rules params

func (*ListRollupRulesParams) SetTimeout

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

SetTimeout adds the timeout to the list rollup rules params

func (*ListRollupRulesParams) WithBucketSlugs

func (o *ListRollupRulesParams) WithBucketSlugs(bucketSlugs []string) *ListRollupRulesParams

WithBucketSlugs adds the bucketSlugs to the list rollup rules params

func (*ListRollupRulesParams) WithContext

WithContext adds the context to the list rollup rules params

func (*ListRollupRulesParams) WithDefaults

func (o *ListRollupRulesParams) WithDefaults() *ListRollupRulesParams

WithDefaults hydrates default values in the list rollup rules params (not the query body).

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

func (*ListRollupRulesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list rollup rules params

func (*ListRollupRulesParams) WithNames

func (o *ListRollupRulesParams) WithNames(names []string) *ListRollupRulesParams

WithNames adds the names to the list rollup rules params

func (*ListRollupRulesParams) WithPageMaxSize

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

WithPageMaxSize adds the pageMaxSize to the list rollup rules params

func (*ListRollupRulesParams) WithPageToken

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

WithPageToken adds the pageToken to the list rollup rules params

func (*ListRollupRulesParams) WithSlugs

func (o *ListRollupRulesParams) WithSlugs(slugs []string) *ListRollupRulesParams

WithSlugs adds the slugs to the list rollup rules params

func (*ListRollupRulesParams) WithTimeout

func (o *ListRollupRulesParams) WithTimeout(timeout time.Duration) *ListRollupRulesParams

WithTimeout adds the timeout to the list rollup rules params

func (*ListRollupRulesParams) WriteToRequest

func (o *ListRollupRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListRollupRulesReader

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

ListRollupRulesReader is a Reader for the ListRollupRules structure.

func (*ListRollupRulesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReadRollupRuleDefault

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

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

An undefined error response.

func NewReadRollupRuleDefault

func NewReadRollupRuleDefault(code int) *ReadRollupRuleDefault

NewReadRollupRuleDefault creates a ReadRollupRuleDefault with default headers values

func (*ReadRollupRuleDefault) Code

func (o *ReadRollupRuleDefault) Code() int

Code gets the status code for the read rollup rule default response

func (*ReadRollupRuleDefault) Error

func (o *ReadRollupRuleDefault) Error() string

func (*ReadRollupRuleDefault) GetPayload

func (o *ReadRollupRuleDefault) GetPayload() models.GenericError

func (*ReadRollupRuleDefault) IsClientError

func (o *ReadRollupRuleDefault) IsClientError() bool

IsClientError returns true when this read rollup rule default response has a 4xx status code

func (*ReadRollupRuleDefault) IsCode

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

IsCode returns true when this read rollup rule default response a status code equal to that given

func (*ReadRollupRuleDefault) IsRedirect

func (o *ReadRollupRuleDefault) IsRedirect() bool

IsRedirect returns true when this read rollup rule default response has a 3xx status code

func (*ReadRollupRuleDefault) IsServerError

func (o *ReadRollupRuleDefault) IsServerError() bool

IsServerError returns true when this read rollup rule default response has a 5xx status code

func (*ReadRollupRuleDefault) IsSuccess

func (o *ReadRollupRuleDefault) IsSuccess() bool

IsSuccess returns true when this read rollup rule default response has a 2xx status code

func (*ReadRollupRuleDefault) String

func (o *ReadRollupRuleDefault) String() string

type ReadRollupRuleInternalServerError

type ReadRollupRuleInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewReadRollupRuleInternalServerError

func NewReadRollupRuleInternalServerError() *ReadRollupRuleInternalServerError

NewReadRollupRuleInternalServerError creates a ReadRollupRuleInternalServerError with default headers values

func (*ReadRollupRuleInternalServerError) Code

Code gets the status code for the read rollup rule internal server error response

func (*ReadRollupRuleInternalServerError) Error

func (*ReadRollupRuleInternalServerError) GetPayload

func (*ReadRollupRuleInternalServerError) IsClientError

func (o *ReadRollupRuleInternalServerError) IsClientError() bool

IsClientError returns true when this read rollup rule internal server error response has a 4xx status code

func (*ReadRollupRuleInternalServerError) IsCode

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

IsCode returns true when this read rollup rule internal server error response a status code equal to that given

func (*ReadRollupRuleInternalServerError) IsRedirect

func (o *ReadRollupRuleInternalServerError) IsRedirect() bool

IsRedirect returns true when this read rollup rule internal server error response has a 3xx status code

func (*ReadRollupRuleInternalServerError) IsServerError

func (o *ReadRollupRuleInternalServerError) IsServerError() bool

IsServerError returns true when this read rollup rule internal server error response has a 5xx status code

func (*ReadRollupRuleInternalServerError) IsSuccess

func (o *ReadRollupRuleInternalServerError) IsSuccess() bool

IsSuccess returns true when this read rollup rule internal server error response has a 2xx status code

func (*ReadRollupRuleInternalServerError) String

type ReadRollupRuleNotFound

type ReadRollupRuleNotFound struct {
	Payload *models.APIError
}

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

Cannot read the RollupRule because the slug does not exist.

func NewReadRollupRuleNotFound

func NewReadRollupRuleNotFound() *ReadRollupRuleNotFound

NewReadRollupRuleNotFound creates a ReadRollupRuleNotFound with default headers values

func (*ReadRollupRuleNotFound) Code

func (o *ReadRollupRuleNotFound) Code() int

Code gets the status code for the read rollup rule not found response

func (*ReadRollupRuleNotFound) Error

func (o *ReadRollupRuleNotFound) Error() string

func (*ReadRollupRuleNotFound) GetPayload

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

func (*ReadRollupRuleNotFound) IsClientError

func (o *ReadRollupRuleNotFound) IsClientError() bool

IsClientError returns true when this read rollup rule not found response has a 4xx status code

func (*ReadRollupRuleNotFound) IsCode

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

IsCode returns true when this read rollup rule not found response a status code equal to that given

func (*ReadRollupRuleNotFound) IsRedirect

func (o *ReadRollupRuleNotFound) IsRedirect() bool

IsRedirect returns true when this read rollup rule not found response has a 3xx status code

func (*ReadRollupRuleNotFound) IsServerError

func (o *ReadRollupRuleNotFound) IsServerError() bool

IsServerError returns true when this read rollup rule not found response has a 5xx status code

func (*ReadRollupRuleNotFound) IsSuccess

func (o *ReadRollupRuleNotFound) IsSuccess() bool

IsSuccess returns true when this read rollup rule not found response has a 2xx status code

func (*ReadRollupRuleNotFound) String

func (o *ReadRollupRuleNotFound) String() string

type ReadRollupRuleOK

type ReadRollupRuleOK struct {
	Payload *models.Configv1ReadRollupRuleResponse
}

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

A successful response.

func NewReadRollupRuleOK

func NewReadRollupRuleOK() *ReadRollupRuleOK

NewReadRollupRuleOK creates a ReadRollupRuleOK with default headers values

func (*ReadRollupRuleOK) Code

func (o *ReadRollupRuleOK) Code() int

Code gets the status code for the read rollup rule o k response

func (*ReadRollupRuleOK) Error

func (o *ReadRollupRuleOK) Error() string

func (*ReadRollupRuleOK) GetPayload

func (*ReadRollupRuleOK) IsClientError

func (o *ReadRollupRuleOK) IsClientError() bool

IsClientError returns true when this read rollup rule o k response has a 4xx status code

func (*ReadRollupRuleOK) IsCode

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

IsCode returns true when this read rollup rule o k response a status code equal to that given

func (*ReadRollupRuleOK) IsRedirect

func (o *ReadRollupRuleOK) IsRedirect() bool

IsRedirect returns true when this read rollup rule o k response has a 3xx status code

func (*ReadRollupRuleOK) IsServerError

func (o *ReadRollupRuleOK) IsServerError() bool

IsServerError returns true when this read rollup rule o k response has a 5xx status code

func (*ReadRollupRuleOK) IsSuccess

func (o *ReadRollupRuleOK) IsSuccess() bool

IsSuccess returns true when this read rollup rule o k response has a 2xx status code

func (*ReadRollupRuleOK) String

func (o *ReadRollupRuleOK) String() string

type ReadRollupRuleParams

type ReadRollupRuleParams struct {

	// Slug.
	Slug string

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

ReadRollupRuleParams contains all the parameters to send to the API endpoint

for the read rollup rule operation.

Typically these are written to a http.Request.

func NewReadRollupRuleParams

func NewReadRollupRuleParams() *ReadRollupRuleParams

NewReadRollupRuleParams creates a new ReadRollupRuleParams 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 NewReadRollupRuleParamsWithContext

func NewReadRollupRuleParamsWithContext(ctx context.Context) *ReadRollupRuleParams

NewReadRollupRuleParamsWithContext creates a new ReadRollupRuleParams object with the ability to set a context for a request.

func NewReadRollupRuleParamsWithHTTPClient

func NewReadRollupRuleParamsWithHTTPClient(client *http.Client) *ReadRollupRuleParams

NewReadRollupRuleParamsWithHTTPClient creates a new ReadRollupRuleParams object with the ability to set a custom HTTPClient for a request.

func NewReadRollupRuleParamsWithTimeout

func NewReadRollupRuleParamsWithTimeout(timeout time.Duration) *ReadRollupRuleParams

NewReadRollupRuleParamsWithTimeout creates a new ReadRollupRuleParams object with the ability to set a timeout on a request.

func (*ReadRollupRuleParams) SetContext

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

SetContext adds the context to the read rollup rule params

func (*ReadRollupRuleParams) SetDefaults

func (o *ReadRollupRuleParams) SetDefaults()

SetDefaults hydrates default values in the read rollup rule params (not the query body).

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

func (*ReadRollupRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the read rollup rule params

func (*ReadRollupRuleParams) SetSlug

func (o *ReadRollupRuleParams) SetSlug(slug string)

SetSlug adds the slug to the read rollup rule params

func (*ReadRollupRuleParams) SetTimeout

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

SetTimeout adds the timeout to the read rollup rule params

func (*ReadRollupRuleParams) WithContext

WithContext adds the context to the read rollup rule params

func (*ReadRollupRuleParams) WithDefaults

func (o *ReadRollupRuleParams) WithDefaults() *ReadRollupRuleParams

WithDefaults hydrates default values in the read rollup rule params (not the query body).

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

func (*ReadRollupRuleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the read rollup rule params

func (*ReadRollupRuleParams) WithSlug

WithSlug adds the slug to the read rollup rule params

func (*ReadRollupRuleParams) WithTimeout

func (o *ReadRollupRuleParams) WithTimeout(timeout time.Duration) *ReadRollupRuleParams

WithTimeout adds the timeout to the read rollup rule params

func (*ReadRollupRuleParams) WriteToRequest

func (o *ReadRollupRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ReadRollupRuleReader

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

ReadRollupRuleReader is a Reader for the ReadRollupRule structure.

func (*ReadRollupRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateRollupRuleBadRequest

type UpdateRollupRuleBadRequest struct {
	Payload *models.APIError
}

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

Cannot update the RollupRule because the request is invalid.

func NewUpdateRollupRuleBadRequest

func NewUpdateRollupRuleBadRequest() *UpdateRollupRuleBadRequest

NewUpdateRollupRuleBadRequest creates a UpdateRollupRuleBadRequest with default headers values

func (*UpdateRollupRuleBadRequest) Code

func (o *UpdateRollupRuleBadRequest) Code() int

Code gets the status code for the update rollup rule bad request response

func (*UpdateRollupRuleBadRequest) Error

func (*UpdateRollupRuleBadRequest) GetPayload

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

func (*UpdateRollupRuleBadRequest) IsClientError

func (o *UpdateRollupRuleBadRequest) IsClientError() bool

IsClientError returns true when this update rollup rule bad request response has a 4xx status code

func (*UpdateRollupRuleBadRequest) IsCode

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

IsCode returns true when this update rollup rule bad request response a status code equal to that given

func (*UpdateRollupRuleBadRequest) IsRedirect

func (o *UpdateRollupRuleBadRequest) IsRedirect() bool

IsRedirect returns true when this update rollup rule bad request response has a 3xx status code

func (*UpdateRollupRuleBadRequest) IsServerError

func (o *UpdateRollupRuleBadRequest) IsServerError() bool

IsServerError returns true when this update rollup rule bad request response has a 5xx status code

func (*UpdateRollupRuleBadRequest) IsSuccess

func (o *UpdateRollupRuleBadRequest) IsSuccess() bool

IsSuccess returns true when this update rollup rule bad request response has a 2xx status code

func (*UpdateRollupRuleBadRequest) String

func (o *UpdateRollupRuleBadRequest) String() string

type UpdateRollupRuleConflict

type UpdateRollupRuleConflict struct {
	Payload *models.APIError
}

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

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

func NewUpdateRollupRuleConflict

func NewUpdateRollupRuleConflict() *UpdateRollupRuleConflict

NewUpdateRollupRuleConflict creates a UpdateRollupRuleConflict with default headers values

func (*UpdateRollupRuleConflict) Code

func (o *UpdateRollupRuleConflict) Code() int

Code gets the status code for the update rollup rule conflict response

func (*UpdateRollupRuleConflict) Error

func (o *UpdateRollupRuleConflict) Error() string

func (*UpdateRollupRuleConflict) GetPayload

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

func (*UpdateRollupRuleConflict) IsClientError

func (o *UpdateRollupRuleConflict) IsClientError() bool

IsClientError returns true when this update rollup rule conflict response has a 4xx status code

func (*UpdateRollupRuleConflict) IsCode

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

IsCode returns true when this update rollup rule conflict response a status code equal to that given

func (*UpdateRollupRuleConflict) IsRedirect

func (o *UpdateRollupRuleConflict) IsRedirect() bool

IsRedirect returns true when this update rollup rule conflict response has a 3xx status code

func (*UpdateRollupRuleConflict) IsServerError

func (o *UpdateRollupRuleConflict) IsServerError() bool

IsServerError returns true when this update rollup rule conflict response has a 5xx status code

func (*UpdateRollupRuleConflict) IsSuccess

func (o *UpdateRollupRuleConflict) IsSuccess() bool

IsSuccess returns true when this update rollup rule conflict response has a 2xx status code

func (*UpdateRollupRuleConflict) String

func (o *UpdateRollupRuleConflict) String() string

type UpdateRollupRuleDefault

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

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

An undefined error response.

func NewUpdateRollupRuleDefault

func NewUpdateRollupRuleDefault(code int) *UpdateRollupRuleDefault

NewUpdateRollupRuleDefault creates a UpdateRollupRuleDefault with default headers values

func (*UpdateRollupRuleDefault) Code

func (o *UpdateRollupRuleDefault) Code() int

Code gets the status code for the update rollup rule default response

func (*UpdateRollupRuleDefault) Error

func (o *UpdateRollupRuleDefault) Error() string

func (*UpdateRollupRuleDefault) GetPayload

func (*UpdateRollupRuleDefault) IsClientError

func (o *UpdateRollupRuleDefault) IsClientError() bool

IsClientError returns true when this update rollup rule default response has a 4xx status code

func (*UpdateRollupRuleDefault) IsCode

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

IsCode returns true when this update rollup rule default response a status code equal to that given

func (*UpdateRollupRuleDefault) IsRedirect

func (o *UpdateRollupRuleDefault) IsRedirect() bool

IsRedirect returns true when this update rollup rule default response has a 3xx status code

func (*UpdateRollupRuleDefault) IsServerError

func (o *UpdateRollupRuleDefault) IsServerError() bool

IsServerError returns true when this update rollup rule default response has a 5xx status code

func (*UpdateRollupRuleDefault) IsSuccess

func (o *UpdateRollupRuleDefault) IsSuccess() bool

IsSuccess returns true when this update rollup rule default response has a 2xx status code

func (*UpdateRollupRuleDefault) String

func (o *UpdateRollupRuleDefault) String() string

type UpdateRollupRuleInternalServerError

type UpdateRollupRuleInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewUpdateRollupRuleInternalServerError

func NewUpdateRollupRuleInternalServerError() *UpdateRollupRuleInternalServerError

NewUpdateRollupRuleInternalServerError creates a UpdateRollupRuleInternalServerError with default headers values

func (*UpdateRollupRuleInternalServerError) Code

Code gets the status code for the update rollup rule internal server error response

func (*UpdateRollupRuleInternalServerError) Error

func (*UpdateRollupRuleInternalServerError) GetPayload

func (*UpdateRollupRuleInternalServerError) IsClientError

func (o *UpdateRollupRuleInternalServerError) IsClientError() bool

IsClientError returns true when this update rollup rule internal server error response has a 4xx status code

func (*UpdateRollupRuleInternalServerError) IsCode

IsCode returns true when this update rollup rule internal server error response a status code equal to that given

func (*UpdateRollupRuleInternalServerError) IsRedirect

func (o *UpdateRollupRuleInternalServerError) IsRedirect() bool

IsRedirect returns true when this update rollup rule internal server error response has a 3xx status code

func (*UpdateRollupRuleInternalServerError) IsServerError

func (o *UpdateRollupRuleInternalServerError) IsServerError() bool

IsServerError returns true when this update rollup rule internal server error response has a 5xx status code

func (*UpdateRollupRuleInternalServerError) IsSuccess

IsSuccess returns true when this update rollup rule internal server error response has a 2xx status code

func (*UpdateRollupRuleInternalServerError) String

type UpdateRollupRuleNotFound

type UpdateRollupRuleNotFound struct {
	Payload *models.APIError
}

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

Cannot update the RollupRule because the slug does not exist.

func NewUpdateRollupRuleNotFound

func NewUpdateRollupRuleNotFound() *UpdateRollupRuleNotFound

NewUpdateRollupRuleNotFound creates a UpdateRollupRuleNotFound with default headers values

func (*UpdateRollupRuleNotFound) Code

func (o *UpdateRollupRuleNotFound) Code() int

Code gets the status code for the update rollup rule not found response

func (*UpdateRollupRuleNotFound) Error

func (o *UpdateRollupRuleNotFound) Error() string

func (*UpdateRollupRuleNotFound) GetPayload

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

func (*UpdateRollupRuleNotFound) IsClientError

func (o *UpdateRollupRuleNotFound) IsClientError() bool

IsClientError returns true when this update rollup rule not found response has a 4xx status code

func (*UpdateRollupRuleNotFound) IsCode

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

IsCode returns true when this update rollup rule not found response a status code equal to that given

func (*UpdateRollupRuleNotFound) IsRedirect

func (o *UpdateRollupRuleNotFound) IsRedirect() bool

IsRedirect returns true when this update rollup rule not found response has a 3xx status code

func (*UpdateRollupRuleNotFound) IsServerError

func (o *UpdateRollupRuleNotFound) IsServerError() bool

IsServerError returns true when this update rollup rule not found response has a 5xx status code

func (*UpdateRollupRuleNotFound) IsSuccess

func (o *UpdateRollupRuleNotFound) IsSuccess() bool

IsSuccess returns true when this update rollup rule not found response has a 2xx status code

func (*UpdateRollupRuleNotFound) String

func (o *UpdateRollupRuleNotFound) String() string

type UpdateRollupRuleOK

type UpdateRollupRuleOK struct {
	Payload *models.Configv1UpdateRollupRuleResponse
}

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

A successful response containing the updated RollupRule.

func NewUpdateRollupRuleOK

func NewUpdateRollupRuleOK() *UpdateRollupRuleOK

NewUpdateRollupRuleOK creates a UpdateRollupRuleOK with default headers values

func (*UpdateRollupRuleOK) Code

func (o *UpdateRollupRuleOK) Code() int

Code gets the status code for the update rollup rule o k response

func (*UpdateRollupRuleOK) Error

func (o *UpdateRollupRuleOK) Error() string

func (*UpdateRollupRuleOK) GetPayload

func (*UpdateRollupRuleOK) IsClientError

func (o *UpdateRollupRuleOK) IsClientError() bool

IsClientError returns true when this update rollup rule o k response has a 4xx status code

func (*UpdateRollupRuleOK) IsCode

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

IsCode returns true when this update rollup rule o k response a status code equal to that given

func (*UpdateRollupRuleOK) IsRedirect

func (o *UpdateRollupRuleOK) IsRedirect() bool

IsRedirect returns true when this update rollup rule o k response has a 3xx status code

func (*UpdateRollupRuleOK) IsServerError

func (o *UpdateRollupRuleOK) IsServerError() bool

IsServerError returns true when this update rollup rule o k response has a 5xx status code

func (*UpdateRollupRuleOK) IsSuccess

func (o *UpdateRollupRuleOK) IsSuccess() bool

IsSuccess returns true when this update rollup rule o k response has a 2xx status code

func (*UpdateRollupRuleOK) String

func (o *UpdateRollupRuleOK) String() string

type UpdateRollupRuleParams

type UpdateRollupRuleParams struct {

	// Body.
	Body *models.ConfigV1UpdateRollupRuleBody

	// Slug.
	Slug string

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

UpdateRollupRuleParams contains all the parameters to send to the API endpoint

for the update rollup rule operation.

Typically these are written to a http.Request.

func NewUpdateRollupRuleParams

func NewUpdateRollupRuleParams() *UpdateRollupRuleParams

NewUpdateRollupRuleParams creates a new UpdateRollupRuleParams 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 NewUpdateRollupRuleParamsWithContext

func NewUpdateRollupRuleParamsWithContext(ctx context.Context) *UpdateRollupRuleParams

NewUpdateRollupRuleParamsWithContext creates a new UpdateRollupRuleParams object with the ability to set a context for a request.

func NewUpdateRollupRuleParamsWithHTTPClient

func NewUpdateRollupRuleParamsWithHTTPClient(client *http.Client) *UpdateRollupRuleParams

NewUpdateRollupRuleParamsWithHTTPClient creates a new UpdateRollupRuleParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateRollupRuleParamsWithTimeout

func NewUpdateRollupRuleParamsWithTimeout(timeout time.Duration) *UpdateRollupRuleParams

NewUpdateRollupRuleParamsWithTimeout creates a new UpdateRollupRuleParams object with the ability to set a timeout on a request.

func (*UpdateRollupRuleParams) SetBody

SetBody adds the body to the update rollup rule params

func (*UpdateRollupRuleParams) SetContext

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

SetContext adds the context to the update rollup rule params

func (*UpdateRollupRuleParams) SetDefaults

func (o *UpdateRollupRuleParams) SetDefaults()

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

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

func (*UpdateRollupRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update rollup rule params

func (*UpdateRollupRuleParams) SetSlug

func (o *UpdateRollupRuleParams) SetSlug(slug string)

SetSlug adds the slug to the update rollup rule params

func (*UpdateRollupRuleParams) SetTimeout

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

SetTimeout adds the timeout to the update rollup rule params

func (*UpdateRollupRuleParams) WithBody

WithBody adds the body to the update rollup rule params

func (*UpdateRollupRuleParams) WithContext

WithContext adds the context to the update rollup rule params

func (*UpdateRollupRuleParams) WithDefaults

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

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

func (*UpdateRollupRuleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update rollup rule params

func (*UpdateRollupRuleParams) WithSlug

WithSlug adds the slug to the update rollup rule params

func (*UpdateRollupRuleParams) WithTimeout

WithTimeout adds the timeout to the update rollup rule params

func (*UpdateRollupRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateRollupRuleReader

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

UpdateRollupRuleReader is a Reader for the UpdateRollupRule structure.

func (*UpdateRollupRuleReader) ReadResponse

func (o *UpdateRollupRuleReader) 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