Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateRule(params *CreateRuleParams) (*CreateRuleCreated, error)
- func (a *Client) DeleteRule(params *DeleteRuleParams) (*DeleteRuleNoContent, error)
- func (a *Client) GetRule(params *GetRuleParams) (*GetRuleOK, error)
- func (a *Client) ListRules(params *ListRulesParams) (*ListRulesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateRule(params *UpdateRuleParams) (*UpdateRuleOK, error)
- type CreateRuleCreated
- type CreateRuleForbidden
- type CreateRuleForbiddenBody
- type CreateRuleInternalServerError
- type CreateRuleInternalServerErrorBody
- type CreateRuleParams
- func (o *CreateRuleParams) SetBody(body *models.SwaggerRule)
- func (o *CreateRuleParams) SetContext(ctx context.Context)
- func (o *CreateRuleParams) SetHTTPClient(client *http.Client)
- func (o *CreateRuleParams) SetTimeout(timeout time.Duration)
- func (o *CreateRuleParams) WithBody(body *models.SwaggerRule) *CreateRuleParams
- func (o *CreateRuleParams) WithContext(ctx context.Context) *CreateRuleParams
- func (o *CreateRuleParams) WithHTTPClient(client *http.Client) *CreateRuleParams
- func (o *CreateRuleParams) WithTimeout(timeout time.Duration) *CreateRuleParams
- func (o *CreateRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRuleReader
- type CreateRuleUnauthorized
- type CreateRuleUnauthorizedBody
- type DeleteRuleForbidden
- type DeleteRuleForbiddenBody
- type DeleteRuleInternalServerError
- type DeleteRuleInternalServerErrorBody
- type DeleteRuleNoContent
- type DeleteRuleNotFound
- type DeleteRuleNotFoundBody
- type DeleteRuleParams
- func (o *DeleteRuleParams) SetContext(ctx context.Context)
- func (o *DeleteRuleParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRuleParams) SetID(id string)
- func (o *DeleteRuleParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRuleParams) WithContext(ctx context.Context) *DeleteRuleParams
- func (o *DeleteRuleParams) WithHTTPClient(client *http.Client) *DeleteRuleParams
- func (o *DeleteRuleParams) WithID(id string) *DeleteRuleParams
- func (o *DeleteRuleParams) WithTimeout(timeout time.Duration) *DeleteRuleParams
- func (o *DeleteRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRuleReader
- type DeleteRuleUnauthorized
- type DeleteRuleUnauthorizedBody
- type GetRuleForbidden
- type GetRuleForbiddenBody
- type GetRuleInternalServerError
- type GetRuleInternalServerErrorBody
- type GetRuleNotFound
- type GetRuleNotFoundBody
- type GetRuleOK
- type GetRuleParams
- func (o *GetRuleParams) SetContext(ctx context.Context)
- func (o *GetRuleParams) SetHTTPClient(client *http.Client)
- func (o *GetRuleParams) SetID(id string)
- func (o *GetRuleParams) SetTimeout(timeout time.Duration)
- func (o *GetRuleParams) WithContext(ctx context.Context) *GetRuleParams
- func (o *GetRuleParams) WithHTTPClient(client *http.Client) *GetRuleParams
- func (o *GetRuleParams) WithID(id string) *GetRuleParams
- func (o *GetRuleParams) WithTimeout(timeout time.Duration) *GetRuleParams
- func (o *GetRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRuleReader
- type GetRuleUnauthorized
- type GetRuleUnauthorizedBody
- type ListRulesForbidden
- type ListRulesForbiddenBody
- type ListRulesInternalServerError
- type ListRulesInternalServerErrorBody
- type ListRulesOK
- type ListRulesParams
- func (o *ListRulesParams) SetContext(ctx context.Context)
- func (o *ListRulesParams) SetHTTPClient(client *http.Client)
- func (o *ListRulesParams) SetLimit(limit *int64)
- func (o *ListRulesParams) SetOffset(offset *int64)
- func (o *ListRulesParams) SetTimeout(timeout time.Duration)
- func (o *ListRulesParams) WithContext(ctx context.Context) *ListRulesParams
- func (o *ListRulesParams) WithHTTPClient(client *http.Client) *ListRulesParams
- func (o *ListRulesParams) WithLimit(limit *int64) *ListRulesParams
- func (o *ListRulesParams) WithOffset(offset *int64) *ListRulesParams
- func (o *ListRulesParams) WithTimeout(timeout time.Duration) *ListRulesParams
- func (o *ListRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListRulesReader
- type ListRulesUnauthorized
- type ListRulesUnauthorizedBody
- type UpdateRuleForbidden
- type UpdateRuleForbiddenBody
- type UpdateRuleInternalServerError
- type UpdateRuleInternalServerErrorBody
- type UpdateRuleNotFound
- type UpdateRuleNotFoundBody
- type UpdateRuleOK
- type UpdateRuleParams
- func (o *UpdateRuleParams) SetBody(body *models.SwaggerRule)
- func (o *UpdateRuleParams) SetContext(ctx context.Context)
- func (o *UpdateRuleParams) SetHTTPClient(client *http.Client)
- func (o *UpdateRuleParams) SetID(id string)
- func (o *UpdateRuleParams) SetTimeout(timeout time.Duration)
- func (o *UpdateRuleParams) WithBody(body *models.SwaggerRule) *UpdateRuleParams
- func (o *UpdateRuleParams) WithContext(ctx context.Context) *UpdateRuleParams
- func (o *UpdateRuleParams) WithHTTPClient(client *http.Client) *UpdateRuleParams
- func (o *UpdateRuleParams) WithID(id string) *UpdateRuleParams
- func (o *UpdateRuleParams) WithTimeout(timeout time.Duration) *UpdateRuleParams
- func (o *UpdateRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateRuleReader
- type UpdateRuleUnauthorized
- type UpdateRuleUnauthorizedBody
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 rule API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new rule API client.
func (*Client) CreateRule ¶
func (a *Client) CreateRule(params *CreateRuleParams) (*CreateRuleCreated, error)
CreateRule creates a rule
This method allows creation of rules. If a rule id exists, you will receive an error.
func (*Client) DeleteRule ¶
func (a *Client) DeleteRule(params *DeleteRuleParams) (*DeleteRuleNoContent, error)
DeleteRule deletes a rule
Use this endpoint to delete a rule.
func (*Client) GetRule ¶
func (a *Client) GetRule(params *GetRuleParams) (*GetRuleOK, error)
GetRule retrieves a rule
Use this method to retrieve a rule from the storage. If it does not exist you will receive a 404 error.
func (*Client) ListRules ¶
func (a *Client) ListRules(params *ListRulesParams) (*ListRulesOK, error)
ListRules lists all rules
This method returns an array of all rules that are stored in the backend. This is useful if you want to get a full view of what rules you have currently in place.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateRule ¶
func (a *Client) UpdateRule(params *UpdateRuleParams) (*UpdateRuleOK, error)
UpdateRule updates a rule
Use this method to update a rule. Keep in mind that you need to send the full rule payload as this endpoint does not support patching.
type CreateRuleCreated ¶
type CreateRuleCreated struct {
Payload *models.SwaggerRule
}
CreateRuleCreated handles this case with default header values.
A rule
func NewCreateRuleCreated ¶
func NewCreateRuleCreated() *CreateRuleCreated
NewCreateRuleCreated creates a CreateRuleCreated with default headers values
func (*CreateRuleCreated) Error ¶
func (o *CreateRuleCreated) Error() string
type CreateRuleForbidden ¶
type CreateRuleForbidden struct {
Payload *CreateRuleForbiddenBody
}
CreateRuleForbidden handles this case with default header values.
The standard error format
func NewCreateRuleForbidden ¶
func NewCreateRuleForbidden() *CreateRuleForbidden
NewCreateRuleForbidden creates a CreateRuleForbidden with default headers values
func (*CreateRuleForbidden) Error ¶
func (o *CreateRuleForbidden) Error() string
type CreateRuleForbiddenBody ¶
type CreateRuleForbiddenBody struct { // code Code int64 `json:"code,omitempty"` // details Details []map[string]interface{} `json:"details"` // message Message string `json:"message,omitempty"` // reason Reason string `json:"reason,omitempty"` // request Request string `json:"request,omitempty"` // status Status string `json:"status,omitempty"` }
CreateRuleForbiddenBody create rule forbidden body swagger:model CreateRuleForbiddenBody
func (*CreateRuleForbiddenBody) MarshalBinary ¶
func (o *CreateRuleForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateRuleForbiddenBody) UnmarshalBinary ¶
func (o *CreateRuleForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateRuleInternalServerError ¶
type CreateRuleInternalServerError struct {
Payload *CreateRuleInternalServerErrorBody
}
CreateRuleInternalServerError handles this case with default header values.
The standard error format
func NewCreateRuleInternalServerError ¶
func NewCreateRuleInternalServerError() *CreateRuleInternalServerError
NewCreateRuleInternalServerError creates a CreateRuleInternalServerError with default headers values
func (*CreateRuleInternalServerError) Error ¶
func (o *CreateRuleInternalServerError) Error() string
type CreateRuleInternalServerErrorBody ¶
type CreateRuleInternalServerErrorBody struct { // code Code int64 `json:"code,omitempty"` // details Details []map[string]interface{} `json:"details"` // message Message string `json:"message,omitempty"` // reason Reason string `json:"reason,omitempty"` // request Request string `json:"request,omitempty"` // status Status string `json:"status,omitempty"` }
CreateRuleInternalServerErrorBody create rule internal server error body swagger:model CreateRuleInternalServerErrorBody
func (*CreateRuleInternalServerErrorBody) MarshalBinary ¶
func (o *CreateRuleInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateRuleInternalServerErrorBody) UnmarshalBinary ¶
func (o *CreateRuleInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateRuleParams ¶
type CreateRuleParams struct { /*Body*/ Body *models.SwaggerRule Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateRuleParams contains all the parameters to send to the API endpoint for the create rule operation typically these are written to a http.Request
func NewCreateRuleParams ¶
func NewCreateRuleParams() *CreateRuleParams
NewCreateRuleParams creates a new CreateRuleParams object with the default values initialized.
func NewCreateRuleParamsWithContext ¶
func NewCreateRuleParamsWithContext(ctx context.Context) *CreateRuleParams
NewCreateRuleParamsWithContext creates a new CreateRuleParams object with the default values initialized, and the ability to set a context for a request
func NewCreateRuleParamsWithHTTPClient ¶
func NewCreateRuleParamsWithHTTPClient(client *http.Client) *CreateRuleParams
NewCreateRuleParamsWithHTTPClient creates a new CreateRuleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateRuleParamsWithTimeout ¶
func NewCreateRuleParamsWithTimeout(timeout time.Duration) *CreateRuleParams
NewCreateRuleParamsWithTimeout creates a new CreateRuleParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateRuleParams) SetBody ¶
func (o *CreateRuleParams) SetBody(body *models.SwaggerRule)
SetBody adds the body to the create rule params
func (*CreateRuleParams) SetContext ¶
func (o *CreateRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the create rule params
func (*CreateRuleParams) SetHTTPClient ¶
func (o *CreateRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create rule params
func (*CreateRuleParams) SetTimeout ¶
func (o *CreateRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create rule params
func (*CreateRuleParams) WithBody ¶
func (o *CreateRuleParams) WithBody(body *models.SwaggerRule) *CreateRuleParams
WithBody adds the body to the create rule params
func (*CreateRuleParams) WithContext ¶
func (o *CreateRuleParams) WithContext(ctx context.Context) *CreateRuleParams
WithContext adds the context to the create rule params
func (*CreateRuleParams) WithHTTPClient ¶
func (o *CreateRuleParams) WithHTTPClient(client *http.Client) *CreateRuleParams
WithHTTPClient adds the HTTPClient to the create rule params
func (*CreateRuleParams) WithTimeout ¶
func (o *CreateRuleParams) WithTimeout(timeout time.Duration) *CreateRuleParams
WithTimeout adds the timeout to the create rule params
func (*CreateRuleParams) WriteToRequest ¶
func (o *CreateRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateRuleReader ¶
type CreateRuleReader struct {
// contains filtered or unexported fields
}
CreateRuleReader is a Reader for the CreateRule structure.
func (*CreateRuleReader) ReadResponse ¶
func (o *CreateRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateRuleUnauthorized ¶
type CreateRuleUnauthorized struct {
}CreateRuleUnauthorized handles this case with default header values.
The standard error format
func NewCreateRuleUnauthorized ¶
func NewCreateRuleUnauthorized() *CreateRuleUnauthorized
NewCreateRuleUnauthorized creates a CreateRuleUnauthorized with default headers values
func (*CreateRuleUnauthorized) Error ¶
func (o *CreateRuleUnauthorized) Error() string
type CreateRuleUnauthorizedBody ¶
type CreateRuleUnauthorizedBody struct { int64 `json:"code,omitempty"` Details []map[string]interface{} `json:"details"` Message string `json:"message,omitempty"` Reason string `json:"reason,omitempty"` Request string `json:"request,omitempty"` Status string `json:"status,omitempty"` }Code
CreateRuleUnauthorizedBody create rule unauthorized body swagger:model CreateRuleUnauthorizedBody
func (*CreateRuleUnauthorizedBody) MarshalBinary ¶
func (o *CreateRuleUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateRuleUnauthorizedBody) UnmarshalBinary ¶
func (o *CreateRuleUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteRuleForbidden ¶
type DeleteRuleForbidden struct {
Payload *DeleteRuleForbiddenBody
}
DeleteRuleForbidden handles this case with default header values.
The standard error format
func NewDeleteRuleForbidden ¶
func NewDeleteRuleForbidden() *DeleteRuleForbidden
NewDeleteRuleForbidden creates a DeleteRuleForbidden with default headers values
func (*DeleteRuleForbidden) Error ¶
func (o *DeleteRuleForbidden) Error() string
type DeleteRuleForbiddenBody ¶
type DeleteRuleForbiddenBody struct { // code Code int64 `json:"code,omitempty"` // details Details []map[string]interface{} `json:"details"` // message Message string `json:"message,omitempty"` // reason Reason string `json:"reason,omitempty"` // request Request string `json:"request,omitempty"` // status Status string `json:"status,omitempty"` }
DeleteRuleForbiddenBody delete rule forbidden body swagger:model DeleteRuleForbiddenBody
func (*DeleteRuleForbiddenBody) MarshalBinary ¶
func (o *DeleteRuleForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteRuleForbiddenBody) UnmarshalBinary ¶
func (o *DeleteRuleForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteRuleInternalServerError ¶
type DeleteRuleInternalServerError struct {
Payload *DeleteRuleInternalServerErrorBody
}
DeleteRuleInternalServerError handles this case with default header values.
The standard error format
func NewDeleteRuleInternalServerError ¶
func NewDeleteRuleInternalServerError() *DeleteRuleInternalServerError
NewDeleteRuleInternalServerError creates a DeleteRuleInternalServerError with default headers values
func (*DeleteRuleInternalServerError) Error ¶
func (o *DeleteRuleInternalServerError) Error() string
type DeleteRuleInternalServerErrorBody ¶
type DeleteRuleInternalServerErrorBody struct { // code Code int64 `json:"code,omitempty"` // details Details []map[string]interface{} `json:"details"` // message Message string `json:"message,omitempty"` // reason Reason string `json:"reason,omitempty"` // request Request string `json:"request,omitempty"` // status Status string `json:"status,omitempty"` }
DeleteRuleInternalServerErrorBody delete rule internal server error body swagger:model DeleteRuleInternalServerErrorBody
func (*DeleteRuleInternalServerErrorBody) MarshalBinary ¶
func (o *DeleteRuleInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteRuleInternalServerErrorBody) UnmarshalBinary ¶
func (o *DeleteRuleInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteRuleNoContent ¶
type DeleteRuleNoContent struct { }
DeleteRuleNoContent handles this case with default header values.
An empty response
func NewDeleteRuleNoContent ¶
func NewDeleteRuleNoContent() *DeleteRuleNoContent
NewDeleteRuleNoContent creates a DeleteRuleNoContent with default headers values
func (*DeleteRuleNoContent) Error ¶
func (o *DeleteRuleNoContent) Error() string
type DeleteRuleNotFound ¶
type DeleteRuleNotFound struct {
Payload *DeleteRuleNotFoundBody
}
DeleteRuleNotFound handles this case with default header values.
The standard error format
func NewDeleteRuleNotFound ¶
func NewDeleteRuleNotFound() *DeleteRuleNotFound
NewDeleteRuleNotFound creates a DeleteRuleNotFound with default headers values
func (*DeleteRuleNotFound) Error ¶
func (o *DeleteRuleNotFound) Error() string
type DeleteRuleNotFoundBody ¶
type DeleteRuleNotFoundBody struct { // code Code int64 `json:"code,omitempty"` // details Details []map[string]interface{} `json:"details"` // message Message string `json:"message,omitempty"` // reason Reason string `json:"reason,omitempty"` // request Request string `json:"request,omitempty"` // status Status string `json:"status,omitempty"` }
DeleteRuleNotFoundBody delete rule not found body swagger:model DeleteRuleNotFoundBody
func (*DeleteRuleNotFoundBody) MarshalBinary ¶
func (o *DeleteRuleNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteRuleNotFoundBody) UnmarshalBinary ¶
func (o *DeleteRuleNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteRuleParams ¶
type DeleteRuleParams struct { /*ID*/ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteRuleParams contains all the parameters to send to the API endpoint for the delete rule operation typically these are written to a http.Request
func NewDeleteRuleParams ¶
func NewDeleteRuleParams() *DeleteRuleParams
NewDeleteRuleParams creates a new DeleteRuleParams object with the default values initialized.
func NewDeleteRuleParamsWithContext ¶
func NewDeleteRuleParamsWithContext(ctx context.Context) *DeleteRuleParams
NewDeleteRuleParamsWithContext creates a new DeleteRuleParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteRuleParamsWithHTTPClient ¶
func NewDeleteRuleParamsWithHTTPClient(client *http.Client) *DeleteRuleParams
NewDeleteRuleParamsWithHTTPClient creates a new DeleteRuleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteRuleParamsWithTimeout ¶
func NewDeleteRuleParamsWithTimeout(timeout time.Duration) *DeleteRuleParams
NewDeleteRuleParamsWithTimeout creates a new DeleteRuleParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteRuleParams) SetContext ¶
func (o *DeleteRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the delete rule params
func (*DeleteRuleParams) SetHTTPClient ¶
func (o *DeleteRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete rule params
func (*DeleteRuleParams) SetID ¶
func (o *DeleteRuleParams) SetID(id string)
SetID adds the id to the delete rule params
func (*DeleteRuleParams) SetTimeout ¶
func (o *DeleteRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete rule params
func (*DeleteRuleParams) WithContext ¶
func (o *DeleteRuleParams) WithContext(ctx context.Context) *DeleteRuleParams
WithContext adds the context to the delete rule params
func (*DeleteRuleParams) WithHTTPClient ¶
func (o *DeleteRuleParams) WithHTTPClient(client *http.Client) *DeleteRuleParams
WithHTTPClient adds the HTTPClient to the delete rule params
func (*DeleteRuleParams) WithID ¶
func (o *DeleteRuleParams) WithID(id string) *DeleteRuleParams
WithID adds the id to the delete rule params
func (*DeleteRuleParams) WithTimeout ¶
func (o *DeleteRuleParams) WithTimeout(timeout time.Duration) *DeleteRuleParams
WithTimeout adds the timeout to the delete rule params
func (*DeleteRuleParams) WriteToRequest ¶
func (o *DeleteRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteRuleReader ¶
type DeleteRuleReader struct {
// contains filtered or unexported fields
}
DeleteRuleReader is a Reader for the DeleteRule structure.
func (*DeleteRuleReader) ReadResponse ¶
func (o *DeleteRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteRuleUnauthorized ¶
type DeleteRuleUnauthorized struct {
}DeleteRuleUnauthorized handles this case with default header values.
The standard error format
func NewDeleteRuleUnauthorized ¶
func NewDeleteRuleUnauthorized() *DeleteRuleUnauthorized
NewDeleteRuleUnauthorized creates a DeleteRuleUnauthorized with default headers values
func (*DeleteRuleUnauthorized) Error ¶
func (o *DeleteRuleUnauthorized) Error() string
type DeleteRuleUnauthorizedBody ¶
type DeleteRuleUnauthorizedBody struct { int64 `json:"code,omitempty"` Details []map[string]interface{} `json:"details"` Message string `json:"message,omitempty"` Reason string `json:"reason,omitempty"` Request string `json:"request,omitempty"` Status string `json:"status,omitempty"` }Code
DeleteRuleUnauthorizedBody delete rule unauthorized body swagger:model DeleteRuleUnauthorizedBody
func (*DeleteRuleUnauthorizedBody) MarshalBinary ¶
func (o *DeleteRuleUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteRuleUnauthorizedBody) UnmarshalBinary ¶
func (o *DeleteRuleUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetRuleForbidden ¶
type GetRuleForbidden struct {
Payload *GetRuleForbiddenBody
}
GetRuleForbidden handles this case with default header values.
The standard error format
func NewGetRuleForbidden ¶
func NewGetRuleForbidden() *GetRuleForbidden
NewGetRuleForbidden creates a GetRuleForbidden with default headers values
func (*GetRuleForbidden) Error ¶
func (o *GetRuleForbidden) Error() string
type GetRuleForbiddenBody ¶
type GetRuleForbiddenBody struct { // code Code int64 `json:"code,omitempty"` // details Details []map[string]interface{} `json:"details"` // message Message string `json:"message,omitempty"` // reason Reason string `json:"reason,omitempty"` // request Request string `json:"request,omitempty"` // status Status string `json:"status,omitempty"` }
GetRuleForbiddenBody get rule forbidden body swagger:model GetRuleForbiddenBody
func (*GetRuleForbiddenBody) MarshalBinary ¶
func (o *GetRuleForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetRuleForbiddenBody) UnmarshalBinary ¶
func (o *GetRuleForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetRuleInternalServerError ¶
type GetRuleInternalServerError struct {
Payload *GetRuleInternalServerErrorBody
}
GetRuleInternalServerError handles this case with default header values.
The standard error format
func NewGetRuleInternalServerError ¶
func NewGetRuleInternalServerError() *GetRuleInternalServerError
NewGetRuleInternalServerError creates a GetRuleInternalServerError with default headers values
func (*GetRuleInternalServerError) Error ¶
func (o *GetRuleInternalServerError) Error() string
type GetRuleInternalServerErrorBody ¶
type GetRuleInternalServerErrorBody struct { // code Code int64 `json:"code,omitempty"` // details Details []map[string]interface{} `json:"details"` // message Message string `json:"message,omitempty"` // reason Reason string `json:"reason,omitempty"` // request Request string `json:"request,omitempty"` // status Status string `json:"status,omitempty"` }
GetRuleInternalServerErrorBody get rule internal server error body swagger:model GetRuleInternalServerErrorBody
func (*GetRuleInternalServerErrorBody) MarshalBinary ¶
func (o *GetRuleInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetRuleInternalServerErrorBody) UnmarshalBinary ¶
func (o *GetRuleInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetRuleNotFound ¶
type GetRuleNotFound struct {
Payload *GetRuleNotFoundBody
}
GetRuleNotFound handles this case with default header values.
The standard error format
func NewGetRuleNotFound ¶
func NewGetRuleNotFound() *GetRuleNotFound
NewGetRuleNotFound creates a GetRuleNotFound with default headers values
func (*GetRuleNotFound) Error ¶
func (o *GetRuleNotFound) Error() string
type GetRuleNotFoundBody ¶
type GetRuleNotFoundBody struct { // code Code int64 `json:"code,omitempty"` // details Details []map[string]interface{} `json:"details"` // message Message string `json:"message,omitempty"` // reason Reason string `json:"reason,omitempty"` // request Request string `json:"request,omitempty"` // status Status string `json:"status,omitempty"` }
GetRuleNotFoundBody get rule not found body swagger:model GetRuleNotFoundBody
func (*GetRuleNotFoundBody) MarshalBinary ¶
func (o *GetRuleNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetRuleNotFoundBody) UnmarshalBinary ¶
func (o *GetRuleNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetRuleOK ¶
type GetRuleOK struct {
Payload *models.SwaggerRule
}
GetRuleOK handles this case with default header values.
A rule
func NewGetRuleOK ¶
func NewGetRuleOK() *GetRuleOK
NewGetRuleOK creates a GetRuleOK with default headers values
type GetRuleParams ¶
type GetRuleParams struct { /*ID*/ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRuleParams contains all the parameters to send to the API endpoint for the get rule operation typically these are written to a http.Request
func NewGetRuleParams ¶
func NewGetRuleParams() *GetRuleParams
NewGetRuleParams creates a new GetRuleParams object with the default values initialized.
func NewGetRuleParamsWithContext ¶
func NewGetRuleParamsWithContext(ctx context.Context) *GetRuleParams
NewGetRuleParamsWithContext creates a new GetRuleParams object with the default values initialized, and the ability to set a context for a request
func NewGetRuleParamsWithHTTPClient ¶
func NewGetRuleParamsWithHTTPClient(client *http.Client) *GetRuleParams
NewGetRuleParamsWithHTTPClient creates a new GetRuleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRuleParamsWithTimeout ¶
func NewGetRuleParamsWithTimeout(timeout time.Duration) *GetRuleParams
NewGetRuleParamsWithTimeout creates a new GetRuleParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRuleParams) SetContext ¶
func (o *GetRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the get rule params
func (*GetRuleParams) SetHTTPClient ¶
func (o *GetRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get rule params
func (*GetRuleParams) SetID ¶
func (o *GetRuleParams) SetID(id string)
SetID adds the id to the get rule params
func (*GetRuleParams) SetTimeout ¶
func (o *GetRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get rule params
func (*GetRuleParams) WithContext ¶
func (o *GetRuleParams) WithContext(ctx context.Context) *GetRuleParams
WithContext adds the context to the get rule params
func (*GetRuleParams) WithHTTPClient ¶
func (o *GetRuleParams) WithHTTPClient(client *http.Client) *GetRuleParams
WithHTTPClient adds the HTTPClient to the get rule params
func (*GetRuleParams) WithID ¶
func (o *GetRuleParams) WithID(id string) *GetRuleParams
WithID adds the id to the get rule params
func (*GetRuleParams) WithTimeout ¶
func (o *GetRuleParams) WithTimeout(timeout time.Duration) *GetRuleParams
WithTimeout adds the timeout to the get rule params
func (*GetRuleParams) WriteToRequest ¶
func (o *GetRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRuleReader ¶
type GetRuleReader struct {
// contains filtered or unexported fields
}
GetRuleReader is a Reader for the GetRule structure.
func (*GetRuleReader) ReadResponse ¶
func (o *GetRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRuleUnauthorized ¶
type GetRuleUnauthorized struct {
}GetRuleUnauthorized handles this case with default header values.
The standard error format
func NewGetRuleUnauthorized ¶
func NewGetRuleUnauthorized() *GetRuleUnauthorized
NewGetRuleUnauthorized creates a GetRuleUnauthorized with default headers values
func (*GetRuleUnauthorized) Error ¶
func (o *GetRuleUnauthorized) Error() string
type GetRuleUnauthorizedBody ¶
type GetRuleUnauthorizedBody struct { int64 `json:"code,omitempty"` Details []map[string]interface{} `json:"details"` Message string `json:"message,omitempty"` Reason string `json:"reason,omitempty"` Request string `json:"request,omitempty"` Status string `json:"status,omitempty"` }Code
GetRuleUnauthorizedBody get rule unauthorized body swagger:model GetRuleUnauthorizedBody
func (*GetRuleUnauthorizedBody) MarshalBinary ¶
func (o *GetRuleUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetRuleUnauthorizedBody) UnmarshalBinary ¶
func (o *GetRuleUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListRulesForbidden ¶
type ListRulesForbidden struct {
Payload *ListRulesForbiddenBody
}
ListRulesForbidden handles this case with default header values.
The standard error format
func NewListRulesForbidden ¶
func NewListRulesForbidden() *ListRulesForbidden
NewListRulesForbidden creates a ListRulesForbidden with default headers values
func (*ListRulesForbidden) Error ¶
func (o *ListRulesForbidden) Error() string
type ListRulesForbiddenBody ¶
type ListRulesForbiddenBody struct { // code Code int64 `json:"code,omitempty"` // details Details []map[string]interface{} `json:"details"` // message Message string `json:"message,omitempty"` // reason Reason string `json:"reason,omitempty"` // request Request string `json:"request,omitempty"` // status Status string `json:"status,omitempty"` }
ListRulesForbiddenBody list rules forbidden body swagger:model ListRulesForbiddenBody
func (*ListRulesForbiddenBody) MarshalBinary ¶
func (o *ListRulesForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListRulesForbiddenBody) UnmarshalBinary ¶
func (o *ListRulesForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListRulesInternalServerError ¶
type ListRulesInternalServerError struct {
Payload *ListRulesInternalServerErrorBody
}
ListRulesInternalServerError handles this case with default header values.
The standard error format
func NewListRulesInternalServerError ¶
func NewListRulesInternalServerError() *ListRulesInternalServerError
NewListRulesInternalServerError creates a ListRulesInternalServerError with default headers values
func (*ListRulesInternalServerError) Error ¶
func (o *ListRulesInternalServerError) Error() string
type ListRulesInternalServerErrorBody ¶
type ListRulesInternalServerErrorBody struct { // code Code int64 `json:"code,omitempty"` // details Details []map[string]interface{} `json:"details"` // message Message string `json:"message,omitempty"` // reason Reason string `json:"reason,omitempty"` // request Request string `json:"request,omitempty"` // status Status string `json:"status,omitempty"` }
ListRulesInternalServerErrorBody list rules internal server error body swagger:model ListRulesInternalServerErrorBody
func (*ListRulesInternalServerErrorBody) MarshalBinary ¶
func (o *ListRulesInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListRulesInternalServerErrorBody) UnmarshalBinary ¶
func (o *ListRulesInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListRulesOK ¶
type ListRulesOK struct {
Payload []*models.SwaggerRule
}
ListRulesOK handles this case with default header values.
A list of rules
func NewListRulesOK ¶
func NewListRulesOK() *ListRulesOK
NewListRulesOK creates a ListRulesOK with default headers values
func (*ListRulesOK) Error ¶
func (o *ListRulesOK) Error() string
type ListRulesParams ¶
type ListRulesParams struct { /*Limit The maximum amount of rules returned. */ Limit *int64 /*Offset The offset from where to start looking. */ Offset *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListRulesParams contains all the parameters to send to the API endpoint for the list rules operation typically these are written to a http.Request
func NewListRulesParams ¶
func NewListRulesParams() *ListRulesParams
NewListRulesParams creates a new ListRulesParams object with the default values initialized.
func NewListRulesParamsWithContext ¶
func NewListRulesParamsWithContext(ctx context.Context) *ListRulesParams
NewListRulesParamsWithContext creates a new ListRulesParams object with the default values initialized, and the ability to set a context for a request
func NewListRulesParamsWithHTTPClient ¶
func NewListRulesParamsWithHTTPClient(client *http.Client) *ListRulesParams
NewListRulesParamsWithHTTPClient creates a new ListRulesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListRulesParamsWithTimeout ¶
func NewListRulesParamsWithTimeout(timeout time.Duration) *ListRulesParams
NewListRulesParamsWithTimeout creates a new ListRulesParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListRulesParams) SetContext ¶
func (o *ListRulesParams) SetContext(ctx context.Context)
SetContext adds the context to the list rules params
func (*ListRulesParams) SetHTTPClient ¶
func (o *ListRulesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list rules params
func (*ListRulesParams) SetLimit ¶
func (o *ListRulesParams) SetLimit(limit *int64)
SetLimit adds the limit to the list rules params
func (*ListRulesParams) SetOffset ¶
func (o *ListRulesParams) SetOffset(offset *int64)
SetOffset adds the offset to the list rules params
func (*ListRulesParams) SetTimeout ¶
func (o *ListRulesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list rules params
func (*ListRulesParams) WithContext ¶
func (o *ListRulesParams) WithContext(ctx context.Context) *ListRulesParams
WithContext adds the context to the list rules params
func (*ListRulesParams) WithHTTPClient ¶
func (o *ListRulesParams) WithHTTPClient(client *http.Client) *ListRulesParams
WithHTTPClient adds the HTTPClient to the list rules params
func (*ListRulesParams) WithLimit ¶
func (o *ListRulesParams) WithLimit(limit *int64) *ListRulesParams
WithLimit adds the limit to the list rules params
func (*ListRulesParams) WithOffset ¶
func (o *ListRulesParams) WithOffset(offset *int64) *ListRulesParams
WithOffset adds the offset to the list rules params
func (*ListRulesParams) WithTimeout ¶
func (o *ListRulesParams) WithTimeout(timeout time.Duration) *ListRulesParams
WithTimeout adds the timeout to the list rules params
func (*ListRulesParams) WriteToRequest ¶
func (o *ListRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListRulesReader ¶
type ListRulesReader struct {
// contains filtered or unexported fields
}
ListRulesReader is a Reader for the ListRules structure.
func (*ListRulesReader) ReadResponse ¶
func (o *ListRulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListRulesUnauthorized ¶
type ListRulesUnauthorized struct {
}ListRulesUnauthorized handles this case with default header values.
The standard error format
func NewListRulesUnauthorized ¶
func NewListRulesUnauthorized() *ListRulesUnauthorized
NewListRulesUnauthorized creates a ListRulesUnauthorized with default headers values
func (*ListRulesUnauthorized) Error ¶
func (o *ListRulesUnauthorized) Error() string
type ListRulesUnauthorizedBody ¶
type ListRulesUnauthorizedBody struct { int64 `json:"code,omitempty"` Details []map[string]interface{} `json:"details"` Message string `json:"message,omitempty"` Reason string `json:"reason,omitempty"` Request string `json:"request,omitempty"` Status string `json:"status,omitempty"` }Code
ListRulesUnauthorizedBody list rules unauthorized body swagger:model ListRulesUnauthorizedBody
func (*ListRulesUnauthorizedBody) MarshalBinary ¶
func (o *ListRulesUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListRulesUnauthorizedBody) UnmarshalBinary ¶
func (o *ListRulesUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateRuleForbidden ¶
type UpdateRuleForbidden struct {
Payload *UpdateRuleForbiddenBody
}
UpdateRuleForbidden handles this case with default header values.
The standard error format
func NewUpdateRuleForbidden ¶
func NewUpdateRuleForbidden() *UpdateRuleForbidden
NewUpdateRuleForbidden creates a UpdateRuleForbidden with default headers values
func (*UpdateRuleForbidden) Error ¶
func (o *UpdateRuleForbidden) Error() string
type UpdateRuleForbiddenBody ¶
type UpdateRuleForbiddenBody struct { // code Code int64 `json:"code,omitempty"` // details Details []map[string]interface{} `json:"details"` // message Message string `json:"message,omitempty"` // reason Reason string `json:"reason,omitempty"` // request Request string `json:"request,omitempty"` // status Status string `json:"status,omitempty"` }
UpdateRuleForbiddenBody update rule forbidden body swagger:model UpdateRuleForbiddenBody
func (*UpdateRuleForbiddenBody) MarshalBinary ¶
func (o *UpdateRuleForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateRuleForbiddenBody) UnmarshalBinary ¶
func (o *UpdateRuleForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateRuleInternalServerError ¶
type UpdateRuleInternalServerError struct {
Payload *UpdateRuleInternalServerErrorBody
}
UpdateRuleInternalServerError handles this case with default header values.
The standard error format
func NewUpdateRuleInternalServerError ¶
func NewUpdateRuleInternalServerError() *UpdateRuleInternalServerError
NewUpdateRuleInternalServerError creates a UpdateRuleInternalServerError with default headers values
func (*UpdateRuleInternalServerError) Error ¶
func (o *UpdateRuleInternalServerError) Error() string
type UpdateRuleInternalServerErrorBody ¶
type UpdateRuleInternalServerErrorBody struct { // code Code int64 `json:"code,omitempty"` // details Details []map[string]interface{} `json:"details"` // message Message string `json:"message,omitempty"` // reason Reason string `json:"reason,omitempty"` // request Request string `json:"request,omitempty"` // status Status string `json:"status,omitempty"` }
UpdateRuleInternalServerErrorBody update rule internal server error body swagger:model UpdateRuleInternalServerErrorBody
func (*UpdateRuleInternalServerErrorBody) MarshalBinary ¶
func (o *UpdateRuleInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateRuleInternalServerErrorBody) UnmarshalBinary ¶
func (o *UpdateRuleInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateRuleNotFound ¶
type UpdateRuleNotFound struct {
Payload *UpdateRuleNotFoundBody
}
UpdateRuleNotFound handles this case with default header values.
The standard error format
func NewUpdateRuleNotFound ¶
func NewUpdateRuleNotFound() *UpdateRuleNotFound
NewUpdateRuleNotFound creates a UpdateRuleNotFound with default headers values
func (*UpdateRuleNotFound) Error ¶
func (o *UpdateRuleNotFound) Error() string
type UpdateRuleNotFoundBody ¶
type UpdateRuleNotFoundBody struct { // code Code int64 `json:"code,omitempty"` // details Details []map[string]interface{} `json:"details"` // message Message string `json:"message,omitempty"` // reason Reason string `json:"reason,omitempty"` // request Request string `json:"request,omitempty"` // status Status string `json:"status,omitempty"` }
UpdateRuleNotFoundBody update rule not found body swagger:model UpdateRuleNotFoundBody
func (*UpdateRuleNotFoundBody) MarshalBinary ¶
func (o *UpdateRuleNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateRuleNotFoundBody) UnmarshalBinary ¶
func (o *UpdateRuleNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateRuleOK ¶
type UpdateRuleOK struct {
Payload *models.SwaggerRule
}
UpdateRuleOK handles this case with default header values.
A rule
func NewUpdateRuleOK ¶
func NewUpdateRuleOK() *UpdateRuleOK
NewUpdateRuleOK creates a UpdateRuleOK with default headers values
func (*UpdateRuleOK) Error ¶
func (o *UpdateRuleOK) Error() string
type UpdateRuleParams ¶
type UpdateRuleParams struct { /*Body*/ Body *models.SwaggerRule /*ID*/ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateRuleParams contains all the parameters to send to the API endpoint for the update rule operation typically these are written to a http.Request
func NewUpdateRuleParams ¶
func NewUpdateRuleParams() *UpdateRuleParams
NewUpdateRuleParams creates a new UpdateRuleParams object with the default values initialized.
func NewUpdateRuleParamsWithContext ¶
func NewUpdateRuleParamsWithContext(ctx context.Context) *UpdateRuleParams
NewUpdateRuleParamsWithContext creates a new UpdateRuleParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateRuleParamsWithHTTPClient ¶
func NewUpdateRuleParamsWithHTTPClient(client *http.Client) *UpdateRuleParams
NewUpdateRuleParamsWithHTTPClient creates a new UpdateRuleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateRuleParamsWithTimeout ¶
func NewUpdateRuleParamsWithTimeout(timeout time.Duration) *UpdateRuleParams
NewUpdateRuleParamsWithTimeout creates a new UpdateRuleParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateRuleParams) SetBody ¶
func (o *UpdateRuleParams) SetBody(body *models.SwaggerRule)
SetBody adds the body to the update rule params
func (*UpdateRuleParams) SetContext ¶
func (o *UpdateRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the update rule params
func (*UpdateRuleParams) SetHTTPClient ¶
func (o *UpdateRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update rule params
func (*UpdateRuleParams) SetID ¶
func (o *UpdateRuleParams) SetID(id string)
SetID adds the id to the update rule params
func (*UpdateRuleParams) SetTimeout ¶
func (o *UpdateRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update rule params
func (*UpdateRuleParams) WithBody ¶
func (o *UpdateRuleParams) WithBody(body *models.SwaggerRule) *UpdateRuleParams
WithBody adds the body to the update rule params
func (*UpdateRuleParams) WithContext ¶
func (o *UpdateRuleParams) WithContext(ctx context.Context) *UpdateRuleParams
WithContext adds the context to the update rule params
func (*UpdateRuleParams) WithHTTPClient ¶
func (o *UpdateRuleParams) WithHTTPClient(client *http.Client) *UpdateRuleParams
WithHTTPClient adds the HTTPClient to the update rule params
func (*UpdateRuleParams) WithID ¶
func (o *UpdateRuleParams) WithID(id string) *UpdateRuleParams
WithID adds the id to the update rule params
func (*UpdateRuleParams) WithTimeout ¶
func (o *UpdateRuleParams) WithTimeout(timeout time.Duration) *UpdateRuleParams
WithTimeout adds the timeout to the update rule params
func (*UpdateRuleParams) WriteToRequest ¶
func (o *UpdateRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateRuleReader ¶
type UpdateRuleReader struct {
// contains filtered or unexported fields
}
UpdateRuleReader is a Reader for the UpdateRule structure.
func (*UpdateRuleReader) ReadResponse ¶
func (o *UpdateRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateRuleUnauthorized ¶
type UpdateRuleUnauthorized struct {
}UpdateRuleUnauthorized handles this case with default header values.
The standard error format
func NewUpdateRuleUnauthorized ¶
func NewUpdateRuleUnauthorized() *UpdateRuleUnauthorized
NewUpdateRuleUnauthorized creates a UpdateRuleUnauthorized with default headers values
func (*UpdateRuleUnauthorized) Error ¶
func (o *UpdateRuleUnauthorized) Error() string
type UpdateRuleUnauthorizedBody ¶
type UpdateRuleUnauthorizedBody struct { int64 `json:"code,omitempty"` Details []map[string]interface{} `json:"details"` Message string `json:"message,omitempty"` Reason string `json:"reason,omitempty"` Request string `json:"request,omitempty"` Status string `json:"status,omitempty"` }Code
UpdateRuleUnauthorizedBody update rule unauthorized body swagger:model UpdateRuleUnauthorizedBody
func (*UpdateRuleUnauthorizedBody) MarshalBinary ¶
func (o *UpdateRuleUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateRuleUnauthorizedBody) UnmarshalBinary ¶
func (o *UpdateRuleUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation