Documentation
¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type EntitiesRulesOwnershipPutV1BadRequest
- func (o *EntitiesRulesOwnershipPutV1BadRequest) Code() int
- func (o *EntitiesRulesOwnershipPutV1BadRequest) Error() string
- func (o *EntitiesRulesOwnershipPutV1BadRequest) GetPayload() *models.APIGetEntitiesRulesResponseV1
- func (o *EntitiesRulesOwnershipPutV1BadRequest) IsClientError() bool
- func (o *EntitiesRulesOwnershipPutV1BadRequest) IsCode(code int) bool
- func (o *EntitiesRulesOwnershipPutV1BadRequest) IsRedirect() bool
- func (o *EntitiesRulesOwnershipPutV1BadRequest) IsServerError() bool
- func (o *EntitiesRulesOwnershipPutV1BadRequest) IsSuccess() bool
- func (o *EntitiesRulesOwnershipPutV1BadRequest) String() string
- type EntitiesRulesOwnershipPutV1Forbidden
- func (o *EntitiesRulesOwnershipPutV1Forbidden) Code() int
- func (o *EntitiesRulesOwnershipPutV1Forbidden) Error() string
- func (o *EntitiesRulesOwnershipPutV1Forbidden) GetPayload() *models.APIGetEntitiesRulesResponseV1
- func (o *EntitiesRulesOwnershipPutV1Forbidden) IsClientError() bool
- func (o *EntitiesRulesOwnershipPutV1Forbidden) IsCode(code int) bool
- func (o *EntitiesRulesOwnershipPutV1Forbidden) IsRedirect() bool
- func (o *EntitiesRulesOwnershipPutV1Forbidden) IsServerError() bool
- func (o *EntitiesRulesOwnershipPutV1Forbidden) IsSuccess() bool
- func (o *EntitiesRulesOwnershipPutV1Forbidden) String() string
- type EntitiesRulesOwnershipPutV1InternalServerError
- func (o *EntitiesRulesOwnershipPutV1InternalServerError) Code() int
- func (o *EntitiesRulesOwnershipPutV1InternalServerError) Error() string
- func (o *EntitiesRulesOwnershipPutV1InternalServerError) GetPayload() *models.APIGetEntitiesRulesResponseV1
- func (o *EntitiesRulesOwnershipPutV1InternalServerError) IsClientError() bool
- func (o *EntitiesRulesOwnershipPutV1InternalServerError) IsCode(code int) bool
- func (o *EntitiesRulesOwnershipPutV1InternalServerError) IsRedirect() bool
- func (o *EntitiesRulesOwnershipPutV1InternalServerError) IsServerError() bool
- func (o *EntitiesRulesOwnershipPutV1InternalServerError) IsSuccess() bool
- func (o *EntitiesRulesOwnershipPutV1InternalServerError) String() string
- type EntitiesRulesOwnershipPutV1NotFound
- func (o *EntitiesRulesOwnershipPutV1NotFound) Code() int
- func (o *EntitiesRulesOwnershipPutV1NotFound) Error() string
- func (o *EntitiesRulesOwnershipPutV1NotFound) GetPayload() *models.APIGetEntitiesRulesResponseV1
- func (o *EntitiesRulesOwnershipPutV1NotFound) IsClientError() bool
- func (o *EntitiesRulesOwnershipPutV1NotFound) IsCode(code int) bool
- func (o *EntitiesRulesOwnershipPutV1NotFound) IsRedirect() bool
- func (o *EntitiesRulesOwnershipPutV1NotFound) IsServerError() bool
- func (o *EntitiesRulesOwnershipPutV1NotFound) IsSuccess() bool
- func (o *EntitiesRulesOwnershipPutV1NotFound) String() string
- type EntitiesRulesOwnershipPutV1OK
- func (o *EntitiesRulesOwnershipPutV1OK) Code() int
- func (o *EntitiesRulesOwnershipPutV1OK) Error() string
- func (o *EntitiesRulesOwnershipPutV1OK) GetPayload() *models.APIGetEntitiesRulesResponseV1
- func (o *EntitiesRulesOwnershipPutV1OK) IsClientError() bool
- func (o *EntitiesRulesOwnershipPutV1OK) IsCode(code int) bool
- func (o *EntitiesRulesOwnershipPutV1OK) IsRedirect() bool
- func (o *EntitiesRulesOwnershipPutV1OK) IsServerError() bool
- func (o *EntitiesRulesOwnershipPutV1OK) IsSuccess() bool
- func (o *EntitiesRulesOwnershipPutV1OK) String() string
- type EntitiesRulesOwnershipPutV1Params
- func NewEntitiesRulesOwnershipPutV1Params() *EntitiesRulesOwnershipPutV1Params
- func NewEntitiesRulesOwnershipPutV1ParamsWithContext(ctx context.Context) *EntitiesRulesOwnershipPutV1Params
- func NewEntitiesRulesOwnershipPutV1ParamsWithHTTPClient(client *http.Client) *EntitiesRulesOwnershipPutV1Params
- func NewEntitiesRulesOwnershipPutV1ParamsWithTimeout(timeout time.Duration) *EntitiesRulesOwnershipPutV1Params
- func (o *EntitiesRulesOwnershipPutV1Params) SetBody(body *models.APIRuleOwnerPutRequestV1)
- func (o *EntitiesRulesOwnershipPutV1Params) SetContext(ctx context.Context)
- func (o *EntitiesRulesOwnershipPutV1Params) SetDefaults()
- func (o *EntitiesRulesOwnershipPutV1Params) SetHTTPClient(client *http.Client)
- func (o *EntitiesRulesOwnershipPutV1Params) SetTimeout(timeout time.Duration)
- func (o *EntitiesRulesOwnershipPutV1Params) WithBody(body *models.APIRuleOwnerPutRequestV1) *EntitiesRulesOwnershipPutV1Params
- func (o *EntitiesRulesOwnershipPutV1Params) WithContext(ctx context.Context) *EntitiesRulesOwnershipPutV1Params
- func (o *EntitiesRulesOwnershipPutV1Params) WithDefaults() *EntitiesRulesOwnershipPutV1Params
- func (o *EntitiesRulesOwnershipPutV1Params) WithHTTPClient(client *http.Client) *EntitiesRulesOwnershipPutV1Params
- func (o *EntitiesRulesOwnershipPutV1Params) WithTimeout(timeout time.Duration) *EntitiesRulesOwnershipPutV1Params
- func (o *EntitiesRulesOwnershipPutV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EntitiesRulesOwnershipPutV1Reader
- type EntitiesRulesOwnershipPutV1TooManyRequests
- func (o *EntitiesRulesOwnershipPutV1TooManyRequests) Code() int
- func (o *EntitiesRulesOwnershipPutV1TooManyRequests) Error() string
- func (o *EntitiesRulesOwnershipPutV1TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *EntitiesRulesOwnershipPutV1TooManyRequests) IsClientError() bool
- func (o *EntitiesRulesOwnershipPutV1TooManyRequests) IsCode(code int) bool
- func (o *EntitiesRulesOwnershipPutV1TooManyRequests) IsRedirect() bool
- func (o *EntitiesRulesOwnershipPutV1TooManyRequests) IsServerError() bool
- func (o *EntitiesRulesOwnershipPutV1TooManyRequests) IsSuccess() bool
- func (o *EntitiesRulesOwnershipPutV1TooManyRequests) String() string
- type EntitiesRulesOwnershipPutV1Unauthorized
- func (o *EntitiesRulesOwnershipPutV1Unauthorized) Code() int
- func (o *EntitiesRulesOwnershipPutV1Unauthorized) Error() string
- func (o *EntitiesRulesOwnershipPutV1Unauthorized) GetPayload() *models.APIGetEntitiesRulesResponseV1
- func (o *EntitiesRulesOwnershipPutV1Unauthorized) IsClientError() bool
- func (o *EntitiesRulesOwnershipPutV1Unauthorized) IsCode(code int) bool
- func (o *EntitiesRulesOwnershipPutV1Unauthorized) IsRedirect() bool
- func (o *EntitiesRulesOwnershipPutV1Unauthorized) IsServerError() bool
- func (o *EntitiesRulesOwnershipPutV1Unauthorized) IsSuccess() bool
- func (o *EntitiesRulesOwnershipPutV1Unauthorized) String() string
- type EntitiesRulesOwnershipPutV1UnprocessableEntity
- func (o *EntitiesRulesOwnershipPutV1UnprocessableEntity) Code() int
- func (o *EntitiesRulesOwnershipPutV1UnprocessableEntity) Error() string
- func (o *EntitiesRulesOwnershipPutV1UnprocessableEntity) GetPayload() *models.APIGetEntitiesRulesResponseV1
- func (o *EntitiesRulesOwnershipPutV1UnprocessableEntity) IsClientError() bool
- func (o *EntitiesRulesOwnershipPutV1UnprocessableEntity) IsCode(code int) bool
- func (o *EntitiesRulesOwnershipPutV1UnprocessableEntity) IsRedirect() bool
- func (o *EntitiesRulesOwnershipPutV1UnprocessableEntity) IsServerError() bool
- func (o *EntitiesRulesOwnershipPutV1UnprocessableEntity) IsSuccess() bool
- func (o *EntitiesRulesOwnershipPutV1UnprocessableEntity) String() string
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 correlation rules admin API
func (*Client) EntitiesRulesOwnershipPutV1 ¶
func (a *Client) EntitiesRulesOwnershipPutV1(params *EntitiesRulesOwnershipPutV1Params, opts ...ClientOption) (*EntitiesRulesOwnershipPutV1OK, error)
EntitiesRulesOwnershipPutV1 changes the owner of an existing correlation rule
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface {
EntitiesRulesOwnershipPutV1(params *EntitiesRulesOwnershipPutV1Params, opts ...ClientOption) (*EntitiesRulesOwnershipPutV1OK, 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 correlation rules admin API client.
type EntitiesRulesOwnershipPutV1BadRequest ¶
type EntitiesRulesOwnershipPutV1BadRequest struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.APIGetEntitiesRulesResponseV1
}
EntitiesRulesOwnershipPutV1BadRequest describes a response with status code 400, with default header values.
Bad Request
func NewEntitiesRulesOwnershipPutV1BadRequest ¶
func NewEntitiesRulesOwnershipPutV1BadRequest() *EntitiesRulesOwnershipPutV1BadRequest
NewEntitiesRulesOwnershipPutV1BadRequest creates a EntitiesRulesOwnershipPutV1BadRequest with default headers values
func (*EntitiesRulesOwnershipPutV1BadRequest) Code ¶
func (o *EntitiesRulesOwnershipPutV1BadRequest) Code() int
Code gets the status code for the entities rules ownership put v1 bad request response
func (*EntitiesRulesOwnershipPutV1BadRequest) Error ¶
func (o *EntitiesRulesOwnershipPutV1BadRequest) Error() string
func (*EntitiesRulesOwnershipPutV1BadRequest) GetPayload ¶
func (o *EntitiesRulesOwnershipPutV1BadRequest) GetPayload() *models.APIGetEntitiesRulesResponseV1
func (*EntitiesRulesOwnershipPutV1BadRequest) IsClientError ¶
func (o *EntitiesRulesOwnershipPutV1BadRequest) IsClientError() bool
IsClientError returns true when this entities rules ownership put v1 bad request response has a 4xx status code
func (*EntitiesRulesOwnershipPutV1BadRequest) IsCode ¶
func (o *EntitiesRulesOwnershipPutV1BadRequest) IsCode(code int) bool
IsCode returns true when this entities rules ownership put v1 bad request response a status code equal to that given
func (*EntitiesRulesOwnershipPutV1BadRequest) IsRedirect ¶
func (o *EntitiesRulesOwnershipPutV1BadRequest) IsRedirect() bool
IsRedirect returns true when this entities rules ownership put v1 bad request response has a 3xx status code
func (*EntitiesRulesOwnershipPutV1BadRequest) IsServerError ¶
func (o *EntitiesRulesOwnershipPutV1BadRequest) IsServerError() bool
IsServerError returns true when this entities rules ownership put v1 bad request response has a 5xx status code
func (*EntitiesRulesOwnershipPutV1BadRequest) IsSuccess ¶
func (o *EntitiesRulesOwnershipPutV1BadRequest) IsSuccess() bool
IsSuccess returns true when this entities rules ownership put v1 bad request response has a 2xx status code
func (*EntitiesRulesOwnershipPutV1BadRequest) String ¶
func (o *EntitiesRulesOwnershipPutV1BadRequest) String() string
type EntitiesRulesOwnershipPutV1Forbidden ¶
type EntitiesRulesOwnershipPutV1Forbidden struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.APIGetEntitiesRulesResponseV1
}
EntitiesRulesOwnershipPutV1Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewEntitiesRulesOwnershipPutV1Forbidden ¶
func NewEntitiesRulesOwnershipPutV1Forbidden() *EntitiesRulesOwnershipPutV1Forbidden
NewEntitiesRulesOwnershipPutV1Forbidden creates a EntitiesRulesOwnershipPutV1Forbidden with default headers values
func (*EntitiesRulesOwnershipPutV1Forbidden) Code ¶
func (o *EntitiesRulesOwnershipPutV1Forbidden) Code() int
Code gets the status code for the entities rules ownership put v1 forbidden response
func (*EntitiesRulesOwnershipPutV1Forbidden) Error ¶
func (o *EntitiesRulesOwnershipPutV1Forbidden) Error() string
func (*EntitiesRulesOwnershipPutV1Forbidden) GetPayload ¶
func (o *EntitiesRulesOwnershipPutV1Forbidden) GetPayload() *models.APIGetEntitiesRulesResponseV1
func (*EntitiesRulesOwnershipPutV1Forbidden) IsClientError ¶
func (o *EntitiesRulesOwnershipPutV1Forbidden) IsClientError() bool
IsClientError returns true when this entities rules ownership put v1 forbidden response has a 4xx status code
func (*EntitiesRulesOwnershipPutV1Forbidden) IsCode ¶
func (o *EntitiesRulesOwnershipPutV1Forbidden) IsCode(code int) bool
IsCode returns true when this entities rules ownership put v1 forbidden response a status code equal to that given
func (*EntitiesRulesOwnershipPutV1Forbidden) IsRedirect ¶
func (o *EntitiesRulesOwnershipPutV1Forbidden) IsRedirect() bool
IsRedirect returns true when this entities rules ownership put v1 forbidden response has a 3xx status code
func (*EntitiesRulesOwnershipPutV1Forbidden) IsServerError ¶
func (o *EntitiesRulesOwnershipPutV1Forbidden) IsServerError() bool
IsServerError returns true when this entities rules ownership put v1 forbidden response has a 5xx status code
func (*EntitiesRulesOwnershipPutV1Forbidden) IsSuccess ¶
func (o *EntitiesRulesOwnershipPutV1Forbidden) IsSuccess() bool
IsSuccess returns true when this entities rules ownership put v1 forbidden response has a 2xx status code
func (*EntitiesRulesOwnershipPutV1Forbidden) String ¶
func (o *EntitiesRulesOwnershipPutV1Forbidden) String() string
type EntitiesRulesOwnershipPutV1InternalServerError ¶
type EntitiesRulesOwnershipPutV1InternalServerError struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.APIGetEntitiesRulesResponseV1
}
EntitiesRulesOwnershipPutV1InternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewEntitiesRulesOwnershipPutV1InternalServerError ¶
func NewEntitiesRulesOwnershipPutV1InternalServerError() *EntitiesRulesOwnershipPutV1InternalServerError
NewEntitiesRulesOwnershipPutV1InternalServerError creates a EntitiesRulesOwnershipPutV1InternalServerError with default headers values
func (*EntitiesRulesOwnershipPutV1InternalServerError) Code ¶
func (o *EntitiesRulesOwnershipPutV1InternalServerError) Code() int
Code gets the status code for the entities rules ownership put v1 internal server error response
func (*EntitiesRulesOwnershipPutV1InternalServerError) Error ¶
func (o *EntitiesRulesOwnershipPutV1InternalServerError) Error() string
func (*EntitiesRulesOwnershipPutV1InternalServerError) GetPayload ¶
func (o *EntitiesRulesOwnershipPutV1InternalServerError) GetPayload() *models.APIGetEntitiesRulesResponseV1
func (*EntitiesRulesOwnershipPutV1InternalServerError) IsClientError ¶
func (o *EntitiesRulesOwnershipPutV1InternalServerError) IsClientError() bool
IsClientError returns true when this entities rules ownership put v1 internal server error response has a 4xx status code
func (*EntitiesRulesOwnershipPutV1InternalServerError) IsCode ¶
func (o *EntitiesRulesOwnershipPutV1InternalServerError) IsCode(code int) bool
IsCode returns true when this entities rules ownership put v1 internal server error response a status code equal to that given
func (*EntitiesRulesOwnershipPutV1InternalServerError) IsRedirect ¶
func (o *EntitiesRulesOwnershipPutV1InternalServerError) IsRedirect() bool
IsRedirect returns true when this entities rules ownership put v1 internal server error response has a 3xx status code
func (*EntitiesRulesOwnershipPutV1InternalServerError) IsServerError ¶
func (o *EntitiesRulesOwnershipPutV1InternalServerError) IsServerError() bool
IsServerError returns true when this entities rules ownership put v1 internal server error response has a 5xx status code
func (*EntitiesRulesOwnershipPutV1InternalServerError) IsSuccess ¶
func (o *EntitiesRulesOwnershipPutV1InternalServerError) IsSuccess() bool
IsSuccess returns true when this entities rules ownership put v1 internal server error response has a 2xx status code
func (*EntitiesRulesOwnershipPutV1InternalServerError) String ¶
func (o *EntitiesRulesOwnershipPutV1InternalServerError) String() string
type EntitiesRulesOwnershipPutV1NotFound ¶
type EntitiesRulesOwnershipPutV1NotFound struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.APIGetEntitiesRulesResponseV1
}
EntitiesRulesOwnershipPutV1NotFound describes a response with status code 404, with default header values.
Not Found
func NewEntitiesRulesOwnershipPutV1NotFound ¶
func NewEntitiesRulesOwnershipPutV1NotFound() *EntitiesRulesOwnershipPutV1NotFound
NewEntitiesRulesOwnershipPutV1NotFound creates a EntitiesRulesOwnershipPutV1NotFound with default headers values
func (*EntitiesRulesOwnershipPutV1NotFound) Code ¶
func (o *EntitiesRulesOwnershipPutV1NotFound) Code() int
Code gets the status code for the entities rules ownership put v1 not found response
func (*EntitiesRulesOwnershipPutV1NotFound) Error ¶
func (o *EntitiesRulesOwnershipPutV1NotFound) Error() string
func (*EntitiesRulesOwnershipPutV1NotFound) GetPayload ¶
func (o *EntitiesRulesOwnershipPutV1NotFound) GetPayload() *models.APIGetEntitiesRulesResponseV1
func (*EntitiesRulesOwnershipPutV1NotFound) IsClientError ¶
func (o *EntitiesRulesOwnershipPutV1NotFound) IsClientError() bool
IsClientError returns true when this entities rules ownership put v1 not found response has a 4xx status code
func (*EntitiesRulesOwnershipPutV1NotFound) IsCode ¶
func (o *EntitiesRulesOwnershipPutV1NotFound) IsCode(code int) bool
IsCode returns true when this entities rules ownership put v1 not found response a status code equal to that given
func (*EntitiesRulesOwnershipPutV1NotFound) IsRedirect ¶
func (o *EntitiesRulesOwnershipPutV1NotFound) IsRedirect() bool
IsRedirect returns true when this entities rules ownership put v1 not found response has a 3xx status code
func (*EntitiesRulesOwnershipPutV1NotFound) IsServerError ¶
func (o *EntitiesRulesOwnershipPutV1NotFound) IsServerError() bool
IsServerError returns true when this entities rules ownership put v1 not found response has a 5xx status code
func (*EntitiesRulesOwnershipPutV1NotFound) IsSuccess ¶
func (o *EntitiesRulesOwnershipPutV1NotFound) IsSuccess() bool
IsSuccess returns true when this entities rules ownership put v1 not found response has a 2xx status code
func (*EntitiesRulesOwnershipPutV1NotFound) String ¶
func (o *EntitiesRulesOwnershipPutV1NotFound) String() string
type EntitiesRulesOwnershipPutV1OK ¶
type EntitiesRulesOwnershipPutV1OK struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.APIGetEntitiesRulesResponseV1
}
EntitiesRulesOwnershipPutV1OK describes a response with status code 200, with default header values.
OK
func NewEntitiesRulesOwnershipPutV1OK ¶
func NewEntitiesRulesOwnershipPutV1OK() *EntitiesRulesOwnershipPutV1OK
NewEntitiesRulesOwnershipPutV1OK creates a EntitiesRulesOwnershipPutV1OK with default headers values
func (*EntitiesRulesOwnershipPutV1OK) Code ¶
func (o *EntitiesRulesOwnershipPutV1OK) Code() int
Code gets the status code for the entities rules ownership put v1 o k response
func (*EntitiesRulesOwnershipPutV1OK) Error ¶
func (o *EntitiesRulesOwnershipPutV1OK) Error() string
func (*EntitiesRulesOwnershipPutV1OK) GetPayload ¶
func (o *EntitiesRulesOwnershipPutV1OK) GetPayload() *models.APIGetEntitiesRulesResponseV1
func (*EntitiesRulesOwnershipPutV1OK) IsClientError ¶
func (o *EntitiesRulesOwnershipPutV1OK) IsClientError() bool
IsClientError returns true when this entities rules ownership put v1 o k response has a 4xx status code
func (*EntitiesRulesOwnershipPutV1OK) IsCode ¶
func (o *EntitiesRulesOwnershipPutV1OK) IsCode(code int) bool
IsCode returns true when this entities rules ownership put v1 o k response a status code equal to that given
func (*EntitiesRulesOwnershipPutV1OK) IsRedirect ¶
func (o *EntitiesRulesOwnershipPutV1OK) IsRedirect() bool
IsRedirect returns true when this entities rules ownership put v1 o k response has a 3xx status code
func (*EntitiesRulesOwnershipPutV1OK) IsServerError ¶
func (o *EntitiesRulesOwnershipPutV1OK) IsServerError() bool
IsServerError returns true when this entities rules ownership put v1 o k response has a 5xx status code
func (*EntitiesRulesOwnershipPutV1OK) IsSuccess ¶
func (o *EntitiesRulesOwnershipPutV1OK) IsSuccess() bool
IsSuccess returns true when this entities rules ownership put v1 o k response has a 2xx status code
func (*EntitiesRulesOwnershipPutV1OK) String ¶
func (o *EntitiesRulesOwnershipPutV1OK) String() string
type EntitiesRulesOwnershipPutV1Params ¶
type EntitiesRulesOwnershipPutV1Params struct {
// Body.
Body *models.APIRuleOwnerPutRequestV1
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
EntitiesRulesOwnershipPutV1Params contains all the parameters to send to the API endpoint
for the entities rules ownership put v1 operation. Typically these are written to a http.Request.
func NewEntitiesRulesOwnershipPutV1Params ¶
func NewEntitiesRulesOwnershipPutV1Params() *EntitiesRulesOwnershipPutV1Params
NewEntitiesRulesOwnershipPutV1Params creates a new EntitiesRulesOwnershipPutV1Params 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 NewEntitiesRulesOwnershipPutV1ParamsWithContext ¶
func NewEntitiesRulesOwnershipPutV1ParamsWithContext(ctx context.Context) *EntitiesRulesOwnershipPutV1Params
NewEntitiesRulesOwnershipPutV1ParamsWithContext creates a new EntitiesRulesOwnershipPutV1Params object with the ability to set a context for a request.
func NewEntitiesRulesOwnershipPutV1ParamsWithHTTPClient ¶
func NewEntitiesRulesOwnershipPutV1ParamsWithHTTPClient(client *http.Client) *EntitiesRulesOwnershipPutV1Params
NewEntitiesRulesOwnershipPutV1ParamsWithHTTPClient creates a new EntitiesRulesOwnershipPutV1Params object with the ability to set a custom HTTPClient for a request.
func NewEntitiesRulesOwnershipPutV1ParamsWithTimeout ¶
func NewEntitiesRulesOwnershipPutV1ParamsWithTimeout(timeout time.Duration) *EntitiesRulesOwnershipPutV1Params
NewEntitiesRulesOwnershipPutV1ParamsWithTimeout creates a new EntitiesRulesOwnershipPutV1Params object with the ability to set a timeout on a request.
func (*EntitiesRulesOwnershipPutV1Params) SetBody ¶
func (o *EntitiesRulesOwnershipPutV1Params) SetBody(body *models.APIRuleOwnerPutRequestV1)
SetBody adds the body to the entities rules ownership put v1 params
func (*EntitiesRulesOwnershipPutV1Params) SetContext ¶
func (o *EntitiesRulesOwnershipPutV1Params) SetContext(ctx context.Context)
SetContext adds the context to the entities rules ownership put v1 params
func (*EntitiesRulesOwnershipPutV1Params) SetDefaults ¶
func (o *EntitiesRulesOwnershipPutV1Params) SetDefaults()
SetDefaults hydrates default values in the entities rules ownership put v1 params (not the query body).
All values with no default are reset to their zero value.
func (*EntitiesRulesOwnershipPutV1Params) SetHTTPClient ¶
func (o *EntitiesRulesOwnershipPutV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the entities rules ownership put v1 params
func (*EntitiesRulesOwnershipPutV1Params) SetTimeout ¶
func (o *EntitiesRulesOwnershipPutV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the entities rules ownership put v1 params
func (*EntitiesRulesOwnershipPutV1Params) WithBody ¶
func (o *EntitiesRulesOwnershipPutV1Params) WithBody(body *models.APIRuleOwnerPutRequestV1) *EntitiesRulesOwnershipPutV1Params
WithBody adds the body to the entities rules ownership put v1 params
func (*EntitiesRulesOwnershipPutV1Params) WithContext ¶
func (o *EntitiesRulesOwnershipPutV1Params) WithContext(ctx context.Context) *EntitiesRulesOwnershipPutV1Params
WithContext adds the context to the entities rules ownership put v1 params
func (*EntitiesRulesOwnershipPutV1Params) WithDefaults ¶
func (o *EntitiesRulesOwnershipPutV1Params) WithDefaults() *EntitiesRulesOwnershipPutV1Params
WithDefaults hydrates default values in the entities rules ownership put v1 params (not the query body).
All values with no default are reset to their zero value.
func (*EntitiesRulesOwnershipPutV1Params) WithHTTPClient ¶
func (o *EntitiesRulesOwnershipPutV1Params) WithHTTPClient(client *http.Client) *EntitiesRulesOwnershipPutV1Params
WithHTTPClient adds the HTTPClient to the entities rules ownership put v1 params
func (*EntitiesRulesOwnershipPutV1Params) WithTimeout ¶
func (o *EntitiesRulesOwnershipPutV1Params) WithTimeout(timeout time.Duration) *EntitiesRulesOwnershipPutV1Params
WithTimeout adds the timeout to the entities rules ownership put v1 params
func (*EntitiesRulesOwnershipPutV1Params) WriteToRequest ¶
func (o *EntitiesRulesOwnershipPutV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EntitiesRulesOwnershipPutV1Reader ¶
type EntitiesRulesOwnershipPutV1Reader struct {
// contains filtered or unexported fields
}
EntitiesRulesOwnershipPutV1Reader is a Reader for the EntitiesRulesOwnershipPutV1 structure.
func (*EntitiesRulesOwnershipPutV1Reader) ReadResponse ¶
func (o *EntitiesRulesOwnershipPutV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EntitiesRulesOwnershipPutV1TooManyRequests ¶
type EntitiesRulesOwnershipPutV1TooManyRequests struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
/* Too many requests, retry after this time (as milliseconds since epoch)
*/
XRateLimitRetryAfter int64
Payload *models.MsaReplyMetaOnly
}
EntitiesRulesOwnershipPutV1TooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewEntitiesRulesOwnershipPutV1TooManyRequests ¶
func NewEntitiesRulesOwnershipPutV1TooManyRequests() *EntitiesRulesOwnershipPutV1TooManyRequests
NewEntitiesRulesOwnershipPutV1TooManyRequests creates a EntitiesRulesOwnershipPutV1TooManyRequests with default headers values
func (*EntitiesRulesOwnershipPutV1TooManyRequests) Code ¶
func (o *EntitiesRulesOwnershipPutV1TooManyRequests) Code() int
Code gets the status code for the entities rules ownership put v1 too many requests response
func (*EntitiesRulesOwnershipPutV1TooManyRequests) Error ¶
func (o *EntitiesRulesOwnershipPutV1TooManyRequests) Error() string
func (*EntitiesRulesOwnershipPutV1TooManyRequests) GetPayload ¶
func (o *EntitiesRulesOwnershipPutV1TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*EntitiesRulesOwnershipPutV1TooManyRequests) IsClientError ¶
func (o *EntitiesRulesOwnershipPutV1TooManyRequests) IsClientError() bool
IsClientError returns true when this entities rules ownership put v1 too many requests response has a 4xx status code
func (*EntitiesRulesOwnershipPutV1TooManyRequests) IsCode ¶
func (o *EntitiesRulesOwnershipPutV1TooManyRequests) IsCode(code int) bool
IsCode returns true when this entities rules ownership put v1 too many requests response a status code equal to that given
func (*EntitiesRulesOwnershipPutV1TooManyRequests) IsRedirect ¶
func (o *EntitiesRulesOwnershipPutV1TooManyRequests) IsRedirect() bool
IsRedirect returns true when this entities rules ownership put v1 too many requests response has a 3xx status code
func (*EntitiesRulesOwnershipPutV1TooManyRequests) IsServerError ¶
func (o *EntitiesRulesOwnershipPutV1TooManyRequests) IsServerError() bool
IsServerError returns true when this entities rules ownership put v1 too many requests response has a 5xx status code
func (*EntitiesRulesOwnershipPutV1TooManyRequests) IsSuccess ¶
func (o *EntitiesRulesOwnershipPutV1TooManyRequests) IsSuccess() bool
IsSuccess returns true when this entities rules ownership put v1 too many requests response has a 2xx status code
func (*EntitiesRulesOwnershipPutV1TooManyRequests) String ¶
func (o *EntitiesRulesOwnershipPutV1TooManyRequests) String() string
type EntitiesRulesOwnershipPutV1Unauthorized ¶
type EntitiesRulesOwnershipPutV1Unauthorized struct {
XCSTRACEID string
XRateLimitLimit int64
XRateLimitRemaining int64
}
EntitiesRulesOwnershipPutV1Unauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewEntitiesRulesOwnershipPutV1Unauthorized ¶
func NewEntitiesRulesOwnershipPutV1Unauthorized() *EntitiesRulesOwnershipPutV1Unauthorized
NewEntitiesRulesOwnershipPutV1Unauthorized creates a EntitiesRulesOwnershipPutV1Unauthorized with default headers values
func (*EntitiesRulesOwnershipPutV1Unauthorized) Code ¶
func (o *EntitiesRulesOwnershipPutV1Unauthorized) Code() int
Code gets the status code for the entities rules ownership put v1 unauthorized response
func (*EntitiesRulesOwnershipPutV1Unauthorized) Error ¶
func (o *EntitiesRulesOwnershipPutV1Unauthorized) Error() string
func (*EntitiesRulesOwnershipPutV1Unauthorized) GetPayload ¶
func (o *EntitiesRulesOwnershipPutV1Unauthorized) GetPayload() *models.APIGetEntitiesRulesResponseV1
func (*EntitiesRulesOwnershipPutV1Unauthorized) IsClientError ¶
func (o *EntitiesRulesOwnershipPutV1Unauthorized) IsClientError() bool
IsClientError returns true when this entities rules ownership put v1 unauthorized response has a 4xx status code
func (*EntitiesRulesOwnershipPutV1Unauthorized) IsCode ¶
func (o *EntitiesRulesOwnershipPutV1Unauthorized) IsCode(code int) bool
IsCode returns true when this entities rules ownership put v1 unauthorized response a status code equal to that given
func (*EntitiesRulesOwnershipPutV1Unauthorized) IsRedirect ¶
func (o *EntitiesRulesOwnershipPutV1Unauthorized) IsRedirect() bool
IsRedirect returns true when this entities rules ownership put v1 unauthorized response has a 3xx status code
func (*EntitiesRulesOwnershipPutV1Unauthorized) IsServerError ¶
func (o *EntitiesRulesOwnershipPutV1Unauthorized) IsServerError() bool
IsServerError returns true when this entities rules ownership put v1 unauthorized response has a 5xx status code
func (*EntitiesRulesOwnershipPutV1Unauthorized) IsSuccess ¶
func (o *EntitiesRulesOwnershipPutV1Unauthorized) IsSuccess() bool
IsSuccess returns true when this entities rules ownership put v1 unauthorized response has a 2xx status code
func (*EntitiesRulesOwnershipPutV1Unauthorized) String ¶
func (o *EntitiesRulesOwnershipPutV1Unauthorized) String() string
type EntitiesRulesOwnershipPutV1UnprocessableEntity ¶
type EntitiesRulesOwnershipPutV1UnprocessableEntity struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.APIGetEntitiesRulesResponseV1
}
EntitiesRulesOwnershipPutV1UnprocessableEntity describes a response with status code 422, with default header values.
Customer has reached the limit of active rules
func NewEntitiesRulesOwnershipPutV1UnprocessableEntity ¶
func NewEntitiesRulesOwnershipPutV1UnprocessableEntity() *EntitiesRulesOwnershipPutV1UnprocessableEntity
NewEntitiesRulesOwnershipPutV1UnprocessableEntity creates a EntitiesRulesOwnershipPutV1UnprocessableEntity with default headers values
func (*EntitiesRulesOwnershipPutV1UnprocessableEntity) Code ¶
func (o *EntitiesRulesOwnershipPutV1UnprocessableEntity) Code() int
Code gets the status code for the entities rules ownership put v1 unprocessable entity response
func (*EntitiesRulesOwnershipPutV1UnprocessableEntity) Error ¶
func (o *EntitiesRulesOwnershipPutV1UnprocessableEntity) Error() string
func (*EntitiesRulesOwnershipPutV1UnprocessableEntity) GetPayload ¶
func (o *EntitiesRulesOwnershipPutV1UnprocessableEntity) GetPayload() *models.APIGetEntitiesRulesResponseV1
func (*EntitiesRulesOwnershipPutV1UnprocessableEntity) IsClientError ¶
func (o *EntitiesRulesOwnershipPutV1UnprocessableEntity) IsClientError() bool
IsClientError returns true when this entities rules ownership put v1 unprocessable entity response has a 4xx status code
func (*EntitiesRulesOwnershipPutV1UnprocessableEntity) IsCode ¶
func (o *EntitiesRulesOwnershipPutV1UnprocessableEntity) IsCode(code int) bool
IsCode returns true when this entities rules ownership put v1 unprocessable entity response a status code equal to that given
func (*EntitiesRulesOwnershipPutV1UnprocessableEntity) IsRedirect ¶
func (o *EntitiesRulesOwnershipPutV1UnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this entities rules ownership put v1 unprocessable entity response has a 3xx status code
func (*EntitiesRulesOwnershipPutV1UnprocessableEntity) IsServerError ¶
func (o *EntitiesRulesOwnershipPutV1UnprocessableEntity) IsServerError() bool
IsServerError returns true when this entities rules ownership put v1 unprocessable entity response has a 5xx status code
func (*EntitiesRulesOwnershipPutV1UnprocessableEntity) IsSuccess ¶
func (o *EntitiesRulesOwnershipPutV1UnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this entities rules ownership put v1 unprocessable entity response has a 2xx status code
func (*EntitiesRulesOwnershipPutV1UnprocessableEntity) String ¶
func (o *EntitiesRulesOwnershipPutV1UnprocessableEntity) String() string