game_profile

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: MIT Imports: 14 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

GetProfile returns profile for a user

Returns profile for a user.<br>Other detail info:<ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:GAMEPROFILE", action=2 (READ)</li><li><i>Returns</i>: game profile info</li></ul>

func (*Client) GetProfileShort added in v0.8.0

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

func (*Client) GetUserProfiles

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

GetUserProfiles returns all profiles header for a user

Returns all profiles' header for a user.<br>Other detail info:<ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:GAMEPROFILE", action=2 (READ)</li><li><i>Returns</i>: list of profiles</li></ul>

func (*Client) GetUserProfilesShort added in v0.8.0

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

func (*Client) PublicCreateProfile

PublicCreateProfile creates a new profile for user

Create new profile for user.<br>Other detail info:<ul><li><i>Required permission</li>: resource="NAMESPACE:{namespace}:USER:{userId}:GAMEPROFILE", action=1 (CREATE)</li><li><i>Returns</li>: created game profile</li></ul>

func (*Client) PublicCreateProfileShort added in v0.8.0

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

func (*Client) PublicDeleteProfile

PublicDeleteProfile deletes game profile

Deletes game profile.<br>Other detail info:<ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:GAMEPROFILE", action=8 (DELETE)</li></ul>

func (*Client) PublicDeleteProfileShort added in v0.8.0

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

func (*Client) PublicGetProfile

PublicGetProfile returns profile for a user

Returns profile for a user.<br>Other detail info:<ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:GAMEPROFILE", action=2 (READ)</li><li><i>Returns</i>: game profile info</li></ul>

func (*Client) PublicGetProfileAttribute

PublicGetProfileAttribute returns game profile attribute

Returns game profile attribute.<br>Other detail info:<ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:GAMEPROFILE", action=2 (READ)</li><li><i>Returns</i>: attribute info</li></ul>

func (*Client) PublicGetProfileAttributeShort added in v0.8.0

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

func (*Client) PublicGetProfileShort added in v0.8.0

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

func (*Client) PublicGetUserGameProfiles

PublicGetUserGameProfiles returns all profiles for specified users

Returns all profiles for specified users.<br>Other detail info:<ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:GAMEPROFILE", action=2 (READ)

<li><i>Returns</i>: list of profiles</ul>

func (*Client) PublicGetUserGameProfilesShort added in v0.8.0

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

func (*Client) PublicGetUserProfiles

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

PublicGetUserProfiles returns all profiles header for a user

Returns all profiles' header for a user.<br>Other detail info:<ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:GAMEPROFILE", action=2 (READ)</li><li><i>Returns</i>: list of profiles</li></ul>

func (*Client) PublicGetUserProfilesShort added in v0.8.0

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

func (*Client) PublicUpdateAttribute

PublicUpdateAttribute updates game profile attribute

Updates game profile attribute, returns updated profile.<br>Other detail info:<ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:GAMEPROFILE", action=4 (UPDATE)</li><li><i>Returns</i>: updated attribute</li></ul>

func (*Client) PublicUpdateAttributeShort added in v0.8.0

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

func (*Client) PublicUpdateProfile

PublicUpdateProfile updates user game profile

Updates user game profile, returns updated profile.<br>Other detail info:<ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:GAMEPROFILE", action=4 (UPDATE)</li><li><i>Returns</i>: updated game profile</li></ul>

func (*Client) PublicUpdateProfileShort added in v0.8.0

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

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	GetProfile(params *GetProfileParams, authInfo runtime.ClientAuthInfoWriter) (*GetProfileOK, *GetProfileNotFound, error)
	GetProfileShort(params *GetProfileParams, authInfo runtime.ClientAuthInfoWriter) (*GetProfileOK, error)
	GetUserProfiles(params *GetUserProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserProfilesOK, error)
	GetUserProfilesShort(params *GetUserProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserProfilesOK, error)
	PublicCreateProfile(params *PublicCreateProfileParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateProfileCreated, *PublicCreateProfileUnprocessableEntity, error)
	PublicCreateProfileShort(params *PublicCreateProfileParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateProfileCreated, error)
	PublicDeleteProfile(params *PublicDeleteProfileParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDeleteProfileNoContent, *PublicDeleteProfileNotFound, error)
	PublicDeleteProfileShort(params *PublicDeleteProfileParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDeleteProfileNoContent, error)
	PublicGetProfile(params *PublicGetProfileParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetProfileOK, *PublicGetProfileNotFound, error)
	PublicGetProfileShort(params *PublicGetProfileParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetProfileOK, error)
	PublicGetProfileAttribute(params *PublicGetProfileAttributeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetProfileAttributeOK, *PublicGetProfileAttributeNotFound, error)
	PublicGetProfileAttributeShort(params *PublicGetProfileAttributeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetProfileAttributeOK, error)
	PublicGetUserGameProfiles(params *PublicGetUserGameProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserGameProfilesOK, *PublicGetUserGameProfilesBadRequest, error)
	PublicGetUserGameProfilesShort(params *PublicGetUserGameProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserGameProfilesOK, error)
	PublicGetUserProfiles(params *PublicGetUserProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserProfilesOK, error)
	PublicGetUserProfilesShort(params *PublicGetUserProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserProfilesOK, error)
	PublicUpdateAttribute(params *PublicUpdateAttributeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateAttributeOK, *PublicUpdateAttributeBadRequest, *PublicUpdateAttributeNotFound, error)
	PublicUpdateAttributeShort(params *PublicUpdateAttributeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateAttributeOK, error)
	PublicUpdateProfile(params *PublicUpdateProfileParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateProfileOK, *PublicUpdateProfileNotFound, *PublicUpdateProfileUnprocessableEntity, error)
	PublicUpdateProfileShort(params *PublicUpdateProfileParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateProfileOK, 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 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

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

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 added in v0.17.0

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 added in v0.19.0

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

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 added in v0.17.0

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 added in v0.19.0

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 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 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 added in v0.17.0

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 added in v0.19.0

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

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

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 added in v0.17.0

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 added in v0.19.0

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

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

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 added in v0.17.0

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 added in v0.19.0

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

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

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 added in v0.17.0

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 added in v0.19.0

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

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

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 added in v0.17.0

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 added in v0.19.0

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

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 added in v0.17.0

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 added in v0.19.0

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

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

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

type PublicUpdateAttributeParams

type PublicUpdateAttributeParams struct {

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

	*/
	AttributeName string
	/*Body*/
	Body *socialclientmodels.Attribute
	/*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 added in v0.17.0

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 added in v0.19.0

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

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

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 added in v0.17.0

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 added in v0.19.0

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

Jump to

Keyboard shortcuts

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