game_profile

package
v0.1.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 16 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 game profile API

func (*Client) GetProfile deprecated

Deprecated: 2022-08-10 - Use GetProfileShort instead.

GetProfile returns profile for a user Returns profile for a user. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:GAMEPROFILE", action=2 (READ)
  • Returns : game profile info

func (*Client) GetProfileShort

func (a *Client) GetProfileShort(params *GetProfileParams, authInfo runtime.ClientAuthInfoWriter) (*GetProfileOK, error)

GetProfileShort returns profile for a user Returns profile for a user. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:GAMEPROFILE", action=2 (READ)
  • Returns : game profile info

func (*Client) GetUserProfiles deprecated

Deprecated: 2022-08-10 - Use GetUserProfilesShort instead.

GetUserProfiles returns all profiles' header for a user Returns all profiles' header for a user. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:GAMEPROFILE", action=2 (READ)
  • Returns : list of profiles

func (*Client) GetUserProfilesShort

func (a *Client) GetUserProfilesShort(params *GetUserProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserProfilesOK, error)

GetUserProfilesShort returns all profiles' header for a user Returns all profiles' header for a user. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:GAMEPROFILE", action=2 (READ)
  • Returns : list of profiles

func (*Client) PublicCreateProfile deprecated

Deprecated: 2022-08-10 - Use PublicCreateProfileShort instead.

PublicCreateProfile create a new profile for user Create new profile for user. Other detail info:

  • Required permission

: resource="NAMESPACE:{namespace}:USER:{userId}:GAMEPROFILE", action=1 (CREATE)

  • Returns

: created game profile

func (*Client) PublicCreateProfileShort

func (a *Client) PublicCreateProfileShort(params *PublicCreateProfileParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateProfileCreated, error)

PublicCreateProfileShort create a new profile for user Create new profile for user. Other detail info:

  • Required permission

: resource="NAMESPACE:{namespace}:USER:{userId}:GAMEPROFILE", action=1 (CREATE)

  • Returns

: created game profile

func (*Client) PublicDeleteProfile deprecated

Deprecated: 2022-08-10 - Use PublicDeleteProfileShort instead.

PublicDeleteProfile deletes game profile Deletes game profile. Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:GAMEPROFILE", action=8 (DELETE)

func (*Client) PublicDeleteProfileShort

func (a *Client) PublicDeleteProfileShort(params *PublicDeleteProfileParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDeleteProfileNoContent, error)

PublicDeleteProfileShort deletes game profile Deletes game profile. Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:GAMEPROFILE", action=8 (DELETE)

func (*Client) PublicGetProfile deprecated

Deprecated: 2022-08-10 - Use PublicGetProfileShort instead.

PublicGetProfile returns profile for a user Returns profile for a user. Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:GAMEPROFILE", action=2 (READ)
  • Returns : game profile info

func (*Client) PublicGetProfileAttribute deprecated

Deprecated: 2022-08-10 - Use PublicGetProfileAttributeShort instead.

PublicGetProfileAttribute returns game profile attribute Returns game profile attribute. Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:GAMEPROFILE", action=2 (READ)
  • Returns : attribute info

func (*Client) PublicGetProfileAttributeShort

func (a *Client) PublicGetProfileAttributeShort(params *PublicGetProfileAttributeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetProfileAttributeOK, error)

PublicGetProfileAttributeShort returns game profile attribute Returns game profile attribute. Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:GAMEPROFILE", action=2 (READ)
  • Returns : attribute info

func (*Client) PublicGetProfileShort

func (a *Client) PublicGetProfileShort(params *PublicGetProfileParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetProfileOK, error)

PublicGetProfileShort returns profile for a user Returns profile for a user. Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:GAMEPROFILE", action=2 (READ)
  • Returns : game profile info

func (*Client) PublicGetUserGameProfiles deprecated

Deprecated: 2022-08-10 - Use PublicGetUserGameProfilesShort instead.

PublicGetUserGameProfiles returns all profiles for specified users Returns all profiles for specified users. Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:GAMEPROFILE", action=2 (READ)

  • Returns : list of profiles

func (*Client) PublicGetUserGameProfilesShort

func (a *Client) PublicGetUserGameProfilesShort(params *PublicGetUserGameProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserGameProfilesOK, error)

PublicGetUserGameProfilesShort returns all profiles for specified users Returns all profiles for specified users. Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:GAMEPROFILE", action=2 (READ)

  • Returns : list of profiles

func (*Client) PublicGetUserProfiles deprecated

Deprecated: 2022-08-10 - Use PublicGetUserProfilesShort instead.

PublicGetUserProfiles returns all profiles' header for a user Returns all profiles' header for a user. Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:GAMEPROFILE", action=2 (READ)
  • Returns : list of profiles

func (*Client) PublicGetUserProfilesShort

func (a *Client) PublicGetUserProfilesShort(params *PublicGetUserProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserProfilesOK, error)

PublicGetUserProfilesShort returns all profiles' header for a user Returns all profiles' header for a user. Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:GAMEPROFILE", action=2 (READ)
  • Returns : list of profiles

func (*Client) PublicUpdateAttribute deprecated

Deprecated: 2022-08-10 - Use PublicUpdateAttributeShort instead.

PublicUpdateAttribute updates game profile attribute Updates game profile attribute, returns updated profile. Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:GAMEPROFILE", action=4 (UPDATE)
  • Returns : updated attribute

func (*Client) PublicUpdateAttributeShort

func (a *Client) PublicUpdateAttributeShort(params *PublicUpdateAttributeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateAttributeOK, error)

PublicUpdateAttributeShort updates game profile attribute Updates game profile attribute, returns updated profile. Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:GAMEPROFILE", action=4 (UPDATE)
  • Returns : updated attribute

func (*Client) PublicUpdateProfile deprecated

Deprecated: 2022-08-10 - Use PublicUpdateProfileShort instead.

PublicUpdateProfile updates user game profile Updates user game profile, returns updated profile. Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:GAMEPROFILE", action=4 (UPDATE)
  • Returns : updated game profile

func (*Client) PublicUpdateProfileShort

func (a *Client) PublicUpdateProfileShort(params *PublicUpdateProfileParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateProfileOK, error)

