user_profile

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 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 Client

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

Client for user profile API

func (*Client) CreateMyProfile

CreateMyProfile creates user profile

Create user profile.<br><b>Client with user token can create user profile in target namespace</b><br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:PROFILE"</b>, action=1 <b>(CREATE)</b></li><li><i>Action code</i>: 11401</li><li><i>Returns</i>: Created user profile</li><li><i>Path's namespace</i> : <ul><li>can be filled with <b>publisher namespace</b> in order to create <b>publisher user profile</b></li><li>can be filled with <b>game namespace</b> in order to create <b>game user profile</b></li></ul></li><li><i>Language</i> : allowed format: en, en-US</li><li><i>Country</i> : ISO3166-1 alpha-2 two letter, e.g. US </li><li><i>Timezone</i> : IANA time zone, e.g. Asia/Shanghai</li></ul>

func (*Client) DeleteUserProfile

DeleteUserProfile deletes user profile

Delete user profile.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"ADMIN:NAMESPACE:{namespace}:USER:{userId}:PROFILE"</b>, action=8 <b>(DELETE)</b></li><li><i>Action code</i>: 11407</li><li><i>Returns</i>: Delete user profile</li></ul>

func (*Client) EnableUserProfileStatus

EnableUserProfileStatus updates user profile status

Update user profile status.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"ADMIN:NAMESPACE:{namespace}:USER:{userId}:PROFILE"</b>, action=4 <b>(UPDATE)</b></li><li><i>Action code</i>: 11406</li><li><i>Returns</i>: user profile</li></ul>

func (*Client) GetCustomAttributesInfo

GetCustomAttributesInfo gets user custom attributes

Get user custom attributes.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"ADMIN:NAMESPACE:{namespace}:USER:{userId}:PROFILE"</b>, action=2 <b>(READ)</b></li><li><i>Returns</i>: custom attributes</li><li><i>Action code</i>: 11403</li></ul>

func (*Client) GetCustomAttributesInfo1

GetCustomAttributesInfo1 gets custom attributes info

Get custom attributes info.<br>Other detail info: <ul><li><i>Required permission</i>: login user</li><li><i>Action code</i>: 11404</li><li><i>Returns</i>: user custom attributes</li></ul>

func (*Client) GetMyProfileInfo

GetMyProfileInfo gets user profile

Get user profile<br><b>Client with user token can get user profile in target namespace</b><br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:PROFILE"</b>, action=2 <b>(READ)</b></li><li><i>Action code</i>: 11403</li><li><i>Returns</i>: user profile</li><li><i>Path's namespace</i> : <ul><li>can be filled with <b>publisher namespace</b> in order to get <b>publisher user profile</b></li><li>can be filled with <b>game namespace</b> in order to get <b>game user profile</b></li></ul></li><li><i>Language</i> : allowed format: en, en-US</li><li><i>Timezone</i> : IANA time zone, e.g. Asia/Shanghai</li></ul>

func (*Client) GetPrivateCustomAttributesInfo

GetPrivateCustomAttributesInfo gets user private custom attributes

Get user private custom attributes.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"ADMIN:NAMESPACE:{namespace}:USER:{userId}:PROFILE"</b>, action=2 <b>(READ)</b></li><li><i>Returns</i>: custom attributes</li><li><i>Action code</i>: 11403</li></ul>

func (*Client) GetUserProfileInfo

GetUserProfileInfo gets user profile

Get user profile.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"ADMIN:NAMESPACE:{namespace}:USER:{userId}:PROFILE"</b>, action=2 <b>(READ)</b></li><li><i>Returns</i>: user profile</li><li><i>Action code</i>: 11403</li></ul>

func (*Client) GetUserZipCode

GetUserZipCode gets user zip code

Get user zip code.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:PROFILE"</b>, action=2 <b>(READ)</b></li><li><i>Action code</i>: 11407</li><li><i>Returns</i>: user zip code</li></ul>

func (*Client) PublicCreateUserProfile

PublicCreateUserProfile creates user profile

Create user profile.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:USER:{userId}:PROFILE"</b>, action=1 <b>(CREATE)</b></li><li><i>Action code</i>: 11401</li><li><i>Language</i> : allowed format: en, en-US</li><li><i>Timezone</i> : IANA time zone, e.g. Asia/Shanghai</li><li><i>Returns</i>: Created user profile</li></ul>

func (*Client) PublicEnableUserProfileStatus

PublicEnableUserProfileStatus updates user profile status

Update user profile status.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:USER:{userId}:PROFILE"</b>, action=4 <b>(UPDATE)</b></li><li><i>Action code</i>: 11406</li><li><i>Returns</i>: user profile</li></ul>

func (*Client) PublicGetUserProfileInfo

PublicGetUserProfileInfo gets user profile

Get user profile.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:USER:{userId}:PROFILE"</b>, action=2 <b>(READ)</b></li><li><i>Action code</i>: 11403</li><li><i>Returns</i>: user profile</li></ul>

func (*Client) PublicGetUserProfilePublicInfo

PublicGetUserProfilePublicInfo gets user profile public info

Get user profile public info.<br>Other detail info: <ul><li><i>Action code</i>: 11404</li><li><i>Returns</i>: user public profile</li></ul>

func (*Client) PublicGetUserProfilePublicInfoByIds

PublicGetUserProfilePublicInfoByIds gets user profile public info by ids

Get user public profile by ids.<br>Other detail info: <ul><li><i>Action code</i>: 11405</li><li><i>Returns</i>: user public profiles</li></ul>

func (*Client) PublicUpdateUserProfile

PublicUpdateUserProfile updates user profile

Update user profile.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"ADMIN:NAMESPACE:{namespace}:USER:{userId}:PROFILE"</b>, action=4 <b>(UPDATE)</b></li><li><i>Action code</i>: 11402</li><li><i>Language</i> : allowed format: en, en-US</li><li><i>Timezone</i> : IANA time zone, e.g. Asia/Shanghai</li><li><i>Returns</i>: Updated user profile</li></ul>

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateCustomAttributesPartially

UpdateCustomAttributesPartially updates partially custom attributes tied to the user id

Update partially custom attributes tied to the user id.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"ADMIN:NAMESPACE:{namespace}:USER:{userId}:PROFILE"</b>, action=4 <b>(UPDATE)</b></li><li><i>Action code</i>: 11402</li><li><i>Request body</i>: allowed format: JSON object</li><li><i>Returns</i>: Updated custom attributes</li></ul>

func (*Client) UpdateCustomAttributesPartially1

UpdateCustomAttributesPartially1 updates partially custom attributes tied to user id

Update partially custom attributes tied to user id.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:USER:{userId}:PROFILE"</b>, action=4 <b>(UPDATE)</b></li><li><i>Action code</i>: 11402</li><li><i>Request body</i> : allowed format: JSON object</li><li><i>Returns</i>: Updated custom attributes</li></ul>

func (*Client) UpdateMyProfile

UpdateMyProfile updates user profile

Update user profile.<br>Updates user profile in the target namespace (namespace in the path). If token's namespace doesn't match the target namespace, the service automatically maps the token's user ID into the user ID in the target namespace. The endpoint returns the updated user profile on a successful call.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:PROFILE"</b>, action=4 <b>(UPDATE)</b></li><li><i>Action code</i>: 11402</li><li><i>Returns</i>: user profile</li><li><i>Path's namespace</i> : <ul><li>can be filled with <b>publisher namespace</b> in order to update <b>publisher user profile</b></li><li>can be filled with <b>game namespace</b> in order to update <b>game user profile</b></li></ul></li><li><i>Language</i> : allowed format: en, en-US</li><li><i>Timezone</i> : IANA time zone, e.g. Asia/Shanghai</li></ul>

func (*Client) UpdatePrivateCustomAttributesPartially

UpdatePrivateCustomAttributesPartially updates partially private custom attributes tied to the user id

Update partially private custom attributes tied to the user id.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"ADMIN:NAMESPACE:{namespace}:USER:{userId}:PROFILE"</b>, action=4 <b>(UPDATE)</b></li><li><i>Action code</i>: 11402</li><li><i>Request body</i>: allowed format: JSON object</li><li><i>Returns</i>: Updated custom attributes</li></ul>

func (*Client) UpdateUserProfile

UpdateUserProfile updates user profile

Update user profile.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"ADMIN:NAMESPACE:{namespace}:USER:{userId}:PROFILE"</b>, action=4 <b>(UPDATE)</b></li><li><i>Action code</i>: 11402</li><li><i>Returns</i>: Updated user profile</li></ul>

func (*Client) UpdateUserZipCode

UpdateUserZipCode updates user zip code

Update user zip code.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:PROFILE"</b>, action=4 <b>(UPDATE)</b></li><li><i>Action code</i>: 11408</li><li><i>Returns</i>: user zip code</li></ul>

type ClientService

