Documentation ¶
Index ¶
- type BulkCreatePSNEventForbidden
- type BulkCreatePSNEventInternalServerError
- type BulkCreatePSNEventOK
- type BulkCreatePSNEventParams
- func NewBulkCreatePSNEventParams() *BulkCreatePSNEventParams
- func NewBulkCreatePSNEventParamsWithContext(ctx context.Context) *BulkCreatePSNEventParams
- func NewBulkCreatePSNEventParamsWithHTTPClient(client *http.Client) *BulkCreatePSNEventParams
- func NewBulkCreatePSNEventParamsWithTimeout(timeout time.Duration) *BulkCreatePSNEventParams
- func (o *BulkCreatePSNEventParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *BulkCreatePSNEventParams) SetBody(body *achievementclientmodels.ModelsBulkCreatePSNEvents)
- func (o *BulkCreatePSNEventParams) SetContext(ctx context.Context)
- func (o *BulkCreatePSNEventParams) SetFlightId(flightId string)
- func (o *BulkCreatePSNEventParams) SetHTTPClient(client *http.Client)
- func (o *BulkCreatePSNEventParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *BulkCreatePSNEventParams) SetNamespace(namespace string)
- func (o *BulkCreatePSNEventParams) SetTimeout(timeout time.Duration)
- func (o *BulkCreatePSNEventParams) WithBody(body *achievementclientmodels.ModelsBulkCreatePSNEvents) *BulkCreatePSNEventParams
- func (o *BulkCreatePSNEventParams) WithContext(ctx context.Context) *BulkCreatePSNEventParams
- func (o *BulkCreatePSNEventParams) WithHTTPClient(client *http.Client) *BulkCreatePSNEventParams
- func (o *BulkCreatePSNEventParams) WithNamespace(namespace string) *BulkCreatePSNEventParams
- func (o *BulkCreatePSNEventParams) WithTimeout(timeout time.Duration) *BulkCreatePSNEventParams
- func (o *BulkCreatePSNEventParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BulkCreatePSNEventReader
- type BulkCreatePSNEventUnauthorized
- type Client
- func (a *Client) BulkCreatePSNEvent(params *BulkCreatePSNEventParams, authInfo runtime.ClientAuthInfoWriter) (*BulkCreatePSNEventOK, *BulkCreatePSNEventUnauthorized, ...)deprecated
- func (a *Client) BulkCreatePSNEventShort(params *BulkCreatePSNEventParams, authInfo runtime.ClientAuthInfoWriter) (*BulkCreatePSNEventOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
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 (o *BulkCreatePSNEventForbidden) Error() string
func (*BulkCreatePSNEventForbidden) GetPayload ¶
func (o *BulkCreatePSNEventForbidden) GetPayload() *achievementclientmodels.ResponseError
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 (o *BulkCreatePSNEventInternalServerError) Error() string
func (*BulkCreatePSNEventInternalServerError) GetPayload ¶
func (o *BulkCreatePSNEventInternalServerError) GetPayload() *achievementclientmodels.ResponseError
func (*BulkCreatePSNEventInternalServerError) ToJSONString ¶
func (o *BulkCreatePSNEventInternalServerError) ToJSONString() string
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 (o *BulkCreatePSNEventOK) GetPayload() *achievementclientmodels.ModelsBulkCreatePSNEventResponse
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 ¶
func (o *BulkCreatePSNEventParams) SetBody(body *achievementclientmodels.ModelsBulkCreatePSNEvents)
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 ¶
func (o *BulkCreatePSNEventParams) WithBody(body *achievementclientmodels.ModelsBulkCreatePSNEvents) *BulkCreatePSNEventParams
WithBody adds the body to the bulk create psn event params
func (*BulkCreatePSNEventParams) WithContext ¶
func (o *BulkCreatePSNEventParams) WithContext(ctx context.Context) *BulkCreatePSNEventParams
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 ¶
func (o *BulkCreatePSNEventParams) WithTimeout(timeout time.Duration) *BulkCreatePSNEventParams
WithTimeout adds the timeout to the bulk create psn event params
func (*BulkCreatePSNEventParams) WriteToRequest ¶
func (o *BulkCreatePSNEventParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *BulkCreatePSNEventUnauthorized) Error() string
func (*BulkCreatePSNEventUnauthorized) GetPayload ¶
func (o *BulkCreatePSNEventUnauthorized) GetPayload() *achievementclientmodels.ResponseError
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
func (a *Client) BulkCreatePSNEvent(params *BulkCreatePSNEventParams, authInfo runtime.ClientAuthInfoWriter) (*BulkCreatePSNEventOK, *BulkCreatePSNEventUnauthorized, *BulkCreatePSNEventForbidden, *BulkCreatePSNEventInternalServerError, error)
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 ¶
type ClientService interface { BulkCreatePSNEvent(params *BulkCreatePSNEventParams, authInfo runtime.ClientAuthInfoWriter) (*BulkCreatePSNEventOK, *BulkCreatePSNEventUnauthorized, *BulkCreatePSNEventForbidden, *BulkCreatePSNEventInternalServerError, error) BulkCreatePSNEventShort(params *BulkCreatePSNEventParams, authInfo runtime.ClientAuthInfoWriter) (*BulkCreatePSNEventOK, 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 platform achievement API client.