Documentation ¶
Index ¶
- type Client
- func (a *Client) GetPsnEntitlementOwnership(params *GetPsnEntitlementOwnershipParams, ...) (*GetPsnEntitlementOwnershipOK, error)deprecated
- func (a *Client) GetPsnEntitlementOwnershipShort(params *GetPsnEntitlementOwnershipParams, ...) (*GetPsnEntitlementOwnershipOK, error)
- func (a *Client) GetXboxEntitlementOwnership(params *GetXboxEntitlementOwnershipParams, ...) (*GetXboxEntitlementOwnershipOK, error)deprecated
- func (a *Client) GetXboxEntitlementOwnershipShort(params *GetXboxEntitlementOwnershipParams, ...) (*GetXboxEntitlementOwnershipOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetPsnEntitlementOwnershipOK
- type GetPsnEntitlementOwnershipParams
- func NewGetPsnEntitlementOwnershipParams() *GetPsnEntitlementOwnershipParams
- func NewGetPsnEntitlementOwnershipParamsWithContext(ctx context.Context) *GetPsnEntitlementOwnershipParams
- func NewGetPsnEntitlementOwnershipParamsWithHTTPClient(client *http.Client) *GetPsnEntitlementOwnershipParams
- func NewGetPsnEntitlementOwnershipParamsWithTimeout(timeout time.Duration) *GetPsnEntitlementOwnershipParams
- func (o *GetPsnEntitlementOwnershipParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetPsnEntitlementOwnershipParams) SetBody(body *platformclientmodels.PsnEntitlementOwnershipRequest)
- func (o *GetPsnEntitlementOwnershipParams) SetContext(ctx context.Context)
- func (o *GetPsnEntitlementOwnershipParams) SetEntitlementLabel(entitlementLabel string)
- func (o *GetPsnEntitlementOwnershipParams) SetFlightId(flightId string)
- func (o *GetPsnEntitlementOwnershipParams) SetHTTPClient(client *http.Client)
- func (o *GetPsnEntitlementOwnershipParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetPsnEntitlementOwnershipParams) SetNamespace(namespace string)
- func (o *GetPsnEntitlementOwnershipParams) SetTimeout(timeout time.Duration)
- func (o *GetPsnEntitlementOwnershipParams) WithBody(body *platformclientmodels.PsnEntitlementOwnershipRequest) *GetPsnEntitlementOwnershipParams
- func (o *GetPsnEntitlementOwnershipParams) WithContext(ctx context.Context) *GetPsnEntitlementOwnershipParams
- func (o *GetPsnEntitlementOwnershipParams) WithEntitlementLabel(entitlementLabel string) *GetPsnEntitlementOwnershipParams
- func (o *GetPsnEntitlementOwnershipParams) WithHTTPClient(client *http.Client) *GetPsnEntitlementOwnershipParams
- func (o *GetPsnEntitlementOwnershipParams) WithNamespace(namespace string) *GetPsnEntitlementOwnershipParams
- func (o *GetPsnEntitlementOwnershipParams) WithTimeout(timeout time.Duration) *GetPsnEntitlementOwnershipParams
- func (o *GetPsnEntitlementOwnershipParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPsnEntitlementOwnershipReader
- type GetXboxEntitlementOwnershipOK
- type GetXboxEntitlementOwnershipParams
- func NewGetXboxEntitlementOwnershipParams() *GetXboxEntitlementOwnershipParams
- func NewGetXboxEntitlementOwnershipParamsWithContext(ctx context.Context) *GetXboxEntitlementOwnershipParams
- func NewGetXboxEntitlementOwnershipParamsWithHTTPClient(client *http.Client) *GetXboxEntitlementOwnershipParams
- func NewGetXboxEntitlementOwnershipParamsWithTimeout(timeout time.Duration) *GetXboxEntitlementOwnershipParams
- func (o *GetXboxEntitlementOwnershipParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetXboxEntitlementOwnershipParams) SetBody(body *platformclientmodels.XblEntitlementOwnershipRequest)
- func (o *GetXboxEntitlementOwnershipParams) SetContext(ctx context.Context)
- func (o *GetXboxEntitlementOwnershipParams) SetFlightId(flightId string)
- func (o *GetXboxEntitlementOwnershipParams) SetHTTPClient(client *http.Client)
- func (o *GetXboxEntitlementOwnershipParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetXboxEntitlementOwnershipParams) SetNamespace(namespace string)
- func (o *GetXboxEntitlementOwnershipParams) SetProductSku(productSku string)
- func (o *GetXboxEntitlementOwnershipParams) SetTimeout(timeout time.Duration)
- func (o *GetXboxEntitlementOwnershipParams) WithBody(body *platformclientmodels.XblEntitlementOwnershipRequest) *GetXboxEntitlementOwnershipParams
- func (o *GetXboxEntitlementOwnershipParams) WithContext(ctx context.Context) *GetXboxEntitlementOwnershipParams
- func (o *GetXboxEntitlementOwnershipParams) WithHTTPClient(client *http.Client) *GetXboxEntitlementOwnershipParams
- func (o *GetXboxEntitlementOwnershipParams) WithNamespace(namespace string) *GetXboxEntitlementOwnershipParams
- func (o *GetXboxEntitlementOwnershipParams) WithProductSku(productSku string) *GetXboxEntitlementOwnershipParams
- func (o *GetXboxEntitlementOwnershipParams) WithTimeout(timeout time.Duration) *GetXboxEntitlementOwnershipParams
- func (o *GetXboxEntitlementOwnershipParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetXboxEntitlementOwnershipReader
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 platform API
func (*Client) GetPsnEntitlementOwnership
deprecated
func (a *Client) GetPsnEntitlementOwnership(params *GetPsnEntitlementOwnershipParams, authInfo runtime.ClientAuthInfoWriter) (*GetPsnEntitlementOwnershipOK, error)
Deprecated: 2022-08-10 - Use GetPsnEntitlementOwnershipShort instead.
GetPsnEntitlementOwnership get user psn entitlement ownership by entitlement label Get user psn entitlement ownership by entitlement label.
func (*Client) GetPsnEntitlementOwnershipShort ¶
func (a *Client) GetPsnEntitlementOwnershipShort(params *GetPsnEntitlementOwnershipParams, authInfo runtime.ClientAuthInfoWriter) (*GetPsnEntitlementOwnershipOK, error)
GetPsnEntitlementOwnershipShort get user psn entitlement ownership by entitlement label Get user psn entitlement ownership by entitlement label.
func (*Client) GetXboxEntitlementOwnership
deprecated
func (a *Client) GetXboxEntitlementOwnership(params *GetXboxEntitlementOwnershipParams, authInfo runtime.ClientAuthInfoWriter) (*GetXboxEntitlementOwnershipOK, error)
Deprecated: 2022-08-10 - Use GetXboxEntitlementOwnershipShort instead.
GetXboxEntitlementOwnership get xbox entitlement ownership by product sku. Get Xbox entitlement ownership by product sku.
func (*Client) GetXboxEntitlementOwnershipShort ¶
func (a *Client) GetXboxEntitlementOwnershipShort(params *GetXboxEntitlementOwnershipParams, authInfo runtime.ClientAuthInfoWriter) (*GetXboxEntitlementOwnershipOK, error)
GetXboxEntitlementOwnershipShort get xbox entitlement ownership by product sku. Get Xbox entitlement ownership by product sku.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetPsnEntitlementOwnership(params *GetPsnEntitlementOwnershipParams, authInfo runtime.ClientAuthInfoWriter) (*GetPsnEntitlementOwnershipOK, error) GetPsnEntitlementOwnershipShort(params *GetPsnEntitlementOwnershipParams, authInfo runtime.ClientAuthInfoWriter) (*GetPsnEntitlementOwnershipOK, error) GetXboxEntitlementOwnership(params *GetXboxEntitlementOwnershipParams, authInfo runtime.ClientAuthInfoWriter) (*GetXboxEntitlementOwnershipOK, error) GetXboxEntitlementOwnershipShort(params *GetXboxEntitlementOwnershipParams, authInfo runtime.ClientAuthInfoWriter) (*GetXboxEntitlementOwnershipOK, 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 API client.
type GetPsnEntitlementOwnershipOK ¶
type GetPsnEntitlementOwnershipOK struct {
Payload *platformclientmodels.Ownership
}
GetPsnEntitlementOwnershipOK handles this case with default header values.
successful operation
func NewGetPsnEntitlementOwnershipOK ¶
func NewGetPsnEntitlementOwnershipOK() *GetPsnEntitlementOwnershipOK
NewGetPsnEntitlementOwnershipOK creates a GetPsnEntitlementOwnershipOK with default headers values
func (*GetPsnEntitlementOwnershipOK) Error ¶
func (o *GetPsnEntitlementOwnershipOK) Error() string
func (*GetPsnEntitlementOwnershipOK) GetPayload ¶
func (o *GetPsnEntitlementOwnershipOK) GetPayload() *platformclientmodels.Ownership
func (*GetPsnEntitlementOwnershipOK) ToJSONString ¶
func (o *GetPsnEntitlementOwnershipOK) ToJSONString() string
type GetPsnEntitlementOwnershipParams ¶
type GetPsnEntitlementOwnershipParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.PsnEntitlementOwnershipRequest /*EntitlementLabel*/ EntitlementLabel string /*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 }
GetPsnEntitlementOwnershipParams contains all the parameters to send to the API endpoint for the get psn entitlement ownership operation typically these are written to a http.Request
func NewGetPsnEntitlementOwnershipParams ¶
func NewGetPsnEntitlementOwnershipParams() *GetPsnEntitlementOwnershipParams
NewGetPsnEntitlementOwnershipParams creates a new GetPsnEntitlementOwnershipParams object with the default values initialized.
func NewGetPsnEntitlementOwnershipParamsWithContext ¶
func NewGetPsnEntitlementOwnershipParamsWithContext(ctx context.Context) *GetPsnEntitlementOwnershipParams
NewGetPsnEntitlementOwnershipParamsWithContext creates a new GetPsnEntitlementOwnershipParams object with the default values initialized, and the ability to set a context for a request
func NewGetPsnEntitlementOwnershipParamsWithHTTPClient ¶
func NewGetPsnEntitlementOwnershipParamsWithHTTPClient(client *http.Client) *GetPsnEntitlementOwnershipParams
NewGetPsnEntitlementOwnershipParamsWithHTTPClient creates a new GetPsnEntitlementOwnershipParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPsnEntitlementOwnershipParamsWithTimeout ¶
func NewGetPsnEntitlementOwnershipParamsWithTimeout(timeout time.Duration) *GetPsnEntitlementOwnershipParams
NewGetPsnEntitlementOwnershipParamsWithTimeout creates a new GetPsnEntitlementOwnershipParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPsnEntitlementOwnershipParams) SetAuthInfoWriter ¶
func (o *GetPsnEntitlementOwnershipParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get psn entitlement ownership params
func (*GetPsnEntitlementOwnershipParams) SetBody ¶
func (o *GetPsnEntitlementOwnershipParams) SetBody(body *platformclientmodels.PsnEntitlementOwnershipRequest)
SetBody adds the body to the get psn entitlement ownership params
func (*GetPsnEntitlementOwnershipParams) SetContext ¶
func (o *GetPsnEntitlementOwnershipParams) SetContext(ctx context.Context)
SetContext adds the context to the get psn entitlement ownership params
func (*GetPsnEntitlementOwnershipParams) SetEntitlementLabel ¶
func (o *GetPsnEntitlementOwnershipParams) SetEntitlementLabel(entitlementLabel string)
SetEntitlementLabel adds the entitlementLabel to the get psn entitlement ownership params
func (*GetPsnEntitlementOwnershipParams) SetFlightId ¶
func (o *GetPsnEntitlementOwnershipParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetPsnEntitlementOwnershipParams) SetHTTPClient ¶
func (o *GetPsnEntitlementOwnershipParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get psn entitlement ownership params
func (*GetPsnEntitlementOwnershipParams) SetHTTPClientTransport ¶
func (o *GetPsnEntitlementOwnershipParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get psn entitlement ownership params
func (*GetPsnEntitlementOwnershipParams) SetNamespace ¶
func (o *GetPsnEntitlementOwnershipParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get psn entitlement ownership params
func (*GetPsnEntitlementOwnershipParams) SetTimeout ¶
func (o *GetPsnEntitlementOwnershipParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get psn entitlement ownership params
func (*GetPsnEntitlementOwnershipParams) WithBody ¶
func (o *GetPsnEntitlementOwnershipParams) WithBody(body *platformclientmodels.PsnEntitlementOwnershipRequest) *GetPsnEntitlementOwnershipParams
WithBody adds the body to the get psn entitlement ownership params
func (*GetPsnEntitlementOwnershipParams) WithContext ¶
func (o *GetPsnEntitlementOwnershipParams) WithContext(ctx context.Context) *GetPsnEntitlementOwnershipParams
WithContext adds the context to the get psn entitlement ownership params
func (*GetPsnEntitlementOwnershipParams) WithEntitlementLabel ¶
func (o *GetPsnEntitlementOwnershipParams) WithEntitlementLabel(entitlementLabel string) *GetPsnEntitlementOwnershipParams
WithEntitlementLabel adds the entitlementLabel to the get psn entitlement ownership params
func (*GetPsnEntitlementOwnershipParams) WithHTTPClient ¶
func (o *GetPsnEntitlementOwnershipParams) WithHTTPClient(client *http.Client) *GetPsnEntitlementOwnershipParams
WithHTTPClient adds the HTTPClient to the get psn entitlement ownership params
func (*GetPsnEntitlementOwnershipParams) WithNamespace ¶
func (o *GetPsnEntitlementOwnershipParams) WithNamespace(namespace string) *GetPsnEntitlementOwnershipParams
WithNamespace adds the namespace to the get psn entitlement ownership params
func (*GetPsnEntitlementOwnershipParams) WithTimeout ¶
func (o *GetPsnEntitlementOwnershipParams) WithTimeout(timeout time.Duration) *GetPsnEntitlementOwnershipParams
WithTimeout adds the timeout to the get psn entitlement ownership params
func (*GetPsnEntitlementOwnershipParams) WriteToRequest ¶
func (o *GetPsnEntitlementOwnershipParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPsnEntitlementOwnershipReader ¶
type GetPsnEntitlementOwnershipReader struct {
// contains filtered or unexported fields
}
GetPsnEntitlementOwnershipReader is a Reader for the GetPsnEntitlementOwnership structure.
func (*GetPsnEntitlementOwnershipReader) ReadResponse ¶
func (o *GetPsnEntitlementOwnershipReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetXboxEntitlementOwnershipOK ¶
type GetXboxEntitlementOwnershipOK struct {
Payload *platformclientmodels.PlatformOwnership
}
GetXboxEntitlementOwnershipOK handles this case with default header values.
successful operation
func NewGetXboxEntitlementOwnershipOK ¶
func NewGetXboxEntitlementOwnershipOK() *GetXboxEntitlementOwnershipOK
NewGetXboxEntitlementOwnershipOK creates a GetXboxEntitlementOwnershipOK with default headers values
func (*GetXboxEntitlementOwnershipOK) Error ¶
func (o *GetXboxEntitlementOwnershipOK) Error() string
func (*GetXboxEntitlementOwnershipOK) GetPayload ¶
func (o *GetXboxEntitlementOwnershipOK) GetPayload() *platformclientmodels.PlatformOwnership
func (*GetXboxEntitlementOwnershipOK) ToJSONString ¶
func (o *GetXboxEntitlementOwnershipOK) ToJSONString() string
type GetXboxEntitlementOwnershipParams ¶
type GetXboxEntitlementOwnershipParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.XblEntitlementOwnershipRequest /*Namespace*/ Namespace string /*ProductSku*/ ProductSku 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 }
GetXboxEntitlementOwnershipParams contains all the parameters to send to the API endpoint for the get xbox entitlement ownership operation typically these are written to a http.Request
func NewGetXboxEntitlementOwnershipParams ¶
func NewGetXboxEntitlementOwnershipParams() *GetXboxEntitlementOwnershipParams
NewGetXboxEntitlementOwnershipParams creates a new GetXboxEntitlementOwnershipParams object with the default values initialized.
func NewGetXboxEntitlementOwnershipParamsWithContext ¶
func NewGetXboxEntitlementOwnershipParamsWithContext(ctx context.Context) *GetXboxEntitlementOwnershipParams
NewGetXboxEntitlementOwnershipParamsWithContext creates a new GetXboxEntitlementOwnershipParams object with the default values initialized, and the ability to set a context for a request
func NewGetXboxEntitlementOwnershipParamsWithHTTPClient ¶
func NewGetXboxEntitlementOwnershipParamsWithHTTPClient(client *http.Client) *GetXboxEntitlementOwnershipParams
NewGetXboxEntitlementOwnershipParamsWithHTTPClient creates a new GetXboxEntitlementOwnershipParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetXboxEntitlementOwnershipParamsWithTimeout ¶
func NewGetXboxEntitlementOwnershipParamsWithTimeout(timeout time.Duration) *GetXboxEntitlementOwnershipParams
NewGetXboxEntitlementOwnershipParamsWithTimeout creates a new GetXboxEntitlementOwnershipParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetXboxEntitlementOwnershipParams) SetAuthInfoWriter ¶
func (o *GetXboxEntitlementOwnershipParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get xbox entitlement ownership params
func (*GetXboxEntitlementOwnershipParams) SetBody ¶
func (o *GetXboxEntitlementOwnershipParams) SetBody(body *platformclientmodels.XblEntitlementOwnershipRequest)
SetBody adds the body to the get xbox entitlement ownership params
func (*GetXboxEntitlementOwnershipParams) SetContext ¶
func (o *GetXboxEntitlementOwnershipParams) SetContext(ctx context.Context)
SetContext adds the context to the get xbox entitlement ownership params
func (*GetXboxEntitlementOwnershipParams) SetFlightId ¶
func (o *GetXboxEntitlementOwnershipParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetXboxEntitlementOwnershipParams) SetHTTPClient ¶
func (o *GetXboxEntitlementOwnershipParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get xbox entitlement ownership params
func (*GetXboxEntitlementOwnershipParams) SetHTTPClientTransport ¶
func (o *GetXboxEntitlementOwnershipParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get xbox entitlement ownership params
func (*GetXboxEntitlementOwnershipParams) SetNamespace ¶
func (o *GetXboxEntitlementOwnershipParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get xbox entitlement ownership params
func (*GetXboxEntitlementOwnershipParams) SetProductSku ¶
func (o *GetXboxEntitlementOwnershipParams) SetProductSku(productSku string)
SetProductSku adds the productSku to the get xbox entitlement ownership params
func (*GetXboxEntitlementOwnershipParams) SetTimeout ¶
func (o *GetXboxEntitlementOwnershipParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get xbox entitlement ownership params
func (*GetXboxEntitlementOwnershipParams) WithBody ¶
func (o *GetXboxEntitlementOwnershipParams) WithBody(body *platformclientmodels.XblEntitlementOwnershipRequest) *GetXboxEntitlementOwnershipParams
WithBody adds the body to the get xbox entitlement ownership params
func (*GetXboxEntitlementOwnershipParams) WithContext ¶
func (o *GetXboxEntitlementOwnershipParams) WithContext(ctx context.Context) *GetXboxEntitlementOwnershipParams
WithContext adds the context to the get xbox entitlement ownership params
func (*GetXboxEntitlementOwnershipParams) WithHTTPClient ¶
func (o *GetXboxEntitlementOwnershipParams) WithHTTPClient(client *http.Client) *GetXboxEntitlementOwnershipParams
WithHTTPClient adds the HTTPClient to the get xbox entitlement ownership params
func (*GetXboxEntitlementOwnershipParams) WithNamespace ¶
func (o *GetXboxEntitlementOwnershipParams) WithNamespace(namespace string) *GetXboxEntitlementOwnershipParams
WithNamespace adds the namespace to the get xbox entitlement ownership params
func (*GetXboxEntitlementOwnershipParams) WithProductSku ¶
func (o *GetXboxEntitlementOwnershipParams) WithProductSku(productSku string) *GetXboxEntitlementOwnershipParams
WithProductSku adds the productSku to the get xbox entitlement ownership params
func (*GetXboxEntitlementOwnershipParams) WithTimeout ¶
func (o *GetXboxEntitlementOwnershipParams) WithTimeout(timeout time.Duration) *GetXboxEntitlementOwnershipParams
WithTimeout adds the timeout to the get xbox entitlement ownership params
func (*GetXboxEntitlementOwnershipParams) WriteToRequest ¶
func (o *GetXboxEntitlementOwnershipParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetXboxEntitlementOwnershipReader ¶
type GetXboxEntitlementOwnershipReader struct {
// contains filtered or unexported fields
}
GetXboxEntitlementOwnershipReader is a Reader for the GetXboxEntitlementOwnership structure.
func (*GetXboxEntitlementOwnershipReader) ReadResponse ¶
func (o *GetXboxEntitlementOwnershipReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.