public_content_v2

package
v0.1.0-alpha.9 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

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 content v2 API

func (*Client) DeleteContentScreenshotV2 deprecated

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

DeleteContentScreenshotV2 delete screenshots content Delete screenshot from a content

func (*Client) DeleteContentScreenshotV2Short

func (a *Client) DeleteContentScreenshotV2Short(params *DeleteContentScreenshotV2Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentScreenshotV2NoContent, error)

DeleteContentScreenshotV2Short delete screenshots content Delete screenshot from a content

func (*Client) PublicBulkGetContentByIDV2 deprecated

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

PublicBulkGetContentByIDV2 get contents by content ids Maximum requested Ids: 100. Public user can access without token or if token specified, requires valid user token

func (*Client) PublicBulkGetContentByIDV2Short

func (a *Client) PublicBulkGetContentByIDV2Short(params *PublicBulkGetContentByIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicBulkGetContentByIDV2OK, error)

PublicBulkGetContentByIDV2Short get contents by content ids Maximum requested Ids: 100. Public user can access without token or if token specified, requires valid user token

func (*Client) PublicCreateContentV2 deprecated

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

PublicCreateContentV2 create a content Create a new content

func (*Client) PublicCreateContentV2Short

func (a *Client) PublicCreateContentV2Short(params *PublicCreateContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateContentV2Created, error)

PublicCreateContentV2Short create a content Create a new content

func (*Client) PublicDeleteContentByShareCodeV2 deprecated

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

PublicDeleteContentByShareCodeV2 delete content by share code Delete existing content by share code

func (*Client) PublicDeleteContentByShareCodeV2Short

func (a *Client) PublicDeleteContentByShareCodeV2Short(params *PublicDeleteContentByShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicDeleteContentByShareCodeV2NoContent, error)

PublicDeleteContentByShareCodeV2Short delete content by share code Delete existing content by share code

func (*Client) PublicDeleteContentV2 deprecated

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

PublicDeleteContentV2 delete content Delete existing content

func (*Client) PublicDeleteContentV2Short

func (a *Client) PublicDeleteContentV2Short(params *PublicDeleteContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicDeleteContentV2NoContent, error)

PublicDeleteContentV2Short delete content Delete existing content

func (*Client) PublicGenerateContentUploadURLV2 deprecated

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

PublicGenerateContentUploadURLV2 generate content upload url Generate content upload URL

func (*Client) PublicGenerateContentUploadURLV2Short

func (a *Client) PublicGenerateContentUploadURLV2Short(params *PublicGenerateContentUploadURLV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGenerateContentUploadURLV2OK, error)

PublicGenerateContentUploadURLV2Short generate content upload url Generate content upload URL

func (*Client) PublicGetContentBulkByShareCodesV2 deprecated

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

PublicGetContentBulkByShareCodesV2 bulk get content by content sharecodes Require valid user token. Maximum sharecodes per request 100

func (*Client) PublicGetContentBulkByShareCodesV2Short

func (a *Client) PublicGetContentBulkByShareCodesV2Short(params *PublicGetContentBulkByShareCodesV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentBulkByShareCodesV2OK, error)

PublicGetContentBulkByShareCodesV2Short bulk get content by content sharecodes Require valid user token. Maximum sharecodes per request 100

func (*Client) PublicGetContentByChannelIDV2 deprecated

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

PublicGetContentByChannelIDV2 list contents specific to a channel Public user can access without token or if token specified, requires valid user token

func (*Client) PublicGetContentByChannelIDV2Short

func (a *Client) PublicGetContentByChannelIDV2Short(params *PublicGetContentByChannelIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentByChannelIDV2OK, error)

PublicGetContentByChannelIDV2Short list contents specific to a channel Public user can access without token or if token specified, requires valid user token

func (*Client) PublicGetContentByIDV2 deprecated

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

PublicGetContentByIDV2 get content by content id Public user can access without token or if token specified, requires valid user token

func (*Client) PublicGetContentByIDV2Short

func (a *Client) PublicGetContentByIDV2Short(params *PublicGetContentByIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentByIDV2OK, error)

PublicGetContentByIDV2Short get content by content id Public user can access without token or if token specified, requires valid user token

func (*Client) PublicGetContentByShareCodeV2 deprecated

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

PublicGetContentByShareCodeV2 get content by sharecode Public user can access without token or if token specified, requires valid user token

func (*Client) PublicGetContentByShareCodeV2Short

func (a *Client) PublicGetContentByShareCodeV2Short(params *PublicGetContentByShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentByShareCodeV2OK, error)

PublicGetContentByShareCodeV2Short get content by sharecode Public user can access without token or if token specified, requires valid user token

func (*Client) PublicGetContentByUserIDV2 deprecated

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

PublicGetContentByUserIDV2 get content by user id Public user can access without token or if token specified, required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [READ].

func (*Client) PublicGetContentByUserIDV2Short

func (a *Client) PublicGetContentByUserIDV2Short(params *PublicGetContentByUserIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentByUserIDV2OK, error)

PublicGetContentByUserIDV2Short get content by user id Public user can access without token or if token specified, required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [READ].

func (*Client) PublicListContentV2 deprecated

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

PublicListContentV2 list contents For advance tag filtering supports & as AND operator and | as OR operator and parentheses ( ) for priority. e.g:

*tags=red* *tags=red&animal;* *tags=red|animal* *tags=red&animal;|wild* *tags=red&(animal|wild)*

The precedence of logical operator is AND > OR, so if no parentheses, AND logical operator will be executed first.

Allowed character for operand: alphanumeric, underscore _ and dash -

Allowed character for operator: & | ( )

**Please note that value of tags query param should be URL encoded**

func (*Client) PublicListContentV2Short

func (a *Client) PublicListContentV2Short(params *PublicListContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicListContentV2OK, error)

PublicListContentV2Short list contents For advance tag filtering supports & as AND operator and | as OR operator and parentheses ( ) for priority. e.g:

*tags=red* *tags=red&animal;* *tags=red|animal* *tags=red&animal;|wild* *tags=red&(animal|wild)*

The precedence of logical operator is AND > OR, so if no parentheses, AND logical operator will be executed first.

Allowed character for operand: alphanumeric, underscore _ and dash -

Allowed character for operator: & | ( )

**Please note that value of tags query param should be URL encoded**

func (*Client) PublicUpdateContentByShareCodeV2 deprecated

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

PublicUpdateContentByShareCodeV2 update content to s3 bucket by share code Update content by share code

func (*Client) PublicUpdateContentByShareCodeV2Short

func (a *Client) PublicUpdateContentByShareCodeV2Short(params *PublicUpdateContentByShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateContentByShareCodeV2OK, error)

PublicUpdateContentByShareCodeV2Short update content to s3 bucket by share code Update content by share code

func (*Client) PublicUpdateContentFileLocation deprecated

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

PublicUpdateContentFileLocation update content file location This endpoint should be used after calling generate upload url endpoint to commit the changes

func (*Client) PublicUpdateContentFileLocationShort

func (a *Client) PublicUpdateContentFileLocationShort(params *PublicUpdateContentFileLocationParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateContentFileLocationOK, error)

PublicUpdateContentFileLocationShort update content file location This endpoint should be used after calling generate upload url endpoint to commit the changes

func (*Client) PublicUpdateContentV2 deprecated

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

PublicUpdateContentV2 update content Update existing content

func (*Client) PublicUpdateContentV2Short

func (a *Client) PublicUpdateContentV2Short(params *PublicUpdateContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateContentV2OK, error)

PublicUpdateContentV2Short update content Update existing content

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateContentShareCodeV2 deprecated

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

UpdateContentShareCodeV2 update content share code This endpoint is used to modify the shareCode of a content. However, this operation is restricted by default and requires the above permission to be granted to the User role.

`shareCode` format should follows: Max length: 7 Available characters: abcdefhkpqrstuxyz

func (*Client) UpdateContentShareCodeV2Short

func (a *Client) UpdateContentShareCodeV2Short(params *UpdateContentShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentShareCodeV2OK, error)

UpdateContentShareCodeV2Short update content share code This endpoint is used to modify the shareCode of a content. However, this operation is restricted by default and requires the above permission to be granted to the User role.

`shareCode` format should follows: Max length: 7 Available characters: abcdefhkpqrstuxyz

func (*Client) UpdateScreenshotsV2 deprecated

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

UpdateScreenshotsV2 update screenshot of content Maximum description length: 1024

func (*Client) UpdateScreenshotsV2Short

func (a *Client) UpdateScreenshotsV2Short(params *UpdateScreenshotsV2Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateScreenshotsV2OK, error)

UpdateScreenshotsV2Short update screenshot of content Maximum description length: 1024

func (*Client) UploadContentScreenshotV2 deprecated

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

UploadContentScreenshotV2 upload screenshots for content This endpoint used to request upload URL from content's screenshot. If *contentType* is not specified, it will use *fileExtension* value. Supported file extensions: pjp, jpg, jpeg, jfif, bmp, png. Maximum description length: 1024

func (*Client) UploadContentScreenshotV2Short

func (a *Client) UploadContentScreenshotV2Short(params *UploadContentScreenshotV2Params, authInfo runtime.ClientAuthInfoWriter) (*UploadContentScreenshotV2Created, error)

UploadContentScreenshotV2Short upload screenshots for content This endpoint used to request upload URL from content's screenshot. If *contentType* is not specified, it will use *fileExtension* value. Supported file extensions: pjp, jpg, jpeg, jfif, bmp, png. Maximum description length: 1024

type ClientService

