roles

package
v0.1.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: MIT Imports: 16 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddRoleManagersBadRequest

type AddRoleManagersBadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AddRoleManagersBadRequest handles this case with default header values.

Invalid request

func NewAddRoleManagersBadRequest

func NewAddRoleManagersBadRequest() *AddRoleManagersBadRequest

NewAddRoleManagersBadRequest creates a AddRoleManagersBadRequest with default headers values

func (*AddRoleManagersBadRequest) Error

func (o *AddRoleManagersBadRequest) Error() string

func (*AddRoleManagersBadRequest) GetPayload

func (*AddRoleManagersBadRequest) ToJSONString

func (o *AddRoleManagersBadRequest) ToJSONString() string

type AddRoleManagersForbidden

type AddRoleManagersForbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AddRoleManagersForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAddRoleManagersForbidden

func NewAddRoleManagersForbidden() *AddRoleManagersForbidden

NewAddRoleManagersForbidden creates a AddRoleManagersForbidden with default headers values

func (*AddRoleManagersForbidden) Error

func (o *AddRoleManagersForbidden) Error() string

func (*AddRoleManagersForbidden) GetPayload

func (*AddRoleManagersForbidden) ToJSONString

func (o *AddRoleManagersForbidden) ToJSONString() string

type AddRoleManagersNoContent

type AddRoleManagersNoContent struct {
}

AddRoleManagersNoContent handles this case with default header values.

Operation succeeded

func NewAddRoleManagersNoContent

func NewAddRoleManagersNoContent() *AddRoleManagersNoContent

NewAddRoleManagersNoContent creates a AddRoleManagersNoContent with default headers values

func (*AddRoleManagersNoContent) Error

func (o *AddRoleManagersNoContent) Error() string

type AddRoleManagersNotFound

type AddRoleManagersNotFound struct {
}

AddRoleManagersNotFound handles this case with default header values.

Data not found

func NewAddRoleManagersNotFound

func NewAddRoleManagersNotFound() *AddRoleManagersNotFound

NewAddRoleManagersNotFound creates a AddRoleManagersNotFound with default headers values

func (*AddRoleManagersNotFound) Error

func (o *AddRoleManagersNotFound) Error() string

type AddRoleManagersParams

type AddRoleManagersParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *iamclientmodels.ModelRoleManagersRequest
	/*RoleID
	  Role id

	*/
	RoleID string

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

AddRoleManagersParams contains all the parameters to send to the API endpoint for the add role managers operation typically these are written to a http.Request

func NewAddRoleManagersParams

func NewAddRoleManagersParams() *AddRoleManagersParams

NewAddRoleManagersParams creates a new AddRoleManagersParams object with the default values initialized.

func NewAddRoleManagersParamsWithContext

func NewAddRoleManagersParamsWithContext(ctx context.Context) *AddRoleManagersParams

NewAddRoleManagersParamsWithContext creates a new AddRoleManagersParams object with the default values initialized, and the ability to set a context for a request

func NewAddRoleManagersParamsWithHTTPClient

func NewAddRoleManagersParamsWithHTTPClient(client *http.Client) *AddRoleManagersParams

NewAddRoleManagersParamsWithHTTPClient creates a new AddRoleManagersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAddRoleManagersParamsWithTimeout

func NewAddRoleManagersParamsWithTimeout(timeout time.Duration) *AddRoleManagersParams

NewAddRoleManagersParamsWithTimeout creates a new AddRoleManagersParams object with the default values initialized, and the ability to set a timeout on a request

func (*AddRoleManagersParams) SetAuthInfoWriter

func (o *AddRoleManagersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the add role managers params

func (*AddRoleManagersParams) SetBody

SetBody adds the body to the add role managers params

func (*AddRoleManagersParams) SetContext

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

SetContext adds the context to the add role managers params

func (*AddRoleManagersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add role managers params

func (*AddRoleManagersParams) SetHTTPClientTransport

func (o *AddRoleManagersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the add role managers params

func (*AddRoleManagersParams) SetRoleID

func (o *AddRoleManagersParams) SetRoleID(roleID string)

SetRoleID adds the roleId to the add role managers params

func (*AddRoleManagersParams) SetTimeout

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

SetTimeout adds the timeout to the add role managers params

func (*AddRoleManagersParams) WithBody

WithBody adds the body to the add role managers params

func (*AddRoleManagersParams) WithContext

WithContext adds the context to the add role managers params

func (*AddRoleManagersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add role managers params

func (*AddRoleManagersParams) WithRoleID

func (o *AddRoleManagersParams) WithRoleID(roleID string) *AddRoleManagersParams

WithRoleID adds the roleID to the add role managers params

func (*AddRoleManagersParams) WithTimeout

func (o *AddRoleManagersParams) WithTimeout(timeout time.Duration) *AddRoleManagersParams

WithTimeout adds the timeout to the add role managers params

func (*AddRoleManagersParams) WriteToRequest

func (o *AddRoleManagersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AddRoleManagersReader

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

AddRoleManagersReader is a Reader for the AddRoleManagers structure.

func (*AddRoleManagersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddRoleManagersUnauthorized

type AddRoleManagersUnauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AddRoleManagersUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAddRoleManagersUnauthorized

func NewAddRoleManagersUnauthorized() *AddRoleManagersUnauthorized

NewAddRoleManagersUnauthorized creates a AddRoleManagersUnauthorized with default headers values

func (*AddRoleManagersUnauthorized) Error

func (*AddRoleManagersUnauthorized) GetPayload

func (*AddRoleManagersUnauthorized) ToJSONString

func (o *AddRoleManagersUnauthorized) ToJSONString() string

type AddRoleMembersBadRequest

type AddRoleMembersBadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AddRoleMembersBadRequest handles this case with default header values.

Invalid request

func NewAddRoleMembersBadRequest

func NewAddRoleMembersBadRequest() *AddRoleMembersBadRequest

NewAddRoleMembersBadRequest creates a AddRoleMembersBadRequest with default headers values

func (*AddRoleMembersBadRequest) Error

func (o *AddRoleMembersBadRequest) Error() string

func (*AddRoleMembersBadRequest) GetPayload

func (*AddRoleMembersBadRequest) ToJSONString

func (o *AddRoleMembersBadRequest) ToJSONString() string

type AddRoleMembersForbidden

type AddRoleMembersForbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AddRoleMembersForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAddRoleMembersForbidden

func NewAddRoleMembersForbidden() *AddRoleMembersForbidden

NewAddRoleMembersForbidden creates a AddRoleMembersForbidden with default headers values

func (*AddRoleMembersForbidden) Error

func (o *AddRoleMembersForbidden) Error() string

func (*AddRoleMembersForbidden) GetPayload

func (*AddRoleMembersForbidden) ToJSONString

func (o *AddRoleMembersForbidden) ToJSONString() string

type AddRoleMembersNoContent

type AddRoleMembersNoContent struct {
}

AddRoleMembersNoContent handles this case with default header values.

Operation succeeded

func NewAddRoleMembersNoContent

func NewAddRoleMembersNoContent() *AddRoleMembersNoContent

NewAddRoleMembersNoContent creates a AddRoleMembersNoContent with default headers values

func (*AddRoleMembersNoContent) Error

func (o *AddRoleMembersNoContent) Error() string

type AddRoleMembersNotFound

type AddRoleMembersNotFound struct {
}

AddRoleMembersNotFound handles this case with default header values.

Data not found

func NewAddRoleMembersNotFound

func NewAddRoleMembersNotFound() *AddRoleMembersNotFound

NewAddRoleMembersNotFound creates a AddRoleMembersNotFound with default headers values

func (*AddRoleMembersNotFound) Error

func (o *AddRoleMembersNotFound) Error() string

type AddRoleMembersParams

type AddRoleMembersParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *iamclientmodels.ModelRoleMembersRequest
	/*RoleID
	  Role id

	*/
	RoleID string

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

AddRoleMembersParams contains all the parameters to send to the API endpoint for the add role members operation typically these are written to a http.Request

func NewAddRoleMembersParams

func NewAddRoleMembersParams() *AddRoleMembersParams

NewAddRoleMembersParams creates a new AddRoleMembersParams object with the default values initialized.

func NewAddRoleMembersParamsWithContext

func NewAddRoleMembersParamsWithContext(ctx context.Context) *AddRoleMembersParams

NewAddRoleMembersParamsWithContext creates a new AddRoleMembersParams object with the default values initialized, and the ability to set a context for a request

func NewAddRoleMembersParamsWithHTTPClient

func NewAddRoleMembersParamsWithHTTPClient(client *http.Client) *AddRoleMembersParams

NewAddRoleMembersParamsWithHTTPClient creates a new AddRoleMembersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAddRoleMembersParamsWithTimeout

func NewAddRoleMembersParamsWithTimeout(timeout time.Duration) *AddRoleMembersParams

NewAddRoleMembersParamsWithTimeout creates a new AddRoleMembersParams object with the default values initialized, and the ability to set a timeout on a request

func (*AddRoleMembersParams) SetAuthInfoWriter

func (o *AddRoleMembersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the add role members params

func (*AddRoleMembersParams) SetBody

SetBody adds the body to the add role members params

func (*AddRoleMembersParams) SetContext

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

SetContext adds the context to the add role members params

func (*AddRoleMembersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add role members params

func (*AddRoleMembersParams) SetHTTPClientTransport

func (o *AddRoleMembersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the add role members params

func (*AddRoleMembersParams) SetRoleID

func (o *AddRoleMembersParams) SetRoleID(roleID string)

SetRoleID adds the roleId to the add role members params

func (*AddRoleMembersParams) SetTimeout

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

SetTimeout adds the timeout to the add role members params

func (*AddRoleMembersParams) WithBody

WithBody adds the body to the add role members params

func (*AddRoleMembersParams) WithContext

WithContext adds the context to the add role members params

func (*AddRoleMembersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add role members params

func (*AddRoleMembersParams) WithRoleID

func (o *AddRoleMembersParams) WithRoleID(roleID string) *AddRoleMembersParams

WithRoleID adds the roleID to the add role members params

func (*AddRoleMembersParams) WithTimeout

func (o *AddRoleMembersParams) WithTimeout(timeout time.Duration) *AddRoleMembersParams

WithTimeout adds the timeout to the add role members params

func (*AddRoleMembersParams) WriteToRequest

func (o *AddRoleMembersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AddRoleMembersReader

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

AddRoleMembersReader is a Reader for the AddRoleMembers structure.

func (*AddRoleMembersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddRoleMembersUnauthorized

type AddRoleMembersUnauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AddRoleMembersUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAddRoleMembersUnauthorized

func NewAddRoleMembersUnauthorized() *AddRoleMembersUnauthorized

NewAddRoleMembersUnauthorized creates a AddRoleMembersUnauthorized with default headers values

func (*AddRoleMembersUnauthorized) Error

func (*AddRoleMembersUnauthorized) GetPayload

func (*AddRoleMembersUnauthorized) ToJSONString

func (o *AddRoleMembersUnauthorized) ToJSONString() string

type AddRolePermissionBadRequest

type AddRolePermissionBadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AddRolePermissionBadRequest handles this case with default header values.

Invalid request

func NewAddRolePermissionBadRequest

func NewAddRolePermissionBadRequest() *AddRolePermissionBadRequest

NewAddRolePermissionBadRequest creates a AddRolePermissionBadRequest with default headers values

func (*AddRolePermissionBadRequest) Error

func (*AddRolePermissionBadRequest) GetPayload

func (*AddRolePermissionBadRequest) ToJSONString

func (o *AddRolePermissionBadRequest) ToJSONString() string

type AddRolePermissionForbidden

type AddRolePermissionForbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AddRolePermissionForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAddRolePermissionForbidden

func NewAddRolePermissionForbidden() *AddRolePermissionForbidden

NewAddRolePermissionForbidden creates a AddRolePermissionForbidden with default headers values

func (*AddRolePermissionForbidden) Error

func (*AddRolePermissionForbidden) GetPayload

func (*AddRolePermissionForbidden) ToJSONString

func (o *AddRolePermissionForbidden) ToJSONString() string

type AddRolePermissionNoContent

type AddRolePermissionNoContent struct {
}

AddRolePermissionNoContent handles this case with default header values.

Operation succeeded

func NewAddRolePermissionNoContent

func NewAddRolePermissionNoContent() *AddRolePermissionNoContent

NewAddRolePermissionNoContent creates a AddRolePermissionNoContent with default headers values

func (*AddRolePermissionNoContent) Error

type AddRolePermissionNotFound

type AddRolePermissionNotFound struct {
}

AddRolePermissionNotFound handles this case with default header values.

Data not found

func NewAddRolePermissionNotFound

func NewAddRolePermissionNotFound() *AddRolePermissionNotFound

NewAddRolePermissionNotFound creates a AddRolePermissionNotFound with default headers values

func (*AddRolePermissionNotFound) Error

func (o *AddRolePermissionNotFound) Error() string

type AddRolePermissionParams

type AddRolePermissionParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *iamclientmodels.ModelUpdatePermissionScheduleRequest
	/*Action
	  Action

	*/
	Action int64
	/*Resource
	  Resource Name

	*/
	Resource string
	/*RoleID
	  Role id

	*/
	RoleID string

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

AddRolePermissionParams contains all the parameters to send to the API endpoint for the add role permission operation typically these are written to a http.Request

func NewAddRolePermissionParams

func NewAddRolePermissionParams() *AddRolePermissionParams

NewAddRolePermissionParams creates a new AddRolePermissionParams object with the default values initialized.

func NewAddRolePermissionParamsWithContext

func NewAddRolePermissionParamsWithContext(ctx context.Context) *AddRolePermissionParams

NewAddRolePermissionParamsWithContext creates a new AddRolePermissionParams object with the default values initialized, and the ability to set a context for a request

func NewAddRolePermissionParamsWithHTTPClient

func NewAddRolePermissionParamsWithHTTPClient(client *http.Client) *AddRolePermissionParams

NewAddRolePermissionParamsWithHTTPClient creates a new AddRolePermissionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAddRolePermissionParamsWithTimeout

func NewAddRolePermissionParamsWithTimeout(timeout time.Duration) *AddRolePermissionParams

NewAddRolePermissionParamsWithTimeout creates a new AddRolePermissionParams object with the default values initialized, and the ability to set a timeout on a request

func (*AddRolePermissionParams) SetAction

func (o *AddRolePermissionParams) SetAction(action int64)

SetAction adds the action to the add role permission params

func (*AddRolePermissionParams) SetAuthInfoWriter

func (o *AddRolePermissionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the add role permission params

func (*AddRolePermissionParams) SetBody

SetBody adds the body to the add role permission params

func (*AddRolePermissionParams) SetContext

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

SetContext adds the context to the add role permission params

func (*AddRolePermissionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add role permission params

func (*AddRolePermissionParams) SetHTTPClientTransport

func (o *AddRolePermissionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the add role permission params

func (*AddRolePermissionParams) SetResource

func (o *AddRolePermissionParams) SetResource(resource string)

SetResource adds the resource to the add role permission params

func (*AddRolePermissionParams) SetRoleID

func (o *AddRolePermissionParams) SetRoleID(roleID string)

SetRoleID adds the roleId to the add role permission params

func (*AddRolePermissionParams) SetTimeout

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

SetTimeout adds the timeout to the add role permission params

func (*AddRolePermissionParams) WithAction

func (o *AddRolePermissionParams) WithAction(action int64) *AddRolePermissionParams

WithAction adds the action to the add role permission params

func (*AddRolePermissionParams) WithBody

WithBody adds the body to the add role permission params

func (*AddRolePermissionParams) WithContext

WithContext adds the context to the add role permission params

func (*AddRolePermissionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add role permission params

func (*AddRolePermissionParams) WithResource

func (o *AddRolePermissionParams) WithResource(resource string) *AddRolePermissionParams

WithResource adds the resource to the add role permission params

func (*AddRolePermissionParams) WithRoleID

WithRoleID adds the roleID to the add role permission params

func (*AddRolePermissionParams) WithTimeout

WithTimeout adds the timeout to the add role permission params

func (*AddRolePermissionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddRolePermissionReader

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

AddRolePermissionReader is a Reader for the AddRolePermission structure.

func (*AddRolePermissionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddRolePermissionUnauthorized

type AddRolePermissionUnauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AddRolePermissionUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAddRolePermissionUnauthorized

func NewAddRolePermissionUnauthorized() *AddRolePermissionUnauthorized

NewAddRolePermissionUnauthorized creates a AddRolePermissionUnauthorized with default headers values

func (*AddRolePermissionUnauthorized) Error

func (*AddRolePermissionUnauthorized) GetPayload

func (*AddRolePermissionUnauthorized) ToJSONString

func (o *AddRolePermissionUnauthorized) ToJSONString() string

type AdminAddRoleManagersV3BadRequest

type AdminAddRoleManagersV3BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminAddRoleManagersV3BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr></table>

func NewAdminAddRoleManagersV3BadRequest

func NewAdminAddRoleManagersV3BadRequest() *AdminAddRoleManagersV3BadRequest

NewAdminAddRoleManagersV3BadRequest creates a AdminAddRoleManagersV3BadRequest with default headers values

func (*AdminAddRoleManagersV3BadRequest) Error

func (*AdminAddRoleManagersV3BadRequest) GetPayload

func (*AdminAddRoleManagersV3BadRequest) ToJSONString

func (o *AdminAddRoleManagersV3BadRequest) ToJSONString() string

type AdminAddRoleManagersV3Conflict

type AdminAddRoleManagersV3Conflict struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminAddRoleManagersV3Conflict handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10468</td><td>role manager exist</td></tr></table>

func NewAdminAddRoleManagersV3Conflict

func NewAdminAddRoleManagersV3Conflict() *AdminAddRoleManagersV3Conflict

NewAdminAddRoleManagersV3Conflict creates a AdminAddRoleManagersV3Conflict with default headers values

func (*AdminAddRoleManagersV3Conflict) Error

func (*AdminAddRoleManagersV3Conflict) GetPayload

func (*AdminAddRoleManagersV3Conflict) ToJSONString

func (o *AdminAddRoleManagersV3Conflict) ToJSONString() string

type AdminAddRoleManagersV3Forbidden

type AdminAddRoleManagersV3Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminAddRoleManagersV3Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminAddRoleManagersV3Forbidden

func NewAdminAddRoleManagersV3Forbidden() *AdminAddRoleManagersV3Forbidden

NewAdminAddRoleManagersV3Forbidden creates a AdminAddRoleManagersV3Forbidden with default headers values

func (*AdminAddRoleManagersV3Forbidden) Error

func (*AdminAddRoleManagersV3Forbidden) GetPayload

func (*AdminAddRoleManagersV3Forbidden) ToJSONString

func (o *AdminAddRoleManagersV3Forbidden) ToJSONString() string

type AdminAddRoleManagersV3NoContent

type AdminAddRoleManagersV3NoContent struct {
}

AdminAddRoleManagersV3NoContent handles this case with default header values.

Operation succeeded

func NewAdminAddRoleManagersV3NoContent

func NewAdminAddRoleManagersV3NoContent() *AdminAddRoleManagersV3NoContent

NewAdminAddRoleManagersV3NoContent creates a AdminAddRoleManagersV3NoContent with default headers values

func (*AdminAddRoleManagersV3NoContent) Error

type AdminAddRoleManagersV3NotFound

type AdminAddRoleManagersV3NotFound struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminAddRoleManagersV3NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10456</td><td>role not found</td></tr></table>

func NewAdminAddRoleManagersV3NotFound

func NewAdminAddRoleManagersV3NotFound() *AdminAddRoleManagersV3NotFound

NewAdminAddRoleManagersV3NotFound creates a AdminAddRoleManagersV3NotFound with default headers values

func (*AdminAddRoleManagersV3NotFound) Error

func (*AdminAddRoleManagersV3NotFound) GetPayload

func (*AdminAddRoleManagersV3NotFound) ToJSONString

func (o *AdminAddRoleManagersV3NotFound) ToJSONString() string

type AdminAddRoleManagersV3Params

type AdminAddRoleManagersV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *iamclientmodels.ModelRoleManagersRequestV3
	/*RoleID
	  Role ID, should follow UUID version 4 without hyphen

	*/
	RoleID string

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

AdminAddRoleManagersV3Params contains all the parameters to send to the API endpoint for the admin add role managers v3 operation typically these are written to a http.Request

func NewAdminAddRoleManagersV3Params

func NewAdminAddRoleManagersV3Params() *AdminAddRoleManagersV3Params

NewAdminAddRoleManagersV3Params creates a new AdminAddRoleManagersV3Params object with the default values initialized.

func NewAdminAddRoleManagersV3ParamsWithContext

func NewAdminAddRoleManagersV3ParamsWithContext(ctx context.Context) *AdminAddRoleManagersV3Params

NewAdminAddRoleManagersV3ParamsWithContext creates a new AdminAddRoleManagersV3Params object with the default values initialized, and the ability to set a context for a request

func NewAdminAddRoleManagersV3ParamsWithHTTPClient

func NewAdminAddRoleManagersV3ParamsWithHTTPClient(client *http.Client) *AdminAddRoleManagersV3Params

NewAdminAddRoleManagersV3ParamsWithHTTPClient creates a new AdminAddRoleManagersV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminAddRoleManagersV3ParamsWithTimeout

func NewAdminAddRoleManagersV3ParamsWithTimeout(timeout time.Duration) *AdminAddRoleManagersV3Params

NewAdminAddRoleManagersV3ParamsWithTimeout creates a new AdminAddRoleManagersV3Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminAddRoleManagersV3Params) SetAuthInfoWriter

func (o *AdminAddRoleManagersV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin add role managers v3 params

func (*AdminAddRoleManagersV3Params) SetBody

SetBody adds the body to the admin add role managers v3 params

func (*AdminAddRoleManagersV3Params) SetContext

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

SetContext adds the context to the admin add role managers v3 params

func (*AdminAddRoleManagersV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin add role managers v3 params

func (*AdminAddRoleManagersV3Params) SetHTTPClientTransport

func (o *AdminAddRoleManagersV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin add role managers v3 params

func (*AdminAddRoleManagersV3Params) SetRoleID

func (o *AdminAddRoleManagersV3Params) SetRoleID(roleID string)

SetRoleID adds the roleId to the admin add role managers v3 params

func (*AdminAddRoleManagersV3Params) SetTimeout

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

SetTimeout adds the timeout to the admin add role managers v3 params

func (*AdminAddRoleManagersV3Params) WithBody

WithBody adds the body to the admin add role managers v3 params

func (*AdminAddRoleManagersV3Params) WithContext

WithContext adds the context to the admin add role managers v3 params

func (*AdminAddRoleManagersV3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin add role managers v3 params

func (*AdminAddRoleManagersV3Params) WithRoleID

WithRoleID adds the roleID to the admin add role managers v3 params

func (*AdminAddRoleManagersV3Params) WithTimeout

WithTimeout adds the timeout to the admin add role managers v3 params

func (*AdminAddRoleManagersV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminAddRoleManagersV3Reader

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

AdminAddRoleManagersV3Reader is a Reader for the AdminAddRoleManagersV3 structure.

func (*AdminAddRoleManagersV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminAddRoleManagersV3Unauthorized

type AdminAddRoleManagersV3Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminAddRoleManagersV3Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminAddRoleManagersV3Unauthorized

func NewAdminAddRoleManagersV3Unauthorized() *AdminAddRoleManagersV3Unauthorized

NewAdminAddRoleManagersV3Unauthorized creates a AdminAddRoleManagersV3Unauthorized with default headers values

func (*AdminAddRoleManagersV3Unauthorized) Error

func (*AdminAddRoleManagersV3Unauthorized) GetPayload

func (*AdminAddRoleManagersV3Unauthorized) ToJSONString

func (o *AdminAddRoleManagersV3Unauthorized) ToJSONString() string

type AdminAddRoleMembersV3BadRequest

type AdminAddRoleMembersV3BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminAddRoleMembersV3BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr><tr><td>10457</td><td>specified role is not admin role</td></tr></table>

func NewAdminAddRoleMembersV3BadRequest

func NewAdminAddRoleMembersV3BadRequest() *AdminAddRoleMembersV3BadRequest

NewAdminAddRoleMembersV3BadRequest creates a AdminAddRoleMembersV3BadRequest with default headers values

func (*AdminAddRoleMembersV3BadRequest) Error

func (*AdminAddRoleMembersV3BadRequest) GetPayload

func (*AdminAddRoleMembersV3BadRequest) ToJSONString

func (o *AdminAddRoleMembersV3BadRequest) ToJSONString() string

type AdminAddRoleMembersV3Conflict

type AdminAddRoleMembersV3Conflict struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminAddRoleMembersV3Conflict handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10469</td><td>role member exist</td></tr></table>

func NewAdminAddRoleMembersV3Conflict

func NewAdminAddRoleMembersV3Conflict() *AdminAddRoleMembersV3Conflict

NewAdminAddRoleMembersV3Conflict creates a AdminAddRoleMembersV3Conflict with default headers values

func (*AdminAddRoleMembersV3Conflict) Error

func (*AdminAddRoleMembersV3Conflict) GetPayload

func (*AdminAddRoleMembersV3Conflict) ToJSONString

func (o *AdminAddRoleMembersV3Conflict) ToJSONString() string

type AdminAddRoleMembersV3Forbidden

type AdminAddRoleMembersV3Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminAddRoleMembersV3Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr><tr><td>10459</td><td>operator is not a role manager</td></tr></table>

func NewAdminAddRoleMembersV3Forbidden

func NewAdminAddRoleMembersV3Forbidden() *AdminAddRoleMembersV3Forbidden

NewAdminAddRoleMembersV3Forbidden creates a AdminAddRoleMembersV3Forbidden with default headers values

func (*AdminAddRoleMembersV3Forbidden) Error

func (*AdminAddRoleMembersV3Forbidden) GetPayload

func (*AdminAddRoleMembersV3Forbidden) ToJSONString

func (o *AdminAddRoleMembersV3Forbidden) ToJSONString() string

type AdminAddRoleMembersV3InternalServerError

type AdminAddRoleMembersV3InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminAddRoleMembersV3InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminAddRoleMembersV3InternalServerError

func NewAdminAddRoleMembersV3InternalServerError() *AdminAddRoleMembersV3InternalServerError

NewAdminAddRoleMembersV3InternalServerError creates a AdminAddRoleMembersV3InternalServerError with default headers values

func (*AdminAddRoleMembersV3InternalServerError) Error

func (*AdminAddRoleMembersV3InternalServerError) GetPayload

func (*AdminAddRoleMembersV3InternalServerError) ToJSONString

type AdminAddRoleMembersV3NoContent

type AdminAddRoleMembersV3NoContent struct {
}

AdminAddRoleMembersV3NoContent handles this case with default header values.

Operation succeeded

func NewAdminAddRoleMembersV3NoContent

func NewAdminAddRoleMembersV3NoContent() *AdminAddRoleMembersV3NoContent

NewAdminAddRoleMembersV3NoContent creates a AdminAddRoleMembersV3NoContent with default headers values

func (*AdminAddRoleMembersV3NoContent) Error

type AdminAddRoleMembersV3NotFound

type AdminAddRoleMembersV3NotFound struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminAddRoleMembersV3NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10456</td><td>role not found</td></tr><tr><td>20008</td><td>user not found</td></tr></table>

func NewAdminAddRoleMembersV3NotFound

func NewAdminAddRoleMembersV3NotFound() *AdminAddRoleMembersV3NotFound

NewAdminAddRoleMembersV3NotFound creates a AdminAddRoleMembersV3NotFound with default headers values

func (*AdminAddRoleMembersV3NotFound) Error

func (*AdminAddRoleMembersV3NotFound) GetPayload

func (*AdminAddRoleMembersV3NotFound) ToJSONString

func (o *AdminAddRoleMembersV3NotFound) ToJSONString() string

type AdminAddRoleMembersV3Params

type AdminAddRoleMembersV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *iamclientmodels.ModelRoleMembersRequestV3
	/*RoleID
	  Role id

	*/
	RoleID string

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

AdminAddRoleMembersV3Params contains all the parameters to send to the API endpoint for the admin add role members v3 operation typically these are written to a http.Request

func NewAdminAddRoleMembersV3Params

func NewAdminAddRoleMembersV3Params() *AdminAddRoleMembersV3Params

NewAdminAddRoleMembersV3Params creates a new AdminAddRoleMembersV3Params object with the default values initialized.

func NewAdminAddRoleMembersV3ParamsWithContext

func NewAdminAddRoleMembersV3ParamsWithContext(ctx context.Context) *AdminAddRoleMembersV3Params

NewAdminAddRoleMembersV3ParamsWithContext creates a new AdminAddRoleMembersV3Params object with the default values initialized, and the ability to set a context for a request

func NewAdminAddRoleMembersV3ParamsWithHTTPClient

func NewAdminAddRoleMembersV3ParamsWithHTTPClient(client *http.Client) *AdminAddRoleMembersV3Params

NewAdminAddRoleMembersV3ParamsWithHTTPClient creates a new AdminAddRoleMembersV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminAddRoleMembersV3ParamsWithTimeout

func NewAdminAddRoleMembersV3ParamsWithTimeout(timeout time.Duration) *AdminAddRoleMembersV3Params

NewAdminAddRoleMembersV3ParamsWithTimeout creates a new AdminAddRoleMembersV3Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminAddRoleMembersV3Params) SetAuthInfoWriter

func (o *AdminAddRoleMembersV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin add role members v3 params

func (*AdminAddRoleMembersV3Params) SetBody

SetBody adds the body to the admin add role members v3 params

func (*AdminAddRoleMembersV3Params) SetContext

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

SetContext adds the context to the admin add role members v3 params

func (*AdminAddRoleMembersV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin add role members v3 params

func (*AdminAddRoleMembersV3Params) SetHTTPClientTransport

func (o *AdminAddRoleMembersV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin add role members v3 params

func (*AdminAddRoleMembersV3Params) SetRoleID

func (o *AdminAddRoleMembersV3Params) SetRoleID(roleID string)

SetRoleID adds the roleId to the admin add role members v3 params

func (*AdminAddRoleMembersV3Params) SetTimeout

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

SetTimeout adds the timeout to the admin add role members v3 params

func (*AdminAddRoleMembersV3Params) WithBody

WithBody adds the body to the admin add role members v3 params

func (*AdminAddRoleMembersV3Params) WithContext

WithContext adds the context to the admin add role members v3 params

func (*AdminAddRoleMembersV3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin add role members v3 params

func (*AdminAddRoleMembersV3Params) WithRoleID

WithRoleID adds the roleID to the admin add role members v3 params

func (*AdminAddRoleMembersV3Params) WithTimeout

WithTimeout adds the timeout to the admin add role members v3 params

func (*AdminAddRoleMembersV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminAddRoleMembersV3Reader

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

AdminAddRoleMembersV3Reader is a Reader for the AdminAddRoleMembersV3 structure.

func (*AdminAddRoleMembersV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminAddRoleMembersV3Unauthorized

type AdminAddRoleMembersV3Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminAddRoleMembersV3Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminAddRoleMembersV3Unauthorized

func NewAdminAddRoleMembersV3Unauthorized() *AdminAddRoleMembersV3Unauthorized

NewAdminAddRoleMembersV3Unauthorized creates a AdminAddRoleMembersV3Unauthorized with default headers values

func (*AdminAddRoleMembersV3Unauthorized) Error

func (*AdminAddRoleMembersV3Unauthorized) GetPayload

func (*AdminAddRoleMembersV3Unauthorized) ToJSONString

func (o *AdminAddRoleMembersV3Unauthorized) ToJSONString() string

type AdminAddRolePermissionsV3BadRequest

type AdminAddRolePermissionsV3BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminAddRolePermissionsV3BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr></table>

func NewAdminAddRolePermissionsV3BadRequest

func NewAdminAddRolePermissionsV3BadRequest() *AdminAddRolePermissionsV3BadRequest

NewAdminAddRolePermissionsV3BadRequest creates a AdminAddRolePermissionsV3BadRequest with default headers values

func (*AdminAddRolePermissionsV3BadRequest) Error

func (*AdminAddRolePermissionsV3BadRequest) GetPayload

func (*AdminAddRolePermissionsV3BadRequest) ToJSONString

func (o *AdminAddRolePermissionsV3BadRequest) ToJSONString() string

type AdminAddRolePermissionsV3Forbidden

type AdminAddRolePermissionsV3Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminAddRolePermissionsV3Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminAddRolePermissionsV3Forbidden

func NewAdminAddRolePermissionsV3Forbidden() *AdminAddRolePermissionsV3Forbidden

NewAdminAddRolePermissionsV3Forbidden creates a AdminAddRolePermissionsV3Forbidden with default headers values

func (*AdminAddRolePermissionsV3Forbidden) Error

func (*AdminAddRolePermissionsV3Forbidden) GetPayload

func (*AdminAddRolePermissionsV3Forbidden) ToJSONString

func (o *AdminAddRolePermissionsV3Forbidden) ToJSONString() string

type AdminAddRolePermissionsV3InternalServerError

type AdminAddRolePermissionsV3InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminAddRolePermissionsV3InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminAddRolePermissionsV3InternalServerError

func NewAdminAddRolePermissionsV3InternalServerError() *AdminAddRolePermissionsV3InternalServerError

NewAdminAddRolePermissionsV3InternalServerError creates a AdminAddRolePermissionsV3InternalServerError with default headers values

func (*AdminAddRolePermissionsV3InternalServerError) Error

func (*AdminAddRolePermissionsV3InternalServerError) GetPayload

func (*AdminAddRolePermissionsV3InternalServerError) ToJSONString

type AdminAddRolePermissionsV3NoContent

type AdminAddRolePermissionsV3NoContent struct {
}

AdminAddRolePermissionsV3NoContent handles this case with default header values.

No Content

func NewAdminAddRolePermissionsV3NoContent

func NewAdminAddRolePermissionsV3NoContent() *AdminAddRolePermissionsV3NoContent

NewAdminAddRolePermissionsV3NoContent creates a AdminAddRolePermissionsV3NoContent with default headers values

func (*AdminAddRolePermissionsV3NoContent) Error

type AdminAddRolePermissionsV3NotFound

type AdminAddRolePermissionsV3NotFound struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminAddRolePermissionsV3NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10456</td><td>role not found</td></tr></table>

func NewAdminAddRolePermissionsV3NotFound

func NewAdminAddRolePermissionsV3NotFound() *AdminAddRolePermissionsV3NotFound

NewAdminAddRolePermissionsV3NotFound creates a AdminAddRolePermissionsV3NotFound with default headers values

func (*AdminAddRolePermissionsV3NotFound) Error

func (*AdminAddRolePermissionsV3NotFound) GetPayload

func (*AdminAddRolePermissionsV3NotFound) ToJSONString

func (o *AdminAddRolePermissionsV3NotFound) ToJSONString() string

type AdminAddRolePermissionsV3Params

type AdminAddRolePermissionsV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *iamclientmodels.AccountcommonPermissionsV3
	/*RoleID
	  Role ID, should follow UUID version 4 without hyphen

	*/
	RoleID string

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

AdminAddRolePermissionsV3Params contains all the parameters to send to the API endpoint for the admin add role permissions v3 operation typically these are written to a http.Request

func NewAdminAddRolePermissionsV3Params

func NewAdminAddRolePermissionsV3Params() *AdminAddRolePermissionsV3Params

NewAdminAddRolePermissionsV3Params creates a new AdminAddRolePermissionsV3Params object with the default values initialized.

func NewAdminAddRolePermissionsV3ParamsWithContext

func NewAdminAddRolePermissionsV3ParamsWithContext(ctx context.Context) *AdminAddRolePermissionsV3Params

NewAdminAddRolePermissionsV3ParamsWithContext creates a new AdminAddRolePermissionsV3Params object with the default values initialized, and the ability to set a context for a request

func NewAdminAddRolePermissionsV3ParamsWithHTTPClient

func NewAdminAddRolePermissionsV3ParamsWithHTTPClient(client *http.Client) *AdminAddRolePermissionsV3Params

NewAdminAddRolePermissionsV3ParamsWithHTTPClient creates a new AdminAddRolePermissionsV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminAddRolePermissionsV3ParamsWithTimeout

func NewAdminAddRolePermissionsV3ParamsWithTimeout(timeout time.Duration) *AdminAddRolePermissionsV3Params

NewAdminAddRolePermissionsV3ParamsWithTimeout creates a new AdminAddRolePermissionsV3Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminAddRolePermissionsV3Params) SetAuthInfoWriter

func (o *AdminAddRolePermissionsV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin add role permissions v3 params

func (*AdminAddRolePermissionsV3Params) SetBody

SetBody adds the body to the admin add role permissions v3 params

func (*AdminAddRolePermissionsV3Params) SetContext

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

SetContext adds the context to the admin add role permissions v3 params

func (*AdminAddRolePermissionsV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin add role permissions v3 params

func (*AdminAddRolePermissionsV3Params) SetHTTPClientTransport

func (o *AdminAddRolePermissionsV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin add role permissions v3 params

func (*AdminAddRolePermissionsV3Params) SetRoleID

func (o *AdminAddRolePermissionsV3Params) SetRoleID(roleID string)

SetRoleID adds the roleId to the admin add role permissions v3 params

func (*AdminAddRolePermissionsV3Params) SetTimeout

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

SetTimeout adds the timeout to the admin add role permissions v3 params

func (*AdminAddRolePermissionsV3Params) WithBody

WithBody adds the body to the admin add role permissions v3 params

func (*AdminAddRolePermissionsV3Params) WithContext

WithContext adds the context to the admin add role permissions v3 params

func (*AdminAddRolePermissionsV3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin add role permissions v3 params

func (*AdminAddRolePermissionsV3Params) WithRoleID

WithRoleID adds the roleID to the admin add role permissions v3 params

func (*AdminAddRolePermissionsV3Params) WithTimeout

WithTimeout adds the timeout to the admin add role permissions v3 params

func (*AdminAddRolePermissionsV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminAddRolePermissionsV3Reader

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

AdminAddRolePermissionsV3Reader is a Reader for the AdminAddRolePermissionsV3 structure.

func (*AdminAddRolePermissionsV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminAddRolePermissionsV3Unauthorized

type AdminAddRolePermissionsV3Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminAddRolePermissionsV3Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminAddRolePermissionsV3Unauthorized

func NewAdminAddRolePermissionsV3Unauthorized() *AdminAddRolePermissionsV3Unauthorized

NewAdminAddRolePermissionsV3Unauthorized creates a AdminAddRolePermissionsV3Unauthorized with default headers values

func (*AdminAddRolePermissionsV3Unauthorized) Error

func (*AdminAddRolePermissionsV3Unauthorized) GetPayload

func (*AdminAddRolePermissionsV3Unauthorized) ToJSONString

type AdminAddRolePermissionsV4BadRequest

type AdminAddRolePermissionsV4BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminAddRolePermissionsV4BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr></table>

func NewAdminAddRolePermissionsV4BadRequest

func NewAdminAddRolePermissionsV4BadRequest() *AdminAddRolePermissionsV4BadRequest

NewAdminAddRolePermissionsV4BadRequest creates a AdminAddRolePermissionsV4BadRequest with default headers values

func (*AdminAddRolePermissionsV4BadRequest) Error

func (*AdminAddRolePermissionsV4BadRequest) GetPayload

func (*AdminAddRolePermissionsV4BadRequest) ToJSONString

func (o *AdminAddRolePermissionsV4BadRequest) ToJSONString() string

type AdminAddRolePermissionsV4Forbidden

type AdminAddRolePermissionsV4Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminAddRolePermissionsV4Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminAddRolePermissionsV4Forbidden

func NewAdminAddRolePermissionsV4Forbidden() *AdminAddRolePermissionsV4Forbidden

NewAdminAddRolePermissionsV4Forbidden creates a AdminAddRolePermissionsV4Forbidden with default headers values

func (*AdminAddRolePermissionsV4Forbidden) Error

func (*AdminAddRolePermissionsV4Forbidden) GetPayload

func (*AdminAddRolePermissionsV4Forbidden) ToJSONString

func (o *AdminAddRolePermissionsV4Forbidden) ToJSONString() string

type AdminAddRolePermissionsV4NotFound

type AdminAddRolePermissionsV4NotFound struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminAddRolePermissionsV4NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10456</td><td>role not found</td></tr></table>

func NewAdminAddRolePermissionsV4NotFound

func NewAdminAddRolePermissionsV4NotFound() *AdminAddRolePermissionsV4NotFound

NewAdminAddRolePermissionsV4NotFound creates a AdminAddRolePermissionsV4NotFound with default headers values

func (*AdminAddRolePermissionsV4NotFound) Error

func (*AdminAddRolePermissionsV4NotFound) GetPayload

func (*AdminAddRolePermissionsV4NotFound) ToJSONString

func (o *AdminAddRolePermissionsV4NotFound) ToJSONString() string

type AdminAddRolePermissionsV4OK

type AdminAddRolePermissionsV4OK struct {
	Payload *iamclientmodels.ModelRoleV4Response
}

AdminAddRolePermissionsV4OK handles this case with default header values.

OK

func NewAdminAddRolePermissionsV4OK

func NewAdminAddRolePermissionsV4OK() *AdminAddRolePermissionsV4OK

NewAdminAddRolePermissionsV4OK creates a AdminAddRolePermissionsV4OK with default headers values

func (*AdminAddRolePermissionsV4OK) Error

func (*AdminAddRolePermissionsV4OK) GetPayload

func (*AdminAddRolePermissionsV4OK) ToJSONString

func (o *AdminAddRolePermissionsV4OK) ToJSONString() string

type AdminAddRolePermissionsV4Params

type AdminAddRolePermissionsV4Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *iamclientmodels.AccountcommonPermissionsV3
	/*RoleID
	  Role ID, should follow UUID version 4 without hyphen

	*/
	RoleID string

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

AdminAddRolePermissionsV4Params contains all the parameters to send to the API endpoint for the admin add role permissions v4 operation typically these are written to a http.Request

func NewAdminAddRolePermissionsV4Params

func NewAdminAddRolePermissionsV4Params() *AdminAddRolePermissionsV4Params

NewAdminAddRolePermissionsV4Params creates a new AdminAddRolePermissionsV4Params object with the default values initialized.

func NewAdminAddRolePermissionsV4ParamsWithContext

func NewAdminAddRolePermissionsV4ParamsWithContext(ctx context.Context) *AdminAddRolePermissionsV4Params

NewAdminAddRolePermissionsV4ParamsWithContext creates a new AdminAddRolePermissionsV4Params object with the default values initialized, and the ability to set a context for a request

func NewAdminAddRolePermissionsV4ParamsWithHTTPClient

func NewAdminAddRolePermissionsV4ParamsWithHTTPClient(client *http.Client) *AdminAddRolePermissionsV4Params

NewAdminAddRolePermissionsV4ParamsWithHTTPClient creates a new AdminAddRolePermissionsV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminAddRolePermissionsV4ParamsWithTimeout

func NewAdminAddRolePermissionsV4ParamsWithTimeout(timeout time.Duration) *AdminAddRolePermissionsV4Params

NewAdminAddRolePermissionsV4ParamsWithTimeout creates a new AdminAddRolePermissionsV4Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminAddRolePermissionsV4Params) SetAuthInfoWriter

func (o *AdminAddRolePermissionsV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin add role permissions v4 params

func (*AdminAddRolePermissionsV4Params) SetBody

SetBody adds the body to the admin add role permissions v4 params

func (*AdminAddRolePermissionsV4Params) SetContext

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

SetContext adds the context to the admin add role permissions v4 params

func (*AdminAddRolePermissionsV4Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin add role permissions v4 params

func (*AdminAddRolePermissionsV4Params) SetHTTPClientTransport

func (o *AdminAddRolePermissionsV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin add role permissions v4 params

func (*AdminAddRolePermissionsV4Params) SetRoleID

func (o *AdminAddRolePermissionsV4Params) SetRoleID(roleID string)

SetRoleID adds the roleId to the admin add role permissions v4 params

func (*AdminAddRolePermissionsV4Params) SetTimeout

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

SetTimeout adds the timeout to the admin add role permissions v4 params

func (*AdminAddRolePermissionsV4Params) WithBody

WithBody adds the body to the admin add role permissions v4 params

func (*AdminAddRolePermissionsV4Params) WithContext

WithContext adds the context to the admin add role permissions v4 params

func (*AdminAddRolePermissionsV4Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin add role permissions v4 params

func (*AdminAddRolePermissionsV4Params) WithRoleID

WithRoleID adds the roleID to the admin add role permissions v4 params

func (*AdminAddRolePermissionsV4Params) WithTimeout

WithTimeout adds the timeout to the admin add role permissions v4 params

func (*AdminAddRolePermissionsV4Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminAddRolePermissionsV4Reader

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

AdminAddRolePermissionsV4Reader is a Reader for the AdminAddRolePermissionsV4 structure.

func (*AdminAddRolePermissionsV4Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminAddRolePermissionsV4Unauthorized

type AdminAddRolePermissionsV4Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminAddRolePermissionsV4Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminAddRolePermissionsV4Unauthorized

func NewAdminAddRolePermissionsV4Unauthorized() *AdminAddRolePermissionsV4Unauthorized

NewAdminAddRolePermissionsV4Unauthorized creates a AdminAddRolePermissionsV4Unauthorized with default headers values

func (*AdminAddRolePermissionsV4Unauthorized) Error

func (*AdminAddRolePermissionsV4Unauthorized) GetPayload

func (*AdminAddRolePermissionsV4Unauthorized) ToJSONString

type AdminAssignUserToRoleV4BadRequest

type AdminAssignUserToRoleV4BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminAssignUserToRoleV4BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr><tr><td>10457</td><td>specified role is not admin role</td></tr></table>

func NewAdminAssignUserToRoleV4BadRequest

func NewAdminAssignUserToRoleV4BadRequest() *AdminAssignUserToRoleV4BadRequest

NewAdminAssignUserToRoleV4BadRequest creates a AdminAssignUserToRoleV4BadRequest with default headers values

func (*AdminAssignUserToRoleV4BadRequest) Error

func (*AdminAssignUserToRoleV4BadRequest) GetPayload

func (*AdminAssignUserToRoleV4BadRequest) ToJSONString

func (o *AdminAssignUserToRoleV4BadRequest) ToJSONString() string

type AdminAssignUserToRoleV4Conflict

type AdminAssignUserToRoleV4Conflict struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminAssignUserToRoleV4Conflict handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10469</td><td>role member exist</td></tr></table>

func NewAdminAssignUserToRoleV4Conflict

func NewAdminAssignUserToRoleV4Conflict() *AdminAssignUserToRoleV4Conflict

NewAdminAssignUserToRoleV4Conflict creates a AdminAssignUserToRoleV4Conflict with default headers values

func (*AdminAssignUserToRoleV4Conflict) Error

func (*AdminAssignUserToRoleV4Conflict) GetPayload

func (*AdminAssignUserToRoleV4Conflict) ToJSONString

func (o *AdminAssignUserToRoleV4Conflict) ToJSONString() string

type AdminAssignUserToRoleV4Created

type AdminAssignUserToRoleV4Created struct {
	Payload *iamclientmodels.ModelAssignedUserV4Response
}

AdminAssignUserToRoleV4Created handles this case with default header values.

Operation succeeded

func NewAdminAssignUserToRoleV4Created

func NewAdminAssignUserToRoleV4Created() *AdminAssignUserToRoleV4Created

NewAdminAssignUserToRoleV4Created creates a AdminAssignUserToRoleV4Created with default headers values

func (*AdminAssignUserToRoleV4Created) Error

func (*AdminAssignUserToRoleV4Created) GetPayload

func (*AdminAssignUserToRoleV4Created) ToJSONString

func (o *AdminAssignUserToRoleV4Created) ToJSONString() string

type AdminAssignUserToRoleV4Forbidden

type AdminAssignUserToRoleV4Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminAssignUserToRoleV4Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr><tr><td>10459</td><td>operator is not a role manager</td></tr></table>

func NewAdminAssignUserToRoleV4Forbidden

func NewAdminAssignUserToRoleV4Forbidden() *AdminAssignUserToRoleV4Forbidden

NewAdminAssignUserToRoleV4Forbidden creates a AdminAssignUserToRoleV4Forbidden with default headers values

func (*AdminAssignUserToRoleV4Forbidden) Error

func (*AdminAssignUserToRoleV4Forbidden) GetPayload

func (*AdminAssignUserToRoleV4Forbidden) ToJSONString

func (o *AdminAssignUserToRoleV4Forbidden) ToJSONString() string

type AdminAssignUserToRoleV4NotFound

type AdminAssignUserToRoleV4NotFound struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminAssignUserToRoleV4NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10456</td><td>role not found</td></tr><tr><td>20008</td><td>user not found</td></tr></table>

func NewAdminAssignUserToRoleV4NotFound

func NewAdminAssignUserToRoleV4NotFound() *AdminAssignUserToRoleV4NotFound

NewAdminAssignUserToRoleV4NotFound creates a AdminAssignUserToRoleV4NotFound with default headers values

func (*AdminAssignUserToRoleV4NotFound) Error

func (*AdminAssignUserToRoleV4NotFound) GetPayload

func (*AdminAssignUserToRoleV4NotFound) ToJSONString

func (o *AdminAssignUserToRoleV4NotFound) ToJSONString() string

type AdminAssignUserToRoleV4Params

type AdminAssignUserToRoleV4Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *iamclientmodels.ModelAssignUserV4Request
	/*RoleID
	  Role id

	*/
	RoleID string

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

AdminAssignUserToRoleV4Params contains all the parameters to send to the API endpoint for the admin assign user to role v4 operation typically these are written to a http.Request

func NewAdminAssignUserToRoleV4Params

func NewAdminAssignUserToRoleV4Params() *AdminAssignUserToRoleV4Params

NewAdminAssignUserToRoleV4Params creates a new AdminAssignUserToRoleV4Params object with the default values initialized.

func NewAdminAssignUserToRoleV4ParamsWithContext

func NewAdminAssignUserToRoleV4ParamsWithContext(ctx context.Context) *AdminAssignUserToRoleV4Params

NewAdminAssignUserToRoleV4ParamsWithContext creates a new AdminAssignUserToRoleV4Params object with the default values initialized, and the ability to set a context for a request

func NewAdminAssignUserToRoleV4ParamsWithHTTPClient

func NewAdminAssignUserToRoleV4ParamsWithHTTPClient(client *http.Client) *AdminAssignUserToRoleV4Params

NewAdminAssignUserToRoleV4ParamsWithHTTPClient creates a new AdminAssignUserToRoleV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminAssignUserToRoleV4ParamsWithTimeout

func NewAdminAssignUserToRoleV4ParamsWithTimeout(timeout time.Duration) *AdminAssignUserToRoleV4Params

NewAdminAssignUserToRoleV4ParamsWithTimeout creates a new AdminAssignUserToRoleV4Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminAssignUserToRoleV4Params) SetAuthInfoWriter

func (o *AdminAssignUserToRoleV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin assign user to role v4 params

func (*AdminAssignUserToRoleV4Params) SetBody

SetBody adds the body to the admin assign user to role v4 params

func (*AdminAssignUserToRoleV4Params) SetContext

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

SetContext adds the context to the admin assign user to role v4 params

func (*AdminAssignUserToRoleV4Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin assign user to role v4 params

func (*AdminAssignUserToRoleV4Params) SetHTTPClientTransport

func (o *AdminAssignUserToRoleV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin assign user to role v4 params

func (*AdminAssignUserToRoleV4Params) SetRoleID

func (o *AdminAssignUserToRoleV4Params) SetRoleID(roleID string)

SetRoleID adds the roleId to the admin assign user to role v4 params

func (*AdminAssignUserToRoleV4Params) SetTimeout

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

SetTimeout adds the timeout to the admin assign user to role v4 params

func (*AdminAssignUserToRoleV4Params) WithBody

WithBody adds the body to the admin assign user to role v4 params

func (*AdminAssignUserToRoleV4Params) WithContext

WithContext adds the context to the admin assign user to role v4 params

func (*AdminAssignUserToRoleV4Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin assign user to role v4 params

func (*AdminAssignUserToRoleV4Params) WithRoleID

WithRoleID adds the roleID to the admin assign user to role v4 params

func (*AdminAssignUserToRoleV4Params) WithTimeout

WithTimeout adds the timeout to the admin assign user to role v4 params

func (*AdminAssignUserToRoleV4Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminAssignUserToRoleV4Reader

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

AdminAssignUserToRoleV4Reader is a Reader for the AdminAssignUserToRoleV4 structure.

func (*AdminAssignUserToRoleV4Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminAssignUserToRoleV4Unauthorized

type AdminAssignUserToRoleV4Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminAssignUserToRoleV4Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminAssignUserToRoleV4Unauthorized

func NewAdminAssignUserToRoleV4Unauthorized() *AdminAssignUserToRoleV4Unauthorized

NewAdminAssignUserToRoleV4Unauthorized creates a AdminAssignUserToRoleV4Unauthorized with default headers values

func (*AdminAssignUserToRoleV4Unauthorized) Error

func (*AdminAssignUserToRoleV4Unauthorized) GetPayload

func (*AdminAssignUserToRoleV4Unauthorized) ToJSONString

func (o *AdminAssignUserToRoleV4Unauthorized) ToJSONString() string

type AdminAssignUserToRoleV4UnprocessableEntity

type AdminAssignUserToRoleV4UnprocessableEntity struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminAssignUserToRoleV4UnprocessableEntity handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10183</td><td>unprocessable entity</td></tr></table>

func NewAdminAssignUserToRoleV4UnprocessableEntity

func NewAdminAssignUserToRoleV4UnprocessableEntity() *AdminAssignUserToRoleV4UnprocessableEntity

NewAdminAssignUserToRoleV4UnprocessableEntity creates a AdminAssignUserToRoleV4UnprocessableEntity with default headers values

func (*AdminAssignUserToRoleV4UnprocessableEntity) Error

func (*AdminAssignUserToRoleV4UnprocessableEntity) GetPayload

func (*AdminAssignUserToRoleV4UnprocessableEntity) ToJSONString

type AdminCreateRoleV3BadRequest

type AdminCreateRoleV3BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminCreateRoleV3BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr><tr><td>10466</td><td>invalid role members</td></tr></table>

func NewAdminCreateRoleV3BadRequest

func NewAdminCreateRoleV3BadRequest() *AdminCreateRoleV3BadRequest

NewAdminCreateRoleV3BadRequest creates a AdminCreateRoleV3BadRequest with default headers values

func (*AdminCreateRoleV3BadRequest) Error

func (*AdminCreateRoleV3BadRequest) GetPayload

func (*AdminCreateRoleV3BadRequest) ToJSONString

func (o *AdminCreateRoleV3BadRequest) ToJSONString() string

type AdminCreateRoleV3Created

type AdminCreateRoleV3Created struct {
	Payload *iamclientmodels.AccountcommonRoleV3
}

AdminCreateRoleV3Created handles this case with default header values.

Created

func NewAdminCreateRoleV3Created

func NewAdminCreateRoleV3Created() *AdminCreateRoleV3Created

NewAdminCreateRoleV3Created creates a AdminCreateRoleV3Created with default headers values

func (*AdminCreateRoleV3Created) Error

func (o *AdminCreateRoleV3Created) Error() string

func (*AdminCreateRoleV3Created) GetPayload

func (*AdminCreateRoleV3Created) ToJSONString

func (o *AdminCreateRoleV3Created) ToJSONString() string

type AdminCreateRoleV3Forbidden

type AdminCreateRoleV3Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminCreateRoleV3Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminCreateRoleV3Forbidden

func NewAdminCreateRoleV3Forbidden() *AdminCreateRoleV3Forbidden

NewAdminCreateRoleV3Forbidden creates a AdminCreateRoleV3Forbidden with default headers values

func (*AdminCreateRoleV3Forbidden) Error

func (*AdminCreateRoleV3Forbidden) GetPayload

func (*AdminCreateRoleV3Forbidden) ToJSONString

func (o *AdminCreateRoleV3Forbidden) ToJSONString() string

type AdminCreateRoleV3InternalServerError

type AdminCreateRoleV3InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminCreateRoleV3InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminCreateRoleV3InternalServerError

func NewAdminCreateRoleV3InternalServerError() *AdminCreateRoleV3InternalServerError

NewAdminCreateRoleV3InternalServerError creates a AdminCreateRoleV3InternalServerError with default headers values

func (*AdminCreateRoleV3InternalServerError) Error

func (*AdminCreateRoleV3InternalServerError) GetPayload

func (*AdminCreateRoleV3InternalServerError) ToJSONString

func (o *AdminCreateRoleV3InternalServerError) ToJSONString() string

type AdminCreateRoleV3Params

type AdminCreateRoleV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *iamclientmodels.ModelRoleCreateV3Request

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

AdminCreateRoleV3Params contains all the parameters to send to the API endpoint for the admin create role v3 operation typically these are written to a http.Request

func NewAdminCreateRoleV3Params

func NewAdminCreateRoleV3Params() *AdminCreateRoleV3Params

NewAdminCreateRoleV3Params creates a new AdminCreateRoleV3Params object with the default values initialized.

func NewAdminCreateRoleV3ParamsWithContext

func NewAdminCreateRoleV3ParamsWithContext(ctx context.Context) *AdminCreateRoleV3Params

NewAdminCreateRoleV3ParamsWithContext creates a new AdminCreateRoleV3Params object with the default values initialized, and the ability to set a context for a request

func NewAdminCreateRoleV3ParamsWithHTTPClient

func NewAdminCreateRoleV3ParamsWithHTTPClient(client *http.Client) *AdminCreateRoleV3Params

NewAdminCreateRoleV3ParamsWithHTTPClient creates a new AdminCreateRoleV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminCreateRoleV3ParamsWithTimeout

func NewAdminCreateRoleV3ParamsWithTimeout(timeout time.Duration) *AdminCreateRoleV3Params

NewAdminCreateRoleV3ParamsWithTimeout creates a new AdminCreateRoleV3Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminCreateRoleV3Params) SetAuthInfoWriter

func (o *AdminCreateRoleV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin create role v3 params

func (*AdminCreateRoleV3Params) SetBody

SetBody adds the body to the admin create role v3 params

func (*AdminCreateRoleV3Params) SetContext

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

SetContext adds the context to the admin create role v3 params

func (*AdminCreateRoleV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin create role v3 params

func (*AdminCreateRoleV3Params) SetHTTPClientTransport

func (o *AdminCreateRoleV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin create role v3 params

func (*AdminCreateRoleV3Params) SetTimeout

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

SetTimeout adds the timeout to the admin create role v3 params

func (*AdminCreateRoleV3Params) WithBody

WithBody adds the body to the admin create role v3 params

func (*AdminCreateRoleV3Params) WithContext

WithContext adds the context to the admin create role v3 params

func (*AdminCreateRoleV3Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin create role v3 params

func (*AdminCreateRoleV3Params) WithTimeout

WithTimeout adds the timeout to the admin create role v3 params

func (*AdminCreateRoleV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminCreateRoleV3Reader

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

AdminCreateRoleV3Reader is a Reader for the AdminCreateRoleV3 structure.

func (*AdminCreateRoleV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminCreateRoleV3Unauthorized

type AdminCreateRoleV3Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminCreateRoleV3Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminCreateRoleV3Unauthorized

func NewAdminCreateRoleV3Unauthorized() *AdminCreateRoleV3Unauthorized

NewAdminCreateRoleV3Unauthorized creates a AdminCreateRoleV3Unauthorized with default headers values

func (*AdminCreateRoleV3Unauthorized) Error

func (*AdminCreateRoleV3Unauthorized) GetPayload

func (*AdminCreateRoleV3Unauthorized) ToJSONString

func (o *AdminCreateRoleV3Unauthorized) ToJSONString() string

type AdminCreateRoleV4BadRequest

type AdminCreateRoleV4BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminCreateRoleV4BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr><tr><td>10466</td><td>invalid role members</td></tr></table>

func NewAdminCreateRoleV4BadRequest

func NewAdminCreateRoleV4BadRequest() *AdminCreateRoleV4BadRequest

NewAdminCreateRoleV4BadRequest creates a AdminCreateRoleV4BadRequest with default headers values

func (*AdminCreateRoleV4BadRequest) Error

func (*AdminCreateRoleV4BadRequest) GetPayload

func (*AdminCreateRoleV4BadRequest) ToJSONString

func (o *AdminCreateRoleV4BadRequest) ToJSONString() string

type AdminCreateRoleV4Created

type AdminCreateRoleV4Created struct {
	Payload *iamclientmodels.ModelRoleV4Response
}

AdminCreateRoleV4Created handles this case with default header values.

Created

func NewAdminCreateRoleV4Created

func NewAdminCreateRoleV4Created() *AdminCreateRoleV4Created

NewAdminCreateRoleV4Created creates a AdminCreateRoleV4Created with default headers values

func (*AdminCreateRoleV4Created) Error

func (o *AdminCreateRoleV4Created) Error() string

func (*AdminCreateRoleV4Created) GetPayload

func (*AdminCreateRoleV4Created) ToJSONString

func (o *AdminCreateRoleV4Created) ToJSONString() string

type AdminCreateRoleV4Forbidden

type AdminCreateRoleV4Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminCreateRoleV4Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminCreateRoleV4Forbidden

func NewAdminCreateRoleV4Forbidden() *AdminCreateRoleV4Forbidden

NewAdminCreateRoleV4Forbidden creates a AdminCreateRoleV4Forbidden with default headers values

func (*AdminCreateRoleV4Forbidden) Error

func (*AdminCreateRoleV4Forbidden) GetPayload

func (*AdminCreateRoleV4Forbidden) ToJSONString

func (o *AdminCreateRoleV4Forbidden) ToJSONString() string

type AdminCreateRoleV4InternalServerError

type AdminCreateRoleV4InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminCreateRoleV4InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminCreateRoleV4InternalServerError

func NewAdminCreateRoleV4InternalServerError() *AdminCreateRoleV4InternalServerError

NewAdminCreateRoleV4InternalServerError creates a AdminCreateRoleV4InternalServerError with default headers values

func (*AdminCreateRoleV4InternalServerError) Error

func (*AdminCreateRoleV4InternalServerError) GetPayload

func (*AdminCreateRoleV4InternalServerError) ToJSONString

func (o *AdminCreateRoleV4InternalServerError) ToJSONString() string

type AdminCreateRoleV4Params

type AdminCreateRoleV4Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *iamclientmodels.ModelRoleV4Request

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

AdminCreateRoleV4Params contains all the parameters to send to the API endpoint for the admin create role v4 operation typically these are written to a http.Request

func NewAdminCreateRoleV4Params

func NewAdminCreateRoleV4Params() *AdminCreateRoleV4Params

NewAdminCreateRoleV4Params creates a new AdminCreateRoleV4Params object with the default values initialized.

func NewAdminCreateRoleV4ParamsWithContext

func NewAdminCreateRoleV4ParamsWithContext(ctx context.Context) *AdminCreateRoleV4Params

NewAdminCreateRoleV4ParamsWithContext creates a new AdminCreateRoleV4Params object with the default values initialized, and the ability to set a context for a request

func NewAdminCreateRoleV4ParamsWithHTTPClient

func NewAdminCreateRoleV4ParamsWithHTTPClient(client *http.Client) *AdminCreateRoleV4Params

NewAdminCreateRoleV4ParamsWithHTTPClient creates a new AdminCreateRoleV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminCreateRoleV4ParamsWithTimeout

func NewAdminCreateRoleV4ParamsWithTimeout(timeout time.Duration) *AdminCreateRoleV4Params

NewAdminCreateRoleV4ParamsWithTimeout creates a new AdminCreateRoleV4Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminCreateRoleV4Params) SetAuthInfoWriter

func (o *AdminCreateRoleV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin create role v4 params

func (*AdminCreateRoleV4Params) SetBody

SetBody adds the body to the admin create role v4 params

func (*AdminCreateRoleV4Params) SetContext

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

SetContext adds the context to the admin create role v4 params

func (*AdminCreateRoleV4Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin create role v4 params

func (*AdminCreateRoleV4Params) SetHTTPClientTransport

func (o *AdminCreateRoleV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin create role v4 params

func (*AdminCreateRoleV4Params) SetTimeout

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

SetTimeout adds the timeout to the admin create role v4 params

func (*AdminCreateRoleV4Params) WithBody

WithBody adds the body to the admin create role v4 params

func (*AdminCreateRoleV4Params) WithContext

WithContext adds the context to the admin create role v4 params

func (*AdminCreateRoleV4Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin create role v4 params

func (*AdminCreateRoleV4Params) WithTimeout

WithTimeout adds the timeout to the admin create role v4 params

func (*AdminCreateRoleV4Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminCreateRoleV4Reader

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

AdminCreateRoleV4Reader is a Reader for the AdminCreateRoleV4 structure.

func (*AdminCreateRoleV4Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminCreateRoleV4Unauthorized

type AdminCreateRoleV4Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminCreateRoleV4Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminCreateRoleV4Unauthorized

func NewAdminCreateRoleV4Unauthorized() *AdminCreateRoleV4Unauthorized

NewAdminCreateRoleV4Unauthorized creates a AdminCreateRoleV4Unauthorized with default headers values

func (*AdminCreateRoleV4Unauthorized) Error

func (*AdminCreateRoleV4Unauthorized) GetPayload

func (*AdminCreateRoleV4Unauthorized) ToJSONString

func (o *AdminCreateRoleV4Unauthorized) ToJSONString() string

type AdminDeleteRolePermissionV3BadRequest

type AdminDeleteRolePermissionV3BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminDeleteRolePermissionV3BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewAdminDeleteRolePermissionV3BadRequest

func NewAdminDeleteRolePermissionV3BadRequest() *AdminDeleteRolePermissionV3BadRequest

NewAdminDeleteRolePermissionV3BadRequest creates a AdminDeleteRolePermissionV3BadRequest with default headers values

func (*AdminDeleteRolePermissionV3BadRequest) Error

func (*AdminDeleteRolePermissionV3BadRequest) GetPayload

func (*AdminDeleteRolePermissionV3BadRequest) ToJSONString

type AdminDeleteRolePermissionV3Forbidden

type AdminDeleteRolePermissionV3Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminDeleteRolePermissionV3Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminDeleteRolePermissionV3Forbidden

func NewAdminDeleteRolePermissionV3Forbidden() *AdminDeleteRolePermissionV3Forbidden

NewAdminDeleteRolePermissionV3Forbidden creates a AdminDeleteRolePermissionV3Forbidden with default headers values

func (*AdminDeleteRolePermissionV3Forbidden) Error

func (*AdminDeleteRolePermissionV3Forbidden) GetPayload

func (*AdminDeleteRolePermissionV3Forbidden) ToJSONString

func (o *AdminDeleteRolePermissionV3Forbidden) ToJSONString() string

type AdminDeleteRolePermissionV3InternalServerError

type AdminDeleteRolePermissionV3InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminDeleteRolePermissionV3InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminDeleteRolePermissionV3InternalServerError

func NewAdminDeleteRolePermissionV3InternalServerError() *AdminDeleteRolePermissionV3InternalServerError

NewAdminDeleteRolePermissionV3InternalServerError creates a AdminDeleteRolePermissionV3InternalServerError with default headers values

func (*AdminDeleteRolePermissionV3InternalServerError) Error

func (*AdminDeleteRolePermissionV3InternalServerError) GetPayload

func (*AdminDeleteRolePermissionV3InternalServerError) ToJSONString

type AdminDeleteRolePermissionV3NoContent

type AdminDeleteRolePermissionV3NoContent struct {
}

AdminDeleteRolePermissionV3NoContent handles this case with default header values.

Operation succeeded

func NewAdminDeleteRolePermissionV3NoContent

func NewAdminDeleteRolePermissionV3NoContent() *AdminDeleteRolePermissionV3NoContent

NewAdminDeleteRolePermissionV3NoContent creates a AdminDeleteRolePermissionV3NoContent with default headers values

func (*AdminDeleteRolePermissionV3NoContent) Error

type AdminDeleteRolePermissionV3NotFound

type AdminDeleteRolePermissionV3NotFound struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminDeleteRolePermissionV3NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10456</td><td>role not found</td></tr></table>

func NewAdminDeleteRolePermissionV3NotFound

func NewAdminDeleteRolePermissionV3NotFound() *AdminDeleteRolePermissionV3NotFound

NewAdminDeleteRolePermissionV3NotFound creates a AdminDeleteRolePermissionV3NotFound with default headers values

func (*AdminDeleteRolePermissionV3NotFound) Error

func (*AdminDeleteRolePermissionV3NotFound) GetPayload

func (*AdminDeleteRolePermissionV3NotFound) ToJSONString

func (o *AdminDeleteRolePermissionV3NotFound) ToJSONString() string

type AdminDeleteRolePermissionV3Params

type AdminDeleteRolePermissionV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Action
	  Action, value must be in range 1-15

	*/
	Action int64
	/*Resource
	  Resource Name

	*/
	Resource string
	/*RoleID
	  Role ID, should follow UUID version 4 without hyphen

	*/
	RoleID string

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

AdminDeleteRolePermissionV3Params contains all the parameters to send to the API endpoint for the admin delete role permission v3 operation typically these are written to a http.Request

func NewAdminDeleteRolePermissionV3Params

func NewAdminDeleteRolePermissionV3Params() *AdminDeleteRolePermissionV3Params

NewAdminDeleteRolePermissionV3Params creates a new AdminDeleteRolePermissionV3Params object with the default values initialized.

func NewAdminDeleteRolePermissionV3ParamsWithContext

func NewAdminDeleteRolePermissionV3ParamsWithContext(ctx context.Context) *AdminDeleteRolePermissionV3Params

NewAdminDeleteRolePermissionV3ParamsWithContext creates a new AdminDeleteRolePermissionV3Params object with the default values initialized, and the ability to set a context for a request

func NewAdminDeleteRolePermissionV3ParamsWithHTTPClient

func NewAdminDeleteRolePermissionV3ParamsWithHTTPClient(client *http.Client) *AdminDeleteRolePermissionV3Params

NewAdminDeleteRolePermissionV3ParamsWithHTTPClient creates a new AdminDeleteRolePermissionV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminDeleteRolePermissionV3ParamsWithTimeout

func NewAdminDeleteRolePermissionV3ParamsWithTimeout(timeout time.Duration) *AdminDeleteRolePermissionV3Params

NewAdminDeleteRolePermissionV3ParamsWithTimeout creates a new AdminDeleteRolePermissionV3Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminDeleteRolePermissionV3Params) SetAction

func (o *AdminDeleteRolePermissionV3Params) SetAction(action int64)

SetAction adds the action to the admin delete role permission v3 params

func (*AdminDeleteRolePermissionV3Params) SetAuthInfoWriter

func (o *AdminDeleteRolePermissionV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin delete role permission v3 params

func (*AdminDeleteRolePermissionV3Params) SetContext

SetContext adds the context to the admin delete role permission v3 params

func (*AdminDeleteRolePermissionV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin delete role permission v3 params

func (*AdminDeleteRolePermissionV3Params) SetHTTPClientTransport

func (o *AdminDeleteRolePermissionV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin delete role permission v3 params

func (*AdminDeleteRolePermissionV3Params) SetResource

func (o *AdminDeleteRolePermissionV3Params) SetResource(resource string)

SetResource adds the resource to the admin delete role permission v3 params

func (*AdminDeleteRolePermissionV3Params) SetRoleID

func (o *AdminDeleteRolePermissionV3Params) SetRoleID(roleID string)

SetRoleID adds the roleId to the admin delete role permission v3 params

func (*AdminDeleteRolePermissionV3Params) SetTimeout

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

SetTimeout adds the timeout to the admin delete role permission v3 params

func (*AdminDeleteRolePermissionV3Params) WithAction

WithAction adds the action to the admin delete role permission v3 params

func (*AdminDeleteRolePermissionV3Params) WithContext

WithContext adds the context to the admin delete role permission v3 params

func (*AdminDeleteRolePermissionV3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin delete role permission v3 params

func (*AdminDeleteRolePermissionV3Params) WithResource

WithResource adds the resource to the admin delete role permission v3 params

func (*AdminDeleteRolePermissionV3Params) WithRoleID

WithRoleID adds the roleID to the admin delete role permission v3 params

func (*AdminDeleteRolePermissionV3Params) WithTimeout

WithTimeout adds the timeout to the admin delete role permission v3 params

func (*AdminDeleteRolePermissionV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminDeleteRolePermissionV3Reader

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

AdminDeleteRolePermissionV3Reader is a Reader for the AdminDeleteRolePermissionV3 structure.

func (*AdminDeleteRolePermissionV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminDeleteRolePermissionV3Unauthorized

type AdminDeleteRolePermissionV3Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminDeleteRolePermissionV3Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminDeleteRolePermissionV3Unauthorized

func NewAdminDeleteRolePermissionV3Unauthorized() *AdminDeleteRolePermissionV3Unauthorized

NewAdminDeleteRolePermissionV3Unauthorized creates a AdminDeleteRolePermissionV3Unauthorized with default headers values

func (*AdminDeleteRolePermissionV3Unauthorized) Error

func (*AdminDeleteRolePermissionV3Unauthorized) GetPayload

func (*AdminDeleteRolePermissionV3Unauthorized) ToJSONString

type AdminDeleteRolePermissionsV3Forbidden

type AdminDeleteRolePermissionsV3Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminDeleteRolePermissionsV3Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminDeleteRolePermissionsV3Forbidden

func NewAdminDeleteRolePermissionsV3Forbidden() *AdminDeleteRolePermissionsV3Forbidden

NewAdminDeleteRolePermissionsV3Forbidden creates a AdminDeleteRolePermissionsV3Forbidden with default headers values

func (*AdminDeleteRolePermissionsV3Forbidden) Error

func (*AdminDeleteRolePermissionsV3Forbidden) GetPayload

func (*AdminDeleteRolePermissionsV3Forbidden) ToJSONString

type AdminDeleteRolePermissionsV3NoContent

type AdminDeleteRolePermissionsV3NoContent struct {
}

AdminDeleteRolePermissionsV3NoContent handles this case with default header values.

Operation succeeded

func NewAdminDeleteRolePermissionsV3NoContent

func NewAdminDeleteRolePermissionsV3NoContent() *AdminDeleteRolePermissionsV3NoContent

NewAdminDeleteRolePermissionsV3NoContent creates a AdminDeleteRolePermissionsV3NoContent with default headers values

func (*AdminDeleteRolePermissionsV3NoContent) Error

type AdminDeleteRolePermissionsV3NotFound

type AdminDeleteRolePermissionsV3NotFound struct {
}

AdminDeleteRolePermissionsV3NotFound handles this case with default header values.

Data not found

func NewAdminDeleteRolePermissionsV3NotFound

func NewAdminDeleteRolePermissionsV3NotFound() *AdminDeleteRolePermissionsV3NotFound

NewAdminDeleteRolePermissionsV3NotFound creates a AdminDeleteRolePermissionsV3NotFound with default headers values

func (*AdminDeleteRolePermissionsV3NotFound) Error

type AdminDeleteRolePermissionsV3Params

type AdminDeleteRolePermissionsV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body []string
	/*RoleID
	  Role id

	*/
	RoleID string

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

AdminDeleteRolePermissionsV3Params contains all the parameters to send to the API endpoint for the admin delete role permissions v3 operation typically these are written to a http.Request

func NewAdminDeleteRolePermissionsV3Params

func NewAdminDeleteRolePermissionsV3Params() *AdminDeleteRolePermissionsV3Params

NewAdminDeleteRolePermissionsV3Params creates a new AdminDeleteRolePermissionsV3Params object with the default values initialized.

func NewAdminDeleteRolePermissionsV3ParamsWithContext

func NewAdminDeleteRolePermissionsV3ParamsWithContext(ctx context.Context) *AdminDeleteRolePermissionsV3Params

NewAdminDeleteRolePermissionsV3ParamsWithContext creates a new AdminDeleteRolePermissionsV3Params object with the default values initialized, and the ability to set a context for a request

func NewAdminDeleteRolePermissionsV3ParamsWithHTTPClient

func NewAdminDeleteRolePermissionsV3ParamsWithHTTPClient(client *http.Client) *AdminDeleteRolePermissionsV3Params

NewAdminDeleteRolePermissionsV3ParamsWithHTTPClient creates a new AdminDeleteRolePermissionsV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminDeleteRolePermissionsV3ParamsWithTimeout

func NewAdminDeleteRolePermissionsV3ParamsWithTimeout(timeout time.Duration) *AdminDeleteRolePermissionsV3Params

NewAdminDeleteRolePermissionsV3ParamsWithTimeout creates a new AdminDeleteRolePermissionsV3Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminDeleteRolePermissionsV3Params) SetAuthInfoWriter

func (o *AdminDeleteRolePermissionsV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin delete role permissions v3 params

func (*AdminDeleteRolePermissionsV3Params) SetBody

func (o *AdminDeleteRolePermissionsV3Params) SetBody(body []string)

SetBody adds the body to the admin delete role permissions v3 params

func (*AdminDeleteRolePermissionsV3Params) SetContext

SetContext adds the context to the admin delete role permissions v3 params

func (*AdminDeleteRolePermissionsV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin delete role permissions v3 params

func (*AdminDeleteRolePermissionsV3Params) SetHTTPClientTransport

func (o *AdminDeleteRolePermissionsV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin delete role permissions v3 params

func (*AdminDeleteRolePermissionsV3Params) SetRoleID

func (o *AdminDeleteRolePermissionsV3Params) SetRoleID(roleID string)

SetRoleID adds the roleId to the admin delete role permissions v3 params

func (*AdminDeleteRolePermissionsV3Params) SetTimeout

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

SetTimeout adds the timeout to the admin delete role permissions v3 params

func (*AdminDeleteRolePermissionsV3Params) WithBody

WithBody adds the body to the admin delete role permissions v3 params

func (*AdminDeleteRolePermissionsV3Params) WithContext

WithContext adds the context to the admin delete role permissions v3 params

func (*AdminDeleteRolePermissionsV3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin delete role permissions v3 params

func (*AdminDeleteRolePermissionsV3Params) WithRoleID

WithRoleID adds the roleID to the admin delete role permissions v3 params

func (*AdminDeleteRolePermissionsV3Params) WithTimeout

WithTimeout adds the timeout to the admin delete role permissions v3 params

func (*AdminDeleteRolePermissionsV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminDeleteRolePermissionsV3Reader

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

AdminDeleteRolePermissionsV3Reader is a Reader for the AdminDeleteRolePermissionsV3 structure.

func (*AdminDeleteRolePermissionsV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminDeleteRolePermissionsV3Unauthorized

type AdminDeleteRolePermissionsV3Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminDeleteRolePermissionsV3Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminDeleteRolePermissionsV3Unauthorized

func NewAdminDeleteRolePermissionsV3Unauthorized() *AdminDeleteRolePermissionsV3Unauthorized

NewAdminDeleteRolePermissionsV3Unauthorized creates a AdminDeleteRolePermissionsV3Unauthorized with default headers values

func (*AdminDeleteRolePermissionsV3Unauthorized) Error

func (*AdminDeleteRolePermissionsV3Unauthorized) GetPayload

func (*AdminDeleteRolePermissionsV3Unauthorized) ToJSONString

type AdminDeleteRolePermissionsV4Forbidden

type AdminDeleteRolePermissionsV4Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminDeleteRolePermissionsV4Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminDeleteRolePermissionsV4Forbidden

func NewAdminDeleteRolePermissionsV4Forbidden() *AdminDeleteRolePermissionsV4Forbidden

NewAdminDeleteRolePermissionsV4Forbidden creates a AdminDeleteRolePermissionsV4Forbidden with default headers values

func (*AdminDeleteRolePermissionsV4Forbidden) Error

func (*AdminDeleteRolePermissionsV4Forbidden) GetPayload

func (*AdminDeleteRolePermissionsV4Forbidden) ToJSONString

type AdminDeleteRolePermissionsV4NoContent

type AdminDeleteRolePermissionsV4NoContent struct {
}

AdminDeleteRolePermissionsV4NoContent handles this case with default header values.

Operation succeeded

func NewAdminDeleteRolePermissionsV4NoContent

func NewAdminDeleteRolePermissionsV4NoContent() *AdminDeleteRolePermissionsV4NoContent

NewAdminDeleteRolePermissionsV4NoContent creates a AdminDeleteRolePermissionsV4NoContent with default headers values

func (*AdminDeleteRolePermissionsV4NoContent) Error

type AdminDeleteRolePermissionsV4NotFound

type AdminDeleteRolePermissionsV4NotFound struct {
}

AdminDeleteRolePermissionsV4NotFound handles this case with default header values.

Data not found

func NewAdminDeleteRolePermissionsV4NotFound

func NewAdminDeleteRolePermissionsV4NotFound() *AdminDeleteRolePermissionsV4NotFound

NewAdminDeleteRolePermissionsV4NotFound creates a AdminDeleteRolePermissionsV4NotFound with default headers values

func (*AdminDeleteRolePermissionsV4NotFound) Error

type AdminDeleteRolePermissionsV4Params

type AdminDeleteRolePermissionsV4Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body []string
	/*RoleID
	  Role id

	*/
	RoleID string

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

AdminDeleteRolePermissionsV4Params contains all the parameters to send to the API endpoint for the admin delete role permissions v4 operation typically these are written to a http.Request

func NewAdminDeleteRolePermissionsV4Params

func NewAdminDeleteRolePermissionsV4Params() *AdminDeleteRolePermissionsV4Params

NewAdminDeleteRolePermissionsV4Params creates a new AdminDeleteRolePermissionsV4Params object with the default values initialized.

func NewAdminDeleteRolePermissionsV4ParamsWithContext

func NewAdminDeleteRolePermissionsV4ParamsWithContext(ctx context.Context) *AdminDeleteRolePermissionsV4Params

NewAdminDeleteRolePermissionsV4ParamsWithContext creates a new AdminDeleteRolePermissionsV4Params object with the default values initialized, and the ability to set a context for a request

func NewAdminDeleteRolePermissionsV4ParamsWithHTTPClient

func NewAdminDeleteRolePermissionsV4ParamsWithHTTPClient(client *http.Client) *AdminDeleteRolePermissionsV4Params

NewAdminDeleteRolePermissionsV4ParamsWithHTTPClient creates a new AdminDeleteRolePermissionsV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminDeleteRolePermissionsV4ParamsWithTimeout

func NewAdminDeleteRolePermissionsV4ParamsWithTimeout(timeout time.Duration) *AdminDeleteRolePermissionsV4Params

NewAdminDeleteRolePermissionsV4ParamsWithTimeout creates a new AdminDeleteRolePermissionsV4Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminDeleteRolePermissionsV4Params) SetAuthInfoWriter

func (o *AdminDeleteRolePermissionsV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin delete role permissions v4 params

func (*AdminDeleteRolePermissionsV4Params) SetBody

func (o *AdminDeleteRolePermissionsV4Params) SetBody(body []string)

SetBody adds the body to the admin delete role permissions v4 params

func (*AdminDeleteRolePermissionsV4Params) SetContext

SetContext adds the context to the admin delete role permissions v4 params

func (*AdminDeleteRolePermissionsV4Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin delete role permissions v4 params

func (*AdminDeleteRolePermissionsV4Params) SetHTTPClientTransport

func (o *AdminDeleteRolePermissionsV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin delete role permissions v4 params

func (*AdminDeleteRolePermissionsV4Params) SetRoleID

func (o *AdminDeleteRolePermissionsV4Params) SetRoleID(roleID string)

SetRoleID adds the roleId to the admin delete role permissions v4 params

func (*AdminDeleteRolePermissionsV4Params) SetTimeout

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

SetTimeout adds the timeout to the admin delete role permissions v4 params

func (*AdminDeleteRolePermissionsV4Params) WithBody

WithBody adds the body to the admin delete role permissions v4 params

func (*AdminDeleteRolePermissionsV4Params) WithContext

WithContext adds the context to the admin delete role permissions v4 params

func (*AdminDeleteRolePermissionsV4Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin delete role permissions v4 params

func (*AdminDeleteRolePermissionsV4Params) WithRoleID

WithRoleID adds the roleID to the admin delete role permissions v4 params

func (*AdminDeleteRolePermissionsV4Params) WithTimeout

WithTimeout adds the timeout to the admin delete role permissions v4 params

func (*AdminDeleteRolePermissionsV4Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminDeleteRolePermissionsV4Reader

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

AdminDeleteRolePermissionsV4Reader is a Reader for the AdminDeleteRolePermissionsV4 structure.

func (*AdminDeleteRolePermissionsV4Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminDeleteRolePermissionsV4Unauthorized

type AdminDeleteRolePermissionsV4Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminDeleteRolePermissionsV4Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminDeleteRolePermissionsV4Unauthorized

func NewAdminDeleteRolePermissionsV4Unauthorized() *AdminDeleteRolePermissionsV4Unauthorized

NewAdminDeleteRolePermissionsV4Unauthorized creates a AdminDeleteRolePermissionsV4Unauthorized with default headers values

func (*AdminDeleteRolePermissionsV4Unauthorized) Error

func (*AdminDeleteRolePermissionsV4Unauthorized) GetPayload

func (*AdminDeleteRolePermissionsV4Unauthorized) ToJSONString

type AdminDeleteRoleV3BadRequest

type AdminDeleteRoleV3BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminDeleteRoleV3BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewAdminDeleteRoleV3BadRequest

func NewAdminDeleteRoleV3BadRequest() *AdminDeleteRoleV3BadRequest

NewAdminDeleteRoleV3BadRequest creates a AdminDeleteRoleV3BadRequest with default headers values

func (*AdminDeleteRoleV3BadRequest) Error

func (*AdminDeleteRoleV3BadRequest) GetPayload

func (*AdminDeleteRoleV3BadRequest) ToJSONString

func (o *AdminDeleteRoleV3BadRequest) ToJSONString() string

type AdminDeleteRoleV3Conflict

type AdminDeleteRoleV3Conflict struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminDeleteRoleV3Conflict handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20009</td><td>request_conflict</td></tr></table>

func NewAdminDeleteRoleV3Conflict

func NewAdminDeleteRoleV3Conflict() *AdminDeleteRoleV3Conflict

NewAdminDeleteRoleV3Conflict creates a AdminDeleteRoleV3Conflict with default headers values

func (*AdminDeleteRoleV3Conflict) Error

func (o *AdminDeleteRoleV3Conflict) Error() string

func (*AdminDeleteRoleV3Conflict) GetPayload

func (*AdminDeleteRoleV3Conflict) ToJSONString

func (o *AdminDeleteRoleV3Conflict) ToJSONString() string

type AdminDeleteRoleV3Forbidden

type AdminDeleteRoleV3Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminDeleteRoleV3Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminDeleteRoleV3Forbidden

func NewAdminDeleteRoleV3Forbidden() *AdminDeleteRoleV3Forbidden

NewAdminDeleteRoleV3Forbidden creates a AdminDeleteRoleV3Forbidden with default headers values

func (*AdminDeleteRoleV3Forbidden) Error

func (*AdminDeleteRoleV3Forbidden) GetPayload

func (*AdminDeleteRoleV3Forbidden) ToJSONString

func (o *AdminDeleteRoleV3Forbidden) ToJSONString() string

type AdminDeleteRoleV3InternalServerError

type AdminDeleteRoleV3InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminDeleteRoleV3InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminDeleteRoleV3InternalServerError

func NewAdminDeleteRoleV3InternalServerError() *AdminDeleteRoleV3InternalServerError

NewAdminDeleteRoleV3InternalServerError creates a AdminDeleteRoleV3InternalServerError with default headers values

func (*AdminDeleteRoleV3InternalServerError) Error

func (*AdminDeleteRoleV3InternalServerError) GetPayload

func (*AdminDeleteRoleV3InternalServerError) ToJSONString

func (o *AdminDeleteRoleV3InternalServerError) ToJSONString() string

type AdminDeleteRoleV3NoContent

type AdminDeleteRoleV3NoContent struct {
}

AdminDeleteRoleV3NoContent handles this case with default header values.

Operation succeeded

func NewAdminDeleteRoleV3NoContent

func NewAdminDeleteRoleV3NoContent() *AdminDeleteRoleV3NoContent

NewAdminDeleteRoleV3NoContent creates a AdminDeleteRoleV3NoContent with default headers values

func (*AdminDeleteRoleV3NoContent) Error

type AdminDeleteRoleV3NotFound

type AdminDeleteRoleV3NotFound struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminDeleteRoleV3NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10456</td><td>role not found</td></tr></table>

func NewAdminDeleteRoleV3NotFound

func NewAdminDeleteRoleV3NotFound() *AdminDeleteRoleV3NotFound

NewAdminDeleteRoleV3NotFound creates a AdminDeleteRoleV3NotFound with default headers values

func (*AdminDeleteRoleV3NotFound) Error

func (o *AdminDeleteRoleV3NotFound) Error() string

func (*AdminDeleteRoleV3NotFound) GetPayload

func (*AdminDeleteRoleV3NotFound) ToJSONString

func (o *AdminDeleteRoleV3NotFound) ToJSONString() string

type AdminDeleteRoleV3Params

type AdminDeleteRoleV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*RoleID
	  Role ID, should follow UUID version 4 without hyphen

	*/
	RoleID string

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

AdminDeleteRoleV3Params contains all the parameters to send to the API endpoint for the admin delete role v3 operation typically these are written to a http.Request

func NewAdminDeleteRoleV3Params

func NewAdminDeleteRoleV3Params() *AdminDeleteRoleV3Params

NewAdminDeleteRoleV3Params creates a new AdminDeleteRoleV3Params object with the default values initialized.

func NewAdminDeleteRoleV3ParamsWithContext

func NewAdminDeleteRoleV3ParamsWithContext(ctx context.Context) *AdminDeleteRoleV3Params

NewAdminDeleteRoleV3ParamsWithContext creates a new AdminDeleteRoleV3Params object with the default values initialized, and the ability to set a context for a request

func NewAdminDeleteRoleV3ParamsWithHTTPClient

func NewAdminDeleteRoleV3ParamsWithHTTPClient(client *http.Client) *AdminDeleteRoleV3Params

NewAdminDeleteRoleV3ParamsWithHTTPClient creates a new AdminDeleteRoleV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminDeleteRoleV3ParamsWithTimeout

func NewAdminDeleteRoleV3ParamsWithTimeout(timeout time.Duration) *AdminDeleteRoleV3Params

NewAdminDeleteRoleV3ParamsWithTimeout creates a new AdminDeleteRoleV3Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminDeleteRoleV3Params) SetAuthInfoWriter

func (o *AdminDeleteRoleV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin delete role v3 params

func (*AdminDeleteRoleV3Params) SetContext

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

SetContext adds the context to the admin delete role v3 params

func (*AdminDeleteRoleV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin delete role v3 params

func (*AdminDeleteRoleV3Params) SetHTTPClientTransport

func (o *AdminDeleteRoleV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin delete role v3 params

func (*AdminDeleteRoleV3Params) SetRoleID

func (o *AdminDeleteRoleV3Params) SetRoleID(roleID string)

SetRoleID adds the roleId to the admin delete role v3 params

func (*AdminDeleteRoleV3Params) SetTimeout

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

SetTimeout adds the timeout to the admin delete role v3 params

func (*AdminDeleteRoleV3Params) WithContext

WithContext adds the context to the admin delete role v3 params

func (*AdminDeleteRoleV3Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin delete role v3 params

func (*AdminDeleteRoleV3Params) WithRoleID

WithRoleID adds the roleID to the admin delete role v3 params

func (*AdminDeleteRoleV3Params) WithTimeout

WithTimeout adds the timeout to the admin delete role v3 params

func (*AdminDeleteRoleV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminDeleteRoleV3Reader

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

AdminDeleteRoleV3Reader is a Reader for the AdminDeleteRoleV3 structure.

func (*AdminDeleteRoleV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminDeleteRoleV3Unauthorized

type AdminDeleteRoleV3Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminDeleteRoleV3Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminDeleteRoleV3Unauthorized

func NewAdminDeleteRoleV3Unauthorized() *AdminDeleteRoleV3Unauthorized

NewAdminDeleteRoleV3Unauthorized creates a AdminDeleteRoleV3Unauthorized with default headers values

func (*AdminDeleteRoleV3Unauthorized) Error

func (*AdminDeleteRoleV3Unauthorized) GetPayload

func (*AdminDeleteRoleV3Unauthorized) ToJSONString

func (o *AdminDeleteRoleV3Unauthorized) ToJSONString() string

type AdminDeleteRoleV4BadRequest

type AdminDeleteRoleV4BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminDeleteRoleV4BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewAdminDeleteRoleV4BadRequest

func NewAdminDeleteRoleV4BadRequest() *AdminDeleteRoleV4BadRequest

NewAdminDeleteRoleV4BadRequest creates a AdminDeleteRoleV4BadRequest with default headers values

func (*AdminDeleteRoleV4BadRequest) Error

func (*AdminDeleteRoleV4BadRequest) GetPayload

func (*AdminDeleteRoleV4BadRequest) ToJSONString

func (o *AdminDeleteRoleV4BadRequest) ToJSONString() string

type AdminDeleteRoleV4Forbidden

type AdminDeleteRoleV4Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminDeleteRoleV4Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminDeleteRoleV4Forbidden

func NewAdminDeleteRoleV4Forbidden() *AdminDeleteRoleV4Forbidden

NewAdminDeleteRoleV4Forbidden creates a AdminDeleteRoleV4Forbidden with default headers values

func (*AdminDeleteRoleV4Forbidden) Error

func (*AdminDeleteRoleV4Forbidden) GetPayload

func (*AdminDeleteRoleV4Forbidden) ToJSONString

func (o *AdminDeleteRoleV4Forbidden) ToJSONString() string

type AdminDeleteRoleV4InternalServerError

type AdminDeleteRoleV4InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminDeleteRoleV4InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminDeleteRoleV4InternalServerError

func NewAdminDeleteRoleV4InternalServerError() *AdminDeleteRoleV4InternalServerError

NewAdminDeleteRoleV4InternalServerError creates a AdminDeleteRoleV4InternalServerError with default headers values

func (*AdminDeleteRoleV4InternalServerError) Error

func (*AdminDeleteRoleV4InternalServerError) GetPayload

func (*AdminDeleteRoleV4InternalServerError) ToJSONString

func (o *AdminDeleteRoleV4InternalServerError) ToJSONString() string

type AdminDeleteRoleV4NoContent

type AdminDeleteRoleV4NoContent struct {
}

AdminDeleteRoleV4NoContent handles this case with default header values.

Operation succeeded

func NewAdminDeleteRoleV4NoContent

func NewAdminDeleteRoleV4NoContent() *AdminDeleteRoleV4NoContent

NewAdminDeleteRoleV4NoContent creates a AdminDeleteRoleV4NoContent with default headers values

func (*AdminDeleteRoleV4NoContent) Error

type AdminDeleteRoleV4NotFound

type AdminDeleteRoleV4NotFound struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminDeleteRoleV4NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10456</td><td>role not found</td></tr></table>

func NewAdminDeleteRoleV4NotFound

func NewAdminDeleteRoleV4NotFound() *AdminDeleteRoleV4NotFound

NewAdminDeleteRoleV4NotFound creates a AdminDeleteRoleV4NotFound with default headers values

func (*AdminDeleteRoleV4NotFound) Error

func (o *AdminDeleteRoleV4NotFound) Error() string

func (*AdminDeleteRoleV4NotFound) GetPayload

func (*AdminDeleteRoleV4NotFound) ToJSONString

func (o *AdminDeleteRoleV4NotFound) ToJSONString() string

type AdminDeleteRoleV4Params

type AdminDeleteRoleV4Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*RoleID
	  Role ID, should follow UUID version 4 without hyphen

	*/
	RoleID string

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

AdminDeleteRoleV4Params contains all the parameters to send to the API endpoint for the admin delete role v4 operation typically these are written to a http.Request

func NewAdminDeleteRoleV4Params

func NewAdminDeleteRoleV4Params() *AdminDeleteRoleV4Params

NewAdminDeleteRoleV4Params creates a new AdminDeleteRoleV4Params object with the default values initialized.

func NewAdminDeleteRoleV4ParamsWithContext

func NewAdminDeleteRoleV4ParamsWithContext(ctx context.Context) *AdminDeleteRoleV4Params

NewAdminDeleteRoleV4ParamsWithContext creates a new AdminDeleteRoleV4Params object with the default values initialized, and the ability to set a context for a request

func NewAdminDeleteRoleV4ParamsWithHTTPClient

func NewAdminDeleteRoleV4ParamsWithHTTPClient(client *http.Client) *AdminDeleteRoleV4Params

NewAdminDeleteRoleV4ParamsWithHTTPClient creates a new AdminDeleteRoleV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminDeleteRoleV4ParamsWithTimeout

func NewAdminDeleteRoleV4ParamsWithTimeout(timeout time.Duration) *AdminDeleteRoleV4Params

NewAdminDeleteRoleV4ParamsWithTimeout creates a new AdminDeleteRoleV4Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminDeleteRoleV4Params) SetAuthInfoWriter

func (o *AdminDeleteRoleV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin delete role v4 params

func (*AdminDeleteRoleV4Params) SetContext

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

SetContext adds the context to the admin delete role v4 params

func (*AdminDeleteRoleV4Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin delete role v4 params

func (*AdminDeleteRoleV4Params) SetHTTPClientTransport

func (o *AdminDeleteRoleV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin delete role v4 params

func (*AdminDeleteRoleV4Params) SetRoleID

func (o *AdminDeleteRoleV4Params) SetRoleID(roleID string)

SetRoleID adds the roleId to the admin delete role v4 params

func (*AdminDeleteRoleV4Params) SetTimeout

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

SetTimeout adds the timeout to the admin delete role v4 params

func (*AdminDeleteRoleV4Params) WithContext

WithContext adds the context to the admin delete role v4 params

func (*AdminDeleteRoleV4Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin delete role v4 params

func (*AdminDeleteRoleV4Params) WithRoleID

WithRoleID adds the roleID to the admin delete role v4 params

func (*AdminDeleteRoleV4Params) WithTimeout

WithTimeout adds the timeout to the admin delete role v4 params

func (*AdminDeleteRoleV4Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminDeleteRoleV4Reader

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

AdminDeleteRoleV4Reader is a Reader for the AdminDeleteRoleV4 structure.

func (*AdminDeleteRoleV4Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminDeleteRoleV4Unauthorized

type AdminDeleteRoleV4Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminDeleteRoleV4Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminDeleteRoleV4Unauthorized

func NewAdminDeleteRoleV4Unauthorized() *AdminDeleteRoleV4Unauthorized

NewAdminDeleteRoleV4Unauthorized creates a AdminDeleteRoleV4Unauthorized with default headers values

func (*AdminDeleteRoleV4Unauthorized) Error

func (*AdminDeleteRoleV4Unauthorized) GetPayload

func (*AdminDeleteRoleV4Unauthorized) ToJSONString

func (o *AdminDeleteRoleV4Unauthorized) ToJSONString() string

type AdminGetRoleAdminStatusV3BadRequest

type AdminGetRoleAdminStatusV3BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetRoleAdminStatusV3BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewAdminGetRoleAdminStatusV3BadRequest

func NewAdminGetRoleAdminStatusV3BadRequest() *AdminGetRoleAdminStatusV3BadRequest

NewAdminGetRoleAdminStatusV3BadRequest creates a AdminGetRoleAdminStatusV3BadRequest with default headers values

func (*AdminGetRoleAdminStatusV3BadRequest) Error

func (*AdminGetRoleAdminStatusV3BadRequest) GetPayload

func (*AdminGetRoleAdminStatusV3BadRequest) ToJSONString

func (o *AdminGetRoleAdminStatusV3BadRequest) ToJSONString() string

type AdminGetRoleAdminStatusV3Forbidden

type AdminGetRoleAdminStatusV3Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetRoleAdminStatusV3Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminGetRoleAdminStatusV3Forbidden

func NewAdminGetRoleAdminStatusV3Forbidden() *AdminGetRoleAdminStatusV3Forbidden

NewAdminGetRoleAdminStatusV3Forbidden creates a AdminGetRoleAdminStatusV3Forbidden with default headers values

func (*AdminGetRoleAdminStatusV3Forbidden) Error

func (*AdminGetRoleAdminStatusV3Forbidden) GetPayload

func (*AdminGetRoleAdminStatusV3Forbidden) ToJSONString

func (o *AdminGetRoleAdminStatusV3Forbidden) ToJSONString() string

type AdminGetRoleAdminStatusV3InternalServerError

type AdminGetRoleAdminStatusV3InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetRoleAdminStatusV3InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminGetRoleAdminStatusV3InternalServerError

func NewAdminGetRoleAdminStatusV3InternalServerError() *AdminGetRoleAdminStatusV3InternalServerError

NewAdminGetRoleAdminStatusV3InternalServerError creates a AdminGetRoleAdminStatusV3InternalServerError with default headers values

func (*AdminGetRoleAdminStatusV3InternalServerError) Error

func (*AdminGetRoleAdminStatusV3InternalServerError) GetPayload

func (*AdminGetRoleAdminStatusV3InternalServerError) ToJSONString

type AdminGetRoleAdminStatusV3NotFound

type AdminGetRoleAdminStatusV3NotFound struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetRoleAdminStatusV3NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10456</td><td>role not found</td></tr></table>

func NewAdminGetRoleAdminStatusV3NotFound

func NewAdminGetRoleAdminStatusV3NotFound() *AdminGetRoleAdminStatusV3NotFound

NewAdminGetRoleAdminStatusV3NotFound creates a AdminGetRoleAdminStatusV3NotFound with default headers values

func (*AdminGetRoleAdminStatusV3NotFound) Error

func (*AdminGetRoleAdminStatusV3NotFound) GetPayload

func (*AdminGetRoleAdminStatusV3NotFound) ToJSONString

func (o *AdminGetRoleAdminStatusV3NotFound) ToJSONString() string

type AdminGetRoleAdminStatusV3OK

type AdminGetRoleAdminStatusV3OK struct {
	Payload *iamclientmodels.ModelRoleAdminStatusResponseV3
}

AdminGetRoleAdminStatusV3OK handles this case with default header values.

OK

func NewAdminGetRoleAdminStatusV3OK

func NewAdminGetRoleAdminStatusV3OK() *AdminGetRoleAdminStatusV3OK

NewAdminGetRoleAdminStatusV3OK creates a AdminGetRoleAdminStatusV3OK with default headers values

func (*AdminGetRoleAdminStatusV3OK) Error

func (*AdminGetRoleAdminStatusV3OK) GetPayload

func (*AdminGetRoleAdminStatusV3OK) ToJSONString

func (o *AdminGetRoleAdminStatusV3OK) ToJSONString() string

type AdminGetRoleAdminStatusV3Params

type AdminGetRoleAdminStatusV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*RoleID
	  Role id, should follow UUID version 4 without hyphen

	*/
	RoleID string

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

AdminGetRoleAdminStatusV3Params contains all the parameters to send to the API endpoint for the admin get role admin status v3 operation typically these are written to a http.Request

func NewAdminGetRoleAdminStatusV3Params

func NewAdminGetRoleAdminStatusV3Params() *AdminGetRoleAdminStatusV3Params

NewAdminGetRoleAdminStatusV3Params creates a new AdminGetRoleAdminStatusV3Params object with the default values initialized.

func NewAdminGetRoleAdminStatusV3ParamsWithContext

func NewAdminGetRoleAdminStatusV3ParamsWithContext(ctx context.Context) *AdminGetRoleAdminStatusV3Params

NewAdminGetRoleAdminStatusV3ParamsWithContext creates a new AdminGetRoleAdminStatusV3Params object with the default values initialized, and the ability to set a context for a request

func NewAdminGetRoleAdminStatusV3ParamsWithHTTPClient

func NewAdminGetRoleAdminStatusV3ParamsWithHTTPClient(client *http.Client) *AdminGetRoleAdminStatusV3Params

NewAdminGetRoleAdminStatusV3ParamsWithHTTPClient creates a new AdminGetRoleAdminStatusV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminGetRoleAdminStatusV3ParamsWithTimeout

func NewAdminGetRoleAdminStatusV3ParamsWithTimeout(timeout time.Duration) *AdminGetRoleAdminStatusV3Params

NewAdminGetRoleAdminStatusV3ParamsWithTimeout creates a new AdminGetRoleAdminStatusV3Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminGetRoleAdminStatusV3Params) SetAuthInfoWriter

func (o *AdminGetRoleAdminStatusV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin get role admin status v3 params

func (*AdminGetRoleAdminStatusV3Params) SetContext

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

SetContext adds the context to the admin get role admin status v3 params

func (*AdminGetRoleAdminStatusV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get role admin status v3 params

func (*AdminGetRoleAdminStatusV3Params) SetHTTPClientTransport

func (o *AdminGetRoleAdminStatusV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin get role admin status v3 params

func (*AdminGetRoleAdminStatusV3Params) SetRoleID

func (o *AdminGetRoleAdminStatusV3Params) SetRoleID(roleID string)

SetRoleID adds the roleId to the admin get role admin status v3 params

func (*AdminGetRoleAdminStatusV3Params) SetTimeout

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

SetTimeout adds the timeout to the admin get role admin status v3 params

func (*AdminGetRoleAdminStatusV3Params) WithContext

WithContext adds the context to the admin get role admin status v3 params

func (*AdminGetRoleAdminStatusV3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin get role admin status v3 params

func (*AdminGetRoleAdminStatusV3Params) WithRoleID

WithRoleID adds the roleID to the admin get role admin status v3 params

func (*AdminGetRoleAdminStatusV3Params) WithTimeout

WithTimeout adds the timeout to the admin get role admin status v3 params

func (*AdminGetRoleAdminStatusV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetRoleAdminStatusV3Reader

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

AdminGetRoleAdminStatusV3Reader is a Reader for the AdminGetRoleAdminStatusV3 structure.

func (*AdminGetRoleAdminStatusV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetRoleAdminStatusV3Unauthorized

type AdminGetRoleAdminStatusV3Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetRoleAdminStatusV3Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminGetRoleAdminStatusV3Unauthorized

func NewAdminGetRoleAdminStatusV3Unauthorized() *AdminGetRoleAdminStatusV3Unauthorized

NewAdminGetRoleAdminStatusV3Unauthorized creates a AdminGetRoleAdminStatusV3Unauthorized with default headers values

func (*AdminGetRoleAdminStatusV3Unauthorized) Error

func (*AdminGetRoleAdminStatusV3Unauthorized) GetPayload

func (*AdminGetRoleAdminStatusV3Unauthorized) ToJSONString

type AdminGetRoleManagersV3BadRequest

type AdminGetRoleManagersV3BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetRoleManagersV3BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewAdminGetRoleManagersV3BadRequest

func NewAdminGetRoleManagersV3BadRequest() *AdminGetRoleManagersV3BadRequest

NewAdminGetRoleManagersV3BadRequest creates a AdminGetRoleManagersV3BadRequest with default headers values

func (*AdminGetRoleManagersV3BadRequest) Error

func (*AdminGetRoleManagersV3BadRequest) GetPayload

func (*AdminGetRoleManagersV3BadRequest) ToJSONString

func (o *AdminGetRoleManagersV3BadRequest) ToJSONString() string

type AdminGetRoleManagersV3Forbidden

type AdminGetRoleManagersV3Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetRoleManagersV3Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminGetRoleManagersV3Forbidden

func NewAdminGetRoleManagersV3Forbidden() *AdminGetRoleManagersV3Forbidden

NewAdminGetRoleManagersV3Forbidden creates a AdminGetRoleManagersV3Forbidden with default headers values

func (*AdminGetRoleManagersV3Forbidden) Error

func (*AdminGetRoleManagersV3Forbidden) GetPayload

func (*AdminGetRoleManagersV3Forbidden) ToJSONString

func (o *AdminGetRoleManagersV3Forbidden) ToJSONString() string

type AdminGetRoleManagersV3InternalServerError

type AdminGetRoleManagersV3InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetRoleManagersV3InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminGetRoleManagersV3InternalServerError

func NewAdminGetRoleManagersV3InternalServerError() *AdminGetRoleManagersV3InternalServerError

NewAdminGetRoleManagersV3InternalServerError creates a AdminGetRoleManagersV3InternalServerError with default headers values

func (*AdminGetRoleManagersV3InternalServerError) Error

func (*AdminGetRoleManagersV3InternalServerError) GetPayload

func (*AdminGetRoleManagersV3InternalServerError) ToJSONString

type AdminGetRoleManagersV3NotFound

type AdminGetRoleManagersV3NotFound struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetRoleManagersV3NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10456</td><td>role not found</td></tr></table>

func NewAdminGetRoleManagersV3NotFound

func NewAdminGetRoleManagersV3NotFound() *AdminGetRoleManagersV3NotFound

NewAdminGetRoleManagersV3NotFound creates a AdminGetRoleManagersV3NotFound with default headers values

func (*AdminGetRoleManagersV3NotFound) Error

func (*AdminGetRoleManagersV3NotFound) GetPayload

func (*AdminGetRoleManagersV3NotFound) ToJSONString

func (o *AdminGetRoleManagersV3NotFound) ToJSONString() string

type AdminGetRoleManagersV3OK

type AdminGetRoleManagersV3OK struct {
	Payload *iamclientmodels.ModelRoleManagersResponsesV3
}

AdminGetRoleManagersV3OK handles this case with default header values.

OK

func NewAdminGetRoleManagersV3OK

func NewAdminGetRoleManagersV3OK() *AdminGetRoleManagersV3OK

NewAdminGetRoleManagersV3OK creates a AdminGetRoleManagersV3OK with default headers values

func (*AdminGetRoleManagersV3OK) Error

func (o *AdminGetRoleManagersV3OK) Error() string

func (*AdminGetRoleManagersV3OK) GetPayload

func (*AdminGetRoleManagersV3OK) ToJSONString

func (o *AdminGetRoleManagersV3OK) ToJSONString() string

type AdminGetRoleManagersV3Params

type AdminGetRoleManagersV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*RoleID
	  Role ID, should follow UUID version 4 without hyphen

	*/
	RoleID string
	/*After
	  The cursor that points to query data for the next page

	*/
	After *string
	/*Before
	  The cursor that points to query data for the previous page

	*/
	Before *string
	/*Limit
	  the maximum number of data that may be returned (1...100)

	*/
	Limit *int64

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

AdminGetRoleManagersV3Params contains all the parameters to send to the API endpoint for the admin get role managers v3 operation typically these are written to a http.Request

func NewAdminGetRoleManagersV3Params

func NewAdminGetRoleManagersV3Params() *AdminGetRoleManagersV3Params

NewAdminGetRoleManagersV3Params creates a new AdminGetRoleManagersV3Params object with the default values initialized.

func NewAdminGetRoleManagersV3ParamsWithContext

func NewAdminGetRoleManagersV3ParamsWithContext(ctx context.Context) *AdminGetRoleManagersV3Params

NewAdminGetRoleManagersV3ParamsWithContext creates a new AdminGetRoleManagersV3Params object with the default values initialized, and the ability to set a context for a request

func NewAdminGetRoleManagersV3ParamsWithHTTPClient

func NewAdminGetRoleManagersV3ParamsWithHTTPClient(client *http.Client) *AdminGetRoleManagersV3Params

NewAdminGetRoleManagersV3ParamsWithHTTPClient creates a new AdminGetRoleManagersV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminGetRoleManagersV3ParamsWithTimeout

func NewAdminGetRoleManagersV3ParamsWithTimeout(timeout time.Duration) *AdminGetRoleManagersV3Params

NewAdminGetRoleManagersV3ParamsWithTimeout creates a new AdminGetRoleManagersV3Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminGetRoleManagersV3Params) SetAfter

func (o *AdminGetRoleManagersV3Params) SetAfter(after *string)

SetAfter adds the after to the admin get role managers v3 params

func (*AdminGetRoleManagersV3Params) SetAuthInfoWriter

func (o *AdminGetRoleManagersV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin get role managers v3 params

func (*AdminGetRoleManagersV3Params) SetBefore

func (o *AdminGetRoleManagersV3Params) SetBefore(before *string)

SetBefore adds the before to the admin get role managers v3 params

func (*AdminGetRoleManagersV3Params) SetContext

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

SetContext adds the context to the admin get role managers v3 params

func (*AdminGetRoleManagersV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get role managers v3 params

func (*AdminGetRoleManagersV3Params) SetHTTPClientTransport

func (o *AdminGetRoleManagersV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin get role managers v3 params

func (*AdminGetRoleManagersV3Params) SetLimit

func (o *AdminGetRoleManagersV3Params) SetLimit(limit *int64)

SetLimit adds the limit to the admin get role managers v3 params

func (*AdminGetRoleManagersV3Params) SetRoleID

func (o *AdminGetRoleManagersV3Params) SetRoleID(roleID string)

SetRoleID adds the roleId to the admin get role managers v3 params

func (*AdminGetRoleManagersV3Params) SetTimeout

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

SetTimeout adds the timeout to the admin get role managers v3 params

func (*AdminGetRoleManagersV3Params) WithAfter

WithAfter adds the after to the admin get role managers v3 params

func (*AdminGetRoleManagersV3Params) WithBefore

WithBefore adds the before to the admin get role managers v3 params

func (*AdminGetRoleManagersV3Params) WithContext

WithContext adds the context to the admin get role managers v3 params

func (*AdminGetRoleManagersV3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin get role managers v3 params

func (*AdminGetRoleManagersV3Params) WithLimit

WithLimit adds the limit to the admin get role managers v3 params

func (*AdminGetRoleManagersV3Params) WithRoleID

WithRoleID adds the roleID to the admin get role managers v3 params

func (*AdminGetRoleManagersV3Params) WithTimeout

WithTimeout adds the timeout to the admin get role managers v3 params

func (*AdminGetRoleManagersV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetRoleManagersV3Reader

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

AdminGetRoleManagersV3Reader is a Reader for the AdminGetRoleManagersV3 structure.

func (*AdminGetRoleManagersV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetRoleManagersV3Unauthorized

type AdminGetRoleManagersV3Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetRoleManagersV3Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminGetRoleManagersV3Unauthorized

func NewAdminGetRoleManagersV3Unauthorized() *AdminGetRoleManagersV3Unauthorized

NewAdminGetRoleManagersV3Unauthorized creates a AdminGetRoleManagersV3Unauthorized with default headers values

func (*AdminGetRoleManagersV3Unauthorized) Error

func (*AdminGetRoleManagersV3Unauthorized) GetPayload

func (*AdminGetRoleManagersV3Unauthorized) ToJSONString

func (o *AdminGetRoleManagersV3Unauthorized) ToJSONString() string

type AdminGetRoleMembersV3BadRequest

type AdminGetRoleMembersV3BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetRoleMembersV3BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewAdminGetRoleMembersV3BadRequest

func NewAdminGetRoleMembersV3BadRequest() *AdminGetRoleMembersV3BadRequest

NewAdminGetRoleMembersV3BadRequest creates a AdminGetRoleMembersV3BadRequest with default headers values

func (*AdminGetRoleMembersV3BadRequest) Error

func (*AdminGetRoleMembersV3BadRequest) GetPayload

func (*AdminGetRoleMembersV3BadRequest) ToJSONString

func (o *AdminGetRoleMembersV3BadRequest) ToJSONString() string

type AdminGetRoleMembersV3Forbidden

type AdminGetRoleMembersV3Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetRoleMembersV3Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminGetRoleMembersV3Forbidden

func NewAdminGetRoleMembersV3Forbidden() *AdminGetRoleMembersV3Forbidden

NewAdminGetRoleMembersV3Forbidden creates a AdminGetRoleMembersV3Forbidden with default headers values

func (*AdminGetRoleMembersV3Forbidden) Error

func (*AdminGetRoleMembersV3Forbidden) GetPayload

func (*AdminGetRoleMembersV3Forbidden) ToJSONString

func (o *AdminGetRoleMembersV3Forbidden) ToJSONString() string

type AdminGetRoleMembersV3InternalServerError

type AdminGetRoleMembersV3InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetRoleMembersV3InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminGetRoleMembersV3InternalServerError

func NewAdminGetRoleMembersV3InternalServerError() *AdminGetRoleMembersV3InternalServerError

NewAdminGetRoleMembersV3InternalServerError creates a AdminGetRoleMembersV3InternalServerError with default headers values

func (*AdminGetRoleMembersV3InternalServerError) Error

func (*AdminGetRoleMembersV3InternalServerError) GetPayload

func (*AdminGetRoleMembersV3InternalServerError) ToJSONString

type AdminGetRoleMembersV3NotFound

type AdminGetRoleMembersV3NotFound struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetRoleMembersV3NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10456</td><td>role not found</td></tr></table>

func NewAdminGetRoleMembersV3NotFound

func NewAdminGetRoleMembersV3NotFound() *AdminGetRoleMembersV3NotFound

NewAdminGetRoleMembersV3NotFound creates a AdminGetRoleMembersV3NotFound with default headers values

func (*AdminGetRoleMembersV3NotFound) Error

func (*AdminGetRoleMembersV3NotFound) GetPayload

func (*AdminGetRoleMembersV3NotFound) ToJSONString

func (o *AdminGetRoleMembersV3NotFound) ToJSONString() string

type AdminGetRoleMembersV3OK

type AdminGetRoleMembersV3OK struct {
	Payload *iamclientmodels.ModelRoleMembersResponseV3
}

AdminGetRoleMembersV3OK handles this case with default header values.

OK

func NewAdminGetRoleMembersV3OK

func NewAdminGetRoleMembersV3OK() *AdminGetRoleMembersV3OK

NewAdminGetRoleMembersV3OK creates a AdminGetRoleMembersV3OK with default headers values

func (*AdminGetRoleMembersV3OK) Error

func (o *AdminGetRoleMembersV3OK) Error() string

func (*AdminGetRoleMembersV3OK) GetPayload

func (*AdminGetRoleMembersV3OK) ToJSONString

func (o *AdminGetRoleMembersV3OK) ToJSONString() string

type AdminGetRoleMembersV3Params

type AdminGetRoleMembersV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*RoleID
	  Role ID, should follow UUID version 4 without hyphen

	*/
	RoleID string
	/*After
	  The cursor that points to query data for the next page

	*/
	After *string
	/*Before
	  The cursor that points to query data for the previous page

	*/
	Before *string
	/*Limit
	  the maximum number of data that may be returned (1...100)

	*/
	Limit *int64

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

AdminGetRoleMembersV3Params contains all the parameters to send to the API endpoint for the admin get role members v3 operation typically these are written to a http.Request

func NewAdminGetRoleMembersV3Params

func NewAdminGetRoleMembersV3Params() *AdminGetRoleMembersV3Params

NewAdminGetRoleMembersV3Params creates a new AdminGetRoleMembersV3Params object with the default values initialized.

func NewAdminGetRoleMembersV3ParamsWithContext

func NewAdminGetRoleMembersV3ParamsWithContext(ctx context.Context) *AdminGetRoleMembersV3Params

NewAdminGetRoleMembersV3ParamsWithContext creates a new AdminGetRoleMembersV3Params object with the default values initialized, and the ability to set a context for a request

func NewAdminGetRoleMembersV3ParamsWithHTTPClient

func NewAdminGetRoleMembersV3ParamsWithHTTPClient(client *http.Client) *AdminGetRoleMembersV3Params

NewAdminGetRoleMembersV3ParamsWithHTTPClient creates a new AdminGetRoleMembersV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminGetRoleMembersV3ParamsWithTimeout

func NewAdminGetRoleMembersV3ParamsWithTimeout(timeout time.Duration) *AdminGetRoleMembersV3Params

NewAdminGetRoleMembersV3ParamsWithTimeout creates a new AdminGetRoleMembersV3Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminGetRoleMembersV3Params) SetAfter

func (o *AdminGetRoleMembersV3Params) SetAfter(after *string)

SetAfter adds the after to the admin get role members v3 params

func (*AdminGetRoleMembersV3Params) SetAuthInfoWriter

func (o *AdminGetRoleMembersV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin get role members v3 params

func (*AdminGetRoleMembersV3Params) SetBefore

func (o *AdminGetRoleMembersV3Params) SetBefore(before *string)

SetBefore adds the before to the admin get role members v3 params

func (*AdminGetRoleMembersV3Params) SetContext

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

SetContext adds the context to the admin get role members v3 params

func (*AdminGetRoleMembersV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get role members v3 params

func (*AdminGetRoleMembersV3Params) SetHTTPClientTransport

func (o *AdminGetRoleMembersV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin get role members v3 params

func (*AdminGetRoleMembersV3Params) SetLimit

func (o *AdminGetRoleMembersV3Params) SetLimit(limit *int64)

SetLimit adds the limit to the admin get role members v3 params

func (*AdminGetRoleMembersV3Params) SetRoleID

func (o *AdminGetRoleMembersV3Params) SetRoleID(roleID string)

SetRoleID adds the roleId to the admin get role members v3 params

func (*AdminGetRoleMembersV3Params) SetTimeout

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

SetTimeout adds the timeout to the admin get role members v3 params

func (*AdminGetRoleMembersV3Params) WithAfter

WithAfter adds the after to the admin get role members v3 params

func (*AdminGetRoleMembersV3Params) WithBefore

WithBefore adds the before to the admin get role members v3 params

func (*AdminGetRoleMembersV3Params) WithContext

WithContext adds the context to the admin get role members v3 params

func (*AdminGetRoleMembersV3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin get role members v3 params

func (*AdminGetRoleMembersV3Params) WithLimit

WithLimit adds the limit to the admin get role members v3 params

func (*AdminGetRoleMembersV3Params) WithRoleID

WithRoleID adds the roleID to the admin get role members v3 params

func (*AdminGetRoleMembersV3Params) WithTimeout

WithTimeout adds the timeout to the admin get role members v3 params

func (*AdminGetRoleMembersV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetRoleMembersV3Reader

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

AdminGetRoleMembersV3Reader is a Reader for the AdminGetRoleMembersV3 structure.

func (*AdminGetRoleMembersV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetRoleMembersV3Unauthorized

type AdminGetRoleMembersV3Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetRoleMembersV3Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminGetRoleMembersV3Unauthorized

func NewAdminGetRoleMembersV3Unauthorized() *AdminGetRoleMembersV3Unauthorized

NewAdminGetRoleMembersV3Unauthorized creates a AdminGetRoleMembersV3Unauthorized with default headers values

func (*AdminGetRoleMembersV3Unauthorized) Error

func (*AdminGetRoleMembersV3Unauthorized) GetPayload

func (*AdminGetRoleMembersV3Unauthorized) ToJSONString

func (o *AdminGetRoleMembersV3Unauthorized) ToJSONString() string

type AdminGetRoleV3BadRequest

type AdminGetRoleV3BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetRoleV3BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewAdminGetRoleV3BadRequest

func NewAdminGetRoleV3BadRequest() *AdminGetRoleV3BadRequest

NewAdminGetRoleV3BadRequest creates a AdminGetRoleV3BadRequest with default headers values

func (*AdminGetRoleV3BadRequest) Error

func (o *AdminGetRoleV3BadRequest) Error() string

func (*AdminGetRoleV3BadRequest) GetPayload

func (*AdminGetRoleV3BadRequest) ToJSONString

func (o *AdminGetRoleV3BadRequest) ToJSONString() string

type AdminGetRoleV3Forbidden

type AdminGetRoleV3Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetRoleV3Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminGetRoleV3Forbidden

func NewAdminGetRoleV3Forbidden() *AdminGetRoleV3Forbidden

NewAdminGetRoleV3Forbidden creates a AdminGetRoleV3Forbidden with default headers values

func (*AdminGetRoleV3Forbidden) Error

func (o *AdminGetRoleV3Forbidden) Error() string

func (*AdminGetRoleV3Forbidden) GetPayload

func (*AdminGetRoleV3Forbidden) ToJSONString

func (o *AdminGetRoleV3Forbidden) ToJSONString() string

type AdminGetRoleV3InternalServerError

type AdminGetRoleV3InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetRoleV3InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminGetRoleV3InternalServerError

func NewAdminGetRoleV3InternalServerError() *AdminGetRoleV3InternalServerError

NewAdminGetRoleV3InternalServerError creates a AdminGetRoleV3InternalServerError with default headers values

func (*AdminGetRoleV3InternalServerError) Error

func (*AdminGetRoleV3InternalServerError) GetPayload

func (*AdminGetRoleV3InternalServerError) ToJSONString

func (o *AdminGetRoleV3InternalServerError) ToJSONString() string

type AdminGetRoleV3NotFound

type AdminGetRoleV3NotFound struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetRoleV3NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10456</td><td>role not found</td></tr></table>

func NewAdminGetRoleV3NotFound

func NewAdminGetRoleV3NotFound() *AdminGetRoleV3NotFound

NewAdminGetRoleV3NotFound creates a AdminGetRoleV3NotFound with default headers values

func (*AdminGetRoleV3NotFound) Error

func (o *AdminGetRoleV3NotFound) Error() string

func (*AdminGetRoleV3NotFound) GetPayload

func (*AdminGetRoleV3NotFound) ToJSONString

func (o *AdminGetRoleV3NotFound) ToJSONString() string

type AdminGetRoleV3OK

type AdminGetRoleV3OK struct {
	Payload *iamclientmodels.ModelRoleResponseV3
}

AdminGetRoleV3OK handles this case with default header values.

OK

func NewAdminGetRoleV3OK

func NewAdminGetRoleV3OK() *AdminGetRoleV3OK

NewAdminGetRoleV3OK creates a AdminGetRoleV3OK with default headers values

func (*AdminGetRoleV3OK) Error

func (o *AdminGetRoleV3OK) Error() string

func (*AdminGetRoleV3OK) GetPayload

func (*AdminGetRoleV3OK) ToJSONString

func (o *AdminGetRoleV3OK) ToJSONString() string

type AdminGetRoleV3Params

type AdminGetRoleV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*RoleID
	  Role ID, should follow UUID version 4 without hyphen

	*/
	RoleID string

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

AdminGetRoleV3Params contains all the parameters to send to the API endpoint for the admin get role v3 operation typically these are written to a http.Request

func NewAdminGetRoleV3Params

func NewAdminGetRoleV3Params() *AdminGetRoleV3Params

NewAdminGetRoleV3Params creates a new AdminGetRoleV3Params object with the default values initialized.

func NewAdminGetRoleV3ParamsWithContext

func NewAdminGetRoleV3ParamsWithContext(ctx context.Context) *AdminGetRoleV3Params

NewAdminGetRoleV3ParamsWithContext creates a new AdminGetRoleV3Params object with the default values initialized, and the ability to set a context for a request

func NewAdminGetRoleV3ParamsWithHTTPClient

func NewAdminGetRoleV3ParamsWithHTTPClient(client *http.Client) *AdminGetRoleV3Params

NewAdminGetRoleV3ParamsWithHTTPClient creates a new AdminGetRoleV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminGetRoleV3ParamsWithTimeout

func NewAdminGetRoleV3ParamsWithTimeout(timeout time.Duration) *AdminGetRoleV3Params

NewAdminGetRoleV3ParamsWithTimeout creates a new AdminGetRoleV3Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminGetRoleV3Params) SetAuthInfoWriter

func (o *AdminGetRoleV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin get role v3 params

func (*AdminGetRoleV3Params) SetContext

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

SetContext adds the context to the admin get role v3 params

func (*AdminGetRoleV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get role v3 params

func (*AdminGetRoleV3Params) SetHTTPClientTransport

func (o *AdminGetRoleV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin get role v3 params

func (*AdminGetRoleV3Params) SetRoleID

func (o *AdminGetRoleV3Params) SetRoleID(roleID string)

SetRoleID adds the roleId to the admin get role v3 params

func (*AdminGetRoleV3Params) SetTimeout

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

SetTimeout adds the timeout to the admin get role v3 params

func (*AdminGetRoleV3Params) WithContext

WithContext adds the context to the admin get role v3 params

func (*AdminGetRoleV3Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin get role v3 params

func (*AdminGetRoleV3Params) WithRoleID

func (o *AdminGetRoleV3Params) WithRoleID(roleID string) *AdminGetRoleV3Params

WithRoleID adds the roleID to the admin get role v3 params

func (*AdminGetRoleV3Params) WithTimeout

func (o *AdminGetRoleV3Params) WithTimeout(timeout time.Duration) *AdminGetRoleV3Params

WithTimeout adds the timeout to the admin get role v3 params

func (*AdminGetRoleV3Params) WriteToRequest

func (o *AdminGetRoleV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AdminGetRoleV3Reader

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

AdminGetRoleV3Reader is a Reader for the AdminGetRoleV3 structure.

func (*AdminGetRoleV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetRoleV3Unauthorized

type AdminGetRoleV3Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetRoleV3Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminGetRoleV3Unauthorized

func NewAdminGetRoleV3Unauthorized() *AdminGetRoleV3Unauthorized

NewAdminGetRoleV3Unauthorized creates a AdminGetRoleV3Unauthorized with default headers values

func (*AdminGetRoleV3Unauthorized) Error

func (*AdminGetRoleV3Unauthorized) GetPayload

func (*AdminGetRoleV3Unauthorized) ToJSONString

func (o *AdminGetRoleV3Unauthorized) ToJSONString() string

type AdminGetRoleV4BadRequest

type AdminGetRoleV4BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetRoleV4BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewAdminGetRoleV4BadRequest

func NewAdminGetRoleV4BadRequest() *AdminGetRoleV4BadRequest

NewAdminGetRoleV4BadRequest creates a AdminGetRoleV4BadRequest with default headers values

func (*AdminGetRoleV4BadRequest) Error

func (o *AdminGetRoleV4BadRequest) Error() string

func (*AdminGetRoleV4BadRequest) GetPayload

func (*AdminGetRoleV4BadRequest) ToJSONString

func (o *AdminGetRoleV4BadRequest) ToJSONString() string

type AdminGetRoleV4Forbidden

type AdminGetRoleV4Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetRoleV4Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminGetRoleV4Forbidden

func NewAdminGetRoleV4Forbidden() *AdminGetRoleV4Forbidden

NewAdminGetRoleV4Forbidden creates a AdminGetRoleV4Forbidden with default headers values

func (*AdminGetRoleV4Forbidden) Error

func (o *AdminGetRoleV4Forbidden) Error() string

func (*AdminGetRoleV4Forbidden) GetPayload

func (*AdminGetRoleV4Forbidden) ToJSONString

func (o *AdminGetRoleV4Forbidden) ToJSONString() string

type AdminGetRoleV4InternalServerError

type AdminGetRoleV4InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetRoleV4InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminGetRoleV4InternalServerError

func NewAdminGetRoleV4InternalServerError() *AdminGetRoleV4InternalServerError

NewAdminGetRoleV4InternalServerError creates a AdminGetRoleV4InternalServerError with default headers values

func (*AdminGetRoleV4InternalServerError) Error

func (*AdminGetRoleV4InternalServerError) GetPayload

func (*AdminGetRoleV4InternalServerError) ToJSONString

func (o *AdminGetRoleV4InternalServerError) ToJSONString() string

type AdminGetRoleV4NotFound

type AdminGetRoleV4NotFound struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetRoleV4NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10456</td><td>role not found</td></tr></table>

func NewAdminGetRoleV4NotFound

func NewAdminGetRoleV4NotFound() *AdminGetRoleV4NotFound

NewAdminGetRoleV4NotFound creates a AdminGetRoleV4NotFound with default headers values

func (*AdminGetRoleV4NotFound) Error

func (o *AdminGetRoleV4NotFound) Error() string

func (*AdminGetRoleV4NotFound) GetPayload

func (*AdminGetRoleV4NotFound) ToJSONString

func (o *AdminGetRoleV4NotFound) ToJSONString() string

type AdminGetRoleV4OK

type AdminGetRoleV4OK struct {
	Payload *iamclientmodels.ModelRoleV4Response
}

AdminGetRoleV4OK handles this case with default header values.

OK

func NewAdminGetRoleV4OK

func NewAdminGetRoleV4OK() *AdminGetRoleV4OK

NewAdminGetRoleV4OK creates a AdminGetRoleV4OK with default headers values

func (*AdminGetRoleV4OK) Error

func (o *AdminGetRoleV4OK) Error() string

func (*AdminGetRoleV4OK) GetPayload

func (*AdminGetRoleV4OK) ToJSONString

func (o *AdminGetRoleV4OK) ToJSONString() string

type AdminGetRoleV4Params

type AdminGetRoleV4Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*RoleID
	  Role ID, should follow UUID version 4 without hyphen

	*/
	RoleID string

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

AdminGetRoleV4Params contains all the parameters to send to the API endpoint for the admin get role v4 operation typically these are written to a http.Request

func NewAdminGetRoleV4Params

func NewAdminGetRoleV4Params() *AdminGetRoleV4Params

NewAdminGetRoleV4Params creates a new AdminGetRoleV4Params object with the default values initialized.

func NewAdminGetRoleV4ParamsWithContext

func NewAdminGetRoleV4ParamsWithContext(ctx context.Context) *AdminGetRoleV4Params

NewAdminGetRoleV4ParamsWithContext creates a new AdminGetRoleV4Params object with the default values initialized, and the ability to set a context for a request

func NewAdminGetRoleV4ParamsWithHTTPClient

func NewAdminGetRoleV4ParamsWithHTTPClient(client *http.Client) *AdminGetRoleV4Params

NewAdminGetRoleV4ParamsWithHTTPClient creates a new AdminGetRoleV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminGetRoleV4ParamsWithTimeout

func NewAdminGetRoleV4ParamsWithTimeout(timeout time.Duration) *AdminGetRoleV4Params

NewAdminGetRoleV4ParamsWithTimeout creates a new AdminGetRoleV4Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminGetRoleV4Params) SetAuthInfoWriter

func (o *AdminGetRoleV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin get role v4 params

func (*AdminGetRoleV4Params) SetContext

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

SetContext adds the context to the admin get role v4 params

func (*AdminGetRoleV4Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get role v4 params

func (*AdminGetRoleV4Params) SetHTTPClientTransport

func (o *AdminGetRoleV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin get role v4 params

func (*AdminGetRoleV4Params) SetRoleID

func (o *AdminGetRoleV4Params) SetRoleID(roleID string)

SetRoleID adds the roleId to the admin get role v4 params

func (*AdminGetRoleV4Params) SetTimeout

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

SetTimeout adds the timeout to the admin get role v4 params

func (*AdminGetRoleV4Params) WithContext

WithContext adds the context to the admin get role v4 params

func (*AdminGetRoleV4Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin get role v4 params

func (*AdminGetRoleV4Params) WithRoleID

func (o *AdminGetRoleV4Params) WithRoleID(roleID string) *AdminGetRoleV4Params

WithRoleID adds the roleID to the admin get role v4 params

func (*AdminGetRoleV4Params) WithTimeout

func (o *AdminGetRoleV4Params) WithTimeout(timeout time.Duration) *AdminGetRoleV4Params

WithTimeout adds the timeout to the admin get role v4 params

func (*AdminGetRoleV4Params) WriteToRequest

func (o *AdminGetRoleV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AdminGetRoleV4Reader

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

AdminGetRoleV4Reader is a Reader for the AdminGetRoleV4 structure.

func (*AdminGetRoleV4Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetRoleV4Unauthorized

type AdminGetRoleV4Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetRoleV4Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminGetRoleV4Unauthorized

func NewAdminGetRoleV4Unauthorized() *AdminGetRoleV4Unauthorized

NewAdminGetRoleV4Unauthorized creates a AdminGetRoleV4Unauthorized with default headers values

func (*AdminGetRoleV4Unauthorized) Error

func (*AdminGetRoleV4Unauthorized) GetPayload

func (*AdminGetRoleV4Unauthorized) ToJSONString

func (o *AdminGetRoleV4Unauthorized) ToJSONString() string

type AdminGetRolesV3BadRequest

type AdminGetRolesV3BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetRolesV3BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewAdminGetRolesV3BadRequest

func NewAdminGetRolesV3BadRequest() *AdminGetRolesV3BadRequest

NewAdminGetRolesV3BadRequest creates a AdminGetRolesV3BadRequest with default headers values

func (*AdminGetRolesV3BadRequest) Error

func (o *AdminGetRolesV3BadRequest) Error() string

func (*AdminGetRolesV3BadRequest) GetPayload

func (*AdminGetRolesV3BadRequest) ToJSONString

func (o *AdminGetRolesV3BadRequest) ToJSONString() string

type AdminGetRolesV3Forbidden

type AdminGetRolesV3Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetRolesV3Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminGetRolesV3Forbidden

func NewAdminGetRolesV3Forbidden() *AdminGetRolesV3Forbidden

NewAdminGetRolesV3Forbidden creates a AdminGetRolesV3Forbidden with default headers values

func (*AdminGetRolesV3Forbidden) Error

func (o *AdminGetRolesV3Forbidden) Error() string

func (*AdminGetRolesV3Forbidden) GetPayload

func (*AdminGetRolesV3Forbidden) ToJSONString

func (o *AdminGetRolesV3Forbidden) ToJSONString() string

type AdminGetRolesV3InternalServerError

type AdminGetRolesV3InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetRolesV3InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminGetRolesV3InternalServerError

func NewAdminGetRolesV3InternalServerError() *AdminGetRolesV3InternalServerError

NewAdminGetRolesV3InternalServerError creates a AdminGetRolesV3InternalServerError with default headers values

func (*AdminGetRolesV3InternalServerError) Error

func (*AdminGetRolesV3InternalServerError) GetPayload

func (*AdminGetRolesV3InternalServerError) ToJSONString

func (o *AdminGetRolesV3InternalServerError) ToJSONString() string

type AdminGetRolesV3OK

type AdminGetRolesV3OK struct {
	Payload *iamclientmodels.ModelRoleResponseWithManagersAndPaginationV3
}

AdminGetRolesV3OK handles this case with default header values.

OK

func NewAdminGetRolesV3OK

func NewAdminGetRolesV3OK() *AdminGetRolesV3OK

NewAdminGetRolesV3OK creates a AdminGetRolesV3OK with default headers values

func (*AdminGetRolesV3OK) Error

func (o *AdminGetRolesV3OK) Error() string

func (*AdminGetRolesV3OK) ToJSONString

func (o *AdminGetRolesV3OK) ToJSONString() string

type AdminGetRolesV3Params

type AdminGetRolesV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*After
	  The cursor that points to query data for the next page

	*/
	After *string
	/*Before
	  The cursor that points to query data for the previous page

	*/
	Before *string
	/*IsWildcard
	  - true if the expected result should only returns records with wildcard = true
	          - false if the expected result should only returns records with wildcard = false
	          - empty (omitted) if the expected result should returns records with no wildcard filter at all

	*/
	IsWildcard *bool
	/*Limit
	  the maximum number of data that may be returned (1...100)

	*/
	Limit *int64

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

AdminGetRolesV3Params contains all the parameters to send to the API endpoint for the admin get roles v3 operation typically these are written to a http.Request

func NewAdminGetRolesV3Params

func NewAdminGetRolesV3Params() *AdminGetRolesV3Params

NewAdminGetRolesV3Params creates a new AdminGetRolesV3Params object with the default values initialized.

func NewAdminGetRolesV3ParamsWithContext

func NewAdminGetRolesV3ParamsWithContext(ctx context.Context) *AdminGetRolesV3Params

NewAdminGetRolesV3ParamsWithContext creates a new AdminGetRolesV3Params object with the default values initialized, and the ability to set a context for a request

func NewAdminGetRolesV3ParamsWithHTTPClient

func NewAdminGetRolesV3ParamsWithHTTPClient(client *http.Client) *AdminGetRolesV3Params

NewAdminGetRolesV3ParamsWithHTTPClient creates a new AdminGetRolesV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminGetRolesV3ParamsWithTimeout

func NewAdminGetRolesV3ParamsWithTimeout(timeout time.Duration) *AdminGetRolesV3Params

NewAdminGetRolesV3ParamsWithTimeout creates a new AdminGetRolesV3Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminGetRolesV3Params) SetAfter

func (o *AdminGetRolesV3Params) SetAfter(after *string)

SetAfter adds the after to the admin get roles v3 params

func (*AdminGetRolesV3Params) SetAuthInfoWriter

func (o *AdminGetRolesV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin get roles v3 params

func (*AdminGetRolesV3Params) SetBefore

func (o *AdminGetRolesV3Params) SetBefore(before *string)

SetBefore adds the before to the admin get roles v3 params

func (*AdminGetRolesV3Params) SetContext

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

SetContext adds the context to the admin get roles v3 params

func (*AdminGetRolesV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get roles v3 params

func (*AdminGetRolesV3Params) SetHTTPClientTransport

func (o *AdminGetRolesV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin get roles v3 params

func (*AdminGetRolesV3Params) SetIsWildcard

func (o *AdminGetRolesV3Params) SetIsWildcard(isWildcard *bool)

SetIsWildcard adds the isWildcard to the admin get roles v3 params

func (*AdminGetRolesV3Params) SetLimit

func (o *AdminGetRolesV3Params) SetLimit(limit *int64)

SetLimit adds the limit to the admin get roles v3 params

func (*AdminGetRolesV3Params) SetTimeout

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

SetTimeout adds the timeout to the admin get roles v3 params

func (*AdminGetRolesV3Params) WithAfter

func (o *AdminGetRolesV3Params) WithAfter(after *string) *AdminGetRolesV3Params

WithAfter adds the after to the admin get roles v3 params

func (*AdminGetRolesV3Params) WithBefore

func (o *AdminGetRolesV3Params) WithBefore(before *string) *AdminGetRolesV3Params

WithBefore adds the before to the admin get roles v3 params

func (*AdminGetRolesV3Params) WithContext

WithContext adds the context to the admin get roles v3 params

func (*AdminGetRolesV3Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin get roles v3 params

func (*AdminGetRolesV3Params) WithIsWildcard

func (o *AdminGetRolesV3Params) WithIsWildcard(isWildcard *bool) *AdminGetRolesV3Params

WithIsWildcard adds the isWildcard to the admin get roles v3 params

func (*AdminGetRolesV3Params) WithLimit

func (o *AdminGetRolesV3Params) WithLimit(limit *int64) *AdminGetRolesV3Params

WithLimit adds the limit to the admin get roles v3 params

func (*AdminGetRolesV3Params) WithTimeout

func (o *AdminGetRolesV3Params) WithTimeout(timeout time.Duration) *AdminGetRolesV3Params

WithTimeout adds the timeout to the admin get roles v3 params

func (*AdminGetRolesV3Params) WriteToRequest

func (o *AdminGetRolesV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AdminGetRolesV3Reader

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

AdminGetRolesV3Reader is a Reader for the AdminGetRolesV3 structure.

func (*AdminGetRolesV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetRolesV3Unauthorized

type AdminGetRolesV3Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetRolesV3Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminGetRolesV3Unauthorized

func NewAdminGetRolesV3Unauthorized() *AdminGetRolesV3Unauthorized

NewAdminGetRolesV3Unauthorized creates a AdminGetRolesV3Unauthorized with default headers values

func (*AdminGetRolesV3Unauthorized) Error

func (*AdminGetRolesV3Unauthorized) GetPayload

func (*AdminGetRolesV3Unauthorized) ToJSONString

func (o *AdminGetRolesV3Unauthorized) ToJSONString() string

type AdminGetRolesV4BadRequest

type AdminGetRolesV4BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetRolesV4BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewAdminGetRolesV4BadRequest

func NewAdminGetRolesV4BadRequest() *AdminGetRolesV4BadRequest

NewAdminGetRolesV4BadRequest creates a AdminGetRolesV4BadRequest with default headers values

func (*AdminGetRolesV4BadRequest) Error

func (o *AdminGetRolesV4BadRequest) Error() string

func (*AdminGetRolesV4BadRequest) GetPayload

func (*AdminGetRolesV4BadRequest) ToJSONString

func (o *AdminGetRolesV4BadRequest) ToJSONString() string

type AdminGetRolesV4Forbidden

type AdminGetRolesV4Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetRolesV4Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminGetRolesV4Forbidden

func NewAdminGetRolesV4Forbidden() *AdminGetRolesV4Forbidden

NewAdminGetRolesV4Forbidden creates a AdminGetRolesV4Forbidden with default headers values

func (*AdminGetRolesV4Forbidden) Error

func (o *AdminGetRolesV4Forbidden) Error() string

func (*AdminGetRolesV4Forbidden) GetPayload

func (*AdminGetRolesV4Forbidden) ToJSONString

func (o *AdminGetRolesV4Forbidden) ToJSONString() string

type AdminGetRolesV4InternalServerError

type AdminGetRolesV4InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetRolesV4InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminGetRolesV4InternalServerError

func NewAdminGetRolesV4InternalServerError() *AdminGetRolesV4InternalServerError

NewAdminGetRolesV4InternalServerError creates a AdminGetRolesV4InternalServerError with default headers values

func (*AdminGetRolesV4InternalServerError) Error

func (*AdminGetRolesV4InternalServerError) GetPayload

func (*AdminGetRolesV4InternalServerError) ToJSONString

func (o *AdminGetRolesV4InternalServerError) ToJSONString() string

type AdminGetRolesV4OK

type AdminGetRolesV4OK struct {
	Payload *iamclientmodels.ModelListRoleV4Response
}

AdminGetRolesV4OK handles this case with default header values.

OK

func NewAdminGetRolesV4OK

func NewAdminGetRolesV4OK() *AdminGetRolesV4OK

NewAdminGetRolesV4OK creates a AdminGetRolesV4OK with default headers values

func (*AdminGetRolesV4OK) Error

func (o *AdminGetRolesV4OK) Error() string

func (*AdminGetRolesV4OK) GetPayload

func (*AdminGetRolesV4OK) ToJSONString

func (o *AdminGetRolesV4OK) ToJSONString() string

type AdminGetRolesV4Params

type AdminGetRolesV4Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*AdminRole
	  - true if the expected result should only returns records with adminRole = true
	          - false if the expected result should only returns records with adminRole = false
	          - empty (omitted) if the expected result should returns records with no wildcard filter at all

	*/
	AdminRole *bool
	/*IsWildcard
	  - true if the expected result should only returns records with wildcard = true
	          - false if the expected result should only returns records with wildcard = false
	          - empty (omitted) if the expected result should returns records with no wildcard filter at all

	*/
	IsWildcard *bool
	/*Limit
	  the maximum number of data that may be returned (1...100)

	*/
	Limit *int64
	/*Offset
	  the count to skip

	*/
	Offset *int64

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

AdminGetRolesV4Params contains all the parameters to send to the API endpoint for the admin get roles v4 operation typically these are written to a http.Request

func NewAdminGetRolesV4Params

func NewAdminGetRolesV4Params() *AdminGetRolesV4Params

NewAdminGetRolesV4Params creates a new AdminGetRolesV4Params object with the default values initialized.

func NewAdminGetRolesV4ParamsWithContext

func NewAdminGetRolesV4ParamsWithContext(ctx context.Context) *AdminGetRolesV4Params

NewAdminGetRolesV4ParamsWithContext creates a new AdminGetRolesV4Params object with the default values initialized, and the ability to set a context for a request

func NewAdminGetRolesV4ParamsWithHTTPClient

func NewAdminGetRolesV4ParamsWithHTTPClient(client *http.Client) *AdminGetRolesV4Params

NewAdminGetRolesV4ParamsWithHTTPClient creates a new AdminGetRolesV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminGetRolesV4ParamsWithTimeout

func NewAdminGetRolesV4ParamsWithTimeout(timeout time.Duration) *AdminGetRolesV4Params

NewAdminGetRolesV4ParamsWithTimeout creates a new AdminGetRolesV4Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminGetRolesV4Params) SetAdminRole

func (o *AdminGetRolesV4Params) SetAdminRole(adminRole *bool)

SetAdminRole adds the adminRole to the admin get roles v4 params

func (*AdminGetRolesV4Params) SetAuthInfoWriter

func (o *AdminGetRolesV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin get roles v4 params

func (*AdminGetRolesV4Params) SetContext

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

SetContext adds the context to the admin get roles v4 params

func (*AdminGetRolesV4Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get roles v4 params

func (*AdminGetRolesV4Params) SetHTTPClientTransport

func (o *AdminGetRolesV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin get roles v4 params

func (*AdminGetRolesV4Params) SetIsWildcard

func (o *AdminGetRolesV4Params) SetIsWildcard(isWildcard *bool)

SetIsWildcard adds the isWildcard to the admin get roles v4 params

func (*AdminGetRolesV4Params) SetLimit

func (o *AdminGetRolesV4Params) SetLimit(limit *int64)

SetLimit adds the limit to the admin get roles v4 params

func (*AdminGetRolesV4Params) SetOffset

func (o *AdminGetRolesV4Params) SetOffset(offset *int64)

SetOffset adds the offset to the admin get roles v4 params

func (*AdminGetRolesV4Params) SetTimeout

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

SetTimeout adds the timeout to the admin get roles v4 params

func (*AdminGetRolesV4Params) WithAdminRole

func (o *AdminGetRolesV4Params) WithAdminRole(adminRole *bool) *AdminGetRolesV4Params

WithAdminRole adds the adminRole to the admin get roles v4 params

func (*AdminGetRolesV4Params) WithContext

WithContext adds the context to the admin get roles v4 params

func (*AdminGetRolesV4Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin get roles v4 params

func (*AdminGetRolesV4Params) WithIsWildcard

func (o *AdminGetRolesV4Params) WithIsWildcard(isWildcard *bool) *AdminGetRolesV4Params

WithIsWildcard adds the isWildcard to the admin get roles v4 params

func (*AdminGetRolesV4Params) WithLimit

func (o *AdminGetRolesV4Params) WithLimit(limit *int64) *AdminGetRolesV4Params

WithLimit adds the limit to the admin get roles v4 params

func (*AdminGetRolesV4Params) WithOffset

func (o *AdminGetRolesV4Params) WithOffset(offset *int64) *AdminGetRolesV4Params

WithOffset adds the offset to the admin get roles v4 params

func (*AdminGetRolesV4Params) WithTimeout

func (o *AdminGetRolesV4Params) WithTimeout(timeout time.Duration) *AdminGetRolesV4Params

WithTimeout adds the timeout to the admin get roles v4 params

func (*AdminGetRolesV4Params) WriteToRequest

func (o *AdminGetRolesV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AdminGetRolesV4Reader

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

AdminGetRolesV4Reader is a Reader for the AdminGetRolesV4 structure.

func (*AdminGetRolesV4Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetRolesV4Unauthorized

type AdminGetRolesV4Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetRolesV4Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminGetRolesV4Unauthorized

func NewAdminGetRolesV4Unauthorized() *AdminGetRolesV4Unauthorized

NewAdminGetRolesV4Unauthorized creates a AdminGetRolesV4Unauthorized with default headers values

func (*AdminGetRolesV4Unauthorized) Error

func (*AdminGetRolesV4Unauthorized) GetPayload

func (*AdminGetRolesV4Unauthorized) ToJSONString

func (o *AdminGetRolesV4Unauthorized) ToJSONString() string

type AdminListAssignedUsersV4BadRequest

type AdminListAssignedUsersV4BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminListAssignedUsersV4BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewAdminListAssignedUsersV4BadRequest

func NewAdminListAssignedUsersV4BadRequest() *AdminListAssignedUsersV4BadRequest

NewAdminListAssignedUsersV4BadRequest creates a AdminListAssignedUsersV4BadRequest with default headers values

func (*AdminListAssignedUsersV4BadRequest) Error

func (*AdminListAssignedUsersV4BadRequest) GetPayload

func (*AdminListAssignedUsersV4BadRequest) ToJSONString

func (o *AdminListAssignedUsersV4BadRequest) ToJSONString() string

type AdminListAssignedUsersV4Forbidden

type AdminListAssignedUsersV4Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminListAssignedUsersV4Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminListAssignedUsersV4Forbidden

func NewAdminListAssignedUsersV4Forbidden() *AdminListAssignedUsersV4Forbidden

NewAdminListAssignedUsersV4Forbidden creates a AdminListAssignedUsersV4Forbidden with default headers values

func (*AdminListAssignedUsersV4Forbidden) Error

func (*AdminListAssignedUsersV4Forbidden) GetPayload

func (*AdminListAssignedUsersV4Forbidden) ToJSONString

func (o *AdminListAssignedUsersV4Forbidden) ToJSONString() string

type AdminListAssignedUsersV4NotFound

type AdminListAssignedUsersV4NotFound struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminListAssignedUsersV4NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10456</td><td>role not found</td></tr></table>

func NewAdminListAssignedUsersV4NotFound

func NewAdminListAssignedUsersV4NotFound() *AdminListAssignedUsersV4NotFound

NewAdminListAssignedUsersV4NotFound creates a AdminListAssignedUsersV4NotFound with default headers values

func (*AdminListAssignedUsersV4NotFound) Error

func (*AdminListAssignedUsersV4NotFound) GetPayload

func (*AdminListAssignedUsersV4NotFound) ToJSONString

func (o *AdminListAssignedUsersV4NotFound) ToJSONString() string

type AdminListAssignedUsersV4OK

type AdminListAssignedUsersV4OK struct {
	Payload *iamclientmodels.ModelListAssignedUsersV4Response
}

AdminListAssignedUsersV4OK handles this case with default header values.

OK

func NewAdminListAssignedUsersV4OK

func NewAdminListAssignedUsersV4OK() *AdminListAssignedUsersV4OK

NewAdminListAssignedUsersV4OK creates a AdminListAssignedUsersV4OK with default headers values

func (*AdminListAssignedUsersV4OK) Error

func (*AdminListAssignedUsersV4OK) GetPayload

func (*AdminListAssignedUsersV4OK) ToJSONString

func (o *AdminListAssignedUsersV4OK) ToJSONString() string

type AdminListAssignedUsersV4Params

type AdminListAssignedUsersV4Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*RoleID
	  Role ID, should follow UUID version 4 without hyphen

	*/
	RoleID string
	/*After
	  The cursor that points to query data for the next page

	*/
	After *string
	/*Before
	  The cursor that points to query data for the previous page

	*/
	Before *string
	/*Limit
	  the maximum number of data that may be returned (1...100)

	*/
	Limit *int64

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

AdminListAssignedUsersV4Params contains all the parameters to send to the API endpoint for the admin list assigned users v4 operation typically these are written to a http.Request

func NewAdminListAssignedUsersV4Params

func NewAdminListAssignedUsersV4Params() *AdminListAssignedUsersV4Params

NewAdminListAssignedUsersV4Params creates a new AdminListAssignedUsersV4Params object with the default values initialized.

func NewAdminListAssignedUsersV4ParamsWithContext

func NewAdminListAssignedUsersV4ParamsWithContext(ctx context.Context) *AdminListAssignedUsersV4Params

NewAdminListAssignedUsersV4ParamsWithContext creates a new AdminListAssignedUsersV4Params object with the default values initialized, and the ability to set a context for a request

func NewAdminListAssignedUsersV4ParamsWithHTTPClient

func NewAdminListAssignedUsersV4ParamsWithHTTPClient(client *http.Client) *AdminListAssignedUsersV4Params

NewAdminListAssignedUsersV4ParamsWithHTTPClient creates a new AdminListAssignedUsersV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminListAssignedUsersV4ParamsWithTimeout

func NewAdminListAssignedUsersV4ParamsWithTimeout(timeout time.Duration) *AdminListAssignedUsersV4Params

NewAdminListAssignedUsersV4ParamsWithTimeout creates a new AdminListAssignedUsersV4Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminListAssignedUsersV4Params) SetAfter

func (o *AdminListAssignedUsersV4Params) SetAfter(after *string)

SetAfter adds the after to the admin list assigned users v4 params

func (*AdminListAssignedUsersV4Params) SetAuthInfoWriter

func (o *AdminListAssignedUsersV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin list assigned users v4 params

func (*AdminListAssignedUsersV4Params) SetBefore

func (o *AdminListAssignedUsersV4Params) SetBefore(before *string)

SetBefore adds the before to the admin list assigned users v4 params

func (*AdminListAssignedUsersV4Params) SetContext

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

SetContext adds the context to the admin list assigned users v4 params

func (*AdminListAssignedUsersV4Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin list assigned users v4 params

func (*AdminListAssignedUsersV4Params) SetHTTPClientTransport

func (o *AdminListAssignedUsersV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin list assigned users v4 params

func (*AdminListAssignedUsersV4Params) SetLimit

func (o *AdminListAssignedUsersV4Params) SetLimit(limit *int64)

SetLimit adds the limit to the admin list assigned users v4 params

func (*AdminListAssignedUsersV4Params) SetRoleID

func (o *AdminListAssignedUsersV4Params) SetRoleID(roleID string)

SetRoleID adds the roleId to the admin list assigned users v4 params

func (*AdminListAssignedUsersV4Params) SetTimeout

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

SetTimeout adds the timeout to the admin list assigned users v4 params

func (*AdminListAssignedUsersV4Params) WithAfter

WithAfter adds the after to the admin list assigned users v4 params

func (*AdminListAssignedUsersV4Params) WithBefore

WithBefore adds the before to the admin list assigned users v4 params

func (*AdminListAssignedUsersV4Params) WithContext

WithContext adds the context to the admin list assigned users v4 params

func (*AdminListAssignedUsersV4Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin list assigned users v4 params

func (*AdminListAssignedUsersV4Params) WithLimit

WithLimit adds the limit to the admin list assigned users v4 params

func (*AdminListAssignedUsersV4Params) WithRoleID

WithRoleID adds the roleID to the admin list assigned users v4 params

func (*AdminListAssignedUsersV4Params) WithTimeout

WithTimeout adds the timeout to the admin list assigned users v4 params

func (*AdminListAssignedUsersV4Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminListAssignedUsersV4Reader

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

AdminListAssignedUsersV4Reader is a Reader for the AdminListAssignedUsersV4 structure.

func (*AdminListAssignedUsersV4Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminListAssignedUsersV4Unauthorized

type AdminListAssignedUsersV4Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminListAssignedUsersV4Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminListAssignedUsersV4Unauthorized

func NewAdminListAssignedUsersV4Unauthorized() *AdminListAssignedUsersV4Unauthorized

NewAdminListAssignedUsersV4Unauthorized creates a AdminListAssignedUsersV4Unauthorized with default headers values

func (*AdminListAssignedUsersV4Unauthorized) Error

func (*AdminListAssignedUsersV4Unauthorized) GetPayload

func (*AdminListAssignedUsersV4Unauthorized) ToJSONString

func (o *AdminListAssignedUsersV4Unauthorized) ToJSONString() string

type AdminRemoveRoleAdminV3BadRequest

type AdminRemoveRoleAdminV3BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminRemoveRoleAdminV3BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewAdminRemoveRoleAdminV3BadRequest

func NewAdminRemoveRoleAdminV3BadRequest() *AdminRemoveRoleAdminV3BadRequest

NewAdminRemoveRoleAdminV3BadRequest creates a AdminRemoveRoleAdminV3BadRequest with default headers values

func (*AdminRemoveRoleAdminV3BadRequest) Error

func (*AdminRemoveRoleAdminV3BadRequest) GetPayload

func (*AdminRemoveRoleAdminV3BadRequest) ToJSONString

func (o *AdminRemoveRoleAdminV3BadRequest) ToJSONString() string

type AdminRemoveRoleAdminV3Forbidden

type AdminRemoveRoleAdminV3Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminRemoveRoleAdminV3Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminRemoveRoleAdminV3Forbidden

func NewAdminRemoveRoleAdminV3Forbidden() *AdminRemoveRoleAdminV3Forbidden

NewAdminRemoveRoleAdminV3Forbidden creates a AdminRemoveRoleAdminV3Forbidden with default headers values

func (*AdminRemoveRoleAdminV3Forbidden) Error

func (*AdminRemoveRoleAdminV3Forbidden) GetPayload

func (*AdminRemoveRoleAdminV3Forbidden) ToJSONString

func (o *AdminRemoveRoleAdminV3Forbidden) ToJSONString() string

type AdminRemoveRoleAdminV3InternalServerError

type AdminRemoveRoleAdminV3InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminRemoveRoleAdminV3InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminRemoveRoleAdminV3InternalServerError

func NewAdminRemoveRoleAdminV3InternalServerError() *AdminRemoveRoleAdminV3InternalServerError

NewAdminRemoveRoleAdminV3InternalServerError creates a AdminRemoveRoleAdminV3InternalServerError with default headers values

func (*AdminRemoveRoleAdminV3InternalServerError) Error

func (*AdminRemoveRoleAdminV3InternalServerError) GetPayload

func (*AdminRemoveRoleAdminV3InternalServerError) ToJSONString

type AdminRemoveRoleAdminV3NoContent

type AdminRemoveRoleAdminV3NoContent struct {
}

AdminRemoveRoleAdminV3NoContent handles this case with default header values.

Operation succeeded

func NewAdminRemoveRoleAdminV3NoContent

func NewAdminRemoveRoleAdminV3NoContent() *AdminRemoveRoleAdminV3NoContent

NewAdminRemoveRoleAdminV3NoContent creates a AdminRemoveRoleAdminV3NoContent with default headers values

func (*AdminRemoveRoleAdminV3NoContent) Error

type AdminRemoveRoleAdminV3NotFound

type AdminRemoveRoleAdminV3NotFound struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminRemoveRoleAdminV3NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10456</td><td>role not found</td></tr></table>

func NewAdminRemoveRoleAdminV3NotFound

func NewAdminRemoveRoleAdminV3NotFound() *AdminRemoveRoleAdminV3NotFound

NewAdminRemoveRoleAdminV3NotFound creates a AdminRemoveRoleAdminV3NotFound with default headers values

func (*AdminRemoveRoleAdminV3NotFound) Error

func (*AdminRemoveRoleAdminV3NotFound) GetPayload

func (*AdminRemoveRoleAdminV3NotFound) ToJSONString

func (o *AdminRemoveRoleAdminV3NotFound) ToJSONString() string

type AdminRemoveRoleAdminV3Params

type AdminRemoveRoleAdminV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*RoleID
	  Role ID, should follow UUID version 4 without hyphen

	*/
	RoleID string

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

AdminRemoveRoleAdminV3Params contains all the parameters to send to the API endpoint for the admin remove role admin v3 operation typically these are written to a http.Request

func NewAdminRemoveRoleAdminV3Params

func NewAdminRemoveRoleAdminV3Params() *AdminRemoveRoleAdminV3Params

NewAdminRemoveRoleAdminV3Params creates a new AdminRemoveRoleAdminV3Params object with the default values initialized.

func NewAdminRemoveRoleAdminV3ParamsWithContext

func NewAdminRemoveRoleAdminV3ParamsWithContext(ctx context.Context) *AdminRemoveRoleAdminV3Params

NewAdminRemoveRoleAdminV3ParamsWithContext creates a new AdminRemoveRoleAdminV3Params object with the default values initialized, and the ability to set a context for a request

func NewAdminRemoveRoleAdminV3ParamsWithHTTPClient

func NewAdminRemoveRoleAdminV3ParamsWithHTTPClient(client *http.Client) *AdminRemoveRoleAdminV3Params

NewAdminRemoveRoleAdminV3ParamsWithHTTPClient creates a new AdminRemoveRoleAdminV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminRemoveRoleAdminV3ParamsWithTimeout

func NewAdminRemoveRoleAdminV3ParamsWithTimeout(timeout time.Duration) *AdminRemoveRoleAdminV3Params

NewAdminRemoveRoleAdminV3ParamsWithTimeout creates a new AdminRemoveRoleAdminV3Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminRemoveRoleAdminV3Params) SetAuthInfoWriter

func (o *AdminRemoveRoleAdminV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin remove role admin v3 params

func (*AdminRemoveRoleAdminV3Params) SetContext

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

SetContext adds the context to the admin remove role admin v3 params

func (*AdminRemoveRoleAdminV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin remove role admin v3 params

func (*AdminRemoveRoleAdminV3Params) SetHTTPClientTransport

func (o *AdminRemoveRoleAdminV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin remove role admin v3 params

func (*AdminRemoveRoleAdminV3Params) SetRoleID

func (o *AdminRemoveRoleAdminV3Params) SetRoleID(roleID string)

SetRoleID adds the roleId to the admin remove role admin v3 params

func (*AdminRemoveRoleAdminV3Params) SetTimeout

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

SetTimeout adds the timeout to the admin remove role admin v3 params

func (*AdminRemoveRoleAdminV3Params) WithContext

WithContext adds the context to the admin remove role admin v3 params

func (*AdminRemoveRoleAdminV3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin remove role admin v3 params

func (*AdminRemoveRoleAdminV3Params) WithRoleID

WithRoleID adds the roleID to the admin remove role admin v3 params

func (*AdminRemoveRoleAdminV3Params) WithTimeout

WithTimeout adds the timeout to the admin remove role admin v3 params

func (*AdminRemoveRoleAdminV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminRemoveRoleAdminV3Reader

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

AdminRemoveRoleAdminV3Reader is a Reader for the AdminRemoveRoleAdminV3 structure.

func (*AdminRemoveRoleAdminV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminRemoveRoleAdminV3Unauthorized

type AdminRemoveRoleAdminV3Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminRemoveRoleAdminV3Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminRemoveRoleAdminV3Unauthorized

func NewAdminRemoveRoleAdminV3Unauthorized() *AdminRemoveRoleAdminV3Unauthorized

NewAdminRemoveRoleAdminV3Unauthorized creates a AdminRemoveRoleAdminV3Unauthorized with default headers values

func (*AdminRemoveRoleAdminV3Unauthorized) Error

func (*AdminRemoveRoleAdminV3Unauthorized) GetPayload

func (*AdminRemoveRoleAdminV3Unauthorized) ToJSONString

func (o *AdminRemoveRoleAdminV3Unauthorized) ToJSONString() string

type AdminRemoveRoleManagersV3BadRequest

type AdminRemoveRoleManagersV3BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminRemoveRoleManagersV3BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr></table>

func NewAdminRemoveRoleManagersV3BadRequest

func NewAdminRemoveRoleManagersV3BadRequest() *AdminRemoveRoleManagersV3BadRequest

NewAdminRemoveRoleManagersV3BadRequest creates a AdminRemoveRoleManagersV3BadRequest with default headers values

func (*AdminRemoveRoleManagersV3BadRequest) Error

func (*AdminRemoveRoleManagersV3BadRequest) GetPayload

func (*AdminRemoveRoleManagersV3BadRequest) ToJSONString

func (o *AdminRemoveRoleManagersV3BadRequest) ToJSONString() string

type AdminRemoveRoleManagersV3Forbidden

type AdminRemoveRoleManagersV3Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminRemoveRoleManagersV3Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminRemoveRoleManagersV3Forbidden

func NewAdminRemoveRoleManagersV3Forbidden() *AdminRemoveRoleManagersV3Forbidden

NewAdminRemoveRoleManagersV3Forbidden creates a AdminRemoveRoleManagersV3Forbidden with default headers values

func (*AdminRemoveRoleManagersV3Forbidden) Error

func (*AdminRemoveRoleManagersV3Forbidden) GetPayload

func (*AdminRemoveRoleManagersV3Forbidden) ToJSONString

func (o *AdminRemoveRoleManagersV3Forbidden) ToJSONString() string

type AdminRemoveRoleManagersV3InternalServerError

type AdminRemoveRoleManagersV3InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminRemoveRoleManagersV3InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminRemoveRoleManagersV3InternalServerError

func NewAdminRemoveRoleManagersV3InternalServerError() *AdminRemoveRoleManagersV3InternalServerError

NewAdminRemoveRoleManagersV3InternalServerError creates a AdminRemoveRoleManagersV3InternalServerError with default headers values

func (*AdminRemoveRoleManagersV3InternalServerError) Error

func (*AdminRemoveRoleManagersV3InternalServerError) GetPayload

func (*AdminRemoveRoleManagersV3InternalServerError) ToJSONString

type AdminRemoveRoleManagersV3NoContent

type AdminRemoveRoleManagersV3NoContent struct {
}

AdminRemoveRoleManagersV3NoContent handles this case with default header values.

Operation succeeded

func NewAdminRemoveRoleManagersV3NoContent

func NewAdminRemoveRoleManagersV3NoContent() *AdminRemoveRoleManagersV3NoContent

NewAdminRemoveRoleManagersV3NoContent creates a AdminRemoveRoleManagersV3NoContent with default headers values

func (*AdminRemoveRoleManagersV3NoContent) Error

type AdminRemoveRoleManagersV3NotFound

type AdminRemoveRoleManagersV3NotFound struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminRemoveRoleManagersV3NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10456</td><td>role not found</td></tr></table>

func NewAdminRemoveRoleManagersV3NotFound

func NewAdminRemoveRoleManagersV3NotFound() *AdminRemoveRoleManagersV3NotFound

NewAdminRemoveRoleManagersV3NotFound creates a AdminRemoveRoleManagersV3NotFound with default headers values

func (*AdminRemoveRoleManagersV3NotFound) Error

func (*AdminRemoveRoleManagersV3NotFound) GetPayload

func (*AdminRemoveRoleManagersV3NotFound) ToJSONString

func (o *AdminRemoveRoleManagersV3NotFound) ToJSONString() string

type AdminRemoveRoleManagersV3Params

type AdminRemoveRoleManagersV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *iamclientmodels.ModelRoleManagersRequestV3
	/*RoleID
	  Role ID, should follow UUID version 4 without hyphen

	*/
	RoleID string

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

AdminRemoveRoleManagersV3Params contains all the parameters to send to the API endpoint for the admin remove role managers v3 operation typically these are written to a http.Request

func NewAdminRemoveRoleManagersV3Params

func NewAdminRemoveRoleManagersV3Params() *AdminRemoveRoleManagersV3Params

NewAdminRemoveRoleManagersV3Params creates a new AdminRemoveRoleManagersV3Params object with the default values initialized.

func NewAdminRemoveRoleManagersV3ParamsWithContext

func NewAdminRemoveRoleManagersV3ParamsWithContext(ctx context.Context) *AdminRemoveRoleManagersV3Params

NewAdminRemoveRoleManagersV3ParamsWithContext creates a new AdminRemoveRoleManagersV3Params object with the default values initialized, and the ability to set a context for a request

func NewAdminRemoveRoleManagersV3ParamsWithHTTPClient

func NewAdminRemoveRoleManagersV3ParamsWithHTTPClient(client *http.Client) *AdminRemoveRoleManagersV3Params

NewAdminRemoveRoleManagersV3ParamsWithHTTPClient creates a new AdminRemoveRoleManagersV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminRemoveRoleManagersV3ParamsWithTimeout

func NewAdminRemoveRoleManagersV3ParamsWithTimeout(timeout time.Duration) *AdminRemoveRoleManagersV3Params

NewAdminRemoveRoleManagersV3ParamsWithTimeout creates a new AdminRemoveRoleManagersV3Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminRemoveRoleManagersV3Params) SetAuthInfoWriter

func (o *AdminRemoveRoleManagersV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin remove role managers v3 params

func (*AdminRemoveRoleManagersV3Params) SetBody

SetBody adds the body to the admin remove role managers v3 params

func (*AdminRemoveRoleManagersV3Params) SetContext

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

SetContext adds the context to the admin remove role managers v3 params

func (*AdminRemoveRoleManagersV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin remove role managers v3 params

func (*AdminRemoveRoleManagersV3Params) SetHTTPClientTransport

func (o *AdminRemoveRoleManagersV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin remove role managers v3 params

func (*AdminRemoveRoleManagersV3Params) SetRoleID

func (o *AdminRemoveRoleManagersV3Params) SetRoleID(roleID string)

SetRoleID adds the roleId to the admin remove role managers v3 params

func (*AdminRemoveRoleManagersV3Params) SetTimeout

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

SetTimeout adds the timeout to the admin remove role managers v3 params

func (*AdminRemoveRoleManagersV3Params) WithBody

WithBody adds the body to the admin remove role managers v3 params

func (*AdminRemoveRoleManagersV3Params) WithContext

WithContext adds the context to the admin remove role managers v3 params

func (*AdminRemoveRoleManagersV3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin remove role managers v3 params

func (*AdminRemoveRoleManagersV3Params) WithRoleID

WithRoleID adds the roleID to the admin remove role managers v3 params

func (*AdminRemoveRoleManagersV3Params) WithTimeout

WithTimeout adds the timeout to the admin remove role managers v3 params

func (*AdminRemoveRoleManagersV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminRemoveRoleManagersV3Reader

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

AdminRemoveRoleManagersV3Reader is a Reader for the AdminRemoveRoleManagersV3 structure.

func (*AdminRemoveRoleManagersV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminRemoveRoleManagersV3Unauthorized

type AdminRemoveRoleManagersV3Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminRemoveRoleManagersV3Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminRemoveRoleManagersV3Unauthorized

func NewAdminRemoveRoleManagersV3Unauthorized() *AdminRemoveRoleManagersV3Unauthorized

NewAdminRemoveRoleManagersV3Unauthorized creates a AdminRemoveRoleManagersV3Unauthorized with default headers values

func (*AdminRemoveRoleManagersV3Unauthorized) Error

func (*AdminRemoveRoleManagersV3Unauthorized) GetPayload

func (*AdminRemoveRoleManagersV3Unauthorized) ToJSONString

type AdminRemoveRoleMembersV3BadRequest

type AdminRemoveRoleMembersV3BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminRemoveRoleMembersV3BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr><tr><td>10457</td><td>specified role is not admin role</td></tr></table>

func NewAdminRemoveRoleMembersV3BadRequest

func NewAdminRemoveRoleMembersV3BadRequest() *AdminRemoveRoleMembersV3BadRequest

NewAdminRemoveRoleMembersV3BadRequest creates a AdminRemoveRoleMembersV3BadRequest with default headers values

func (*AdminRemoveRoleMembersV3BadRequest) Error

func (*AdminRemoveRoleMembersV3BadRequest) GetPayload

func (*AdminRemoveRoleMembersV3BadRequest) ToJSONString

func (o *AdminRemoveRoleMembersV3BadRequest) ToJSONString() string

type AdminRemoveRoleMembersV3Forbidden

type AdminRemoveRoleMembersV3Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminRemoveRoleMembersV3Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr><tr><td>10459</td><td>operator is not a role manager</td></tr></table>

func NewAdminRemoveRoleMembersV3Forbidden

func NewAdminRemoveRoleMembersV3Forbidden() *AdminRemoveRoleMembersV3Forbidden

NewAdminRemoveRoleMembersV3Forbidden creates a AdminRemoveRoleMembersV3Forbidden with default headers values

func (*AdminRemoveRoleMembersV3Forbidden) Error

func (*AdminRemoveRoleMembersV3Forbidden) GetPayload

func (*AdminRemoveRoleMembersV3Forbidden) ToJSONString

func (o *AdminRemoveRoleMembersV3Forbidden) ToJSONString() string

type AdminRemoveRoleMembersV3InternalServerError

type AdminRemoveRoleMembersV3InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminRemoveRoleMembersV3InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminRemoveRoleMembersV3InternalServerError

func NewAdminRemoveRoleMembersV3InternalServerError() *AdminRemoveRoleMembersV3InternalServerError

NewAdminRemoveRoleMembersV3InternalServerError creates a AdminRemoveRoleMembersV3InternalServerError with default headers values

func (*AdminRemoveRoleMembersV3InternalServerError) Error

func (*AdminRemoveRoleMembersV3InternalServerError) GetPayload

func (*AdminRemoveRoleMembersV3InternalServerError) ToJSONString

type AdminRemoveRoleMembersV3NoContent

type AdminRemoveRoleMembersV3NoContent struct {
}

AdminRemoveRoleMembersV3NoContent handles this case with default header values.

Operation succeeded

func NewAdminRemoveRoleMembersV3NoContent

func NewAdminRemoveRoleMembersV3NoContent() *AdminRemoveRoleMembersV3NoContent

NewAdminRemoveRoleMembersV3NoContent creates a AdminRemoveRoleMembersV3NoContent with default headers values

func (*AdminRemoveRoleMembersV3NoContent) Error

type AdminRemoveRoleMembersV3NotFound

type AdminRemoveRoleMembersV3NotFound struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminRemoveRoleMembersV3NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10456</td><td>role not found</td></tr></table>

func NewAdminRemoveRoleMembersV3NotFound

func NewAdminRemoveRoleMembersV3NotFound() *AdminRemoveRoleMembersV3NotFound

NewAdminRemoveRoleMembersV3NotFound creates a AdminRemoveRoleMembersV3NotFound with default headers values

func (*AdminRemoveRoleMembersV3NotFound) Error

func (*AdminRemoveRoleMembersV3NotFound) GetPayload

func (*AdminRemoveRoleMembersV3NotFound) ToJSONString

func (o *AdminRemoveRoleMembersV3NotFound) ToJSONString() string

type AdminRemoveRoleMembersV3Params

type AdminRemoveRoleMembersV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *iamclientmodels.ModelRoleMembersRequestV3
	/*RoleID
	  Role ID, should follow UUID version 4 without hyphen

	*/
	RoleID string

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

AdminRemoveRoleMembersV3Params contains all the parameters to send to the API endpoint for the admin remove role members v3 operation typically these are written to a http.Request

func NewAdminRemoveRoleMembersV3Params

func NewAdminRemoveRoleMembersV3Params() *AdminRemoveRoleMembersV3Params

NewAdminRemoveRoleMembersV3Params creates a new AdminRemoveRoleMembersV3Params object with the default values initialized.

func NewAdminRemoveRoleMembersV3ParamsWithContext

func NewAdminRemoveRoleMembersV3ParamsWithContext(ctx context.Context) *AdminRemoveRoleMembersV3Params

NewAdminRemoveRoleMembersV3ParamsWithContext creates a new AdminRemoveRoleMembersV3Params object with the default values initialized, and the ability to set a context for a request

func NewAdminRemoveRoleMembersV3ParamsWithHTTPClient

func NewAdminRemoveRoleMembersV3ParamsWithHTTPClient(client *http.Client) *AdminRemoveRoleMembersV3Params

NewAdminRemoveRoleMembersV3ParamsWithHTTPClient creates a new AdminRemoveRoleMembersV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminRemoveRoleMembersV3ParamsWithTimeout

func NewAdminRemoveRoleMembersV3ParamsWithTimeout(timeout time.Duration) *AdminRemoveRoleMembersV3Params

NewAdminRemoveRoleMembersV3ParamsWithTimeout creates a new AdminRemoveRoleMembersV3Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminRemoveRoleMembersV3Params) SetAuthInfoWriter

func (o *AdminRemoveRoleMembersV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin remove role members v3 params

func (*AdminRemoveRoleMembersV3Params) SetBody

SetBody adds the body to the admin remove role members v3 params

func (*AdminRemoveRoleMembersV3Params) SetContext

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

SetContext adds the context to the admin remove role members v3 params

func (*AdminRemoveRoleMembersV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin remove role members v3 params

func (*AdminRemoveRoleMembersV3Params) SetHTTPClientTransport

func (o *AdminRemoveRoleMembersV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin remove role members v3 params

func (*AdminRemoveRoleMembersV3Params) SetRoleID

func (o *AdminRemoveRoleMembersV3Params) SetRoleID(roleID string)

SetRoleID adds the roleId to the admin remove role members v3 params

func (*AdminRemoveRoleMembersV3Params) SetTimeout

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

SetTimeout adds the timeout to the admin remove role members v3 params

func (*AdminRemoveRoleMembersV3Params) WithBody

WithBody adds the body to the admin remove role members v3 params

func (*AdminRemoveRoleMembersV3Params) WithContext

WithContext adds the context to the admin remove role members v3 params

func (*AdminRemoveRoleMembersV3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin remove role members v3 params

func (*AdminRemoveRoleMembersV3Params) WithRoleID

WithRoleID adds the roleID to the admin remove role members v3 params

func (*AdminRemoveRoleMembersV3Params) WithTimeout

WithTimeout adds the timeout to the admin remove role members v3 params

func (*AdminRemoveRoleMembersV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminRemoveRoleMembersV3Reader

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

AdminRemoveRoleMembersV3Reader is a Reader for the AdminRemoveRoleMembersV3 structure.

func (*AdminRemoveRoleMembersV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminRemoveRoleMembersV3Unauthorized

type AdminRemoveRoleMembersV3Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminRemoveRoleMembersV3Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminRemoveRoleMembersV3Unauthorized

func NewAdminRemoveRoleMembersV3Unauthorized() *AdminRemoveRoleMembersV3Unauthorized

NewAdminRemoveRoleMembersV3Unauthorized creates a AdminRemoveRoleMembersV3Unauthorized with default headers values

func (*AdminRemoveRoleMembersV3Unauthorized) Error

func (*AdminRemoveRoleMembersV3Unauthorized) GetPayload

func (*AdminRemoveRoleMembersV3Unauthorized) ToJSONString

func (o *AdminRemoveRoleMembersV3Unauthorized) ToJSONString() string

type AdminRevokeUserFromRoleV4BadRequest

type AdminRevokeUserFromRoleV4BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminRevokeUserFromRoleV4BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr><tr><td>10457</td><td>specified role is not admin role</td></tr></table>

func NewAdminRevokeUserFromRoleV4BadRequest

func NewAdminRevokeUserFromRoleV4BadRequest() *AdminRevokeUserFromRoleV4BadRequest

NewAdminRevokeUserFromRoleV4BadRequest creates a AdminRevokeUserFromRoleV4BadRequest with default headers values

func (*AdminRevokeUserFromRoleV4BadRequest) Error

func (*AdminRevokeUserFromRoleV4BadRequest) GetPayload

func (*AdminRevokeUserFromRoleV4BadRequest) ToJSONString

func (o *AdminRevokeUserFromRoleV4BadRequest) ToJSONString() string

type AdminRevokeUserFromRoleV4Forbidden

type AdminRevokeUserFromRoleV4Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminRevokeUserFromRoleV4Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr><tr><td>10459</td><td>operator is not a role manager</td></tr></table>

func NewAdminRevokeUserFromRoleV4Forbidden

func NewAdminRevokeUserFromRoleV4Forbidden() *AdminRevokeUserFromRoleV4Forbidden

NewAdminRevokeUserFromRoleV4Forbidden creates a AdminRevokeUserFromRoleV4Forbidden with default headers values

func (*AdminRevokeUserFromRoleV4Forbidden) Error

func (*AdminRevokeUserFromRoleV4Forbidden) GetPayload

func (*AdminRevokeUserFromRoleV4Forbidden) ToJSONString

func (o *AdminRevokeUserFromRoleV4Forbidden) ToJSONString() string

type AdminRevokeUserFromRoleV4NoContent

type AdminRevokeUserFromRoleV4NoContent struct {
}

AdminRevokeUserFromRoleV4NoContent handles this case with default header values.

Operation succeeded

func NewAdminRevokeUserFromRoleV4NoContent

func NewAdminRevokeUserFromRoleV4NoContent() *AdminRevokeUserFromRoleV4NoContent

NewAdminRevokeUserFromRoleV4NoContent creates a AdminRevokeUserFromRoleV4NoContent with default headers values

func (*AdminRevokeUserFromRoleV4NoContent) Error

type AdminRevokeUserFromRoleV4NotFound

type AdminRevokeUserFromRoleV4NotFound struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminRevokeUserFromRoleV4NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10456</td><td>role not found</td></tr></table>

func NewAdminRevokeUserFromRoleV4NotFound

func NewAdminRevokeUserFromRoleV4NotFound() *AdminRevokeUserFromRoleV4NotFound

NewAdminRevokeUserFromRoleV4NotFound creates a AdminRevokeUserFromRoleV4NotFound with default headers values

func (*AdminRevokeUserFromRoleV4NotFound) Error

func (*AdminRevokeUserFromRoleV4NotFound) GetPayload

func (*AdminRevokeUserFromRoleV4NotFound) ToJSONString

func (o *AdminRevokeUserFromRoleV4NotFound) ToJSONString() string

type AdminRevokeUserFromRoleV4Params

type AdminRevokeUserFromRoleV4Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *iamclientmodels.ModelRevokeUserV4Request
	/*RoleID
	  Role ID, should follow UUID version 4 without hyphen

	*/
	RoleID string

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

AdminRevokeUserFromRoleV4Params contains all the parameters to send to the API endpoint for the admin revoke user from role v4 operation typically these are written to a http.Request

func NewAdminRevokeUserFromRoleV4Params

func NewAdminRevokeUserFromRoleV4Params() *AdminRevokeUserFromRoleV4Params

NewAdminRevokeUserFromRoleV4Params creates a new AdminRevokeUserFromRoleV4Params object with the default values initialized.

func NewAdminRevokeUserFromRoleV4ParamsWithContext

func NewAdminRevokeUserFromRoleV4ParamsWithContext(ctx context.Context) *AdminRevokeUserFromRoleV4Params

NewAdminRevokeUserFromRoleV4ParamsWithContext creates a new AdminRevokeUserFromRoleV4Params object with the default values initialized, and the ability to set a context for a request

func NewAdminRevokeUserFromRoleV4ParamsWithHTTPClient

func NewAdminRevokeUserFromRoleV4ParamsWithHTTPClient(client *http.Client) *AdminRevokeUserFromRoleV4Params

NewAdminRevokeUserFromRoleV4ParamsWithHTTPClient creates a new AdminRevokeUserFromRoleV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminRevokeUserFromRoleV4ParamsWithTimeout

func NewAdminRevokeUserFromRoleV4ParamsWithTimeout(timeout time.Duration) *AdminRevokeUserFromRoleV4Params

NewAdminRevokeUserFromRoleV4ParamsWithTimeout creates a new AdminRevokeUserFromRoleV4Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminRevokeUserFromRoleV4Params) SetAuthInfoWriter

func (o *AdminRevokeUserFromRoleV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin revoke user from role v4 params

func (*AdminRevokeUserFromRoleV4Params) SetBody

SetBody adds the body to the admin revoke user from role v4 params

func (*AdminRevokeUserFromRoleV4Params) SetContext

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

SetContext adds the context to the admin revoke user from role v4 params

func (*AdminRevokeUserFromRoleV4Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin revoke user from role v4 params

func (*AdminRevokeUserFromRoleV4Params) SetHTTPClientTransport

func (o *AdminRevokeUserFromRoleV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin revoke user from role v4 params

func (*AdminRevokeUserFromRoleV4Params) SetRoleID

func (o *AdminRevokeUserFromRoleV4Params) SetRoleID(roleID string)

SetRoleID adds the roleId to the admin revoke user from role v4 params

func (*AdminRevokeUserFromRoleV4Params) SetTimeout

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

SetTimeout adds the timeout to the admin revoke user from role v4 params

func (*AdminRevokeUserFromRoleV4Params) WithBody

WithBody adds the body to the admin revoke user from role v4 params

func (*AdminRevokeUserFromRoleV4Params) WithContext

WithContext adds the context to the admin revoke user from role v4 params

func (*AdminRevokeUserFromRoleV4Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin revoke user from role v4 params

func (*AdminRevokeUserFromRoleV4Params) WithRoleID

WithRoleID adds the roleID to the admin revoke user from role v4 params

func (*AdminRevokeUserFromRoleV4Params) WithTimeout

WithTimeout adds the timeout to the admin revoke user from role v4 params

func (*AdminRevokeUserFromRoleV4Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminRevokeUserFromRoleV4Reader

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

AdminRevokeUserFromRoleV4Reader is a Reader for the AdminRevokeUserFromRoleV4 structure.

func (*AdminRevokeUserFromRoleV4Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminRevokeUserFromRoleV4Unauthorized

type AdminRevokeUserFromRoleV4Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminRevokeUserFromRoleV4Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminRevokeUserFromRoleV4Unauthorized

func NewAdminRevokeUserFromRoleV4Unauthorized() *AdminRevokeUserFromRoleV4Unauthorized

NewAdminRevokeUserFromRoleV4Unauthorized creates a AdminRevokeUserFromRoleV4Unauthorized with default headers values

func (*AdminRevokeUserFromRoleV4Unauthorized) Error

func (*AdminRevokeUserFromRoleV4Unauthorized) GetPayload

func (*AdminRevokeUserFromRoleV4Unauthorized) ToJSONString

type AdminUpdateAdminRoleStatusV3BadRequest

type AdminUpdateAdminRoleStatusV3BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateAdminRoleStatusV3BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewAdminUpdateAdminRoleStatusV3BadRequest

func NewAdminUpdateAdminRoleStatusV3BadRequest() *AdminUpdateAdminRoleStatusV3BadRequest

NewAdminUpdateAdminRoleStatusV3BadRequest creates a AdminUpdateAdminRoleStatusV3BadRequest with default headers values

func (*AdminUpdateAdminRoleStatusV3BadRequest) Error

func (*AdminUpdateAdminRoleStatusV3BadRequest) GetPayload

func (*AdminUpdateAdminRoleStatusV3BadRequest) ToJSONString

type AdminUpdateAdminRoleStatusV3Forbidden

type AdminUpdateAdminRoleStatusV3Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateAdminRoleStatusV3Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr><tr><td>10467</td><td>role has no manager</td></tr></table>

func NewAdminUpdateAdminRoleStatusV3Forbidden

func NewAdminUpdateAdminRoleStatusV3Forbidden() *AdminUpdateAdminRoleStatusV3Forbidden

NewAdminUpdateAdminRoleStatusV3Forbidden creates a AdminUpdateAdminRoleStatusV3Forbidden with default headers values

func (*AdminUpdateAdminRoleStatusV3Forbidden) Error

func (*AdminUpdateAdminRoleStatusV3Forbidden) GetPayload

func (*AdminUpdateAdminRoleStatusV3Forbidden) ToJSONString

type AdminUpdateAdminRoleStatusV3InternalServerError

type AdminUpdateAdminRoleStatusV3InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateAdminRoleStatusV3InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminUpdateAdminRoleStatusV3InternalServerError

func NewAdminUpdateAdminRoleStatusV3InternalServerError() *AdminUpdateAdminRoleStatusV3InternalServerError

NewAdminUpdateAdminRoleStatusV3InternalServerError creates a AdminUpdateAdminRoleStatusV3InternalServerError with default headers values

func (*AdminUpdateAdminRoleStatusV3InternalServerError) Error

func (*AdminUpdateAdminRoleStatusV3InternalServerError) GetPayload

func (*AdminUpdateAdminRoleStatusV3InternalServerError) ToJSONString

type AdminUpdateAdminRoleStatusV3NoContent

type AdminUpdateAdminRoleStatusV3NoContent struct {
}

AdminUpdateAdminRoleStatusV3NoContent handles this case with default header values.

Operation succeeded

func NewAdminUpdateAdminRoleStatusV3NoContent

func NewAdminUpdateAdminRoleStatusV3NoContent() *AdminUpdateAdminRoleStatusV3NoContent

NewAdminUpdateAdminRoleStatusV3NoContent creates a AdminUpdateAdminRoleStatusV3NoContent with default headers values

func (*AdminUpdateAdminRoleStatusV3NoContent) Error

type AdminUpdateAdminRoleStatusV3NotFound

type AdminUpdateAdminRoleStatusV3NotFound struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateAdminRoleStatusV3NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10456</td><td>role not found</td></tr></table>

func NewAdminUpdateAdminRoleStatusV3NotFound

func NewAdminUpdateAdminRoleStatusV3NotFound() *AdminUpdateAdminRoleStatusV3NotFound

NewAdminUpdateAdminRoleStatusV3NotFound creates a AdminUpdateAdminRoleStatusV3NotFound with default headers values

func (*AdminUpdateAdminRoleStatusV3NotFound) Error

func (*AdminUpdateAdminRoleStatusV3NotFound) GetPayload

func (*AdminUpdateAdminRoleStatusV3NotFound) ToJSONString

func (o *AdminUpdateAdminRoleStatusV3NotFound) ToJSONString() string

type AdminUpdateAdminRoleStatusV3Params

type AdminUpdateAdminRoleStatusV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*RoleID
	  Role ID, should follow UUID version 4 without hyphen

	*/
	RoleID string

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

AdminUpdateAdminRoleStatusV3Params contains all the parameters to send to the API endpoint for the admin update admin role status v3 operation typically these are written to a http.Request

func NewAdminUpdateAdminRoleStatusV3Params

func NewAdminUpdateAdminRoleStatusV3Params() *AdminUpdateAdminRoleStatusV3Params

NewAdminUpdateAdminRoleStatusV3Params creates a new AdminUpdateAdminRoleStatusV3Params object with the default values initialized.

func NewAdminUpdateAdminRoleStatusV3ParamsWithContext

func NewAdminUpdateAdminRoleStatusV3ParamsWithContext(ctx context.Context) *AdminUpdateAdminRoleStatusV3Params

NewAdminUpdateAdminRoleStatusV3ParamsWithContext creates a new AdminUpdateAdminRoleStatusV3Params object with the default values initialized, and the ability to set a context for a request

func NewAdminUpdateAdminRoleStatusV3ParamsWithHTTPClient

func NewAdminUpdateAdminRoleStatusV3ParamsWithHTTPClient(client *http.Client) *AdminUpdateAdminRoleStatusV3Params

NewAdminUpdateAdminRoleStatusV3ParamsWithHTTPClient creates a new AdminUpdateAdminRoleStatusV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminUpdateAdminRoleStatusV3ParamsWithTimeout

func NewAdminUpdateAdminRoleStatusV3ParamsWithTimeout(timeout time.Duration) *AdminUpdateAdminRoleStatusV3Params

NewAdminUpdateAdminRoleStatusV3ParamsWithTimeout creates a new AdminUpdateAdminRoleStatusV3Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminUpdateAdminRoleStatusV3Params) SetAuthInfoWriter

func (o *AdminUpdateAdminRoleStatusV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin update admin role status v3 params

func (*AdminUpdateAdminRoleStatusV3Params) SetContext

SetContext adds the context to the admin update admin role status v3 params

func (*AdminUpdateAdminRoleStatusV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin update admin role status v3 params

func (*AdminUpdateAdminRoleStatusV3Params) SetHTTPClientTransport

func (o *AdminUpdateAdminRoleStatusV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin update admin role status v3 params

func (*AdminUpdateAdminRoleStatusV3Params) SetRoleID

func (o *AdminUpdateAdminRoleStatusV3Params) SetRoleID(roleID string)

SetRoleID adds the roleId to the admin update admin role status v3 params

func (*AdminUpdateAdminRoleStatusV3Params) SetTimeout

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

SetTimeout adds the timeout to the admin update admin role status v3 params

func (*AdminUpdateAdminRoleStatusV3Params) WithContext

WithContext adds the context to the admin update admin role status v3 params

func (*AdminUpdateAdminRoleStatusV3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin update admin role status v3 params

func (*AdminUpdateAdminRoleStatusV3Params) WithRoleID

WithRoleID adds the roleID to the admin update admin role status v3 params

func (*AdminUpdateAdminRoleStatusV3Params) WithTimeout

WithTimeout adds the timeout to the admin update admin role status v3 params

func (*AdminUpdateAdminRoleStatusV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUpdateAdminRoleStatusV3Reader

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

AdminUpdateAdminRoleStatusV3Reader is a Reader for the AdminUpdateAdminRoleStatusV3 structure.

func (*AdminUpdateAdminRoleStatusV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUpdateAdminRoleStatusV3Unauthorized

type AdminUpdateAdminRoleStatusV3Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateAdminRoleStatusV3Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminUpdateAdminRoleStatusV3Unauthorized

func NewAdminUpdateAdminRoleStatusV3Unauthorized() *AdminUpdateAdminRoleStatusV3Unauthorized

NewAdminUpdateAdminRoleStatusV3Unauthorized creates a AdminUpdateAdminRoleStatusV3Unauthorized with default headers values

func (*AdminUpdateAdminRoleStatusV3Unauthorized) Error

func (*AdminUpdateAdminRoleStatusV3Unauthorized) GetPayload

func (*AdminUpdateAdminRoleStatusV3Unauthorized) ToJSONString

type AdminUpdateRolePermissionsV3BadRequest

type AdminUpdateRolePermissionsV3BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateRolePermissionsV3BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr></table>

func NewAdminUpdateRolePermissionsV3BadRequest

func NewAdminUpdateRolePermissionsV3BadRequest() *AdminUpdateRolePermissionsV3BadRequest

NewAdminUpdateRolePermissionsV3BadRequest creates a AdminUpdateRolePermissionsV3BadRequest with default headers values

func (*AdminUpdateRolePermissionsV3BadRequest) Error

func (*AdminUpdateRolePermissionsV3BadRequest) GetPayload

func (*AdminUpdateRolePermissionsV3BadRequest) ToJSONString

type AdminUpdateRolePermissionsV3Forbidden

type AdminUpdateRolePermissionsV3Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateRolePermissionsV3Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminUpdateRolePermissionsV3Forbidden

func NewAdminUpdateRolePermissionsV3Forbidden() *AdminUpdateRolePermissionsV3Forbidden

NewAdminUpdateRolePermissionsV3Forbidden creates a AdminUpdateRolePermissionsV3Forbidden with default headers values

func (*AdminUpdateRolePermissionsV3Forbidden) Error

func (*AdminUpdateRolePermissionsV3Forbidden) GetPayload

func (*AdminUpdateRolePermissionsV3Forbidden) ToJSONString

type AdminUpdateRolePermissionsV3InternalServerError

type AdminUpdateRolePermissionsV3InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateRolePermissionsV3InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminUpdateRolePermissionsV3InternalServerError

func NewAdminUpdateRolePermissionsV3InternalServerError() *AdminUpdateRolePermissionsV3InternalServerError

NewAdminUpdateRolePermissionsV3InternalServerError creates a AdminUpdateRolePermissionsV3InternalServerError with default headers values

func (*AdminUpdateRolePermissionsV3InternalServerError) Error

func (*AdminUpdateRolePermissionsV3InternalServerError) GetPayload

func (*AdminUpdateRolePermissionsV3InternalServerError) ToJSONString

type AdminUpdateRolePermissionsV3NoContent

type AdminUpdateRolePermissionsV3NoContent struct {
}

AdminUpdateRolePermissionsV3NoContent handles this case with default header values.

No Content

func NewAdminUpdateRolePermissionsV3NoContent

func NewAdminUpdateRolePermissionsV3NoContent() *AdminUpdateRolePermissionsV3NoContent

NewAdminUpdateRolePermissionsV3NoContent creates a AdminUpdateRolePermissionsV3NoContent with default headers values

func (*AdminUpdateRolePermissionsV3NoContent) Error

type AdminUpdateRolePermissionsV3NotFound

type AdminUpdateRolePermissionsV3NotFound struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateRolePermissionsV3NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10456</td><td>role not found</td></tr></table>

func NewAdminUpdateRolePermissionsV3NotFound

func NewAdminUpdateRolePermissionsV3NotFound() *AdminUpdateRolePermissionsV3NotFound

NewAdminUpdateRolePermissionsV3NotFound creates a AdminUpdateRolePermissionsV3NotFound with default headers values

func (*AdminUpdateRolePermissionsV3NotFound) Error

func (*AdminUpdateRolePermissionsV3NotFound) GetPayload

func (*AdminUpdateRolePermissionsV3NotFound) ToJSONString

func (o *AdminUpdateRolePermissionsV3NotFound) ToJSONString() string

type AdminUpdateRolePermissionsV3Params

type AdminUpdateRolePermissionsV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *iamclientmodels.AccountcommonPermissionsV3
	/*RoleID
	  Role ID, should follow UUID version 4 without hyphen

	*/
	RoleID string

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

AdminUpdateRolePermissionsV3Params contains all the parameters to send to the API endpoint for the admin update role permissions v3 operation typically these are written to a http.Request

func NewAdminUpdateRolePermissionsV3Params

func NewAdminUpdateRolePermissionsV3Params() *AdminUpdateRolePermissionsV3Params

NewAdminUpdateRolePermissionsV3Params creates a new AdminUpdateRolePermissionsV3Params object with the default values initialized.

func NewAdminUpdateRolePermissionsV3ParamsWithContext

func NewAdminUpdateRolePermissionsV3ParamsWithContext(ctx context.Context) *AdminUpdateRolePermissionsV3Params

NewAdminUpdateRolePermissionsV3ParamsWithContext creates a new AdminUpdateRolePermissionsV3Params object with the default values initialized, and the ability to set a context for a request

func NewAdminUpdateRolePermissionsV3ParamsWithHTTPClient

func NewAdminUpdateRolePermissionsV3ParamsWithHTTPClient(client *http.Client) *AdminUpdateRolePermissionsV3Params

NewAdminUpdateRolePermissionsV3ParamsWithHTTPClient creates a new AdminUpdateRolePermissionsV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminUpdateRolePermissionsV3ParamsWithTimeout

func NewAdminUpdateRolePermissionsV3ParamsWithTimeout(timeout time.Duration) *AdminUpdateRolePermissionsV3Params

NewAdminUpdateRolePermissionsV3ParamsWithTimeout creates a new AdminUpdateRolePermissionsV3Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminUpdateRolePermissionsV3Params) SetAuthInfoWriter

func (o *AdminUpdateRolePermissionsV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin update role permissions v3 params

func (*AdminUpdateRolePermissionsV3Params) SetBody

SetBody adds the body to the admin update role permissions v3 params

func (*AdminUpdateRolePermissionsV3Params) SetContext

SetContext adds the context to the admin update role permissions v3 params

func (*AdminUpdateRolePermissionsV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin update role permissions v3 params

func (*AdminUpdateRolePermissionsV3Params) SetHTTPClientTransport

func (o *AdminUpdateRolePermissionsV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin update role permissions v3 params

func (*AdminUpdateRolePermissionsV3Params) SetRoleID

func (o *AdminUpdateRolePermissionsV3Params) SetRoleID(roleID string)

SetRoleID adds the roleId to the admin update role permissions v3 params

func (*AdminUpdateRolePermissionsV3Params) SetTimeout

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

SetTimeout adds the timeout to the admin update role permissions v3 params

func (*AdminUpdateRolePermissionsV3Params) WithBody

WithBody adds the body to the admin update role permissions v3 params

func (*AdminUpdateRolePermissionsV3Params) WithContext

WithContext adds the context to the admin update role permissions v3 params

func (*AdminUpdateRolePermissionsV3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin update role permissions v3 params

func (*AdminUpdateRolePermissionsV3Params) WithRoleID

WithRoleID adds the roleID to the admin update role permissions v3 params

func (*AdminUpdateRolePermissionsV3Params) WithTimeout

WithTimeout adds the timeout to the admin update role permissions v3 params

func (*AdminUpdateRolePermissionsV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUpdateRolePermissionsV3Reader

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

AdminUpdateRolePermissionsV3Reader is a Reader for the AdminUpdateRolePermissionsV3 structure.

func (*AdminUpdateRolePermissionsV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUpdateRolePermissionsV3Unauthorized

type AdminUpdateRolePermissionsV3Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateRolePermissionsV3Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminUpdateRolePermissionsV3Unauthorized

func NewAdminUpdateRolePermissionsV3Unauthorized() *AdminUpdateRolePermissionsV3Unauthorized

NewAdminUpdateRolePermissionsV3Unauthorized creates a AdminUpdateRolePermissionsV3Unauthorized with default headers values

func (*AdminUpdateRolePermissionsV3Unauthorized) Error

func (*AdminUpdateRolePermissionsV3Unauthorized) GetPayload

func (*AdminUpdateRolePermissionsV3Unauthorized) ToJSONString

type AdminUpdateRolePermissionsV4BadRequest

type AdminUpdateRolePermissionsV4BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateRolePermissionsV4BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr></table>

func NewAdminUpdateRolePermissionsV4BadRequest

func NewAdminUpdateRolePermissionsV4BadRequest() *AdminUpdateRolePermissionsV4BadRequest

NewAdminUpdateRolePermissionsV4BadRequest creates a AdminUpdateRolePermissionsV4BadRequest with default headers values

func (*AdminUpdateRolePermissionsV4BadRequest) Error

func (*AdminUpdateRolePermissionsV4BadRequest) GetPayload

func (*AdminUpdateRolePermissionsV4BadRequest) ToJSONString

type AdminUpdateRolePermissionsV4Forbidden

type AdminUpdateRolePermissionsV4Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateRolePermissionsV4Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminUpdateRolePermissionsV4Forbidden

func NewAdminUpdateRolePermissionsV4Forbidden() *AdminUpdateRolePermissionsV4Forbidden

NewAdminUpdateRolePermissionsV4Forbidden creates a AdminUpdateRolePermissionsV4Forbidden with default headers values

func (*AdminUpdateRolePermissionsV4Forbidden) Error

func (*AdminUpdateRolePermissionsV4Forbidden) GetPayload

func (*AdminUpdateRolePermissionsV4Forbidden) ToJSONString

type AdminUpdateRolePermissionsV4NotFound

type AdminUpdateRolePermissionsV4NotFound struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateRolePermissionsV4NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10456</td><td>role not found</td></tr></table>

func NewAdminUpdateRolePermissionsV4NotFound

func NewAdminUpdateRolePermissionsV4NotFound() *AdminUpdateRolePermissionsV4NotFound

NewAdminUpdateRolePermissionsV4NotFound creates a AdminUpdateRolePermissionsV4NotFound with default headers values

func (*AdminUpdateRolePermissionsV4NotFound) Error

func (*AdminUpdateRolePermissionsV4NotFound) GetPayload

func (*AdminUpdateRolePermissionsV4NotFound) ToJSONString

func (o *AdminUpdateRolePermissionsV4NotFound) ToJSONString() string

type AdminUpdateRolePermissionsV4OK

type AdminUpdateRolePermissionsV4OK struct {
	Payload *iamclientmodels.ModelRoleV4Response
}

AdminUpdateRolePermissionsV4OK handles this case with default header values.

OK

func NewAdminUpdateRolePermissionsV4OK

func NewAdminUpdateRolePermissionsV4OK() *AdminUpdateRolePermissionsV4OK

NewAdminUpdateRolePermissionsV4OK creates a AdminUpdateRolePermissionsV4OK with default headers values

func (*AdminUpdateRolePermissionsV4OK) Error

func (*AdminUpdateRolePermissionsV4OK) GetPayload

func (*AdminUpdateRolePermissionsV4OK) ToJSONString

func (o *AdminUpdateRolePermissionsV4OK) ToJSONString() string

type AdminUpdateRolePermissionsV4Params

type AdminUpdateRolePermissionsV4Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *iamclientmodels.AccountcommonPermissionsV3
	/*RoleID
	  Role ID, should follow UUID version 4 without hyphen

	*/
	RoleID string

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

AdminUpdateRolePermissionsV4Params contains all the parameters to send to the API endpoint for the admin update role permissions v4 operation typically these are written to a http.Request

func NewAdminUpdateRolePermissionsV4Params

func NewAdminUpdateRolePermissionsV4Params() *AdminUpdateRolePermissionsV4Params

NewAdminUpdateRolePermissionsV4Params creates a new AdminUpdateRolePermissionsV4Params object with the default values initialized.

func NewAdminUpdateRolePermissionsV4ParamsWithContext

func NewAdminUpdateRolePermissionsV4ParamsWithContext(ctx context.Context) *AdminUpdateRolePermissionsV4Params

NewAdminUpdateRolePermissionsV4ParamsWithContext creates a new AdminUpdateRolePermissionsV4Params object with the default values initialized, and the ability to set a context for a request

func NewAdminUpdateRolePermissionsV4ParamsWithHTTPClient

func NewAdminUpdateRolePermissionsV4ParamsWithHTTPClient(client *http.Client) *AdminUpdateRolePermissionsV4Params

NewAdminUpdateRolePermissionsV4ParamsWithHTTPClient creates a new AdminUpdateRolePermissionsV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminUpdateRolePermissionsV4ParamsWithTimeout

func NewAdminUpdateRolePermissionsV4ParamsWithTimeout(timeout time.Duration) *AdminUpdateRolePermissionsV4Params

NewAdminUpdateRolePermissionsV4ParamsWithTimeout creates a new AdminUpdateRolePermissionsV4Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminUpdateRolePermissionsV4Params) SetAuthInfoWriter

func (o *AdminUpdateRolePermissionsV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin update role permissions v4 params

func (*AdminUpdateRolePermissionsV4Params) SetBody

SetBody adds the body to the admin update role permissions v4 params

func (*AdminUpdateRolePermissionsV4Params) SetContext

SetContext adds the context to the admin update role permissions v4 params

func (*AdminUpdateRolePermissionsV4Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin update role permissions v4 params

func (*AdminUpdateRolePermissionsV4Params) SetHTTPClientTransport

func (o *AdminUpdateRolePermissionsV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin update role permissions v4 params

func (*AdminUpdateRolePermissionsV4Params) SetRoleID

func (o *AdminUpdateRolePermissionsV4Params) SetRoleID(roleID string)

SetRoleID adds the roleId to the admin update role permissions v4 params

func (*AdminUpdateRolePermissionsV4Params) SetTimeout

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

SetTimeout adds the timeout to the admin update role permissions v4 params

func (*AdminUpdateRolePermissionsV4Params) WithBody

WithBody adds the body to the admin update role permissions v4 params

func (*AdminUpdateRolePermissionsV4Params) WithContext

WithContext adds the context to the admin update role permissions v4 params

func (*AdminUpdateRolePermissionsV4Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin update role permissions v4 params

func (*AdminUpdateRolePermissionsV4Params) WithRoleID

WithRoleID adds the roleID to the admin update role permissions v4 params

func (*AdminUpdateRolePermissionsV4Params) WithTimeout

WithTimeout adds the timeout to the admin update role permissions v4 params

func (*AdminUpdateRolePermissionsV4Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUpdateRolePermissionsV4Reader

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

AdminUpdateRolePermissionsV4Reader is a Reader for the AdminUpdateRolePermissionsV4 structure.

func (*AdminUpdateRolePermissionsV4Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUpdateRolePermissionsV4Unauthorized

type AdminUpdateRolePermissionsV4Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateRolePermissionsV4Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminUpdateRolePermissionsV4Unauthorized

func NewAdminUpdateRolePermissionsV4Unauthorized() *AdminUpdateRolePermissionsV4Unauthorized

NewAdminUpdateRolePermissionsV4Unauthorized creates a AdminUpdateRolePermissionsV4Unauthorized with default headers values

func (*AdminUpdateRolePermissionsV4Unauthorized) Error

func (*AdminUpdateRolePermissionsV4Unauthorized) GetPayload

func (*AdminUpdateRolePermissionsV4Unauthorized) ToJSONString

type AdminUpdateRoleV3BadRequest

type AdminUpdateRoleV3BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateRoleV3BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr></table>

func NewAdminUpdateRoleV3BadRequest

func NewAdminUpdateRoleV3BadRequest() *AdminUpdateRoleV3BadRequest

NewAdminUpdateRoleV3BadRequest creates a AdminUpdateRoleV3BadRequest with default headers values

func (*AdminUpdateRoleV3BadRequest) Error

func (*AdminUpdateRoleV3BadRequest) GetPayload

func (*AdminUpdateRoleV3BadRequest) ToJSONString

func (o *AdminUpdateRoleV3BadRequest) ToJSONString() string

type AdminUpdateRoleV3Forbidden

type AdminUpdateRoleV3Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateRoleV3Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminUpdateRoleV3Forbidden

func NewAdminUpdateRoleV3Forbidden() *AdminUpdateRoleV3Forbidden

NewAdminUpdateRoleV3Forbidden creates a AdminUpdateRoleV3Forbidden with default headers values

func (*AdminUpdateRoleV3Forbidden) Error

func (*AdminUpdateRoleV3Forbidden) GetPayload

func (*AdminUpdateRoleV3Forbidden) ToJSONString

func (o *AdminUpdateRoleV3Forbidden) ToJSONString() string

type AdminUpdateRoleV3InternalServerError

type AdminUpdateRoleV3InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateRoleV3InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminUpdateRoleV3InternalServerError

func NewAdminUpdateRoleV3InternalServerError() *AdminUpdateRoleV3InternalServerError

NewAdminUpdateRoleV3InternalServerError creates a AdminUpdateRoleV3InternalServerError with default headers values

func (*AdminUpdateRoleV3InternalServerError) Error

func (*AdminUpdateRoleV3InternalServerError) GetPayload

func (*AdminUpdateRoleV3InternalServerError) ToJSONString

func (o *AdminUpdateRoleV3InternalServerError) ToJSONString() string

type AdminUpdateRoleV3NotFound

type AdminUpdateRoleV3NotFound struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateRoleV3NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10456</td><td>role not found</td></tr></table>

func NewAdminUpdateRoleV3NotFound

func NewAdminUpdateRoleV3NotFound() *AdminUpdateRoleV3NotFound

NewAdminUpdateRoleV3NotFound creates a AdminUpdateRoleV3NotFound with default headers values

func (*AdminUpdateRoleV3NotFound) Error

func (o *AdminUpdateRoleV3NotFound) Error() string

func (*AdminUpdateRoleV3NotFound) GetPayload

func (*AdminUpdateRoleV3NotFound) ToJSONString

func (o *AdminUpdateRoleV3NotFound) ToJSONString() string

type AdminUpdateRoleV3OK

type AdminUpdateRoleV3OK struct {
	Payload *iamclientmodels.ModelRoleResponseV3
}

AdminUpdateRoleV3OK handles this case with default header values.

OK

func NewAdminUpdateRoleV3OK

func NewAdminUpdateRoleV3OK() *AdminUpdateRoleV3OK

NewAdminUpdateRoleV3OK creates a AdminUpdateRoleV3OK with default headers values

func (*AdminUpdateRoleV3OK) Error

func (o *AdminUpdateRoleV3OK) Error() string

func (*AdminUpdateRoleV3OK) GetPayload

func (*AdminUpdateRoleV3OK) ToJSONString

func (o *AdminUpdateRoleV3OK) ToJSONString() string

type AdminUpdateRoleV3Params

type AdminUpdateRoleV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *iamclientmodels.ModelRoleUpdateRequestV3
	/*RoleID
	  Role ID, should follow UUID version 4 without hyphen

	*/
	RoleID string

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

AdminUpdateRoleV3Params contains all the parameters to send to the API endpoint for the admin update role v3 operation typically these are written to a http.Request

func NewAdminUpdateRoleV3Params

func NewAdminUpdateRoleV3Params() *AdminUpdateRoleV3Params

NewAdminUpdateRoleV3Params creates a new AdminUpdateRoleV3Params object with the default values initialized.

func NewAdminUpdateRoleV3ParamsWithContext

func NewAdminUpdateRoleV3ParamsWithContext(ctx context.Context) *AdminUpdateRoleV3Params

NewAdminUpdateRoleV3ParamsWithContext creates a new AdminUpdateRoleV3Params object with the default values initialized, and the ability to set a context for a request

func NewAdminUpdateRoleV3ParamsWithHTTPClient

func NewAdminUpdateRoleV3ParamsWithHTTPClient(client *http.Client) *AdminUpdateRoleV3Params

NewAdminUpdateRoleV3ParamsWithHTTPClient creates a new AdminUpdateRoleV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminUpdateRoleV3ParamsWithTimeout

func NewAdminUpdateRoleV3ParamsWithTimeout(timeout time.Duration) *AdminUpdateRoleV3Params

NewAdminUpdateRoleV3ParamsWithTimeout creates a new AdminUpdateRoleV3Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminUpdateRoleV3Params) SetAuthInfoWriter

func (o *AdminUpdateRoleV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin update role v3 params

func (*AdminUpdateRoleV3Params) SetBody

SetBody adds the body to the admin update role v3 params

func (*AdminUpdateRoleV3Params) SetContext

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

SetContext adds the context to the admin update role v3 params

func (*AdminUpdateRoleV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin update role v3 params

func (*AdminUpdateRoleV3Params) SetHTTPClientTransport

func (o *AdminUpdateRoleV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin update role v3 params

func (*AdminUpdateRoleV3Params) SetRoleID

func (o *AdminUpdateRoleV3Params) SetRoleID(roleID string)

SetRoleID adds the roleId to the admin update role v3 params

func (*AdminUpdateRoleV3Params) SetTimeout

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

SetTimeout adds the timeout to the admin update role v3 params

func (*AdminUpdateRoleV3Params) WithBody

WithBody adds the body to the admin update role v3 params

func (*AdminUpdateRoleV3Params) WithContext

WithContext adds the context to the admin update role v3 params

func (*AdminUpdateRoleV3Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin update role v3 params

func (*AdminUpdateRoleV3Params) WithRoleID

WithRoleID adds the roleID to the admin update role v3 params

func (*AdminUpdateRoleV3Params) WithTimeout

WithTimeout adds the timeout to the admin update role v3 params

func (*AdminUpdateRoleV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUpdateRoleV3Reader

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

AdminUpdateRoleV3Reader is a Reader for the AdminUpdateRoleV3 structure.

func (*AdminUpdateRoleV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUpdateRoleV3Unauthorized

type AdminUpdateRoleV3Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateRoleV3Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminUpdateRoleV3Unauthorized

func NewAdminUpdateRoleV3Unauthorized() *AdminUpdateRoleV3Unauthorized

NewAdminUpdateRoleV3Unauthorized creates a AdminUpdateRoleV3Unauthorized with default headers values

func (*AdminUpdateRoleV3Unauthorized) Error

func (*AdminUpdateRoleV3Unauthorized) GetPayload

func (*AdminUpdateRoleV3Unauthorized) ToJSONString

func (o *AdminUpdateRoleV3Unauthorized) ToJSONString() string

type AdminUpdateRoleV4BadRequest

type AdminUpdateRoleV4BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateRoleV4BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr></table>

func NewAdminUpdateRoleV4BadRequest

func NewAdminUpdateRoleV4BadRequest() *AdminUpdateRoleV4BadRequest

NewAdminUpdateRoleV4BadRequest creates a AdminUpdateRoleV4BadRequest with default headers values

func (*AdminUpdateRoleV4BadRequest) Error

func (*AdminUpdateRoleV4BadRequest) GetPayload

func (*AdminUpdateRoleV4BadRequest) ToJSONString

func (o *AdminUpdateRoleV4BadRequest) ToJSONString() string

type AdminUpdateRoleV4Forbidden

type AdminUpdateRoleV4Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateRoleV4Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminUpdateRoleV4Forbidden

func NewAdminUpdateRoleV4Forbidden() *AdminUpdateRoleV4Forbidden

NewAdminUpdateRoleV4Forbidden creates a AdminUpdateRoleV4Forbidden with default headers values

func (*AdminUpdateRoleV4Forbidden) Error

func (*AdminUpdateRoleV4Forbidden) GetPayload

func (*AdminUpdateRoleV4Forbidden) ToJSONString

func (o *AdminUpdateRoleV4Forbidden) ToJSONString() string

type AdminUpdateRoleV4NotFound

type AdminUpdateRoleV4NotFound struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateRoleV4NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10456</td><td>role not found</td></tr></table>

func NewAdminUpdateRoleV4NotFound

func NewAdminUpdateRoleV4NotFound() *AdminUpdateRoleV4NotFound

NewAdminUpdateRoleV4NotFound creates a AdminUpdateRoleV4NotFound with default headers values

func (*AdminUpdateRoleV4NotFound) Error

func (o *AdminUpdateRoleV4NotFound) Error() string

func (*AdminUpdateRoleV4NotFound) GetPayload

func (*AdminUpdateRoleV4NotFound) ToJSONString

func (o *AdminUpdateRoleV4NotFound) ToJSONString() string

type AdminUpdateRoleV4OK

type AdminUpdateRoleV4OK struct {
	Payload *iamclientmodels.ModelRoleV4Response
}

AdminUpdateRoleV4OK handles this case with default header values.

OK

func NewAdminUpdateRoleV4OK

func NewAdminUpdateRoleV4OK() *AdminUpdateRoleV4OK

NewAdminUpdateRoleV4OK creates a AdminUpdateRoleV4OK with default headers values

func (*AdminUpdateRoleV4OK) Error

func (o *AdminUpdateRoleV4OK) Error() string

func (*AdminUpdateRoleV4OK) GetPayload

func (*AdminUpdateRoleV4OK) ToJSONString

func (o *AdminUpdateRoleV4OK) ToJSONString() string

type AdminUpdateRoleV4Params

type AdminUpdateRoleV4Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *iamclientmodels.ModelRoleV4Request
	/*RoleID
	  Role ID, should follow UUID version 4 without hyphen

	*/
	RoleID string

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

AdminUpdateRoleV4Params contains all the parameters to send to the API endpoint for the admin update role v4 operation typically these are written to a http.Request

func NewAdminUpdateRoleV4Params

func NewAdminUpdateRoleV4Params() *AdminUpdateRoleV4Params

NewAdminUpdateRoleV4Params creates a new AdminUpdateRoleV4Params object with the default values initialized.

func NewAdminUpdateRoleV4ParamsWithContext

func NewAdminUpdateRoleV4ParamsWithContext(ctx context.Context) *AdminUpdateRoleV4Params

NewAdminUpdateRoleV4ParamsWithContext creates a new AdminUpdateRoleV4Params object with the default values initialized, and the ability to set a context for a request

func NewAdminUpdateRoleV4ParamsWithHTTPClient

func NewAdminUpdateRoleV4ParamsWithHTTPClient(client *http.Client) *AdminUpdateRoleV4Params

NewAdminUpdateRoleV4ParamsWithHTTPClient creates a new AdminUpdateRoleV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminUpdateRoleV4ParamsWithTimeout

func NewAdminUpdateRoleV4ParamsWithTimeout(timeout time.Duration) *AdminUpdateRoleV4Params

NewAdminUpdateRoleV4ParamsWithTimeout creates a new AdminUpdateRoleV4Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminUpdateRoleV4Params) SetAuthInfoWriter

func (o *AdminUpdateRoleV4Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin update role v4 params

func (*AdminUpdateRoleV4Params) SetBody

SetBody adds the body to the admin update role v4 params

func (*AdminUpdateRoleV4Params) SetContext

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

SetContext adds the context to the admin update role v4 params

func (*AdminUpdateRoleV4Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin update role v4 params

func (*AdminUpdateRoleV4Params) SetHTTPClientTransport

func (o *AdminUpdateRoleV4Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin update role v4 params

func (*AdminUpdateRoleV4Params) SetRoleID

func (o *AdminUpdateRoleV4Params) SetRoleID(roleID string)

SetRoleID adds the roleId to the admin update role v4 params

func (*AdminUpdateRoleV4Params) SetTimeout

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

SetTimeout adds the timeout to the admin update role v4 params

func (*AdminUpdateRoleV4Params) WithBody

WithBody adds the body to the admin update role v4 params

func (*AdminUpdateRoleV4Params) WithContext

WithContext adds the context to the admin update role v4 params

func (*AdminUpdateRoleV4Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin update role v4 params

func (*AdminUpdateRoleV4Params) WithRoleID

WithRoleID adds the roleID to the admin update role v4 params

func (*AdminUpdateRoleV4Params) WithTimeout

WithTimeout adds the timeout to the admin update role v4 params

func (*AdminUpdateRoleV4Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUpdateRoleV4Reader

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

AdminUpdateRoleV4Reader is a Reader for the AdminUpdateRoleV4 structure.

func (*AdminUpdateRoleV4Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUpdateRoleV4Unauthorized

type AdminUpdateRoleV4Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateRoleV4Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminUpdateRoleV4Unauthorized

func NewAdminUpdateRoleV4Unauthorized() *AdminUpdateRoleV4Unauthorized

NewAdminUpdateRoleV4Unauthorized creates a AdminUpdateRoleV4Unauthorized with default headers values

func (*AdminUpdateRoleV4Unauthorized) Error

func (*AdminUpdateRoleV4Unauthorized) GetPayload

func (*AdminUpdateRoleV4Unauthorized) ToJSONString

func (o *AdminUpdateRoleV4Unauthorized) ToJSONString() string

type Client

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

Client for roles API

func (*Client) AddRoleManagers deprecated

Deprecated: 2022-08-10 - Use AddRoleManagersShort instead.

AddRoleManagers add role managers

## The endpoint is going to be deprecated

Required permission 'ROLE:ADMIN [UPDATE]' or 'ADMIN:ROLE [UPDATE]'

Role can only be assigned to other users by the role's manager.

Endpoint migration guide

  • Substitute endpoint: /iam/v3/admin/roles/{roleId}/managers [POST]

func (*Client) AddRoleManagersShort

func (a *Client) AddRoleManagersShort(params *AddRoleManagersParams, authInfo runtime.ClientAuthInfoWriter) (*AddRoleManagersNoContent, error)

AddRoleManagersShort add role managers

## The endpoint is going to be deprecated

Required permission 'ROLE:ADMIN [UPDATE]' or 'ADMIN:ROLE [UPDATE]'

Role can only be assigned to other users by the role's manager.

Endpoint migration guide

  • Substitute endpoint: /iam/v3/admin/roles/{roleId}/managers [POST]

func (*Client) AddRoleMembers deprecated

Deprecated: 2022-08-10 - Use AddRoleMembersShort instead.

AddRoleMembers add role members

## The endpoint is going to be deprecated

Required permission 'ROLE:ADMIN [UPDATE]' or 'ADMIN:ROLE [UPDATE]'

Admin roles has its members listed in the role.

Role can only be assigned to other users by the role's manager.

Endpoint migration guide

  • Substitute endpoint: /iam/v3/admin/roles/{roleId}/members [POST]

func (*Client) AddRoleMembersShort

func (a *Client) AddRoleMembersShort(params *AddRoleMembersParams, authInfo runtime.ClientAuthInfoWriter) (*AddRoleMembersNoContent, error)

AddRoleMembersShort add role members

## The endpoint is going to be deprecated

Required permission 'ROLE:ADMIN [UPDATE]' or 'ADMIN:ROLE [UPDATE]'

Admin roles has its members listed in the role.

Role can only be assigned to other users by the role's manager.

Endpoint migration guide

  • Substitute endpoint: /iam/v3/admin/roles/{roleId}/members [POST]

func (*Client) AddRolePermission deprecated

Deprecated: 2022-08-10 - Use AddRolePermissionShort instead.

AddRolePermission add role permission

## The endpoint is going to be deprecated

Required permission 'ROLE:ADMIN [UPDATE]' Or 'ADMIN:ROLE [UPDATE]'

This endpoint will update existing permission (bitwise OR the action) if found one with same resource, otherwise it will append a new permission

Schedule contains cron string or date range (both are UTC, also in cron syntax) to indicate when a permission and action are in effect.

Both schedule types accepts quartz compatible cron syntax e.g. * * * * * * *.

In ranged schedule, first element will be start date, and second one will be end date

If schedule is set, the scheduled action must be valid too, that is between 1 to 15, inclusive

Syntax reference

Fields:

  1. Seconds: 0-59 * / , -

  2. Minutes: 0-59 * / , -

  3. Hours: 0-23 * / , -

  4. Day of month: 1-31 * / , - L W

  5. Month: 1-12 JAN-DEC * / , -

  6. Day of week: 0-6 SUN-SAT * / , - L #

  7. Year: 1970-2099 * / , -

Special characters:

  1. *: all values in the fields, e.g. * in seconds fields indicates every second

  2. /: increments of ranges, e.g. 3-59/15 in the minute field indicate the third minute of the hour and every 15 minutes thereafter

  3. ,: separate items of a list, e.g. MON,WED,FRI in day of week

  4. -: range, e.g. 2010-2018 indicates every year between 2010 and 2018, inclusive

  5. L: last, e.g. When used in the day-of-week field, it allows you to specify constructs such as "the last Friday" (5L) of a given month. In the day-of-month field, it specifies the last day of the month.

  6. W: business day, e.g. if you were to specify 15W as the value for the day-of-month field, the meaning is: "the nearest business day to the 15th of the month."

  7. #: must be followed by a number between one and five. It allows you to specify constructs such as "the second Friday" of a given month.

Endpoint migration guide

  • Substitute endpoint(update): /iam/v3/admin/roles/{roleId}/permissions [PUT]

  • Substitute endpoint(create): /iam/v3/admin/roles/{roleId}/permissions [POST]

func (*Client) AddRolePermissionShort

func (a *Client) AddRolePermissionShort(params *AddRolePermissionParams, authInfo runtime.ClientAuthInfoWriter) (*AddRolePermissionNoContent, error)

AddRolePermissionShort add role permission

## The endpoint is going to be deprecated

Required permission 'ROLE:ADMIN [UPDATE]' Or 'ADMIN:ROLE [UPDATE]'

This endpoint will update existing permission (bitwise OR the action) if found one with same resource, otherwise it will append a new permission

Schedule contains cron string or date range (both are UTC, also in cron syntax) to indicate when a permission and action are in effect.

Both schedule types accepts quartz compatible cron syntax e.g. * * * * * * *.

In ranged schedule, first element will be start date, and second one will be end date

If schedule is set, the scheduled action must be valid too, that is between 1 to 15, inclusive

Syntax reference

Fields:

  1. Seconds: 0-59 * / , -

  2. Minutes: 0-59 * / , -

  3. Hours: 0-23 * / , -

  4. Day of month: 1-31 * / , - L W

  5. Month: 1-12 JAN-DEC * / , -

  6. Day of week: 0-6 SUN-SAT * / , - L #

  7. Year: 1970-2099 * / , -

Special characters:

  1. *: all values in the fields, e.g. * in seconds fields indicates every second

  2. /: increments of ranges, e.g. 3-59/15 in the minute field indicate the third minute of the hour and every 15 minutes thereafter

  3. ,: separate items of a list, e.g. MON,WED,FRI in day of week

  4. -: range, e.g. 2010-2018 indicates every year between 2010 and 2018, inclusive

  5. L: last, e.g. When used in the day-of-week field, it allows you to specify constructs such as "the last Friday" (5L) of a given month. In the day-of-month field, it specifies the last day of the month.

  6. W: business day, e.g. if you were to specify 15W as the value for the day-of-month field, the meaning is: "the nearest business day to the 15th of the month."

  7. #: must be followed by a number between one and five. It allows you to specify constructs such as "the second Friday" of a given month.

Endpoint migration guide

  • Substitute endpoint(update): /iam/v3/admin/roles/{roleId}/permissions [PUT]

  • Substitute endpoint(create): /iam/v3/admin/roles/{roleId}/permissions [POST]

func (*Client) AdminAddRoleManagersV3 deprecated

Deprecated: 2022-08-10 - Use AdminAddRoleManagersV3Short instead.

AdminAddRoleManagersV3 add role managers

Role can only be assigned to other users by the role's manager.

Required permission 'ADMIN:ROLE [UPDATE]'

action code: 10408

func (*Client) AdminAddRoleManagersV3Short

func (a *Client) AdminAddRoleManagersV3Short(params *AdminAddRoleManagersV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminAddRoleManagersV3NoContent, error)

AdminAddRoleManagersV3Short add role managers

Role can only be assigned to other users by the role's manager.

Required permission 'ADMIN:ROLE [UPDATE]'

action code: 10408

func (*Client) AdminAddRoleMembersV3 deprecated

Deprecated: 2022-08-10 - Use AdminAddRoleMembersV3Short instead.

AdminAddRoleMembersV3 add role members

Required permission 'ADMIN:ROLE [UPDATE]'

Admin roles has its members listed in the role.

Role can only be assigned to other users by the role's manager.

action code: 10410

func (*Client) AdminAddRoleMembersV3Short

func (a *Client) AdminAddRoleMembersV3Short(params *AdminAddRoleMembersV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminAddRoleMembersV3NoContent, error)

AdminAddRoleMembersV3Short add role members

Required permission 'ADMIN:ROLE [UPDATE]'

Admin roles has its members listed in the role.

Role can only be assigned to other users by the role's manager.

action code: 10410

func (*Client) AdminAddRolePermissionsV3 deprecated

Deprecated: 2022-08-10 - Use AdminAddRolePermissionsV3Short instead.

AdminAddRolePermissionsV3 add role permissions

Required permission 'ADMIN:ROLE [UPDATE]'

This endpoint will ATTACH permission(s) into the role

action code: 10404

Schedule contains cron string or date range (both are UTC, also in cron syntax) to indicate when a permission and action are in effect.

Both schedule types accepts quartz compatible cron syntax e.g. * * * * * * *.

In ranged schedule, first element will be start date, and second one will be end date

If schedule is set, the scheduled action must be valid too, that is between 1 to 15, inclusive

Syntax reference

Fields:

  1. Seconds: 0-59 * / , -

  2. Minutes: 0-59 * / , -

  3. Hours: 0-23 * / , -

  4. Day of month: 1-31 * / , - L W

  5. Month: 1-12 JAN-DEC * / , -

  6. Day of week: 0-6 SUN-SAT * / , - L #

  7. Year: 1970-2099 * / , -

Special characters:

  1. *: all values in the fields, e.g. * in seconds fields indicates every second

  2. /: increments of ranges, e.g. 3-59/15 in the minute field indicate the third minute of the hour and every 15 minutes thereafter

  3. ,: separate items of a list, e.g. MON,WED,FRI in day of week

  4. -: range, e.g. 2010-2018 indicates every year between 2010 and 2018, inclusive

  5. L: last, e.g. When used in the day-of-week field, it allows you to specify constructs such as "the last Friday" (5L) of a given month. In the day-of-month field, it specifies the last day of the month.

  6. W: business day, e.g. if you were to specify 15W as the value for the day-of-month field, the meaning is: "the nearest business day to the 15th of the month."

  7. #: must be followed by a number between one and five. It allows you to specify constructs such as "the second Friday" of a given month.

func (*Client) AdminAddRolePermissionsV3Short

func (a *Client) AdminAddRolePermissionsV3Short(params *AdminAddRolePermissionsV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminAddRolePermissionsV3NoContent, error)

AdminAddRolePermissionsV3Short add role permissions

Required permission 'ADMIN:ROLE [UPDATE]'

This endpoint will ATTACH permission(s) into the role

action code: 10404

Schedule contains cron string or date range (both are UTC, also in cron syntax) to indicate when a permission and action are in effect.

Both schedule types accepts quartz compatible cron syntax e.g. * * * * * * *.

In ranged schedule, first element will be start date, and second one will be end date

If schedule is set, the scheduled action must be valid too, that is between 1 to 15, inclusive

Syntax reference

Fields:

  1. Seconds: 0-59 * / , -

  2. Minutes: 0-59 * / , -

  3. Hours: 0-23 * / , -

  4. Day of month: 1-31 * / , - L W

  5. Month: 1-12 JAN-DEC * / , -

  6. Day of week: 0-6 SUN-SAT * / , - L #

  7. Year: 1970-2099 * / , -

Special characters:

  1. *: all values in the fields, e.g. * in seconds fields indicates every second

  2. /: increments of ranges, e.g. 3-59/15 in the minute field indicate the third minute of the hour and every 15 minutes thereafter

  3. ,: separate items of a list, e.g. MON,WED,FRI in day of week

  4. -: range, e.g. 2010-2018 indicates every year between 2010 and 2018, inclusive

  5. L: last, e.g. When used in the day-of-week field, it allows you to specify constructs such as "the last Friday" (5L) of a given month. In the day-of-month field, it specifies the last day of the month.

  6. W: business day, e.g. if you were to specify 15W as the value for the day-of-month field, the meaning is: "the nearest business day to the 15th of the month."

  7. #: must be followed by a number between one and five. It allows you to specify constructs such as "the second Friday" of a given month.

func (*Client) AdminAddRolePermissionsV4 deprecated

Deprecated: 2022-08-10 - Use AdminAddRolePermissionsV4Short instead.

AdminAddRolePermissionsV4 add role permissions v4

Required permission 'ADMIN:ROLE [UPDATE]'

This endpoint will ATTACH permission(s) into the role

action code: 10404

Schedule contains cron string or date range (both are UTC, also in cron syntax) to indicate when a permission and action are in effect.

Both schedule types accepts quartz compatible cron syntax e.g. * * * * * * *.

In ranged schedule, first element will be start date, and second one will be end date

If schedule is set, the scheduled action must be valid too, that is between 1 to 15, inclusive

Syntax reference

Fields:

  1. Seconds: 0-59 * / , -

  2. Minutes: 0-59 * / , -

  3. Hours: 0-23 * / , -

  4. Day of month: 1-31 * / , - L W

  5. Month: 1-12 JAN-DEC * / , -

  6. Day of week: 0-6 SUN-SAT * / , - L #

  7. Year: 1970-2099 * / , -

Special characters:

  1. *: all values in the fields, e.g. * in seconds fields indicates every second

  2. /: increments of ranges, e.g. 3-59/15 in the minute field indicate the third minute of the hour and every 15 minutes thereafter

  3. ,: separate items of a list, e.g. MON,WED,FRI in day of week

  4. -: range, e.g. 2010-2018 indicates every year between 2010 and 2018, inclusive

  5. L: last, e.g. When used in the day-of-week field, it allows you to specify constructs such as "the last Friday" (5L) of a given month. In the day-of-month field, it specifies the last day of the month.

  6. W: business day, e.g. if you were to specify 15W as the value for the day-of-month field, the meaning is: "the nearest business day to the 15th of the month."

  7. #: must be followed by a number between one and five. It allows you to specify constructs such as "the second Friday" of a given month.

func (*Client) AdminAddRolePermissionsV4Short

func (a *Client) AdminAddRolePermissionsV4Short(params *AdminAddRolePermissionsV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminAddRolePermissionsV4OK, error)

AdminAddRolePermissionsV4Short add role permissions v4

Required permission 'ADMIN:ROLE [UPDATE]'

This endpoint will ATTACH permission(s) into the role

action code: 10404

Schedule contains cron string or date range (both are UTC, also in cron syntax) to indicate when a permission and action are in effect.

Both schedule types accepts quartz compatible cron syntax e.g. * * * * * * *.

In ranged schedule, first element will be start date, and second one will be end date

If schedule is set, the scheduled action must be valid too, that is between 1 to 15, inclusive

Syntax reference

Fields:

  1. Seconds: 0-59 * / , -

  2. Minutes: 0-59 * / , -

  3. Hours: 0-23 * / , -

  4. Day of month: 1-31 * / , - L W

  5. Month: 1-12 JAN-DEC * / , -

  6. Day of week: 0-6 SUN-SAT * / , - L #

  7. Year: 1970-2099 * / , -

Special characters:

  1. *: all values in the fields, e.g. * in seconds fields indicates every second

  2. /: increments of ranges, e.g. 3-59/15 in the minute field indicate the third minute of the hour and every 15 minutes thereafter

  3. ,: separate items of a list, e.g. MON,WED,FRI in day of week

  4. -: range, e.g. 2010-2018 indicates every year between 2010 and 2018, inclusive

  5. L: last, e.g. When used in the day-of-week field, it allows you to specify constructs such as "the last Friday" (5L) of a given month. In the day-of-month field, it specifies the last day of the month.

  6. W: business day, e.g. if you were to specify 15W as the value for the day-of-month field, the meaning is: "the nearest business day to the 15th of the month."

  7. #: must be followed by a number between one and five. It allows you to specify constructs such as "the second Friday" of a given month.

func (*Client) AdminAssignUserToRoleV4 deprecated

Deprecated: 2022-08-10 - Use AdminAssignUserToRoleV4Short instead.

AdminAssignUserToRoleV4 assign user to role Required permission ADMIN:ROLE [UPDATE]

Parameters: - userId: string (required) - namespace: string (user�s namespace) (required) - assignedNamespaces: array of string (namespaces to be assigned on role) (required)

action code: 10410

func (*Client) AdminAssignUserToRoleV4Short

func (a *Client) AdminAssignUserToRoleV4Short(params *AdminAssignUserToRoleV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminAssignUserToRoleV4Created, error)

AdminAssignUserToRoleV4Short assign user to role Required permission ADMIN:ROLE [UPDATE]

Parameters: - userId: string (required) - namespace: string (user�s namespace) (required) - assignedNamespaces: array of string (namespaces to be assigned on role) (required)

action code: 10410

func (*Client) AdminCreateRoleV3 deprecated

Deprecated: 2022-08-10 - Use AdminCreateRoleV3Short instead.

AdminCreateRoleV3 create role Required permission 'ADMIN:ROLE [CREATE]'

Create role request body: - roleName: specify role name, alphanumeric, cannot have special character (required) - permissions: specify the permission that this role have - managers: specify list of user that will act as the managers of this role - members: specify list of user that will act as the members of this role - adminRole: specify if role is for admin user (default false) - isWildcard: specify if role can be assigned to wildcard (*) namespace (default false) - deletable: specify if role can be deleted or not (default true)

action code: 10401

func (*Client) AdminCreateRoleV3Short

func (a *Client) AdminCreateRoleV3Short(params *AdminCreateRoleV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateRoleV3Created, error)

AdminCreateRoleV3Short create role Required permission 'ADMIN:ROLE [CREATE]'

Create role request body: - roleName: specify role name, alphanumeric, cannot have special character (required) - permissions: specify the permission that this role have - managers: specify list of user that will act as the managers of this role - members: specify list of user that will act as the members of this role - adminRole: specify if role is for admin user (default false) - isWildcard: specify if role can be assigned to wildcard (*) namespace (default false) - deletable: specify if role can be deleted or not (default true)

action code: 10401

func (*Client) AdminCreateRoleV4 deprecated

Deprecated: 2022-08-10 - Use AdminCreateRoleV4Short instead.

AdminCreateRoleV4 create role Required permission: ADMIN:ROLE [CREATE]

Create role request body: - roleName: specify role name, alphanumeric, cannot have special character (required) - adminRole: specify if role is for admin user (default false) - isWildcard: specify if role can be assigned to wildcard (*) namespace (default false) - deletable: specify if role can be deleted (default true)

action code: 10401

func (*Client) AdminCreateRoleV4Short

func (a *Client) AdminCreateRoleV4Short(params *AdminCreateRoleV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateRoleV4Created, error)

AdminCreateRoleV4Short create role Required permission: ADMIN:ROLE [CREATE]

Create role request body: - roleName: specify role name, alphanumeric, cannot have special character (required) - adminRole: specify if role is for admin user (default false) - isWildcard: specify if role can be assigned to wildcard (*) namespace (default false) - deletable: specify if role can be deleted (default true)

action code: 10401

func (*Client) AdminDeleteRolePermissionV3 deprecated

Deprecated: 2022-08-10 - Use AdminDeleteRolePermissionV3Short instead.

AdminDeleteRolePermissionV3 delete role permission Required permission 'ADMIN:ROLE [UPDATE]' action code: 10406

func (*Client) AdminDeleteRolePermissionV3Short

func (a *Client) AdminDeleteRolePermissionV3Short(params *AdminDeleteRolePermissionV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteRolePermissionV3NoContent, error)

AdminDeleteRolePermissionV3Short delete role permission Required permission 'ADMIN:ROLE [UPDATE]' action code: 10406

func (*Client) AdminDeleteRolePermissionsV3 deprecated

Deprecated: 2022-08-10 - Use AdminDeleteRolePermissionsV3Short instead.

AdminDeleteRolePermissionsV3 delete role Required permission 'ADMIN:ROLE [UPDATE]'

func (*Client) AdminDeleteRolePermissionsV3Short

func (a *Client) AdminDeleteRolePermissionsV3Short(params *AdminDeleteRolePermissionsV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteRolePermissionsV3NoContent, error)

AdminDeleteRolePermissionsV3Short delete role Required permission 'ADMIN:ROLE [UPDATE]'

func (*Client) AdminDeleteRolePermissionsV4 deprecated

Deprecated: 2022-08-10 - Use AdminDeleteRolePermissionsV4Short instead.

AdminDeleteRolePermissionsV4 delete role permission v4 Required permission ADMIN:ROLE [UPDATE]

func (*Client) AdminDeleteRolePermissionsV4Short

func (a *Client) AdminDeleteRolePermissionsV4Short(params *AdminDeleteRolePermissionsV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteRolePermissionsV4NoContent, error)

AdminDeleteRolePermissionsV4Short delete role permission v4 Required permission ADMIN:ROLE [UPDATE]

func (*Client) AdminDeleteRoleV3 deprecated

Deprecated: 2022-08-10 - Use AdminDeleteRoleV3Short instead.

AdminDeleteRoleV3 delete role Required permission ”ADMIN:ROLE [DELETE]” action code: 10403

func (*Client) AdminDeleteRoleV3Short

func (a *Client) AdminDeleteRoleV3Short(params *AdminDeleteRoleV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteRoleV3NoContent, error)

AdminDeleteRoleV3Short delete role Required permission ”ADMIN:ROLE [DELETE]” action code: 10403

func (*Client) AdminDeleteRoleV4 deprecated

Deprecated: 2022-08-10 - Use AdminDeleteRoleV4Short instead.

AdminDeleteRoleV4 delete role Required permission ADMIN:ROLE [DELETE]

Removes role ID from user's Roles and NamespaceRoles before deleting the role.

action code: 10403

func (*Client) AdminDeleteRoleV4Short

func (a *Client) AdminDeleteRoleV4Short(params *AdminDeleteRoleV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteRoleV4NoContent, error)

AdminDeleteRoleV4Short delete role Required permission ADMIN:ROLE [DELETE]

Removes role ID from user's Roles and NamespaceRoles before deleting the role.

action code: 10403

func (*Client) AdminGetRoleAdminStatusV3 deprecated

Deprecated: 2022-08-10 - Use AdminGetRoleAdminStatusV3Short instead.

AdminGetRoleAdminStatusV3 get role admin status

Required permission 'ADMIN:ROLE [READ]'

Admin roles has its members listed in the role.

action code: 10420

func (*Client) AdminGetRoleAdminStatusV3Short

func (a *Client) AdminGetRoleAdminStatusV3Short(params *AdminGetRoleAdminStatusV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetRoleAdminStatusV3OK, error)

AdminGetRoleAdminStatusV3Short get role admin status

Required permission 'ADMIN:ROLE [READ]'

Admin roles has its members listed in the role.

action code: 10420

func (*Client) AdminGetRoleManagersV3 deprecated

Deprecated: 2022-08-10 - Use AdminGetRoleManagersV3Short instead.

AdminGetRoleManagersV3 get role managers

Required permission 'ADMIN:ROLE [READ]'

Role can only be assigned to other users by the role's manager.

action code: 10415

func (*Client) AdminGetRoleManagersV3Short

func (a *Client) AdminGetRoleManagersV3Short(params *AdminGetRoleManagersV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetRoleManagersV3OK, error)

AdminGetRoleManagersV3Short get role managers

Required permission 'ADMIN:ROLE [READ]'

Role can only be assigned to other users by the role's manager.

action code: 10415

func (*Client) AdminGetRoleMembersV3 deprecated

Deprecated: 2022-08-10 - Use AdminGetRoleMembersV3Short instead.

AdminGetRoleMembersV3 get role members

Required permission 'ADMIN:ROLE [READ]'

Admin roles has its members listed in the role.

action code: 10416

func (*Client) AdminGetRoleMembersV3Short

func (a *Client) AdminGetRoleMembersV3Short(params *AdminGetRoleMembersV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetRoleMembersV3OK, error)

AdminGetRoleMembersV3Short get role members

Required permission 'ADMIN:ROLE [READ]'

Admin roles has its members listed in the role.

action code: 10416

func (*Client) AdminGetRoleV3 deprecated

Deprecated: 2022-08-10 - Use AdminGetRoleV3Short instead.

AdminGetRoleV3 get role Required permission 'ADMIN:ROLE [READ]'

action code: 10419

func (*Client) AdminGetRoleV3Short

func (a *Client) AdminGetRoleV3Short(params *AdminGetRoleV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetRoleV3OK, error)

AdminGetRoleV3Short get role Required permission 'ADMIN:ROLE [READ]'

action code: 10419

func (*Client) AdminGetRoleV4 deprecated

Deprecated: 2022-08-10 - Use AdminGetRoleV4Short instead.

AdminGetRoleV4 get role Required permission ADMIN:ROLE [READ]

action code: 10419

func (*Client) AdminGetRoleV4Short

func (a *Client) AdminGetRoleV4Short(params *AdminGetRoleV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetRoleV4OK, error)

AdminGetRoleV4Short get role Required permission ADMIN:ROLE [READ]

action code: 10419

func (*Client) AdminGetRolesV3 deprecated

Deprecated: 2022-08-10 - Use AdminGetRolesV3Short instead.

AdminGetRolesV3 get roles Required permission 'ADMIN:ROLE [READ]'

action code: 10414

func (*Client) AdminGetRolesV3Short

func (a *Client) AdminGetRolesV3Short(params *AdminGetRolesV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetRolesV3OK, error)

AdminGetRolesV3Short get roles Required permission 'ADMIN:ROLE [READ]'

action code: 10414

func (*Client) AdminGetRolesV4 deprecated

Deprecated: 2022-08-10 - Use AdminGetRolesV4Short instead.

AdminGetRolesV4 get roles Required permission ADMIN:ROLE [READ]

action code: 10414

func (*Client) AdminGetRolesV4Short

func (a *Client) AdminGetRolesV4Short(params *AdminGetRolesV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetRolesV4OK, error)

AdminGetRolesV4Short get roles Required permission ADMIN:ROLE [READ]

action code: 10414

func (*Client) AdminListAssignedUsersV4 deprecated

Deprecated: 2022-08-10 - Use AdminListAssignedUsersV4Short instead.

AdminListAssignedUsersV4 get role's assigned users Required permission ADMIN:ROLE [READ] Query all users that has the specified role. action code: 10416

func (*Client) AdminListAssignedUsersV4Short

func (a *Client) AdminListAssignedUsersV4Short(params *AdminListAssignedUsersV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminListAssignedUsersV4OK, error)

AdminListAssignedUsersV4Short get role's assigned users Required permission ADMIN:ROLE [READ] Query all users that has the specified role. action code: 10416

func (*Client) AdminRemoveRoleAdminV3 deprecated

Deprecated: 2022-08-10 - Use AdminRemoveRoleAdminV3Short instead.

AdminRemoveRoleAdminV3 remove role admin status

Required permission 'ADMIN:ROLE [UPDATE]'

code: 10413

func (*Client) AdminRemoveRoleAdminV3Short

func (a *Client) AdminRemoveRoleAdminV3Short(params *AdminRemoveRoleAdminV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminRemoveRoleAdminV3NoContent, error)

AdminRemoveRoleAdminV3Short remove role admin status

Required permission 'ADMIN:ROLE [UPDATE]'

code: 10413

func (*Client) AdminRemoveRoleManagersV3 deprecated

Deprecated: 2022-08-10 - Use AdminRemoveRoleManagersV3Short instead.

AdminRemoveRoleManagersV3 remove role managers

Required permission 'ADMIN:ROLE [UPDATE]'

Role can only be assigned to other users by the role's manager.

action code: 10409

func (*Client) AdminRemoveRoleManagersV3Short

func (a *Client) AdminRemoveRoleManagersV3Short(params *AdminRemoveRoleManagersV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminRemoveRoleManagersV3NoContent, error)

AdminRemoveRoleManagersV3Short remove role managers

Required permission 'ADMIN:ROLE [UPDATE]'

Role can only be assigned to other users by the role's manager.

action code: 10409

func (*Client) AdminRemoveRoleMembersV3 deprecated

Deprecated: 2022-08-10 - Use AdminRemoveRoleMembersV3Short instead.

AdminRemoveRoleMembersV3 remove role members

Required permission 'ADMIN:ROLE [UPDATE]'

Admin roles has its members listed in the role.

Role can only be assigned to other users by the role's manager.

action code: 10411

func (*Client) AdminRemoveRoleMembersV3Short

func (a *Client) AdminRemoveRoleMembersV3Short(params *AdminRemoveRoleMembersV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminRemoveRoleMembersV3NoContent, error)

AdminRemoveRoleMembersV3Short remove role members

Required permission 'ADMIN:ROLE [UPDATE]'

Admin roles has its members listed in the role.

Role can only be assigned to other users by the role's manager.

action code: 10411

func (*Client) AdminRevokeUserFromRoleV4 deprecated

Deprecated: 2022-08-10 - Use AdminRevokeUserFromRoleV4Short instead.

AdminRevokeUserFromRoleV4 revoke user from role Required permission ADMIN:ROLE [UPDATE]

Current implementation will revoke user from role in all assigned namespaces.

Parameters: - userId: string (required) - namespace: string (user�s namespace) (required)

action code: 10411

func (*Client) AdminRevokeUserFromRoleV4Short

func (a *Client) AdminRevokeUserFromRoleV4Short(params *AdminRevokeUserFromRoleV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminRevokeUserFromRoleV4NoContent, error)

AdminRevokeUserFromRoleV4Short revoke user from role Required permission ADMIN:ROLE [UPDATE]

Current implementation will revoke user from role in all assigned namespaces.

Parameters: - userId: string (required) - namespace: string (user�s namespace) (required)

action code: 10411

func (*Client) AdminUpdateAdminRoleStatusV3 deprecated

Deprecated: 2022-08-10 - Use AdminUpdateAdminRoleStatusV3Short instead.

AdminUpdateAdminRoleStatusV3 set role as admin role

Required permission 'ADMIN:ROLE [UPDATE]'

Admin roles has its members listed in the role.

Role can be set as admin role only when it has at least 1 manager.

action code: 10412

func (*Client) AdminUpdateAdminRoleStatusV3Short

func (a *Client) AdminUpdateAdminRoleStatusV3Short(params *AdminUpdateAdminRoleStatusV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateAdminRoleStatusV3NoContent, error)

AdminUpdateAdminRoleStatusV3Short set role as admin role

Required permission 'ADMIN:ROLE [UPDATE]'

Admin roles has its members listed in the role.

Role can be set as admin role only when it has at least 1 manager.

action code: 10412

func (*Client) AdminUpdateRolePermissionsV3 deprecated

Deprecated: 2022-08-10 - Use AdminUpdateRolePermissionsV3Short instead.

AdminUpdateRolePermissionsV3 update role permissions

Required permission 'ADMIN:ROLE [UPDATE]'

This endpoint will REPLACE role's permissions with the ones defined in body

action code: 10405

Schedule contains cron string or date range (both are UTC, also in cron syntax) to indicate when a permission and action are in effect.

Both schedule types accepts quartz compatible cron syntax e.g. * * * * * * *.

In ranged schedule, first element will be start date, and second one will be end date

If schedule is set, the scheduled action must be valid too, that is between 1 to 15, inclusive

Syntax reference

Fields:

  1. Seconds: 0-59 * / , -

  2. Minutes: 0-59 * / , -

  3. Hours: 0-23 * / , -

  4. Day of month: 1-31 * / , - L W

  5. Month: 1-12 JAN-DEC * / , -

  6. Day of week: 0-6 SUN-SAT * / , - L #

  7. Year: 1970-2099 * / , -

Special characters:

  1. *: all values in the fields, e.g. * in seconds fields indicates every second

  2. /: increments of ranges, e.g. 3-59/15 in the minute field indicate the third minute of the hour and every 15 minutes thereafter

  3. ,: separate items of a list, e.g. MON,WED,FRI in day of week

  4. -: range, e.g. 2010-2018 indicates every year between 2010 and 2018, inclusive

  5. L: last, e.g. When used in the day-of-week field, it allows you to specify constructs such as "the last Friday" (5L) of a given month. In the day-of-month field, it specifies the last day of the month.

  6. W: business day, e.g. if you were to specify 15W as the value for the day-of-month field, the meaning is: "the nearest business day to the 15th of the month."

  7. #: must be followed by a number between one and five. It allows you to specify constructs such as "the second Friday" of a given month.

func (*Client) AdminUpdateRolePermissionsV3Short

func (a *Client) AdminUpdateRolePermissionsV3Short(params *AdminUpdateRolePermissionsV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateRolePermissionsV3NoContent, error)

AdminUpdateRolePermissionsV3Short update role permissions

Required permission 'ADMIN:ROLE [UPDATE]'

This endpoint will REPLACE role's permissions with the ones defined in body

action code: 10405

Schedule contains cron string or date range (both are UTC, also in cron syntax) to indicate when a permission and action are in effect.

Both schedule types accepts quartz compatible cron syntax e.g. * * * * * * *.

In ranged schedule, first element will be start date, and second one will be end date

If schedule is set, the scheduled action must be valid too, that is between 1 to 15, inclusive

Syntax reference

Fields:

  1. Seconds: 0-59 * / , -

  2. Minutes: 0-59 * / , -

  3. Hours: 0-23 * / , -

  4. Day of month: 1-31 * / , - L W

  5. Month: 1-12 JAN-DEC * / , -

  6. Day of week: 0-6 SUN-SAT * / , - L #

  7. Year: 1970-2099 * / , -

Special characters:

  1. *: all values in the fields, e.g. * in seconds fields indicates every second

  2. /: increments of ranges, e.g. 3-59/15 in the minute field indicate the third minute of the hour and every 15 minutes thereafter

  3. ,: separate items of a list, e.g. MON,WED,FRI in day of week

  4. -: range, e.g. 2010-2018 indicates every year between 2010 and 2018, inclusive

  5. L: last, e.g. When used in the day-of-week field, it allows you to specify constructs such as "the last Friday" (5L) of a given month. In the day-of-month field, it specifies the last day of the month.

  6. W: business day, e.g. if you were to specify 15W as the value for the day-of-month field, the meaning is: "the nearest business day to the 15th of the month."

  7. #: must be followed by a number between one and five. It allows you to specify constructs such as "the second Friday" of a given month.

func (*Client) AdminUpdateRolePermissionsV4 deprecated

Deprecated: 2022-08-10 - Use AdminUpdateRolePermissionsV4Short instead.

AdminUpdateRolePermissionsV4 update role permissions

Required permission 'ADMIN:ROLE [UPDATE]'

This endpoint will REPLACE role's permissions with the ones defined in body

action code: 10405

Schedule contains cron string or date range (both are UTC, also in cron syntax) to indicate when a permission and action are in effect.

Both schedule types accepts quartz compatible cron syntax e.g. * * * * * * *.

In ranged schedule, first element will be start date, and second one will be end date

If schedule is set, the scheduled action must be valid too, that is between 1 to 15, inclusive

Syntax reference

Fields:

  1. Seconds: 0-59 * / , -

  2. Minutes: 0-59 * / , -

  3. Hours: 0-23 * / , -

  4. Day of month: 1-31 * / , - L W

  5. Month: 1-12 JAN-DEC * / , -

  6. Day of week: 0-6 SUN-SAT * / , - L #

  7. Year: 1970-2099 * / , -

Special characters:

  1. *: all values in the fields, e.g. * in seconds fields indicates every second

  2. /: increments of ranges, e.g. 3-59/15 in the minute field indicate the third minute of the hour and every 15 minutes thereafter

  3. ,: separate items of a list, e.g. MON,WED,FRI in day of week

  4. -: range, e.g. 2010-2018 indicates every year between 2010 and 2018, inclusive

  5. L: last, e.g. When used in the day-of-week field, it allows you to specify constructs such as "the last Friday" (5L) of a given month. In the day-of-month field, it specifies the last day of the month.

  6. W: business day, e.g. if you were to specify 15W as the value for the day-of-month field, the meaning is: "the nearest business day to the 15th of the month."

  7. #: must be followed by a number between one and five. It allows you to specify constructs such as "the second Friday" of a given month.

func (*Client) AdminUpdateRolePermissionsV4Short

func (a *Client) AdminUpdateRolePermissionsV4Short(params *AdminUpdateRolePermissionsV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateRolePermissionsV4OK, error)

AdminUpdateRolePermissionsV4Short update role permissions

Required permission 'ADMIN:ROLE [UPDATE]'

This endpoint will REPLACE role's permissions with the ones defined in body

action code: 10405

Schedule contains cron string or date range (both are UTC, also in cron syntax) to indicate when a permission and action are in effect.

Both schedule types accepts quartz compatible cron syntax e.g. * * * * * * *.

In ranged schedule, first element will be start date, and second one will be end date

If schedule is set, the scheduled action must be valid too, that is between 1 to 15, inclusive

Syntax reference

Fields:

  1. Seconds: 0-59 * / , -

  2. Minutes: 0-59 * / , -

  3. Hours: 0-23 * / , -

  4. Day of month: 1-31 * / , - L W

  5. Month: 1-12 JAN-DEC * / , -

  6. Day of week: 0-6 SUN-SAT * / , - L #

  7. Year: 1970-2099 * / , -

Special characters:

  1. *: all values in the fields, e.g. * in seconds fields indicates every second

  2. /: increments of ranges, e.g. 3-59/15 in the minute field indicate the third minute of the hour and every 15 minutes thereafter

  3. ,: separate items of a list, e.g. MON,WED,FRI in day of week

  4. -: range, e.g. 2010-2018 indicates every year between 2010 and 2018, inclusive

  5. L: last, e.g. When used in the day-of-week field, it allows you to specify constructs such as "the last Friday" (5L) of a given month. In the day-of-month field, it specifies the last day of the month.

  6. W: business day, e.g. if you were to specify 15W as the value for the day-of-month field, the meaning is: "the nearest business day to the 15th of the month."

  7. #: must be followed by a number between one and five. It allows you to specify constructs such as "the second Friday" of a given month.

func (*Client) AdminUpdateRoleV3 deprecated

Deprecated: 2022-08-10 - Use AdminUpdateRoleV3Short instead.

AdminUpdateRoleV3 update role Required permission 'ADMIN:ROLE [UPDATE]'

Update role request body: - roleName: specify role name, alphanumeric, cannot have special character (required) - isWildcard: specify if role can be assigned to wildcard (*) namespace (default false) - deletable: specify if role can be deleted or not (optional)

action code: 10402

func (*Client) AdminUpdateRoleV3Short

func (a *Client) AdminUpdateRoleV3Short(params *AdminUpdateRoleV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateRoleV3OK, error)

AdminUpdateRoleV3Short update role Required permission 'ADMIN:ROLE [UPDATE]'

Update role request body: - roleName: specify role name, alphanumeric, cannot have special character (required) - isWildcard: specify if role can be assigned to wildcard (*) namespace (default false) - deletable: specify if role can be deleted or not (optional)

action code: 10402

func (*Client) AdminUpdateRoleV4 deprecated

Deprecated: 2022-08-10 - Use AdminUpdateRoleV4Short instead.

AdminUpdateRoleV4 update role Required permission ADMIN:ROLE [UPDATE]

Update role request body: - roleName: specify role name, alphanumeric, cannot have special character (required) - adminRole: specify if role is for admin user (default false) - isWildcard: specify if role can be assigned to wildcard (*) namespace (default false) - deletable: specify if role can be deleted (optional)

action code: 10402

func (*Client) AdminUpdateRoleV4Short

func (a *Client) AdminUpdateRoleV4Short(params *AdminUpdateRoleV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateRoleV4OK, error)

AdminUpdateRoleV4Short update role Required permission ADMIN:ROLE [UPDATE]

Update role request body: - roleName: specify role name, alphanumeric, cannot have special character (required) - adminRole: specify if role is for admin user (default false) - isWildcard: specify if role can be assigned to wildcard (*) namespace (default false) - deletable: specify if role can be deleted (optional)

action code: 10402

func (*Client) CreateRole deprecated

Deprecated: 2022-08-10 - Use CreateRoleShort instead.

CreateRole create role

## The endpoint is going to be deprecated

Required permission 'ROLE:ADMIN [CREATE]' or 'ADMIN:ROLE [CREATE]'

Role can only be assigned to other users by the role's manager.

If role is an administrator role (i.e. AdminRole == true), it will list out the role's members.

Administrator role can be created only when at least 1 manager is specified.

Endpoint migration guide

  • Substitute endpoint: /iam/v3/admin/roles [POST]

func (*Client) CreateRoleShort

func (a *Client) CreateRoleShort(params *CreateRoleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateRoleCreated, error)

CreateRoleShort create role

## The endpoint is going to be deprecated

Required permission 'ROLE:ADMIN [CREATE]' or 'ADMIN:ROLE [CREATE]'

Role can only be assigned to other users by the role's manager.

If role is an administrator role (i.e. AdminRole == true), it will list out the role's members.

Administrator role can be created only when at least 1 manager is specified.

Endpoint migration guide

  • Substitute endpoint: /iam/v3/admin/roles [POST]

func (*Client) DeleteRole deprecated

Deprecated: 2022-08-10 - Use DeleteRoleShort instead.

DeleteRole delete role

## The endpoint is going to be deprecated

Required permission 'ROLE:ADMIN [DELETE]' or 'ADMIN:ROLE [DELETE]' Endpoint migration guide

  • Substitute endpoint: /iam/v3/admin/roles/{roleId} [DELETE]

func (*Client) DeleteRolePermission deprecated

Deprecated: 2022-08-10 - Use DeleteRolePermissionShort instead.

DeleteRolePermission delete role permission

## The endpoint is going to be deprecated

Required permission 'ROLE:ADMIN [UPDATE]' or 'ADMIN:ROLE [UPDATE]' Endpoint migration guide

  • Substitute endpoint: /iam/v3/admin/roles/{roleId}/permissions/{resource}/{action} [DELETE]

  • Substitute endpoint: /iam/v4/admin/roles/{roleId}/permissions [DELETE]

func (*Client) DeleteRolePermissionShort

func (a *Client) DeleteRolePermissionShort(params *DeleteRolePermissionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRolePermissionNoContent, error)

DeleteRolePermissionShort delete role permission

## The endpoint is going to be deprecated

Required permission 'ROLE:ADMIN [UPDATE]' or 'ADMIN:ROLE [UPDATE]' Endpoint migration guide

  • Substitute endpoint: /iam/v3/admin/roles/{roleId}/permissions/{resource}/{action} [DELETE]

  • Substitute endpoint: /iam/v4/admin/roles/{roleId}/permissions [DELETE]

func (*Client) DeleteRoleShort

func (a *Client) DeleteRoleShort(params *DeleteRoleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRoleNoContent, error)

DeleteRoleShort delete role

## The endpoint is going to be deprecated

Required permission 'ROLE:ADMIN [DELETE]' or 'ADMIN:ROLE [DELETE]' Endpoint migration guide

  • Substitute endpoint: /iam/v3/admin/roles/{roleId} [DELETE]

func (*Client) GetRole deprecated

Deprecated: 2022-08-10 - Use GetRoleShort instead.

GetRole get role

## The endpoint is going to be deprecated

Required permission 'ROLE [READ]' Endpoint migration guide

  • Substitute endpoint: /iam/v3/admin/roles/{roleId} [GET]

func (*Client) GetRoleAdminStatus deprecated

Deprecated: 2022-08-10 - Use GetRoleAdminStatusShort instead.

GetRoleAdminStatus get role admin status

## The endpoint is going to be deprecated

Required permission 'ROLE [READ]

Admin roles has its members listed in the role.

Endpoint migration guide

  • Substitute endpoint: /iam/v3/admin/roles/{roleId}/admin [GET]

func (*Client) GetRoleAdminStatusShort

func (a *Client) GetRoleAdminStatusShort(params *GetRoleAdminStatusParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleAdminStatusOK, error)

GetRoleAdminStatusShort get role admin status

## The endpoint is going to be deprecated

Required permission 'ROLE [READ]

Admin roles has its members listed in the role.

Endpoint migration guide

  • Substitute endpoint: /iam/v3/admin/roles/{roleId}/admin [GET]

func (*Client) GetRoleManagers deprecated

Deprecated: 2022-08-10 - Use GetRoleManagersShort instead.

GetRoleManagers get role managers

## The endpoint is going to be deprecated

Required permission 'ROLE [READ]'

Role can only be assigned to other users by the role's manager.

Endpoint migration guide

  • Substitute endpoint: /iam/v3/admin/roles/{roleId}/managers [GET]

func (*Client) GetRoleManagersShort

func (a *Client) GetRoleManagersShort(params *GetRoleManagersParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleManagersOK, error)

GetRoleManagersShort get role managers

## The endpoint is going to be deprecated

Required permission 'ROLE [READ]'

Role can only be assigned to other users by the role's manager.

Endpoint migration guide

  • Substitute endpoint: /iam/v3/admin/roles/{roleId}/managers [GET]

func (*Client) GetRoleMembers deprecated

Deprecated: 2022-08-10 - Use GetRoleMembersShort instead.

GetRoleMembers get role members

## The endpoint is going to be deprecated

Required permission 'ROLE [READ]' Endpoint migration guide

  • Substitute endpoint: /iam/v3/admin/roles/{roleId}/members [GET]

func (*Client) GetRoleMembersShort

func (a *Client) GetRoleMembersShort(params *GetRoleMembersParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleMembersOK, error)

GetRoleMembersShort get role members

## The endpoint is going to be deprecated

Required permission 'ROLE [READ]' Endpoint migration guide

  • Substitute endpoint: /iam/v3/admin/roles/{roleId}/members [GET]

func (*Client) GetRoleShort

func (a *Client) GetRoleShort(params *GetRoleParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleOK, error)

GetRoleShort get role

## The endpoint is going to be deprecated

Required permission 'ROLE [READ]' Endpoint migration guide

  • Substitute endpoint: /iam/v3/admin/roles/{roleId} [GET]

func (*Client) GetRoles deprecated

Deprecated: 2022-08-10 - Use GetRolesShort instead.

GetRoles get roles

## The endpoint is going to be deprecated

Required permission 'ROLE [READ]' Endpoint migration guide

  • Substitute endpoint: /iam/v3/admin/roles [GET]

func (*Client) GetRolesShort

func (a *Client) GetRolesShort(params *GetRolesParams, authInfo runtime.ClientAuthInfoWriter) (*GetRolesOK, error)

GetRolesShort get roles

## The endpoint is going to be deprecated

Required permission 'ROLE [READ]' Endpoint migration guide

  • Substitute endpoint: /iam/v3/admin/roles [GET]

func (*Client) PublicGetRoleV3 deprecated

Deprecated: 2022-08-10 - Use PublicGetRoleV3Short instead.

PublicGetRoleV3 get public role

This endpoint is used to get non-admin role based on specify roleId. action code : 10417

func (*Client) PublicGetRoleV3Short

func (a *Client) PublicGetRoleV3Short(params *PublicGetRoleV3Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetRoleV3OK, error)

PublicGetRoleV3Short get public role

This endpoint is used to get non-admin role based on specify roleId. action code : 10417

func (*Client) PublicGetRolesV3 deprecated

Deprecated: 2022-08-10 - Use PublicGetRolesV3Short instead.

PublicGetRolesV3 get roles

This endpoint is used to get all non-admin role.

action code: 10418

func (*Client) PublicGetRolesV3Short

func (a *Client) PublicGetRolesV3Short(params *PublicGetRolesV3Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetRolesV3OK, error)

PublicGetRolesV3Short get roles

This endpoint is used to get all non-admin role.

action code: 10418

func (*Client) RemoveRoleAdmin deprecated

Deprecated: 2022-08-10 - Use RemoveRoleAdminShort instead.

RemoveRoleAdmin remove role admin status

## The endpoint is going to be deprecated

Required permission 'ROLE:ADMIN [UPDATE]' or 'ADMIN:ROLE [UPDATE]' Endpoint migration guide

  • Substitute endpoint: /iam/v3/admin/roles/{roleId}/admin [DELETE]

func (*Client) RemoveRoleAdminShort

func (a *Client) RemoveRoleAdminShort(params *RemoveRoleAdminParams, authInfo runtime.ClientAuthInfoWriter) (*RemoveRoleAdminNoContent, error)

RemoveRoleAdminShort remove role admin status

## The endpoint is going to be deprecated

Required permission 'ROLE:ADMIN [UPDATE]' or 'ADMIN:ROLE [UPDATE]' Endpoint migration guide

  • Substitute endpoint: /iam/v3/admin/roles/{roleId}/admin [DELETE]

func (*Client) RemoveRoleManagers deprecated

Deprecated: 2022-08-10 - Use RemoveRoleManagersShort instead.

RemoveRoleManagers remove role managers

## The endpoint is going to be deprecated

Required permission Required permission 'ROLE:ADMIN [UPDATE]' or 'ADMIN:ROLE [UPDATE]' Endpoint migration guide

  • Substitute endpoint: /iam/v3/admin/roles/{roleId}/managers [DELETE]

func (*Client) RemoveRoleManagersShort

func (a *Client) RemoveRoleManagersShort(params *RemoveRoleManagersParams, authInfo runtime.ClientAuthInfoWriter) (*RemoveRoleManagersNoContent, error)

RemoveRoleManagersShort remove role managers

## The endpoint is going to be deprecated

Required permission Required permission 'ROLE:ADMIN [UPDATE]' or 'ADMIN:ROLE [UPDATE]' Endpoint migration guide

  • Substitute endpoint: /iam/v3/admin/roles/{roleId}/managers [DELETE]

func (*Client) RemoveRoleMembers deprecated

Deprecated: 2022-08-10 - Use RemoveRoleMembersShort instead.

RemoveRoleMembers remove role members

## The endpoint is going to be deprecated

Required permission 'ROLE:ADMIN [UPDATE]' or 'ADMIN:ROLE [UPDATE]' Endpoint migration guide

  • Substitute endpoint: /iam/v3/admin/roles/{roleId}/members [DELETE]

func (*Client) RemoveRoleMembersShort

func (a *Client) RemoveRoleMembersShort(params *RemoveRoleMembersParams, authInfo runtime.ClientAuthInfoWriter) (*RemoveRoleMembersNoContent, error)

RemoveRoleMembersShort remove role members

## The endpoint is going to be deprecated

Required permission 'ROLE:ADMIN [UPDATE]' or 'ADMIN:ROLE [UPDATE]' Endpoint migration guide

  • Substitute endpoint: /iam/v3/admin/roles/{roleId}/members [DELETE]

func (*Client) SetRoleAsAdmin deprecated

Deprecated: 2022-08-10 - Use SetRoleAsAdminShort instead.

SetRoleAsAdmin set role as admin role

## The endpoint is going to be deprecated

Required permission 'ROLE:ADMIN [UPDATE]' or 'ADMIN:ROLE [UPDATE]'

Admin roles has its members listed in the role.

Role can be set as admin role only when it has at least 1 manager.

Endpoint migration guide

  • Substitute endpoint: /iam/v3/admin/roles/{roleId}/admin [POST]

func (*Client) SetRoleAsAdminShort

func (a *Client) SetRoleAsAdminShort(params *SetRoleAsAdminParams, authInfo runtime.ClientAuthInfoWriter) (*SetRoleAsAdminNoContent, error)

SetRoleAsAdminShort set role as admin role

## The endpoint is going to be deprecated

Required permission 'ROLE:ADMIN [UPDATE]' or 'ADMIN:ROLE [UPDATE]'

Admin roles has its members listed in the role.

Role can be set as admin role only when it has at least 1 manager.

Endpoint migration guide

  • Substitute endpoint: /iam/v3/admin/roles/{roleId}/admin [POST]

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateRole deprecated

Deprecated: 2022-08-10 - Use UpdateRoleShort instead.

UpdateRole update role

## The endpoint is going to be deprecated

Required permission 'ROLE:ADMIN [UPDATE]' or 'ADMIN:ROLE [UPDATE] Endpoint migration guide

  • Substitute endpoint: /iam/v3/admin/roles/{roleId} [PATCH]

func (*Client) UpdateRolePermissions deprecated

Deprecated: 2022-08-10 - Use UpdateRolePermissionsShort instead.

UpdateRolePermissions update role permissions

## The endpoint is going to be deprecated

Required permission 'ROLE:ADMIN [UPDATE]' or 'ADMIN:ROLE [UPDATE]'

This endpoint will REPLACE role's permissions with the ones defined in body

Schedule contains cron string or date range (both are UTC, also in cron syntax) to indicate when a permission and action are in effect.

Both schedule types accepts quartz compatible cron syntax e.g. * * * * * * *.

In ranged schedule, first element will be start date, and second one will be end date

If schedule is set, the scheduled action must be valid too, that is between 1 to 15, inclusive

Syntax reference

Fields:

  1. Seconds: 0-59 * / , -

  2. Minutes: 0-59 * / , -

  3. Hours: 0-23 * / , -

  4. Day of month: 1-31 * / , - L W

  5. Month: 1-12 JAN-DEC * / , -

  6. Day of week: 0-6 SUN-SAT * / , - L #

  7. Year: 1970-2099 * / , -

Special characters:

  1. *: all values in the fields, e.g. * in seconds fields indicates every second

  2. /: increments of ranges, e.g. 3-59/15 in the minute field indicate the third minute of the hour and every 15 minutes thereafter

  3. ,: separate items of a list, e.g. MON,WED,FRI in day of week

  4. -: range, e.g. 2010-2018 indicates every year between 2010 and 2018, inclusive

  5. L: last, e.g. When used in the day-of-week field, it allows you to specify constructs such as "the last Friday" (5L) of a given month. In the day-of-month field, it specifies the last day of the month.

  6. W: business day, e.g. if you were to specify 15W as the value for the day-of-month field, the meaning is: "the nearest business day to the 15th of the month."

  7. #: must be followed by a number between one and five. It allows you to specify constructs such as "the second Friday" of a given month.

Endpoint migration guide

  • Substitute endpoint: /iam/v3/admin/roles/{roleId}/permissions [POST]

func (*Client) UpdateRolePermissionsShort

func (a *Client) UpdateRolePermissionsShort(params *UpdateRolePermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateRolePermissionsNoContent, error)

UpdateRolePermissionsShort update role permissions

## The endpoint is going to be deprecated

Required permission 'ROLE:ADMIN [UPDATE]' or 'ADMIN:ROLE [UPDATE]'

This endpoint will REPLACE role's permissions with the ones defined in body

Schedule contains cron string or date range (both are UTC, also in cron syntax) to indicate when a permission and action are in effect.

Both schedule types accepts quartz compatible cron syntax e.g. * * * * * * *.

In ranged schedule, first element will be start date, and second one will be end date

If schedule is set, the scheduled action must be valid too, that is between 1 to 15, inclusive

Syntax reference

Fields:

  1. Seconds: 0-59 * / , -

  2. Minutes: 0-59 * / , -

  3. Hours: 0-23 * / , -

  4. Day of month: 1-31 * / , - L W

  5. Month: 1-12 JAN-DEC * / , -

  6. Day of week: 0-6 SUN-SAT * / , - L #

  7. Year: 1970-2099 * / , -

Special characters:

  1. *: all values in the fields, e.g. * in seconds fields indicates every second

  2. /: increments of ranges, e.g. 3-59/15 in the minute field indicate the third minute of the hour and every 15 minutes thereafter

  3. ,: separate items of a list, e.g. MON,WED,FRI in day of week

  4. -: range, e.g. 2010-2018 indicates every year between 2010 and 2018, inclusive

  5. L: last, e.g. When used in the day-of-week field, it allows you to specify constructs such as "the last Friday" (5L) of a given month. In the day-of-month field, it specifies the last day of the month.

  6. W: business day, e.g. if you were to specify 15W as the value for the day-of-month field, the meaning is: "the nearest business day to the 15th of the month."

  7. #: must be followed by a number between one and five. It allows you to specify constructs such as "the second Friday" of a given month.

Endpoint migration guide

  • Substitute endpoint: /iam/v3/admin/roles/{roleId}/permissions [POST]

func (*Client) UpdateRoleShort

func (a *Client) UpdateRoleShort(params *UpdateRoleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateRoleOK, error)

UpdateRoleShort update role

## The endpoint is going to be deprecated

Required permission 'ROLE:ADMIN [UPDATE]' or 'ADMIN:ROLE [UPDATE] Endpoint migration guide

  • Substitute endpoint: /iam/v3/admin/roles/{roleId} [PATCH]

type ClientService

type ClientService interface {
	GetRoles(params *GetRolesParams, authInfo runtime.ClientAuthInfoWriter) (*GetRolesOK, *GetRolesUnauthorized, *GetRolesForbidden, error)
	GetRolesShort(params *GetRolesParams, authInfo runtime.ClientAuthInfoWriter) (*GetRolesOK, error)
	CreateRole(params *CreateRoleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateRoleCreated, *CreateRoleBadRequest, *CreateRoleUnauthorized, *CreateRoleForbidden, error)
	CreateRoleShort(params *CreateRoleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateRoleCreated, error)
	GetRole(params *GetRoleParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleOK, *GetRoleUnauthorized, *GetRoleForbidden, *GetRoleNotFound, error)
	GetRoleShort(params *GetRoleParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleOK, error)
	UpdateRole(params *UpdateRoleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateRoleOK, *UpdateRoleBadRequest, *UpdateRoleUnauthorized, *UpdateRoleForbidden, *UpdateRoleNotFound, error)
	UpdateRoleShort(params *UpdateRoleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateRoleOK, error)
	DeleteRole(params *DeleteRoleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRoleNoContent, *DeleteRoleUnauthorized, *DeleteRoleForbidden, *DeleteRoleNotFound, error)
	DeleteRoleShort(params *DeleteRoleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRoleNoContent, error)
	GetRoleAdminStatus(params *GetRoleAdminStatusParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleAdminStatusOK, *GetRoleAdminStatusBadRequest, *GetRoleAdminStatusUnauthorized, *GetRoleAdminStatusForbidden, *GetRoleAdminStatusNotFound, error)
	GetRoleAdminStatusShort(params *GetRoleAdminStatusParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleAdminStatusOK, error)
	SetRoleAsAdmin(params *SetRoleAsAdminParams, authInfo runtime.ClientAuthInfoWriter) (*SetRoleAsAdminNoContent, *SetRoleAsAdminBadRequest, *SetRoleAsAdminUnauthorized, *SetRoleAsAdminForbidden, *SetRoleAsAdminNotFound, error)
	SetRoleAsAdminShort(params *SetRoleAsAdminParams, authInfo runtime.ClientAuthInfoWriter) (*SetRoleAsAdminNoContent, error)
	RemoveRoleAdmin(params *RemoveRoleAdminParams, authInfo runtime.ClientAuthInfoWriter) (*RemoveRoleAdminNoContent, *RemoveRoleAdminBadRequest, *RemoveRoleAdminUnauthorized, *RemoveRoleAdminForbidden, *RemoveRoleAdminNotFound, error)
	RemoveRoleAdminShort(params *RemoveRoleAdminParams, authInfo runtime.ClientAuthInfoWriter) (*RemoveRoleAdminNoContent, error)
	GetRoleManagers(params *GetRoleManagersParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleManagersOK, *GetRoleManagersBadRequest, *GetRoleManagersUnauthorized, *GetRoleManagersForbidden, *GetRoleManagersNotFound, error)
	GetRoleManagersShort(params *GetRoleManagersParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleManagersOK, error)
	AddRoleManagers(params *AddRoleManagersParams, authInfo runtime.ClientAuthInfoWriter) (*AddRoleManagersNoContent, *AddRoleManagersBadRequest, *AddRoleManagersUnauthorized, *AddRoleManagersForbidden, *AddRoleManagersNotFound, error)
	AddRoleManagersShort(params *AddRoleManagersParams, authInfo runtime.ClientAuthInfoWriter) (*AddRoleManagersNoContent, error)
	RemoveRoleManagers(params *RemoveRoleManagersParams, authInfo runtime.ClientAuthInfoWriter) (*RemoveRoleManagersNoContent, *RemoveRoleManagersBadRequest, *RemoveRoleManagersUnauthorized, *RemoveRoleManagersForbidden, *RemoveRoleManagersNotFound, error)
	RemoveRoleManagersShort(params *RemoveRoleManagersParams, authInfo runtime.ClientAuthInfoWriter) (*RemoveRoleManagersNoContent, error)
	GetRoleMembers(params *GetRoleMembersParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleMembersOK, *GetRoleMembersBadRequest, *GetRoleMembersUnauthorized, *GetRoleMembersForbidden, *GetRoleMembersNotFound, error)
	GetRoleMembersShort(params *GetRoleMembersParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleMembersOK, error)
	AddRoleMembers(params *AddRoleMembersParams, authInfo runtime.ClientAuthInfoWriter) (*AddRoleMembersNoContent, *AddRoleMembersBadRequest, *AddRoleMembersUnauthorized, *AddRoleMembersForbidden, *AddRoleMembersNotFound, error)
	AddRoleMembersShort(params *AddRoleMembersParams, authInfo runtime.ClientAuthInfoWriter) (*AddRoleMembersNoContent, error)
	RemoveRoleMembers(params *RemoveRoleMembersParams, authInfo runtime.ClientAuthInfoWriter) (*RemoveRoleMembersNoContent, *RemoveRoleMembersBadRequest, *RemoveRoleMembersUnauthorized, *RemoveRoleMembersForbidden, *RemoveRoleMembersNotFound, error)
	RemoveRoleMembersShort(params *RemoveRoleMembersParams, authInfo runtime.ClientAuthInfoWriter) (*RemoveRoleMembersNoContent, error)
	UpdateRolePermissions(params *UpdateRolePermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateRolePermissionsNoContent, *UpdateRolePermissionsBadRequest, *UpdateRolePermissionsUnauthorized, *UpdateRolePermissionsForbidden, *UpdateRolePermissionsNotFound, error)
	UpdateRolePermissionsShort(params *UpdateRolePermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateRolePermissionsNoContent, error)
	AddRolePermission(params *AddRolePermissionParams, authInfo runtime.ClientAuthInfoWriter) (*AddRolePermissionNoContent, *AddRolePermissionBadRequest, *AddRolePermissionUnauthorized, *AddRolePermissionForbidden, *AddRolePermissionNotFound, error)
	AddRolePermissionShort(params *AddRolePermissionParams, authInfo runtime.ClientAuthInfoWriter) (*AddRolePermissionNoContent, error)
	DeleteRolePermission(params *DeleteRolePermissionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRolePermissionNoContent, *DeleteRolePermissionBadRequest, *DeleteRolePermissionUnauthorized, *DeleteRolePermissionForbidden, *DeleteRolePermissionNotFound, error)
	DeleteRolePermissionShort(params *DeleteRolePermissionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRolePermissionNoContent, error)
	AdminGetRolesV3(params *AdminGetRolesV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetRolesV3OK, *AdminGetRolesV3BadRequest, *AdminGetRolesV3Unauthorized, *AdminGetRolesV3Forbidden, *AdminGetRolesV3InternalServerError, error)
	AdminGetRolesV3Short(params *AdminGetRolesV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetRolesV3OK, error)
	AdminCreateRoleV3(params *AdminCreateRoleV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateRoleV3Created, *AdminCreateRoleV3BadRequest, *AdminCreateRoleV3Unauthorized, *AdminCreateRoleV3Forbidden, *AdminCreateRoleV3InternalServerError, error)
	AdminCreateRoleV3Short(params *AdminCreateRoleV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateRoleV3Created, error)
	AdminGetRoleV3(params *AdminGetRoleV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetRoleV3OK, *AdminGetRoleV3BadRequest, *AdminGetRoleV3Unauthorized, *AdminGetRoleV3Forbidden, *AdminGetRoleV3NotFound, *AdminGetRoleV3InternalServerError, error)
	AdminGetRoleV3Short(params *AdminGetRoleV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetRoleV3OK, error)
	AdminDeleteRoleV3(params *AdminDeleteRoleV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteRoleV3NoContent, *AdminDeleteRoleV3BadRequest, *AdminDeleteRoleV3Unauthorized, *AdminDeleteRoleV3Forbidden, *AdminDeleteRoleV3NotFound, *AdminDeleteRoleV3Conflict, *AdminDeleteRoleV3InternalServerError, error)
	AdminDeleteRoleV3Short(params *AdminDeleteRoleV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteRoleV3NoContent, error)
	AdminUpdateRoleV3(params *AdminUpdateRoleV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateRoleV3OK, *AdminUpdateRoleV3BadRequest, *AdminUpdateRoleV3Unauthorized, *AdminUpdateRoleV3Forbidden, *AdminUpdateRoleV3NotFound, *AdminUpdateRoleV3InternalServerError, error)
	AdminUpdateRoleV3Short(params *AdminUpdateRoleV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateRoleV3OK, error)
	AdminGetRoleAdminStatusV3(params *AdminGetRoleAdminStatusV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetRoleAdminStatusV3OK, *AdminGetRoleAdminStatusV3BadRequest, *AdminGetRoleAdminStatusV3Unauthorized, *AdminGetRoleAdminStatusV3Forbidden, *AdminGetRoleAdminStatusV3NotFound, *AdminGetRoleAdminStatusV3InternalServerError, error)
	AdminGetRoleAdminStatusV3Short(params *AdminGetRoleAdminStatusV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetRoleAdminStatusV3OK, error)
	AdminUpdateAdminRoleStatusV3(params *AdminUpdateAdminRoleStatusV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateAdminRoleStatusV3NoContent, *AdminUpdateAdminRoleStatusV3BadRequest, *AdminUpdateAdminRoleStatusV3Unauthorized, *AdminUpdateAdminRoleStatusV3Forbidden, *AdminUpdateAdminRoleStatusV3NotFound, *AdminUpdateAdminRoleStatusV3InternalServerError, error)
	AdminUpdateAdminRoleStatusV3Short(params *AdminUpdateAdminRoleStatusV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateAdminRoleStatusV3NoContent, error)
	AdminRemoveRoleAdminV3(params *AdminRemoveRoleAdminV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminRemoveRoleAdminV3NoContent, *AdminRemoveRoleAdminV3BadRequest, *AdminRemoveRoleAdminV3Unauthorized, *AdminRemoveRoleAdminV3Forbidden, *AdminRemoveRoleAdminV3NotFound, *AdminRemoveRoleAdminV3InternalServerError, error)
	AdminRemoveRoleAdminV3Short(params *AdminRemoveRoleAdminV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminRemoveRoleAdminV3NoContent, error)
	AdminGetRoleManagersV3(params *AdminGetRoleManagersV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetRoleManagersV3OK, *AdminGetRoleManagersV3BadRequest, *AdminGetRoleManagersV3Unauthorized, *AdminGetRoleManagersV3Forbidden, *AdminGetRoleManagersV3NotFound, *AdminGetRoleManagersV3InternalServerError, error)
	AdminGetRoleManagersV3Short(params *AdminGetRoleManagersV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetRoleManagersV3OK, error)
	AdminAddRoleManagersV3(params *AdminAddRoleManagersV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminAddRoleManagersV3NoContent, *AdminAddRoleManagersV3BadRequest, *AdminAddRoleManagersV3Unauthorized, *AdminAddRoleManagersV3Forbidden, *AdminAddRoleManagersV3NotFound, *AdminAddRoleManagersV3Conflict, error)
	AdminAddRoleManagersV3Short(params *AdminAddRoleManagersV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminAddRoleManagersV3NoContent, error)
	AdminRemoveRoleManagersV3(params *AdminRemoveRoleManagersV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminRemoveRoleManagersV3NoContent, *AdminRemoveRoleManagersV3BadRequest, *AdminRemoveRoleManagersV3Unauthorized, *AdminRemoveRoleManagersV3Forbidden, *AdminRemoveRoleManagersV3NotFound, *AdminRemoveRoleManagersV3InternalServerError, error)
	AdminRemoveRoleManagersV3Short(params *AdminRemoveRoleManagersV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminRemoveRoleManagersV3NoContent, error)
	AdminGetRoleMembersV3(params *AdminGetRoleMembersV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetRoleMembersV3OK, *AdminGetRoleMembersV3BadRequest, *AdminGetRoleMembersV3Unauthorized, *AdminGetRoleMembersV3Forbidden, *AdminGetRoleMembersV3NotFound, *AdminGetRoleMembersV3InternalServerError, error)
	AdminGetRoleMembersV3Short(params *AdminGetRoleMembersV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetRoleMembersV3OK, error)
	AdminAddRoleMembersV3(params *AdminAddRoleMembersV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminAddRoleMembersV3NoContent, *AdminAddRoleMembersV3BadRequest, *AdminAddRoleMembersV3Unauthorized, *AdminAddRoleMembersV3Forbidden, *AdminAddRoleMembersV3NotFound, *AdminAddRoleMembersV3Conflict, *AdminAddRoleMembersV3InternalServerError, error)
	AdminAddRoleMembersV3Short(params *AdminAddRoleMembersV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminAddRoleMembersV3NoContent, error)
	AdminRemoveRoleMembersV3(params *AdminRemoveRoleMembersV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminRemoveRoleMembersV3NoContent, *AdminRemoveRoleMembersV3BadRequest, *AdminRemoveRoleMembersV3Unauthorized, *AdminRemoveRoleMembersV3Forbidden, *AdminRemoveRoleMembersV3NotFound, *AdminRemoveRoleMembersV3InternalServerError, error)
	AdminRemoveRoleMembersV3Short(params *AdminRemoveRoleMembersV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminRemoveRoleMembersV3NoContent, error)
	AdminUpdateRolePermissionsV3(params *AdminUpdateRolePermissionsV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateRolePermissionsV3NoContent, *AdminUpdateRolePermissionsV3BadRequest, *AdminUpdateRolePermissionsV3Unauthorized, *AdminUpdateRolePermissionsV3Forbidden, *AdminUpdateRolePermissionsV3NotFound, *AdminUpdateRolePermissionsV3InternalServerError, error)
	AdminUpdateRolePermissionsV3Short(params *AdminUpdateRolePermissionsV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateRolePermissionsV3NoContent, error)
	AdminAddRolePermissionsV3(params *AdminAddRolePermissionsV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminAddRolePermissionsV3NoContent, *AdminAddRolePermissionsV3BadRequest, *AdminAddRolePermissionsV3Unauthorized, *AdminAddRolePermissionsV3Forbidden, *AdminAddRolePermissionsV3NotFound, *AdminAddRolePermissionsV3InternalServerError, error)
	AdminAddRolePermissionsV3Short(params *AdminAddRolePermissionsV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminAddRolePermissionsV3NoContent, error)
	AdminDeleteRolePermissionsV3(params *AdminDeleteRolePermissionsV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteRolePermissionsV3NoContent, *AdminDeleteRolePermissionsV3Unauthorized, *AdminDeleteRolePermissionsV3Forbidden, *AdminDeleteRolePermissionsV3NotFound, error)
	AdminDeleteRolePermissionsV3Short(params *AdminDeleteRolePermissionsV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteRolePermissionsV3NoContent, error)
	AdminDeleteRolePermissionV3(params *AdminDeleteRolePermissionV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteRolePermissionV3NoContent, *AdminDeleteRolePermissionV3BadRequest, *AdminDeleteRolePermissionV3Unauthorized, *AdminDeleteRolePermissionV3Forbidden, *AdminDeleteRolePermissionV3NotFound, *AdminDeleteRolePermissionV3InternalServerError, error)
	AdminDeleteRolePermissionV3Short(params *AdminDeleteRolePermissionV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteRolePermissionV3NoContent, error)
	PublicGetRolesV3(params *PublicGetRolesV3Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetRolesV3OK, *PublicGetRolesV3BadRequest, error)
	PublicGetRolesV3Short(params *PublicGetRolesV3Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetRolesV3OK, error)
	PublicGetRoleV3(params *PublicGetRoleV3Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetRoleV3OK, *PublicGetRoleV3BadRequest, *PublicGetRoleV3NotFound, error)
	PublicGetRoleV3Short(params *PublicGetRoleV3Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetRoleV3OK, error)
	AdminGetRolesV4(params *AdminGetRolesV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetRolesV4OK, *AdminGetRolesV4BadRequest, *AdminGetRolesV4Unauthorized, *AdminGetRolesV4Forbidden, *AdminGetRolesV4InternalServerError, error)
	AdminGetRolesV4Short(params *AdminGetRolesV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetRolesV4OK, error)
	AdminCreateRoleV4(params *AdminCreateRoleV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateRoleV4Created, *AdminCreateRoleV4BadRequest, *AdminCreateRoleV4Unauthorized, *AdminCreateRoleV4Forbidden, *AdminCreateRoleV4InternalServerError, error)
	AdminCreateRoleV4Short(params *AdminCreateRoleV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateRoleV4Created, error)
	AdminGetRoleV4(params *AdminGetRoleV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetRoleV4OK, *AdminGetRoleV4BadRequest, *AdminGetRoleV4Unauthorized, *AdminGetRoleV4Forbidden, *AdminGetRoleV4NotFound, *AdminGetRoleV4InternalServerError, error)
	AdminGetRoleV4Short(params *AdminGetRoleV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetRoleV4OK, error)
	AdminDeleteRoleV4(params *AdminDeleteRoleV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteRoleV4NoContent, *AdminDeleteRoleV4BadRequest, *AdminDeleteRoleV4Unauthorized, *AdminDeleteRoleV4Forbidden, *AdminDeleteRoleV4NotFound, *AdminDeleteRoleV4InternalServerError, error)
	AdminDeleteRoleV4Short(params *AdminDeleteRoleV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteRoleV4NoContent, error)
	AdminUpdateRoleV4(params *AdminUpdateRoleV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateRoleV4OK, *AdminUpdateRoleV4BadRequest, *AdminUpdateRoleV4Unauthorized, *AdminUpdateRoleV4Forbidden, *AdminUpdateRoleV4NotFound, error)
	AdminUpdateRoleV4Short(params *AdminUpdateRoleV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateRoleV4OK, error)
	AdminUpdateRolePermissionsV4(params *AdminUpdateRolePermissionsV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateRolePermissionsV4OK, *AdminUpdateRolePermissionsV4BadRequest, *AdminUpdateRolePermissionsV4Unauthorized, *AdminUpdateRolePermissionsV4Forbidden, *AdminUpdateRolePermissionsV4NotFound, error)
	AdminUpdateRolePermissionsV4Short(params *AdminUpdateRolePermissionsV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateRolePermissionsV4OK, error)
	AdminAddRolePermissionsV4(params *AdminAddRolePermissionsV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminAddRolePermissionsV4OK, *AdminAddRolePermissionsV4BadRequest, *AdminAddRolePermissionsV4Unauthorized, *AdminAddRolePermissionsV4Forbidden, *AdminAddRolePermissionsV4NotFound, error)
	AdminAddRolePermissionsV4Short(params *AdminAddRolePermissionsV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminAddRolePermissionsV4OK, error)
	AdminDeleteRolePermissionsV4(params *AdminDeleteRolePermissionsV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteRolePermissionsV4NoContent, *AdminDeleteRolePermissionsV4Unauthorized, *AdminDeleteRolePermissionsV4Forbidden, *AdminDeleteRolePermissionsV4NotFound, error)
	AdminDeleteRolePermissionsV4Short(params *AdminDeleteRolePermissionsV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteRolePermissionsV4NoContent, error)
	AdminListAssignedUsersV4(params *AdminListAssignedUsersV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminListAssignedUsersV4OK, *AdminListAssignedUsersV4BadRequest, *AdminListAssignedUsersV4Unauthorized, *AdminListAssignedUsersV4Forbidden, *AdminListAssignedUsersV4NotFound, error)
	AdminListAssignedUsersV4Short(params *AdminListAssignedUsersV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminListAssignedUsersV4OK, error)
	AdminAssignUserToRoleV4(params *AdminAssignUserToRoleV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminAssignUserToRoleV4Created, *AdminAssignUserToRoleV4BadRequest, *AdminAssignUserToRoleV4Unauthorized, *AdminAssignUserToRoleV4Forbidden, *AdminAssignUserToRoleV4NotFound, *AdminAssignUserToRoleV4Conflict, *AdminAssignUserToRoleV4UnprocessableEntity, error)
	AdminAssignUserToRoleV4Short(params *AdminAssignUserToRoleV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminAssignUserToRoleV4Created, error)
	AdminRevokeUserFromRoleV4(params *AdminRevokeUserFromRoleV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminRevokeUserFromRoleV4NoContent, *AdminRevokeUserFromRoleV4BadRequest, *AdminRevokeUserFromRoleV4Unauthorized, *AdminRevokeUserFromRoleV4Forbidden, *AdminRevokeUserFromRoleV4NotFound, error)
	AdminRevokeUserFromRoleV4Short(params *AdminRevokeUserFromRoleV4Params, authInfo runtime.ClientAuthInfoWriter) (*AdminRevokeUserFromRoleV4NoContent, 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

type CreateRoleBadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

CreateRoleBadRequest handles this case with default header values.

Invalid 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 (*CreateRoleBadRequest) ToJSONString

func (o *CreateRoleBadRequest) ToJSONString() string

type CreateRoleCreated

type CreateRoleCreated struct {
	Payload *iamclientmodels.AccountcommonRole
}

CreateRoleCreated handles this case with default header values.

Created

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 (*CreateRoleCreated) ToJSONString

func (o *CreateRoleCreated) ToJSONString() string

type CreateRoleForbidden

type CreateRoleForbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

CreateRoleForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

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 (*CreateRoleForbidden) ToJSONString

func (o *CreateRoleForbidden) ToJSONString() string

type CreateRoleParams

type CreateRoleParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *iamclientmodels.ModelRoleCreateRequest

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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 values initialized.

func NewCreateRoleParamsWithContext

func NewCreateRoleParamsWithContext(ctx context.Context) *CreateRoleParams

NewCreateRoleParamsWithContext creates a new CreateRoleParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*CreateRoleParams) SetAuthInfoWriter

func (o *CreateRoleParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the create role params

func (*CreateRoleParams) SetBody

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) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create role params

func (*CreateRoleParams) SetHTTPClientTransport

func (o *CreateRoleParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport 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

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) 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 {
	Payload *iamclientmodels.RestErrorResponse
}

CreateRoleUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

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 (*CreateRoleUnauthorized) ToJSONString

func (o *CreateRoleUnauthorized) ToJSONString() string

type DeleteRoleForbidden

type DeleteRoleForbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

DeleteRoleForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

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 (*DeleteRoleForbidden) ToJSONString

func (o *DeleteRoleForbidden) ToJSONString() string

type DeleteRoleNoContent

type DeleteRoleNoContent struct {
}

DeleteRoleNoContent handles this case with default header values.

Operation succeeded

func NewDeleteRoleNoContent

func NewDeleteRoleNoContent() *DeleteRoleNoContent

NewDeleteRoleNoContent creates a DeleteRoleNoContent with default headers values

func (*DeleteRoleNoContent) Error

func (o *DeleteRoleNoContent) Error() string

type DeleteRoleNotFound

type DeleteRoleNotFound struct {
}

DeleteRoleNotFound handles this case with default header values.

Data not found

func NewDeleteRoleNotFound

func NewDeleteRoleNotFound() *DeleteRoleNotFound

NewDeleteRoleNotFound creates a DeleteRoleNotFound with default headers values

func (*DeleteRoleNotFound) Error

func (o *DeleteRoleNotFound) Error() string

type DeleteRoleParams

type DeleteRoleParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*RoleID
	  Role id

	*/
	RoleID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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 values initialized.

func NewDeleteRoleParamsWithContext

func NewDeleteRoleParamsWithContext(ctx context.Context) *DeleteRoleParams

NewDeleteRoleParamsWithContext creates a new DeleteRoleParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*DeleteRoleParams) SetAuthInfoWriter

func (o *DeleteRoleParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the delete role params

func (*DeleteRoleParams) SetContext

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

SetContext adds the context 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) SetHTTPClientTransport

func (o *DeleteRoleParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the delete role params

func (*DeleteRoleParams) SetRoleID

func (o *DeleteRoleParams) SetRoleID(roleID string)

SetRoleID adds the roleId 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) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete role params

func (*DeleteRoleParams) WithRoleID

func (o *DeleteRoleParams) WithRoleID(roleID string) *DeleteRoleParams

WithRoleID adds the roleID 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 DeleteRolePermissionBadRequest

type DeleteRolePermissionBadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

DeleteRolePermissionBadRequest handles this case with default header values.

Invalid request

func NewDeleteRolePermissionBadRequest

func NewDeleteRolePermissionBadRequest() *DeleteRolePermissionBadRequest

NewDeleteRolePermissionBadRequest creates a DeleteRolePermissionBadRequest with default headers values

func (*DeleteRolePermissionBadRequest) Error

func (*DeleteRolePermissionBadRequest) GetPayload

func (*DeleteRolePermissionBadRequest) ToJSONString

func (o *DeleteRolePermissionBadRequest) ToJSONString() string

type DeleteRolePermissionForbidden

type DeleteRolePermissionForbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

DeleteRolePermissionForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewDeleteRolePermissionForbidden

func NewDeleteRolePermissionForbidden() *DeleteRolePermissionForbidden

NewDeleteRolePermissionForbidden creates a DeleteRolePermissionForbidden with default headers values

func (*DeleteRolePermissionForbidden) Error

func (*DeleteRolePermissionForbidden) GetPayload

func (*DeleteRolePermissionForbidden) ToJSONString

func (o *DeleteRolePermissionForbidden) ToJSONString() string

type DeleteRolePermissionNoContent

type DeleteRolePermissionNoContent struct {
}

DeleteRolePermissionNoContent handles this case with default header values.

Operation succeeded

func NewDeleteRolePermissionNoContent

func NewDeleteRolePermissionNoContent() *DeleteRolePermissionNoContent

NewDeleteRolePermissionNoContent creates a DeleteRolePermissionNoContent with default headers values

func (*DeleteRolePermissionNoContent) Error

type DeleteRolePermissionNotFound

type DeleteRolePermissionNotFound struct {
}

DeleteRolePermissionNotFound handles this case with default header values.

Data not found

func NewDeleteRolePermissionNotFound

func NewDeleteRolePermissionNotFound() *DeleteRolePermissionNotFound

NewDeleteRolePermissionNotFound creates a DeleteRolePermissionNotFound with default headers values

func (*DeleteRolePermissionNotFound) Error

type DeleteRolePermissionParams

type DeleteRolePermissionParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Action
	  Action

	*/
	Action int64
	/*Resource
	  Resource Name

	*/
	Resource string
	/*RoleID
	  Role id

	*/
	RoleID string

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

DeleteRolePermissionParams contains all the parameters to send to the API endpoint for the delete role permission operation typically these are written to a http.Request

func NewDeleteRolePermissionParams

func NewDeleteRolePermissionParams() *DeleteRolePermissionParams

NewDeleteRolePermissionParams creates a new DeleteRolePermissionParams object with the default values initialized.

func NewDeleteRolePermissionParamsWithContext

func NewDeleteRolePermissionParamsWithContext(ctx context.Context) *DeleteRolePermissionParams

NewDeleteRolePermissionParamsWithContext creates a new DeleteRolePermissionParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteRolePermissionParamsWithHTTPClient

func NewDeleteRolePermissionParamsWithHTTPClient(client *http.Client) *DeleteRolePermissionParams

NewDeleteRolePermissionParamsWithHTTPClient creates a new DeleteRolePermissionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteRolePermissionParamsWithTimeout

func NewDeleteRolePermissionParamsWithTimeout(timeout time.Duration) *DeleteRolePermissionParams

NewDeleteRolePermissionParamsWithTimeout creates a new DeleteRolePermissionParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteRolePermissionParams) SetAction

func (o *DeleteRolePermissionParams) SetAction(action int64)

SetAction adds the action to the delete role permission params

func (*DeleteRolePermissionParams) SetAuthInfoWriter

func (o *DeleteRolePermissionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the delete role permission params

func (*DeleteRolePermissionParams) SetContext

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

SetContext adds the context to the delete role permission params

func (*DeleteRolePermissionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete role permission params

func (*DeleteRolePermissionParams) SetHTTPClientTransport

func (o *DeleteRolePermissionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the delete role permission params

func (*DeleteRolePermissionParams) SetResource

func (o *DeleteRolePermissionParams) SetResource(resource string)

SetResource adds the resource to the delete role permission params

func (*DeleteRolePermissionParams) SetRoleID

func (o *DeleteRolePermissionParams) SetRoleID(roleID string)

SetRoleID adds the roleId to the delete role permission params

func (*DeleteRolePermissionParams) SetTimeout

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

SetTimeout adds the timeout to the delete role permission params

func (*DeleteRolePermissionParams) WithAction

WithAction adds the action to the delete role permission params

func (*DeleteRolePermissionParams) WithContext

WithContext adds the context to the delete role permission params

func (*DeleteRolePermissionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete role permission params

func (*DeleteRolePermissionParams) WithResource

WithResource adds the resource to the delete role permission params

func (*DeleteRolePermissionParams) WithRoleID

WithRoleID adds the roleID to the delete role permission params

func (*DeleteRolePermissionParams) WithTimeout

WithTimeout adds the timeout to the delete role permission params

func (*DeleteRolePermissionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteRolePermissionReader

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

DeleteRolePermissionReader is a Reader for the DeleteRolePermission structure.

func (*DeleteRolePermissionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteRolePermissionUnauthorized

type DeleteRolePermissionUnauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

DeleteRolePermissionUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewDeleteRolePermissionUnauthorized

func NewDeleteRolePermissionUnauthorized() *DeleteRolePermissionUnauthorized

NewDeleteRolePermissionUnauthorized creates a DeleteRolePermissionUnauthorized with default headers values

func (*DeleteRolePermissionUnauthorized) Error

func (*DeleteRolePermissionUnauthorized) GetPayload

func (*DeleteRolePermissionUnauthorized) ToJSONString

func (o *DeleteRolePermissionUnauthorized) ToJSONString() string

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 {
	Payload *iamclientmodels.RestErrorResponse
}

DeleteRoleUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

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 (*DeleteRoleUnauthorized) ToJSONString

func (o *DeleteRoleUnauthorized) ToJSONString() string

type GetRoleAdminStatusBadRequest

type GetRoleAdminStatusBadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

GetRoleAdminStatusBadRequest handles this case with default header values.

Invalid request

func NewGetRoleAdminStatusBadRequest

func NewGetRoleAdminStatusBadRequest() *GetRoleAdminStatusBadRequest

NewGetRoleAdminStatusBadRequest creates a GetRoleAdminStatusBadRequest with default headers values

func (*GetRoleAdminStatusBadRequest) Error

func (*GetRoleAdminStatusBadRequest) GetPayload

func (*GetRoleAdminStatusBadRequest) ToJSONString

func (o *GetRoleAdminStatusBadRequest) ToJSONString() string

type GetRoleAdminStatusForbidden

type GetRoleAdminStatusForbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

GetRoleAdminStatusForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewGetRoleAdminStatusForbidden

func NewGetRoleAdminStatusForbidden() *GetRoleAdminStatusForbidden

NewGetRoleAdminStatusForbidden creates a GetRoleAdminStatusForbidden with default headers values

func (*GetRoleAdminStatusForbidden) Error

func (*GetRoleAdminStatusForbidden) GetPayload

func (*GetRoleAdminStatusForbidden) ToJSONString

func (o *GetRoleAdminStatusForbidden) ToJSONString() string

type GetRoleAdminStatusNotFound

type GetRoleAdminStatusNotFound struct {
}

GetRoleAdminStatusNotFound handles this case with default header values.

Data not found

func NewGetRoleAdminStatusNotFound

func NewGetRoleAdminStatusNotFound() *GetRoleAdminStatusNotFound

NewGetRoleAdminStatusNotFound creates a GetRoleAdminStatusNotFound with default headers values

func (*GetRoleAdminStatusNotFound) Error

type GetRoleAdminStatusOK

type GetRoleAdminStatusOK struct {
	Payload *iamclientmodels.ModelRoleAdminStatusResponse
}

GetRoleAdminStatusOK handles this case with default header values.

OK

func NewGetRoleAdminStatusOK

func NewGetRoleAdminStatusOK() *GetRoleAdminStatusOK

NewGetRoleAdminStatusOK creates a GetRoleAdminStatusOK with default headers values

func (*GetRoleAdminStatusOK) Error

func (o *GetRoleAdminStatusOK) Error() string

func (*GetRoleAdminStatusOK) GetPayload

func (*GetRoleAdminStatusOK) ToJSONString

func (o *GetRoleAdminStatusOK) ToJSONString() string

type GetRoleAdminStatusParams

type GetRoleAdminStatusParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*RoleID
	  Role id

	*/
	RoleID string

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

GetRoleAdminStatusParams contains all the parameters to send to the API endpoint for the get role admin status operation typically these are written to a http.Request

func NewGetRoleAdminStatusParams

func NewGetRoleAdminStatusParams() *GetRoleAdminStatusParams

NewGetRoleAdminStatusParams creates a new GetRoleAdminStatusParams object with the default values initialized.

func NewGetRoleAdminStatusParamsWithContext

func NewGetRoleAdminStatusParamsWithContext(ctx context.Context) *GetRoleAdminStatusParams

NewGetRoleAdminStatusParamsWithContext creates a new GetRoleAdminStatusParams object with the default values initialized, and the ability to set a context for a request

func NewGetRoleAdminStatusParamsWithHTTPClient

func NewGetRoleAdminStatusParamsWithHTTPClient(client *http.Client) *GetRoleAdminStatusParams

NewGetRoleAdminStatusParamsWithHTTPClient creates a new GetRoleAdminStatusParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetRoleAdminStatusParamsWithTimeout

func NewGetRoleAdminStatusParamsWithTimeout(timeout time.Duration) *GetRoleAdminStatusParams

NewGetRoleAdminStatusParamsWithTimeout creates a new GetRoleAdminStatusParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetRoleAdminStatusParams) SetAuthInfoWriter

func (o *GetRoleAdminStatusParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get role admin status params

func (*GetRoleAdminStatusParams) SetContext

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

SetContext adds the context to the get role admin status params

func (*GetRoleAdminStatusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get role admin status params

func (*GetRoleAdminStatusParams) SetHTTPClientTransport

func (o *GetRoleAdminStatusParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get role admin status params

func (*GetRoleAdminStatusParams) SetRoleID

func (o *GetRoleAdminStatusParams) SetRoleID(roleID string)

SetRoleID adds the roleId to the get role admin status params

func (*GetRoleAdminStatusParams) SetTimeout

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

SetTimeout adds the timeout to the get role admin status params

func (*GetRoleAdminStatusParams) WithContext

WithContext adds the context to the get role admin status params

func (*GetRoleAdminStatusParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get role admin status params

func (*GetRoleAdminStatusParams) WithRoleID

WithRoleID adds the roleID to the get role admin status params

func (*GetRoleAdminStatusParams) WithTimeout

WithTimeout adds the timeout to the get role admin status params

func (*GetRoleAdminStatusParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRoleAdminStatusReader

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

GetRoleAdminStatusReader is a Reader for the GetRoleAdminStatus structure.

func (*GetRoleAdminStatusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRoleAdminStatusUnauthorized

type GetRoleAdminStatusUnauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

GetRoleAdminStatusUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewGetRoleAdminStatusUnauthorized

func NewGetRoleAdminStatusUnauthorized() *GetRoleAdminStatusUnauthorized

NewGetRoleAdminStatusUnauthorized creates a GetRoleAdminStatusUnauthorized with default headers values

func (*GetRoleAdminStatusUnauthorized) Error

func (*GetRoleAdminStatusUnauthorized) GetPayload

func (*GetRoleAdminStatusUnauthorized) ToJSONString

func (o *GetRoleAdminStatusUnauthorized) ToJSONString() string

type GetRoleForbidden

type GetRoleForbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

GetRoleForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

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 (*GetRoleForbidden) ToJSONString

func (o *GetRoleForbidden) ToJSONString() string

type GetRoleManagersBadRequest

type GetRoleManagersBadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

GetRoleManagersBadRequest handles this case with default header values.

Invalid request

func NewGetRoleManagersBadRequest

func NewGetRoleManagersBadRequest() *GetRoleManagersBadRequest

NewGetRoleManagersBadRequest creates a GetRoleManagersBadRequest with default headers values

func (*GetRoleManagersBadRequest) Error

func (o *GetRoleManagersBadRequest) Error() string

func (*GetRoleManagersBadRequest) GetPayload

func (*GetRoleManagersBadRequest) ToJSONString

func (o *GetRoleManagersBadRequest) ToJSONString() string

type GetRoleManagersForbidden

type GetRoleManagersForbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

GetRoleManagersForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewGetRoleManagersForbidden

func NewGetRoleManagersForbidden() *GetRoleManagersForbidden

NewGetRoleManagersForbidden creates a GetRoleManagersForbidden with default headers values

func (*GetRoleManagersForbidden) Error

func (o *GetRoleManagersForbidden) Error() string

func (*GetRoleManagersForbidden) GetPayload

func (*GetRoleManagersForbidden) ToJSONString

func (o *GetRoleManagersForbidden) ToJSONString() string

type GetRoleManagersNotFound

type GetRoleManagersNotFound struct {
}

GetRoleManagersNotFound handles this case with default header values.

Data not found

func NewGetRoleManagersNotFound

func NewGetRoleManagersNotFound() *GetRoleManagersNotFound

NewGetRoleManagersNotFound creates a GetRoleManagersNotFound with default headers values

func (*GetRoleManagersNotFound) Error

func (o *GetRoleManagersNotFound) Error() string

type GetRoleManagersOK

type GetRoleManagersOK struct {
	Payload *iamclientmodels.ModelRoleManagersResponse
}

GetRoleManagersOK handles this case with default header values.

OK

func NewGetRoleManagersOK

func NewGetRoleManagersOK() *GetRoleManagersOK

NewGetRoleManagersOK creates a GetRoleManagersOK with default headers values

func (*GetRoleManagersOK) Error

func (o *GetRoleManagersOK) Error() string

func (*GetRoleManagersOK) GetPayload

func (*GetRoleManagersOK) ToJSONString

func (o *GetRoleManagersOK) ToJSONString() string

type GetRoleManagersParams

type GetRoleManagersParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*RoleID
	  Role id

	*/
	RoleID string

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

GetRoleManagersParams contains all the parameters to send to the API endpoint for the get role managers operation typically these are written to a http.Request

func NewGetRoleManagersParams

func NewGetRoleManagersParams() *GetRoleManagersParams

NewGetRoleManagersParams creates a new GetRoleManagersParams object with the default values initialized.

func NewGetRoleManagersParamsWithContext

func NewGetRoleManagersParamsWithContext(ctx context.Context) *GetRoleManagersParams

NewGetRoleManagersParamsWithContext creates a new GetRoleManagersParams object with the default values initialized, and the ability to set a context for a request

func NewGetRoleManagersParamsWithHTTPClient

func NewGetRoleManagersParamsWithHTTPClient(client *http.Client) *GetRoleManagersParams

NewGetRoleManagersParamsWithHTTPClient creates a new GetRoleManagersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetRoleManagersParamsWithTimeout

func NewGetRoleManagersParamsWithTimeout(timeout time.Duration) *GetRoleManagersParams

NewGetRoleManagersParamsWithTimeout creates a new GetRoleManagersParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetRoleManagersParams) SetAuthInfoWriter

func (o *GetRoleManagersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get role managers params

func (*GetRoleManagersParams) SetContext

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

SetContext adds the context to the get role managers params

func (*GetRoleManagersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get role managers params

func (*GetRoleManagersParams) SetHTTPClientTransport

func (o *GetRoleManagersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get role managers params

func (*GetRoleManagersParams) SetRoleID

func (o *GetRoleManagersParams) SetRoleID(roleID string)

SetRoleID adds the roleId to the get role managers params

func (*GetRoleManagersParams) SetTimeout

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

SetTimeout adds the timeout to the get role managers params

func (*GetRoleManagersParams) WithContext

WithContext adds the context to the get role managers params

func (*GetRoleManagersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get role managers params

func (*GetRoleManagersParams) WithRoleID

func (o *GetRoleManagersParams) WithRoleID(roleID string) *GetRoleManagersParams

WithRoleID adds the roleID to the get role managers params

func (*GetRoleManagersParams) WithTimeout

func (o *GetRoleManagersParams) WithTimeout(timeout time.Duration) *GetRoleManagersParams

WithTimeout adds the timeout to the get role managers params

func (*GetRoleManagersParams) WriteToRequest

func (o *GetRoleManagersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetRoleManagersReader

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

GetRoleManagersReader is a Reader for the GetRoleManagers structure.

func (*GetRoleManagersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRoleManagersUnauthorized

type GetRoleManagersUnauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

GetRoleManagersUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewGetRoleManagersUnauthorized

func NewGetRoleManagersUnauthorized() *GetRoleManagersUnauthorized

NewGetRoleManagersUnauthorized creates a GetRoleManagersUnauthorized with default headers values

func (*GetRoleManagersUnauthorized) Error

func (*GetRoleManagersUnauthorized) GetPayload

func (*GetRoleManagersUnauthorized) ToJSONString

func (o *GetRoleManagersUnauthorized) ToJSONString() string

type GetRoleMembersBadRequest

type GetRoleMembersBadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

GetRoleMembersBadRequest handles this case with default header values.

Invalid request

func NewGetRoleMembersBadRequest

func NewGetRoleMembersBadRequest() *GetRoleMembersBadRequest

NewGetRoleMembersBadRequest creates a GetRoleMembersBadRequest with default headers values

func (*GetRoleMembersBadRequest) Error

func (o *GetRoleMembersBadRequest) Error() string

func (*GetRoleMembersBadRequest) GetPayload

func (*GetRoleMembersBadRequest) ToJSONString

func (o *GetRoleMembersBadRequest) ToJSONString() string

type GetRoleMembersForbidden

type GetRoleMembersForbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

GetRoleMembersForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewGetRoleMembersForbidden

func NewGetRoleMembersForbidden() *GetRoleMembersForbidden

NewGetRoleMembersForbidden creates a GetRoleMembersForbidden with default headers values

func (*GetRoleMembersForbidden) Error

func (o *GetRoleMembersForbidden) Error() string

func (*GetRoleMembersForbidden) GetPayload

func (*GetRoleMembersForbidden) ToJSONString

func (o *GetRoleMembersForbidden) ToJSONString() string

type GetRoleMembersNotFound

type GetRoleMembersNotFound struct {
}

GetRoleMembersNotFound handles this case with default header values.

Data not found

func NewGetRoleMembersNotFound

func NewGetRoleMembersNotFound() *GetRoleMembersNotFound

NewGetRoleMembersNotFound creates a GetRoleMembersNotFound with default headers values

func (*GetRoleMembersNotFound) Error

func (o *GetRoleMembersNotFound) Error() string

type GetRoleMembersOK

type GetRoleMembersOK struct {
	Payload *iamclientmodels.ModelRoleMembersResponse
}

GetRoleMembersOK handles this case with default header values.

OK

func NewGetRoleMembersOK

func NewGetRoleMembersOK() *GetRoleMembersOK

NewGetRoleMembersOK creates a GetRoleMembersOK with default headers values

func (*GetRoleMembersOK) Error

func (o *GetRoleMembersOK) Error() string

func (*GetRoleMembersOK) GetPayload

func (*GetRoleMembersOK) ToJSONString

func (o *GetRoleMembersOK) ToJSONString() string

type GetRoleMembersParams

type GetRoleMembersParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*RoleID
	  Role id

	*/
	RoleID string

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

GetRoleMembersParams contains all the parameters to send to the API endpoint for the get role members operation typically these are written to a http.Request

func NewGetRoleMembersParams

func NewGetRoleMembersParams() *GetRoleMembersParams

NewGetRoleMembersParams creates a new GetRoleMembersParams object with the default values initialized.

func NewGetRoleMembersParamsWithContext

func NewGetRoleMembersParamsWithContext(ctx context.Context) *GetRoleMembersParams

NewGetRoleMembersParamsWithContext creates a new GetRoleMembersParams object with the default values initialized, and the ability to set a context for a request

func NewGetRoleMembersParamsWithHTTPClient

func NewGetRoleMembersParamsWithHTTPClient(client *http.Client) *GetRoleMembersParams

NewGetRoleMembersParamsWithHTTPClient creates a new GetRoleMembersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetRoleMembersParamsWithTimeout

func NewGetRoleMembersParamsWithTimeout(timeout time.Duration) *GetRoleMembersParams

NewGetRoleMembersParamsWithTimeout creates a new GetRoleMembersParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetRoleMembersParams) SetAuthInfoWriter

func (o *GetRoleMembersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get role members params

func (*GetRoleMembersParams) SetContext

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

SetContext adds the context to the get role members params

func (*GetRoleMembersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get role members params

func (*GetRoleMembersParams) SetHTTPClientTransport

func (o *GetRoleMembersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get role members params

func (*GetRoleMembersParams) SetRoleID

func (o *GetRoleMembersParams) SetRoleID(roleID string)

SetRoleID adds the roleId to the get role members params

func (*GetRoleMembersParams) SetTimeout

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

SetTimeout adds the timeout to the get role members params

func (*GetRoleMembersParams) WithContext

WithContext adds the context to the get role members params

func (*GetRoleMembersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get role members params

func (*GetRoleMembersParams) WithRoleID

func (o *GetRoleMembersParams) WithRoleID(roleID string) *GetRoleMembersParams

WithRoleID adds the roleID to the get role members params

func (*GetRoleMembersParams) WithTimeout

func (o *GetRoleMembersParams) WithTimeout(timeout time.Duration) *GetRoleMembersParams

WithTimeout adds the timeout to the get role members params

func (*GetRoleMembersParams) WriteToRequest

func (o *GetRoleMembersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetRoleMembersReader

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

GetRoleMembersReader is a Reader for the GetRoleMembers structure.

func (*GetRoleMembersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRoleMembersUnauthorized

type GetRoleMembersUnauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

GetRoleMembersUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewGetRoleMembersUnauthorized

func NewGetRoleMembersUnauthorized() *GetRoleMembersUnauthorized

NewGetRoleMembersUnauthorized creates a GetRoleMembersUnauthorized with default headers values

func (*GetRoleMembersUnauthorized) Error

func (*GetRoleMembersUnauthorized) GetPayload

func (*GetRoleMembersUnauthorized) ToJSONString

func (o *GetRoleMembersUnauthorized) ToJSONString() string

type GetRoleNotFound

type GetRoleNotFound struct {
}

GetRoleNotFound handles this case with default header values.

Data not found

func NewGetRoleNotFound

func NewGetRoleNotFound() *GetRoleNotFound

NewGetRoleNotFound creates a GetRoleNotFound with default headers values

func (*GetRoleNotFound) Error

func (o *GetRoleNotFound) Error() string

type GetRoleOK

type GetRoleOK struct {
	Payload *iamclientmodels.ModelRoleResponse
}

GetRoleOK handles this case with default header values.

OK

func NewGetRoleOK

func NewGetRoleOK() *GetRoleOK

NewGetRoleOK creates a GetRoleOK with default headers values

func (*GetRoleOK) Error

func (o *GetRoleOK) Error() string

func (*GetRoleOK) GetPayload

func (o *GetRoleOK) GetPayload() *iamclientmodels.ModelRoleResponse

func (*GetRoleOK) ToJSONString

func (o *GetRoleOK) ToJSONString() string

type GetRoleParams

type GetRoleParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*RoleID
	  Role id

	*/
	RoleID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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 values initialized.

func NewGetRoleParamsWithContext

func NewGetRoleParamsWithContext(ctx context.Context) *GetRoleParams

NewGetRoleParamsWithContext creates a new GetRoleParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*GetRoleParams) SetAuthInfoWriter

func (o *GetRoleParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get role params

func (*GetRoleParams) SetContext

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

SetContext adds the context to the get role params

func (*GetRoleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get role params

func (*GetRoleParams) SetHTTPClientTransport

func (o *GetRoleParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get role params

func (*GetRoleParams) SetRoleID

func (o *GetRoleParams) SetRoleID(roleID string)

SetRoleID adds the roleId 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) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get role params

func (*GetRoleParams) WithRoleID

func (o *GetRoleParams) WithRoleID(roleID string) *GetRoleParams

WithRoleID adds the roleID 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 {
	Payload *iamclientmodels.RestErrorResponse
}

GetRoleUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

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 (*GetRoleUnauthorized) ToJSONString

func (o *GetRoleUnauthorized) ToJSONString() string

type GetRolesForbidden

type GetRolesForbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

GetRolesForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewGetRolesForbidden

func NewGetRolesForbidden() *GetRolesForbidden

NewGetRolesForbidden creates a GetRolesForbidden with default headers values

func (*GetRolesForbidden) Error

func (o *GetRolesForbidden) Error() string

func (*GetRolesForbidden) GetPayload

func (*GetRolesForbidden) ToJSONString

func (o *GetRolesForbidden) ToJSONString() string

type GetRolesOK

type GetRolesOK struct {
	Payload []*iamclientmodels.ModelRoleResponseWithManagers
}

GetRolesOK handles this case with default header values.

OK

func NewGetRolesOK

func NewGetRolesOK() *GetRolesOK

NewGetRolesOK creates a GetRolesOK with default headers values

func (*GetRolesOK) Error

func (o *GetRolesOK) Error() string

func (*GetRolesOK) GetPayload

func (*GetRolesOK) ToJSONString

func (o *GetRolesOK) ToJSONString() string

type GetRolesParams

type GetRolesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*IsWildcard
	    - true if the expected result should only returns records with wildcard = true
	- false if the expected result should only returns records with wildcard = false
	- empty (omitted) if the expected result should returns records with no wildcard filter at all


	*/
	IsWildcard *string

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

GetRolesParams contains all the parameters to send to the API endpoint for the get roles operation typically these are written to a http.Request

func NewGetRolesParams

func NewGetRolesParams() *GetRolesParams

NewGetRolesParams creates a new GetRolesParams object with the default values initialized.

func NewGetRolesParamsWithContext

func NewGetRolesParamsWithContext(ctx context.Context) *GetRolesParams

NewGetRolesParamsWithContext creates a new GetRolesParams object with the default values initialized, and the ability to set a context for a request

func NewGetRolesParamsWithHTTPClient

func NewGetRolesParamsWithHTTPClient(client *http.Client) *GetRolesParams

NewGetRolesParamsWithHTTPClient creates a new GetRolesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetRolesParamsWithTimeout

func NewGetRolesParamsWithTimeout(timeout time.Duration) *GetRolesParams

NewGetRolesParamsWithTimeout creates a new GetRolesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetRolesParams) SetAuthInfoWriter

func (o *GetRolesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get roles params

func (*GetRolesParams) SetContext

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

SetContext adds the context to the get roles params

func (*GetRolesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get roles params

func (*GetRolesParams) SetHTTPClientTransport

func (o *GetRolesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get roles params

func (*GetRolesParams) SetIsWildcard

func (o *GetRolesParams) SetIsWildcard(isWildcard *string)

SetIsWildcard adds the isWildcard to the get roles params

func (*GetRolesParams) SetTimeout

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

SetTimeout adds the timeout to the get roles params

func (*GetRolesParams) WithContext

func (o *GetRolesParams) WithContext(ctx context.Context) *GetRolesParams

WithContext adds the context to the get roles params

func (*GetRolesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get roles params

func (*GetRolesParams) WithIsWildcard

func (o *GetRolesParams) WithIsWildcard(isWildcard *string) *GetRolesParams

WithIsWildcard adds the isWildcard to the get roles params

func (*GetRolesParams) WithTimeout

func (o *GetRolesParams) WithTimeout(timeout time.Duration) *GetRolesParams

WithTimeout adds the timeout to the get roles params

func (*GetRolesParams) WriteToRequest

func (o *GetRolesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetRolesReader

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

GetRolesReader is a Reader for the GetRoles structure.

func (*GetRolesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRolesUnauthorized

type GetRolesUnauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

GetRolesUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewGetRolesUnauthorized

func NewGetRolesUnauthorized() *GetRolesUnauthorized

NewGetRolesUnauthorized creates a GetRolesUnauthorized with default headers values

func (*GetRolesUnauthorized) Error

func (o *GetRolesUnauthorized) Error() string

func (*GetRolesUnauthorized) GetPayload

func (*GetRolesUnauthorized) ToJSONString

func (o *GetRolesUnauthorized) ToJSONString() string

type PublicGetRoleV3BadRequest

type PublicGetRoleV3BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

PublicGetRoleV3BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewPublicGetRoleV3BadRequest

func NewPublicGetRoleV3BadRequest() *PublicGetRoleV3BadRequest

NewPublicGetRoleV3BadRequest creates a PublicGetRoleV3BadRequest with default headers values

func (*PublicGetRoleV3BadRequest) Error

func (o *PublicGetRoleV3BadRequest) Error() string

func (*PublicGetRoleV3BadRequest) GetPayload

func (*PublicGetRoleV3BadRequest) ToJSONString

func (o *PublicGetRoleV3BadRequest) ToJSONString() string

type PublicGetRoleV3NotFound

type PublicGetRoleV3NotFound struct {
	Payload *iamclientmodels.RestErrorResponse
}

PublicGetRoleV3NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10456</td><td>role not found</td></tr></table>

func NewPublicGetRoleV3NotFound

func NewPublicGetRoleV3NotFound() *PublicGetRoleV3NotFound

NewPublicGetRoleV3NotFound creates a PublicGetRoleV3NotFound with default headers values

func (*PublicGetRoleV3NotFound) Error

func (o *PublicGetRoleV3NotFound) Error() string

func (*PublicGetRoleV3NotFound) GetPayload

func (*PublicGetRoleV3NotFound) ToJSONString

func (o *PublicGetRoleV3NotFound) ToJSONString() string

type PublicGetRoleV3OK

type PublicGetRoleV3OK struct {
	Payload *iamclientmodels.ModelRoleResponse
}

PublicGetRoleV3OK handles this case with default header values.

OK

func NewPublicGetRoleV3OK

func NewPublicGetRoleV3OK() *PublicGetRoleV3OK

NewPublicGetRoleV3OK creates a PublicGetRoleV3OK with default headers values

func (*PublicGetRoleV3OK) Error

func (o *PublicGetRoleV3OK) Error() string

func (*PublicGetRoleV3OK) GetPayload

func (*PublicGetRoleV3OK) ToJSONString

func (o *PublicGetRoleV3OK) ToJSONString() string

type PublicGetRoleV3Params

type PublicGetRoleV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*RoleID
	  Role id

	*/
	RoleID string

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

PublicGetRoleV3Params contains all the parameters to send to the API endpoint for the public get role v3 operation typically these are written to a http.Request

func NewPublicGetRoleV3Params

func NewPublicGetRoleV3Params() *PublicGetRoleV3Params

NewPublicGetRoleV3Params creates a new PublicGetRoleV3Params object with the default values initialized.

func NewPublicGetRoleV3ParamsWithContext

func NewPublicGetRoleV3ParamsWithContext(ctx context.Context) *PublicGetRoleV3Params

NewPublicGetRoleV3ParamsWithContext creates a new PublicGetRoleV3Params object with the default values initialized, and the ability to set a context for a request

func NewPublicGetRoleV3ParamsWithHTTPClient

func NewPublicGetRoleV3ParamsWithHTTPClient(client *http.Client) *PublicGetRoleV3Params

NewPublicGetRoleV3ParamsWithHTTPClient creates a new PublicGetRoleV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicGetRoleV3ParamsWithTimeout

func NewPublicGetRoleV3ParamsWithTimeout(timeout time.Duration) *PublicGetRoleV3Params

NewPublicGetRoleV3ParamsWithTimeout creates a new PublicGetRoleV3Params object with the default values initialized, and the ability to set a timeout on a request

func (*PublicGetRoleV3Params) SetAuthInfoWriter

func (o *PublicGetRoleV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get role v3 params

func (*PublicGetRoleV3Params) SetContext

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

SetContext adds the context to the public get role v3 params

func (*PublicGetRoleV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get role v3 params

func (*PublicGetRoleV3Params) SetHTTPClientTransport

func (o *PublicGetRoleV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public get role v3 params

func (*PublicGetRoleV3Params) SetRoleID

func (o *PublicGetRoleV3Params) SetRoleID(roleID string)

SetRoleID adds the roleId to the public get role v3 params

func (*PublicGetRoleV3Params) SetTimeout

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

SetTimeout adds the timeout to the public get role v3 params

func (*PublicGetRoleV3Params) WithContext

WithContext adds the context to the public get role v3 params

func (*PublicGetRoleV3Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the public get role v3 params

func (*PublicGetRoleV3Params) WithRoleID

func (o *PublicGetRoleV3Params) WithRoleID(roleID string) *PublicGetRoleV3Params

WithRoleID adds the roleID to the public get role v3 params

func (*PublicGetRoleV3Params) WithTimeout

func (o *PublicGetRoleV3Params) WithTimeout(timeout time.Duration) *PublicGetRoleV3Params

WithTimeout adds the timeout to the public get role v3 params

func (*PublicGetRoleV3Params) WriteToRequest

func (o *PublicGetRoleV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PublicGetRoleV3Reader

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

PublicGetRoleV3Reader is a Reader for the PublicGetRoleV3 structure.

func (*PublicGetRoleV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetRolesV3BadRequest

type PublicGetRolesV3BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

PublicGetRolesV3BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewPublicGetRolesV3BadRequest

func NewPublicGetRolesV3BadRequest() *PublicGetRolesV3BadRequest

NewPublicGetRolesV3BadRequest creates a PublicGetRolesV3BadRequest with default headers values

func (*PublicGetRolesV3BadRequest) Error

func (*PublicGetRolesV3BadRequest) GetPayload

func (*PublicGetRolesV3BadRequest) ToJSONString

func (o *PublicGetRolesV3BadRequest) ToJSONString() string

type PublicGetRolesV3OK

type PublicGetRolesV3OK struct {
	Payload *iamclientmodels.ModelRoleNamesResponseV3
}

PublicGetRolesV3OK handles this case with default header values.

OK

func NewPublicGetRolesV3OK

func NewPublicGetRolesV3OK() *PublicGetRolesV3OK

NewPublicGetRolesV3OK creates a PublicGetRolesV3OK with default headers values

func (*PublicGetRolesV3OK) Error

func (o *PublicGetRolesV3OK) Error() string

func (*PublicGetRolesV3OK) GetPayload

func (*PublicGetRolesV3OK) ToJSONString

func (o *PublicGetRolesV3OK) ToJSONString() string

type PublicGetRolesV3Params

type PublicGetRolesV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*After
	  The cursor that points to query data for the next page

	*/
	After *string
	/*Before
	  The cursor that points to query data for the previous page

	*/
	Before *string
	/*IsWildcard
	  - true if the expected result should only returns records with wildcard = true
	          - false if the expected result should only returns records with wildcard = false
	          - empty (omitted) if the expected result should returns records with no wildcard filter at all


	*/
	IsWildcard *bool
	/*Limit
	  the maximum number of data that may be returned (1...100)

	*/
	Limit *int64

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

PublicGetRolesV3Params contains all the parameters to send to the API endpoint for the public get roles v3 operation typically these are written to a http.Request

func NewPublicGetRolesV3Params

func NewPublicGetRolesV3Params() *PublicGetRolesV3Params

NewPublicGetRolesV3Params creates a new PublicGetRolesV3Params object with the default values initialized.

func NewPublicGetRolesV3ParamsWithContext

func NewPublicGetRolesV3ParamsWithContext(ctx context.Context) *PublicGetRolesV3Params

NewPublicGetRolesV3ParamsWithContext creates a new PublicGetRolesV3Params object with the default values initialized, and the ability to set a context for a request

func NewPublicGetRolesV3ParamsWithHTTPClient

func NewPublicGetRolesV3ParamsWithHTTPClient(client *http.Client) *PublicGetRolesV3Params

NewPublicGetRolesV3ParamsWithHTTPClient creates a new PublicGetRolesV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicGetRolesV3ParamsWithTimeout

func NewPublicGetRolesV3ParamsWithTimeout(timeout time.Duration) *PublicGetRolesV3Params

NewPublicGetRolesV3ParamsWithTimeout creates a new PublicGetRolesV3Params object with the default values initialized, and the ability to set a timeout on a request

func (*PublicGetRolesV3Params) SetAfter

func (o *PublicGetRolesV3Params) SetAfter(after *string)

SetAfter adds the after to the public get roles v3 params

func (*PublicGetRolesV3Params) SetAuthInfoWriter

func (o *PublicGetRolesV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get roles v3 params

func (*PublicGetRolesV3Params) SetBefore

func (o *PublicGetRolesV3Params) SetBefore(before *string)

SetBefore adds the before to the public get roles v3 params

func (*PublicGetRolesV3Params) SetContext

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

SetContext adds the context to the public get roles v3 params

func (*PublicGetRolesV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get roles v3 params

func (*PublicGetRolesV3Params) SetHTTPClientTransport

func (o *PublicGetRolesV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public get roles v3 params

func (*PublicGetRolesV3Params) SetIsWildcard

func (o *PublicGetRolesV3Params) SetIsWildcard(isWildcard *bool)

SetIsWildcard adds the isWildcard to the public get roles v3 params

func (*PublicGetRolesV3Params) SetLimit

func (o *PublicGetRolesV3Params) SetLimit(limit *int64)

SetLimit adds the limit to the public get roles v3 params

func (*PublicGetRolesV3Params) SetTimeout

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

SetTimeout adds the timeout to the public get roles v3 params

func (*PublicGetRolesV3Params) WithAfter

WithAfter adds the after to the public get roles v3 params

func (*PublicGetRolesV3Params) WithBefore

func (o *PublicGetRolesV3Params) WithBefore(before *string) *PublicGetRolesV3Params

WithBefore adds the before to the public get roles v3 params

func (*PublicGetRolesV3Params) WithContext

WithContext adds the context to the public get roles v3 params

func (*PublicGetRolesV3Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the public get roles v3 params

func (*PublicGetRolesV3Params) WithIsWildcard

func (o *PublicGetRolesV3Params) WithIsWildcard(isWildcard *bool) *PublicGetRolesV3Params

WithIsWildcard adds the isWildcard to the public get roles v3 params

func (*PublicGetRolesV3Params) WithLimit

func (o *PublicGetRolesV3Params) WithLimit(limit *int64) *PublicGetRolesV3Params

WithLimit adds the limit to the public get roles v3 params

func (*PublicGetRolesV3Params) WithTimeout

WithTimeout adds the timeout to the public get roles v3 params

func (*PublicGetRolesV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetRolesV3Reader

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

PublicGetRolesV3Reader is a Reader for the PublicGetRolesV3 structure.

func (*PublicGetRolesV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RemoveRoleAdminBadRequest

type RemoveRoleAdminBadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

RemoveRoleAdminBadRequest handles this case with default header values.

Invalid request

func NewRemoveRoleAdminBadRequest

func NewRemoveRoleAdminBadRequest() *RemoveRoleAdminBadRequest

NewRemoveRoleAdminBadRequest creates a RemoveRoleAdminBadRequest with default headers values

func (*RemoveRoleAdminBadRequest) Error

func (o *RemoveRoleAdminBadRequest) Error() string

func (*RemoveRoleAdminBadRequest) GetPayload

func (*RemoveRoleAdminBadRequest) ToJSONString

func (o *RemoveRoleAdminBadRequest) ToJSONString() string

type RemoveRoleAdminForbidden

type RemoveRoleAdminForbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

RemoveRoleAdminForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewRemoveRoleAdminForbidden

func NewRemoveRoleAdminForbidden() *RemoveRoleAdminForbidden

NewRemoveRoleAdminForbidden creates a RemoveRoleAdminForbidden with default headers values

func (*RemoveRoleAdminForbidden) Error

func (o *RemoveRoleAdminForbidden) Error() string

func (*RemoveRoleAdminForbidden) GetPayload

func (*RemoveRoleAdminForbidden) ToJSONString

func (o *RemoveRoleAdminForbidden) ToJSONString() string

type RemoveRoleAdminNoContent

type RemoveRoleAdminNoContent struct {
}

RemoveRoleAdminNoContent handles this case with default header values.

Operation succeeded

func NewRemoveRoleAdminNoContent

func NewRemoveRoleAdminNoContent() *RemoveRoleAdminNoContent

NewRemoveRoleAdminNoContent creates a RemoveRoleAdminNoContent with default headers values

func (*RemoveRoleAdminNoContent) Error

func (o *RemoveRoleAdminNoContent) Error() string

type RemoveRoleAdminNotFound

type RemoveRoleAdminNotFound struct {
}

RemoveRoleAdminNotFound handles this case with default header values.

Data not found

func NewRemoveRoleAdminNotFound

func NewRemoveRoleAdminNotFound() *RemoveRoleAdminNotFound

NewRemoveRoleAdminNotFound creates a RemoveRoleAdminNotFound with default headers values

func (*RemoveRoleAdminNotFound) Error

func (o *RemoveRoleAdminNotFound) Error() string

type RemoveRoleAdminParams

type RemoveRoleAdminParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*RoleID
	  Role id

	*/
	RoleID string

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

RemoveRoleAdminParams contains all the parameters to send to the API endpoint for the remove role admin operation typically these are written to a http.Request

func NewRemoveRoleAdminParams

func NewRemoveRoleAdminParams() *RemoveRoleAdminParams

NewRemoveRoleAdminParams creates a new RemoveRoleAdminParams object with the default values initialized.

func NewRemoveRoleAdminParamsWithContext

func NewRemoveRoleAdminParamsWithContext(ctx context.Context) *RemoveRoleAdminParams

NewRemoveRoleAdminParamsWithContext creates a new RemoveRoleAdminParams object with the default values initialized, and the ability to set a context for a request

func NewRemoveRoleAdminParamsWithHTTPClient

func NewRemoveRoleAdminParamsWithHTTPClient(client *http.Client) *RemoveRoleAdminParams

NewRemoveRoleAdminParamsWithHTTPClient creates a new RemoveRoleAdminParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewRemoveRoleAdminParamsWithTimeout

func NewRemoveRoleAdminParamsWithTimeout(timeout time.Duration) *RemoveRoleAdminParams

NewRemoveRoleAdminParamsWithTimeout creates a new RemoveRoleAdminParams object with the default values initialized, and the ability to set a timeout on a request

func (*RemoveRoleAdminParams) SetAuthInfoWriter

func (o *RemoveRoleAdminParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the remove role admin params

func (*RemoveRoleAdminParams) SetContext

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

SetContext adds the context to the remove role admin params

func (*RemoveRoleAdminParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remove role admin params

func (*RemoveRoleAdminParams) SetHTTPClientTransport

func (o *RemoveRoleAdminParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the remove role admin params

func (*RemoveRoleAdminParams) SetRoleID

func (o *RemoveRoleAdminParams) SetRoleID(roleID string)

SetRoleID adds the roleId to the remove role admin params

func (*RemoveRoleAdminParams) SetTimeout

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

SetTimeout adds the timeout to the remove role admin params

func (*RemoveRoleAdminParams) WithContext

WithContext adds the context to the remove role admin params

func (*RemoveRoleAdminParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the remove role admin params

func (*RemoveRoleAdminParams) WithRoleID

func (o *RemoveRoleAdminParams) WithRoleID(roleID string) *RemoveRoleAdminParams

WithRoleID adds the roleID to the remove role admin params

func (*RemoveRoleAdminParams) WithTimeout

func (o *RemoveRoleAdminParams) WithTimeout(timeout time.Duration) *RemoveRoleAdminParams

WithTimeout adds the timeout to the remove role admin params

func (*RemoveRoleAdminParams) WriteToRequest

func (o *RemoveRoleAdminParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RemoveRoleAdminReader

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

RemoveRoleAdminReader is a Reader for the RemoveRoleAdmin structure.

func (*RemoveRoleAdminReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RemoveRoleAdminUnauthorized

type RemoveRoleAdminUnauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

RemoveRoleAdminUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewRemoveRoleAdminUnauthorized

func NewRemoveRoleAdminUnauthorized() *RemoveRoleAdminUnauthorized

NewRemoveRoleAdminUnauthorized creates a RemoveRoleAdminUnauthorized with default headers values

func (*RemoveRoleAdminUnauthorized) Error

func (*RemoveRoleAdminUnauthorized) GetPayload

func (*RemoveRoleAdminUnauthorized) ToJSONString

func (o *RemoveRoleAdminUnauthorized) ToJSONString() string

type RemoveRoleManagersBadRequest

type RemoveRoleManagersBadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

RemoveRoleManagersBadRequest handles this case with default header values.

Invalid request

func NewRemoveRoleManagersBadRequest

func NewRemoveRoleManagersBadRequest() *RemoveRoleManagersBadRequest

NewRemoveRoleManagersBadRequest creates a RemoveRoleManagersBadRequest with default headers values

func (*RemoveRoleManagersBadRequest) Error

func (*RemoveRoleManagersBadRequest) GetPayload

func (*RemoveRoleManagersBadRequest) ToJSONString

func (o *RemoveRoleManagersBadRequest) ToJSONString() string

type RemoveRoleManagersForbidden

type RemoveRoleManagersForbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

RemoveRoleManagersForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewRemoveRoleManagersForbidden

func NewRemoveRoleManagersForbidden() *RemoveRoleManagersForbidden

NewRemoveRoleManagersForbidden creates a RemoveRoleManagersForbidden with default headers values

func (*RemoveRoleManagersForbidden) Error

func (*RemoveRoleManagersForbidden) GetPayload

func (*RemoveRoleManagersForbidden) ToJSONString

func (o *RemoveRoleManagersForbidden) ToJSONString() string

type RemoveRoleManagersNoContent

type RemoveRoleManagersNoContent struct {
}

RemoveRoleManagersNoContent handles this case with default header values.

Operation succeeded

func NewRemoveRoleManagersNoContent

func NewRemoveRoleManagersNoContent() *RemoveRoleManagersNoContent

NewRemoveRoleManagersNoContent creates a RemoveRoleManagersNoContent with default headers values

func (*RemoveRoleManagersNoContent) Error

type RemoveRoleManagersNotFound

type RemoveRoleManagersNotFound struct {
}

RemoveRoleManagersNotFound handles this case with default header values.

Data not found

func NewRemoveRoleManagersNotFound

func NewRemoveRoleManagersNotFound() *RemoveRoleManagersNotFound

NewRemoveRoleManagersNotFound creates a RemoveRoleManagersNotFound with default headers values

func (*RemoveRoleManagersNotFound) Error

type RemoveRoleManagersParams

type RemoveRoleManagersParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *iamclientmodels.ModelRoleManagersRequest
	/*RoleID
	  Role id

	*/
	RoleID string

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

RemoveRoleManagersParams contains all the parameters to send to the API endpoint for the remove role managers operation typically these are written to a http.Request

func NewRemoveRoleManagersParams

func NewRemoveRoleManagersParams() *RemoveRoleManagersParams

NewRemoveRoleManagersParams creates a new RemoveRoleManagersParams object with the default values initialized.

func NewRemoveRoleManagersParamsWithContext

func NewRemoveRoleManagersParamsWithContext(ctx context.Context) *RemoveRoleManagersParams

NewRemoveRoleManagersParamsWithContext creates a new RemoveRoleManagersParams object with the default values initialized, and the ability to set a context for a request

func NewRemoveRoleManagersParamsWithHTTPClient

func NewRemoveRoleManagersParamsWithHTTPClient(client *http.Client) *RemoveRoleManagersParams

NewRemoveRoleManagersParamsWithHTTPClient creates a new RemoveRoleManagersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewRemoveRoleManagersParamsWithTimeout

func NewRemoveRoleManagersParamsWithTimeout(timeout time.Duration) *RemoveRoleManagersParams

NewRemoveRoleManagersParamsWithTimeout creates a new RemoveRoleManagersParams object with the default values initialized, and the ability to set a timeout on a request

func (*RemoveRoleManagersParams) SetAuthInfoWriter

func (o *RemoveRoleManagersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the remove role managers params

func (*RemoveRoleManagersParams) SetBody

SetBody adds the body to the remove role managers params

func (*RemoveRoleManagersParams) SetContext

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

SetContext adds the context to the remove role managers params

func (*RemoveRoleManagersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remove role managers params

func (*RemoveRoleManagersParams) SetHTTPClientTransport

func (o *RemoveRoleManagersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the remove role managers params

func (*RemoveRoleManagersParams) SetRoleID

func (o *RemoveRoleManagersParams) SetRoleID(roleID string)

SetRoleID adds the roleId to the remove role managers params

func (*RemoveRoleManagersParams) SetTimeout

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

SetTimeout adds the timeout to the remove role managers params

func (*RemoveRoleManagersParams) WithBody

WithBody adds the body to the remove role managers params

func (*RemoveRoleManagersParams) WithContext

WithContext adds the context to the remove role managers params

func (*RemoveRoleManagersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the remove role managers params

func (*RemoveRoleManagersParams) WithRoleID

WithRoleID adds the roleID to the remove role managers params

func (*RemoveRoleManagersParams) WithTimeout

WithTimeout adds the timeout to the remove role managers params

func (*RemoveRoleManagersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RemoveRoleManagersReader

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

RemoveRoleManagersReader is a Reader for the RemoveRoleManagers structure.

func (*RemoveRoleManagersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RemoveRoleManagersUnauthorized

type RemoveRoleManagersUnauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

RemoveRoleManagersUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewRemoveRoleManagersUnauthorized

func NewRemoveRoleManagersUnauthorized() *RemoveRoleManagersUnauthorized

NewRemoveRoleManagersUnauthorized creates a RemoveRoleManagersUnauthorized with default headers values

func (*RemoveRoleManagersUnauthorized) Error

func (*RemoveRoleManagersUnauthorized) GetPayload

func (*RemoveRoleManagersUnauthorized) ToJSONString

func (o *RemoveRoleManagersUnauthorized) ToJSONString() string

type RemoveRoleMembersBadRequest

type RemoveRoleMembersBadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

RemoveRoleMembersBadRequest handles this case with default header values.

Invalid request

func NewRemoveRoleMembersBadRequest

func NewRemoveRoleMembersBadRequest() *RemoveRoleMembersBadRequest

NewRemoveRoleMembersBadRequest creates a RemoveRoleMembersBadRequest with default headers values

func (*RemoveRoleMembersBadRequest) Error

func (*RemoveRoleMembersBadRequest) GetPayload

func (*RemoveRoleMembersBadRequest) ToJSONString

func (o *RemoveRoleMembersBadRequest) ToJSONString() string

type RemoveRoleMembersForbidden

type RemoveRoleMembersForbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

RemoveRoleMembersForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewRemoveRoleMembersForbidden

func NewRemoveRoleMembersForbidden() *RemoveRoleMembersForbidden

NewRemoveRoleMembersForbidden creates a RemoveRoleMembersForbidden with default headers values

func (*RemoveRoleMembersForbidden) Error

func (*RemoveRoleMembersForbidden) GetPayload

func (*RemoveRoleMembersForbidden) ToJSONString

func (o *RemoveRoleMembersForbidden) ToJSONString() string

type RemoveRoleMembersNoContent

type RemoveRoleMembersNoContent struct {
}

RemoveRoleMembersNoContent handles this case with default header values.

Operation succeeded

func NewRemoveRoleMembersNoContent

func NewRemoveRoleMembersNoContent() *RemoveRoleMembersNoContent

NewRemoveRoleMembersNoContent creates a RemoveRoleMembersNoContent with default headers values

func (*RemoveRoleMembersNoContent) Error

type RemoveRoleMembersNotFound

type RemoveRoleMembersNotFound struct {
}

RemoveRoleMembersNotFound handles this case with default header values.

Data not found

func NewRemoveRoleMembersNotFound

func NewRemoveRoleMembersNotFound() *RemoveRoleMembersNotFound

NewRemoveRoleMembersNotFound creates a RemoveRoleMembersNotFound with default headers values

func (*RemoveRoleMembersNotFound) Error

func (o *RemoveRoleMembersNotFound) Error() string

type RemoveRoleMembersParams

type RemoveRoleMembersParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *iamclientmodels.ModelRoleMembersRequest
	/*RoleID
	  Role id

	*/
	RoleID string

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

RemoveRoleMembersParams contains all the parameters to send to the API endpoint for the remove role members operation typically these are written to a http.Request

func NewRemoveRoleMembersParams

func NewRemoveRoleMembersParams() *RemoveRoleMembersParams

NewRemoveRoleMembersParams creates a new RemoveRoleMembersParams object with the default values initialized.

func NewRemoveRoleMembersParamsWithContext

func NewRemoveRoleMembersParamsWithContext(ctx context.Context) *RemoveRoleMembersParams

NewRemoveRoleMembersParamsWithContext creates a new RemoveRoleMembersParams object with the default values initialized, and the ability to set a context for a request

func NewRemoveRoleMembersParamsWithHTTPClient

func NewRemoveRoleMembersParamsWithHTTPClient(client *http.Client) *RemoveRoleMembersParams

NewRemoveRoleMembersParamsWithHTTPClient creates a new RemoveRoleMembersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewRemoveRoleMembersParamsWithTimeout

func NewRemoveRoleMembersParamsWithTimeout(timeout time.Duration) *RemoveRoleMembersParams

NewRemoveRoleMembersParamsWithTimeout creates a new RemoveRoleMembersParams object with the default values initialized, and the ability to set a timeout on a request

func (*RemoveRoleMembersParams) SetAuthInfoWriter

func (o *RemoveRoleMembersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the remove role members params

func (*RemoveRoleMembersParams) SetBody

SetBody adds the body to the remove role members params

func (*RemoveRoleMembersParams) SetContext

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

SetContext adds the context to the remove role members params

func (*RemoveRoleMembersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remove role members params

func (*RemoveRoleMembersParams) SetHTTPClientTransport

func (o *RemoveRoleMembersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the remove role members params

func (*RemoveRoleMembersParams) SetRoleID

func (o *RemoveRoleMembersParams) SetRoleID(roleID string)

SetRoleID adds the roleId to the remove role members params

func (*RemoveRoleMembersParams) SetTimeout

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

SetTimeout adds the timeout to the remove role members params

func (*RemoveRoleMembersParams) WithBody

WithBody adds the body to the remove role members params

func (*RemoveRoleMembersParams) WithContext

WithContext adds the context to the remove role members params

func (*RemoveRoleMembersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the remove role members params

func (*RemoveRoleMembersParams) WithRoleID

WithRoleID adds the roleID to the remove role members params

func (*RemoveRoleMembersParams) WithTimeout

WithTimeout adds the timeout to the remove role members params

func (*RemoveRoleMembersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RemoveRoleMembersReader

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

RemoveRoleMembersReader is a Reader for the RemoveRoleMembers structure.

func (*RemoveRoleMembersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RemoveRoleMembersUnauthorized

type RemoveRoleMembersUnauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

RemoveRoleMembersUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewRemoveRoleMembersUnauthorized

func NewRemoveRoleMembersUnauthorized() *RemoveRoleMembersUnauthorized

NewRemoveRoleMembersUnauthorized creates a RemoveRoleMembersUnauthorized with default headers values

func (*RemoveRoleMembersUnauthorized) Error

func (*RemoveRoleMembersUnauthorized) GetPayload

func (*RemoveRoleMembersUnauthorized) ToJSONString

func (o *RemoveRoleMembersUnauthorized) ToJSONString() string

type SetRoleAsAdminBadRequest

type SetRoleAsAdminBadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

SetRoleAsAdminBadRequest handles this case with default header values.

Invalid request

func NewSetRoleAsAdminBadRequest

func NewSetRoleAsAdminBadRequest() *SetRoleAsAdminBadRequest

NewSetRoleAsAdminBadRequest creates a SetRoleAsAdminBadRequest with default headers values

func (*SetRoleAsAdminBadRequest) Error

func (o *SetRoleAsAdminBadRequest) Error() string

func (*SetRoleAsAdminBadRequest) GetPayload

func (*SetRoleAsAdminBadRequest) ToJSONString

func (o *SetRoleAsAdminBadRequest) ToJSONString() string

type SetRoleAsAdminForbidden

type SetRoleAsAdminForbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

SetRoleAsAdminForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewSetRoleAsAdminForbidden

func NewSetRoleAsAdminForbidden() *SetRoleAsAdminForbidden

NewSetRoleAsAdminForbidden creates a SetRoleAsAdminForbidden with default headers values

func (*SetRoleAsAdminForbidden) Error

func (o *SetRoleAsAdminForbidden) Error() string

func (*SetRoleAsAdminForbidden) GetPayload

func (*SetRoleAsAdminForbidden) ToJSONString

func (o *SetRoleAsAdminForbidden) ToJSONString() string

type SetRoleAsAdminNoContent

type SetRoleAsAdminNoContent struct {
}

SetRoleAsAdminNoContent handles this case with default header values.

Operation succeeded

func NewSetRoleAsAdminNoContent

func NewSetRoleAsAdminNoContent() *SetRoleAsAdminNoContent

NewSetRoleAsAdminNoContent creates a SetRoleAsAdminNoContent with default headers values

func (*SetRoleAsAdminNoContent) Error

func (o *SetRoleAsAdminNoContent) Error() string

type SetRoleAsAdminNotFound

type SetRoleAsAdminNotFound struct {
}

SetRoleAsAdminNotFound handles this case with default header values.

Data not found

func NewSetRoleAsAdminNotFound

func NewSetRoleAsAdminNotFound() *SetRoleAsAdminNotFound

NewSetRoleAsAdminNotFound creates a SetRoleAsAdminNotFound with default headers values

func (*SetRoleAsAdminNotFound) Error

func (o *SetRoleAsAdminNotFound) Error() string

type SetRoleAsAdminParams

type SetRoleAsAdminParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*RoleID
	  Role id

	*/
	RoleID string

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

SetRoleAsAdminParams contains all the parameters to send to the API endpoint for the set role as admin operation typically these are written to a http.Request

func NewSetRoleAsAdminParams

func NewSetRoleAsAdminParams() *SetRoleAsAdminParams

NewSetRoleAsAdminParams creates a new SetRoleAsAdminParams object with the default values initialized.

func NewSetRoleAsAdminParamsWithContext

func NewSetRoleAsAdminParamsWithContext(ctx context.Context) *SetRoleAsAdminParams

NewSetRoleAsAdminParamsWithContext creates a new SetRoleAsAdminParams object with the default values initialized, and the ability to set a context for a request

func NewSetRoleAsAdminParamsWithHTTPClient

func NewSetRoleAsAdminParamsWithHTTPClient(client *http.Client) *SetRoleAsAdminParams

NewSetRoleAsAdminParamsWithHTTPClient creates a new SetRoleAsAdminParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSetRoleAsAdminParamsWithTimeout

func NewSetRoleAsAdminParamsWithTimeout(timeout time.Duration) *SetRoleAsAdminParams

NewSetRoleAsAdminParamsWithTimeout creates a new SetRoleAsAdminParams object with the default values initialized, and the ability to set a timeout on a request

func (*SetRoleAsAdminParams) SetAuthInfoWriter

func (o *SetRoleAsAdminParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the set role as admin params

func (*SetRoleAsAdminParams) SetContext

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

SetContext adds the context to the set role as admin params

func (*SetRoleAsAdminParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the set role as admin params

func (*SetRoleAsAdminParams) SetHTTPClientTransport

func (o *SetRoleAsAdminParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the set role as admin params

func (*SetRoleAsAdminParams) SetRoleID

func (o *SetRoleAsAdminParams) SetRoleID(roleID string)

SetRoleID adds the roleId to the set role as admin params

func (*SetRoleAsAdminParams) SetTimeout

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

SetTimeout adds the timeout to the set role as admin params

func (*SetRoleAsAdminParams) WithContext

WithContext adds the context to the set role as admin params

func (*SetRoleAsAdminParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the set role as admin params

func (*SetRoleAsAdminParams) WithRoleID

func (o *SetRoleAsAdminParams) WithRoleID(roleID string) *SetRoleAsAdminParams

WithRoleID adds the roleID to the set role as admin params

func (*SetRoleAsAdminParams) WithTimeout

func (o *SetRoleAsAdminParams) WithTimeout(timeout time.Duration) *SetRoleAsAdminParams

WithTimeout adds the timeout to the set role as admin params

func (*SetRoleAsAdminParams) WriteToRequest

func (o *SetRoleAsAdminParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SetRoleAsAdminReader

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

SetRoleAsAdminReader is a Reader for the SetRoleAsAdmin structure.

func (*SetRoleAsAdminReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SetRoleAsAdminUnauthorized

type SetRoleAsAdminUnauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

SetRoleAsAdminUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewSetRoleAsAdminUnauthorized

func NewSetRoleAsAdminUnauthorized() *SetRoleAsAdminUnauthorized

NewSetRoleAsAdminUnauthorized creates a SetRoleAsAdminUnauthorized with default headers values

func (*SetRoleAsAdminUnauthorized) Error

func (*SetRoleAsAdminUnauthorized) GetPayload

func (*SetRoleAsAdminUnauthorized) ToJSONString

func (o *SetRoleAsAdminUnauthorized) ToJSONString() string

type UpdateRoleBadRequest

type UpdateRoleBadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

UpdateRoleBadRequest handles this case with default header values.

Invalid 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 (*UpdateRoleBadRequest) ToJSONString

func (o *UpdateRoleBadRequest) ToJSONString() string

type UpdateRoleForbidden

type UpdateRoleForbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

UpdateRoleForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

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 (*UpdateRoleForbidden) ToJSONString

func (o *UpdateRoleForbidden) ToJSONString() string

type UpdateRoleNotFound

type UpdateRoleNotFound struct {
}

UpdateRoleNotFound handles this case with default header values.

Data not found

func NewUpdateRoleNotFound

func NewUpdateRoleNotFound() *UpdateRoleNotFound

NewUpdateRoleNotFound creates a UpdateRoleNotFound with default headers values

func (*UpdateRoleNotFound) Error

func (o *UpdateRoleNotFound) Error() string

type UpdateRoleOK

type UpdateRoleOK struct {
	Payload *iamclientmodels.ModelRoleResponse
}

UpdateRoleOK handles this case with default header values.

OK

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 (*UpdateRoleOK) ToJSONString

func (o *UpdateRoleOK) ToJSONString() string

type UpdateRoleParams

type UpdateRoleParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *iamclientmodels.ModelRoleUpdateRequest
	/*RoleID
	  Role id

	*/
	RoleID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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 values initialized.

func NewUpdateRoleParamsWithContext

func NewUpdateRoleParamsWithContext(ctx context.Context) *UpdateRoleParams

NewUpdateRoleParamsWithContext creates a new UpdateRoleParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*UpdateRoleParams) SetAuthInfoWriter

func (o *UpdateRoleParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the update role params

func (*UpdateRoleParams) SetBody

SetBody adds the body 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) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update role params

func (*UpdateRoleParams) SetHTTPClientTransport

func (o *UpdateRoleParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the update role params

func (*UpdateRoleParams) SetRoleID

func (o *UpdateRoleParams) SetRoleID(roleID string)

SetRoleID adds the roleId 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

WithBody adds the body 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) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update role params

func (*UpdateRoleParams) WithRoleID

func (o *UpdateRoleParams) WithRoleID(roleID string) *UpdateRoleParams

WithRoleID adds the roleID 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 UpdateRolePermissionsBadRequest

type UpdateRolePermissionsBadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

UpdateRolePermissionsBadRequest handles this case with default header values.

Invalid request

func NewUpdateRolePermissionsBadRequest

func NewUpdateRolePermissionsBadRequest() *UpdateRolePermissionsBadRequest

NewUpdateRolePermissionsBadRequest creates a UpdateRolePermissionsBadRequest with default headers values

func (*UpdateRolePermissionsBadRequest) Error

func (*UpdateRolePermissionsBadRequest) GetPayload

func (*UpdateRolePermissionsBadRequest) ToJSONString

func (o *UpdateRolePermissionsBadRequest) ToJSONString() string

type UpdateRolePermissionsForbidden

type UpdateRolePermissionsForbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

UpdateRolePermissionsForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewUpdateRolePermissionsForbidden

func NewUpdateRolePermissionsForbidden() *UpdateRolePermissionsForbidden

NewUpdateRolePermissionsForbidden creates a UpdateRolePermissionsForbidden with default headers values

func (*UpdateRolePermissionsForbidden) Error

func (*UpdateRolePermissionsForbidden) GetPayload

func (*UpdateRolePermissionsForbidden) ToJSONString

func (o *UpdateRolePermissionsForbidden) ToJSONString() string

type UpdateRolePermissionsNoContent

type UpdateRolePermissionsNoContent struct {
}

UpdateRolePermissionsNoContent handles this case with default header values.

Operation succeeded

func NewUpdateRolePermissionsNoContent

func NewUpdateRolePermissionsNoContent() *UpdateRolePermissionsNoContent

NewUpdateRolePermissionsNoContent creates a UpdateRolePermissionsNoContent with default headers values

func (*UpdateRolePermissionsNoContent) Error

type UpdateRolePermissionsNotFound

type UpdateRolePermissionsNotFound struct {
}

UpdateRolePermissionsNotFound handles this case with default header values.

Data not found

func NewUpdateRolePermissionsNotFound

func NewUpdateRolePermissionsNotFound() *UpdateRolePermissionsNotFound

NewUpdateRolePermissionsNotFound creates a UpdateRolePermissionsNotFound with default headers values

func (*UpdateRolePermissionsNotFound) Error

type UpdateRolePermissionsParams

type UpdateRolePermissionsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *iamclientmodels.AccountcommonPermissions
	/*RoleID
	  Role id

	*/
	RoleID string

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

UpdateRolePermissionsParams contains all the parameters to send to the API endpoint for the update role permissions operation typically these are written to a http.Request

func NewUpdateRolePermissionsParams

func NewUpdateRolePermissionsParams() *UpdateRolePermissionsParams

NewUpdateRolePermissionsParams creates a new UpdateRolePermissionsParams object with the default values initialized.

func NewUpdateRolePermissionsParamsWithContext

func NewUpdateRolePermissionsParamsWithContext(ctx context.Context) *UpdateRolePermissionsParams

NewUpdateRolePermissionsParamsWithContext creates a new UpdateRolePermissionsParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateRolePermissionsParamsWithHTTPClient

func NewUpdateRolePermissionsParamsWithHTTPClient(client *http.Client) *UpdateRolePermissionsParams

NewUpdateRolePermissionsParamsWithHTTPClient creates a new UpdateRolePermissionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateRolePermissionsParamsWithTimeout

func NewUpdateRolePermissionsParamsWithTimeout(timeout time.Duration) *UpdateRolePermissionsParams

NewUpdateRolePermissionsParamsWithTimeout creates a new UpdateRolePermissionsParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateRolePermissionsParams) SetAuthInfoWriter

func (o *UpdateRolePermissionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the update role permissions params

func (*UpdateRolePermissionsParams) SetBody

SetBody adds the body to the update role permissions params

func (*UpdateRolePermissionsParams) SetContext

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

SetContext adds the context to the update role permissions params

func (*UpdateRolePermissionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update role permissions params

func (*UpdateRolePermissionsParams) SetHTTPClientTransport

func (o *UpdateRolePermissionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the update role permissions params

func (*UpdateRolePermissionsParams) SetRoleID

func (o *UpdateRolePermissionsParams) SetRoleID(roleID string)

SetRoleID adds the roleId to the update role permissions params

func (*UpdateRolePermissionsParams) SetTimeout

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

SetTimeout adds the timeout to the update role permissions params

func (*UpdateRolePermissionsParams) WithBody

WithBody adds the body to the update role permissions params

func (*UpdateRolePermissionsParams) WithContext

WithContext adds the context to the update role permissions params

func (*UpdateRolePermissionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update role permissions params

func (*UpdateRolePermissionsParams) WithRoleID

WithRoleID adds the roleID to the update role permissions params

func (*UpdateRolePermissionsParams) WithTimeout

WithTimeout adds the timeout to the update role permissions params

func (*UpdateRolePermissionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateRolePermissionsReader

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

UpdateRolePermissionsReader is a Reader for the UpdateRolePermissions structure.

func (*UpdateRolePermissionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateRolePermissionsUnauthorized

type UpdateRolePermissionsUnauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

UpdateRolePermissionsUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewUpdateRolePermissionsUnauthorized

func NewUpdateRolePermissionsUnauthorized() *UpdateRolePermissionsUnauthorized

NewUpdateRolePermissionsUnauthorized creates a UpdateRolePermissionsUnauthorized with default headers values

func (*UpdateRolePermissionsUnauthorized) Error

func (*UpdateRolePermissionsUnauthorized) GetPayload

func (*UpdateRolePermissionsUnauthorized) ToJSONString

func (o *UpdateRolePermissionsUnauthorized) ToJSONString() string

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 {
	Payload *iamclientmodels.RestErrorResponse
}

UpdateRoleUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

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 (*UpdateRoleUnauthorized) ToJSONString

func (o *UpdateRoleUnauthorized) ToJSONString() string

Source Files

Jump to

Keyboard shortcuts

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