users

package
v0.0.0-...-f573b6e Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2021 License: MIT Imports: 12 Imported by: 1

Documentation

Index

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 (*AdminAddUserRoleV3BadRequest) GetPayload

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 (*AdminAddUserRoleV3Conflict) GetPayload

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 (*AdminAddUserRoleV3Forbidden) GetPayload

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

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 (*AdminAddUserRoleV3NotFound) GetPayload

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

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

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

func (*AdminAddUserRoleV3Params) WithTimeout

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

func (*AdminAddUserRoleV3Params) WithUserID

WithUserID adds the userID to the admin add user role v3 params

func (*AdminAddUserRoleV3Params) WriteToRequest

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 {
	Payload *iamclientmodels.RestErrorResponse
}

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 (*AdminAddUserRoleV3Unauthorized) GetPayload

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 (*AdminDeleteUserRoleV3BadRequest) GetPayload

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 (*AdminDeleteUserRoleV3Forbidden) GetPayload

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

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 (*AdminDeleteUserRoleV3NotFound) GetPayload

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

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

func (*AdminDeleteUserRoleV3Params) WithHTTPClient

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

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

func (*AdminDeleteUserRoleV3Params) WithTimeout

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

func (*AdminDeleteUserRoleV3Params) WithUserID

WithUserID adds the userID to the admin delete user role v3 params

func (*AdminDeleteUserRoleV3Params) WriteToRequest

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 {
	Payload *iamclientmodels.RestErrorResponse
}

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 (*AdminDeleteUserRoleV3Unauthorized) GetPayload

type Client

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

Client for users API

func (*Client) AdminAddUserRoleV3

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

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

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

  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

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

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 (*PublicCreateUserV3BadRequest) GetPayload

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 (*PublicCreateUserV3Conflict) GetPayload

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

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 (*PublicCreateUserV3InternalServerError) GetPayload

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 (*PublicCreateUserV3NotFound) GetPayload

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

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

WithBody adds the body to the public create user v3 params

func (*PublicCreateUserV3Params) WithContext

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

WithTimeout adds the timeout to the public create user v3 params

func (*PublicCreateUserV3Params) WriteToRequest

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 (*PublicSearchUserV3BadRequest) GetPayload

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

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 (*PublicSearchUserV3NotFound) GetPayload

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

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

WithBy adds the by to the public search user v3 params

func (*PublicSearchUserV3Params) WithContext

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

WithQuery adds the query to the public search user v3 params

func (*PublicSearchUserV3Params) WithTimeout

WithTimeout adds the timeout to the public search user v3 params

func (*PublicSearchUserV3Params) WriteToRequest

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 {
	Payload *iamclientmodels.RestErrorResponse
}

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 (*PublicSearchUserV3Unauthorized) GetPayload

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 (*PublicUserVerificationV3BadRequest) GetPayload

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 (*PublicUserVerificationV3Conflict) GetPayload

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 (*PublicUserVerificationV3Forbidden) GetPayload

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

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

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

WithBody adds the body to the public user verification v3 params

func (*PublicUserVerificationV3Params) WithContext

WithContext adds the context to the public user verification v3 params

func (*PublicUserVerificationV3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public user verification v3 params

func (*PublicUserVerificationV3Params) WithNamespace

WithNamespace adds the namespace to the public user verification v3 params

func (*PublicUserVerificationV3Params) WithTimeout

WithTimeout adds the timeout to the public user verification v3 params

func (*PublicUserVerificationV3Params) WriteToRequest

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 {
	Payload *iamclientmodels.RestErrorResponse
}

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 (*PublicUserVerificationV3Unauthorized) GetPayload

Jump to

Keyboard shortcuts

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