type ClientService interface {
	CreateMyProfile(params *CreateMyProfileParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMyProfileCreated, *CreateMyProfileBadRequest, *CreateMyProfileUnauthorized, *CreateMyProfileForbidden, *CreateMyProfileNotFound, *CreateMyProfileConflict, error)

	DeleteUserProfile(params *DeleteUserProfileParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserProfileOK, *DeleteUserProfileBadRequest, *DeleteUserProfileUnauthorized, *DeleteUserProfileForbidden, *DeleteUserProfileNotFound, error)

	EnableUserProfileStatus(params *EnableUserProfileStatusParams, authInfo runtime.ClientAuthInfoWriter) (*EnableUserProfileStatusOK, *EnableUserProfileStatusBadRequest, *EnableUserProfileStatusUnauthorized, *EnableUserProfileStatusForbidden, *EnableUserProfileStatusNotFound, error)

	GetCustomAttributesInfo(params *GetCustomAttributesInfoParams, authInfo runtime.ClientAuthInfoWriter) (*GetCustomAttributesInfoOK, *GetCustomAttributesInfoUnauthorized, *GetCustomAttributesInfoForbidden, *GetCustomAttributesInfoNotFound, error)

	GetCustomAttributesInfo1(params *GetCustomAttributesInfo1Params, authInfo runtime.ClientAuthInfoWriter) (*GetCustomAttributesInfo1OK, *GetCustomAttributesInfo1Unauthorized, *GetCustomAttributesInfo1NotFound, error)

	GetMyProfileInfo(params *GetMyProfileInfoParams, authInfo runtime.ClientAuthInfoWriter) (*GetMyProfileInfoOK, *GetMyProfileInfoBadRequest, *GetMyProfileInfoUnauthorized, *GetMyProfileInfoForbidden, *GetMyProfileInfoNotFound, error)

	GetPrivateCustomAttributesInfo(params *GetPrivateCustomAttributesInfoParams, authInfo runtime.ClientAuthInfoWriter) (*GetPrivateCustomAttributesInfoOK, *GetPrivateCustomAttributesInfoUnauthorized, *GetPrivateCustomAttributesInfoForbidden, *GetPrivateCustomAttributesInfoNotFound, error)

	GetUserProfileInfo(params *GetUserProfileInfoParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserProfileInfoOK, *GetUserProfileInfoBadRequest, *GetUserProfileInfoUnauthorized, *GetUserProfileInfoForbidden, *GetUserProfileInfoNotFound, error)

	GetUserZipCode(params *GetUserZipCodeParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserZipCodeOK, *GetUserZipCodeUnauthorized, *GetUserZipCodeForbidden, error)

	PublicCreateUserProfile(params *PublicCreateUserProfileParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateUserProfileCreated, *PublicCreateUserProfileBadRequest, *PublicCreateUserProfileUnauthorized, *PublicCreateUserProfileForbidden, *PublicCreateUserProfileConflict, error)

	PublicEnableUserProfileStatus(params *PublicEnableUserProfileStatusParams, authInfo runtime.ClientAuthInfoWriter) (*PublicEnableUserProfileStatusOK, *PublicEnableUserProfileStatusBadRequest, *PublicEnableUserProfileStatusUnauthorized, *PublicEnableUserProfileStatusForbidden, *PublicEnableUserProfileStatusNotFound, error)

	PublicGetUserProfileInfo(params *PublicGetUserProfileInfoParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserProfileInfoOK, *PublicGetUserProfileInfoBadRequest, *PublicGetUserProfileInfoUnauthorized, *PublicGetUserProfileInfoForbidden, *PublicGetUserProfileInfoNotFound, error)

	PublicGetUserProfilePublicInfo(params *PublicGetUserProfilePublicInfoParams) (*PublicGetUserProfilePublicInfoOK, *PublicGetUserProfilePublicInfoBadRequest, *PublicGetUserProfilePublicInfoNotFound, error)

	PublicGetUserProfilePublicInfoByIds(params *PublicGetUserProfilePublicInfoByIdsParams) (*PublicGetUserProfilePublicInfoByIdsOK, *PublicGetUserProfilePublicInfoByIdsBadRequest, error)

	PublicUpdateUserProfile(params *PublicUpdateUserProfileParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateUserProfileOK, *PublicUpdateUserProfileBadRequest, *PublicUpdateUserProfileUnauthorized, *PublicUpdateUserProfileForbidden, *PublicUpdateUserProfileNotFound, error)

	UpdateCustomAttributesPartially(params *UpdateCustomAttributesPartiallyParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCustomAttributesPartiallyOK, *UpdateCustomAttributesPartiallyBadRequest, *UpdateCustomAttributesPartiallyUnauthorized, *UpdateCustomAttributesPartiallyForbidden, *UpdateCustomAttributesPartiallyNotFound, error)

	UpdateCustomAttributesPartially1(params *UpdateCustomAttributesPartially1Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateCustomAttributesPartially1OK, *UpdateCustomAttributesPartially1BadRequest, *UpdateCustomAttributesPartially1Unauthorized, *UpdateCustomAttributesPartially1Forbidden, *UpdateCustomAttributesPartially1NotFound, error)

	UpdateMyProfile(params *UpdateMyProfileParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateMyProfileOK, *UpdateMyProfileBadRequest, *UpdateMyProfileUnauthorized, *UpdateMyProfileForbidden, *UpdateMyProfileNotFound, error)

	UpdatePrivateCustomAttributesPartially(params *UpdatePrivateCustomAttributesPartiallyParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePrivateCustomAttributesPartiallyOK, *UpdatePrivateCustomAttributesPartiallyBadRequest, *UpdatePrivateCustomAttributesPartiallyUnauthorized, *UpdatePrivateCustomAttributesPartiallyForbidden, *UpdatePrivateCustomAttributesPartiallyNotFound, error)

	UpdateUserProfile(params *UpdateUserProfileParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserProfileOK, *UpdateUserProfileBadRequest, *UpdateUserProfileUnauthorized, *UpdateUserProfileForbidden, *UpdateUserProfileNotFound, error)

	UpdateUserZipCode(params *UpdateUserZipCodeParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserZipCodeOK, *UpdateUserZipCodeBadRequest, *UpdateUserZipCodeUnauthorized, *UpdateUserZipCodeForbidden, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new user profile API client.

type CreateMyProfileBadRequest

type CreateMyProfileBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

CreateMyProfileBadRequest handles this case with default header values.

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

func NewCreateMyProfileBadRequest

func NewCreateMyProfileBadRequest() *CreateMyProfileBadRequest

NewCreateMyProfileBadRequest creates a CreateMyProfileBadRequest with default headers values

func (*CreateMyProfileBadRequest) Error

func (o *CreateMyProfileBadRequest) Error() string

func (*CreateMyProfileBadRequest) GetPayload

type CreateMyProfileConflict

type CreateMyProfileConflict struct {
	Payload *basicclientmodels.ErrorEntity
}

CreateMyProfileConflict handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11441</td><td>user profile already exists</td></tr></table>

func NewCreateMyProfileConflict

func NewCreateMyProfileConflict() *CreateMyProfileConflict

NewCreateMyProfileConflict creates a CreateMyProfileConflict with default headers values

func (*CreateMyProfileConflict) Error

func (o *CreateMyProfileConflict) Error() string

func (*CreateMyProfileConflict) GetPayload

type CreateMyProfileCreated

type CreateMyProfileCreated struct {
	Payload *basicclientmodels.UserProfilePrivateInfo
}

CreateMyProfileCreated handles this case with default header values.

Successful operation

func NewCreateMyProfileCreated

func NewCreateMyProfileCreated() *CreateMyProfileCreated

NewCreateMyProfileCreated creates a CreateMyProfileCreated with default headers values

func (*CreateMyProfileCreated) Error

func (o *CreateMyProfileCreated) Error() string

func (*CreateMyProfileCreated) GetPayload

type CreateMyProfileForbidden

type CreateMyProfileForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

CreateMyProfileForbidden handles this case with default header values.

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

func NewCreateMyProfileForbidden

func NewCreateMyProfileForbidden() *CreateMyProfileForbidden

NewCreateMyProfileForbidden creates a CreateMyProfileForbidden with default headers values

func (*CreateMyProfileForbidden) Error

func (o *CreateMyProfileForbidden) Error() string

func (*CreateMyProfileForbidden) GetPayload

type CreateMyProfileNotFound

type CreateMyProfileNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

CreateMyProfileNotFound 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>20017</td><td>user not linked</td></tr></table>

func NewCreateMyProfileNotFound

func NewCreateMyProfileNotFound() *CreateMyProfileNotFound

NewCreateMyProfileNotFound creates a CreateMyProfileNotFound with default headers values

func (*CreateMyProfileNotFound) Error

func (o *CreateMyProfileNotFound) Error() string

func (*CreateMyProfileNotFound) GetPayload

type CreateMyProfileParams

type CreateMyProfileParams struct {

	/*Body*/
	Body *basicclientmodels.UserProfilePrivateCreate
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string

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

CreateMyProfileParams contains all the parameters to send to the API endpoint for the create my profile operation typically these are written to a http.Request

func NewCreateMyProfileParams

func NewCreateMyProfileParams() *CreateMyProfileParams

NewCreateMyProfileParams creates a new CreateMyProfileParams object with the default values initialized.

func NewCreateMyProfileParamsWithContext

func NewCreateMyProfileParamsWithContext(ctx context.Context) *CreateMyProfileParams

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

func NewCreateMyProfileParamsWithHTTPClient

func NewCreateMyProfileParamsWithHTTPClient(client *http.Client) *CreateMyProfileParams

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

func NewCreateMyProfileParamsWithTimeout

func NewCreateMyProfileParamsWithTimeout(timeout time.Duration) *CreateMyProfileParams

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

func (*CreateMyProfileParams) SetBody

SetBody adds the body to the create my profile params

func (*CreateMyProfileParams) SetContext

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

SetContext adds the context to the create my profile params

func (*CreateMyProfileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create my profile params

func (*CreateMyProfileParams) SetNamespace

func (o *CreateMyProfileParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the create my profile params

func (*CreateMyProfileParams) SetTimeout

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

SetTimeout adds the timeout to the create my profile params

func (*CreateMyProfileParams) WithBody

WithBody adds the body to the create my profile params

func (*CreateMyProfileParams) WithContext

WithContext adds the context to the create my profile params

func (*CreateMyProfileParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create my profile params

func (*CreateMyProfileParams) WithNamespace

func (o *CreateMyProfileParams) WithNamespace(namespace string) *CreateMyProfileParams

WithNamespace adds the namespace to the create my profile params

func (*CreateMyProfileParams) WithTimeout

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

WithTimeout adds the timeout to the create my profile params

func (*CreateMyProfileParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateMyProfileReader

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

CreateMyProfileReader is a Reader for the CreateMyProfile structure.

func (*CreateMyProfileReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateMyProfileUnauthorized

type CreateMyProfileUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

CreateMyProfileUnauthorized handles this case with default header values.

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

func NewCreateMyProfileUnauthorized

func NewCreateMyProfileUnauthorized() *CreateMyProfileUnauthorized

NewCreateMyProfileUnauthorized creates a CreateMyProfileUnauthorized with default headers values

func (*CreateMyProfileUnauthorized) Error

func (*CreateMyProfileUnauthorized) GetPayload

type DeleteUserProfileBadRequest

type DeleteUserProfileBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

DeleteUserProfileBadRequest 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 NewDeleteUserProfileBadRequest

func NewDeleteUserProfileBadRequest() *DeleteUserProfileBadRequest

NewDeleteUserProfileBadRequest creates a DeleteUserProfileBadRequest with default headers values

func (*DeleteUserProfileBadRequest) Error

func (*DeleteUserProfileBadRequest) GetPayload

type DeleteUserProfileForbidden

type DeleteUserProfileForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

DeleteUserProfileForbidden handles this case with default header values.

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

func NewDeleteUserProfileForbidden

func NewDeleteUserProfileForbidden() *DeleteUserProfileForbidden

NewDeleteUserProfileForbidden creates a DeleteUserProfileForbidden with default headers values

func (*DeleteUserProfileForbidden) Error

func (*DeleteUserProfileForbidden) GetPayload

type DeleteUserProfileNotFound

type DeleteUserProfileNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

DeleteUserProfileNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11440</td><td>user profile not found</td></tr></table>

func NewDeleteUserProfileNotFound

func NewDeleteUserProfileNotFound() *DeleteUserProfileNotFound

NewDeleteUserProfileNotFound creates a DeleteUserProfileNotFound with default headers values

func (*DeleteUserProfileNotFound) Error

func (o *DeleteUserProfileNotFound) Error() string

func (*DeleteUserProfileNotFound) GetPayload

type DeleteUserProfileOK

type DeleteUserProfileOK struct {
	Payload *basicclientmodels.UserProfilePrivateInfo
}

DeleteUserProfileOK handles this case with default header values.

successful operation

func NewDeleteUserProfileOK

func NewDeleteUserProfileOK() *DeleteUserProfileOK

NewDeleteUserProfileOK creates a DeleteUserProfileOK with default headers values

func (*DeleteUserProfileOK) Error

func (o *DeleteUserProfileOK) Error() string

func (*DeleteUserProfileOK) GetPayload

type DeleteUserProfileParams

type DeleteUserProfileParams struct {

	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string
	/*UserID
	  user's id, should follow UUID version 4 without hyphen

	*/
	UserID string

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

DeleteUserProfileParams contains all the parameters to send to the API endpoint for the delete user profile operation typically these are written to a http.Request

func NewDeleteUserProfileParams

func NewDeleteUserProfileParams() *DeleteUserProfileParams

NewDeleteUserProfileParams creates a new DeleteUserProfileParams object with the default values initialized.

func NewDeleteUserProfileParamsWithContext

func NewDeleteUserProfileParamsWithContext(ctx context.Context) *DeleteUserProfileParams

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

func NewDeleteUserProfileParamsWithHTTPClient

func NewDeleteUserProfileParamsWithHTTPClient(client *http.Client) *DeleteUserProfileParams

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

func NewDeleteUserProfileParamsWithTimeout

func NewDeleteUserProfileParamsWithTimeout(timeout time.Duration) *DeleteUserProfileParams

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

func (*DeleteUserProfileParams) SetContext

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

SetContext adds the context to the delete user profile params

func (*DeleteUserProfileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete user profile params

func (*DeleteUserProfileParams) SetNamespace

func (o *DeleteUserProfileParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete user profile params

func (*DeleteUserProfileParams) SetTimeout

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

SetTimeout adds the timeout to the delete user profile params

func (*DeleteUserProfileParams) SetUserID

func (o *DeleteUserProfileParams) SetUserID(userID string)

SetUserID adds the userId to the delete user profile params

func (*DeleteUserProfileParams) WithContext

WithContext adds the context to the delete user profile params

func (*DeleteUserProfileParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete user profile params

func (*DeleteUserProfileParams) WithNamespace

func (o *DeleteUserProfileParams) WithNamespace(namespace string) *DeleteUserProfileParams

WithNamespace adds the namespace to the delete user profile params

func (*DeleteUserProfileParams) WithTimeout

WithTimeout adds the timeout to the delete user profile params

func (*DeleteUserProfileParams) WithUserID

WithUserID adds the userID to the delete user profile params

func (*DeleteUserProfileParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteUserProfileReader

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

DeleteUserProfileReader is a Reader for the DeleteUserProfile structure.

func (*DeleteUserProfileReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteUserProfileUnauthorized

type DeleteUserProfileUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

DeleteUserProfileUnauthorized handles this case with default header values.

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

func NewDeleteUserProfileUnauthorized

func NewDeleteUserProfileUnauthorized() *DeleteUserProfileUnauthorized

NewDeleteUserProfileUnauthorized creates a DeleteUserProfileUnauthorized with default headers values

func (*DeleteUserProfileUnauthorized) Error

func (*DeleteUserProfileUnauthorized) GetPayload

type EnableUserProfileStatusBadRequest

type EnableUserProfileStatusBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

EnableUserProfileStatusBadRequest handles this case with default header values.

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

func NewEnableUserProfileStatusBadRequest

func NewEnableUserProfileStatusBadRequest() *EnableUserProfileStatusBadRequest

NewEnableUserProfileStatusBadRequest creates a EnableUserProfileStatusBadRequest with default headers values

func (*EnableUserProfileStatusBadRequest) Error

func (*EnableUserProfileStatusBadRequest) GetPayload

type EnableUserProfileStatusForbidden

type EnableUserProfileStatusForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

EnableUserProfileStatusForbidden handles this case with default header values.

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

func NewEnableUserProfileStatusForbidden

func NewEnableUserProfileStatusForbidden() *EnableUserProfileStatusForbidden

NewEnableUserProfileStatusForbidden creates a EnableUserProfileStatusForbidden with default headers values

func (*EnableUserProfileStatusForbidden) Error

func (*EnableUserProfileStatusForbidden) GetPayload

type EnableUserProfileStatusNotFound

type EnableUserProfileStatusNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

EnableUserProfileStatusNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11440</td><td>user profile not found</td></tr></table>

func NewEnableUserProfileStatusNotFound

func NewEnableUserProfileStatusNotFound() *EnableUserProfileStatusNotFound

NewEnableUserProfileStatusNotFound creates a EnableUserProfileStatusNotFound with default headers values

func (*EnableUserProfileStatusNotFound) Error

func (*EnableUserProfileStatusNotFound) GetPayload

type EnableUserProfileStatusOK

type EnableUserProfileStatusOK struct {
	Payload *basicclientmodels.UserProfilePrivateInfo
}

EnableUserProfileStatusOK handles this case with default header values.

successful operation

func NewEnableUserProfileStatusOK

func NewEnableUserProfileStatusOK() *EnableUserProfileStatusOK

NewEnableUserProfileStatusOK creates a EnableUserProfileStatusOK with default headers values

func (*EnableUserProfileStatusOK) Error

func (o *EnableUserProfileStatusOK) Error() string

func (*EnableUserProfileStatusOK) GetPayload

type EnableUserProfileStatusParams

type EnableUserProfileStatusParams struct {

	/*Body*/
	Body *basicclientmodels.UserProfileStatusUpdate
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string
	/*UserID
	  user's id, should follow UUID version 4 without hyphen

	*/
	UserID string

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

EnableUserProfileStatusParams contains all the parameters to send to the API endpoint for the enable user profile status operation typically these are written to a http.Request

func NewEnableUserProfileStatusParams

func NewEnableUserProfileStatusParams() *EnableUserProfileStatusParams

NewEnableUserProfileStatusParams creates a new EnableUserProfileStatusParams object with the default values initialized.

func NewEnableUserProfileStatusParamsWithContext

func NewEnableUserProfileStatusParamsWithContext(ctx context.Context) *EnableUserProfileStatusParams

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

func NewEnableUserProfileStatusParamsWithHTTPClient

func NewEnableUserProfileStatusParamsWithHTTPClient(client *http.Client) *EnableUserProfileStatusParams

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

func NewEnableUserProfileStatusParamsWithTimeout

func NewEnableUserProfileStatusParamsWithTimeout(timeout time.Duration) *EnableUserProfileStatusParams

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

func (*EnableUserProfileStatusParams) SetBody

SetBody adds the body to the enable user profile status params

func (*EnableUserProfileStatusParams) SetContext

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

SetContext adds the context to the enable user profile status params

func (*EnableUserProfileStatusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the enable user profile status params

func (*EnableUserProfileStatusParams) SetNamespace

func (o *EnableUserProfileStatusParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the enable user profile status params

func (*EnableUserProfileStatusParams) SetTimeout

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

SetTimeout adds the timeout to the enable user profile status params

func (*EnableUserProfileStatusParams) SetUserID

func (o *EnableUserProfileStatusParams) SetUserID(userID string)

SetUserID adds the userId to the enable user profile status params

func (*EnableUserProfileStatusParams) WithBody

WithBody adds the body to the enable user profile status params

func (*EnableUserProfileStatusParams) WithContext

WithContext adds the context to the enable user profile status params

func (*EnableUserProfileStatusParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the enable user profile status params

func (*EnableUserProfileStatusParams) WithNamespace

WithNamespace adds the namespace to the enable user profile status params

func (*EnableUserProfileStatusParams) WithTimeout

WithTimeout adds the timeout to the enable user profile status params

func (*EnableUserProfileStatusParams) WithUserID

WithUserID adds the userID to the enable user profile status params

func (*EnableUserProfileStatusParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EnableUserProfileStatusReader

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

EnableUserProfileStatusReader is a Reader for the EnableUserProfileStatus structure.

func (*EnableUserProfileStatusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EnableUserProfileStatusUnauthorized

type EnableUserProfileStatusUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

EnableUserProfileStatusUnauthorized handles this case with default header values.

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

func NewEnableUserProfileStatusUnauthorized

func NewEnableUserProfileStatusUnauthorized() *EnableUserProfileStatusUnauthorized

NewEnableUserProfileStatusUnauthorized creates a EnableUserProfileStatusUnauthorized with default headers values

func (*EnableUserProfileStatusUnauthorized) Error

func (*EnableUserProfileStatusUnauthorized) GetPayload

type GetCustomAttributesInfo1NotFound

type GetCustomAttributesInfo1NotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

GetCustomAttributesInfo1NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11440</td><td>user profile not found</td></tr></table>

func NewGetCustomAttributesInfo1NotFound

func NewGetCustomAttributesInfo1NotFound() *GetCustomAttributesInfo1NotFound

NewGetCustomAttributesInfo1NotFound creates a GetCustomAttributesInfo1NotFound with default headers values

func (*GetCustomAttributesInfo1NotFound) Error

func (*GetCustomAttributesInfo1NotFound) GetPayload

type GetCustomAttributesInfo1OK

type GetCustomAttributesInfo1OK struct {
	Payload map[string]interface{}
}

GetCustomAttributesInfo1OK handles this case with default header values.

Successful operation

func NewGetCustomAttributesInfo1OK

func NewGetCustomAttributesInfo1OK() *GetCustomAttributesInfo1OK

NewGetCustomAttributesInfo1OK creates a GetCustomAttributesInfo1OK with default headers values

func (*GetCustomAttributesInfo1OK) Error

func (*GetCustomAttributesInfo1OK) GetPayload

func (o *GetCustomAttributesInfo1OK) GetPayload() map[string]interface{}

type GetCustomAttributesInfo1Params

type GetCustomAttributesInfo1Params struct {

	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string
	/*UserID
	  user's id, should follow UUID version 4 without hyphen

	*/
	UserID string

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

GetCustomAttributesInfo1Params contains all the parameters to send to the API endpoint for the get custom attributes info 1 operation typically these are written to a http.Request

func NewGetCustomAttributesInfo1Params

func NewGetCustomAttributesInfo1Params() *GetCustomAttributesInfo1Params

NewGetCustomAttributesInfo1Params creates a new GetCustomAttributesInfo1Params object with the default values initialized.

func NewGetCustomAttributesInfo1ParamsWithContext

func NewGetCustomAttributesInfo1ParamsWithContext(ctx context.Context) *GetCustomAttributesInfo1Params

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

func NewGetCustomAttributesInfo1ParamsWithHTTPClient

func NewGetCustomAttributesInfo1ParamsWithHTTPClient(client *http.Client) *GetCustomAttributesInfo1Params

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

func NewGetCustomAttributesInfo1ParamsWithTimeout

func NewGetCustomAttributesInfo1ParamsWithTimeout(timeout time.Duration) *GetCustomAttributesInfo1Params

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

func (*GetCustomAttributesInfo1Params) SetContext

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

SetContext adds the context to the get custom attributes info 1 params

func (*GetCustomAttributesInfo1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get custom attributes info 1 params

func (*GetCustomAttributesInfo1Params) SetNamespace

func (o *GetCustomAttributesInfo1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the get custom attributes info 1 params

func (*GetCustomAttributesInfo1Params) SetTimeout

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

SetTimeout adds the timeout to the get custom attributes info 1 params

func (*GetCustomAttributesInfo1Params) SetUserID

func (o *GetCustomAttributesInfo1Params) SetUserID(userID string)

SetUserID adds the userId to the get custom attributes info 1 params

func (*GetCustomAttributesInfo1Params) WithContext

WithContext adds the context to the get custom attributes info 1 params

func (*GetCustomAttributesInfo1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get custom attributes info 1 params

func (*GetCustomAttributesInfo1Params) WithNamespace

WithNamespace adds the namespace to the get custom attributes info 1 params

func (*GetCustomAttributesInfo1Params) WithTimeout

WithTimeout adds the timeout to the get custom attributes info 1 params

func (*GetCustomAttributesInfo1Params) WithUserID

WithUserID adds the userID to the get custom attributes info 1 params

func (*GetCustomAttributesInfo1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCustomAttributesInfo1Reader

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

GetCustomAttributesInfo1Reader is a Reader for the GetCustomAttributesInfo1 structure.

func (*GetCustomAttributesInfo1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCustomAttributesInfo1Unauthorized

type GetCustomAttributesInfo1Unauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

GetCustomAttributesInfo1Unauthorized handles this case with default header values.

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

func NewGetCustomAttributesInfo1Unauthorized

func NewGetCustomAttributesInfo1Unauthorized() *GetCustomAttributesInfo1Unauthorized

NewGetCustomAttributesInfo1Unauthorized creates a GetCustomAttributesInfo1Unauthorized with default headers values

func (*GetCustomAttributesInfo1Unauthorized) Error

func (*GetCustomAttributesInfo1Unauthorized) GetPayload

type GetCustomAttributesInfoForbidden

type GetCustomAttributesInfoForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

GetCustomAttributesInfoForbidden handles this case with default header values.

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

func NewGetCustomAttributesInfoForbidden

func NewGetCustomAttributesInfoForbidden() *GetCustomAttributesInfoForbidden

NewGetCustomAttributesInfoForbidden creates a GetCustomAttributesInfoForbidden with default headers values

func (*GetCustomAttributesInfoForbidden) Error

func (*GetCustomAttributesInfoForbidden) GetPayload

type GetCustomAttributesInfoNotFound

type GetCustomAttributesInfoNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

GetCustomAttributesInfoNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11440</td><td>user profile not found</td></tr></table>

func NewGetCustomAttributesInfoNotFound

func NewGetCustomAttributesInfoNotFound() *GetCustomAttributesInfoNotFound

NewGetCustomAttributesInfoNotFound creates a GetCustomAttributesInfoNotFound with default headers values

func (*GetCustomAttributesInfoNotFound) Error

func (*GetCustomAttributesInfoNotFound) GetPayload

type GetCustomAttributesInfoOK

type GetCustomAttributesInfoOK struct {
	Payload map[string]interface{}
}

GetCustomAttributesInfoOK handles this case with default header values.

successful operation

func NewGetCustomAttributesInfoOK

func NewGetCustomAttributesInfoOK() *GetCustomAttributesInfoOK

NewGetCustomAttributesInfoOK creates a GetCustomAttributesInfoOK with default headers values

func (*GetCustomAttributesInfoOK) Error

func (o *GetCustomAttributesInfoOK) Error() string

func (*GetCustomAttributesInfoOK) GetPayload

func (o *GetCustomAttributesInfoOK) GetPayload() map[string]interface{}

type GetCustomAttributesInfoParams

type GetCustomAttributesInfoParams struct {

	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string
	/*UserID
	  user's id, should follow UUID version 4 without hyphen

	*/
	UserID string

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

GetCustomAttributesInfoParams contains all the parameters to send to the API endpoint for the get custom attributes info operation typically these are written to a http.Request

func NewGetCustomAttributesInfoParams

func NewGetCustomAttributesInfoParams() *GetCustomAttributesInfoParams

NewGetCustomAttributesInfoParams creates a new GetCustomAttributesInfoParams object with the default values initialized.

func NewGetCustomAttributesInfoParamsWithContext

func NewGetCustomAttributesInfoParamsWithContext(ctx context.Context) *GetCustomAttributesInfoParams

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

func NewGetCustomAttributesInfoParamsWithHTTPClient

func NewGetCustomAttributesInfoParamsWithHTTPClient(client *http.Client) *GetCustomAttributesInfoParams

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

func NewGetCustomAttributesInfoParamsWithTimeout

func NewGetCustomAttributesInfoParamsWithTimeout(timeout time.Duration) *GetCustomAttributesInfoParams

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

func (*GetCustomAttributesInfoParams) SetContext

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

SetContext adds the context to the get custom attributes info params

func (*GetCustomAttributesInfoParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get custom attributes info params

func (*GetCustomAttributesInfoParams) SetNamespace

func (o *GetCustomAttributesInfoParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get custom attributes info params

func (*GetCustomAttributesInfoParams) SetTimeout

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

SetTimeout adds the timeout to the get custom attributes info params

func (*GetCustomAttributesInfoParams) SetUserID

func (o *GetCustomAttributesInfoParams) SetUserID(userID string)

SetUserID adds the userId to the get custom attributes info params

func (*GetCustomAttributesInfoParams) WithContext

WithContext adds the context to the get custom attributes info params

func (*GetCustomAttributesInfoParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get custom attributes info params

func (*GetCustomAttributesInfoParams) WithNamespace

WithNamespace adds the namespace to the get custom attributes info params

func (*GetCustomAttributesInfoParams) WithTimeout

WithTimeout adds the timeout to the get custom attributes info params

func (*GetCustomAttributesInfoParams) WithUserID

WithUserID adds the userID to the get custom attributes info params

func (*GetCustomAttributesInfoParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCustomAttributesInfoReader

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

GetCustomAttributesInfoReader is a Reader for the GetCustomAttributesInfo structure.

func (*GetCustomAttributesInfoReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCustomAttributesInfoUnauthorized

type GetCustomAttributesInfoUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

GetCustomAttributesInfoUnauthorized handles this case with default header values.

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

func NewGetCustomAttributesInfoUnauthorized

func NewGetCustomAttributesInfoUnauthorized() *GetCustomAttributesInfoUnauthorized

NewGetCustomAttributesInfoUnauthorized creates a GetCustomAttributesInfoUnauthorized with default headers values

func (*GetCustomAttributesInfoUnauthorized) Error

func (*GetCustomAttributesInfoUnauthorized) GetPayload

type GetMyProfileInfoBadRequest

type GetMyProfileInfoBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

GetMyProfileInfoBadRequest 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 NewGetMyProfileInfoBadRequest

func NewGetMyProfileInfoBadRequest() *GetMyProfileInfoBadRequest

NewGetMyProfileInfoBadRequest creates a GetMyProfileInfoBadRequest with default headers values

func (*GetMyProfileInfoBadRequest) Error

func (*GetMyProfileInfoBadRequest) GetPayload

type GetMyProfileInfoForbidden

type GetMyProfileInfoForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

GetMyProfileInfoForbidden handles this case with default header values.

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

func NewGetMyProfileInfoForbidden

func NewGetMyProfileInfoForbidden() *GetMyProfileInfoForbidden

NewGetMyProfileInfoForbidden creates a GetMyProfileInfoForbidden with default headers values

func (*GetMyProfileInfoForbidden) Error

func (o *GetMyProfileInfoForbidden) Error() string

func (*GetMyProfileInfoForbidden) GetPayload

type GetMyProfileInfoNotFound

type GetMyProfileInfoNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

GetMyProfileInfoNotFound 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>20017</td><td>user not linked</td></tr><tr><td>11440</td><td>user profile not found</td></tr></table>

func NewGetMyProfileInfoNotFound

func NewGetMyProfileInfoNotFound() *GetMyProfileInfoNotFound

NewGetMyProfileInfoNotFound creates a GetMyProfileInfoNotFound with default headers values

func (*GetMyProfileInfoNotFound) Error

func (o *GetMyProfileInfoNotFound) Error() string

func (*GetMyProfileInfoNotFound) GetPayload

type GetMyProfileInfoOK

type GetMyProfileInfoOK struct {
	Payload *basicclientmodels.UserProfilePrivateInfo
}

GetMyProfileInfoOK handles this case with default header values.

Successful operation

func NewGetMyProfileInfoOK

func NewGetMyProfileInfoOK() *GetMyProfileInfoOK

NewGetMyProfileInfoOK creates a GetMyProfileInfoOK with default headers values

func (*GetMyProfileInfoOK) Error

func (o *GetMyProfileInfoOK) Error() string

func (*GetMyProfileInfoOK) GetPayload

type GetMyProfileInfoParams

type GetMyProfileInfoParams struct {

	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string

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

GetMyProfileInfoParams contains all the parameters to send to the API endpoint for the get my profile info operation typically these are written to a http.Request

func NewGetMyProfileInfoParams

func NewGetMyProfileInfoParams() *GetMyProfileInfoParams

NewGetMyProfileInfoParams creates a new GetMyProfileInfoParams object with the default values initialized.

func NewGetMyProfileInfoParamsWithContext

func NewGetMyProfileInfoParamsWithContext(ctx context.Context) *GetMyProfileInfoParams

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

func NewGetMyProfileInfoParamsWithHTTPClient

func NewGetMyProfileInfoParamsWithHTTPClient(client *http.Client) *GetMyProfileInfoParams

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

func NewGetMyProfileInfoParamsWithTimeout

func NewGetMyProfileInfoParamsWithTimeout(timeout time.Duration) *GetMyProfileInfoParams

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

func (*GetMyProfileInfoParams) SetContext

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

SetContext adds the context to the get my profile info params

func (*GetMyProfileInfoParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get my profile info params

func (*GetMyProfileInfoParams) SetNamespace

func (o *GetMyProfileInfoParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get my profile info params

func (*GetMyProfileInfoParams) SetTimeout

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

SetTimeout adds the timeout to the get my profile info params

func (*GetMyProfileInfoParams) WithContext

WithContext adds the context to the get my profile info params

func (*GetMyProfileInfoParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get my profile info params

func (*GetMyProfileInfoParams) WithNamespace

func (o *GetMyProfileInfoParams) WithNamespace(namespace string) *GetMyProfileInfoParams

WithNamespace adds the namespace to the get my profile info params

func (*GetMyProfileInfoParams) WithTimeout

WithTimeout adds the timeout to the get my profile info params

func (*GetMyProfileInfoParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetMyProfileInfoReader

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

GetMyProfileInfoReader is a Reader for the GetMyProfileInfo structure.

func (*GetMyProfileInfoReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetMyProfileInfoUnauthorized

type GetMyProfileInfoUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

GetMyProfileInfoUnauthorized handles this case with default header values.

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

func NewGetMyProfileInfoUnauthorized

func NewGetMyProfileInfoUnauthorized() *GetMyProfileInfoUnauthorized

NewGetMyProfileInfoUnauthorized creates a GetMyProfileInfoUnauthorized with default headers values

func (*GetMyProfileInfoUnauthorized) Error

func (*GetMyProfileInfoUnauthorized) GetPayload

type GetPrivateCustomAttributesInfoForbidden

type GetPrivateCustomAttributesInfoForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

GetPrivateCustomAttributesInfoForbidden handles this case with default header values.

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

func NewGetPrivateCustomAttributesInfoForbidden

func NewGetPrivateCustomAttributesInfoForbidden() *GetPrivateCustomAttributesInfoForbidden

NewGetPrivateCustomAttributesInfoForbidden creates a GetPrivateCustomAttributesInfoForbidden with default headers values

func (*GetPrivateCustomAttributesInfoForbidden) Error

func (*GetPrivateCustomAttributesInfoForbidden) GetPayload

type GetPrivateCustomAttributesInfoNotFound

type GetPrivateCustomAttributesInfoNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

GetPrivateCustomAttributesInfoNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11440</td><td>user profile not found</td></tr></table>

func NewGetPrivateCustomAttributesInfoNotFound

func NewGetPrivateCustomAttributesInfoNotFound() *GetPrivateCustomAttributesInfoNotFound

NewGetPrivateCustomAttributesInfoNotFound creates a GetPrivateCustomAttributesInfoNotFound with default headers values

func (*GetPrivateCustomAttributesInfoNotFound) Error

func (*GetPrivateCustomAttributesInfoNotFound) GetPayload

type GetPrivateCustomAttributesInfoOK

type GetPrivateCustomAttributesInfoOK struct {
	Payload map[string]interface{}
}

GetPrivateCustomAttributesInfoOK handles this case with default header values.

successful operation

func NewGetPrivateCustomAttributesInfoOK

func NewGetPrivateCustomAttributesInfoOK() *GetPrivateCustomAttributesInfoOK

NewGetPrivateCustomAttributesInfoOK creates a GetPrivateCustomAttributesInfoOK with default headers values

func (*GetPrivateCustomAttributesInfoOK) Error

func (*GetPrivateCustomAttributesInfoOK) GetPayload

func (o *GetPrivateCustomAttributesInfoOK) GetPayload() map[string]interface{}

type GetPrivateCustomAttributesInfoParams

type GetPrivateCustomAttributesInfoParams struct {

	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string
	/*UserID
	  user's id, should follow UUID version 4 without hyphen

	*/
	UserID string

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

GetPrivateCustomAttributesInfoParams contains all the parameters to send to the API endpoint for the get private custom attributes info operation typically these are written to a http.Request

func NewGetPrivateCustomAttributesInfoParams

func NewGetPrivateCustomAttributesInfoParams() *GetPrivateCustomAttributesInfoParams

NewGetPrivateCustomAttributesInfoParams creates a new GetPrivateCustomAttributesInfoParams object with the default values initialized.

func NewGetPrivateCustomAttributesInfoParamsWithContext

func NewGetPrivateCustomAttributesInfoParamsWithContext(ctx context.Context) *GetPrivateCustomAttributesInfoParams

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

func NewGetPrivateCustomAttributesInfoParamsWithHTTPClient

func NewGetPrivateCustomAttributesInfoParamsWithHTTPClient(client *http.Client) *GetPrivateCustomAttributesInfoParams

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

func NewGetPrivateCustomAttributesInfoParamsWithTimeout

func NewGetPrivateCustomAttributesInfoParamsWithTimeout(timeout time.Duration) *GetPrivateCustomAttributesInfoParams

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

func (*GetPrivateCustomAttributesInfoParams) SetContext

SetContext adds the context to the get private custom attributes info params

func (*GetPrivateCustomAttributesInfoParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get private custom attributes info params

func (*GetPrivateCustomAttributesInfoParams) SetNamespace

func (o *GetPrivateCustomAttributesInfoParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get private custom attributes info params

func (*GetPrivateCustomAttributesInfoParams) SetTimeout

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

SetTimeout adds the timeout to the get private custom attributes info params

func (*GetPrivateCustomAttributesInfoParams) SetUserID

func (o *GetPrivateCustomAttributesInfoParams) SetUserID(userID string)

SetUserID adds the userId to the get private custom attributes info params

func (*GetPrivateCustomAttributesInfoParams) WithContext

WithContext adds the context to the get private custom attributes info params

func (*GetPrivateCustomAttributesInfoParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private custom attributes info params

func (*GetPrivateCustomAttributesInfoParams) WithNamespace

WithNamespace adds the namespace to the get private custom attributes info params

func (*GetPrivateCustomAttributesInfoParams) WithTimeout

WithTimeout adds the timeout to the get private custom attributes info params

func (*GetPrivateCustomAttributesInfoParams) WithUserID

WithUserID adds the userID to the get private custom attributes info params

func (*GetPrivateCustomAttributesInfoParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateCustomAttributesInfoReader

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

GetPrivateCustomAttributesInfoReader is a Reader for the GetPrivateCustomAttributesInfo structure.

func (*GetPrivateCustomAttributesInfoReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPrivateCustomAttributesInfoUnauthorized

type GetPrivateCustomAttributesInfoUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

GetPrivateCustomAttributesInfoUnauthorized handles this case with default header values.

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

func NewGetPrivateCustomAttributesInfoUnauthorized

func NewGetPrivateCustomAttributesInfoUnauthorized() *GetPrivateCustomAttributesInfoUnauthorized

NewGetPrivateCustomAttributesInfoUnauthorized creates a GetPrivateCustomAttributesInfoUnauthorized with default headers values

func (*GetPrivateCustomAttributesInfoUnauthorized) Error

func (*GetPrivateCustomAttributesInfoUnauthorized) GetPayload

type GetUserProfileInfoBadRequest

type GetUserProfileInfoBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

GetUserProfileInfoBadRequest 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 NewGetUserProfileInfoBadRequest

func NewGetUserProfileInfoBadRequest() *GetUserProfileInfoBadRequest

NewGetUserProfileInfoBadRequest creates a GetUserProfileInfoBadRequest with default headers values

func (*GetUserProfileInfoBadRequest) Error

func (*GetUserProfileInfoBadRequest) GetPayload

type GetUserProfileInfoForbidden

type GetUserProfileInfoForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

GetUserProfileInfoForbidden handles this case with default header values.

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

func NewGetUserProfileInfoForbidden

func NewGetUserProfileInfoForbidden() *GetUserProfileInfoForbidden

NewGetUserProfileInfoForbidden creates a GetUserProfileInfoForbidden with default headers values

func (*GetUserProfileInfoForbidden) Error

func (*GetUserProfileInfoForbidden) GetPayload

type GetUserProfileInfoNotFound

type GetUserProfileInfoNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

GetUserProfileInfoNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11440</td><td>user profile not found</td></tr></table>

func NewGetUserProfileInfoNotFound

func NewGetUserProfileInfoNotFound() *GetUserProfileInfoNotFound

NewGetUserProfileInfoNotFound creates a GetUserProfileInfoNotFound with default headers values

func (*GetUserProfileInfoNotFound) Error

func (*GetUserProfileInfoNotFound) GetPayload

type GetUserProfileInfoOK

type GetUserProfileInfoOK struct {
	Payload *basicclientmodels.UserProfilePrivateInfo
}

GetUserProfileInfoOK handles this case with default header values.

successful operation

func NewGetUserProfileInfoOK

func NewGetUserProfileInfoOK() *GetUserProfileInfoOK

NewGetUserProfileInfoOK creates a GetUserProfileInfoOK with default headers values

func (*GetUserProfileInfoOK) Error

func (o *GetUserProfileInfoOK) Error() string

func (*GetUserProfileInfoOK) GetPayload

type GetUserProfileInfoParams

type GetUserProfileInfoParams struct {

	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string
	/*UserID
	  user's id, should follow UUID version 4 without hyphen

	*/
	UserID string

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

GetUserProfileInfoParams contains all the parameters to send to the API endpoint for the get user profile info operation typically these are written to a http.Request

func NewGetUserProfileInfoParams

func NewGetUserProfileInfoParams() *GetUserProfileInfoParams

NewGetUserProfileInfoParams creates a new GetUserProfileInfoParams object with the default values initialized.

func NewGetUserProfileInfoParamsWithContext

func NewGetUserProfileInfoParamsWithContext(ctx context.Context) *GetUserProfileInfoParams

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

func NewGetUserProfileInfoParamsWithHTTPClient

func NewGetUserProfileInfoParamsWithHTTPClient(client *http.Client) *GetUserProfileInfoParams

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

func NewGetUserProfileInfoParamsWithTimeout

func NewGetUserProfileInfoParamsWithTimeout(timeout time.Duration) *GetUserProfileInfoParams

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

func (*GetUserProfileInfoParams) SetContext

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

SetContext adds the context to the get user profile info params

func (*GetUserProfileInfoParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user profile info params

func (*GetUserProfileInfoParams) SetNamespace

func (o *GetUserProfileInfoParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get user profile info params

func (*GetUserProfileInfoParams) SetTimeout

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

SetTimeout adds the timeout to the get user profile info params

func (*GetUserProfileInfoParams) SetUserID

func (o *GetUserProfileInfoParams) SetUserID(userID string)

SetUserID adds the userId to the get user profile info params

func (*GetUserProfileInfoParams) WithContext

WithContext adds the context to the get user profile info params

func (*GetUserProfileInfoParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get user profile info params

func (*GetUserProfileInfoParams) WithNamespace

func (o *GetUserProfileInfoParams) WithNamespace(namespace string) *GetUserProfileInfoParams

WithNamespace adds the namespace to the get user profile info params

func (*GetUserProfileInfoParams) WithTimeout

WithTimeout adds the timeout to the get user profile info params

func (*GetUserProfileInfoParams) WithUserID

WithUserID adds the userID to the get user profile info params

func (*GetUserProfileInfoParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserProfileInfoReader

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

GetUserProfileInfoReader is a Reader for the GetUserProfileInfo structure.

func (*GetUserProfileInfoReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserProfileInfoUnauthorized

type GetUserProfileInfoUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

GetUserProfileInfoUnauthorized handles this case with default header values.

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

func NewGetUserProfileInfoUnauthorized

func NewGetUserProfileInfoUnauthorized() *GetUserProfileInfoUnauthorized

NewGetUserProfileInfoUnauthorized creates a GetUserProfileInfoUnauthorized with default headers values

func (*GetUserProfileInfoUnauthorized) Error

func (*GetUserProfileInfoUnauthorized) GetPayload

type GetUserZipCodeForbidden

type GetUserZipCodeForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

GetUserZipCodeForbidden handles this case with default header values.

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

func NewGetUserZipCodeForbidden

func NewGetUserZipCodeForbidden() *GetUserZipCodeForbidden

NewGetUserZipCodeForbidden creates a GetUserZipCodeForbidden with default headers values

func (*GetUserZipCodeForbidden) Error

func (o *GetUserZipCodeForbidden) Error() string

func (*GetUserZipCodeForbidden) GetPayload

type GetUserZipCodeOK

type GetUserZipCodeOK struct {
	Payload *basicclientmodels.UserZipCode
}

GetUserZipCodeOK handles this case with default header values.

Successful operation

func NewGetUserZipCodeOK

func NewGetUserZipCodeOK() *GetUserZipCodeOK

NewGetUserZipCodeOK creates a GetUserZipCodeOK with default headers values

func (*GetUserZipCodeOK) Error

func (o *GetUserZipCodeOK) Error() string

func (*GetUserZipCodeOK) GetPayload

type GetUserZipCodeParams

type GetUserZipCodeParams struct {

	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string

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

GetUserZipCodeParams contains all the parameters to send to the API endpoint for the get user zip code operation typically these are written to a http.Request

func NewGetUserZipCodeParams

func NewGetUserZipCodeParams() *GetUserZipCodeParams

NewGetUserZipCodeParams creates a new GetUserZipCodeParams object with the default values initialized.

func NewGetUserZipCodeParamsWithContext

func NewGetUserZipCodeParamsWithContext(ctx context.Context) *GetUserZipCodeParams

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

func NewGetUserZipCodeParamsWithHTTPClient

func NewGetUserZipCodeParamsWithHTTPClient(client *http.Client) *GetUserZipCodeParams

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

func NewGetUserZipCodeParamsWithTimeout

func NewGetUserZipCodeParamsWithTimeout(timeout time.Duration) *GetUserZipCodeParams

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

func (*GetUserZipCodeParams) SetContext

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

SetContext adds the context to the get user zip code params

func (*GetUserZipCodeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user zip code params

func (*GetUserZipCodeParams) SetNamespace

func (o *GetUserZipCodeParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get user zip code params

func (*GetUserZipCodeParams) SetTimeout

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

SetTimeout adds the timeout to the get user zip code params

func (*GetUserZipCodeParams) WithContext

WithContext adds the context to the get user zip code params

func (*GetUserZipCodeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get user zip code params

func (*GetUserZipCodeParams) WithNamespace

func (o *GetUserZipCodeParams) WithNamespace(namespace string) *GetUserZipCodeParams

WithNamespace adds the namespace to the get user zip code params

func (*GetUserZipCodeParams) WithTimeout

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

WithTimeout adds the timeout to the get user zip code params

func (*GetUserZipCodeParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUserZipCodeReader

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

GetUserZipCodeReader is a Reader for the GetUserZipCode structure.

func (*GetUserZipCodeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserZipCodeUnauthorized

type GetUserZipCodeUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

GetUserZipCodeUnauthorized handles this case with default header values.

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

func NewGetUserZipCodeUnauthorized

func NewGetUserZipCodeUnauthorized() *GetUserZipCodeUnauthorized

NewGetUserZipCodeUnauthorized creates a GetUserZipCodeUnauthorized with default headers values

func (*GetUserZipCodeUnauthorized) Error

func (*GetUserZipCodeUnauthorized) GetPayload

type PublicCreateUserProfileBadRequest

type PublicCreateUserProfileBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

PublicCreateUserProfileBadRequest handles this case with default header values.

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

func NewPublicCreateUserProfileBadRequest

func NewPublicCreateUserProfileBadRequest() *PublicCreateUserProfileBadRequest

NewPublicCreateUserProfileBadRequest creates a PublicCreateUserProfileBadRequest with default headers values

func (*PublicCreateUserProfileBadRequest) Error

func (*PublicCreateUserProfileBadRequest) GetPayload

type PublicCreateUserProfileConflict

type PublicCreateUserProfileConflict struct {
	Payload *basicclientmodels.ErrorEntity
}

PublicCreateUserProfileConflict handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11441</td><td>user profile already exists</td></tr></table>

func NewPublicCreateUserProfileConflict

func NewPublicCreateUserProfileConflict() *PublicCreateUserProfileConflict

NewPublicCreateUserProfileConflict creates a PublicCreateUserProfileConflict with default headers values

func (*PublicCreateUserProfileConflict) Error

func (*PublicCreateUserProfileConflict) GetPayload

type PublicCreateUserProfileCreated

type PublicCreateUserProfileCreated struct {
	Payload *basicclientmodels.UserProfileInfo
}

PublicCreateUserProfileCreated handles this case with default header values.

Successful operation

func NewPublicCreateUserProfileCreated

func NewPublicCreateUserProfileCreated() *PublicCreateUserProfileCreated

NewPublicCreateUserProfileCreated creates a PublicCreateUserProfileCreated with default headers values

func (*PublicCreateUserProfileCreated) Error

func (*PublicCreateUserProfileCreated) GetPayload

type PublicCreateUserProfileForbidden

type PublicCreateUserProfileForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

PublicCreateUserProfileForbidden handles this case with default header values.

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

func NewPublicCreateUserProfileForbidden

func NewPublicCreateUserProfileForbidden() *PublicCreateUserProfileForbidden

NewPublicCreateUserProfileForbidden creates a PublicCreateUserProfileForbidden with default headers values

func (*PublicCreateUserProfileForbidden) Error

func (*PublicCreateUserProfileForbidden) GetPayload

type PublicCreateUserProfileParams

type PublicCreateUserProfileParams struct {

	/*Body*/
	Body *basicclientmodels.UserProfileCreate
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string
	/*UserID
	  user's id, should follow UUID version 4 without hyphen

	*/
	UserID string

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

PublicCreateUserProfileParams contains all the parameters to send to the API endpoint for the public create user profile operation typically these are written to a http.Request

func NewPublicCreateUserProfileParams

func NewPublicCreateUserProfileParams() *PublicCreateUserProfileParams

NewPublicCreateUserProfileParams creates a new PublicCreateUserProfileParams object with the default values initialized.

func NewPublicCreateUserProfileParamsWithContext

func NewPublicCreateUserProfileParamsWithContext(ctx context.Context) *PublicCreateUserProfileParams

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

func NewPublicCreateUserProfileParamsWithHTTPClient

func NewPublicCreateUserProfileParamsWithHTTPClient(client *http.Client) *PublicCreateUserProfileParams

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

func NewPublicCreateUserProfileParamsWithTimeout

func NewPublicCreateUserProfileParamsWithTimeout(timeout time.Duration) *PublicCreateUserProfileParams

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

func (*PublicCreateUserProfileParams) SetBody

SetBody adds the body to the public create user profile params

func (*PublicCreateUserProfileParams) SetContext

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

SetContext adds the context to the public create user profile params

func (*PublicCreateUserProfileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public create user profile params

func (*PublicCreateUserProfileParams) SetNamespace

func (o *PublicCreateUserProfileParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public create user profile params

func (*PublicCreateUserProfileParams) SetTimeout

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

SetTimeout adds the timeout to the public create user profile params

func (*PublicCreateUserProfileParams) SetUserID

func (o *PublicCreateUserProfileParams) SetUserID(userID string)

SetUserID adds the userId to the public create user profile params

func (*PublicCreateUserProfileParams) WithBody

WithBody adds the body to the public create user profile params

func (*PublicCreateUserProfileParams) WithContext

WithContext adds the context to the public create user profile params

func (*PublicCreateUserProfileParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public create user profile params

func (*PublicCreateUserProfileParams) WithNamespace

WithNamespace adds the namespace to the public create user profile params

func (*PublicCreateUserProfileParams) WithTimeout

WithTimeout adds the timeout to the public create user profile params

func (*PublicCreateUserProfileParams) WithUserID

WithUserID adds the userID to the public create user profile params

func (*PublicCreateUserProfileParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicCreateUserProfileReader

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

PublicCreateUserProfileReader is a Reader for the PublicCreateUserProfile structure.

func (*PublicCreateUserProfileReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicCreateUserProfileUnauthorized

type PublicCreateUserProfileUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

PublicCreateUserProfileUnauthorized handles this case with default header values.

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

func NewPublicCreateUserProfileUnauthorized

func NewPublicCreateUserProfileUnauthorized() *PublicCreateUserProfileUnauthorized

NewPublicCreateUserProfileUnauthorized creates a PublicCreateUserProfileUnauthorized with default headers values

func (*PublicCreateUserProfileUnauthorized) Error

func (*PublicCreateUserProfileUnauthorized) GetPayload

type PublicEnableUserProfileStatusBadRequest

type PublicEnableUserProfileStatusBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

PublicEnableUserProfileStatusBadRequest handles this case with default header values.

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

func NewPublicEnableUserProfileStatusBadRequest

func NewPublicEnableUserProfileStatusBadRequest() *PublicEnableUserProfileStatusBadRequest

NewPublicEnableUserProfileStatusBadRequest creates a PublicEnableUserProfileStatusBadRequest with default headers values

func (*PublicEnableUserProfileStatusBadRequest) Error

func (*PublicEnableUserProfileStatusBadRequest) GetPayload

type PublicEnableUserProfileStatusForbidden

type PublicEnableUserProfileStatusForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

PublicEnableUserProfileStatusForbidden handles this case with default header values.

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

func NewPublicEnableUserProfileStatusForbidden

func NewPublicEnableUserProfileStatusForbidden() *PublicEnableUserProfileStatusForbidden

NewPublicEnableUserProfileStatusForbidden creates a PublicEnableUserProfileStatusForbidden with default headers values

func (*PublicEnableUserProfileStatusForbidden) Error

func (*PublicEnableUserProfileStatusForbidden) GetPayload

type PublicEnableUserProfileStatusNotFound

type PublicEnableUserProfileStatusNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

PublicEnableUserProfileStatusNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11440</td><td>user profile not found</td></tr></table>

func NewPublicEnableUserProfileStatusNotFound

func NewPublicEnableUserProfileStatusNotFound() *PublicEnableUserProfileStatusNotFound

NewPublicEnableUserProfileStatusNotFound creates a PublicEnableUserProfileStatusNotFound with default headers values

func (*PublicEnableUserProfileStatusNotFound) Error

func (*PublicEnableUserProfileStatusNotFound) GetPayload

type PublicEnableUserProfileStatusOK

type PublicEnableUserProfileStatusOK struct {
	Payload *basicclientmodels.UserProfileInfo
}

PublicEnableUserProfileStatusOK handles this case with default header values.

Successful operation

func NewPublicEnableUserProfileStatusOK

func NewPublicEnableUserProfileStatusOK() *PublicEnableUserProfileStatusOK

NewPublicEnableUserProfileStatusOK creates a PublicEnableUserProfileStatusOK with default headers values

func (*PublicEnableUserProfileStatusOK) Error

func (*PublicEnableUserProfileStatusOK) GetPayload

type PublicEnableUserProfileStatusParams

type PublicEnableUserProfileStatusParams struct {

	/*Body*/
	Body *basicclientmodels.UserProfileStatusUpdate
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string
	/*UserID
	  user's id, should follow UUID version 4 without hyphen

	*/
	UserID string

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

PublicEnableUserProfileStatusParams contains all the parameters to send to the API endpoint for the public enable user profile status operation typically these are written to a http.Request

func NewPublicEnableUserProfileStatusParams

func NewPublicEnableUserProfileStatusParams() *PublicEnableUserProfileStatusParams

NewPublicEnableUserProfileStatusParams creates a new PublicEnableUserProfileStatusParams object with the default values initialized.

func NewPublicEnableUserProfileStatusParamsWithContext

func NewPublicEnableUserProfileStatusParamsWithContext(ctx context.Context) *PublicEnableUserProfileStatusParams

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

func NewPublicEnableUserProfileStatusParamsWithHTTPClient

func NewPublicEnableUserProfileStatusParamsWithHTTPClient(client *http.Client) *PublicEnableUserProfileStatusParams

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

func NewPublicEnableUserProfileStatusParamsWithTimeout

func NewPublicEnableUserProfileStatusParamsWithTimeout(timeout time.Duration) *PublicEnableUserProfileStatusParams

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

func (*PublicEnableUserProfileStatusParams) SetBody

SetBody adds the body to the public enable user profile status params

func (*PublicEnableUserProfileStatusParams) SetContext

SetContext adds the context to the public enable user profile status params

func (*PublicEnableUserProfileStatusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public enable user profile status params

func (*PublicEnableUserProfileStatusParams) SetNamespace

func (o *PublicEnableUserProfileStatusParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public enable user profile status params

func (*PublicEnableUserProfileStatusParams) SetTimeout

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

SetTimeout adds the timeout to the public enable user profile status params

func (*PublicEnableUserProfileStatusParams) SetUserID

func (o *PublicEnableUserProfileStatusParams) SetUserID(userID string)

SetUserID adds the userId to the public enable user profile status params

func (*PublicEnableUserProfileStatusParams) WithBody

WithBody adds the body to the public enable user profile status params

func (*PublicEnableUserProfileStatusParams) WithContext

WithContext adds the context to the public enable user profile status params

func (*PublicEnableUserProfileStatusParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public enable user profile status params

func (*PublicEnableUserProfileStatusParams) WithNamespace

WithNamespace adds the namespace to the public enable user profile status params

func (*PublicEnableUserProfileStatusParams) WithTimeout

WithTimeout adds the timeout to the public enable user profile status params

func (*PublicEnableUserProfileStatusParams) WithUserID

WithUserID adds the userID to the public enable user profile status params

func (*PublicEnableUserProfileStatusParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicEnableUserProfileStatusReader

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

PublicEnableUserProfileStatusReader is a Reader for the PublicEnableUserProfileStatus structure.

func (*PublicEnableUserProfileStatusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicEnableUserProfileStatusUnauthorized

type PublicEnableUserProfileStatusUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

PublicEnableUserProfileStatusUnauthorized handles this case with default header values.

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

func NewPublicEnableUserProfileStatusUnauthorized

func NewPublicEnableUserProfileStatusUnauthorized() *PublicEnableUserProfileStatusUnauthorized

NewPublicEnableUserProfileStatusUnauthorized creates a PublicEnableUserProfileStatusUnauthorized with default headers values

func (*PublicEnableUserProfileStatusUnauthorized) Error

func (*PublicEnableUserProfileStatusUnauthorized) GetPayload

type PublicGetUserProfileInfoBadRequest

type PublicGetUserProfileInfoBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

PublicGetUserProfileInfoBadRequest 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 NewPublicGetUserProfileInfoBadRequest

func NewPublicGetUserProfileInfoBadRequest() *PublicGetUserProfileInfoBadRequest

NewPublicGetUserProfileInfoBadRequest creates a PublicGetUserProfileInfoBadRequest with default headers values

func (*PublicGetUserProfileInfoBadRequest) Error

func (*PublicGetUserProfileInfoBadRequest) GetPayload

type PublicGetUserProfileInfoForbidden

type PublicGetUserProfileInfoForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

PublicGetUserProfileInfoForbidden handles this case with default header values.

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

func NewPublicGetUserProfileInfoForbidden

func NewPublicGetUserProfileInfoForbidden() *PublicGetUserProfileInfoForbidden

NewPublicGetUserProfileInfoForbidden creates a PublicGetUserProfileInfoForbidden with default headers values

func (*PublicGetUserProfileInfoForbidden) Error

func (*PublicGetUserProfileInfoForbidden) GetPayload

type PublicGetUserProfileInfoNotFound

type PublicGetUserProfileInfoNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

PublicGetUserProfileInfoNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11440</td><td>user profile not found</td></tr></table>

func NewPublicGetUserProfileInfoNotFound

func NewPublicGetUserProfileInfoNotFound() *PublicGetUserProfileInfoNotFound

NewPublicGetUserProfileInfoNotFound creates a PublicGetUserProfileInfoNotFound with default headers values

func (*PublicGetUserProfileInfoNotFound) Error

func (*PublicGetUserProfileInfoNotFound) GetPayload

type PublicGetUserProfileInfoOK

type PublicGetUserProfileInfoOK struct {
	Payload *basicclientmodels.UserProfileInfo
}

PublicGetUserProfileInfoOK handles this case with default header values.

Successful operation

func NewPublicGetUserProfileInfoOK

func NewPublicGetUserProfileInfoOK() *PublicGetUserProfileInfoOK

NewPublicGetUserProfileInfoOK creates a PublicGetUserProfileInfoOK with default headers values

func (*PublicGetUserProfileInfoOK) Error

func (*PublicGetUserProfileInfoOK) GetPayload

type PublicGetUserProfileInfoParams

type PublicGetUserProfileInfoParams struct {

	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string
	/*UserID
	  user's id, should follow UUID version 4 without hyphen

	*/
	UserID string

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

PublicGetUserProfileInfoParams contains all the parameters to send to the API endpoint for the public get user profile info operation typically these are written to a http.Request

func NewPublicGetUserProfileInfoParams

func NewPublicGetUserProfileInfoParams() *PublicGetUserProfileInfoParams

NewPublicGetUserProfileInfoParams creates a new PublicGetUserProfileInfoParams object with the default values initialized.

func NewPublicGetUserProfileInfoParamsWithContext

func NewPublicGetUserProfileInfoParamsWithContext(ctx context.Context) *PublicGetUserProfileInfoParams

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

func NewPublicGetUserProfileInfoParamsWithHTTPClient

func NewPublicGetUserProfileInfoParamsWithHTTPClient(client *http.Client) *PublicGetUserProfileInfoParams

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

func NewPublicGetUserProfileInfoParamsWithTimeout

func NewPublicGetUserProfileInfoParamsWithTimeout(timeout time.Duration) *PublicGetUserProfileInfoParams

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

func (*PublicGetUserProfileInfoParams) SetContext

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

SetContext adds the context to the public get user profile info params

func (*PublicGetUserProfileInfoParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get user profile info params

func (*PublicGetUserProfileInfoParams) SetNamespace

func (o *PublicGetUserProfileInfoParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get user profile info params

func (*PublicGetUserProfileInfoParams) SetTimeout

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

SetTimeout adds the timeout to the public get user profile info params

func (*PublicGetUserProfileInfoParams) SetUserID

func (o *PublicGetUserProfileInfoParams) SetUserID(userID string)

SetUserID adds the userId to the public get user profile info params

func (*PublicGetUserProfileInfoParams) WithContext

WithContext adds the context to the public get user profile info params

func (*PublicGetUserProfileInfoParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get user profile info params

func (*PublicGetUserProfileInfoParams) WithNamespace

WithNamespace adds the namespace to the public get user profile info params

func (*PublicGetUserProfileInfoParams) WithTimeout

WithTimeout adds the timeout to the public get user profile info params

func (*PublicGetUserProfileInfoParams) WithUserID

WithUserID adds the userID to the public get user profile info params

func (*PublicGetUserProfileInfoParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetUserProfileInfoReader

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

PublicGetUserProfileInfoReader is a Reader for the PublicGetUserProfileInfo structure.

func (*PublicGetUserProfileInfoReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetUserProfileInfoUnauthorized

type PublicGetUserProfileInfoUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

PublicGetUserProfileInfoUnauthorized handles this case with default header values.

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

func NewPublicGetUserProfileInfoUnauthorized

func NewPublicGetUserProfileInfoUnauthorized() *PublicGetUserProfileInfoUnauthorized

NewPublicGetUserProfileInfoUnauthorized creates a PublicGetUserProfileInfoUnauthorized with default headers values

func (*PublicGetUserProfileInfoUnauthorized) Error

func (*PublicGetUserProfileInfoUnauthorized) GetPayload

type PublicGetUserProfilePublicInfoBadRequest

type PublicGetUserProfilePublicInfoBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

PublicGetUserProfilePublicInfoBadRequest 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 NewPublicGetUserProfilePublicInfoBadRequest

func NewPublicGetUserProfilePublicInfoBadRequest() *PublicGetUserProfilePublicInfoBadRequest

NewPublicGetUserProfilePublicInfoBadRequest creates a PublicGetUserProfilePublicInfoBadRequest with default headers values

func (*PublicGetUserProfilePublicInfoBadRequest) Error

func (*PublicGetUserProfilePublicInfoBadRequest) GetPayload

type PublicGetUserProfilePublicInfoByIdsBadRequest

type PublicGetUserProfilePublicInfoByIdsBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

PublicGetUserProfilePublicInfoByIdsBadRequest 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 NewPublicGetUserProfilePublicInfoByIdsBadRequest

func NewPublicGetUserProfilePublicInfoByIdsBadRequest() *PublicGetUserProfilePublicInfoByIdsBadRequest

NewPublicGetUserProfilePublicInfoByIdsBadRequest creates a PublicGetUserProfilePublicInfoByIdsBadRequest with default headers values

func (*PublicGetUserProfilePublicInfoByIdsBadRequest) Error

func (*PublicGetUserProfilePublicInfoByIdsBadRequest) GetPayload

type PublicGetUserProfilePublicInfoByIdsOK

type PublicGetUserProfilePublicInfoByIdsOK struct {
	Payload []*basicclientmodels.UserProfilePublicInfo
}

PublicGetUserProfilePublicInfoByIdsOK handles this case with default header values.

Successful operation

func NewPublicGetUserProfilePublicInfoByIdsOK

func NewPublicGetUserProfilePublicInfoByIdsOK() *PublicGetUserProfilePublicInfoByIdsOK

NewPublicGetUserProfilePublicInfoByIdsOK creates a PublicGetUserProfilePublicInfoByIdsOK with default headers values

func (*PublicGetUserProfilePublicInfoByIdsOK) Error

func (*PublicGetUserProfilePublicInfoByIdsOK) GetPayload

type PublicGetUserProfilePublicInfoByIdsParams

type PublicGetUserProfilePublicInfoByIdsParams struct {

	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string
	/*UserIds
	  User IDs, should follow UUID version 4 without hyphen, separate the IDs using comma

	*/
	UserIds string

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

PublicGetUserProfilePublicInfoByIdsParams contains all the parameters to send to the API endpoint for the public get user profile public info by ids operation typically these are written to a http.Request

func NewPublicGetUserProfilePublicInfoByIdsParams

func NewPublicGetUserProfilePublicInfoByIdsParams() *PublicGetUserProfilePublicInfoByIdsParams

NewPublicGetUserProfilePublicInfoByIdsParams creates a new PublicGetUserProfilePublicInfoByIdsParams object with the default values initialized.

func NewPublicGetUserProfilePublicInfoByIdsParamsWithContext

func NewPublicGetUserProfilePublicInfoByIdsParamsWithContext(ctx context.Context) *PublicGetUserProfilePublicInfoByIdsParams

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

func NewPublicGetUserProfilePublicInfoByIdsParamsWithHTTPClient

func NewPublicGetUserProfilePublicInfoByIdsParamsWithHTTPClient(client *http.Client) *PublicGetUserProfilePublicInfoByIdsParams

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

func NewPublicGetUserProfilePublicInfoByIdsParamsWithTimeout

func NewPublicGetUserProfilePublicInfoByIdsParamsWithTimeout(timeout time.Duration) *PublicGetUserProfilePublicInfoByIdsParams

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

func (*PublicGetUserProfilePublicInfoByIdsParams) SetContext

SetContext adds the context to the public get user profile public info by ids params

func (*PublicGetUserProfilePublicInfoByIdsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get user profile public info by ids params

func (*PublicGetUserProfilePublicInfoByIdsParams) SetNamespace

func (o *PublicGetUserProfilePublicInfoByIdsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get user profile public info by ids params

func (*PublicGetUserProfilePublicInfoByIdsParams) SetTimeout

SetTimeout adds the timeout to the public get user profile public info by ids params

func (*PublicGetUserProfilePublicInfoByIdsParams) SetUserIds

func (o *PublicGetUserProfilePublicInfoByIdsParams) SetUserIds(userIds string)

SetUserIds adds the userIds to the public get user profile public info by ids params

func (*PublicGetUserProfilePublicInfoByIdsParams) WithContext

WithContext adds the context to the public get user profile public info by ids params

func (*PublicGetUserProfilePublicInfoByIdsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get user profile public info by ids params

func (*PublicGetUserProfilePublicInfoByIdsParams) WithNamespace

WithNamespace adds the namespace to the public get user profile public info by ids params

func (*PublicGetUserProfilePublicInfoByIdsParams) WithTimeout

WithTimeout adds the timeout to the public get user profile public info by ids params

func (*PublicGetUserProfilePublicInfoByIdsParams) WithUserIds

WithUserIds adds the userIds to the public get user profile public info by ids params

func (*PublicGetUserProfilePublicInfoByIdsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetUserProfilePublicInfoByIdsReader

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

PublicGetUserProfilePublicInfoByIdsReader is a Reader for the PublicGetUserProfilePublicInfoByIds structure.

func (*PublicGetUserProfilePublicInfoByIdsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetUserProfilePublicInfoNotFound

type PublicGetUserProfilePublicInfoNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

PublicGetUserProfilePublicInfoNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11440</td><td>user profile not found</td></tr></table>

func NewPublicGetUserProfilePublicInfoNotFound

func NewPublicGetUserProfilePublicInfoNotFound() *PublicGetUserProfilePublicInfoNotFound

NewPublicGetUserProfilePublicInfoNotFound creates a PublicGetUserProfilePublicInfoNotFound with default headers values

func (*PublicGetUserProfilePublicInfoNotFound) Error

func (*PublicGetUserProfilePublicInfoNotFound) GetPayload

type PublicGetUserProfilePublicInfoOK

type PublicGetUserProfilePublicInfoOK struct {
	Payload *basicclientmodels.UserProfilePublicInfo
}

PublicGetUserProfilePublicInfoOK handles this case with default header values.

Successful operation

func NewPublicGetUserProfilePublicInfoOK

func NewPublicGetUserProfilePublicInfoOK() *PublicGetUserProfilePublicInfoOK

NewPublicGetUserProfilePublicInfoOK creates a PublicGetUserProfilePublicInfoOK with default headers values

func (*PublicGetUserProfilePublicInfoOK) Error

func (*PublicGetUserProfilePublicInfoOK) GetPayload

type PublicGetUserProfilePublicInfoParams

type PublicGetUserProfilePublicInfoParams struct {

	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string
	/*UserID
	  user's id, should follow UUID version 4 without hyphen

	*/
	UserID string

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

PublicGetUserProfilePublicInfoParams contains all the parameters to send to the API endpoint for the public get user profile public info operation typically these are written to a http.Request

func NewPublicGetUserProfilePublicInfoParams

func NewPublicGetUserProfilePublicInfoParams() *PublicGetUserProfilePublicInfoParams

NewPublicGetUserProfilePublicInfoParams creates a new PublicGetUserProfilePublicInfoParams object with the default values initialized.

func NewPublicGetUserProfilePublicInfoParamsWithContext

func NewPublicGetUserProfilePublicInfoParamsWithContext(ctx context.Context) *PublicGetUserProfilePublicInfoParams

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

func NewPublicGetUserProfilePublicInfoParamsWithHTTPClient

func NewPublicGetUserProfilePublicInfoParamsWithHTTPClient(client *http.Client) *PublicGetUserProfilePublicInfoParams

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

func NewPublicGetUserProfilePublicInfoParamsWithTimeout

func NewPublicGetUserProfilePublicInfoParamsWithTimeout(timeout time.Duration) *PublicGetUserProfilePublicInfoParams

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

func (*PublicGetUserProfilePublicInfoParams) SetContext

SetContext adds the context to the public get user profile public info params

func (*PublicGetUserProfilePublicInfoParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get user profile public info params

func (*PublicGetUserProfilePublicInfoParams) SetNamespace

func (o *PublicGetUserProfilePublicInfoParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get user profile public info params

func (*PublicGetUserProfilePublicInfoParams) SetTimeout

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

SetTimeout adds the timeout to the public get user profile public info params

func (*PublicGetUserProfilePublicInfoParams) SetUserID

func (o *PublicGetUserProfilePublicInfoParams) SetUserID(userID string)

SetUserID adds the userId to the public get user profile public info params

func (*PublicGetUserProfilePublicInfoParams) WithContext

WithContext adds the context to the public get user profile public info params

func (*PublicGetUserProfilePublicInfoParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get user profile public info params

func (*PublicGetUserProfilePublicInfoParams) WithNamespace

WithNamespace adds the namespace to the public get user profile public info params

func (*PublicGetUserProfilePublicInfoParams) WithTimeout

WithTimeout adds the timeout to the public get user profile public info params

func (*PublicGetUserProfilePublicInfoParams) WithUserID

WithUserID adds the userID to the public get user profile public info params

func (*PublicGetUserProfilePublicInfoParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetUserProfilePublicInfoReader

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

PublicGetUserProfilePublicInfoReader is a Reader for the PublicGetUserProfilePublicInfo structure.

func (*PublicGetUserProfilePublicInfoReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicUpdateUserProfileBadRequest

type PublicUpdateUserProfileBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

PublicUpdateUserProfileBadRequest handles this case with default header values.

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

func NewPublicUpdateUserProfileBadRequest

func NewPublicUpdateUserProfileBadRequest() *PublicUpdateUserProfileBadRequest

NewPublicUpdateUserProfileBadRequest creates a PublicUpdateUserProfileBadRequest with default headers values

func (*PublicUpdateUserProfileBadRequest) Error

func (*PublicUpdateUserProfileBadRequest) GetPayload

type PublicUpdateUserProfileForbidden

type PublicUpdateUserProfileForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

PublicUpdateUserProfileForbidden handles this case with default header values.

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

func NewPublicUpdateUserProfileForbidden

func NewPublicUpdateUserProfileForbidden() *PublicUpdateUserProfileForbidden

NewPublicUpdateUserProfileForbidden creates a PublicUpdateUserProfileForbidden with default headers values

func (*PublicUpdateUserProfileForbidden) Error

func (*PublicUpdateUserProfileForbidden) GetPayload

type PublicUpdateUserProfileNotFound

type PublicUpdateUserProfileNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

PublicUpdateUserProfileNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11440</td><td>user profile not found</td></tr></table>

func NewPublicUpdateUserProfileNotFound

func NewPublicUpdateUserProfileNotFound() *PublicUpdateUserProfileNotFound

NewPublicUpdateUserProfileNotFound creates a PublicUpdateUserProfileNotFound with default headers values

func (*PublicUpdateUserProfileNotFound) Error

func (*PublicUpdateUserProfileNotFound) GetPayload

type PublicUpdateUserProfileOK

type PublicUpdateUserProfileOK struct {
	Payload *basicclientmodels.UserProfileInfo
}

PublicUpdateUserProfileOK handles this case with default header values.

Successful operation

func NewPublicUpdateUserProfileOK

func NewPublicUpdateUserProfileOK() *PublicUpdateUserProfileOK

NewPublicUpdateUserProfileOK creates a PublicUpdateUserProfileOK with default headers values

func (*PublicUpdateUserProfileOK) Error

func (o *PublicUpdateUserProfileOK) Error() string

func (*PublicUpdateUserProfileOK) GetPayload

type PublicUpdateUserProfileParams

type PublicUpdateUserProfileParams struct {

	/*Body*/
	Body *basicclientmodels.UserProfileUpdate
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string
	/*UserID
	  user's id, should follow UUID version 4 without hyphen

	*/
	UserID string

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

PublicUpdateUserProfileParams contains all the parameters to send to the API endpoint for the public update user profile operation typically these are written to a http.Request

func NewPublicUpdateUserProfileParams

func NewPublicUpdateUserProfileParams() *PublicUpdateUserProfileParams

NewPublicUpdateUserProfileParams creates a new PublicUpdateUserProfileParams object with the default values initialized.

func NewPublicUpdateUserProfileParamsWithContext

func NewPublicUpdateUserProfileParamsWithContext(ctx context.Context) *PublicUpdateUserProfileParams

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

func NewPublicUpdateUserProfileParamsWithHTTPClient

func NewPublicUpdateUserProfileParamsWithHTTPClient(client *http.Client) *PublicUpdateUserProfileParams

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

func NewPublicUpdateUserProfileParamsWithTimeout

func NewPublicUpdateUserProfileParamsWithTimeout(timeout time.Duration) *PublicUpdateUserProfileParams

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

func (*PublicUpdateUserProfileParams) SetBody

SetBody adds the body to the public update user profile params

func (*PublicUpdateUserProfileParams) SetContext

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

SetContext adds the context to the public update user profile params

func (*PublicUpdateUserProfileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public update user profile params

func (*PublicUpdateUserProfileParams) SetNamespace

func (o *PublicUpdateUserProfileParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public update user profile params

func (*PublicUpdateUserProfileParams) SetTimeout

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

SetTimeout adds the timeout to the public update user profile params

func (*PublicUpdateUserProfileParams) SetUserID

func (o *PublicUpdateUserProfileParams) SetUserID(userID string)

SetUserID adds the userId to the public update user profile params

func (*PublicUpdateUserProfileParams) WithBody

WithBody adds the body to the public update user profile params

func (*PublicUpdateUserProfileParams) WithContext

WithContext adds the context to the public update user profile params

func (*PublicUpdateUserProfileParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public update user profile params

func (*PublicUpdateUserProfileParams) WithNamespace

WithNamespace adds the namespace to the public update user profile params

func (*PublicUpdateUserProfileParams) WithTimeout

WithTimeout adds the timeout to the public update user profile params

func (*PublicUpdateUserProfileParams) WithUserID

WithUserID adds the userID to the public update user profile params

func (*PublicUpdateUserProfileParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicUpdateUserProfileReader

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

PublicUpdateUserProfileReader is a Reader for the PublicUpdateUserProfile structure.

func (*PublicUpdateUserProfileReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicUpdateUserProfileUnauthorized

type PublicUpdateUserProfileUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

PublicUpdateUserProfileUnauthorized handles this case with default header values.

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

func NewPublicUpdateUserProfileUnauthorized

func NewPublicUpdateUserProfileUnauthorized() *PublicUpdateUserProfileUnauthorized

NewPublicUpdateUserProfileUnauthorized creates a PublicUpdateUserProfileUnauthorized with default headers values

func (*PublicUpdateUserProfileUnauthorized) Error

func (*PublicUpdateUserProfileUnauthorized) GetPayload

type UpdateCustomAttributesPartially1BadRequest

type UpdateCustomAttributesPartially1BadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

UpdateCustomAttributesPartially1BadRequest handles this case with default header values.

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

func NewUpdateCustomAttributesPartially1BadRequest

func NewUpdateCustomAttributesPartially1BadRequest() *UpdateCustomAttributesPartially1BadRequest

NewUpdateCustomAttributesPartially1BadRequest creates a UpdateCustomAttributesPartially1BadRequest with default headers values

func (*UpdateCustomAttributesPartially1BadRequest) Error

func (*UpdateCustomAttributesPartially1BadRequest) GetPayload

type UpdateCustomAttributesPartially1Forbidden

type UpdateCustomAttributesPartially1Forbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

UpdateCustomAttributesPartially1Forbidden handles this case with default header values.

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

func NewUpdateCustomAttributesPartially1Forbidden

func NewUpdateCustomAttributesPartially1Forbidden() *UpdateCustomAttributesPartially1Forbidden

NewUpdateCustomAttributesPartially1Forbidden creates a UpdateCustomAttributesPartially1Forbidden with default headers values

func (*UpdateCustomAttributesPartially1Forbidden) Error

func (*UpdateCustomAttributesPartially1Forbidden) GetPayload

type UpdateCustomAttributesPartially1NotFound

type UpdateCustomAttributesPartially1NotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

UpdateCustomAttributesPartially1NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11440</td><td>user profile not found</td></tr></table>

func NewUpdateCustomAttributesPartially1NotFound

func NewUpdateCustomAttributesPartially1NotFound() *UpdateCustomAttributesPartially1NotFound

NewUpdateCustomAttributesPartially1NotFound creates a UpdateCustomAttributesPartially1NotFound with default headers values

func (*UpdateCustomAttributesPartially1NotFound) Error

func (*UpdateCustomAttributesPartially1NotFound) GetPayload

type UpdateCustomAttributesPartially1OK

type UpdateCustomAttributesPartially1OK struct {
	Payload map[string]interface{}
}

UpdateCustomAttributesPartially1OK handles this case with default header values.

Successful operation

func NewUpdateCustomAttributesPartially1OK

func NewUpdateCustomAttributesPartially1OK() *UpdateCustomAttributesPartially1OK

NewUpdateCustomAttributesPartially1OK creates a UpdateCustomAttributesPartially1OK with default headers values

func (*UpdateCustomAttributesPartially1OK) Error

func (*UpdateCustomAttributesPartially1OK) GetPayload

func (o *UpdateCustomAttributesPartially1OK) GetPayload() map[string]interface{}

type UpdateCustomAttributesPartially1Params

type UpdateCustomAttributesPartially1Params struct {

	/*Body*/
	Body map[string]interface{}
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string
	/*UserID
	  user's id, should follow UUID version 4 without hyphen

	*/
	UserID string

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

UpdateCustomAttributesPartially1Params contains all the parameters to send to the API endpoint for the update custom attributes partially 1 operation typically these are written to a http.Request

func NewUpdateCustomAttributesPartially1Params

func NewUpdateCustomAttributesPartially1Params() *UpdateCustomAttributesPartially1Params

NewUpdateCustomAttributesPartially1Params creates a new UpdateCustomAttributesPartially1Params object with the default values initialized.

func NewUpdateCustomAttributesPartially1ParamsWithContext

func NewUpdateCustomAttributesPartially1ParamsWithContext(ctx context.Context) *UpdateCustomAttributesPartially1Params

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

func NewUpdateCustomAttributesPartially1ParamsWithHTTPClient

func NewUpdateCustomAttributesPartially1ParamsWithHTTPClient(client *http.Client) *UpdateCustomAttributesPartially1Params

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

func NewUpdateCustomAttributesPartially1ParamsWithTimeout

func NewUpdateCustomAttributesPartially1ParamsWithTimeout(timeout time.Duration) *UpdateCustomAttributesPartially1Params

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

func (*UpdateCustomAttributesPartially1Params) SetBody

func (o *UpdateCustomAttributesPartially1Params) SetBody(body map[string]interface{})

SetBody adds the body to the update custom attributes partially 1 params

func (*UpdateCustomAttributesPartially1Params) SetContext

SetContext adds the context to the update custom attributes partially 1 params

func (*UpdateCustomAttributesPartially1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update custom attributes partially 1 params

func (*UpdateCustomAttributesPartially1Params) SetNamespace

func (o *UpdateCustomAttributesPartially1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the update custom attributes partially 1 params

func (*UpdateCustomAttributesPartially1Params) SetTimeout

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

SetTimeout adds the timeout to the update custom attributes partially 1 params

func (*UpdateCustomAttributesPartially1Params) SetUserID

func (o *UpdateCustomAttributesPartially1Params) SetUserID(userID string)

SetUserID adds the userId to the update custom attributes partially 1 params

func (*UpdateCustomAttributesPartially1Params) WithBody

WithBody adds the body to the update custom attributes partially 1 params

func (*UpdateCustomAttributesPartially1Params) WithContext

WithContext adds the context to the update custom attributes partially 1 params

func (*UpdateCustomAttributesPartially1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update custom attributes partially 1 params

func (*UpdateCustomAttributesPartially1Params) WithNamespace

WithNamespace adds the namespace to the update custom attributes partially 1 params

func (*UpdateCustomAttributesPartially1Params) WithTimeout

WithTimeout adds the timeout to the update custom attributes partially 1 params

func (*UpdateCustomAttributesPartially1Params) WithUserID

WithUserID adds the userID to the update custom attributes partially 1 params

func (*UpdateCustomAttributesPartially1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateCustomAttributesPartially1Reader

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

UpdateCustomAttributesPartially1Reader is a Reader for the UpdateCustomAttributesPartially1 structure.

func (*UpdateCustomAttributesPartially1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateCustomAttributesPartially1Unauthorized

type UpdateCustomAttributesPartially1Unauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

UpdateCustomAttributesPartially1Unauthorized handles this case with default header values.

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

func NewUpdateCustomAttributesPartially1Unauthorized

func NewUpdateCustomAttributesPartially1Unauthorized() *UpdateCustomAttributesPartially1Unauthorized

NewUpdateCustomAttributesPartially1Unauthorized creates a UpdateCustomAttributesPartially1Unauthorized with default headers values

func (*UpdateCustomAttributesPartially1Unauthorized) Error

func (*UpdateCustomAttributesPartially1Unauthorized) GetPayload

type UpdateCustomAttributesPartiallyBadRequest

type UpdateCustomAttributesPartiallyBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

UpdateCustomAttributesPartiallyBadRequest handles this case with default header values.

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

func NewUpdateCustomAttributesPartiallyBadRequest

func NewUpdateCustomAttributesPartiallyBadRequest() *UpdateCustomAttributesPartiallyBadRequest

NewUpdateCustomAttributesPartiallyBadRequest creates a UpdateCustomAttributesPartiallyBadRequest with default headers values

func (*UpdateCustomAttributesPartiallyBadRequest) Error

func (*UpdateCustomAttributesPartiallyBadRequest) GetPayload

type UpdateCustomAttributesPartiallyForbidden

type UpdateCustomAttributesPartiallyForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

UpdateCustomAttributesPartiallyForbidden handles this case with default header values.

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

func NewUpdateCustomAttributesPartiallyForbidden

func NewUpdateCustomAttributesPartiallyForbidden() *UpdateCustomAttributesPartiallyForbidden

NewUpdateCustomAttributesPartiallyForbidden creates a UpdateCustomAttributesPartiallyForbidden with default headers values

func (*UpdateCustomAttributesPartiallyForbidden) Error

func (*UpdateCustomAttributesPartiallyForbidden) GetPayload

type UpdateCustomAttributesPartiallyNotFound

type UpdateCustomAttributesPartiallyNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

UpdateCustomAttributesPartiallyNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11440</td><td>user profile not found</td></tr></table>

func NewUpdateCustomAttributesPartiallyNotFound

func NewUpdateCustomAttributesPartiallyNotFound() *UpdateCustomAttributesPartiallyNotFound

NewUpdateCustomAttributesPartiallyNotFound creates a UpdateCustomAttributesPartiallyNotFound with default headers values

func (*UpdateCustomAttributesPartiallyNotFound) Error

func (*UpdateCustomAttributesPartiallyNotFound) GetPayload

type UpdateCustomAttributesPartiallyOK

type UpdateCustomAttributesPartiallyOK struct {
	Payload map[string]interface{}
}

UpdateCustomAttributesPartiallyOK handles this case with default header values.

successful operation

func NewUpdateCustomAttributesPartiallyOK

func NewUpdateCustomAttributesPartiallyOK() *UpdateCustomAttributesPartiallyOK

NewUpdateCustomAttributesPartiallyOK creates a UpdateCustomAttributesPartiallyOK with default headers values

func (*UpdateCustomAttributesPartiallyOK) Error

func (*UpdateCustomAttributesPartiallyOK) GetPayload

func (o *UpdateCustomAttributesPartiallyOK) GetPayload() map[string]interface{}

type UpdateCustomAttributesPartiallyParams

type UpdateCustomAttributesPartiallyParams struct {

	/*Body*/
	Body map[string]interface{}
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string
	/*UserID
	  user's id, should follow UUID version 4 without hyphen

	*/
	UserID string

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

UpdateCustomAttributesPartiallyParams contains all the parameters to send to the API endpoint for the update custom attributes partially operation typically these are written to a http.Request

func NewUpdateCustomAttributesPartiallyParams

func NewUpdateCustomAttributesPartiallyParams() *UpdateCustomAttributesPartiallyParams

NewUpdateCustomAttributesPartiallyParams creates a new UpdateCustomAttributesPartiallyParams object with the default values initialized.

func NewUpdateCustomAttributesPartiallyParamsWithContext

func NewUpdateCustomAttributesPartiallyParamsWithContext(ctx context.Context) *UpdateCustomAttributesPartiallyParams

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

func NewUpdateCustomAttributesPartiallyParamsWithHTTPClient

func NewUpdateCustomAttributesPartiallyParamsWithHTTPClient(client *http.Client) *UpdateCustomAttributesPartiallyParams

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

func NewUpdateCustomAttributesPartiallyParamsWithTimeout

func NewUpdateCustomAttributesPartiallyParamsWithTimeout(timeout time.Duration) *UpdateCustomAttributesPartiallyParams

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

func (*UpdateCustomAttributesPartiallyParams) SetBody

func (o *UpdateCustomAttributesPartiallyParams) SetBody(body map[string]interface{})

SetBody adds the body to the update custom attributes partially params

func (*UpdateCustomAttributesPartiallyParams) SetContext

SetContext adds the context to the update custom attributes partially params

func (*UpdateCustomAttributesPartiallyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update custom attributes partially params

func (*UpdateCustomAttributesPartiallyParams) SetNamespace

func (o *UpdateCustomAttributesPartiallyParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update custom attributes partially params

func (*UpdateCustomAttributesPartiallyParams) SetTimeout

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

SetTimeout adds the timeout to the update custom attributes partially params

func (*UpdateCustomAttributesPartiallyParams) SetUserID

func (o *UpdateCustomAttributesPartiallyParams) SetUserID(userID string)

SetUserID adds the userId to the update custom attributes partially params

func (*UpdateCustomAttributesPartiallyParams) WithBody

WithBody adds the body to the update custom attributes partially params

func (*UpdateCustomAttributesPartiallyParams) WithContext

WithContext adds the context to the update custom attributes partially params

func (*UpdateCustomAttributesPartiallyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update custom attributes partially params

func (*UpdateCustomAttributesPartiallyParams) WithNamespace

WithNamespace adds the namespace to the update custom attributes partially params

func (*UpdateCustomAttributesPartiallyParams) WithTimeout

WithTimeout adds the timeout to the update custom attributes partially params

func (*UpdateCustomAttributesPartiallyParams) WithUserID

WithUserID adds the userID to the update custom attributes partially params

func (*UpdateCustomAttributesPartiallyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateCustomAttributesPartiallyReader

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

UpdateCustomAttributesPartiallyReader is a Reader for the UpdateCustomAttributesPartially structure.

func (*UpdateCustomAttributesPartiallyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateCustomAttributesPartiallyUnauthorized

type UpdateCustomAttributesPartiallyUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

UpdateCustomAttributesPartiallyUnauthorized handles this case with default header values.

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

func NewUpdateCustomAttributesPartiallyUnauthorized

func NewUpdateCustomAttributesPartiallyUnauthorized() *UpdateCustomAttributesPartiallyUnauthorized

NewUpdateCustomAttributesPartiallyUnauthorized creates a UpdateCustomAttributesPartiallyUnauthorized with default headers values

func (*UpdateCustomAttributesPartiallyUnauthorized) Error

func (*UpdateCustomAttributesPartiallyUnauthorized) GetPayload

type UpdateMyProfileBadRequest

type UpdateMyProfileBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

UpdateMyProfileBadRequest handles this case with default header values.

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

func NewUpdateMyProfileBadRequest

func NewUpdateMyProfileBadRequest() *UpdateMyProfileBadRequest

NewUpdateMyProfileBadRequest creates a UpdateMyProfileBadRequest with default headers values

func (*UpdateMyProfileBadRequest) Error

func (o *UpdateMyProfileBadRequest) Error() string

func (*UpdateMyProfileBadRequest) GetPayload

type UpdateMyProfileForbidden

type UpdateMyProfileForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

UpdateMyProfileForbidden handles this case with default header values.

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

func NewUpdateMyProfileForbidden

func NewUpdateMyProfileForbidden() *UpdateMyProfileForbidden

NewUpdateMyProfileForbidden creates a UpdateMyProfileForbidden with default headers values

func (*UpdateMyProfileForbidden) Error

func (o *UpdateMyProfileForbidden) Error() string

func (*UpdateMyProfileForbidden) GetPayload

type UpdateMyProfileNotFound

type UpdateMyProfileNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

UpdateMyProfileNotFound 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>20017</td><td>user not linked</td></tr><tr><td>11440</td><td>user profile not found</td></tr></table>

func NewUpdateMyProfileNotFound

func NewUpdateMyProfileNotFound() *UpdateMyProfileNotFound

NewUpdateMyProfileNotFound creates a UpdateMyProfileNotFound with default headers values

func (*UpdateMyProfileNotFound) Error

func (o *UpdateMyProfileNotFound) Error() string

func (*UpdateMyProfileNotFound) GetPayload

type UpdateMyProfileOK

type UpdateMyProfileOK struct {
	Payload *basicclientmodels.UserProfilePrivateInfo
}

UpdateMyProfileOK handles this case with default header values.

Successful operation

func NewUpdateMyProfileOK

func NewUpdateMyProfileOK() *UpdateMyProfileOK

NewUpdateMyProfileOK creates a UpdateMyProfileOK with default headers values

func (*UpdateMyProfileOK) Error

func (o *UpdateMyProfileOK) Error() string

func (*UpdateMyProfileOK) GetPayload

type UpdateMyProfileParams

type UpdateMyProfileParams struct {

	/*Body*/
	Body *basicclientmodels.UserProfilePrivateUpdate
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string

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

UpdateMyProfileParams contains all the parameters to send to the API endpoint for the update my profile operation typically these are written to a http.Request

func NewUpdateMyProfileParams

func NewUpdateMyProfileParams() *UpdateMyProfileParams

NewUpdateMyProfileParams creates a new UpdateMyProfileParams object with the default values initialized.

func NewUpdateMyProfileParamsWithContext

func NewUpdateMyProfileParamsWithContext(ctx context.Context) *UpdateMyProfileParams

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

func NewUpdateMyProfileParamsWithHTTPClient

func NewUpdateMyProfileParamsWithHTTPClient(client *http.Client) *UpdateMyProfileParams

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

func NewUpdateMyProfileParamsWithTimeout

func NewUpdateMyProfileParamsWithTimeout(timeout time.Duration) *UpdateMyProfileParams

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

func (*UpdateMyProfileParams) SetBody

SetBody adds the body to the update my profile params

func (*UpdateMyProfileParams) SetContext

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

SetContext adds the context to the update my profile params

func (*UpdateMyProfileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update my profile params

func (*UpdateMyProfileParams) SetNamespace

func (o *UpdateMyProfileParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update my profile params

func (*UpdateMyProfileParams) SetTimeout

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

SetTimeout adds the timeout to the update my profile params

func (*UpdateMyProfileParams) WithBody

WithBody adds the body to the update my profile params

func (*UpdateMyProfileParams) WithContext

WithContext adds the context to the update my profile params

func (*UpdateMyProfileParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update my profile params

func (*UpdateMyProfileParams) WithNamespace

func (o *UpdateMyProfileParams) WithNamespace(namespace string) *UpdateMyProfileParams

WithNamespace adds the namespace to the update my profile params

func (*UpdateMyProfileParams) WithTimeout

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

WithTimeout adds the timeout to the update my profile params

func (*UpdateMyProfileParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateMyProfileReader

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

UpdateMyProfileReader is a Reader for the UpdateMyProfile structure.

func (*UpdateMyProfileReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateMyProfileUnauthorized

type UpdateMyProfileUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

UpdateMyProfileUnauthorized handles this case with default header values.

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

func NewUpdateMyProfileUnauthorized

func NewUpdateMyProfileUnauthorized() *UpdateMyProfileUnauthorized

NewUpdateMyProfileUnauthorized creates a UpdateMyProfileUnauthorized with default headers values

func (*UpdateMyProfileUnauthorized) Error

func (*UpdateMyProfileUnauthorized) GetPayload

type UpdatePrivateCustomAttributesPartiallyBadRequest

type UpdatePrivateCustomAttributesPartiallyBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

UpdatePrivateCustomAttributesPartiallyBadRequest handles this case with default header values.

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

func NewUpdatePrivateCustomAttributesPartiallyBadRequest

func NewUpdatePrivateCustomAttributesPartiallyBadRequest() *UpdatePrivateCustomAttributesPartiallyBadRequest

NewUpdatePrivateCustomAttributesPartiallyBadRequest creates a UpdatePrivateCustomAttributesPartiallyBadRequest with default headers values

func (*UpdatePrivateCustomAttributesPartiallyBadRequest) Error

func (*UpdatePrivateCustomAttributesPartiallyBadRequest) GetPayload

type UpdatePrivateCustomAttributesPartiallyForbidden

type UpdatePrivateCustomAttributesPartiallyForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

UpdatePrivateCustomAttributesPartiallyForbidden handles this case with default header values.

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

func NewUpdatePrivateCustomAttributesPartiallyForbidden

func NewUpdatePrivateCustomAttributesPartiallyForbidden() *UpdatePrivateCustomAttributesPartiallyForbidden

NewUpdatePrivateCustomAttributesPartiallyForbidden creates a UpdatePrivateCustomAttributesPartiallyForbidden with default headers values

func (*UpdatePrivateCustomAttributesPartiallyForbidden) Error

func (*UpdatePrivateCustomAttributesPartiallyForbidden) GetPayload

type UpdatePrivateCustomAttributesPartiallyNotFound

type UpdatePrivateCustomAttributesPartiallyNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

UpdatePrivateCustomAttributesPartiallyNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11440</td><td>user profile not found</td></tr></table>

func NewUpdatePrivateCustomAttributesPartiallyNotFound

func NewUpdatePrivateCustomAttributesPartiallyNotFound() *UpdatePrivateCustomAttributesPartiallyNotFound

NewUpdatePrivateCustomAttributesPartiallyNotFound creates a UpdatePrivateCustomAttributesPartiallyNotFound with default headers values

func (*UpdatePrivateCustomAttributesPartiallyNotFound) Error

func (*UpdatePrivateCustomAttributesPartiallyNotFound) GetPayload

type UpdatePrivateCustomAttributesPartiallyOK

type UpdatePrivateCustomAttributesPartiallyOK struct {
	Payload map[string]interface{}
}

UpdatePrivateCustomAttributesPartiallyOK handles this case with default header values.

successful operation

func NewUpdatePrivateCustomAttributesPartiallyOK

func NewUpdatePrivateCustomAttributesPartiallyOK() *UpdatePrivateCustomAttributesPartiallyOK

NewUpdatePrivateCustomAttributesPartiallyOK creates a UpdatePrivateCustomAttributesPartiallyOK with default headers values

func (*UpdatePrivateCustomAttributesPartiallyOK) Error

func (*UpdatePrivateCustomAttributesPartiallyOK) GetPayload

func (o *UpdatePrivateCustomAttributesPartiallyOK) GetPayload() map[string]interface{}

type UpdatePrivateCustomAttributesPartiallyParams

type UpdatePrivateCustomAttributesPartiallyParams struct {

	/*Body*/
	Body map[string]interface{}
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string
	/*UserID
	  user's id, should follow UUID version 4 without hyphen

	*/
	UserID string

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

UpdatePrivateCustomAttributesPartiallyParams contains all the parameters to send to the API endpoint for the update private custom attributes partially operation typically these are written to a http.Request

func NewUpdatePrivateCustomAttributesPartiallyParams

func NewUpdatePrivateCustomAttributesPartiallyParams() *UpdatePrivateCustomAttributesPartiallyParams

NewUpdatePrivateCustomAttributesPartiallyParams creates a new UpdatePrivateCustomAttributesPartiallyParams object with the default values initialized.

func NewUpdatePrivateCustomAttributesPartiallyParamsWithContext

func NewUpdatePrivateCustomAttributesPartiallyParamsWithContext(ctx context.Context) *UpdatePrivateCustomAttributesPartiallyParams

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

func NewUpdatePrivateCustomAttributesPartiallyParamsWithHTTPClient

func NewUpdatePrivateCustomAttributesPartiallyParamsWithHTTPClient(client *http.Client) *UpdatePrivateCustomAttributesPartiallyParams

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

func NewUpdatePrivateCustomAttributesPartiallyParamsWithTimeout

func NewUpdatePrivateCustomAttributesPartiallyParamsWithTimeout(timeout time.Duration) *UpdatePrivateCustomAttributesPartiallyParams

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

func (*UpdatePrivateCustomAttributesPartiallyParams) SetBody

func (o *UpdatePrivateCustomAttributesPartiallyParams) SetBody(body map[string]interface{})

SetBody adds the body to the update private custom attributes partially params

func (*UpdatePrivateCustomAttributesPartiallyParams) SetContext

SetContext adds the context to the update private custom attributes partially params

func (*UpdatePrivateCustomAttributesPartiallyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update private custom attributes partially params

func (*UpdatePrivateCustomAttributesPartiallyParams) SetNamespace

func (o *UpdatePrivateCustomAttributesPartiallyParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update private custom attributes partially params

func (*UpdatePrivateCustomAttributesPartiallyParams) SetTimeout

SetTimeout adds the timeout to the update private custom attributes partially params

func (*UpdatePrivateCustomAttributesPartiallyParams) SetUserID

SetUserID adds the userId to the update private custom attributes partially params

func (*UpdatePrivateCustomAttributesPartiallyParams) WithBody

WithBody adds the body to the update private custom attributes partially params

func (*UpdatePrivateCustomAttributesPartiallyParams) WithContext

WithContext adds the context to the update private custom attributes partially params

func (*UpdatePrivateCustomAttributesPartiallyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update private custom attributes partially params

func (*UpdatePrivateCustomAttributesPartiallyParams) WithNamespace

WithNamespace adds the namespace to the update private custom attributes partially params

func (*UpdatePrivateCustomAttributesPartiallyParams) WithTimeout

WithTimeout adds the timeout to the update private custom attributes partially params

func (*UpdatePrivateCustomAttributesPartiallyParams) WithUserID

WithUserID adds the userID to the update private custom attributes partially params

func (*UpdatePrivateCustomAttributesPartiallyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdatePrivateCustomAttributesPartiallyReader

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

UpdatePrivateCustomAttributesPartiallyReader is a Reader for the UpdatePrivateCustomAttributesPartially structure.

func (*UpdatePrivateCustomAttributesPartiallyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdatePrivateCustomAttributesPartiallyUnauthorized

type UpdatePrivateCustomAttributesPartiallyUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

UpdatePrivateCustomAttributesPartiallyUnauthorized handles this case with default header values.

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

func NewUpdatePrivateCustomAttributesPartiallyUnauthorized

func NewUpdatePrivateCustomAttributesPartiallyUnauthorized() *UpdatePrivateCustomAttributesPartiallyUnauthorized

NewUpdatePrivateCustomAttributesPartiallyUnauthorized creates a UpdatePrivateCustomAttributesPartiallyUnauthorized with default headers values

func (*UpdatePrivateCustomAttributesPartiallyUnauthorized) Error

func (*UpdatePrivateCustomAttributesPartiallyUnauthorized) GetPayload

type UpdateUserProfileBadRequest

type UpdateUserProfileBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

UpdateUserProfileBadRequest handles this case with default header values.

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

func NewUpdateUserProfileBadRequest

func NewUpdateUserProfileBadRequest() *UpdateUserProfileBadRequest

NewUpdateUserProfileBadRequest creates a UpdateUserProfileBadRequest with default headers values

func (*UpdateUserProfileBadRequest) Error

func (*UpdateUserProfileBadRequest) GetPayload

type UpdateUserProfileForbidden

type UpdateUserProfileForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

UpdateUserProfileForbidden handles this case with default header values.

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

func NewUpdateUserProfileForbidden

func NewUpdateUserProfileForbidden() *UpdateUserProfileForbidden

NewUpdateUserProfileForbidden creates a UpdateUserProfileForbidden with default headers values

func (*UpdateUserProfileForbidden) Error

func (*UpdateUserProfileForbidden) GetPayload

type UpdateUserProfileNotFound

type UpdateUserProfileNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

UpdateUserProfileNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11440</td><td>user profile not found</td></tr></table>

func NewUpdateUserProfileNotFound

func NewUpdateUserProfileNotFound() *UpdateUserProfileNotFound

NewUpdateUserProfileNotFound creates a UpdateUserProfileNotFound with default headers values

func (*UpdateUserProfileNotFound) Error

func (o *UpdateUserProfileNotFound) Error() string

func (*UpdateUserProfileNotFound) GetPayload

type UpdateUserProfileOK

type UpdateUserProfileOK struct {
	Payload *basicclientmodels.UserProfilePrivateInfo
}

UpdateUserProfileOK handles this case with default header values.

successful operation

func NewUpdateUserProfileOK

func NewUpdateUserProfileOK() *UpdateUserProfileOK

NewUpdateUserProfileOK creates a UpdateUserProfileOK with default headers values

func (*UpdateUserProfileOK) Error

func (o *UpdateUserProfileOK) Error() string

func (*UpdateUserProfileOK) GetPayload

type UpdateUserProfileParams

type UpdateUserProfileParams struct {

	/*Body*/
	Body *basicclientmodels.UserProfileAdmin
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string
	/*UserID
	  user's id, should follow UUID version 4 without hyphen

	*/
	UserID string

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

UpdateUserProfileParams contains all the parameters to send to the API endpoint for the update user profile operation typically these are written to a http.Request

func NewUpdateUserProfileParams

func NewUpdateUserProfileParams() *UpdateUserProfileParams

NewUpdateUserProfileParams creates a new UpdateUserProfileParams object with the default values initialized.

func NewUpdateUserProfileParamsWithContext

func NewUpdateUserProfileParamsWithContext(ctx context.Context) *UpdateUserProfileParams

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

func NewUpdateUserProfileParamsWithHTTPClient

func NewUpdateUserProfileParamsWithHTTPClient(client *http.Client) *UpdateUserProfileParams

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

func NewUpdateUserProfileParamsWithTimeout

func NewUpdateUserProfileParamsWithTimeout(timeout time.Duration) *UpdateUserProfileParams

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

func (*UpdateUserProfileParams) SetBody

SetBody adds the body to the update user profile params

func (*UpdateUserProfileParams) SetContext

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

SetContext adds the context to the update user profile params

func (*UpdateUserProfileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update user profile params

func (*UpdateUserProfileParams) SetNamespace

func (o *UpdateUserProfileParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update user profile params

func (*UpdateUserProfileParams) SetTimeout

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

SetTimeout adds the timeout to the update user profile params

func (*UpdateUserProfileParams) SetUserID

func (o *UpdateUserProfileParams) SetUserID(userID string)

SetUserID adds the userId to the update user profile params

func (*UpdateUserProfileParams) WithBody

WithBody adds the body to the update user profile params

func (*UpdateUserProfileParams) WithContext

WithContext adds the context to the update user profile params

func (*UpdateUserProfileParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update user profile params

func (*UpdateUserProfileParams) WithNamespace

func (o *UpdateUserProfileParams) WithNamespace(namespace string) *UpdateUserProfileParams

WithNamespace adds the namespace to the update user profile params

func (*UpdateUserProfileParams) WithTimeout

WithTimeout adds the timeout to the update user profile params

func (*UpdateUserProfileParams) WithUserID

WithUserID adds the userID to the update user profile params

func (*UpdateUserProfileParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateUserProfileReader

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

UpdateUserProfileReader is a Reader for the UpdateUserProfile structure.

func (*UpdateUserProfileReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateUserProfileUnauthorized

type UpdateUserProfileUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

UpdateUserProfileUnauthorized handles this case with default header values.

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

func NewUpdateUserProfileUnauthorized

func NewUpdateUserProfileUnauthorized() *UpdateUserProfileUnauthorized

NewUpdateUserProfileUnauthorized creates a UpdateUserProfileUnauthorized with default headers values

func (*UpdateUserProfileUnauthorized) Error

func (*UpdateUserProfileUnauthorized) GetPayload

type UpdateUserZipCodeBadRequest

type UpdateUserZipCodeBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

UpdateUserZipCodeBadRequest handles this case with default header values.

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

func NewUpdateUserZipCodeBadRequest

func NewUpdateUserZipCodeBadRequest() *UpdateUserZipCodeBadRequest

NewUpdateUserZipCodeBadRequest creates a UpdateUserZipCodeBadRequest with default headers values

func (*UpdateUserZipCodeBadRequest) Error

func (*UpdateUserZipCodeBadRequest) GetPayload

type UpdateUserZipCodeForbidden

type UpdateUserZipCodeForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

UpdateUserZipCodeForbidden handles this case with default header values.

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

func NewUpdateUserZipCodeForbidden

func NewUpdateUserZipCodeForbidden() *UpdateUserZipCodeForbidden

NewUpdateUserZipCodeForbidden creates a UpdateUserZipCodeForbidden with default headers values

func (*UpdateUserZipCodeForbidden) Error

func (*UpdateUserZipCodeForbidden) GetPayload

type UpdateUserZipCodeOK

type UpdateUserZipCodeOK struct {
	Payload *basicclientmodels.UserZipCode
}

UpdateUserZipCodeOK handles this case with default header values.

Successful operation

func NewUpdateUserZipCodeOK

func NewUpdateUserZipCodeOK() *UpdateUserZipCodeOK

NewUpdateUserZipCodeOK creates a UpdateUserZipCodeOK with default headers values

func (*UpdateUserZipCodeOK) Error

func (o *UpdateUserZipCodeOK) Error() string

func (*UpdateUserZipCodeOK) GetPayload

type UpdateUserZipCodeParams

type UpdateUserZipCodeParams struct {

	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string
	/*UserZipCodeUpdate
	  user's zip code, accept alphabet and numeric string default.

	*/
	UserZipCodeUpdate *basicclientmodels.UserZipCodeUpdate

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

UpdateUserZipCodeParams contains all the parameters to send to the API endpoint for the update user zip code operation typically these are written to a http.Request

func NewUpdateUserZipCodeParams

func NewUpdateUserZipCodeParams() *UpdateUserZipCodeParams

NewUpdateUserZipCodeParams creates a new UpdateUserZipCodeParams object with the default values initialized.

func NewUpdateUserZipCodeParamsWithContext

func NewUpdateUserZipCodeParamsWithContext(ctx context.Context) *UpdateUserZipCodeParams

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

func NewUpdateUserZipCodeParamsWithHTTPClient

func NewUpdateUserZipCodeParamsWithHTTPClient(client *http.Client) *UpdateUserZipCodeParams

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

func NewUpdateUserZipCodeParamsWithTimeout

func NewUpdateUserZipCodeParamsWithTimeout(timeout time.Duration) *UpdateUserZipCodeParams

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

func (*UpdateUserZipCodeParams) SetContext

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

SetContext adds the context to the update user zip code params

func (*UpdateUserZipCodeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update user zip code params

func (*UpdateUserZipCodeParams) SetNamespace

func (o *UpdateUserZipCodeParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update user zip code params

func (*UpdateUserZipCodeParams) SetTimeout

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

SetTimeout adds the timeout to the update user zip code params

func (*UpdateUserZipCodeParams) SetUserZipCodeUpdate

func (o *UpdateUserZipCodeParams) SetUserZipCodeUpdate(userZipCodeUpdate *basicclientmodels.UserZipCodeUpdate)

SetUserZipCodeUpdate adds the userZipCodeUpdate to the update user zip code params

func (*UpdateUserZipCodeParams) WithContext

WithContext adds the context to the update user zip code params

func (*UpdateUserZipCodeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update user zip code params

func (*UpdateUserZipCodeParams) WithNamespace

func (o *UpdateUserZipCodeParams) WithNamespace(namespace string) *UpdateUserZipCodeParams

WithNamespace adds the namespace to the update user zip code params

func (*UpdateUserZipCodeParams) WithTimeout

WithTimeout adds the timeout to the update user zip code params

func (*UpdateUserZipCodeParams) WithUserZipCodeUpdate

func (o *UpdateUserZipCodeParams) WithUserZipCodeUpdate(userZipCodeUpdate *basicclientmodels.UserZipCodeUpdate) *UpdateUserZipCodeParams

WithUserZipCodeUpdate adds the userZipCodeUpdate to the update user zip code params

func (*UpdateUserZipCodeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateUserZipCodeReader

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

UpdateUserZipCodeReader is a Reader for the UpdateUserZipCode structure.

func (*UpdateUserZipCodeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateUserZipCodeUnauthorized

type UpdateUserZipCodeUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

UpdateUserZipCodeUnauthorized handles this case with default header values.

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

func NewUpdateUserZipCodeUnauthorized

func NewUpdateUserZipCodeUnauthorized() *UpdateUserZipCodeUnauthorized

NewUpdateUserZipCodeUnauthorized creates a UpdateUserZipCodeUnauthorized with default headers values

func (*UpdateUserZipCodeUnauthorized) Error

func (*UpdateUserZipCodeUnauthorized) GetPayload

Source Files

Jump to

Keyboard shortcuts

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