Documentation ¶
Index ¶
- type Client
- func (a *Client) GetXblUserAchievements(params *GetXblUserAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*GetXblUserAchievementsOK, *GetXblUserAchievementsBadRequest, error)deprecated
- func (a *Client) GetXblUserAchievementsShort(params *GetXblUserAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*GetXblUserAchievementsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UnlockSteamUserAchievement(params *UnlockSteamUserAchievementParams, ...) (*UnlockSteamUserAchievementNoContent, *UnlockSteamUserAchievementBadRequest, ...)deprecated
- func (a *Client) UnlockSteamUserAchievementShort(params *UnlockSteamUserAchievementParams, ...) (*UnlockSteamUserAchievementNoContent, error)
- func (a *Client) UpdateXblUserAchievement(params *UpdateXblUserAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateXblUserAchievementNoContent, *UpdateXblUserAchievementBadRequest, error)deprecated
- func (a *Client) UpdateXblUserAchievementShort(params *UpdateXblUserAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateXblUserAchievementNoContent, error)
- type ClientService
- type GetXblUserAchievementsBadRequest
- type GetXblUserAchievementsOK
- type GetXblUserAchievementsParams
- func NewGetXblUserAchievementsParams() *GetXblUserAchievementsParams
- func NewGetXblUserAchievementsParamsWithContext(ctx context.Context) *GetXblUserAchievementsParams
- func NewGetXblUserAchievementsParamsWithHTTPClient(client *http.Client) *GetXblUserAchievementsParams
- func NewGetXblUserAchievementsParamsWithTimeout(timeout time.Duration) *GetXblUserAchievementsParams
- func (o *GetXblUserAchievementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetXblUserAchievementsParams) SetContext(ctx context.Context)
- func (o *GetXblUserAchievementsParams) SetHTTPClient(client *http.Client)
- func (o *GetXblUserAchievementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetXblUserAchievementsParams) SetNamespace(namespace string)
- func (o *GetXblUserAchievementsParams) SetTimeout(timeout time.Duration)
- func (o *GetXblUserAchievementsParams) SetUserID(userID string)
- func (o *GetXblUserAchievementsParams) SetXboxUserID(xboxUserID string)
- func (o *GetXblUserAchievementsParams) WithContext(ctx context.Context) *GetXblUserAchievementsParams
- func (o *GetXblUserAchievementsParams) WithHTTPClient(client *http.Client) *GetXblUserAchievementsParams
- func (o *GetXblUserAchievementsParams) WithNamespace(namespace string) *GetXblUserAchievementsParams
- func (o *GetXblUserAchievementsParams) WithTimeout(timeout time.Duration) *GetXblUserAchievementsParams
- func (o *GetXblUserAchievementsParams) WithUserID(userID string) *GetXblUserAchievementsParams
- func (o *GetXblUserAchievementsParams) WithXboxUserID(xboxUserID string) *GetXblUserAchievementsParams
- func (o *GetXblUserAchievementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetXblUserAchievementsReader
- type UnlockSteamUserAchievementBadRequest
- type UnlockSteamUserAchievementNoContent
- type UnlockSteamUserAchievementNotFound
- type UnlockSteamUserAchievementParams
- func NewUnlockSteamUserAchievementParams() *UnlockSteamUserAchievementParams
- func NewUnlockSteamUserAchievementParamsWithContext(ctx context.Context) *UnlockSteamUserAchievementParams
- func NewUnlockSteamUserAchievementParamsWithHTTPClient(client *http.Client) *UnlockSteamUserAchievementParams
- func NewUnlockSteamUserAchievementParamsWithTimeout(timeout time.Duration) *UnlockSteamUserAchievementParams
- func (o *UnlockSteamUserAchievementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UnlockSteamUserAchievementParams) SetBody(body *platformclientmodels.ADTOObjectForUnlockSteamAchievementAPI)
- func (o *UnlockSteamUserAchievementParams) SetContext(ctx context.Context)
- func (o *UnlockSteamUserAchievementParams) SetHTTPClient(client *http.Client)
- func (o *UnlockSteamUserAchievementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UnlockSteamUserAchievementParams) SetNamespace(namespace string)
- func (o *UnlockSteamUserAchievementParams) SetTimeout(timeout time.Duration)
- func (o *UnlockSteamUserAchievementParams) SetUserID(userID string)
- func (o *UnlockSteamUserAchievementParams) WithBody(body *platformclientmodels.ADTOObjectForUnlockSteamAchievementAPI) *UnlockSteamUserAchievementParams
- func (o *UnlockSteamUserAchievementParams) WithContext(ctx context.Context) *UnlockSteamUserAchievementParams
- func (o *UnlockSteamUserAchievementParams) WithHTTPClient(client *http.Client) *UnlockSteamUserAchievementParams
- func (o *UnlockSteamUserAchievementParams) WithNamespace(namespace string) *UnlockSteamUserAchievementParams
- func (o *UnlockSteamUserAchievementParams) WithTimeout(timeout time.Duration) *UnlockSteamUserAchievementParams
- func (o *UnlockSteamUserAchievementParams) WithUserID(userID string) *UnlockSteamUserAchievementParams
- func (o *UnlockSteamUserAchievementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UnlockSteamUserAchievementReader
- type UpdateXblUserAchievementBadRequest
- type UpdateXblUserAchievementNoContent
- type UpdateXblUserAchievementParams
- func NewUpdateXblUserAchievementParams() *UpdateXblUserAchievementParams
- func NewUpdateXblUserAchievementParamsWithContext(ctx context.Context) *UpdateXblUserAchievementParams
- func NewUpdateXblUserAchievementParamsWithHTTPClient(client *http.Client) *UpdateXblUserAchievementParams
- func NewUpdateXblUserAchievementParamsWithTimeout(timeout time.Duration) *UpdateXblUserAchievementParams
- func (o *UpdateXblUserAchievementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateXblUserAchievementParams) SetBody(...)
- func (o *UpdateXblUserAchievementParams) SetContext(ctx context.Context)
- func (o *UpdateXblUserAchievementParams) SetHTTPClient(client *http.Client)
- func (o *UpdateXblUserAchievementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateXblUserAchievementParams) SetNamespace(namespace string)
- func (o *UpdateXblUserAchievementParams) SetTimeout(timeout time.Duration)
- func (o *UpdateXblUserAchievementParams) SetUserID(userID string)
- func (o *UpdateXblUserAchievementParams) WithBody(...) *UpdateXblUserAchievementParams
- func (o *UpdateXblUserAchievementParams) WithContext(ctx context.Context) *UpdateXblUserAchievementParams
- func (o *UpdateXblUserAchievementParams) WithHTTPClient(client *http.Client) *UpdateXblUserAchievementParams
- func (o *UpdateXblUserAchievementParams) WithNamespace(namespace string) *UpdateXblUserAchievementParams
- func (o *UpdateXblUserAchievementParams) WithTimeout(timeout time.Duration) *UpdateXblUserAchievementParams
- func (o *UpdateXblUserAchievementParams) WithUserID(userID string) *UpdateXblUserAchievementParams
- func (o *UpdateXblUserAchievementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateXblUserAchievementReader
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 achievement platform API
func (*Client) GetXblUserAchievements
deprecated
added in
v0.23.0
func (a *Client) GetXblUserAchievements(params *GetXblUserAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*GetXblUserAchievementsOK, *GetXblUserAchievementsBadRequest, error)
Deprecated: Use GetXblUserAchievementsShort instead.
GetXblUserAchievements gets xbox live user achievements This API is used to get xbox live user achievements(Only for test).<p>Other detail info: <ul><li><i>Required permission</i>: resource=ADMIN:NAMESPACE:{namespace}:USER:{userId}:ACHIEVEMENT, action=2 (READ)</li></ul>
func (*Client) GetXblUserAchievementsShort ¶ added in v0.23.0
func (a *Client) GetXblUserAchievementsShort(params *GetXblUserAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*GetXblUserAchievementsOK, error)
GetXblUserAchievementsShort gets xbox live user achievements
This API is used to get xbox live user achievements(Only for test).<p>Other detail info: <ul><li><i>Required permission</i>: resource=ADMIN:NAMESPACE:{namespace}:USER:{userId}:ACHIEVEMENT, action=2 (READ)</li></ul>
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UnlockSteamUserAchievement
deprecated
func (a *Client) UnlockSteamUserAchievement(params *UnlockSteamUserAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*UnlockSteamUserAchievementNoContent, *UnlockSteamUserAchievementBadRequest, *UnlockSteamUserAchievementNotFound, error)
Deprecated: Use UnlockSteamUserAchievementShort instead.
UnlockSteamUserAchievement unlocks steam achievement This API is used to unlock steam achievement.<p>Other detail info: <ul><li><i>Required permission</i>: resource=ADMIN:NAMESPACE:{namespace}:USER:{userId}:ACHIEVEMENT, action=4 (UPDATE)</li></ul>
func (*Client) UnlockSteamUserAchievementShort ¶
func (a *Client) UnlockSteamUserAchievementShort(params *UnlockSteamUserAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*UnlockSteamUserAchievementNoContent, error)
UnlockSteamUserAchievementShort unlocks steam achievement
This API is used to unlock steam achievement.<p>Other detail info: <ul><li><i>Required permission</i>: resource=ADMIN:NAMESPACE:{namespace}:USER:{userId}:ACHIEVEMENT, action=4 (UPDATE)</li></ul>
func (*Client) UpdateXblUserAchievement
deprecated
func (a *Client) UpdateXblUserAchievement(params *UpdateXblUserAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateXblUserAchievementNoContent, *UpdateXblUserAchievementBadRequest, error)
Deprecated: Use UpdateXblUserAchievementShort instead.
UpdateXblUserAchievement updates xbox live achievements This API is used to update xbox live achievements.<p>Other detail info: <ul><li><i>Required permission</i>: resource=ADMIN:NAMESPACE:{namespace}:USER:{userId}:ACHIEVEMENT, action=4 (UPDATE)</li></ul>
func (*Client) UpdateXblUserAchievementShort ¶
func (a *Client) UpdateXblUserAchievementShort(params *UpdateXblUserAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateXblUserAchievementNoContent, error)
UpdateXblUserAchievementShort updates xbox live achievements
This API is used to update xbox live achievements.<p>Other detail info: <ul><li><i>Required permission</i>: resource=ADMIN:NAMESPACE:{namespace}:USER:{userId}:ACHIEVEMENT, action=4 (UPDATE)</li></ul>
type ClientService ¶
type ClientService interface { GetXblUserAchievements(params *GetXblUserAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*GetXblUserAchievementsOK, *GetXblUserAchievementsBadRequest, error) GetXblUserAchievementsShort(params *GetXblUserAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*GetXblUserAchievementsOK, error) UnlockSteamUserAchievement(params *UnlockSteamUserAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*UnlockSteamUserAchievementNoContent, *UnlockSteamUserAchievementBadRequest, *UnlockSteamUserAchievementNotFound, error) UnlockSteamUserAchievementShort(params *UnlockSteamUserAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*UnlockSteamUserAchievementNoContent, error) UpdateXblUserAchievement(params *UpdateXblUserAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateXblUserAchievementNoContent, *UpdateXblUserAchievementBadRequest, error) UpdateXblUserAchievementShort(params *UpdateXblUserAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateXblUserAchievementNoContent, 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 achievement platform API client.
type GetXblUserAchievementsBadRequest ¶ added in v0.23.0
type GetXblUserAchievementsBadRequest struct {
Payload *platformclientmodels.ValidationErrorEntity
}
GetXblUserAchievementsBadRequest 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 NewGetXblUserAchievementsBadRequest ¶ added in v0.23.0
func NewGetXblUserAchievementsBadRequest() *GetXblUserAchievementsBadRequest
NewGetXblUserAchievementsBadRequest creates a GetXblUserAchievementsBadRequest with default headers values
func (*GetXblUserAchievementsBadRequest) Error ¶ added in v0.23.0
func (o *GetXblUserAchievementsBadRequest) Error() string
func (*GetXblUserAchievementsBadRequest) GetPayload ¶ added in v0.23.0
func (o *GetXblUserAchievementsBadRequest) GetPayload() *platformclientmodels.ValidationErrorEntity
func (*GetXblUserAchievementsBadRequest) ToJSONString ¶ added in v0.25.0
func (o *GetXblUserAchievementsBadRequest) ToJSONString() string
type GetXblUserAchievementsOK ¶ added in v0.23.0
type GetXblUserAchievementsOK struct {
Payload *platformclientmodels.ADTOObjectForQueryingXboxUserAchievements
}
GetXblUserAchievementsOK handles this case with default header values.
OK
func NewGetXblUserAchievementsOK ¶ added in v0.23.0
func NewGetXblUserAchievementsOK() *GetXblUserAchievementsOK
NewGetXblUserAchievementsOK creates a GetXblUserAchievementsOK with default headers values
func (*GetXblUserAchievementsOK) Error ¶ added in v0.23.0
func (o *GetXblUserAchievementsOK) Error() string
func (*GetXblUserAchievementsOK) GetPayload ¶ added in v0.23.0
func (o *GetXblUserAchievementsOK) GetPayload() *platformclientmodels.ADTOObjectForQueryingXboxUserAchievements
func (*GetXblUserAchievementsOK) ToJSONString ¶ added in v0.25.0
func (o *GetXblUserAchievementsOK) ToJSONString() string
type GetXblUserAchievementsParams ¶ added in v0.23.0
type GetXblUserAchievementsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*UserID*/ UserID string /*XboxUserID*/ XboxUserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetXblUserAchievementsParams contains all the parameters to send to the API endpoint for the get xbl user achievements operation typically these are written to a http.Request
func NewGetXblUserAchievementsParams ¶ added in v0.23.0
func NewGetXblUserAchievementsParams() *GetXblUserAchievementsParams
NewGetXblUserAchievementsParams creates a new GetXblUserAchievementsParams object with the default values initialized.
func NewGetXblUserAchievementsParamsWithContext ¶ added in v0.23.0
func NewGetXblUserAchievementsParamsWithContext(ctx context.Context) *GetXblUserAchievementsParams
NewGetXblUserAchievementsParamsWithContext creates a new GetXblUserAchievementsParams object with the default values initialized, and the ability to set a context for a request
func NewGetXblUserAchievementsParamsWithHTTPClient ¶ added in v0.23.0
func NewGetXblUserAchievementsParamsWithHTTPClient(client *http.Client) *GetXblUserAchievementsParams
NewGetXblUserAchievementsParamsWithHTTPClient creates a new GetXblUserAchievementsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetXblUserAchievementsParamsWithTimeout ¶ added in v0.23.0
func NewGetXblUserAchievementsParamsWithTimeout(timeout time.Duration) *GetXblUserAchievementsParams
NewGetXblUserAchievementsParamsWithTimeout creates a new GetXblUserAchievementsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetXblUserAchievementsParams) SetAuthInfoWriter ¶ added in v0.23.0
func (o *GetXblUserAchievementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get xbl user achievements params
func (*GetXblUserAchievementsParams) SetContext ¶ added in v0.23.0
func (o *GetXblUserAchievementsParams) SetContext(ctx context.Context)
SetContext adds the context to the get xbl user achievements params
func (*GetXblUserAchievementsParams) SetHTTPClient ¶ added in v0.23.0
func (o *GetXblUserAchievementsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get xbl user achievements params
func (*GetXblUserAchievementsParams) SetHTTPClientTransport ¶ added in v0.23.0
func (o *GetXblUserAchievementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get xbl user achievements params
func (*GetXblUserAchievementsParams) SetNamespace ¶ added in v0.23.0
func (o *GetXblUserAchievementsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get xbl user achievements params
func (*GetXblUserAchievementsParams) SetTimeout ¶ added in v0.23.0
func (o *GetXblUserAchievementsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get xbl user achievements params
func (*GetXblUserAchievementsParams) SetUserID ¶ added in v0.23.0
func (o *GetXblUserAchievementsParams) SetUserID(userID string)
SetUserID adds the userId to the get xbl user achievements params
func (*GetXblUserAchievementsParams) SetXboxUserID ¶ added in v0.23.0
func (o *GetXblUserAchievementsParams) SetXboxUserID(xboxUserID string)
SetXboxUserID adds the xboxUserId to the get xbl user achievements params
func (*GetXblUserAchievementsParams) WithContext ¶ added in v0.23.0
func (o *GetXblUserAchievementsParams) WithContext(ctx context.Context) *GetXblUserAchievementsParams
WithContext adds the context to the get xbl user achievements params
func (*GetXblUserAchievementsParams) WithHTTPClient ¶ added in v0.23.0
func (o *GetXblUserAchievementsParams) WithHTTPClient(client *http.Client) *GetXblUserAchievementsParams
WithHTTPClient adds the HTTPClient to the get xbl user achievements params
func (*GetXblUserAchievementsParams) WithNamespace ¶ added in v0.23.0
func (o *GetXblUserAchievementsParams) WithNamespace(namespace string) *GetXblUserAchievementsParams
WithNamespace adds the namespace to the get xbl user achievements params
func (*GetXblUserAchievementsParams) WithTimeout ¶ added in v0.23.0
func (o *GetXblUserAchievementsParams) WithTimeout(timeout time.Duration) *GetXblUserAchievementsParams
WithTimeout adds the timeout to the get xbl user achievements params
func (*GetXblUserAchievementsParams) WithUserID ¶ added in v0.23.0
func (o *GetXblUserAchievementsParams) WithUserID(userID string) *GetXblUserAchievementsParams
WithUserID adds the userID to the get xbl user achievements params
func (*GetXblUserAchievementsParams) WithXboxUserID ¶ added in v0.23.0
func (o *GetXblUserAchievementsParams) WithXboxUserID(xboxUserID string) *GetXblUserAchievementsParams
WithXboxUserID adds the xboxUserID to the get xbl user achievements params
func (*GetXblUserAchievementsParams) WriteToRequest ¶ added in v0.23.0
func (o *GetXblUserAchievementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetXblUserAchievementsReader ¶ added in v0.23.0
type GetXblUserAchievementsReader struct {
// contains filtered or unexported fields
}
GetXblUserAchievementsReader is a Reader for the GetXblUserAchievements structure.
func (*GetXblUserAchievementsReader) ReadResponse ¶ added in v0.23.0
func (o *GetXblUserAchievementsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UnlockSteamUserAchievementBadRequest ¶
type UnlockSteamUserAchievementBadRequest struct {
Payload *platformclientmodels.ValidationErrorEntity
}
UnlockSteamUserAchievementBadRequest 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 NewUnlockSteamUserAchievementBadRequest ¶
func NewUnlockSteamUserAchievementBadRequest() *UnlockSteamUserAchievementBadRequest
NewUnlockSteamUserAchievementBadRequest creates a UnlockSteamUserAchievementBadRequest with default headers values
func (*UnlockSteamUserAchievementBadRequest) Error ¶
func (o *UnlockSteamUserAchievementBadRequest) Error() string
func (*UnlockSteamUserAchievementBadRequest) GetPayload ¶
func (o *UnlockSteamUserAchievementBadRequest) GetPayload() *platformclientmodels.ValidationErrorEntity
func (*UnlockSteamUserAchievementBadRequest) ToJSONString ¶ added in v0.25.0
func (o *UnlockSteamUserAchievementBadRequest) ToJSONString() string
type UnlockSteamUserAchievementNoContent ¶
type UnlockSteamUserAchievementNoContent struct { }
UnlockSteamUserAchievementNoContent handles this case with default header values.
No Content
func NewUnlockSteamUserAchievementNoContent ¶
func NewUnlockSteamUserAchievementNoContent() *UnlockSteamUserAchievementNoContent
NewUnlockSteamUserAchievementNoContent creates a UnlockSteamUserAchievementNoContent with default headers values
func (*UnlockSteamUserAchievementNoContent) Error ¶
func (o *UnlockSteamUserAchievementNoContent) Error() string
type UnlockSteamUserAchievementNotFound ¶
type UnlockSteamUserAchievementNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
UnlockSteamUserAchievementNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>39244</td><td>Steam config does not exist</td></tr><tr><td>39245</td><td>Steam app id does not exist</td></tr></table>
func NewUnlockSteamUserAchievementNotFound ¶
func NewUnlockSteamUserAchievementNotFound() *UnlockSteamUserAchievementNotFound
NewUnlockSteamUserAchievementNotFound creates a UnlockSteamUserAchievementNotFound with default headers values
func (*UnlockSteamUserAchievementNotFound) Error ¶
func (o *UnlockSteamUserAchievementNotFound) Error() string
func (*UnlockSteamUserAchievementNotFound) GetPayload ¶
func (o *UnlockSteamUserAchievementNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*UnlockSteamUserAchievementNotFound) ToJSONString ¶ added in v0.25.0
func (o *UnlockSteamUserAchievementNotFound) ToJSONString() string
type UnlockSteamUserAchievementParams ¶
type UnlockSteamUserAchievementParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.ADTOObjectForUnlockSteamAchievementAPI /*Namespace*/ Namespace string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UnlockSteamUserAchievementParams contains all the parameters to send to the API endpoint for the unlock steam user achievement operation typically these are written to a http.Request
func NewUnlockSteamUserAchievementParams ¶
func NewUnlockSteamUserAchievementParams() *UnlockSteamUserAchievementParams
NewUnlockSteamUserAchievementParams creates a new UnlockSteamUserAchievementParams object with the default values initialized.
func NewUnlockSteamUserAchievementParamsWithContext ¶
func NewUnlockSteamUserAchievementParamsWithContext(ctx context.Context) *UnlockSteamUserAchievementParams
NewUnlockSteamUserAchievementParamsWithContext creates a new UnlockSteamUserAchievementParams object with the default values initialized, and the ability to set a context for a request
func NewUnlockSteamUserAchievementParamsWithHTTPClient ¶
func NewUnlockSteamUserAchievementParamsWithHTTPClient(client *http.Client) *UnlockSteamUserAchievementParams
NewUnlockSteamUserAchievementParamsWithHTTPClient creates a new UnlockSteamUserAchievementParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUnlockSteamUserAchievementParamsWithTimeout ¶
func NewUnlockSteamUserAchievementParamsWithTimeout(timeout time.Duration) *UnlockSteamUserAchievementParams
NewUnlockSteamUserAchievementParamsWithTimeout creates a new UnlockSteamUserAchievementParams object with the default values initialized, and the ability to set a timeout on a request
func (*UnlockSteamUserAchievementParams) SetAuthInfoWriter ¶
func (o *UnlockSteamUserAchievementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the unlock steam user achievement params
func (*UnlockSteamUserAchievementParams) SetBody ¶
func (o *UnlockSteamUserAchievementParams) SetBody(body *platformclientmodels.ADTOObjectForUnlockSteamAchievementAPI)
SetBody adds the body to the unlock steam user achievement params
func (*UnlockSteamUserAchievementParams) SetContext ¶
func (o *UnlockSteamUserAchievementParams) SetContext(ctx context.Context)
SetContext adds the context to the unlock steam user achievement params
func (*UnlockSteamUserAchievementParams) SetHTTPClient ¶
func (o *UnlockSteamUserAchievementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the unlock steam user achievement params
func (*UnlockSteamUserAchievementParams) SetHTTPClientTransport ¶
func (o *UnlockSteamUserAchievementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the unlock steam user achievement params
func (*UnlockSteamUserAchievementParams) SetNamespace ¶
func (o *UnlockSteamUserAchievementParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the unlock steam user achievement params
func (*UnlockSteamUserAchievementParams) SetTimeout ¶
func (o *UnlockSteamUserAchievementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the unlock steam user achievement params
func (*UnlockSteamUserAchievementParams) SetUserID ¶
func (o *UnlockSteamUserAchievementParams) SetUserID(userID string)
SetUserID adds the userId to the unlock steam user achievement params
func (*UnlockSteamUserAchievementParams) WithBody ¶
func (o *UnlockSteamUserAchievementParams) WithBody(body *platformclientmodels.ADTOObjectForUnlockSteamAchievementAPI) *UnlockSteamUserAchievementParams
WithBody adds the body to the unlock steam user achievement params
func (*UnlockSteamUserAchievementParams) WithContext ¶
func (o *UnlockSteamUserAchievementParams) WithContext(ctx context.Context) *UnlockSteamUserAchievementParams
WithContext adds the context to the unlock steam user achievement params
func (*UnlockSteamUserAchievementParams) WithHTTPClient ¶
func (o *UnlockSteamUserAchievementParams) WithHTTPClient(client *http.Client) *UnlockSteamUserAchievementParams
WithHTTPClient adds the HTTPClient to the unlock steam user achievement params
func (*UnlockSteamUserAchievementParams) WithNamespace ¶
func (o *UnlockSteamUserAchievementParams) WithNamespace(namespace string) *UnlockSteamUserAchievementParams
WithNamespace adds the namespace to the unlock steam user achievement params
func (*UnlockSteamUserAchievementParams) WithTimeout ¶
func (o *UnlockSteamUserAchievementParams) WithTimeout(timeout time.Duration) *UnlockSteamUserAchievementParams
WithTimeout adds the timeout to the unlock steam user achievement params
func (*UnlockSteamUserAchievementParams) WithUserID ¶
func (o *UnlockSteamUserAchievementParams) WithUserID(userID string) *UnlockSteamUserAchievementParams
WithUserID adds the userID to the unlock steam user achievement params
func (*UnlockSteamUserAchievementParams) WriteToRequest ¶
func (o *UnlockSteamUserAchievementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UnlockSteamUserAchievementReader ¶
type UnlockSteamUserAchievementReader struct {
// contains filtered or unexported fields
}
UnlockSteamUserAchievementReader is a Reader for the UnlockSteamUserAchievement structure.
func (*UnlockSteamUserAchievementReader) ReadResponse ¶
func (o *UnlockSteamUserAchievementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateXblUserAchievementBadRequest ¶
type UpdateXblUserAchievementBadRequest struct {
Payload *platformclientmodels.ValidationErrorEntity
}
UpdateXblUserAchievementBadRequest 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 NewUpdateXblUserAchievementBadRequest ¶
func NewUpdateXblUserAchievementBadRequest() *UpdateXblUserAchievementBadRequest
NewUpdateXblUserAchievementBadRequest creates a UpdateXblUserAchievementBadRequest with default headers values
func (*UpdateXblUserAchievementBadRequest) Error ¶
func (o *UpdateXblUserAchievementBadRequest) Error() string
func (*UpdateXblUserAchievementBadRequest) GetPayload ¶
func (o *UpdateXblUserAchievementBadRequest) GetPayload() *platformclientmodels.ValidationErrorEntity
func (*UpdateXblUserAchievementBadRequest) ToJSONString ¶ added in v0.25.0
func (o *UpdateXblUserAchievementBadRequest) ToJSONString() string
type UpdateXblUserAchievementNoContent ¶
type UpdateXblUserAchievementNoContent struct { }
UpdateXblUserAchievementNoContent handles this case with default header values.
No Content
func NewUpdateXblUserAchievementNoContent ¶
func NewUpdateXblUserAchievementNoContent() *UpdateXblUserAchievementNoContent
NewUpdateXblUserAchievementNoContent creates a UpdateXblUserAchievementNoContent with default headers values
func (*UpdateXblUserAchievementNoContent) Error ¶
func (o *UpdateXblUserAchievementNoContent) Error() string
type UpdateXblUserAchievementParams ¶
type UpdateXblUserAchievementParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.ADTOObjectForUpdateXboxAchievementCompletePercentageAPI /*Namespace*/ Namespace string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateXblUserAchievementParams contains all the parameters to send to the API endpoint for the update xbl user achievement operation typically these are written to a http.Request
func NewUpdateXblUserAchievementParams ¶
func NewUpdateXblUserAchievementParams() *UpdateXblUserAchievementParams
NewUpdateXblUserAchievementParams creates a new UpdateXblUserAchievementParams object with the default values initialized.
func NewUpdateXblUserAchievementParamsWithContext ¶
func NewUpdateXblUserAchievementParamsWithContext(ctx context.Context) *UpdateXblUserAchievementParams
NewUpdateXblUserAchievementParamsWithContext creates a new UpdateXblUserAchievementParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateXblUserAchievementParamsWithHTTPClient ¶
func NewUpdateXblUserAchievementParamsWithHTTPClient(client *http.Client) *UpdateXblUserAchievementParams
NewUpdateXblUserAchievementParamsWithHTTPClient creates a new UpdateXblUserAchievementParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateXblUserAchievementParamsWithTimeout ¶
func NewUpdateXblUserAchievementParamsWithTimeout(timeout time.Duration) *UpdateXblUserAchievementParams
NewUpdateXblUserAchievementParamsWithTimeout creates a new UpdateXblUserAchievementParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateXblUserAchievementParams) SetAuthInfoWriter ¶
func (o *UpdateXblUserAchievementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update xbl user achievement params
func (*UpdateXblUserAchievementParams) SetBody ¶
func (o *UpdateXblUserAchievementParams) SetBody(body *platformclientmodels.ADTOObjectForUpdateXboxAchievementCompletePercentageAPI)
SetBody adds the body to the update xbl user achievement params
func (*UpdateXblUserAchievementParams) SetContext ¶
func (o *UpdateXblUserAchievementParams) SetContext(ctx context.Context)
SetContext adds the context to the update xbl user achievement params
func (*UpdateXblUserAchievementParams) SetHTTPClient ¶
func (o *UpdateXblUserAchievementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update xbl user achievement params
func (*UpdateXblUserAchievementParams) SetHTTPClientTransport ¶
func (o *UpdateXblUserAchievementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update xbl user achievement params
func (*UpdateXblUserAchievementParams) SetNamespace ¶
func (o *UpdateXblUserAchievementParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the update xbl user achievement params
func (*UpdateXblUserAchievementParams) SetTimeout ¶
func (o *UpdateXblUserAchievementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update xbl user achievement params
func (*UpdateXblUserAchievementParams) SetUserID ¶
func (o *UpdateXblUserAchievementParams) SetUserID(userID string)
SetUserID adds the userId to the update xbl user achievement params
func (*UpdateXblUserAchievementParams) WithBody ¶
func (o *UpdateXblUserAchievementParams) WithBody(body *platformclientmodels.ADTOObjectForUpdateXboxAchievementCompletePercentageAPI) *UpdateXblUserAchievementParams
WithBody adds the body to the update xbl user achievement params
func (*UpdateXblUserAchievementParams) WithContext ¶
func (o *UpdateXblUserAchievementParams) WithContext(ctx context.Context) *UpdateXblUserAchievementParams
WithContext adds the context to the update xbl user achievement params
func (*UpdateXblUserAchievementParams) WithHTTPClient ¶
func (o *UpdateXblUserAchievementParams) WithHTTPClient(client *http.Client) *UpdateXblUserAchievementParams
WithHTTPClient adds the HTTPClient to the update xbl user achievement params
func (*UpdateXblUserAchievementParams) WithNamespace ¶
func (o *UpdateXblUserAchievementParams) WithNamespace(namespace string) *UpdateXblUserAchievementParams
WithNamespace adds the namespace to the update xbl user achievement params
func (*UpdateXblUserAchievementParams) WithTimeout ¶
func (o *UpdateXblUserAchievementParams) WithTimeout(timeout time.Duration) *UpdateXblUserAchievementParams
WithTimeout adds the timeout to the update xbl user achievement params
func (*UpdateXblUserAchievementParams) WithUserID ¶
func (o *UpdateXblUserAchievementParams) WithUserID(userID string) *UpdateXblUserAchievementParams
WithUserID adds the userID to the update xbl user achievement params
func (*UpdateXblUserAchievementParams) WriteToRequest ¶
func (o *UpdateXblUserAchievementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateXblUserAchievementReader ¶
type UpdateXblUserAchievementReader struct {
// contains filtered or unexported fields
}
UpdateXblUserAchievementReader is a Reader for the UpdateXblUserAchievement structure.
func (*UpdateXblUserAchievementReader) ReadResponse ¶
func (o *UpdateXblUserAchievementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.