platform_achievement

package
v0.70.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 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 BulkCreatePSNEventForbidden

type BulkCreatePSNEventForbidden struct {
	Payload *achievementclientmodels.ResponseError
}

BulkCreatePSNEventForbidden handles this case with default header values.

Forbidden

func NewBulkCreatePSNEventForbidden

func NewBulkCreatePSNEventForbidden() *BulkCreatePSNEventForbidden

NewBulkCreatePSNEventForbidden creates a BulkCreatePSNEventForbidden with default headers values

func (*BulkCreatePSNEventForbidden) Error

func (*BulkCreatePSNEventForbidden) GetPayload

func (*BulkCreatePSNEventForbidden) ToJSONString

func (o *BulkCreatePSNEventForbidden) ToJSONString() string

type BulkCreatePSNEventInternalServerError

type BulkCreatePSNEventInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

BulkCreatePSNEventInternalServerError handles this case with default header values.

Internal Server Error

func NewBulkCreatePSNEventInternalServerError

func NewBulkCreatePSNEventInternalServerError() *BulkCreatePSNEventInternalServerError

NewBulkCreatePSNEventInternalServerError creates a BulkCreatePSNEventInternalServerError with default headers values

func (*BulkCreatePSNEventInternalServerError) Error

func (*BulkCreatePSNEventInternalServerError) GetPayload

func (*BulkCreatePSNEventInternalServerError) ToJSONString

type BulkCreatePSNEventOK

type BulkCreatePSNEventOK struct {
	Payload *achievementclientmodels.ModelsBulkCreatePSNEventResponse
}

BulkCreatePSNEventOK handles this case with default header values.

OK

func NewBulkCreatePSNEventOK

func NewBulkCreatePSNEventOK() *BulkCreatePSNEventOK

NewBulkCreatePSNEventOK creates a BulkCreatePSNEventOK with default headers values

func (*BulkCreatePSNEventOK) Error

func (o *BulkCreatePSNEventOK) Error() string

func (*BulkCreatePSNEventOK) GetPayload

func (*BulkCreatePSNEventOK) ToJSONString

func (o *BulkCreatePSNEventOK) ToJSONString() string

type BulkCreatePSNEventParams

type BulkCreatePSNEventParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *achievementclientmodels.ModelsBulkCreatePSNEvents
	/*Namespace
	  namespace of the game

	*/
	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
}

BulkCreatePSNEventParams contains all the parameters to send to the API endpoint for the bulk create psn event operation typically these are written to a http.Request

func NewBulkCreatePSNEventParams

func NewBulkCreatePSNEventParams() *BulkCreatePSNEventParams

NewBulkCreatePSNEventParams creates a new BulkCreatePSNEventParams object with the default values initialized.

func NewBulkCreatePSNEventParamsWithContext

func NewBulkCreatePSNEventParamsWithContext(ctx context.Context) *BulkCreatePSNEventParams

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

func NewBulkCreatePSNEventParamsWithHTTPClient

func NewBulkCreatePSNEventParamsWithHTTPClient(client *http.Client) *BulkCreatePSNEventParams

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

func NewBulkCreatePSNEventParamsWithTimeout

func NewBulkCreatePSNEventParamsWithTimeout(timeout time.Duration) *BulkCreatePSNEventParams

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

func (*BulkCreatePSNEventParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the bulk create psn event params

func (*BulkCreatePSNEventParams) SetBody

SetBody adds the body to the bulk create psn event params

func (*BulkCreatePSNEventParams) SetContext

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

SetContext adds the context to the bulk create psn event params

func (*BulkCreatePSNEventParams) SetFlightId

func (o *BulkCreatePSNEventParams) SetFlightId(flightId string)

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

func (*BulkCreatePSNEventParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the bulk create psn event params

func (*BulkCreatePSNEventParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the bulk create psn event params

func (*BulkCreatePSNEventParams) SetNamespace

func (o *BulkCreatePSNEventParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the bulk create psn event params

func (*BulkCreatePSNEventParams) SetTimeout

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

SetTimeout adds the timeout to the bulk create psn event params

func (*BulkCreatePSNEventParams) WithBody

WithBody adds the body to the bulk create psn event params

func (*BulkCreatePSNEventParams) WithContext

WithContext adds the context to the bulk create psn event params

func (*BulkCreatePSNEventParams) WithHTTPClient

func (o *BulkCreatePSNEventParams) WithHTTPClient(client *http.Client) *BulkCreatePSNEventParams

WithHTTPClient adds the HTTPClient to the bulk create psn event params

func (*BulkCreatePSNEventParams) WithNamespace

func (o *BulkCreatePSNEventParams) WithNamespace(namespace string) *BulkCreatePSNEventParams

WithNamespace adds the namespace to the bulk create psn event params

func (*BulkCreatePSNEventParams) WithTimeout

WithTimeout adds the timeout to the bulk create psn event params

func (*BulkCreatePSNEventParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BulkCreatePSNEventReader

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

BulkCreatePSNEventReader is a Reader for the BulkCreatePSNEvent structure.

func (*BulkCreatePSNEventReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type BulkCreatePSNEventUnauthorized

type BulkCreatePSNEventUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

BulkCreatePSNEventUnauthorized handles this case with default header values.

Unauthorized

func NewBulkCreatePSNEventUnauthorized

func NewBulkCreatePSNEventUnauthorized() *BulkCreatePSNEventUnauthorized

NewBulkCreatePSNEventUnauthorized creates a BulkCreatePSNEventUnauthorized with default headers values

func (*BulkCreatePSNEventUnauthorized) Error

func (*BulkCreatePSNEventUnauthorized) GetPayload

func (*BulkCreatePSNEventUnauthorized) ToJSONString

func (o *BulkCreatePSNEventUnauthorized) ToJSONString() string

type Client

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

Client for platform achievement API

func (*Client) BulkCreatePSNEvent deprecated

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

BulkCreatePSNEvent create psn uds events Create PSN UDS events. Player need to login first using playstation token to IAM service.

func (*Client) BulkCreatePSNEventShort

func (a *Client) BulkCreatePSNEventShort(params *BulkCreatePSNEventParams, authInfo runtime.ClientAuthInfoWriter) (*BulkCreatePSNEventOK, error)

BulkCreatePSNEventShort create psn uds events Create PSN UDS events. Player need to login first using playstation token to IAM service.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new platform achievement API client.

Jump to

Keyboard shortcuts

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