Documentation
¶
Index ¶
- type Client
- func (a *Client) GetProfile(params *GetProfileParams, authInfo runtime.ClientAuthInfoWriter) (*GetProfileOK, *GetProfileNotFound, error)
- func (a *Client) GetProfileShort(params *GetProfileParams, authInfo runtime.ClientAuthInfoWriter) (*GetProfileOK, error)
- func (a *Client) GetUserProfiles(params *GetUserProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserProfilesOK, error)
- func (a *Client) GetUserProfilesShort(params *GetUserProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserProfilesOK, error)
- func (a *Client) PublicCreateProfile(params *PublicCreateProfileParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateProfileCreated, *PublicCreateProfileUnprocessableEntity, error)
- func (a *Client) PublicCreateProfileShort(params *PublicCreateProfileParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateProfileCreated, error)
- func (a *Client) PublicDeleteProfile(params *PublicDeleteProfileParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDeleteProfileNoContent, *PublicDeleteProfileNotFound, error)
- func (a *Client) PublicDeleteProfileShort(params *PublicDeleteProfileParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDeleteProfileNoContent, error)
- func (a *Client) PublicGetProfile(params *PublicGetProfileParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetProfileOK, *PublicGetProfileNotFound, error)
- func (a *Client) PublicGetProfileAttribute(params *PublicGetProfileAttributeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetProfileAttributeOK, *PublicGetProfileAttributeNotFound, error)
- func (a *Client) PublicGetProfileAttributeShort(params *PublicGetProfileAttributeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetProfileAttributeOK, error)
- func (a *Client) PublicGetProfileShort(params *PublicGetProfileParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetProfileOK, error)
- func (a *Client) PublicGetUserGameProfiles(params *PublicGetUserGameProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserGameProfilesOK, *PublicGetUserGameProfilesBadRequest, error)
- func (a *Client) PublicGetUserGameProfilesShort(params *PublicGetUserGameProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserGameProfilesOK, error)
- func (a *Client) PublicGetUserProfiles(params *PublicGetUserProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserProfilesOK, error)
- func (a *Client) PublicGetUserProfilesShort(params *PublicGetUserProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserProfilesOK, error)
- func (a *Client) PublicUpdateAttribute(params *PublicUpdateAttributeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateAttributeOK, *PublicUpdateAttributeBadRequest, ...)
- func (a *Client) PublicUpdateAttributeShort(params *PublicUpdateAttributeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateAttributeOK, error)
- func (a *Client) PublicUpdateProfile(params *PublicUpdateProfileParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateProfileOK, *PublicUpdateProfileNotFound, ...)
- func (a *Client) PublicUpdateProfileShort(params *PublicUpdateProfileParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateProfileOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetProfileNotFound
- type GetProfileOK
- type GetProfileParams
- func (o *GetProfileParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetProfileParams) SetContext(ctx context.Context)
- func (o *GetProfileParams) SetHTTPClient(client *http.Client)
- func (o *GetProfileParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetProfileParams) SetNamespace(namespace string)
- func (o *GetProfileParams) SetProfileID(profileID string)
- func (o *GetProfileParams) SetTimeout(timeout time.Duration)
- func (o *GetProfileParams) SetUserID(userID string)
- func (o *GetProfileParams) WithContext(ctx context.Context) *GetProfileParams
- func (o *GetProfileParams) WithHTTPClient(client *http.Client) *GetProfileParams
- func (o *GetProfileParams) WithNamespace(namespace string) *GetProfileParams
- func (o *GetProfileParams) WithProfileID(profileID string) *GetProfileParams
- func (o *GetProfileParams) WithTimeout(timeout time.Duration) *GetProfileParams
- func (o *GetProfileParams) WithUserID(userID string) *GetProfileParams
- func (o *GetProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProfileReader
- type GetUserProfilesOK
- type GetUserProfilesParams
- func NewGetUserProfilesParams() *GetUserProfilesParams
- func NewGetUserProfilesParamsWithContext(ctx context.Context) *GetUserProfilesParams
- func NewGetUserProfilesParamsWithHTTPClient(client *http.Client) *GetUserProfilesParams
- func NewGetUserProfilesParamsWithTimeout(timeout time.Duration) *GetUserProfilesParams
- func (o *GetUserProfilesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetUserProfilesParams) SetContext(ctx context.Context)
- func (o *GetUserProfilesParams) SetHTTPClient(client *http.Client)
- func (o *GetUserProfilesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetUserProfilesParams) SetNamespace(namespace string)
- func (o *GetUserProfilesParams) SetTimeout(timeout time.Duration)
- func (o *GetUserProfilesParams) SetUserID(userID string)
- func (o *GetUserProfilesParams) WithContext(ctx context.Context) *GetUserProfilesParams
- func (o *GetUserProfilesParams) WithHTTPClient(client *http.Client) *GetUserProfilesParams
- func (o *GetUserProfilesParams) WithNamespace(namespace string) *GetUserProfilesParams
- func (o *GetUserProfilesParams) WithTimeout(timeout time.Duration) *GetUserProfilesParams
- func (o *GetUserProfilesParams) WithUserID(userID string) *GetUserProfilesParams
- func (o *GetUserProfilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserProfilesReader
- type PublicCreateProfileCreated
- type PublicCreateProfileParams
- func NewPublicCreateProfileParams() *PublicCreateProfileParams
- func NewPublicCreateProfileParamsWithContext(ctx context.Context) *PublicCreateProfileParams
- func NewPublicCreateProfileParamsWithHTTPClient(client *http.Client) *PublicCreateProfileParams
- func NewPublicCreateProfileParamsWithTimeout(timeout time.Duration) *PublicCreateProfileParams
- func (o *PublicCreateProfileParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicCreateProfileParams) SetBody(body *socialclientmodels.GameProfileRequest)
- func (o *PublicCreateProfileParams) SetContext(ctx context.Context)
- func (o *PublicCreateProfileParams) SetHTTPClient(client *http.Client)
- func (o *PublicCreateProfileParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicCreateProfileParams) SetNamespace(namespace string)
- func (o *PublicCreateProfileParams) SetTimeout(timeout time.Duration)
- func (o *PublicCreateProfileParams) SetUserID(userID string)
- func (o *PublicCreateProfileParams) WithBody(body *socialclientmodels.GameProfileRequest) *PublicCreateProfileParams
- func (o *PublicCreateProfileParams) WithContext(ctx context.Context) *PublicCreateProfileParams
- func (o *PublicCreateProfileParams) WithHTTPClient(client *http.Client) *PublicCreateProfileParams
- func (o *PublicCreateProfileParams) WithNamespace(namespace string) *PublicCreateProfileParams
- func (o *PublicCreateProfileParams) WithTimeout(timeout time.Duration) *PublicCreateProfileParams
- func (o *PublicCreateProfileParams) WithUserID(userID string) *PublicCreateProfileParams
- func (o *PublicCreateProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicCreateProfileReader
- type PublicCreateProfileUnprocessableEntity
- type PublicDeleteProfileNoContent
- type PublicDeleteProfileNotFound
- type PublicDeleteProfileParams
- func NewPublicDeleteProfileParams() *PublicDeleteProfileParams
- func NewPublicDeleteProfileParamsWithContext(ctx context.Context) *PublicDeleteProfileParams
- func NewPublicDeleteProfileParamsWithHTTPClient(client *http.Client) *PublicDeleteProfileParams
- func NewPublicDeleteProfileParamsWithTimeout(timeout time.Duration) *PublicDeleteProfileParams
- func (o *PublicDeleteProfileParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicDeleteProfileParams) SetContext(ctx context.Context)
- func (o *PublicDeleteProfileParams) SetHTTPClient(client *http.Client)
- func (o *PublicDeleteProfileParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicDeleteProfileParams) SetNamespace(namespace string)
- func (o *PublicDeleteProfileParams) SetProfileID(profileID string)
- func (o *PublicDeleteProfileParams) SetTimeout(timeout time.Duration)
- func (o *PublicDeleteProfileParams) SetUserID(userID string)
- func (o *PublicDeleteProfileParams) WithContext(ctx context.Context) *PublicDeleteProfileParams
- func (o *PublicDeleteProfileParams) WithHTTPClient(client *http.Client) *PublicDeleteProfileParams
- func (o *PublicDeleteProfileParams) WithNamespace(namespace string) *PublicDeleteProfileParams
- func (o *PublicDeleteProfileParams) WithProfileID(profileID string) *PublicDeleteProfileParams
- func (o *PublicDeleteProfileParams) WithTimeout(timeout time.Duration) *PublicDeleteProfileParams
- func (o *PublicDeleteProfileParams) WithUserID(userID string) *PublicDeleteProfileParams
- func (o *PublicDeleteProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicDeleteProfileReader
- type PublicGetProfileAttributeNotFound
- type PublicGetProfileAttributeOK
- type PublicGetProfileAttributeParams
- func NewPublicGetProfileAttributeParams() *PublicGetProfileAttributeParams
- func NewPublicGetProfileAttributeParamsWithContext(ctx context.Context) *PublicGetProfileAttributeParams
- func NewPublicGetProfileAttributeParamsWithHTTPClient(client *http.Client) *PublicGetProfileAttributeParams
- func NewPublicGetProfileAttributeParamsWithTimeout(timeout time.Duration) *PublicGetProfileAttributeParams
- func (o *PublicGetProfileAttributeParams) SetAttributeName(attributeName string)
- func (o *PublicGetProfileAttributeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetProfileAttributeParams) SetContext(ctx context.Context)
- func (o *PublicGetProfileAttributeParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetProfileAttributeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetProfileAttributeParams) SetNamespace(namespace string)
- func (o *PublicGetProfileAttributeParams) SetProfileID(profileID string)
- func (o *PublicGetProfileAttributeParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetProfileAttributeParams) SetUserID(userID string)
- func (o *PublicGetProfileAttributeParams) WithAttributeName(attributeName string) *PublicGetProfileAttributeParams
- func (o *PublicGetProfileAttributeParams) WithContext(ctx context.Context) *PublicGetProfileAttributeParams
- func (o *PublicGetProfileAttributeParams) WithHTTPClient(client *http.Client) *PublicGetProfileAttributeParams
- func (o *PublicGetProfileAttributeParams) WithNamespace(namespace string) *PublicGetProfileAttributeParams
- func (o *PublicGetProfileAttributeParams) WithProfileID(profileID string) *PublicGetProfileAttributeParams
- func (o *PublicGetProfileAttributeParams) WithTimeout(timeout time.Duration) *PublicGetProfileAttributeParams
- func (o *PublicGetProfileAttributeParams) WithUserID(userID string) *PublicGetProfileAttributeParams
- func (o *PublicGetProfileAttributeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetProfileAttributeReader
- type PublicGetProfileNotFound
- type PublicGetProfileOK
- type PublicGetProfileParams
- func NewPublicGetProfileParams() *PublicGetProfileParams
- func NewPublicGetProfileParamsWithContext(ctx context.Context) *PublicGetProfileParams
- func NewPublicGetProfileParamsWithHTTPClient(client *http.Client) *PublicGetProfileParams
- func NewPublicGetProfileParamsWithTimeout(timeout time.Duration) *PublicGetProfileParams
- func (o *PublicGetProfileParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetProfileParams) SetContext(ctx context.Context)
- func (o *PublicGetProfileParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetProfileParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetProfileParams) SetNamespace(namespace string)
- func (o *PublicGetProfileParams) SetProfileID(profileID string)
- func (o *PublicGetProfileParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetProfileParams) SetUserID(userID string)
- func (o *PublicGetProfileParams) WithContext(ctx context.Context) *PublicGetProfileParams
- func (o *PublicGetProfileParams) WithHTTPClient(client *http.Client) *PublicGetProfileParams
- func (o *PublicGetProfileParams) WithNamespace(namespace string) *PublicGetProfileParams
- func (o *PublicGetProfileParams) WithProfileID(profileID string) *PublicGetProfileParams
- func (o *PublicGetProfileParams) WithTimeout(timeout time.Duration) *PublicGetProfileParams
- func (o *PublicGetProfileParams) WithUserID(userID string) *PublicGetProfileParams
- func (o *PublicGetProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetProfileReader
- type PublicGetUserGameProfilesBadRequest
- type PublicGetUserGameProfilesOK
- type PublicGetUserGameProfilesParams
- func NewPublicGetUserGameProfilesParams() *PublicGetUserGameProfilesParams
- func NewPublicGetUserGameProfilesParamsWithContext(ctx context.Context) *PublicGetUserGameProfilesParams
- func NewPublicGetUserGameProfilesParamsWithHTTPClient(client *http.Client) *PublicGetUserGameProfilesParams
- func NewPublicGetUserGameProfilesParamsWithTimeout(timeout time.Duration) *PublicGetUserGameProfilesParams
- func (o *PublicGetUserGameProfilesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetUserGameProfilesParams) SetContext(ctx context.Context)
- func (o *PublicGetUserGameProfilesParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetUserGameProfilesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetUserGameProfilesParams) SetNamespace(namespace string)
- func (o *PublicGetUserGameProfilesParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetUserGameProfilesParams) SetUserIds(userIds []string)
- func (o *PublicGetUserGameProfilesParams) WithContext(ctx context.Context) *PublicGetUserGameProfilesParams
- func (o *PublicGetUserGameProfilesParams) WithHTTPClient(client *http.Client) *PublicGetUserGameProfilesParams
- func (o *PublicGetUserGameProfilesParams) WithNamespace(namespace string) *PublicGetUserGameProfilesParams
- func (o *PublicGetUserGameProfilesParams) WithTimeout(timeout time.Duration) *PublicGetUserGameProfilesParams
- func (o *PublicGetUserGameProfilesParams) WithUserIds(userIds []string) *PublicGetUserGameProfilesParams
- func (o *PublicGetUserGameProfilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetUserGameProfilesReader
- type PublicGetUserProfilesOK
- type PublicGetUserProfilesParams
- func NewPublicGetUserProfilesParams() *PublicGetUserProfilesParams
- func NewPublicGetUserProfilesParamsWithContext(ctx context.Context) *PublicGetUserProfilesParams
- func NewPublicGetUserProfilesParamsWithHTTPClient(client *http.Client) *PublicGetUserProfilesParams
- func NewPublicGetUserProfilesParamsWithTimeout(timeout time.Duration) *PublicGetUserProfilesParams
- func (o *PublicGetUserProfilesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetUserProfilesParams) SetContext(ctx context.Context)
- func (o *PublicGetUserProfilesParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetUserProfilesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetUserProfilesParams) SetNamespace(namespace string)
- func (o *PublicGetUserProfilesParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetUserProfilesParams) SetUserID(userID string)
- func (o *PublicGetUserProfilesParams) WithContext(ctx context.Context) *PublicGetUserProfilesParams
- func (o *PublicGetUserProfilesParams) WithHTTPClient(client *http.Client) *PublicGetUserProfilesParams
- func (o *PublicGetUserProfilesParams) WithNamespace(namespace string) *PublicGetUserProfilesParams
- func (o *PublicGetUserProfilesParams) WithTimeout(timeout time.Duration) *PublicGetUserProfilesParams
- func (o *PublicGetUserProfilesParams) WithUserID(userID string) *PublicGetUserProfilesParams
- func (o *PublicGetUserProfilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetUserProfilesReader
- type PublicUpdateAttributeBadRequest
- type PublicUpdateAttributeNotFound
- type PublicUpdateAttributeOK
- type PublicUpdateAttributeParams
- func NewPublicUpdateAttributeParams() *PublicUpdateAttributeParams
- func NewPublicUpdateAttributeParamsWithContext(ctx context.Context) *PublicUpdateAttributeParams
- func NewPublicUpdateAttributeParamsWithHTTPClient(client *http.Client) *PublicUpdateAttributeParams
- func NewPublicUpdateAttributeParamsWithTimeout(timeout time.Duration) *PublicUpdateAttributeParams
- func (o *PublicUpdateAttributeParams) SetAttributeName(attributeName string)
- func (o *PublicUpdateAttributeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicUpdateAttributeParams) SetBody(body *socialclientmodels.Attribute)
- func (o *PublicUpdateAttributeParams) SetContext(ctx context.Context)
- func (o *PublicUpdateAttributeParams) SetHTTPClient(client *http.Client)
- func (o *PublicUpdateAttributeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicUpdateAttributeParams) SetNamespace(namespace string)
- func (o *PublicUpdateAttributeParams) SetProfileID(profileID string)
- func (o *PublicUpdateAttributeParams) SetTimeout(timeout time.Duration)
- func (o *PublicUpdateAttributeParams) SetUserID(userID string)
- func (o *PublicUpdateAttributeParams) WithAttributeName(attributeName string) *PublicUpdateAttributeParams
- func (o *PublicUpdateAttributeParams) WithBody(body *socialclientmodels.Attribute) *PublicUpdateAttributeParams
- func (o *PublicUpdateAttributeParams) WithContext(ctx context.Context) *PublicUpdateAttributeParams
- func (o *PublicUpdateAttributeParams) WithHTTPClient(client *http.Client) *PublicUpdateAttributeParams
- func (o *PublicUpdateAttributeParams) WithNamespace(namespace string) *PublicUpdateAttributeParams
- func (o *PublicUpdateAttributeParams) WithProfileID(profileID string) *PublicUpdateAttributeParams
- func (o *PublicUpdateAttributeParams) WithTimeout(timeout time.Duration) *PublicUpdateAttributeParams
- func (o *PublicUpdateAttributeParams) WithUserID(userID string) *PublicUpdateAttributeParams
- func (o *PublicUpdateAttributeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicUpdateAttributeReader
- type PublicUpdateProfileNotFound
- type PublicUpdateProfileOK
- type PublicUpdateProfileParams
- func NewPublicUpdateProfileParams() *PublicUpdateProfileParams
- func NewPublicUpdateProfileParamsWithContext(ctx context.Context) *PublicUpdateProfileParams
- func NewPublicUpdateProfileParamsWithHTTPClient(client *http.Client) *PublicUpdateProfileParams
- func NewPublicUpdateProfileParamsWithTimeout(timeout time.Duration) *PublicUpdateProfileParams
- func (o *PublicUpdateProfileParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicUpdateProfileParams) SetBody(body *socialclientmodels.GameProfileRequest)
- func (o *PublicUpdateProfileParams) SetContext(ctx context.Context)
- func (o *PublicUpdateProfileParams) SetHTTPClient(client *http.Client)
- func (o *PublicUpdateProfileParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicUpdateProfileParams) SetNamespace(namespace string)
- func (o *PublicUpdateProfileParams) SetProfileID(profileID string)
- func (o *PublicUpdateProfileParams) SetTimeout(timeout time.Duration)
- func (o *PublicUpdateProfileParams) SetUserID(userID string)
- func (o *PublicUpdateProfileParams) WithBody(body *socialclientmodels.GameProfileRequest) *PublicUpdateProfileParams
- func (o *PublicUpdateProfileParams) WithContext(ctx context.Context) *PublicUpdateProfileParams
- func (o *PublicUpdateProfileParams) WithHTTPClient(client *http.Client) *PublicUpdateProfileParams
- func (o *PublicUpdateProfileParams) WithNamespace(namespace string) *PublicUpdateProfileParams
- func (o *PublicUpdateProfileParams) WithProfileID(profileID string) *PublicUpdateProfileParams
- func (o *PublicUpdateProfileParams) WithTimeout(timeout time.Duration) *PublicUpdateProfileParams
- func (o *PublicUpdateProfileParams) WithUserID(userID string) *PublicUpdateProfileParams
- func (o *PublicUpdateProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicUpdateProfileReader
- type PublicUpdateProfileUnprocessableEntity
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 ¶
func (a *Client) GetProfile(params *GetProfileParams, authInfo runtime.ClientAuthInfoWriter) (*GetProfileOK, *GetProfileNotFound, error)
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 ¶
func (a *Client) PublicCreateProfile(params *PublicCreateProfileParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateProfileCreated, *PublicCreateProfileUnprocessableEntity, error)
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 ¶
func (a *Client) PublicDeleteProfile(params *PublicDeleteProfileParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDeleteProfileNoContent, *PublicDeleteProfileNotFound, error)
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 ¶
func (a *Client) PublicGetProfile(params *PublicGetProfileParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetProfileOK, *PublicGetProfileNotFound, error)
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 ¶
func (a *Client) PublicGetProfileAttribute(params *PublicGetProfileAttributeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetProfileAttributeOK, *PublicGetProfileAttributeNotFound, error)
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 ¶
func (a *Client) PublicGetUserGameProfiles(params *PublicGetUserGameProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserGameProfilesOK, *PublicGetUserGameProfilesBadRequest, error)
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 ¶
func (a *Client) PublicUpdateAttribute(params *PublicUpdateAttributeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateAttributeOK, *PublicUpdateAttributeBadRequest, *PublicUpdateAttributeNotFound, error)
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 ¶
func (a *Client) PublicUpdateProfile(params *PublicUpdateProfileParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateProfileOK, *PublicUpdateProfileNotFound, *PublicUpdateProfileUnprocessableEntity, error)
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 ¶
func (o *GetProfileNotFound) GetPayload() *socialclientmodels.ErrorEntity
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 (o *GetProfileOK) GetPayload() *socialclientmodels.GameProfileInfo
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 ¶
func (o *GetUserProfilesOK) GetPayload() []*socialclientmodels.GameProfileHeader
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 ¶
func (o *GetUserProfilesParams) WithContext(ctx context.Context) *GetUserProfilesParams
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 ¶
func (o *PublicCreateProfileCreated) Error() string
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 ¶
func (o *PublicCreateProfileParams) SetBody(body *socialclientmodels.GameProfileRequest)
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 ¶
func (o *PublicCreateProfileParams) WithBody(body *socialclientmodels.GameProfileRequest) *PublicCreateProfileParams
WithBody adds the body to the public create profile params
func (*PublicCreateProfileParams) WithContext ¶
func (o *PublicCreateProfileParams) WithContext(ctx context.Context) *PublicCreateProfileParams
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 ¶
func (o *PublicCreateProfileParams) WithTimeout(timeout time.Duration) *PublicCreateProfileParams
WithTimeout adds the timeout to the public create profile params
func (*PublicCreateProfileParams) WithUserID ¶
func (o *PublicCreateProfileParams) WithUserID(userID string) *PublicCreateProfileParams
WithUserID adds the userID to the public create profile params
func (*PublicCreateProfileParams) WriteToRequest ¶
func (o *PublicCreateProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PublicCreateProfileUnprocessableEntity) Error() string
func (*PublicCreateProfileUnprocessableEntity) GetPayload ¶
func (o *PublicCreateProfileUnprocessableEntity) GetPayload() *socialclientmodels.ValidationErrorEntity
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 ¶
func (o *PublicDeleteProfileNoContent) Error() string
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 (o *PublicDeleteProfileNotFound) Error() string
func (*PublicDeleteProfileNotFound) GetPayload ¶
func (o *PublicDeleteProfileNotFound) GetPayload() *socialclientmodels.ErrorEntity
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 ¶
func (o *PublicDeleteProfileParams) WithContext(ctx context.Context) *PublicDeleteProfileParams
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 ¶
func (o *PublicDeleteProfileParams) WithTimeout(timeout time.Duration) *PublicDeleteProfileParams
WithTimeout adds the timeout to the public delete profile params
func (*PublicDeleteProfileParams) WithUserID ¶
func (o *PublicDeleteProfileParams) WithUserID(userID string) *PublicDeleteProfileParams
WithUserID adds the userID to the public delete profile params
func (*PublicDeleteProfileParams) WriteToRequest ¶
func (o *PublicDeleteProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PublicGetProfileAttributeNotFound) Error() string
func (*PublicGetProfileAttributeNotFound) GetPayload ¶
func (o *PublicGetProfileAttributeNotFound) GetPayload() *socialclientmodels.ErrorEntity
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 (o *PublicGetProfileAttributeOK) Error() string
func (*PublicGetProfileAttributeOK) GetPayload ¶
func (o *PublicGetProfileAttributeOK) GetPayload() *socialclientmodels.Attribute
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 ¶
func (o *PublicGetProfileAttributeParams) WithContext(ctx context.Context) *PublicGetProfileAttributeParams
WithContext adds the context to the public get profile attribute params
func (*PublicGetProfileAttributeParams) WithHTTPClient ¶
func (o *PublicGetProfileAttributeParams) WithHTTPClient(client *http.Client) *PublicGetProfileAttributeParams
WithHTTPClient adds the HTTPClient to the public get profile attribute params
func (*PublicGetProfileAttributeParams) WithNamespace ¶
func (o *PublicGetProfileAttributeParams) WithNamespace(namespace string) *PublicGetProfileAttributeParams
WithNamespace adds the namespace to the public get profile attribute params
func (*PublicGetProfileAttributeParams) WithProfileID ¶
func (o *PublicGetProfileAttributeParams) WithProfileID(profileID string) *PublicGetProfileAttributeParams
WithProfileID adds the profileID to the public get profile attribute params
func (*PublicGetProfileAttributeParams) WithTimeout ¶
func (o *PublicGetProfileAttributeParams) WithTimeout(timeout time.Duration) *PublicGetProfileAttributeParams
WithTimeout adds the timeout to the public get profile attribute params
func (*PublicGetProfileAttributeParams) WithUserID ¶
func (o *PublicGetProfileAttributeParams) WithUserID(userID string) *PublicGetProfileAttributeParams
WithUserID adds the userID to the public get profile attribute params
func (*PublicGetProfileAttributeParams) WriteToRequest ¶
func (o *PublicGetProfileAttributeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PublicGetProfileNotFound) GetPayload() *socialclientmodels.ErrorEntity
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 (o *PublicGetProfileOK) GetPayload() *socialclientmodels.GameProfileInfo
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 ¶
func (o *PublicGetProfileParams) WithContext(ctx context.Context) *PublicGetProfileParams
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 ¶
func (o *PublicGetProfileParams) WithTimeout(timeout time.Duration) *PublicGetProfileParams
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 ¶
func (o *PublicGetProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PublicGetUserGameProfilesBadRequest) Error() string
func (*PublicGetUserGameProfilesBadRequest) GetPayload ¶
func (o *PublicGetUserGameProfilesBadRequest) GetPayload() *socialclientmodels.ErrorEntity
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 (o *PublicGetUserGameProfilesOK) Error() string
func (*PublicGetUserGameProfilesOK) GetPayload ¶
func (o *PublicGetUserGameProfilesOK) GetPayload() []*socialclientmodels.UserGameProfiles
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 ¶
func (o *PublicGetUserGameProfilesParams) WithContext(ctx context.Context) *PublicGetUserGameProfilesParams
WithContext adds the context to the public get user game profiles params
func (*PublicGetUserGameProfilesParams) WithHTTPClient ¶
func (o *PublicGetUserGameProfilesParams) WithHTTPClient(client *http.Client) *PublicGetUserGameProfilesParams
WithHTTPClient adds the HTTPClient to the public get user game profiles params
func (*PublicGetUserGameProfilesParams) WithNamespace ¶
func (o *PublicGetUserGameProfilesParams) WithNamespace(namespace string) *PublicGetUserGameProfilesParams
WithNamespace adds the namespace to the public get user game profiles params
func (*PublicGetUserGameProfilesParams) WithTimeout ¶
func (o *PublicGetUserGameProfilesParams) WithTimeout(timeout time.Duration) *PublicGetUserGameProfilesParams
WithTimeout adds the timeout to the public get user game profiles params
func (*PublicGetUserGameProfilesParams) WithUserIds ¶
func (o *PublicGetUserGameProfilesParams) WithUserIds(userIds []string) *PublicGetUserGameProfilesParams
WithUserIds adds the userIds to the public get user game profiles params
func (*PublicGetUserGameProfilesParams) WriteToRequest ¶
func (o *PublicGetUserGameProfilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PublicGetUserProfilesOK) GetPayload() []*socialclientmodels.GameProfileHeader
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 ¶
func (o *PublicGetUserProfilesParams) WithContext(ctx context.Context) *PublicGetUserProfilesParams
WithContext adds the context to the public get user profiles params
func (*PublicGetUserProfilesParams) WithHTTPClient ¶
func (o *PublicGetUserProfilesParams) WithHTTPClient(client *http.Client) *PublicGetUserProfilesParams
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 ¶
func (o *PublicGetUserProfilesParams) WithTimeout(timeout time.Duration) *PublicGetUserProfilesParams
WithTimeout adds the timeout to the public get user profiles params
func (*PublicGetUserProfilesParams) WithUserID ¶
func (o *PublicGetUserProfilesParams) WithUserID(userID string) *PublicGetUserProfilesParams
WithUserID adds the userID to the public get user profiles params
func (*PublicGetUserProfilesParams) WriteToRequest ¶
func (o *PublicGetUserProfilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PublicUpdateAttributeBadRequest) Error() string
func (*PublicUpdateAttributeBadRequest) GetPayload ¶
func (o *PublicUpdateAttributeBadRequest) GetPayload() *socialclientmodels.ErrorEntity
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 (o *PublicUpdateAttributeNotFound) Error() string
func (*PublicUpdateAttributeNotFound) GetPayload ¶
func (o *PublicUpdateAttributeNotFound) GetPayload() *socialclientmodels.ErrorEntity
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 (o *PublicUpdateAttributeOK) GetPayload() *socialclientmodels.GameProfileInfo
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 ¶
func (o *PublicUpdateAttributeParams) SetBody(body *socialclientmodels.Attribute)
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 ¶
func (o *PublicUpdateAttributeParams) WithBody(body *socialclientmodels.Attribute) *PublicUpdateAttributeParams
WithBody adds the body to the public update attribute params
func (*PublicUpdateAttributeParams) WithContext ¶
func (o *PublicUpdateAttributeParams) WithContext(ctx context.Context) *PublicUpdateAttributeParams
WithContext adds the context to the public update attribute params
func (*PublicUpdateAttributeParams) WithHTTPClient ¶
func (o *PublicUpdateAttributeParams) WithHTTPClient(client *http.Client) *PublicUpdateAttributeParams
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 ¶
func (o *PublicUpdateAttributeParams) WithTimeout(timeout time.Duration) *PublicUpdateAttributeParams
WithTimeout adds the timeout to the public update attribute params
func (*PublicUpdateAttributeParams) WithUserID ¶
func (o *PublicUpdateAttributeParams) WithUserID(userID string) *PublicUpdateAttributeParams
WithUserID adds the userID to the public update attribute params
func (*PublicUpdateAttributeParams) WriteToRequest ¶
func (o *PublicUpdateAttributeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PublicUpdateProfileNotFound) Error() string
func (*PublicUpdateProfileNotFound) GetPayload ¶
func (o *PublicUpdateProfileNotFound) GetPayload() *socialclientmodels.ErrorEntity
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 (o *PublicUpdateProfileOK) GetPayload() *socialclientmodels.GameProfileInfo
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 ¶
func (o *PublicUpdateProfileParams) SetBody(body *socialclientmodels.GameProfileRequest)
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 ¶
func (o *PublicUpdateProfileParams) WithBody(body *socialclientmodels.GameProfileRequest) *PublicUpdateProfileParams
WithBody adds the body to the public update profile params
func (*PublicUpdateProfileParams) WithContext ¶
func (o *PublicUpdateProfileParams) WithContext(ctx context.Context) *PublicUpdateProfileParams
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 ¶
func (o *PublicUpdateProfileParams) WithTimeout(timeout time.Duration) *PublicUpdateProfileParams
WithTimeout adds the timeout to the public update profile params
func (*PublicUpdateProfileParams) WithUserID ¶
func (o *PublicUpdateProfileParams) WithUserID(userID string) *PublicUpdateProfileParams
WithUserID adds the userID to the public update profile params
func (*PublicUpdateProfileParams) WriteToRequest ¶
func (o *PublicUpdateProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PublicUpdateProfileUnprocessableEntity) Error() string
func (*PublicUpdateProfileUnprocessableEntity) GetPayload ¶
func (o *PublicUpdateProfileUnprocessableEntity) GetPayload() *socialclientmodels.ValidationErrorEntity
Source Files
¶
- game_profile_client.go
- get_profile_parameters.go
- get_profile_responses.go
- get_user_profiles_parameters.go
- get_user_profiles_responses.go
- public_create_profile_parameters.go
- public_create_profile_responses.go
- public_delete_profile_parameters.go
- public_delete_profile_responses.go
- public_get_profile_attribute_parameters.go
- public_get_profile_attribute_responses.go
- public_get_profile_parameters.go
- public_get_profile_responses.go
- public_get_user_game_profiles_parameters.go
- public_get_user_game_profiles_responses.go
- public_get_user_profiles_parameters.go
- public_get_user_profiles_responses.go
- public_update_attribute_parameters.go
- public_update_attribute_responses.go
- public_update_profile_parameters.go
- public_update_profile_responses.go