Documentation ¶
Index ¶
- type AdminAddUserRoleV3BadRequest
- type AdminAddUserRoleV3Conflict
- type AdminAddUserRoleV3Forbidden
- type AdminAddUserRoleV3NoContent
- type AdminAddUserRoleV3NotFound
- type AdminAddUserRoleV3Params
- func NewAdminAddUserRoleV3Params() *AdminAddUserRoleV3Params
- func NewAdminAddUserRoleV3ParamsWithContext(ctx context.Context) *AdminAddUserRoleV3Params
- func NewAdminAddUserRoleV3ParamsWithHTTPClient(client *http.Client) *AdminAddUserRoleV3Params
- func NewAdminAddUserRoleV3ParamsWithTimeout(timeout time.Duration) *AdminAddUserRoleV3Params
- func (o *AdminAddUserRoleV3Params) SetContext(ctx context.Context)
- func (o *AdminAddUserRoleV3Params) SetHTTPClient(client *http.Client)
- func (o *AdminAddUserRoleV3Params) SetNamespace(namespace string)
- func (o *AdminAddUserRoleV3Params) SetRoleID(roleID string)
- func (o *AdminAddUserRoleV3Params) SetTimeout(timeout time.Duration)
- func (o *AdminAddUserRoleV3Params) SetUserID(userID string)
- func (o *AdminAddUserRoleV3Params) WithContext(ctx context.Context) *AdminAddUserRoleV3Params
- func (o *AdminAddUserRoleV3Params) WithHTTPClient(client *http.Client) *AdminAddUserRoleV3Params
- func (o *AdminAddUserRoleV3Params) WithNamespace(namespace string) *AdminAddUserRoleV3Params
- func (o *AdminAddUserRoleV3Params) WithRoleID(roleID string) *AdminAddUserRoleV3Params
- func (o *AdminAddUserRoleV3Params) WithTimeout(timeout time.Duration) *AdminAddUserRoleV3Params
- func (o *AdminAddUserRoleV3Params) WithUserID(userID string) *AdminAddUserRoleV3Params
- func (o *AdminAddUserRoleV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminAddUserRoleV3Reader
- type AdminAddUserRoleV3Unauthorized
- type AdminDeleteUserRoleV3BadRequest
- type AdminDeleteUserRoleV3Forbidden
- type AdminDeleteUserRoleV3NoContent
- type AdminDeleteUserRoleV3NotFound
- type AdminDeleteUserRoleV3Params
- func NewAdminDeleteUserRoleV3Params() *AdminDeleteUserRoleV3Params
- func NewAdminDeleteUserRoleV3ParamsWithContext(ctx context.Context) *AdminDeleteUserRoleV3Params
- func NewAdminDeleteUserRoleV3ParamsWithHTTPClient(client *http.Client) *AdminDeleteUserRoleV3Params
- func NewAdminDeleteUserRoleV3ParamsWithTimeout(timeout time.Duration) *AdminDeleteUserRoleV3Params
- func (o *AdminDeleteUserRoleV3Params) SetContext(ctx context.Context)
- func (o *AdminDeleteUserRoleV3Params) SetHTTPClient(client *http.Client)
- func (o *AdminDeleteUserRoleV3Params) SetNamespace(namespace string)
- func (o *AdminDeleteUserRoleV3Params) SetRoleID(roleID string)
- func (o *AdminDeleteUserRoleV3Params) SetTimeout(timeout time.Duration)
- func (o *AdminDeleteUserRoleV3Params) SetUserID(userID string)
- func (o *AdminDeleteUserRoleV3Params) WithContext(ctx context.Context) *AdminDeleteUserRoleV3Params
- func (o *AdminDeleteUserRoleV3Params) WithHTTPClient(client *http.Client) *AdminDeleteUserRoleV3Params
- func (o *AdminDeleteUserRoleV3Params) WithNamespace(namespace string) *AdminDeleteUserRoleV3Params
- func (o *AdminDeleteUserRoleV3Params) WithRoleID(roleID string) *AdminDeleteUserRoleV3Params
- func (o *AdminDeleteUserRoleV3Params) WithTimeout(timeout time.Duration) *AdminDeleteUserRoleV3Params
- func (o *AdminDeleteUserRoleV3Params) WithUserID(userID string) *AdminDeleteUserRoleV3Params
- func (o *AdminDeleteUserRoleV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminDeleteUserRoleV3Reader
- type AdminDeleteUserRoleV3Unauthorized
- type Client
- func (a *Client) AdminAddUserRoleV3(params *AdminAddUserRoleV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminAddUserRoleV3NoContent, *AdminAddUserRoleV3BadRequest, ...)
- func (a *Client) AdminDeleteUserRoleV3(params *AdminDeleteUserRoleV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteUserRoleV3NoContent, *AdminDeleteUserRoleV3BadRequest, ...)
- func (a *Client) PublicCreateUserV3(params *PublicCreateUserV3Params, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateUserV3Created, *PublicCreateUserV3BadRequest, ...)
- func (a *Client) PublicSearchUserV3(params *PublicSearchUserV3Params, authInfo runtime.ClientAuthInfoWriter) (*PublicSearchUserV3OK, *PublicSearchUserV3BadRequest, ...)
- func (a *Client) PublicUserVerificationV3(params *PublicUserVerificationV3Params, authInfo runtime.ClientAuthInfoWriter) (*PublicUserVerificationV3NoContent, *PublicUserVerificationV3BadRequest, ...)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type PublicCreateUserV3BadRequest
- type PublicCreateUserV3Conflict
- type PublicCreateUserV3Created
- type PublicCreateUserV3InternalServerError
- type PublicCreateUserV3NotFound
- type PublicCreateUserV3Params
- func NewPublicCreateUserV3Params() *PublicCreateUserV3Params
- func NewPublicCreateUserV3ParamsWithContext(ctx context.Context) *PublicCreateUserV3Params
- func NewPublicCreateUserV3ParamsWithHTTPClient(client *http.Client) *PublicCreateUserV3Params
- func NewPublicCreateUserV3ParamsWithTimeout(timeout time.Duration) *PublicCreateUserV3Params
- func (o *PublicCreateUserV3Params) SetBody(body *iamclientmodels.ModelUserCreateRequestV3)
- func (o *PublicCreateUserV3Params) SetContext(ctx context.Context)
- func (o *PublicCreateUserV3Params) SetHTTPClient(client *http.Client)
- func (o *PublicCreateUserV3Params) SetNamespace(namespace string)
- func (o *PublicCreateUserV3Params) SetTimeout(timeout time.Duration)
- func (o *PublicCreateUserV3Params) WithBody(body *iamclientmodels.ModelUserCreateRequestV3) *PublicCreateUserV3Params
- func (o *PublicCreateUserV3Params) WithContext(ctx context.Context) *PublicCreateUserV3Params
- func (o *PublicCreateUserV3Params) WithHTTPClient(client *http.Client) *PublicCreateUserV3Params
- func (o *PublicCreateUserV3Params) WithNamespace(namespace string) *PublicCreateUserV3Params
- func (o *PublicCreateUserV3Params) WithTimeout(timeout time.Duration) *PublicCreateUserV3Params
- func (o *PublicCreateUserV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicCreateUserV3Reader
- type PublicSearchUserV3BadRequest
- type PublicSearchUserV3InternalServerError
- type PublicSearchUserV3NotFound
- type PublicSearchUserV3OK
- type PublicSearchUserV3Params
- func NewPublicSearchUserV3Params() *PublicSearchUserV3Params
- func NewPublicSearchUserV3ParamsWithContext(ctx context.Context) *PublicSearchUserV3Params
- func NewPublicSearchUserV3ParamsWithHTTPClient(client *http.Client) *PublicSearchUserV3Params
- func NewPublicSearchUserV3ParamsWithTimeout(timeout time.Duration) *PublicSearchUserV3Params
- func (o *PublicSearchUserV3Params) SetBy(by *string)
- func (o *PublicSearchUserV3Params) SetContext(ctx context.Context)
- func (o *PublicSearchUserV3Params) SetHTTPClient(client *http.Client)
- func (o *PublicSearchUserV3Params) SetNamespace(namespace string)
- func (o *PublicSearchUserV3Params) SetQuery(query *string)
- func (o *PublicSearchUserV3Params) SetTimeout(timeout time.Duration)
- func (o *PublicSearchUserV3Params) WithBy(by *string) *PublicSearchUserV3Params
- func (o *PublicSearchUserV3Params) WithContext(ctx context.Context) *PublicSearchUserV3Params
- func (o *PublicSearchUserV3Params) WithHTTPClient(client *http.Client) *PublicSearchUserV3Params
- func (o *PublicSearchUserV3Params) WithNamespace(namespace string) *PublicSearchUserV3Params
- func (o *PublicSearchUserV3Params) WithQuery(query *string) *PublicSearchUserV3Params
- func (o *PublicSearchUserV3Params) WithTimeout(timeout time.Duration) *PublicSearchUserV3Params
- func (o *PublicSearchUserV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicSearchUserV3Reader
- type PublicSearchUserV3Unauthorized
- type PublicUserVerificationV3BadRequest
- type PublicUserVerificationV3Conflict
- type PublicUserVerificationV3Forbidden
- type PublicUserVerificationV3NoContent
- type PublicUserVerificationV3Params
- func NewPublicUserVerificationV3Params() *PublicUserVerificationV3Params
- func NewPublicUserVerificationV3ParamsWithContext(ctx context.Context) *PublicUserVerificationV3Params
- func NewPublicUserVerificationV3ParamsWithHTTPClient(client *http.Client) *PublicUserVerificationV3Params
- func NewPublicUserVerificationV3ParamsWithTimeout(timeout time.Duration) *PublicUserVerificationV3Params
- func (o *PublicUserVerificationV3Params) SetBody(body *iamclientmodels.ModelUserVerificationRequestV3)
- func (o *PublicUserVerificationV3Params) SetContext(ctx context.Context)
- func (o *PublicUserVerificationV3Params) SetHTTPClient(client *http.Client)
- func (o *PublicUserVerificationV3Params) SetNamespace(namespace string)
- func (o *PublicUserVerificationV3Params) SetTimeout(timeout time.Duration)
- func (o *PublicUserVerificationV3Params) WithBody(body *iamclientmodels.ModelUserVerificationRequestV3) *PublicUserVerificationV3Params
- func (o *PublicUserVerificationV3Params) WithContext(ctx context.Context) *PublicUserVerificationV3Params
- func (o *PublicUserVerificationV3Params) WithHTTPClient(client *http.Client) *PublicUserVerificationV3Params
- func (o *PublicUserVerificationV3Params) WithNamespace(namespace string) *PublicUserVerificationV3Params
- func (o *PublicUserVerificationV3Params) WithTimeout(timeout time.Duration) *PublicUserVerificationV3Params
- func (o *PublicUserVerificationV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicUserVerificationV3Reader
- type PublicUserVerificationV3Unauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminAddUserRoleV3BadRequest ¶
type AdminAddUserRoleV3BadRequest struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminAddUserRoleV3BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewAdminAddUserRoleV3BadRequest ¶
func NewAdminAddUserRoleV3BadRequest() *AdminAddUserRoleV3BadRequest
NewAdminAddUserRoleV3BadRequest creates a AdminAddUserRoleV3BadRequest with default headers values
func (*AdminAddUserRoleV3BadRequest) Error ¶
func (o *AdminAddUserRoleV3BadRequest) Error() string
func (*AdminAddUserRoleV3BadRequest) GetPayload ¶
func (o *AdminAddUserRoleV3BadRequest) GetPayload() *iamclientmodels.RestErrorResponse
type AdminAddUserRoleV3Conflict ¶
type AdminAddUserRoleV3Conflict struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminAddUserRoleV3Conflict handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10160</td><td>user already has the role</td></tr><tr><td>10161</td><td>user already the role member</td></tr></table>
func NewAdminAddUserRoleV3Conflict ¶
func NewAdminAddUserRoleV3Conflict() *AdminAddUserRoleV3Conflict
NewAdminAddUserRoleV3Conflict creates a AdminAddUserRoleV3Conflict with default headers values
func (*AdminAddUserRoleV3Conflict) Error ¶
func (o *AdminAddUserRoleV3Conflict) Error() string
func (*AdminAddUserRoleV3Conflict) GetPayload ¶
func (o *AdminAddUserRoleV3Conflict) GetPayload() *iamclientmodels.RestErrorResponse
type AdminAddUserRoleV3Forbidden ¶
type AdminAddUserRoleV3Forbidden struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminAddUserRoleV3Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr><tr><td>10159</td><td>operator is not a role manager</td></tr></table>
func NewAdminAddUserRoleV3Forbidden ¶
func NewAdminAddUserRoleV3Forbidden() *AdminAddUserRoleV3Forbidden
NewAdminAddUserRoleV3Forbidden creates a AdminAddUserRoleV3Forbidden with default headers values
func (*AdminAddUserRoleV3Forbidden) Error ¶
func (o *AdminAddUserRoleV3Forbidden) Error() string
func (*AdminAddUserRoleV3Forbidden) GetPayload ¶
func (o *AdminAddUserRoleV3Forbidden) GetPayload() *iamclientmodels.RestErrorResponse
type AdminAddUserRoleV3NoContent ¶
type AdminAddUserRoleV3NoContent struct { }
AdminAddUserRoleV3NoContent handles this case with default header values.
No Content
func NewAdminAddUserRoleV3NoContent ¶
func NewAdminAddUserRoleV3NoContent() *AdminAddUserRoleV3NoContent
NewAdminAddUserRoleV3NoContent creates a AdminAddUserRoleV3NoContent with default headers values
func (*AdminAddUserRoleV3NoContent) Error ¶
func (o *AdminAddUserRoleV3NoContent) Error() string
type AdminAddUserRoleV3NotFound ¶
type AdminAddUserRoleV3NotFound struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminAddUserRoleV3NotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20008</td><td>user not found</td></tr><tr><td>10156</td><td>role not found</td></tr></table>
func NewAdminAddUserRoleV3NotFound ¶
func NewAdminAddUserRoleV3NotFound() *AdminAddUserRoleV3NotFound
NewAdminAddUserRoleV3NotFound creates a AdminAddUserRoleV3NotFound with default headers values
func (*AdminAddUserRoleV3NotFound) Error ¶
func (o *AdminAddUserRoleV3NotFound) Error() string
func (*AdminAddUserRoleV3NotFound) GetPayload ¶
func (o *AdminAddUserRoleV3NotFound) GetPayload() *iamclientmodels.RestErrorResponse
type AdminAddUserRoleV3Params ¶
type AdminAddUserRoleV3Params struct { /*Namespace Namespace, only accept alphabet and numeric */ Namespace string /*RoleID Role ID, should follow UUID version 4 without hyphen */ RoleID string /*UserID User ID, should follow UUID version 4 without hyphen */ UserID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminAddUserRoleV3Params contains all the parameters to send to the API endpoint for the admin add user role v3 operation typically these are written to a http.Request
func NewAdminAddUserRoleV3Params ¶
func NewAdminAddUserRoleV3Params() *AdminAddUserRoleV3Params
NewAdminAddUserRoleV3Params creates a new AdminAddUserRoleV3Params object with the default values initialized.
func NewAdminAddUserRoleV3ParamsWithContext ¶
func NewAdminAddUserRoleV3ParamsWithContext(ctx context.Context) *AdminAddUserRoleV3Params
NewAdminAddUserRoleV3ParamsWithContext creates a new AdminAddUserRoleV3Params object with the default values initialized, and the ability to set a context for a request
func NewAdminAddUserRoleV3ParamsWithHTTPClient ¶
func NewAdminAddUserRoleV3ParamsWithHTTPClient(client *http.Client) *AdminAddUserRoleV3Params
NewAdminAddUserRoleV3ParamsWithHTTPClient creates a new AdminAddUserRoleV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminAddUserRoleV3ParamsWithTimeout ¶
func NewAdminAddUserRoleV3ParamsWithTimeout(timeout time.Duration) *AdminAddUserRoleV3Params
NewAdminAddUserRoleV3ParamsWithTimeout creates a new AdminAddUserRoleV3Params object with the default values initialized, and the ability to set a timeout on a request
func (*AdminAddUserRoleV3Params) SetContext ¶
func (o *AdminAddUserRoleV3Params) SetContext(ctx context.Context)
SetContext adds the context to the admin add user role v3 params
func (*AdminAddUserRoleV3Params) SetHTTPClient ¶
func (o *AdminAddUserRoleV3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin add user role v3 params
func (*AdminAddUserRoleV3Params) SetNamespace ¶
func (o *AdminAddUserRoleV3Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin add user role v3 params
func (*AdminAddUserRoleV3Params) SetRoleID ¶
func (o *AdminAddUserRoleV3Params) SetRoleID(roleID string)
SetRoleID adds the roleId to the admin add user role v3 params
func (*AdminAddUserRoleV3Params) SetTimeout ¶
func (o *AdminAddUserRoleV3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin add user role v3 params
func (*AdminAddUserRoleV3Params) SetUserID ¶
func (o *AdminAddUserRoleV3Params) SetUserID(userID string)
SetUserID adds the userId to the admin add user role v3 params
func (*AdminAddUserRoleV3Params) WithContext ¶
func (o *AdminAddUserRoleV3Params) WithContext(ctx context.Context) *AdminAddUserRoleV3Params
WithContext adds the context to the admin add user role v3 params
func (*AdminAddUserRoleV3Params) WithHTTPClient ¶
func (o *AdminAddUserRoleV3Params) WithHTTPClient(client *http.Client) *AdminAddUserRoleV3Params
WithHTTPClient adds the HTTPClient to the admin add user role v3 params
func (*AdminAddUserRoleV3Params) WithNamespace ¶
func (o *AdminAddUserRoleV3Params) WithNamespace(namespace string) *AdminAddUserRoleV3Params
WithNamespace adds the namespace to the admin add user role v3 params
func (*AdminAddUserRoleV3Params) WithRoleID ¶
func (o *AdminAddUserRoleV3Params) WithRoleID(roleID string) *AdminAddUserRoleV3Params
WithRoleID adds the roleID to the admin add user role v3 params
func (*AdminAddUserRoleV3Params) WithTimeout ¶
func (o *AdminAddUserRoleV3Params) WithTimeout(timeout time.Duration) *AdminAddUserRoleV3Params
WithTimeout adds the timeout to the admin add user role v3 params
func (*AdminAddUserRoleV3Params) WithUserID ¶
func (o *AdminAddUserRoleV3Params) WithUserID(userID string) *AdminAddUserRoleV3Params
WithUserID adds the userID to the admin add user role v3 params
func (*AdminAddUserRoleV3Params) WriteToRequest ¶
func (o *AdminAddUserRoleV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminAddUserRoleV3Reader ¶
type AdminAddUserRoleV3Reader struct {
// contains filtered or unexported fields
}
AdminAddUserRoleV3Reader is a Reader for the AdminAddUserRoleV3 structure.
func (*AdminAddUserRoleV3Reader) ReadResponse ¶
func (o *AdminAddUserRoleV3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminAddUserRoleV3Unauthorized ¶
type AdminAddUserRoleV3Unauthorized struct {
}AdminAddUserRoleV3Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewAdminAddUserRoleV3Unauthorized ¶
func NewAdminAddUserRoleV3Unauthorized() *AdminAddUserRoleV3Unauthorized
NewAdminAddUserRoleV3Unauthorized creates a AdminAddUserRoleV3Unauthorized with default headers values
func (*AdminAddUserRoleV3Unauthorized) Error ¶
func (o *AdminAddUserRoleV3Unauthorized) Error() string
func (*AdminAddUserRoleV3Unauthorized) GetPayload ¶
func (o *AdminAddUserRoleV3Unauthorized) GetPayload() *iamclientmodels.RestErrorResponse
type AdminDeleteUserRoleV3BadRequest ¶
type AdminDeleteUserRoleV3BadRequest struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminDeleteUserRoleV3BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewAdminDeleteUserRoleV3BadRequest ¶
func NewAdminDeleteUserRoleV3BadRequest() *AdminDeleteUserRoleV3BadRequest
NewAdminDeleteUserRoleV3BadRequest creates a AdminDeleteUserRoleV3BadRequest with default headers values
func (*AdminDeleteUserRoleV3BadRequest) Error ¶
func (o *AdminDeleteUserRoleV3BadRequest) Error() string
func (*AdminDeleteUserRoleV3BadRequest) GetPayload ¶
func (o *AdminDeleteUserRoleV3BadRequest) GetPayload() *iamclientmodels.RestErrorResponse
type AdminDeleteUserRoleV3Forbidden ¶
type AdminDeleteUserRoleV3Forbidden struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminDeleteUserRoleV3Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr><tr><td>10159</td><td>operator is not a role manager</td></tr></table>
func NewAdminDeleteUserRoleV3Forbidden ¶
func NewAdminDeleteUserRoleV3Forbidden() *AdminDeleteUserRoleV3Forbidden
NewAdminDeleteUserRoleV3Forbidden creates a AdminDeleteUserRoleV3Forbidden with default headers values
func (*AdminDeleteUserRoleV3Forbidden) Error ¶
func (o *AdminDeleteUserRoleV3Forbidden) Error() string
func (*AdminDeleteUserRoleV3Forbidden) GetPayload ¶
func (o *AdminDeleteUserRoleV3Forbidden) GetPayload() *iamclientmodels.RestErrorResponse
type AdminDeleteUserRoleV3NoContent ¶
type AdminDeleteUserRoleV3NoContent struct { }
AdminDeleteUserRoleV3NoContent handles this case with default header values.
Operation succeeded
func NewAdminDeleteUserRoleV3NoContent ¶
func NewAdminDeleteUserRoleV3NoContent() *AdminDeleteUserRoleV3NoContent
NewAdminDeleteUserRoleV3NoContent creates a AdminDeleteUserRoleV3NoContent with default headers values
func (*AdminDeleteUserRoleV3NoContent) Error ¶
func (o *AdminDeleteUserRoleV3NoContent) Error() string
type AdminDeleteUserRoleV3NotFound ¶
type AdminDeleteUserRoleV3NotFound struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminDeleteUserRoleV3NotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20008</td><td>user not found</td></tr><tr><td>10156</td><td>role not found</td></tr></table>
func NewAdminDeleteUserRoleV3NotFound ¶
func NewAdminDeleteUserRoleV3NotFound() *AdminDeleteUserRoleV3NotFound
NewAdminDeleteUserRoleV3NotFound creates a AdminDeleteUserRoleV3NotFound with default headers values
func (*AdminDeleteUserRoleV3NotFound) Error ¶
func (o *AdminDeleteUserRoleV3NotFound) Error() string
func (*AdminDeleteUserRoleV3NotFound) GetPayload ¶
func (o *AdminDeleteUserRoleV3NotFound) GetPayload() *iamclientmodels.RestErrorResponse
type AdminDeleteUserRoleV3Params ¶
type AdminDeleteUserRoleV3Params struct { /*Namespace Namespace, only accept alphabet and numeric */ Namespace string /*RoleID Role ID, should follow UUID version 4 without hyphen */ RoleID string /*UserID User ID, should follow UUID version 4 without hyphen */ UserID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminDeleteUserRoleV3Params contains all the parameters to send to the API endpoint for the admin delete user role v3 operation typically these are written to a http.Request
func NewAdminDeleteUserRoleV3Params ¶
func NewAdminDeleteUserRoleV3Params() *AdminDeleteUserRoleV3Params
NewAdminDeleteUserRoleV3Params creates a new AdminDeleteUserRoleV3Params object with the default values initialized.
func NewAdminDeleteUserRoleV3ParamsWithContext ¶
func NewAdminDeleteUserRoleV3ParamsWithContext(ctx context.Context) *AdminDeleteUserRoleV3Params
NewAdminDeleteUserRoleV3ParamsWithContext creates a new AdminDeleteUserRoleV3Params object with the default values initialized, and the ability to set a context for a request
func NewAdminDeleteUserRoleV3ParamsWithHTTPClient ¶
func NewAdminDeleteUserRoleV3ParamsWithHTTPClient(client *http.Client) *AdminDeleteUserRoleV3Params
NewAdminDeleteUserRoleV3ParamsWithHTTPClient creates a new AdminDeleteUserRoleV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminDeleteUserRoleV3ParamsWithTimeout ¶
func NewAdminDeleteUserRoleV3ParamsWithTimeout(timeout time.Duration) *AdminDeleteUserRoleV3Params
NewAdminDeleteUserRoleV3ParamsWithTimeout creates a new AdminDeleteUserRoleV3Params object with the default values initialized, and the ability to set a timeout on a request
func (*AdminDeleteUserRoleV3Params) SetContext ¶
func (o *AdminDeleteUserRoleV3Params) SetContext(ctx context.Context)
SetContext adds the context to the admin delete user role v3 params
func (*AdminDeleteUserRoleV3Params) SetHTTPClient ¶
func (o *AdminDeleteUserRoleV3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin delete user role v3 params
func (*AdminDeleteUserRoleV3Params) SetNamespace ¶
func (o *AdminDeleteUserRoleV3Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin delete user role v3 params
func (*AdminDeleteUserRoleV3Params) SetRoleID ¶
func (o *AdminDeleteUserRoleV3Params) SetRoleID(roleID string)
SetRoleID adds the roleId to the admin delete user role v3 params
func (*AdminDeleteUserRoleV3Params) SetTimeout ¶
func (o *AdminDeleteUserRoleV3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin delete user role v3 params
func (*AdminDeleteUserRoleV3Params) SetUserID ¶
func (o *AdminDeleteUserRoleV3Params) SetUserID(userID string)
SetUserID adds the userId to the admin delete user role v3 params
func (*AdminDeleteUserRoleV3Params) WithContext ¶
func (o *AdminDeleteUserRoleV3Params) WithContext(ctx context.Context) *AdminDeleteUserRoleV3Params
WithContext adds the context to the admin delete user role v3 params
func (*AdminDeleteUserRoleV3Params) WithHTTPClient ¶
func (o *AdminDeleteUserRoleV3Params) WithHTTPClient(client *http.Client) *AdminDeleteUserRoleV3Params
WithHTTPClient adds the HTTPClient to the admin delete user role v3 params
func (*AdminDeleteUserRoleV3Params) WithNamespace ¶
func (o *AdminDeleteUserRoleV3Params) WithNamespace(namespace string) *AdminDeleteUserRoleV3Params
WithNamespace adds the namespace to the admin delete user role v3 params
func (*AdminDeleteUserRoleV3Params) WithRoleID ¶
func (o *AdminDeleteUserRoleV3Params) WithRoleID(roleID string) *AdminDeleteUserRoleV3Params
WithRoleID adds the roleID to the admin delete user role v3 params
func (*AdminDeleteUserRoleV3Params) WithTimeout ¶
func (o *AdminDeleteUserRoleV3Params) WithTimeout(timeout time.Duration) *AdminDeleteUserRoleV3Params
WithTimeout adds the timeout to the admin delete user role v3 params
func (*AdminDeleteUserRoleV3Params) WithUserID ¶
func (o *AdminDeleteUserRoleV3Params) WithUserID(userID string) *AdminDeleteUserRoleV3Params
WithUserID adds the userID to the admin delete user role v3 params
func (*AdminDeleteUserRoleV3Params) WriteToRequest ¶
func (o *AdminDeleteUserRoleV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminDeleteUserRoleV3Reader ¶
type AdminDeleteUserRoleV3Reader struct {
// contains filtered or unexported fields
}
AdminDeleteUserRoleV3Reader is a Reader for the AdminDeleteUserRoleV3 structure.
func (*AdminDeleteUserRoleV3Reader) ReadResponse ¶
func (o *AdminDeleteUserRoleV3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminDeleteUserRoleV3Unauthorized ¶
type AdminDeleteUserRoleV3Unauthorized struct {
}AdminDeleteUserRoleV3Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewAdminDeleteUserRoleV3Unauthorized ¶
func NewAdminDeleteUserRoleV3Unauthorized() *AdminDeleteUserRoleV3Unauthorized
NewAdminDeleteUserRoleV3Unauthorized creates a AdminDeleteUserRoleV3Unauthorized with default headers values
func (*AdminDeleteUserRoleV3Unauthorized) Error ¶
func (o *AdminDeleteUserRoleV3Unauthorized) Error() string
func (*AdminDeleteUserRoleV3Unauthorized) GetPayload ¶
func (o *AdminDeleteUserRoleV3Unauthorized) GetPayload() *iamclientmodels.RestErrorResponse
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for users API
func (*Client) AdminAddUserRoleV3 ¶
func (a *Client) AdminAddUserRoleV3(params *AdminAddUserRoleV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminAddUserRoleV3NoContent, *AdminAddUserRoleV3BadRequest, *AdminAddUserRoleV3Unauthorized, *AdminAddUserRoleV3Forbidden, *AdminAddUserRoleV3NotFound, *AdminAddUserRoleV3Conflict, error)
AdminAddUserRoleV3 adds user role <p>This endpoint adds role to user. Required permission ADMIN:NAMESPACE:{namespace}:ROLE:USER:{userId} [UPDATE]</p>
<p>action code: 10109</p>
func (*Client) AdminDeleteUserRoleV3 ¶
func (a *Client) AdminDeleteUserRoleV3(params *AdminDeleteUserRoleV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteUserRoleV3NoContent, *AdminDeleteUserRoleV3BadRequest, *AdminDeleteUserRoleV3Unauthorized, *AdminDeleteUserRoleV3Forbidden, *AdminDeleteUserRoleV3NotFound, error)
AdminDeleteUserRoleV3 deletes user role <p>This endpoint removes role from user. Required permission ADMIN:NAMESPACE:{namespace}:ROLE:USER:{userId} [DELETE]</p>
<p>action code: 10110</p>
func (*Client) PublicCreateUserV3 ¶
func (a *Client) PublicCreateUserV3(params *PublicCreateUserV3Params, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateUserV3Created, *PublicCreateUserV3BadRequest, *PublicCreateUserV3NotFound, *PublicCreateUserV3Conflict, *PublicCreateUserV3InternalServerError, error)
PublicCreateUserV3 creates user
<p>Available Authentication Types:</p> <ol> <li><strong>EMAILPASSWD</strong>: an authentication type used for new user registration through email.</li> </ol> <p>Country use ISO3166-1 alpha-2 two letter, e.g. US.</p> <p>Date of Birth format : YYYY-MM-DD, e.g. 2019-04-29.</p>
func (*Client) PublicSearchUserV3 ¶
func (a *Client) PublicSearchUserV3(params *PublicSearchUserV3Params, authInfo runtime.ClientAuthInfoWriter) (*PublicSearchUserV3OK, *PublicSearchUserV3BadRequest, *PublicSearchUserV3Unauthorized, *PublicSearchUserV3NotFound, *PublicSearchUserV3InternalServerError, error)
PublicSearchUserV3 searches user <p>Requires valid user access token</p> <p>This endpoint search all users on the specified namespace that match the query on these fields: email address, display name, and username. If the query is not defined, then it searches all users on the specified namespace.</p> <br>action code : 10132
func (*Client) PublicUserVerificationV3 ¶
func (a *Client) PublicUserVerificationV3(params *PublicUserVerificationV3Params, authInfo runtime.ClientAuthInfoWriter) (*PublicUserVerificationV3NoContent, *PublicUserVerificationV3BadRequest, *PublicUserVerificationV3Unauthorized, *PublicUserVerificationV3Forbidden, *PublicUserVerificationV3Conflict, error)
PublicUserVerificationV3 redeems verification code sent to user <p>Required valid user authorization</p>
<p>Redeems a verification code sent to a user to verify the user's contact address is correct</p> <p>Available ContactType : <b>email</b></p> <p>action code: 10107</p>
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { AdminAddUserRoleV3(params *AdminAddUserRoleV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminAddUserRoleV3NoContent, *AdminAddUserRoleV3BadRequest, *AdminAddUserRoleV3Unauthorized, *AdminAddUserRoleV3Forbidden, *AdminAddUserRoleV3NotFound, *AdminAddUserRoleV3Conflict, error) AdminDeleteUserRoleV3(params *AdminDeleteUserRoleV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteUserRoleV3NoContent, *AdminDeleteUserRoleV3BadRequest, *AdminDeleteUserRoleV3Unauthorized, *AdminDeleteUserRoleV3Forbidden, *AdminDeleteUserRoleV3NotFound, error) PublicCreateUserV3(params *PublicCreateUserV3Params, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateUserV3Created, *PublicCreateUserV3BadRequest, *PublicCreateUserV3NotFound, *PublicCreateUserV3Conflict, *PublicCreateUserV3InternalServerError, error) PublicSearchUserV3(params *PublicSearchUserV3Params, authInfo runtime.ClientAuthInfoWriter) (*PublicSearchUserV3OK, *PublicSearchUserV3BadRequest, *PublicSearchUserV3Unauthorized, *PublicSearchUserV3NotFound, *PublicSearchUserV3InternalServerError, error) PublicUserVerificationV3(params *PublicUserVerificationV3Params, authInfo runtime.ClientAuthInfoWriter) (*PublicUserVerificationV3NoContent, *PublicUserVerificationV3BadRequest, *PublicUserVerificationV3Unauthorized, *PublicUserVerificationV3Forbidden, *PublicUserVerificationV3Conflict, 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 users API client.
type PublicCreateUserV3BadRequest ¶
type PublicCreateUserV3BadRequest struct {
Payload *iamclientmodels.RestErrorResponse
}
PublicCreateUserV3BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>10130</td><td>user under age</td></tr></table>
func NewPublicCreateUserV3BadRequest ¶
func NewPublicCreateUserV3BadRequest() *PublicCreateUserV3BadRequest
NewPublicCreateUserV3BadRequest creates a PublicCreateUserV3BadRequest with default headers values
func (*PublicCreateUserV3BadRequest) Error ¶
func (o *PublicCreateUserV3BadRequest) Error() string
func (*PublicCreateUserV3BadRequest) GetPayload ¶
func (o *PublicCreateUserV3BadRequest) GetPayload() *iamclientmodels.RestErrorResponse
type PublicCreateUserV3Conflict ¶
type PublicCreateUserV3Conflict struct {
Payload *iamclientmodels.RestErrorResponse
}
PublicCreateUserV3Conflict handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10133</td><td>email already used</td></tr></table>
func NewPublicCreateUserV3Conflict ¶
func NewPublicCreateUserV3Conflict() *PublicCreateUserV3Conflict
NewPublicCreateUserV3Conflict creates a PublicCreateUserV3Conflict with default headers values
func (*PublicCreateUserV3Conflict) Error ¶
func (o *PublicCreateUserV3Conflict) Error() string
func (*PublicCreateUserV3Conflict) GetPayload ¶
func (o *PublicCreateUserV3Conflict) GetPayload() *iamclientmodels.RestErrorResponse
type PublicCreateUserV3Created ¶
type PublicCreateUserV3Created struct {
Payload *iamclientmodels.ModelUserCreateResponseV3
}
PublicCreateUserV3Created handles this case with default header values.
Created
func NewPublicCreateUserV3Created ¶
func NewPublicCreateUserV3Created() *PublicCreateUserV3Created
NewPublicCreateUserV3Created creates a PublicCreateUserV3Created with default headers values
func (*PublicCreateUserV3Created) Error ¶
func (o *PublicCreateUserV3Created) Error() string
func (*PublicCreateUserV3Created) GetPayload ¶
func (o *PublicCreateUserV3Created) GetPayload() *iamclientmodels.ModelUserCreateResponseV3
type PublicCreateUserV3InternalServerError ¶
type PublicCreateUserV3InternalServerError struct {
Payload *iamclientmodels.RestErrorResponse
}
PublicCreateUserV3InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewPublicCreateUserV3InternalServerError ¶
func NewPublicCreateUserV3InternalServerError() *PublicCreateUserV3InternalServerError
NewPublicCreateUserV3InternalServerError creates a PublicCreateUserV3InternalServerError with default headers values
func (*PublicCreateUserV3InternalServerError) Error ¶
func (o *PublicCreateUserV3InternalServerError) Error() string
func (*PublicCreateUserV3InternalServerError) GetPayload ¶
func (o *PublicCreateUserV3InternalServerError) GetPayload() *iamclientmodels.RestErrorResponse
type PublicCreateUserV3NotFound ¶
type PublicCreateUserV3NotFound struct {
Payload *iamclientmodels.RestErrorResponse
}
PublicCreateUserV3NotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10154</td><td>country not found</td></tr></table>
func NewPublicCreateUserV3NotFound ¶
func NewPublicCreateUserV3NotFound() *PublicCreateUserV3NotFound
NewPublicCreateUserV3NotFound creates a PublicCreateUserV3NotFound with default headers values
func (*PublicCreateUserV3NotFound) Error ¶
func (o *PublicCreateUserV3NotFound) Error() string
func (*PublicCreateUserV3NotFound) GetPayload ¶
func (o *PublicCreateUserV3NotFound) GetPayload() *iamclientmodels.RestErrorResponse
type PublicCreateUserV3Params ¶
type PublicCreateUserV3Params struct { /*Body*/ Body *iamclientmodels.ModelUserCreateRequestV3 /*Namespace Namespace, only accept alphabet and numeric */ Namespace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicCreateUserV3Params contains all the parameters to send to the API endpoint for the public create user v3 operation typically these are written to a http.Request
func NewPublicCreateUserV3Params ¶
func NewPublicCreateUserV3Params() *PublicCreateUserV3Params
NewPublicCreateUserV3Params creates a new PublicCreateUserV3Params object with the default values initialized.
func NewPublicCreateUserV3ParamsWithContext ¶
func NewPublicCreateUserV3ParamsWithContext(ctx context.Context) *PublicCreateUserV3Params
NewPublicCreateUserV3ParamsWithContext creates a new PublicCreateUserV3Params object with the default values initialized, and the ability to set a context for a request
func NewPublicCreateUserV3ParamsWithHTTPClient ¶
func NewPublicCreateUserV3ParamsWithHTTPClient(client *http.Client) *PublicCreateUserV3Params
NewPublicCreateUserV3ParamsWithHTTPClient creates a new PublicCreateUserV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicCreateUserV3ParamsWithTimeout ¶
func NewPublicCreateUserV3ParamsWithTimeout(timeout time.Duration) *PublicCreateUserV3Params
NewPublicCreateUserV3ParamsWithTimeout creates a new PublicCreateUserV3Params object with the default values initialized, and the ability to set a timeout on a request
func (*PublicCreateUserV3Params) SetBody ¶
func (o *PublicCreateUserV3Params) SetBody(body *iamclientmodels.ModelUserCreateRequestV3)
SetBody adds the body to the public create user v3 params
func (*PublicCreateUserV3Params) SetContext ¶
func (o *PublicCreateUserV3Params) SetContext(ctx context.Context)
SetContext adds the context to the public create user v3 params
func (*PublicCreateUserV3Params) SetHTTPClient ¶
func (o *PublicCreateUserV3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public create user v3 params
func (*PublicCreateUserV3Params) SetNamespace ¶
func (o *PublicCreateUserV3Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the public create user v3 params
func (*PublicCreateUserV3Params) SetTimeout ¶
func (o *PublicCreateUserV3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public create user v3 params
func (*PublicCreateUserV3Params) WithBody ¶
func (o *PublicCreateUserV3Params) WithBody(body *iamclientmodels.ModelUserCreateRequestV3) *PublicCreateUserV3Params
WithBody adds the body to the public create user v3 params
func (*PublicCreateUserV3Params) WithContext ¶
func (o *PublicCreateUserV3Params) WithContext(ctx context.Context) *PublicCreateUserV3Params
WithContext adds the context to the public create user v3 params
func (*PublicCreateUserV3Params) WithHTTPClient ¶
func (o *PublicCreateUserV3Params) WithHTTPClient(client *http.Client) *PublicCreateUserV3Params
WithHTTPClient adds the HTTPClient to the public create user v3 params
func (*PublicCreateUserV3Params) WithNamespace ¶
func (o *PublicCreateUserV3Params) WithNamespace(namespace string) *PublicCreateUserV3Params
WithNamespace adds the namespace to the public create user v3 params
func (*PublicCreateUserV3Params) WithTimeout ¶
func (o *PublicCreateUserV3Params) WithTimeout(timeout time.Duration) *PublicCreateUserV3Params
WithTimeout adds the timeout to the public create user v3 params
func (*PublicCreateUserV3Params) WriteToRequest ¶
func (o *PublicCreateUserV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicCreateUserV3Reader ¶
type PublicCreateUserV3Reader struct {
// contains filtered or unexported fields
}
PublicCreateUserV3Reader is a Reader for the PublicCreateUserV3 structure.
func (*PublicCreateUserV3Reader) ReadResponse ¶
func (o *PublicCreateUserV3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicSearchUserV3BadRequest ¶
type PublicSearchUserV3BadRequest struct {
Payload *iamclientmodels.RestErrorResponse
}
PublicSearchUserV3BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewPublicSearchUserV3BadRequest ¶
func NewPublicSearchUserV3BadRequest() *PublicSearchUserV3BadRequest
NewPublicSearchUserV3BadRequest creates a PublicSearchUserV3BadRequest with default headers values
func (*PublicSearchUserV3BadRequest) Error ¶
func (o *PublicSearchUserV3BadRequest) Error() string
func (*PublicSearchUserV3BadRequest) GetPayload ¶
func (o *PublicSearchUserV3BadRequest) GetPayload() *iamclientmodels.RestErrorResponse
type PublicSearchUserV3InternalServerError ¶
type PublicSearchUserV3InternalServerError struct { }
PublicSearchUserV3InternalServerError handles this case with default header values.
Internal Server Error
func NewPublicSearchUserV3InternalServerError ¶
func NewPublicSearchUserV3InternalServerError() *PublicSearchUserV3InternalServerError
NewPublicSearchUserV3InternalServerError creates a PublicSearchUserV3InternalServerError with default headers values
func (*PublicSearchUserV3InternalServerError) Error ¶
func (o *PublicSearchUserV3InternalServerError) Error() string
type PublicSearchUserV3NotFound ¶
type PublicSearchUserV3NotFound struct {
Payload *iamclientmodels.RestErrorResponse
}
PublicSearchUserV3NotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20008</td><td>user not found</td></tr></table>
func NewPublicSearchUserV3NotFound ¶
func NewPublicSearchUserV3NotFound() *PublicSearchUserV3NotFound
NewPublicSearchUserV3NotFound creates a PublicSearchUserV3NotFound with default headers values
func (*PublicSearchUserV3NotFound) Error ¶
func (o *PublicSearchUserV3NotFound) Error() string
func (*PublicSearchUserV3NotFound) GetPayload ¶
func (o *PublicSearchUserV3NotFound) GetPayload() *iamclientmodels.RestErrorResponse
type PublicSearchUserV3OK ¶
type PublicSearchUserV3OK struct {
Payload *iamclientmodels.ModelPublicUserInformationResponseV3
}
PublicSearchUserV3OK handles this case with default header values.
OK
func NewPublicSearchUserV3OK ¶
func NewPublicSearchUserV3OK() *PublicSearchUserV3OK
NewPublicSearchUserV3OK creates a PublicSearchUserV3OK with default headers values
func (*PublicSearchUserV3OK) Error ¶
func (o *PublicSearchUserV3OK) Error() string
func (*PublicSearchUserV3OK) GetPayload ¶
func (o *PublicSearchUserV3OK) GetPayload() *iamclientmodels.ModelPublicUserInformationResponseV3
type PublicSearchUserV3Params ¶
type PublicSearchUserV3Params struct { /*By Search by given attribute, possible values are emailAddress, displayName, and username */ By *string /*Namespace Namespace, only accept alphabet and numeric */ Namespace string /*Query Query, can be either email address, display name, or username */ Query *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicSearchUserV3Params contains all the parameters to send to the API endpoint for the public search user v3 operation typically these are written to a http.Request
func NewPublicSearchUserV3Params ¶
func NewPublicSearchUserV3Params() *PublicSearchUserV3Params
NewPublicSearchUserV3Params creates a new PublicSearchUserV3Params object with the default values initialized.
func NewPublicSearchUserV3ParamsWithContext ¶
func NewPublicSearchUserV3ParamsWithContext(ctx context.Context) *PublicSearchUserV3Params
NewPublicSearchUserV3ParamsWithContext creates a new PublicSearchUserV3Params object with the default values initialized, and the ability to set a context for a request
func NewPublicSearchUserV3ParamsWithHTTPClient ¶
func NewPublicSearchUserV3ParamsWithHTTPClient(client *http.Client) *PublicSearchUserV3Params
NewPublicSearchUserV3ParamsWithHTTPClient creates a new PublicSearchUserV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicSearchUserV3ParamsWithTimeout ¶
func NewPublicSearchUserV3ParamsWithTimeout(timeout time.Duration) *PublicSearchUserV3Params
NewPublicSearchUserV3ParamsWithTimeout creates a new PublicSearchUserV3Params object with the default values initialized, and the ability to set a timeout on a request
func (*PublicSearchUserV3Params) SetBy ¶
func (o *PublicSearchUserV3Params) SetBy(by *string)
SetBy adds the by to the public search user v3 params
func (*PublicSearchUserV3Params) SetContext ¶
func (o *PublicSearchUserV3Params) SetContext(ctx context.Context)
SetContext adds the context to the public search user v3 params
func (*PublicSearchUserV3Params) SetHTTPClient ¶
func (o *PublicSearchUserV3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public search user v3 params
func (*PublicSearchUserV3Params) SetNamespace ¶
func (o *PublicSearchUserV3Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the public search user v3 params
func (*PublicSearchUserV3Params) SetQuery ¶
func (o *PublicSearchUserV3Params) SetQuery(query *string)
SetQuery adds the query to the public search user v3 params
func (*PublicSearchUserV3Params) SetTimeout ¶
func (o *PublicSearchUserV3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public search user v3 params
func (*PublicSearchUserV3Params) WithBy ¶
func (o *PublicSearchUserV3Params) WithBy(by *string) *PublicSearchUserV3Params
WithBy adds the by to the public search user v3 params
func (*PublicSearchUserV3Params) WithContext ¶
func (o *PublicSearchUserV3Params) WithContext(ctx context.Context) *PublicSearchUserV3Params
WithContext adds the context to the public search user v3 params
func (*PublicSearchUserV3Params) WithHTTPClient ¶
func (o *PublicSearchUserV3Params) WithHTTPClient(client *http.Client) *PublicSearchUserV3Params
WithHTTPClient adds the HTTPClient to the public search user v3 params
func (*PublicSearchUserV3Params) WithNamespace ¶
func (o *PublicSearchUserV3Params) WithNamespace(namespace string) *PublicSearchUserV3Params
WithNamespace adds the namespace to the public search user v3 params
func (*PublicSearchUserV3Params) WithQuery ¶
func (o *PublicSearchUserV3Params) WithQuery(query *string) *PublicSearchUserV3Params
WithQuery adds the query to the public search user v3 params
func (*PublicSearchUserV3Params) WithTimeout ¶
func (o *PublicSearchUserV3Params) WithTimeout(timeout time.Duration) *PublicSearchUserV3Params
WithTimeout adds the timeout to the public search user v3 params
func (*PublicSearchUserV3Params) WriteToRequest ¶
func (o *PublicSearchUserV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicSearchUserV3Reader ¶
type PublicSearchUserV3Reader struct {
// contains filtered or unexported fields
}
PublicSearchUserV3Reader is a Reader for the PublicSearchUserV3 structure.
func (*PublicSearchUserV3Reader) ReadResponse ¶
func (o *PublicSearchUserV3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicSearchUserV3Unauthorized ¶
type PublicSearchUserV3Unauthorized struct {
}PublicSearchUserV3Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr><tr><td>20022</td><td>token is not user token</td></tr></table>
func NewPublicSearchUserV3Unauthorized ¶
func NewPublicSearchUserV3Unauthorized() *PublicSearchUserV3Unauthorized
NewPublicSearchUserV3Unauthorized creates a PublicSearchUserV3Unauthorized with default headers values
func (*PublicSearchUserV3Unauthorized) Error ¶
func (o *PublicSearchUserV3Unauthorized) Error() string
func (*PublicSearchUserV3Unauthorized) GetPayload ¶
func (o *PublicSearchUserV3Unauthorized) GetPayload() *iamclientmodels.RestErrorResponse
type PublicUserVerificationV3BadRequest ¶
type PublicUserVerificationV3BadRequest struct {
Payload *iamclientmodels.RestErrorResponse
}
PublicUserVerificationV3BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewPublicUserVerificationV3BadRequest ¶
func NewPublicUserVerificationV3BadRequest() *PublicUserVerificationV3BadRequest
NewPublicUserVerificationV3BadRequest creates a PublicUserVerificationV3BadRequest with default headers values
func (*PublicUserVerificationV3BadRequest) Error ¶
func (o *PublicUserVerificationV3BadRequest) Error() string
func (*PublicUserVerificationV3BadRequest) GetPayload ¶
func (o *PublicUserVerificationV3BadRequest) GetPayload() *iamclientmodels.RestErrorResponse
type PublicUserVerificationV3Conflict ¶
type PublicUserVerificationV3Conflict struct {
Payload *iamclientmodels.RestErrorResponse
}
PublicUserVerificationV3Conflict handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10141</td><td>email verified</td></tr></table>
func NewPublicUserVerificationV3Conflict ¶
func NewPublicUserVerificationV3Conflict() *PublicUserVerificationV3Conflict
NewPublicUserVerificationV3Conflict creates a PublicUserVerificationV3Conflict with default headers values
func (*PublicUserVerificationV3Conflict) Error ¶
func (o *PublicUserVerificationV3Conflict) Error() string
func (*PublicUserVerificationV3Conflict) GetPayload ¶
func (o *PublicUserVerificationV3Conflict) GetPayload() *iamclientmodels.RestErrorResponse
type PublicUserVerificationV3Forbidden ¶
type PublicUserVerificationV3Forbidden struct {
Payload *iamclientmodels.RestErrorResponse
}
PublicUserVerificationV3Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10152</td><td>verification code not found</td></tr><tr><td>10137</td><td>code is expired</td></tr><tr><td>10136</td><td>code is either been used or not valid anymore</td></tr><tr><td>10138</td><td>code not match</td></tr><tr><td>10149</td><td>verification contact type doesn't match</td></tr><tr><td>10148</td><td>verification code context doesn't match the required context</td></tr></table>
func NewPublicUserVerificationV3Forbidden ¶
func NewPublicUserVerificationV3Forbidden() *PublicUserVerificationV3Forbidden
NewPublicUserVerificationV3Forbidden creates a PublicUserVerificationV3Forbidden with default headers values
func (*PublicUserVerificationV3Forbidden) Error ¶
func (o *PublicUserVerificationV3Forbidden) Error() string
func (*PublicUserVerificationV3Forbidden) GetPayload ¶
func (o *PublicUserVerificationV3Forbidden) GetPayload() *iamclientmodels.RestErrorResponse
type PublicUserVerificationV3NoContent ¶
type PublicUserVerificationV3NoContent struct { }
PublicUserVerificationV3NoContent handles this case with default header values.
Operation succeeded
func NewPublicUserVerificationV3NoContent ¶
func NewPublicUserVerificationV3NoContent() *PublicUserVerificationV3NoContent
NewPublicUserVerificationV3NoContent creates a PublicUserVerificationV3NoContent with default headers values
func (*PublicUserVerificationV3NoContent) Error ¶
func (o *PublicUserVerificationV3NoContent) Error() string
type PublicUserVerificationV3Params ¶
type PublicUserVerificationV3Params struct { /*Body*/ Body *iamclientmodels.ModelUserVerificationRequestV3 /*Namespace Namespace, only accept alphabet and numeric */ Namespace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicUserVerificationV3Params contains all the parameters to send to the API endpoint for the public user verification v3 operation typically these are written to a http.Request
func NewPublicUserVerificationV3Params ¶
func NewPublicUserVerificationV3Params() *PublicUserVerificationV3Params
NewPublicUserVerificationV3Params creates a new PublicUserVerificationV3Params object with the default values initialized.
func NewPublicUserVerificationV3ParamsWithContext ¶
func NewPublicUserVerificationV3ParamsWithContext(ctx context.Context) *PublicUserVerificationV3Params
NewPublicUserVerificationV3ParamsWithContext creates a new PublicUserVerificationV3Params object with the default values initialized, and the ability to set a context for a request
func NewPublicUserVerificationV3ParamsWithHTTPClient ¶
func NewPublicUserVerificationV3ParamsWithHTTPClient(client *http.Client) *PublicUserVerificationV3Params
NewPublicUserVerificationV3ParamsWithHTTPClient creates a new PublicUserVerificationV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicUserVerificationV3ParamsWithTimeout ¶
func NewPublicUserVerificationV3ParamsWithTimeout(timeout time.Duration) *PublicUserVerificationV3Params
NewPublicUserVerificationV3ParamsWithTimeout creates a new PublicUserVerificationV3Params object with the default values initialized, and the ability to set a timeout on a request
func (*PublicUserVerificationV3Params) SetBody ¶
func (o *PublicUserVerificationV3Params) SetBody(body *iamclientmodels.ModelUserVerificationRequestV3)
SetBody adds the body to the public user verification v3 params
func (*PublicUserVerificationV3Params) SetContext ¶
func (o *PublicUserVerificationV3Params) SetContext(ctx context.Context)
SetContext adds the context to the public user verification v3 params
func (*PublicUserVerificationV3Params) SetHTTPClient ¶
func (o *PublicUserVerificationV3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public user verification v3 params
func (*PublicUserVerificationV3Params) SetNamespace ¶
func (o *PublicUserVerificationV3Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the public user verification v3 params
func (*PublicUserVerificationV3Params) SetTimeout ¶
func (o *PublicUserVerificationV3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public user verification v3 params
func (*PublicUserVerificationV3Params) WithBody ¶
func (o *PublicUserVerificationV3Params) WithBody(body *iamclientmodels.ModelUserVerificationRequestV3) *PublicUserVerificationV3Params
WithBody adds the body to the public user verification v3 params
func (*PublicUserVerificationV3Params) WithContext ¶
func (o *PublicUserVerificationV3Params) WithContext(ctx context.Context) *PublicUserVerificationV3Params
WithContext adds the context to the public user verification v3 params
func (*PublicUserVerificationV3Params) WithHTTPClient ¶
func (o *PublicUserVerificationV3Params) WithHTTPClient(client *http.Client) *PublicUserVerificationV3Params
WithHTTPClient adds the HTTPClient to the public user verification v3 params
func (*PublicUserVerificationV3Params) WithNamespace ¶
func (o *PublicUserVerificationV3Params) WithNamespace(namespace string) *PublicUserVerificationV3Params
WithNamespace adds the namespace to the public user verification v3 params
func (*PublicUserVerificationV3Params) WithTimeout ¶
func (o *PublicUserVerificationV3Params) WithTimeout(timeout time.Duration) *PublicUserVerificationV3Params
WithTimeout adds the timeout to the public user verification v3 params
func (*PublicUserVerificationV3Params) WriteToRequest ¶
func (o *PublicUserVerificationV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicUserVerificationV3Reader ¶
type PublicUserVerificationV3Reader struct {
// contains filtered or unexported fields
}
PublicUserVerificationV3Reader is a Reader for the PublicUserVerificationV3 structure.
func (*PublicUserVerificationV3Reader) ReadResponse ¶
func (o *PublicUserVerificationV3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicUserVerificationV3Unauthorized ¶
type PublicUserVerificationV3Unauthorized struct {
}PublicUserVerificationV3Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr><tr><td>20022</td><td>token is not user token</td></tr></table>
func NewPublicUserVerificationV3Unauthorized ¶
func NewPublicUserVerificationV3Unauthorized() *PublicUserVerificationV3Unauthorized
NewPublicUserVerificationV3Unauthorized creates a PublicUserVerificationV3Unauthorized with default headers values
func (*PublicUserVerificationV3Unauthorized) Error ¶
func (o *PublicUserVerificationV3Unauthorized) Error() string
func (*PublicUserVerificationV3Unauthorized) GetPayload ¶
func (o *PublicUserVerificationV3Unauthorized) GetPayload() *iamclientmodels.RestErrorResponse
Source Files ¶
- admin_add_user_role_v3_parameters.go
- admin_add_user_role_v3_responses.go
- admin_delete_user_role_v3_parameters.go
- admin_delete_user_role_v3_responses.go
- public_create_user_v3_parameters.go
- public_create_user_v3_responses.go
- public_search_user_v3_parameters.go
- public_search_user_v3_responses.go
- public_user_verification_v3_parameters.go
- public_user_verification_v3_responses.go
- users_client.go