PublicUpdateProfileShort updates user game profile Updates user game profile, returns updated profile. Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:GAMEPROFILE", action=4 (UPDATE)
  • Returns : updated game profile

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	GetUserProfiles(params *GetUserProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserProfilesOK, *GetUserProfilesUnauthorized, *GetUserProfilesForbidden, *GetUserProfilesInternalServerError, error)
	GetUserProfilesShort(params *GetUserProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserProfilesOK, error)
	GetProfile(params *GetProfileParams, authInfo runtime.ClientAuthInfoWriter) (*GetProfileOK, *GetProfileUnauthorized, *GetProfileForbidden, *GetProfileNotFound, *GetProfileInternalServerError, error)
	GetProfileShort(params *GetProfileParams, authInfo runtime.ClientAuthInfoWriter) (*GetProfileOK, error)
	PublicGetUserGameProfiles(params *PublicGetUserGameProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserGameProfilesOK, *PublicGetUserGameProfilesBadRequest, *PublicGetUserGameProfilesUnauthorized, *PublicGetUserGameProfilesForbidden, *PublicGetUserGameProfilesInternalServerError, error)
	PublicGetUserGameProfilesShort(params *PublicGetUserGameProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserGameProfilesOK, error)
	PublicGetUserProfiles(params *PublicGetUserProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserProfilesOK, *PublicGetUserProfilesUnauthorized, *PublicGetUserProfilesForbidden, *PublicGetUserProfilesInternalServerError, error)
	PublicGetUserProfilesShort(params *PublicGetUserProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserProfilesOK, error)
	PublicCreateProfile(params *PublicCreateProfileParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateProfileCreated, *PublicCreateProfileBadRequest, *PublicCreateProfileUnauthorized, *PublicCreateProfileForbidden, *PublicCreateProfileUnprocessableEntity, *PublicCreateProfileInternalServerError, error)
	PublicCreateProfileShort(params *PublicCreateProfileParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateProfileCreated, error)
	PublicGetProfile(params *PublicGetProfileParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetProfileOK, *PublicGetProfileUnauthorized, *PublicGetProfileForbidden, *PublicGetProfileNotFound, *PublicGetProfileInternalServerError, error)
	PublicGetProfileShort(params *PublicGetProfileParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetProfileOK, error)
	PublicUpdateProfile(params *PublicUpdateProfileParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateProfileOK, *PublicUpdateProfileBadRequest, *PublicUpdateProfileUnauthorized, *PublicUpdateProfileForbidden, *PublicUpdateProfileNotFound, *PublicUpdateProfileUnprocessableEntity, *PublicUpdateProfileInternalServerError, error)
	PublicUpdateProfileShort(params *PublicUpdateProfileParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateProfileOK, error)
	PublicDeleteProfile(params *PublicDeleteProfileParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDeleteProfileNoContent, *PublicDeleteProfileUnauthorized, *PublicDeleteProfileForbidden, *PublicDeleteProfileNotFound, *PublicDeleteProfileInternalServerError, error)
	PublicDeleteProfileShort(params *PublicDeleteProfileParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDeleteProfileNoContent, error)
	PublicGetProfileAttribute(params *PublicGetProfileAttributeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetProfileAttributeOK, *PublicGetProfileAttributeUnauthorized, *PublicGetProfileAttributeForbidden, *PublicGetProfileAttributeNotFound, *PublicGetProfileAttributeInternalServerError, error)
	PublicGetProfileAttributeShort(params *PublicGetProfileAttributeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetProfileAttributeOK, error)
	PublicUpdateAttribute(params *PublicUpdateAttributeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateAttributeOK, *PublicUpdateAttributeBadRequest, *PublicUpdateAttributeUnauthorized, *PublicUpdateAttributeForbidden, *PublicUpdateAttributeNotFound, *PublicUpdateAttributeUnprocessableEntity, *PublicUpdateAttributeInternalServerError, error)
	PublicUpdateAttributeShort(params *PublicUpdateAttributeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateAttributeOK, 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 game profile API client.

type GetProfileForbidden

type GetProfileForbidden struct {
	Payload *socialclientmodels.ErrorEntity
}

GetProfileForbidden 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 NewGetProfileForbidden

func NewGetProfileForbidden() *GetProfileForbidden

NewGetProfileForbidden creates a GetProfileForbidden with default headers values

func (*GetProfileForbidden) Error

func (o *GetProfileForbidden) Error() string

func (*GetProfileForbidden) GetPayload

func (*GetProfileForbidden) ToJSONString

func (o *GetProfileForbidden) ToJSONString() string

type GetProfileInternalServerError

type GetProfileInternalServerError struct {
	Payload *socialclientmodels.ErrorEntity
}

GetProfileInternalServerError handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20000</td><td>Internal server error</td></tr></table>

func NewGetProfileInternalServerError

func NewGetProfileInternalServerError() *GetProfileInternalServerError

NewGetProfileInternalServerError creates a GetProfileInternalServerError with default headers values

func (*GetProfileInternalServerError) Error

func (*GetProfileInternalServerError) GetPayload

func (*GetProfileInternalServerError) ToJSONString

func (o *GetProfileInternalServerError) ToJSONString() string

type GetProfileNotFound

type GetProfileNotFound struct {
	Payload *socialclientmodels.ErrorEntity
}

GetProfileNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>12041</td><td>Game profile with id [{profileId}] is not found</td></tr></table>

func NewGetProfileNotFound

func NewGetProfileNotFound() *GetProfileNotFound

NewGetProfileNotFound creates a GetProfileNotFound with default headers values

func (*GetProfileNotFound) Error

func (o *GetProfileNotFound) Error() string

func (*GetProfileNotFound) GetPayload

func (*GetProfileNotFound) ToJSONString

func (o *GetProfileNotFound) ToJSONString() string

type GetProfileOK

type GetProfileOK struct {
	Payload *socialclientmodels.GameProfileInfo
}

GetProfileOK handles this case with default header values.

successful operation

func NewGetProfileOK

func NewGetProfileOK() *GetProfileOK

NewGetProfileOK creates a GetProfileOK with default headers values

func (*GetProfileOK) Error

func (o *GetProfileOK) Error() string

func (*GetProfileOK) GetPayload

func (*GetProfileOK) ToJSONString

func (o *GetProfileOK) ToJSONString() string

type GetProfileParams

type GetProfileParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace ID

	*/
	Namespace string
	/*ProfileID
	  Game profile ID

	*/
	ProfileID string
	/*UserID
	  User ID

	*/
	UserID string

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

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

func NewGetProfileParams

func NewGetProfileParams() *GetProfileParams

NewGetProfileParams creates a new GetProfileParams object with the default values initialized.

func NewGetProfileParamsWithContext

func NewGetProfileParamsWithContext(ctx context.Context) *GetProfileParams

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

func NewGetProfileParamsWithHTTPClient

func NewGetProfileParamsWithHTTPClient(client *http.Client) *GetProfileParams

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

func NewGetProfileParamsWithTimeout

func NewGetProfileParamsWithTimeout(timeout time.Duration) *GetProfileParams

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

func (*GetProfileParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get profile params

func (*GetProfileParams) SetContext

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

SetContext adds the context to the get profile params

func (*GetProfileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get profile params

func (*GetProfileParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get profile params

func (*GetProfileParams) SetNamespace

func (o *GetProfileParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get profile params

func (*GetProfileParams) SetProfileID

func (o *GetProfileParams) SetProfileID(profileID string)

SetProfileID adds the profileId to the get profile params

func (*GetProfileParams) SetTimeout

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

SetTimeout adds the timeout to the get profile params

func (*GetProfileParams) SetUserID

func (o *GetProfileParams) SetUserID(userID string)

SetUserID adds the userId to the get profile params

func (*GetProfileParams) WithContext

func (o *GetProfileParams) WithContext(ctx context.Context) *GetProfileParams

WithContext adds the context to the get profile params

func (*GetProfileParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get profile params

func (*GetProfileParams) WithNamespace

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

WithNamespace adds the namespace to the get profile params

func (*GetProfileParams) WithProfileID

func (o *GetProfileParams) WithProfileID(profileID string) *GetProfileParams

WithProfileID adds the profileID to the get profile params

func (*GetProfileParams) WithTimeout

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

WithTimeout adds the timeout to the get profile params

func (*GetProfileParams) WithUserID

func (o *GetProfileParams) WithUserID(userID string) *GetProfileParams

WithUserID adds the userID to the get profile params

func (*GetProfileParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetProfileReader

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

GetProfileReader is a Reader for the GetProfile structure.

func (*GetProfileReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetProfileUnauthorized

type GetProfileUnauthorized struct {
	Payload *socialclientmodels.ErrorEntity
}

GetProfileUnauthorized 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 NewGetProfileUnauthorized

func NewGetProfileUnauthorized() *GetProfileUnauthorized

NewGetProfileUnauthorized creates a GetProfileUnauthorized with default headers values

func (*GetProfileUnauthorized) Error

func (o *GetProfileUnauthorized) Error() string

func (*GetProfileUnauthorized) GetPayload

func (*GetProfileUnauthorized) ToJSONString

func (o *GetProfileUnauthorized) ToJSONString() string

type GetUserProfilesForbidden

type GetUserProfilesForbidden struct {
	Payload *socialclientmodels.ErrorEntity
}

GetUserProfilesForbidden 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 NewGetUserProfilesForbidden

func NewGetUserProfilesForbidden() *GetUserProfilesForbidden

NewGetUserProfilesForbidden creates a GetUserProfilesForbidden with default headers values

func (*GetUserProfilesForbidden) Error

func (o *GetUserProfilesForbidden) Error() string

func (*GetUserProfilesForbidden) GetPayload

func (*GetUserProfilesForbidden) ToJSONString

func (o *GetUserProfilesForbidden) ToJSONString() string

type GetUserProfilesInternalServerError

type GetUserProfilesInternalServerError struct {
	Payload *socialclientmodels.ErrorEntity
}

GetUserProfilesInternalServerError handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20000</td><td>Internal server error</td></tr></table>

func NewGetUserProfilesInternalServerError

func NewGetUserProfilesInternalServerError() *GetUserProfilesInternalServerError

NewGetUserProfilesInternalServerError creates a GetUserProfilesInternalServerError with default headers values

func (*GetUserProfilesInternalServerError) Error

func (*GetUserProfilesInternalServerError) GetPayload

func (*GetUserProfilesInternalServerError) ToJSONString

func (o *GetUserProfilesInternalServerError) ToJSONString() string

type GetUserProfilesOK

type GetUserProfilesOK struct {
	Payload []*socialclientmodels.GameProfileHeader
}

GetUserProfilesOK handles this case with default header values.

successful operation

func NewGetUserProfilesOK

func NewGetUserProfilesOK() *GetUserProfilesOK

NewGetUserProfilesOK creates a GetUserProfilesOK with default headers values

func (*GetUserProfilesOK) Error

func (o *GetUserProfilesOK) Error() string

func (*GetUserProfilesOK) GetPayload

func (*GetUserProfilesOK) ToJSONString

func (o *GetUserProfilesOK) ToJSONString() string

type GetUserProfilesParams

type GetUserProfilesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace ID

	*/
	Namespace string
	/*UserID
	  User ID

	*/
	UserID string

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

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

func NewGetUserProfilesParams

func NewGetUserProfilesParams() *GetUserProfilesParams

NewGetUserProfilesParams creates a new GetUserProfilesParams object with the default values initialized.

func NewGetUserProfilesParamsWithContext

func NewGetUserProfilesParamsWithContext(ctx context.Context) *GetUserProfilesParams

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

func NewGetUserProfilesParamsWithHTTPClient

func NewGetUserProfilesParamsWithHTTPClient(client *http.Client) *GetUserProfilesParams

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

func NewGetUserProfilesParamsWithTimeout

func NewGetUserProfilesParamsWithTimeout(timeout time.Duration) *GetUserProfilesParams

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

func (*GetUserProfilesParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get user profiles params

func (*GetUserProfilesParams) SetContext

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

SetContext adds the context to the get user profiles params

func (*GetUserProfilesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user profiles params

func (*GetUserProfilesParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get user profiles params

func (*GetUserProfilesParams) SetNamespace

func (o *GetUserProfilesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get user profiles params

func (*GetUserProfilesParams) SetTimeout

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

SetTimeout adds the timeout to the get user profiles params

func (*GetUserProfilesParams) SetUserID

func (o *GetUserProfilesParams) SetUserID(userID string)

SetUserID adds the userId to the get user profiles params

func (*GetUserProfilesParams) WithContext

WithContext adds the context to the get user profiles params

func (*GetUserProfilesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get user profiles params

func (*GetUserProfilesParams) WithNamespace

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

WithNamespace adds the namespace to the get user profiles params

func (*GetUserProfilesParams) WithTimeout

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

WithTimeout adds the timeout to the get user profiles params

func (*GetUserProfilesParams) WithUserID

func (o *GetUserProfilesParams) WithUserID(userID string) *GetUserProfilesParams

WithUserID adds the userID to the get user profiles params

func (*GetUserProfilesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUserProfilesReader

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

GetUserProfilesReader is a Reader for the GetUserProfiles structure.

func (*GetUserProfilesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserProfilesUnauthorized

type GetUserProfilesUnauthorized struct {
	Payload *socialclientmodels.ErrorEntity
}

GetUserProfilesUnauthorized 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 NewGetUserProfilesUnauthorized

func NewGetUserProfilesUnauthorized() *GetUserProfilesUnauthorized

NewGetUserProfilesUnauthorized creates a GetUserProfilesUnauthorized with default headers values

func (*GetUserProfilesUnauthorized) Error

func (*GetUserProfilesUnauthorized) GetPayload

func (*GetUserProfilesUnauthorized) ToJSONString

func (o *GetUserProfilesUnauthorized) ToJSONString() string

type PublicCreateProfileBadRequest

type PublicCreateProfileBadRequest struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicCreateProfileBadRequest handles this case with default header values.

Bad request

func NewPublicCreateProfileBadRequest

func NewPublicCreateProfileBadRequest() *PublicCreateProfileBadRequest

NewPublicCreateProfileBadRequest creates a PublicCreateProfileBadRequest with default headers values

func (*PublicCreateProfileBadRequest) Error

func (*PublicCreateProfileBadRequest) GetPayload

func (*PublicCreateProfileBadRequest) ToJSONString

func (o *PublicCreateProfileBadRequest) ToJSONString() string

type PublicCreateProfileCreated

type PublicCreateProfileCreated struct {
}

PublicCreateProfileCreated handles this case with default header values.

Profile has been created

func NewPublicCreateProfileCreated

func NewPublicCreateProfileCreated() *PublicCreateProfileCreated

NewPublicCreateProfileCreated creates a PublicCreateProfileCreated with default headers values

func (*PublicCreateProfileCreated) Error

type PublicCreateProfileForbidden

type PublicCreateProfileForbidden struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicCreateProfileForbidden 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 NewPublicCreateProfileForbidden

func NewPublicCreateProfileForbidden() *PublicCreateProfileForbidden

NewPublicCreateProfileForbidden creates a PublicCreateProfileForbidden with default headers values

func (*PublicCreateProfileForbidden) Error

func (*PublicCreateProfileForbidden) GetPayload

func (*PublicCreateProfileForbidden) ToJSONString

func (o *PublicCreateProfileForbidden) ToJSONString() string

type PublicCreateProfileInternalServerError

type PublicCreateProfileInternalServerError struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicCreateProfileInternalServerError handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20000</td><td>Internal server error</td></tr></table>

func NewPublicCreateProfileInternalServerError

func NewPublicCreateProfileInternalServerError() *PublicCreateProfileInternalServerError

NewPublicCreateProfileInternalServerError creates a PublicCreateProfileInternalServerError with default headers values

func (*PublicCreateProfileInternalServerError) Error

func (*PublicCreateProfileInternalServerError) GetPayload

func (*PublicCreateProfileInternalServerError) ToJSONString

type PublicCreateProfileParams

type PublicCreateProfileParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *socialclientmodels.GameProfileRequest
	/*Namespace
	  Namespace ID

	*/
	Namespace string
	/*UserID
	  User ID

	*/
	UserID string

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

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

func NewPublicCreateProfileParams

func NewPublicCreateProfileParams() *PublicCreateProfileParams

NewPublicCreateProfileParams creates a new PublicCreateProfileParams object with the default values initialized.

func NewPublicCreateProfileParamsWithContext

func NewPublicCreateProfileParamsWithContext(ctx context.Context) *PublicCreateProfileParams

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

func NewPublicCreateProfileParamsWithHTTPClient

func NewPublicCreateProfileParamsWithHTTPClient(client *http.Client) *PublicCreateProfileParams

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

func NewPublicCreateProfileParamsWithTimeout

func NewPublicCreateProfileParamsWithTimeout(timeout time.Duration) *PublicCreateProfileParams

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

func (*PublicCreateProfileParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public create profile params

func (*PublicCreateProfileParams) SetBody

SetBody adds the body to the public create profile params

func (*PublicCreateProfileParams) SetContext

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

SetContext adds the context to the public create profile params

func (*PublicCreateProfileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public create profile params

func (*PublicCreateProfileParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public create profile params

func (*PublicCreateProfileParams) SetNamespace

func (o *PublicCreateProfileParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public create profile params

func (*PublicCreateProfileParams) SetTimeout

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

SetTimeout adds the timeout to the public create profile params

func (*PublicCreateProfileParams) SetUserID

func (o *PublicCreateProfileParams) SetUserID(userID string)

SetUserID adds the userId to the public create profile params

func (*PublicCreateProfileParams) WithBody

WithBody adds the body to the public create profile params

func (*PublicCreateProfileParams) WithContext

WithContext adds the context to the public create profile params

func (*PublicCreateProfileParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the public create profile params

func (*PublicCreateProfileParams) WithNamespace

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

WithNamespace adds the namespace to the public create profile params

func (*PublicCreateProfileParams) WithTimeout

WithTimeout adds the timeout to the public create profile params

func (*PublicCreateProfileParams) WithUserID

WithUserID adds the userID to the public create profile params

func (*PublicCreateProfileParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicCreateProfileReader

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

PublicCreateProfileReader is a Reader for the PublicCreateProfile structure.

func (*PublicCreateProfileReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicCreateProfileUnauthorized

type PublicCreateProfileUnauthorized struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicCreateProfileUnauthorized 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 NewPublicCreateProfileUnauthorized

func NewPublicCreateProfileUnauthorized() *PublicCreateProfileUnauthorized

NewPublicCreateProfileUnauthorized creates a PublicCreateProfileUnauthorized with default headers values

func (*PublicCreateProfileUnauthorized) Error

func (*PublicCreateProfileUnauthorized) GetPayload

func (*PublicCreateProfileUnauthorized) ToJSONString

func (o *PublicCreateProfileUnauthorized) ToJSONString() string

type PublicCreateProfileUnprocessableEntity

type PublicCreateProfileUnprocessableEntity struct {
	Payload *socialclientmodels.ValidationErrorEntity
}

PublicCreateProfileUnprocessableEntity 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 NewPublicCreateProfileUnprocessableEntity

func NewPublicCreateProfileUnprocessableEntity() *PublicCreateProfileUnprocessableEntity

NewPublicCreateProfileUnprocessableEntity creates a PublicCreateProfileUnprocessableEntity with default headers values

func (*PublicCreateProfileUnprocessableEntity) Error

func (*PublicCreateProfileUnprocessableEntity) GetPayload

func (*PublicCreateProfileUnprocessableEntity) ToJSONString

type PublicDeleteProfileForbidden

type PublicDeleteProfileForbidden struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicDeleteProfileForbidden 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 NewPublicDeleteProfileForbidden

func NewPublicDeleteProfileForbidden() *PublicDeleteProfileForbidden

NewPublicDeleteProfileForbidden creates a PublicDeleteProfileForbidden with default headers values

func (*PublicDeleteProfileForbidden) Error

func (*PublicDeleteProfileForbidden) GetPayload

func (*PublicDeleteProfileForbidden) ToJSONString

func (o *PublicDeleteProfileForbidden) ToJSONString() string

type PublicDeleteProfileInternalServerError

type PublicDeleteProfileInternalServerError struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicDeleteProfileInternalServerError handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20000</td><td>Internal server error</td></tr></table>

func NewPublicDeleteProfileInternalServerError

func NewPublicDeleteProfileInternalServerError() *PublicDeleteProfileInternalServerError

NewPublicDeleteProfileInternalServerError creates a PublicDeleteProfileInternalServerError with default headers values

func (*PublicDeleteProfileInternalServerError) Error

func (*PublicDeleteProfileInternalServerError) GetPayload

func (*PublicDeleteProfileInternalServerError) ToJSONString

type PublicDeleteProfileNoContent

type PublicDeleteProfileNoContent struct {
}

PublicDeleteProfileNoContent handles this case with default header values.

Game profile has been deleted

func NewPublicDeleteProfileNoContent

func NewPublicDeleteProfileNoContent() *PublicDeleteProfileNoContent

NewPublicDeleteProfileNoContent creates a PublicDeleteProfileNoContent with default headers values

func (*PublicDeleteProfileNoContent) Error

type PublicDeleteProfileNotFound

type PublicDeleteProfileNotFound struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicDeleteProfileNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>12041</td><td>Game profile with id [{profileId}] is not found</td></tr></table>

func NewPublicDeleteProfileNotFound

func NewPublicDeleteProfileNotFound() *PublicDeleteProfileNotFound

NewPublicDeleteProfileNotFound creates a PublicDeleteProfileNotFound with default headers values

func (*PublicDeleteProfileNotFound) Error

func (*PublicDeleteProfileNotFound) GetPayload

func (*PublicDeleteProfileNotFound) ToJSONString

func (o *PublicDeleteProfileNotFound) ToJSONString() string

type PublicDeleteProfileParams

type PublicDeleteProfileParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace ID

	*/
	Namespace string
	/*ProfileID
	  Game profile ID

	*/
	ProfileID string
	/*UserID
	  User ID

	*/
	UserID string

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

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

func NewPublicDeleteProfileParams

func NewPublicDeleteProfileParams() *PublicDeleteProfileParams

NewPublicDeleteProfileParams creates a new PublicDeleteProfileParams object with the default values initialized.

func NewPublicDeleteProfileParamsWithContext

func NewPublicDeleteProfileParamsWithContext(ctx context.Context) *PublicDeleteProfileParams

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

func NewPublicDeleteProfileParamsWithHTTPClient

func NewPublicDeleteProfileParamsWithHTTPClient(client *http.Client) *PublicDeleteProfileParams

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

func NewPublicDeleteProfileParamsWithTimeout

func NewPublicDeleteProfileParamsWithTimeout(timeout time.Duration) *PublicDeleteProfileParams

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

func (*PublicDeleteProfileParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public delete profile params

func (*PublicDeleteProfileParams) SetContext

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

SetContext adds the context to the public delete profile params

func (*PublicDeleteProfileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public delete profile params

func (*PublicDeleteProfileParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public delete profile params

func (*PublicDeleteProfileParams) SetNamespace

func (o *PublicDeleteProfileParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public delete profile params

func (*PublicDeleteProfileParams) SetProfileID

func (o *PublicDeleteProfileParams) SetProfileID(profileID string)

SetProfileID adds the profileId to the public delete profile params

func (*PublicDeleteProfileParams) SetTimeout

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

SetTimeout adds the timeout to the public delete profile params

func (*PublicDeleteProfileParams) SetUserID

func (o *PublicDeleteProfileParams) SetUserID(userID string)

SetUserID adds the userId to the public delete profile params

func (*PublicDeleteProfileParams) WithContext

WithContext adds the context to the public delete profile params

func (*PublicDeleteProfileParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the public delete profile params

func (*PublicDeleteProfileParams) WithNamespace

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

WithNamespace adds the namespace to the public delete profile params

func (*PublicDeleteProfileParams) WithProfileID

func (o *PublicDeleteProfileParams) WithProfileID(profileID string) *PublicDeleteProfileParams

WithProfileID adds the profileID to the public delete profile params

func (*PublicDeleteProfileParams) WithTimeout

WithTimeout adds the timeout to the public delete profile params

func (*PublicDeleteProfileParams) WithUserID

WithUserID adds the userID to the public delete profile params

func (*PublicDeleteProfileParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicDeleteProfileReader

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

PublicDeleteProfileReader is a Reader for the PublicDeleteProfile structure.

func (*PublicDeleteProfileReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicDeleteProfileUnauthorized

type PublicDeleteProfileUnauthorized struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicDeleteProfileUnauthorized 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 NewPublicDeleteProfileUnauthorized

func NewPublicDeleteProfileUnauthorized() *PublicDeleteProfileUnauthorized

NewPublicDeleteProfileUnauthorized creates a PublicDeleteProfileUnauthorized with default headers values

func (*PublicDeleteProfileUnauthorized) Error

func (*PublicDeleteProfileUnauthorized) GetPayload

func (*PublicDeleteProfileUnauthorized) ToJSONString

func (o *PublicDeleteProfileUnauthorized) ToJSONString() string

type PublicGetProfileAttributeForbidden

type PublicGetProfileAttributeForbidden struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicGetProfileAttributeForbidden 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 NewPublicGetProfileAttributeForbidden

func NewPublicGetProfileAttributeForbidden() *PublicGetProfileAttributeForbidden

NewPublicGetProfileAttributeForbidden creates a PublicGetProfileAttributeForbidden with default headers values

func (*PublicGetProfileAttributeForbidden) Error

func (*PublicGetProfileAttributeForbidden) GetPayload

func (*PublicGetProfileAttributeForbidden) ToJSONString

func (o *PublicGetProfileAttributeForbidden) ToJSONString() string

type PublicGetProfileAttributeInternalServerError

type PublicGetProfileAttributeInternalServerError struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicGetProfileAttributeInternalServerError handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20000</td><td>Internal server error</td></tr></table>

func NewPublicGetProfileAttributeInternalServerError

func NewPublicGetProfileAttributeInternalServerError() *PublicGetProfileAttributeInternalServerError

NewPublicGetProfileAttributeInternalServerError creates a PublicGetProfileAttributeInternalServerError with default headers values

func (*PublicGetProfileAttributeInternalServerError) Error

func (*PublicGetProfileAttributeInternalServerError) GetPayload

func (*PublicGetProfileAttributeInternalServerError) ToJSONString

type PublicGetProfileAttributeNotFound

type PublicGetProfileAttributeNotFound struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicGetProfileAttributeNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>12041</td><td>Game profile with id [{profileId}] is not found</td></tr></table>

func NewPublicGetProfileAttributeNotFound

func NewPublicGetProfileAttributeNotFound() *PublicGetProfileAttributeNotFound

NewPublicGetProfileAttributeNotFound creates a PublicGetProfileAttributeNotFound with default headers values

func (*PublicGetProfileAttributeNotFound) Error

func (*PublicGetProfileAttributeNotFound) GetPayload

func (*PublicGetProfileAttributeNotFound) ToJSONString

func (o *PublicGetProfileAttributeNotFound) ToJSONString() string

type PublicGetProfileAttributeOK

type PublicGetProfileAttributeOK struct {
	Payload *socialclientmodels.Attribute
}

PublicGetProfileAttributeOK handles this case with default header values.

successful operation

func NewPublicGetProfileAttributeOK

func NewPublicGetProfileAttributeOK() *PublicGetProfileAttributeOK

NewPublicGetProfileAttributeOK creates a PublicGetProfileAttributeOK with default headers values

func (*PublicGetProfileAttributeOK) Error

func (*PublicGetProfileAttributeOK) GetPayload

func (*PublicGetProfileAttributeOK) ToJSONString

func (o *PublicGetProfileAttributeOK) ToJSONString() string

type PublicGetProfileAttributeParams

type PublicGetProfileAttributeParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*AttributeName
	  Attribute Name

	*/
	AttributeName string
	/*Namespace
	  Namespace ID

	*/
	Namespace string
	/*ProfileID
	  Game profile ID

	*/
	ProfileID string
	/*UserID
	  User ID

	*/
	UserID string

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

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

func NewPublicGetProfileAttributeParams

func NewPublicGetProfileAttributeParams() *PublicGetProfileAttributeParams

NewPublicGetProfileAttributeParams creates a new PublicGetProfileAttributeParams object with the default values initialized.

func NewPublicGetProfileAttributeParamsWithContext

func NewPublicGetProfileAttributeParamsWithContext(ctx context.Context) *PublicGetProfileAttributeParams

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

func NewPublicGetProfileAttributeParamsWithHTTPClient

func NewPublicGetProfileAttributeParamsWithHTTPClient(client *http.Client) *PublicGetProfileAttributeParams

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

func NewPublicGetProfileAttributeParamsWithTimeout

func NewPublicGetProfileAttributeParamsWithTimeout(timeout time.Duration) *PublicGetProfileAttributeParams

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

func (*PublicGetProfileAttributeParams) SetAttributeName

func (o *PublicGetProfileAttributeParams) SetAttributeName(attributeName string)

SetAttributeName adds the attributeName to the public get profile attribute params

func (*PublicGetProfileAttributeParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public get profile attribute params

func (*PublicGetProfileAttributeParams) SetContext

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

SetContext adds the context to the public get profile attribute params

func (*PublicGetProfileAttributeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get profile attribute params

func (*PublicGetProfileAttributeParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public get profile attribute params

func (*PublicGetProfileAttributeParams) SetNamespace

func (o *PublicGetProfileAttributeParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get profile attribute params

func (*PublicGetProfileAttributeParams) SetProfileID

func (o *PublicGetProfileAttributeParams) SetProfileID(profileID string)

SetProfileID adds the profileId to the public get profile attribute params

func (*PublicGetProfileAttributeParams) SetTimeout

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

SetTimeout adds the timeout to the public get profile attribute params

func (*PublicGetProfileAttributeParams) SetUserID

func (o *PublicGetProfileAttributeParams) SetUserID(userID string)

SetUserID adds the userId to the public get profile attribute params

func (*PublicGetProfileAttributeParams) WithAttributeName

func (o *PublicGetProfileAttributeParams) WithAttributeName(attributeName string) *PublicGetProfileAttributeParams

WithAttributeName adds the attributeName to the public get profile attribute params

func (*PublicGetProfileAttributeParams) WithContext

WithContext adds the context to the public get profile attribute params

func (*PublicGetProfileAttributeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get profile attribute params

func (*PublicGetProfileAttributeParams) WithNamespace

WithNamespace adds the namespace to the public get profile attribute params

func (*PublicGetProfileAttributeParams) WithProfileID

WithProfileID adds the profileID to the public get profile attribute params

func (*PublicGetProfileAttributeParams) WithTimeout

WithTimeout adds the timeout to the public get profile attribute params

func (*PublicGetProfileAttributeParams) WithUserID

WithUserID adds the userID to the public get profile attribute params

func (*PublicGetProfileAttributeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetProfileAttributeReader

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

PublicGetProfileAttributeReader is a Reader for the PublicGetProfileAttribute structure.

func (*PublicGetProfileAttributeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetProfileAttributeUnauthorized

type PublicGetProfileAttributeUnauthorized struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicGetProfileAttributeUnauthorized 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 NewPublicGetProfileAttributeUnauthorized

func NewPublicGetProfileAttributeUnauthorized() *PublicGetProfileAttributeUnauthorized

NewPublicGetProfileAttributeUnauthorized creates a PublicGetProfileAttributeUnauthorized with default headers values

func (*PublicGetProfileAttributeUnauthorized) Error

func (*PublicGetProfileAttributeUnauthorized) GetPayload

func (*PublicGetProfileAttributeUnauthorized) ToJSONString

type PublicGetProfileForbidden

type PublicGetProfileForbidden struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicGetProfileForbidden 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 NewPublicGetProfileForbidden

func NewPublicGetProfileForbidden() *PublicGetProfileForbidden

NewPublicGetProfileForbidden creates a PublicGetProfileForbidden with default headers values

func (*PublicGetProfileForbidden) Error

func (o *PublicGetProfileForbidden) Error() string

func (*PublicGetProfileForbidden) GetPayload

func (*PublicGetProfileForbidden) ToJSONString

func (o *PublicGetProfileForbidden) ToJSONString() string

type PublicGetProfileInternalServerError

type PublicGetProfileInternalServerError struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicGetProfileInternalServerError handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20000</td><td>Internal server error</td></tr></table>

func NewPublicGetProfileInternalServerError

func NewPublicGetProfileInternalServerError() *PublicGetProfileInternalServerError

NewPublicGetProfileInternalServerError creates a PublicGetProfileInternalServerError with default headers values

func (*PublicGetProfileInternalServerError) Error

func (*PublicGetProfileInternalServerError) GetPayload

func (*PublicGetProfileInternalServerError) ToJSONString

func (o *PublicGetProfileInternalServerError) ToJSONString() string

type PublicGetProfileNotFound

type PublicGetProfileNotFound struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicGetProfileNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>12041</td><td>Game profile with id [{profileId}] is not found</td></tr></table>

func NewPublicGetProfileNotFound

func NewPublicGetProfileNotFound() *PublicGetProfileNotFound

NewPublicGetProfileNotFound creates a PublicGetProfileNotFound with default headers values

func (*PublicGetProfileNotFound) Error

func (o *PublicGetProfileNotFound) Error() string

func (*PublicGetProfileNotFound) GetPayload

func (*PublicGetProfileNotFound) ToJSONString

func (o *PublicGetProfileNotFound) ToJSONString() string

type PublicGetProfileOK

type PublicGetProfileOK struct {
	Payload *socialclientmodels.GameProfileInfo
}

PublicGetProfileOK handles this case with default header values.

successful operation

func NewPublicGetProfileOK

func NewPublicGetProfileOK() *PublicGetProfileOK

NewPublicGetProfileOK creates a PublicGetProfileOK with default headers values

func (*PublicGetProfileOK) Error

func (o *PublicGetProfileOK) Error() string

func (*PublicGetProfileOK) GetPayload

func (*PublicGetProfileOK) ToJSONString

func (o *PublicGetProfileOK) ToJSONString() string

type PublicGetProfileParams

type PublicGetProfileParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace ID

	*/
	Namespace string
	/*ProfileID
	  Game profile ID

	*/
	ProfileID string
	/*UserID
	  User ID

	*/
	UserID string

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

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

func NewPublicGetProfileParams

func NewPublicGetProfileParams() *PublicGetProfileParams

NewPublicGetProfileParams creates a new PublicGetProfileParams object with the default values initialized.

func NewPublicGetProfileParamsWithContext

func NewPublicGetProfileParamsWithContext(ctx context.Context) *PublicGetProfileParams

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

func NewPublicGetProfileParamsWithHTTPClient

func NewPublicGetProfileParamsWithHTTPClient(client *http.Client) *PublicGetProfileParams

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

func NewPublicGetProfileParamsWithTimeout

func NewPublicGetProfileParamsWithTimeout(timeout time.Duration) *PublicGetProfileParams

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

func (*PublicGetProfileParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public get profile params

func (*PublicGetProfileParams) SetContext

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

SetContext adds the context to the public get profile params

func (*PublicGetProfileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get profile params

func (*PublicGetProfileParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public get profile params

func (*PublicGetProfileParams) SetNamespace

func (o *PublicGetProfileParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get profile params

func (*PublicGetProfileParams) SetProfileID

func (o *PublicGetProfileParams) SetProfileID(profileID string)

SetProfileID adds the profileId to the public get profile params

func (*PublicGetProfileParams) SetTimeout

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

SetTimeout adds the timeout to the public get profile params

func (*PublicGetProfileParams) SetUserID

func (o *PublicGetProfileParams) SetUserID(userID string)

SetUserID adds the userId to the public get profile params

func (*PublicGetProfileParams) WithContext

WithContext adds the context to the public get profile params

func (*PublicGetProfileParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the public get profile params

func (*PublicGetProfileParams) WithNamespace

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

WithNamespace adds the namespace to the public get profile params

func (*PublicGetProfileParams) WithProfileID

func (o *PublicGetProfileParams) WithProfileID(profileID string) *PublicGetProfileParams

WithProfileID adds the profileID to the public get profile params

func (*PublicGetProfileParams) WithTimeout

WithTimeout adds the timeout to the public get profile params

func (*PublicGetProfileParams) WithUserID

func (o *PublicGetProfileParams) WithUserID(userID string) *PublicGetProfileParams

WithUserID adds the userID to the public get profile params

func (*PublicGetProfileParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetProfileReader

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

PublicGetProfileReader is a Reader for the PublicGetProfile structure.

func (*PublicGetProfileReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetProfileUnauthorized

type PublicGetProfileUnauthorized struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicGetProfileUnauthorized 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 NewPublicGetProfileUnauthorized

func NewPublicGetProfileUnauthorized() *PublicGetProfileUnauthorized

NewPublicGetProfileUnauthorized creates a PublicGetProfileUnauthorized with default headers values

func (*PublicGetProfileUnauthorized) Error

func (*PublicGetProfileUnauthorized) GetPayload

func (*PublicGetProfileUnauthorized) ToJSONString

func (o *PublicGetProfileUnauthorized) ToJSONString() string

type PublicGetUserGameProfilesBadRequest

type PublicGetUserGameProfilesBadRequest struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicGetUserGameProfilesBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>12021</td><td>{totalUser} users is requested. Cannot retrieve more than {limitUser} users at once</td></tr></table>

func NewPublicGetUserGameProfilesBadRequest

func NewPublicGetUserGameProfilesBadRequest() *PublicGetUserGameProfilesBadRequest

NewPublicGetUserGameProfilesBadRequest creates a PublicGetUserGameProfilesBadRequest with default headers values

func (*PublicGetUserGameProfilesBadRequest) Error

func (*PublicGetUserGameProfilesBadRequest) GetPayload

func (*PublicGetUserGameProfilesBadRequest) ToJSONString

func (o *PublicGetUserGameProfilesBadRequest) ToJSONString() string

type PublicGetUserGameProfilesForbidden

type PublicGetUserGameProfilesForbidden struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicGetUserGameProfilesForbidden 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 NewPublicGetUserGameProfilesForbidden

func NewPublicGetUserGameProfilesForbidden() *PublicGetUserGameProfilesForbidden

NewPublicGetUserGameProfilesForbidden creates a PublicGetUserGameProfilesForbidden with default headers values

func (*PublicGetUserGameProfilesForbidden) Error

func (*PublicGetUserGameProfilesForbidden) GetPayload

func (*PublicGetUserGameProfilesForbidden) ToJSONString

func (o *PublicGetUserGameProfilesForbidden) ToJSONString() string

type PublicGetUserGameProfilesInternalServerError

type PublicGetUserGameProfilesInternalServerError struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicGetUserGameProfilesInternalServerError handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20000</td><td>Internal server error</td></tr></table>

func NewPublicGetUserGameProfilesInternalServerError

func NewPublicGetUserGameProfilesInternalServerError() *PublicGetUserGameProfilesInternalServerError

NewPublicGetUserGameProfilesInternalServerError creates a PublicGetUserGameProfilesInternalServerError with default headers values

func (*PublicGetUserGameProfilesInternalServerError) Error

func (*PublicGetUserGameProfilesInternalServerError) GetPayload

func (*PublicGetUserGameProfilesInternalServerError) ToJSONString

type PublicGetUserGameProfilesOK

type PublicGetUserGameProfilesOK struct {
	Payload []*socialclientmodels.UserGameProfiles
}

PublicGetUserGameProfilesOK handles this case with default header values.

successful operation

func NewPublicGetUserGameProfilesOK

func NewPublicGetUserGameProfilesOK() *PublicGetUserGameProfilesOK

NewPublicGetUserGameProfilesOK creates a PublicGetUserGameProfilesOK with default headers values

func (*PublicGetUserGameProfilesOK) Error

func (*PublicGetUserGameProfilesOK) GetPayload

func (*PublicGetUserGameProfilesOK) ToJSONString

func (o *PublicGetUserGameProfilesOK) ToJSONString() string

type PublicGetUserGameProfilesParams

type PublicGetUserGameProfilesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace ID

	*/
	Namespace string
	/*UserIds
	  User IDs

	*/
	UserIds []string

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

PublicGetUserGameProfilesParams contains all the parameters to send to the API endpoint for the public get user game profiles operation typically these are written to a http.Request

func NewPublicGetUserGameProfilesParams

func NewPublicGetUserGameProfilesParams() *PublicGetUserGameProfilesParams

NewPublicGetUserGameProfilesParams creates a new PublicGetUserGameProfilesParams object with the default values initialized.

func NewPublicGetUserGameProfilesParamsWithContext

func NewPublicGetUserGameProfilesParamsWithContext(ctx context.Context) *PublicGetUserGameProfilesParams

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

func NewPublicGetUserGameProfilesParamsWithHTTPClient

func NewPublicGetUserGameProfilesParamsWithHTTPClient(client *http.Client) *PublicGetUserGameProfilesParams

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

func NewPublicGetUserGameProfilesParamsWithTimeout

func NewPublicGetUserGameProfilesParamsWithTimeout(timeout time.Duration) *PublicGetUserGameProfilesParams

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

func (*PublicGetUserGameProfilesParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public get user game profiles params

func (*PublicGetUserGameProfilesParams) SetContext

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

SetContext adds the context to the public get user game profiles params

func (*PublicGetUserGameProfilesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get user game profiles params

func (*PublicGetUserGameProfilesParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public get user game profiles params

func (*PublicGetUserGameProfilesParams) SetNamespace

func (o *PublicGetUserGameProfilesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get user game profiles params

func (*PublicGetUserGameProfilesParams) SetTimeout

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

SetTimeout adds the timeout to the public get user game profiles params

func (*PublicGetUserGameProfilesParams) SetUserIds

func (o *PublicGetUserGameProfilesParams) SetUserIds(userIds []string)

SetUserIds adds the userIds to the public get user game profiles params

func (*PublicGetUserGameProfilesParams) WithContext

WithContext adds the context to the public get user game profiles params

func (*PublicGetUserGameProfilesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get user game profiles params

func (*PublicGetUserGameProfilesParams) WithNamespace

WithNamespace adds the namespace to the public get user game profiles params

func (*PublicGetUserGameProfilesParams) WithTimeout

WithTimeout adds the timeout to the public get user game profiles params

func (*PublicGetUserGameProfilesParams) WithUserIds

WithUserIds adds the userIds to the public get user game profiles params

func (*PublicGetUserGameProfilesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetUserGameProfilesReader

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

PublicGetUserGameProfilesReader is a Reader for the PublicGetUserGameProfiles structure.

func (*PublicGetUserGameProfilesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetUserGameProfilesUnauthorized

type PublicGetUserGameProfilesUnauthorized struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicGetUserGameProfilesUnauthorized 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 NewPublicGetUserGameProfilesUnauthorized

func NewPublicGetUserGameProfilesUnauthorized() *PublicGetUserGameProfilesUnauthorized

NewPublicGetUserGameProfilesUnauthorized creates a PublicGetUserGameProfilesUnauthorized with default headers values

func (*PublicGetUserGameProfilesUnauthorized) Error

func (*PublicGetUserGameProfilesUnauthorized) GetPayload

func (*PublicGetUserGameProfilesUnauthorized) ToJSONString

type PublicGetUserProfilesForbidden

type PublicGetUserProfilesForbidden struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicGetUserProfilesForbidden 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 NewPublicGetUserProfilesForbidden

func NewPublicGetUserProfilesForbidden() *PublicGetUserProfilesForbidden

NewPublicGetUserProfilesForbidden creates a PublicGetUserProfilesForbidden with default headers values

func (*PublicGetUserProfilesForbidden) Error

func (*PublicGetUserProfilesForbidden) GetPayload

func (*PublicGetUserProfilesForbidden) ToJSONString

func (o *PublicGetUserProfilesForbidden) ToJSONString() string

type PublicGetUserProfilesInternalServerError

type PublicGetUserProfilesInternalServerError struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicGetUserProfilesInternalServerError handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20000</td><td>Internal server error</td></tr></table>

func NewPublicGetUserProfilesInternalServerError

func NewPublicGetUserProfilesInternalServerError() *PublicGetUserProfilesInternalServerError

NewPublicGetUserProfilesInternalServerError creates a PublicGetUserProfilesInternalServerError with default headers values

func (*PublicGetUserProfilesInternalServerError) Error

func (*PublicGetUserProfilesInternalServerError) GetPayload

func (*PublicGetUserProfilesInternalServerError) ToJSONString

type PublicGetUserProfilesOK

type PublicGetUserProfilesOK struct {
	Payload []*socialclientmodels.GameProfileHeader
}

PublicGetUserProfilesOK handles this case with default header values.

successful operation

func NewPublicGetUserProfilesOK

func NewPublicGetUserProfilesOK() *PublicGetUserProfilesOK

NewPublicGetUserProfilesOK creates a PublicGetUserProfilesOK with default headers values

func (*PublicGetUserProfilesOK) Error

func (o *PublicGetUserProfilesOK) Error() string

func (*PublicGetUserProfilesOK) GetPayload

func (*PublicGetUserProfilesOK) ToJSONString

func (o *PublicGetUserProfilesOK) ToJSONString() string

type PublicGetUserProfilesParams

type PublicGetUserProfilesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace ID

	*/
	Namespace string
	/*UserID
	  User ID

	*/
	UserID string

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

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

func NewPublicGetUserProfilesParams

func NewPublicGetUserProfilesParams() *PublicGetUserProfilesParams

NewPublicGetUserProfilesParams creates a new PublicGetUserProfilesParams object with the default values initialized.

func NewPublicGetUserProfilesParamsWithContext

func NewPublicGetUserProfilesParamsWithContext(ctx context.Context) *PublicGetUserProfilesParams

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

func NewPublicGetUserProfilesParamsWithHTTPClient

func NewPublicGetUserProfilesParamsWithHTTPClient(client *http.Client) *PublicGetUserProfilesParams

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

func NewPublicGetUserProfilesParamsWithTimeout

func NewPublicGetUserProfilesParamsWithTimeout(timeout time.Duration) *PublicGetUserProfilesParams

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

func (*PublicGetUserProfilesParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public get user profiles params

func (*PublicGetUserProfilesParams) SetContext

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

SetContext adds the context to the public get user profiles params

func (*PublicGetUserProfilesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get user profiles params

func (*PublicGetUserProfilesParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public get user profiles params

func (*PublicGetUserProfilesParams) SetNamespace

func (o *PublicGetUserProfilesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get user profiles params

func (*PublicGetUserProfilesParams) SetTimeout

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

SetTimeout adds the timeout to the public get user profiles params

func (*PublicGetUserProfilesParams) SetUserID

func (o *PublicGetUserProfilesParams) SetUserID(userID string)

SetUserID adds the userId to the public get user profiles params

func (*PublicGetUserProfilesParams) WithContext

WithContext adds the context to the public get user profiles params

func (*PublicGetUserProfilesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get user profiles params

func (*PublicGetUserProfilesParams) WithNamespace

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

WithNamespace adds the namespace to the public get user profiles params

func (*PublicGetUserProfilesParams) WithTimeout

WithTimeout adds the timeout to the public get user profiles params

func (*PublicGetUserProfilesParams) WithUserID

WithUserID adds the userID to the public get user profiles params

func (*PublicGetUserProfilesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetUserProfilesReader

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

PublicGetUserProfilesReader is a Reader for the PublicGetUserProfiles structure.

func (*PublicGetUserProfilesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetUserProfilesUnauthorized

type PublicGetUserProfilesUnauthorized struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicGetUserProfilesUnauthorized 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 NewPublicGetUserProfilesUnauthorized

func NewPublicGetUserProfilesUnauthorized() *PublicGetUserProfilesUnauthorized

NewPublicGetUserProfilesUnauthorized creates a PublicGetUserProfilesUnauthorized with default headers values

func (*PublicGetUserProfilesUnauthorized) Error

func (*PublicGetUserProfilesUnauthorized) GetPayload

func (*PublicGetUserProfilesUnauthorized) ToJSONString

func (o *PublicGetUserProfilesUnauthorized) ToJSONString() string

type PublicUpdateAttributeBadRequest

type PublicUpdateAttributeBadRequest struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicUpdateAttributeBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>12022</td><td>Game profile attribute name [{attrName1}] passed in request url mismatch the name [{attrName2}] in body</td></tr></table>

func NewPublicUpdateAttributeBadRequest

func NewPublicUpdateAttributeBadRequest() *PublicUpdateAttributeBadRequest

NewPublicUpdateAttributeBadRequest creates a PublicUpdateAttributeBadRequest with default headers values

func (*PublicUpdateAttributeBadRequest) Error

func (*PublicUpdateAttributeBadRequest) GetPayload

func (*PublicUpdateAttributeBadRequest) ToJSONString

func (o *PublicUpdateAttributeBadRequest) ToJSONString() string

type PublicUpdateAttributeForbidden

type PublicUpdateAttributeForbidden struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicUpdateAttributeForbidden 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 NewPublicUpdateAttributeForbidden

func NewPublicUpdateAttributeForbidden() *PublicUpdateAttributeForbidden

NewPublicUpdateAttributeForbidden creates a PublicUpdateAttributeForbidden with default headers values

func (*PublicUpdateAttributeForbidden) Error

func (*PublicUpdateAttributeForbidden) GetPayload

func (*PublicUpdateAttributeForbidden) ToJSONString

func (o *PublicUpdateAttributeForbidden) ToJSONString() string

type PublicUpdateAttributeInternalServerError

type PublicUpdateAttributeInternalServerError struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicUpdateAttributeInternalServerError handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20000</td><td>Internal server error</td></tr></table>

func NewPublicUpdateAttributeInternalServerError

func NewPublicUpdateAttributeInternalServerError() *PublicUpdateAttributeInternalServerError

NewPublicUpdateAttributeInternalServerError creates a PublicUpdateAttributeInternalServerError with default headers values

func (*PublicUpdateAttributeInternalServerError) Error

func (*PublicUpdateAttributeInternalServerError) GetPayload

func (*PublicUpdateAttributeInternalServerError) ToJSONString

type PublicUpdateAttributeNotFound

type PublicUpdateAttributeNotFound struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicUpdateAttributeNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>12041</td><td>Game profile with id [{profileId}] is not found</td></tr></table>

func NewPublicUpdateAttributeNotFound

func NewPublicUpdateAttributeNotFound() *PublicUpdateAttributeNotFound

NewPublicUpdateAttributeNotFound creates a PublicUpdateAttributeNotFound with default headers values

func (*PublicUpdateAttributeNotFound) Error

func (*PublicUpdateAttributeNotFound) GetPayload

func (*PublicUpdateAttributeNotFound) ToJSONString

func (o *PublicUpdateAttributeNotFound) ToJSONString() string

type PublicUpdateAttributeOK

type PublicUpdateAttributeOK struct {
	Payload *socialclientmodels.GameProfileInfo
}

PublicUpdateAttributeOK handles this case with default header values.

successful operation

func NewPublicUpdateAttributeOK

func NewPublicUpdateAttributeOK() *PublicUpdateAttributeOK

NewPublicUpdateAttributeOK creates a PublicUpdateAttributeOK with default headers values

func (*PublicUpdateAttributeOK) Error

func (o *PublicUpdateAttributeOK) Error() string

func (*PublicUpdateAttributeOK) GetPayload

func (*PublicUpdateAttributeOK) ToJSONString

func (o *PublicUpdateAttributeOK) ToJSONString() string

type PublicUpdateAttributeParams

type PublicUpdateAttributeParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *socialclientmodels.Attribute
	/*AttributeName
	  Attribute Name

	*/
	AttributeName string
	/*Namespace
	  Namespace ID

	*/
	Namespace string
	/*ProfileID
	  Game profile ID

	*/
	ProfileID string
	/*UserID
	  User ID

	*/
	UserID string

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

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

func NewPublicUpdateAttributeParams

func NewPublicUpdateAttributeParams() *PublicUpdateAttributeParams

NewPublicUpdateAttributeParams creates a new PublicUpdateAttributeParams object with the default values initialized.

func NewPublicUpdateAttributeParamsWithContext

func NewPublicUpdateAttributeParamsWithContext(ctx context.Context) *PublicUpdateAttributeParams

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

func NewPublicUpdateAttributeParamsWithHTTPClient

func NewPublicUpdateAttributeParamsWithHTTPClient(client *http.Client) *PublicUpdateAttributeParams

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

func NewPublicUpdateAttributeParamsWithTimeout

func NewPublicUpdateAttributeParamsWithTimeout(timeout time.Duration) *PublicUpdateAttributeParams

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

func (*PublicUpdateAttributeParams) SetAttributeName

func (o *PublicUpdateAttributeParams) SetAttributeName(attributeName string)

SetAttributeName adds the attributeName to the public update attribute params

func (*PublicUpdateAttributeParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public update attribute params

func (*PublicUpdateAttributeParams) SetBody

SetBody adds the body to the public update attribute params

func (*PublicUpdateAttributeParams) SetContext

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

SetContext adds the context to the public update attribute params

func (*PublicUpdateAttributeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public update attribute params

func (*PublicUpdateAttributeParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public update attribute params

func (*PublicUpdateAttributeParams) SetNamespace

func (o *PublicUpdateAttributeParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public update attribute params

func (*PublicUpdateAttributeParams) SetProfileID

func (o *PublicUpdateAttributeParams) SetProfileID(profileID string)

SetProfileID adds the profileId to the public update attribute params

func (*PublicUpdateAttributeParams) SetTimeout

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

SetTimeout adds the timeout to the public update attribute params

func (*PublicUpdateAttributeParams) SetUserID

func (o *PublicUpdateAttributeParams) SetUserID(userID string)

SetUserID adds the userId to the public update attribute params

func (*PublicUpdateAttributeParams) WithAttributeName

func (o *PublicUpdateAttributeParams) WithAttributeName(attributeName string) *PublicUpdateAttributeParams

WithAttributeName adds the attributeName to the public update attribute params

func (*PublicUpdateAttributeParams) WithBody

WithBody adds the body to the public update attribute params

func (*PublicUpdateAttributeParams) WithContext

WithContext adds the context to the public update attribute params

func (*PublicUpdateAttributeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public update attribute params

func (*PublicUpdateAttributeParams) WithNamespace

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

WithNamespace adds the namespace to the public update attribute params

func (*PublicUpdateAttributeParams) WithProfileID

func (o *PublicUpdateAttributeParams) WithProfileID(profileID string) *PublicUpdateAttributeParams

WithProfileID adds the profileID to the public update attribute params

func (*PublicUpdateAttributeParams) WithTimeout

WithTimeout adds the timeout to the public update attribute params

func (*PublicUpdateAttributeParams) WithUserID

WithUserID adds the userID to the public update attribute params

func (*PublicUpdateAttributeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicUpdateAttributeReader

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

PublicUpdateAttributeReader is a Reader for the PublicUpdateAttribute structure.

func (*PublicUpdateAttributeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicUpdateAttributeUnauthorized

type PublicUpdateAttributeUnauthorized struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicUpdateAttributeUnauthorized 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 NewPublicUpdateAttributeUnauthorized

func NewPublicUpdateAttributeUnauthorized() *PublicUpdateAttributeUnauthorized

NewPublicUpdateAttributeUnauthorized creates a PublicUpdateAttributeUnauthorized with default headers values

func (*PublicUpdateAttributeUnauthorized) Error

func (*PublicUpdateAttributeUnauthorized) GetPayload

func (*PublicUpdateAttributeUnauthorized) ToJSONString

func (o *PublicUpdateAttributeUnauthorized) ToJSONString() string

type PublicUpdateAttributeUnprocessableEntity

type PublicUpdateAttributeUnprocessableEntity struct {
	Payload *socialclientmodels.ValidationErrorEntity
}

PublicUpdateAttributeUnprocessableEntity 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 NewPublicUpdateAttributeUnprocessableEntity

func NewPublicUpdateAttributeUnprocessableEntity() *PublicUpdateAttributeUnprocessableEntity

NewPublicUpdateAttributeUnprocessableEntity creates a PublicUpdateAttributeUnprocessableEntity with default headers values

func (*PublicUpdateAttributeUnprocessableEntity) Error

func (*PublicUpdateAttributeUnprocessableEntity) GetPayload

func (*PublicUpdateAttributeUnprocessableEntity) ToJSONString

type PublicUpdateProfileBadRequest

type PublicUpdateProfileBadRequest struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicUpdateProfileBadRequest handles this case with default header values.

Bad request

func NewPublicUpdateProfileBadRequest

func NewPublicUpdateProfileBadRequest() *PublicUpdateProfileBadRequest

NewPublicUpdateProfileBadRequest creates a PublicUpdateProfileBadRequest with default headers values

func (*PublicUpdateProfileBadRequest) Error

func (*PublicUpdateProfileBadRequest) GetPayload

func (*PublicUpdateProfileBadRequest) ToJSONString

func (o *PublicUpdateProfileBadRequest) ToJSONString() string

type PublicUpdateProfileForbidden

type PublicUpdateProfileForbidden struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicUpdateProfileForbidden 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 NewPublicUpdateProfileForbidden

func NewPublicUpdateProfileForbidden() *PublicUpdateProfileForbidden

NewPublicUpdateProfileForbidden creates a PublicUpdateProfileForbidden with default headers values

func (*PublicUpdateProfileForbidden) Error

func (*PublicUpdateProfileForbidden) GetPayload

func (*PublicUpdateProfileForbidden) ToJSONString

func (o *PublicUpdateProfileForbidden) ToJSONString() string

type PublicUpdateProfileInternalServerError

type PublicUpdateProfileInternalServerError struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicUpdateProfileInternalServerError handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20000</td><td>Internal server error</td></tr></table>

func NewPublicUpdateProfileInternalServerError

func NewPublicUpdateProfileInternalServerError() *PublicUpdateProfileInternalServerError

NewPublicUpdateProfileInternalServerError creates a PublicUpdateProfileInternalServerError with default headers values

func (*PublicUpdateProfileInternalServerError) Error

func (*PublicUpdateProfileInternalServerError) GetPayload

func (*PublicUpdateProfileInternalServerError) ToJSONString

type PublicUpdateProfileNotFound

type PublicUpdateProfileNotFound struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicUpdateProfileNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>12041</td><td>Game profile with id [{profileId}] is not found</td></tr></table>

func NewPublicUpdateProfileNotFound

func NewPublicUpdateProfileNotFound() *PublicUpdateProfileNotFound

NewPublicUpdateProfileNotFound creates a PublicUpdateProfileNotFound with default headers values

func (*PublicUpdateProfileNotFound) Error

func (*PublicUpdateProfileNotFound) GetPayload

func (*PublicUpdateProfileNotFound) ToJSONString

func (o *PublicUpdateProfileNotFound) ToJSONString() string

type PublicUpdateProfileOK

type PublicUpdateProfileOK struct {
	Payload *socialclientmodels.GameProfileInfo
}

PublicUpdateProfileOK handles this case with default header values.

successful operation

func NewPublicUpdateProfileOK

func NewPublicUpdateProfileOK() *PublicUpdateProfileOK

NewPublicUpdateProfileOK creates a PublicUpdateProfileOK with default headers values

func (*PublicUpdateProfileOK) Error

func (o *PublicUpdateProfileOK) Error() string

func (*PublicUpdateProfileOK) GetPayload

func (*PublicUpdateProfileOK) ToJSONString

func (o *PublicUpdateProfileOK) ToJSONString() string

type PublicUpdateProfileParams

type PublicUpdateProfileParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *socialclientmodels.GameProfileRequest
	/*Namespace
	  Namespace ID

	*/
	Namespace string
	/*ProfileID
	  Game profile ID

	*/
	ProfileID string
	/*UserID
	  User ID

	*/
	UserID string

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

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

func NewPublicUpdateProfileParams

func NewPublicUpdateProfileParams() *PublicUpdateProfileParams

NewPublicUpdateProfileParams creates a new PublicUpdateProfileParams object with the default values initialized.

func NewPublicUpdateProfileParamsWithContext

func NewPublicUpdateProfileParamsWithContext(ctx context.Context) *PublicUpdateProfileParams

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

func NewPublicUpdateProfileParamsWithHTTPClient

func NewPublicUpdateProfileParamsWithHTTPClient(client *http.Client) *PublicUpdateProfileParams

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

func NewPublicUpdateProfileParamsWithTimeout

func NewPublicUpdateProfileParamsWithTimeout(timeout time.Duration) *PublicUpdateProfileParams

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

func (*PublicUpdateProfileParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public update profile params

func (*PublicUpdateProfileParams) SetBody

SetBody adds the body to the public update profile params

func (*PublicUpdateProfileParams) SetContext

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

SetContext adds the context to the public update profile params

func (*PublicUpdateProfileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public update profile params

func (*PublicUpdateProfileParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public update profile params

func (*PublicUpdateProfileParams) SetNamespace

func (o *PublicUpdateProfileParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public update profile params

func (*PublicUpdateProfileParams) SetProfileID

func (o *PublicUpdateProfileParams) SetProfileID(profileID string)

SetProfileID adds the profileId to the public update profile params

func (*PublicUpdateProfileParams) SetTimeout

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

SetTimeout adds the timeout to the public update profile params

func (*PublicUpdateProfileParams) SetUserID

func (o *PublicUpdateProfileParams) SetUserID(userID string)

SetUserID adds the userId to the public update profile params

func (*PublicUpdateProfileParams) WithBody

WithBody adds the body to the public update profile params

func (*PublicUpdateProfileParams) WithContext

WithContext adds the context to the public update profile params

func (*PublicUpdateProfileParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the public update profile params

func (*PublicUpdateProfileParams) WithNamespace

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

WithNamespace adds the namespace to the public update profile params

func (*PublicUpdateProfileParams) WithProfileID

func (o *PublicUpdateProfileParams) WithProfileID(profileID string) *PublicUpdateProfileParams

WithProfileID adds the profileID to the public update profile params

func (*PublicUpdateProfileParams) WithTimeout

WithTimeout adds the timeout to the public update profile params

func (*PublicUpdateProfileParams) WithUserID

WithUserID adds the userID to the public update profile params

func (*PublicUpdateProfileParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicUpdateProfileReader

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

PublicUpdateProfileReader is a Reader for the PublicUpdateProfile structure.

func (*PublicUpdateProfileReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicUpdateProfileUnauthorized

type PublicUpdateProfileUnauthorized struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicUpdateProfileUnauthorized 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 NewPublicUpdateProfileUnauthorized

func NewPublicUpdateProfileUnauthorized() *PublicUpdateProfileUnauthorized

NewPublicUpdateProfileUnauthorized creates a PublicUpdateProfileUnauthorized with default headers values

func (*PublicUpdateProfileUnauthorized) Error

func (*PublicUpdateProfileUnauthorized) GetPayload

func (*PublicUpdateProfileUnauthorized) ToJSONString

func (o *PublicUpdateProfileUnauthorized) ToJSONString() string

type PublicUpdateProfileUnprocessableEntity

type PublicUpdateProfileUnprocessableEntity struct {
	Payload *socialclientmodels.ValidationErrorEntity
}

PublicUpdateProfileUnprocessableEntity 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 NewPublicUpdateProfileUnprocessableEntity

func NewPublicUpdateProfileUnprocessableEntity() *PublicUpdateProfileUnprocessableEntity

NewPublicUpdateProfileUnprocessableEntity creates a PublicUpdateProfileUnprocessableEntity with default headers values

func (*PublicUpdateProfileUnprocessableEntity) Error

func (*PublicUpdateProfileUnprocessableEntity) GetPayload

func (*PublicUpdateProfileUnprocessableEntity) ToJSONString

Jump to

Keyboard shortcuts

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