user_role_assignments

package
v1.23.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddRoleAssignmentsBadRequest

type AddRoleAssignmentsBadRequest struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

AddRoleAssignmentsBadRequest describes a response with status code 400, with default header values.

The target user Id is invalid. (code: `role_assignments.invalid_target_user_id`)

func NewAddRoleAssignmentsBadRequest

func NewAddRoleAssignmentsBadRequest() *AddRoleAssignmentsBadRequest

NewAddRoleAssignmentsBadRequest creates a AddRoleAssignmentsBadRequest with default headers values

func (*AddRoleAssignmentsBadRequest) Code

Code gets the status code for the add role assignments bad request response

func (*AddRoleAssignmentsBadRequest) Error

func (*AddRoleAssignmentsBadRequest) GetPayload

func (*AddRoleAssignmentsBadRequest) IsClientError

func (o *AddRoleAssignmentsBadRequest) IsClientError() bool

IsClientError returns true when this add role assignments bad request response has a 4xx status code

func (*AddRoleAssignmentsBadRequest) IsCode

func (o *AddRoleAssignmentsBadRequest) IsCode(code int) bool

IsCode returns true when this add role assignments bad request response a status code equal to that given

func (*AddRoleAssignmentsBadRequest) IsRedirect

func (o *AddRoleAssignmentsBadRequest) IsRedirect() bool

IsRedirect returns true when this add role assignments bad request response has a 3xx status code

func (*AddRoleAssignmentsBadRequest) IsServerError

func (o *AddRoleAssignmentsBadRequest) IsServerError() bool

IsServerError returns true when this add role assignments bad request response has a 5xx status code

func (*AddRoleAssignmentsBadRequest) IsSuccess

func (o *AddRoleAssignmentsBadRequest) IsSuccess() bool

IsSuccess returns true when this add role assignments bad request response has a 2xx status code

func (*AddRoleAssignmentsBadRequest) String

type AddRoleAssignmentsForbidden

type AddRoleAssignmentsForbidden struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

AddRoleAssignmentsForbidden describes a response with status code 403, with default header values.

You are not authorised to add the specified RoleAssignments. (code: `role_assignments.unauthorized_role_assignments`)

func NewAddRoleAssignmentsForbidden

func NewAddRoleAssignmentsForbidden() *AddRoleAssignmentsForbidden

NewAddRoleAssignmentsForbidden creates a AddRoleAssignmentsForbidden with default headers values

func (*AddRoleAssignmentsForbidden) Code

func (o *AddRoleAssignmentsForbidden) Code() int

Code gets the status code for the add role assignments forbidden response

func (*AddRoleAssignmentsForbidden) Error

func (*AddRoleAssignmentsForbidden) GetPayload

func (*AddRoleAssignmentsForbidden) IsClientError

func (o *AddRoleAssignmentsForbidden) IsClientError() bool

IsClientError returns true when this add role assignments forbidden response has a 4xx status code

func (*AddRoleAssignmentsForbidden) IsCode

func (o *AddRoleAssignmentsForbidden) IsCode(code int) bool

IsCode returns true when this add role assignments forbidden response a status code equal to that given

func (*AddRoleAssignmentsForbidden) IsRedirect

func (o *AddRoleAssignmentsForbidden) IsRedirect() bool

IsRedirect returns true when this add role assignments forbidden response has a 3xx status code

func (*AddRoleAssignmentsForbidden) IsServerError

func (o *AddRoleAssignmentsForbidden) IsServerError() bool

IsServerError returns true when this add role assignments forbidden response has a 5xx status code

func (*AddRoleAssignmentsForbidden) IsSuccess

func (o *AddRoleAssignmentsForbidden) IsSuccess() bool

IsSuccess returns true when this add role assignments forbidden response has a 2xx status code

func (*AddRoleAssignmentsForbidden) String

func (o *AddRoleAssignmentsForbidden) String() string

type AddRoleAssignmentsOK

type AddRoleAssignmentsOK struct {
	Payload models.EmptyResponse
}

AddRoleAssignmentsOK describes a response with status code 200, with default header values.

