Documentation
¶
Index ¶
- type Client
- func (a *Client) PublicAddDownloadCountV2(params *PublicAddDownloadCountV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicAddDownloadCountV2OK, *PublicAddDownloadCountV2Unauthorized, ...)deprecated
- func (a *Client) PublicAddDownloadCountV2Short(params *PublicAddDownloadCountV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicAddDownloadCountV2OK, error)
- func (a *Client) PublicListContentDownloaderV2(params *PublicListContentDownloaderV2Params, ...) (*PublicListContentDownloaderV2OK, *PublicListContentDownloaderV2BadRequest, ...)deprecated
- func (a *Client) PublicListContentDownloaderV2Short(params *PublicListContentDownloaderV2Params, ...) (*PublicListContentDownloaderV2OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type PublicAddDownloadCountV2InternalServerError
- type PublicAddDownloadCountV2NotFound
- type PublicAddDownloadCountV2OK
- type PublicAddDownloadCountV2Params
- func NewPublicAddDownloadCountV2Params() *PublicAddDownloadCountV2Params
- func NewPublicAddDownloadCountV2ParamsWithContext(ctx context.Context) *PublicAddDownloadCountV2Params
- func NewPublicAddDownloadCountV2ParamsWithHTTPClient(client *http.Client) *PublicAddDownloadCountV2Params
- func NewPublicAddDownloadCountV2ParamsWithTimeout(timeout time.Duration) *PublicAddDownloadCountV2Params
- func (o *PublicAddDownloadCountV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicAddDownloadCountV2Params) SetContentID(contentID string)
- func (o *PublicAddDownloadCountV2Params) SetContext(ctx context.Context)
- func (o *PublicAddDownloadCountV2Params) SetFlightId(flightId string)
- func (o *PublicAddDownloadCountV2Params) SetHTTPClient(client *http.Client)
- func (o *PublicAddDownloadCountV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicAddDownloadCountV2Params) SetNamespace(namespace string)
- func (o *PublicAddDownloadCountV2Params) SetTimeout(timeout time.Duration)
- func (o *PublicAddDownloadCountV2Params) WithContentID(contentID string) *PublicAddDownloadCountV2Params
- func (o *PublicAddDownloadCountV2Params) WithContext(ctx context.Context) *PublicAddDownloadCountV2Params
- func (o *PublicAddDownloadCountV2Params) WithHTTPClient(client *http.Client) *PublicAddDownloadCountV2Params
- func (o *PublicAddDownloadCountV2Params) WithNamespace(namespace string) *PublicAddDownloadCountV2Params
- func (o *PublicAddDownloadCountV2Params) WithTimeout(timeout time.Duration) *PublicAddDownloadCountV2Params
- func (o *PublicAddDownloadCountV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicAddDownloadCountV2Reader
- type PublicAddDownloadCountV2TooManyRequests
- type PublicAddDownloadCountV2Unauthorized
- type PublicListContentDownloaderV2BadRequest
- type PublicListContentDownloaderV2InternalServerError
- type PublicListContentDownloaderV2OK
- type PublicListContentDownloaderV2Params
- func NewPublicListContentDownloaderV2Params() *PublicListContentDownloaderV2Params
- func NewPublicListContentDownloaderV2ParamsWithContext(ctx context.Context) *PublicListContentDownloaderV2Params
- func NewPublicListContentDownloaderV2ParamsWithHTTPClient(client *http.Client) *PublicListContentDownloaderV2Params
- func NewPublicListContentDownloaderV2ParamsWithTimeout(timeout time.Duration) *PublicListContentDownloaderV2Params
- func (o *PublicListContentDownloaderV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicListContentDownloaderV2Params) SetContentID(contentID string)
- func (o *PublicListContentDownloaderV2Params) SetContext(ctx context.Context)
- func (o *PublicListContentDownloaderV2Params) SetFlightId(flightId string)
- func (o *PublicListContentDownloaderV2Params) SetHTTPClient(client *http.Client)
- func (o *PublicListContentDownloaderV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicListContentDownloaderV2Params) SetLimit(limit *int64)
- func (o *PublicListContentDownloaderV2Params) SetNamespace(namespace string)
- func (o *PublicListContentDownloaderV2Params) SetOffset(offset *int64)
- func (o *PublicListContentDownloaderV2Params) SetSortBy(sortBy *string)
- func (o *PublicListContentDownloaderV2Params) SetTimeout(timeout time.Duration)
- func (o *PublicListContentDownloaderV2Params) SetUserID(userID *string)
- func (o *PublicListContentDownloaderV2Params) WithContentID(contentID string) *PublicListContentDownloaderV2Params
- func (o *PublicListContentDownloaderV2Params) WithContext(ctx context.Context) *PublicListContentDownloaderV2Params
- func (o *PublicListContentDownloaderV2Params) WithHTTPClient(client *http.Client) *PublicListContentDownloaderV2Params
- func (o *PublicListContentDownloaderV2Params) WithLimit(limit *int64) *PublicListContentDownloaderV2Params
- func (o *PublicListContentDownloaderV2Params) WithNamespace(namespace string) *PublicListContentDownloaderV2Params
- func (o *PublicListContentDownloaderV2Params) WithOffset(offset *int64) *PublicListContentDownloaderV2Params
- func (o *PublicListContentDownloaderV2Params) WithSortBy(sortBy *string) *PublicListContentDownloaderV2Params
- func (o *PublicListContentDownloaderV2Params) WithTimeout(timeout time.Duration) *PublicListContentDownloaderV2Params
- func (o *PublicListContentDownloaderV2Params) WithUserID(userID *string) *PublicListContentDownloaderV2Params
- func (o *PublicListContentDownloaderV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicListContentDownloaderV2Reader
- type PublicListContentDownloaderV2Unauthorized
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 public download count v2 API
func (*Client) PublicAddDownloadCountV2
deprecated
func (a *Client) PublicAddDownloadCountV2(params *PublicAddDownloadCountV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicAddDownloadCountV2OK, *PublicAddDownloadCountV2Unauthorized, *PublicAddDownloadCountV2NotFound, *PublicAddDownloadCountV2TooManyRequests, *PublicAddDownloadCountV2InternalServerError, error)
Deprecated: 2022-08-10 - Use PublicAddDownloadCountV2Short instead.
PublicAddDownloadCountV2 add unique download count to a content This endpoint can be used to count how many the ugc downloaded
func (*Client) PublicAddDownloadCountV2Short ¶
func (a *Client) PublicAddDownloadCountV2Short(params *PublicAddDownloadCountV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicAddDownloadCountV2OK, error)
PublicAddDownloadCountV2Short add unique download count to a content This endpoint can be used to count how many the ugc downloaded
func (*Client) PublicListContentDownloaderV2
deprecated
func (a *Client) PublicListContentDownloaderV2(params *PublicListContentDownloaderV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicListContentDownloaderV2OK, *PublicListContentDownloaderV2BadRequest, *PublicListContentDownloaderV2Unauthorized, *PublicListContentDownloaderV2InternalServerError, error)
Deprecated: 2022-08-10 - Use PublicListContentDownloaderV2Short instead.
PublicListContentDownloaderV2 list content downloader This endpoint will only display the list of users who performed add download count from v2 endpoint.
func (*Client) PublicListContentDownloaderV2Short ¶
func (a *Client) PublicListContentDownloaderV2Short(params *PublicListContentDownloaderV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicListContentDownloaderV2OK, error)
PublicListContentDownloaderV2Short list content downloader This endpoint will only display the list of users who performed add download count from v2 endpoint.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { PublicAddDownloadCountV2(params *PublicAddDownloadCountV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicAddDownloadCountV2OK, *PublicAddDownloadCountV2Unauthorized, *PublicAddDownloadCountV2NotFound, *PublicAddDownloadCountV2TooManyRequests, *PublicAddDownloadCountV2InternalServerError, error) PublicAddDownloadCountV2Short(params *PublicAddDownloadCountV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicAddDownloadCountV2OK, error) PublicListContentDownloaderV2(params *PublicListContentDownloaderV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicListContentDownloaderV2OK, *PublicListContentDownloaderV2BadRequest, *PublicListContentDownloaderV2Unauthorized, *PublicListContentDownloaderV2InternalServerError, error) PublicListContentDownloaderV2Short(params *PublicListContentDownloaderV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicListContentDownloaderV2OK, 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 public download count v2 API client.
type PublicAddDownloadCountV2InternalServerError ¶
type PublicAddDownloadCountV2InternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
PublicAddDownloadCountV2InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772902</td><td>Unable to add content download: database error</td></tr></table>
func NewPublicAddDownloadCountV2InternalServerError ¶
func NewPublicAddDownloadCountV2InternalServerError() *PublicAddDownloadCountV2InternalServerError
NewPublicAddDownloadCountV2InternalServerError creates a PublicAddDownloadCountV2InternalServerError with default headers values
func (*PublicAddDownloadCountV2InternalServerError) Error ¶
func (o *PublicAddDownloadCountV2InternalServerError) Error() string
func (*PublicAddDownloadCountV2InternalServerError) GetPayload ¶
func (o *PublicAddDownloadCountV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*PublicAddDownloadCountV2InternalServerError) ToJSONString ¶
func (o *PublicAddDownloadCountV2InternalServerError) ToJSONString() string
type PublicAddDownloadCountV2NotFound ¶
type PublicAddDownloadCountV2NotFound struct {
Payload *ugcclientmodels.ResponseError
}
PublicAddDownloadCountV2NotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772903</td><td>Unable to add content download: content not found</td></tr></table>
func NewPublicAddDownloadCountV2NotFound ¶
func NewPublicAddDownloadCountV2NotFound() *PublicAddDownloadCountV2NotFound
NewPublicAddDownloadCountV2NotFound creates a PublicAddDownloadCountV2NotFound with default headers values
func (*PublicAddDownloadCountV2NotFound) Error ¶
func (o *PublicAddDownloadCountV2NotFound) Error() string
func (*PublicAddDownloadCountV2NotFound) GetPayload ¶
func (o *PublicAddDownloadCountV2NotFound) GetPayload() *ugcclientmodels.ResponseError
func (*PublicAddDownloadCountV2NotFound) ToJSONString ¶
func (o *PublicAddDownloadCountV2NotFound) ToJSONString() string
type PublicAddDownloadCountV2OK ¶
type PublicAddDownloadCountV2OK struct {
Payload *ugcclientmodels.ModelsAddDownloadCountResponse
}
PublicAddDownloadCountV2OK handles this case with default header values.
Added download count to a content
func NewPublicAddDownloadCountV2OK ¶
func NewPublicAddDownloadCountV2OK() *PublicAddDownloadCountV2OK
NewPublicAddDownloadCountV2OK creates a PublicAddDownloadCountV2OK with default headers values
func (*PublicAddDownloadCountV2OK) Error ¶
func (o *PublicAddDownloadCountV2OK) Error() string
func (*PublicAddDownloadCountV2OK) GetPayload ¶
func (o *PublicAddDownloadCountV2OK) GetPayload() *ugcclientmodels.ModelsAddDownloadCountResponse
func (*PublicAddDownloadCountV2OK) ToJSONString ¶
func (o *PublicAddDownloadCountV2OK) ToJSONString() string
type PublicAddDownloadCountV2Params ¶
type PublicAddDownloadCountV2Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ContentID content ID */ ContentID string /*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 }
PublicAddDownloadCountV2Params contains all the parameters to send to the API endpoint for the public add download count v2 operation typically these are written to a http.Request
func NewPublicAddDownloadCountV2Params ¶
func NewPublicAddDownloadCountV2Params() *PublicAddDownloadCountV2Params
NewPublicAddDownloadCountV2Params creates a new PublicAddDownloadCountV2Params object with the default values initialized.
func NewPublicAddDownloadCountV2ParamsWithContext ¶
func NewPublicAddDownloadCountV2ParamsWithContext(ctx context.Context) *PublicAddDownloadCountV2Params
NewPublicAddDownloadCountV2ParamsWithContext creates a new PublicAddDownloadCountV2Params object with the default values initialized, and the ability to set a context for a request
func NewPublicAddDownloadCountV2ParamsWithHTTPClient ¶
func NewPublicAddDownloadCountV2ParamsWithHTTPClient(client *http.Client) *PublicAddDownloadCountV2Params
NewPublicAddDownloadCountV2ParamsWithHTTPClient creates a new PublicAddDownloadCountV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicAddDownloadCountV2ParamsWithTimeout ¶
func NewPublicAddDownloadCountV2ParamsWithTimeout(timeout time.Duration) *PublicAddDownloadCountV2Params
NewPublicAddDownloadCountV2ParamsWithTimeout creates a new PublicAddDownloadCountV2Params object with the default values initialized, and the ability to set a timeout on a request
func (*PublicAddDownloadCountV2Params) SetAuthInfoWriter ¶
func (o *PublicAddDownloadCountV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public add download count v2 params
func (*PublicAddDownloadCountV2Params) SetContentID ¶
func (o *PublicAddDownloadCountV2Params) SetContentID(contentID string)
SetContentID adds the contentId to the public add download count v2 params
func (*PublicAddDownloadCountV2Params) SetContext ¶
func (o *PublicAddDownloadCountV2Params) SetContext(ctx context.Context)
SetContext adds the context to the public add download count v2 params
func (*PublicAddDownloadCountV2Params) SetFlightId ¶ added in v0.63.0
func (o *PublicAddDownloadCountV2Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicAddDownloadCountV2Params) SetHTTPClient ¶
func (o *PublicAddDownloadCountV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public add download count v2 params
func (*PublicAddDownloadCountV2Params) SetHTTPClientTransport ¶
func (o *PublicAddDownloadCountV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public add download count v2 params
func (*PublicAddDownloadCountV2Params) SetNamespace ¶
func (o *PublicAddDownloadCountV2Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the public add download count v2 params
func (*PublicAddDownloadCountV2Params) SetTimeout ¶
func (o *PublicAddDownloadCountV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public add download count v2 params
func (*PublicAddDownloadCountV2Params) WithContentID ¶
func (o *PublicAddDownloadCountV2Params) WithContentID(contentID string) *PublicAddDownloadCountV2Params
WithContentID adds the contentID to the public add download count v2 params
func (*PublicAddDownloadCountV2Params) WithContext ¶
func (o *PublicAddDownloadCountV2Params) WithContext(ctx context.Context) *PublicAddDownloadCountV2Params
WithContext adds the context to the public add download count v2 params
func (*PublicAddDownloadCountV2Params) WithHTTPClient ¶
func (o *PublicAddDownloadCountV2Params) WithHTTPClient(client *http.Client) *PublicAddDownloadCountV2Params
WithHTTPClient adds the HTTPClient to the public add download count v2 params
func (*PublicAddDownloadCountV2Params) WithNamespace ¶
func (o *PublicAddDownloadCountV2Params) WithNamespace(namespace string) *PublicAddDownloadCountV2Params
WithNamespace adds the namespace to the public add download count v2 params
func (*PublicAddDownloadCountV2Params) WithTimeout ¶
func (o *PublicAddDownloadCountV2Params) WithTimeout(timeout time.Duration) *PublicAddDownloadCountV2Params
WithTimeout adds the timeout to the public add download count v2 params
func (*PublicAddDownloadCountV2Params) WriteToRequest ¶
func (o *PublicAddDownloadCountV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicAddDownloadCountV2Reader ¶
type PublicAddDownloadCountV2Reader struct {
// contains filtered or unexported fields
}
PublicAddDownloadCountV2Reader is a Reader for the PublicAddDownloadCountV2 structure.
func (*PublicAddDownloadCountV2Reader) ReadResponse ¶
func (o *PublicAddDownloadCountV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicAddDownloadCountV2TooManyRequests ¶
type PublicAddDownloadCountV2TooManyRequests struct {
Payload *ugcclientmodels.ResponseError
}
PublicAddDownloadCountV2TooManyRequests handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772906</td><td>Unable to add content download: too many request</td></tr></table>
func NewPublicAddDownloadCountV2TooManyRequests ¶
func NewPublicAddDownloadCountV2TooManyRequests() *PublicAddDownloadCountV2TooManyRequests
NewPublicAddDownloadCountV2TooManyRequests creates a PublicAddDownloadCountV2TooManyRequests with default headers values
func (*PublicAddDownloadCountV2TooManyRequests) Error ¶
func (o *PublicAddDownloadCountV2TooManyRequests) Error() string
func (*PublicAddDownloadCountV2TooManyRequests) GetPayload ¶
func (o *PublicAddDownloadCountV2TooManyRequests) GetPayload() *ugcclientmodels.ResponseError
func (*PublicAddDownloadCountV2TooManyRequests) ToJSONString ¶
func (o *PublicAddDownloadCountV2TooManyRequests) ToJSONString() string
type PublicAddDownloadCountV2Unauthorized ¶
type PublicAddDownloadCountV2Unauthorized struct {
}PublicAddDownloadCountV2Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPublicAddDownloadCountV2Unauthorized ¶
func NewPublicAddDownloadCountV2Unauthorized() *PublicAddDownloadCountV2Unauthorized
NewPublicAddDownloadCountV2Unauthorized creates a PublicAddDownloadCountV2Unauthorized with default headers values
func (*PublicAddDownloadCountV2Unauthorized) Error ¶
func (o *PublicAddDownloadCountV2Unauthorized) Error() string
func (*PublicAddDownloadCountV2Unauthorized) GetPayload ¶
func (o *PublicAddDownloadCountV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*PublicAddDownloadCountV2Unauthorized) ToJSONString ¶
func (o *PublicAddDownloadCountV2Unauthorized) ToJSONString() string
type PublicListContentDownloaderV2BadRequest ¶
type PublicListContentDownloaderV2BadRequest struct {
Payload *ugcclientmodels.ResponseError
}
PublicListContentDownloaderV2BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770800</td><td>invalid paging parameter/max allowed number of tags is {maxTags}/invalid official parameter/invalid ishidden parameter</td></tr></table>
func NewPublicListContentDownloaderV2BadRequest ¶
func NewPublicListContentDownloaderV2BadRequest() *PublicListContentDownloaderV2BadRequest
NewPublicListContentDownloaderV2BadRequest creates a PublicListContentDownloaderV2BadRequest with default headers values
func (*PublicListContentDownloaderV2BadRequest) Error ¶
func (o *PublicListContentDownloaderV2BadRequest) Error() string
func (*PublicListContentDownloaderV2BadRequest) GetPayload ¶
func (o *PublicListContentDownloaderV2BadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*PublicListContentDownloaderV2BadRequest) ToJSONString ¶
func (o *PublicListContentDownloaderV2BadRequest) ToJSONString() string
type PublicListContentDownloaderV2InternalServerError ¶
type PublicListContentDownloaderV2InternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
PublicListContentDownloaderV2InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772904</td><td>Unable to list content downloader: database error</td></tr></table>
func NewPublicListContentDownloaderV2InternalServerError ¶
func NewPublicListContentDownloaderV2InternalServerError() *PublicListContentDownloaderV2InternalServerError
NewPublicListContentDownloaderV2InternalServerError creates a PublicListContentDownloaderV2InternalServerError with default headers values
func (*PublicListContentDownloaderV2InternalServerError) Error ¶
func (o *PublicListContentDownloaderV2InternalServerError) Error() string
func (*PublicListContentDownloaderV2InternalServerError) GetPayload ¶
func (o *PublicListContentDownloaderV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*PublicListContentDownloaderV2InternalServerError) ToJSONString ¶
func (o *PublicListContentDownloaderV2InternalServerError) ToJSONString() string
type PublicListContentDownloaderV2OK ¶
type PublicListContentDownloaderV2OK struct {
Payload *ugcclientmodels.ModelsPaginatedContentDownloaderResponse
}
PublicListContentDownloaderV2OK handles this case with default header values.
List content downloader
func NewPublicListContentDownloaderV2OK ¶
func NewPublicListContentDownloaderV2OK() *PublicListContentDownloaderV2OK
NewPublicListContentDownloaderV2OK creates a PublicListContentDownloaderV2OK with default headers values
func (*PublicListContentDownloaderV2OK) Error ¶
func (o *PublicListContentDownloaderV2OK) Error() string
func (*PublicListContentDownloaderV2OK) GetPayload ¶
func (o *PublicListContentDownloaderV2OK) GetPayload() *ugcclientmodels.ModelsPaginatedContentDownloaderResponse
func (*PublicListContentDownloaderV2OK) ToJSONString ¶
func (o *PublicListContentDownloaderV2OK) ToJSONString() string
type PublicListContentDownloaderV2Params ¶
type PublicListContentDownloaderV2Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ContentID content ID */ ContentID string /*Namespace namespace of the game */ Namespace string /*Limit number of content per page */ Limit *int64 /*Offset the offset number to retrieve */ Offset *int64 /*SortBy sort the result. available value: - *createdTime* - *createdTime:desc* - *createdTime:asc* */ SortBy *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 }
PublicListContentDownloaderV2Params contains all the parameters to send to the API endpoint for the public list content downloader v2 operation typically these are written to a http.Request
func NewPublicListContentDownloaderV2Params ¶
func NewPublicListContentDownloaderV2Params() *PublicListContentDownloaderV2Params
NewPublicListContentDownloaderV2Params creates a new PublicListContentDownloaderV2Params object with the default values initialized.
func NewPublicListContentDownloaderV2ParamsWithContext ¶
func NewPublicListContentDownloaderV2ParamsWithContext(ctx context.Context) *PublicListContentDownloaderV2Params
NewPublicListContentDownloaderV2ParamsWithContext creates a new PublicListContentDownloaderV2Params object with the default values initialized, and the ability to set a context for a request
func NewPublicListContentDownloaderV2ParamsWithHTTPClient ¶
func NewPublicListContentDownloaderV2ParamsWithHTTPClient(client *http.Client) *PublicListContentDownloaderV2Params
NewPublicListContentDownloaderV2ParamsWithHTTPClient creates a new PublicListContentDownloaderV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicListContentDownloaderV2ParamsWithTimeout ¶
func NewPublicListContentDownloaderV2ParamsWithTimeout(timeout time.Duration) *PublicListContentDownloaderV2Params
NewPublicListContentDownloaderV2ParamsWithTimeout creates a new PublicListContentDownloaderV2Params object with the default values initialized, and the ability to set a timeout on a request
func (*PublicListContentDownloaderV2Params) SetAuthInfoWriter ¶
func (o *PublicListContentDownloaderV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public list content downloader v2 params
func (*PublicListContentDownloaderV2Params) SetContentID ¶
func (o *PublicListContentDownloaderV2Params) SetContentID(contentID string)
SetContentID adds the contentId to the public list content downloader v2 params
func (*PublicListContentDownloaderV2Params) SetContext ¶
func (o *PublicListContentDownloaderV2Params) SetContext(ctx context.Context)
SetContext adds the context to the public list content downloader v2 params
func (*PublicListContentDownloaderV2Params) SetFlightId ¶ added in v0.63.0
func (o *PublicListContentDownloaderV2Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicListContentDownloaderV2Params) SetHTTPClient ¶
func (o *PublicListContentDownloaderV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public list content downloader v2 params
func (*PublicListContentDownloaderV2Params) SetHTTPClientTransport ¶
func (o *PublicListContentDownloaderV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public list content downloader v2 params
func (*PublicListContentDownloaderV2Params) SetLimit ¶
func (o *PublicListContentDownloaderV2Params) SetLimit(limit *int64)
SetLimit adds the limit to the public list content downloader v2 params
func (*PublicListContentDownloaderV2Params) SetNamespace ¶
func (o *PublicListContentDownloaderV2Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the public list content downloader v2 params
func (*PublicListContentDownloaderV2Params) SetOffset ¶
func (o *PublicListContentDownloaderV2Params) SetOffset(offset *int64)
SetOffset adds the offset to the public list content downloader v2 params
func (*PublicListContentDownloaderV2Params) SetSortBy ¶
func (o *PublicListContentDownloaderV2Params) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the public list content downloader v2 params
func (*PublicListContentDownloaderV2Params) SetTimeout ¶
func (o *PublicListContentDownloaderV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public list content downloader v2 params
func (*PublicListContentDownloaderV2Params) SetUserID ¶
func (o *PublicListContentDownloaderV2Params) SetUserID(userID *string)
SetUserID adds the userId to the public list content downloader v2 params
func (*PublicListContentDownloaderV2Params) WithContentID ¶
func (o *PublicListContentDownloaderV2Params) WithContentID(contentID string) *PublicListContentDownloaderV2Params
WithContentID adds the contentID to the public list content downloader v2 params
func (*PublicListContentDownloaderV2Params) WithContext ¶
func (o *PublicListContentDownloaderV2Params) WithContext(ctx context.Context) *PublicListContentDownloaderV2Params
WithContext adds the context to the public list content downloader v2 params
func (*PublicListContentDownloaderV2Params) WithHTTPClient ¶
func (o *PublicListContentDownloaderV2Params) WithHTTPClient(client *http.Client) *PublicListContentDownloaderV2Params
WithHTTPClient adds the HTTPClient to the public list content downloader v2 params
func (*PublicListContentDownloaderV2Params) WithLimit ¶
func (o *PublicListContentDownloaderV2Params) WithLimit(limit *int64) *PublicListContentDownloaderV2Params
WithLimit adds the limit to the public list content downloader v2 params
func (*PublicListContentDownloaderV2Params) WithNamespace ¶
func (o *PublicListContentDownloaderV2Params) WithNamespace(namespace string) *PublicListContentDownloaderV2Params
WithNamespace adds the namespace to the public list content downloader v2 params
func (*PublicListContentDownloaderV2Params) WithOffset ¶
func (o *PublicListContentDownloaderV2Params) WithOffset(offset *int64) *PublicListContentDownloaderV2Params
WithOffset adds the offset to the public list content downloader v2 params
func (*PublicListContentDownloaderV2Params) WithSortBy ¶
func (o *PublicListContentDownloaderV2Params) WithSortBy(sortBy *string) *PublicListContentDownloaderV2Params
WithSortBy adds the sortBy to the public list content downloader v2 params
func (*PublicListContentDownloaderV2Params) WithTimeout ¶
func (o *PublicListContentDownloaderV2Params) WithTimeout(timeout time.Duration) *PublicListContentDownloaderV2Params
WithTimeout adds the timeout to the public list content downloader v2 params
func (*PublicListContentDownloaderV2Params) WithUserID ¶
func (o *PublicListContentDownloaderV2Params) WithUserID(userID *string) *PublicListContentDownloaderV2Params
WithUserID adds the userID to the public list content downloader v2 params
func (*PublicListContentDownloaderV2Params) WriteToRequest ¶
func (o *PublicListContentDownloaderV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicListContentDownloaderV2Reader ¶
type PublicListContentDownloaderV2Reader struct {
// contains filtered or unexported fields
}
PublicListContentDownloaderV2Reader is a Reader for the PublicListContentDownloaderV2 structure.
func (*PublicListContentDownloaderV2Reader) ReadResponse ¶
func (o *PublicListContentDownloaderV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicListContentDownloaderV2Unauthorized ¶
type PublicListContentDownloaderV2Unauthorized struct {
}PublicListContentDownloaderV2Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPublicListContentDownloaderV2Unauthorized ¶
func NewPublicListContentDownloaderV2Unauthorized() *PublicListContentDownloaderV2Unauthorized
NewPublicListContentDownloaderV2Unauthorized creates a PublicListContentDownloaderV2Unauthorized with default headers values
func (*PublicListContentDownloaderV2Unauthorized) Error ¶
func (o *PublicListContentDownloaderV2Unauthorized) Error() string
func (*PublicListContentDownloaderV2Unauthorized) GetPayload ¶
func (o *PublicListContentDownloaderV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*PublicListContentDownloaderV2Unauthorized) ToJSONString ¶
func (o *PublicListContentDownloaderV2Unauthorized) ToJSONString() string