Documentation ¶
Index ¶
- type AddRoleManagersBadRequest
- type AddRoleManagersForbidden
- type AddRoleManagersNoContent
- type AddRoleManagersNotFound
- type AddRoleManagersParams
- func NewAddRoleManagersParams() *AddRoleManagersParams
- func NewAddRoleManagersParamsWithContext(ctx context.Context) *AddRoleManagersParams
- func NewAddRoleManagersParamsWithHTTPClient(client *http.Client) *AddRoleManagersParams
- func NewAddRoleManagersParamsWithTimeout(timeout time.Duration) *AddRoleManagersParams
- func (o *AddRoleManagersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AddRoleManagersParams) SetBody(body *iamclientmodels.ModelRoleManagersRequest)
- func (o *AddRoleManagersParams) SetContext(ctx context.Context)
- func (o *AddRoleManagersParams) SetHTTPClient(client *http.Client)
- func (o *AddRoleManagersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AddRoleManagersParams) SetRoleID(roleID string)
- func (o *AddRoleManagersParams) SetTimeout(timeout time.Duration)
- func (o *AddRoleManagersParams) WithBody(body *iamclientmodels.ModelRoleManagersRequest) *AddRoleManagersParams
- func (o *AddRoleManagersParams) WithContext(ctx context.Context) *AddRoleManagersParams
- func (o *AddRoleManagersParams) WithHTTPClient(client *http.Client) *AddRoleManagersParams
- func (o *AddRoleManagersParams) WithRoleID(roleID string) *AddRoleManagersParams
- func (o *AddRoleManagersParams) WithTimeout(timeout time.Duration) *AddRoleManagersParams
- func (o *AddRoleManagersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddRoleManagersReader
- type AddRoleManagersUnauthorized
- type AddRoleMembersBadRequest
- type AddRoleMembersForbidden
- type AddRoleMembersNoContent
- type AddRoleMembersNotFound
- type AddRoleMembersParams
- func NewAddRoleMembersParams() *AddRoleMembersParams
- func NewAddRoleMembersParamsWithContext(ctx context.Context) *AddRoleMembersParams
- func NewAddRoleMembersParamsWithHTTPClient(client *http.Client) *AddRoleMembersParams
- func NewAddRoleMembersParamsWithTimeout(timeout time.Duration) *AddRoleMembersParams
- func (o *AddRoleMembersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AddRoleMembersParams) SetBody(body *iamclientmodels.ModelRoleMembersRequest)
- func (o *AddRoleMembersParams) SetContext(ctx context.Context)
- func (o *AddRoleMembersParams) SetHTTPClient(client *http.Client)
- func (o *AddRoleMembersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AddRoleMembersParams) SetRoleID(roleID string)
- func (o *AddRoleMembersParams) SetTimeout(timeout time.Duration)
- func (o *AddRoleMembersParams) WithBody(body *iamclientmodels.ModelRoleMembersRequest) *AddRoleMembersParams
- func (o *AddRoleMembersParams) WithContext(ctx context.Context) *AddRoleMembersParams
- func (o *AddRoleMembersParams) WithHTTPClient(client *http.Client) *AddRoleMembersParams
- func (o *AddRoleMembersParams) WithRoleID(roleID string) *AddRoleMembersParams
- func (o *AddRoleMembersParams) WithTimeout(timeout time.Duration) *AddRoleMembersParams
- func (o *AddRoleMembersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddRoleMembersReader
- type AddRoleMembersUnauthorized
- type AddRolePermissionBadRequest
- type AddRolePermissionForbidden
- type AddRolePermissionNoContent
- type AddRolePermissionNotFound
- type AddRolePermissionParams
- func NewAddRolePermissionParams() *AddRolePermissionParams
- func NewAddRolePermissionParamsWithContext(ctx context.Context) *AddRolePermissionParams
- func NewAddRolePermissionParamsWithHTTPClient(client *http.Client) *AddRolePermissionParams
- func NewAddRolePermissionParamsWithTimeout(timeout time.Duration) *AddRolePermissionParams
- func (o *AddRolePermissionParams) SetAction(action int64)
- func (o *AddRolePermissionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AddRolePermissionParams) SetBody(body *iamclientmodels.ModelUpdatePermissionScheduleRequest)
- func (o *AddRolePermissionParams) SetContext(ctx context.Context)
- func (o *AddRolePermissionParams) SetHTTPClient(client *http.Client)
- func (o *AddRolePermissionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AddRolePermissionParams) SetResource(resource string)
- func (o *AddRolePermissionParams) SetRoleID(roleID string)
- func (o *AddRolePermissionParams) SetTimeout(timeout time.Duration)
- func (o *AddRolePermissionParams) WithAction(action int64) *AddRolePermissionParams
- func (o *AddRolePermissionParams) WithBody(body *iamclientmodels.ModelUpdatePermissionScheduleRequest) *AddRolePermissionParams
- func (o *AddRolePermissionParams) WithContext(ctx context.Context) *AddRolePermissionParams
- func (o *AddRolePermissionParams) WithHTTPClient(client *http.Client) *AddRolePermissionParams
- func (o *AddRolePermissionParams) WithResource(resource string) *AddRolePermissionParams
- func (o *AddRolePermissionParams) WithRoleID(roleID string) *AddRolePermissionParams
- func (o *AddRolePermissionParams) WithTimeout(timeout time.Duration) *AddRolePermissionParams
- func (o *AddRolePermissionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddRolePermissionReader
- type AddRolePermissionUnauthorized
- type Client
- func (a *Client) AddRoleManagers(params *AddRoleManagersParams, authInfo runtime.ClientAuthInfoWriter) (*AddRoleManagersNoContent, *AddRoleManagersBadRequest, ...)
- func (a *Client) AddRoleManagersShort(params *AddRoleManagersParams, authInfo runtime.ClientAuthInfoWriter) (*AddRoleManagersNoContent, error)
- func (a *Client) AddRoleMembers(params *AddRoleMembersParams, authInfo runtime.ClientAuthInfoWriter) (*AddRoleMembersNoContent, *AddRoleMembersBadRequest, ...)
- func (a *Client) AddRoleMembersShort(params *AddRoleMembersParams, authInfo runtime.ClientAuthInfoWriter) (*AddRoleMembersNoContent, error)
- func (a *Client) AddRolePermission(params *AddRolePermissionParams, authInfo runtime.ClientAuthInfoWriter) (*AddRolePermissionNoContent, *AddRolePermissionBadRequest, ...)
- func (a *Client) AddRolePermissionShort(params *AddRolePermissionParams, authInfo runtime.ClientAuthInfoWriter) (*AddRolePermissionNoContent, error)
- func (a *Client) CreateRole(params *CreateRoleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateRoleCreated, *CreateRoleBadRequest, *CreateRoleUnauthorized, ...)
- func (a *Client) CreateRoleShort(params *CreateRoleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateRoleCreated, error)
- func (a *Client) DeleteRole(params *DeleteRoleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRoleNoContent, *DeleteRoleUnauthorized, *DeleteRoleForbidden, ...)
- func (a *Client) DeleteRolePermission(params *DeleteRolePermissionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRolePermissionNoContent, *DeleteRolePermissionBadRequest, ...)
- func (a *Client) DeleteRolePermissionShort(params *DeleteRolePermissionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRolePermissionNoContent, error)
- func (a *Client) DeleteRoleShort(params *DeleteRoleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRoleNoContent, error)
- func (a *Client) GetRole(params *GetRoleParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleOK, *GetRoleUnauthorized, *GetRoleForbidden, *GetRoleNotFound, error)
- func (a *Client) GetRoleAdminStatus(params *GetRoleAdminStatusParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleAdminStatusOK, *GetRoleAdminStatusBadRequest, ...)
- func (a *Client) GetRoleAdminStatusShort(params *GetRoleAdminStatusParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleAdminStatusOK, error)
- func (a *Client) GetRoleManagers(params *GetRoleManagersParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleManagersOK, *GetRoleManagersBadRequest, *GetRoleManagersUnauthorized, ...)
- func (a *Client) GetRoleManagersShort(params *GetRoleManagersParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleManagersOK, error)
- func (a *Client) GetRoleMembers(params *GetRoleMembersParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleMembersOK, *GetRoleMembersBadRequest, *GetRoleMembersUnauthorized, ...)
- func (a *Client) GetRoleMembersShort(params *GetRoleMembersParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleMembersOK, error)
- func (a *Client) GetRoleShort(params *GetRoleParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleOK, error)
- func (a *Client) GetRoles(params *GetRolesParams, authInfo runtime.ClientAuthInfoWriter) (*GetRolesOK, *GetRolesUnauthorized, *GetRolesForbidden, error)
- func (a *Client) GetRolesShort(params *GetRolesParams, authInfo runtime.ClientAuthInfoWriter) (*GetRolesOK, error)
- func (a *Client) RemoveRoleAdmin(params *RemoveRoleAdminParams, authInfo runtime.ClientAuthInfoWriter) (*RemoveRoleAdminNoContent, *RemoveRoleAdminBadRequest, ...)
- func (a *Client) RemoveRoleAdminShort(params *RemoveRoleAdminParams, authInfo runtime.ClientAuthInfoWriter) (*RemoveRoleAdminNoContent, error)
- func (a *Client) RemoveRoleManagers(params *RemoveRoleManagersParams, authInfo runtime.ClientAuthInfoWriter) (*RemoveRoleManagersNoContent, *RemoveRoleManagersBadRequest, ...)
- func (a *Client) RemoveRoleManagersShort(params *RemoveRoleManagersParams, authInfo runtime.ClientAuthInfoWriter) (*RemoveRoleManagersNoContent, error)
- func (a *Client) RemoveRoleMembers(params *RemoveRoleMembersParams, authInfo runtime.ClientAuthInfoWriter) (*RemoveRoleMembersNoContent, *RemoveRoleMembersBadRequest, ...)
- func (a *Client) RemoveRoleMembersShort(params *RemoveRoleMembersParams, authInfo runtime.ClientAuthInfoWriter) (*RemoveRoleMembersNoContent, error)
- func (a *Client) SetRoleAsAdmin(params *SetRoleAsAdminParams, authInfo runtime.ClientAuthInfoWriter) (*SetRoleAsAdminNoContent, *SetRoleAsAdminBadRequest, ...)
- func (a *Client) SetRoleAsAdminShort(params *SetRoleAsAdminParams, authInfo runtime.ClientAuthInfoWriter) (*SetRoleAsAdminNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateRole(params *UpdateRoleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateRoleOK, *UpdateRoleBadRequest, *UpdateRoleUnauthorized, ...)
- func (a *Client) UpdateRolePermissions(params *UpdateRolePermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateRolePermissionsNoContent, *UpdateRolePermissionsBadRequest, ...)
- func (a *Client) UpdateRolePermissionsShort(params *UpdateRolePermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateRolePermissionsNoContent, error)
- func (a *Client) UpdateRoleShort(params *UpdateRoleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateRoleOK, error)
- type ClientService
- type CreateRoleBadRequest
- type CreateRoleCreated
- type CreateRoleForbidden
- type CreateRoleParams
- func (o *CreateRoleParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CreateRoleParams) SetBody(body *iamclientmodels.ModelRoleCreateRequest)
- func (o *CreateRoleParams) SetContext(ctx context.Context)
- func (o *CreateRoleParams) SetHTTPClient(client *http.Client)
- func (o *CreateRoleParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CreateRoleParams) SetTimeout(timeout time.Duration)
- func (o *CreateRoleParams) WithBody(body *iamclientmodels.ModelRoleCreateRequest) *CreateRoleParams
- func (o *CreateRoleParams) WithContext(ctx context.Context) *CreateRoleParams
- func (o *CreateRoleParams) WithHTTPClient(client *http.Client) *CreateRoleParams
- func (o *CreateRoleParams) WithTimeout(timeout time.Duration) *CreateRoleParams
- func (o *CreateRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRoleReader
- type CreateRoleUnauthorized
- type DeleteRoleForbidden
- type DeleteRoleNoContent
- type DeleteRoleNotFound
- type DeleteRoleParams
- func (o *DeleteRoleParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteRoleParams) SetContext(ctx context.Context)
- func (o *DeleteRoleParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRoleParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteRoleParams) SetRoleID(roleID string)
- func (o *DeleteRoleParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRoleParams) WithContext(ctx context.Context) *DeleteRoleParams
- func (o *DeleteRoleParams) WithHTTPClient(client *http.Client) *DeleteRoleParams
- func (o *DeleteRoleParams) WithRoleID(roleID string) *DeleteRoleParams
- func (o *DeleteRoleParams) WithTimeout(timeout time.Duration) *DeleteRoleParams
- func (o *DeleteRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRolePermissionBadRequest
- type DeleteRolePermissionForbidden
- type DeleteRolePermissionNoContent
- type DeleteRolePermissionNotFound
- type DeleteRolePermissionParams
- func NewDeleteRolePermissionParams() *DeleteRolePermissionParams
- func NewDeleteRolePermissionParamsWithContext(ctx context.Context) *DeleteRolePermissionParams
- func NewDeleteRolePermissionParamsWithHTTPClient(client *http.Client) *DeleteRolePermissionParams
- func NewDeleteRolePermissionParamsWithTimeout(timeout time.Duration) *DeleteRolePermissionParams
- func (o *DeleteRolePermissionParams) SetAction(action int64)
- func (o *DeleteRolePermissionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteRolePermissionParams) SetContext(ctx context.Context)
- func (o *DeleteRolePermissionParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRolePermissionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteRolePermissionParams) SetResource(resource string)
- func (o *DeleteRolePermissionParams) SetRoleID(roleID string)
- func (o *DeleteRolePermissionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRolePermissionParams) WithAction(action int64) *DeleteRolePermissionParams
- func (o *DeleteRolePermissionParams) WithContext(ctx context.Context) *DeleteRolePermissionParams
- func (o *DeleteRolePermissionParams) WithHTTPClient(client *http.Client) *DeleteRolePermissionParams
- func (o *DeleteRolePermissionParams) WithResource(resource string) *DeleteRolePermissionParams
- func (o *DeleteRolePermissionParams) WithRoleID(roleID string) *DeleteRolePermissionParams
- func (o *DeleteRolePermissionParams) WithTimeout(timeout time.Duration) *DeleteRolePermissionParams
- func (o *DeleteRolePermissionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRolePermissionReader
- type DeleteRolePermissionUnauthorized
- type DeleteRoleReader
- type DeleteRoleUnauthorized
- type GetRoleAdminStatusBadRequest
- type GetRoleAdminStatusForbidden
- type GetRoleAdminStatusNotFound
- type GetRoleAdminStatusOK
- type GetRoleAdminStatusParams
- func NewGetRoleAdminStatusParams() *GetRoleAdminStatusParams
- func NewGetRoleAdminStatusParamsWithContext(ctx context.Context) *GetRoleAdminStatusParams
- func NewGetRoleAdminStatusParamsWithHTTPClient(client *http.Client) *GetRoleAdminStatusParams
- func NewGetRoleAdminStatusParamsWithTimeout(timeout time.Duration) *GetRoleAdminStatusParams
- func (o *GetRoleAdminStatusParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetRoleAdminStatusParams) SetContext(ctx context.Context)
- func (o *GetRoleAdminStatusParams) SetHTTPClient(client *http.Client)
- func (o *GetRoleAdminStatusParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetRoleAdminStatusParams) SetRoleID(roleID string)
- func (o *GetRoleAdminStatusParams) SetTimeout(timeout time.Duration)
- func (o *GetRoleAdminStatusParams) WithContext(ctx context.Context) *GetRoleAdminStatusParams
- func (o *GetRoleAdminStatusParams) WithHTTPClient(client *http.Client) *GetRoleAdminStatusParams
- func (o *GetRoleAdminStatusParams) WithRoleID(roleID string) *GetRoleAdminStatusParams
- func (o *GetRoleAdminStatusParams) WithTimeout(timeout time.Duration) *GetRoleAdminStatusParams
- func (o *GetRoleAdminStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRoleAdminStatusReader
- type GetRoleAdminStatusUnauthorized
- type GetRoleForbidden
- type GetRoleManagersBadRequest
- type GetRoleManagersForbidden
- type GetRoleManagersNotFound
- type GetRoleManagersOK
- type GetRoleManagersParams
- func NewGetRoleManagersParams() *GetRoleManagersParams
- func NewGetRoleManagersParamsWithContext(ctx context.Context) *GetRoleManagersParams
- func NewGetRoleManagersParamsWithHTTPClient(client *http.Client) *GetRoleManagersParams
- func NewGetRoleManagersParamsWithTimeout(timeout time.Duration) *GetRoleManagersParams
- func (o *GetRoleManagersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetRoleManagersParams) SetContext(ctx context.Context)
- func (o *GetRoleManagersParams) SetHTTPClient(client *http.Client)
- func (o *GetRoleManagersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetRoleManagersParams) SetRoleID(roleID string)
- func (o *GetRoleManagersParams) SetTimeout(timeout time.Duration)
- func (o *GetRoleManagersParams) WithContext(ctx context.Context) *GetRoleManagersParams
- func (o *GetRoleManagersParams) WithHTTPClient(client *http.Client) *GetRoleManagersParams
- func (o *GetRoleManagersParams) WithRoleID(roleID string) *GetRoleManagersParams
- func (o *GetRoleManagersParams) WithTimeout(timeout time.Duration) *GetRoleManagersParams
- func (o *GetRoleManagersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRoleManagersReader
- type GetRoleManagersUnauthorized
- type GetRoleMembersBadRequest
- type GetRoleMembersForbidden
- type GetRoleMembersNotFound
- type GetRoleMembersOK
- type GetRoleMembersParams
- func NewGetRoleMembersParams() *GetRoleMembersParams
- func NewGetRoleMembersParamsWithContext(ctx context.Context) *GetRoleMembersParams
- func NewGetRoleMembersParamsWithHTTPClient(client *http.Client) *GetRoleMembersParams
- func NewGetRoleMembersParamsWithTimeout(timeout time.Duration) *GetRoleMembersParams
- func (o *GetRoleMembersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetRoleMembersParams) SetContext(ctx context.Context)
- func (o *GetRoleMembersParams) SetHTTPClient(client *http.Client)
- func (o *GetRoleMembersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetRoleMembersParams) SetRoleID(roleID string)
- func (o *GetRoleMembersParams) SetTimeout(timeout time.Duration)
- func (o *GetRoleMembersParams) WithContext(ctx context.Context) *GetRoleMembersParams
- func (o *GetRoleMembersParams) WithHTTPClient(client *http.Client) *GetRoleMembersParams
- func (o *GetRoleMembersParams) WithRoleID(roleID string) *GetRoleMembersParams
- func (o *GetRoleMembersParams) WithTimeout(timeout time.Duration) *GetRoleMembersParams
- func (o *GetRoleMembersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRoleMembersReader
- type GetRoleMembersUnauthorized
- type GetRoleNotFound
- type GetRoleOK
- type GetRoleParams
- func (o *GetRoleParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetRoleParams) SetContext(ctx context.Context)
- func (o *GetRoleParams) SetHTTPClient(client *http.Client)
- func (o *GetRoleParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetRoleParams) SetRoleID(roleID string)
- func (o *GetRoleParams) SetTimeout(timeout time.Duration)
- func (o *GetRoleParams) WithContext(ctx context.Context) *GetRoleParams
- func (o *GetRoleParams) WithHTTPClient(client *http.Client) *GetRoleParams
- func (o *GetRoleParams) WithRoleID(roleID string) *GetRoleParams
- func (o *GetRoleParams) WithTimeout(timeout time.Duration) *GetRoleParams
- func (o *GetRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRoleReader
- type GetRoleUnauthorized
- type GetRolesForbidden
- type GetRolesOK
- type GetRolesParams
- func (o *GetRolesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetRolesParams) SetContext(ctx context.Context)
- func (o *GetRolesParams) SetHTTPClient(client *http.Client)
- func (o *GetRolesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetRolesParams) SetIsWildcard(isWildcard *string)
- func (o *GetRolesParams) SetTimeout(timeout time.Duration)
- func (o *GetRolesParams) WithContext(ctx context.Context) *GetRolesParams
- func (o *GetRolesParams) WithHTTPClient(client *http.Client) *GetRolesParams
- func (o *GetRolesParams) WithIsWildcard(isWildcard *string) *GetRolesParams
- func (o *GetRolesParams) WithTimeout(timeout time.Duration) *GetRolesParams
- func (o *GetRolesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRolesReader
- type GetRolesUnauthorized
- type RemoveRoleAdminBadRequest
- type RemoveRoleAdminForbidden
- type RemoveRoleAdminNoContent
- type RemoveRoleAdminNotFound
- type RemoveRoleAdminParams
- func NewRemoveRoleAdminParams() *RemoveRoleAdminParams
- func NewRemoveRoleAdminParamsWithContext(ctx context.Context) *RemoveRoleAdminParams
- func NewRemoveRoleAdminParamsWithHTTPClient(client *http.Client) *RemoveRoleAdminParams
- func NewRemoveRoleAdminParamsWithTimeout(timeout time.Duration) *RemoveRoleAdminParams
- func (o *RemoveRoleAdminParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RemoveRoleAdminParams) SetContext(ctx context.Context)
- func (o *RemoveRoleAdminParams) SetHTTPClient(client *http.Client)
- func (o *RemoveRoleAdminParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RemoveRoleAdminParams) SetRoleID(roleID string)
- func (o *RemoveRoleAdminParams) SetTimeout(timeout time.Duration)
- func (o *RemoveRoleAdminParams) WithContext(ctx context.Context) *RemoveRoleAdminParams
- func (o *RemoveRoleAdminParams) WithHTTPClient(client *http.Client) *RemoveRoleAdminParams
- func (o *RemoveRoleAdminParams) WithRoleID(roleID string) *RemoveRoleAdminParams
- func (o *RemoveRoleAdminParams) WithTimeout(timeout time.Duration) *RemoveRoleAdminParams
- func (o *RemoveRoleAdminParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveRoleAdminReader
- type RemoveRoleAdminUnauthorized
- type RemoveRoleManagersBadRequest
- type RemoveRoleManagersForbidden
- type RemoveRoleManagersNoContent
- type RemoveRoleManagersNotFound
- type RemoveRoleManagersParams
- func NewRemoveRoleManagersParams() *RemoveRoleManagersParams
- func NewRemoveRoleManagersParamsWithContext(ctx context.Context) *RemoveRoleManagersParams
- func NewRemoveRoleManagersParamsWithHTTPClient(client *http.Client) *RemoveRoleManagersParams
- func NewRemoveRoleManagersParamsWithTimeout(timeout time.Duration) *RemoveRoleManagersParams
- func (o *RemoveRoleManagersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RemoveRoleManagersParams) SetBody(body *iamclientmodels.ModelRoleManagersRequest)
- func (o *RemoveRoleManagersParams) SetContext(ctx context.Context)
- func (o *RemoveRoleManagersParams) SetHTTPClient(client *http.Client)
- func (o *RemoveRoleManagersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RemoveRoleManagersParams) SetRoleID(roleID string)
- func (o *RemoveRoleManagersParams) SetTimeout(timeout time.Duration)
- func (o *RemoveRoleManagersParams) WithBody(body *iamclientmodels.ModelRoleManagersRequest) *RemoveRoleManagersParams
- func (o *RemoveRoleManagersParams) WithContext(ctx context.Context) *RemoveRoleManagersParams
- func (o *RemoveRoleManagersParams) WithHTTPClient(client *http.Client) *RemoveRoleManagersParams
- func (o *RemoveRoleManagersParams) WithRoleID(roleID string) *RemoveRoleManagersParams
- func (o *RemoveRoleManagersParams) WithTimeout(timeout time.Duration) *RemoveRoleManagersParams
- func (o *RemoveRoleManagersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveRoleManagersReader
- type RemoveRoleManagersUnauthorized
- type RemoveRoleMembersBadRequest
- type RemoveRoleMembersForbidden
- type RemoveRoleMembersNoContent
- type RemoveRoleMembersNotFound
- type RemoveRoleMembersParams
- func NewRemoveRoleMembersParams() *RemoveRoleMembersParams
- func NewRemoveRoleMembersParamsWithContext(ctx context.Context) *RemoveRoleMembersParams
- func NewRemoveRoleMembersParamsWithHTTPClient(client *http.Client) *RemoveRoleMembersParams
- func NewRemoveRoleMembersParamsWithTimeout(timeout time.Duration) *RemoveRoleMembersParams
- func (o *RemoveRoleMembersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RemoveRoleMembersParams) SetBody(body *iamclientmodels.ModelRoleMembersRequest)
- func (o *RemoveRoleMembersParams) SetContext(ctx context.Context)
- func (o *RemoveRoleMembersParams) SetHTTPClient(client *http.Client)
- func (o *RemoveRoleMembersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RemoveRoleMembersParams) SetRoleID(roleID string)
- func (o *RemoveRoleMembersParams) SetTimeout(timeout time.Duration)
- func (o *RemoveRoleMembersParams) WithBody(body *iamclientmodels.ModelRoleMembersRequest) *RemoveRoleMembersParams
- func (o *RemoveRoleMembersParams) WithContext(ctx context.Context) *RemoveRoleMembersParams
- func (o *RemoveRoleMembersParams) WithHTTPClient(client *http.Client) *RemoveRoleMembersParams
- func (o *RemoveRoleMembersParams) WithRoleID(roleID string) *RemoveRoleMembersParams
- func (o *RemoveRoleMembersParams) WithTimeout(timeout time.Duration) *RemoveRoleMembersParams
- func (o *RemoveRoleMembersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveRoleMembersReader
- type RemoveRoleMembersUnauthorized
- type SetRoleAsAdminBadRequest
- type SetRoleAsAdminForbidden
- type SetRoleAsAdminNoContent
- type SetRoleAsAdminNotFound
- type SetRoleAsAdminParams
- func NewSetRoleAsAdminParams() *SetRoleAsAdminParams
- func NewSetRoleAsAdminParamsWithContext(ctx context.Context) *SetRoleAsAdminParams
- func NewSetRoleAsAdminParamsWithHTTPClient(client *http.Client) *SetRoleAsAdminParams
- func NewSetRoleAsAdminParamsWithTimeout(timeout time.Duration) *SetRoleAsAdminParams
- func (o *SetRoleAsAdminParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *SetRoleAsAdminParams) SetContext(ctx context.Context)
- func (o *SetRoleAsAdminParams) SetHTTPClient(client *http.Client)
- func (o *SetRoleAsAdminParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *SetRoleAsAdminParams) SetRoleID(roleID string)
- func (o *SetRoleAsAdminParams) SetTimeout(timeout time.Duration)
- func (o *SetRoleAsAdminParams) WithContext(ctx context.Context) *SetRoleAsAdminParams
- func (o *SetRoleAsAdminParams) WithHTTPClient(client *http.Client) *SetRoleAsAdminParams
- func (o *SetRoleAsAdminParams) WithRoleID(roleID string) *SetRoleAsAdminParams
- func (o *SetRoleAsAdminParams) WithTimeout(timeout time.Duration) *SetRoleAsAdminParams
- func (o *SetRoleAsAdminParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetRoleAsAdminReader
- type SetRoleAsAdminUnauthorized
- type UpdateRoleBadRequest
- type UpdateRoleForbidden
- type UpdateRoleNotFound
- type UpdateRoleOK
- type UpdateRoleParams
- func (o *UpdateRoleParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateRoleParams) SetBody(body *iamclientmodels.ModelRoleUpdateRequest)
- func (o *UpdateRoleParams) SetContext(ctx context.Context)
- func (o *UpdateRoleParams) SetHTTPClient(client *http.Client)
- func (o *UpdateRoleParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateRoleParams) SetRoleID(roleID string)
- func (o *UpdateRoleParams) SetTimeout(timeout time.Duration)
- func (o *UpdateRoleParams) WithBody(body *iamclientmodels.ModelRoleUpdateRequest) *UpdateRoleParams
- func (o *UpdateRoleParams) WithContext(ctx context.Context) *UpdateRoleParams
- func (o *UpdateRoleParams) WithHTTPClient(client *http.Client) *UpdateRoleParams
- func (o *UpdateRoleParams) WithRoleID(roleID string) *UpdateRoleParams
- func (o *UpdateRoleParams) WithTimeout(timeout time.Duration) *UpdateRoleParams
- func (o *UpdateRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateRolePermissionsBadRequest
- type UpdateRolePermissionsForbidden
- type UpdateRolePermissionsNoContent
- type UpdateRolePermissionsNotFound
- type UpdateRolePermissionsParams
- func NewUpdateRolePermissionsParams() *UpdateRolePermissionsParams
- func NewUpdateRolePermissionsParamsWithContext(ctx context.Context) *UpdateRolePermissionsParams
- func NewUpdateRolePermissionsParamsWithHTTPClient(client *http.Client) *UpdateRolePermissionsParams
- func NewUpdateRolePermissionsParamsWithTimeout(timeout time.Duration) *UpdateRolePermissionsParams
- func (o *UpdateRolePermissionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateRolePermissionsParams) SetBody(body *iamclientmodels.AccountcommonPermissions)
- func (o *UpdateRolePermissionsParams) SetContext(ctx context.Context)
- func (o *UpdateRolePermissionsParams) SetHTTPClient(client *http.Client)
- func (o *UpdateRolePermissionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateRolePermissionsParams) SetRoleID(roleID string)
- func (o *UpdateRolePermissionsParams) SetTimeout(timeout time.Duration)
- func (o *UpdateRolePermissionsParams) WithBody(body *iamclientmodels.AccountcommonPermissions) *UpdateRolePermissionsParams
- func (o *UpdateRolePermissionsParams) WithContext(ctx context.Context) *UpdateRolePermissionsParams
- func (o *UpdateRolePermissionsParams) WithHTTPClient(client *http.Client) *UpdateRolePermissionsParams
- func (o *UpdateRolePermissionsParams) WithRoleID(roleID string) *UpdateRolePermissionsParams
- func (o *UpdateRolePermissionsParams) WithTimeout(timeout time.Duration) *UpdateRolePermissionsParams
- func (o *UpdateRolePermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateRolePermissionsReader
- type UpdateRolePermissionsUnauthorized
- type UpdateRoleReader
- type UpdateRoleUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddRoleManagersBadRequest ¶
type AddRoleManagersBadRequest struct { }
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
type AddRoleManagersForbidden ¶
type AddRoleManagersForbidden struct { }
AddRoleManagersForbidden handles this case with default header values.
Forbidden
func NewAddRoleManagersForbidden ¶
func NewAddRoleManagersForbidden() *AddRoleManagersForbidden
NewAddRoleManagersForbidden creates a AddRoleManagersForbidden with default headers values
func (*AddRoleManagersForbidden) Error ¶
func (o *AddRoleManagersForbidden) Error() 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 ¶
func (o *AddRoleManagersParams) SetBody(body *iamclientmodels.ModelRoleManagersRequest)
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 ¶
func (o *AddRoleManagersParams) WithBody(body *iamclientmodels.ModelRoleManagersRequest) *AddRoleManagersParams
WithBody adds the body to the add role managers params
func (*AddRoleManagersParams) WithContext ¶
func (o *AddRoleManagersParams) WithContext(ctx context.Context) *AddRoleManagersParams
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 { }
AddRoleManagersUnauthorized handles this case with default header values.
Unauthorized access
func NewAddRoleManagersUnauthorized ¶
func NewAddRoleManagersUnauthorized() *AddRoleManagersUnauthorized
NewAddRoleManagersUnauthorized creates a AddRoleManagersUnauthorized with default headers values
func (*AddRoleManagersUnauthorized) Error ¶
func (o *AddRoleManagersUnauthorized) Error() string
type AddRoleMembersBadRequest ¶
type AddRoleMembersBadRequest struct { }
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
type AddRoleMembersForbidden ¶
type AddRoleMembersForbidden struct { }
AddRoleMembersForbidden handles this case with default header values.
Forbidden
func NewAddRoleMembersForbidden ¶
func NewAddRoleMembersForbidden() *AddRoleMembersForbidden
NewAddRoleMembersForbidden creates a AddRoleMembersForbidden with default headers values
func (*AddRoleMembersForbidden) Error ¶
func (o *AddRoleMembersForbidden) Error() 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 ¶
func (o *AddRoleMembersParams) SetBody(body *iamclientmodels.ModelRoleMembersRequest)
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 ¶
func (o *AddRoleMembersParams) WithBody(body *iamclientmodels.ModelRoleMembersRequest) *AddRoleMembersParams
WithBody adds the body to the add role members params
func (*AddRoleMembersParams) WithContext ¶
func (o *AddRoleMembersParams) WithContext(ctx context.Context) *AddRoleMembersParams
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 { }
AddRoleMembersUnauthorized handles this case with default header values.
Unauthorized access
func NewAddRoleMembersUnauthorized ¶
func NewAddRoleMembersUnauthorized() *AddRoleMembersUnauthorized
NewAddRoleMembersUnauthorized creates a AddRoleMembersUnauthorized with default headers values
func (*AddRoleMembersUnauthorized) Error ¶
func (o *AddRoleMembersUnauthorized) Error() string
type AddRolePermissionBadRequest ¶
type AddRolePermissionBadRequest struct { }
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 (o *AddRolePermissionBadRequest) Error() string
type AddRolePermissionForbidden ¶
type AddRolePermissionForbidden struct { }
AddRolePermissionForbidden handles this case with default header values.
Forbidden
func NewAddRolePermissionForbidden ¶
func NewAddRolePermissionForbidden() *AddRolePermissionForbidden
NewAddRolePermissionForbidden creates a AddRolePermissionForbidden with default headers values
func (*AddRolePermissionForbidden) Error ¶
func (o *AddRolePermissionForbidden) Error() 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 ¶
func (o *AddRolePermissionNoContent) Error() string
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 /*Action Action */ Action int64 /*Body*/ Body *iamclientmodels.ModelUpdatePermissionScheduleRequest /*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 ¶
func (o *AddRolePermissionParams) SetBody(body *iamclientmodels.ModelUpdatePermissionScheduleRequest)
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 ¶
func (o *AddRolePermissionParams) WithBody(body *iamclientmodels.ModelUpdatePermissionScheduleRequest) *AddRolePermissionParams
WithBody adds the body to the add role permission params
func (*AddRolePermissionParams) WithContext ¶
func (o *AddRolePermissionParams) WithContext(ctx context.Context) *AddRolePermissionParams
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 ¶
func (o *AddRolePermissionParams) WithRoleID(roleID string) *AddRolePermissionParams
WithRoleID adds the roleID to the add role permission params
func (*AddRolePermissionParams) WithTimeout ¶
func (o *AddRolePermissionParams) WithTimeout(timeout time.Duration) *AddRolePermissionParams
WithTimeout adds the timeout to the add role permission params
func (*AddRolePermissionParams) WriteToRequest ¶
func (o *AddRolePermissionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 { }
AddRolePermissionUnauthorized handles this case with default header values.
Unauthorized access
func NewAddRolePermissionUnauthorized ¶
func NewAddRolePermissionUnauthorized() *AddRolePermissionUnauthorized
NewAddRolePermissionUnauthorized creates a AddRolePermissionUnauthorized with default headers values
func (*AddRolePermissionUnauthorized) Error ¶
func (o *AddRolePermissionUnauthorized) Error() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for roles deprecated API
func (*Client) AddRoleManagers ¶
func (a *Client) AddRoleManagers(params *AddRoleManagersParams, authInfo runtime.ClientAuthInfoWriter) (*AddRoleManagersNoContent, *AddRoleManagersBadRequest, *AddRoleManagersUnauthorized, *AddRoleManagersForbidden, *AddRoleManagersNotFound, error)
AddRoleManagers adds role managers <h2>The endpoint is going to be deprecated</h2> </br> Required permission 'ROLE:ADMIN [UPDATE]' or 'ADMIN:ROLE [UPDATE]' </br> <p>Role can only be assigned to other users by the role's manager.</p></br> <strong>Endpoint migration guide</strong> <ul> <li><b>Substitute endpoint: <i>/iam/v3/admin/roles/{roleId}/managers [POST]</i></b></li> <li><b>Note: </b></li> </ul>
func (*Client) AddRoleManagersShort ¶
func (a *Client) AddRoleManagersShort(params *AddRoleManagersParams, authInfo runtime.ClientAuthInfoWriter) (*AddRoleManagersNoContent, error)
func (*Client) AddRoleMembers ¶
func (a *Client) AddRoleMembers(params *AddRoleMembersParams, authInfo runtime.ClientAuthInfoWriter) (*AddRoleMembersNoContent, *AddRoleMembersBadRequest, *AddRoleMembersUnauthorized, *AddRoleMembersForbidden, *AddRoleMembersNotFound, error)
AddRoleMembers adds role members <h2>The endpoint is going to be deprecated</h2> </br> Required permission 'ROLE:ADMIN [UPDATE]' or 'ADMIN:ROLE [UPDATE]' </br> <p>Admin roles has its members listed in the role.</p> <p>Role can only be assigned to other users by the role's manager.</p> <strong>Endpoint migration guide</strong> <ul> <li><b>Substitute endpoint: <i>/iam/v3/admin/roles/{roleId}/members [POST]</i></b></li> <li><b>Note: </b></li> </ul>
func (*Client) AddRoleMembersShort ¶
func (a *Client) AddRoleMembersShort(params *AddRoleMembersParams, authInfo runtime.ClientAuthInfoWriter) (*AddRoleMembersNoContent, error)
func (*Client) AddRolePermission ¶
func (a *Client) AddRolePermission(params *AddRolePermissionParams, authInfo runtime.ClientAuthInfoWriter) (*AddRolePermissionNoContent, *AddRolePermissionBadRequest, *AddRolePermissionUnauthorized, *AddRolePermissionForbidden, *AddRolePermissionNotFound, error)
AddRolePermission adds role permission <h2>The endpoint is going to be deprecated</h2> </br> <p>Required permission 'ROLE:ADMIN [UPDATE]' Or 'ADMIN:ROLE [UPDATE]'</p> <p>This endpoint will update existing permission (bitwise OR the action) if found one with same resource, otherwise it will append a new permission</p> <p>Schedule contains cron string or date range (both are UTC, also in cron syntax) to indicate when a permission and action are in effect.</p> <p>Both schedule types accepts quartz compatible cron syntax e.g. * * * * * * *.</p> <p>In ranged schedule, first element will be start date, and second one will be end date</p> <p>If schedule is set, the scheduled action must be valid too, that is between 1 to 15, inclusive</p> <p>Syntax reference</p> <p>Fields:</p> <ol> <li>Seconds: 0-59 * / , -</li> <li>Minutes: 0-59 * / , -</li> <li>Hours: 0-23 * / , -</li> <li>Day of month: 1-31 * / , - L W</li> <li>Month: 1-12 JAN-DEC * / , -</li> <li>Day of week: 0-6 SUN-SAT * / , - L #</li> <li>Year: 1970-2099 * / , -</li> </ol> <p>Special characters:</p> <ol> <li>*: all values in the fields, e.g. * in seconds fields indicates every second</li> <li>/: increments of ranges, e.g. 3-59/15 in the minute field indicate the third minute of the hour and every 15 minutes thereafter</li> <li>,: separate items of a list, e.g. MON,WED,FRI in day of week</li> <li>-: range, e.g. 2010-2018 indicates every year between 2010 and 2018, inclusive</li> <li>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.</li> <li>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."</li> <li>#: 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.</li> </ol> <strong>Endpoint migration guide</strong> <ul> <li><b>Substitute endpoint(update): <i>/iam/v3/admin/roles/{roleId}/permissions [PUT] </i></b></li> <li><b>Substitute endpoint(create): <i>/iam/v3/admin/roles/{roleId}/permissions [POST]</i></b></li> <li><b>Note: </b></li> </ul>
func (*Client) AddRolePermissionShort ¶
func (a *Client) AddRolePermissionShort(params *AddRolePermissionParams, authInfo runtime.ClientAuthInfoWriter) (*AddRolePermissionNoContent, error)
func (*Client) CreateRole ¶
func (a *Client) CreateRole(params *CreateRoleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateRoleCreated, *CreateRoleBadRequest, *CreateRoleUnauthorized, *CreateRoleForbidden, error)
CreateRole creates role <h2>The endpoint is going to be deprecated</h2> </br> Required permission 'ROLE:ADMIN [CREATE]' or 'ADMIN:ROLE [CREATE]' </br> <p>Role can only be assigned to other users by the role's manager.</p> <p>If role is an administrator role (i.e. AdminRole == true), it will list out the role's members.</p> <p>Administrator role can be created only when at least 1 manager is specified.</p> <strong>Endpoint migration guide</strong> <ul> <li><b>Substitute endpoint: <i>/iam/v3/admin/roles [POST]</i></b></li> <li><b>Note: </b></li> </ul>
func (*Client) CreateRoleShort ¶
func (a *Client) CreateRoleShort(params *CreateRoleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateRoleCreated, error)
func (*Client) DeleteRole ¶
func (a *Client) DeleteRole(params *DeleteRoleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRoleNoContent, *DeleteRoleUnauthorized, *DeleteRoleForbidden, *DeleteRoleNotFound, error)
DeleteRole deletes role
<h2>The endpoint is going to be deprecated</h2> </br>
Required permission 'ROLE:ADMIN [DELETE]' or 'ADMIN:ROLE [DELETE]' </br> <strong>Endpoint migration guide</strong> <ul> <li><b>Substitute endpoint: <i>/iam/v3/admin/roles/{roleId} [DELETE]</i></b></li> <li><b>Note: </b></li> </ul>
func (*Client) DeleteRolePermission ¶
func (a *Client) DeleteRolePermission(params *DeleteRolePermissionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRolePermissionNoContent, *DeleteRolePermissionBadRequest, *DeleteRolePermissionUnauthorized, *DeleteRolePermissionForbidden, *DeleteRolePermissionNotFound, error)
DeleteRolePermission deletes role permission
<h2>The endpoint is going to be deprecated</h2> </br>
Required permission 'ROLE:ADMIN [UPDATE]' or 'ADMIN:ROLE [UPDATE]' </br> <strong>Endpoint migration guide</strong> <ul> <li><b>Substitute endpoint: <i>/iam/v3/admin/roles/{roleId}/permissions/{resource}/{action} [DELETE]</i></b></li> <li><b>Substitute endpoint: <i>/iam/v4/admin/roles/{roleId}/permissions [DELETE]</i></b></li> <li><b>Note: </b></li> </ul>
func (*Client) DeleteRolePermissionShort ¶
func (a *Client) DeleteRolePermissionShort(params *DeleteRolePermissionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRolePermissionNoContent, error)
func (*Client) DeleteRoleShort ¶
func (a *Client) DeleteRoleShort(params *DeleteRoleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRoleNoContent, error)
func (*Client) GetRole ¶
func (a *Client) GetRole(params *GetRoleParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleOK, *GetRoleUnauthorized, *GetRoleForbidden, *GetRoleNotFound, error)
GetRole gets role
<h2>The endpoint is going to be deprecated</h2> </br>
Required permission 'ROLE [READ]' </br> <strong>Endpoint migration guide</strong> <ul> <li><b>Substitute endpoint: <i>/iam/v3/admin/roles/{roleId} [GET]</i></b></li> <li><b>Note: </b></li> </ul>
func (*Client) GetRoleAdminStatus ¶
func (a *Client) GetRoleAdminStatus(params *GetRoleAdminStatusParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleAdminStatusOK, *GetRoleAdminStatusBadRequest, *GetRoleAdminStatusUnauthorized, *GetRoleAdminStatusForbidden, *GetRoleAdminStatusNotFound, error)
GetRoleAdminStatus gets role admin status <h2>The endpoint is going to be deprecated</h2> </br> Required permission 'ROLE [READ] </br> <p>Admin roles has its members listed in the role.</p></br> <strong>Endpoint migration guide</strong> <ul> <li><b>Substitute endpoint: <i>/iam/v3/admin/roles/{roleId}/admin [GET]</i></b></li> <li><b>Note: </b></li> </ul>
func (*Client) GetRoleAdminStatusShort ¶
func (a *Client) GetRoleAdminStatusShort(params *GetRoleAdminStatusParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleAdminStatusOK, error)
func (*Client) GetRoleManagers ¶
func (a *Client) GetRoleManagers(params *GetRoleManagersParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleManagersOK, *GetRoleManagersBadRequest, *GetRoleManagersUnauthorized, *GetRoleManagersForbidden, *GetRoleManagersNotFound, error)
GetRoleManagers gets role managers <h2>The endpoint is going to be deprecated</h2> </br> Required permission 'ROLE [READ]' </br> <p>Role can only be assigned to other users by the role's manager.</p></br> <strong>Endpoint migration guide</strong> <ul> <li><b>Substitute endpoint: <i>/iam/v3/admin/roles/{roleId}/managers [GET]</i></b></li> <li><b>Note: </b></li> </ul>
func (*Client) GetRoleManagersShort ¶
func (a *Client) GetRoleManagersShort(params *GetRoleManagersParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleManagersOK, error)
func (*Client) GetRoleMembers ¶
func (a *Client) GetRoleMembers(params *GetRoleMembersParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleMembersOK, *GetRoleMembersBadRequest, *GetRoleMembersUnauthorized, *GetRoleMembersForbidden, *GetRoleMembersNotFound, error)
GetRoleMembers gets role members
<h2>The endpoint is going to be deprecated</h2> </br>
Required permission 'ROLE [READ]' </br> <strong>Endpoint migration guide</strong> <ul> <li><b>Substitute endpoint: <i>/iam/v3/admin/roles/{roleId}/members [GET]</i></b></li> <li><b>Note: </b></li> </ul>
func (*Client) GetRoleMembersShort ¶
func (a *Client) GetRoleMembersShort(params *GetRoleMembersParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleMembersOK, error)
func (*Client) GetRoleShort ¶
func (a *Client) GetRoleShort(params *GetRoleParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleOK, error)
func (*Client) GetRoles ¶
func (a *Client) GetRoles(params *GetRolesParams, authInfo runtime.ClientAuthInfoWriter) (*GetRolesOK, *GetRolesUnauthorized, *GetRolesForbidden, error)
GetRoles gets roles
<h2>The endpoint is going to be deprecated</h2> </br>
Required permission 'ROLE [READ]' </br> <strong>Endpoint migration guide</strong> <ul> <li><b>Substitute endpoint: <i>/iam/v3/admin/roles [GET]</i></b></li> <li><b>Note: </b></li> </ul>
func (*Client) GetRolesShort ¶
func (a *Client) GetRolesShort(params *GetRolesParams, authInfo runtime.ClientAuthInfoWriter) (*GetRolesOK, error)
func (*Client) RemoveRoleAdmin ¶
func (a *Client) RemoveRoleAdmin(params *RemoveRoleAdminParams, authInfo runtime.ClientAuthInfoWriter) (*RemoveRoleAdminNoContent, *RemoveRoleAdminBadRequest, *RemoveRoleAdminUnauthorized, *RemoveRoleAdminForbidden, *RemoveRoleAdminNotFound, error)
RemoveRoleAdmin removes role admin status
<h2>The endpoint is going to be deprecated</h2> </br>
Required permission 'ROLE:ADMIN [UPDATE]' or 'ADMIN:ROLE [UPDATE]' </br> <strong>Endpoint migration guide</strong> <ul> <li><b>Substitute endpoint: <i>/iam/v3/admin/roles/{roleId}/admin [DELETE]</i></b></li> <li><b>Note: </b></li> </ul>
func (*Client) RemoveRoleAdminShort ¶
func (a *Client) RemoveRoleAdminShort(params *RemoveRoleAdminParams, authInfo runtime.ClientAuthInfoWriter) (*RemoveRoleAdminNoContent, error)
func (*Client) RemoveRoleManagers ¶
func (a *Client) RemoveRoleManagers(params *RemoveRoleManagersParams, authInfo runtime.ClientAuthInfoWriter) (*RemoveRoleManagersNoContent, *RemoveRoleManagersBadRequest, *RemoveRoleManagersUnauthorized, *RemoveRoleManagersForbidden, *RemoveRoleManagersNotFound, error)
RemoveRoleManagers removes role managers
<h2>The endpoint is going to be deprecated</h2> </br>
Required permission Required permission 'ROLE:ADMIN [UPDATE]' or 'ADMIN:ROLE [UPDATE]' </br> <strong>Endpoint migration guide</strong> <ul> <li><b>Substitute endpoint: <i>/iam/v3/admin/roles/{roleId}/managers [DELETE]</i></b></li> <li><b>Note: </b></li> </ul>
func (*Client) RemoveRoleManagersShort ¶
func (a *Client) RemoveRoleManagersShort(params *RemoveRoleManagersParams, authInfo runtime.ClientAuthInfoWriter) (*RemoveRoleManagersNoContent, error)
func (*Client) RemoveRoleMembers ¶
func (a *Client) RemoveRoleMembers(params *RemoveRoleMembersParams, authInfo runtime.ClientAuthInfoWriter) (*RemoveRoleMembersNoContent, *RemoveRoleMembersBadRequest, *RemoveRoleMembersUnauthorized, *RemoveRoleMembersForbidden, *RemoveRoleMembersNotFound, error)
RemoveRoleMembers removes role members
<h2>The endpoint is going to be deprecated</h2> </br>
Required permission 'ROLE:ADMIN [UPDATE]' or 'ADMIN:ROLE [UPDATE]'</br> <strong>Endpoint migration guide</strong> <ul> <li><b>Substitute endpoint: <i>/iam/v3/admin/roles/{roleId}/members [DELETE]</i></b></li> <li><b>Note: </b></li> </ul>
func (*Client) RemoveRoleMembersShort ¶
func (a *Client) RemoveRoleMembersShort(params *RemoveRoleMembersParams, authInfo runtime.ClientAuthInfoWriter) (*RemoveRoleMembersNoContent, error)
func (*Client) SetRoleAsAdmin ¶
func (a *Client) SetRoleAsAdmin(params *SetRoleAsAdminParams, authInfo runtime.ClientAuthInfoWriter) (*SetRoleAsAdminNoContent, *SetRoleAsAdminBadRequest, *SetRoleAsAdminUnauthorized, *SetRoleAsAdminForbidden, *SetRoleAsAdminNotFound, error)
SetRoleAsAdmin sets role as admin role <h2>The endpoint is going to be deprecated</h2> </br> Required permission 'ROLE:ADMIN [UPDATE]' or 'ADMIN:ROLE [UPDATE]' </br> <p>Admin roles has its members listed in the role.</p> <p>Role can be set as admin role only when it has at least 1 manager.</p> <strong>Endpoint migration guide</strong> <ul> <li><b>Substitute endpoint: <i>/iam/v3/admin/roles/{roleId}/admin [POST]</i></b></li> <li><b>Note: </b></li> </ul>
func (*Client) SetRoleAsAdminShort ¶
func (a *Client) SetRoleAsAdminShort(params *SetRoleAsAdminParams, authInfo runtime.ClientAuthInfoWriter) (*SetRoleAsAdminNoContent, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateRole ¶
func (a *Client) UpdateRole(params *UpdateRoleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateRoleOK, *UpdateRoleBadRequest, *UpdateRoleUnauthorized, *UpdateRoleForbidden, *UpdateRoleNotFound, error)
UpdateRole updates role
<h2>The endpoint is going to be deprecated</h2> </br>
Required permission 'ROLE:ADMIN [UPDATE]' or 'ADMIN:ROLE [UPDATE] </br> <strong>Endpoint migration guide</strong> <ul> <li><b>Substitute endpoint: <i>/iam/v3/admin/roles/{roleId} [PATCH]</i></b></li> <li><b>Note: </b></li> </ul>
func (*Client) UpdateRolePermissions ¶
func (a *Client) UpdateRolePermissions(params *UpdateRolePermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateRolePermissionsNoContent, *UpdateRolePermissionsBadRequest, *UpdateRolePermissionsUnauthorized, *UpdateRolePermissionsForbidden, *UpdateRolePermissionsNotFound, error)
UpdateRolePermissions updates role permissions <h2>The endpoint is going to be deprecated</h2> </br> <p>Required permission 'ROLE:ADMIN [UPDATE]' or 'ADMIN:ROLE [UPDATE]'</p> <p>This endpoint will REPLACE role's permissions with the ones defined in body</p> <p>Schedule contains cron string or date range (both are UTC, also in cron syntax) to indicate when a permission and action are in effect.</p> <p>Both schedule types accepts quartz compatible cron syntax e.g. * * * * * * *.</p> <p>In ranged schedule, first element will be start date, and second one will be end date</p> <p>If schedule is set, the scheduled action must be valid too, that is between 1 to 15, inclusive</p> <p>Syntax reference</p> <p>Fields:</p> <ol> <li>Seconds: 0-59 * / , -</li> <li>Minutes: 0-59 * / , -</li> <li>Hours: 0-23 * / , -</li> <li>Day of month: 1-31 * / , - L W</li> <li>Month: 1-12 JAN-DEC * / , -</li> <li>Day of week: 0-6 SUN-SAT * / , - L #</li> <li>Year: 1970-2099 * / , -</li> </ol> <p>Special characters:</p> <ol> <li>*: all values in the fields, e.g. * in seconds fields indicates every second</li> <li>/: increments of ranges, e.g. 3-59/15 in the minute field indicate the third minute of the hour and every 15 minutes thereafter</li> <li>,: separate items of a list, e.g. MON,WED,FRI in day of week</li> <li>-: range, e.g. 2010-2018 indicates every year between 2010 and 2018, inclusive</li> <li>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.</li> <li>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."</li> <li>#: 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.</li> </ol> <strong>Endpoint migration guide</strong> <ul> <li><b>Substitute endpoint: <i>/iam/v3/admin/roles/{roleId}/permissions [POST]</i></b></li> <li><b>Note: </b></li> </ul>
func (*Client) UpdateRolePermissionsShort ¶
func (a *Client) UpdateRolePermissionsShort(params *UpdateRolePermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateRolePermissionsNoContent, error)
func (*Client) UpdateRoleShort ¶
func (a *Client) UpdateRoleShort(params *UpdateRoleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateRoleOK, error)
type ClientService ¶
type ClientService interface { AddRoleManagers(params *AddRoleManagersParams, authInfo runtime.ClientAuthInfoWriter) (*AddRoleManagersNoContent, *AddRoleManagersBadRequest, *AddRoleManagersUnauthorized, *AddRoleManagersForbidden, *AddRoleManagersNotFound, error) AddRoleManagersShort(params *AddRoleManagersParams, authInfo runtime.ClientAuthInfoWriter) (*AddRoleManagersNoContent, error) AddRoleMembers(params *AddRoleMembersParams, authInfo runtime.ClientAuthInfoWriter) (*AddRoleMembersNoContent, *AddRoleMembersBadRequest, *AddRoleMembersUnauthorized, *AddRoleMembersForbidden, *AddRoleMembersNotFound, error) AddRoleMembersShort(params *AddRoleMembersParams, authInfo runtime.ClientAuthInfoWriter) (*AddRoleMembersNoContent, error) AddRolePermission(params *AddRolePermissionParams, authInfo runtime.ClientAuthInfoWriter) (*AddRolePermissionNoContent, *AddRolePermissionBadRequest, *AddRolePermissionUnauthorized, *AddRolePermissionForbidden, *AddRolePermissionNotFound, error) AddRolePermissionShort(params *AddRolePermissionParams, authInfo runtime.ClientAuthInfoWriter) (*AddRolePermissionNoContent, error) CreateRole(params *CreateRoleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateRoleCreated, *CreateRoleBadRequest, *CreateRoleUnauthorized, *CreateRoleForbidden, error) CreateRoleShort(params *CreateRoleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateRoleCreated, error) DeleteRole(params *DeleteRoleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRoleNoContent, *DeleteRoleUnauthorized, *DeleteRoleForbidden, *DeleteRoleNotFound, error) DeleteRoleShort(params *DeleteRoleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRoleNoContent, error) DeleteRolePermission(params *DeleteRolePermissionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRolePermissionNoContent, *DeleteRolePermissionBadRequest, *DeleteRolePermissionUnauthorized, *DeleteRolePermissionForbidden, *DeleteRolePermissionNotFound, error) DeleteRolePermissionShort(params *DeleteRolePermissionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRolePermissionNoContent, error) GetRole(params *GetRoleParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleOK, *GetRoleUnauthorized, *GetRoleForbidden, *GetRoleNotFound, error) GetRoleShort(params *GetRoleParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleOK, error) GetRoleAdminStatus(params *GetRoleAdminStatusParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleAdminStatusOK, *GetRoleAdminStatusBadRequest, *GetRoleAdminStatusUnauthorized, *GetRoleAdminStatusForbidden, *GetRoleAdminStatusNotFound, error) GetRoleAdminStatusShort(params *GetRoleAdminStatusParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleAdminStatusOK, error) GetRoleManagers(params *GetRoleManagersParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleManagersOK, *GetRoleManagersBadRequest, *GetRoleManagersUnauthorized, *GetRoleManagersForbidden, *GetRoleManagersNotFound, error) GetRoleManagersShort(params *GetRoleManagersParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleManagersOK, error) GetRoleMembers(params *GetRoleMembersParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleMembersOK, *GetRoleMembersBadRequest, *GetRoleMembersUnauthorized, *GetRoleMembersForbidden, *GetRoleMembersNotFound, error) GetRoleMembersShort(params *GetRoleMembersParams, authInfo runtime.ClientAuthInfoWriter) (*GetRoleMembersOK, error) GetRoles(params *GetRolesParams, authInfo runtime.ClientAuthInfoWriter) (*GetRolesOK, *GetRolesUnauthorized, *GetRolesForbidden, error) GetRolesShort(params *GetRolesParams, authInfo runtime.ClientAuthInfoWriter) (*GetRolesOK, error) RemoveRoleAdmin(params *RemoveRoleAdminParams, authInfo runtime.ClientAuthInfoWriter) (*RemoveRoleAdminNoContent, *RemoveRoleAdminBadRequest, *RemoveRoleAdminUnauthorized, *RemoveRoleAdminForbidden, *RemoveRoleAdminNotFound, error) RemoveRoleAdminShort(params *RemoveRoleAdminParams, authInfo runtime.ClientAuthInfoWriter) (*RemoveRoleAdminNoContent, error) RemoveRoleManagers(params *RemoveRoleManagersParams, authInfo runtime.ClientAuthInfoWriter) (*RemoveRoleManagersNoContent, *RemoveRoleManagersBadRequest, *RemoveRoleManagersUnauthorized, *RemoveRoleManagersForbidden, *RemoveRoleManagersNotFound, error) RemoveRoleManagersShort(params *RemoveRoleManagersParams, authInfo runtime.ClientAuthInfoWriter) (*RemoveRoleManagersNoContent, error) RemoveRoleMembers(params *RemoveRoleMembersParams, authInfo runtime.ClientAuthInfoWriter) (*RemoveRoleMembersNoContent, *RemoveRoleMembersBadRequest, *RemoveRoleMembersUnauthorized, *RemoveRoleMembersForbidden, *RemoveRoleMembersNotFound, error) RemoveRoleMembersShort(params *RemoveRoleMembersParams, authInfo runtime.ClientAuthInfoWriter) (*RemoveRoleMembersNoContent, error) SetRoleAsAdmin(params *SetRoleAsAdminParams, authInfo runtime.ClientAuthInfoWriter) (*SetRoleAsAdminNoContent, *SetRoleAsAdminBadRequest, *SetRoleAsAdminUnauthorized, *SetRoleAsAdminForbidden, *SetRoleAsAdminNotFound, error) SetRoleAsAdminShort(params *SetRoleAsAdminParams, authInfo runtime.ClientAuthInfoWriter) (*SetRoleAsAdminNoContent, error) UpdateRole(params *UpdateRoleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateRoleOK, *UpdateRoleBadRequest, *UpdateRoleUnauthorized, *UpdateRoleForbidden, *UpdateRoleNotFound, error) UpdateRoleShort(params *UpdateRoleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateRoleOK, error) UpdateRolePermissions(params *UpdateRolePermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateRolePermissionsNoContent, *UpdateRolePermissionsBadRequest, *UpdateRolePermissionsUnauthorized, *UpdateRolePermissionsForbidden, *UpdateRolePermissionsNotFound, error) UpdateRolePermissionsShort(params *UpdateRolePermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateRolePermissionsNoContent, 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 deprecated API client.
type CreateRoleBadRequest ¶
type CreateRoleBadRequest struct { }
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
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 (o *CreateRoleCreated) GetPayload() *iamclientmodels.AccountcommonRole
type CreateRoleForbidden ¶
type CreateRoleForbidden struct { }
CreateRoleForbidden handles this case with default header values.
Forbidden
func NewCreateRoleForbidden ¶
func NewCreateRoleForbidden() *CreateRoleForbidden
NewCreateRoleForbidden creates a CreateRoleForbidden with default headers values
func (*CreateRoleForbidden) Error ¶
func (o *CreateRoleForbidden) Error() string
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 ¶
func (o *CreateRoleParams) SetBody(body *iamclientmodels.ModelRoleCreateRequest)
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 ¶
func (o *CreateRoleParams) WithBody(body *iamclientmodels.ModelRoleCreateRequest) *CreateRoleParams
WithBody adds the body to the create role params
func (*CreateRoleParams) WithContext ¶
func (o *CreateRoleParams) WithContext(ctx context.Context) *CreateRoleParams
WithContext adds the context to the create role params
func (*CreateRoleParams) WithHTTPClient ¶
func (o *CreateRoleParams) WithHTTPClient(client *http.Client) *CreateRoleParams
WithHTTPClient adds the HTTPClient to the create role params
func (*CreateRoleParams) WithTimeout ¶
func (o *CreateRoleParams) WithTimeout(timeout time.Duration) *CreateRoleParams
WithTimeout adds the timeout to the create role params
func (*CreateRoleParams) WriteToRequest ¶
func (o *CreateRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateRoleReader ¶
type CreateRoleReader struct {
// contains filtered or unexported fields
}
CreateRoleReader is a Reader for the CreateRole structure.
func (*CreateRoleReader) ReadResponse ¶
func (o *CreateRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateRoleUnauthorized ¶
type CreateRoleUnauthorized struct { }
CreateRoleUnauthorized handles this case with default header values.
Unauthorized access
func NewCreateRoleUnauthorized ¶
func NewCreateRoleUnauthorized() *CreateRoleUnauthorized
NewCreateRoleUnauthorized creates a CreateRoleUnauthorized with default headers values
func (*CreateRoleUnauthorized) Error ¶
func (o *CreateRoleUnauthorized) Error() string
type DeleteRoleForbidden ¶
type DeleteRoleForbidden struct { }
DeleteRoleForbidden handles this case with default header values.
Forbidden
func NewDeleteRoleForbidden ¶
func NewDeleteRoleForbidden() *DeleteRoleForbidden
NewDeleteRoleForbidden creates a DeleteRoleForbidden with default headers values
func (*DeleteRoleForbidden) Error ¶
func (o *DeleteRoleForbidden) Error() string
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 { }
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 (o *DeleteRolePermissionBadRequest) Error() string
type DeleteRolePermissionForbidden ¶
type DeleteRolePermissionForbidden struct { }
DeleteRolePermissionForbidden handles this case with default header values.
Forbidden
func NewDeleteRolePermissionForbidden ¶
func NewDeleteRolePermissionForbidden() *DeleteRolePermissionForbidden
NewDeleteRolePermissionForbidden creates a DeleteRolePermissionForbidden with default headers values
func (*DeleteRolePermissionForbidden) Error ¶
func (o *DeleteRolePermissionForbidden) Error() 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 ¶
func (o *DeleteRolePermissionNoContent) Error() string
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 ¶
func (o *DeleteRolePermissionNotFound) Error() string
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 ¶
func (o *DeleteRolePermissionParams) WithAction(action int64) *DeleteRolePermissionParams
WithAction adds the action to the delete role permission params
func (*DeleteRolePermissionParams) WithContext ¶
func (o *DeleteRolePermissionParams) WithContext(ctx context.Context) *DeleteRolePermissionParams
WithContext adds the context to the delete role permission params
func (*DeleteRolePermissionParams) WithHTTPClient ¶
func (o *DeleteRolePermissionParams) WithHTTPClient(client *http.Client) *DeleteRolePermissionParams
WithHTTPClient adds the HTTPClient to the delete role permission params
func (*DeleteRolePermissionParams) WithResource ¶
func (o *DeleteRolePermissionParams) WithResource(resource string) *DeleteRolePermissionParams
WithResource adds the resource to the delete role permission params
func (*DeleteRolePermissionParams) WithRoleID ¶
func (o *DeleteRolePermissionParams) WithRoleID(roleID string) *DeleteRolePermissionParams
WithRoleID adds the roleID to the delete role permission params
func (*DeleteRolePermissionParams) WithTimeout ¶
func (o *DeleteRolePermissionParams) WithTimeout(timeout time.Duration) *DeleteRolePermissionParams
WithTimeout adds the timeout to the delete role permission params
func (*DeleteRolePermissionParams) WriteToRequest ¶
func (o *DeleteRolePermissionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 { }
DeleteRolePermissionUnauthorized handles this case with default header values.
Unauthorized access
func NewDeleteRolePermissionUnauthorized ¶
func NewDeleteRolePermissionUnauthorized() *DeleteRolePermissionUnauthorized
NewDeleteRolePermissionUnauthorized creates a DeleteRolePermissionUnauthorized with default headers values
func (*DeleteRolePermissionUnauthorized) Error ¶
func (o *DeleteRolePermissionUnauthorized) Error() 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 { }
DeleteRoleUnauthorized handles this case with default header values.
Unauthorized access
func NewDeleteRoleUnauthorized ¶
func NewDeleteRoleUnauthorized() *DeleteRoleUnauthorized
NewDeleteRoleUnauthorized creates a DeleteRoleUnauthorized with default headers values
func (*DeleteRoleUnauthorized) Error ¶
func (o *DeleteRoleUnauthorized) Error() string
type GetRoleAdminStatusBadRequest ¶
type GetRoleAdminStatusBadRequest struct { }
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 (o *GetRoleAdminStatusBadRequest) Error() string
type GetRoleAdminStatusForbidden ¶
type GetRoleAdminStatusForbidden struct { }
GetRoleAdminStatusForbidden handles this case with default header values.
Forbidden
func NewGetRoleAdminStatusForbidden ¶
func NewGetRoleAdminStatusForbidden() *GetRoleAdminStatusForbidden
NewGetRoleAdminStatusForbidden creates a GetRoleAdminStatusForbidden with default headers values
func (*GetRoleAdminStatusForbidden) Error ¶
func (o *GetRoleAdminStatusForbidden) Error() 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 ¶
func (o *GetRoleAdminStatusNotFound) Error() string
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 (o *GetRoleAdminStatusOK) GetPayload() *iamclientmodels.ModelRoleAdminStatusResponse
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 ¶
func (o *GetRoleAdminStatusParams) WithContext(ctx context.Context) *GetRoleAdminStatusParams
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 ¶
func (o *GetRoleAdminStatusParams) WithRoleID(roleID string) *GetRoleAdminStatusParams
WithRoleID adds the roleID to the get role admin status params
func (*GetRoleAdminStatusParams) WithTimeout ¶
func (o *GetRoleAdminStatusParams) WithTimeout(timeout time.Duration) *GetRoleAdminStatusParams
WithTimeout adds the timeout to the get role admin status params
func (*GetRoleAdminStatusParams) WriteToRequest ¶
func (o *GetRoleAdminStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 { }
GetRoleAdminStatusUnauthorized handles this case with default header values.
Unauthorized access
func NewGetRoleAdminStatusUnauthorized ¶
func NewGetRoleAdminStatusUnauthorized() *GetRoleAdminStatusUnauthorized
NewGetRoleAdminStatusUnauthorized creates a GetRoleAdminStatusUnauthorized with default headers values
func (*GetRoleAdminStatusUnauthorized) Error ¶
func (o *GetRoleAdminStatusUnauthorized) Error() string
type GetRoleForbidden ¶
type GetRoleForbidden struct { }
GetRoleForbidden handles this case with default header values.
Forbidden
func NewGetRoleForbidden ¶
func NewGetRoleForbidden() *GetRoleForbidden
NewGetRoleForbidden creates a GetRoleForbidden with default headers values
func (*GetRoleForbidden) Error ¶
func (o *GetRoleForbidden) Error() string
type GetRoleManagersBadRequest ¶
type GetRoleManagersBadRequest struct { }
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
type GetRoleManagersForbidden ¶
type GetRoleManagersForbidden struct { }
GetRoleManagersForbidden handles this case with default header values.
Forbidden
func NewGetRoleManagersForbidden ¶
func NewGetRoleManagersForbidden() *GetRoleManagersForbidden
NewGetRoleManagersForbidden creates a GetRoleManagersForbidden with default headers values
func (*GetRoleManagersForbidden) Error ¶
func (o *GetRoleManagersForbidden) Error() 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 (o *GetRoleManagersOK) GetPayload() *iamclientmodels.ModelRoleManagersResponse
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 ¶
func (o *GetRoleManagersParams) WithContext(ctx context.Context) *GetRoleManagersParams
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 { }
GetRoleManagersUnauthorized handles this case with default header values.
Unauthorized access
func NewGetRoleManagersUnauthorized ¶
func NewGetRoleManagersUnauthorized() *GetRoleManagersUnauthorized
NewGetRoleManagersUnauthorized creates a GetRoleManagersUnauthorized with default headers values
func (*GetRoleManagersUnauthorized) Error ¶
func (o *GetRoleManagersUnauthorized) Error() string
type GetRoleMembersBadRequest ¶
type GetRoleMembersBadRequest struct { }
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
type GetRoleMembersForbidden ¶
type GetRoleMembersForbidden struct { }
GetRoleMembersForbidden handles this case with default header values.
Forbidden
func NewGetRoleMembersForbidden ¶
func NewGetRoleMembersForbidden() *GetRoleMembersForbidden
NewGetRoleMembersForbidden creates a GetRoleMembersForbidden with default headers values
func (*GetRoleMembersForbidden) Error ¶
func (o *GetRoleMembersForbidden) Error() 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 (o *GetRoleMembersOK) GetPayload() *iamclientmodels.ModelRoleMembersResponse
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 ¶
func (o *GetRoleMembersParams) WithContext(ctx context.Context) *GetRoleMembersParams
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 { }
GetRoleMembersUnauthorized handles this case with default header values.
Unauthorized access
func NewGetRoleMembersUnauthorized ¶
func NewGetRoleMembersUnauthorized() *GetRoleMembersUnauthorized
NewGetRoleMembersUnauthorized creates a GetRoleMembersUnauthorized with default headers values
func (*GetRoleMembersUnauthorized) Error ¶
func (o *GetRoleMembersUnauthorized) Error() 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) GetPayload ¶
func (o *GetRoleOK) GetPayload() *iamclientmodels.ModelRoleResponse
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 { }
GetRoleUnauthorized handles this case with default header values.
Unauthorized access
func NewGetRoleUnauthorized ¶
func NewGetRoleUnauthorized() *GetRoleUnauthorized
NewGetRoleUnauthorized creates a GetRoleUnauthorized with default headers values
func (*GetRoleUnauthorized) Error ¶
func (o *GetRoleUnauthorized) Error() string
type GetRolesForbidden ¶
type GetRolesForbidden struct { }
GetRolesForbidden handles this case with default header values.
Forbidden
func NewGetRolesForbidden ¶
func NewGetRolesForbidden() *GetRolesForbidden
NewGetRolesForbidden creates a GetRolesForbidden with default headers values
func (*GetRolesForbidden) Error ¶
func (o *GetRolesForbidden) Error() 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 (o *GetRolesOK) GetPayload() []*iamclientmodels.ModelRoleResponseWithManagers
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 { }
GetRolesUnauthorized handles this case with default header values.
Unauthorized access
func NewGetRolesUnauthorized ¶
func NewGetRolesUnauthorized() *GetRolesUnauthorized
NewGetRolesUnauthorized creates a GetRolesUnauthorized with default headers values
func (*GetRolesUnauthorized) Error ¶
func (o *GetRolesUnauthorized) Error() string
type RemoveRoleAdminBadRequest ¶
type RemoveRoleAdminBadRequest struct { }
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
type RemoveRoleAdminForbidden ¶
type RemoveRoleAdminForbidden struct { }
RemoveRoleAdminForbidden handles this case with default header values.
Forbidden
func NewRemoveRoleAdminForbidden ¶
func NewRemoveRoleAdminForbidden() *RemoveRoleAdminForbidden
NewRemoveRoleAdminForbidden creates a RemoveRoleAdminForbidden with default headers values
func (*RemoveRoleAdminForbidden) Error ¶
func (o *RemoveRoleAdminForbidden) Error() 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 ¶
func (o *RemoveRoleAdminParams) WithContext(ctx context.Context) *RemoveRoleAdminParams
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 { }
RemoveRoleAdminUnauthorized handles this case with default header values.
Unauthorized access
func NewRemoveRoleAdminUnauthorized ¶
func NewRemoveRoleAdminUnauthorized() *RemoveRoleAdminUnauthorized
NewRemoveRoleAdminUnauthorized creates a RemoveRoleAdminUnauthorized with default headers values
func (*RemoveRoleAdminUnauthorized) Error ¶
func (o *RemoveRoleAdminUnauthorized) Error() string
type RemoveRoleManagersBadRequest ¶
type RemoveRoleManagersBadRequest struct { }
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 (o *RemoveRoleManagersBadRequest) Error() string
type RemoveRoleManagersForbidden ¶
type RemoveRoleManagersForbidden struct { }
RemoveRoleManagersForbidden handles this case with default header values.
Forbidden
func NewRemoveRoleManagersForbidden ¶
func NewRemoveRoleManagersForbidden() *RemoveRoleManagersForbidden
NewRemoveRoleManagersForbidden creates a RemoveRoleManagersForbidden with default headers values
func (*RemoveRoleManagersForbidden) Error ¶
func (o *RemoveRoleManagersForbidden) Error() 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 ¶
func (o *RemoveRoleManagersNoContent) Error() string
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 ¶
func (o *RemoveRoleManagersNotFound) Error() string
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 ¶
func (o *RemoveRoleManagersParams) SetBody(body *iamclientmodels.ModelRoleManagersRequest)
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 ¶
func (o *RemoveRoleManagersParams) WithBody(body *iamclientmodels.ModelRoleManagersRequest) *RemoveRoleManagersParams
WithBody adds the body to the remove role managers params
func (*RemoveRoleManagersParams) WithContext ¶
func (o *RemoveRoleManagersParams) WithContext(ctx context.Context) *RemoveRoleManagersParams
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 ¶
func (o *RemoveRoleManagersParams) WithRoleID(roleID string) *RemoveRoleManagersParams
WithRoleID adds the roleID to the remove role managers params
func (*RemoveRoleManagersParams) WithTimeout ¶
func (o *RemoveRoleManagersParams) WithTimeout(timeout time.Duration) *RemoveRoleManagersParams
WithTimeout adds the timeout to the remove role managers params
func (*RemoveRoleManagersParams) WriteToRequest ¶
func (o *RemoveRoleManagersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 { }
RemoveRoleManagersUnauthorized handles this case with default header values.
Unauthorized access
func NewRemoveRoleManagersUnauthorized ¶
func NewRemoveRoleManagersUnauthorized() *RemoveRoleManagersUnauthorized
NewRemoveRoleManagersUnauthorized creates a RemoveRoleManagersUnauthorized with default headers values
func (*RemoveRoleManagersUnauthorized) Error ¶
func (o *RemoveRoleManagersUnauthorized) Error() string
type RemoveRoleMembersBadRequest ¶
type RemoveRoleMembersBadRequest struct { }
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 (o *RemoveRoleMembersBadRequest) Error() string
type RemoveRoleMembersForbidden ¶
type RemoveRoleMembersForbidden struct { }
RemoveRoleMembersForbidden handles this case with default header values.
Forbidden
func NewRemoveRoleMembersForbidden ¶
func NewRemoveRoleMembersForbidden() *RemoveRoleMembersForbidden
NewRemoveRoleMembersForbidden creates a RemoveRoleMembersForbidden with default headers values
func (*RemoveRoleMembersForbidden) Error ¶
func (o *RemoveRoleMembersForbidden) Error() 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 ¶
func (o *RemoveRoleMembersNoContent) Error() string
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 ¶
func (o *RemoveRoleMembersParams) SetBody(body *iamclientmodels.ModelRoleMembersRequest)
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 ¶
func (o *RemoveRoleMembersParams) WithBody(body *iamclientmodels.ModelRoleMembersRequest) *RemoveRoleMembersParams
WithBody adds the body to the remove role members params
func (*RemoveRoleMembersParams) WithContext ¶
func (o *RemoveRoleMembersParams) WithContext(ctx context.Context) *RemoveRoleMembersParams
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 ¶
func (o *RemoveRoleMembersParams) WithRoleID(roleID string) *RemoveRoleMembersParams
WithRoleID adds the roleID to the remove role members params
func (*RemoveRoleMembersParams) WithTimeout ¶
func (o *RemoveRoleMembersParams) WithTimeout(timeout time.Duration) *RemoveRoleMembersParams
WithTimeout adds the timeout to the remove role members params
func (*RemoveRoleMembersParams) WriteToRequest ¶
func (o *RemoveRoleMembersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 { }
RemoveRoleMembersUnauthorized handles this case with default header values.
Unauthorized access
func NewRemoveRoleMembersUnauthorized ¶
func NewRemoveRoleMembersUnauthorized() *RemoveRoleMembersUnauthorized
NewRemoveRoleMembersUnauthorized creates a RemoveRoleMembersUnauthorized with default headers values
func (*RemoveRoleMembersUnauthorized) Error ¶
func (o *RemoveRoleMembersUnauthorized) Error() string
type SetRoleAsAdminBadRequest ¶
type SetRoleAsAdminBadRequest struct { }
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
type SetRoleAsAdminForbidden ¶
type SetRoleAsAdminForbidden struct { }
SetRoleAsAdminForbidden handles this case with default header values.
Forbidden
func NewSetRoleAsAdminForbidden ¶
func NewSetRoleAsAdminForbidden() *SetRoleAsAdminForbidden
NewSetRoleAsAdminForbidden creates a SetRoleAsAdminForbidden with default headers values
func (*SetRoleAsAdminForbidden) Error ¶
func (o *SetRoleAsAdminForbidden) Error() 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 ¶
func (o *SetRoleAsAdminParams) WithContext(ctx context.Context) *SetRoleAsAdminParams
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 { }
SetRoleAsAdminUnauthorized handles this case with default header values.
Unauthorized access
func NewSetRoleAsAdminUnauthorized ¶
func NewSetRoleAsAdminUnauthorized() *SetRoleAsAdminUnauthorized
NewSetRoleAsAdminUnauthorized creates a SetRoleAsAdminUnauthorized with default headers values
func (*SetRoleAsAdminUnauthorized) Error ¶
func (o *SetRoleAsAdminUnauthorized) Error() string
type UpdateRoleBadRequest ¶
type UpdateRoleBadRequest struct { }
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
type UpdateRoleForbidden ¶
type UpdateRoleForbidden struct { }
UpdateRoleForbidden handles this case with default header values.
Forbidden
func NewUpdateRoleForbidden ¶
func NewUpdateRoleForbidden() *UpdateRoleForbidden
NewUpdateRoleForbidden creates a UpdateRoleForbidden with default headers values
func (*UpdateRoleForbidden) Error ¶
func (o *UpdateRoleForbidden) Error() string
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 (o *UpdateRoleOK) GetPayload() *iamclientmodels.ModelRoleResponse
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 ¶
func (o *UpdateRoleParams) SetBody(body *iamclientmodels.ModelRoleUpdateRequest)
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 ¶
func (o *UpdateRoleParams) WithBody(body *iamclientmodels.ModelRoleUpdateRequest) *UpdateRoleParams
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 { }
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 (o *UpdateRolePermissionsBadRequest) Error() string
type UpdateRolePermissionsForbidden ¶
type UpdateRolePermissionsForbidden struct { }
UpdateRolePermissionsForbidden handles this case with default header values.
Forbidden
func NewUpdateRolePermissionsForbidden ¶
func NewUpdateRolePermissionsForbidden() *UpdateRolePermissionsForbidden
NewUpdateRolePermissionsForbidden creates a UpdateRolePermissionsForbidden with default headers values
func (*UpdateRolePermissionsForbidden) Error ¶
func (o *UpdateRolePermissionsForbidden) Error() 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 ¶
func (o *UpdateRolePermissionsNoContent) Error() string
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 ¶
func (o *UpdateRolePermissionsNotFound) Error() string
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 ¶
func (o *UpdateRolePermissionsParams) SetBody(body *iamclientmodels.AccountcommonPermissions)
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 ¶
func (o *UpdateRolePermissionsParams) WithBody(body *iamclientmodels.AccountcommonPermissions) *UpdateRolePermissionsParams
WithBody adds the body to the update role permissions params
func (*UpdateRolePermissionsParams) WithContext ¶
func (o *UpdateRolePermissionsParams) WithContext(ctx context.Context) *UpdateRolePermissionsParams
WithContext adds the context to the update role permissions params
func (*UpdateRolePermissionsParams) WithHTTPClient ¶
func (o *UpdateRolePermissionsParams) WithHTTPClient(client *http.Client) *UpdateRolePermissionsParams
WithHTTPClient adds the HTTPClient to the update role permissions params
func (*UpdateRolePermissionsParams) WithRoleID ¶
func (o *UpdateRolePermissionsParams) WithRoleID(roleID string) *UpdateRolePermissionsParams
WithRoleID adds the roleID to the update role permissions params
func (*UpdateRolePermissionsParams) WithTimeout ¶
func (o *UpdateRolePermissionsParams) WithTimeout(timeout time.Duration) *UpdateRolePermissionsParams
WithTimeout adds the timeout to the update role permissions params
func (*UpdateRolePermissionsParams) WriteToRequest ¶
func (o *UpdateRolePermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 { }
UpdateRolePermissionsUnauthorized handles this case with default header values.
Unauthorized access
func NewUpdateRolePermissionsUnauthorized ¶
func NewUpdateRolePermissionsUnauthorized() *UpdateRolePermissionsUnauthorized
NewUpdateRolePermissionsUnauthorized creates a UpdateRolePermissionsUnauthorized with default headers values
func (*UpdateRolePermissionsUnauthorized) Error ¶
func (o *UpdateRolePermissionsUnauthorized) Error() 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 { }
UpdateRoleUnauthorized handles this case with default header values.
Unauthorized access
func NewUpdateRoleUnauthorized ¶
func NewUpdateRoleUnauthorized() *UpdateRoleUnauthorized
NewUpdateRoleUnauthorized creates a UpdateRoleUnauthorized with default headers values
func (*UpdateRoleUnauthorized) Error ¶
func (o *UpdateRoleUnauthorized) Error() string
Source Files ¶
- add_role_managers_parameters.go
- add_role_managers_responses.go
- add_role_members_parameters.go
- add_role_members_responses.go
- add_role_permission_parameters.go
- add_role_permission_responses.go
- create_role_parameters.go
- create_role_responses.go
- delete_role_parameters.go
- delete_role_permission_parameters.go
- delete_role_permission_responses.go
- delete_role_responses.go
- get_role_admin_status_parameters.go
- get_role_admin_status_responses.go
- get_role_managers_parameters.go
- get_role_managers_responses.go
- get_role_members_parameters.go
- get_role_members_responses.go
- get_role_parameters.go
- get_role_responses.go
- get_roles_parameters.go
- get_roles_responses.go
- remove_role_admin_parameters.go
- remove_role_admin_responses.go
- remove_role_managers_parameters.go
- remove_role_managers_responses.go
- remove_role_members_parameters.go
- remove_role_members_responses.go
- roles_deprecated_client.go
- set_role_as_admin_parameters.go
- set_role_as_admin_responses.go
- update_role_parameters.go
- update_role_permissions_parameters.go
- update_role_permissions_responses.go
- update_role_responses.go