achievement_platform

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for achievement platform API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UnlockSteamUserAchievement

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

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>

type ClientService

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 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 (*UnlockSteamUserAchievementBadRequest) GetPayload

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

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 (*UnlockSteamUserAchievementNotFound) GetPayload

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

SetBody adds the body to the unlock steam user achievement params

func (*UnlockSteamUserAchievementParams) SetContext

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

WithBody adds the body to the unlock steam user achievement params

func (*UnlockSteamUserAchievementParams) WithContext

WithContext adds the context to the unlock steam user achievement params

func (*UnlockSteamUserAchievementParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the unlock steam user achievement params

func (*UnlockSteamUserAchievementParams) WithNamespace

WithNamespace adds the namespace to the unlock steam user achievement params

func (*UnlockSteamUserAchievementParams) WithTimeout

WithTimeout adds the timeout to the unlock steam user achievement params

func (*UnlockSteamUserAchievementParams) WithUserID

WithUserID adds the userID to the unlock steam user achievement params

func (*UnlockSteamUserAchievementParams) WriteToRequest

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 (*UpdateXblUserAchievementBadRequest) GetPayload

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

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

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

WithBody adds the body to the update xbl user achievement params

func (*UpdateXblUserAchievementParams) WithContext

WithContext adds the context to the update xbl user achievement params

func (*UpdateXblUserAchievementParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update xbl user achievement params

func (*UpdateXblUserAchievementParams) WithNamespace

WithNamespace adds the namespace to the update xbl user achievement params

func (*UpdateXblUserAchievementParams) WithTimeout

WithTimeout adds the timeout to the update xbl user achievement params

func (*UpdateXblUserAchievementParams) WithUserID

WithUserID adds the userID to the update xbl user achievement params

func (*UpdateXblUserAchievementParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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