player

package
v0.73.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminGetPlayerAttributesBadRequest

type AdminGetPlayerAttributesBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

AdminGetPlayerAttributesBadRequest handles this case with default header values.

Bad Request

func NewAdminGetPlayerAttributesBadRequest

func NewAdminGetPlayerAttributesBadRequest() *AdminGetPlayerAttributesBadRequest

NewAdminGetPlayerAttributesBadRequest creates a AdminGetPlayerAttributesBadRequest with default headers values

func (*AdminGetPlayerAttributesBadRequest) Error

func (*AdminGetPlayerAttributesBadRequest) GetPayload

func (*AdminGetPlayerAttributesBadRequest) ToJSONString

func (o *AdminGetPlayerAttributesBadRequest) ToJSONString() string

type AdminGetPlayerAttributesInternalServerError

type AdminGetPlayerAttributesInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

AdminGetPlayerAttributesInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminGetPlayerAttributesInternalServerError

func NewAdminGetPlayerAttributesInternalServerError() *AdminGetPlayerAttributesInternalServerError

NewAdminGetPlayerAttributesInternalServerError creates a AdminGetPlayerAttributesInternalServerError with default headers values

func (*AdminGetPlayerAttributesInternalServerError) Error

func (*AdminGetPlayerAttributesInternalServerError) GetPayload

func (*AdminGetPlayerAttributesInternalServerError) ToJSONString

type AdminGetPlayerAttributesNotFound

type AdminGetPlayerAttributesNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

AdminGetPlayerAttributesNotFound handles this case with default header values.

Not Found

func NewAdminGetPlayerAttributesNotFound

func NewAdminGetPlayerAttributesNotFound() *AdminGetPlayerAttributesNotFound

NewAdminGetPlayerAttributesNotFound creates a AdminGetPlayerAttributesNotFound with default headers values

func (*AdminGetPlayerAttributesNotFound) Error

func (*AdminGetPlayerAttributesNotFound) GetPayload

func (*AdminGetPlayerAttributesNotFound) ToJSONString

func (o *AdminGetPlayerAttributesNotFound) ToJSONString() string

type AdminGetPlayerAttributesOK

type AdminGetPlayerAttributesOK struct {
	Payload *sessionclientmodels.ApimodelsPlayerAttributesResponseBody
}

AdminGetPlayerAttributesOK handles this case with default header values.

OK

func NewAdminGetPlayerAttributesOK

func NewAdminGetPlayerAttributesOK() *AdminGetPlayerAttributesOK

NewAdminGetPlayerAttributesOK creates a AdminGetPlayerAttributesOK with default headers values

func (*AdminGetPlayerAttributesOK) Error

func (*AdminGetPlayerAttributesOK) GetPayload

func (*AdminGetPlayerAttributesOK) ToJSONString

func (o *AdminGetPlayerAttributesOK) ToJSONString() string

type AdminGetPlayerAttributesParams

type AdminGetPlayerAttributesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  User ID

	*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

AdminGetPlayerAttributesParams contains all the parameters to send to the API endpoint for the admin get player attributes operation typically these are written to a http.Request

func NewAdminGetPlayerAttributesParams

func NewAdminGetPlayerAttributesParams() *AdminGetPlayerAttributesParams

NewAdminGetPlayerAttributesParams creates a new AdminGetPlayerAttributesParams object with the default values initialized.

func NewAdminGetPlayerAttributesParamsWithContext

func NewAdminGetPlayerAttributesParamsWithContext(ctx context.Context) *AdminGetPlayerAttributesParams

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

func NewAdminGetPlayerAttributesParamsWithHTTPClient

func NewAdminGetPlayerAttributesParamsWithHTTPClient(client *http.Client) *AdminGetPlayerAttributesParams

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

func NewAdminGetPlayerAttributesParamsWithTimeout

func NewAdminGetPlayerAttributesParamsWithTimeout(timeout time.Duration) *AdminGetPlayerAttributesParams

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

func (*AdminGetPlayerAttributesParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin get player attributes params

func (*AdminGetPlayerAttributesParams) SetContext

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

SetContext adds the context to the admin get player attributes params

func (*AdminGetPlayerAttributesParams) SetFlightId added in v0.63.0

func (o *AdminGetPlayerAttributesParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminGetPlayerAttributesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get player attributes params

func (*AdminGetPlayerAttributesParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin get player attributes params

func (*AdminGetPlayerAttributesParams) SetNamespace

func (o *AdminGetPlayerAttributesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get player attributes params

func (*AdminGetPlayerAttributesParams) SetTimeout

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

SetTimeout adds the timeout to the admin get player attributes params

func (*AdminGetPlayerAttributesParams) SetUserID

func (o *AdminGetPlayerAttributesParams) SetUserID(userID string)

SetUserID adds the userId to the admin get player attributes params

func (*AdminGetPlayerAttributesParams) WithContext

WithContext adds the context to the admin get player attributes params

func (*AdminGetPlayerAttributesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin get player attributes params

func (*AdminGetPlayerAttributesParams) WithNamespace

WithNamespace adds the namespace to the admin get player attributes params

func (*AdminGetPlayerAttributesParams) WithTimeout

WithTimeout adds the timeout to the admin get player attributes params

func (*AdminGetPlayerAttributesParams) WithUserID

WithUserID adds the userID to the admin get player attributes params

func (*AdminGetPlayerAttributesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetPlayerAttributesReader

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

AdminGetPlayerAttributesReader is a Reader for the AdminGetPlayerAttributes structure.

func (*AdminGetPlayerAttributesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetPlayerAttributesUnauthorized

type AdminGetPlayerAttributesUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

AdminGetPlayerAttributesUnauthorized handles this case with default header values.

Unauthorized

func NewAdminGetPlayerAttributesUnauthorized

func NewAdminGetPlayerAttributesUnauthorized() *AdminGetPlayerAttributesUnauthorized

NewAdminGetPlayerAttributesUnauthorized creates a AdminGetPlayerAttributesUnauthorized with default headers values

func (*AdminGetPlayerAttributesUnauthorized) Error

func (*AdminGetPlayerAttributesUnauthorized) GetPayload

func (*AdminGetPlayerAttributesUnauthorized) ToJSONString

func (o *AdminGetPlayerAttributesUnauthorized) ToJSONString() string

type AdminQueryPlayerAttributesBadRequest

type AdminQueryPlayerAttributesBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

AdminQueryPlayerAttributesBadRequest handles this case with default header values.

Bad Request

func NewAdminQueryPlayerAttributesBadRequest

func NewAdminQueryPlayerAttributesBadRequest() *AdminQueryPlayerAttributesBadRequest

NewAdminQueryPlayerAttributesBadRequest creates a AdminQueryPlayerAttributesBadRequest with default headers values

func (*AdminQueryPlayerAttributesBadRequest) Error

func (*AdminQueryPlayerAttributesBadRequest) GetPayload

func (*AdminQueryPlayerAttributesBadRequest) ToJSONString

func (o *AdminQueryPlayerAttributesBadRequest) ToJSONString() string

type AdminQueryPlayerAttributesInternalServerError

type AdminQueryPlayerAttributesInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

AdminQueryPlayerAttributesInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminQueryPlayerAttributesInternalServerError

func NewAdminQueryPlayerAttributesInternalServerError() *AdminQueryPlayerAttributesInternalServerError

NewAdminQueryPlayerAttributesInternalServerError creates a AdminQueryPlayerAttributesInternalServerError with default headers values

func (*AdminQueryPlayerAttributesInternalServerError) Error

func (*AdminQueryPlayerAttributesInternalServerError) GetPayload

func (*AdminQueryPlayerAttributesInternalServerError) ToJSONString

type AdminQueryPlayerAttributesNotFound

type AdminQueryPlayerAttributesNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

AdminQueryPlayerAttributesNotFound handles this case with default header values.

Not Found

func NewAdminQueryPlayerAttributesNotFound

func NewAdminQueryPlayerAttributesNotFound() *AdminQueryPlayerAttributesNotFound

NewAdminQueryPlayerAttributesNotFound creates a AdminQueryPlayerAttributesNotFound with default headers values

func (*AdminQueryPlayerAttributesNotFound) Error

func (*AdminQueryPlayerAttributesNotFound) GetPayload

func (*AdminQueryPlayerAttributesNotFound) ToJSONString

func (o *AdminQueryPlayerAttributesNotFound) ToJSONString() string

type AdminQueryPlayerAttributesOK

type AdminQueryPlayerAttributesOK struct {
	Payload []*sessionclientmodels.ApimodelsPlayerAttributesResponseBody
}

AdminQueryPlayerAttributesOK handles this case with default header values.

OK

func NewAdminQueryPlayerAttributesOK

func NewAdminQueryPlayerAttributesOK() *AdminQueryPlayerAttributesOK

NewAdminQueryPlayerAttributesOK creates a AdminQueryPlayerAttributesOK with default headers values

func (*AdminQueryPlayerAttributesOK) Error

func (*AdminQueryPlayerAttributesOK) GetPayload

func (*AdminQueryPlayerAttributesOK) ToJSONString

func (o *AdminQueryPlayerAttributesOK) ToJSONString() string

type AdminQueryPlayerAttributesParams

type AdminQueryPlayerAttributesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Users
	  comma-separated userIDs

	*/
	Users *string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

AdminQueryPlayerAttributesParams contains all the parameters to send to the API endpoint for the admin query player attributes operation typically these are written to a http.Request

func NewAdminQueryPlayerAttributesParams

func NewAdminQueryPlayerAttributesParams() *AdminQueryPlayerAttributesParams

NewAdminQueryPlayerAttributesParams creates a new AdminQueryPlayerAttributesParams object with the default values initialized.

func NewAdminQueryPlayerAttributesParamsWithContext

func NewAdminQueryPlayerAttributesParamsWithContext(ctx context.Context) *AdminQueryPlayerAttributesParams

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

func NewAdminQueryPlayerAttributesParamsWithHTTPClient

func NewAdminQueryPlayerAttributesParamsWithHTTPClient(client *http.Client) *AdminQueryPlayerAttributesParams

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

func NewAdminQueryPlayerAttributesParamsWithTimeout

func NewAdminQueryPlayerAttributesParamsWithTimeout(timeout time.Duration) *AdminQueryPlayerAttributesParams

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

func (*AdminQueryPlayerAttributesParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin query player attributes params

func (*AdminQueryPlayerAttributesParams) SetContext

SetContext adds the context to the admin query player attributes params

func (*AdminQueryPlayerAttributesParams) SetFlightId added in v0.63.0

func (o *AdminQueryPlayerAttributesParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminQueryPlayerAttributesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin query player attributes params

func (*AdminQueryPlayerAttributesParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin query player attributes params

func (*AdminQueryPlayerAttributesParams) SetNamespace

func (o *AdminQueryPlayerAttributesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin query player attributes params

func (*AdminQueryPlayerAttributesParams) SetTimeout

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

SetTimeout adds the timeout to the admin query player attributes params

func (*AdminQueryPlayerAttributesParams) SetUsers

func (o *AdminQueryPlayerAttributesParams) SetUsers(users *string)

SetUsers adds the users to the admin query player attributes params

func (*AdminQueryPlayerAttributesParams) WithContext

WithContext adds the context to the admin query player attributes params

func (*AdminQueryPlayerAttributesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin query player attributes params

func (*AdminQueryPlayerAttributesParams) WithNamespace

WithNamespace adds the namespace to the admin query player attributes params

func (*AdminQueryPlayerAttributesParams) WithTimeout

WithTimeout adds the timeout to the admin query player attributes params

func (*AdminQueryPlayerAttributesParams) WithUsers

WithUsers adds the users to the admin query player attributes params

func (*AdminQueryPlayerAttributesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminQueryPlayerAttributesReader

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

AdminQueryPlayerAttributesReader is a Reader for the AdminQueryPlayerAttributes structure.

func (*AdminQueryPlayerAttributesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminQueryPlayerAttributesUnauthorized

type AdminQueryPlayerAttributesUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

AdminQueryPlayerAttributesUnauthorized handles this case with default header values.

Unauthorized

func NewAdminQueryPlayerAttributesUnauthorized

func NewAdminQueryPlayerAttributesUnauthorized() *AdminQueryPlayerAttributesUnauthorized

NewAdminQueryPlayerAttributesUnauthorized creates a AdminQueryPlayerAttributesUnauthorized with default headers values

func (*AdminQueryPlayerAttributesUnauthorized) Error

func (*AdminQueryPlayerAttributesUnauthorized) GetPayload

func (*AdminQueryPlayerAttributesUnauthorized) ToJSONString

type Client

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

Client for player API

func (*Client) AdminGetPlayerAttributes deprecated

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

AdminGetPlayerAttributes get player attributes. Admin get attributes of a player.

Field descriptions: - userID : user who owns the attributes. - crossplayEnabled : set to true if the player wants to enable crossplay to their session (default: false). - platforms : list of the player's 3rd party platform account information. - name : platform name. supported platforms: STEAM, XBOX, PSN - userID : platform userID - data : other data that the player wants to store. - PSN_PUSH_CONTEXT_ID: if provided, session will refer to this when performing session sync with PSN, otherwise will populate from session attributes - currentPlatform : latest user game platform. - roles : user role for matchmaking role base support.

func (*Client) AdminGetPlayerAttributesShort

func (a *Client) AdminGetPlayerAttributesShort(params *AdminGetPlayerAttributesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetPlayerAttributesOK, error)

AdminGetPlayerAttributesShort get player attributes. Admin get attributes of a player.

Field descriptions: - userID : user who owns the attributes. - crossplayEnabled : set to true if the player wants to enable crossplay to their session (default: false). - platforms : list of the player's 3rd party platform account information. - name : platform name. supported platforms: STEAM, XBOX, PSN - userID : platform userID - data : other data that the player wants to store. - PSN_PUSH_CONTEXT_ID: if provided, session will refer to this when performing session sync with PSN, otherwise will populate from session attributes - currentPlatform : latest user game platform. - roles : user role for matchmaking role base support.

func (*Client) AdminQueryPlayerAttributes deprecated

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

AdminQueryPlayerAttributes query player attributes. Admin get attributes of players.

Field descriptions: - userID : user who owns the attributes. - crossplayEnabled : set to true if the player wants to enable crossplay to their session (default: false). - platforms : list of the player's 3rd party platform account information. - name : platform name. supported platforms: STEAM, XBOX, PSN - userID : platform userID - data : other data that the player wants to store. - PSN_PUSH_CONTEXT_ID: if provided, session will refer to this when performing session sync with PSN, otherwise will populate from session attributes, otherwise will populate from session attributes - currentPlatform : latest user game platform. - roles : user role for matchmaking role base support.

func (*Client) AdminQueryPlayerAttributesShort

func (a *Client) AdminQueryPlayerAttributesShort(params *AdminQueryPlayerAttributesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminQueryPlayerAttributesOK, error)

AdminQueryPlayerAttributesShort query player attributes. Admin get attributes of players.

Field descriptions: - userID : user who owns the attributes. - crossplayEnabled : set to true if the player wants to enable crossplay to their session (default: false). - platforms : list of the player's 3rd party platform account information. - name : platform name. supported platforms: STEAM, XBOX, PSN - userID : platform userID - data : other data that the player wants to store. - PSN_PUSH_CONTEXT_ID: if provided, session will refer to this when performing session sync with PSN, otherwise will populate from session attributes, otherwise will populate from session attributes - currentPlatform : latest user game platform. - roles : user role for matchmaking role base support.

func (*Client) PublicDeletePlayerAttributes deprecated

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

PublicDeletePlayerAttributes remove player attributes. Reset player attributes.

func (*Client) PublicDeletePlayerAttributesShort

func (a *Client) PublicDeletePlayerAttributesShort(params *PublicDeletePlayerAttributesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDeletePlayerAttributesNoContent, error)

PublicDeletePlayerAttributesShort remove player attributes. Reset player attributes.

func (*Client) PublicGetBulkPlayerCurrentPlatform deprecated added in v0.46.0

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

PublicGetBulkPlayerCurrentPlatform get player current platform in bulk. Get bulk players current platform.

func (*Client) PublicGetBulkPlayerCurrentPlatformShort added in v0.46.0

func (a *Client) PublicGetBulkPlayerCurrentPlatformShort(params *PublicGetBulkPlayerCurrentPlatformParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetBulkPlayerCurrentPlatformOK, error)

PublicGetBulkPlayerCurrentPlatformShort get player current platform in bulk. Get bulk players current platform.

func (*Client) PublicGetPlayerAttributes deprecated

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

PublicGetPlayerAttributes get player attributes. Get player attributes.

Field descriptions: - userID : user who owns the attributes. - crossplayEnabled : set to true if the player wants to enable crossplay to their session (default: false). - platforms : list of the player's 3rd party platform account information. - name : platform name. supported platforms: STEAM, XBOX, PSN - userID : platform userID - data : other data that the player wants to store. - PSN_PUSH_CONTEXT_ID: if provided, session will refer to this when performing session sync with PSN, otherwise will populate from session attributes - currentPlatform : latest user game platform. - roles : user role for matchmaking role base support.

func (*Client) PublicGetPlayerAttributesShort

func (a *Client) PublicGetPlayerAttributesShort(params *PublicGetPlayerAttributesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetPlayerAttributesOK, error)

PublicGetPlayerAttributesShort get player attributes. Get player attributes.

Field descriptions: - userID : user who owns the attributes. - crossplayEnabled : set to true if the player wants to enable crossplay to their session (default: false). - platforms : list of the player's 3rd party platform account information. - name : platform name. supported platforms: STEAM, XBOX, PSN - userID : platform userID - data : other data that the player wants to store. - PSN_PUSH_CONTEXT_ID: if provided, session will refer to this when performing session sync with PSN, otherwise will populate from session attributes - currentPlatform : latest user game platform. - roles : user role for matchmaking role base support.

func (*Client) PublicStorePlayerAttributes deprecated

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

PublicStorePlayerAttributes store player attributes. This API behaves to upsert player's attributes.

Field descriptions: - userID : user who owns the attributes. - crossplayEnabled : set to true if the player wants to enable crossplay to their session (default: false). - platforms : list of the player's 3rd party platform account information. - name : platform name. supported platforms: STEAM, XBOX, PSN - userID : platform userID - data : other data that the player wants to store. - PSN_PUSH_CONTEXT_ID: if provided, session will refer to this when performing session sync with PSN, otherwise will populate from session attributes - currentPlatform : latest user game platform. - roles : user role for matchmaking role base support.

func (*Client) PublicStorePlayerAttributesShort

func (a *Client) PublicStorePlayerAttributesShort(params *PublicStorePlayerAttributesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicStorePlayerAttributesOK, error)

PublicStorePlayerAttributesShort store player attributes. This API behaves to upsert player's attributes.

Field descriptions: - userID : user who owns the attributes. - crossplayEnabled : set to true if the player wants to enable crossplay to their session (default: false). - platforms : list of the player's 3rd party platform account information. - name : platform name. supported platforms: STEAM, XBOX, PSN - userID : platform userID - data : other data that the player wants to store. - PSN_PUSH_CONTEXT_ID: if provided, session will refer to this when performing session sync with PSN, otherwise will populate from session attributes - currentPlatform : latest user game platform. - roles : user role for matchmaking role base support.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	AdminQueryPlayerAttributes(params *AdminQueryPlayerAttributesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminQueryPlayerAttributesOK, *AdminQueryPlayerAttributesBadRequest, *AdminQueryPlayerAttributesUnauthorized, *AdminQueryPlayerAttributesNotFound, *AdminQueryPlayerAttributesInternalServerError, error)
	AdminQueryPlayerAttributesShort(params *AdminQueryPlayerAttributesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminQueryPlayerAttributesOK, error)
	AdminGetPlayerAttributes(params *AdminGetPlayerAttributesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetPlayerAttributesOK, *AdminGetPlayerAttributesBadRequest, *AdminGetPlayerAttributesUnauthorized, *AdminGetPlayerAttributesNotFound, *AdminGetPlayerAttributesInternalServerError, error)
	AdminGetPlayerAttributesShort(params *AdminGetPlayerAttributesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetPlayerAttributesOK, error)
	PublicGetBulkPlayerCurrentPlatform(params *PublicGetBulkPlayerCurrentPlatformParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetBulkPlayerCurrentPlatformOK, *PublicGetBulkPlayerCurrentPlatformBadRequest, *PublicGetBulkPlayerCurrentPlatformUnauthorized, *PublicGetBulkPlayerCurrentPlatformNotFound, *PublicGetBulkPlayerCurrentPlatformInternalServerError, error)
	PublicGetBulkPlayerCurrentPlatformShort(params *PublicGetBulkPlayerCurrentPlatformParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetBulkPlayerCurrentPlatformOK, error)
	PublicGetPlayerAttributes(params *PublicGetPlayerAttributesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetPlayerAttributesOK, *PublicGetPlayerAttributesBadRequest, *PublicGetPlayerAttributesUnauthorized, *PublicGetPlayerAttributesNotFound, *PublicGetPlayerAttributesInternalServerError, error)
	PublicGetPlayerAttributesShort(params *PublicGetPlayerAttributesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetPlayerAttributesOK, error)
	PublicStorePlayerAttributes(params *PublicStorePlayerAttributesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicStorePlayerAttributesOK, *PublicStorePlayerAttributesBadRequest, *PublicStorePlayerAttributesUnauthorized, *PublicStorePlayerAttributesInternalServerError, error)
	PublicStorePlayerAttributesShort(params *PublicStorePlayerAttributesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicStorePlayerAttributesOK, error)
	PublicDeletePlayerAttributes(params *PublicDeletePlayerAttributesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDeletePlayerAttributesNoContent, *PublicDeletePlayerAttributesBadRequest, *PublicDeletePlayerAttributesUnauthorized, *PublicDeletePlayerAttributesNotFound, *PublicDeletePlayerAttributesInternalServerError, error)
	PublicDeletePlayerAttributesShort(params *PublicDeletePlayerAttributesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDeletePlayerAttributesNoContent, 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 player API client.

type PublicDeletePlayerAttributesBadRequest

type PublicDeletePlayerAttributesBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

PublicDeletePlayerAttributesBadRequest handles this case with default header values.

Bad Request

func NewPublicDeletePlayerAttributesBadRequest

func NewPublicDeletePlayerAttributesBadRequest() *PublicDeletePlayerAttributesBadRequest

NewPublicDeletePlayerAttributesBadRequest creates a PublicDeletePlayerAttributesBadRequest with default headers values

func (*PublicDeletePlayerAttributesBadRequest) Error

func (*PublicDeletePlayerAttributesBadRequest) GetPayload

func (*PublicDeletePlayerAttributesBadRequest) ToJSONString

type PublicDeletePlayerAttributesInternalServerError

type PublicDeletePlayerAttributesInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

PublicDeletePlayerAttributesInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicDeletePlayerAttributesInternalServerError

func NewPublicDeletePlayerAttributesInternalServerError() *PublicDeletePlayerAttributesInternalServerError

NewPublicDeletePlayerAttributesInternalServerError creates a PublicDeletePlayerAttributesInternalServerError with default headers values

func (*PublicDeletePlayerAttributesInternalServerError) Error

func (*PublicDeletePlayerAttributesInternalServerError) GetPayload

func (*PublicDeletePlayerAttributesInternalServerError) ToJSONString

type PublicDeletePlayerAttributesNoContent

type PublicDeletePlayerAttributesNoContent struct {
}

PublicDeletePlayerAttributesNoContent handles this case with default header values.

No Content

func NewPublicDeletePlayerAttributesNoContent

func NewPublicDeletePlayerAttributesNoContent() *PublicDeletePlayerAttributesNoContent

NewPublicDeletePlayerAttributesNoContent creates a PublicDeletePlayerAttributesNoContent with default headers values

func (*PublicDeletePlayerAttributesNoContent) Error

type PublicDeletePlayerAttributesNotFound

type PublicDeletePlayerAttributesNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

PublicDeletePlayerAttributesNotFound handles this case with default header values.

Not Found

func NewPublicDeletePlayerAttributesNotFound

func NewPublicDeletePlayerAttributesNotFound() *PublicDeletePlayerAttributesNotFound

NewPublicDeletePlayerAttributesNotFound creates a PublicDeletePlayerAttributesNotFound with default headers values

func (*PublicDeletePlayerAttributesNotFound) Error

func (*PublicDeletePlayerAttributesNotFound) GetPayload

func (*PublicDeletePlayerAttributesNotFound) ToJSONString

func (o *PublicDeletePlayerAttributesNotFound) ToJSONString() string

type PublicDeletePlayerAttributesParams

type PublicDeletePlayerAttributesParams struct {

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

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewPublicDeletePlayerAttributesParams

func NewPublicDeletePlayerAttributesParams() *PublicDeletePlayerAttributesParams

NewPublicDeletePlayerAttributesParams creates a new PublicDeletePlayerAttributesParams object with the default values initialized.

func NewPublicDeletePlayerAttributesParamsWithContext

func NewPublicDeletePlayerAttributesParamsWithContext(ctx context.Context) *PublicDeletePlayerAttributesParams

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

func NewPublicDeletePlayerAttributesParamsWithHTTPClient

func NewPublicDeletePlayerAttributesParamsWithHTTPClient(client *http.Client) *PublicDeletePlayerAttributesParams

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

func NewPublicDeletePlayerAttributesParamsWithTimeout

func NewPublicDeletePlayerAttributesParamsWithTimeout(timeout time.Duration) *PublicDeletePlayerAttributesParams

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

func (*PublicDeletePlayerAttributesParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public delete player attributes params

func (*PublicDeletePlayerAttributesParams) SetContext

SetContext adds the context to the public delete player attributes params

func (*PublicDeletePlayerAttributesParams) SetFlightId added in v0.63.0

func (o *PublicDeletePlayerAttributesParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicDeletePlayerAttributesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public delete player attributes params

func (*PublicDeletePlayerAttributesParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public delete player attributes params

func (*PublicDeletePlayerAttributesParams) SetNamespace

func (o *PublicDeletePlayerAttributesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public delete player attributes params

func (*PublicDeletePlayerAttributesParams) SetTimeout

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

SetTimeout adds the timeout to the public delete player attributes params

func (*PublicDeletePlayerAttributesParams) WithContext

WithContext adds the context to the public delete player attributes params

func (*PublicDeletePlayerAttributesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public delete player attributes params

func (*PublicDeletePlayerAttributesParams) WithNamespace

WithNamespace adds the namespace to the public delete player attributes params

func (*PublicDeletePlayerAttributesParams) WithTimeout

WithTimeout adds the timeout to the public delete player attributes params

func (*PublicDeletePlayerAttributesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicDeletePlayerAttributesReader

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

PublicDeletePlayerAttributesReader is a Reader for the PublicDeletePlayerAttributes structure.

func (*PublicDeletePlayerAttributesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicDeletePlayerAttributesUnauthorized

type PublicDeletePlayerAttributesUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

PublicDeletePlayerAttributesUnauthorized handles this case with default header values.

Unauthorized

func NewPublicDeletePlayerAttributesUnauthorized

func NewPublicDeletePlayerAttributesUnauthorized() *PublicDeletePlayerAttributesUnauthorized

NewPublicDeletePlayerAttributesUnauthorized creates a PublicDeletePlayerAttributesUnauthorized with default headers values

func (*PublicDeletePlayerAttributesUnauthorized) Error

func (*PublicDeletePlayerAttributesUnauthorized) GetPayload

func (*PublicDeletePlayerAttributesUnauthorized) ToJSONString

type PublicGetBulkPlayerCurrentPlatformBadRequest added in v0.46.0

type PublicGetBulkPlayerCurrentPlatformBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

PublicGetBulkPlayerCurrentPlatformBadRequest handles this case with default header values.

Bad Request

func NewPublicGetBulkPlayerCurrentPlatformBadRequest added in v0.46.0

func NewPublicGetBulkPlayerCurrentPlatformBadRequest() *PublicGetBulkPlayerCurrentPlatformBadRequest

NewPublicGetBulkPlayerCurrentPlatformBadRequest creates a PublicGetBulkPlayerCurrentPlatformBadRequest with default headers values

func (*PublicGetBulkPlayerCurrentPlatformBadRequest) Error added in v0.46.0

func (*PublicGetBulkPlayerCurrentPlatformBadRequest) GetPayload added in v0.46.0

func (*PublicGetBulkPlayerCurrentPlatformBadRequest) ToJSONString added in v0.46.0

type PublicGetBulkPlayerCurrentPlatformInternalServerError added in v0.46.0

type PublicGetBulkPlayerCurrentPlatformInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

PublicGetBulkPlayerCurrentPlatformInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicGetBulkPlayerCurrentPlatformInternalServerError added in v0.46.0

func NewPublicGetBulkPlayerCurrentPlatformInternalServerError() *PublicGetBulkPlayerCurrentPlatformInternalServerError

NewPublicGetBulkPlayerCurrentPlatformInternalServerError creates a PublicGetBulkPlayerCurrentPlatformInternalServerError with default headers values

func (*PublicGetBulkPlayerCurrentPlatformInternalServerError) Error added in v0.46.0

func (*PublicGetBulkPlayerCurrentPlatformInternalServerError) GetPayload added in v0.46.0

func (*PublicGetBulkPlayerCurrentPlatformInternalServerError) ToJSONString added in v0.46.0

type PublicGetBulkPlayerCurrentPlatformNotFound added in v0.46.0

type PublicGetBulkPlayerCurrentPlatformNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

PublicGetBulkPlayerCurrentPlatformNotFound handles this case with default header values.

Not Found

func NewPublicGetBulkPlayerCurrentPlatformNotFound added in v0.46.0

func NewPublicGetBulkPlayerCurrentPlatformNotFound() *PublicGetBulkPlayerCurrentPlatformNotFound

NewPublicGetBulkPlayerCurrentPlatformNotFound creates a PublicGetBulkPlayerCurrentPlatformNotFound with default headers values

func (*PublicGetBulkPlayerCurrentPlatformNotFound) Error added in v0.46.0

func (*PublicGetBulkPlayerCurrentPlatformNotFound) GetPayload added in v0.46.0

func (*PublicGetBulkPlayerCurrentPlatformNotFound) ToJSONString added in v0.46.0

type PublicGetBulkPlayerCurrentPlatformOK added in v0.46.0

type PublicGetBulkPlayerCurrentPlatformOK struct {
	Payload *sessionclientmodels.ApimodelsPlayersCurrentPlatformResponse
}

PublicGetBulkPlayerCurrentPlatformOK handles this case with default header values.

OK

func NewPublicGetBulkPlayerCurrentPlatformOK added in v0.46.0

func NewPublicGetBulkPlayerCurrentPlatformOK() *PublicGetBulkPlayerCurrentPlatformOK

NewPublicGetBulkPlayerCurrentPlatformOK creates a PublicGetBulkPlayerCurrentPlatformOK with default headers values

func (*PublicGetBulkPlayerCurrentPlatformOK) Error added in v0.46.0

func (*PublicGetBulkPlayerCurrentPlatformOK) GetPayload added in v0.46.0

func (*PublicGetBulkPlayerCurrentPlatformOK) ToJSONString added in v0.46.0

func (o *PublicGetBulkPlayerCurrentPlatformOK) ToJSONString() string

type PublicGetBulkPlayerCurrentPlatformParams added in v0.46.0

type PublicGetBulkPlayerCurrentPlatformParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *sessionclientmodels.ApimodelsPlayersCurrentPlatformRequest
	/*Namespace
	  Namespace

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

PublicGetBulkPlayerCurrentPlatformParams contains all the parameters to send to the API endpoint for the public get bulk player current platform operation typically these are written to a http.Request

func NewPublicGetBulkPlayerCurrentPlatformParams added in v0.46.0

func NewPublicGetBulkPlayerCurrentPlatformParams() *PublicGetBulkPlayerCurrentPlatformParams

NewPublicGetBulkPlayerCurrentPlatformParams creates a new PublicGetBulkPlayerCurrentPlatformParams object with the default values initialized.

func NewPublicGetBulkPlayerCurrentPlatformParamsWithContext added in v0.46.0

func NewPublicGetBulkPlayerCurrentPlatformParamsWithContext(ctx context.Context) *PublicGetBulkPlayerCurrentPlatformParams

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

func NewPublicGetBulkPlayerCurrentPlatformParamsWithHTTPClient added in v0.46.0

func NewPublicGetBulkPlayerCurrentPlatformParamsWithHTTPClient(client *http.Client) *PublicGetBulkPlayerCurrentPlatformParams

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

func NewPublicGetBulkPlayerCurrentPlatformParamsWithTimeout added in v0.46.0

func NewPublicGetBulkPlayerCurrentPlatformParamsWithTimeout(timeout time.Duration) *PublicGetBulkPlayerCurrentPlatformParams

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

func (*PublicGetBulkPlayerCurrentPlatformParams) SetAuthInfoWriter added in v0.46.0

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

SetAuthInfoWriter adds the authInfoWriter to the public get bulk player current platform params

func (*PublicGetBulkPlayerCurrentPlatformParams) SetBody added in v0.46.0

SetBody adds the body to the public get bulk player current platform params

func (*PublicGetBulkPlayerCurrentPlatformParams) SetContext added in v0.46.0

SetContext adds the context to the public get bulk player current platform params

func (*PublicGetBulkPlayerCurrentPlatformParams) SetFlightId added in v0.63.0

func (o *PublicGetBulkPlayerCurrentPlatformParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicGetBulkPlayerCurrentPlatformParams) SetHTTPClient added in v0.46.0

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

SetHTTPClient adds the HTTPClient to the public get bulk player current platform params

func (*PublicGetBulkPlayerCurrentPlatformParams) SetHTTPClientTransport added in v0.46.0

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

SetHTTPClient adds the HTTPClient Transport to the public get bulk player current platform params

func (*PublicGetBulkPlayerCurrentPlatformParams) SetNamespace added in v0.46.0

func (o *PublicGetBulkPlayerCurrentPlatformParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get bulk player current platform params

func (*PublicGetBulkPlayerCurrentPlatformParams) SetTimeout added in v0.46.0

SetTimeout adds the timeout to the public get bulk player current platform params

func (*PublicGetBulkPlayerCurrentPlatformParams) WithBody added in v0.46.0

WithBody adds the body to the public get bulk player current platform params

func (*PublicGetBulkPlayerCurrentPlatformParams) WithContext added in v0.46.0

WithContext adds the context to the public get bulk player current platform params

func (*PublicGetBulkPlayerCurrentPlatformParams) WithHTTPClient added in v0.46.0

WithHTTPClient adds the HTTPClient to the public get bulk player current platform params

func (*PublicGetBulkPlayerCurrentPlatformParams) WithNamespace added in v0.46.0

WithNamespace adds the namespace to the public get bulk player current platform params

func (*PublicGetBulkPlayerCurrentPlatformParams) WithTimeout added in v0.46.0

WithTimeout adds the timeout to the public get bulk player current platform params

func (*PublicGetBulkPlayerCurrentPlatformParams) WriteToRequest added in v0.46.0

WriteToRequest writes these params to a swagger request

type PublicGetBulkPlayerCurrentPlatformReader added in v0.46.0

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

PublicGetBulkPlayerCurrentPlatformReader is a Reader for the PublicGetBulkPlayerCurrentPlatform structure.

func (*PublicGetBulkPlayerCurrentPlatformReader) ReadResponse added in v0.46.0

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

ReadResponse reads a server response into the received o.

type PublicGetBulkPlayerCurrentPlatformUnauthorized added in v0.46.0

type PublicGetBulkPlayerCurrentPlatformUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

PublicGetBulkPlayerCurrentPlatformUnauthorized handles this case with default header values.

Unauthorized

func NewPublicGetBulkPlayerCurrentPlatformUnauthorized added in v0.46.0

func NewPublicGetBulkPlayerCurrentPlatformUnauthorized() *PublicGetBulkPlayerCurrentPlatformUnauthorized

NewPublicGetBulkPlayerCurrentPlatformUnauthorized creates a PublicGetBulkPlayerCurrentPlatformUnauthorized with default headers values

func (*PublicGetBulkPlayerCurrentPlatformUnauthorized) Error added in v0.46.0

func (*PublicGetBulkPlayerCurrentPlatformUnauthorized) GetPayload added in v0.46.0

func (*PublicGetBulkPlayerCurrentPlatformUnauthorized) ToJSONString added in v0.46.0

type PublicGetPlayerAttributesBadRequest

type PublicGetPlayerAttributesBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

PublicGetPlayerAttributesBadRequest handles this case with default header values.

Bad Request

func NewPublicGetPlayerAttributesBadRequest

func NewPublicGetPlayerAttributesBadRequest() *PublicGetPlayerAttributesBadRequest

NewPublicGetPlayerAttributesBadRequest creates a PublicGetPlayerAttributesBadRequest with default headers values

func (*PublicGetPlayerAttributesBadRequest) Error

func (*PublicGetPlayerAttributesBadRequest) GetPayload

func (*PublicGetPlayerAttributesBadRequest) ToJSONString

func (o *PublicGetPlayerAttributesBadRequest) ToJSONString() string

type PublicGetPlayerAttributesInternalServerError

type PublicGetPlayerAttributesInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

PublicGetPlayerAttributesInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicGetPlayerAttributesInternalServerError

func NewPublicGetPlayerAttributesInternalServerError() *PublicGetPlayerAttributesInternalServerError

NewPublicGetPlayerAttributesInternalServerError creates a PublicGetPlayerAttributesInternalServerError with default headers values

func (*PublicGetPlayerAttributesInternalServerError) Error

func (*PublicGetPlayerAttributesInternalServerError) GetPayload

func (*PublicGetPlayerAttributesInternalServerError) ToJSONString

type PublicGetPlayerAttributesNotFound

type PublicGetPlayerAttributesNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

PublicGetPlayerAttributesNotFound handles this case with default header values.

Not Found

func NewPublicGetPlayerAttributesNotFound

func NewPublicGetPlayerAttributesNotFound() *PublicGetPlayerAttributesNotFound

NewPublicGetPlayerAttributesNotFound creates a PublicGetPlayerAttributesNotFound with default headers values

func (*PublicGetPlayerAttributesNotFound) Error

func (*PublicGetPlayerAttributesNotFound) GetPayload

func (*PublicGetPlayerAttributesNotFound) ToJSONString

func (o *PublicGetPlayerAttributesNotFound) ToJSONString() string

type PublicGetPlayerAttributesOK

type PublicGetPlayerAttributesOK struct {
	Payload *sessionclientmodels.ApimodelsPlayerAttributesResponseBody
}

PublicGetPlayerAttributesOK handles this case with default header values.

OK

func NewPublicGetPlayerAttributesOK

func NewPublicGetPlayerAttributesOK() *PublicGetPlayerAttributesOK

NewPublicGetPlayerAttributesOK creates a PublicGetPlayerAttributesOK with default headers values

func (*PublicGetPlayerAttributesOK) Error

func (*PublicGetPlayerAttributesOK) GetPayload

func (*PublicGetPlayerAttributesOK) ToJSONString

func (o *PublicGetPlayerAttributesOK) ToJSONString() string

type PublicGetPlayerAttributesParams

type PublicGetPlayerAttributesParams struct {

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

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewPublicGetPlayerAttributesParams

func NewPublicGetPlayerAttributesParams() *PublicGetPlayerAttributesParams

NewPublicGetPlayerAttributesParams creates a new PublicGetPlayerAttributesParams object with the default values initialized.

func NewPublicGetPlayerAttributesParamsWithContext

func NewPublicGetPlayerAttributesParamsWithContext(ctx context.Context) *PublicGetPlayerAttributesParams

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

func NewPublicGetPlayerAttributesParamsWithHTTPClient

func NewPublicGetPlayerAttributesParamsWithHTTPClient(client *http.Client) *PublicGetPlayerAttributesParams

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

func NewPublicGetPlayerAttributesParamsWithTimeout

func NewPublicGetPlayerAttributesParamsWithTimeout(timeout time.Duration) *PublicGetPlayerAttributesParams

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

func (*PublicGetPlayerAttributesParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public get player attributes params

func (*PublicGetPlayerAttributesParams) SetContext

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

SetContext adds the context to the public get player attributes params

func (*PublicGetPlayerAttributesParams) SetFlightId added in v0.63.0

func (o *PublicGetPlayerAttributesParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicGetPlayerAttributesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get player attributes params

func (*PublicGetPlayerAttributesParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public get player attributes params

func (*PublicGetPlayerAttributesParams) SetNamespace

func (o *PublicGetPlayerAttributesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get player attributes params

func (*PublicGetPlayerAttributesParams) SetTimeout

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

SetTimeout adds the timeout to the public get player attributes params

func (*PublicGetPlayerAttributesParams) WithContext

WithContext adds the context to the public get player attributes params

func (*PublicGetPlayerAttributesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get player attributes params

func (*PublicGetPlayerAttributesParams) WithNamespace

WithNamespace adds the namespace to the public get player attributes params

func (*PublicGetPlayerAttributesParams) WithTimeout

WithTimeout adds the timeout to the public get player attributes params

func (*PublicGetPlayerAttributesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetPlayerAttributesReader

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

PublicGetPlayerAttributesReader is a Reader for the PublicGetPlayerAttributes structure.

func (*PublicGetPlayerAttributesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetPlayerAttributesUnauthorized

type PublicGetPlayerAttributesUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

PublicGetPlayerAttributesUnauthorized handles this case with default header values.

Unauthorized

func NewPublicGetPlayerAttributesUnauthorized

func NewPublicGetPlayerAttributesUnauthorized() *PublicGetPlayerAttributesUnauthorized

NewPublicGetPlayerAttributesUnauthorized creates a PublicGetPlayerAttributesUnauthorized with default headers values

func (*PublicGetPlayerAttributesUnauthorized) Error

func (*PublicGetPlayerAttributesUnauthorized) GetPayload

func (*PublicGetPlayerAttributesUnauthorized) ToJSONString

type PublicStorePlayerAttributesBadRequest

type PublicStorePlayerAttributesBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

PublicStorePlayerAttributesBadRequest handles this case with default header values.

Bad Request

func NewPublicStorePlayerAttributesBadRequest

func NewPublicStorePlayerAttributesBadRequest() *PublicStorePlayerAttributesBadRequest

NewPublicStorePlayerAttributesBadRequest creates a PublicStorePlayerAttributesBadRequest with default headers values

func (*PublicStorePlayerAttributesBadRequest) Error

func (*PublicStorePlayerAttributesBadRequest) GetPayload

func (*PublicStorePlayerAttributesBadRequest) ToJSONString

type PublicStorePlayerAttributesInternalServerError

type PublicStorePlayerAttributesInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

PublicStorePlayerAttributesInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicStorePlayerAttributesInternalServerError

func NewPublicStorePlayerAttributesInternalServerError() *PublicStorePlayerAttributesInternalServerError

NewPublicStorePlayerAttributesInternalServerError creates a PublicStorePlayerAttributesInternalServerError with default headers values

func (*PublicStorePlayerAttributesInternalServerError) Error

func (*PublicStorePlayerAttributesInternalServerError) GetPayload

func (*PublicStorePlayerAttributesInternalServerError) ToJSONString

type PublicStorePlayerAttributesOK

type PublicStorePlayerAttributesOK struct {
	Payload *sessionclientmodels.ApimodelsPlayerAttributesResponseBody
}

PublicStorePlayerAttributesOK handles this case with default header values.

OK

func NewPublicStorePlayerAttributesOK

func NewPublicStorePlayerAttributesOK() *PublicStorePlayerAttributesOK

NewPublicStorePlayerAttributesOK creates a PublicStorePlayerAttributesOK with default headers values

func (*PublicStorePlayerAttributesOK) Error

func (*PublicStorePlayerAttributesOK) GetPayload

func (*PublicStorePlayerAttributesOK) ToJSONString

func (o *PublicStorePlayerAttributesOK) ToJSONString() string

type PublicStorePlayerAttributesParams

type PublicStorePlayerAttributesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *sessionclientmodels.ApimodelsPlayerAttributesRequestBody
	/*Namespace
	  Namespace

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

PublicStorePlayerAttributesParams contains all the parameters to send to the API endpoint for the public store player attributes operation typically these are written to a http.Request

func NewPublicStorePlayerAttributesParams

func NewPublicStorePlayerAttributesParams() *PublicStorePlayerAttributesParams

NewPublicStorePlayerAttributesParams creates a new PublicStorePlayerAttributesParams object with the default values initialized.

func NewPublicStorePlayerAttributesParamsWithContext

func NewPublicStorePlayerAttributesParamsWithContext(ctx context.Context) *PublicStorePlayerAttributesParams

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

func NewPublicStorePlayerAttributesParamsWithHTTPClient

func NewPublicStorePlayerAttributesParamsWithHTTPClient(client *http.Client) *PublicStorePlayerAttributesParams

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

func NewPublicStorePlayerAttributesParamsWithTimeout

func NewPublicStorePlayerAttributesParamsWithTimeout(timeout time.Duration) *PublicStorePlayerAttributesParams

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

func (*PublicStorePlayerAttributesParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public store player attributes params

func (*PublicStorePlayerAttributesParams) SetBody

SetBody adds the body to the public store player attributes params

func (*PublicStorePlayerAttributesParams) SetContext

SetContext adds the context to the public store player attributes params

func (*PublicStorePlayerAttributesParams) SetFlightId added in v0.63.0

func (o *PublicStorePlayerAttributesParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicStorePlayerAttributesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public store player attributes params

func (*PublicStorePlayerAttributesParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public store player attributes params

func (*PublicStorePlayerAttributesParams) SetNamespace

func (o *PublicStorePlayerAttributesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public store player attributes params

func (*PublicStorePlayerAttributesParams) SetTimeout

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

SetTimeout adds the timeout to the public store player attributes params

func (*PublicStorePlayerAttributesParams) WithBody

WithBody adds the body to the public store player attributes params

func (*PublicStorePlayerAttributesParams) WithContext

WithContext adds the context to the public store player attributes params

func (*PublicStorePlayerAttributesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public store player attributes params

func (*PublicStorePlayerAttributesParams) WithNamespace

WithNamespace adds the namespace to the public store player attributes params

func (*PublicStorePlayerAttributesParams) WithTimeout

WithTimeout adds the timeout to the public store player attributes params

func (*PublicStorePlayerAttributesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicStorePlayerAttributesReader

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

PublicStorePlayerAttributesReader is a Reader for the PublicStorePlayerAttributes structure.

func (*PublicStorePlayerAttributesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicStorePlayerAttributesUnauthorized

type PublicStorePlayerAttributesUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

PublicStorePlayerAttributesUnauthorized handles this case with default header values.

Unauthorized

func NewPublicStorePlayerAttributesUnauthorized

func NewPublicStorePlayerAttributesUnauthorized() *PublicStorePlayerAttributesUnauthorized

NewPublicStorePlayerAttributesUnauthorized creates a PublicStorePlayerAttributesUnauthorized with default headers values

func (*PublicStorePlayerAttributesUnauthorized) Error

func (*PublicStorePlayerAttributesUnauthorized) GetPayload

func (*PublicStorePlayerAttributesUnauthorized) ToJSONString

Jump to

Keyboard shortcuts

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