Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateRollupRule(params *CreateRollupRuleParams, opts ...ClientOption) (*CreateRollupRuleOK, error)
- func (a *Client) DeleteRollupRule(params *DeleteRollupRuleParams, opts ...ClientOption) (*DeleteRollupRuleOK, error)
- func (a *Client) ListRollupRules(params *ListRollupRulesParams, opts ...ClientOption) (*ListRollupRulesOK, error)
- func (a *Client) ReadRollupRule(params *ReadRollupRuleParams, opts ...ClientOption) (*ReadRollupRuleOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateRollupRule(params *UpdateRollupRuleParams, opts ...ClientOption) (*UpdateRollupRuleOK, error)
- type ClientOption
- type ClientService
- type CreateRollupRuleBadRequest
- func (o *CreateRollupRuleBadRequest) Code() int
- func (o *CreateRollupRuleBadRequest) Error() string
- func (o *CreateRollupRuleBadRequest) GetPayload() *models.APIError
- func (o *CreateRollupRuleBadRequest) IsClientError() bool
- func (o *CreateRollupRuleBadRequest) IsCode(code int) bool
- func (o *CreateRollupRuleBadRequest) IsRedirect() bool
- func (o *CreateRollupRuleBadRequest) IsServerError() bool
- func (o *CreateRollupRuleBadRequest) IsSuccess() bool
- func (o *CreateRollupRuleBadRequest) String() string
- type CreateRollupRuleConflict
- func (o *CreateRollupRuleConflict) Code() int
- func (o *CreateRollupRuleConflict) Error() string
- func (o *CreateRollupRuleConflict) GetPayload() *models.APIError
- func (o *CreateRollupRuleConflict) IsClientError() bool
- func (o *CreateRollupRuleConflict) IsCode(code int) bool
- func (o *CreateRollupRuleConflict) IsRedirect() bool
- func (o *CreateRollupRuleConflict) IsServerError() bool
- func (o *CreateRollupRuleConflict) IsSuccess() bool
- func (o *CreateRollupRuleConflict) String() string
- type CreateRollupRuleDefault
- func (o *CreateRollupRuleDefault) Code() int
- func (o *CreateRollupRuleDefault) Error() string
- func (o *CreateRollupRuleDefault) GetPayload() models.GenericError
- func (o *CreateRollupRuleDefault) IsClientError() bool
- func (o *CreateRollupRuleDefault) IsCode(code int) bool
- func (o *CreateRollupRuleDefault) IsRedirect() bool
- func (o *CreateRollupRuleDefault) IsServerError() bool
- func (o *CreateRollupRuleDefault) IsSuccess() bool
- func (o *CreateRollupRuleDefault) String() string
- type CreateRollupRuleInternalServerError
- func (o *CreateRollupRuleInternalServerError) Code() int
- func (o *CreateRollupRuleInternalServerError) Error() string
- func (o *CreateRollupRuleInternalServerError) GetPayload() *models.APIError
- func (o *CreateRollupRuleInternalServerError) IsClientError() bool
- func (o *CreateRollupRuleInternalServerError) IsCode(code int) bool
- func (o *CreateRollupRuleInternalServerError) IsRedirect() bool
- func (o *CreateRollupRuleInternalServerError) IsServerError() bool
- func (o *CreateRollupRuleInternalServerError) IsSuccess() bool
- func (o *CreateRollupRuleInternalServerError) String() string
- type CreateRollupRuleOK
- func (o *CreateRollupRuleOK) Code() int
- func (o *CreateRollupRuleOK) Error() string
- func (o *CreateRollupRuleOK) GetPayload() *models.Configv1CreateRollupRuleResponse
- func (o *CreateRollupRuleOK) IsClientError() bool
- func (o *CreateRollupRuleOK) IsCode(code int) bool
- func (o *CreateRollupRuleOK) IsRedirect() bool
- func (o *CreateRollupRuleOK) IsServerError() bool
- func (o *CreateRollupRuleOK) IsSuccess() bool
- func (o *CreateRollupRuleOK) String() string
- type CreateRollupRuleParams
- func NewCreateRollupRuleParams() *CreateRollupRuleParams
- func NewCreateRollupRuleParamsWithContext(ctx context.Context) *CreateRollupRuleParams
- func NewCreateRollupRuleParamsWithHTTPClient(client *http.Client) *CreateRollupRuleParams
- func NewCreateRollupRuleParamsWithTimeout(timeout time.Duration) *CreateRollupRuleParams
- func (o *CreateRollupRuleParams) SetBody(body *models.Configv1CreateRollupRuleRequest)
- func (o *CreateRollupRuleParams) SetContext(ctx context.Context)
- func (o *CreateRollupRuleParams) SetDefaults()
- func (o *CreateRollupRuleParams) SetHTTPClient(client *http.Client)
- func (o *CreateRollupRuleParams) SetTimeout(timeout time.Duration)
- func (o *CreateRollupRuleParams) WithBody(body *models.Configv1CreateRollupRuleRequest) *CreateRollupRuleParams
- func (o *CreateRollupRuleParams) WithContext(ctx context.Context) *CreateRollupRuleParams
- func (o *CreateRollupRuleParams) WithDefaults() *CreateRollupRuleParams
- func (o *CreateRollupRuleParams) WithHTTPClient(client *http.Client) *CreateRollupRuleParams
- func (o *CreateRollupRuleParams) WithTimeout(timeout time.Duration) *CreateRollupRuleParams
- func (o *CreateRollupRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRollupRuleReader
- type DeleteRollupRuleBadRequest
- func (o *DeleteRollupRuleBadRequest) Code() int
- func (o *DeleteRollupRuleBadRequest) Error() string
- func (o *DeleteRollupRuleBadRequest) GetPayload() *models.APIError
- func (o *DeleteRollupRuleBadRequest) IsClientError() bool
- func (o *DeleteRollupRuleBadRequest) IsCode(code int) bool
- func (o *DeleteRollupRuleBadRequest) IsRedirect() bool
- func (o *DeleteRollupRuleBadRequest) IsServerError() bool
- func (o *DeleteRollupRuleBadRequest) IsSuccess() bool
- func (o *DeleteRollupRuleBadRequest) String() string
- type DeleteRollupRuleDefault
- func (o *DeleteRollupRuleDefault) Code() int
- func (o *DeleteRollupRuleDefault) Error() string
- func (o *DeleteRollupRuleDefault) GetPayload() models.GenericError
- func (o *DeleteRollupRuleDefault) IsClientError() bool
- func (o *DeleteRollupRuleDefault) IsCode(code int) bool
- func (o *DeleteRollupRuleDefault) IsRedirect() bool
- func (o *DeleteRollupRuleDefault) IsServerError() bool
- func (o *DeleteRollupRuleDefault) IsSuccess() bool
- func (o *DeleteRollupRuleDefault) String() string
- type DeleteRollupRuleInternalServerError
- func (o *DeleteRollupRuleInternalServerError) Code() int
- func (o *DeleteRollupRuleInternalServerError) Error() string
- func (o *DeleteRollupRuleInternalServerError) GetPayload() *models.APIError
- func (o *DeleteRollupRuleInternalServerError) IsClientError() bool
- func (o *DeleteRollupRuleInternalServerError) IsCode(code int) bool
- func (o *DeleteRollupRuleInternalServerError) IsRedirect() bool
- func (o *DeleteRollupRuleInternalServerError) IsServerError() bool
- func (o *DeleteRollupRuleInternalServerError) IsSuccess() bool
- func (o *DeleteRollupRuleInternalServerError) String() string
- type DeleteRollupRuleNotFound
- func (o *DeleteRollupRuleNotFound) Code() int
- func (o *DeleteRollupRuleNotFound) Error() string
- func (o *DeleteRollupRuleNotFound) GetPayload() *models.APIError
- func (o *DeleteRollupRuleNotFound) IsClientError() bool
- func (o *DeleteRollupRuleNotFound) IsCode(code int) bool
- func (o *DeleteRollupRuleNotFound) IsRedirect() bool
- func (o *DeleteRollupRuleNotFound) IsServerError() bool
- func (o *DeleteRollupRuleNotFound) IsSuccess() bool
- func (o *DeleteRollupRuleNotFound) String() string
- type DeleteRollupRuleOK
- func (o *DeleteRollupRuleOK) Code() int
- func (o *DeleteRollupRuleOK) Error() string
- func (o *DeleteRollupRuleOK) GetPayload() models.Configv1DeleteRollupRuleResponse
- func (o *DeleteRollupRuleOK) IsClientError() bool
- func (o *DeleteRollupRuleOK) IsCode(code int) bool
- func (o *DeleteRollupRuleOK) IsRedirect() bool
- func (o *DeleteRollupRuleOK) IsServerError() bool
- func (o *DeleteRollupRuleOK) IsSuccess() bool
- func (o *DeleteRollupRuleOK) String() string
- type DeleteRollupRuleParams
- func NewDeleteRollupRuleParams() *DeleteRollupRuleParams
- func NewDeleteRollupRuleParamsWithContext(ctx context.Context) *DeleteRollupRuleParams
- func NewDeleteRollupRuleParamsWithHTTPClient(client *http.Client) *DeleteRollupRuleParams
- func NewDeleteRollupRuleParamsWithTimeout(timeout time.Duration) *DeleteRollupRuleParams
- func (o *DeleteRollupRuleParams) SetContext(ctx context.Context)
- func (o *DeleteRollupRuleParams) SetDefaults()
- func (o *DeleteRollupRuleParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRollupRuleParams) SetSlug(slug string)
- func (o *DeleteRollupRuleParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRollupRuleParams) WithContext(ctx context.Context) *DeleteRollupRuleParams
- func (o *DeleteRollupRuleParams) WithDefaults() *DeleteRollupRuleParams
- func (o *DeleteRollupRuleParams) WithHTTPClient(client *http.Client) *DeleteRollupRuleParams
- func (o *DeleteRollupRuleParams) WithSlug(slug string) *DeleteRollupRuleParams
- func (o *DeleteRollupRuleParams) WithTimeout(timeout time.Duration) *DeleteRollupRuleParams
- func (o *DeleteRollupRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRollupRuleReader
- type ListRollupRulesDefault
- func (o *ListRollupRulesDefault) Code() int
- func (o *ListRollupRulesDefault) Error() string
- func (o *ListRollupRulesDefault) GetPayload() models.GenericError
- func (o *ListRollupRulesDefault) IsClientError() bool
- func (o *ListRollupRulesDefault) IsCode(code int) bool
- func (o *ListRollupRulesDefault) IsRedirect() bool
- func (o *ListRollupRulesDefault) IsServerError() bool
- func (o *ListRollupRulesDefault) IsSuccess() bool
- func (o *ListRollupRulesDefault) String() string
- type ListRollupRulesInternalServerError
- func (o *ListRollupRulesInternalServerError) Code() int
- func (o *ListRollupRulesInternalServerError) Error() string
- func (o *ListRollupRulesInternalServerError) GetPayload() *models.APIError
- func (o *ListRollupRulesInternalServerError) IsClientError() bool
- func (o *ListRollupRulesInternalServerError) IsCode(code int) bool
- func (o *ListRollupRulesInternalServerError) IsRedirect() bool
- func (o *ListRollupRulesInternalServerError) IsServerError() bool
- func (o *ListRollupRulesInternalServerError) IsSuccess() bool
- func (o *ListRollupRulesInternalServerError) String() string
- type ListRollupRulesOK
- func (o *ListRollupRulesOK) Code() int
- func (o *ListRollupRulesOK) Error() string
- func (o *ListRollupRulesOK) GetPayload() *models.Configv1ListRollupRulesResponse
- func (o *ListRollupRulesOK) IsClientError() bool
- func (o *ListRollupRulesOK) IsCode(code int) bool
- func (o *ListRollupRulesOK) IsRedirect() bool
- func (o *ListRollupRulesOK) IsServerError() bool
- func (o *ListRollupRulesOK) IsSuccess() bool
- func (o *ListRollupRulesOK) String() string
- type ListRollupRulesParams
- func NewListRollupRulesParams() *ListRollupRulesParams
- func NewListRollupRulesParamsWithContext(ctx context.Context) *ListRollupRulesParams
- func NewListRollupRulesParamsWithHTTPClient(client *http.Client) *ListRollupRulesParams
- func NewListRollupRulesParamsWithTimeout(timeout time.Duration) *ListRollupRulesParams
- func (o *ListRollupRulesParams) SetBucketSlugs(bucketSlugs []string)
- func (o *ListRollupRulesParams) SetContext(ctx context.Context)
- func (o *ListRollupRulesParams) SetDefaults()
- func (o *ListRollupRulesParams) SetHTTPClient(client *http.Client)
- func (o *ListRollupRulesParams) SetNames(names []string)
- func (o *ListRollupRulesParams) SetPageMaxSize(pageMaxSize *int64)
- func (o *ListRollupRulesParams) SetPageToken(pageToken *string)
- func (o *ListRollupRulesParams) SetSlugs(slugs []string)
- func (o *ListRollupRulesParams) SetTimeout(timeout time.Duration)
- func (o *ListRollupRulesParams) WithBucketSlugs(bucketSlugs []string) *ListRollupRulesParams
- func (o *ListRollupRulesParams) WithContext(ctx context.Context) *ListRollupRulesParams
- func (o *ListRollupRulesParams) WithDefaults() *ListRollupRulesParams
- func (o *ListRollupRulesParams) WithHTTPClient(client *http.Client) *ListRollupRulesParams
- func (o *ListRollupRulesParams) WithNames(names []string) *ListRollupRulesParams
- func (o *ListRollupRulesParams) WithPageMaxSize(pageMaxSize *int64) *ListRollupRulesParams
- func (o *ListRollupRulesParams) WithPageToken(pageToken *string) *ListRollupRulesParams
- func (o *ListRollupRulesParams) WithSlugs(slugs []string) *ListRollupRulesParams
- func (o *ListRollupRulesParams) WithTimeout(timeout time.Duration) *ListRollupRulesParams
- func (o *ListRollupRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListRollupRulesReader
- type ReadRollupRuleDefault
- func (o *ReadRollupRuleDefault) Code() int
- func (o *ReadRollupRuleDefault) Error() string
- func (o *ReadRollupRuleDefault) GetPayload() models.GenericError
- func (o *ReadRollupRuleDefault) IsClientError() bool
- func (o *ReadRollupRuleDefault) IsCode(code int) bool
- func (o *ReadRollupRuleDefault) IsRedirect() bool
- func (o *ReadRollupRuleDefault) IsServerError() bool
- func (o *ReadRollupRuleDefault) IsSuccess() bool
- func (o *ReadRollupRuleDefault) String() string
- type ReadRollupRuleInternalServerError
- func (o *ReadRollupRuleInternalServerError) Code() int
- func (o *ReadRollupRuleInternalServerError) Error() string
- func (o *ReadRollupRuleInternalServerError) GetPayload() *models.APIError
- func (o *ReadRollupRuleInternalServerError) IsClientError() bool
- func (o *ReadRollupRuleInternalServerError) IsCode(code int) bool
- func (o *ReadRollupRuleInternalServerError) IsRedirect() bool
- func (o *ReadRollupRuleInternalServerError) IsServerError() bool
- func (o *ReadRollupRuleInternalServerError) IsSuccess() bool
- func (o *ReadRollupRuleInternalServerError) String() string
- type ReadRollupRuleNotFound
- func (o *ReadRollupRuleNotFound) Code() int
- func (o *ReadRollupRuleNotFound) Error() string
- func (o *ReadRollupRuleNotFound) GetPayload() *models.APIError
- func (o *ReadRollupRuleNotFound) IsClientError() bool
- func (o *ReadRollupRuleNotFound) IsCode(code int) bool
- func (o *ReadRollupRuleNotFound) IsRedirect() bool
- func (o *ReadRollupRuleNotFound) IsServerError() bool
- func (o *ReadRollupRuleNotFound) IsSuccess() bool
- func (o *ReadRollupRuleNotFound) String() string
- type ReadRollupRuleOK
- func (o *ReadRollupRuleOK) Code() int
- func (o *ReadRollupRuleOK) Error() string
- func (o *ReadRollupRuleOK) GetPayload() *models.Configv1ReadRollupRuleResponse
- func (o *ReadRollupRuleOK) IsClientError() bool
- func (o *ReadRollupRuleOK) IsCode(code int) bool
- func (o *ReadRollupRuleOK) IsRedirect() bool
- func (o *ReadRollupRuleOK) IsServerError() bool
- func (o *ReadRollupRuleOK) IsSuccess() bool
- func (o *ReadRollupRuleOK) String() string
- type ReadRollupRuleParams
- func NewReadRollupRuleParams() *ReadRollupRuleParams
- func NewReadRollupRuleParamsWithContext(ctx context.Context) *ReadRollupRuleParams
- func NewReadRollupRuleParamsWithHTTPClient(client *http.Client) *ReadRollupRuleParams
- func NewReadRollupRuleParamsWithTimeout(timeout time.Duration) *ReadRollupRuleParams
- func (o *ReadRollupRuleParams) SetContext(ctx context.Context)
- func (o *ReadRollupRuleParams) SetDefaults()
- func (o *ReadRollupRuleParams) SetHTTPClient(client *http.Client)
- func (o *ReadRollupRuleParams) SetSlug(slug string)
- func (o *ReadRollupRuleParams) SetTimeout(timeout time.Duration)
- func (o *ReadRollupRuleParams) WithContext(ctx context.Context) *ReadRollupRuleParams
- func (o *ReadRollupRuleParams) WithDefaults() *ReadRollupRuleParams
- func (o *ReadRollupRuleParams) WithHTTPClient(client *http.Client) *ReadRollupRuleParams
- func (o *ReadRollupRuleParams) WithSlug(slug string) *ReadRollupRuleParams
- func (o *ReadRollupRuleParams) WithTimeout(timeout time.Duration) *ReadRollupRuleParams
- func (o *ReadRollupRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadRollupRuleReader
- type UpdateRollupRuleBadRequest
- func (o *UpdateRollupRuleBadRequest) Code() int
- func (o *UpdateRollupRuleBadRequest) Error() string
- func (o *UpdateRollupRuleBadRequest) GetPayload() *models.APIError
- func (o *UpdateRollupRuleBadRequest) IsClientError() bool
- func (o *UpdateRollupRuleBadRequest) IsCode(code int) bool
- func (o *UpdateRollupRuleBadRequest) IsRedirect() bool
- func (o *UpdateRollupRuleBadRequest) IsServerError() bool
- func (o *UpdateRollupRuleBadRequest) IsSuccess() bool
- func (o *UpdateRollupRuleBadRequest) String() string
- type UpdateRollupRuleConflict
- func (o *UpdateRollupRuleConflict) Code() int
- func (o *UpdateRollupRuleConflict) Error() string
- func (o *UpdateRollupRuleConflict) GetPayload() *models.APIError
- func (o *UpdateRollupRuleConflict) IsClientError() bool
- func (o *UpdateRollupRuleConflict) IsCode(code int) bool
- func (o *UpdateRollupRuleConflict) IsRedirect() bool
- func (o *UpdateRollupRuleConflict) IsServerError() bool
- func (o *UpdateRollupRuleConflict) IsSuccess() bool
- func (o *UpdateRollupRuleConflict) String() string
- type UpdateRollupRuleDefault
- func (o *UpdateRollupRuleDefault) Code() int
- func (o *UpdateRollupRuleDefault) Error() string
- func (o *UpdateRollupRuleDefault) GetPayload() models.GenericError
- func (o *UpdateRollupRuleDefault) IsClientError() bool
- func (o *UpdateRollupRuleDefault) IsCode(code int) bool
- func (o *UpdateRollupRuleDefault) IsRedirect() bool
- func (o *UpdateRollupRuleDefault) IsServerError() bool
- func (o *UpdateRollupRuleDefault) IsSuccess() bool
- func (o *UpdateRollupRuleDefault) String() string
- type UpdateRollupRuleInternalServerError
- func (o *UpdateRollupRuleInternalServerError) Code() int
- func (o *UpdateRollupRuleInternalServerError) Error() string
- func (o *UpdateRollupRuleInternalServerError) GetPayload() *models.APIError
- func (o *UpdateRollupRuleInternalServerError) IsClientError() bool
- func (o *UpdateRollupRuleInternalServerError) IsCode(code int) bool
- func (o *UpdateRollupRuleInternalServerError) IsRedirect() bool
- func (o *UpdateRollupRuleInternalServerError) IsServerError() bool
- func (o *UpdateRollupRuleInternalServerError) IsSuccess() bool
- func (o *UpdateRollupRuleInternalServerError) String() string
- type UpdateRollupRuleNotFound
- func (o *UpdateRollupRuleNotFound) Code() int
- func (o *UpdateRollupRuleNotFound) Error() string
- func (o *UpdateRollupRuleNotFound) GetPayload() *models.APIError
- func (o *UpdateRollupRuleNotFound) IsClientError() bool
- func (o *UpdateRollupRuleNotFound) IsCode(code int) bool
- func (o *UpdateRollupRuleNotFound) IsRedirect() bool
- func (o *UpdateRollupRuleNotFound) IsServerError() bool
- func (o *UpdateRollupRuleNotFound) IsSuccess() bool
- func (o *UpdateRollupRuleNotFound) String() string
- type UpdateRollupRuleOK
- func (o *UpdateRollupRuleOK) Code() int
- func (o *UpdateRollupRuleOK) Error() string
- func (o *UpdateRollupRuleOK) GetPayload() *models.Configv1UpdateRollupRuleResponse
- func (o *UpdateRollupRuleOK) IsClientError() bool
- func (o *UpdateRollupRuleOK) IsCode(code int) bool
- func (o *UpdateRollupRuleOK) IsRedirect() bool
- func (o *UpdateRollupRuleOK) IsServerError() bool
- func (o *UpdateRollupRuleOK) IsSuccess() bool
- func (o *UpdateRollupRuleOK) String() string
- type UpdateRollupRuleParams
- func NewUpdateRollupRuleParams() *UpdateRollupRuleParams
- func NewUpdateRollupRuleParamsWithContext(ctx context.Context) *UpdateRollupRuleParams
- func NewUpdateRollupRuleParamsWithHTTPClient(client *http.Client) *UpdateRollupRuleParams
- func NewUpdateRollupRuleParamsWithTimeout(timeout time.Duration) *UpdateRollupRuleParams
- func (o *UpdateRollupRuleParams) SetBody(body *models.ConfigV1UpdateRollupRuleBody)
- func (o *UpdateRollupRuleParams) SetContext(ctx context.Context)
- func (o *UpdateRollupRuleParams) SetDefaults()
- func (o *UpdateRollupRuleParams) SetHTTPClient(client *http.Client)
- func (o *UpdateRollupRuleParams) SetSlug(slug string)
- func (o *UpdateRollupRuleParams) SetTimeout(timeout time.Duration)
- func (o *UpdateRollupRuleParams) WithBody(body *models.ConfigV1UpdateRollupRuleBody) *UpdateRollupRuleParams
- func (o *UpdateRollupRuleParams) WithContext(ctx context.Context) *UpdateRollupRuleParams
- func (o *UpdateRollupRuleParams) WithDefaults() *UpdateRollupRuleParams
- func (o *UpdateRollupRuleParams) WithHTTPClient(client *http.Client) *UpdateRollupRuleParams
- func (o *UpdateRollupRuleParams) WithSlug(slug string) *UpdateRollupRuleParams
- func (o *UpdateRollupRuleParams) WithTimeout(timeout time.Duration) *UpdateRollupRuleParams
- func (o *UpdateRollupRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateRollupRuleReader
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 ¶
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 (o *CreateRollupRuleBadRequest) Error() string
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 ¶
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 (o *CreateRollupRuleDefault) GetPayload() models.GenericError
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 ¶
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 ¶
func (o *CreateRollupRuleInternalServerError) Code() int
Code gets the status code for the create rollup rule internal server error response
func (*CreateRollupRuleInternalServerError) Error ¶
func (o *CreateRollupRuleInternalServerError) Error() string
func (*CreateRollupRuleInternalServerError) GetPayload ¶
func (o *CreateRollupRuleInternalServerError) GetPayload() *models.APIError
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 ¶
func (o *CreateRollupRuleInternalServerError) IsCode(code int) bool
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 ¶
func (o *CreateRollupRuleInternalServerError) IsSuccess() bool
IsSuccess returns true when this create rollup rule internal server error response has a 2xx status code
func (*CreateRollupRuleInternalServerError) String ¶
func (o *CreateRollupRuleInternalServerError) String() 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 (o *CreateRollupRuleOK) GetPayload() *models.Configv1CreateRollupRuleResponse
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 ¶
func (o *CreateRollupRuleParams) SetBody(body *models.Configv1CreateRollupRuleRequest)
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 ¶
func (o *CreateRollupRuleParams) WithBody(body *models.Configv1CreateRollupRuleRequest) *CreateRollupRuleParams
WithBody adds the body to the create rollup rule params
func (*CreateRollupRuleParams) WithContext ¶
func (o *CreateRollupRuleParams) WithContext(ctx context.Context) *CreateRollupRuleParams
WithContext adds the context to the create rollup rule params
func (*CreateRollupRuleParams) WithDefaults ¶
func (o *CreateRollupRuleParams) WithDefaults() *CreateRollupRuleParams
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 ¶
func (o *CreateRollupRuleParams) WithTimeout(timeout time.Duration) *CreateRollupRuleParams
WithTimeout adds the timeout to the create rollup rule params
func (*CreateRollupRuleParams) WriteToRequest ¶
func (o *CreateRollupRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *DeleteRollupRuleBadRequest) Error() string
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 (o *DeleteRollupRuleDefault) GetPayload() models.GenericError
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 ¶
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 ¶
func (o *DeleteRollupRuleInternalServerError) Code() int
Code gets the status code for the delete rollup rule internal server error response
func (*DeleteRollupRuleInternalServerError) Error ¶
func (o *DeleteRollupRuleInternalServerError) Error() string
func (*DeleteRollupRuleInternalServerError) GetPayload ¶
func (o *DeleteRollupRuleInternalServerError) GetPayload() *models.APIError
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 ¶
func (o *DeleteRollupRuleInternalServerError) IsCode(code int) bool
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 ¶
func (o *DeleteRollupRuleInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete rollup rule internal server error response has a 2xx status code
func (*DeleteRollupRuleInternalServerError) String ¶
func (o *DeleteRollupRuleInternalServerError) String() string
type DeleteRollupRuleNotFound ¶
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 (o *DeleteRollupRuleOK) GetPayload() models.Configv1DeleteRollupRuleResponse
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 ¶
func (o *DeleteRollupRuleParams) WithContext(ctx context.Context) *DeleteRollupRuleParams
WithContext adds the context to the delete rollup rule params
func (*DeleteRollupRuleParams) WithDefaults ¶
func (o *DeleteRollupRuleParams) WithDefaults() *DeleteRollupRuleParams
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 ¶
func (o *DeleteRollupRuleParams) WithSlug(slug string) *DeleteRollupRuleParams
WithSlug adds the slug to the delete rollup rule params
func (*DeleteRollupRuleParams) WithTimeout ¶
func (o *DeleteRollupRuleParams) WithTimeout(timeout time.Duration) *DeleteRollupRuleParams
WithTimeout adds the timeout to the delete rollup rule params
func (*DeleteRollupRuleParams) WriteToRequest ¶
func (o *DeleteRollupRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *ListRollupRulesInternalServerError) Code() int
Code gets the status code for the list rollup rules internal server error response
func (*ListRollupRulesInternalServerError) Error ¶
func (o *ListRollupRulesInternalServerError) Error() string
func (*ListRollupRulesInternalServerError) GetPayload ¶
func (o *ListRollupRulesInternalServerError) GetPayload() *models.APIError
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 ¶
func (o *ListRollupRulesInternalServerError) IsCode(code int) bool
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 ¶
func (o *ListRollupRulesInternalServerError) IsSuccess() bool
IsSuccess returns true when this list rollup rules internal server error response has a 2xx status code
func (*ListRollupRulesInternalServerError) String ¶
func (o *ListRollupRulesInternalServerError) String() 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 (o *ListRollupRulesOK) GetPayload() *models.Configv1ListRollupRulesResponse
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 ¶
func (o *ListRollupRulesParams) WithContext(ctx context.Context) *ListRollupRulesParams
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 ¶
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 ¶
func (o *ReadRollupRuleInternalServerError) Code() int
Code gets the status code for the read rollup rule internal server error response
func (*ReadRollupRuleInternalServerError) Error ¶
func (o *ReadRollupRuleInternalServerError) Error() string
func (*ReadRollupRuleInternalServerError) GetPayload ¶
func (o *ReadRollupRuleInternalServerError) GetPayload() *models.APIError
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 ¶
func (o *ReadRollupRuleInternalServerError) String() string
type ReadRollupRuleNotFound ¶
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 (o *ReadRollupRuleOK) GetPayload() *models.Configv1ReadRollupRuleResponse
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 ¶
func (o *ReadRollupRuleParams) WithContext(ctx context.Context) *ReadRollupRuleParams
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 ¶
func (o *ReadRollupRuleParams) WithSlug(slug string) *ReadRollupRuleParams
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 ¶
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 (o *UpdateRollupRuleBadRequest) Error() string
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 ¶
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 (o *UpdateRollupRuleDefault) GetPayload() models.GenericError
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 ¶
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 ¶
func (o *UpdateRollupRuleInternalServerError) Code() int
Code gets the status code for the update rollup rule internal server error response
func (*UpdateRollupRuleInternalServerError) Error ¶
func (o *UpdateRollupRuleInternalServerError) Error() string
func (*UpdateRollupRuleInternalServerError) GetPayload ¶
func (o *UpdateRollupRuleInternalServerError) GetPayload() *models.APIError
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 ¶
func (o *UpdateRollupRuleInternalServerError) IsCode(code int) bool
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 ¶
func (o *UpdateRollupRuleInternalServerError) IsSuccess() bool
IsSuccess returns true when this update rollup rule internal server error response has a 2xx status code
func (*UpdateRollupRuleInternalServerError) String ¶
func (o *UpdateRollupRuleInternalServerError) String() string
type UpdateRollupRuleNotFound ¶
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 (o *UpdateRollupRuleOK) GetPayload() *models.Configv1UpdateRollupRuleResponse
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 ¶
func (o *UpdateRollupRuleParams) SetBody(body *models.ConfigV1UpdateRollupRuleBody)
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 ¶
func (o *UpdateRollupRuleParams) WithBody(body *models.ConfigV1UpdateRollupRuleBody) *UpdateRollupRuleParams
WithBody adds the body to the update rollup rule params
func (*UpdateRollupRuleParams) WithContext ¶
func (o *UpdateRollupRuleParams) WithContext(ctx context.Context) *UpdateRollupRuleParams
WithContext adds the context to the update rollup rule params
func (*UpdateRollupRuleParams) WithDefaults ¶
func (o *UpdateRollupRuleParams) WithDefaults() *UpdateRollupRuleParams
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 ¶
func (o *UpdateRollupRuleParams) WithSlug(slug string) *UpdateRollupRuleParams
WithSlug adds the slug to the update rollup rule params
func (*UpdateRollupRuleParams) WithTimeout ¶
func (o *UpdateRollupRuleParams) WithTimeout(timeout time.Duration) *UpdateRollupRuleParams
WithTimeout adds the timeout to the update rollup rule params
func (*UpdateRollupRuleParams) WriteToRequest ¶
func (o *UpdateRollupRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- create_rollup_rule_parameters.go
- create_rollup_rule_responses.go
- delete_rollup_rule_parameters.go
- delete_rollup_rule_responses.go
- list_rollup_rules_parameters.go
- list_rollup_rules_responses.go
- read_rollup_rule_parameters.go
- read_rollup_rule_responses.go
- rollup_rule_client.go
- update_rollup_rule_parameters.go
- update_rollup_rule_responses.go