type ClientService interface {
	PublicGetContentByChannelIDV2(params *PublicGetContentByChannelIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentByChannelIDV2OK, *PublicGetContentByChannelIDV2BadRequest, *PublicGetContentByChannelIDV2Unauthorized, *PublicGetContentByChannelIDV2InternalServerError, error)
	PublicGetContentByChannelIDV2Short(params *PublicGetContentByChannelIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentByChannelIDV2OK, error)
	PublicListContentV2(params *PublicListContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicListContentV2OK, *PublicListContentV2BadRequest, *PublicListContentV2Unauthorized, *PublicListContentV2InternalServerError, error)
	PublicListContentV2Short(params *PublicListContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicListContentV2OK, error)
	PublicBulkGetContentByIDV2(params *PublicBulkGetContentByIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicBulkGetContentByIDV2OK, *PublicBulkGetContentByIDV2BadRequest, *PublicBulkGetContentByIDV2Unauthorized, *PublicBulkGetContentByIDV2InternalServerError, error)
	PublicBulkGetContentByIDV2Short(params *PublicBulkGetContentByIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicBulkGetContentByIDV2OK, error)
	PublicGetContentBulkByShareCodesV2(params *PublicGetContentBulkByShareCodesV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentBulkByShareCodesV2OK, *PublicGetContentBulkByShareCodesV2BadRequest, *PublicGetContentBulkByShareCodesV2Unauthorized, *PublicGetContentBulkByShareCodesV2Forbidden, *PublicGetContentBulkByShareCodesV2InternalServerError, error)
	PublicGetContentBulkByShareCodesV2Short(params *PublicGetContentBulkByShareCodesV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentBulkByShareCodesV2OK, error)
	PublicGetContentByShareCodeV2(params *PublicGetContentByShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentByShareCodeV2OK, *PublicGetContentByShareCodeV2Unauthorized, *PublicGetContentByShareCodeV2NotFound, *PublicGetContentByShareCodeV2InternalServerError, error)
	PublicGetContentByShareCodeV2Short(params *PublicGetContentByShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentByShareCodeV2OK, error)
	PublicGetContentByIDV2(params *PublicGetContentByIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentByIDV2OK, *PublicGetContentByIDV2Unauthorized, *PublicGetContentByIDV2NotFound, *PublicGetContentByIDV2InternalServerError, error)
	PublicGetContentByIDV2Short(params *PublicGetContentByIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentByIDV2OK, error)
	PublicCreateContentV2(params *PublicCreateContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateContentV2Created, *PublicCreateContentV2BadRequest, *PublicCreateContentV2Unauthorized, *PublicCreateContentV2NotFound, *PublicCreateContentV2InternalServerError, error)
	PublicCreateContentV2Short(params *PublicCreateContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateContentV2Created, error)
	PublicUpdateContentByShareCodeV2(params *PublicUpdateContentByShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateContentByShareCodeV2OK, *PublicUpdateContentByShareCodeV2BadRequest, *PublicUpdateContentByShareCodeV2Unauthorized, *PublicUpdateContentByShareCodeV2Forbidden, *PublicUpdateContentByShareCodeV2NotFound, *PublicUpdateContentByShareCodeV2Conflict, *PublicUpdateContentByShareCodeV2InternalServerError, error)
	PublicUpdateContentByShareCodeV2Short(params *PublicUpdateContentByShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateContentByShareCodeV2OK, error)
	PublicDeleteContentByShareCodeV2(params *PublicDeleteContentByShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicDeleteContentByShareCodeV2NoContent, *PublicDeleteContentByShareCodeV2Unauthorized, *PublicDeleteContentByShareCodeV2NotFound, *PublicDeleteContentByShareCodeV2InternalServerError, error)
	PublicDeleteContentByShareCodeV2Short(params *PublicDeleteContentByShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicDeleteContentByShareCodeV2NoContent, error)
	PublicDeleteContentV2(params *PublicDeleteContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicDeleteContentV2NoContent, *PublicDeleteContentV2Unauthorized, *PublicDeleteContentV2NotFound, *PublicDeleteContentV2InternalServerError, error)
	PublicDeleteContentV2Short(params *PublicDeleteContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicDeleteContentV2NoContent, error)
	PublicUpdateContentV2(params *PublicUpdateContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateContentV2OK, *PublicUpdateContentV2BadRequest, *PublicUpdateContentV2Unauthorized, *PublicUpdateContentV2Forbidden, *PublicUpdateContentV2NotFound, *PublicUpdateContentV2InternalServerError, error)
	PublicUpdateContentV2Short(params *PublicUpdateContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateContentV2OK, error)
	PublicUpdateContentFileLocation(params *PublicUpdateContentFileLocationParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateContentFileLocationOK, *PublicUpdateContentFileLocationBadRequest, *PublicUpdateContentFileLocationUnauthorized, *PublicUpdateContentFileLocationForbidden, *PublicUpdateContentFileLocationNotFound, *PublicUpdateContentFileLocationInternalServerError, error)
	PublicUpdateContentFileLocationShort(params *PublicUpdateContentFileLocationParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateContentFileLocationOK, error)
	UpdateContentShareCodeV2(params *UpdateContentShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentShareCodeV2OK, *UpdateContentShareCodeV2BadRequest, *UpdateContentShareCodeV2Unauthorized, *UpdateContentShareCodeV2Forbidden, *UpdateContentShareCodeV2NotFound, *UpdateContentShareCodeV2Conflict, *UpdateContentShareCodeV2InternalServerError, error)
	UpdateContentShareCodeV2Short(params *UpdateContentShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentShareCodeV2OK, error)
	PublicGenerateContentUploadURLV2(params *PublicGenerateContentUploadURLV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGenerateContentUploadURLV2OK, *PublicGenerateContentUploadURLV2BadRequest, *PublicGenerateContentUploadURLV2Unauthorized, *PublicGenerateContentUploadURLV2Forbidden, *PublicGenerateContentUploadURLV2NotFound, *PublicGenerateContentUploadURLV2InternalServerError, error)
	PublicGenerateContentUploadURLV2Short(params *PublicGenerateContentUploadURLV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGenerateContentUploadURLV2OK, error)
	PublicGetContentByUserIDV2(params *PublicGetContentByUserIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentByUserIDV2OK, *PublicGetContentByUserIDV2BadRequest, *PublicGetContentByUserIDV2Unauthorized, *PublicGetContentByUserIDV2InternalServerError, error)
	PublicGetContentByUserIDV2Short(params *PublicGetContentByUserIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentByUserIDV2OK, error)
	UpdateScreenshotsV2(params *UpdateScreenshotsV2Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateScreenshotsV2OK, *UpdateScreenshotsV2BadRequest, *UpdateScreenshotsV2Unauthorized, *UpdateScreenshotsV2Forbidden, *UpdateScreenshotsV2NotFound, *UpdateScreenshotsV2InternalServerError, error)
	UpdateScreenshotsV2Short(params *UpdateScreenshotsV2Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateScreenshotsV2OK, error)
	UploadContentScreenshotV2(params *UploadContentScreenshotV2Params, authInfo runtime.ClientAuthInfoWriter) (*UploadContentScreenshotV2Created, *UploadContentScreenshotV2BadRequest, *UploadContentScreenshotV2Unauthorized, *UploadContentScreenshotV2Forbidden, *UploadContentScreenshotV2InternalServerError, error)
	UploadContentScreenshotV2Short(params *UploadContentScreenshotV2Params, authInfo runtime.ClientAuthInfoWriter) (*UploadContentScreenshotV2Created, error)
	DeleteContentScreenshotV2(params *DeleteContentScreenshotV2Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentScreenshotV2NoContent, *DeleteContentScreenshotV2BadRequest, *DeleteContentScreenshotV2Unauthorized, *DeleteContentScreenshotV2Forbidden, *DeleteContentScreenshotV2NotFound, *DeleteContentScreenshotV2InternalServerError, error)
	DeleteContentScreenshotV2Short(params *DeleteContentScreenshotV2Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentScreenshotV2NoContent, 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 content v2 API client.

type DeleteContentScreenshotV2BadRequest

type DeleteContentScreenshotV2BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

DeleteContentScreenshotV2BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772602</td><td>Unable to check user ban status/Unable to get updated ugc content</td></tr></table>

func NewDeleteContentScreenshotV2BadRequest

func NewDeleteContentScreenshotV2BadRequest() *DeleteContentScreenshotV2BadRequest

NewDeleteContentScreenshotV2BadRequest creates a DeleteContentScreenshotV2BadRequest with default headers values

func (*DeleteContentScreenshotV2BadRequest) Error

func (*DeleteContentScreenshotV2BadRequest) GetPayload

func (*DeleteContentScreenshotV2BadRequest) ToJSONString

func (o *DeleteContentScreenshotV2BadRequest) ToJSONString() string

type DeleteContentScreenshotV2Forbidden

type DeleteContentScreenshotV2Forbidden struct {
	Payload *ugcclientmodels.ResponseError
}

DeleteContentScreenshotV2Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772604</td><td>User has been banned to update content</td></tr></table>

func NewDeleteContentScreenshotV2Forbidden

func NewDeleteContentScreenshotV2Forbidden() *DeleteContentScreenshotV2Forbidden

NewDeleteContentScreenshotV2Forbidden creates a DeleteContentScreenshotV2Forbidden with default headers values

func (*DeleteContentScreenshotV2Forbidden) Error

func (*DeleteContentScreenshotV2Forbidden) GetPayload

func (*DeleteContentScreenshotV2Forbidden) ToJSONString

func (o *DeleteContentScreenshotV2Forbidden) ToJSONString() string

type DeleteContentScreenshotV2InternalServerError

type DeleteContentScreenshotV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

DeleteContentScreenshotV2InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772602</td><td>Unable to check user ban status/Unable to get updated ugc content</td></tr></table>

func NewDeleteContentScreenshotV2InternalServerError

func NewDeleteContentScreenshotV2InternalServerError() *DeleteContentScreenshotV2InternalServerError

NewDeleteContentScreenshotV2InternalServerError creates a DeleteContentScreenshotV2InternalServerError with default headers values

func (*DeleteContentScreenshotV2InternalServerError) Error

func (*DeleteContentScreenshotV2InternalServerError) GetPayload

func (*DeleteContentScreenshotV2InternalServerError) ToJSONString

type DeleteContentScreenshotV2NoContent

type DeleteContentScreenshotV2NoContent struct {
}

DeleteContentScreenshotV2NoContent handles this case with default header values.

Screenshot deleted

func NewDeleteContentScreenshotV2NoContent

func NewDeleteContentScreenshotV2NoContent() *DeleteContentScreenshotV2NoContent

NewDeleteContentScreenshotV2NoContent creates a DeleteContentScreenshotV2NoContent with default headers values

func (*DeleteContentScreenshotV2NoContent) Error

type DeleteContentScreenshotV2NotFound

type DeleteContentScreenshotV2NotFound struct {
	Payload *ugcclientmodels.ResponseError
}

DeleteContentScreenshotV2NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772603</td><td>Content not found</td></tr><tr><td>772602</td><td>Unable to check user ban status/Unable to get updated ugc content</td></tr></table>

func NewDeleteContentScreenshotV2NotFound

func NewDeleteContentScreenshotV2NotFound() *DeleteContentScreenshotV2NotFound

NewDeleteContentScreenshotV2NotFound creates a DeleteContentScreenshotV2NotFound with default headers values

func (*DeleteContentScreenshotV2NotFound) Error

func (*DeleteContentScreenshotV2NotFound) GetPayload

func (*DeleteContentScreenshotV2NotFound) ToJSONString

func (o *DeleteContentScreenshotV2NotFound) ToJSONString() string

type DeleteContentScreenshotV2Params

type DeleteContentScreenshotV2Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ContentID
	  content ID

	*/
	ContentID string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*ScreenshotID
	  screenshot ID

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

DeleteContentScreenshotV2Params contains all the parameters to send to the API endpoint for the delete content screenshot v2 operation typically these are written to a http.Request

func NewDeleteContentScreenshotV2Params

func NewDeleteContentScreenshotV2Params() *DeleteContentScreenshotV2Params

NewDeleteContentScreenshotV2Params creates a new DeleteContentScreenshotV2Params object with the default values initialized.

func NewDeleteContentScreenshotV2ParamsWithContext

func NewDeleteContentScreenshotV2ParamsWithContext(ctx context.Context) *DeleteContentScreenshotV2Params

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

func NewDeleteContentScreenshotV2ParamsWithHTTPClient

func NewDeleteContentScreenshotV2ParamsWithHTTPClient(client *http.Client) *DeleteContentScreenshotV2Params

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

func NewDeleteContentScreenshotV2ParamsWithTimeout

func NewDeleteContentScreenshotV2ParamsWithTimeout(timeout time.Duration) *DeleteContentScreenshotV2Params

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

func (*DeleteContentScreenshotV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the delete content screenshot v2 params

func (*DeleteContentScreenshotV2Params) SetContentID

func (o *DeleteContentScreenshotV2Params) SetContentID(contentID string)

SetContentID adds the contentId to the delete content screenshot v2 params

func (*DeleteContentScreenshotV2Params) SetContext

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

SetContext adds the context to the delete content screenshot v2 params

func (*DeleteContentScreenshotV2Params) SetFlightId

func (o *DeleteContentScreenshotV2Params) SetFlightId(flightId string)

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

func (*DeleteContentScreenshotV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete content screenshot v2 params

func (*DeleteContentScreenshotV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the delete content screenshot v2 params

func (*DeleteContentScreenshotV2Params) SetNamespace

func (o *DeleteContentScreenshotV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete content screenshot v2 params

func (*DeleteContentScreenshotV2Params) SetScreenshotID

func (o *DeleteContentScreenshotV2Params) SetScreenshotID(screenshotID string)

SetScreenshotID adds the screenshotId to the delete content screenshot v2 params

func (*DeleteContentScreenshotV2Params) SetTimeout

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

SetTimeout adds the timeout to the delete content screenshot v2 params

func (*DeleteContentScreenshotV2Params) SetUserID

func (o *DeleteContentScreenshotV2Params) SetUserID(userID string)

SetUserID adds the userId to the delete content screenshot v2 params

func (*DeleteContentScreenshotV2Params) WithContentID

WithContentID adds the contentID to the delete content screenshot v2 params

func (*DeleteContentScreenshotV2Params) WithContext

WithContext adds the context to the delete content screenshot v2 params

func (*DeleteContentScreenshotV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete content screenshot v2 params

func (*DeleteContentScreenshotV2Params) WithNamespace

WithNamespace adds the namespace to the delete content screenshot v2 params

func (*DeleteContentScreenshotV2Params) WithScreenshotID

func (o *DeleteContentScreenshotV2Params) WithScreenshotID(screenshotID string) *DeleteContentScreenshotV2Params

WithScreenshotID adds the screenshotID to the delete content screenshot v2 params

func (*DeleteContentScreenshotV2Params) WithTimeout

WithTimeout adds the timeout to the delete content screenshot v2 params

func (*DeleteContentScreenshotV2Params) WithUserID

WithUserID adds the userID to the delete content screenshot v2 params

func (*DeleteContentScreenshotV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteContentScreenshotV2Reader

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

DeleteContentScreenshotV2Reader is a Reader for the DeleteContentScreenshotV2 structure.

func (*DeleteContentScreenshotV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteContentScreenshotV2Unauthorized

type DeleteContentScreenshotV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

DeleteContentScreenshotV2Unauthorized 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 NewDeleteContentScreenshotV2Unauthorized

func NewDeleteContentScreenshotV2Unauthorized() *DeleteContentScreenshotV2Unauthorized

NewDeleteContentScreenshotV2Unauthorized creates a DeleteContentScreenshotV2Unauthorized with default headers values

func (*DeleteContentScreenshotV2Unauthorized) Error

func (*DeleteContentScreenshotV2Unauthorized) GetPayload

func (*DeleteContentScreenshotV2Unauthorized) ToJSONString

type PublicBulkGetContentByIDV2BadRequest

type PublicBulkGetContentByIDV2BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

PublicBulkGetContentByIDV2BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773900</td><td>Malformed request/Invalid request body</td></tr></table>

func NewPublicBulkGetContentByIDV2BadRequest

func NewPublicBulkGetContentByIDV2BadRequest() *PublicBulkGetContentByIDV2BadRequest

NewPublicBulkGetContentByIDV2BadRequest creates a PublicBulkGetContentByIDV2BadRequest with default headers values

func (*PublicBulkGetContentByIDV2BadRequest) Error

func (*PublicBulkGetContentByIDV2BadRequest) GetPayload

func (*PublicBulkGetContentByIDV2BadRequest) ToJSONString

func (o *PublicBulkGetContentByIDV2BadRequest) ToJSONString() string

type PublicBulkGetContentByIDV2InternalServerError

type PublicBulkGetContentByIDV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

PublicBulkGetContentByIDV2InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770801</td><td>Unable to get ugc content: database/Unable to get creator</td></tr><tr><td>773902</td><td>Failed generate download URL</td></tr></table>

func NewPublicBulkGetContentByIDV2InternalServerError

func NewPublicBulkGetContentByIDV2InternalServerError() *PublicBulkGetContentByIDV2InternalServerError

NewPublicBulkGetContentByIDV2InternalServerError creates a PublicBulkGetContentByIDV2InternalServerError with default headers values

func (*PublicBulkGetContentByIDV2InternalServerError) Error

func (*PublicBulkGetContentByIDV2InternalServerError) GetPayload

func (*PublicBulkGetContentByIDV2InternalServerError) ToJSONString

type PublicBulkGetContentByIDV2OK

type PublicBulkGetContentByIDV2OK struct {
	Payload []*ugcclientmodels.ModelsContentDownloadResponseV2
}

PublicBulkGetContentByIDV2OK handles this case with default header values.

Get contents by content Ids

func NewPublicBulkGetContentByIDV2OK

func NewPublicBulkGetContentByIDV2OK() *PublicBulkGetContentByIDV2OK

NewPublicBulkGetContentByIDV2OK creates a PublicBulkGetContentByIDV2OK with default headers values

func (*PublicBulkGetContentByIDV2OK) Error

func (*PublicBulkGetContentByIDV2OK) GetPayload

func (*PublicBulkGetContentByIDV2OK) ToJSONString

func (o *PublicBulkGetContentByIDV2OK) ToJSONString() string

type PublicBulkGetContentByIDV2Params

type PublicBulkGetContentByIDV2Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *ugcclientmodels.ModelsPublicGetContentBulkRequest
	/*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
}

PublicBulkGetContentByIDV2Params contains all the parameters to send to the API endpoint for the public bulk get content by idv2 operation typically these are written to a http.Request

func NewPublicBulkGetContentByIDV2Params

func NewPublicBulkGetContentByIDV2Params() *PublicBulkGetContentByIDV2Params

NewPublicBulkGetContentByIDV2Params creates a new PublicBulkGetContentByIDV2Params object with the default values initialized.

func NewPublicBulkGetContentByIDV2ParamsWithContext

func NewPublicBulkGetContentByIDV2ParamsWithContext(ctx context.Context) *PublicBulkGetContentByIDV2Params

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

func NewPublicBulkGetContentByIDV2ParamsWithHTTPClient

func NewPublicBulkGetContentByIDV2ParamsWithHTTPClient(client *http.Client) *PublicBulkGetContentByIDV2Params

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

func NewPublicBulkGetContentByIDV2ParamsWithTimeout

func NewPublicBulkGetContentByIDV2ParamsWithTimeout(timeout time.Duration) *PublicBulkGetContentByIDV2Params

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

func (*PublicBulkGetContentByIDV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public bulk get content by idv2 params

func (*PublicBulkGetContentByIDV2Params) SetBody

SetBody adds the body to the public bulk get content by idv2 params

func (*PublicBulkGetContentByIDV2Params) SetContext

SetContext adds the context to the public bulk get content by idv2 params

func (*PublicBulkGetContentByIDV2Params) SetFlightId

func (o *PublicBulkGetContentByIDV2Params) SetFlightId(flightId string)

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

func (*PublicBulkGetContentByIDV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public bulk get content by idv2 params

func (*PublicBulkGetContentByIDV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public bulk get content by idv2 params

func (*PublicBulkGetContentByIDV2Params) SetNamespace

func (o *PublicBulkGetContentByIDV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the public bulk get content by idv2 params

func (*PublicBulkGetContentByIDV2Params) SetTimeout

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

SetTimeout adds the timeout to the public bulk get content by idv2 params

func (*PublicBulkGetContentByIDV2Params) WithBody

WithBody adds the body to the public bulk get content by idv2 params

func (*PublicBulkGetContentByIDV2Params) WithContext

WithContext adds the context to the public bulk get content by idv2 params

func (*PublicBulkGetContentByIDV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public bulk get content by idv2 params

func (*PublicBulkGetContentByIDV2Params) WithNamespace

WithNamespace adds the namespace to the public bulk get content by idv2 params

func (*PublicBulkGetContentByIDV2Params) WithTimeout

WithTimeout adds the timeout to the public bulk get content by idv2 params

func (*PublicBulkGetContentByIDV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicBulkGetContentByIDV2Reader

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

PublicBulkGetContentByIDV2Reader is a Reader for the PublicBulkGetContentByIDV2 structure.

func (*PublicBulkGetContentByIDV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicBulkGetContentByIDV2Unauthorized

type PublicBulkGetContentByIDV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

PublicBulkGetContentByIDV2Unauthorized 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 NewPublicBulkGetContentByIDV2Unauthorized

func NewPublicBulkGetContentByIDV2Unauthorized() *PublicBulkGetContentByIDV2Unauthorized

NewPublicBulkGetContentByIDV2Unauthorized creates a PublicBulkGetContentByIDV2Unauthorized with default headers values

func (*PublicBulkGetContentByIDV2Unauthorized) Error

func (*PublicBulkGetContentByIDV2Unauthorized) GetPayload

func (*PublicBulkGetContentByIDV2Unauthorized) ToJSONString

type PublicCreateContentV2BadRequest

type PublicCreateContentV2BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

PublicCreateContentV2BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770100</td><td>Malformed request/Invalid request body/channel do not exist</td></tr></table>

func NewPublicCreateContentV2BadRequest

func NewPublicCreateContentV2BadRequest() *PublicCreateContentV2BadRequest

NewPublicCreateContentV2BadRequest creates a PublicCreateContentV2BadRequest with default headers values

func (*PublicCreateContentV2BadRequest) Error

func (*PublicCreateContentV2BadRequest) GetPayload

func (*PublicCreateContentV2BadRequest) ToJSONString

func (o *PublicCreateContentV2BadRequest) ToJSONString() string

type PublicCreateContentV2Created

type PublicCreateContentV2Created struct {
	Payload *ugcclientmodels.ModelsCreateContentResponseV2
}

PublicCreateContentV2Created handles this case with default header values.

Content created

func NewPublicCreateContentV2Created

func NewPublicCreateContentV2Created() *PublicCreateContentV2Created

NewPublicCreateContentV2Created creates a PublicCreateContentV2Created with default headers values

func (*PublicCreateContentV2Created) Error

func (*PublicCreateContentV2Created) GetPayload

func (*PublicCreateContentV2Created) ToJSONString

func (o *PublicCreateContentV2Created) ToJSONString() string

type PublicCreateContentV2InternalServerError

type PublicCreateContentV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

PublicCreateContentV2InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770102</td><td>Unable to check user ban status/Unable to save ugc content: unable to get channel</td></tr><tr><td>770105</td><td>Unable to save ugc content: failed generate upload URL</td></tr><tr><td>770103</td><td>Unable to save ugc content: shareCode exceed the limit</td></tr></table>

func NewPublicCreateContentV2InternalServerError

func NewPublicCreateContentV2InternalServerError() *PublicCreateContentV2InternalServerError

NewPublicCreateContentV2InternalServerError creates a PublicCreateContentV2InternalServerError with default headers values

func (*PublicCreateContentV2InternalServerError) Error

func (*PublicCreateContentV2InternalServerError) GetPayload

func (*PublicCreateContentV2InternalServerError) ToJSONString

type PublicCreateContentV2NotFound

type PublicCreateContentV2NotFound struct {
	Payload *ugcclientmodels.ResponseError
}

PublicCreateContentV2NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770106</td><td>channel doesn't exist</td></tr></table>

func NewPublicCreateContentV2NotFound

func NewPublicCreateContentV2NotFound() *PublicCreateContentV2NotFound

NewPublicCreateContentV2NotFound creates a PublicCreateContentV2NotFound with default headers values

func (*PublicCreateContentV2NotFound) Error

func (*PublicCreateContentV2NotFound) GetPayload

func (*PublicCreateContentV2NotFound) ToJSONString

func (o *PublicCreateContentV2NotFound) ToJSONString() string

type PublicCreateContentV2Params

type PublicCreateContentV2Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *ugcclientmodels.ModelsContentRequestV2
	/*ChannelID
	  channel ID

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

PublicCreateContentV2Params contains all the parameters to send to the API endpoint for the public create content v2 operation typically these are written to a http.Request

func NewPublicCreateContentV2Params

func NewPublicCreateContentV2Params() *PublicCreateContentV2Params

NewPublicCreateContentV2Params creates a new PublicCreateContentV2Params object with the default values initialized.

func NewPublicCreateContentV2ParamsWithContext

func NewPublicCreateContentV2ParamsWithContext(ctx context.Context) *PublicCreateContentV2Params

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

func NewPublicCreateContentV2ParamsWithHTTPClient

func NewPublicCreateContentV2ParamsWithHTTPClient(client *http.Client) *PublicCreateContentV2Params

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

func NewPublicCreateContentV2ParamsWithTimeout

func NewPublicCreateContentV2ParamsWithTimeout(timeout time.Duration) *PublicCreateContentV2Params

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

func (*PublicCreateContentV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public create content v2 params

func (*PublicCreateContentV2Params) SetBody

SetBody adds the body to the public create content v2 params

func (*PublicCreateContentV2Params) SetChannelID

func (o *PublicCreateContentV2Params) SetChannelID(channelID string)

SetChannelID adds the channelId to the public create content v2 params

func (*PublicCreateContentV2Params) SetContext

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

SetContext adds the context to the public create content v2 params

func (*PublicCreateContentV2Params) SetFlightId

func (o *PublicCreateContentV2Params) SetFlightId(flightId string)

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

func (*PublicCreateContentV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public create content v2 params

func (*PublicCreateContentV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public create content v2 params

func (*PublicCreateContentV2Params) SetNamespace

func (o *PublicCreateContentV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the public create content v2 params

func (*PublicCreateContentV2Params) SetTimeout

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

SetTimeout adds the timeout to the public create content v2 params

func (*PublicCreateContentV2Params) SetUserID

func (o *PublicCreateContentV2Params) SetUserID(userID string)

SetUserID adds the userId to the public create content v2 params

func (*PublicCreateContentV2Params) WithBody

WithBody adds the body to the public create content v2 params

func (*PublicCreateContentV2Params) WithChannelID

func (o *PublicCreateContentV2Params) WithChannelID(channelID string) *PublicCreateContentV2Params

WithChannelID adds the channelID to the public create content v2 params

func (*PublicCreateContentV2Params) WithContext

WithContext adds the context to the public create content v2 params

func (*PublicCreateContentV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public create content v2 params

func (*PublicCreateContentV2Params) WithNamespace

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

WithNamespace adds the namespace to the public create content v2 params

func (*PublicCreateContentV2Params) WithTimeout

WithTimeout adds the timeout to the public create content v2 params

func (*PublicCreateContentV2Params) WithUserID

WithUserID adds the userID to the public create content v2 params

func (*PublicCreateContentV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicCreateContentV2Reader

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

PublicCreateContentV2Reader is a Reader for the PublicCreateContentV2 structure.

func (*PublicCreateContentV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicCreateContentV2Unauthorized

type PublicCreateContentV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

PublicCreateContentV2Unauthorized 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 NewPublicCreateContentV2Unauthorized

func NewPublicCreateContentV2Unauthorized() *PublicCreateContentV2Unauthorized

NewPublicCreateContentV2Unauthorized creates a PublicCreateContentV2Unauthorized with default headers values

func (*PublicCreateContentV2Unauthorized) Error

func (*PublicCreateContentV2Unauthorized) GetPayload

func (*PublicCreateContentV2Unauthorized) ToJSONString

func (o *PublicCreateContentV2Unauthorized) ToJSONString() string

type PublicDeleteContentByShareCodeV2InternalServerError

type PublicDeleteContentByShareCodeV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

PublicDeleteContentByShareCodeV2InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772701</td><td>Unable to delete content/Unable to update user liked count/Unable to delete like state/Unable to delete like state</td></tr></table>

func NewPublicDeleteContentByShareCodeV2InternalServerError

func NewPublicDeleteContentByShareCodeV2InternalServerError() *PublicDeleteContentByShareCodeV2InternalServerError

NewPublicDeleteContentByShareCodeV2InternalServerError creates a PublicDeleteContentByShareCodeV2InternalServerError with default headers values

func (*PublicDeleteContentByShareCodeV2InternalServerError) Error

func (*PublicDeleteContentByShareCodeV2InternalServerError) GetPayload

func (*PublicDeleteContentByShareCodeV2InternalServerError) ToJSONString

type PublicDeleteContentByShareCodeV2NoContent

type PublicDeleteContentByShareCodeV2NoContent struct {
}

PublicDeleteContentByShareCodeV2NoContent handles this case with default header values.

Content deleted

func NewPublicDeleteContentByShareCodeV2NoContent

func NewPublicDeleteContentByShareCodeV2NoContent() *PublicDeleteContentByShareCodeV2NoContent

NewPublicDeleteContentByShareCodeV2NoContent creates a PublicDeleteContentByShareCodeV2NoContent with default headers values

func (*PublicDeleteContentByShareCodeV2NoContent) Error

type PublicDeleteContentByShareCodeV2NotFound

type PublicDeleteContentByShareCodeV2NotFound struct {
	Payload *ugcclientmodels.ResponseError
}

PublicDeleteContentByShareCodeV2NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772702</td><td>Content not found</td></tr></table>

func NewPublicDeleteContentByShareCodeV2NotFound

func NewPublicDeleteContentByShareCodeV2NotFound() *PublicDeleteContentByShareCodeV2NotFound

NewPublicDeleteContentByShareCodeV2NotFound creates a PublicDeleteContentByShareCodeV2NotFound with default headers values

func (*PublicDeleteContentByShareCodeV2NotFound) Error

func (*PublicDeleteContentByShareCodeV2NotFound) GetPayload

func (*PublicDeleteContentByShareCodeV2NotFound) ToJSONString

type PublicDeleteContentByShareCodeV2Params

type PublicDeleteContentByShareCodeV2Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ChannelID
	  channel ID

	*/
	ChannelID string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*ShareCode
	  share code

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

PublicDeleteContentByShareCodeV2Params contains all the parameters to send to the API endpoint for the public delete content by share code v2 operation typically these are written to a http.Request

func NewPublicDeleteContentByShareCodeV2Params

func NewPublicDeleteContentByShareCodeV2Params() *PublicDeleteContentByShareCodeV2Params

NewPublicDeleteContentByShareCodeV2Params creates a new PublicDeleteContentByShareCodeV2Params object with the default values initialized.

func NewPublicDeleteContentByShareCodeV2ParamsWithContext

func NewPublicDeleteContentByShareCodeV2ParamsWithContext(ctx context.Context) *PublicDeleteContentByShareCodeV2Params

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

func NewPublicDeleteContentByShareCodeV2ParamsWithHTTPClient

func NewPublicDeleteContentByShareCodeV2ParamsWithHTTPClient(client *http.Client) *PublicDeleteContentByShareCodeV2Params

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

func NewPublicDeleteContentByShareCodeV2ParamsWithTimeout

func NewPublicDeleteContentByShareCodeV2ParamsWithTimeout(timeout time.Duration) *PublicDeleteContentByShareCodeV2Params

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

func (*PublicDeleteContentByShareCodeV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public delete content by share code v2 params

func (*PublicDeleteContentByShareCodeV2Params) SetChannelID

func (o *PublicDeleteContentByShareCodeV2Params) SetChannelID(channelID string)

SetChannelID adds the channelId to the public delete content by share code v2 params

func (*PublicDeleteContentByShareCodeV2Params) SetContext

SetContext adds the context to the public delete content by share code v2 params

func (*PublicDeleteContentByShareCodeV2Params) SetFlightId

func (o *PublicDeleteContentByShareCodeV2Params) SetFlightId(flightId string)

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

func (*PublicDeleteContentByShareCodeV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public delete content by share code v2 params

func (*PublicDeleteContentByShareCodeV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public delete content by share code v2 params

func (*PublicDeleteContentByShareCodeV2Params) SetNamespace

func (o *PublicDeleteContentByShareCodeV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the public delete content by share code v2 params

func (*PublicDeleteContentByShareCodeV2Params) SetShareCode

func (o *PublicDeleteContentByShareCodeV2Params) SetShareCode(shareCode string)

SetShareCode adds the shareCode to the public delete content by share code v2 params

func (*PublicDeleteContentByShareCodeV2Params) SetTimeout

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

SetTimeout adds the timeout to the public delete content by share code v2 params

func (*PublicDeleteContentByShareCodeV2Params) SetUserID

func (o *PublicDeleteContentByShareCodeV2Params) SetUserID(userID string)

SetUserID adds the userId to the public delete content by share code v2 params

func (*PublicDeleteContentByShareCodeV2Params) WithChannelID

WithChannelID adds the channelID to the public delete content by share code v2 params

func (*PublicDeleteContentByShareCodeV2Params) WithContext

WithContext adds the context to the public delete content by share code v2 params

func (*PublicDeleteContentByShareCodeV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public delete content by share code v2 params

func (*PublicDeleteContentByShareCodeV2Params) WithNamespace

WithNamespace adds the namespace to the public delete content by share code v2 params

func (*PublicDeleteContentByShareCodeV2Params) WithShareCode

WithShareCode adds the shareCode to the public delete content by share code v2 params

func (*PublicDeleteContentByShareCodeV2Params) WithTimeout

WithTimeout adds the timeout to the public delete content by share code v2 params

func (*PublicDeleteContentByShareCodeV2Params) WithUserID

WithUserID adds the userID to the public delete content by share code v2 params

func (*PublicDeleteContentByShareCodeV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicDeleteContentByShareCodeV2Reader

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

PublicDeleteContentByShareCodeV2Reader is a Reader for the PublicDeleteContentByShareCodeV2 structure.

func (*PublicDeleteContentByShareCodeV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicDeleteContentByShareCodeV2Unauthorized

type PublicDeleteContentByShareCodeV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

PublicDeleteContentByShareCodeV2Unauthorized 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 NewPublicDeleteContentByShareCodeV2Unauthorized

func NewPublicDeleteContentByShareCodeV2Unauthorized() *PublicDeleteContentByShareCodeV2Unauthorized

NewPublicDeleteContentByShareCodeV2Unauthorized creates a PublicDeleteContentByShareCodeV2Unauthorized with default headers values

func (*PublicDeleteContentByShareCodeV2Unauthorized) Error

func (*PublicDeleteContentByShareCodeV2Unauthorized) GetPayload

func (*PublicDeleteContentByShareCodeV2Unauthorized) ToJSONString

type PublicDeleteContentV2InternalServerError

type PublicDeleteContentV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

PublicDeleteContentV2InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772701</td><td>Unable to delete content/Unable to update user liked count/Unable to delete like state/Unable to delete like state</td></tr></table>

func NewPublicDeleteContentV2InternalServerError

func NewPublicDeleteContentV2InternalServerError() *PublicDeleteContentV2InternalServerError

NewPublicDeleteContentV2InternalServerError creates a PublicDeleteContentV2InternalServerError with default headers values

func (*PublicDeleteContentV2InternalServerError) Error

func (*PublicDeleteContentV2InternalServerError) GetPayload

func (*PublicDeleteContentV2InternalServerError) ToJSONString

type PublicDeleteContentV2NoContent

type PublicDeleteContentV2NoContent struct {
}

PublicDeleteContentV2NoContent handles this case with default header values.

Content deleted

func NewPublicDeleteContentV2NoContent

func NewPublicDeleteContentV2NoContent() *PublicDeleteContentV2NoContent

NewPublicDeleteContentV2NoContent creates a PublicDeleteContentV2NoContent with default headers values

func (*PublicDeleteContentV2NoContent) Error

type PublicDeleteContentV2NotFound

type PublicDeleteContentV2NotFound struct {
	Payload *ugcclientmodels.ResponseError
}

PublicDeleteContentV2NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772702</td><td>Content not found</td></tr></table>

func NewPublicDeleteContentV2NotFound

func NewPublicDeleteContentV2NotFound() *PublicDeleteContentV2NotFound

NewPublicDeleteContentV2NotFound creates a PublicDeleteContentV2NotFound with default headers values

func (*PublicDeleteContentV2NotFound) Error

func (*PublicDeleteContentV2NotFound) GetPayload

func (*PublicDeleteContentV2NotFound) ToJSONString

func (o *PublicDeleteContentV2NotFound) ToJSONString() string

type PublicDeleteContentV2Params

type PublicDeleteContentV2Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ChannelID
	  channel ID

	*/
	ChannelID string
	/*ContentID
	  content ID

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

PublicDeleteContentV2Params contains all the parameters to send to the API endpoint for the public delete content v2 operation typically these are written to a http.Request

func NewPublicDeleteContentV2Params

func NewPublicDeleteContentV2Params() *PublicDeleteContentV2Params

NewPublicDeleteContentV2Params creates a new PublicDeleteContentV2Params object with the default values initialized.

func NewPublicDeleteContentV2ParamsWithContext

func NewPublicDeleteContentV2ParamsWithContext(ctx context.Context) *PublicDeleteContentV2Params

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

func NewPublicDeleteContentV2ParamsWithHTTPClient

func NewPublicDeleteContentV2ParamsWithHTTPClient(client *http.Client) *PublicDeleteContentV2Params

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

func NewPublicDeleteContentV2ParamsWithTimeout

func NewPublicDeleteContentV2ParamsWithTimeout(timeout time.Duration) *PublicDeleteContentV2Params

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

func (*PublicDeleteContentV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public delete content v2 params

func (*PublicDeleteContentV2Params) SetChannelID

func (o *PublicDeleteContentV2Params) SetChannelID(channelID string)

SetChannelID adds the channelId to the public delete content v2 params

func (*PublicDeleteContentV2Params) SetContentID

func (o *PublicDeleteContentV2Params) SetContentID(contentID string)

SetContentID adds the contentId to the public delete content v2 params

func (*PublicDeleteContentV2Params) SetContext

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

SetContext adds the context to the public delete content v2 params

func (*PublicDeleteContentV2Params) SetFlightId

func (o *PublicDeleteContentV2Params) SetFlightId(flightId string)

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

func (*PublicDeleteContentV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public delete content v2 params

func (*PublicDeleteContentV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public delete content v2 params

func (*PublicDeleteContentV2Params) SetNamespace

func (o *PublicDeleteContentV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the public delete content v2 params

func (*PublicDeleteContentV2Params) SetTimeout

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

SetTimeout adds the timeout to the public delete content v2 params

func (*PublicDeleteContentV2Params) SetUserID

func (o *PublicDeleteContentV2Params) SetUserID(userID string)

SetUserID adds the userId to the public delete content v2 params

func (*PublicDeleteContentV2Params) WithChannelID

func (o *PublicDeleteContentV2Params) WithChannelID(channelID string) *PublicDeleteContentV2Params

WithChannelID adds the channelID to the public delete content v2 params

func (*PublicDeleteContentV2Params) WithContentID

func (o *PublicDeleteContentV2Params) WithContentID(contentID string) *PublicDeleteContentV2Params

WithContentID adds the contentID to the public delete content v2 params

func (*PublicDeleteContentV2Params) WithContext

WithContext adds the context to the public delete content v2 params

func (*PublicDeleteContentV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public delete content v2 params

func (*PublicDeleteContentV2Params) WithNamespace

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

WithNamespace adds the namespace to the public delete content v2 params

func (*PublicDeleteContentV2Params) WithTimeout

WithTimeout adds the timeout to the public delete content v2 params

func (*PublicDeleteContentV2Params) WithUserID

WithUserID adds the userID to the public delete content v2 params

func (*PublicDeleteContentV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicDeleteContentV2Reader

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

PublicDeleteContentV2Reader is a Reader for the PublicDeleteContentV2 structure.

func (*PublicDeleteContentV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicDeleteContentV2Unauthorized

type PublicDeleteContentV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

PublicDeleteContentV2Unauthorized 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 NewPublicDeleteContentV2Unauthorized

func NewPublicDeleteContentV2Unauthorized() *PublicDeleteContentV2Unauthorized

NewPublicDeleteContentV2Unauthorized creates a PublicDeleteContentV2Unauthorized with default headers values

func (*PublicDeleteContentV2Unauthorized) Error

func (*PublicDeleteContentV2Unauthorized) GetPayload

func (*PublicDeleteContentV2Unauthorized) ToJSONString

func (o *PublicDeleteContentV2Unauthorized) ToJSONString() string

type PublicGenerateContentUploadURLV2BadRequest

type PublicGenerateContentUploadURLV2BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

PublicGenerateContentUploadURLV2BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772601</td><td>Malformed request</td></tr></table>

func NewPublicGenerateContentUploadURLV2BadRequest

func NewPublicGenerateContentUploadURLV2BadRequest() *PublicGenerateContentUploadURLV2BadRequest

NewPublicGenerateContentUploadURLV2BadRequest creates a PublicGenerateContentUploadURLV2BadRequest with default headers values

func (*PublicGenerateContentUploadURLV2BadRequest) Error

func (*PublicGenerateContentUploadURLV2BadRequest) GetPayload

func (*PublicGenerateContentUploadURLV2BadRequest) ToJSONString

type PublicGenerateContentUploadURLV2Forbidden

type PublicGenerateContentUploadURLV2Forbidden struct {
	Payload *ugcclientmodels.ResponseError
}

PublicGenerateContentUploadURLV2Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772604</td><td>User has been banned to update content</td></tr></table>

func NewPublicGenerateContentUploadURLV2Forbidden

func NewPublicGenerateContentUploadURLV2Forbidden() *PublicGenerateContentUploadURLV2Forbidden

NewPublicGenerateContentUploadURLV2Forbidden creates a PublicGenerateContentUploadURLV2Forbidden with default headers values

func (*PublicGenerateContentUploadURLV2Forbidden) Error

func (*PublicGenerateContentUploadURLV2Forbidden) GetPayload

func (*PublicGenerateContentUploadURLV2Forbidden) ToJSONString

type PublicGenerateContentUploadURLV2InternalServerError

type PublicGenerateContentUploadURLV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

PublicGenerateContentUploadURLV2InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772602</td><td>Unable to check user ban status/Unable to get updated ugc content</td></tr><tr><td>772605</td><td>Unable to save ugc content: failed generate upload URL</td></tr></table>

func NewPublicGenerateContentUploadURLV2InternalServerError

func NewPublicGenerateContentUploadURLV2InternalServerError() *PublicGenerateContentUploadURLV2InternalServerError

NewPublicGenerateContentUploadURLV2InternalServerError creates a PublicGenerateContentUploadURLV2InternalServerError with default headers values

func (*PublicGenerateContentUploadURLV2InternalServerError) Error

func (*PublicGenerateContentUploadURLV2InternalServerError) GetPayload

func (*PublicGenerateContentUploadURLV2InternalServerError) ToJSONString

type PublicGenerateContentUploadURLV2NotFound

type PublicGenerateContentUploadURLV2NotFound struct {
	Payload *ugcclientmodels.ResponseError
}

PublicGenerateContentUploadURLV2NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772603</td><td>Content not found</td></tr></table>

func NewPublicGenerateContentUploadURLV2NotFound

func NewPublicGenerateContentUploadURLV2NotFound() *PublicGenerateContentUploadURLV2NotFound

NewPublicGenerateContentUploadURLV2NotFound creates a PublicGenerateContentUploadURLV2NotFound with default headers values

func (*PublicGenerateContentUploadURLV2NotFound) Error

func (*PublicGenerateContentUploadURLV2NotFound) GetPayload

func (*PublicGenerateContentUploadURLV2NotFound) ToJSONString

type PublicGenerateContentUploadURLV2OK

type PublicGenerateContentUploadURLV2OK struct {
	Payload *ugcclientmodels.ModelsGenerateContentUploadURLResponse
}

PublicGenerateContentUploadURLV2OK handles this case with default header values.

content upload URL generated

func NewPublicGenerateContentUploadURLV2OK

func NewPublicGenerateContentUploadURLV2OK() *PublicGenerateContentUploadURLV2OK

NewPublicGenerateContentUploadURLV2OK creates a PublicGenerateContentUploadURLV2OK with default headers values

func (*PublicGenerateContentUploadURLV2OK) Error

func (*PublicGenerateContentUploadURLV2OK) GetPayload

func (*PublicGenerateContentUploadURLV2OK) ToJSONString

func (o *PublicGenerateContentUploadURLV2OK) ToJSONString() string

type PublicGenerateContentUploadURLV2Params

type PublicGenerateContentUploadURLV2Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *ugcclientmodels.ModelsGenerateContentUploadURLRequest
	/*ChannelID
	  channel ID

	*/
	ChannelID string
	/*ContentID
	  content ID

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

PublicGenerateContentUploadURLV2Params contains all the parameters to send to the API endpoint for the public generate content upload urlv2 operation typically these are written to a http.Request

func NewPublicGenerateContentUploadURLV2Params

func NewPublicGenerateContentUploadURLV2Params() *PublicGenerateContentUploadURLV2Params

NewPublicGenerateContentUploadURLV2Params creates a new PublicGenerateContentUploadURLV2Params object with the default values initialized.

func NewPublicGenerateContentUploadURLV2ParamsWithContext

func NewPublicGenerateContentUploadURLV2ParamsWithContext(ctx context.Context) *PublicGenerateContentUploadURLV2Params

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

func NewPublicGenerateContentUploadURLV2ParamsWithHTTPClient

func NewPublicGenerateContentUploadURLV2ParamsWithHTTPClient(client *http.Client) *PublicGenerateContentUploadURLV2Params

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

func NewPublicGenerateContentUploadURLV2ParamsWithTimeout

func NewPublicGenerateContentUploadURLV2ParamsWithTimeout(timeout time.Duration) *PublicGenerateContentUploadURLV2Params

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

func (*PublicGenerateContentUploadURLV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public generate content upload urlv2 params

func (*PublicGenerateContentUploadURLV2Params) SetBody

SetBody adds the body to the public generate content upload urlv2 params

func (*PublicGenerateContentUploadURLV2Params) SetChannelID

func (o *PublicGenerateContentUploadURLV2Params) SetChannelID(channelID string)

SetChannelID adds the channelId to the public generate content upload urlv2 params

func (*PublicGenerateContentUploadURLV2Params) SetContentID

func (o *PublicGenerateContentUploadURLV2Params) SetContentID(contentID string)

SetContentID adds the contentId to the public generate content upload urlv2 params

func (*PublicGenerateContentUploadURLV2Params) SetContext

SetContext adds the context to the public generate content upload urlv2 params

func (*PublicGenerateContentUploadURLV2Params) SetFlightId

func (o *PublicGenerateContentUploadURLV2Params) SetFlightId(flightId string)

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

func (*PublicGenerateContentUploadURLV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public generate content upload urlv2 params

func (*PublicGenerateContentUploadURLV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public generate content upload urlv2 params

func (*PublicGenerateContentUploadURLV2Params) SetNamespace

func (o *PublicGenerateContentUploadURLV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the public generate content upload urlv2 params

func (*PublicGenerateContentUploadURLV2Params) SetTimeout

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

SetTimeout adds the timeout to the public generate content upload urlv2 params

func (*PublicGenerateContentUploadURLV2Params) SetUserID

func (o *PublicGenerateContentUploadURLV2Params) SetUserID(userID string)

SetUserID adds the userId to the public generate content upload urlv2 params

func (*PublicGenerateContentUploadURLV2Params) WithBody

WithBody adds the body to the public generate content upload urlv2 params

func (*PublicGenerateContentUploadURLV2Params) WithChannelID

WithChannelID adds the channelID to the public generate content upload urlv2 params

func (*PublicGenerateContentUploadURLV2Params) WithContentID

WithContentID adds the contentID to the public generate content upload urlv2 params

func (*PublicGenerateContentUploadURLV2Params) WithContext

WithContext adds the context to the public generate content upload urlv2 params

func (*PublicGenerateContentUploadURLV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public generate content upload urlv2 params

func (*PublicGenerateContentUploadURLV2Params) WithNamespace

WithNamespace adds the namespace to the public generate content upload urlv2 params

func (*PublicGenerateContentUploadURLV2Params) WithTimeout

WithTimeout adds the timeout to the public generate content upload urlv2 params

func (*PublicGenerateContentUploadURLV2Params) WithUserID

WithUserID adds the userID to the public generate content upload urlv2 params

func (*PublicGenerateContentUploadURLV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGenerateContentUploadURLV2Reader

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

PublicGenerateContentUploadURLV2Reader is a Reader for the PublicGenerateContentUploadURLV2 structure.

func (*PublicGenerateContentUploadURLV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGenerateContentUploadURLV2Unauthorized

type PublicGenerateContentUploadURLV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

PublicGenerateContentUploadURLV2Unauthorized 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 NewPublicGenerateContentUploadURLV2Unauthorized

func NewPublicGenerateContentUploadURLV2Unauthorized() *PublicGenerateContentUploadURLV2Unauthorized

NewPublicGenerateContentUploadURLV2Unauthorized creates a PublicGenerateContentUploadURLV2Unauthorized with default headers values

func (*PublicGenerateContentUploadURLV2Unauthorized) Error

func (*PublicGenerateContentUploadURLV2Unauthorized) GetPayload

func (*PublicGenerateContentUploadURLV2Unauthorized) ToJSONString

type PublicGetContentBulkByShareCodesV2BadRequest

type PublicGetContentBulkByShareCodesV2BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

PublicGetContentBulkByShareCodesV2BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773900</td><td>Malformed request/Invalid request body</td></tr></table>

func NewPublicGetContentBulkByShareCodesV2BadRequest

func NewPublicGetContentBulkByShareCodesV2BadRequest() *PublicGetContentBulkByShareCodesV2BadRequest

NewPublicGetContentBulkByShareCodesV2BadRequest creates a PublicGetContentBulkByShareCodesV2BadRequest with default headers values

func (*PublicGetContentBulkByShareCodesV2BadRequest) Error

func (*PublicGetContentBulkByShareCodesV2BadRequest) GetPayload

func (*PublicGetContentBulkByShareCodesV2BadRequest) ToJSONString

type PublicGetContentBulkByShareCodesV2Forbidden

type PublicGetContentBulkByShareCodesV2Forbidden struct {
	Payload *ugcclientmodels.ResponseError
}

PublicGetContentBulkByShareCodesV2Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewPublicGetContentBulkByShareCodesV2Forbidden

func NewPublicGetContentBulkByShareCodesV2Forbidden() *PublicGetContentBulkByShareCodesV2Forbidden

NewPublicGetContentBulkByShareCodesV2Forbidden creates a PublicGetContentBulkByShareCodesV2Forbidden with default headers values

func (*PublicGetContentBulkByShareCodesV2Forbidden) Error

func (*PublicGetContentBulkByShareCodesV2Forbidden) GetPayload

func (*PublicGetContentBulkByShareCodesV2Forbidden) ToJSONString

type PublicGetContentBulkByShareCodesV2InternalServerError

type PublicGetContentBulkByShareCodesV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

PublicGetContentBulkByShareCodesV2InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773901</td><td>Unable to get ugc content: database/Unable to get creator</td></tr><tr><td>773902</td><td>Failed generate download URL</td></tr></table>

func NewPublicGetContentBulkByShareCodesV2InternalServerError

func NewPublicGetContentBulkByShareCodesV2InternalServerError() *PublicGetContentBulkByShareCodesV2InternalServerError

NewPublicGetContentBulkByShareCodesV2InternalServerError creates a PublicGetContentBulkByShareCodesV2InternalServerError with default headers values

func (*PublicGetContentBulkByShareCodesV2InternalServerError) Error

func (*PublicGetContentBulkByShareCodesV2InternalServerError) GetPayload

func (*PublicGetContentBulkByShareCodesV2InternalServerError) ToJSONString

type PublicGetContentBulkByShareCodesV2OK

type PublicGetContentBulkByShareCodesV2OK struct {
	Payload []*ugcclientmodels.ModelsContentDownloadResponseV2
}

PublicGetContentBulkByShareCodesV2OK handles this case with default header values.

Bulk get content by content sharecodes

func NewPublicGetContentBulkByShareCodesV2OK

func NewPublicGetContentBulkByShareCodesV2OK() *PublicGetContentBulkByShareCodesV2OK

NewPublicGetContentBulkByShareCodesV2OK creates a PublicGetContentBulkByShareCodesV2OK with default headers values

func (*PublicGetContentBulkByShareCodesV2OK) Error

func (*PublicGetContentBulkByShareCodesV2OK) GetPayload

func (*PublicGetContentBulkByShareCodesV2OK) ToJSONString

func (o *PublicGetContentBulkByShareCodesV2OK) ToJSONString() string

type PublicGetContentBulkByShareCodesV2Params

type PublicGetContentBulkByShareCodesV2Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *ugcclientmodels.ModelsGetContentBulkByShareCodesRequest
	/*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
}

PublicGetContentBulkByShareCodesV2Params contains all the parameters to send to the API endpoint for the public get content bulk by share codes v2 operation typically these are written to a http.Request

func NewPublicGetContentBulkByShareCodesV2Params

func NewPublicGetContentBulkByShareCodesV2Params() *PublicGetContentBulkByShareCodesV2Params

NewPublicGetContentBulkByShareCodesV2Params creates a new PublicGetContentBulkByShareCodesV2Params object with the default values initialized.

func NewPublicGetContentBulkByShareCodesV2ParamsWithContext

func NewPublicGetContentBulkByShareCodesV2ParamsWithContext(ctx context.Context) *PublicGetContentBulkByShareCodesV2Params

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

func NewPublicGetContentBulkByShareCodesV2ParamsWithHTTPClient

func NewPublicGetContentBulkByShareCodesV2ParamsWithHTTPClient(client *http.Client) *PublicGetContentBulkByShareCodesV2Params

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

func NewPublicGetContentBulkByShareCodesV2ParamsWithTimeout

func NewPublicGetContentBulkByShareCodesV2ParamsWithTimeout(timeout time.Duration) *PublicGetContentBulkByShareCodesV2Params

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

func (*PublicGetContentBulkByShareCodesV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public get content bulk by share codes v2 params

func (*PublicGetContentBulkByShareCodesV2Params) SetBody

SetBody adds the body to the public get content bulk by share codes v2 params

func (*PublicGetContentBulkByShareCodesV2Params) SetContext

SetContext adds the context to the public get content bulk by share codes v2 params

func (*PublicGetContentBulkByShareCodesV2Params) SetFlightId

func (o *PublicGetContentBulkByShareCodesV2Params) SetFlightId(flightId string)

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

func (*PublicGetContentBulkByShareCodesV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get content bulk by share codes v2 params

func (*PublicGetContentBulkByShareCodesV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public get content bulk by share codes v2 params

func (*PublicGetContentBulkByShareCodesV2Params) SetNamespace

func (o *PublicGetContentBulkByShareCodesV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get content bulk by share codes v2 params

func (*PublicGetContentBulkByShareCodesV2Params) SetTimeout

SetTimeout adds the timeout to the public get content bulk by share codes v2 params

func (*PublicGetContentBulkByShareCodesV2Params) WithBody

WithBody adds the body to the public get content bulk by share codes v2 params

func (*PublicGetContentBulkByShareCodesV2Params) WithContext

WithContext adds the context to the public get content bulk by share codes v2 params

func (*PublicGetContentBulkByShareCodesV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get content bulk by share codes v2 params

func (*PublicGetContentBulkByShareCodesV2Params) WithNamespace

WithNamespace adds the namespace to the public get content bulk by share codes v2 params

func (*PublicGetContentBulkByShareCodesV2Params) WithTimeout

WithTimeout adds the timeout to the public get content bulk by share codes v2 params

func (*PublicGetContentBulkByShareCodesV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetContentBulkByShareCodesV2Reader

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

PublicGetContentBulkByShareCodesV2Reader is a Reader for the PublicGetContentBulkByShareCodesV2 structure.

func (*PublicGetContentBulkByShareCodesV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetContentBulkByShareCodesV2Unauthorized

type PublicGetContentBulkByShareCodesV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

PublicGetContentBulkByShareCodesV2Unauthorized 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 NewPublicGetContentBulkByShareCodesV2Unauthorized

func NewPublicGetContentBulkByShareCodesV2Unauthorized() *PublicGetContentBulkByShareCodesV2Unauthorized

NewPublicGetContentBulkByShareCodesV2Unauthorized creates a PublicGetContentBulkByShareCodesV2Unauthorized with default headers values

func (*PublicGetContentBulkByShareCodesV2Unauthorized) Error

func (*PublicGetContentBulkByShareCodesV2Unauthorized) GetPayload

func (*PublicGetContentBulkByShareCodesV2Unauthorized) ToJSONString

type PublicGetContentByChannelIDV2BadRequest

type PublicGetContentByChannelIDV2BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

PublicGetContentByChannelIDV2BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770804</td><td>invalid paging parameter</td></tr></table>

func NewPublicGetContentByChannelIDV2BadRequest

func NewPublicGetContentByChannelIDV2BadRequest() *PublicGetContentByChannelIDV2BadRequest

NewPublicGetContentByChannelIDV2BadRequest creates a PublicGetContentByChannelIDV2BadRequest with default headers values

func (*PublicGetContentByChannelIDV2BadRequest) Error

func (*PublicGetContentByChannelIDV2BadRequest) GetPayload

func (*PublicGetContentByChannelIDV2BadRequest) ToJSONString

type PublicGetContentByChannelIDV2InternalServerError

type PublicGetContentByChannelIDV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

PublicGetContentByChannelIDV2InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770805</td><td>Unable to get ugc content: database error</td></tr></table>

func NewPublicGetContentByChannelIDV2InternalServerError

func NewPublicGetContentByChannelIDV2InternalServerError() *PublicGetContentByChannelIDV2InternalServerError

NewPublicGetContentByChannelIDV2InternalServerError creates a PublicGetContentByChannelIDV2InternalServerError with default headers values

func (*PublicGetContentByChannelIDV2InternalServerError) Error

func (*PublicGetContentByChannelIDV2InternalServerError) GetPayload

func (*PublicGetContentByChannelIDV2InternalServerError) ToJSONString

type PublicGetContentByChannelIDV2OK

type PublicGetContentByChannelIDV2OK struct {
	Payload *ugcclientmodels.ModelsPaginatedContentDownloadResponseV2
}

PublicGetContentByChannelIDV2OK handles this case with default header values.

List content specific to a channel

func NewPublicGetContentByChannelIDV2OK

func NewPublicGetContentByChannelIDV2OK() *PublicGetContentByChannelIDV2OK

NewPublicGetContentByChannelIDV2OK creates a PublicGetContentByChannelIDV2OK with default headers values

func (*PublicGetContentByChannelIDV2OK) Error

func (*PublicGetContentByChannelIDV2OK) GetPayload

func (*PublicGetContentByChannelIDV2OK) ToJSONString

func (o *PublicGetContentByChannelIDV2OK) ToJSONString() string

type PublicGetContentByChannelIDV2Params

type PublicGetContentByChannelIDV2Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ChannelID
	  channel ID

	*/
	ChannelID string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Limit
	  number of content per page. max limit: -1 (-1 means unlimited).

	*/
	Limit *int64
	/*Name
	  content name

	*/
	Name *string
	/*Offset
	  the offset number to retrieve

	*/
	Offset *int64
	/*SortBy
	    available values:
					- *createdTime*
					- *createdTime:desc*
					- *createdTime:asc*
					- *updatedTime*
					- *updatedTime:desc*
					- *updatedTime:asc*

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

PublicGetContentByChannelIDV2Params contains all the parameters to send to the API endpoint for the public get content by channel idv2 operation typically these are written to a http.Request

func NewPublicGetContentByChannelIDV2Params

func NewPublicGetContentByChannelIDV2Params() *PublicGetContentByChannelIDV2Params

NewPublicGetContentByChannelIDV2Params creates a new PublicGetContentByChannelIDV2Params object with the default values initialized.

func NewPublicGetContentByChannelIDV2ParamsWithContext

func NewPublicGetContentByChannelIDV2ParamsWithContext(ctx context.Context) *PublicGetContentByChannelIDV2Params

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

func NewPublicGetContentByChannelIDV2ParamsWithHTTPClient

func NewPublicGetContentByChannelIDV2ParamsWithHTTPClient(client *http.Client) *PublicGetContentByChannelIDV2Params

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

func NewPublicGetContentByChannelIDV2ParamsWithTimeout

func NewPublicGetContentByChannelIDV2ParamsWithTimeout(timeout time.Duration) *PublicGetContentByChannelIDV2Params

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

func (*PublicGetContentByChannelIDV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public get content by channel idv2 params

func (*PublicGetContentByChannelIDV2Params) SetChannelID

func (o *PublicGetContentByChannelIDV2Params) SetChannelID(channelID string)

SetChannelID adds the channelId to the public get content by channel idv2 params

func (*PublicGetContentByChannelIDV2Params) SetContext

SetContext adds the context to the public get content by channel idv2 params

func (*PublicGetContentByChannelIDV2Params) SetFlightId

func (o *PublicGetContentByChannelIDV2Params) SetFlightId(flightId string)

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

func (*PublicGetContentByChannelIDV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get content by channel idv2 params

func (*PublicGetContentByChannelIDV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public get content by channel idv2 params

func (*PublicGetContentByChannelIDV2Params) SetLimit

func (o *PublicGetContentByChannelIDV2Params) SetLimit(limit *int64)

SetLimit adds the limit to the public get content by channel idv2 params

func (*PublicGetContentByChannelIDV2Params) SetName

func (o *PublicGetContentByChannelIDV2Params) SetName(name *string)

SetName adds the name to the public get content by channel idv2 params

func (*PublicGetContentByChannelIDV2Params) SetNamespace

func (o *PublicGetContentByChannelIDV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get content by channel idv2 params

func (*PublicGetContentByChannelIDV2Params) SetOffset

func (o *PublicGetContentByChannelIDV2Params) SetOffset(offset *int64)

SetOffset adds the offset to the public get content by channel idv2 params

func (*PublicGetContentByChannelIDV2Params) SetSortBy

func (o *PublicGetContentByChannelIDV2Params) SetSortBy(sortBy *string)

SetSortBy adds the sortBy to the public get content by channel idv2 params

func (*PublicGetContentByChannelIDV2Params) SetTimeout

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

SetTimeout adds the timeout to the public get content by channel idv2 params

func (*PublicGetContentByChannelIDV2Params) WithChannelID

WithChannelID adds the channelID to the public get content by channel idv2 params

func (*PublicGetContentByChannelIDV2Params) WithContext

WithContext adds the context to the public get content by channel idv2 params

func (*PublicGetContentByChannelIDV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get content by channel idv2 params

func (*PublicGetContentByChannelIDV2Params) WithLimit

WithLimit adds the limit to the public get content by channel idv2 params

func (*PublicGetContentByChannelIDV2Params) WithName

WithName adds the name to the public get content by channel idv2 params

func (*PublicGetContentByChannelIDV2Params) WithNamespace

WithNamespace adds the namespace to the public get content by channel idv2 params

func (*PublicGetContentByChannelIDV2Params) WithOffset

WithOffset adds the offset to the public get content by channel idv2 params

func (*PublicGetContentByChannelIDV2Params) WithSortBy

WithSortBy adds the sortBy to the public get content by channel idv2 params

func (*PublicGetContentByChannelIDV2Params) WithTimeout

WithTimeout adds the timeout to the public get content by channel idv2 params

func (*PublicGetContentByChannelIDV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetContentByChannelIDV2Reader

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

PublicGetContentByChannelIDV2Reader is a Reader for the PublicGetContentByChannelIDV2 structure.

func (*PublicGetContentByChannelIDV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetContentByChannelIDV2Unauthorized

type PublicGetContentByChannelIDV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

PublicGetContentByChannelIDV2Unauthorized 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 NewPublicGetContentByChannelIDV2Unauthorized

func NewPublicGetContentByChannelIDV2Unauthorized() *PublicGetContentByChannelIDV2Unauthorized

NewPublicGetContentByChannelIDV2Unauthorized creates a PublicGetContentByChannelIDV2Unauthorized with default headers values

func (*PublicGetContentByChannelIDV2Unauthorized) Error

func (*PublicGetContentByChannelIDV2Unauthorized) GetPayload

func (*PublicGetContentByChannelIDV2Unauthorized) ToJSONString

type PublicGetContentByIDV2InternalServerError

type PublicGetContentByIDV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

PublicGetContentByIDV2InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773201</td><td>Unable to get ugc content/Unable to get creator/Unable to get included group</td></tr><tr><td>770301</td><td>Unable to get ugc content/Unable to get creator</td></tr><tr><td>773203</td><td>Failed generate download URL</td></tr></table>

func NewPublicGetContentByIDV2InternalServerError

func NewPublicGetContentByIDV2InternalServerError() *PublicGetContentByIDV2InternalServerError

NewPublicGetContentByIDV2InternalServerError creates a PublicGetContentByIDV2InternalServerError with default headers values

func (*PublicGetContentByIDV2InternalServerError) Error

func (*PublicGetContentByIDV2InternalServerError) GetPayload

func (*PublicGetContentByIDV2InternalServerError) ToJSONString

type PublicGetContentByIDV2NotFound

type PublicGetContentByIDV2NotFound struct {
	Payload *ugcclientmodels.ResponseError
}

PublicGetContentByIDV2NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773200</td><td>ugc content not found</td></tr></table>

func NewPublicGetContentByIDV2NotFound

func NewPublicGetContentByIDV2NotFound() *PublicGetContentByIDV2NotFound

NewPublicGetContentByIDV2NotFound creates a PublicGetContentByIDV2NotFound with default headers values

func (*PublicGetContentByIDV2NotFound) Error

func (*PublicGetContentByIDV2NotFound) GetPayload

func (*PublicGetContentByIDV2NotFound) ToJSONString

func (o *PublicGetContentByIDV2NotFound) ToJSONString() string

type PublicGetContentByIDV2OK

type PublicGetContentByIDV2OK struct {
	Payload *ugcclientmodels.ModelsContentDownloadResponseV2
}

PublicGetContentByIDV2OK handles this case with default header values.

Get content by content ID

func NewPublicGetContentByIDV2OK

func NewPublicGetContentByIDV2OK() *PublicGetContentByIDV2OK

NewPublicGetContentByIDV2OK creates a PublicGetContentByIDV2OK with default headers values

func (*PublicGetContentByIDV2OK) Error

func (o *PublicGetContentByIDV2OK) Error() string

func (*PublicGetContentByIDV2OK) GetPayload

func (*PublicGetContentByIDV2OK) ToJSONString

func (o *PublicGetContentByIDV2OK) ToJSONString() string

type PublicGetContentByIDV2Params

type PublicGetContentByIDV2Params 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
}

PublicGetContentByIDV2Params contains all the parameters to send to the API endpoint for the public get content by idv2 operation typically these are written to a http.Request

func NewPublicGetContentByIDV2Params

func NewPublicGetContentByIDV2Params() *PublicGetContentByIDV2Params

NewPublicGetContentByIDV2Params creates a new PublicGetContentByIDV2Params object with the default values initialized.

func NewPublicGetContentByIDV2ParamsWithContext

func NewPublicGetContentByIDV2ParamsWithContext(ctx context.Context) *PublicGetContentByIDV2Params

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

func NewPublicGetContentByIDV2ParamsWithHTTPClient

func NewPublicGetContentByIDV2ParamsWithHTTPClient(client *http.Client) *PublicGetContentByIDV2Params

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

func NewPublicGetContentByIDV2ParamsWithTimeout

func NewPublicGetContentByIDV2ParamsWithTimeout(timeout time.Duration) *PublicGetContentByIDV2Params

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

func (*PublicGetContentByIDV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public get content by idv2 params

func (*PublicGetContentByIDV2Params) SetContentID

func (o *PublicGetContentByIDV2Params) SetContentID(contentID string)

SetContentID adds the contentId to the public get content by idv2 params

func (*PublicGetContentByIDV2Params) SetContext

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

SetContext adds the context to the public get content by idv2 params

func (*PublicGetContentByIDV2Params) SetFlightId

func (o *PublicGetContentByIDV2Params) SetFlightId(flightId string)

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

func (*PublicGetContentByIDV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get content by idv2 params

func (*PublicGetContentByIDV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public get content by idv2 params

func (*PublicGetContentByIDV2Params) SetNamespace

func (o *PublicGetContentByIDV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get content by idv2 params

func (*PublicGetContentByIDV2Params) SetTimeout

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

SetTimeout adds the timeout to the public get content by idv2 params

func (*PublicGetContentByIDV2Params) WithContentID

WithContentID adds the contentID to the public get content by idv2 params

func (*PublicGetContentByIDV2Params) WithContext

WithContext adds the context to the public get content by idv2 params

func (*PublicGetContentByIDV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get content by idv2 params

func (*PublicGetContentByIDV2Params) WithNamespace

WithNamespace adds the namespace to the public get content by idv2 params

func (*PublicGetContentByIDV2Params) WithTimeout

WithTimeout adds the timeout to the public get content by idv2 params

func (*PublicGetContentByIDV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetContentByIDV2Reader

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

PublicGetContentByIDV2Reader is a Reader for the PublicGetContentByIDV2 structure.

func (*PublicGetContentByIDV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetContentByIDV2Unauthorized

type PublicGetContentByIDV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

PublicGetContentByIDV2Unauthorized 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 NewPublicGetContentByIDV2Unauthorized

func NewPublicGetContentByIDV2Unauthorized() *PublicGetContentByIDV2Unauthorized

NewPublicGetContentByIDV2Unauthorized creates a PublicGetContentByIDV2Unauthorized with default headers values

func (*PublicGetContentByIDV2Unauthorized) Error

func (*PublicGetContentByIDV2Unauthorized) GetPayload

func (*PublicGetContentByIDV2Unauthorized) ToJSONString

func (o *PublicGetContentByIDV2Unauthorized) ToJSONString() string

type PublicGetContentByShareCodeV2InternalServerError

type PublicGetContentByShareCodeV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

PublicGetContentByShareCodeV2InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770301</td><td>Unable to get ugc content/Unable to get creator</td></tr><tr><td>770303</td><td>Failed generate download URL</td></tr></table>

func NewPublicGetContentByShareCodeV2InternalServerError

func NewPublicGetContentByShareCodeV2InternalServerError() *PublicGetContentByShareCodeV2InternalServerError

NewPublicGetContentByShareCodeV2InternalServerError creates a PublicGetContentByShareCodeV2InternalServerError with default headers values

func (*PublicGetContentByShareCodeV2InternalServerError) Error

func (*PublicGetContentByShareCodeV2InternalServerError) GetPayload

func (*PublicGetContentByShareCodeV2InternalServerError) ToJSONString

type PublicGetContentByShareCodeV2NotFound

type PublicGetContentByShareCodeV2NotFound struct {
	Payload *ugcclientmodels.ResponseError
}

PublicGetContentByShareCodeV2NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770300</td><td>ugc content not found</td></tr></table>

func NewPublicGetContentByShareCodeV2NotFound

func NewPublicGetContentByShareCodeV2NotFound() *PublicGetContentByShareCodeV2NotFound

NewPublicGetContentByShareCodeV2NotFound creates a PublicGetContentByShareCodeV2NotFound with default headers values

func (*PublicGetContentByShareCodeV2NotFound) Error

func (*PublicGetContentByShareCodeV2NotFound) GetPayload

func (*PublicGetContentByShareCodeV2NotFound) ToJSONString

type PublicGetContentByShareCodeV2OK

type PublicGetContentByShareCodeV2OK struct {
	Payload *ugcclientmodels.ModelsContentDownloadResponseV2
}

PublicGetContentByShareCodeV2OK handles this case with default header values.

Get content by sharecode

func NewPublicGetContentByShareCodeV2OK

func NewPublicGetContentByShareCodeV2OK() *PublicGetContentByShareCodeV2OK

NewPublicGetContentByShareCodeV2OK creates a PublicGetContentByShareCodeV2OK with default headers values

func (*PublicGetContentByShareCodeV2OK) Error

func (*PublicGetContentByShareCodeV2OK) GetPayload

func (*PublicGetContentByShareCodeV2OK) ToJSONString

func (o *PublicGetContentByShareCodeV2OK) ToJSONString() string

type PublicGetContentByShareCodeV2Params

type PublicGetContentByShareCodeV2Params struct {

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

	*/
	Namespace string
	/*ShareCode
	  content sharecode

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

PublicGetContentByShareCodeV2Params contains all the parameters to send to the API endpoint for the public get content by share code v2 operation typically these are written to a http.Request

func NewPublicGetContentByShareCodeV2Params

func NewPublicGetContentByShareCodeV2Params() *PublicGetContentByShareCodeV2Params

NewPublicGetContentByShareCodeV2Params creates a new PublicGetContentByShareCodeV2Params object with the default values initialized.

func NewPublicGetContentByShareCodeV2ParamsWithContext

func NewPublicGetContentByShareCodeV2ParamsWithContext(ctx context.Context) *PublicGetContentByShareCodeV2Params

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

func NewPublicGetContentByShareCodeV2ParamsWithHTTPClient

func NewPublicGetContentByShareCodeV2ParamsWithHTTPClient(client *http.Client) *PublicGetContentByShareCodeV2Params

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

func NewPublicGetContentByShareCodeV2ParamsWithTimeout

func NewPublicGetContentByShareCodeV2ParamsWithTimeout(timeout time.Duration) *PublicGetContentByShareCodeV2Params

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

func (*PublicGetContentByShareCodeV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public get content by share code v2 params

func (*PublicGetContentByShareCodeV2Params) SetContext

SetContext adds the context to the public get content by share code v2 params

func (*PublicGetContentByShareCodeV2Params) SetFlightId

func (o *PublicGetContentByShareCodeV2Params) SetFlightId(flightId string)

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

func (*PublicGetContentByShareCodeV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get content by share code v2 params

func (*PublicGetContentByShareCodeV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public get content by share code v2 params

func (*PublicGetContentByShareCodeV2Params) SetNamespace

func (o *PublicGetContentByShareCodeV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get content by share code v2 params

func (*PublicGetContentByShareCodeV2Params) SetShareCode

func (o *PublicGetContentByShareCodeV2Params) SetShareCode(shareCode string)

SetShareCode adds the shareCode to the public get content by share code v2 params

func (*PublicGetContentByShareCodeV2Params) SetTimeout

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

SetTimeout adds the timeout to the public get content by share code v2 params

func (*PublicGetContentByShareCodeV2Params) WithContext

WithContext adds the context to the public get content by share code v2 params

func (*PublicGetContentByShareCodeV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get content by share code v2 params

func (*PublicGetContentByShareCodeV2Params) WithNamespace

WithNamespace adds the namespace to the public get content by share code v2 params

func (*PublicGetContentByShareCodeV2Params) WithShareCode

WithShareCode adds the shareCode to the public get content by share code v2 params

func (*PublicGetContentByShareCodeV2Params) WithTimeout

WithTimeout adds the timeout to the public get content by share code v2 params

func (*PublicGetContentByShareCodeV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetContentByShareCodeV2Reader

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

PublicGetContentByShareCodeV2Reader is a Reader for the PublicGetContentByShareCodeV2 structure.

func (*PublicGetContentByShareCodeV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetContentByShareCodeV2Unauthorized

type PublicGetContentByShareCodeV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

PublicGetContentByShareCodeV2Unauthorized 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 NewPublicGetContentByShareCodeV2Unauthorized

func NewPublicGetContentByShareCodeV2Unauthorized() *PublicGetContentByShareCodeV2Unauthorized

NewPublicGetContentByShareCodeV2Unauthorized creates a PublicGetContentByShareCodeV2Unauthorized with default headers values

func (*PublicGetContentByShareCodeV2Unauthorized) Error

func (*PublicGetContentByShareCodeV2Unauthorized) GetPayload

func (*PublicGetContentByShareCodeV2Unauthorized) ToJSONString

type PublicGetContentByUserIDV2BadRequest

type PublicGetContentByUserIDV2BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

PublicGetContentByUserIDV2BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770900</td><td>invalid paging parameter</td></tr></table>

func NewPublicGetContentByUserIDV2BadRequest

func NewPublicGetContentByUserIDV2BadRequest() *PublicGetContentByUserIDV2BadRequest

NewPublicGetContentByUserIDV2BadRequest creates a PublicGetContentByUserIDV2BadRequest with default headers values

func (*PublicGetContentByUserIDV2BadRequest) Error

func (*PublicGetContentByUserIDV2BadRequest) GetPayload

func (*PublicGetContentByUserIDV2BadRequest) ToJSONString

func (o *PublicGetContentByUserIDV2BadRequest) ToJSONString() string

type PublicGetContentByUserIDV2InternalServerError

type PublicGetContentByUserIDV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

PublicGetContentByUserIDV2InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770901</td><td>Unable to get ugc content: database error/Unable to get creator</td></tr><tr><td>770801</td><td>Unable to get ugc content: database/Unable to get creator</td></tr><tr><td>770903</td><td>Failed generate download URL</td></tr></table>

func NewPublicGetContentByUserIDV2InternalServerError

func NewPublicGetContentByUserIDV2InternalServerError() *PublicGetContentByUserIDV2InternalServerError

NewPublicGetContentByUserIDV2InternalServerError creates a PublicGetContentByUserIDV2InternalServerError with default headers values

func (*PublicGetContentByUserIDV2InternalServerError) Error

func (*PublicGetContentByUserIDV2InternalServerError) GetPayload

func (*PublicGetContentByUserIDV2InternalServerError) ToJSONString

type PublicGetContentByUserIDV2OK

type PublicGetContentByUserIDV2OK struct {
	Payload *ugcclientmodels.ModelsPaginatedContentDownloadResponseV2
}

PublicGetContentByUserIDV2OK handles this case with default header values.

Get content by user ID

func NewPublicGetContentByUserIDV2OK

func NewPublicGetContentByUserIDV2OK() *PublicGetContentByUserIDV2OK

NewPublicGetContentByUserIDV2OK creates a PublicGetContentByUserIDV2OK with default headers values

func (*PublicGetContentByUserIDV2OK) Error

func (*PublicGetContentByUserIDV2OK) GetPayload

func (*PublicGetContentByUserIDV2OK) ToJSONString

func (o *PublicGetContentByUserIDV2OK) ToJSONString() string

type PublicGetContentByUserIDV2Params

type PublicGetContentByUserIDV2Params struct {

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

	*/
	Namespace string
	/*UserID
	  user ID

	*/
	UserID string
	/*Limit
	  number of content per page. max limit: -1 (-1 means unlimited).

	*/
	Limit *int64
	/*Offset
	  the offset number to retrieve

	*/
	Offset *int64
	/*SortBy
	    available values:
				- *createdTime*
				- *createdTime:desc*
				- *createdTime:asc*

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

PublicGetContentByUserIDV2Params contains all the parameters to send to the API endpoint for the public get content by user idv2 operation typically these are written to a http.Request

func NewPublicGetContentByUserIDV2Params

func NewPublicGetContentByUserIDV2Params() *PublicGetContentByUserIDV2Params

NewPublicGetContentByUserIDV2Params creates a new PublicGetContentByUserIDV2Params object with the default values initialized.

func NewPublicGetContentByUserIDV2ParamsWithContext

func NewPublicGetContentByUserIDV2ParamsWithContext(ctx context.Context) *PublicGetContentByUserIDV2Params

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

func NewPublicGetContentByUserIDV2ParamsWithHTTPClient

func NewPublicGetContentByUserIDV2ParamsWithHTTPClient(client *http.Client) *PublicGetContentByUserIDV2Params

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

func NewPublicGetContentByUserIDV2ParamsWithTimeout

func NewPublicGetContentByUserIDV2ParamsWithTimeout(timeout time.Duration) *PublicGetContentByUserIDV2Params

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

func (*PublicGetContentByUserIDV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public get content by user idv2 params

func (*PublicGetContentByUserIDV2Params) SetContext

SetContext adds the context to the public get content by user idv2 params

func (*PublicGetContentByUserIDV2Params) SetFlightId

func (o *PublicGetContentByUserIDV2Params) SetFlightId(flightId string)

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

func (*PublicGetContentByUserIDV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get content by user idv2 params

func (*PublicGetContentByUserIDV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public get content by user idv2 params

func (*PublicGetContentByUserIDV2Params) SetLimit

func (o *PublicGetContentByUserIDV2Params) SetLimit(limit *int64)

SetLimit adds the limit to the public get content by user idv2 params

func (*PublicGetContentByUserIDV2Params) SetNamespace

func (o *PublicGetContentByUserIDV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get content by user idv2 params

func (*PublicGetContentByUserIDV2Params) SetOffset

func (o *PublicGetContentByUserIDV2Params) SetOffset(offset *int64)

SetOffset adds the offset to the public get content by user idv2 params

func (*PublicGetContentByUserIDV2Params) SetSortBy

func (o *PublicGetContentByUserIDV2Params) SetSortBy(sortBy *string)

SetSortBy adds the sortBy to the public get content by user idv2 params

func (*PublicGetContentByUserIDV2Params) SetTimeout

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

SetTimeout adds the timeout to the public get content by user idv2 params

func (*PublicGetContentByUserIDV2Params) SetUserID

func (o *PublicGetContentByUserIDV2Params) SetUserID(userID string)

SetUserID adds the userId to the public get content by user idv2 params

func (*PublicGetContentByUserIDV2Params) WithContext

WithContext adds the context to the public get content by user idv2 params

func (*PublicGetContentByUserIDV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get content by user idv2 params

func (*PublicGetContentByUserIDV2Params) WithLimit

WithLimit adds the limit to the public get content by user idv2 params

func (*PublicGetContentByUserIDV2Params) WithNamespace

WithNamespace adds the namespace to the public get content by user idv2 params

func (*PublicGetContentByUserIDV2Params) WithOffset

WithOffset adds the offset to the public get content by user idv2 params

func (*PublicGetContentByUserIDV2Params) WithSortBy

WithSortBy adds the sortBy to the public get content by user idv2 params

func (*PublicGetContentByUserIDV2Params) WithTimeout

WithTimeout adds the timeout to the public get content by user idv2 params

func (*PublicGetContentByUserIDV2Params) WithUserID

WithUserID adds the userID to the public get content by user idv2 params

func (*PublicGetContentByUserIDV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetContentByUserIDV2Reader

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

PublicGetContentByUserIDV2Reader is a Reader for the PublicGetContentByUserIDV2 structure.

func (*PublicGetContentByUserIDV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetContentByUserIDV2Unauthorized

type PublicGetContentByUserIDV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

PublicGetContentByUserIDV2Unauthorized 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 NewPublicGetContentByUserIDV2Unauthorized

func NewPublicGetContentByUserIDV2Unauthorized() *PublicGetContentByUserIDV2Unauthorized

NewPublicGetContentByUserIDV2Unauthorized creates a PublicGetContentByUserIDV2Unauthorized with default headers values

func (*PublicGetContentByUserIDV2Unauthorized) Error

func (*PublicGetContentByUserIDV2Unauthorized) GetPayload

func (*PublicGetContentByUserIDV2Unauthorized) ToJSONString

type PublicListContentV2BadRequest

type PublicListContentV2BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

PublicListContentV2BadRequest 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 NewPublicListContentV2BadRequest

func NewPublicListContentV2BadRequest() *PublicListContentV2BadRequest

NewPublicListContentV2BadRequest creates a PublicListContentV2BadRequest with default headers values

func (*PublicListContentV2BadRequest) Error

func (*PublicListContentV2BadRequest) GetPayload

func (*PublicListContentV2BadRequest) ToJSONString

func (o *PublicListContentV2BadRequest) ToJSONString() string

type PublicListContentV2InternalServerError

type PublicListContentV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

PublicListContentV2InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770801</td><td>Unable to get ugc content: database/Unable to get creator</td></tr><tr><td>770803</td><td>Failed generate download URL</td></tr></table>

func NewPublicListContentV2InternalServerError

func NewPublicListContentV2InternalServerError() *PublicListContentV2InternalServerError

NewPublicListContentV2InternalServerError creates a PublicListContentV2InternalServerError with default headers values

func (*PublicListContentV2InternalServerError) Error

func (*PublicListContentV2InternalServerError) GetPayload

func (*PublicListContentV2InternalServerError) ToJSONString

type PublicListContentV2OK

type PublicListContentV2OK struct {
	Payload *ugcclientmodels.ModelsPaginatedContentDownloadResponseV2
}

PublicListContentV2OK handles this case with default header values.

list content's

func NewPublicListContentV2OK

func NewPublicListContentV2OK() *PublicListContentV2OK

NewPublicListContentV2OK creates a PublicListContentV2OK with default headers values

func (*PublicListContentV2OK) Error

func (o *PublicListContentV2OK) Error() string

func (*PublicListContentV2OK) GetPayload

func (*PublicListContentV2OK) ToJSONString

func (o *PublicListContentV2OK) ToJSONString() string

type PublicListContentV2Params

type PublicListContentV2Params struct {

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

	*/
	Namespace string
	/*IsOfficial
	  filter by is official

	*/
	IsOfficial *bool
	/*Limit
	  number of content per page. max limit: -1 (-1 means unlimited).

	*/
	Limit *int64
	/*Name
	  filter by content name

	*/
	Name *string
	/*Offset
	  the offset number to retrieve

	*/
	Offset *int64
	/*SortBy
	    sort order of query result
	available value:
	- *createdTime*
	- *createdTime:desc*
	- *createdTime:asc*
	- *download*
	- *download:desc*
	- *download:asc*
	- *name*
	- *name:desc*
	- *name:asc*
	- *updatedTime*
	- *updatedTime:desc*
	- *updatedTime:asc*

	*/
	SortBy *string
	/*SubType
	  filter by content subType

	*/
	SubType *string
	/*Tags
	  content tag. max number of tags: -1 tags (-1 means unlimited).

	*/
	Tags []string
	/*Type
	  filter by content type

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

PublicListContentV2Params contains all the parameters to send to the API endpoint for the public list content v2 operation typically these are written to a http.Request

func NewPublicListContentV2Params

func NewPublicListContentV2Params() *PublicListContentV2Params

NewPublicListContentV2Params creates a new PublicListContentV2Params object with the default values initialized.

func NewPublicListContentV2ParamsWithContext

func NewPublicListContentV2ParamsWithContext(ctx context.Context) *PublicListContentV2Params

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

func NewPublicListContentV2ParamsWithHTTPClient

func NewPublicListContentV2ParamsWithHTTPClient(client *http.Client) *PublicListContentV2Params

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

func NewPublicListContentV2ParamsWithTimeout

func NewPublicListContentV2ParamsWithTimeout(timeout time.Duration) *PublicListContentV2Params

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

func (*PublicListContentV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public list content v2 params

func (*PublicListContentV2Params) SetContext

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

SetContext adds the context to the public list content v2 params

func (*PublicListContentV2Params) SetFlightId

func (o *PublicListContentV2Params) SetFlightId(flightId string)

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

func (*PublicListContentV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public list content v2 params

func (*PublicListContentV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public list content v2 params

func (*PublicListContentV2Params) SetIsOfficial

func (o *PublicListContentV2Params) SetIsOfficial(isOfficial *bool)

SetIsOfficial adds the isOfficial to the public list content v2 params

func (*PublicListContentV2Params) SetLimit

func (o *PublicListContentV2Params) SetLimit(limit *int64)

SetLimit adds the limit to the public list content v2 params

func (*PublicListContentV2Params) SetName

func (o *PublicListContentV2Params) SetName(name *string)

SetName adds the name to the public list content v2 params

func (*PublicListContentV2Params) SetNamespace

func (o *PublicListContentV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the public list content v2 params

func (*PublicListContentV2Params) SetOffset

func (o *PublicListContentV2Params) SetOffset(offset *int64)

SetOffset adds the offset to the public list content v2 params

func (*PublicListContentV2Params) SetSortBy

func (o *PublicListContentV2Params) SetSortBy(sortBy *string)

SetSortBy adds the sortBy to the public list content v2 params

func (*PublicListContentV2Params) SetSubType

func (o *PublicListContentV2Params) SetSubType(subType *string)

SetSubType adds the subType to the public list content v2 params

func (*PublicListContentV2Params) SetTags

func (o *PublicListContentV2Params) SetTags(tags []string)

SetTags adds the tags to the public list content v2 params

func (*PublicListContentV2Params) SetTimeout

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

SetTimeout adds the timeout to the public list content v2 params

func (*PublicListContentV2Params) SetType

func (o *PublicListContentV2Params) SetType(typeVar *string)

SetType adds the type to the public list content v2 params

func (*PublicListContentV2Params) WithContext

WithContext adds the context to the public list content v2 params

func (*PublicListContentV2Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the public list content v2 params

func (*PublicListContentV2Params) WithIsOfficial

func (o *PublicListContentV2Params) WithIsOfficial(isOfficial *bool) *PublicListContentV2Params

WithIsOfficial adds the isOfficial to the public list content v2 params

func (*PublicListContentV2Params) WithLimit

WithLimit adds the limit to the public list content v2 params

func (*PublicListContentV2Params) WithName

WithName adds the name to the public list content v2 params

func (*PublicListContentV2Params) WithNamespace

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

WithNamespace adds the namespace to the public list content v2 params

func (*PublicListContentV2Params) WithOffset

WithOffset adds the offset to the public list content v2 params

func (*PublicListContentV2Params) WithSortBy

WithSortBy adds the sortBy to the public list content v2 params

func (*PublicListContentV2Params) WithSubType

WithSubType adds the subType to the public list content v2 params

func (*PublicListContentV2Params) WithTags

WithTags adds the tags to the public list content v2 params

func (*PublicListContentV2Params) WithTimeout

WithTimeout adds the timeout to the public list content v2 params

func (*PublicListContentV2Params) WithType

WithType adds the typeVar to the public list content v2 params

func (*PublicListContentV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicListContentV2Reader

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

PublicListContentV2Reader is a Reader for the PublicListContentV2 structure.

func (*PublicListContentV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicListContentV2Unauthorized

type PublicListContentV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

PublicListContentV2Unauthorized 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 NewPublicListContentV2Unauthorized

func NewPublicListContentV2Unauthorized() *PublicListContentV2Unauthorized

NewPublicListContentV2Unauthorized creates a PublicListContentV2Unauthorized with default headers values

func (*PublicListContentV2Unauthorized) Error

func (*PublicListContentV2Unauthorized) GetPayload

func (*PublicListContentV2Unauthorized) ToJSONString

func (o *PublicListContentV2Unauthorized) ToJSONString() string

type PublicUpdateContentByShareCodeV2BadRequest

type PublicUpdateContentByShareCodeV2BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

PublicUpdateContentByShareCodeV2BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772601</td><td>Malformed request</td></tr></table>

func NewPublicUpdateContentByShareCodeV2BadRequest

func NewPublicUpdateContentByShareCodeV2BadRequest() *PublicUpdateContentByShareCodeV2BadRequest

NewPublicUpdateContentByShareCodeV2BadRequest creates a PublicUpdateContentByShareCodeV2BadRequest with default headers values

func (*PublicUpdateContentByShareCodeV2BadRequest) Error

func (*PublicUpdateContentByShareCodeV2BadRequest) GetPayload

func (*PublicUpdateContentByShareCodeV2BadRequest) ToJSONString

type PublicUpdateContentByShareCodeV2Conflict

type PublicUpdateContentByShareCodeV2Conflict struct {
	Payload *ugcclientmodels.ResponseError
}

PublicUpdateContentByShareCodeV2Conflict handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772606</td><td>Share code already used</td></tr></table>

func NewPublicUpdateContentByShareCodeV2Conflict

func NewPublicUpdateContentByShareCodeV2Conflict() *PublicUpdateContentByShareCodeV2Conflict

NewPublicUpdateContentByShareCodeV2Conflict creates a PublicUpdateContentByShareCodeV2Conflict with default headers values

func (*PublicUpdateContentByShareCodeV2Conflict) Error

func (*PublicUpdateContentByShareCodeV2Conflict) GetPayload

func (*PublicUpdateContentByShareCodeV2Conflict) ToJSONString

type PublicUpdateContentByShareCodeV2Forbidden

type PublicUpdateContentByShareCodeV2Forbidden struct {
	Payload *ugcclientmodels.ResponseError
}

PublicUpdateContentByShareCodeV2Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772604</td><td>User has been banned to update content</td></tr></table>

func NewPublicUpdateContentByShareCodeV2Forbidden

func NewPublicUpdateContentByShareCodeV2Forbidden() *PublicUpdateContentByShareCodeV2Forbidden

NewPublicUpdateContentByShareCodeV2Forbidden creates a PublicUpdateContentByShareCodeV2Forbidden with default headers values

func (*PublicUpdateContentByShareCodeV2Forbidden) Error

func (*PublicUpdateContentByShareCodeV2Forbidden) GetPayload

func (*PublicUpdateContentByShareCodeV2Forbidden) ToJSONString

type PublicUpdateContentByShareCodeV2InternalServerError

type PublicUpdateContentByShareCodeV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

PublicUpdateContentByShareCodeV2InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772602</td><td>Unable to check user ban status/Unable to get updated ugc content</td></tr></table>

func NewPublicUpdateContentByShareCodeV2InternalServerError

func NewPublicUpdateContentByShareCodeV2InternalServerError() *PublicUpdateContentByShareCodeV2InternalServerError

NewPublicUpdateContentByShareCodeV2InternalServerError creates a PublicUpdateContentByShareCodeV2InternalServerError with default headers values

func (*PublicUpdateContentByShareCodeV2InternalServerError) Error

func (*PublicUpdateContentByShareCodeV2InternalServerError) GetPayload

func (*PublicUpdateContentByShareCodeV2InternalServerError) ToJSONString

type PublicUpdateContentByShareCodeV2NotFound

type PublicUpdateContentByShareCodeV2NotFound struct {
	Payload *ugcclientmodels.ResponseError
}

PublicUpdateContentByShareCodeV2NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772603</td><td>Content not found</td></tr></table>

func NewPublicUpdateContentByShareCodeV2NotFound

func NewPublicUpdateContentByShareCodeV2NotFound() *PublicUpdateContentByShareCodeV2NotFound

NewPublicUpdateContentByShareCodeV2NotFound creates a PublicUpdateContentByShareCodeV2NotFound with default headers values

func (*PublicUpdateContentByShareCodeV2NotFound) Error

func (*PublicUpdateContentByShareCodeV2NotFound) GetPayload

func (*PublicUpdateContentByShareCodeV2NotFound) ToJSONString

type PublicUpdateContentByShareCodeV2OK

type PublicUpdateContentByShareCodeV2OK struct {
	Payload *ugcclientmodels.ModelsCreateContentResponseV2
}

PublicUpdateContentByShareCodeV2OK handles this case with default header values.

content updated at s3

func NewPublicUpdateContentByShareCodeV2OK

func NewPublicUpdateContentByShareCodeV2OK() *PublicUpdateContentByShareCodeV2OK

NewPublicUpdateContentByShareCodeV2OK creates a PublicUpdateContentByShareCodeV2OK with default headers values

func (*PublicUpdateContentByShareCodeV2OK) Error

func (*PublicUpdateContentByShareCodeV2OK) GetPayload

func (*PublicUpdateContentByShareCodeV2OK) ToJSONString

func (o *PublicUpdateContentByShareCodeV2OK) ToJSONString() string

type PublicUpdateContentByShareCodeV2Params

type PublicUpdateContentByShareCodeV2Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *ugcclientmodels.ModelsUpdateContentRequestV2
	/*ChannelID
	  channel ID

	*/
	ChannelID string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*ShareCode
	  share code

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

PublicUpdateContentByShareCodeV2Params contains all the parameters to send to the API endpoint for the public update content by share code v2 operation typically these are written to a http.Request

func NewPublicUpdateContentByShareCodeV2Params

func NewPublicUpdateContentByShareCodeV2Params() *PublicUpdateContentByShareCodeV2Params

NewPublicUpdateContentByShareCodeV2Params creates a new PublicUpdateContentByShareCodeV2Params object with the default values initialized.

func NewPublicUpdateContentByShareCodeV2ParamsWithContext

func NewPublicUpdateContentByShareCodeV2ParamsWithContext(ctx context.Context) *PublicUpdateContentByShareCodeV2Params

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

func NewPublicUpdateContentByShareCodeV2ParamsWithHTTPClient

func NewPublicUpdateContentByShareCodeV2ParamsWithHTTPClient(client *http.Client) *PublicUpdateContentByShareCodeV2Params

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

func NewPublicUpdateContentByShareCodeV2ParamsWithTimeout

func NewPublicUpdateContentByShareCodeV2ParamsWithTimeout(timeout time.Duration) *PublicUpdateContentByShareCodeV2Params

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

func (*PublicUpdateContentByShareCodeV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public update content by share code v2 params

func (*PublicUpdateContentByShareCodeV2Params) SetBody

SetBody adds the body to the public update content by share code v2 params

func (*PublicUpdateContentByShareCodeV2Params) SetChannelID

func (o *PublicUpdateContentByShareCodeV2Params) SetChannelID(channelID string)

SetChannelID adds the channelId to the public update content by share code v2 params

func (*PublicUpdateContentByShareCodeV2Params) SetContext

SetContext adds the context to the public update content by share code v2 params

func (*PublicUpdateContentByShareCodeV2Params) SetFlightId

func (o *PublicUpdateContentByShareCodeV2Params) SetFlightId(flightId string)

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

func (*PublicUpdateContentByShareCodeV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public update content by share code v2 params

func (*PublicUpdateContentByShareCodeV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public update content by share code v2 params

func (*PublicUpdateContentByShareCodeV2Params) SetNamespace

func (o *PublicUpdateContentByShareCodeV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the public update content by share code v2 params

func (*PublicUpdateContentByShareCodeV2Params) SetShareCode

func (o *PublicUpdateContentByShareCodeV2Params) SetShareCode(shareCode string)

SetShareCode adds the shareCode to the public update content by share code v2 params

func (*PublicUpdateContentByShareCodeV2Params) SetTimeout

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

SetTimeout adds the timeout to the public update content by share code v2 params

func (*PublicUpdateContentByShareCodeV2Params) SetUserID

func (o *PublicUpdateContentByShareCodeV2Params) SetUserID(userID string)

SetUserID adds the userId to the public update content by share code v2 params

func (*PublicUpdateContentByShareCodeV2Params) WithBody

WithBody adds the body to the public update content by share code v2 params

func (*PublicUpdateContentByShareCodeV2Params) WithChannelID

WithChannelID adds the channelID to the public update content by share code v2 params

func (*PublicUpdateContentByShareCodeV2Params) WithContext

WithContext adds the context to the public update content by share code v2 params

func (*PublicUpdateContentByShareCodeV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public update content by share code v2 params

func (*PublicUpdateContentByShareCodeV2Params) WithNamespace

WithNamespace adds the namespace to the public update content by share code v2 params

func (*PublicUpdateContentByShareCodeV2Params) WithShareCode

WithShareCode adds the shareCode to the public update content by share code v2 params

func (*PublicUpdateContentByShareCodeV2Params) WithTimeout

WithTimeout adds the timeout to the public update content by share code v2 params

func (*PublicUpdateContentByShareCodeV2Params) WithUserID

WithUserID adds the userID to the public update content by share code v2 params

func (*PublicUpdateContentByShareCodeV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicUpdateContentByShareCodeV2Reader

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

PublicUpdateContentByShareCodeV2Reader is a Reader for the PublicUpdateContentByShareCodeV2 structure.

func (*PublicUpdateContentByShareCodeV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicUpdateContentByShareCodeV2Unauthorized

type PublicUpdateContentByShareCodeV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

PublicUpdateContentByShareCodeV2Unauthorized 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 NewPublicUpdateContentByShareCodeV2Unauthorized

func NewPublicUpdateContentByShareCodeV2Unauthorized() *PublicUpdateContentByShareCodeV2Unauthorized

NewPublicUpdateContentByShareCodeV2Unauthorized creates a PublicUpdateContentByShareCodeV2Unauthorized with default headers values

func (*PublicUpdateContentByShareCodeV2Unauthorized) Error

func (*PublicUpdateContentByShareCodeV2Unauthorized) GetPayload

func (*PublicUpdateContentByShareCodeV2Unauthorized) ToJSONString

type PublicUpdateContentFileLocationBadRequest

type PublicUpdateContentFileLocationBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

PublicUpdateContentFileLocationBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>774001</td><td>unable to read response body/unable to update file location</td></tr></table>

func NewPublicUpdateContentFileLocationBadRequest

func NewPublicUpdateContentFileLocationBadRequest() *PublicUpdateContentFileLocationBadRequest

NewPublicUpdateContentFileLocationBadRequest creates a PublicUpdateContentFileLocationBadRequest with default headers values

func (*PublicUpdateContentFileLocationBadRequest) Error

func (*PublicUpdateContentFileLocationBadRequest) GetPayload

func (*PublicUpdateContentFileLocationBadRequest) ToJSONString

type PublicUpdateContentFileLocationForbidden

type PublicUpdateContentFileLocationForbidden struct {
	Payload *ugcclientmodels.ResponseError
}

PublicUpdateContentFileLocationForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772604</td><td>User has been banned to update content</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewPublicUpdateContentFileLocationForbidden

func NewPublicUpdateContentFileLocationForbidden() *PublicUpdateContentFileLocationForbidden

NewPublicUpdateContentFileLocationForbidden creates a PublicUpdateContentFileLocationForbidden with default headers values

func (*PublicUpdateContentFileLocationForbidden) Error

func (*PublicUpdateContentFileLocationForbidden) GetPayload

func (*PublicUpdateContentFileLocationForbidden) ToJSONString

type PublicUpdateContentFileLocationInternalServerError

type PublicUpdateContentFileLocationInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

PublicUpdateContentFileLocationInternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772602</td><td>Unable to check user ban status/Unable to get updated ugc content</td></tr><tr><td>774003</td><td>unable to update content file location</td></tr></table>

func NewPublicUpdateContentFileLocationInternalServerError

func NewPublicUpdateContentFileLocationInternalServerError() *PublicUpdateContentFileLocationInternalServerError

NewPublicUpdateContentFileLocationInternalServerError creates a PublicUpdateContentFileLocationInternalServerError with default headers values

func (*PublicUpdateContentFileLocationInternalServerError) Error

func (*PublicUpdateContentFileLocationInternalServerError) GetPayload

func (*PublicUpdateContentFileLocationInternalServerError) ToJSONString

type PublicUpdateContentFileLocationNotFound

type PublicUpdateContentFileLocationNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

PublicUpdateContentFileLocationNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>774002</td><td>unable to update content file location: content not found</td></tr></table>

func NewPublicUpdateContentFileLocationNotFound

func NewPublicUpdateContentFileLocationNotFound() *PublicUpdateContentFileLocationNotFound

NewPublicUpdateContentFileLocationNotFound creates a PublicUpdateContentFileLocationNotFound with default headers values

func (*PublicUpdateContentFileLocationNotFound) Error

func (*PublicUpdateContentFileLocationNotFound) GetPayload

func (*PublicUpdateContentFileLocationNotFound) ToJSONString

type PublicUpdateContentFileLocationOK

type PublicUpdateContentFileLocationOK struct {
	Payload *ugcclientmodels.ModelsUpdateContentResponseV2
}

PublicUpdateContentFileLocationOK handles this case with default header values.

Update content file location

func NewPublicUpdateContentFileLocationOK

func NewPublicUpdateContentFileLocationOK() *PublicUpdateContentFileLocationOK

NewPublicUpdateContentFileLocationOK creates a PublicUpdateContentFileLocationOK with default headers values

func (*PublicUpdateContentFileLocationOK) Error

func (*PublicUpdateContentFileLocationOK) GetPayload

func (*PublicUpdateContentFileLocationOK) ToJSONString

func (o *PublicUpdateContentFileLocationOK) ToJSONString() string

type PublicUpdateContentFileLocationParams

type PublicUpdateContentFileLocationParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *ugcclientmodels.ModelsUpdateFileLocationRequest
	/*ChannelID
	  channel ID

	*/
	ChannelID string
	/*ContentID
	  content ID

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

PublicUpdateContentFileLocationParams contains all the parameters to send to the API endpoint for the public update content file location operation typically these are written to a http.Request

func NewPublicUpdateContentFileLocationParams

func NewPublicUpdateContentFileLocationParams() *PublicUpdateContentFileLocationParams

NewPublicUpdateContentFileLocationParams creates a new PublicUpdateContentFileLocationParams object with the default values initialized.

func NewPublicUpdateContentFileLocationParamsWithContext

func NewPublicUpdateContentFileLocationParamsWithContext(ctx context.Context) *PublicUpdateContentFileLocationParams

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

func NewPublicUpdateContentFileLocationParamsWithHTTPClient

func NewPublicUpdateContentFileLocationParamsWithHTTPClient(client *http.Client) *PublicUpdateContentFileLocationParams

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

func NewPublicUpdateContentFileLocationParamsWithTimeout

func NewPublicUpdateContentFileLocationParamsWithTimeout(timeout time.Duration) *PublicUpdateContentFileLocationParams

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

func (*PublicUpdateContentFileLocationParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public update content file location params

func (*PublicUpdateContentFileLocationParams) SetBody

SetBody adds the body to the public update content file location params

func (*PublicUpdateContentFileLocationParams) SetChannelID

func (o *PublicUpdateContentFileLocationParams) SetChannelID(channelID string)

SetChannelID adds the channelId to the public update content file location params

func (*PublicUpdateContentFileLocationParams) SetContentID

func (o *PublicUpdateContentFileLocationParams) SetContentID(contentID string)

SetContentID adds the contentId to the public update content file location params

func (*PublicUpdateContentFileLocationParams) SetContext

SetContext adds the context to the public update content file location params

func (*PublicUpdateContentFileLocationParams) SetFlightId

func (o *PublicUpdateContentFileLocationParams) SetFlightId(flightId string)

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

func (*PublicUpdateContentFileLocationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public update content file location params

func (*PublicUpdateContentFileLocationParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public update content file location params

func (*PublicUpdateContentFileLocationParams) SetNamespace

func (o *PublicUpdateContentFileLocationParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public update content file location params

func (*PublicUpdateContentFileLocationParams) SetTimeout

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

SetTimeout adds the timeout to the public update content file location params

func (*PublicUpdateContentFileLocationParams) SetUserID

func (o *PublicUpdateContentFileLocationParams) SetUserID(userID string)

SetUserID adds the userId to the public update content file location params

func (*PublicUpdateContentFileLocationParams) WithBody

WithBody adds the body to the public update content file location params

func (*PublicUpdateContentFileLocationParams) WithChannelID

WithChannelID adds the channelID to the public update content file location params

func (*PublicUpdateContentFileLocationParams) WithContentID

WithContentID adds the contentID to the public update content file location params

func (*PublicUpdateContentFileLocationParams) WithContext

WithContext adds the context to the public update content file location params

func (*PublicUpdateContentFileLocationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public update content file location params

func (*PublicUpdateContentFileLocationParams) WithNamespace

WithNamespace adds the namespace to the public update content file location params

func (*PublicUpdateContentFileLocationParams) WithTimeout

WithTimeout adds the timeout to the public update content file location params

func (*PublicUpdateContentFileLocationParams) WithUserID

WithUserID adds the userID to the public update content file location params

func (*PublicUpdateContentFileLocationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicUpdateContentFileLocationReader

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

PublicUpdateContentFileLocationReader is a Reader for the PublicUpdateContentFileLocation structure.

func (*PublicUpdateContentFileLocationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicUpdateContentFileLocationUnauthorized

type PublicUpdateContentFileLocationUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

PublicUpdateContentFileLocationUnauthorized 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 NewPublicUpdateContentFileLocationUnauthorized

func NewPublicUpdateContentFileLocationUnauthorized() *PublicUpdateContentFileLocationUnauthorized

NewPublicUpdateContentFileLocationUnauthorized creates a PublicUpdateContentFileLocationUnauthorized with default headers values

func (*PublicUpdateContentFileLocationUnauthorized) Error

func (*PublicUpdateContentFileLocationUnauthorized) GetPayload

func (*PublicUpdateContentFileLocationUnauthorized) ToJSONString

type PublicUpdateContentV2BadRequest

type PublicUpdateContentV2BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

PublicUpdateContentV2BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772601</td><td>Malformed request</td></tr></table>

func NewPublicUpdateContentV2BadRequest

func NewPublicUpdateContentV2BadRequest() *PublicUpdateContentV2BadRequest

NewPublicUpdateContentV2BadRequest creates a PublicUpdateContentV2BadRequest with default headers values

func (*PublicUpdateContentV2BadRequest) Error

func (*PublicUpdateContentV2BadRequest) GetPayload

func (*PublicUpdateContentV2BadRequest) ToJSONString

func (o *PublicUpdateContentV2BadRequest) ToJSONString() string

type PublicUpdateContentV2Forbidden

type PublicUpdateContentV2Forbidden struct {
	Payload *ugcclientmodels.ResponseError
}

PublicUpdateContentV2Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772604</td><td>User has been banned to update content</td></tr></table>

func NewPublicUpdateContentV2Forbidden

func NewPublicUpdateContentV2Forbidden() *PublicUpdateContentV2Forbidden

NewPublicUpdateContentV2Forbidden creates a PublicUpdateContentV2Forbidden with default headers values

func (*PublicUpdateContentV2Forbidden) Error

func (*PublicUpdateContentV2Forbidden) GetPayload

func (*PublicUpdateContentV2Forbidden) ToJSONString

func (o *PublicUpdateContentV2Forbidden) ToJSONString() string

type PublicUpdateContentV2InternalServerError

type PublicUpdateContentV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

PublicUpdateContentV2InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772602</td><td>Unable to check user ban status/Unable to get updated ugc content</td></tr></table>

func NewPublicUpdateContentV2InternalServerError

func NewPublicUpdateContentV2InternalServerError() *PublicUpdateContentV2InternalServerError

NewPublicUpdateContentV2InternalServerError creates a PublicUpdateContentV2InternalServerError with default headers values

func (*PublicUpdateContentV2InternalServerError) Error

func (*PublicUpdateContentV2InternalServerError) GetPayload

func (*PublicUpdateContentV2InternalServerError) ToJSONString

type PublicUpdateContentV2NotFound

type PublicUpdateContentV2NotFound struct {
	Payload *ugcclientmodels.ResponseError
}

PublicUpdateContentV2NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772603</td><td>Content not found</td></tr></table>

func NewPublicUpdateContentV2NotFound

func NewPublicUpdateContentV2NotFound() *PublicUpdateContentV2NotFound

NewPublicUpdateContentV2NotFound creates a PublicUpdateContentV2NotFound with default headers values

func (*PublicUpdateContentV2NotFound) Error

func (*PublicUpdateContentV2NotFound) GetPayload

func (*PublicUpdateContentV2NotFound) ToJSONString

func (o *PublicUpdateContentV2NotFound) ToJSONString() string

type PublicUpdateContentV2OK

type PublicUpdateContentV2OK struct {
	Payload *ugcclientmodels.ModelsUpdateContentResponseV2
}

PublicUpdateContentV2OK handles this case with default header values.

Content updated

func NewPublicUpdateContentV2OK

func NewPublicUpdateContentV2OK() *PublicUpdateContentV2OK

NewPublicUpdateContentV2OK creates a PublicUpdateContentV2OK with default headers values

func (*PublicUpdateContentV2OK) Error

func (o *PublicUpdateContentV2OK) Error() string

func (*PublicUpdateContentV2OK) GetPayload

func (*PublicUpdateContentV2OK) ToJSONString

func (o *PublicUpdateContentV2OK) ToJSONString() string

type PublicUpdateContentV2Params

type PublicUpdateContentV2Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *ugcclientmodels.ModelsUpdateContentRequestV2
	/*ChannelID
	  channel ID

	*/
	ChannelID string
	/*ContentID
	  content ID

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

PublicUpdateContentV2Params contains all the parameters to send to the API endpoint for the public update content v2 operation typically these are written to a http.Request

func NewPublicUpdateContentV2Params

func NewPublicUpdateContentV2Params() *PublicUpdateContentV2Params

NewPublicUpdateContentV2Params creates a new PublicUpdateContentV2Params object with the default values initialized.

func NewPublicUpdateContentV2ParamsWithContext

func NewPublicUpdateContentV2ParamsWithContext(ctx context.Context) *PublicUpdateContentV2Params

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

func NewPublicUpdateContentV2ParamsWithHTTPClient

func NewPublicUpdateContentV2ParamsWithHTTPClient(client *http.Client) *PublicUpdateContentV2Params

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

func NewPublicUpdateContentV2ParamsWithTimeout

func NewPublicUpdateContentV2ParamsWithTimeout(timeout time.Duration) *PublicUpdateContentV2Params

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

func (*PublicUpdateContentV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public update content v2 params

func (*PublicUpdateContentV2Params) SetBody

SetBody adds the body to the public update content v2 params

func (*PublicUpdateContentV2Params) SetChannelID

func (o *PublicUpdateContentV2Params) SetChannelID(channelID string)

SetChannelID adds the channelId to the public update content v2 params

func (*PublicUpdateContentV2Params) SetContentID

func (o *PublicUpdateContentV2Params) SetContentID(contentID string)

SetContentID adds the contentId to the public update content v2 params

func (*PublicUpdateContentV2Params) SetContext

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

SetContext adds the context to the public update content v2 params

func (*PublicUpdateContentV2Params) SetFlightId

func (o *PublicUpdateContentV2Params) SetFlightId(flightId string)

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

func (*PublicUpdateContentV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public update content v2 params

func (*PublicUpdateContentV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public update content v2 params

func (*PublicUpdateContentV2Params) SetNamespace

func (o *PublicUpdateContentV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the public update content v2 params

func (*PublicUpdateContentV2Params) SetTimeout

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

SetTimeout adds the timeout to the public update content v2 params

func (*PublicUpdateContentV2Params) SetUserID

func (o *PublicUpdateContentV2Params) SetUserID(userID string)

SetUserID adds the userId to the public update content v2 params

func (*PublicUpdateContentV2Params) WithBody

WithBody adds the body to the public update content v2 params

func (*PublicUpdateContentV2Params) WithChannelID

func (o *PublicUpdateContentV2Params) WithChannelID(channelID string) *PublicUpdateContentV2Params

WithChannelID adds the channelID to the public update content v2 params

func (*PublicUpdateContentV2Params) WithContentID

func (o *PublicUpdateContentV2Params) WithContentID(contentID string) *PublicUpdateContentV2Params

WithContentID adds the contentID to the public update content v2 params

func (*PublicUpdateContentV2Params) WithContext

WithContext adds the context to the public update content v2 params

func (*PublicUpdateContentV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public update content v2 params

func (*PublicUpdateContentV2Params) WithNamespace

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

WithNamespace adds the namespace to the public update content v2 params

func (*PublicUpdateContentV2Params) WithTimeout

WithTimeout adds the timeout to the public update content v2 params

func (*PublicUpdateContentV2Params) WithUserID

WithUserID adds the userID to the public update content v2 params

func (*PublicUpdateContentV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicUpdateContentV2Reader

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

PublicUpdateContentV2Reader is a Reader for the PublicUpdateContentV2 structure.

func (*PublicUpdateContentV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicUpdateContentV2Unauthorized

type PublicUpdateContentV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

PublicUpdateContentV2Unauthorized 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 NewPublicUpdateContentV2Unauthorized

func NewPublicUpdateContentV2Unauthorized() *PublicUpdateContentV2Unauthorized

NewPublicUpdateContentV2Unauthorized creates a PublicUpdateContentV2Unauthorized with default headers values

func (*PublicUpdateContentV2Unauthorized) Error

func (*PublicUpdateContentV2Unauthorized) GetPayload

func (*PublicUpdateContentV2Unauthorized) ToJSONString

func (o *PublicUpdateContentV2Unauthorized) ToJSONString() string

type UpdateContentShareCodeV2BadRequest

type UpdateContentShareCodeV2BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateContentShareCodeV2BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772601</td><td>Malformed request</td></tr><tr><td>772607</td><td>Unable to update ugc content: invalid shareCode format</td></tr></table>

func NewUpdateContentShareCodeV2BadRequest

func NewUpdateContentShareCodeV2BadRequest() *UpdateContentShareCodeV2BadRequest

NewUpdateContentShareCodeV2BadRequest creates a UpdateContentShareCodeV2BadRequest with default headers values

func (*UpdateContentShareCodeV2BadRequest) Error

func (*UpdateContentShareCodeV2BadRequest) GetPayload

func (*UpdateContentShareCodeV2BadRequest) ToJSONString

func (o *UpdateContentShareCodeV2BadRequest) ToJSONString() string

type UpdateContentShareCodeV2Conflict

type UpdateContentShareCodeV2Conflict struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateContentShareCodeV2Conflict handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772606</td><td>Share code already used</td></tr></table>

func NewUpdateContentShareCodeV2Conflict

func NewUpdateContentShareCodeV2Conflict() *UpdateContentShareCodeV2Conflict

NewUpdateContentShareCodeV2Conflict creates a UpdateContentShareCodeV2Conflict with default headers values

func (*UpdateContentShareCodeV2Conflict) Error

func (*UpdateContentShareCodeV2Conflict) GetPayload

func (*UpdateContentShareCodeV2Conflict) ToJSONString

func (o *UpdateContentShareCodeV2Conflict) ToJSONString() string

type UpdateContentShareCodeV2Forbidden

type UpdateContentShareCodeV2Forbidden struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateContentShareCodeV2Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772604</td><td>User has been banned to update content</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewUpdateContentShareCodeV2Forbidden

func NewUpdateContentShareCodeV2Forbidden() *UpdateContentShareCodeV2Forbidden

NewUpdateContentShareCodeV2Forbidden creates a UpdateContentShareCodeV2Forbidden with default headers values

func (*UpdateContentShareCodeV2Forbidden) Error

func (*UpdateContentShareCodeV2Forbidden) GetPayload

func (*UpdateContentShareCodeV2Forbidden) ToJSONString

func (o *UpdateContentShareCodeV2Forbidden) ToJSONString() string

type UpdateContentShareCodeV2InternalServerError

type UpdateContentShareCodeV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateContentShareCodeV2InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772602</td><td>Unable to check user ban status/Unable to get updated ugc content</td></tr></table>

func NewUpdateContentShareCodeV2InternalServerError

func NewUpdateContentShareCodeV2InternalServerError() *UpdateContentShareCodeV2InternalServerError

NewUpdateContentShareCodeV2InternalServerError creates a UpdateContentShareCodeV2InternalServerError with default headers values

func (*UpdateContentShareCodeV2InternalServerError) Error

func (*UpdateContentShareCodeV2InternalServerError) GetPayload

func (*UpdateContentShareCodeV2InternalServerError) ToJSONString

type UpdateContentShareCodeV2NotFound

type UpdateContentShareCodeV2NotFound struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateContentShareCodeV2NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772603</td><td>Content not found</td></tr></table>

func NewUpdateContentShareCodeV2NotFound

func NewUpdateContentShareCodeV2NotFound() *UpdateContentShareCodeV2NotFound

NewUpdateContentShareCodeV2NotFound creates a UpdateContentShareCodeV2NotFound with default headers values

func (*UpdateContentShareCodeV2NotFound) Error

func (*UpdateContentShareCodeV2NotFound) GetPayload

func (*UpdateContentShareCodeV2NotFound) ToJSONString

func (o *UpdateContentShareCodeV2NotFound) ToJSONString() string

type UpdateContentShareCodeV2OK

type UpdateContentShareCodeV2OK struct {
	Payload *ugcclientmodels.ModelsCreateContentResponseV2
}

UpdateContentShareCodeV2OK handles this case with default header values.

Update content sharecode

func NewUpdateContentShareCodeV2OK

func NewUpdateContentShareCodeV2OK() *UpdateContentShareCodeV2OK

NewUpdateContentShareCodeV2OK creates a UpdateContentShareCodeV2OK with default headers values

func (*UpdateContentShareCodeV2OK) Error

func (*UpdateContentShareCodeV2OK) GetPayload

func (*UpdateContentShareCodeV2OK) ToJSONString

func (o *UpdateContentShareCodeV2OK) ToJSONString() string

type UpdateContentShareCodeV2Params

type UpdateContentShareCodeV2Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *ugcclientmodels.ModelsUpdateContentShareCodeRequest
	/*ChannelID
	  channel ID

	*/
	ChannelID string
	/*ContentID
	  content ID

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

UpdateContentShareCodeV2Params contains all the parameters to send to the API endpoint for the update content share code v2 operation typically these are written to a http.Request

func NewUpdateContentShareCodeV2Params

func NewUpdateContentShareCodeV2Params() *UpdateContentShareCodeV2Params

NewUpdateContentShareCodeV2Params creates a new UpdateContentShareCodeV2Params object with the default values initialized.

func NewUpdateContentShareCodeV2ParamsWithContext

func NewUpdateContentShareCodeV2ParamsWithContext(ctx context.Context) *UpdateContentShareCodeV2Params

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

func NewUpdateContentShareCodeV2ParamsWithHTTPClient

func NewUpdateContentShareCodeV2ParamsWithHTTPClient(client *http.Client) *UpdateContentShareCodeV2Params

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

func NewUpdateContentShareCodeV2ParamsWithTimeout

func NewUpdateContentShareCodeV2ParamsWithTimeout(timeout time.Duration) *UpdateContentShareCodeV2Params

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

func (*UpdateContentShareCodeV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the update content share code v2 params

func (*UpdateContentShareCodeV2Params) SetBody

SetBody adds the body to the update content share code v2 params

func (*UpdateContentShareCodeV2Params) SetChannelID

func (o *UpdateContentShareCodeV2Params) SetChannelID(channelID string)

SetChannelID adds the channelId to the update content share code v2 params

func (*UpdateContentShareCodeV2Params) SetContentID

func (o *UpdateContentShareCodeV2Params) SetContentID(contentID string)

SetContentID adds the contentId to the update content share code v2 params

func (*UpdateContentShareCodeV2Params) SetContext

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

SetContext adds the context to the update content share code v2 params

func (*UpdateContentShareCodeV2Params) SetFlightId

func (o *UpdateContentShareCodeV2Params) SetFlightId(flightId string)

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

func (*UpdateContentShareCodeV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update content share code v2 params

func (*UpdateContentShareCodeV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the update content share code v2 params

func (*UpdateContentShareCodeV2Params) SetNamespace

func (o *UpdateContentShareCodeV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the update content share code v2 params

func (*UpdateContentShareCodeV2Params) SetTimeout

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

SetTimeout adds the timeout to the update content share code v2 params

func (*UpdateContentShareCodeV2Params) SetUserID

func (o *UpdateContentShareCodeV2Params) SetUserID(userID string)

SetUserID adds the userId to the update content share code v2 params

func (*UpdateContentShareCodeV2Params) WithBody

WithBody adds the body to the update content share code v2 params

func (*UpdateContentShareCodeV2Params) WithChannelID

WithChannelID adds the channelID to the update content share code v2 params

func (*UpdateContentShareCodeV2Params) WithContentID

WithContentID adds the contentID to the update content share code v2 params

func (*UpdateContentShareCodeV2Params) WithContext

WithContext adds the context to the update content share code v2 params

func (*UpdateContentShareCodeV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update content share code v2 params

func (*UpdateContentShareCodeV2Params) WithNamespace

WithNamespace adds the namespace to the update content share code v2 params

func (*UpdateContentShareCodeV2Params) WithTimeout

WithTimeout adds the timeout to the update content share code v2 params

func (*UpdateContentShareCodeV2Params) WithUserID

WithUserID adds the userID to the update content share code v2 params

func (*UpdateContentShareCodeV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateContentShareCodeV2Reader

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

UpdateContentShareCodeV2Reader is a Reader for the UpdateContentShareCodeV2 structure.

func (*UpdateContentShareCodeV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateContentShareCodeV2Unauthorized

type UpdateContentShareCodeV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateContentShareCodeV2Unauthorized 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 NewUpdateContentShareCodeV2Unauthorized

func NewUpdateContentShareCodeV2Unauthorized() *UpdateContentShareCodeV2Unauthorized

NewUpdateContentShareCodeV2Unauthorized creates a UpdateContentShareCodeV2Unauthorized with default headers values

func (*UpdateContentShareCodeV2Unauthorized) Error

func (*UpdateContentShareCodeV2Unauthorized) GetPayload

func (*UpdateContentShareCodeV2Unauthorized) ToJSONString

func (o *UpdateContentShareCodeV2Unauthorized) ToJSONString() string

type UpdateScreenshotsV2BadRequest

type UpdateScreenshotsV2BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateScreenshotsV2BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772601</td><td>Malformed request</td></tr></table>

func NewUpdateScreenshotsV2BadRequest

func NewUpdateScreenshotsV2BadRequest() *UpdateScreenshotsV2BadRequest

NewUpdateScreenshotsV2BadRequest creates a UpdateScreenshotsV2BadRequest with default headers values

func (*UpdateScreenshotsV2BadRequest) Error

func (*UpdateScreenshotsV2BadRequest) GetPayload

func (*UpdateScreenshotsV2BadRequest) ToJSONString

func (o *UpdateScreenshotsV2BadRequest) ToJSONString() string

type UpdateScreenshotsV2Forbidden

type UpdateScreenshotsV2Forbidden struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateScreenshotsV2Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772604</td><td>User has been banned to update content</td></tr></table>

func NewUpdateScreenshotsV2Forbidden

func NewUpdateScreenshotsV2Forbidden() *UpdateScreenshotsV2Forbidden

NewUpdateScreenshotsV2Forbidden creates a UpdateScreenshotsV2Forbidden with default headers values

func (*UpdateScreenshotsV2Forbidden) Error

func (*UpdateScreenshotsV2Forbidden) GetPayload

func (*UpdateScreenshotsV2Forbidden) ToJSONString

func (o *UpdateScreenshotsV2Forbidden) ToJSONString() string

type UpdateScreenshotsV2InternalServerError

type UpdateScreenshotsV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateScreenshotsV2InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772602</td><td>Unable to check user ban status/Unable to get updated ugc content</td></tr></table>

func NewUpdateScreenshotsV2InternalServerError

func NewUpdateScreenshotsV2InternalServerError() *UpdateScreenshotsV2InternalServerError

NewUpdateScreenshotsV2InternalServerError creates a UpdateScreenshotsV2InternalServerError with default headers values

func (*UpdateScreenshotsV2InternalServerError) Error

func (*UpdateScreenshotsV2InternalServerError) GetPayload

func (*UpdateScreenshotsV2InternalServerError) ToJSONString

type UpdateScreenshotsV2NotFound

type UpdateScreenshotsV2NotFound struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateScreenshotsV2NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772603</td><td>Content not found</td></tr></table>

func NewUpdateScreenshotsV2NotFound

func NewUpdateScreenshotsV2NotFound() *UpdateScreenshotsV2NotFound

NewUpdateScreenshotsV2NotFound creates a UpdateScreenshotsV2NotFound with default headers values

func (*UpdateScreenshotsV2NotFound) Error

func (*UpdateScreenshotsV2NotFound) GetPayload

func (*UpdateScreenshotsV2NotFound) ToJSONString

func (o *UpdateScreenshotsV2NotFound) ToJSONString() string

type UpdateScreenshotsV2OK

type UpdateScreenshotsV2OK struct {
	Payload *ugcclientmodels.ModelsUpdateScreenshotResponse
}

UpdateScreenshotsV2OK handles this case with default header values.

Screenshot updated

func NewUpdateScreenshotsV2OK

func NewUpdateScreenshotsV2OK() *UpdateScreenshotsV2OK

NewUpdateScreenshotsV2OK creates a UpdateScreenshotsV2OK with default headers values

func (*UpdateScreenshotsV2OK) Error

func (o *UpdateScreenshotsV2OK) Error() string

func (*UpdateScreenshotsV2OK) GetPayload

func (*UpdateScreenshotsV2OK) ToJSONString

func (o *UpdateScreenshotsV2OK) ToJSONString() string

type UpdateScreenshotsV2Params

type UpdateScreenshotsV2Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *ugcclientmodels.ModelsUpdateScreenshotRequest
	/*ContentID
	  content ID

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

UpdateScreenshotsV2Params contains all the parameters to send to the API endpoint for the update screenshots v2 operation typically these are written to a http.Request

func NewUpdateScreenshotsV2Params

func NewUpdateScreenshotsV2Params() *UpdateScreenshotsV2Params

NewUpdateScreenshotsV2Params creates a new UpdateScreenshotsV2Params object with the default values initialized.

func NewUpdateScreenshotsV2ParamsWithContext

func NewUpdateScreenshotsV2ParamsWithContext(ctx context.Context) *UpdateScreenshotsV2Params

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

func NewUpdateScreenshotsV2ParamsWithHTTPClient

func NewUpdateScreenshotsV2ParamsWithHTTPClient(client *http.Client) *UpdateScreenshotsV2Params

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

func NewUpdateScreenshotsV2ParamsWithTimeout

func NewUpdateScreenshotsV2ParamsWithTimeout(timeout time.Duration) *UpdateScreenshotsV2Params

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

func (*UpdateScreenshotsV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the update screenshots v2 params

func (*UpdateScreenshotsV2Params) SetBody

SetBody adds the body to the update screenshots v2 params

func (*UpdateScreenshotsV2Params) SetContentID

func (o *UpdateScreenshotsV2Params) SetContentID(contentID string)

SetContentID adds the contentId to the update screenshots v2 params

func (*UpdateScreenshotsV2Params) SetContext

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

SetContext adds the context to the update screenshots v2 params

func (*UpdateScreenshotsV2Params) SetFlightId

func (o *UpdateScreenshotsV2Params) SetFlightId(flightId string)

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

func (*UpdateScreenshotsV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update screenshots v2 params

func (*UpdateScreenshotsV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the update screenshots v2 params

func (*UpdateScreenshotsV2Params) SetNamespace

func (o *UpdateScreenshotsV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the update screenshots v2 params

func (*UpdateScreenshotsV2Params) SetTimeout

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

SetTimeout adds the timeout to the update screenshots v2 params

func (*UpdateScreenshotsV2Params) SetUserID

func (o *UpdateScreenshotsV2Params) SetUserID(userID string)

SetUserID adds the userId to the update screenshots v2 params

func (*UpdateScreenshotsV2Params) WithBody

WithBody adds the body to the update screenshots v2 params

func (*UpdateScreenshotsV2Params) WithContentID

func (o *UpdateScreenshotsV2Params) WithContentID(contentID string) *UpdateScreenshotsV2Params

WithContentID adds the contentID to the update screenshots v2 params

func (*UpdateScreenshotsV2Params) WithContext

WithContext adds the context to the update screenshots v2 params

func (*UpdateScreenshotsV2Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update screenshots v2 params

func (*UpdateScreenshotsV2Params) WithNamespace

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

WithNamespace adds the namespace to the update screenshots v2 params

func (*UpdateScreenshotsV2Params) WithTimeout

WithTimeout adds the timeout to the update screenshots v2 params

func (*UpdateScreenshotsV2Params) WithUserID

WithUserID adds the userID to the update screenshots v2 params

func (*UpdateScreenshotsV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateScreenshotsV2Reader

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

UpdateScreenshotsV2Reader is a Reader for the UpdateScreenshotsV2 structure.

func (*UpdateScreenshotsV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateScreenshotsV2Unauthorized

type UpdateScreenshotsV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateScreenshotsV2Unauthorized 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 NewUpdateScreenshotsV2Unauthorized

func NewUpdateScreenshotsV2Unauthorized() *UpdateScreenshotsV2Unauthorized

NewUpdateScreenshotsV2Unauthorized creates a UpdateScreenshotsV2Unauthorized with default headers values

func (*UpdateScreenshotsV2Unauthorized) Error

func (*UpdateScreenshotsV2Unauthorized) GetPayload

func (*UpdateScreenshotsV2Unauthorized) ToJSONString

func (o *UpdateScreenshotsV2Unauthorized) ToJSONString() string

type UploadContentScreenshotV2BadRequest

type UploadContentScreenshotV2BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

UploadContentScreenshotV2BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772601</td><td>Malformed request</td></tr></table>

func NewUploadContentScreenshotV2BadRequest

func NewUploadContentScreenshotV2BadRequest() *UploadContentScreenshotV2BadRequest

NewUploadContentScreenshotV2BadRequest creates a UploadContentScreenshotV2BadRequest with default headers values

func (*UploadContentScreenshotV2BadRequest) Error

func (*UploadContentScreenshotV2BadRequest) GetPayload

func (*UploadContentScreenshotV2BadRequest) ToJSONString

func (o *UploadContentScreenshotV2BadRequest) ToJSONString() string

type UploadContentScreenshotV2Created

type UploadContentScreenshotV2Created struct {
	Payload *ugcclientmodels.ModelsCreateScreenshotResponse
}

UploadContentScreenshotV2Created handles this case with default header values.

Screenshot uploaded

func NewUploadContentScreenshotV2Created

func NewUploadContentScreenshotV2Created() *UploadContentScreenshotV2Created

NewUploadContentScreenshotV2Created creates a UploadContentScreenshotV2Created with default headers values

func (*UploadContentScreenshotV2Created) Error

func (*UploadContentScreenshotV2Created) GetPayload

func (*UploadContentScreenshotV2Created) ToJSONString

func (o *UploadContentScreenshotV2Created) ToJSONString() string

type UploadContentScreenshotV2Forbidden

type UploadContentScreenshotV2Forbidden struct {
	Payload *ugcclientmodels.ResponseError
}

UploadContentScreenshotV2Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772604</td><td>User has been banned to update content</td></tr></table>

func NewUploadContentScreenshotV2Forbidden

func NewUploadContentScreenshotV2Forbidden() *UploadContentScreenshotV2Forbidden

NewUploadContentScreenshotV2Forbidden creates a UploadContentScreenshotV2Forbidden with default headers values

func (*UploadContentScreenshotV2Forbidden) Error

func (*UploadContentScreenshotV2Forbidden) GetPayload

func (*UploadContentScreenshotV2Forbidden) ToJSONString

func (o *UploadContentScreenshotV2Forbidden) ToJSONString() string

type UploadContentScreenshotV2InternalServerError

type UploadContentScreenshotV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

UploadContentScreenshotV2InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772602</td><td>Unable to check user ban status/Unable to get updated ugc content</td></tr><tr><td>772605</td><td>Unable to save ugc content: failed generate upload URL</td></tr></table>

func NewUploadContentScreenshotV2InternalServerError

func NewUploadContentScreenshotV2InternalServerError() *UploadContentScreenshotV2InternalServerError

NewUploadContentScreenshotV2InternalServerError creates a UploadContentScreenshotV2InternalServerError with default headers values

func (*UploadContentScreenshotV2InternalServerError) Error

func (*UploadContentScreenshotV2InternalServerError) GetPayload

func (*UploadContentScreenshotV2InternalServerError) ToJSONString

type UploadContentScreenshotV2Params

type UploadContentScreenshotV2Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *ugcclientmodels.ModelsCreateScreenshotRequest
	/*ContentID
	  content ID

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

UploadContentScreenshotV2Params contains all the parameters to send to the API endpoint for the upload content screenshot v2 operation typically these are written to a http.Request

func NewUploadContentScreenshotV2Params

func NewUploadContentScreenshotV2Params() *UploadContentScreenshotV2Params

NewUploadContentScreenshotV2Params creates a new UploadContentScreenshotV2Params object with the default values initialized.

func NewUploadContentScreenshotV2ParamsWithContext

func NewUploadContentScreenshotV2ParamsWithContext(ctx context.Context) *UploadContentScreenshotV2Params

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

func NewUploadContentScreenshotV2ParamsWithHTTPClient

func NewUploadContentScreenshotV2ParamsWithHTTPClient(client *http.Client) *UploadContentScreenshotV2Params

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

func NewUploadContentScreenshotV2ParamsWithTimeout

func NewUploadContentScreenshotV2ParamsWithTimeout(timeout time.Duration) *UploadContentScreenshotV2Params

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

func (*UploadContentScreenshotV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the upload content screenshot v2 params

func (*UploadContentScreenshotV2Params) SetBody

SetBody adds the body to the upload content screenshot v2 params

func (*UploadContentScreenshotV2Params) SetContentID

func (o *UploadContentScreenshotV2Params) SetContentID(contentID string)

SetContentID adds the contentId to the upload content screenshot v2 params

func (*UploadContentScreenshotV2Params) SetContext

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

SetContext adds the context to the upload content screenshot v2 params

func (*UploadContentScreenshotV2Params) SetFlightId

func (o *UploadContentScreenshotV2Params) SetFlightId(flightId string)

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

func (*UploadContentScreenshotV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the upload content screenshot v2 params

func (*UploadContentScreenshotV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the upload content screenshot v2 params

func (*UploadContentScreenshotV2Params) SetNamespace

func (o *UploadContentScreenshotV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the upload content screenshot v2 params

func (*UploadContentScreenshotV2Params) SetTimeout

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

SetTimeout adds the timeout to the upload content screenshot v2 params

func (*UploadContentScreenshotV2Params) SetUserID

func (o *UploadContentScreenshotV2Params) SetUserID(userID string)

SetUserID adds the userId to the upload content screenshot v2 params

func (*UploadContentScreenshotV2Params) WithBody

WithBody adds the body to the upload content screenshot v2 params

func (*UploadContentScreenshotV2Params) WithContentID

WithContentID adds the contentID to the upload content screenshot v2 params

func (*UploadContentScreenshotV2Params) WithContext

WithContext adds the context to the upload content screenshot v2 params

func (*UploadContentScreenshotV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the upload content screenshot v2 params

func (*UploadContentScreenshotV2Params) WithNamespace

WithNamespace adds the namespace to the upload content screenshot v2 params

func (*UploadContentScreenshotV2Params) WithTimeout

WithTimeout adds the timeout to the upload content screenshot v2 params

func (*UploadContentScreenshotV2Params) WithUserID

WithUserID adds the userID to the upload content screenshot v2 params

func (*UploadContentScreenshotV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type UploadContentScreenshotV2Reader

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

UploadContentScreenshotV2Reader is a Reader for the UploadContentScreenshotV2 structure.

func (*UploadContentScreenshotV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UploadContentScreenshotV2Unauthorized

type UploadContentScreenshotV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

UploadContentScreenshotV2Unauthorized 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 NewUploadContentScreenshotV2Unauthorized

func NewUploadContentScreenshotV2Unauthorized() *UploadContentScreenshotV2Unauthorized

NewUploadContentScreenshotV2Unauthorized creates a UploadContentScreenshotV2Unauthorized with default headers values

func (*UploadContentScreenshotV2Unauthorized) Error

func (*UploadContentScreenshotV2Unauthorized) GetPayload

func (*UploadContentScreenshotV2Unauthorized) ToJSONString

Source Files

Jump to

Keyboard shortcuts

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