Documentation ¶
Index ¶
- type Client
- func (a *Client) RoleAdd(params *RoleAddParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RoleAddOK, error)
- func (a *Client) RoleDeleteList(params *RoleDeleteListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RoleDeleteListOK, error)
- func (a *Client) RoleFindByID(params *RoleFindByIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RoleFindByIDOK, error)
- func (a *Client) RoleTypeFind(params *RoleTypeFindParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RoleTypeFindOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type RoleAddBadRequest
- func (o *RoleAddBadRequest) Code() int
- func (o *RoleAddBadRequest) Error() string
- func (o *RoleAddBadRequest) GetPayload() *models.Response
- func (o *RoleAddBadRequest) IsClientError() bool
- func (o *RoleAddBadRequest) IsCode(code int) bool
- func (o *RoleAddBadRequest) IsRedirect() bool
- func (o *RoleAddBadRequest) IsServerError() bool
- func (o *RoleAddBadRequest) IsSuccess() bool
- func (o *RoleAddBadRequest) String() string
- type RoleAddInternalServerError
- func (o *RoleAddInternalServerError) Code() int
- func (o *RoleAddInternalServerError) Error() string
- func (o *RoleAddInternalServerError) GetPayload() *models.Response
- func (o *RoleAddInternalServerError) IsClientError() bool
- func (o *RoleAddInternalServerError) IsCode(code int) bool
- func (o *RoleAddInternalServerError) IsRedirect() bool
- func (o *RoleAddInternalServerError) IsServerError() bool
- func (o *RoleAddInternalServerError) IsSuccess() bool
- func (o *RoleAddInternalServerError) String() string
- type RoleAddOK
- func (o *RoleAddOK) Code() int
- func (o *RoleAddOK) Error() string
- func (o *RoleAddOK) GetPayload() *models.Response
- func (o *RoleAddOK) IsClientError() bool
- func (o *RoleAddOK) IsCode(code int) bool
- func (o *RoleAddOK) IsRedirect() bool
- func (o *RoleAddOK) IsServerError() bool
- func (o *RoleAddOK) IsSuccess() bool
- func (o *RoleAddOK) String() string
- type RoleAddParams
- func (o *RoleAddParams) SetBody(body *models.RoleAddRequest)
- func (o *RoleAddParams) SetContext(ctx context.Context)
- func (o *RoleAddParams) SetDefaults()
- func (o *RoleAddParams) SetHTTPClient(client *http.Client)
- func (o *RoleAddParams) SetTimeout(timeout time.Duration)
- func (o *RoleAddParams) WithBody(body *models.RoleAddRequest) *RoleAddParams
- func (o *RoleAddParams) WithContext(ctx context.Context) *RoleAddParams
- func (o *RoleAddParams) WithDefaults() *RoleAddParams
- func (o *RoleAddParams) WithHTTPClient(client *http.Client) *RoleAddParams
- func (o *RoleAddParams) WithTimeout(timeout time.Duration) *RoleAddParams
- func (o *RoleAddParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RoleAddReader
- type RoleAddUnauthorized
- func (o *RoleAddUnauthorized) Code() int
- func (o *RoleAddUnauthorized) Error() string
- func (o *RoleAddUnauthorized) GetPayload() *models.Response
- func (o *RoleAddUnauthorized) IsClientError() bool
- func (o *RoleAddUnauthorized) IsCode(code int) bool
- func (o *RoleAddUnauthorized) IsRedirect() bool
- func (o *RoleAddUnauthorized) IsServerError() bool
- func (o *RoleAddUnauthorized) IsSuccess() bool
- func (o *RoleAddUnauthorized) String() string
- type RoleDeleteListBadRequest
- func (o *RoleDeleteListBadRequest) Code() int
- func (o *RoleDeleteListBadRequest) Error() string
- func (o *RoleDeleteListBadRequest) GetPayload() *models.Response
- func (o *RoleDeleteListBadRequest) IsClientError() bool
- func (o *RoleDeleteListBadRequest) IsCode(code int) bool
- func (o *RoleDeleteListBadRequest) IsRedirect() bool
- func (o *RoleDeleteListBadRequest) IsServerError() bool
- func (o *RoleDeleteListBadRequest) IsSuccess() bool
- func (o *RoleDeleteListBadRequest) String() string
- type RoleDeleteListInternalServerError
- func (o *RoleDeleteListInternalServerError) Code() int
- func (o *RoleDeleteListInternalServerError) Error() string
- func (o *RoleDeleteListInternalServerError) GetPayload() *models.Response
- func (o *RoleDeleteListInternalServerError) IsClientError() bool
- func (o *RoleDeleteListInternalServerError) IsCode(code int) bool
- func (o *RoleDeleteListInternalServerError) IsRedirect() bool
- func (o *RoleDeleteListInternalServerError) IsServerError() bool
- func (o *RoleDeleteListInternalServerError) IsSuccess() bool
- func (o *RoleDeleteListInternalServerError) String() string
- type RoleDeleteListNotFound
- func (o *RoleDeleteListNotFound) Code() int
- func (o *RoleDeleteListNotFound) Error() string
- func (o *RoleDeleteListNotFound) GetPayload() *models.Response
- func (o *RoleDeleteListNotFound) IsClientError() bool
- func (o *RoleDeleteListNotFound) IsCode(code int) bool
- func (o *RoleDeleteListNotFound) IsRedirect() bool
- func (o *RoleDeleteListNotFound) IsServerError() bool
- func (o *RoleDeleteListNotFound) IsSuccess() bool
- func (o *RoleDeleteListNotFound) String() string
- type RoleDeleteListOK
- func (o *RoleDeleteListOK) Code() int
- func (o *RoleDeleteListOK) Error() string
- func (o *RoleDeleteListOK) GetPayload() *models.Response
- func (o *RoleDeleteListOK) IsClientError() bool
- func (o *RoleDeleteListOK) IsCode(code int) bool
- func (o *RoleDeleteListOK) IsRedirect() bool
- func (o *RoleDeleteListOK) IsServerError() bool
- func (o *RoleDeleteListOK) IsSuccess() bool
- func (o *RoleDeleteListOK) String() string
- type RoleDeleteListParams
- func NewRoleDeleteListParams() *RoleDeleteListParams
- func NewRoleDeleteListParamsWithContext(ctx context.Context) *RoleDeleteListParams
- func NewRoleDeleteListParamsWithHTTPClient(client *http.Client) *RoleDeleteListParams
- func NewRoleDeleteListParamsWithTimeout(timeout time.Duration) *RoleDeleteListParams
- func (o *RoleDeleteListParams) SetApplication(application string)
- func (o *RoleDeleteListParams) SetContext(ctx context.Context)
- func (o *RoleDeleteListParams) SetDefaults()
- func (o *RoleDeleteListParams) SetHTTPClient(client *http.Client)
- func (o *RoleDeleteListParams) SetID(id []string)
- func (o *RoleDeleteListParams) SetTimeout(timeout time.Duration)
- func (o *RoleDeleteListParams) WithApplication(application string) *RoleDeleteListParams
- func (o *RoleDeleteListParams) WithContext(ctx context.Context) *RoleDeleteListParams
- func (o *RoleDeleteListParams) WithDefaults() *RoleDeleteListParams
- func (o *RoleDeleteListParams) WithHTTPClient(client *http.Client) *RoleDeleteListParams
- func (o *RoleDeleteListParams) WithID(id []string) *RoleDeleteListParams
- func (o *RoleDeleteListParams) WithTimeout(timeout time.Duration) *RoleDeleteListParams
- func (o *RoleDeleteListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RoleDeleteListReader
- type RoleDeleteListUnauthorized
- func (o *RoleDeleteListUnauthorized) Code() int
- func (o *RoleDeleteListUnauthorized) Error() string
- func (o *RoleDeleteListUnauthorized) GetPayload() *models.Response
- func (o *RoleDeleteListUnauthorized) IsClientError() bool
- func (o *RoleDeleteListUnauthorized) IsCode(code int) bool
- func (o *RoleDeleteListUnauthorized) IsRedirect() bool
- func (o *RoleDeleteListUnauthorized) IsServerError() bool
- func (o *RoleDeleteListUnauthorized) IsSuccess() bool
- func (o *RoleDeleteListUnauthorized) String() string
- type RoleFindByIDBadRequest
- func (o *RoleFindByIDBadRequest) Code() int
- func (o *RoleFindByIDBadRequest) Error() string
- func (o *RoleFindByIDBadRequest) GetPayload() *models.Response
- func (o *RoleFindByIDBadRequest) IsClientError() bool
- func (o *RoleFindByIDBadRequest) IsCode(code int) bool
- func (o *RoleFindByIDBadRequest) IsRedirect() bool
- func (o *RoleFindByIDBadRequest) IsServerError() bool
- func (o *RoleFindByIDBadRequest) IsSuccess() bool
- func (o *RoleFindByIDBadRequest) String() string
- type RoleFindByIDInternalServerError
- func (o *RoleFindByIDInternalServerError) Code() int
- func (o *RoleFindByIDInternalServerError) Error() string
- func (o *RoleFindByIDInternalServerError) GetPayload() *models.Response
- func (o *RoleFindByIDInternalServerError) IsClientError() bool
- func (o *RoleFindByIDInternalServerError) IsCode(code int) bool
- func (o *RoleFindByIDInternalServerError) IsRedirect() bool
- func (o *RoleFindByIDInternalServerError) IsServerError() bool
- func (o *RoleFindByIDInternalServerError) IsSuccess() bool
- func (o *RoleFindByIDInternalServerError) String() string
- type RoleFindByIDNotFound
- func (o *RoleFindByIDNotFound) Code() int
- func (o *RoleFindByIDNotFound) Error() string
- func (o *RoleFindByIDNotFound) GetPayload() *models.Response
- func (o *RoleFindByIDNotFound) IsClientError() bool
- func (o *RoleFindByIDNotFound) IsCode(code int) bool
- func (o *RoleFindByIDNotFound) IsRedirect() bool
- func (o *RoleFindByIDNotFound) IsServerError() bool
- func (o *RoleFindByIDNotFound) IsSuccess() bool
- func (o *RoleFindByIDNotFound) String() string
- type RoleFindByIDOK
- func (o *RoleFindByIDOK) Code() int
- func (o *RoleFindByIDOK) Error() string
- func (o *RoleFindByIDOK) GetPayload() *models.RoleFindResponse
- func (o *RoleFindByIDOK) IsClientError() bool
- func (o *RoleFindByIDOK) IsCode(code int) bool
- func (o *RoleFindByIDOK) IsRedirect() bool
- func (o *RoleFindByIDOK) IsServerError() bool
- func (o *RoleFindByIDOK) IsSuccess() bool
- func (o *RoleFindByIDOK) String() string
- type RoleFindByIDParams
- func (o *RoleFindByIDParams) SetApplication(application string)
- func (o *RoleFindByIDParams) SetContext(ctx context.Context)
- func (o *RoleFindByIDParams) SetDefaults()
- func (o *RoleFindByIDParams) SetHTTPClient(client *http.Client)
- func (o *RoleFindByIDParams) SetObjectID(objectID *string)
- func (o *RoleFindByIDParams) SetRoleID(roleID *string)
- func (o *RoleFindByIDParams) SetRoleTypeID(roleTypeID *string)
- func (o *RoleFindByIDParams) SetTimeout(timeout time.Duration)
- func (o *RoleFindByIDParams) WithApplication(application string) *RoleFindByIDParams
- func (o *RoleFindByIDParams) WithContext(ctx context.Context) *RoleFindByIDParams
- func (o *RoleFindByIDParams) WithDefaults() *RoleFindByIDParams
- func (o *RoleFindByIDParams) WithHTTPClient(client *http.Client) *RoleFindByIDParams
- func (o *RoleFindByIDParams) WithObjectID(objectID *string) *RoleFindByIDParams
- func (o *RoleFindByIDParams) WithRoleID(roleID *string) *RoleFindByIDParams
- func (o *RoleFindByIDParams) WithRoleTypeID(roleTypeID *string) *RoleFindByIDParams
- func (o *RoleFindByIDParams) WithTimeout(timeout time.Duration) *RoleFindByIDParams
- func (o *RoleFindByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RoleFindByIDReader
- type RoleFindByIDUnauthorized
- func (o *RoleFindByIDUnauthorized) Code() int
- func (o *RoleFindByIDUnauthorized) Error() string
- func (o *RoleFindByIDUnauthorized) GetPayload() *models.Response
- func (o *RoleFindByIDUnauthorized) IsClientError() bool
- func (o *RoleFindByIDUnauthorized) IsCode(code int) bool
- func (o *RoleFindByIDUnauthorized) IsRedirect() bool
- func (o *RoleFindByIDUnauthorized) IsServerError() bool
- func (o *RoleFindByIDUnauthorized) IsSuccess() bool
- func (o *RoleFindByIDUnauthorized) String() string
- type RoleTypeFindBadRequest
- func (o *RoleTypeFindBadRequest) Code() int
- func (o *RoleTypeFindBadRequest) Error() string
- func (o *RoleTypeFindBadRequest) GetPayload() *models.Response
- func (o *RoleTypeFindBadRequest) IsClientError() bool
- func (o *RoleTypeFindBadRequest) IsCode(code int) bool
- func (o *RoleTypeFindBadRequest) IsRedirect() bool
- func (o *RoleTypeFindBadRequest) IsServerError() bool
- func (o *RoleTypeFindBadRequest) IsSuccess() bool
- func (o *RoleTypeFindBadRequest) String() string
- type RoleTypeFindInternalServerError
- func (o *RoleTypeFindInternalServerError) Code() int
- func (o *RoleTypeFindInternalServerError) Error() string
- func (o *RoleTypeFindInternalServerError) GetPayload() *models.Response
- func (o *RoleTypeFindInternalServerError) IsClientError() bool
- func (o *RoleTypeFindInternalServerError) IsCode(code int) bool
- func (o *RoleTypeFindInternalServerError) IsRedirect() bool
- func (o *RoleTypeFindInternalServerError) IsServerError() bool
- func (o *RoleTypeFindInternalServerError) IsSuccess() bool
- func (o *RoleTypeFindInternalServerError) String() string
- type RoleTypeFindNotFound
- func (o *RoleTypeFindNotFound) Code() int
- func (o *RoleTypeFindNotFound) Error() string
- func (o *RoleTypeFindNotFound) GetPayload() *models.Response
- func (o *RoleTypeFindNotFound) IsClientError() bool
- func (o *RoleTypeFindNotFound) IsCode(code int) bool
- func (o *RoleTypeFindNotFound) IsRedirect() bool
- func (o *RoleTypeFindNotFound) IsServerError() bool
- func (o *RoleTypeFindNotFound) IsSuccess() bool
- func (o *RoleTypeFindNotFound) String() string
- type RoleTypeFindOK
- func (o *RoleTypeFindOK) Code() int
- func (o *RoleTypeFindOK) Error() string
- func (o *RoleTypeFindOK) GetPayload() *models.RoleTypeFindResponse
- func (o *RoleTypeFindOK) IsClientError() bool
- func (o *RoleTypeFindOK) IsCode(code int) bool
- func (o *RoleTypeFindOK) IsRedirect() bool
- func (o *RoleTypeFindOK) IsServerError() bool
- func (o *RoleTypeFindOK) IsSuccess() bool
- func (o *RoleTypeFindOK) String() string
- type RoleTypeFindParams
- func (o *RoleTypeFindParams) SetApplication(application string)
- func (o *RoleTypeFindParams) SetContext(ctx context.Context)
- func (o *RoleTypeFindParams) SetDefaults()
- func (o *RoleTypeFindParams) SetHTTPClient(client *http.Client)
- func (o *RoleTypeFindParams) SetTimeout(timeout time.Duration)
- func (o *RoleTypeFindParams) WithApplication(application string) *RoleTypeFindParams
- func (o *RoleTypeFindParams) WithContext(ctx context.Context) *RoleTypeFindParams
- func (o *RoleTypeFindParams) WithDefaults() *RoleTypeFindParams
- func (o *RoleTypeFindParams) WithHTTPClient(client *http.Client) *RoleTypeFindParams
- func (o *RoleTypeFindParams) WithTimeout(timeout time.Duration) *RoleTypeFindParams
- func (o *RoleTypeFindParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RoleTypeFindReader
- type RoleTypeFindUnauthorized
- func (o *RoleTypeFindUnauthorized) Code() int
- func (o *RoleTypeFindUnauthorized) Error() string
- func (o *RoleTypeFindUnauthorized) GetPayload() *models.Response
- func (o *RoleTypeFindUnauthorized) IsClientError() bool
- func (o *RoleTypeFindUnauthorized) IsCode(code int) bool
- func (o *RoleTypeFindUnauthorized) IsRedirect() bool
- func (o *RoleTypeFindUnauthorized) IsServerError() bool
- func (o *RoleTypeFindUnauthorized) IsSuccess() bool
- func (o *RoleTypeFindUnauthorized) 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 role API
func (*Client) RoleAdd ¶
func (a *Client) RoleAdd(params *RoleAddParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RoleAddOK, error)
RoleAdd adds role assignments to a c e d a r application this interface takes in object Id role type Id a n d either assignee Id assignee user name or assignee org Id are required
Add role assignments to a CEDAR application. This interface takes in objectId, roleTypeId AND either assigneeId, assigneeUserName or assigneeOrgId are required.
func (*Client) RoleDeleteList ¶
func (a *Client) RoleDeleteList(params *RoleDeleteListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RoleDeleteListOK, error)
RoleDeleteList deletes a list of role assignments by ID this interface takes an application name and an array of role ids
Deletes a list of role assignments by ID. This interface takes an application name and an array of roleIds.
func (*Client) RoleFindByID ¶
func (a *Client) RoleFindByID(params *RoleFindByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RoleFindByIDOK, error)
RoleFindByID finds a list of role assignments based on an object s ID and or role type
Finds a list of role assignments based on an object's ID. If objectId and roleTypeId are both provided, a list of role assignments for only those specific role type IDs are returned. If roleId is provided, then objectId and roleTypeId should not be provided and a specific role assignment is returned.
func (*Client) RoleTypeFind ¶
func (a *Client) RoleTypeFind(params *RoleTypeFindParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RoleTypeFindOK, error)
RoleTypeFind finds a list of role types available within an application this interface takes in application
Finds a list of role types available within an application. This interface takes in application.
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 { RoleAdd(params *RoleAddParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RoleAddOK, error) RoleDeleteList(params *RoleDeleteListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RoleDeleteListOK, error) RoleFindByID(params *RoleFindByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RoleFindByIDOK, error) RoleTypeFind(params *RoleTypeFindParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RoleTypeFindOK, 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 role API client.
type RoleAddBadRequest ¶
RoleAddBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewRoleAddBadRequest ¶
func NewRoleAddBadRequest() *RoleAddBadRequest
NewRoleAddBadRequest creates a RoleAddBadRequest with default headers values
func (*RoleAddBadRequest) Code ¶
func (o *RoleAddBadRequest) Code() int
Code gets the status code for the role add bad request response
func (*RoleAddBadRequest) Error ¶
func (o *RoleAddBadRequest) Error() string
func (*RoleAddBadRequest) GetPayload ¶
func (o *RoleAddBadRequest) GetPayload() *models.Response
func (*RoleAddBadRequest) IsClientError ¶
func (o *RoleAddBadRequest) IsClientError() bool
IsClientError returns true when this role add bad request response has a 4xx status code
func (*RoleAddBadRequest) IsCode ¶
func (o *RoleAddBadRequest) IsCode(code int) bool
IsCode returns true when this role add bad request response a status code equal to that given
func (*RoleAddBadRequest) IsRedirect ¶
func (o *RoleAddBadRequest) IsRedirect() bool
IsRedirect returns true when this role add bad request response has a 3xx status code
func (*RoleAddBadRequest) IsServerError ¶
func (o *RoleAddBadRequest) IsServerError() bool
IsServerError returns true when this role add bad request response has a 5xx status code
func (*RoleAddBadRequest) IsSuccess ¶
func (o *RoleAddBadRequest) IsSuccess() bool
IsSuccess returns true when this role add bad request response has a 2xx status code
func (*RoleAddBadRequest) String ¶
func (o *RoleAddBadRequest) String() string
type RoleAddInternalServerError ¶
RoleAddInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewRoleAddInternalServerError ¶
func NewRoleAddInternalServerError() *RoleAddInternalServerError
NewRoleAddInternalServerError creates a RoleAddInternalServerError with default headers values
func (*RoleAddInternalServerError) Code ¶
func (o *RoleAddInternalServerError) Code() int
Code gets the status code for the role add internal server error response
func (*RoleAddInternalServerError) Error ¶
func (o *RoleAddInternalServerError) Error() string
func (*RoleAddInternalServerError) GetPayload ¶
func (o *RoleAddInternalServerError) GetPayload() *models.Response
func (*RoleAddInternalServerError) IsClientError ¶
func (o *RoleAddInternalServerError) IsClientError() bool
IsClientError returns true when this role add internal server error response has a 4xx status code
func (*RoleAddInternalServerError) IsCode ¶
func (o *RoleAddInternalServerError) IsCode(code int) bool
IsCode returns true when this role add internal server error response a status code equal to that given
func (*RoleAddInternalServerError) IsRedirect ¶
func (o *RoleAddInternalServerError) IsRedirect() bool
IsRedirect returns true when this role add internal server error response has a 3xx status code
func (*RoleAddInternalServerError) IsServerError ¶
func (o *RoleAddInternalServerError) IsServerError() bool
IsServerError returns true when this role add internal server error response has a 5xx status code
func (*RoleAddInternalServerError) IsSuccess ¶
func (o *RoleAddInternalServerError) IsSuccess() bool
IsSuccess returns true when this role add internal server error response has a 2xx status code
func (*RoleAddInternalServerError) String ¶
func (o *RoleAddInternalServerError) String() string
type RoleAddOK ¶
RoleAddOK describes a response with status code 200, with default header values.
OK
func NewRoleAddOK ¶
func NewRoleAddOK() *RoleAddOK
NewRoleAddOK creates a RoleAddOK with default headers values
func (*RoleAddOK) GetPayload ¶
func (*RoleAddOK) IsClientError ¶
IsClientError returns true when this role add o k response has a 4xx status code
func (*RoleAddOK) IsCode ¶
IsCode returns true when this role add o k response a status code equal to that given
func (*RoleAddOK) IsRedirect ¶
IsRedirect returns true when this role add o k response has a 3xx status code
func (*RoleAddOK) IsServerError ¶
IsServerError returns true when this role add o k response has a 5xx status code
type RoleAddParams ¶
type RoleAddParams struct { /* Body. Role assignment information to be added to a CEDAR application. */ Body *models.RoleAddRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RoleAddParams contains all the parameters to send to the API endpoint
for the role add operation. Typically these are written to a http.Request.
func NewRoleAddParams ¶
func NewRoleAddParams() *RoleAddParams
NewRoleAddParams creates a new RoleAddParams 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 NewRoleAddParamsWithContext ¶
func NewRoleAddParamsWithContext(ctx context.Context) *RoleAddParams
NewRoleAddParamsWithContext creates a new RoleAddParams object with the ability to set a context for a request.
func NewRoleAddParamsWithHTTPClient ¶
func NewRoleAddParamsWithHTTPClient(client *http.Client) *RoleAddParams
NewRoleAddParamsWithHTTPClient creates a new RoleAddParams object with the ability to set a custom HTTPClient for a request.
func NewRoleAddParamsWithTimeout ¶
func NewRoleAddParamsWithTimeout(timeout time.Duration) *RoleAddParams
NewRoleAddParamsWithTimeout creates a new RoleAddParams object with the ability to set a timeout on a request.
func (*RoleAddParams) SetBody ¶
func (o *RoleAddParams) SetBody(body *models.RoleAddRequest)
SetBody adds the body to the role add params
func (*RoleAddParams) SetContext ¶
func (o *RoleAddParams) SetContext(ctx context.Context)
SetContext adds the context to the role add params
func (*RoleAddParams) SetDefaults ¶
func (o *RoleAddParams) SetDefaults()
SetDefaults hydrates default values in the role add params (not the query body).
All values with no default are reset to their zero value.
func (*RoleAddParams) SetHTTPClient ¶
func (o *RoleAddParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the role add params
func (*RoleAddParams) SetTimeout ¶
func (o *RoleAddParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the role add params
func (*RoleAddParams) WithBody ¶
func (o *RoleAddParams) WithBody(body *models.RoleAddRequest) *RoleAddParams
WithBody adds the body to the role add params
func (*RoleAddParams) WithContext ¶
func (o *RoleAddParams) WithContext(ctx context.Context) *RoleAddParams
WithContext adds the context to the role add params
func (*RoleAddParams) WithDefaults ¶
func (o *RoleAddParams) WithDefaults() *RoleAddParams
WithDefaults hydrates default values in the role add params (not the query body).
All values with no default are reset to their zero value.
func (*RoleAddParams) WithHTTPClient ¶
func (o *RoleAddParams) WithHTTPClient(client *http.Client) *RoleAddParams
WithHTTPClient adds the HTTPClient to the role add params
func (*RoleAddParams) WithTimeout ¶
func (o *RoleAddParams) WithTimeout(timeout time.Duration) *RoleAddParams
WithTimeout adds the timeout to the role add params
func (*RoleAddParams) WriteToRequest ¶
func (o *RoleAddParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RoleAddReader ¶
type RoleAddReader struct {
// contains filtered or unexported fields
}
RoleAddReader is a Reader for the RoleAdd structure.
func (*RoleAddReader) ReadResponse ¶
func (o *RoleAddReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RoleAddUnauthorized ¶
type RoleAddUnauthorized struct {
}RoleAddUnauthorized describes a response with status code 401, with default header values.
Access Denied
func NewRoleAddUnauthorized ¶
func NewRoleAddUnauthorized() *RoleAddUnauthorized
NewRoleAddUnauthorized creates a RoleAddUnauthorized with default headers values
func (*RoleAddUnauthorized) Code ¶
func (o *RoleAddUnauthorized) Code() int
Code gets the status code for the role add unauthorized response
func (*RoleAddUnauthorized) Error ¶
func (o *RoleAddUnauthorized) Error() string
func (*RoleAddUnauthorized) GetPayload ¶
func (o *RoleAddUnauthorized) GetPayload() *models.Response
func (*RoleAddUnauthorized) IsClientError ¶
func (o *RoleAddUnauthorized) IsClientError() bool
IsClientError returns true when this role add unauthorized response has a 4xx status code
func (*RoleAddUnauthorized) IsCode ¶
func (o *RoleAddUnauthorized) IsCode(code int) bool
IsCode returns true when this role add unauthorized response a status code equal to that given
func (*RoleAddUnauthorized) IsRedirect ¶
func (o *RoleAddUnauthorized) IsRedirect() bool
IsRedirect returns true when this role add unauthorized response has a 3xx status code
func (*RoleAddUnauthorized) IsServerError ¶
func (o *RoleAddUnauthorized) IsServerError() bool
IsServerError returns true when this role add unauthorized response has a 5xx status code
func (*RoleAddUnauthorized) IsSuccess ¶
func (o *RoleAddUnauthorized) IsSuccess() bool
IsSuccess returns true when this role add unauthorized response has a 2xx status code
func (*RoleAddUnauthorized) String ¶
func (o *RoleAddUnauthorized) String() string
type RoleDeleteListBadRequest ¶
RoleDeleteListBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewRoleDeleteListBadRequest ¶
func NewRoleDeleteListBadRequest() *RoleDeleteListBadRequest
NewRoleDeleteListBadRequest creates a RoleDeleteListBadRequest with default headers values
func (*RoleDeleteListBadRequest) Code ¶
func (o *RoleDeleteListBadRequest) Code() int
Code gets the status code for the role delete list bad request response
func (*RoleDeleteListBadRequest) Error ¶
func (o *RoleDeleteListBadRequest) Error() string
func (*RoleDeleteListBadRequest) GetPayload ¶
func (o *RoleDeleteListBadRequest) GetPayload() *models.Response
func (*RoleDeleteListBadRequest) IsClientError ¶
func (o *RoleDeleteListBadRequest) IsClientError() bool
IsClientError returns true when this role delete list bad request response has a 4xx status code
func (*RoleDeleteListBadRequest) IsCode ¶
func (o *RoleDeleteListBadRequest) IsCode(code int) bool
IsCode returns true when this role delete list bad request response a status code equal to that given
func (*RoleDeleteListBadRequest) IsRedirect ¶
func (o *RoleDeleteListBadRequest) IsRedirect() bool
IsRedirect returns true when this role delete list bad request response has a 3xx status code
func (*RoleDeleteListBadRequest) IsServerError ¶
func (o *RoleDeleteListBadRequest) IsServerError() bool
IsServerError returns true when this role delete list bad request response has a 5xx status code
func (*RoleDeleteListBadRequest) IsSuccess ¶
func (o *RoleDeleteListBadRequest) IsSuccess() bool
IsSuccess returns true when this role delete list bad request response has a 2xx status code
func (*RoleDeleteListBadRequest) String ¶
func (o *RoleDeleteListBadRequest) String() string
type RoleDeleteListInternalServerError ¶
RoleDeleteListInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewRoleDeleteListInternalServerError ¶
func NewRoleDeleteListInternalServerError() *RoleDeleteListInternalServerError
NewRoleDeleteListInternalServerError creates a RoleDeleteListInternalServerError with default headers values
func (*RoleDeleteListInternalServerError) Code ¶
func (o *RoleDeleteListInternalServerError) Code() int
Code gets the status code for the role delete list internal server error response
func (*RoleDeleteListInternalServerError) Error ¶
func (o *RoleDeleteListInternalServerError) Error() string
func (*RoleDeleteListInternalServerError) GetPayload ¶
func (o *RoleDeleteListInternalServerError) GetPayload() *models.Response
func (*RoleDeleteListInternalServerError) IsClientError ¶
func (o *RoleDeleteListInternalServerError) IsClientError() bool
IsClientError returns true when this role delete list internal server error response has a 4xx status code
func (*RoleDeleteListInternalServerError) IsCode ¶
func (o *RoleDeleteListInternalServerError) IsCode(code int) bool
IsCode returns true when this role delete list internal server error response a status code equal to that given
func (*RoleDeleteListInternalServerError) IsRedirect ¶
func (o *RoleDeleteListInternalServerError) IsRedirect() bool
IsRedirect returns true when this role delete list internal server error response has a 3xx status code
func (*RoleDeleteListInternalServerError) IsServerError ¶
func (o *RoleDeleteListInternalServerError) IsServerError() bool
IsServerError returns true when this role delete list internal server error response has a 5xx status code
func (*RoleDeleteListInternalServerError) IsSuccess ¶
func (o *RoleDeleteListInternalServerError) IsSuccess() bool
IsSuccess returns true when this role delete list internal server error response has a 2xx status code
func (*RoleDeleteListInternalServerError) String ¶
func (o *RoleDeleteListInternalServerError) String() string
type RoleDeleteListNotFound ¶
RoleDeleteListNotFound describes a response with status code 404, with default header values.
Not Found
func NewRoleDeleteListNotFound ¶
func NewRoleDeleteListNotFound() *RoleDeleteListNotFound
NewRoleDeleteListNotFound creates a RoleDeleteListNotFound with default headers values
func (*RoleDeleteListNotFound) Code ¶
func (o *RoleDeleteListNotFound) Code() int
Code gets the status code for the role delete list not found response
func (*RoleDeleteListNotFound) Error ¶
func (o *RoleDeleteListNotFound) Error() string
func (*RoleDeleteListNotFound) GetPayload ¶
func (o *RoleDeleteListNotFound) GetPayload() *models.Response
func (*RoleDeleteListNotFound) IsClientError ¶
func (o *RoleDeleteListNotFound) IsClientError() bool
IsClientError returns true when this role delete list not found response has a 4xx status code
func (*RoleDeleteListNotFound) IsCode ¶
func (o *RoleDeleteListNotFound) IsCode(code int) bool
IsCode returns true when this role delete list not found response a status code equal to that given
func (*RoleDeleteListNotFound) IsRedirect ¶
func (o *RoleDeleteListNotFound) IsRedirect() bool
IsRedirect returns true when this role delete list not found response has a 3xx status code
func (*RoleDeleteListNotFound) IsServerError ¶
func (o *RoleDeleteListNotFound) IsServerError() bool
IsServerError returns true when this role delete list not found response has a 5xx status code
func (*RoleDeleteListNotFound) IsSuccess ¶
func (o *RoleDeleteListNotFound) IsSuccess() bool
IsSuccess returns true when this role delete list not found response has a 2xx status code
func (*RoleDeleteListNotFound) String ¶
func (o *RoleDeleteListNotFound) String() string
type RoleDeleteListOK ¶
RoleDeleteListOK describes a response with status code 200, with default header values.
OK
func NewRoleDeleteListOK ¶
func NewRoleDeleteListOK() *RoleDeleteListOK
NewRoleDeleteListOK creates a RoleDeleteListOK with default headers values
func (*RoleDeleteListOK) Code ¶
func (o *RoleDeleteListOK) Code() int
Code gets the status code for the role delete list o k response
func (*RoleDeleteListOK) Error ¶
func (o *RoleDeleteListOK) Error() string
func (*RoleDeleteListOK) GetPayload ¶
func (o *RoleDeleteListOK) GetPayload() *models.Response
func (*RoleDeleteListOK) IsClientError ¶
func (o *RoleDeleteListOK) IsClientError() bool
IsClientError returns true when this role delete list o k response has a 4xx status code
func (*RoleDeleteListOK) IsCode ¶
func (o *RoleDeleteListOK) IsCode(code int) bool
IsCode returns true when this role delete list o k response a status code equal to that given
func (*RoleDeleteListOK) IsRedirect ¶
func (o *RoleDeleteListOK) IsRedirect() bool
IsRedirect returns true when this role delete list o k response has a 3xx status code
func (*RoleDeleteListOK) IsServerError ¶
func (o *RoleDeleteListOK) IsServerError() bool
IsServerError returns true when this role delete list o k response has a 5xx status code
func (*RoleDeleteListOK) IsSuccess ¶
func (o *RoleDeleteListOK) IsSuccess() bool
IsSuccess returns true when this role delete list o k response has a 2xx status code
func (*RoleDeleteListOK) String ¶
func (o *RoleDeleteListOK) String() string
type RoleDeleteListParams ¶
type RoleDeleteListParams struct { /* Application. The application where the role assignment should be deleted */ Application string /* ID. An ID of a role assignment within a specific application */ ID []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RoleDeleteListParams contains all the parameters to send to the API endpoint
for the role delete list operation. Typically these are written to a http.Request.
func NewRoleDeleteListParams ¶
func NewRoleDeleteListParams() *RoleDeleteListParams
NewRoleDeleteListParams creates a new RoleDeleteListParams 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 NewRoleDeleteListParamsWithContext ¶
func NewRoleDeleteListParamsWithContext(ctx context.Context) *RoleDeleteListParams
NewRoleDeleteListParamsWithContext creates a new RoleDeleteListParams object with the ability to set a context for a request.
func NewRoleDeleteListParamsWithHTTPClient ¶
func NewRoleDeleteListParamsWithHTTPClient(client *http.Client) *RoleDeleteListParams
NewRoleDeleteListParamsWithHTTPClient creates a new RoleDeleteListParams object with the ability to set a custom HTTPClient for a request.
func NewRoleDeleteListParamsWithTimeout ¶
func NewRoleDeleteListParamsWithTimeout(timeout time.Duration) *RoleDeleteListParams
NewRoleDeleteListParamsWithTimeout creates a new RoleDeleteListParams object with the ability to set a timeout on a request.
func (*RoleDeleteListParams) SetApplication ¶
func (o *RoleDeleteListParams) SetApplication(application string)
SetApplication adds the application to the role delete list params
func (*RoleDeleteListParams) SetContext ¶
func (o *RoleDeleteListParams) SetContext(ctx context.Context)
SetContext adds the context to the role delete list params
func (*RoleDeleteListParams) SetDefaults ¶
func (o *RoleDeleteListParams) SetDefaults()
SetDefaults hydrates default values in the role delete list params (not the query body).
All values with no default are reset to their zero value.
func (*RoleDeleteListParams) SetHTTPClient ¶
func (o *RoleDeleteListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the role delete list params
func (*RoleDeleteListParams) SetID ¶
func (o *RoleDeleteListParams) SetID(id []string)
SetID adds the id to the role delete list params
func (*RoleDeleteListParams) SetTimeout ¶
func (o *RoleDeleteListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the role delete list params
func (*RoleDeleteListParams) WithApplication ¶
func (o *RoleDeleteListParams) WithApplication(application string) *RoleDeleteListParams
WithApplication adds the application to the role delete list params
func (*RoleDeleteListParams) WithContext ¶
func (o *RoleDeleteListParams) WithContext(ctx context.Context) *RoleDeleteListParams
WithContext adds the context to the role delete list params
func (*RoleDeleteListParams) WithDefaults ¶
func (o *RoleDeleteListParams) WithDefaults() *RoleDeleteListParams
WithDefaults hydrates default values in the role delete list params (not the query body).
All values with no default are reset to their zero value.
func (*RoleDeleteListParams) WithHTTPClient ¶
func (o *RoleDeleteListParams) WithHTTPClient(client *http.Client) *RoleDeleteListParams
WithHTTPClient adds the HTTPClient to the role delete list params
func (*RoleDeleteListParams) WithID ¶
func (o *RoleDeleteListParams) WithID(id []string) *RoleDeleteListParams
WithID adds the id to the role delete list params
func (*RoleDeleteListParams) WithTimeout ¶
func (o *RoleDeleteListParams) WithTimeout(timeout time.Duration) *RoleDeleteListParams
WithTimeout adds the timeout to the role delete list params
func (*RoleDeleteListParams) WriteToRequest ¶
func (o *RoleDeleteListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RoleDeleteListReader ¶
type RoleDeleteListReader struct {
// contains filtered or unexported fields
}
RoleDeleteListReader is a Reader for the RoleDeleteList structure.
func (*RoleDeleteListReader) ReadResponse ¶
func (o *RoleDeleteListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RoleDeleteListUnauthorized ¶
type RoleDeleteListUnauthorized struct {
}RoleDeleteListUnauthorized describes a response with status code 401, with default header values.
Access Denied
func NewRoleDeleteListUnauthorized ¶
func NewRoleDeleteListUnauthorized() *RoleDeleteListUnauthorized
NewRoleDeleteListUnauthorized creates a RoleDeleteListUnauthorized with default headers values
func (*RoleDeleteListUnauthorized) Code ¶
func (o *RoleDeleteListUnauthorized) Code() int
Code gets the status code for the role delete list unauthorized response
func (*RoleDeleteListUnauthorized) Error ¶
func (o *RoleDeleteListUnauthorized) Error() string
func (*RoleDeleteListUnauthorized) GetPayload ¶
func (o *RoleDeleteListUnauthorized) GetPayload() *models.Response
func (*RoleDeleteListUnauthorized) IsClientError ¶
func (o *RoleDeleteListUnauthorized) IsClientError() bool
IsClientError returns true when this role delete list unauthorized response has a 4xx status code
func (*RoleDeleteListUnauthorized) IsCode ¶
func (o *RoleDeleteListUnauthorized) IsCode(code int) bool
IsCode returns true when this role delete list unauthorized response a status code equal to that given
func (*RoleDeleteListUnauthorized) IsRedirect ¶
func (o *RoleDeleteListUnauthorized) IsRedirect() bool
IsRedirect returns true when this role delete list unauthorized response has a 3xx status code
func (*RoleDeleteListUnauthorized) IsServerError ¶
func (o *RoleDeleteListUnauthorized) IsServerError() bool
IsServerError returns true when this role delete list unauthorized response has a 5xx status code
func (*RoleDeleteListUnauthorized) IsSuccess ¶
func (o *RoleDeleteListUnauthorized) IsSuccess() bool
IsSuccess returns true when this role delete list unauthorized response has a 2xx status code
func (*RoleDeleteListUnauthorized) String ¶
func (o *RoleDeleteListUnauthorized) String() string
type RoleFindByIDBadRequest ¶
RoleFindByIDBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewRoleFindByIDBadRequest ¶
func NewRoleFindByIDBadRequest() *RoleFindByIDBadRequest
NewRoleFindByIDBadRequest creates a RoleFindByIDBadRequest with default headers values
func (*RoleFindByIDBadRequest) Code ¶
func (o *RoleFindByIDBadRequest) Code() int
Code gets the status code for the role find by Id bad request response
func (*RoleFindByIDBadRequest) Error ¶
func (o *RoleFindByIDBadRequest) Error() string
func (*RoleFindByIDBadRequest) GetPayload ¶
func (o *RoleFindByIDBadRequest) GetPayload() *models.Response
func (*RoleFindByIDBadRequest) IsClientError ¶
func (o *RoleFindByIDBadRequest) IsClientError() bool
IsClientError returns true when this role find by Id bad request response has a 4xx status code
func (*RoleFindByIDBadRequest) IsCode ¶
func (o *RoleFindByIDBadRequest) IsCode(code int) bool
IsCode returns true when this role find by Id bad request response a status code equal to that given
func (*RoleFindByIDBadRequest) IsRedirect ¶
func (o *RoleFindByIDBadRequest) IsRedirect() bool
IsRedirect returns true when this role find by Id bad request response has a 3xx status code
func (*RoleFindByIDBadRequest) IsServerError ¶
func (o *RoleFindByIDBadRequest) IsServerError() bool
IsServerError returns true when this role find by Id bad request response has a 5xx status code
func (*RoleFindByIDBadRequest) IsSuccess ¶
func (o *RoleFindByIDBadRequest) IsSuccess() bool
IsSuccess returns true when this role find by Id bad request response has a 2xx status code
func (*RoleFindByIDBadRequest) String ¶
func (o *RoleFindByIDBadRequest) String() string
type RoleFindByIDInternalServerError ¶
RoleFindByIDInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewRoleFindByIDInternalServerError ¶
func NewRoleFindByIDInternalServerError() *RoleFindByIDInternalServerError
NewRoleFindByIDInternalServerError creates a RoleFindByIDInternalServerError with default headers values
func (*RoleFindByIDInternalServerError) Code ¶
func (o *RoleFindByIDInternalServerError) Code() int
Code gets the status code for the role find by Id internal server error response
func (*RoleFindByIDInternalServerError) Error ¶
func (o *RoleFindByIDInternalServerError) Error() string
func (*RoleFindByIDInternalServerError) GetPayload ¶
func (o *RoleFindByIDInternalServerError) GetPayload() *models.Response
func (*RoleFindByIDInternalServerError) IsClientError ¶
func (o *RoleFindByIDInternalServerError) IsClientError() bool
IsClientError returns true when this role find by Id internal server error response has a 4xx status code
func (*RoleFindByIDInternalServerError) IsCode ¶
func (o *RoleFindByIDInternalServerError) IsCode(code int) bool
IsCode returns true when this role find by Id internal server error response a status code equal to that given
func (*RoleFindByIDInternalServerError) IsRedirect ¶
func (o *RoleFindByIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this role find by Id internal server error response has a 3xx status code
func (*RoleFindByIDInternalServerError) IsServerError ¶
func (o *RoleFindByIDInternalServerError) IsServerError() bool
IsServerError returns true when this role find by Id internal server error response has a 5xx status code
func (*RoleFindByIDInternalServerError) IsSuccess ¶
func (o *RoleFindByIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this role find by Id internal server error response has a 2xx status code
func (*RoleFindByIDInternalServerError) String ¶
func (o *RoleFindByIDInternalServerError) String() string
type RoleFindByIDNotFound ¶
RoleFindByIDNotFound describes a response with status code 404, with default header values.
Not Found
func NewRoleFindByIDNotFound ¶
func NewRoleFindByIDNotFound() *RoleFindByIDNotFound
NewRoleFindByIDNotFound creates a RoleFindByIDNotFound with default headers values
func (*RoleFindByIDNotFound) Code ¶
func (o *RoleFindByIDNotFound) Code() int
Code gets the status code for the role find by Id not found response
func (*RoleFindByIDNotFound) Error ¶
func (o *RoleFindByIDNotFound) Error() string
func (*RoleFindByIDNotFound) GetPayload ¶
func (o *RoleFindByIDNotFound) GetPayload() *models.Response
func (*RoleFindByIDNotFound) IsClientError ¶
func (o *RoleFindByIDNotFound) IsClientError() bool
IsClientError returns true when this role find by Id not found response has a 4xx status code
func (*RoleFindByIDNotFound) IsCode ¶
func (o *RoleFindByIDNotFound) IsCode(code int) bool
IsCode returns true when this role find by Id not found response a status code equal to that given
func (*RoleFindByIDNotFound) IsRedirect ¶
func (o *RoleFindByIDNotFound) IsRedirect() bool
IsRedirect returns true when this role find by Id not found response has a 3xx status code
func (*RoleFindByIDNotFound) IsServerError ¶
func (o *RoleFindByIDNotFound) IsServerError() bool
IsServerError returns true when this role find by Id not found response has a 5xx status code
func (*RoleFindByIDNotFound) IsSuccess ¶
func (o *RoleFindByIDNotFound) IsSuccess() bool
IsSuccess returns true when this role find by Id not found response has a 2xx status code
func (*RoleFindByIDNotFound) String ¶
func (o *RoleFindByIDNotFound) String() string
type RoleFindByIDOK ¶
type RoleFindByIDOK struct {
Payload *models.RoleFindResponse
}
RoleFindByIDOK describes a response with status code 200, with default header values.
OK
func NewRoleFindByIDOK ¶
func NewRoleFindByIDOK() *RoleFindByIDOK
NewRoleFindByIDOK creates a RoleFindByIDOK with default headers values
func (*RoleFindByIDOK) Code ¶
func (o *RoleFindByIDOK) Code() int
Code gets the status code for the role find by Id o k response
func (*RoleFindByIDOK) Error ¶
func (o *RoleFindByIDOK) Error() string
func (*RoleFindByIDOK) GetPayload ¶
func (o *RoleFindByIDOK) GetPayload() *models.RoleFindResponse
func (*RoleFindByIDOK) IsClientError ¶
func (o *RoleFindByIDOK) IsClientError() bool
IsClientError returns true when this role find by Id o k response has a 4xx status code
func (*RoleFindByIDOK) IsCode ¶
func (o *RoleFindByIDOK) IsCode(code int) bool
IsCode returns true when this role find by Id o k response a status code equal to that given
func (*RoleFindByIDOK) IsRedirect ¶
func (o *RoleFindByIDOK) IsRedirect() bool
IsRedirect returns true when this role find by Id o k response has a 3xx status code
func (*RoleFindByIDOK) IsServerError ¶
func (o *RoleFindByIDOK) IsServerError() bool
IsServerError returns true when this role find by Id o k response has a 5xx status code
func (*RoleFindByIDOK) IsSuccess ¶
func (o *RoleFindByIDOK) IsSuccess() bool
IsSuccess returns true when this role find by Id o k response has a 2xx status code
func (*RoleFindByIDOK) String ¶
func (o *RoleFindByIDOK) String() string
type RoleFindByIDParams ¶
type RoleFindByIDParams struct { /* Application. Application where the object or role exists. */ Application string /* ObjectID. ID of the object that roles are assigned to. */ ObjectID *string /* RoleID. ID of a specific role assignment. */ RoleID *string /* RoleTypeID. ID of a specific role type to be returned. Used with objectId to limit search results. */ RoleTypeID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RoleFindByIDParams contains all the parameters to send to the API endpoint
for the role find by Id operation. Typically these are written to a http.Request.
func NewRoleFindByIDParams ¶
func NewRoleFindByIDParams() *RoleFindByIDParams
NewRoleFindByIDParams creates a new RoleFindByIDParams 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 NewRoleFindByIDParamsWithContext ¶
func NewRoleFindByIDParamsWithContext(ctx context.Context) *RoleFindByIDParams
NewRoleFindByIDParamsWithContext creates a new RoleFindByIDParams object with the ability to set a context for a request.
func NewRoleFindByIDParamsWithHTTPClient ¶
func NewRoleFindByIDParamsWithHTTPClient(client *http.Client) *RoleFindByIDParams
NewRoleFindByIDParamsWithHTTPClient creates a new RoleFindByIDParams object with the ability to set a custom HTTPClient for a request.
func NewRoleFindByIDParamsWithTimeout ¶
func NewRoleFindByIDParamsWithTimeout(timeout time.Duration) *RoleFindByIDParams
NewRoleFindByIDParamsWithTimeout creates a new RoleFindByIDParams object with the ability to set a timeout on a request.
func (*RoleFindByIDParams) SetApplication ¶
func (o *RoleFindByIDParams) SetApplication(application string)
SetApplication adds the application to the role find by Id params
func (*RoleFindByIDParams) SetContext ¶
func (o *RoleFindByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the role find by Id params
func (*RoleFindByIDParams) SetDefaults ¶
func (o *RoleFindByIDParams) SetDefaults()
SetDefaults hydrates default values in the role find by Id params (not the query body).
All values with no default are reset to their zero value.
func (*RoleFindByIDParams) SetHTTPClient ¶
func (o *RoleFindByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the role find by Id params
func (*RoleFindByIDParams) SetObjectID ¶
func (o *RoleFindByIDParams) SetObjectID(objectID *string)
SetObjectID adds the objectId to the role find by Id params
func (*RoleFindByIDParams) SetRoleID ¶
func (o *RoleFindByIDParams) SetRoleID(roleID *string)
SetRoleID adds the roleId to the role find by Id params
func (*RoleFindByIDParams) SetRoleTypeID ¶
func (o *RoleFindByIDParams) SetRoleTypeID(roleTypeID *string)
SetRoleTypeID adds the roleTypeId to the role find by Id params
func (*RoleFindByIDParams) SetTimeout ¶
func (o *RoleFindByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the role find by Id params
func (*RoleFindByIDParams) WithApplication ¶
func (o *RoleFindByIDParams) WithApplication(application string) *RoleFindByIDParams
WithApplication adds the application to the role find by Id params
func (*RoleFindByIDParams) WithContext ¶
func (o *RoleFindByIDParams) WithContext(ctx context.Context) *RoleFindByIDParams
WithContext adds the context to the role find by Id params
func (*RoleFindByIDParams) WithDefaults ¶
func (o *RoleFindByIDParams) WithDefaults() *RoleFindByIDParams
WithDefaults hydrates default values in the role find by Id params (not the query body).
All values with no default are reset to their zero value.
func (*RoleFindByIDParams) WithHTTPClient ¶
func (o *RoleFindByIDParams) WithHTTPClient(client *http.Client) *RoleFindByIDParams
WithHTTPClient adds the HTTPClient to the role find by Id params
func (*RoleFindByIDParams) WithObjectID ¶
func (o *RoleFindByIDParams) WithObjectID(objectID *string) *RoleFindByIDParams
WithObjectID adds the objectID to the role find by Id params
func (*RoleFindByIDParams) WithRoleID ¶
func (o *RoleFindByIDParams) WithRoleID(roleID *string) *RoleFindByIDParams
WithRoleID adds the roleID to the role find by Id params
func (*RoleFindByIDParams) WithRoleTypeID ¶
func (o *RoleFindByIDParams) WithRoleTypeID(roleTypeID *string) *RoleFindByIDParams
WithRoleTypeID adds the roleTypeID to the role find by Id params
func (*RoleFindByIDParams) WithTimeout ¶
func (o *RoleFindByIDParams) WithTimeout(timeout time.Duration) *RoleFindByIDParams
WithTimeout adds the timeout to the role find by Id params
func (*RoleFindByIDParams) WriteToRequest ¶
func (o *RoleFindByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RoleFindByIDReader ¶
type RoleFindByIDReader struct {
// contains filtered or unexported fields
}
RoleFindByIDReader is a Reader for the RoleFindByID structure.
func (*RoleFindByIDReader) ReadResponse ¶
func (o *RoleFindByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RoleFindByIDUnauthorized ¶
type RoleFindByIDUnauthorized struct {
}RoleFindByIDUnauthorized describes a response with status code 401, with default header values.
Access Denied
func NewRoleFindByIDUnauthorized ¶
func NewRoleFindByIDUnauthorized() *RoleFindByIDUnauthorized
NewRoleFindByIDUnauthorized creates a RoleFindByIDUnauthorized with default headers values
func (*RoleFindByIDUnauthorized) Code ¶
func (o *RoleFindByIDUnauthorized) Code() int
Code gets the status code for the role find by Id unauthorized response
func (*RoleFindByIDUnauthorized) Error ¶
func (o *RoleFindByIDUnauthorized) Error() string
func (*RoleFindByIDUnauthorized) GetPayload ¶
func (o *RoleFindByIDUnauthorized) GetPayload() *models.Response
func (*RoleFindByIDUnauthorized) IsClientError ¶
func (o *RoleFindByIDUnauthorized) IsClientError() bool
IsClientError returns true when this role find by Id unauthorized response has a 4xx status code
func (*RoleFindByIDUnauthorized) IsCode ¶
func (o *RoleFindByIDUnauthorized) IsCode(code int) bool
IsCode returns true when this role find by Id unauthorized response a status code equal to that given
func (*RoleFindByIDUnauthorized) IsRedirect ¶
func (o *RoleFindByIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this role find by Id unauthorized response has a 3xx status code
func (*RoleFindByIDUnauthorized) IsServerError ¶
func (o *RoleFindByIDUnauthorized) IsServerError() bool
IsServerError returns true when this role find by Id unauthorized response has a 5xx status code
func (*RoleFindByIDUnauthorized) IsSuccess ¶
func (o *RoleFindByIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this role find by Id unauthorized response has a 2xx status code
func (*RoleFindByIDUnauthorized) String ¶
func (o *RoleFindByIDUnauthorized) String() string
type RoleTypeFindBadRequest ¶
RoleTypeFindBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewRoleTypeFindBadRequest ¶
func NewRoleTypeFindBadRequest() *RoleTypeFindBadRequest
NewRoleTypeFindBadRequest creates a RoleTypeFindBadRequest with default headers values
func (*RoleTypeFindBadRequest) Code ¶
func (o *RoleTypeFindBadRequest) Code() int
Code gets the status code for the role type find bad request response
func (*RoleTypeFindBadRequest) Error ¶
func (o *RoleTypeFindBadRequest) Error() string
func (*RoleTypeFindBadRequest) GetPayload ¶
func (o *RoleTypeFindBadRequest) GetPayload() *models.Response
func (*RoleTypeFindBadRequest) IsClientError ¶
func (o *RoleTypeFindBadRequest) IsClientError() bool
IsClientError returns true when this role type find bad request response has a 4xx status code
func (*RoleTypeFindBadRequest) IsCode ¶
func (o *RoleTypeFindBadRequest) IsCode(code int) bool
IsCode returns true when this role type find bad request response a status code equal to that given
func (*RoleTypeFindBadRequest) IsRedirect ¶
func (o *RoleTypeFindBadRequest) IsRedirect() bool
IsRedirect returns true when this role type find bad request response has a 3xx status code
func (*RoleTypeFindBadRequest) IsServerError ¶
func (o *RoleTypeFindBadRequest) IsServerError() bool
IsServerError returns true when this role type find bad request response has a 5xx status code
func (*RoleTypeFindBadRequest) IsSuccess ¶
func (o *RoleTypeFindBadRequest) IsSuccess() bool
IsSuccess returns true when this role type find bad request response has a 2xx status code
func (*RoleTypeFindBadRequest) String ¶
func (o *RoleTypeFindBadRequest) String() string
type RoleTypeFindInternalServerError ¶
RoleTypeFindInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewRoleTypeFindInternalServerError ¶
func NewRoleTypeFindInternalServerError() *RoleTypeFindInternalServerError
NewRoleTypeFindInternalServerError creates a RoleTypeFindInternalServerError with default headers values
func (*RoleTypeFindInternalServerError) Code ¶
func (o *RoleTypeFindInternalServerError) Code() int
Code gets the status code for the role type find internal server error response
func (*RoleTypeFindInternalServerError) Error ¶
func (o *RoleTypeFindInternalServerError) Error() string
func (*RoleTypeFindInternalServerError) GetPayload ¶
func (o *RoleTypeFindInternalServerError) GetPayload() *models.Response
func (*RoleTypeFindInternalServerError) IsClientError ¶
func (o *RoleTypeFindInternalServerError) IsClientError() bool
IsClientError returns true when this role type find internal server error response has a 4xx status code
func (*RoleTypeFindInternalServerError) IsCode ¶
func (o *RoleTypeFindInternalServerError) IsCode(code int) bool
IsCode returns true when this role type find internal server error response a status code equal to that given
func (*RoleTypeFindInternalServerError) IsRedirect ¶
func (o *RoleTypeFindInternalServerError) IsRedirect() bool
IsRedirect returns true when this role type find internal server error response has a 3xx status code
func (*RoleTypeFindInternalServerError) IsServerError ¶
func (o *RoleTypeFindInternalServerError) IsServerError() bool
IsServerError returns true when this role type find internal server error response has a 5xx status code
func (*RoleTypeFindInternalServerError) IsSuccess ¶
func (o *RoleTypeFindInternalServerError) IsSuccess() bool
IsSuccess returns true when this role type find internal server error response has a 2xx status code
func (*RoleTypeFindInternalServerError) String ¶
func (o *RoleTypeFindInternalServerError) String() string
type RoleTypeFindNotFound ¶
RoleTypeFindNotFound describes a response with status code 404, with default header values.
Not Found
func NewRoleTypeFindNotFound ¶
func NewRoleTypeFindNotFound() *RoleTypeFindNotFound
NewRoleTypeFindNotFound creates a RoleTypeFindNotFound with default headers values
func (*RoleTypeFindNotFound) Code ¶
func (o *RoleTypeFindNotFound) Code() int
Code gets the status code for the role type find not found response
func (*RoleTypeFindNotFound) Error ¶
func (o *RoleTypeFindNotFound) Error() string
func (*RoleTypeFindNotFound) GetPayload ¶
func (o *RoleTypeFindNotFound) GetPayload() *models.Response
func (*RoleTypeFindNotFound) IsClientError ¶
func (o *RoleTypeFindNotFound) IsClientError() bool
IsClientError returns true when this role type find not found response has a 4xx status code
func (*RoleTypeFindNotFound) IsCode ¶
func (o *RoleTypeFindNotFound) IsCode(code int) bool
IsCode returns true when this role type find not found response a status code equal to that given
func (*RoleTypeFindNotFound) IsRedirect ¶
func (o *RoleTypeFindNotFound) IsRedirect() bool
IsRedirect returns true when this role type find not found response has a 3xx status code
func (*RoleTypeFindNotFound) IsServerError ¶
func (o *RoleTypeFindNotFound) IsServerError() bool
IsServerError returns true when this role type find not found response has a 5xx status code
func (*RoleTypeFindNotFound) IsSuccess ¶
func (o *RoleTypeFindNotFound) IsSuccess() bool
IsSuccess returns true when this role type find not found response has a 2xx status code
func (*RoleTypeFindNotFound) String ¶
func (o *RoleTypeFindNotFound) String() string
type RoleTypeFindOK ¶
type RoleTypeFindOK struct {
Payload *models.RoleTypeFindResponse
}
RoleTypeFindOK describes a response with status code 200, with default header values.
OK
func NewRoleTypeFindOK ¶
func NewRoleTypeFindOK() *RoleTypeFindOK
NewRoleTypeFindOK creates a RoleTypeFindOK with default headers values
func (*RoleTypeFindOK) Code ¶
func (o *RoleTypeFindOK) Code() int
Code gets the status code for the role type find o k response
func (*RoleTypeFindOK) Error ¶
func (o *RoleTypeFindOK) Error() string
func (*RoleTypeFindOK) GetPayload ¶
func (o *RoleTypeFindOK) GetPayload() *models.RoleTypeFindResponse
func (*RoleTypeFindOK) IsClientError ¶
func (o *RoleTypeFindOK) IsClientError() bool
IsClientError returns true when this role type find o k response has a 4xx status code
func (*RoleTypeFindOK) IsCode ¶
func (o *RoleTypeFindOK) IsCode(code int) bool
IsCode returns true when this role type find o k response a status code equal to that given
func (*RoleTypeFindOK) IsRedirect ¶
func (o *RoleTypeFindOK) IsRedirect() bool
IsRedirect returns true when this role type find o k response has a 3xx status code
func (*RoleTypeFindOK) IsServerError ¶
func (o *RoleTypeFindOK) IsServerError() bool
IsServerError returns true when this role type find o k response has a 5xx status code
func (*RoleTypeFindOK) IsSuccess ¶
func (o *RoleTypeFindOK) IsSuccess() bool
IsSuccess returns true when this role type find o k response has a 2xx status code
func (*RoleTypeFindOK) String ¶
func (o *RoleTypeFindOK) String() string
type RoleTypeFindParams ¶
type RoleTypeFindParams struct { /* Application. ID of the object that roles are assigned to. */ Application string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RoleTypeFindParams contains all the parameters to send to the API endpoint
for the role type find operation. Typically these are written to a http.Request.
func NewRoleTypeFindParams ¶
func NewRoleTypeFindParams() *RoleTypeFindParams
NewRoleTypeFindParams creates a new RoleTypeFindParams 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 NewRoleTypeFindParamsWithContext ¶
func NewRoleTypeFindParamsWithContext(ctx context.Context) *RoleTypeFindParams
NewRoleTypeFindParamsWithContext creates a new RoleTypeFindParams object with the ability to set a context for a request.
func NewRoleTypeFindParamsWithHTTPClient ¶
func NewRoleTypeFindParamsWithHTTPClient(client *http.Client) *RoleTypeFindParams
NewRoleTypeFindParamsWithHTTPClient creates a new RoleTypeFindParams object with the ability to set a custom HTTPClient for a request.
func NewRoleTypeFindParamsWithTimeout ¶
func NewRoleTypeFindParamsWithTimeout(timeout time.Duration) *RoleTypeFindParams
NewRoleTypeFindParamsWithTimeout creates a new RoleTypeFindParams object with the ability to set a timeout on a request.
func (*RoleTypeFindParams) SetApplication ¶
func (o *RoleTypeFindParams) SetApplication(application string)
SetApplication adds the application to the role type find params
func (*RoleTypeFindParams) SetContext ¶
func (o *RoleTypeFindParams) SetContext(ctx context.Context)
SetContext adds the context to the role type find params
func (*RoleTypeFindParams) SetDefaults ¶
func (o *RoleTypeFindParams) SetDefaults()
SetDefaults hydrates default values in the role type find params (not the query body).
All values with no default are reset to their zero value.
func (*RoleTypeFindParams) SetHTTPClient ¶
func (o *RoleTypeFindParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the role type find params
func (*RoleTypeFindParams) SetTimeout ¶
func (o *RoleTypeFindParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the role type find params
func (*RoleTypeFindParams) WithApplication ¶
func (o *RoleTypeFindParams) WithApplication(application string) *RoleTypeFindParams
WithApplication adds the application to the role type find params
func (*RoleTypeFindParams) WithContext ¶
func (o *RoleTypeFindParams) WithContext(ctx context.Context) *RoleTypeFindParams
WithContext adds the context to the role type find params
func (*RoleTypeFindParams) WithDefaults ¶
func (o *RoleTypeFindParams) WithDefaults() *RoleTypeFindParams
WithDefaults hydrates default values in the role type find params (not the query body).
All values with no default are reset to their zero value.
func (*RoleTypeFindParams) WithHTTPClient ¶
func (o *RoleTypeFindParams) WithHTTPClient(client *http.Client) *RoleTypeFindParams
WithHTTPClient adds the HTTPClient to the role type find params
func (*RoleTypeFindParams) WithTimeout ¶
func (o *RoleTypeFindParams) WithTimeout(timeout time.Duration) *RoleTypeFindParams
WithTimeout adds the timeout to the role type find params
func (*RoleTypeFindParams) WriteToRequest ¶
func (o *RoleTypeFindParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RoleTypeFindReader ¶
type RoleTypeFindReader struct {
// contains filtered or unexported fields
}
RoleTypeFindReader is a Reader for the RoleTypeFind structure.
func (*RoleTypeFindReader) ReadResponse ¶
func (o *RoleTypeFindReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RoleTypeFindUnauthorized ¶
type RoleTypeFindUnauthorized struct {
}RoleTypeFindUnauthorized describes a response with status code 401, with default header values.
Access Denied
func NewRoleTypeFindUnauthorized ¶
func NewRoleTypeFindUnauthorized() *RoleTypeFindUnauthorized
NewRoleTypeFindUnauthorized creates a RoleTypeFindUnauthorized with default headers values
func (*RoleTypeFindUnauthorized) Code ¶
func (o *RoleTypeFindUnauthorized) Code() int
Code gets the status code for the role type find unauthorized response
func (*RoleTypeFindUnauthorized) Error ¶
func (o *RoleTypeFindUnauthorized) Error() string
func (*RoleTypeFindUnauthorized) GetPayload ¶
func (o *RoleTypeFindUnauthorized) GetPayload() *models.Response
func (*RoleTypeFindUnauthorized) IsClientError ¶
func (o *RoleTypeFindUnauthorized) IsClientError() bool
IsClientError returns true when this role type find unauthorized response has a 4xx status code
func (*RoleTypeFindUnauthorized) IsCode ¶
func (o *RoleTypeFindUnauthorized) IsCode(code int) bool
IsCode returns true when this role type find unauthorized response a status code equal to that given
func (*RoleTypeFindUnauthorized) IsRedirect ¶
func (o *RoleTypeFindUnauthorized) IsRedirect() bool
IsRedirect returns true when this role type find unauthorized response has a 3xx status code
func (*RoleTypeFindUnauthorized) IsServerError ¶
func (o *RoleTypeFindUnauthorized) IsServerError() bool
IsServerError returns true when this role type find unauthorized response has a 5xx status code
func (*RoleTypeFindUnauthorized) IsSuccess ¶
func (o *RoleTypeFindUnauthorized) IsSuccess() bool
IsSuccess returns true when this role type find unauthorized response has a 2xx status code
func (*RoleTypeFindUnauthorized) String ¶
func (o *RoleTypeFindUnauthorized) String() string