Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateRole(params *CreateRoleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateRoleCreated, error)
- func (a *Client) DeleteRole(params *DeleteRoleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteRoleOK, *DeleteRoleNoContent, error)
- func (a *Client) GetRole(params *GetRoleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetRoleOK, error)
- func (a *Client) GetRoleByVersion(params *GetRoleByVersionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetRoleByVersionOK, error)
- func (a *Client) RestoreRole(params *RestoreRoleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RestoreRoleOK, error)
- func (a *Client) SearchRoles(params *SearchRolesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SearchRolesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateRole(params *UpdateRoleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateRoleOK, error)
- type ClientOption
- type ClientService
- type CreateRoleBadRequest
- func (o *CreateRoleBadRequest) Error() string
- func (o *CreateRoleBadRequest) GetPayload() *models.HTTPError
- func (o *CreateRoleBadRequest) IsClientError() bool
- func (o *CreateRoleBadRequest) IsCode(code int) bool
- func (o *CreateRoleBadRequest) IsRedirect() bool
- func (o *CreateRoleBadRequest) IsServerError() bool
- func (o *CreateRoleBadRequest) IsSuccess() bool
- func (o *CreateRoleBadRequest) String() string
- type CreateRoleCreated
- func (o *CreateRoleCreated) Error() string
- func (o *CreateRoleCreated) GetPayload() *models.Role
- func (o *CreateRoleCreated) IsClientError() bool
- func (o *CreateRoleCreated) IsCode(code int) bool
- func (o *CreateRoleCreated) IsRedirect() bool
- func (o *CreateRoleCreated) IsServerError() bool
- func (o *CreateRoleCreated) IsSuccess() bool
- func (o *CreateRoleCreated) String() string
- type CreateRoleForbidden
- func (o *CreateRoleForbidden) Error() string
- func (o *CreateRoleForbidden) GetPayload() *models.HTTPError
- func (o *CreateRoleForbidden) IsClientError() bool
- func (o *CreateRoleForbidden) IsCode(code int) bool
- func (o *CreateRoleForbidden) IsRedirect() bool
- func (o *CreateRoleForbidden) IsServerError() bool
- func (o *CreateRoleForbidden) IsSuccess() bool
- func (o *CreateRoleForbidden) String() string
- type CreateRoleInternalServerError
- func (o *CreateRoleInternalServerError) Error() string
- func (o *CreateRoleInternalServerError) GetPayload() *models.HTTPError
- func (o *CreateRoleInternalServerError) IsClientError() bool
- func (o *CreateRoleInternalServerError) IsCode(code int) bool
- func (o *CreateRoleInternalServerError) IsRedirect() bool
- func (o *CreateRoleInternalServerError) IsServerError() bool
- func (o *CreateRoleInternalServerError) IsSuccess() bool
- func (o *CreateRoleInternalServerError) String() string
- type CreateRoleParams
- func (o *CreateRoleParams) SetBody(body *models.RoleCreate)
- func (o *CreateRoleParams) SetContext(ctx context.Context)
- func (o *CreateRoleParams) SetDefaults()
- func (o *CreateRoleParams) SetHTTPClient(client *http.Client)
- func (o *CreateRoleParams) SetTimeout(timeout time.Duration)
- func (o *CreateRoleParams) WithBody(body *models.RoleCreate) *CreateRoleParams
- func (o *CreateRoleParams) WithContext(ctx context.Context) *CreateRoleParams
- func (o *CreateRoleParams) WithDefaults() *CreateRoleParams
- func (o *CreateRoleParams) WithHTTPClient(client *http.Client) *CreateRoleParams
- func (o *CreateRoleParams) WithTimeout(timeout time.Duration) *CreateRoleParams
- func (o *CreateRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRoleReader
- type CreateRoleUnauthorized
- func (o *CreateRoleUnauthorized) Error() string
- func (o *CreateRoleUnauthorized) GetPayload() *models.HTTPError
- func (o *CreateRoleUnauthorized) IsClientError() bool
- func (o *CreateRoleUnauthorized) IsCode(code int) bool
- func (o *CreateRoleUnauthorized) IsRedirect() bool
- func (o *CreateRoleUnauthorized) IsServerError() bool
- func (o *CreateRoleUnauthorized) IsSuccess() bool
- func (o *CreateRoleUnauthorized) String() string
- type DeleteRoleBadRequest
- func (o *DeleteRoleBadRequest) Error() string
- func (o *DeleteRoleBadRequest) GetPayload() *models.HTTPError
- func (o *DeleteRoleBadRequest) IsClientError() bool
- func (o *DeleteRoleBadRequest) IsCode(code int) bool
- func (o *DeleteRoleBadRequest) IsRedirect() bool
- func (o *DeleteRoleBadRequest) IsServerError() bool
- func (o *DeleteRoleBadRequest) IsSuccess() bool
- func (o *DeleteRoleBadRequest) String() string
- type DeleteRoleForbidden
- func (o *DeleteRoleForbidden) Error() string
- func (o *DeleteRoleForbidden) GetPayload() *models.HTTPError
- func (o *DeleteRoleForbidden) IsClientError() bool
- func (o *DeleteRoleForbidden) IsCode(code int) bool
- func (o *DeleteRoleForbidden) IsRedirect() bool
- func (o *DeleteRoleForbidden) IsServerError() bool
- func (o *DeleteRoleForbidden) IsSuccess() bool
- func (o *DeleteRoleForbidden) String() string
- type DeleteRoleInternalServerError
- func (o *DeleteRoleInternalServerError) Error() string
- func (o *DeleteRoleInternalServerError) GetPayload() *models.HTTPError
- func (o *DeleteRoleInternalServerError) IsClientError() bool
- func (o *DeleteRoleInternalServerError) IsCode(code int) bool
- func (o *DeleteRoleInternalServerError) IsRedirect() bool
- func (o *DeleteRoleInternalServerError) IsServerError() bool
- func (o *DeleteRoleInternalServerError) IsSuccess() bool
- func (o *DeleteRoleInternalServerError) String() string
- type DeleteRoleNoContent
- func (o *DeleteRoleNoContent) Error() string
- func (o *DeleteRoleNoContent) IsClientError() bool
- func (o *DeleteRoleNoContent) IsCode(code int) bool
- func (o *DeleteRoleNoContent) IsRedirect() bool
- func (o *DeleteRoleNoContent) IsServerError() bool
- func (o *DeleteRoleNoContent) IsSuccess() bool
- func (o *DeleteRoleNoContent) String() string
- type DeleteRoleNotFound
- func (o *DeleteRoleNotFound) Error() string
- func (o *DeleteRoleNotFound) GetPayload() *models.HTTPError
- func (o *DeleteRoleNotFound) IsClientError() bool
- func (o *DeleteRoleNotFound) IsCode(code int) bool
- func (o *DeleteRoleNotFound) IsRedirect() bool
- func (o *DeleteRoleNotFound) IsServerError() bool
- func (o *DeleteRoleNotFound) IsSuccess() bool
- func (o *DeleteRoleNotFound) String() string
- type DeleteRoleOK
- func (o *DeleteRoleOK) Error() string
- func (o *DeleteRoleOK) GetPayload() *models.MessageResponse
- func (o *DeleteRoleOK) IsClientError() bool
- func (o *DeleteRoleOK) IsCode(code int) bool
- func (o *DeleteRoleOK) IsRedirect() bool
- func (o *DeleteRoleOK) IsServerError() bool
- func (o *DeleteRoleOK) IsSuccess() bool
- func (o *DeleteRoleOK) String() string
- type DeleteRoleParams
- func (o *DeleteRoleParams) SetContext(ctx context.Context)
- func (o *DeleteRoleParams) SetDefaults()
- func (o *DeleteRoleParams) SetForce(force *bool)
- func (o *DeleteRoleParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRoleParams) SetName(name string)
- func (o *DeleteRoleParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRoleParams) WithContext(ctx context.Context) *DeleteRoleParams
- func (o *DeleteRoleParams) WithDefaults() *DeleteRoleParams
- func (o *DeleteRoleParams) WithForce(force *bool) *DeleteRoleParams
- func (o *DeleteRoleParams) WithHTTPClient(client *http.Client) *DeleteRoleParams
- func (o *DeleteRoleParams) WithName(name string) *DeleteRoleParams
- func (o *DeleteRoleParams) WithTimeout(timeout time.Duration) *DeleteRoleParams
- func (o *DeleteRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRoleReader
- type DeleteRoleUnauthorized
- func (o *DeleteRoleUnauthorized) Error() string
- func (o *DeleteRoleUnauthorized) GetPayload() *models.HTTPError
- func (o *DeleteRoleUnauthorized) IsClientError() bool
- func (o *DeleteRoleUnauthorized) IsCode(code int) bool
- func (o *DeleteRoleUnauthorized) IsRedirect() bool
- func (o *DeleteRoleUnauthorized) IsServerError() bool
- func (o *DeleteRoleUnauthorized) IsSuccess() bool
- func (o *DeleteRoleUnauthorized) String() string
- type GetRoleBadRequest
- func (o *GetRoleBadRequest) Error() string
- func (o *GetRoleBadRequest) GetPayload() *models.HTTPError
- func (o *GetRoleBadRequest) IsClientError() bool
- func (o *GetRoleBadRequest) IsCode(code int) bool
- func (o *GetRoleBadRequest) IsRedirect() bool
- func (o *GetRoleBadRequest) IsServerError() bool
- func (o *GetRoleBadRequest) IsSuccess() bool
- func (o *GetRoleBadRequest) String() string
- type GetRoleByVersionBadRequest
- func (o *GetRoleByVersionBadRequest) Error() string
- func (o *GetRoleByVersionBadRequest) GetPayload() *models.HTTPError
- func (o *GetRoleByVersionBadRequest) IsClientError() bool
- func (o *GetRoleByVersionBadRequest) IsCode(code int) bool
- func (o *GetRoleByVersionBadRequest) IsRedirect() bool
- func (o *GetRoleByVersionBadRequest) IsServerError() bool
- func (o *GetRoleByVersionBadRequest) IsSuccess() bool
- func (o *GetRoleByVersionBadRequest) String() string
- type GetRoleByVersionForbidden
- func (o *GetRoleByVersionForbidden) Error() string
- func (o *GetRoleByVersionForbidden) GetPayload() *models.HTTPError
- func (o *GetRoleByVersionForbidden) IsClientError() bool
- func (o *GetRoleByVersionForbidden) IsCode(code int) bool
- func (o *GetRoleByVersionForbidden) IsRedirect() bool
- func (o *GetRoleByVersionForbidden) IsServerError() bool
- func (o *GetRoleByVersionForbidden) IsSuccess() bool
- func (o *GetRoleByVersionForbidden) String() string
- type GetRoleByVersionInternalServerError
- func (o *GetRoleByVersionInternalServerError) Error() string
- func (o *GetRoleByVersionInternalServerError) GetPayload() *models.HTTPError
- func (o *GetRoleByVersionInternalServerError) IsClientError() bool
- func (o *GetRoleByVersionInternalServerError) IsCode(code int) bool
- func (o *GetRoleByVersionInternalServerError) IsRedirect() bool
- func (o *GetRoleByVersionInternalServerError) IsServerError() bool
- func (o *GetRoleByVersionInternalServerError) IsSuccess() bool
- func (o *GetRoleByVersionInternalServerError) String() string
- type GetRoleByVersionNotFound
- func (o *GetRoleByVersionNotFound) Error() string
- func (o *GetRoleByVersionNotFound) GetPayload() *models.HTTPError
- func (o *GetRoleByVersionNotFound) IsClientError() bool
- func (o *GetRoleByVersionNotFound) IsCode(code int) bool
- func (o *GetRoleByVersionNotFound) IsRedirect() bool
- func (o *GetRoleByVersionNotFound) IsServerError() bool
- func (o *GetRoleByVersionNotFound) IsSuccess() bool
- func (o *GetRoleByVersionNotFound) String() string
- type GetRoleByVersionOK
- func (o *GetRoleByVersionOK) Error() string
- func (o *GetRoleByVersionOK) GetPayload() *models.RoleVersionResponse
- func (o *GetRoleByVersionOK) IsClientError() bool
- func (o *GetRoleByVersionOK) IsCode(code int) bool
- func (o *GetRoleByVersionOK) IsRedirect() bool
- func (o *GetRoleByVersionOK) IsServerError() bool
- func (o *GetRoleByVersionOK) IsSuccess() bool
- func (o *GetRoleByVersionOK) String() string
- type GetRoleByVersionParams
- func NewGetRoleByVersionParams() *GetRoleByVersionParams
- func NewGetRoleByVersionParamsWithContext(ctx context.Context) *GetRoleByVersionParams
- func NewGetRoleByVersionParamsWithHTTPClient(client *http.Client) *GetRoleByVersionParams
- func NewGetRoleByVersionParamsWithTimeout(timeout time.Duration) *GetRoleByVersionParams
- func (o *GetRoleByVersionParams) SetContext(ctx context.Context)
- func (o *GetRoleByVersionParams) SetDefaults()
- func (o *GetRoleByVersionParams) SetHTTPClient(client *http.Client)
- func (o *GetRoleByVersionParams) SetName(name string)
- func (o *GetRoleByVersionParams) SetTimeout(timeout time.Duration)
- func (o *GetRoleByVersionParams) SetVersion(version int64)
- func (o *GetRoleByVersionParams) WithContext(ctx context.Context) *GetRoleByVersionParams
- func (o *GetRoleByVersionParams) WithDefaults() *GetRoleByVersionParams
- func (o *GetRoleByVersionParams) WithHTTPClient(client *http.Client) *GetRoleByVersionParams
- func (o *GetRoleByVersionParams) WithName(name string) *GetRoleByVersionParams
- func (o *GetRoleByVersionParams) WithTimeout(timeout time.Duration) *GetRoleByVersionParams
- func (o *GetRoleByVersionParams) WithVersion(version int64) *GetRoleByVersionParams
- func (o *GetRoleByVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRoleByVersionReader
- type GetRoleByVersionUnauthorized
- func (o *GetRoleByVersionUnauthorized) Error() string
- func (o *GetRoleByVersionUnauthorized) GetPayload() *models.HTTPError
- func (o *GetRoleByVersionUnauthorized) IsClientError() bool
- func (o *GetRoleByVersionUnauthorized) IsCode(code int) bool
- func (o *GetRoleByVersionUnauthorized) IsRedirect() bool
- func (o *GetRoleByVersionUnauthorized) IsServerError() bool
- func (o *GetRoleByVersionUnauthorized) IsSuccess() bool
- func (o *GetRoleByVersionUnauthorized) String() string
- type GetRoleForbidden
- func (o *GetRoleForbidden) Error() string
- func (o *GetRoleForbidden) GetPayload() *models.HTTPError
- func (o *GetRoleForbidden) IsClientError() bool
- func (o *GetRoleForbidden) IsCode(code int) bool
- func (o *GetRoleForbidden) IsRedirect() bool
- func (o *GetRoleForbidden) IsServerError() bool
- func (o *GetRoleForbidden) IsSuccess() bool
- func (o *GetRoleForbidden) String() string
- type GetRoleInternalServerError
- func (o *GetRoleInternalServerError) Error() string
- func (o *GetRoleInternalServerError) GetPayload() *models.HTTPError
- func (o *GetRoleInternalServerError) IsClientError() bool
- func (o *GetRoleInternalServerError) IsCode(code int) bool
- func (o *GetRoleInternalServerError) IsRedirect() bool
- func (o *GetRoleInternalServerError) IsServerError() bool
- func (o *GetRoleInternalServerError) IsSuccess() bool
- func (o *GetRoleInternalServerError) String() string
- type GetRoleNotFound
- func (o *GetRoleNotFound) Error() string
- func (o *GetRoleNotFound) GetPayload() *models.HTTPError
- func (o *GetRoleNotFound) IsClientError() bool
- func (o *GetRoleNotFound) IsCode(code int) bool
- func (o *GetRoleNotFound) IsRedirect() bool
- func (o *GetRoleNotFound) IsServerError() bool
- func (o *GetRoleNotFound) IsSuccess() bool
- func (o *GetRoleNotFound) String() string
- type GetRoleOK
- func (o *GetRoleOK) Error() string
- func (o *GetRoleOK) GetPayload() *models.Role
- func (o *GetRoleOK) IsClientError() bool
- func (o *GetRoleOK) IsCode(code int) bool
- func (o *GetRoleOK) IsRedirect() bool
- func (o *GetRoleOK) IsServerError() bool
- func (o *GetRoleOK) IsSuccess() bool
- func (o *GetRoleOK) String() string
- type GetRoleParams
- func (o *GetRoleParams) SetContext(ctx context.Context)
- func (o *GetRoleParams) SetDefaults()
- func (o *GetRoleParams) SetHTTPClient(client *http.Client)
- func (o *GetRoleParams) SetName(name string)
- func (o *GetRoleParams) SetTimeout(timeout time.Duration)
- func (o *GetRoleParams) WithContext(ctx context.Context) *GetRoleParams
- func (o *GetRoleParams) WithDefaults() *GetRoleParams
- func (o *GetRoleParams) WithHTTPClient(client *http.Client) *GetRoleParams
- func (o *GetRoleParams) WithName(name string) *GetRoleParams
- func (o *GetRoleParams) WithTimeout(timeout time.Duration) *GetRoleParams
- func (o *GetRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRoleReader
- type GetRoleUnauthorized
- func (o *GetRoleUnauthorized) Error() string
- func (o *GetRoleUnauthorized) GetPayload() *models.HTTPError
- func (o *GetRoleUnauthorized) IsClientError() bool
- func (o *GetRoleUnauthorized) IsCode(code int) bool
- func (o *GetRoleUnauthorized) IsRedirect() bool
- func (o *GetRoleUnauthorized) IsServerError() bool
- func (o *GetRoleUnauthorized) IsSuccess() bool
- func (o *GetRoleUnauthorized) String() string
- type RestoreRoleBadRequest
- func (o *RestoreRoleBadRequest) Error() string
- func (o *RestoreRoleBadRequest) GetPayload() *models.HTTPError
- func (o *RestoreRoleBadRequest) IsClientError() bool
- func (o *RestoreRoleBadRequest) IsCode(code int) bool
- func (o *RestoreRoleBadRequest) IsRedirect() bool
- func (o *RestoreRoleBadRequest) IsServerError() bool
- func (o *RestoreRoleBadRequest) IsSuccess() bool
- func (o *RestoreRoleBadRequest) String() string
- type RestoreRoleForbidden
- func (o *RestoreRoleForbidden) Error() string
- func (o *RestoreRoleForbidden) GetPayload() *models.HTTPError
- func (o *RestoreRoleForbidden) IsClientError() bool
- func (o *RestoreRoleForbidden) IsCode(code int) bool
- func (o *RestoreRoleForbidden) IsRedirect() bool
- func (o *RestoreRoleForbidden) IsServerError() bool
- func (o *RestoreRoleForbidden) IsSuccess() bool
- func (o *RestoreRoleForbidden) String() string
- type RestoreRoleInternalServerError
- func (o *RestoreRoleInternalServerError) Error() string
- func (o *RestoreRoleInternalServerError) GetPayload() *models.HTTPError
- func (o *RestoreRoleInternalServerError) IsClientError() bool
- func (o *RestoreRoleInternalServerError) IsCode(code int) bool
- func (o *RestoreRoleInternalServerError) IsRedirect() bool
- func (o *RestoreRoleInternalServerError) IsServerError() bool
- func (o *RestoreRoleInternalServerError) IsSuccess() bool
- func (o *RestoreRoleInternalServerError) String() string
- type RestoreRoleNotFound
- func (o *RestoreRoleNotFound) Error() string
- func (o *RestoreRoleNotFound) GetPayload() *models.HTTPError
- func (o *RestoreRoleNotFound) IsClientError() bool
- func (o *RestoreRoleNotFound) IsCode(code int) bool
- func (o *RestoreRoleNotFound) IsRedirect() bool
- func (o *RestoreRoleNotFound) IsServerError() bool
- func (o *RestoreRoleNotFound) IsSuccess() bool
- func (o *RestoreRoleNotFound) String() string
- type RestoreRoleOK
- type RestoreRoleParams
- func (o *RestoreRoleParams) SetContext(ctx context.Context)
- func (o *RestoreRoleParams) SetDefaults()
- func (o *RestoreRoleParams) SetHTTPClient(client *http.Client)
- func (o *RestoreRoleParams) SetName(name string)
- func (o *RestoreRoleParams) SetTimeout(timeout time.Duration)
- func (o *RestoreRoleParams) WithContext(ctx context.Context) *RestoreRoleParams
- func (o *RestoreRoleParams) WithDefaults() *RestoreRoleParams
- func (o *RestoreRoleParams) WithHTTPClient(client *http.Client) *RestoreRoleParams
- func (o *RestoreRoleParams) WithName(name string) *RestoreRoleParams
- func (o *RestoreRoleParams) WithTimeout(timeout time.Duration) *RestoreRoleParams
- func (o *RestoreRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestoreRoleReader
- type RestoreRoleUnauthorized
- func (o *RestoreRoleUnauthorized) Error() string
- func (o *RestoreRoleUnauthorized) GetPayload() *models.HTTPError
- func (o *RestoreRoleUnauthorized) IsClientError() bool
- func (o *RestoreRoleUnauthorized) IsCode(code int) bool
- func (o *RestoreRoleUnauthorized) IsRedirect() bool
- func (o *RestoreRoleUnauthorized) IsServerError() bool
- func (o *RestoreRoleUnauthorized) IsSuccess() bool
- func (o *RestoreRoleUnauthorized) String() string
- type SearchRolesBadRequest
- func (o *SearchRolesBadRequest) Error() string
- func (o *SearchRolesBadRequest) GetPayload() *models.HTTPError
- func (o *SearchRolesBadRequest) IsClientError() bool
- func (o *SearchRolesBadRequest) IsCode(code int) bool
- func (o *SearchRolesBadRequest) IsRedirect() bool
- func (o *SearchRolesBadRequest) IsServerError() bool
- func (o *SearchRolesBadRequest) IsSuccess() bool
- func (o *SearchRolesBadRequest) String() string
- type SearchRolesInternalServerError
- func (o *SearchRolesInternalServerError) Error() string
- func (o *SearchRolesInternalServerError) GetPayload() *models.HTTPError
- func (o *SearchRolesInternalServerError) IsClientError() bool
- func (o *SearchRolesInternalServerError) IsCode(code int) bool
- func (o *SearchRolesInternalServerError) IsRedirect() bool
- func (o *SearchRolesInternalServerError) IsServerError() bool
- func (o *SearchRolesInternalServerError) IsSuccess() bool
- func (o *SearchRolesInternalServerError) String() string
- type SearchRolesOK
- func (o *SearchRolesOK) Error() string
- func (o *SearchRolesOK) GetPayload() *models.ResponseModelSearch
- func (o *SearchRolesOK) IsClientError() bool
- func (o *SearchRolesOK) IsCode(code int) bool
- func (o *SearchRolesOK) IsRedirect() bool
- func (o *SearchRolesOK) IsServerError() bool
- func (o *SearchRolesOK) IsSuccess() bool
- func (o *SearchRolesOK) String() string
- type SearchRolesParams
- func (o *SearchRolesParams) SetContext(ctx context.Context)
- func (o *SearchRolesParams) SetCursor(cursor *string)
- func (o *SearchRolesParams) SetDefaults()
- func (o *SearchRolesParams) SetHTTPClient(client *http.Client)
- func (o *SearchRolesParams) SetLimit(limit *int64)
- func (o *SearchRolesParams) SetSearchTerm(searchTerm *string)
- func (o *SearchRolesParams) SetTimeout(timeout time.Duration)
- func (o *SearchRolesParams) WithContext(ctx context.Context) *SearchRolesParams
- func (o *SearchRolesParams) WithCursor(cursor *string) *SearchRolesParams
- func (o *SearchRolesParams) WithDefaults() *SearchRolesParams
- func (o *SearchRolesParams) WithHTTPClient(client *http.Client) *SearchRolesParams
- func (o *SearchRolesParams) WithLimit(limit *int64) *SearchRolesParams
- func (o *SearchRolesParams) WithSearchTerm(searchTerm *string) *SearchRolesParams
- func (o *SearchRolesParams) WithTimeout(timeout time.Duration) *SearchRolesParams
- func (o *SearchRolesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchRolesReader
- type SearchRolesUnauthorized
- func (o *SearchRolesUnauthorized) Error() string
- func (o *SearchRolesUnauthorized) GetPayload() *models.HTTPError
- func (o *SearchRolesUnauthorized) IsClientError() bool
- func (o *SearchRolesUnauthorized) IsCode(code int) bool
- func (o *SearchRolesUnauthorized) IsRedirect() bool
- func (o *SearchRolesUnauthorized) IsServerError() bool
- func (o *SearchRolesUnauthorized) IsSuccess() bool
- func (o *SearchRolesUnauthorized) String() string
- type UpdateRoleBadRequest
- func (o *UpdateRoleBadRequest) Error() string
- func (o *UpdateRoleBadRequest) GetPayload() *models.HTTPError
- func (o *UpdateRoleBadRequest) IsClientError() bool
- func (o *UpdateRoleBadRequest) IsCode(code int) bool
- func (o *UpdateRoleBadRequest) IsRedirect() bool
- func (o *UpdateRoleBadRequest) IsServerError() bool
- func (o *UpdateRoleBadRequest) IsSuccess() bool
- func (o *UpdateRoleBadRequest) String() string
- type UpdateRoleForbidden
- func (o *UpdateRoleForbidden) Error() string
- func (o *UpdateRoleForbidden) GetPayload() *models.HTTPError
- func (o *UpdateRoleForbidden) IsClientError() bool
- func (o *UpdateRoleForbidden) IsCode(code int) bool
- func (o *UpdateRoleForbidden) IsRedirect() bool
- func (o *UpdateRoleForbidden) IsServerError() bool
- func (o *UpdateRoleForbidden) IsSuccess() bool
- func (o *UpdateRoleForbidden) String() string
- type UpdateRoleInternalServerError
- func (o *UpdateRoleInternalServerError) Error() string
- func (o *UpdateRoleInternalServerError) GetPayload() *models.HTTPError
- func (o *UpdateRoleInternalServerError) IsClientError() bool
- func (o *UpdateRoleInternalServerError) IsCode(code int) bool
- func (o *UpdateRoleInternalServerError) IsRedirect() bool
- func (o *UpdateRoleInternalServerError) IsServerError() bool
- func (o *UpdateRoleInternalServerError) IsSuccess() bool
- func (o *UpdateRoleInternalServerError) String() string
- type UpdateRoleOK
- func (o *UpdateRoleOK) Error() string
- func (o *UpdateRoleOK) GetPayload() *models.Role
- func (o *UpdateRoleOK) IsClientError() bool
- func (o *UpdateRoleOK) IsCode(code int) bool
- func (o *UpdateRoleOK) IsRedirect() bool
- func (o *UpdateRoleOK) IsServerError() bool
- func (o *UpdateRoleOK) IsSuccess() bool
- func (o *UpdateRoleOK) String() string
- type UpdateRoleParams
- func (o *UpdateRoleParams) SetBody(role *models.RoleDetails)
- func (o *UpdateRoleParams) SetContext(ctx context.Context)
- func (o *UpdateRoleParams) SetDefaults()
- func (o *UpdateRoleParams) SetHTTPClient(client *http.Client)
- func (o *UpdateRoleParams) SetName(name string)
- func (o *UpdateRoleParams) SetTimeout(timeout time.Duration)
- func (o *UpdateRoleParams) WithBody(role *models.RoleDetails) *UpdateRoleParams
- func (o *UpdateRoleParams) WithContext(ctx context.Context) *UpdateRoleParams
- func (o *UpdateRoleParams) WithDefaults() *UpdateRoleParams
- func (o *UpdateRoleParams) WithHTTPClient(client *http.Client) *UpdateRoleParams
- func (o *UpdateRoleParams) WithName(name string) *UpdateRoleParams
- func (o *UpdateRoleParams) WithTimeout(timeout time.Duration) *UpdateRoleParams
- func (o *UpdateRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateRoleReader
- type UpdateRoleUnauthorized
- func (o *UpdateRoleUnauthorized) Error() string
- func (o *UpdateRoleUnauthorized) GetPayload() *models.HTTPError
- func (o *UpdateRoleUnauthorized) IsClientError() bool
- func (o *UpdateRoleUnauthorized) IsCode(code int) bool
- func (o *UpdateRoleUnauthorized) IsRedirect() bool
- func (o *UpdateRoleUnauthorized) IsServerError() bool
- func (o *UpdateRoleUnauthorized) IsSuccess() bool
- func (o *UpdateRoleUnauthorized) 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 roles API
func (*Client) CreateRole ¶
func (a *Client) CreateRole(params *CreateRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateRoleCreated, error)
CreateRole creates a role
Creates a new role.
func (*Client) DeleteRole ¶
func (a *Client) DeleteRole(params *DeleteRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteRoleOK, *DeleteRoleNoContent, error)
DeleteRole deletes a role Delete a role by the role name. For roles linked to 3rd party providers, such as AWS or Azure, the role name
must be prefixed with the provider name from configuration in the format of <providername>:<rolename> i.e. aws-dev:db
func (*Client) GetRole ¶
func (a *Client) GetRole(params *GetRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRoleOK, error)
GetRole gets a role Retrieve an existing role by role name. For roles linked to 3rd party providers, such as AWS or Azure, the role name
must be prefixed with the provider name from configuration in the format of <providername>:<rolename> i.e. aws-dev:db
func (*Client) GetRoleByVersion ¶
func (a *Client) GetRoleByVersion(params *GetRoleByVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRoleByVersionOK, error)
GetRoleByVersion gets a role by version Retrieve an existing role by role name and versions. For roles linked to 3rd party providers, such as AWS or Azure, the role name
must be prefixed with the provider name from configuration in the format of <providername>:<rolename> i.e. aws-dev:db
func (*Client) RestoreRole ¶
func (a *Client) RestoreRole(params *RestoreRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestoreRoleOK, error)
RestoreRole restores a role
Restore a role by path.
func (*Client) SearchRoles ¶
func (a *Client) SearchRoles(params *SearchRolesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchRolesOK, error)
SearchRoles searches for roles
Search for one or more roles by role name.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateRole ¶
func (a *Client) UpdateRole(params *UpdateRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateRoleOK, error)
UpdateRole updates a role
Update an existing role.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateRole(params *CreateRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateRoleCreated, error) DeleteRole(params *DeleteRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteRoleOK, *DeleteRoleNoContent, error) GetRole(params *GetRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRoleOK, error) GetRoleByVersion(params *GetRoleByVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRoleByVersionOK, error) RestoreRole(params *RestoreRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestoreRoleOK, error) SearchRoles(params *SearchRolesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchRolesOK, error) UpdateRole(params *UpdateRoleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateRoleOK, 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 roles API client.
type CreateRoleBadRequest ¶
CreateRoleBadRequest describes a response with status code 400, with default header values.
bad request
func NewCreateRoleBadRequest ¶
func NewCreateRoleBadRequest() *CreateRoleBadRequest
NewCreateRoleBadRequest creates a CreateRoleBadRequest with default headers values
func (*CreateRoleBadRequest) Error ¶
func (o *CreateRoleBadRequest) Error() string
func (*CreateRoleBadRequest) GetPayload ¶
func (o *CreateRoleBadRequest) GetPayload() *models.HTTPError
func (*CreateRoleBadRequest) IsClientError ¶
func (o *CreateRoleBadRequest) IsClientError() bool
IsClientError returns true when this create role bad request response has a 4xx status code
func (*CreateRoleBadRequest) IsCode ¶
func (o *CreateRoleBadRequest) IsCode(code int) bool
IsCode returns true when this create role bad request response a status code equal to that given
func (*CreateRoleBadRequest) IsRedirect ¶
func (o *CreateRoleBadRequest) IsRedirect() bool
IsRedirect returns true when this create role bad request response has a 3xx status code
func (*CreateRoleBadRequest) IsServerError ¶
func (o *CreateRoleBadRequest) IsServerError() bool
IsServerError returns true when this create role bad request response has a 5xx status code
func (*CreateRoleBadRequest) IsSuccess ¶
func (o *CreateRoleBadRequest) IsSuccess() bool
IsSuccess returns true when this create role bad request response has a 2xx status code
func (*CreateRoleBadRequest) String ¶
func (o *CreateRoleBadRequest) String() string
type CreateRoleCreated ¶
CreateRoleCreated describes a response with status code 201, with default header values.
no error
func NewCreateRoleCreated ¶
func NewCreateRoleCreated() *CreateRoleCreated
NewCreateRoleCreated creates a CreateRoleCreated with default headers values
func (*CreateRoleCreated) Error ¶
func (o *CreateRoleCreated) Error() string
func (*CreateRoleCreated) GetPayload ¶
func (o *CreateRoleCreated) GetPayload() *models.Role
func (*CreateRoleCreated) IsClientError ¶
func (o *CreateRoleCreated) IsClientError() bool
IsClientError returns true when this create role created response has a 4xx status code
func (*CreateRoleCreated) IsCode ¶
func (o *CreateRoleCreated) IsCode(code int) bool
IsCode returns true when this create role created response a status code equal to that given
func (*CreateRoleCreated) IsRedirect ¶
func (o *CreateRoleCreated) IsRedirect() bool
IsRedirect returns true when this create role created response has a 3xx status code
func (*CreateRoleCreated) IsServerError ¶
func (o *CreateRoleCreated) IsServerError() bool
IsServerError returns true when this create role created response has a 5xx status code
func (*CreateRoleCreated) IsSuccess ¶
func (o *CreateRoleCreated) IsSuccess() bool
IsSuccess returns true when this create role created response has a 2xx status code
func (*CreateRoleCreated) String ¶
func (o *CreateRoleCreated) String() string
type CreateRoleForbidden ¶
CreateRoleForbidden describes a response with status code 403, with default header values.
forbidden
func NewCreateRoleForbidden ¶
func NewCreateRoleForbidden() *CreateRoleForbidden
NewCreateRoleForbidden creates a CreateRoleForbidden with default headers values
func (*CreateRoleForbidden) Error ¶
func (o *CreateRoleForbidden) Error() string
func (*CreateRoleForbidden) GetPayload ¶
func (o *CreateRoleForbidden) GetPayload() *models.HTTPError
func (*CreateRoleForbidden) IsClientError ¶
func (o *CreateRoleForbidden) IsClientError() bool
IsClientError returns true when this create role forbidden response has a 4xx status code
func (*CreateRoleForbidden) IsCode ¶
func (o *CreateRoleForbidden) IsCode(code int) bool
IsCode returns true when this create role forbidden response a status code equal to that given
func (*CreateRoleForbidden) IsRedirect ¶
func (o *CreateRoleForbidden) IsRedirect() bool
IsRedirect returns true when this create role forbidden response has a 3xx status code
func (*CreateRoleForbidden) IsServerError ¶
func (o *CreateRoleForbidden) IsServerError() bool
IsServerError returns true when this create role forbidden response has a 5xx status code
func (*CreateRoleForbidden) IsSuccess ¶
func (o *CreateRoleForbidden) IsSuccess() bool
IsSuccess returns true when this create role forbidden response has a 2xx status code
func (*CreateRoleForbidden) String ¶
func (o *CreateRoleForbidden) String() string
type CreateRoleInternalServerError ¶
CreateRoleInternalServerError describes a response with status code 500, with default header values.
server error
func NewCreateRoleInternalServerError ¶
func NewCreateRoleInternalServerError() *CreateRoleInternalServerError
NewCreateRoleInternalServerError creates a CreateRoleInternalServerError with default headers values
func (*CreateRoleInternalServerError) Error ¶
func (o *CreateRoleInternalServerError) Error() string
func (*CreateRoleInternalServerError) GetPayload ¶
func (o *CreateRoleInternalServerError) GetPayload() *models.HTTPError
func (*CreateRoleInternalServerError) IsClientError ¶
func (o *CreateRoleInternalServerError) IsClientError() bool
IsClientError returns true when this create role internal server error response has a 4xx status code
func (*CreateRoleInternalServerError) IsCode ¶
func (o *CreateRoleInternalServerError) IsCode(code int) bool
IsCode returns true when this create role internal server error response a status code equal to that given
func (*CreateRoleInternalServerError) IsRedirect ¶
func (o *CreateRoleInternalServerError) IsRedirect() bool
IsRedirect returns true when this create role internal server error response has a 3xx status code
func (*CreateRoleInternalServerError) IsServerError ¶
func (o *CreateRoleInternalServerError) IsServerError() bool
IsServerError returns true when this create role internal server error response has a 5xx status code
func (*CreateRoleInternalServerError) IsSuccess ¶
func (o *CreateRoleInternalServerError) IsSuccess() bool
IsSuccess returns true when this create role internal server error response has a 2xx status code
func (*CreateRoleInternalServerError) String ¶
func (o *CreateRoleInternalServerError) String() string
type CreateRoleParams ¶
type CreateRoleParams struct { // Body. Body *models.RoleCreate Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateRoleParams contains all the parameters to send to the API endpoint
for the create role operation. Typically these are written to a http.Request.
func NewCreateRoleParams ¶
func NewCreateRoleParams() *CreateRoleParams
NewCreateRoleParams creates a new CreateRoleParams 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 NewCreateRoleParamsWithContext ¶
func NewCreateRoleParamsWithContext(ctx context.Context) *CreateRoleParams
NewCreateRoleParamsWithContext creates a new CreateRoleParams object with the ability to set a context for a request.
func NewCreateRoleParamsWithHTTPClient ¶
func NewCreateRoleParamsWithHTTPClient(client *http.Client) *CreateRoleParams
NewCreateRoleParamsWithHTTPClient creates a new CreateRoleParams object with the ability to set a custom HTTPClient for a request.
func NewCreateRoleParamsWithTimeout ¶
func NewCreateRoleParamsWithTimeout(timeout time.Duration) *CreateRoleParams
NewCreateRoleParamsWithTimeout creates a new CreateRoleParams object with the ability to set a timeout on a request.
func (*CreateRoleParams) SetBody ¶
func (o *CreateRoleParams) SetBody(body *models.RoleCreate)
SetBody adds the body to the create role params
func (*CreateRoleParams) SetContext ¶
func (o *CreateRoleParams) SetContext(ctx context.Context)
SetContext adds the context to the create role params
func (*CreateRoleParams) SetDefaults ¶
func (o *CreateRoleParams) SetDefaults()
SetDefaults hydrates default values in the create role params (not the query body).
All values with no default are reset to their zero value.
func (*CreateRoleParams) SetHTTPClient ¶
func (o *CreateRoleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create role params
func (*CreateRoleParams) SetTimeout ¶
func (o *CreateRoleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create role params
func (*CreateRoleParams) WithBody ¶
func (o *CreateRoleParams) WithBody(body *models.RoleCreate) *CreateRoleParams
WithBody adds the body to the create role params
func (*CreateRoleParams) WithContext ¶
func (o *CreateRoleParams) WithContext(ctx context.Context) *CreateRoleParams
WithContext adds the context to the create role params
func (*CreateRoleParams) WithDefaults ¶
func (o *CreateRoleParams) WithDefaults() *CreateRoleParams
WithDefaults hydrates default values in the create role params (not the query body).
All values with no default are reset to their zero value.
func (*CreateRoleParams) WithHTTPClient ¶
func (o *CreateRoleParams) WithHTTPClient(client *http.Client) *CreateRoleParams
WithHTTPClient adds the HTTPClient to the create role params
func (*CreateRoleParams) WithTimeout ¶
func (o *CreateRoleParams) WithTimeout(timeout time.Duration) *CreateRoleParams
WithTimeout adds the timeout to the create role params
func (*CreateRoleParams) WriteToRequest ¶
func (o *CreateRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateRoleReader ¶
type CreateRoleReader struct {
// contains filtered or unexported fields
}
CreateRoleReader is a Reader for the CreateRole structure.
func (*CreateRoleReader) ReadResponse ¶
func (o *CreateRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateRoleUnauthorized ¶
type CreateRoleUnauthorized struct {
}CreateRoleUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewCreateRoleUnauthorized ¶
func NewCreateRoleUnauthorized() *CreateRoleUnauthorized
NewCreateRoleUnauthorized creates a CreateRoleUnauthorized with default headers values
func (*CreateRoleUnauthorized) Error ¶
func (o *CreateRoleUnauthorized) Error() string
func (*CreateRoleUnauthorized) GetPayload ¶
func (o *CreateRoleUnauthorized) GetPayload() *models.HTTPError
func (*CreateRoleUnauthorized) IsClientError ¶
func (o *CreateRoleUnauthorized) IsClientError() bool
IsClientError returns true when this create role unauthorized response has a 4xx status code
func (*CreateRoleUnauthorized) IsCode ¶
func (o *CreateRoleUnauthorized) IsCode(code int) bool
IsCode returns true when this create role unauthorized response a status code equal to that given
func (*CreateRoleUnauthorized) IsRedirect ¶
func (o *CreateRoleUnauthorized) IsRedirect() bool
IsRedirect returns true when this create role unauthorized response has a 3xx status code
func (*CreateRoleUnauthorized) IsServerError ¶
func (o *CreateRoleUnauthorized) IsServerError() bool
IsServerError returns true when this create role unauthorized response has a 5xx status code
func (*CreateRoleUnauthorized) IsSuccess ¶
func (o *CreateRoleUnauthorized) IsSuccess() bool
IsSuccess returns true when this create role unauthorized response has a 2xx status code
func (*CreateRoleUnauthorized) String ¶
func (o *CreateRoleUnauthorized) String() string
type DeleteRoleBadRequest ¶
DeleteRoleBadRequest describes a response with status code 400, with default header values.
bad request
func NewDeleteRoleBadRequest ¶
func NewDeleteRoleBadRequest() *DeleteRoleBadRequest
NewDeleteRoleBadRequest creates a DeleteRoleBadRequest with default headers values
func (*DeleteRoleBadRequest) Error ¶
func (o *DeleteRoleBadRequest) Error() string
func (*DeleteRoleBadRequest) GetPayload ¶
func (o *DeleteRoleBadRequest) GetPayload() *models.HTTPError
func (*DeleteRoleBadRequest) IsClientError ¶
func (o *DeleteRoleBadRequest) IsClientError() bool
IsClientError returns true when this delete role bad request response has a 4xx status code
func (*DeleteRoleBadRequest) IsCode ¶
func (o *DeleteRoleBadRequest) IsCode(code int) bool
IsCode returns true when this delete role bad request response a status code equal to that given
func (*DeleteRoleBadRequest) IsRedirect ¶
func (o *DeleteRoleBadRequest) IsRedirect() bool
IsRedirect returns true when this delete role bad request response has a 3xx status code
func (*DeleteRoleBadRequest) IsServerError ¶
func (o *DeleteRoleBadRequest) IsServerError() bool
IsServerError returns true when this delete role bad request response has a 5xx status code
func (*DeleteRoleBadRequest) IsSuccess ¶
func (o *DeleteRoleBadRequest) IsSuccess() bool
IsSuccess returns true when this delete role bad request response has a 2xx status code
func (*DeleteRoleBadRequest) String ¶
func (o *DeleteRoleBadRequest) String() string
type DeleteRoleForbidden ¶
DeleteRoleForbidden describes a response with status code 403, with default header values.
forbidden
func NewDeleteRoleForbidden ¶
func NewDeleteRoleForbidden() *DeleteRoleForbidden
NewDeleteRoleForbidden creates a DeleteRoleForbidden with default headers values
func (*DeleteRoleForbidden) Error ¶
func (o *DeleteRoleForbidden) Error() string
func (*DeleteRoleForbidden) GetPayload ¶
func (o *DeleteRoleForbidden) GetPayload() *models.HTTPError
func (*DeleteRoleForbidden) IsClientError ¶
func (o *DeleteRoleForbidden) IsClientError() bool
IsClientError returns true when this delete role forbidden response has a 4xx status code
func (*DeleteRoleForbidden) IsCode ¶
func (o *DeleteRoleForbidden) IsCode(code int) bool
IsCode returns true when this delete role forbidden response a status code equal to that given
func (*DeleteRoleForbidden) IsRedirect ¶
func (o *DeleteRoleForbidden) IsRedirect() bool
IsRedirect returns true when this delete role forbidden response has a 3xx status code
func (*DeleteRoleForbidden) IsServerError ¶
func (o *DeleteRoleForbidden) IsServerError() bool
IsServerError returns true when this delete role forbidden response has a 5xx status code
func (*DeleteRoleForbidden) IsSuccess ¶
func (o *DeleteRoleForbidden) IsSuccess() bool
IsSuccess returns true when this delete role forbidden response has a 2xx status code
func (*DeleteRoleForbidden) String ¶
func (o *DeleteRoleForbidden) String() string
type DeleteRoleInternalServerError ¶
DeleteRoleInternalServerError describes a response with status code 500, with default header values.
server error
func NewDeleteRoleInternalServerError ¶
func NewDeleteRoleInternalServerError() *DeleteRoleInternalServerError
NewDeleteRoleInternalServerError creates a DeleteRoleInternalServerError with default headers values
func (*DeleteRoleInternalServerError) Error ¶
func (o *DeleteRoleInternalServerError) Error() string
func (*DeleteRoleInternalServerError) GetPayload ¶
func (o *DeleteRoleInternalServerError) GetPayload() *models.HTTPError
func (*DeleteRoleInternalServerError) IsClientError ¶
func (o *DeleteRoleInternalServerError) IsClientError() bool
IsClientError returns true when this delete role internal server error response has a 4xx status code
func (*DeleteRoleInternalServerError) IsCode ¶
func (o *DeleteRoleInternalServerError) IsCode(code int) bool
IsCode returns true when this delete role internal server error response a status code equal to that given
func (*DeleteRoleInternalServerError) IsRedirect ¶
func (o *DeleteRoleInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete role internal server error response has a 3xx status code
func (*DeleteRoleInternalServerError) IsServerError ¶
func (o *DeleteRoleInternalServerError) IsServerError() bool
IsServerError returns true when this delete role internal server error response has a 5xx status code
func (*DeleteRoleInternalServerError) IsSuccess ¶
func (o *DeleteRoleInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete role internal server error response has a 2xx status code
func (*DeleteRoleInternalServerError) String ¶
func (o *DeleteRoleInternalServerError) String() string
type DeleteRoleNoContent ¶
type DeleteRoleNoContent struct { }
DeleteRoleNoContent describes a response with status code 204, with default header values.
no error
func NewDeleteRoleNoContent ¶
func NewDeleteRoleNoContent() *DeleteRoleNoContent
NewDeleteRoleNoContent creates a DeleteRoleNoContent with default headers values
func (*DeleteRoleNoContent) Error ¶
func (o *DeleteRoleNoContent) Error() string
func (*DeleteRoleNoContent) IsClientError ¶
func (o *DeleteRoleNoContent) IsClientError() bool
IsClientError returns true when this delete role no content response has a 4xx status code
func (*DeleteRoleNoContent) IsCode ¶
func (o *DeleteRoleNoContent) IsCode(code int) bool
IsCode returns true when this delete role no content response a status code equal to that given
func (*DeleteRoleNoContent) IsRedirect ¶
func (o *DeleteRoleNoContent) IsRedirect() bool
IsRedirect returns true when this delete role no content response has a 3xx status code
func (*DeleteRoleNoContent) IsServerError ¶
func (o *DeleteRoleNoContent) IsServerError() bool
IsServerError returns true when this delete role no content response has a 5xx status code
func (*DeleteRoleNoContent) IsSuccess ¶
func (o *DeleteRoleNoContent) IsSuccess() bool
IsSuccess returns true when this delete role no content response has a 2xx status code
func (*DeleteRoleNoContent) String ¶
func (o *DeleteRoleNoContent) String() string
type DeleteRoleNotFound ¶
DeleteRoleNotFound describes a response with status code 404, with default header values.
not found
func NewDeleteRoleNotFound ¶
func NewDeleteRoleNotFound() *DeleteRoleNotFound
NewDeleteRoleNotFound creates a DeleteRoleNotFound with default headers values
func (*DeleteRoleNotFound) Error ¶
func (o *DeleteRoleNotFound) Error() string
func (*DeleteRoleNotFound) GetPayload ¶
func (o *DeleteRoleNotFound) GetPayload() *models.HTTPError
func (*DeleteRoleNotFound) IsClientError ¶
func (o *DeleteRoleNotFound) IsClientError() bool
IsClientError returns true when this delete role not found response has a 4xx status code
func (*DeleteRoleNotFound) IsCode ¶
func (o *DeleteRoleNotFound) IsCode(code int) bool
IsCode returns true when this delete role not found response a status code equal to that given
func (*DeleteRoleNotFound) IsRedirect ¶
func (o *DeleteRoleNotFound) IsRedirect() bool
IsRedirect returns true when this delete role not found response has a 3xx status code
func (*DeleteRoleNotFound) IsServerError ¶
func (o *DeleteRoleNotFound) IsServerError() bool
IsServerError returns true when this delete role not found response has a 5xx status code
func (*DeleteRoleNotFound) IsSuccess ¶
func (o *DeleteRoleNotFound) IsSuccess() bool
IsSuccess returns true when this delete role not found response has a 2xx status code
func (*DeleteRoleNotFound) String ¶
func (o *DeleteRoleNotFound) String() string
type DeleteRoleOK ¶
type DeleteRoleOK struct {
Payload *models.MessageResponse
}
DeleteRoleOK describes a response with status code 200, with default header values.
no error
func NewDeleteRoleOK ¶
func NewDeleteRoleOK() *DeleteRoleOK
NewDeleteRoleOK creates a DeleteRoleOK with default headers values
func (*DeleteRoleOK) Error ¶
func (o *DeleteRoleOK) Error() string
func (*DeleteRoleOK) GetPayload ¶
func (o *DeleteRoleOK) GetPayload() *models.MessageResponse
func (*DeleteRoleOK) IsClientError ¶
func (o *DeleteRoleOK) IsClientError() bool
IsClientError returns true when this delete role o k response has a 4xx status code
func (*DeleteRoleOK) IsCode ¶
func (o *DeleteRoleOK) IsCode(code int) bool
IsCode returns true when this delete role o k response a status code equal to that given
func (*DeleteRoleOK) IsRedirect ¶
func (o *DeleteRoleOK) IsRedirect() bool
IsRedirect returns true when this delete role o k response has a 3xx status code
func (*DeleteRoleOK) IsServerError ¶
func (o *DeleteRoleOK) IsServerError() bool
IsServerError returns true when this delete role o k response has a 5xx status code
func (*DeleteRoleOK) IsSuccess ¶
func (o *DeleteRoleOK) IsSuccess() bool
IsSuccess returns true when this delete role o k response has a 2xx status code
func (*DeleteRoleOK) String ¶
func (o *DeleteRoleOK) String() string
type DeleteRoleParams ¶
type DeleteRoleParams struct { /* Force. Delete immediately */ Force *bool /* Name. Full role name to lookup role by */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteRoleParams contains all the parameters to send to the API endpoint
for the delete role operation. Typically these are written to a http.Request.
func NewDeleteRoleParams ¶
func NewDeleteRoleParams() *DeleteRoleParams
NewDeleteRoleParams creates a new DeleteRoleParams 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 NewDeleteRoleParamsWithContext ¶
func NewDeleteRoleParamsWithContext(ctx context.Context) *DeleteRoleParams
NewDeleteRoleParamsWithContext creates a new DeleteRoleParams object with the ability to set a context for a request.
func NewDeleteRoleParamsWithHTTPClient ¶
func NewDeleteRoleParamsWithHTTPClient(client *http.Client) *DeleteRoleParams
NewDeleteRoleParamsWithHTTPClient creates a new DeleteRoleParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteRoleParamsWithTimeout ¶
func NewDeleteRoleParamsWithTimeout(timeout time.Duration) *DeleteRoleParams
NewDeleteRoleParamsWithTimeout creates a new DeleteRoleParams object with the ability to set a timeout on a request.
func (*DeleteRoleParams) SetContext ¶
func (o *DeleteRoleParams) SetContext(ctx context.Context)
SetContext adds the context to the delete role params
func (*DeleteRoleParams) SetDefaults ¶
func (o *DeleteRoleParams) SetDefaults()
SetDefaults hydrates default values in the delete role params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRoleParams) SetForce ¶
func (o *DeleteRoleParams) SetForce(force *bool)
SetForce adds the force to the delete role params
func (*DeleteRoleParams) SetHTTPClient ¶
func (o *DeleteRoleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete role params
func (*DeleteRoleParams) SetName ¶
func (o *DeleteRoleParams) SetName(name string)
SetName adds the name to the delete role params
func (*DeleteRoleParams) SetTimeout ¶
func (o *DeleteRoleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete role params
func (*DeleteRoleParams) WithContext ¶
func (o *DeleteRoleParams) WithContext(ctx context.Context) *DeleteRoleParams
WithContext adds the context to the delete role params
func (*DeleteRoleParams) WithDefaults ¶
func (o *DeleteRoleParams) WithDefaults() *DeleteRoleParams
WithDefaults hydrates default values in the delete role params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRoleParams) WithForce ¶
func (o *DeleteRoleParams) WithForce(force *bool) *DeleteRoleParams
WithForce adds the force to the delete role params
func (*DeleteRoleParams) WithHTTPClient ¶
func (o *DeleteRoleParams) WithHTTPClient(client *http.Client) *DeleteRoleParams
WithHTTPClient adds the HTTPClient to the delete role params
func (*DeleteRoleParams) WithName ¶
func (o *DeleteRoleParams) WithName(name string) *DeleteRoleParams
WithName adds the name to the delete role params
func (*DeleteRoleParams) WithTimeout ¶
func (o *DeleteRoleParams) WithTimeout(timeout time.Duration) *DeleteRoleParams
WithTimeout adds the timeout to the delete role params
func (*DeleteRoleParams) WriteToRequest ¶
func (o *DeleteRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteRoleReader ¶
type DeleteRoleReader struct {
// contains filtered or unexported fields
}
DeleteRoleReader is a Reader for the DeleteRole structure.
func (*DeleteRoleReader) ReadResponse ¶
func (o *DeleteRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteRoleUnauthorized ¶
type DeleteRoleUnauthorized struct {
}DeleteRoleUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewDeleteRoleUnauthorized ¶
func NewDeleteRoleUnauthorized() *DeleteRoleUnauthorized
NewDeleteRoleUnauthorized creates a DeleteRoleUnauthorized with default headers values
func (*DeleteRoleUnauthorized) Error ¶
func (o *DeleteRoleUnauthorized) Error() string
func (*DeleteRoleUnauthorized) GetPayload ¶
func (o *DeleteRoleUnauthorized) GetPayload() *models.HTTPError
func (*DeleteRoleUnauthorized) IsClientError ¶
func (o *DeleteRoleUnauthorized) IsClientError() bool
IsClientError returns true when this delete role unauthorized response has a 4xx status code
func (*DeleteRoleUnauthorized) IsCode ¶
func (o *DeleteRoleUnauthorized) IsCode(code int) bool
IsCode returns true when this delete role unauthorized response a status code equal to that given
func (*DeleteRoleUnauthorized) IsRedirect ¶
func (o *DeleteRoleUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete role unauthorized response has a 3xx status code
func (*DeleteRoleUnauthorized) IsServerError ¶
func (o *DeleteRoleUnauthorized) IsServerError() bool
IsServerError returns true when this delete role unauthorized response has a 5xx status code
func (*DeleteRoleUnauthorized) IsSuccess ¶
func (o *DeleteRoleUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete role unauthorized response has a 2xx status code
func (*DeleteRoleUnauthorized) String ¶
func (o *DeleteRoleUnauthorized) String() string
type GetRoleBadRequest ¶
GetRoleBadRequest describes a response with status code 400, with default header values.
bad request
func NewGetRoleBadRequest ¶
func NewGetRoleBadRequest() *GetRoleBadRequest
NewGetRoleBadRequest creates a GetRoleBadRequest with default headers values
func (*GetRoleBadRequest) Error ¶
func (o *GetRoleBadRequest) Error() string
func (*GetRoleBadRequest) GetPayload ¶
func (o *GetRoleBadRequest) GetPayload() *models.HTTPError
func (*GetRoleBadRequest) IsClientError ¶
func (o *GetRoleBadRequest) IsClientError() bool
IsClientError returns true when this get role bad request response has a 4xx status code
func (*GetRoleBadRequest) IsCode ¶
func (o *GetRoleBadRequest) IsCode(code int) bool
IsCode returns true when this get role bad request response a status code equal to that given
func (*GetRoleBadRequest) IsRedirect ¶
func (o *GetRoleBadRequest) IsRedirect() bool
IsRedirect returns true when this get role bad request response has a 3xx status code
func (*GetRoleBadRequest) IsServerError ¶
func (o *GetRoleBadRequest) IsServerError() bool
IsServerError returns true when this get role bad request response has a 5xx status code
func (*GetRoleBadRequest) IsSuccess ¶
func (o *GetRoleBadRequest) IsSuccess() bool
IsSuccess returns true when this get role bad request response has a 2xx status code
func (*GetRoleBadRequest) String ¶
func (o *GetRoleBadRequest) String() string
type GetRoleByVersionBadRequest ¶
GetRoleByVersionBadRequest describes a response with status code 400, with default header values.
bad request
func NewGetRoleByVersionBadRequest ¶
func NewGetRoleByVersionBadRequest() *GetRoleByVersionBadRequest
NewGetRoleByVersionBadRequest creates a GetRoleByVersionBadRequest with default headers values
func (*GetRoleByVersionBadRequest) Error ¶
func (o *GetRoleByVersionBadRequest) Error() string
func (*GetRoleByVersionBadRequest) GetPayload ¶
func (o *GetRoleByVersionBadRequest) GetPayload() *models.HTTPError
func (*GetRoleByVersionBadRequest) IsClientError ¶
func (o *GetRoleByVersionBadRequest) IsClientError() bool
IsClientError returns true when this get role by version bad request response has a 4xx status code
func (*GetRoleByVersionBadRequest) IsCode ¶
func (o *GetRoleByVersionBadRequest) IsCode(code int) bool
IsCode returns true when this get role by version bad request response a status code equal to that given
func (*GetRoleByVersionBadRequest) IsRedirect ¶
func (o *GetRoleByVersionBadRequest) IsRedirect() bool
IsRedirect returns true when this get role by version bad request response has a 3xx status code
func (*GetRoleByVersionBadRequest) IsServerError ¶
func (o *GetRoleByVersionBadRequest) IsServerError() bool
IsServerError returns true when this get role by version bad request response has a 5xx status code
func (*GetRoleByVersionBadRequest) IsSuccess ¶
func (o *GetRoleByVersionBadRequest) IsSuccess() bool
IsSuccess returns true when this get role by version bad request response has a 2xx status code
func (*GetRoleByVersionBadRequest) String ¶
func (o *GetRoleByVersionBadRequest) String() string
type GetRoleByVersionForbidden ¶
GetRoleByVersionForbidden describes a response with status code 403, with default header values.
forbidden
func NewGetRoleByVersionForbidden ¶
func NewGetRoleByVersionForbidden() *GetRoleByVersionForbidden
NewGetRoleByVersionForbidden creates a GetRoleByVersionForbidden with default headers values
func (*GetRoleByVersionForbidden) Error ¶
func (o *GetRoleByVersionForbidden) Error() string
func (*GetRoleByVersionForbidden) GetPayload ¶
func (o *GetRoleByVersionForbidden) GetPayload() *models.HTTPError
func (*GetRoleByVersionForbidden) IsClientError ¶
func (o *GetRoleByVersionForbidden) IsClientError() bool
IsClientError returns true when this get role by version forbidden response has a 4xx status code
func (*GetRoleByVersionForbidden) IsCode ¶
func (o *GetRoleByVersionForbidden) IsCode(code int) bool
IsCode returns true when this get role by version forbidden response a status code equal to that given
func (*GetRoleByVersionForbidden) IsRedirect ¶
func (o *GetRoleByVersionForbidden) IsRedirect() bool
IsRedirect returns true when this get role by version forbidden response has a 3xx status code
func (*GetRoleByVersionForbidden) IsServerError ¶
func (o *GetRoleByVersionForbidden) IsServerError() bool
IsServerError returns true when this get role by version forbidden response has a 5xx status code
func (*GetRoleByVersionForbidden) IsSuccess ¶
func (o *GetRoleByVersionForbidden) IsSuccess() bool
IsSuccess returns true when this get role by version forbidden response has a 2xx status code
func (*GetRoleByVersionForbidden) String ¶
func (o *GetRoleByVersionForbidden) String() string
type GetRoleByVersionInternalServerError ¶
GetRoleByVersionInternalServerError describes a response with status code 500, with default header values.
server error
func NewGetRoleByVersionInternalServerError ¶
func NewGetRoleByVersionInternalServerError() *GetRoleByVersionInternalServerError
NewGetRoleByVersionInternalServerError creates a GetRoleByVersionInternalServerError with default headers values
func (*GetRoleByVersionInternalServerError) Error ¶
func (o *GetRoleByVersionInternalServerError) Error() string
func (*GetRoleByVersionInternalServerError) GetPayload ¶
func (o *GetRoleByVersionInternalServerError) GetPayload() *models.HTTPError
func (*GetRoleByVersionInternalServerError) IsClientError ¶
func (o *GetRoleByVersionInternalServerError) IsClientError() bool
IsClientError returns true when this get role by version internal server error response has a 4xx status code
func (*GetRoleByVersionInternalServerError) IsCode ¶
func (o *GetRoleByVersionInternalServerError) IsCode(code int) bool
IsCode returns true when this get role by version internal server error response a status code equal to that given
func (*GetRoleByVersionInternalServerError) IsRedirect ¶
func (o *GetRoleByVersionInternalServerError) IsRedirect() bool
IsRedirect returns true when this get role by version internal server error response has a 3xx status code
func (*GetRoleByVersionInternalServerError) IsServerError ¶
func (o *GetRoleByVersionInternalServerError) IsServerError() bool
IsServerError returns true when this get role by version internal server error response has a 5xx status code
func (*GetRoleByVersionInternalServerError) IsSuccess ¶
func (o *GetRoleByVersionInternalServerError) IsSuccess() bool
IsSuccess returns true when this get role by version internal server error response has a 2xx status code
func (*GetRoleByVersionInternalServerError) String ¶
func (o *GetRoleByVersionInternalServerError) String() string
type GetRoleByVersionNotFound ¶
GetRoleByVersionNotFound describes a response with status code 404, with default header values.
not found
func NewGetRoleByVersionNotFound ¶
func NewGetRoleByVersionNotFound() *GetRoleByVersionNotFound
NewGetRoleByVersionNotFound creates a GetRoleByVersionNotFound with default headers values
func (*GetRoleByVersionNotFound) Error ¶
func (o *GetRoleByVersionNotFound) Error() string
func (*GetRoleByVersionNotFound) GetPayload ¶
func (o *GetRoleByVersionNotFound) GetPayload() *models.HTTPError
func (*GetRoleByVersionNotFound) IsClientError ¶
func (o *GetRoleByVersionNotFound) IsClientError() bool
IsClientError returns true when this get role by version not found response has a 4xx status code
func (*GetRoleByVersionNotFound) IsCode ¶
func (o *GetRoleByVersionNotFound) IsCode(code int) bool
IsCode returns true when this get role by version not found response a status code equal to that given
func (*GetRoleByVersionNotFound) IsRedirect ¶
func (o *GetRoleByVersionNotFound) IsRedirect() bool
IsRedirect returns true when this get role by version not found response has a 3xx status code
func (*GetRoleByVersionNotFound) IsServerError ¶
func (o *GetRoleByVersionNotFound) IsServerError() bool
IsServerError returns true when this get role by version not found response has a 5xx status code
func (*GetRoleByVersionNotFound) IsSuccess ¶
func (o *GetRoleByVersionNotFound) IsSuccess() bool
IsSuccess returns true when this get role by version not found response has a 2xx status code
func (*GetRoleByVersionNotFound) String ¶
func (o *GetRoleByVersionNotFound) String() string
type GetRoleByVersionOK ¶
type GetRoleByVersionOK struct {
Payload *models.RoleVersionResponse
}
GetRoleByVersionOK describes a response with status code 200, with default header values.
no error
func NewGetRoleByVersionOK ¶
func NewGetRoleByVersionOK() *GetRoleByVersionOK
NewGetRoleByVersionOK creates a GetRoleByVersionOK with default headers values
func (*GetRoleByVersionOK) Error ¶
func (o *GetRoleByVersionOK) Error() string
func (*GetRoleByVersionOK) GetPayload ¶
func (o *GetRoleByVersionOK) GetPayload() *models.RoleVersionResponse
func (*GetRoleByVersionOK) IsClientError ¶
func (o *GetRoleByVersionOK) IsClientError() bool
IsClientError returns true when this get role by version o k response has a 4xx status code
func (*GetRoleByVersionOK) IsCode ¶
func (o *GetRoleByVersionOK) IsCode(code int) bool
IsCode returns true when this get role by version o k response a status code equal to that given
func (*GetRoleByVersionOK) IsRedirect ¶
func (o *GetRoleByVersionOK) IsRedirect() bool
IsRedirect returns true when this get role by version o k response has a 3xx status code
func (*GetRoleByVersionOK) IsServerError ¶
func (o *GetRoleByVersionOK) IsServerError() bool
IsServerError returns true when this get role by version o k response has a 5xx status code
func (*GetRoleByVersionOK) IsSuccess ¶
func (o *GetRoleByVersionOK) IsSuccess() bool
IsSuccess returns true when this get role by version o k response has a 2xx status code
func (*GetRoleByVersionOK) String ¶
func (o *GetRoleByVersionOK) String() string
type GetRoleByVersionParams ¶
type GetRoleByVersionParams struct { /* Name. Full name to lookup role by */ Name string /* Version. Versions to return Format: int64 */ Version int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRoleByVersionParams contains all the parameters to send to the API endpoint
for the get role by version operation. Typically these are written to a http.Request.
func NewGetRoleByVersionParams ¶
func NewGetRoleByVersionParams() *GetRoleByVersionParams
NewGetRoleByVersionParams creates a new GetRoleByVersionParams 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 NewGetRoleByVersionParamsWithContext ¶
func NewGetRoleByVersionParamsWithContext(ctx context.Context) *GetRoleByVersionParams
NewGetRoleByVersionParamsWithContext creates a new GetRoleByVersionParams object with the ability to set a context for a request.
func NewGetRoleByVersionParamsWithHTTPClient ¶
func NewGetRoleByVersionParamsWithHTTPClient(client *http.Client) *GetRoleByVersionParams
NewGetRoleByVersionParamsWithHTTPClient creates a new GetRoleByVersionParams object with the ability to set a custom HTTPClient for a request.
func NewGetRoleByVersionParamsWithTimeout ¶
func NewGetRoleByVersionParamsWithTimeout(timeout time.Duration) *GetRoleByVersionParams
NewGetRoleByVersionParamsWithTimeout creates a new GetRoleByVersionParams object with the ability to set a timeout on a request.
func (*GetRoleByVersionParams) SetContext ¶
func (o *GetRoleByVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the get role by version params
func (*GetRoleByVersionParams) SetDefaults ¶
func (o *GetRoleByVersionParams) SetDefaults()
SetDefaults hydrates default values in the get role by version params (not the query body).
All values with no default are reset to their zero value.
func (*GetRoleByVersionParams) SetHTTPClient ¶
func (o *GetRoleByVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get role by version params
func (*GetRoleByVersionParams) SetName ¶
func (o *GetRoleByVersionParams) SetName(name string)
SetName adds the name to the get role by version params
func (*GetRoleByVersionParams) SetTimeout ¶
func (o *GetRoleByVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get role by version params
func (*GetRoleByVersionParams) SetVersion ¶
func (o *GetRoleByVersionParams) SetVersion(version int64)
SetVersion adds the version to the get role by version params
func (*GetRoleByVersionParams) WithContext ¶
func (o *GetRoleByVersionParams) WithContext(ctx context.Context) *GetRoleByVersionParams
WithContext adds the context to the get role by version params
func (*GetRoleByVersionParams) WithDefaults ¶
func (o *GetRoleByVersionParams) WithDefaults() *GetRoleByVersionParams
WithDefaults hydrates default values in the get role by version params (not the query body).
All values with no default are reset to their zero value.
func (*GetRoleByVersionParams) WithHTTPClient ¶
func (o *GetRoleByVersionParams) WithHTTPClient(client *http.Client) *GetRoleByVersionParams
WithHTTPClient adds the HTTPClient to the get role by version params
func (*GetRoleByVersionParams) WithName ¶
func (o *GetRoleByVersionParams) WithName(name string) *GetRoleByVersionParams
WithName adds the name to the get role by version params
func (*GetRoleByVersionParams) WithTimeout ¶
func (o *GetRoleByVersionParams) WithTimeout(timeout time.Duration) *GetRoleByVersionParams
WithTimeout adds the timeout to the get role by version params
func (*GetRoleByVersionParams) WithVersion ¶
func (o *GetRoleByVersionParams) WithVersion(version int64) *GetRoleByVersionParams
WithVersion adds the version to the get role by version params
func (*GetRoleByVersionParams) WriteToRequest ¶
func (o *GetRoleByVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRoleByVersionReader ¶
type GetRoleByVersionReader struct {
// contains filtered or unexported fields
}
GetRoleByVersionReader is a Reader for the GetRoleByVersion structure.
func (*GetRoleByVersionReader) ReadResponse ¶
func (o *GetRoleByVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRoleByVersionUnauthorized ¶
type GetRoleByVersionUnauthorized struct {
}GetRoleByVersionUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewGetRoleByVersionUnauthorized ¶
func NewGetRoleByVersionUnauthorized() *GetRoleByVersionUnauthorized
NewGetRoleByVersionUnauthorized creates a GetRoleByVersionUnauthorized with default headers values
func (*GetRoleByVersionUnauthorized) Error ¶
func (o *GetRoleByVersionUnauthorized) Error() string
func (*GetRoleByVersionUnauthorized) GetPayload ¶
func (o *GetRoleByVersionUnauthorized) GetPayload() *models.HTTPError
func (*GetRoleByVersionUnauthorized) IsClientError ¶
func (o *GetRoleByVersionUnauthorized) IsClientError() bool
IsClientError returns true when this get role by version unauthorized response has a 4xx status code
func (*GetRoleByVersionUnauthorized) IsCode ¶
func (o *GetRoleByVersionUnauthorized) IsCode(code int) bool
IsCode returns true when this get role by version unauthorized response a status code equal to that given
func (*GetRoleByVersionUnauthorized) IsRedirect ¶
func (o *GetRoleByVersionUnauthorized) IsRedirect() bool
IsRedirect returns true when this get role by version unauthorized response has a 3xx status code
func (*GetRoleByVersionUnauthorized) IsServerError ¶
func (o *GetRoleByVersionUnauthorized) IsServerError() bool
IsServerError returns true when this get role by version unauthorized response has a 5xx status code
func (*GetRoleByVersionUnauthorized) IsSuccess ¶
func (o *GetRoleByVersionUnauthorized) IsSuccess() bool
IsSuccess returns true when this get role by version unauthorized response has a 2xx status code
func (*GetRoleByVersionUnauthorized) String ¶
func (o *GetRoleByVersionUnauthorized) String() string
type GetRoleForbidden ¶
GetRoleForbidden describes a response with status code 403, with default header values.
forbidden
func NewGetRoleForbidden ¶
func NewGetRoleForbidden() *GetRoleForbidden
NewGetRoleForbidden creates a GetRoleForbidden with default headers values
func (*GetRoleForbidden) Error ¶
func (o *GetRoleForbidden) Error() string
func (*GetRoleForbidden) GetPayload ¶
func (o *GetRoleForbidden) GetPayload() *models.HTTPError
func (*GetRoleForbidden) IsClientError ¶
func (o *GetRoleForbidden) IsClientError() bool
IsClientError returns true when this get role forbidden response has a 4xx status code
func (*GetRoleForbidden) IsCode ¶
func (o *GetRoleForbidden) IsCode(code int) bool
IsCode returns true when this get role forbidden response a status code equal to that given
func (*GetRoleForbidden) IsRedirect ¶
func (o *GetRoleForbidden) IsRedirect() bool
IsRedirect returns true when this get role forbidden response has a 3xx status code
func (*GetRoleForbidden) IsServerError ¶
func (o *GetRoleForbidden) IsServerError() bool
IsServerError returns true when this get role forbidden response has a 5xx status code
func (*GetRoleForbidden) IsSuccess ¶
func (o *GetRoleForbidden) IsSuccess() bool
IsSuccess returns true when this get role forbidden response has a 2xx status code
func (*GetRoleForbidden) String ¶
func (o *GetRoleForbidden) String() string
type GetRoleInternalServerError ¶
GetRoleInternalServerError describes a response with status code 500, with default header values.
server error
func NewGetRoleInternalServerError ¶
func NewGetRoleInternalServerError() *GetRoleInternalServerError
NewGetRoleInternalServerError creates a GetRoleInternalServerError with default headers values
func (*GetRoleInternalServerError) Error ¶
func (o *GetRoleInternalServerError) Error() string
func (*GetRoleInternalServerError) GetPayload ¶
func (o *GetRoleInternalServerError) GetPayload() *models.HTTPError
func (*GetRoleInternalServerError) IsClientError ¶
func (o *GetRoleInternalServerError) IsClientError() bool
IsClientError returns true when this get role internal server error response has a 4xx status code
func (*GetRoleInternalServerError) IsCode ¶
func (o *GetRoleInternalServerError) IsCode(code int) bool
IsCode returns true when this get role internal server error response a status code equal to that given
func (*GetRoleInternalServerError) IsRedirect ¶
func (o *GetRoleInternalServerError) IsRedirect() bool
IsRedirect returns true when this get role internal server error response has a 3xx status code
func (*GetRoleInternalServerError) IsServerError ¶
func (o *GetRoleInternalServerError) IsServerError() bool
IsServerError returns true when this get role internal server error response has a 5xx status code
func (*GetRoleInternalServerError) IsSuccess ¶
func (o *GetRoleInternalServerError) IsSuccess() bool
IsSuccess returns true when this get role internal server error response has a 2xx status code
func (*GetRoleInternalServerError) String ¶
func (o *GetRoleInternalServerError) String() string
type GetRoleNotFound ¶
GetRoleNotFound describes a response with status code 404, with default header values.
not found
func NewGetRoleNotFound ¶
func NewGetRoleNotFound() *GetRoleNotFound
NewGetRoleNotFound creates a GetRoleNotFound with default headers values
func (*GetRoleNotFound) Error ¶
func (o *GetRoleNotFound) Error() string
func (*GetRoleNotFound) GetPayload ¶
func (o *GetRoleNotFound) GetPayload() *models.HTTPError
func (*GetRoleNotFound) IsClientError ¶
func (o *GetRoleNotFound) IsClientError() bool
IsClientError returns true when this get role not found response has a 4xx status code
func (*GetRoleNotFound) IsCode ¶
func (o *GetRoleNotFound) IsCode(code int) bool
IsCode returns true when this get role not found response a status code equal to that given
func (*GetRoleNotFound) IsRedirect ¶
func (o *GetRoleNotFound) IsRedirect() bool
IsRedirect returns true when this get role not found response has a 3xx status code
func (*GetRoleNotFound) IsServerError ¶
func (o *GetRoleNotFound) IsServerError() bool
IsServerError returns true when this get role not found response has a 5xx status code
func (*GetRoleNotFound) IsSuccess ¶
func (o *GetRoleNotFound) IsSuccess() bool
IsSuccess returns true when this get role not found response has a 2xx status code
func (*GetRoleNotFound) String ¶
func (o *GetRoleNotFound) String() string
type GetRoleOK ¶
GetRoleOK describes a response with status code 200, with default header values.
no error
func NewGetRoleOK ¶
func NewGetRoleOK() *GetRoleOK
NewGetRoleOK creates a GetRoleOK with default headers values
func (*GetRoleOK) GetPayload ¶
func (*GetRoleOK) IsClientError ¶
IsClientError returns true when this get role o k response has a 4xx status code
func (*GetRoleOK) IsCode ¶
IsCode returns true when this get role o k response a status code equal to that given
func (*GetRoleOK) IsRedirect ¶
IsRedirect returns true when this get role o k response has a 3xx status code
func (*GetRoleOK) IsServerError ¶
IsServerError returns true when this get role o k response has a 5xx status code
type GetRoleParams ¶
type GetRoleParams struct { /* Name. Full role name to lookup role by */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRoleParams contains all the parameters to send to the API endpoint
for the get role operation. Typically these are written to a http.Request.
func NewGetRoleParams ¶
func NewGetRoleParams() *GetRoleParams
NewGetRoleParams creates a new GetRoleParams 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 NewGetRoleParamsWithContext ¶
func NewGetRoleParamsWithContext(ctx context.Context) *GetRoleParams
NewGetRoleParamsWithContext creates a new GetRoleParams object with the ability to set a context for a request.
func NewGetRoleParamsWithHTTPClient ¶
func NewGetRoleParamsWithHTTPClient(client *http.Client) *GetRoleParams
NewGetRoleParamsWithHTTPClient creates a new GetRoleParams object with the ability to set a custom HTTPClient for a request.
func NewGetRoleParamsWithTimeout ¶
func NewGetRoleParamsWithTimeout(timeout time.Duration) *GetRoleParams
NewGetRoleParamsWithTimeout creates a new GetRoleParams object with the ability to set a timeout on a request.
func (*GetRoleParams) SetContext ¶
func (o *GetRoleParams) SetContext(ctx context.Context)
SetContext adds the context to the get role params
func (*GetRoleParams) SetDefaults ¶
func (o *GetRoleParams) SetDefaults()
SetDefaults hydrates default values in the get role params (not the query body).
All values with no default are reset to their zero value.
func (*GetRoleParams) SetHTTPClient ¶
func (o *GetRoleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get role params
func (*GetRoleParams) SetName ¶
func (o *GetRoleParams) SetName(name string)
SetName adds the name to the get role params
func (*GetRoleParams) SetTimeout ¶
func (o *GetRoleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get role params
func (*GetRoleParams) WithContext ¶
func (o *GetRoleParams) WithContext(ctx context.Context) *GetRoleParams
WithContext adds the context to the get role params
func (*GetRoleParams) WithDefaults ¶
func (o *GetRoleParams) WithDefaults() *GetRoleParams
WithDefaults hydrates default values in the get role params (not the query body).
All values with no default are reset to their zero value.
func (*GetRoleParams) WithHTTPClient ¶
func (o *GetRoleParams) WithHTTPClient(client *http.Client) *GetRoleParams
WithHTTPClient adds the HTTPClient to the get role params
func (*GetRoleParams) WithName ¶
func (o *GetRoleParams) WithName(name string) *GetRoleParams
WithName adds the name to the get role params
func (*GetRoleParams) WithTimeout ¶
func (o *GetRoleParams) WithTimeout(timeout time.Duration) *GetRoleParams
WithTimeout adds the timeout to the get role params
func (*GetRoleParams) WriteToRequest ¶
func (o *GetRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRoleReader ¶
type GetRoleReader struct {
// contains filtered or unexported fields
}
GetRoleReader is a Reader for the GetRole structure.
func (*GetRoleReader) ReadResponse ¶
func (o *GetRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRoleUnauthorized ¶
type GetRoleUnauthorized struct {
}GetRoleUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewGetRoleUnauthorized ¶
func NewGetRoleUnauthorized() *GetRoleUnauthorized
NewGetRoleUnauthorized creates a GetRoleUnauthorized with default headers values
func (*GetRoleUnauthorized) Error ¶
func (o *GetRoleUnauthorized) Error() string
func (*GetRoleUnauthorized) GetPayload ¶
func (o *GetRoleUnauthorized) GetPayload() *models.HTTPError
func (*GetRoleUnauthorized) IsClientError ¶
func (o *GetRoleUnauthorized) IsClientError() bool
IsClientError returns true when this get role unauthorized response has a 4xx status code
func (*GetRoleUnauthorized) IsCode ¶
func (o *GetRoleUnauthorized) IsCode(code int) bool
IsCode returns true when this get role unauthorized response a status code equal to that given
func (*GetRoleUnauthorized) IsRedirect ¶
func (o *GetRoleUnauthorized) IsRedirect() bool
IsRedirect returns true when this get role unauthorized response has a 3xx status code
func (*GetRoleUnauthorized) IsServerError ¶
func (o *GetRoleUnauthorized) IsServerError() bool
IsServerError returns true when this get role unauthorized response has a 5xx status code
func (*GetRoleUnauthorized) IsSuccess ¶
func (o *GetRoleUnauthorized) IsSuccess() bool
IsSuccess returns true when this get role unauthorized response has a 2xx status code
func (*GetRoleUnauthorized) String ¶
func (o *GetRoleUnauthorized) String() string
type RestoreRoleBadRequest ¶
RestoreRoleBadRequest describes a response with status code 400, with default header values.
bad request
func NewRestoreRoleBadRequest ¶
func NewRestoreRoleBadRequest() *RestoreRoleBadRequest
NewRestoreRoleBadRequest creates a RestoreRoleBadRequest with default headers values
func (*RestoreRoleBadRequest) Error ¶
func (o *RestoreRoleBadRequest) Error() string
func (*RestoreRoleBadRequest) GetPayload ¶
func (o *RestoreRoleBadRequest) GetPayload() *models.HTTPError
func (*RestoreRoleBadRequest) IsClientError ¶
func (o *RestoreRoleBadRequest) IsClientError() bool
IsClientError returns true when this restore role bad request response has a 4xx status code
func (*RestoreRoleBadRequest) IsCode ¶
func (o *RestoreRoleBadRequest) IsCode(code int) bool
IsCode returns true when this restore role bad request response a status code equal to that given
func (*RestoreRoleBadRequest) IsRedirect ¶
func (o *RestoreRoleBadRequest) IsRedirect() bool
IsRedirect returns true when this restore role bad request response has a 3xx status code
func (*RestoreRoleBadRequest) IsServerError ¶
func (o *RestoreRoleBadRequest) IsServerError() bool
IsServerError returns true when this restore role bad request response has a 5xx status code
func (*RestoreRoleBadRequest) IsSuccess ¶
func (o *RestoreRoleBadRequest) IsSuccess() bool
IsSuccess returns true when this restore role bad request response has a 2xx status code
func (*RestoreRoleBadRequest) String ¶
func (o *RestoreRoleBadRequest) String() string
type RestoreRoleForbidden ¶
RestoreRoleForbidden describes a response with status code 403, with default header values.
forbidden
func NewRestoreRoleForbidden ¶
func NewRestoreRoleForbidden() *RestoreRoleForbidden
NewRestoreRoleForbidden creates a RestoreRoleForbidden with default headers values
func (*RestoreRoleForbidden) Error ¶
func (o *RestoreRoleForbidden) Error() string
func (*RestoreRoleForbidden) GetPayload ¶
func (o *RestoreRoleForbidden) GetPayload() *models.HTTPError
func (*RestoreRoleForbidden) IsClientError ¶
func (o *RestoreRoleForbidden) IsClientError() bool
IsClientError returns true when this restore role forbidden response has a 4xx status code
func (*RestoreRoleForbidden) IsCode ¶
func (o *RestoreRoleForbidden) IsCode(code int) bool
IsCode returns true when this restore role forbidden response a status code equal to that given
func (*RestoreRoleForbidden) IsRedirect ¶
func (o *RestoreRoleForbidden) IsRedirect() bool
IsRedirect returns true when this restore role forbidden response has a 3xx status code
func (*RestoreRoleForbidden) IsServerError ¶
func (o *RestoreRoleForbidden) IsServerError() bool
IsServerError returns true when this restore role forbidden response has a 5xx status code
func (*RestoreRoleForbidden) IsSuccess ¶
func (o *RestoreRoleForbidden) IsSuccess() bool
IsSuccess returns true when this restore role forbidden response has a 2xx status code
func (*RestoreRoleForbidden) String ¶
func (o *RestoreRoleForbidden) String() string
type RestoreRoleInternalServerError ¶
RestoreRoleInternalServerError describes a response with status code 500, with default header values.
server error
func NewRestoreRoleInternalServerError ¶
func NewRestoreRoleInternalServerError() *RestoreRoleInternalServerError
NewRestoreRoleInternalServerError creates a RestoreRoleInternalServerError with default headers values
func (*RestoreRoleInternalServerError) Error ¶
func (o *RestoreRoleInternalServerError) Error() string
func (*RestoreRoleInternalServerError) GetPayload ¶
func (o *RestoreRoleInternalServerError) GetPayload() *models.HTTPError
func (*RestoreRoleInternalServerError) IsClientError ¶
func (o *RestoreRoleInternalServerError) IsClientError() bool
IsClientError returns true when this restore role internal server error response has a 4xx status code
func (*RestoreRoleInternalServerError) IsCode ¶
func (o *RestoreRoleInternalServerError) IsCode(code int) bool
IsCode returns true when this restore role internal server error response a status code equal to that given
func (*RestoreRoleInternalServerError) IsRedirect ¶
func (o *RestoreRoleInternalServerError) IsRedirect() bool
IsRedirect returns true when this restore role internal server error response has a 3xx status code
func (*RestoreRoleInternalServerError) IsServerError ¶
func (o *RestoreRoleInternalServerError) IsServerError() bool
IsServerError returns true when this restore role internal server error response has a 5xx status code
func (*RestoreRoleInternalServerError) IsSuccess ¶
func (o *RestoreRoleInternalServerError) IsSuccess() bool
IsSuccess returns true when this restore role internal server error response has a 2xx status code
func (*RestoreRoleInternalServerError) String ¶
func (o *RestoreRoleInternalServerError) String() string
type RestoreRoleNotFound ¶
RestoreRoleNotFound describes a response with status code 404, with default header values.
not found
func NewRestoreRoleNotFound ¶
func NewRestoreRoleNotFound() *RestoreRoleNotFound
NewRestoreRoleNotFound creates a RestoreRoleNotFound with default headers values
func (*RestoreRoleNotFound) Error ¶
func (o *RestoreRoleNotFound) Error() string
func (*RestoreRoleNotFound) GetPayload ¶
func (o *RestoreRoleNotFound) GetPayload() *models.HTTPError
func (*RestoreRoleNotFound) IsClientError ¶
func (o *RestoreRoleNotFound) IsClientError() bool
IsClientError returns true when this restore role not found response has a 4xx status code
func (*RestoreRoleNotFound) IsCode ¶
func (o *RestoreRoleNotFound) IsCode(code int) bool
IsCode returns true when this restore role not found response a status code equal to that given
func (*RestoreRoleNotFound) IsRedirect ¶
func (o *RestoreRoleNotFound) IsRedirect() bool
IsRedirect returns true when this restore role not found response has a 3xx status code
func (*RestoreRoleNotFound) IsServerError ¶
func (o *RestoreRoleNotFound) IsServerError() bool
IsServerError returns true when this restore role not found response has a 5xx status code
func (*RestoreRoleNotFound) IsSuccess ¶
func (o *RestoreRoleNotFound) IsSuccess() bool
IsSuccess returns true when this restore role not found response has a 2xx status code
func (*RestoreRoleNotFound) String ¶
func (o *RestoreRoleNotFound) String() string
type RestoreRoleOK ¶
type RestoreRoleOK struct { }
RestoreRoleOK describes a response with status code 200, with default header values.
no error
func NewRestoreRoleOK ¶
func NewRestoreRoleOK() *RestoreRoleOK
NewRestoreRoleOK creates a RestoreRoleOK with default headers values
func (*RestoreRoleOK) Error ¶
func (o *RestoreRoleOK) Error() string
func (*RestoreRoleOK) IsClientError ¶
func (o *RestoreRoleOK) IsClientError() bool
IsClientError returns true when this restore role o k response has a 4xx status code
func (*RestoreRoleOK) IsCode ¶
func (o *RestoreRoleOK) IsCode(code int) bool
IsCode returns true when this restore role o k response a status code equal to that given
func (*RestoreRoleOK) IsRedirect ¶
func (o *RestoreRoleOK) IsRedirect() bool
IsRedirect returns true when this restore role o k response has a 3xx status code
func (*RestoreRoleOK) IsServerError ¶
func (o *RestoreRoleOK) IsServerError() bool
IsServerError returns true when this restore role o k response has a 5xx status code
func (*RestoreRoleOK) IsSuccess ¶
func (o *RestoreRoleOK) IsSuccess() bool
IsSuccess returns true when this restore role o k response has a 2xx status code
func (*RestoreRoleOK) String ¶
func (o *RestoreRoleOK) String() string
type RestoreRoleParams ¶
type RestoreRoleParams struct { /* Name. Full role name to lookup role by */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RestoreRoleParams contains all the parameters to send to the API endpoint
for the restore role operation. Typically these are written to a http.Request.
func NewRestoreRoleParams ¶
func NewRestoreRoleParams() *RestoreRoleParams
NewRestoreRoleParams creates a new RestoreRoleParams 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 NewRestoreRoleParamsWithContext ¶
func NewRestoreRoleParamsWithContext(ctx context.Context) *RestoreRoleParams
NewRestoreRoleParamsWithContext creates a new RestoreRoleParams object with the ability to set a context for a request.
func NewRestoreRoleParamsWithHTTPClient ¶
func NewRestoreRoleParamsWithHTTPClient(client *http.Client) *RestoreRoleParams
NewRestoreRoleParamsWithHTTPClient creates a new RestoreRoleParams object with the ability to set a custom HTTPClient for a request.
func NewRestoreRoleParamsWithTimeout ¶
func NewRestoreRoleParamsWithTimeout(timeout time.Duration) *RestoreRoleParams
NewRestoreRoleParamsWithTimeout creates a new RestoreRoleParams object with the ability to set a timeout on a request.
func (*RestoreRoleParams) SetContext ¶
func (o *RestoreRoleParams) SetContext(ctx context.Context)
SetContext adds the context to the restore role params
func (*RestoreRoleParams) SetDefaults ¶
func (o *RestoreRoleParams) SetDefaults()
SetDefaults hydrates default values in the restore role params (not the query body).
All values with no default are reset to their zero value.
func (*RestoreRoleParams) SetHTTPClient ¶
func (o *RestoreRoleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the restore role params
func (*RestoreRoleParams) SetName ¶
func (o *RestoreRoleParams) SetName(name string)
SetName adds the name to the restore role params
func (*RestoreRoleParams) SetTimeout ¶
func (o *RestoreRoleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the restore role params
func (*RestoreRoleParams) WithContext ¶
func (o *RestoreRoleParams) WithContext(ctx context.Context) *RestoreRoleParams
WithContext adds the context to the restore role params
func (*RestoreRoleParams) WithDefaults ¶
func (o *RestoreRoleParams) WithDefaults() *RestoreRoleParams
WithDefaults hydrates default values in the restore role params (not the query body).
All values with no default are reset to their zero value.
func (*RestoreRoleParams) WithHTTPClient ¶
func (o *RestoreRoleParams) WithHTTPClient(client *http.Client) *RestoreRoleParams
WithHTTPClient adds the HTTPClient to the restore role params
func (*RestoreRoleParams) WithName ¶
func (o *RestoreRoleParams) WithName(name string) *RestoreRoleParams
WithName adds the name to the restore role params
func (*RestoreRoleParams) WithTimeout ¶
func (o *RestoreRoleParams) WithTimeout(timeout time.Duration) *RestoreRoleParams
WithTimeout adds the timeout to the restore role params
func (*RestoreRoleParams) WriteToRequest ¶
func (o *RestoreRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RestoreRoleReader ¶
type RestoreRoleReader struct {
// contains filtered or unexported fields
}
RestoreRoleReader is a Reader for the RestoreRole structure.
func (*RestoreRoleReader) ReadResponse ¶
func (o *RestoreRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RestoreRoleUnauthorized ¶
type RestoreRoleUnauthorized struct {
}RestoreRoleUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewRestoreRoleUnauthorized ¶
func NewRestoreRoleUnauthorized() *RestoreRoleUnauthorized
NewRestoreRoleUnauthorized creates a RestoreRoleUnauthorized with default headers values
func (*RestoreRoleUnauthorized) Error ¶
func (o *RestoreRoleUnauthorized) Error() string
func (*RestoreRoleUnauthorized) GetPayload ¶
func (o *RestoreRoleUnauthorized) GetPayload() *models.HTTPError
func (*RestoreRoleUnauthorized) IsClientError ¶
func (o *RestoreRoleUnauthorized) IsClientError() bool
IsClientError returns true when this restore role unauthorized response has a 4xx status code
func (*RestoreRoleUnauthorized) IsCode ¶
func (o *RestoreRoleUnauthorized) IsCode(code int) bool
IsCode returns true when this restore role unauthorized response a status code equal to that given
func (*RestoreRoleUnauthorized) IsRedirect ¶
func (o *RestoreRoleUnauthorized) IsRedirect() bool
IsRedirect returns true when this restore role unauthorized response has a 3xx status code
func (*RestoreRoleUnauthorized) IsServerError ¶
func (o *RestoreRoleUnauthorized) IsServerError() bool
IsServerError returns true when this restore role unauthorized response has a 5xx status code
func (*RestoreRoleUnauthorized) IsSuccess ¶
func (o *RestoreRoleUnauthorized) IsSuccess() bool
IsSuccess returns true when this restore role unauthorized response has a 2xx status code
func (*RestoreRoleUnauthorized) String ¶
func (o *RestoreRoleUnauthorized) String() string
type SearchRolesBadRequest ¶
SearchRolesBadRequest describes a response with status code 400, with default header values.
bad request
func NewSearchRolesBadRequest ¶
func NewSearchRolesBadRequest() *SearchRolesBadRequest
NewSearchRolesBadRequest creates a SearchRolesBadRequest with default headers values
func (*SearchRolesBadRequest) Error ¶
func (o *SearchRolesBadRequest) Error() string
func (*SearchRolesBadRequest) GetPayload ¶
func (o *SearchRolesBadRequest) GetPayload() *models.HTTPError
func (*SearchRolesBadRequest) IsClientError ¶
func (o *SearchRolesBadRequest) IsClientError() bool
IsClientError returns true when this search roles bad request response has a 4xx status code
func (*SearchRolesBadRequest) IsCode ¶
func (o *SearchRolesBadRequest) IsCode(code int) bool
IsCode returns true when this search roles bad request response a status code equal to that given
func (*SearchRolesBadRequest) IsRedirect ¶
func (o *SearchRolesBadRequest) IsRedirect() bool
IsRedirect returns true when this search roles bad request response has a 3xx status code
func (*SearchRolesBadRequest) IsServerError ¶
func (o *SearchRolesBadRequest) IsServerError() bool
IsServerError returns true when this search roles bad request response has a 5xx status code
func (*SearchRolesBadRequest) IsSuccess ¶
func (o *SearchRolesBadRequest) IsSuccess() bool
IsSuccess returns true when this search roles bad request response has a 2xx status code
func (*SearchRolesBadRequest) String ¶
func (o *SearchRolesBadRequest) String() string
type SearchRolesInternalServerError ¶
SearchRolesInternalServerError describes a response with status code 500, with default header values.
server error
func NewSearchRolesInternalServerError ¶
func NewSearchRolesInternalServerError() *SearchRolesInternalServerError
NewSearchRolesInternalServerError creates a SearchRolesInternalServerError with default headers values
func (*SearchRolesInternalServerError) Error ¶
func (o *SearchRolesInternalServerError) Error() string
func (*SearchRolesInternalServerError) GetPayload ¶
func (o *SearchRolesInternalServerError) GetPayload() *models.HTTPError
func (*SearchRolesInternalServerError) IsClientError ¶
func (o *SearchRolesInternalServerError) IsClientError() bool
IsClientError returns true when this search roles internal server error response has a 4xx status code
func (*SearchRolesInternalServerError) IsCode ¶
func (o *SearchRolesInternalServerError) IsCode(code int) bool
IsCode returns true when this search roles internal server error response a status code equal to that given
func (*SearchRolesInternalServerError) IsRedirect ¶
func (o *SearchRolesInternalServerError) IsRedirect() bool
IsRedirect returns true when this search roles internal server error response has a 3xx status code
func (*SearchRolesInternalServerError) IsServerError ¶
func (o *SearchRolesInternalServerError) IsServerError() bool
IsServerError returns true when this search roles internal server error response has a 5xx status code
func (*SearchRolesInternalServerError) IsSuccess ¶
func (o *SearchRolesInternalServerError) IsSuccess() bool
IsSuccess returns true when this search roles internal server error response has a 2xx status code
func (*SearchRolesInternalServerError) String ¶
func (o *SearchRolesInternalServerError) String() string
type SearchRolesOK ¶
type SearchRolesOK struct {
Payload *models.ResponseModelSearch
}
SearchRolesOK describes a response with status code 200, with default header values.
no error
func NewSearchRolesOK ¶
func NewSearchRolesOK() *SearchRolesOK
NewSearchRolesOK creates a SearchRolesOK with default headers values
func (*SearchRolesOK) Error ¶
func (o *SearchRolesOK) Error() string
func (*SearchRolesOK) GetPayload ¶
func (o *SearchRolesOK) GetPayload() *models.ResponseModelSearch
func (*SearchRolesOK) IsClientError ¶
func (o *SearchRolesOK) IsClientError() bool
IsClientError returns true when this search roles o k response has a 4xx status code
func (*SearchRolesOK) IsCode ¶
func (o *SearchRolesOK) IsCode(code int) bool
IsCode returns true when this search roles o k response a status code equal to that given
func (*SearchRolesOK) IsRedirect ¶
func (o *SearchRolesOK) IsRedirect() bool
IsRedirect returns true when this search roles o k response has a 3xx status code
func (*SearchRolesOK) IsServerError ¶
func (o *SearchRolesOK) IsServerError() bool
IsServerError returns true when this search roles o k response has a 5xx status code
func (*SearchRolesOK) IsSuccess ¶
func (o *SearchRolesOK) IsSuccess() bool
IsSuccess returns true when this search roles o k response has a 2xx status code
func (*SearchRolesOK) String ¶
func (o *SearchRolesOK) String() string
type SearchRolesParams ¶
type SearchRolesParams struct { /* Cursor. C ursor to next batch of results */ Cursor *string /* Limit. The maximum number of results per cursor Format: int64 */ Limit *int64 /* SearchTerm. Search pattern for names of roles to look up */ SearchTerm *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SearchRolesParams contains all the parameters to send to the API endpoint
for the search roles operation. Typically these are written to a http.Request.
func NewSearchRolesParams ¶
func NewSearchRolesParams() *SearchRolesParams
NewSearchRolesParams creates a new SearchRolesParams 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 NewSearchRolesParamsWithContext ¶
func NewSearchRolesParamsWithContext(ctx context.Context) *SearchRolesParams
NewSearchRolesParamsWithContext creates a new SearchRolesParams object with the ability to set a context for a request.
func NewSearchRolesParamsWithHTTPClient ¶
func NewSearchRolesParamsWithHTTPClient(client *http.Client) *SearchRolesParams
NewSearchRolesParamsWithHTTPClient creates a new SearchRolesParams object with the ability to set a custom HTTPClient for a request.
func NewSearchRolesParamsWithTimeout ¶
func NewSearchRolesParamsWithTimeout(timeout time.Duration) *SearchRolesParams
NewSearchRolesParamsWithTimeout creates a new SearchRolesParams object with the ability to set a timeout on a request.
func (*SearchRolesParams) SetContext ¶
func (o *SearchRolesParams) SetContext(ctx context.Context)
SetContext adds the context to the search roles params
func (*SearchRolesParams) SetCursor ¶
func (o *SearchRolesParams) SetCursor(cursor *string)
SetCursor adds the cursor to the search roles params
func (*SearchRolesParams) SetDefaults ¶
func (o *SearchRolesParams) SetDefaults()
SetDefaults hydrates default values in the search roles params (not the query body).
All values with no default are reset to their zero value.
func (*SearchRolesParams) SetHTTPClient ¶
func (o *SearchRolesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search roles params
func (*SearchRolesParams) SetLimit ¶
func (o *SearchRolesParams) SetLimit(limit *int64)
SetLimit adds the limit to the search roles params
func (*SearchRolesParams) SetSearchTerm ¶
func (o *SearchRolesParams) SetSearchTerm(searchTerm *string)
SetSearchTerm adds the searchTerm to the search roles params
func (*SearchRolesParams) SetTimeout ¶
func (o *SearchRolesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search roles params
func (*SearchRolesParams) WithContext ¶
func (o *SearchRolesParams) WithContext(ctx context.Context) *SearchRolesParams
WithContext adds the context to the search roles params
func (*SearchRolesParams) WithCursor ¶
func (o *SearchRolesParams) WithCursor(cursor *string) *SearchRolesParams
WithCursor adds the cursor to the search roles params
func (*SearchRolesParams) WithDefaults ¶
func (o *SearchRolesParams) WithDefaults() *SearchRolesParams
WithDefaults hydrates default values in the search roles params (not the query body).
All values with no default are reset to their zero value.
func (*SearchRolesParams) WithHTTPClient ¶
func (o *SearchRolesParams) WithHTTPClient(client *http.Client) *SearchRolesParams
WithHTTPClient adds the HTTPClient to the search roles params
func (*SearchRolesParams) WithLimit ¶
func (o *SearchRolesParams) WithLimit(limit *int64) *SearchRolesParams
WithLimit adds the limit to the search roles params
func (*SearchRolesParams) WithSearchTerm ¶
func (o *SearchRolesParams) WithSearchTerm(searchTerm *string) *SearchRolesParams
WithSearchTerm adds the searchTerm to the search roles params
func (*SearchRolesParams) WithTimeout ¶
func (o *SearchRolesParams) WithTimeout(timeout time.Duration) *SearchRolesParams
WithTimeout adds the timeout to the search roles params
func (*SearchRolesParams) WriteToRequest ¶
func (o *SearchRolesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchRolesReader ¶
type SearchRolesReader struct {
// contains filtered or unexported fields
}
SearchRolesReader is a Reader for the SearchRoles structure.
func (*SearchRolesReader) ReadResponse ¶
func (o *SearchRolesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SearchRolesUnauthorized ¶
type SearchRolesUnauthorized struct {
}SearchRolesUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewSearchRolesUnauthorized ¶
func NewSearchRolesUnauthorized() *SearchRolesUnauthorized
NewSearchRolesUnauthorized creates a SearchRolesUnauthorized with default headers values
func (*SearchRolesUnauthorized) Error ¶
func (o *SearchRolesUnauthorized) Error() string
func (*SearchRolesUnauthorized) GetPayload ¶
func (o *SearchRolesUnauthorized) GetPayload() *models.HTTPError
func (*SearchRolesUnauthorized) IsClientError ¶
func (o *SearchRolesUnauthorized) IsClientError() bool
IsClientError returns true when this search roles unauthorized response has a 4xx status code
func (*SearchRolesUnauthorized) IsCode ¶
func (o *SearchRolesUnauthorized) IsCode(code int) bool
IsCode returns true when this search roles unauthorized response a status code equal to that given
func (*SearchRolesUnauthorized) IsRedirect ¶
func (o *SearchRolesUnauthorized) IsRedirect() bool
IsRedirect returns true when this search roles unauthorized response has a 3xx status code
func (*SearchRolesUnauthorized) IsServerError ¶
func (o *SearchRolesUnauthorized) IsServerError() bool
IsServerError returns true when this search roles unauthorized response has a 5xx status code
func (*SearchRolesUnauthorized) IsSuccess ¶
func (o *SearchRolesUnauthorized) IsSuccess() bool
IsSuccess returns true when this search roles unauthorized response has a 2xx status code
func (*SearchRolesUnauthorized) String ¶
func (o *SearchRolesUnauthorized) String() string
type UpdateRoleBadRequest ¶
UpdateRoleBadRequest describes a response with status code 400, with default header values.
bad request
func NewUpdateRoleBadRequest ¶
func NewUpdateRoleBadRequest() *UpdateRoleBadRequest
NewUpdateRoleBadRequest creates a UpdateRoleBadRequest with default headers values
func (*UpdateRoleBadRequest) Error ¶
func (o *UpdateRoleBadRequest) Error() string
func (*UpdateRoleBadRequest) GetPayload ¶
func (o *UpdateRoleBadRequest) GetPayload() *models.HTTPError
func (*UpdateRoleBadRequest) IsClientError ¶
func (o *UpdateRoleBadRequest) IsClientError() bool
IsClientError returns true when this update role bad request response has a 4xx status code
func (*UpdateRoleBadRequest) IsCode ¶
func (o *UpdateRoleBadRequest) IsCode(code int) bool
IsCode returns true when this update role bad request response a status code equal to that given
func (*UpdateRoleBadRequest) IsRedirect ¶
func (o *UpdateRoleBadRequest) IsRedirect() bool
IsRedirect returns true when this update role bad request response has a 3xx status code
func (*UpdateRoleBadRequest) IsServerError ¶
func (o *UpdateRoleBadRequest) IsServerError() bool
IsServerError returns true when this update role bad request response has a 5xx status code
func (*UpdateRoleBadRequest) IsSuccess ¶
func (o *UpdateRoleBadRequest) IsSuccess() bool
IsSuccess returns true when this update role bad request response has a 2xx status code
func (*UpdateRoleBadRequest) String ¶
func (o *UpdateRoleBadRequest) String() string
type UpdateRoleForbidden ¶
UpdateRoleForbidden describes a response with status code 403, with default header values.
forbidden
func NewUpdateRoleForbidden ¶
func NewUpdateRoleForbidden() *UpdateRoleForbidden
NewUpdateRoleForbidden creates a UpdateRoleForbidden with default headers values
func (*UpdateRoleForbidden) Error ¶
func (o *UpdateRoleForbidden) Error() string
func (*UpdateRoleForbidden) GetPayload ¶
func (o *UpdateRoleForbidden) GetPayload() *models.HTTPError
func (*UpdateRoleForbidden) IsClientError ¶
func (o *UpdateRoleForbidden) IsClientError() bool
IsClientError returns true when this update role forbidden response has a 4xx status code
func (*UpdateRoleForbidden) IsCode ¶
func (o *UpdateRoleForbidden) IsCode(code int) bool
IsCode returns true when this update role forbidden response a status code equal to that given
func (*UpdateRoleForbidden) IsRedirect ¶
func (o *UpdateRoleForbidden) IsRedirect() bool
IsRedirect returns true when this update role forbidden response has a 3xx status code
func (*UpdateRoleForbidden) IsServerError ¶
func (o *UpdateRoleForbidden) IsServerError() bool
IsServerError returns true when this update role forbidden response has a 5xx status code
func (*UpdateRoleForbidden) IsSuccess ¶
func (o *UpdateRoleForbidden) IsSuccess() bool
IsSuccess returns true when this update role forbidden response has a 2xx status code
func (*UpdateRoleForbidden) String ¶
func (o *UpdateRoleForbidden) String() string
type UpdateRoleInternalServerError ¶
UpdateRoleInternalServerError describes a response with status code 500, with default header values.
server error
func NewUpdateRoleInternalServerError ¶
func NewUpdateRoleInternalServerError() *UpdateRoleInternalServerError
NewUpdateRoleInternalServerError creates a UpdateRoleInternalServerError with default headers values
func (*UpdateRoleInternalServerError) Error ¶
func (o *UpdateRoleInternalServerError) Error() string
func (*UpdateRoleInternalServerError) GetPayload ¶
func (o *UpdateRoleInternalServerError) GetPayload() *models.HTTPError
func (*UpdateRoleInternalServerError) IsClientError ¶
func (o *UpdateRoleInternalServerError) IsClientError() bool
IsClientError returns true when this update role internal server error response has a 4xx status code
func (*UpdateRoleInternalServerError) IsCode ¶
func (o *UpdateRoleInternalServerError) IsCode(code int) bool
IsCode returns true when this update role internal server error response a status code equal to that given
func (*UpdateRoleInternalServerError) IsRedirect ¶
func (o *UpdateRoleInternalServerError) IsRedirect() bool
IsRedirect returns true when this update role internal server error response has a 3xx status code
func (*UpdateRoleInternalServerError) IsServerError ¶
func (o *UpdateRoleInternalServerError) IsServerError() bool
IsServerError returns true when this update role internal server error response has a 5xx status code
func (*UpdateRoleInternalServerError) IsSuccess ¶
func (o *UpdateRoleInternalServerError) IsSuccess() bool
IsSuccess returns true when this update role internal server error response has a 2xx status code
func (*UpdateRoleInternalServerError) String ¶
func (o *UpdateRoleInternalServerError) String() string
type UpdateRoleOK ¶
UpdateRoleOK describes a response with status code 200, with default header values.
no error
func NewUpdateRoleOK ¶
func NewUpdateRoleOK() *UpdateRoleOK
NewUpdateRoleOK creates a UpdateRoleOK with default headers values
func (*UpdateRoleOK) Error ¶
func (o *UpdateRoleOK) Error() string
func (*UpdateRoleOK) GetPayload ¶
func (o *UpdateRoleOK) GetPayload() *models.Role
func (*UpdateRoleOK) IsClientError ¶
func (o *UpdateRoleOK) IsClientError() bool
IsClientError returns true when this update role o k response has a 4xx status code
func (*UpdateRoleOK) IsCode ¶
func (o *UpdateRoleOK) IsCode(code int) bool
IsCode returns true when this update role o k response a status code equal to that given
func (*UpdateRoleOK) IsRedirect ¶
func (o *UpdateRoleOK) IsRedirect() bool
IsRedirect returns true when this update role o k response has a 3xx status code
func (*UpdateRoleOK) IsServerError ¶
func (o *UpdateRoleOK) IsServerError() bool
IsServerError returns true when this update role o k response has a 5xx status code
func (*UpdateRoleOK) IsSuccess ¶
func (o *UpdateRoleOK) IsSuccess() bool
IsSuccess returns true when this update role o k response has a 2xx status code
func (*UpdateRoleOK) String ¶
func (o *UpdateRoleOK) String() string
type UpdateRoleParams ¶
type UpdateRoleParams struct { /* Name. Full role name to lookup role by */ Name string // Role. Body *models.RoleDetails Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateRoleParams contains all the parameters to send to the API endpoint
for the update role operation. Typically these are written to a http.Request.
func NewUpdateRoleParams ¶
func NewUpdateRoleParams() *UpdateRoleParams
NewUpdateRoleParams creates a new UpdateRoleParams 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 NewUpdateRoleParamsWithContext ¶
func NewUpdateRoleParamsWithContext(ctx context.Context) *UpdateRoleParams
NewUpdateRoleParamsWithContext creates a new UpdateRoleParams object with the ability to set a context for a request.
func NewUpdateRoleParamsWithHTTPClient ¶
func NewUpdateRoleParamsWithHTTPClient(client *http.Client) *UpdateRoleParams
NewUpdateRoleParamsWithHTTPClient creates a new UpdateRoleParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateRoleParamsWithTimeout ¶
func NewUpdateRoleParamsWithTimeout(timeout time.Duration) *UpdateRoleParams
NewUpdateRoleParamsWithTimeout creates a new UpdateRoleParams object with the ability to set a timeout on a request.
func (*UpdateRoleParams) SetBody ¶
func (o *UpdateRoleParams) SetBody(role *models.RoleDetails)
SetBody adds the role to the update role params
func (*UpdateRoleParams) SetContext ¶
func (o *UpdateRoleParams) SetContext(ctx context.Context)
SetContext adds the context to the update role params
func (*UpdateRoleParams) SetDefaults ¶
func (o *UpdateRoleParams) SetDefaults()
SetDefaults hydrates default values in the update role params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateRoleParams) SetHTTPClient ¶
func (o *UpdateRoleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update role params
func (*UpdateRoleParams) SetName ¶
func (o *UpdateRoleParams) SetName(name string)
SetName adds the name to the update role params
func (*UpdateRoleParams) SetTimeout ¶
func (o *UpdateRoleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update role params
func (*UpdateRoleParams) WithBody ¶
func (o *UpdateRoleParams) WithBody(role *models.RoleDetails) *UpdateRoleParams
WithBody adds the role to the update role params
func (*UpdateRoleParams) WithContext ¶
func (o *UpdateRoleParams) WithContext(ctx context.Context) *UpdateRoleParams
WithContext adds the context to the update role params
func (*UpdateRoleParams) WithDefaults ¶
func (o *UpdateRoleParams) WithDefaults() *UpdateRoleParams
WithDefaults hydrates default values in the update role params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateRoleParams) WithHTTPClient ¶
func (o *UpdateRoleParams) WithHTTPClient(client *http.Client) *UpdateRoleParams
WithHTTPClient adds the HTTPClient to the update role params
func (*UpdateRoleParams) WithName ¶
func (o *UpdateRoleParams) WithName(name string) *UpdateRoleParams
WithName adds the name to the update role params
func (*UpdateRoleParams) WithTimeout ¶
func (o *UpdateRoleParams) WithTimeout(timeout time.Duration) *UpdateRoleParams
WithTimeout adds the timeout to the update role params
func (*UpdateRoleParams) WriteToRequest ¶
func (o *UpdateRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateRoleReader ¶
type UpdateRoleReader struct {
// contains filtered or unexported fields
}
UpdateRoleReader is a Reader for the UpdateRole structure.
func (*UpdateRoleReader) ReadResponse ¶
func (o *UpdateRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateRoleUnauthorized ¶
type UpdateRoleUnauthorized struct {
}UpdateRoleUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewUpdateRoleUnauthorized ¶
func NewUpdateRoleUnauthorized() *UpdateRoleUnauthorized
NewUpdateRoleUnauthorized creates a UpdateRoleUnauthorized with default headers values
func (*UpdateRoleUnauthorized) Error ¶
func (o *UpdateRoleUnauthorized) Error() string
func (*UpdateRoleUnauthorized) GetPayload ¶
func (o *UpdateRoleUnauthorized) GetPayload() *models.HTTPError
func (*UpdateRoleUnauthorized) IsClientError ¶
func (o *UpdateRoleUnauthorized) IsClientError() bool
IsClientError returns true when this update role unauthorized response has a 4xx status code
func (*UpdateRoleUnauthorized) IsCode ¶
func (o *UpdateRoleUnauthorized) IsCode(code int) bool
IsCode returns true when this update role unauthorized response a status code equal to that given
func (*UpdateRoleUnauthorized) IsRedirect ¶
func (o *UpdateRoleUnauthorized) IsRedirect() bool
IsRedirect returns true when this update role unauthorized response has a 3xx status code
func (*UpdateRoleUnauthorized) IsServerError ¶
func (o *UpdateRoleUnauthorized) IsServerError() bool
IsServerError returns true when this update role unauthorized response has a 5xx status code
func (*UpdateRoleUnauthorized) IsSuccess ¶
func (o *UpdateRoleUnauthorized) IsSuccess() bool
IsSuccess returns true when this update role unauthorized response has a 2xx status code
func (*UpdateRoleUnauthorized) String ¶
func (o *UpdateRoleUnauthorized) String() string
Source Files ¶
- create_role_parameters.go
- create_role_responses.go
- delete_role_parameters.go
- delete_role_responses.go
- get_role_by_version_parameters.go
- get_role_by_version_responses.go
- get_role_parameters.go
- get_role_responses.go
- restore_role_parameters.go
- restore_role_responses.go
- roles_client.go
- search_roles_parameters.go
- search_roles_responses.go
- update_role_parameters.go
- update_role_responses.go