Role Assignments were successfully added to the target User

func NewAddRoleAssignmentsOK

func NewAddRoleAssignmentsOK() *AddRoleAssignmentsOK

NewAddRoleAssignmentsOK creates a AddRoleAssignmentsOK with default headers values

func (*AddRoleAssignmentsOK) Code

func (o *AddRoleAssignmentsOK) Code() int

Code gets the status code for the add role assignments o k response

func (*AddRoleAssignmentsOK) Error

func (o *AddRoleAssignmentsOK) Error() string

func (*AddRoleAssignmentsOK) GetPayload

func (o *AddRoleAssignmentsOK) GetPayload() models.EmptyResponse

func (*AddRoleAssignmentsOK) IsClientError

func (o *AddRoleAssignmentsOK) IsClientError() bool

IsClientError returns true when this add role assignments o k response has a 4xx status code

func (*AddRoleAssignmentsOK) IsCode

func (o *AddRoleAssignmentsOK) IsCode(code int) bool

IsCode returns true when this add role assignments o k response a status code equal to that given

func (*AddRoleAssignmentsOK) IsRedirect

func (o *AddRoleAssignmentsOK) IsRedirect() bool

IsRedirect returns true when this add role assignments o k response has a 3xx status code

func (*AddRoleAssignmentsOK) IsServerError

func (o *AddRoleAssignmentsOK) IsServerError() bool

IsServerError returns true when this add role assignments o k response has a 5xx status code

func (*AddRoleAssignmentsOK) IsSuccess

func (o *AddRoleAssignmentsOK) IsSuccess() bool

IsSuccess returns true when this add role assignments o k response has a 2xx status code

func (*AddRoleAssignmentsOK) String

func (o *AddRoleAssignmentsOK) String() string

type AddRoleAssignmentsParams

type AddRoleAssignmentsParams struct {

	/* Body.

	   The Role Assignments to add
	*/
	Body *models.RoleAssignments

	/* UserID.

	   Identifier for the user; include realm name and id if required
	*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddRoleAssignmentsParams contains all the parameters to send to the API endpoint

for the add role assignments operation.

Typically these are written to a http.Request.

func NewAddRoleAssignmentsParams

func NewAddRoleAssignmentsParams() *AddRoleAssignmentsParams

NewAddRoleAssignmentsParams creates a new AddRoleAssignmentsParams 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 NewAddRoleAssignmentsParamsWithContext

func NewAddRoleAssignmentsParamsWithContext(ctx context.Context) *AddRoleAssignmentsParams

NewAddRoleAssignmentsParamsWithContext creates a new AddRoleAssignmentsParams object with the ability to set a context for a request.

func NewAddRoleAssignmentsParamsWithHTTPClient

func NewAddRoleAssignmentsParamsWithHTTPClient(client *http.Client) *AddRoleAssignmentsParams

NewAddRoleAssignmentsParamsWithHTTPClient creates a new AddRoleAssignmentsParams object with the ability to set a custom HTTPClient for a request.

func NewAddRoleAssignmentsParamsWithTimeout

func NewAddRoleAssignmentsParamsWithTimeout(timeout time.Duration) *AddRoleAssignmentsParams

NewAddRoleAssignmentsParamsWithTimeout creates a new AddRoleAssignmentsParams object with the ability to set a timeout on a request.

func (*AddRoleAssignmentsParams) SetBody

SetBody adds the body to the add role assignments params

func (*AddRoleAssignmentsParams) SetContext

func (o *AddRoleAssignmentsParams) SetContext(ctx context.Context)

SetContext adds the context to the add role assignments params

func (*AddRoleAssignmentsParams) SetDefaults

func (o *AddRoleAssignmentsParams) SetDefaults()

SetDefaults hydrates default values in the add role assignments params (not the query body).

All values with no default are reset to their zero value.

func (*AddRoleAssignmentsParams) SetHTTPClient

func (o *AddRoleAssignmentsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the add role assignments params

func (*AddRoleAssignmentsParams) SetTimeout

func (o *AddRoleAssignmentsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the add role assignments params

func (*AddRoleAssignmentsParams) SetUserID

func (o *AddRoleAssignmentsParams) SetUserID(userID string)

SetUserID adds the userId to the add role assignments params

func (*AddRoleAssignmentsParams) WithBody

WithBody adds the body to the add role assignments params

func (*AddRoleAssignmentsParams) WithContext

WithContext adds the context to the add role assignments params

func (*AddRoleAssignmentsParams) WithDefaults

WithDefaults hydrates default values in the add role assignments params (not the query body).

All values with no default are reset to their zero value.

func (*AddRoleAssignmentsParams) WithHTTPClient

func (o *AddRoleAssignmentsParams) WithHTTPClient(client *http.Client) *AddRoleAssignmentsParams

WithHTTPClient adds the HTTPClient to the add role assignments params

func (*AddRoleAssignmentsParams) WithTimeout

WithTimeout adds the timeout to the add role assignments params

func (*AddRoleAssignmentsParams) WithUserID

WithUserID adds the userID to the add role assignments params

func (*AddRoleAssignmentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddRoleAssignmentsReader

type AddRoleAssignmentsReader struct {
	// contains filtered or unexported fields
}

AddRoleAssignmentsReader is a Reader for the AddRoleAssignments structure.

func (*AddRoleAssignmentsReader) ReadResponse

func (o *AddRoleAssignmentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AddRoleAssignmentsUnauthorized

type AddRoleAssignmentsUnauthorized struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

AddRoleAssignmentsUnauthorized describes a response with status code 401, with default header values.

Credentials were invalid. (code: `root.unauthorized`)

func NewAddRoleAssignmentsUnauthorized

func NewAddRoleAssignmentsUnauthorized() *AddRoleAssignmentsUnauthorized

NewAddRoleAssignmentsUnauthorized creates a AddRoleAssignmentsUnauthorized with default headers values

func (*AddRoleAssignmentsUnauthorized) Code

Code gets the status code for the add role assignments unauthorized response

func (*AddRoleAssignmentsUnauthorized) Error

func (*AddRoleAssignmentsUnauthorized) GetPayload

func (*AddRoleAssignmentsUnauthorized) IsClientError

func (o *AddRoleAssignmentsUnauthorized) IsClientError() bool

IsClientError returns true when this add role assignments unauthorized response has a 4xx status code

func (*AddRoleAssignmentsUnauthorized) IsCode

func (o *AddRoleAssignmentsUnauthorized) IsCode(code int) bool

IsCode returns true when this add role assignments unauthorized response a status code equal to that given

func (*AddRoleAssignmentsUnauthorized) IsRedirect

func (o *AddRoleAssignmentsUnauthorized) IsRedirect() bool

IsRedirect returns true when this add role assignments unauthorized response has a 3xx status code

func (*AddRoleAssignmentsUnauthorized) IsServerError

func (o *AddRoleAssignmentsUnauthorized) IsServerError() bool

IsServerError returns true when this add role assignments unauthorized response has a 5xx status code

func (*AddRoleAssignmentsUnauthorized) IsSuccess

func (o *AddRoleAssignmentsUnauthorized) IsSuccess() bool

IsSuccess returns true when this add role assignments unauthorized response has a 2xx status code

func (*AddRoleAssignmentsUnauthorized) String

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for user role assignments API

func (*Client) AddRoleAssignments

func (a *Client) AddRoleAssignments(params *AddRoleAssignmentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddRoleAssignmentsOK, error)

AddRoleAssignments adds role assignments

Adds a set of RoleAssignments to the specified User. Currently unavailable in self-hosted ECE.

func (*Client) RemoveRoleAssignments

func (a *Client) RemoveRoleAssignments(params *RemoveRoleAssignmentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveRoleAssignmentsOK, error)

RemoveRoleAssignments removes role assignments

Removes a set of RoleAssignments from the specified User. Currently unavailable in self-hosted ECE.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AddRoleAssignments(params *AddRoleAssignmentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddRoleAssignmentsOK, error)

	RemoveRoleAssignments(params *RemoveRoleAssignmentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveRoleAssignmentsOK, 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 user role assignments API client.

type RemoveRoleAssignmentsBadRequest

type RemoveRoleAssignmentsBadRequest struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

RemoveRoleAssignmentsBadRequest describes a response with status code 400, with default header values.

The target user Id is invalid. (code: `role_assignments.invalid_target_user_id`)

func NewRemoveRoleAssignmentsBadRequest

func NewRemoveRoleAssignmentsBadRequest() *RemoveRoleAssignmentsBadRequest

NewRemoveRoleAssignmentsBadRequest creates a RemoveRoleAssignmentsBadRequest with default headers values

func (*RemoveRoleAssignmentsBadRequest) Code

Code gets the status code for the remove role assignments bad request response

func (*RemoveRoleAssignmentsBadRequest) Error

func (*RemoveRoleAssignmentsBadRequest) GetPayload

func (*RemoveRoleAssignmentsBadRequest) IsClientError

func (o *RemoveRoleAssignmentsBadRequest) IsClientError() bool

IsClientError returns true when this remove role assignments bad request response has a 4xx status code

func (*RemoveRoleAssignmentsBadRequest) IsCode

func (o *RemoveRoleAssignmentsBadRequest) IsCode(code int) bool

IsCode returns true when this remove role assignments bad request response a status code equal to that given

func (*RemoveRoleAssignmentsBadRequest) IsRedirect

func (o *RemoveRoleAssignmentsBadRequest) IsRedirect() bool

IsRedirect returns true when this remove role assignments bad request response has a 3xx status code

func (*RemoveRoleAssignmentsBadRequest) IsServerError

func (o *RemoveRoleAssignmentsBadRequest) IsServerError() bool

IsServerError returns true when this remove role assignments bad request response has a 5xx status code

func (*RemoveRoleAssignmentsBadRequest) IsSuccess

func (o *RemoveRoleAssignmentsBadRequest) IsSuccess() bool

IsSuccess returns true when this remove role assignments bad request response has a 2xx status code

func (*RemoveRoleAssignmentsBadRequest) String

type RemoveRoleAssignmentsForbidden

type RemoveRoleAssignmentsForbidden struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

RemoveRoleAssignmentsForbidden describes a response with status code 403, with default header values.

You are not authorised to remove the specified RoleAssignments. (code: `role_assignments.unauthorized_role_assignments`)

func NewRemoveRoleAssignmentsForbidden

func NewRemoveRoleAssignmentsForbidden() *RemoveRoleAssignmentsForbidden

NewRemoveRoleAssignmentsForbidden creates a RemoveRoleAssignmentsForbidden with default headers values

func (*RemoveRoleAssignmentsForbidden) Code

Code gets the status code for the remove role assignments forbidden response

func (*RemoveRoleAssignmentsForbidden) Error

func (*RemoveRoleAssignmentsForbidden) GetPayload

func (*RemoveRoleAssignmentsForbidden) IsClientError

func (o *RemoveRoleAssignmentsForbidden) IsClientError() bool

IsClientError returns true when this remove role assignments forbidden response has a 4xx status code

func (*RemoveRoleAssignmentsForbidden) IsCode

func (o *RemoveRoleAssignmentsForbidden) IsCode(code int) bool

IsCode returns true when this remove role assignments forbidden response a status code equal to that given

func (*RemoveRoleAssignmentsForbidden) IsRedirect

func (o *RemoveRoleAssignmentsForbidden) IsRedirect() bool

IsRedirect returns true when this remove role assignments forbidden response has a 3xx status code

func (*RemoveRoleAssignmentsForbidden) IsServerError

func (o *RemoveRoleAssignmentsForbidden) IsServerError() bool

IsServerError returns true when this remove role assignments forbidden response has a 5xx status code

func (*RemoveRoleAssignmentsForbidden) IsSuccess

func (o *RemoveRoleAssignmentsForbidden) IsSuccess() bool

IsSuccess returns true when this remove role assignments forbidden response has a 2xx status code

func (*RemoveRoleAssignmentsForbidden) String

type RemoveRoleAssignmentsOK

type RemoveRoleAssignmentsOK struct {
	Payload models.EmptyResponse
}

RemoveRoleAssignmentsOK describes a response with status code 200, with default header values.

Role Assignments were successfully removed from the target User

func NewRemoveRoleAssignmentsOK

func NewRemoveRoleAssignmentsOK() *RemoveRoleAssignmentsOK

NewRemoveRoleAssignmentsOK creates a RemoveRoleAssignmentsOK with default headers values

func (*RemoveRoleAssignmentsOK) Code

func (o *RemoveRoleAssignmentsOK) Code() int

Code gets the status code for the remove role assignments o k response

func (*RemoveRoleAssignmentsOK) Error

func (o *RemoveRoleAssignmentsOK) Error() string

func (*RemoveRoleAssignmentsOK) GetPayload

func (*RemoveRoleAssignmentsOK) IsClientError

func (o *RemoveRoleAssignmentsOK) IsClientError() bool

IsClientError returns true when this remove role assignments o k response has a 4xx status code

func (*RemoveRoleAssignmentsOK) IsCode

func (o *RemoveRoleAssignmentsOK) IsCode(code int) bool

IsCode returns true when this remove role assignments o k response a status code equal to that given

func (*RemoveRoleAssignmentsOK) IsRedirect

func (o *RemoveRoleAssignmentsOK) IsRedirect() bool

IsRedirect returns true when this remove role assignments o k response has a 3xx status code

func (*RemoveRoleAssignmentsOK) IsServerError

func (o *RemoveRoleAssignmentsOK) IsServerError() bool

IsServerError returns true when this remove role assignments o k response has a 5xx status code

func (*RemoveRoleAssignmentsOK) IsSuccess

func (o *RemoveRoleAssignmentsOK) IsSuccess() bool

IsSuccess returns true when this remove role assignments o k response has a 2xx status code

func (*RemoveRoleAssignmentsOK) String

func (o *RemoveRoleAssignmentsOK) String() string

type RemoveRoleAssignmentsParams

type RemoveRoleAssignmentsParams struct {

	/* Body.

	   The Role Assignments to remove
	*/
	Body *models.RoleAssignments

	/* Force.

	   Whether or not to force the removal of role assignments (effective only for Platform Admins)
	*/
	Force *bool

	/* UserID.

	   Identifier for the user; include realm name and id if required
	*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RemoveRoleAssignmentsParams contains all the parameters to send to the API endpoint

for the remove role assignments operation.

Typically these are written to a http.Request.

func NewRemoveRoleAssignmentsParams

func NewRemoveRoleAssignmentsParams() *RemoveRoleAssignmentsParams

NewRemoveRoleAssignmentsParams creates a new RemoveRoleAssignmentsParams 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 NewRemoveRoleAssignmentsParamsWithContext

func NewRemoveRoleAssignmentsParamsWithContext(ctx context.Context) *RemoveRoleAssignmentsParams

NewRemoveRoleAssignmentsParamsWithContext creates a new RemoveRoleAssignmentsParams object with the ability to set a context for a request.

func NewRemoveRoleAssignmentsParamsWithHTTPClient

func NewRemoveRoleAssignmentsParamsWithHTTPClient(client *http.Client) *RemoveRoleAssignmentsParams

NewRemoveRoleAssignmentsParamsWithHTTPClient creates a new RemoveRoleAssignmentsParams object with the ability to set a custom HTTPClient for a request.

func NewRemoveRoleAssignmentsParamsWithTimeout

func NewRemoveRoleAssignmentsParamsWithTimeout(timeout time.Duration) *RemoveRoleAssignmentsParams

NewRemoveRoleAssignmentsParamsWithTimeout creates a new RemoveRoleAssignmentsParams object with the ability to set a timeout on a request.

func (*RemoveRoleAssignmentsParams) SetBody

SetBody adds the body to the remove role assignments params

func (*RemoveRoleAssignmentsParams) SetContext

func (o *RemoveRoleAssignmentsParams) SetContext(ctx context.Context)

SetContext adds the context to the remove role assignments params

func (*RemoveRoleAssignmentsParams) SetDefaults

func (o *RemoveRoleAssignmentsParams) SetDefaults()

SetDefaults hydrates default values in the remove role assignments params (not the query body).

All values with no default are reset to their zero value.

func (*RemoveRoleAssignmentsParams) SetForce

func (o *RemoveRoleAssignmentsParams) SetForce(force *bool)

SetForce adds the force to the remove role assignments params

func (*RemoveRoleAssignmentsParams) SetHTTPClient

func (o *RemoveRoleAssignmentsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the remove role assignments params

func (*RemoveRoleAssignmentsParams) SetTimeout

func (o *RemoveRoleAssignmentsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the remove role assignments params

func (*RemoveRoleAssignmentsParams) SetUserID

func (o *RemoveRoleAssignmentsParams) SetUserID(userID string)

SetUserID adds the userId to the remove role assignments params

func (*RemoveRoleAssignmentsParams) WithBody

WithBody adds the body to the remove role assignments params

func (*RemoveRoleAssignmentsParams) WithContext

WithContext adds the context to the remove role assignments params

func (*RemoveRoleAssignmentsParams) WithDefaults

WithDefaults hydrates default values in the remove role assignments params (not the query body).

All values with no default are reset to their zero value.

func (*RemoveRoleAssignmentsParams) WithForce

WithForce adds the force to the remove role assignments params

func (*RemoveRoleAssignmentsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the remove role assignments params

func (*RemoveRoleAssignmentsParams) WithTimeout

WithTimeout adds the timeout to the remove role assignments params

func (*RemoveRoleAssignmentsParams) WithUserID

WithUserID adds the userID to the remove role assignments params

func (*RemoveRoleAssignmentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RemoveRoleAssignmentsReader

type RemoveRoleAssignmentsReader struct {
	// contains filtered or unexported fields
}

RemoveRoleAssignmentsReader is a Reader for the RemoveRoleAssignments structure.

func (*RemoveRoleAssignmentsReader) ReadResponse

func (o *RemoveRoleAssignmentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RemoveRoleAssignmentsUnauthorized

type RemoveRoleAssignmentsUnauthorized struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

RemoveRoleAssignmentsUnauthorized describes a response with status code 401, with default header values.

Credentials were invalid. (code: `root.unauthorized`)

func NewRemoveRoleAssignmentsUnauthorized

func NewRemoveRoleAssignmentsUnauthorized() *RemoveRoleAssignmentsUnauthorized

NewRemoveRoleAssignmentsUnauthorized creates a RemoveRoleAssignmentsUnauthorized with default headers values

func (*RemoveRoleAssignmentsUnauthorized) Code

Code gets the status code for the remove role assignments unauthorized response

func (*RemoveRoleAssignmentsUnauthorized) Error

func (*RemoveRoleAssignmentsUnauthorized) GetPayload

func (*RemoveRoleAssignmentsUnauthorized) IsClientError

func (o *RemoveRoleAssignmentsUnauthorized) IsClientError() bool

IsClientError returns true when this remove role assignments unauthorized response has a 4xx status code

func (*RemoveRoleAssignmentsUnauthorized) IsCode

func (o *RemoveRoleAssignmentsUnauthorized) IsCode(code int) bool

IsCode returns true when this remove role assignments unauthorized response a status code equal to that given

func (*RemoveRoleAssignmentsUnauthorized) IsRedirect

func (o *RemoveRoleAssignmentsUnauthorized) IsRedirect() bool

IsRedirect returns true when this remove role assignments unauthorized response has a 3xx status code

func (*RemoveRoleAssignmentsUnauthorized) IsServerError

func (o *RemoveRoleAssignmentsUnauthorized) IsServerError() bool

IsServerError returns true when this remove role assignments unauthorized response has a 5xx status code

func (*RemoveRoleAssignmentsUnauthorized) IsSuccess

func (o *RemoveRoleAssignmentsUnauthorized) IsSuccess() bool

IsSuccess returns true when this remove role assignments unauthorized response has a 2xx status code

func (*RemoveRoleAssignmentsUnauthorized) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL