public_content_legacy

package
v0.68.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 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 legacy API

func (*Client) CreateContentDirect deprecated

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

CreateContentDirect upload content to a channel Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [CREATE].

All request body are required except preview, tags and customAttributes.

func (*Client) CreateContentDirectShort

func (a *Client) CreateContentDirectShort(params *CreateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*CreateContentDirectCreated, error)

CreateContentDirectShort upload content to a channel Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [CREATE].

All request body are required except preview, tags and customAttributes.

func (*Client) CreateContentS3 deprecated

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

CreateContentS3 upload content to s3 bucket Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [CREATE].

All request body are required except payload, preview, tags, contentType and customAttributes. contentType values is used to enforce the Content-Type header needed by the client to upload the content using the S3 presigned URL. If not specified, it will use fileExtension value.

NOTE: Preview is Legacy Code, please use Screenshot for better solution to display preview of a content

func (*Client) CreateContentS3Short

func (a *Client) CreateContentS3Short(params *CreateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*CreateContentS3Created, error)

CreateContentS3Short upload content to s3 bucket Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [CREATE].

All request body are required except payload, preview, tags, contentType and customAttributes. contentType values is used to enforce the Content-Type header needed by the client to upload the content using the S3 presigned URL. If not specified, it will use fileExtension value.

NOTE: Preview is Legacy Code, please use Screenshot for better solution to display preview of a content

func (*Client) DeleteContent deprecated

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

DeleteContent delete content Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [DELETE].

func (*Client) DeleteContentScreenshot deprecated

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

DeleteContentScreenshot delete content's screenshot Delete existing screenshot from a content

func (*Client) DeleteContentScreenshotShort

func (a *Client) DeleteContentScreenshotShort(params *DeleteContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentScreenshotNoContent, error)

DeleteContentScreenshotShort delete content's screenshot Delete existing screenshot from a content

func (*Client) DeleteContentShort

func (a *Client) DeleteContentShort(params *DeleteContentParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentNoContent, error)

DeleteContentShort delete content Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [DELETE].

func (*Client) PublicDeleteContentByShareCode deprecated added in v0.58.0

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

PublicDeleteContentByShareCode delete content by share code Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [DELETE].

func (*Client) PublicDeleteContentByShareCodeShort added in v0.58.0

func (a *Client) PublicDeleteContentByShareCodeShort(params *PublicDeleteContentByShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDeleteContentByShareCodeNoContent, error)

PublicDeleteContentByShareCodeShort delete content by share code Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [DELETE].

func (*Client) PublicDownloadContentByContentID deprecated

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

PublicDownloadContentByContentID get user specific content Public user can access without token or if token specified, requires valid user token

func (*Client) PublicDownloadContentByContentIDShort

func (a *Client) PublicDownloadContentByContentIDShort(params *PublicDownloadContentByContentIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDownloadContentByContentIDOK, error)

PublicDownloadContentByContentIDShort get user specific content Public user can access without token or if token specified, requires valid user token

func (*Client) PublicDownloadContentByShareCode deprecated

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

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

func (*Client) PublicDownloadContentByShareCodeShort

func (a *Client) PublicDownloadContentByShareCodeShort(params *PublicDownloadContentByShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDownloadContentByShareCodeOK, error)

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

func (*Client) PublicDownloadContentPreview deprecated

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

PublicDownloadContentPreview get content preview

Requires valid user token

NOTE: Preview is Legacy Code, please use Screenshot for better solution to display preview of a content

func (*Client) PublicDownloadContentPreviewShort

func (a *Client) PublicDownloadContentPreviewShort(params *PublicDownloadContentPreviewParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDownloadContentPreviewOK, error)

PublicDownloadContentPreviewShort get content preview

Requires valid user token

NOTE: Preview is Legacy Code, please use Screenshot for better solution to display preview of a content

func (*Client) PublicGetContentBulk deprecated

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

PublicGetContentBulk 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) PublicGetContentBulkByShareCodes deprecated added in v0.59.0

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

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

func (*Client) PublicGetContentBulkByShareCodesShort added in v0.59.0

func (a *Client) PublicGetContentBulkByShareCodesShort(params *PublicGetContentBulkByShareCodesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentBulkByShareCodesOK, error)

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

func (*Client) PublicGetContentBulkShort

func (a *Client) PublicGetContentBulkShort(params *PublicGetContentBulkParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentBulkOK, error)

PublicGetContentBulkShort 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) PublicGetUserContent deprecated

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

PublicGetUserContent get user's generated contents Public user can access without token or if token specified, required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [READ].

func (*Client) PublicGetUserContentShort

func (a *Client) PublicGetUserContentShort(params *PublicGetUserContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserContentOK, error)

PublicGetUserContentShort get user's generated contents Public user can access without token or if token specified, required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [READ].

func (*Client) PublicSearchContent deprecated

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

PublicSearchContent search contents Public user can access without token or if token specified, requires valid user token.

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) PublicSearchContentShort

func (a *Client) PublicSearchContentShort(params *PublicSearchContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSearchContentOK, error)

PublicSearchContentShort search contents Public user can access without token or if token specified, requires valid user token.

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) PublicUpdateContentByShareCode deprecated added in v0.58.0

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

PublicUpdateContentByShareCode update content to s3 bucket by share code Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE].

All request body are required except `payload`, `preview`, `tags`,`contentType`, `updateContentFile`, `customAttributes` and `shareCode`.

`contentType` values is used to enforce the Content-Type header needed by the client to upload the content using the S3 presigned URL.

If not specified, it will use `fileExtension` value.

To update content file, set `updateContentFile` to `true` and upload the file using URL in `payloadURL.url` in response body.

NOTE: Preview is Legacy Code, please use Screenshot for better solution to display preview of a content

func (*Client) PublicUpdateContentByShareCodeShort added in v0.58.0

func (a *Client) PublicUpdateContentByShareCodeShort(params *PublicUpdateContentByShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateContentByShareCodeOK, error)

PublicUpdateContentByShareCodeShort update content to s3 bucket by share code Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE].

All request body are required except `payload`, `preview`, `tags`,`contentType`, `updateContentFile`, `customAttributes` and `shareCode`.

`contentType` values is used to enforce the Content-Type header needed by the client to upload the content using the S3 presigned URL.

If not specified, it will use `fileExtension` value.

To update content file, set `updateContentFile` to `true` and upload the file using URL in `payloadURL.url` in response body.

NOTE: Preview is Legacy Code, please use Screenshot for better solution to display preview of a content

func (*Client) SearchChannelSpecificContent deprecated

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

SearchChannelSpecificContent search contents specific to a channel Requires valid user token.

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) SearchChannelSpecificContentShort

func (a *Client) SearchChannelSpecificContentShort(params *SearchChannelSpecificContentParams, authInfo runtime.ClientAuthInfoWriter) (*SearchChannelSpecificContentOK, error)

SearchChannelSpecificContentShort search contents specific to a channel Requires valid user token.

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) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateContentDirect deprecated

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

UpdateContentDirect update content to a channel Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE].

All request body are required except preview, tags and customAttributes.

func (*Client) UpdateContentDirectShort

func (a *Client) UpdateContentDirectShort(params *UpdateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentDirectOK, error)

UpdateContentDirectShort update content to a channel Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE].

All request body are required except preview, tags and customAttributes.

func (*Client) UpdateContentS3 deprecated

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

UpdateContentS3 update content to s3 bucket Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE]. All request body are required except payload, preview, tags, contentType, updateContentFile and customAttributes. contentType values is used to enforce the Content-Type header needed by the client to upload the content using the S3 presigned URL. If not specified, it will use fileExtension value. To update content's file, set `updateContentFile` to `true` and upload the file using URL in `payloadURL.url` in response body.

NOTE: Preview is Legacy Code, please use Screenshot for better solution to display preview of a content

func (*Client) UpdateContentS3Short

func (a *Client) UpdateContentS3Short(params *UpdateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentS3OK, error)

UpdateContentS3Short update content to s3 bucket Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE]. All request body are required except payload, preview, tags, contentType, updateContentFile and customAttributes. contentType values is used to enforce the Content-Type header needed by the client to upload the content using the S3 presigned URL. If not specified, it will use fileExtension value. To update content's file, set `updateContentFile` to `true` and upload the file using URL in `payloadURL.url` in response body.

NOTE: Preview is Legacy Code, please use Screenshot for better solution to display preview of a content

func (*Client) UpdateContentShareCode deprecated added in v0.59.0

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

UpdateContentShareCode update content sharecode Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT:SHARECODE [UPDATE].

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) UpdateContentShareCodeShort added in v0.59.0

func (a *Client) UpdateContentShareCodeShort(params *UpdateContentShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentShareCodeOK, error)

UpdateContentShareCodeShort update content sharecode Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT:SHARECODE [UPDATE].

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) UpdateScreenshots deprecated

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

UpdateScreenshots update screenshot of content Maximum description length: 1024

func (*Client) UpdateScreenshotsShort

func (a *Client) UpdateScreenshotsShort(params *UpdateScreenshotsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateScreenshotsOK, error)

UpdateScreenshotsShort update screenshot of content Maximum description length: 1024

func (*Client) UploadContentScreenshot deprecated

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

UploadContentScreenshot upload screenshots for content All request body are required except for *contentType* field. *contentType* values is used to enforce the *Content-Type* header needed by the client to upload the content using the presigned URL. If not specified, it will use *fileExtension* value. Supported file extensions: *pjp*, *jpg*, *jpeg*, *jfif*, *bmp*, *png*. Maximum description length: 1024

func (*Client) UploadContentScreenshotShort

func (a *Client) UploadContentScreenshotShort(params *UploadContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*UploadContentScreenshotCreated, error)

UploadContentScreenshotShort upload screenshots for content All request body are required except for *contentType* field. *contentType* values is used to enforce the *Content-Type* header needed by the client to upload the content using the presigned URL. If 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 {
	SearchChannelSpecificContent(params *SearchChannelSpecificContentParams, authInfo runtime.ClientAuthInfoWriter) (*SearchChannelSpecificContentOK, *SearchChannelSpecificContentBadRequest, *SearchChannelSpecificContentUnauthorized, *SearchChannelSpecificContentInternalServerError, error)
	SearchChannelSpecificContentShort(params *SearchChannelSpecificContentParams, authInfo runtime.ClientAuthInfoWriter) (*SearchChannelSpecificContentOK, error)
	PublicSearchContent(params *PublicSearchContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSearchContentOK, *PublicSearchContentBadRequest, *PublicSearchContentUnauthorized, *PublicSearchContentInternalServerError, error)
	PublicSearchContentShort(params *PublicSearchContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSearchContentOK, error)
	PublicGetContentBulk(params *PublicGetContentBulkParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentBulkOK, *PublicGetContentBulkBadRequest, *PublicGetContentBulkUnauthorized, *PublicGetContentBulkInternalServerError, error)
	PublicGetContentBulkShort(params *PublicGetContentBulkParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentBulkOK, error)
	PublicGetContentBulkByShareCodes(params *PublicGetContentBulkByShareCodesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentBulkByShareCodesOK, *PublicGetContentBulkByShareCodesBadRequest, *PublicGetContentBulkByShareCodesUnauthorized, *PublicGetContentBulkByShareCodesForbidden, *PublicGetContentBulkByShareCodesInternalServerError, error)
	PublicGetContentBulkByShareCodesShort(params *PublicGetContentBulkByShareCodesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentBulkByShareCodesOK, error)
	PublicDownloadContentByShareCode(params *PublicDownloadContentByShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDownloadContentByShareCodeOK, *PublicDownloadContentByShareCodeUnauthorized, *PublicDownloadContentByShareCodeNotFound, *PublicDownloadContentByShareCodeInternalServerError, error)
	PublicDownloadContentByShareCodeShort(params *PublicDownloadContentByShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDownloadContentByShareCodeOK, error)
	PublicDownloadContentByContentID(params *PublicDownloadContentByContentIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDownloadContentByContentIDOK, *PublicDownloadContentByContentIDUnauthorized, *PublicDownloadContentByContentIDNotFound, *PublicDownloadContentByContentIDInternalServerError, error)
	PublicDownloadContentByContentIDShort(params *PublicDownloadContentByContentIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDownloadContentByContentIDOK, error)
	PublicDownloadContentPreview(params *PublicDownloadContentPreviewParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDownloadContentPreviewOK, *PublicDownloadContentPreviewUnauthorized, *PublicDownloadContentPreviewNotFound, *PublicDownloadContentPreviewInternalServerError, error)
	PublicDownloadContentPreviewShort(params *PublicDownloadContentPreviewParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDownloadContentPreviewOK, error)
	CreateContentDirect(params *CreateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*CreateContentDirectCreated, *CreateContentDirectBadRequest, *CreateContentDirectUnauthorized, *CreateContentDirectForbidden, *CreateContentDirectInternalServerError, error)
	CreateContentDirectShort(params *CreateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*CreateContentDirectCreated, error)
	CreateContentS3(params *CreateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*CreateContentS3Created, *CreateContentS3BadRequest, *CreateContentS3Unauthorized, *CreateContentS3Forbidden, *CreateContentS3InternalServerError, error)
	CreateContentS3Short(params *CreateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*CreateContentS3Created, error)
	PublicUpdateContentByShareCode(params *PublicUpdateContentByShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateContentByShareCodeOK, *PublicUpdateContentByShareCodeBadRequest, *PublicUpdateContentByShareCodeUnauthorized, *PublicUpdateContentByShareCodeForbidden, *PublicUpdateContentByShareCodeNotFound, *PublicUpdateContentByShareCodeConflict, *PublicUpdateContentByShareCodeInternalServerError, error)
	PublicUpdateContentByShareCodeShort(params *PublicUpdateContentByShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateContentByShareCodeOK, error)
	UpdateContentS3(params *UpdateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentS3OK, *UpdateContentS3BadRequest, *UpdateContentS3Unauthorized, *UpdateContentS3Forbidden, *UpdateContentS3NotFound, *UpdateContentS3InternalServerError, error)
	UpdateContentS3Short(params *UpdateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentS3OK, error)
	PublicDeleteContentByShareCode(params *PublicDeleteContentByShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDeleteContentByShareCodeNoContent, *PublicDeleteContentByShareCodeUnauthorized, *PublicDeleteContentByShareCodeNotFound, *PublicDeleteContentByShareCodeInternalServerError, error)
	PublicDeleteContentByShareCodeShort(params *PublicDeleteContentByShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDeleteContentByShareCodeNoContent, error)
	UpdateContentDirect(params *UpdateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentDirectOK, *UpdateContentDirectBadRequest, *UpdateContentDirectUnauthorized, *UpdateContentDirectForbidden, *UpdateContentDirectNotFound, *UpdateContentDirectInternalServerError, error)
	UpdateContentDirectShort(params *UpdateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentDirectOK, error)
	DeleteContent(params *DeleteContentParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentNoContent, *DeleteContentUnauthorized, *DeleteContentNotFound, *DeleteContentInternalServerError, error)
	DeleteContentShort(params *DeleteContentParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentNoContent, error)
	UpdateContentShareCode(params *UpdateContentShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentShareCodeOK, *UpdateContentShareCodeBadRequest, *UpdateContentShareCodeUnauthorized, *UpdateContentShareCodeForbidden, *UpdateContentShareCodeNotFound, *UpdateContentShareCodeConflict, *UpdateContentShareCodeInternalServerError, error)
	UpdateContentShareCodeShort(params *UpdateContentShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentShareCodeOK, error)
	PublicGetUserContent(params *PublicGetUserContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserContentOK, *PublicGetUserContentBadRequest, *PublicGetUserContentUnauthorized, *PublicGetUserContentInternalServerError, error)
	PublicGetUserContentShort(params *PublicGetUserContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserContentOK, error)
	UpdateScreenshots(params *UpdateScreenshotsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateScreenshotsOK, *UpdateScreenshotsBadRequest, *UpdateScreenshotsUnauthorized, *UpdateScreenshotsForbidden, *UpdateScreenshotsNotFound, *UpdateScreenshotsInternalServerError, error)
	UpdateScreenshotsShort(params *UpdateScreenshotsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateScreenshotsOK, error)
	UploadContentScreenshot(params *UploadContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*UploadContentScreenshotCreated, *UploadContentScreenshotBadRequest, *UploadContentScreenshotUnauthorized, *UploadContentScreenshotForbidden, *UploadContentScreenshotNotFound, *UploadContentScreenshotInternalServerError, error)
	UploadContentScreenshotShort(params *UploadContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*UploadContentScreenshotCreated, error)
	DeleteContentScreenshot(params *DeleteContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentScreenshotNoContent, *DeleteContentScreenshotBadRequest, *DeleteContentScreenshotUnauthorized, *DeleteContentScreenshotForbidden, *DeleteContentScreenshotNotFound, *DeleteContentScreenshotInternalServerError, error)
	DeleteContentScreenshotShort(params *DeleteContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentScreenshotNoContent, 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 legacy API client.

type CreateContentDirectBadRequest

type CreateContentDirectBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

CreateContentDirectBadRequest 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 NewCreateContentDirectBadRequest

func NewCreateContentDirectBadRequest() *CreateContentDirectBadRequest

NewCreateContentDirectBadRequest creates a CreateContentDirectBadRequest with default headers values

func (*CreateContentDirectBadRequest) Error

func (*CreateContentDirectBadRequest) GetPayload

func (*CreateContentDirectBadRequest) ToJSONString

func (o *CreateContentDirectBadRequest) ToJSONString() string

type CreateContentDirectCreated

type CreateContentDirectCreated struct {
	Payload *ugcclientmodels.ModelsCreateContentResponse
}

CreateContentDirectCreated handles this case with default header values.

Content uploaded

func NewCreateContentDirectCreated

func NewCreateContentDirectCreated() *CreateContentDirectCreated

NewCreateContentDirectCreated creates a CreateContentDirectCreated with default headers values

func (*CreateContentDirectCreated) Error

func (*CreateContentDirectCreated) GetPayload

func (*CreateContentDirectCreated) ToJSONString

func (o *CreateContentDirectCreated) ToJSONString() string

type CreateContentDirectForbidden added in v0.60.0

type CreateContentDirectForbidden struct {
	Payload *ugcclientmodels.ResponseError
}

CreateContentDirectForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770104</td><td>User has been banned to create content</td></tr></table>

func NewCreateContentDirectForbidden added in v0.60.0

func NewCreateContentDirectForbidden() *CreateContentDirectForbidden

NewCreateContentDirectForbidden creates a CreateContentDirectForbidden with default headers values

func (*CreateContentDirectForbidden) Error added in v0.60.0

func (*CreateContentDirectForbidden) GetPayload added in v0.60.0

func (*CreateContentDirectForbidden) ToJSONString added in v0.60.0

func (o *CreateContentDirectForbidden) ToJSONString() string

type CreateContentDirectInternalServerError

type CreateContentDirectInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

CreateContentDirectInternalServerError 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>770103</td><td>Unable to save ugc content: shareCode exceed the limit</td></tr></table>

func NewCreateContentDirectInternalServerError

func NewCreateContentDirectInternalServerError() *CreateContentDirectInternalServerError

NewCreateContentDirectInternalServerError creates a CreateContentDirectInternalServerError with default headers values

func (*CreateContentDirectInternalServerError) Error

func (*CreateContentDirectInternalServerError) GetPayload

func (*CreateContentDirectInternalServerError) ToJSONString

type CreateContentDirectParams

type CreateContentDirectParams struct {

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

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

func NewCreateContentDirectParams

func NewCreateContentDirectParams() *CreateContentDirectParams

NewCreateContentDirectParams creates a new CreateContentDirectParams object with the default values initialized.

func NewCreateContentDirectParamsWithContext

func NewCreateContentDirectParamsWithContext(ctx context.Context) *CreateContentDirectParams

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

func NewCreateContentDirectParamsWithHTTPClient

func NewCreateContentDirectParamsWithHTTPClient(client *http.Client) *CreateContentDirectParams

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

func NewCreateContentDirectParamsWithTimeout

func NewCreateContentDirectParamsWithTimeout(timeout time.Duration) *CreateContentDirectParams

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

func (*CreateContentDirectParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the create content direct params

func (*CreateContentDirectParams) SetBody

SetBody adds the body to the create content direct params

func (*CreateContentDirectParams) SetChannelID

func (o *CreateContentDirectParams) SetChannelID(channelID string)

SetChannelID adds the channelId to the create content direct params

func (*CreateContentDirectParams) SetContext

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

SetContext adds the context to the create content direct params

func (*CreateContentDirectParams) SetFlightId added in v0.63.0

func (o *CreateContentDirectParams) SetFlightId(flightId string)

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

func (*CreateContentDirectParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create content direct params

func (*CreateContentDirectParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the create content direct params

func (*CreateContentDirectParams) SetNamespace

func (o *CreateContentDirectParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the create content direct params

func (*CreateContentDirectParams) SetTimeout

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

SetTimeout adds the timeout to the create content direct params

func (*CreateContentDirectParams) SetUserID

func (o *CreateContentDirectParams) SetUserID(userID string)

SetUserID adds the userId to the create content direct params

func (*CreateContentDirectParams) WithBody

WithBody adds the body to the create content direct params

func (*CreateContentDirectParams) WithChannelID

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

WithChannelID adds the channelID to the create content direct params

func (*CreateContentDirectParams) WithContext

WithContext adds the context to the create content direct params

func (*CreateContentDirectParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create content direct params

func (*CreateContentDirectParams) WithNamespace

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

WithNamespace adds the namespace to the create content direct params

func (*CreateContentDirectParams) WithTimeout

WithTimeout adds the timeout to the create content direct params

func (*CreateContentDirectParams) WithUserID

WithUserID adds the userID to the create content direct params

func (*CreateContentDirectParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateContentDirectReader

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

CreateContentDirectReader is a Reader for the CreateContentDirect structure.

func (*CreateContentDirectReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateContentDirectUnauthorized

type CreateContentDirectUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

CreateContentDirectUnauthorized 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 NewCreateContentDirectUnauthorized

func NewCreateContentDirectUnauthorized() *CreateContentDirectUnauthorized

NewCreateContentDirectUnauthorized creates a CreateContentDirectUnauthorized with default headers values

func (*CreateContentDirectUnauthorized) Error

func (*CreateContentDirectUnauthorized) GetPayload

func (*CreateContentDirectUnauthorized) ToJSONString

func (o *CreateContentDirectUnauthorized) ToJSONString() string

type CreateContentS3BadRequest

type CreateContentS3BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

CreateContentS3BadRequest 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><tr><td>770102</td><td>Unable to check user ban status/Unable to save ugc content: unable to get channel</td></tr></table>

func NewCreateContentS3BadRequest

func NewCreateContentS3BadRequest() *CreateContentS3BadRequest

NewCreateContentS3BadRequest creates a CreateContentS3BadRequest with default headers values

func (*CreateContentS3BadRequest) Error

func (o *CreateContentS3BadRequest) Error() string

func (*CreateContentS3BadRequest) GetPayload

func (*CreateContentS3BadRequest) ToJSONString

func (o *CreateContentS3BadRequest) ToJSONString() string

type CreateContentS3Created

type CreateContentS3Created struct {
	Payload *ugcclientmodels.ModelsCreateContentResponse
}

CreateContentS3Created handles this case with default header values.

Content uploaded to S3 bucket

func NewCreateContentS3Created

func NewCreateContentS3Created() *CreateContentS3Created

NewCreateContentS3Created creates a CreateContentS3Created with default headers values

func (*CreateContentS3Created) Error

func (o *CreateContentS3Created) Error() string

func (*CreateContentS3Created) GetPayload

func (*CreateContentS3Created) ToJSONString

func (o *CreateContentS3Created) ToJSONString() string

type CreateContentS3Forbidden added in v0.60.0

type CreateContentS3Forbidden struct {
	Payload *ugcclientmodels.ResponseError
}

CreateContentS3Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770104</td><td>User has been banned to create content</td></tr></table>

func NewCreateContentS3Forbidden added in v0.60.0

func NewCreateContentS3Forbidden() *CreateContentS3Forbidden

NewCreateContentS3Forbidden creates a CreateContentS3Forbidden with default headers values

func (*CreateContentS3Forbidden) Error added in v0.60.0

func (o *CreateContentS3Forbidden) Error() string

func (*CreateContentS3Forbidden) GetPayload added in v0.60.0

func (*CreateContentS3Forbidden) ToJSONString added in v0.60.0

func (o *CreateContentS3Forbidden) ToJSONString() string

type CreateContentS3InternalServerError

type CreateContentS3InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

CreateContentS3InternalServerError 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 NewCreateContentS3InternalServerError

func NewCreateContentS3InternalServerError() *CreateContentS3InternalServerError

NewCreateContentS3InternalServerError creates a CreateContentS3InternalServerError with default headers values

func (*CreateContentS3InternalServerError) Error

func (*CreateContentS3InternalServerError) GetPayload

func (*CreateContentS3InternalServerError) ToJSONString

func (o *CreateContentS3InternalServerError) ToJSONString() string

type CreateContentS3Params

type CreateContentS3Params struct {

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

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

func NewCreateContentS3Params

func NewCreateContentS3Params() *CreateContentS3Params

NewCreateContentS3Params creates a new CreateContentS3Params object with the default values initialized.

func NewCreateContentS3ParamsWithContext

func NewCreateContentS3ParamsWithContext(ctx context.Context) *CreateContentS3Params

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

func NewCreateContentS3ParamsWithHTTPClient

func NewCreateContentS3ParamsWithHTTPClient(client *http.Client) *CreateContentS3Params

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

func NewCreateContentS3ParamsWithTimeout

func NewCreateContentS3ParamsWithTimeout(timeout time.Duration) *CreateContentS3Params

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

func (*CreateContentS3Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the create content s3 params

func (*CreateContentS3Params) SetBody

SetBody adds the body to the create content s3 params

func (*CreateContentS3Params) SetChannelID

func (o *CreateContentS3Params) SetChannelID(channelID string)

SetChannelID adds the channelId to the create content s3 params

func (*CreateContentS3Params) SetContext

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

SetContext adds the context to the create content s3 params

func (*CreateContentS3Params) SetFlightId added in v0.63.0

func (o *CreateContentS3Params) SetFlightId(flightId string)

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

func (*CreateContentS3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create content s3 params

func (*CreateContentS3Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the create content s3 params

func (*CreateContentS3Params) SetNamespace

func (o *CreateContentS3Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the create content s3 params

func (*CreateContentS3Params) SetTimeout

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

SetTimeout adds the timeout to the create content s3 params

func (*CreateContentS3Params) SetUserID

func (o *CreateContentS3Params) SetUserID(userID string)

SetUserID adds the userId to the create content s3 params

func (*CreateContentS3Params) WithBody

WithBody adds the body to the create content s3 params

func (*CreateContentS3Params) WithChannelID

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

WithChannelID adds the channelID to the create content s3 params

func (*CreateContentS3Params) WithContext

WithContext adds the context to the create content s3 params

func (*CreateContentS3Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create content s3 params

func (*CreateContentS3Params) WithNamespace

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

WithNamespace adds the namespace to the create content s3 params

func (*CreateContentS3Params) WithTimeout

func (o *CreateContentS3Params) WithTimeout(timeout time.Duration) *CreateContentS3Params

WithTimeout adds the timeout to the create content s3 params

func (*CreateContentS3Params) WithUserID

func (o *CreateContentS3Params) WithUserID(userID string) *CreateContentS3Params

WithUserID adds the userID to the create content s3 params

func (*CreateContentS3Params) WriteToRequest

func (o *CreateContentS3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateContentS3Reader

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

CreateContentS3Reader is a Reader for the CreateContentS3 structure.

func (*CreateContentS3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateContentS3Unauthorized

type CreateContentS3Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

CreateContentS3Unauthorized 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 NewCreateContentS3Unauthorized

func NewCreateContentS3Unauthorized() *CreateContentS3Unauthorized

NewCreateContentS3Unauthorized creates a CreateContentS3Unauthorized with default headers values

func (*CreateContentS3Unauthorized) Error

func (*CreateContentS3Unauthorized) GetPayload

func (*CreateContentS3Unauthorized) ToJSONString

func (o *CreateContentS3Unauthorized) ToJSONString() string

type DeleteContentInternalServerError

type DeleteContentInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

DeleteContentInternalServerError 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 NewDeleteContentInternalServerError

func NewDeleteContentInternalServerError() *DeleteContentInternalServerError

NewDeleteContentInternalServerError creates a DeleteContentInternalServerError with default headers values

func (*DeleteContentInternalServerError) Error

func (*DeleteContentInternalServerError) GetPayload

func (*DeleteContentInternalServerError) ToJSONString

func (o *DeleteContentInternalServerError) ToJSONString() string

type DeleteContentNoContent

type DeleteContentNoContent struct {
}

DeleteContentNoContent handles this case with default header values.

Content deleted

func NewDeleteContentNoContent

func NewDeleteContentNoContent() *DeleteContentNoContent

NewDeleteContentNoContent creates a DeleteContentNoContent with default headers values

func (*DeleteContentNoContent) Error

func (o *DeleteContentNoContent) Error() string

type DeleteContentNotFound

type DeleteContentNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

DeleteContentNotFound 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 NewDeleteContentNotFound

func NewDeleteContentNotFound() *DeleteContentNotFound

NewDeleteContentNotFound creates a DeleteContentNotFound with default headers values

func (*DeleteContentNotFound) Error

func (o *DeleteContentNotFound) Error() string

func (*DeleteContentNotFound) GetPayload

func (*DeleteContentNotFound) ToJSONString

func (o *DeleteContentNotFound) ToJSONString() string

type DeleteContentParams

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

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

func NewDeleteContentParams

func NewDeleteContentParams() *DeleteContentParams

NewDeleteContentParams creates a new DeleteContentParams object with the default values initialized.

func NewDeleteContentParamsWithContext

func NewDeleteContentParamsWithContext(ctx context.Context) *DeleteContentParams

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

func NewDeleteContentParamsWithHTTPClient

func NewDeleteContentParamsWithHTTPClient(client *http.Client) *DeleteContentParams

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

func NewDeleteContentParamsWithTimeout

func NewDeleteContentParamsWithTimeout(timeout time.Duration) *DeleteContentParams

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

func (*DeleteContentParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the delete content params

func (*DeleteContentParams) SetChannelID

func (o *DeleteContentParams) SetChannelID(channelID string)

SetChannelID adds the channelId to the delete content params

func (*DeleteContentParams) SetContentID

func (o *DeleteContentParams) SetContentID(contentID string)

SetContentID adds the contentId to the delete content params

func (*DeleteContentParams) SetContext

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

SetContext adds the context to the delete content params

func (*DeleteContentParams) SetFlightId added in v0.63.0

func (o *DeleteContentParams) SetFlightId(flightId string)

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

func (*DeleteContentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete content params

func (*DeleteContentParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the delete content params

func (*DeleteContentParams) SetNamespace

func (o *DeleteContentParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete content params

func (*DeleteContentParams) SetTimeout

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

SetTimeout adds the timeout to the delete content params

func (*DeleteContentParams) SetUserID

func (o *DeleteContentParams) SetUserID(userID string)

SetUserID adds the userId to the delete content params

func (*DeleteContentParams) WithChannelID

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

WithChannelID adds the channelID to the delete content params

func (*DeleteContentParams) WithContentID

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

WithContentID adds the contentID to the delete content params

func (*DeleteContentParams) WithContext

WithContext adds the context to the delete content params

func (*DeleteContentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete content params

func (*DeleteContentParams) WithNamespace

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

WithNamespace adds the namespace to the delete content params

func (*DeleteContentParams) WithTimeout

func (o *DeleteContentParams) WithTimeout(timeout time.Duration) *DeleteContentParams

WithTimeout adds the timeout to the delete content params

func (*DeleteContentParams) WithUserID

func (o *DeleteContentParams) WithUserID(userID string) *DeleteContentParams

WithUserID adds the userID to the delete content params

func (*DeleteContentParams) WriteToRequest

func (o *DeleteContentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteContentReader

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

DeleteContentReader is a Reader for the DeleteContent structure.

func (*DeleteContentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteContentScreenshotBadRequest

type DeleteContentScreenshotBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

DeleteContentScreenshotBadRequest 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 NewDeleteContentScreenshotBadRequest

func NewDeleteContentScreenshotBadRequest() *DeleteContentScreenshotBadRequest

NewDeleteContentScreenshotBadRequest creates a DeleteContentScreenshotBadRequest with default headers values

func (*DeleteContentScreenshotBadRequest) Error

func (*DeleteContentScreenshotBadRequest) GetPayload

func (*DeleteContentScreenshotBadRequest) ToJSONString

func (o *DeleteContentScreenshotBadRequest) ToJSONString() string

type DeleteContentScreenshotForbidden added in v0.60.0

type DeleteContentScreenshotForbidden struct {
	Payload *ugcclientmodels.ResponseError
}

DeleteContentScreenshotForbidden 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 NewDeleteContentScreenshotForbidden added in v0.60.0

func NewDeleteContentScreenshotForbidden() *DeleteContentScreenshotForbidden

NewDeleteContentScreenshotForbidden creates a DeleteContentScreenshotForbidden with default headers values

func (*DeleteContentScreenshotForbidden) Error added in v0.60.0

func (*DeleteContentScreenshotForbidden) GetPayload added in v0.60.0

func (*DeleteContentScreenshotForbidden) ToJSONString added in v0.60.0

func (o *DeleteContentScreenshotForbidden) ToJSONString() string

type DeleteContentScreenshotInternalServerError

type DeleteContentScreenshotInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

DeleteContentScreenshotInternalServerError 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 NewDeleteContentScreenshotInternalServerError

func NewDeleteContentScreenshotInternalServerError() *DeleteContentScreenshotInternalServerError

NewDeleteContentScreenshotInternalServerError creates a DeleteContentScreenshotInternalServerError with default headers values

func (*DeleteContentScreenshotInternalServerError) Error

func (*DeleteContentScreenshotInternalServerError) GetPayload

func (*DeleteContentScreenshotInternalServerError) ToJSONString

type DeleteContentScreenshotNoContent

type DeleteContentScreenshotNoContent struct {
}

DeleteContentScreenshotNoContent handles this case with default header values.

Screenshot deleted

func NewDeleteContentScreenshotNoContent

func NewDeleteContentScreenshotNoContent() *DeleteContentScreenshotNoContent

NewDeleteContentScreenshotNoContent creates a DeleteContentScreenshotNoContent with default headers values

func (*DeleteContentScreenshotNoContent) Error

type DeleteContentScreenshotNotFound

type DeleteContentScreenshotNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

DeleteContentScreenshotNotFound 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 NewDeleteContentScreenshotNotFound

func NewDeleteContentScreenshotNotFound() *DeleteContentScreenshotNotFound

NewDeleteContentScreenshotNotFound creates a DeleteContentScreenshotNotFound with default headers values

func (*DeleteContentScreenshotNotFound) Error

func (*DeleteContentScreenshotNotFound) GetPayload

func (*DeleteContentScreenshotNotFound) ToJSONString

func (o *DeleteContentScreenshotNotFound) ToJSONString() string

type DeleteContentScreenshotParams

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

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

func NewDeleteContentScreenshotParams

func NewDeleteContentScreenshotParams() *DeleteContentScreenshotParams

NewDeleteContentScreenshotParams creates a new DeleteContentScreenshotParams object with the default values initialized.

func NewDeleteContentScreenshotParamsWithContext

func NewDeleteContentScreenshotParamsWithContext(ctx context.Context) *DeleteContentScreenshotParams

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

func NewDeleteContentScreenshotParamsWithHTTPClient

func NewDeleteContentScreenshotParamsWithHTTPClient(client *http.Client) *DeleteContentScreenshotParams

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

func NewDeleteContentScreenshotParamsWithTimeout

func NewDeleteContentScreenshotParamsWithTimeout(timeout time.Duration) *DeleteContentScreenshotParams

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

func (*DeleteContentScreenshotParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the delete content screenshot params

func (*DeleteContentScreenshotParams) SetContentID

func (o *DeleteContentScreenshotParams) SetContentID(contentID string)

SetContentID adds the contentId to the delete content screenshot params

func (*DeleteContentScreenshotParams) SetContext

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

SetContext adds the context to the delete content screenshot params

func (*DeleteContentScreenshotParams) SetFlightId added in v0.63.0

func (o *DeleteContentScreenshotParams) SetFlightId(flightId string)

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

func (*DeleteContentScreenshotParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete content screenshot params

func (*DeleteContentScreenshotParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the delete content screenshot params

func (*DeleteContentScreenshotParams) SetNamespace

func (o *DeleteContentScreenshotParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete content screenshot params

func (*DeleteContentScreenshotParams) SetScreenshotID

func (o *DeleteContentScreenshotParams) SetScreenshotID(screenshotID string)

SetScreenshotID adds the screenshotId to the delete content screenshot params

func (*DeleteContentScreenshotParams) SetTimeout

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

SetTimeout adds the timeout to the delete content screenshot params

func (*DeleteContentScreenshotParams) SetUserID

func (o *DeleteContentScreenshotParams) SetUserID(userID string)

SetUserID adds the userId to the delete content screenshot params

func (*DeleteContentScreenshotParams) WithContentID

WithContentID adds the contentID to the delete content screenshot params

func (*DeleteContentScreenshotParams) WithContext

WithContext adds the context to the delete content screenshot params

func (*DeleteContentScreenshotParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete content screenshot params

func (*DeleteContentScreenshotParams) WithNamespace

WithNamespace adds the namespace to the delete content screenshot params

func (*DeleteContentScreenshotParams) WithScreenshotID

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

WithScreenshotID adds the screenshotID to the delete content screenshot params

func (*DeleteContentScreenshotParams) WithTimeout

WithTimeout adds the timeout to the delete content screenshot params

func (*DeleteContentScreenshotParams) WithUserID

WithUserID adds the userID to the delete content screenshot params

func (*DeleteContentScreenshotParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteContentScreenshotReader

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

DeleteContentScreenshotReader is a Reader for the DeleteContentScreenshot structure.

func (*DeleteContentScreenshotReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteContentScreenshotUnauthorized

type DeleteContentScreenshotUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

DeleteContentScreenshotUnauthorized 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 NewDeleteContentScreenshotUnauthorized

func NewDeleteContentScreenshotUnauthorized() *DeleteContentScreenshotUnauthorized

NewDeleteContentScreenshotUnauthorized creates a DeleteContentScreenshotUnauthorized with default headers values

func (*DeleteContentScreenshotUnauthorized) Error

func (*DeleteContentScreenshotUnauthorized) GetPayload

func (*DeleteContentScreenshotUnauthorized) ToJSONString

func (o *DeleteContentScreenshotUnauthorized) ToJSONString() string

type DeleteContentUnauthorized

type DeleteContentUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

DeleteContentUnauthorized 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 NewDeleteContentUnauthorized

func NewDeleteContentUnauthorized() *DeleteContentUnauthorized

NewDeleteContentUnauthorized creates a DeleteContentUnauthorized with default headers values

func (*DeleteContentUnauthorized) Error

func (o *DeleteContentUnauthorized) Error() string

func (*DeleteContentUnauthorized) GetPayload

func (*DeleteContentUnauthorized) ToJSONString

func (o *DeleteContentUnauthorized) ToJSONString() string

type PublicDeleteContentByShareCodeInternalServerError added in v0.58.0

type PublicDeleteContentByShareCodeInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

PublicDeleteContentByShareCodeInternalServerError 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 NewPublicDeleteContentByShareCodeInternalServerError added in v0.58.0

func NewPublicDeleteContentByShareCodeInternalServerError() *PublicDeleteContentByShareCodeInternalServerError

NewPublicDeleteContentByShareCodeInternalServerError creates a PublicDeleteContentByShareCodeInternalServerError with default headers values

func (*PublicDeleteContentByShareCodeInternalServerError) Error added in v0.58.0

func (*PublicDeleteContentByShareCodeInternalServerError) GetPayload added in v0.58.0

func (*PublicDeleteContentByShareCodeInternalServerError) ToJSONString added in v0.58.0

type PublicDeleteContentByShareCodeNoContent added in v0.58.0

type PublicDeleteContentByShareCodeNoContent struct {
}

PublicDeleteContentByShareCodeNoContent handles this case with default header values.

Content deleted

func NewPublicDeleteContentByShareCodeNoContent added in v0.58.0

func NewPublicDeleteContentByShareCodeNoContent() *PublicDeleteContentByShareCodeNoContent

NewPublicDeleteContentByShareCodeNoContent creates a PublicDeleteContentByShareCodeNoContent with default headers values

func (*PublicDeleteContentByShareCodeNoContent) Error added in v0.58.0

type PublicDeleteContentByShareCodeNotFound added in v0.58.0

type PublicDeleteContentByShareCodeNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

PublicDeleteContentByShareCodeNotFound 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 NewPublicDeleteContentByShareCodeNotFound added in v0.58.0

func NewPublicDeleteContentByShareCodeNotFound() *PublicDeleteContentByShareCodeNotFound

NewPublicDeleteContentByShareCodeNotFound creates a PublicDeleteContentByShareCodeNotFound with default headers values

func (*PublicDeleteContentByShareCodeNotFound) Error added in v0.58.0

func (*PublicDeleteContentByShareCodeNotFound) GetPayload added in v0.58.0

func (*PublicDeleteContentByShareCodeNotFound) ToJSONString added in v0.58.0

type PublicDeleteContentByShareCodeParams added in v0.58.0

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

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

func NewPublicDeleteContentByShareCodeParams added in v0.58.0

func NewPublicDeleteContentByShareCodeParams() *PublicDeleteContentByShareCodeParams

NewPublicDeleteContentByShareCodeParams creates a new PublicDeleteContentByShareCodeParams object with the default values initialized.

func NewPublicDeleteContentByShareCodeParamsWithContext added in v0.58.0

func NewPublicDeleteContentByShareCodeParamsWithContext(ctx context.Context) *PublicDeleteContentByShareCodeParams

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

func NewPublicDeleteContentByShareCodeParamsWithHTTPClient added in v0.58.0

func NewPublicDeleteContentByShareCodeParamsWithHTTPClient(client *http.Client) *PublicDeleteContentByShareCodeParams

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

func NewPublicDeleteContentByShareCodeParamsWithTimeout added in v0.58.0

func NewPublicDeleteContentByShareCodeParamsWithTimeout(timeout time.Duration) *PublicDeleteContentByShareCodeParams

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

func (*PublicDeleteContentByShareCodeParams) SetAuthInfoWriter added in v0.58.0

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

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

func (*PublicDeleteContentByShareCodeParams) SetChannelID added in v0.58.0

func (o *PublicDeleteContentByShareCodeParams) SetChannelID(channelID string)

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

func (*PublicDeleteContentByShareCodeParams) SetContext added in v0.58.0

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

func (*PublicDeleteContentByShareCodeParams) SetFlightId added in v0.63.0

func (o *PublicDeleteContentByShareCodeParams) SetFlightId(flightId string)

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

func (*PublicDeleteContentByShareCodeParams) SetHTTPClient added in v0.58.0

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

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

func (*PublicDeleteContentByShareCodeParams) SetHTTPClientTransport added in v0.58.0

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

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

func (*PublicDeleteContentByShareCodeParams) SetNamespace added in v0.58.0

func (o *PublicDeleteContentByShareCodeParams) SetNamespace(namespace string)

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

func (*PublicDeleteContentByShareCodeParams) SetShareCode added in v0.58.0

func (o *PublicDeleteContentByShareCodeParams) SetShareCode(shareCode string)

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

func (*PublicDeleteContentByShareCodeParams) SetTimeout added in v0.58.0

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

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

func (*PublicDeleteContentByShareCodeParams) SetUserID added in v0.58.0

func (o *PublicDeleteContentByShareCodeParams) SetUserID(userID string)

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

func (*PublicDeleteContentByShareCodeParams) WithChannelID added in v0.58.0

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

func (*PublicDeleteContentByShareCodeParams) WithContext added in v0.58.0

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

func (*PublicDeleteContentByShareCodeParams) WithHTTPClient added in v0.58.0

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

func (*PublicDeleteContentByShareCodeParams) WithNamespace added in v0.58.0

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

func (*PublicDeleteContentByShareCodeParams) WithShareCode added in v0.58.0

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

func (*PublicDeleteContentByShareCodeParams) WithTimeout added in v0.58.0

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

func (*PublicDeleteContentByShareCodeParams) WithUserID added in v0.58.0

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

func (*PublicDeleteContentByShareCodeParams) WriteToRequest added in v0.58.0

WriteToRequest writes these params to a swagger request

type PublicDeleteContentByShareCodeReader added in v0.58.0

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

PublicDeleteContentByShareCodeReader is a Reader for the PublicDeleteContentByShareCode structure.

func (*PublicDeleteContentByShareCodeReader) ReadResponse added in v0.58.0

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

ReadResponse reads a server response into the received o.

type PublicDeleteContentByShareCodeUnauthorized added in v0.58.0

type PublicDeleteContentByShareCodeUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

PublicDeleteContentByShareCodeUnauthorized 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 NewPublicDeleteContentByShareCodeUnauthorized added in v0.58.0

func NewPublicDeleteContentByShareCodeUnauthorized() *PublicDeleteContentByShareCodeUnauthorized

NewPublicDeleteContentByShareCodeUnauthorized creates a PublicDeleteContentByShareCodeUnauthorized with default headers values

func (*PublicDeleteContentByShareCodeUnauthorized) Error added in v0.58.0

func (*PublicDeleteContentByShareCodeUnauthorized) GetPayload added in v0.58.0

func (*PublicDeleteContentByShareCodeUnauthorized) ToJSONString added in v0.58.0

type PublicDownloadContentByContentIDInternalServerError

type PublicDownloadContentByContentIDInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

PublicDownloadContentByContentIDInternalServerError 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>773203</td><td>Failed generate download URL</td></tr></table>

func NewPublicDownloadContentByContentIDInternalServerError

func NewPublicDownloadContentByContentIDInternalServerError() *PublicDownloadContentByContentIDInternalServerError

NewPublicDownloadContentByContentIDInternalServerError creates a PublicDownloadContentByContentIDInternalServerError with default headers values

func (*PublicDownloadContentByContentIDInternalServerError) Error

func (*PublicDownloadContentByContentIDInternalServerError) GetPayload

func (*PublicDownloadContentByContentIDInternalServerError) ToJSONString

type PublicDownloadContentByContentIDNotFound

type PublicDownloadContentByContentIDNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

PublicDownloadContentByContentIDNotFound 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 NewPublicDownloadContentByContentIDNotFound

func NewPublicDownloadContentByContentIDNotFound() *PublicDownloadContentByContentIDNotFound

NewPublicDownloadContentByContentIDNotFound creates a PublicDownloadContentByContentIDNotFound with default headers values

func (*PublicDownloadContentByContentIDNotFound) Error

func (*PublicDownloadContentByContentIDNotFound) GetPayload

func (*PublicDownloadContentByContentIDNotFound) ToJSONString

type PublicDownloadContentByContentIDOK

type PublicDownloadContentByContentIDOK struct {
	Payload *ugcclientmodels.ModelsContentDownloadResponse
}

PublicDownloadContentByContentIDOK handles this case with default header values.

Get user specific content

func NewPublicDownloadContentByContentIDOK

func NewPublicDownloadContentByContentIDOK() *PublicDownloadContentByContentIDOK

NewPublicDownloadContentByContentIDOK creates a PublicDownloadContentByContentIDOK with default headers values

func (*PublicDownloadContentByContentIDOK) Error

func (*PublicDownloadContentByContentIDOK) GetPayload

func (*PublicDownloadContentByContentIDOK) ToJSONString

func (o *PublicDownloadContentByContentIDOK) ToJSONString() string

type PublicDownloadContentByContentIDParams

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

PublicDownloadContentByContentIDParams contains all the parameters to send to the API endpoint for the public download content by content id operation typically these are written to a http.Request

func NewPublicDownloadContentByContentIDParams

func NewPublicDownloadContentByContentIDParams() *PublicDownloadContentByContentIDParams

NewPublicDownloadContentByContentIDParams creates a new PublicDownloadContentByContentIDParams object with the default values initialized.

func NewPublicDownloadContentByContentIDParamsWithContext

func NewPublicDownloadContentByContentIDParamsWithContext(ctx context.Context) *PublicDownloadContentByContentIDParams

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

func NewPublicDownloadContentByContentIDParamsWithHTTPClient

func NewPublicDownloadContentByContentIDParamsWithHTTPClient(client *http.Client) *PublicDownloadContentByContentIDParams

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

func NewPublicDownloadContentByContentIDParamsWithTimeout

func NewPublicDownloadContentByContentIDParamsWithTimeout(timeout time.Duration) *PublicDownloadContentByContentIDParams

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

func (*PublicDownloadContentByContentIDParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public download content by content id params

func (*PublicDownloadContentByContentIDParams) SetContentID

func (o *PublicDownloadContentByContentIDParams) SetContentID(contentID string)

SetContentID adds the contentId to the public download content by content id params

func (*PublicDownloadContentByContentIDParams) SetContext

SetContext adds the context to the public download content by content id params

func (*PublicDownloadContentByContentIDParams) SetFlightId added in v0.63.0

func (o *PublicDownloadContentByContentIDParams) SetFlightId(flightId string)

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

func (*PublicDownloadContentByContentIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public download content by content id params

func (*PublicDownloadContentByContentIDParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public download content by content id params

func (*PublicDownloadContentByContentIDParams) SetNamespace

func (o *PublicDownloadContentByContentIDParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public download content by content id params

func (*PublicDownloadContentByContentIDParams) SetTimeout

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

SetTimeout adds the timeout to the public download content by content id params

func (*PublicDownloadContentByContentIDParams) WithContentID

WithContentID adds the contentID to the public download content by content id params

func (*PublicDownloadContentByContentIDParams) WithContext

WithContext adds the context to the public download content by content id params

func (*PublicDownloadContentByContentIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public download content by content id params

func (*PublicDownloadContentByContentIDParams) WithNamespace

WithNamespace adds the namespace to the public download content by content id params

func (*PublicDownloadContentByContentIDParams) WithTimeout

WithTimeout adds the timeout to the public download content by content id params

func (*PublicDownloadContentByContentIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicDownloadContentByContentIDReader

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

PublicDownloadContentByContentIDReader is a Reader for the PublicDownloadContentByContentID structure.

func (*PublicDownloadContentByContentIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicDownloadContentByContentIDUnauthorized

type PublicDownloadContentByContentIDUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

PublicDownloadContentByContentIDUnauthorized 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 NewPublicDownloadContentByContentIDUnauthorized

func NewPublicDownloadContentByContentIDUnauthorized() *PublicDownloadContentByContentIDUnauthorized

NewPublicDownloadContentByContentIDUnauthorized creates a PublicDownloadContentByContentIDUnauthorized with default headers values

func (*PublicDownloadContentByContentIDUnauthorized) Error

func (*PublicDownloadContentByContentIDUnauthorized) GetPayload

func (*PublicDownloadContentByContentIDUnauthorized) ToJSONString

type PublicDownloadContentByShareCodeInternalServerError

type PublicDownloadContentByShareCodeInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

PublicDownloadContentByShareCodeInternalServerError 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 NewPublicDownloadContentByShareCodeInternalServerError

func NewPublicDownloadContentByShareCodeInternalServerError() *PublicDownloadContentByShareCodeInternalServerError

NewPublicDownloadContentByShareCodeInternalServerError creates a PublicDownloadContentByShareCodeInternalServerError with default headers values

func (*PublicDownloadContentByShareCodeInternalServerError) Error

func (*PublicDownloadContentByShareCodeInternalServerError) GetPayload

func (*PublicDownloadContentByShareCodeInternalServerError) ToJSONString

type PublicDownloadContentByShareCodeNotFound

type PublicDownloadContentByShareCodeNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

PublicDownloadContentByShareCodeNotFound 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 NewPublicDownloadContentByShareCodeNotFound

func NewPublicDownloadContentByShareCodeNotFound() *PublicDownloadContentByShareCodeNotFound

NewPublicDownloadContentByShareCodeNotFound creates a PublicDownloadContentByShareCodeNotFound with default headers values

func (*PublicDownloadContentByShareCodeNotFound) Error

func (*PublicDownloadContentByShareCodeNotFound) GetPayload

func (*PublicDownloadContentByShareCodeNotFound) ToJSONString

type PublicDownloadContentByShareCodeOK

type PublicDownloadContentByShareCodeOK struct {
	Payload *ugcclientmodels.ModelsContentDownloadResponse
}

PublicDownloadContentByShareCodeOK handles this case with default header values.

Get content by sharecode

func NewPublicDownloadContentByShareCodeOK

func NewPublicDownloadContentByShareCodeOK() *PublicDownloadContentByShareCodeOK

NewPublicDownloadContentByShareCodeOK creates a PublicDownloadContentByShareCodeOK with default headers values

func (*PublicDownloadContentByShareCodeOK) Error

func (*PublicDownloadContentByShareCodeOK) GetPayload

func (*PublicDownloadContentByShareCodeOK) ToJSONString

func (o *PublicDownloadContentByShareCodeOK) ToJSONString() string

type PublicDownloadContentByShareCodeParams

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

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

func NewPublicDownloadContentByShareCodeParams

func NewPublicDownloadContentByShareCodeParams() *PublicDownloadContentByShareCodeParams

NewPublicDownloadContentByShareCodeParams creates a new PublicDownloadContentByShareCodeParams object with the default values initialized.

func NewPublicDownloadContentByShareCodeParamsWithContext

func NewPublicDownloadContentByShareCodeParamsWithContext(ctx context.Context) *PublicDownloadContentByShareCodeParams

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

func NewPublicDownloadContentByShareCodeParamsWithHTTPClient

func NewPublicDownloadContentByShareCodeParamsWithHTTPClient(client *http.Client) *PublicDownloadContentByShareCodeParams

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

func NewPublicDownloadContentByShareCodeParamsWithTimeout

func NewPublicDownloadContentByShareCodeParamsWithTimeout(timeout time.Duration) *PublicDownloadContentByShareCodeParams

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

func (*PublicDownloadContentByShareCodeParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public download content by share code params

func (*PublicDownloadContentByShareCodeParams) SetContext

SetContext adds the context to the public download content by share code params

func (*PublicDownloadContentByShareCodeParams) SetFlightId added in v0.63.0

func (o *PublicDownloadContentByShareCodeParams) SetFlightId(flightId string)

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

func (*PublicDownloadContentByShareCodeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public download content by share code params

func (*PublicDownloadContentByShareCodeParams) SetHTTPClientTransport

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

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

func (*PublicDownloadContentByShareCodeParams) SetNamespace

func (o *PublicDownloadContentByShareCodeParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public download content by share code params

func (*PublicDownloadContentByShareCodeParams) SetShareCode

func (o *PublicDownloadContentByShareCodeParams) SetShareCode(shareCode string)

SetShareCode adds the shareCode to the public download content by share code params

func (*PublicDownloadContentByShareCodeParams) SetTimeout

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

SetTimeout adds the timeout to the public download content by share code params

func (*PublicDownloadContentByShareCodeParams) WithContext

WithContext adds the context to the public download content by share code params

func (*PublicDownloadContentByShareCodeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public download content by share code params

func (*PublicDownloadContentByShareCodeParams) WithNamespace

WithNamespace adds the namespace to the public download content by share code params

func (*PublicDownloadContentByShareCodeParams) WithShareCode

WithShareCode adds the shareCode to the public download content by share code params

func (*PublicDownloadContentByShareCodeParams) WithTimeout

WithTimeout adds the timeout to the public download content by share code params

func (*PublicDownloadContentByShareCodeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicDownloadContentByShareCodeReader

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

PublicDownloadContentByShareCodeReader is a Reader for the PublicDownloadContentByShareCode structure.

func (*PublicDownloadContentByShareCodeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicDownloadContentByShareCodeUnauthorized

type PublicDownloadContentByShareCodeUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

PublicDownloadContentByShareCodeUnauthorized 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 NewPublicDownloadContentByShareCodeUnauthorized

func NewPublicDownloadContentByShareCodeUnauthorized() *PublicDownloadContentByShareCodeUnauthorized

NewPublicDownloadContentByShareCodeUnauthorized creates a PublicDownloadContentByShareCodeUnauthorized with default headers values

func (*PublicDownloadContentByShareCodeUnauthorized) Error

func (*PublicDownloadContentByShareCodeUnauthorized) GetPayload

func (*PublicDownloadContentByShareCodeUnauthorized) ToJSONString

type PublicDownloadContentPreviewInternalServerError

type PublicDownloadContentPreviewInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

PublicDownloadContentPreviewInternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773701</td><td>Unable to get ugc content</td></tr></table>

func NewPublicDownloadContentPreviewInternalServerError

func NewPublicDownloadContentPreviewInternalServerError() *PublicDownloadContentPreviewInternalServerError

NewPublicDownloadContentPreviewInternalServerError creates a PublicDownloadContentPreviewInternalServerError with default headers values

func (*PublicDownloadContentPreviewInternalServerError) Error

func (*PublicDownloadContentPreviewInternalServerError) GetPayload

func (*PublicDownloadContentPreviewInternalServerError) ToJSONString

type PublicDownloadContentPreviewNotFound

type PublicDownloadContentPreviewNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

PublicDownloadContentPreviewNotFound handles this case with default header values.

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

func NewPublicDownloadContentPreviewNotFound

func NewPublicDownloadContentPreviewNotFound() *PublicDownloadContentPreviewNotFound

NewPublicDownloadContentPreviewNotFound creates a PublicDownloadContentPreviewNotFound with default headers values

func (*PublicDownloadContentPreviewNotFound) Error

func (*PublicDownloadContentPreviewNotFound) GetPayload

func (*PublicDownloadContentPreviewNotFound) ToJSONString

func (o *PublicDownloadContentPreviewNotFound) ToJSONString() string

type PublicDownloadContentPreviewOK

type PublicDownloadContentPreviewOK struct {
	Payload *ugcclientmodels.ModelsGetContentPreviewResponse
}

PublicDownloadContentPreviewOK handles this case with default header values.

Get content preview

func NewPublicDownloadContentPreviewOK

func NewPublicDownloadContentPreviewOK() *PublicDownloadContentPreviewOK

NewPublicDownloadContentPreviewOK creates a PublicDownloadContentPreviewOK with default headers values

func (*PublicDownloadContentPreviewOK) Error

func (*PublicDownloadContentPreviewOK) GetPayload

func (*PublicDownloadContentPreviewOK) ToJSONString

func (o *PublicDownloadContentPreviewOK) ToJSONString() string

type PublicDownloadContentPreviewParams

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

PublicDownloadContentPreviewParams contains all the parameters to send to the API endpoint for the public download content preview operation typically these are written to a http.Request

func NewPublicDownloadContentPreviewParams

func NewPublicDownloadContentPreviewParams() *PublicDownloadContentPreviewParams

NewPublicDownloadContentPreviewParams creates a new PublicDownloadContentPreviewParams object with the default values initialized.

func NewPublicDownloadContentPreviewParamsWithContext

func NewPublicDownloadContentPreviewParamsWithContext(ctx context.Context) *PublicDownloadContentPreviewParams

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

func NewPublicDownloadContentPreviewParamsWithHTTPClient

func NewPublicDownloadContentPreviewParamsWithHTTPClient(client *http.Client) *PublicDownloadContentPreviewParams

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

func NewPublicDownloadContentPreviewParamsWithTimeout

func NewPublicDownloadContentPreviewParamsWithTimeout(timeout time.Duration) *PublicDownloadContentPreviewParams

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

func (*PublicDownloadContentPreviewParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public download content preview params

func (*PublicDownloadContentPreviewParams) SetContentID

func (o *PublicDownloadContentPreviewParams) SetContentID(contentID string)

SetContentID adds the contentId to the public download content preview params

func (*PublicDownloadContentPreviewParams) SetContext

SetContext adds the context to the public download content preview params

func (*PublicDownloadContentPreviewParams) SetFlightId added in v0.63.0

func (o *PublicDownloadContentPreviewParams) SetFlightId(flightId string)

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

func (*PublicDownloadContentPreviewParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public download content preview params

func (*PublicDownloadContentPreviewParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public download content preview params

func (*PublicDownloadContentPreviewParams) SetNamespace

func (o *PublicDownloadContentPreviewParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public download content preview params

func (*PublicDownloadContentPreviewParams) SetTimeout

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

SetTimeout adds the timeout to the public download content preview params

func (*PublicDownloadContentPreviewParams) WithContentID

WithContentID adds the contentID to the public download content preview params

func (*PublicDownloadContentPreviewParams) WithContext

WithContext adds the context to the public download content preview params

func (*PublicDownloadContentPreviewParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public download content preview params

func (*PublicDownloadContentPreviewParams) WithNamespace

WithNamespace adds the namespace to the public download content preview params

func (*PublicDownloadContentPreviewParams) WithTimeout

WithTimeout adds the timeout to the public download content preview params

func (*PublicDownloadContentPreviewParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicDownloadContentPreviewReader

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

PublicDownloadContentPreviewReader is a Reader for the PublicDownloadContentPreview structure.

func (*PublicDownloadContentPreviewReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicDownloadContentPreviewUnauthorized

type PublicDownloadContentPreviewUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

PublicDownloadContentPreviewUnauthorized 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 NewPublicDownloadContentPreviewUnauthorized

func NewPublicDownloadContentPreviewUnauthorized() *PublicDownloadContentPreviewUnauthorized

NewPublicDownloadContentPreviewUnauthorized creates a PublicDownloadContentPreviewUnauthorized with default headers values

func (*PublicDownloadContentPreviewUnauthorized) Error

func (*PublicDownloadContentPreviewUnauthorized) GetPayload

func (*PublicDownloadContentPreviewUnauthorized) ToJSONString

type PublicGetContentBulkBadRequest

type PublicGetContentBulkBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

PublicGetContentBulkBadRequest 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 NewPublicGetContentBulkBadRequest

func NewPublicGetContentBulkBadRequest() *PublicGetContentBulkBadRequest

NewPublicGetContentBulkBadRequest creates a PublicGetContentBulkBadRequest with default headers values

func (*PublicGetContentBulkBadRequest) Error

func (*PublicGetContentBulkBadRequest) GetPayload

func (*PublicGetContentBulkBadRequest) ToJSONString

func (o *PublicGetContentBulkBadRequest) ToJSONString() string

type PublicGetContentBulkByShareCodesBadRequest added in v0.59.0

type PublicGetContentBulkByShareCodesBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

PublicGetContentBulkByShareCodesBadRequest 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 NewPublicGetContentBulkByShareCodesBadRequest added in v0.59.0

func NewPublicGetContentBulkByShareCodesBadRequest() *PublicGetContentBulkByShareCodesBadRequest

NewPublicGetContentBulkByShareCodesBadRequest creates a PublicGetContentBulkByShareCodesBadRequest with default headers values

func (*PublicGetContentBulkByShareCodesBadRequest) Error added in v0.59.0

func (*PublicGetContentBulkByShareCodesBadRequest) GetPayload added in v0.59.0

func (*PublicGetContentBulkByShareCodesBadRequest) ToJSONString added in v0.59.0

type PublicGetContentBulkByShareCodesForbidden added in v0.59.0

type PublicGetContentBulkByShareCodesForbidden struct {
	Payload *ugcclientmodels.ResponseError
}

PublicGetContentBulkByShareCodesForbidden 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 NewPublicGetContentBulkByShareCodesForbidden added in v0.59.0

func NewPublicGetContentBulkByShareCodesForbidden() *PublicGetContentBulkByShareCodesForbidden

NewPublicGetContentBulkByShareCodesForbidden creates a PublicGetContentBulkByShareCodesForbidden with default headers values

func (*PublicGetContentBulkByShareCodesForbidden) Error added in v0.59.0

func (*PublicGetContentBulkByShareCodesForbidden) GetPayload added in v0.59.0

func (*PublicGetContentBulkByShareCodesForbidden) ToJSONString added in v0.59.0

type PublicGetContentBulkByShareCodesInternalServerError added in v0.59.0

type PublicGetContentBulkByShareCodesInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

PublicGetContentBulkByShareCodesInternalServerError 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 NewPublicGetContentBulkByShareCodesInternalServerError added in v0.59.0

func NewPublicGetContentBulkByShareCodesInternalServerError() *PublicGetContentBulkByShareCodesInternalServerError

NewPublicGetContentBulkByShareCodesInternalServerError creates a PublicGetContentBulkByShareCodesInternalServerError with default headers values

func (*PublicGetContentBulkByShareCodesInternalServerError) Error added in v0.59.0

func (*PublicGetContentBulkByShareCodesInternalServerError) GetPayload added in v0.59.0

func (*PublicGetContentBulkByShareCodesInternalServerError) ToJSONString added in v0.59.0

type PublicGetContentBulkByShareCodesOK added in v0.59.0

type PublicGetContentBulkByShareCodesOK struct {
	Payload []*ugcclientmodels.ModelsContentDownloadResponse
}

PublicGetContentBulkByShareCodesOK handles this case with default header values.

Bulk get content by sharecodes

func NewPublicGetContentBulkByShareCodesOK added in v0.59.0

func NewPublicGetContentBulkByShareCodesOK() *PublicGetContentBulkByShareCodesOK

NewPublicGetContentBulkByShareCodesOK creates a PublicGetContentBulkByShareCodesOK with default headers values

func (*PublicGetContentBulkByShareCodesOK) Error added in v0.59.0

func (*PublicGetContentBulkByShareCodesOK) GetPayload added in v0.59.0

func (*PublicGetContentBulkByShareCodesOK) ToJSONString added in v0.59.0

func (o *PublicGetContentBulkByShareCodesOK) ToJSONString() string

type PublicGetContentBulkByShareCodesParams added in v0.59.0

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

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

func NewPublicGetContentBulkByShareCodesParams added in v0.59.0

func NewPublicGetContentBulkByShareCodesParams() *PublicGetContentBulkByShareCodesParams

NewPublicGetContentBulkByShareCodesParams creates a new PublicGetContentBulkByShareCodesParams object with the default values initialized.

func NewPublicGetContentBulkByShareCodesParamsWithContext added in v0.59.0

func NewPublicGetContentBulkByShareCodesParamsWithContext(ctx context.Context) *PublicGetContentBulkByShareCodesParams

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

func NewPublicGetContentBulkByShareCodesParamsWithHTTPClient added in v0.59.0

func NewPublicGetContentBulkByShareCodesParamsWithHTTPClient(client *http.Client) *PublicGetContentBulkByShareCodesParams

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

func NewPublicGetContentBulkByShareCodesParamsWithTimeout added in v0.59.0

func NewPublicGetContentBulkByShareCodesParamsWithTimeout(timeout time.Duration) *PublicGetContentBulkByShareCodesParams

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

func (*PublicGetContentBulkByShareCodesParams) SetAuthInfoWriter added in v0.59.0

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

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

func (*PublicGetContentBulkByShareCodesParams) SetBody added in v0.59.0

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

func (*PublicGetContentBulkByShareCodesParams) SetContext added in v0.59.0

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

func (*PublicGetContentBulkByShareCodesParams) SetFlightId added in v0.63.0

func (o *PublicGetContentBulkByShareCodesParams) SetFlightId(flightId string)

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

func (*PublicGetContentBulkByShareCodesParams) SetHTTPClient added in v0.59.0

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

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

func (*PublicGetContentBulkByShareCodesParams) SetHTTPClientTransport added in v0.59.0

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

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

func (*PublicGetContentBulkByShareCodesParams) SetNamespace added in v0.59.0

func (o *PublicGetContentBulkByShareCodesParams) SetNamespace(namespace string)

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

func (*PublicGetContentBulkByShareCodesParams) SetTimeout added in v0.59.0

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

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

func (*PublicGetContentBulkByShareCodesParams) WithBody added in v0.59.0

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

func (*PublicGetContentBulkByShareCodesParams) WithContext added in v0.59.0

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

func (*PublicGetContentBulkByShareCodesParams) WithHTTPClient added in v0.59.0

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

func (*PublicGetContentBulkByShareCodesParams) WithNamespace added in v0.59.0

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

func (*PublicGetContentBulkByShareCodesParams) WithTimeout added in v0.59.0

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

func (*PublicGetContentBulkByShareCodesParams) WriteToRequest added in v0.59.0

WriteToRequest writes these params to a swagger request

type PublicGetContentBulkByShareCodesReader added in v0.59.0

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

PublicGetContentBulkByShareCodesReader is a Reader for the PublicGetContentBulkByShareCodes structure.

func (*PublicGetContentBulkByShareCodesReader) ReadResponse added in v0.59.0

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

ReadResponse reads a server response into the received o.

type PublicGetContentBulkByShareCodesUnauthorized added in v0.59.0

type PublicGetContentBulkByShareCodesUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

PublicGetContentBulkByShareCodesUnauthorized 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 NewPublicGetContentBulkByShareCodesUnauthorized added in v0.59.0

func NewPublicGetContentBulkByShareCodesUnauthorized() *PublicGetContentBulkByShareCodesUnauthorized

NewPublicGetContentBulkByShareCodesUnauthorized creates a PublicGetContentBulkByShareCodesUnauthorized with default headers values

func (*PublicGetContentBulkByShareCodesUnauthorized) Error added in v0.59.0

func (*PublicGetContentBulkByShareCodesUnauthorized) GetPayload added in v0.59.0

func (*PublicGetContentBulkByShareCodesUnauthorized) ToJSONString added in v0.59.0

type PublicGetContentBulkInternalServerError

type PublicGetContentBulkInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

PublicGetContentBulkInternalServerError 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 NewPublicGetContentBulkInternalServerError

func NewPublicGetContentBulkInternalServerError() *PublicGetContentBulkInternalServerError

NewPublicGetContentBulkInternalServerError creates a PublicGetContentBulkInternalServerError with default headers values

func (*PublicGetContentBulkInternalServerError) Error

func (*PublicGetContentBulkInternalServerError) GetPayload

func (*PublicGetContentBulkInternalServerError) ToJSONString

type PublicGetContentBulkOK

type PublicGetContentBulkOK struct {
	Payload []*ugcclientmodels.ModelsContentDownloadResponse
}

PublicGetContentBulkOK handles this case with default header values.

Get contents by content Ids

func NewPublicGetContentBulkOK

func NewPublicGetContentBulkOK() *PublicGetContentBulkOK

NewPublicGetContentBulkOK creates a PublicGetContentBulkOK with default headers values

func (*PublicGetContentBulkOK) Error

func (o *PublicGetContentBulkOK) Error() string

func (*PublicGetContentBulkOK) GetPayload

func (*PublicGetContentBulkOK) ToJSONString

func (o *PublicGetContentBulkOK) ToJSONString() string

type PublicGetContentBulkParams

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

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

func NewPublicGetContentBulkParams

func NewPublicGetContentBulkParams() *PublicGetContentBulkParams

NewPublicGetContentBulkParams creates a new PublicGetContentBulkParams object with the default values initialized.

func NewPublicGetContentBulkParamsWithContext

func NewPublicGetContentBulkParamsWithContext(ctx context.Context) *PublicGetContentBulkParams

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

func NewPublicGetContentBulkParamsWithHTTPClient

func NewPublicGetContentBulkParamsWithHTTPClient(client *http.Client) *PublicGetContentBulkParams

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

func NewPublicGetContentBulkParamsWithTimeout

func NewPublicGetContentBulkParamsWithTimeout(timeout time.Duration) *PublicGetContentBulkParams

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

func (*PublicGetContentBulkParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public get content bulk params

func (*PublicGetContentBulkParams) SetBody

SetBody adds the body to the public get content bulk params

func (*PublicGetContentBulkParams) SetContext

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

SetContext adds the context to the public get content bulk params

func (*PublicGetContentBulkParams) SetFlightId added in v0.63.0

func (o *PublicGetContentBulkParams) SetFlightId(flightId string)

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

func (*PublicGetContentBulkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get content bulk params

func (*PublicGetContentBulkParams) SetHTTPClientTransport

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

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

func (*PublicGetContentBulkParams) SetNamespace

func (o *PublicGetContentBulkParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get content bulk params

func (*PublicGetContentBulkParams) SetTimeout

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

SetTimeout adds the timeout to the public get content bulk params

func (*PublicGetContentBulkParams) WithBody

WithBody adds the body to the public get content bulk params

func (*PublicGetContentBulkParams) WithContext

WithContext adds the context to the public get content bulk params

func (*PublicGetContentBulkParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get content bulk params

func (*PublicGetContentBulkParams) WithNamespace

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

WithNamespace adds the namespace to the public get content bulk params

func (*PublicGetContentBulkParams) WithTimeout

WithTimeout adds the timeout to the public get content bulk params

func (*PublicGetContentBulkParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetContentBulkReader

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

PublicGetContentBulkReader is a Reader for the PublicGetContentBulk structure.

func (*PublicGetContentBulkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetContentBulkUnauthorized

type PublicGetContentBulkUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

PublicGetContentBulkUnauthorized 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 NewPublicGetContentBulkUnauthorized

func NewPublicGetContentBulkUnauthorized() *PublicGetContentBulkUnauthorized

NewPublicGetContentBulkUnauthorized creates a PublicGetContentBulkUnauthorized with default headers values

func (*PublicGetContentBulkUnauthorized) Error

func (*PublicGetContentBulkUnauthorized) GetPayload

func (*PublicGetContentBulkUnauthorized) ToJSONString

func (o *PublicGetContentBulkUnauthorized) ToJSONString() string

type PublicGetUserContentBadRequest added in v0.60.0

type PublicGetUserContentBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

PublicGetUserContentBadRequest 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 NewPublicGetUserContentBadRequest added in v0.60.0

func NewPublicGetUserContentBadRequest() *PublicGetUserContentBadRequest

NewPublicGetUserContentBadRequest creates a PublicGetUserContentBadRequest with default headers values

func (*PublicGetUserContentBadRequest) Error added in v0.60.0

func (*PublicGetUserContentBadRequest) GetPayload added in v0.60.0

func (*PublicGetUserContentBadRequest) ToJSONString added in v0.60.0

func (o *PublicGetUserContentBadRequest) ToJSONString() string

type PublicGetUserContentInternalServerError

type PublicGetUserContentInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

PublicGetUserContentInternalServerError 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>770903</td><td>Failed generate download URL</td></tr></table>

func NewPublicGetUserContentInternalServerError

func NewPublicGetUserContentInternalServerError() *PublicGetUserContentInternalServerError

NewPublicGetUserContentInternalServerError creates a PublicGetUserContentInternalServerError with default headers values

func (*PublicGetUserContentInternalServerError) Error

func (*PublicGetUserContentInternalServerError) GetPayload

func (*PublicGetUserContentInternalServerError) ToJSONString

type PublicGetUserContentOK

type PublicGetUserContentOK struct {
	Payload *ugcclientmodels.ModelsPaginatedContentDownloadResponse
}

PublicGetUserContentOK handles this case with default header values.

Get user's generated contents

func NewPublicGetUserContentOK

func NewPublicGetUserContentOK() *PublicGetUserContentOK

NewPublicGetUserContentOK creates a PublicGetUserContentOK with default headers values

func (*PublicGetUserContentOK) Error

func (o *PublicGetUserContentOK) Error() string

func (*PublicGetUserContentOK) GetPayload

func (*PublicGetUserContentOK) ToJSONString

func (o *PublicGetUserContentOK) ToJSONString() string

type PublicGetUserContentParams

type PublicGetUserContentParams 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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewPublicGetUserContentParams

func NewPublicGetUserContentParams() *PublicGetUserContentParams

NewPublicGetUserContentParams creates a new PublicGetUserContentParams object with the default values initialized.

func NewPublicGetUserContentParamsWithContext

func NewPublicGetUserContentParamsWithContext(ctx context.Context) *PublicGetUserContentParams

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

func NewPublicGetUserContentParamsWithHTTPClient

func NewPublicGetUserContentParamsWithHTTPClient(client *http.Client) *PublicGetUserContentParams

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

func NewPublicGetUserContentParamsWithTimeout

func NewPublicGetUserContentParamsWithTimeout(timeout time.Duration) *PublicGetUserContentParams

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

func (*PublicGetUserContentParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public get user content params

func (*PublicGetUserContentParams) SetContext

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

SetContext adds the context to the public get user content params

func (*PublicGetUserContentParams) SetFlightId added in v0.63.0

func (o *PublicGetUserContentParams) SetFlightId(flightId string)

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

func (*PublicGetUserContentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get user content params

func (*PublicGetUserContentParams) SetHTTPClientTransport

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

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

func (*PublicGetUserContentParams) SetLimit

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

SetLimit adds the limit to the public get user content params

func (*PublicGetUserContentParams) SetNamespace

func (o *PublicGetUserContentParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get user content params

func (*PublicGetUserContentParams) SetOffset

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

SetOffset adds the offset to the public get user content params

func (*PublicGetUserContentParams) SetTimeout

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

SetTimeout adds the timeout to the public get user content params

func (*PublicGetUserContentParams) SetUserID

func (o *PublicGetUserContentParams) SetUserID(userID string)

SetUserID adds the userId to the public get user content params

func (*PublicGetUserContentParams) WithContext

WithContext adds the context to the public get user content params

func (*PublicGetUserContentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get user content params

func (*PublicGetUserContentParams) WithLimit

WithLimit adds the limit to the public get user content params

func (*PublicGetUserContentParams) WithNamespace

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

WithNamespace adds the namespace to the public get user content params

func (*PublicGetUserContentParams) WithOffset

WithOffset adds the offset to the public get user content params

func (*PublicGetUserContentParams) WithTimeout

WithTimeout adds the timeout to the public get user content params

func (*PublicGetUserContentParams) WithUserID

WithUserID adds the userID to the public get user content params

func (*PublicGetUserContentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetUserContentReader

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

PublicGetUserContentReader is a Reader for the PublicGetUserContent structure.

func (*PublicGetUserContentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetUserContentUnauthorized

type PublicGetUserContentUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

PublicGetUserContentUnauthorized 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 NewPublicGetUserContentUnauthorized

func NewPublicGetUserContentUnauthorized() *PublicGetUserContentUnauthorized

NewPublicGetUserContentUnauthorized creates a PublicGetUserContentUnauthorized with default headers values

func (*PublicGetUserContentUnauthorized) Error

func (*PublicGetUserContentUnauthorized) GetPayload

func (*PublicGetUserContentUnauthorized) ToJSONString

func (o *PublicGetUserContentUnauthorized) ToJSONString() string

type PublicSearchContentBadRequest added in v0.60.0

type PublicSearchContentBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

PublicSearchContentBadRequest 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 NewPublicSearchContentBadRequest added in v0.60.0

func NewPublicSearchContentBadRequest() *PublicSearchContentBadRequest

NewPublicSearchContentBadRequest creates a PublicSearchContentBadRequest with default headers values

func (*PublicSearchContentBadRequest) Error added in v0.60.0

func (*PublicSearchContentBadRequest) GetPayload added in v0.60.0

func (*PublicSearchContentBadRequest) ToJSONString added in v0.60.0

func (o *PublicSearchContentBadRequest) ToJSONString() string

type PublicSearchContentInternalServerError

type PublicSearchContentInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

PublicSearchContentInternalServerError 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 NewPublicSearchContentInternalServerError

func NewPublicSearchContentInternalServerError() *PublicSearchContentInternalServerError

NewPublicSearchContentInternalServerError creates a PublicSearchContentInternalServerError with default headers values

func (*PublicSearchContentInternalServerError) Error

func (*PublicSearchContentInternalServerError) GetPayload

func (*PublicSearchContentInternalServerError) ToJSONString

type PublicSearchContentOK

type PublicSearchContentOK struct {
	Payload *ugcclientmodels.ModelsPaginatedContentDownloadResponse
}

PublicSearchContentOK handles this case with default header values.

Search contents

func NewPublicSearchContentOK

func NewPublicSearchContentOK() *PublicSearchContentOK

NewPublicSearchContentOK creates a PublicSearchContentOK with default headers values

func (*PublicSearchContentOK) Error

func (o *PublicSearchContentOK) Error() string

func (*PublicSearchContentOK) GetPayload

func (*PublicSearchContentOK) ToJSONString

func (o *PublicSearchContentOK) ToJSONString() string

type PublicSearchContentParams

type PublicSearchContentParams struct {

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

	*/
	Namespace string
	/*Creator
	  creator name

	*/
	Creator *string
	/*Ishidden
	  set to true to list only hidden contents, false to list only non-hidden contents

	*/
	Ishidden *string
	/*Isofficial
	  filter only official contents (boolean)

	*/
	Isofficial *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
	/*Orderby
	  sorting order: asc, desc. default=desc

	*/
	Orderby *string
	/*Sortby
	  sorting criteria: name,download,like,date,updatedTime. default=date

	*/
	Sortby *string
	/*Subtype
	  content subtype

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

	*/
	Tags []string
	/*Type
	  content type

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

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

func NewPublicSearchContentParams

func NewPublicSearchContentParams() *PublicSearchContentParams

NewPublicSearchContentParams creates a new PublicSearchContentParams object with the default values initialized.

func NewPublicSearchContentParamsWithContext

func NewPublicSearchContentParamsWithContext(ctx context.Context) *PublicSearchContentParams

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

func NewPublicSearchContentParamsWithHTTPClient

func NewPublicSearchContentParamsWithHTTPClient(client *http.Client) *PublicSearchContentParams

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

func NewPublicSearchContentParamsWithTimeout

func NewPublicSearchContentParamsWithTimeout(timeout time.Duration) *PublicSearchContentParams

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

func (*PublicSearchContentParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public search content params

func (*PublicSearchContentParams) SetContext

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

SetContext adds the context to the public search content params

func (*PublicSearchContentParams) SetCreator

func (o *PublicSearchContentParams) SetCreator(creator *string)

SetCreator adds the creator to the public search content params

func (*PublicSearchContentParams) SetFlightId added in v0.63.0

func (o *PublicSearchContentParams) SetFlightId(flightId string)

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

func (*PublicSearchContentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public search content params

func (*PublicSearchContentParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public search content params

func (*PublicSearchContentParams) SetIshidden

func (o *PublicSearchContentParams) SetIshidden(ishidden *string)

SetIshidden adds the ishidden to the public search content params

func (*PublicSearchContentParams) SetIsofficial

func (o *PublicSearchContentParams) SetIsofficial(isofficial *string)

SetIsofficial adds the isofficial to the public search content params

func (*PublicSearchContentParams) SetLimit

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

SetLimit adds the limit to the public search content params

func (*PublicSearchContentParams) SetName

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

SetName adds the name to the public search content params

func (*PublicSearchContentParams) SetNamespace

func (o *PublicSearchContentParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public search content params

func (*PublicSearchContentParams) SetOffset

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

SetOffset adds the offset to the public search content params

func (*PublicSearchContentParams) SetOrderby

func (o *PublicSearchContentParams) SetOrderby(orderby *string)

SetOrderby adds the orderby to the public search content params

func (*PublicSearchContentParams) SetSortby

func (o *PublicSearchContentParams) SetSortby(sortby *string)

SetSortby adds the sortby to the public search content params

func (*PublicSearchContentParams) SetSubtype

func (o *PublicSearchContentParams) SetSubtype(subtype *string)

SetSubtype adds the subtype to the public search content params

func (*PublicSearchContentParams) SetTags

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

SetTags adds the tags to the public search content params

func (*PublicSearchContentParams) SetTimeout

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

SetTimeout adds the timeout to the public search content params

func (*PublicSearchContentParams) SetType

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

SetType adds the type to the public search content params

func (*PublicSearchContentParams) SetUserID

func (o *PublicSearchContentParams) SetUserID(userID *string)

SetUserID adds the userId to the public search content params

func (*PublicSearchContentParams) WithContext

WithContext adds the context to the public search content params

func (*PublicSearchContentParams) WithCreator

WithCreator adds the creator to the public search content params

func (*PublicSearchContentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the public search content params

func (*PublicSearchContentParams) WithIshidden

func (o *PublicSearchContentParams) WithIshidden(ishidden *string) *PublicSearchContentParams

WithIshidden adds the ishidden to the public search content params

func (*PublicSearchContentParams) WithIsofficial

func (o *PublicSearchContentParams) WithIsofficial(isofficial *string) *PublicSearchContentParams

WithIsofficial adds the isofficial to the public search content params

func (*PublicSearchContentParams) WithLimit

WithLimit adds the limit to the public search content params

func (*PublicSearchContentParams) WithName

WithName adds the name to the public search content params

func (*PublicSearchContentParams) WithNamespace

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

WithNamespace adds the namespace to the public search content params

func (*PublicSearchContentParams) WithOffset

WithOffset adds the offset to the public search content params

func (*PublicSearchContentParams) WithOrderby

WithOrderby adds the orderby to the public search content params

func (*PublicSearchContentParams) WithSortby

WithSortby adds the sortby to the public search content params

func (*PublicSearchContentParams) WithSubtype

WithSubtype adds the subtype to the public search content params

func (*PublicSearchContentParams) WithTags

WithTags adds the tags to the public search content params

func (*PublicSearchContentParams) WithTimeout

WithTimeout adds the timeout to the public search content params

func (*PublicSearchContentParams) WithType

WithType adds the typeVar to the public search content params

func (*PublicSearchContentParams) WithUserID

WithUserID adds the userID to the public search content params

func (*PublicSearchContentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicSearchContentReader

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

PublicSearchContentReader is a Reader for the PublicSearchContent structure.

func (*PublicSearchContentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicSearchContentUnauthorized

type PublicSearchContentUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

PublicSearchContentUnauthorized 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 NewPublicSearchContentUnauthorized

func NewPublicSearchContentUnauthorized() *PublicSearchContentUnauthorized

NewPublicSearchContentUnauthorized creates a PublicSearchContentUnauthorized with default headers values

func (*PublicSearchContentUnauthorized) Error

func (*PublicSearchContentUnauthorized) GetPayload

func (*PublicSearchContentUnauthorized) ToJSONString

func (o *PublicSearchContentUnauthorized) ToJSONString() string

type PublicUpdateContentByShareCodeBadRequest added in v0.58.0

type PublicUpdateContentByShareCodeBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

PublicUpdateContentByShareCodeBadRequest 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 NewPublicUpdateContentByShareCodeBadRequest added in v0.58.0

func NewPublicUpdateContentByShareCodeBadRequest() *PublicUpdateContentByShareCodeBadRequest

NewPublicUpdateContentByShareCodeBadRequest creates a PublicUpdateContentByShareCodeBadRequest with default headers values

func (*PublicUpdateContentByShareCodeBadRequest) Error added in v0.58.0

func (*PublicUpdateContentByShareCodeBadRequest) GetPayload added in v0.58.0

func (*PublicUpdateContentByShareCodeBadRequest) ToJSONString added in v0.58.0

type PublicUpdateContentByShareCodeConflict added in v0.58.0

type PublicUpdateContentByShareCodeConflict struct {
	Payload *ugcclientmodels.ResponseError
}

PublicUpdateContentByShareCodeConflict 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 NewPublicUpdateContentByShareCodeConflict added in v0.58.0

func NewPublicUpdateContentByShareCodeConflict() *PublicUpdateContentByShareCodeConflict

NewPublicUpdateContentByShareCodeConflict creates a PublicUpdateContentByShareCodeConflict with default headers values

func (*PublicUpdateContentByShareCodeConflict) Error added in v0.58.0

func (*PublicUpdateContentByShareCodeConflict) GetPayload added in v0.58.0

func (*PublicUpdateContentByShareCodeConflict) ToJSONString added in v0.58.0

type PublicUpdateContentByShareCodeForbidden added in v0.60.0

type PublicUpdateContentByShareCodeForbidden struct {
	Payload *ugcclientmodels.ResponseError
}

PublicUpdateContentByShareCodeForbidden 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 NewPublicUpdateContentByShareCodeForbidden added in v0.60.0

func NewPublicUpdateContentByShareCodeForbidden() *PublicUpdateContentByShareCodeForbidden

NewPublicUpdateContentByShareCodeForbidden creates a PublicUpdateContentByShareCodeForbidden with default headers values

func (*PublicUpdateContentByShareCodeForbidden) Error added in v0.60.0

func (*PublicUpdateContentByShareCodeForbidden) GetPayload added in v0.60.0

func (*PublicUpdateContentByShareCodeForbidden) ToJSONString added in v0.60.0

type PublicUpdateContentByShareCodeInternalServerError added in v0.58.0

type PublicUpdateContentByShareCodeInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

PublicUpdateContentByShareCodeInternalServerError 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 NewPublicUpdateContentByShareCodeInternalServerError added in v0.58.0

func NewPublicUpdateContentByShareCodeInternalServerError() *PublicUpdateContentByShareCodeInternalServerError

NewPublicUpdateContentByShareCodeInternalServerError creates a PublicUpdateContentByShareCodeInternalServerError with default headers values

func (*PublicUpdateContentByShareCodeInternalServerError) Error added in v0.58.0

func (*PublicUpdateContentByShareCodeInternalServerError) GetPayload added in v0.58.0

func (*PublicUpdateContentByShareCodeInternalServerError) ToJSONString added in v0.58.0

type PublicUpdateContentByShareCodeNotFound added in v0.58.0

type PublicUpdateContentByShareCodeNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

PublicUpdateContentByShareCodeNotFound 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 NewPublicUpdateContentByShareCodeNotFound added in v0.58.0

func NewPublicUpdateContentByShareCodeNotFound() *PublicUpdateContentByShareCodeNotFound

NewPublicUpdateContentByShareCodeNotFound creates a PublicUpdateContentByShareCodeNotFound with default headers values

func (*PublicUpdateContentByShareCodeNotFound) Error added in v0.58.0

func (*PublicUpdateContentByShareCodeNotFound) GetPayload added in v0.58.0

func (*PublicUpdateContentByShareCodeNotFound) ToJSONString added in v0.58.0

type PublicUpdateContentByShareCodeOK added in v0.58.0

type PublicUpdateContentByShareCodeOK struct {
	Payload *ugcclientmodels.ModelsCreateContentResponse
}

PublicUpdateContentByShareCodeOK handles this case with default header values.

Content updated at s3

func NewPublicUpdateContentByShareCodeOK added in v0.58.0

func NewPublicUpdateContentByShareCodeOK() *PublicUpdateContentByShareCodeOK

NewPublicUpdateContentByShareCodeOK creates a PublicUpdateContentByShareCodeOK with default headers values

func (*PublicUpdateContentByShareCodeOK) Error added in v0.58.0

func (*PublicUpdateContentByShareCodeOK) GetPayload added in v0.58.0

func (*PublicUpdateContentByShareCodeOK) ToJSONString added in v0.58.0

func (o *PublicUpdateContentByShareCodeOK) ToJSONString() string

type PublicUpdateContentByShareCodeParams added in v0.58.0

type PublicUpdateContentByShareCodeParams struct {

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

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

func NewPublicUpdateContentByShareCodeParams added in v0.58.0

func NewPublicUpdateContentByShareCodeParams() *PublicUpdateContentByShareCodeParams

NewPublicUpdateContentByShareCodeParams creates a new PublicUpdateContentByShareCodeParams object with the default values initialized.

func NewPublicUpdateContentByShareCodeParamsWithContext added in v0.58.0

func NewPublicUpdateContentByShareCodeParamsWithContext(ctx context.Context) *PublicUpdateContentByShareCodeParams

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

func NewPublicUpdateContentByShareCodeParamsWithHTTPClient added in v0.58.0

func NewPublicUpdateContentByShareCodeParamsWithHTTPClient(client *http.Client) *PublicUpdateContentByShareCodeParams

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

func NewPublicUpdateContentByShareCodeParamsWithTimeout added in v0.58.0

func NewPublicUpdateContentByShareCodeParamsWithTimeout(timeout time.Duration) *PublicUpdateContentByShareCodeParams

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

func (*PublicUpdateContentByShareCodeParams) SetAuthInfoWriter added in v0.58.0

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

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

func (*PublicUpdateContentByShareCodeParams) SetBody added in v0.58.0

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

func (*PublicUpdateContentByShareCodeParams) SetChannelID added in v0.58.0

func (o *PublicUpdateContentByShareCodeParams) SetChannelID(channelID string)

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

func (*PublicUpdateContentByShareCodeParams) SetContext added in v0.58.0

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

func (*PublicUpdateContentByShareCodeParams) SetFlightId added in v0.63.0

func (o *PublicUpdateContentByShareCodeParams) SetFlightId(flightId string)

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

func (*PublicUpdateContentByShareCodeParams) SetHTTPClient added in v0.58.0

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

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

func (*PublicUpdateContentByShareCodeParams) SetHTTPClientTransport added in v0.58.0

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

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

func (*PublicUpdateContentByShareCodeParams) SetNamespace added in v0.58.0

func (o *PublicUpdateContentByShareCodeParams) SetNamespace(namespace string)

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

func (*PublicUpdateContentByShareCodeParams) SetShareCode added in v0.58.0

func (o *PublicUpdateContentByShareCodeParams) SetShareCode(shareCode string)

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

func (*PublicUpdateContentByShareCodeParams) SetTimeout added in v0.58.0

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

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

func (*PublicUpdateContentByShareCodeParams) SetUserID added in v0.58.0

func (o *PublicUpdateContentByShareCodeParams) SetUserID(userID string)

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

func (*PublicUpdateContentByShareCodeParams) WithBody added in v0.58.0

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

func (*PublicUpdateContentByShareCodeParams) WithChannelID added in v0.58.0

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

func (*PublicUpdateContentByShareCodeParams) WithContext added in v0.58.0

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

func (*PublicUpdateContentByShareCodeParams) WithHTTPClient added in v0.58.0

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

func (*PublicUpdateContentByShareCodeParams) WithNamespace added in v0.58.0

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

func (*PublicUpdateContentByShareCodeParams) WithShareCode added in v0.58.0

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

func (*PublicUpdateContentByShareCodeParams) WithTimeout added in v0.58.0

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

func (*PublicUpdateContentByShareCodeParams) WithUserID added in v0.58.0

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

func (*PublicUpdateContentByShareCodeParams) WriteToRequest added in v0.58.0

WriteToRequest writes these params to a swagger request

type PublicUpdateContentByShareCodeReader added in v0.58.0

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

PublicUpdateContentByShareCodeReader is a Reader for the PublicUpdateContentByShareCode structure.

func (*PublicUpdateContentByShareCodeReader) ReadResponse added in v0.58.0

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

ReadResponse reads a server response into the received o.

type PublicUpdateContentByShareCodeUnauthorized added in v0.58.0

type PublicUpdateContentByShareCodeUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

PublicUpdateContentByShareCodeUnauthorized 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 NewPublicUpdateContentByShareCodeUnauthorized added in v0.58.0

func NewPublicUpdateContentByShareCodeUnauthorized() *PublicUpdateContentByShareCodeUnauthorized

NewPublicUpdateContentByShareCodeUnauthorized creates a PublicUpdateContentByShareCodeUnauthorized with default headers values

func (*PublicUpdateContentByShareCodeUnauthorized) Error added in v0.58.0

func (*PublicUpdateContentByShareCodeUnauthorized) GetPayload added in v0.58.0

func (*PublicUpdateContentByShareCodeUnauthorized) ToJSONString added in v0.58.0

type SearchChannelSpecificContentBadRequest added in v0.60.0

type SearchChannelSpecificContentBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

SearchChannelSpecificContentBadRequest 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 NewSearchChannelSpecificContentBadRequest added in v0.60.0

func NewSearchChannelSpecificContentBadRequest() *SearchChannelSpecificContentBadRequest

NewSearchChannelSpecificContentBadRequest creates a SearchChannelSpecificContentBadRequest with default headers values

func (*SearchChannelSpecificContentBadRequest) Error added in v0.60.0

func (*SearchChannelSpecificContentBadRequest) GetPayload added in v0.60.0

func (*SearchChannelSpecificContentBadRequest) ToJSONString added in v0.60.0

type SearchChannelSpecificContentInternalServerError

type SearchChannelSpecificContentInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

SearchChannelSpecificContentInternalServerError 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 NewSearchChannelSpecificContentInternalServerError

func NewSearchChannelSpecificContentInternalServerError() *SearchChannelSpecificContentInternalServerError

NewSearchChannelSpecificContentInternalServerError creates a SearchChannelSpecificContentInternalServerError with default headers values

func (*SearchChannelSpecificContentInternalServerError) Error

func (*SearchChannelSpecificContentInternalServerError) GetPayload

func (*SearchChannelSpecificContentInternalServerError) ToJSONString

type SearchChannelSpecificContentOK

type SearchChannelSpecificContentOK struct {
	Payload *ugcclientmodels.ModelsPaginatedContentDownloadResponse
}

SearchChannelSpecificContentOK handles this case with default header values.

Search contents specific to a channel

func NewSearchChannelSpecificContentOK

func NewSearchChannelSpecificContentOK() *SearchChannelSpecificContentOK

NewSearchChannelSpecificContentOK creates a SearchChannelSpecificContentOK with default headers values

func (*SearchChannelSpecificContentOK) Error

func (*SearchChannelSpecificContentOK) GetPayload

func (*SearchChannelSpecificContentOK) ToJSONString

func (o *SearchChannelSpecificContentOK) ToJSONString() string

type SearchChannelSpecificContentParams

type SearchChannelSpecificContentParams struct {

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

	*/
	ChannelID string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Creator
	  creator name

	*/
	Creator *string
	/*Ishidden
	  set to true to list only hidden contents, false to list only non-hidden contents

	*/
	Ishidden *string
	/*Isofficial
	  filter only official contents (boolean)

	*/
	Isofficial *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
	/*Orderby
	  sorting order: asc, desc. default=desc

	*/
	Orderby *string
	/*Sortby
	  sorting criteria: name,download,like,date,updatedTime. default=date

	*/
	Sortby *string
	/*Subtype
	  content subtype

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

	*/
	Tags []string
	/*Type
	  content type

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

SearchChannelSpecificContentParams contains all the parameters to send to the API endpoint for the search channel specific content operation typically these are written to a http.Request

func NewSearchChannelSpecificContentParams

func NewSearchChannelSpecificContentParams() *SearchChannelSpecificContentParams

NewSearchChannelSpecificContentParams creates a new SearchChannelSpecificContentParams object with the default values initialized.

func NewSearchChannelSpecificContentParamsWithContext

func NewSearchChannelSpecificContentParamsWithContext(ctx context.Context) *SearchChannelSpecificContentParams

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

func NewSearchChannelSpecificContentParamsWithHTTPClient

func NewSearchChannelSpecificContentParamsWithHTTPClient(client *http.Client) *SearchChannelSpecificContentParams

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

func NewSearchChannelSpecificContentParamsWithTimeout

func NewSearchChannelSpecificContentParamsWithTimeout(timeout time.Duration) *SearchChannelSpecificContentParams

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

func (*SearchChannelSpecificContentParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the search channel specific content params

func (*SearchChannelSpecificContentParams) SetChannelID

func (o *SearchChannelSpecificContentParams) SetChannelID(channelID string)

SetChannelID adds the channelId to the search channel specific content params

func (*SearchChannelSpecificContentParams) SetContext

SetContext adds the context to the search channel specific content params

func (*SearchChannelSpecificContentParams) SetCreator

func (o *SearchChannelSpecificContentParams) SetCreator(creator *string)

SetCreator adds the creator to the search channel specific content params

func (*SearchChannelSpecificContentParams) SetFlightId added in v0.63.0

func (o *SearchChannelSpecificContentParams) SetFlightId(flightId string)

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

func (*SearchChannelSpecificContentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the search channel specific content params

func (*SearchChannelSpecificContentParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the search channel specific content params

func (*SearchChannelSpecificContentParams) SetIshidden

func (o *SearchChannelSpecificContentParams) SetIshidden(ishidden *string)

SetIshidden adds the ishidden to the search channel specific content params

func (*SearchChannelSpecificContentParams) SetIsofficial

func (o *SearchChannelSpecificContentParams) SetIsofficial(isofficial *string)

SetIsofficial adds the isofficial to the search channel specific content params

func (*SearchChannelSpecificContentParams) SetLimit

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

SetLimit adds the limit to the search channel specific content params

func (*SearchChannelSpecificContentParams) SetName

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

SetName adds the name to the search channel specific content params

func (*SearchChannelSpecificContentParams) SetNamespace

func (o *SearchChannelSpecificContentParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the search channel specific content params

func (*SearchChannelSpecificContentParams) SetOffset

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

SetOffset adds the offset to the search channel specific content params

func (*SearchChannelSpecificContentParams) SetOrderby

func (o *SearchChannelSpecificContentParams) SetOrderby(orderby *string)

SetOrderby adds the orderby to the search channel specific content params

func (*SearchChannelSpecificContentParams) SetSortby

func (o *SearchChannelSpecificContentParams) SetSortby(sortby *string)

SetSortby adds the sortby to the search channel specific content params

func (*SearchChannelSpecificContentParams) SetSubtype

func (o *SearchChannelSpecificContentParams) SetSubtype(subtype *string)

SetSubtype adds the subtype to the search channel specific content params

func (*SearchChannelSpecificContentParams) SetTags

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

SetTags adds the tags to the search channel specific content params

func (*SearchChannelSpecificContentParams) SetTimeout

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

SetTimeout adds the timeout to the search channel specific content params

func (*SearchChannelSpecificContentParams) SetType

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

SetType adds the type to the search channel specific content params

func (*SearchChannelSpecificContentParams) SetUserID

func (o *SearchChannelSpecificContentParams) SetUserID(userID *string)

SetUserID adds the userId to the search channel specific content params

func (*SearchChannelSpecificContentParams) WithChannelID

WithChannelID adds the channelID to the search channel specific content params

func (*SearchChannelSpecificContentParams) WithContext

WithContext adds the context to the search channel specific content params

func (*SearchChannelSpecificContentParams) WithCreator

WithCreator adds the creator to the search channel specific content params

func (*SearchChannelSpecificContentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the search channel specific content params

func (*SearchChannelSpecificContentParams) WithIshidden

WithIshidden adds the ishidden to the search channel specific content params

func (*SearchChannelSpecificContentParams) WithIsofficial

WithIsofficial adds the isofficial to the search channel specific content params

func (*SearchChannelSpecificContentParams) WithLimit

WithLimit adds the limit to the search channel specific content params

func (*SearchChannelSpecificContentParams) WithName

WithName adds the name to the search channel specific content params

func (*SearchChannelSpecificContentParams) WithNamespace

WithNamespace adds the namespace to the search channel specific content params

func (*SearchChannelSpecificContentParams) WithOffset

WithOffset adds the offset to the search channel specific content params

func (*SearchChannelSpecificContentParams) WithOrderby

WithOrderby adds the orderby to the search channel specific content params

func (*SearchChannelSpecificContentParams) WithSortby

WithSortby adds the sortby to the search channel specific content params

func (*SearchChannelSpecificContentParams) WithSubtype

WithSubtype adds the subtype to the search channel specific content params

func (*SearchChannelSpecificContentParams) WithTags

WithTags adds the tags to the search channel specific content params

func (*SearchChannelSpecificContentParams) WithTimeout

WithTimeout adds the timeout to the search channel specific content params

func (*SearchChannelSpecificContentParams) WithType

WithType adds the typeVar to the search channel specific content params

func (*SearchChannelSpecificContentParams) WithUserID

WithUserID adds the userID to the search channel specific content params

func (*SearchChannelSpecificContentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SearchChannelSpecificContentReader

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

SearchChannelSpecificContentReader is a Reader for the SearchChannelSpecificContent structure.

func (*SearchChannelSpecificContentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SearchChannelSpecificContentUnauthorized

type SearchChannelSpecificContentUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

SearchChannelSpecificContentUnauthorized 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 NewSearchChannelSpecificContentUnauthorized

func NewSearchChannelSpecificContentUnauthorized() *SearchChannelSpecificContentUnauthorized

NewSearchChannelSpecificContentUnauthorized creates a SearchChannelSpecificContentUnauthorized with default headers values

func (*SearchChannelSpecificContentUnauthorized) Error

func (*SearchChannelSpecificContentUnauthorized) GetPayload

func (*SearchChannelSpecificContentUnauthorized) ToJSONString

type UpdateContentDirectBadRequest

type UpdateContentDirectBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateContentDirectBadRequest 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 NewUpdateContentDirectBadRequest

func NewUpdateContentDirectBadRequest() *UpdateContentDirectBadRequest

NewUpdateContentDirectBadRequest creates a UpdateContentDirectBadRequest with default headers values

func (*UpdateContentDirectBadRequest) Error

func (*UpdateContentDirectBadRequest) GetPayload

func (*UpdateContentDirectBadRequest) ToJSONString

func (o *UpdateContentDirectBadRequest) ToJSONString() string

type UpdateContentDirectForbidden added in v0.60.0

type UpdateContentDirectForbidden struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateContentDirectForbidden 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 NewUpdateContentDirectForbidden added in v0.60.0

func NewUpdateContentDirectForbidden() *UpdateContentDirectForbidden

NewUpdateContentDirectForbidden creates a UpdateContentDirectForbidden with default headers values

func (*UpdateContentDirectForbidden) Error added in v0.60.0

func (*UpdateContentDirectForbidden) GetPayload added in v0.60.0

func (*UpdateContentDirectForbidden) ToJSONString added in v0.60.0

func (o *UpdateContentDirectForbidden) ToJSONString() string

type UpdateContentDirectInternalServerError

type UpdateContentDirectInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateContentDirectInternalServerError 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 NewUpdateContentDirectInternalServerError

func NewUpdateContentDirectInternalServerError() *UpdateContentDirectInternalServerError

NewUpdateContentDirectInternalServerError creates a UpdateContentDirectInternalServerError with default headers values

func (*UpdateContentDirectInternalServerError) Error

func (*UpdateContentDirectInternalServerError) GetPayload

func (*UpdateContentDirectInternalServerError) ToJSONString

type UpdateContentDirectNotFound

type UpdateContentDirectNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateContentDirectNotFound 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 NewUpdateContentDirectNotFound

func NewUpdateContentDirectNotFound() *UpdateContentDirectNotFound

NewUpdateContentDirectNotFound creates a UpdateContentDirectNotFound with default headers values

func (*UpdateContentDirectNotFound) Error

func (*UpdateContentDirectNotFound) GetPayload

func (*UpdateContentDirectNotFound) ToJSONString

func (o *UpdateContentDirectNotFound) ToJSONString() string

type UpdateContentDirectOK

type UpdateContentDirectOK struct {
	Payload *ugcclientmodels.ModelsCreateContentResponse
}

UpdateContentDirectOK handles this case with default header values.

Content updated

func NewUpdateContentDirectOK

func NewUpdateContentDirectOK() *UpdateContentDirectOK

NewUpdateContentDirectOK creates a UpdateContentDirectOK with default headers values

func (*UpdateContentDirectOK) Error

func (o *UpdateContentDirectOK) Error() string

func (*UpdateContentDirectOK) GetPayload

func (*UpdateContentDirectOK) ToJSONString

func (o *UpdateContentDirectOK) ToJSONString() string

type UpdateContentDirectParams

type UpdateContentDirectParams struct {

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

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

func NewUpdateContentDirectParams

func NewUpdateContentDirectParams() *UpdateContentDirectParams

NewUpdateContentDirectParams creates a new UpdateContentDirectParams object with the default values initialized.

func NewUpdateContentDirectParamsWithContext

func NewUpdateContentDirectParamsWithContext(ctx context.Context) *UpdateContentDirectParams

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

func NewUpdateContentDirectParamsWithHTTPClient

func NewUpdateContentDirectParamsWithHTTPClient(client *http.Client) *UpdateContentDirectParams

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

func NewUpdateContentDirectParamsWithTimeout

func NewUpdateContentDirectParamsWithTimeout(timeout time.Duration) *UpdateContentDirectParams

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

func (*UpdateContentDirectParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the update content direct params

func (*UpdateContentDirectParams) SetBody

SetBody adds the body to the update content direct params

func (*UpdateContentDirectParams) SetChannelID

func (o *UpdateContentDirectParams) SetChannelID(channelID string)

SetChannelID adds the channelId to the update content direct params

func (*UpdateContentDirectParams) SetContentID

func (o *UpdateContentDirectParams) SetContentID(contentID string)

SetContentID adds the contentId to the update content direct params

func (*UpdateContentDirectParams) SetContext

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

SetContext adds the context to the update content direct params

func (*UpdateContentDirectParams) SetFlightId added in v0.63.0

func (o *UpdateContentDirectParams) SetFlightId(flightId string)

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

func (*UpdateContentDirectParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update content direct params

func (*UpdateContentDirectParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the update content direct params

func (*UpdateContentDirectParams) SetNamespace

func (o *UpdateContentDirectParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update content direct params

func (*UpdateContentDirectParams) SetTimeout

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

SetTimeout adds the timeout to the update content direct params

func (*UpdateContentDirectParams) SetUserID

func (o *UpdateContentDirectParams) SetUserID(userID string)

SetUserID adds the userId to the update content direct params

func (*UpdateContentDirectParams) WithBody

WithBody adds the body to the update content direct params

func (*UpdateContentDirectParams) WithChannelID

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

WithChannelID adds the channelID to the update content direct params

func (*UpdateContentDirectParams) WithContentID

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

WithContentID adds the contentID to the update content direct params

func (*UpdateContentDirectParams) WithContext

WithContext adds the context to the update content direct params

func (*UpdateContentDirectParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update content direct params

func (*UpdateContentDirectParams) WithNamespace

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

WithNamespace adds the namespace to the update content direct params

func (*UpdateContentDirectParams) WithTimeout

WithTimeout adds the timeout to the update content direct params

func (*UpdateContentDirectParams) WithUserID

WithUserID adds the userID to the update content direct params

func (*UpdateContentDirectParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateContentDirectReader

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

UpdateContentDirectReader is a Reader for the UpdateContentDirect structure.

func (*UpdateContentDirectReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateContentDirectUnauthorized

type UpdateContentDirectUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateContentDirectUnauthorized 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 NewUpdateContentDirectUnauthorized

func NewUpdateContentDirectUnauthorized() *UpdateContentDirectUnauthorized

NewUpdateContentDirectUnauthorized creates a UpdateContentDirectUnauthorized with default headers values

func (*UpdateContentDirectUnauthorized) Error

func (*UpdateContentDirectUnauthorized) GetPayload

func (*UpdateContentDirectUnauthorized) ToJSONString

func (o *UpdateContentDirectUnauthorized) ToJSONString() string

type UpdateContentS3BadRequest

type UpdateContentS3BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateContentS3BadRequest 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>772602</td><td>Unable to check user ban status/Unable to get updated ugc content</td></tr></table>

func NewUpdateContentS3BadRequest

func NewUpdateContentS3BadRequest() *UpdateContentS3BadRequest

NewUpdateContentS3BadRequest creates a UpdateContentS3BadRequest with default headers values

func (*UpdateContentS3BadRequest) Error

func (o *UpdateContentS3BadRequest) Error() string

func (*UpdateContentS3BadRequest) GetPayload

func (*UpdateContentS3BadRequest) ToJSONString

func (o *UpdateContentS3BadRequest) ToJSONString() string

type UpdateContentS3Forbidden added in v0.60.0

type UpdateContentS3Forbidden struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateContentS3Forbidden 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 NewUpdateContentS3Forbidden added in v0.60.0

func NewUpdateContentS3Forbidden() *UpdateContentS3Forbidden

NewUpdateContentS3Forbidden creates a UpdateContentS3Forbidden with default headers values

func (*UpdateContentS3Forbidden) Error added in v0.60.0

func (o *UpdateContentS3Forbidden) Error() string

func (*UpdateContentS3Forbidden) GetPayload added in v0.60.0

func (*UpdateContentS3Forbidden) ToJSONString added in v0.60.0

func (o *UpdateContentS3Forbidden) ToJSONString() string

type UpdateContentS3InternalServerError

type UpdateContentS3InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateContentS3InternalServerError 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 NewUpdateContentS3InternalServerError

func NewUpdateContentS3InternalServerError() *UpdateContentS3InternalServerError

NewUpdateContentS3InternalServerError creates a UpdateContentS3InternalServerError with default headers values

func (*UpdateContentS3InternalServerError) Error

func (*UpdateContentS3InternalServerError) GetPayload

func (*UpdateContentS3InternalServerError) ToJSONString

func (o *UpdateContentS3InternalServerError) ToJSONString() string

type UpdateContentS3NotFound

type UpdateContentS3NotFound struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateContentS3NotFound 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 NewUpdateContentS3NotFound

func NewUpdateContentS3NotFound() *UpdateContentS3NotFound

NewUpdateContentS3NotFound creates a UpdateContentS3NotFound with default headers values

func (*UpdateContentS3NotFound) Error

func (o *UpdateContentS3NotFound) Error() string

func (*UpdateContentS3NotFound) GetPayload

func (*UpdateContentS3NotFound) ToJSONString

func (o *UpdateContentS3NotFound) ToJSONString() string

type UpdateContentS3OK

type UpdateContentS3OK struct {
	Payload *ugcclientmodels.ModelsCreateContentResponse
}

UpdateContentS3OK handles this case with default header values.

Content updated at S3 bucket

func NewUpdateContentS3OK

func NewUpdateContentS3OK() *UpdateContentS3OK

NewUpdateContentS3OK creates a UpdateContentS3OK with default headers values

func (*UpdateContentS3OK) Error

func (o *UpdateContentS3OK) Error() string

func (*UpdateContentS3OK) GetPayload

func (*UpdateContentS3OK) ToJSONString

func (o *UpdateContentS3OK) ToJSONString() string

type UpdateContentS3Params

type UpdateContentS3Params struct {

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

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

func NewUpdateContentS3Params

func NewUpdateContentS3Params() *UpdateContentS3Params

NewUpdateContentS3Params creates a new UpdateContentS3Params object with the default values initialized.

func NewUpdateContentS3ParamsWithContext

func NewUpdateContentS3ParamsWithContext(ctx context.Context) *UpdateContentS3Params

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

func NewUpdateContentS3ParamsWithHTTPClient

func NewUpdateContentS3ParamsWithHTTPClient(client *http.Client) *UpdateContentS3Params

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

func NewUpdateContentS3ParamsWithTimeout

func NewUpdateContentS3ParamsWithTimeout(timeout time.Duration) *UpdateContentS3Params

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

func (*UpdateContentS3Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the update content s3 params

func (*UpdateContentS3Params) SetBody

SetBody adds the body to the update content s3 params

func (*UpdateContentS3Params) SetChannelID

func (o *UpdateContentS3Params) SetChannelID(channelID string)

SetChannelID adds the channelId to the update content s3 params

func (*UpdateContentS3Params) SetContentID

func (o *UpdateContentS3Params) SetContentID(contentID string)

SetContentID adds the contentId to the update content s3 params

func (*UpdateContentS3Params) SetContext

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

SetContext adds the context to the update content s3 params

func (*UpdateContentS3Params) SetFlightId added in v0.63.0

func (o *UpdateContentS3Params) SetFlightId(flightId string)

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

func (*UpdateContentS3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update content s3 params

func (*UpdateContentS3Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the update content s3 params

func (*UpdateContentS3Params) SetNamespace

func (o *UpdateContentS3Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the update content s3 params

func (*UpdateContentS3Params) SetTimeout

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

SetTimeout adds the timeout to the update content s3 params

func (*UpdateContentS3Params) SetUserID

func (o *UpdateContentS3Params) SetUserID(userID string)

SetUserID adds the userId to the update content s3 params

func (*UpdateContentS3Params) WithBody

WithBody adds the body to the update content s3 params

func (*UpdateContentS3Params) WithChannelID

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

WithChannelID adds the channelID to the update content s3 params

func (*UpdateContentS3Params) WithContentID

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

WithContentID adds the contentID to the update content s3 params

func (*UpdateContentS3Params) WithContext

WithContext adds the context to the update content s3 params

func (*UpdateContentS3Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update content s3 params

func (*UpdateContentS3Params) WithNamespace

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

WithNamespace adds the namespace to the update content s3 params

func (*UpdateContentS3Params) WithTimeout

func (o *UpdateContentS3Params) WithTimeout(timeout time.Duration) *UpdateContentS3Params

WithTimeout adds the timeout to the update content s3 params

func (*UpdateContentS3Params) WithUserID

func (o *UpdateContentS3Params) WithUserID(userID string) *UpdateContentS3Params

WithUserID adds the userID to the update content s3 params

func (*UpdateContentS3Params) WriteToRequest

func (o *UpdateContentS3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateContentS3Reader

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

UpdateContentS3Reader is a Reader for the UpdateContentS3 structure.

func (*UpdateContentS3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateContentS3Unauthorized

type UpdateContentS3Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateContentS3Unauthorized 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 NewUpdateContentS3Unauthorized

func NewUpdateContentS3Unauthorized() *UpdateContentS3Unauthorized

NewUpdateContentS3Unauthorized creates a UpdateContentS3Unauthorized with default headers values

func (*UpdateContentS3Unauthorized) Error

func (*UpdateContentS3Unauthorized) GetPayload

func (*UpdateContentS3Unauthorized) ToJSONString

func (o *UpdateContentS3Unauthorized) ToJSONString() string

type UpdateContentShareCodeBadRequest added in v0.59.0

type UpdateContentShareCodeBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateContentShareCodeBadRequest 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 NewUpdateContentShareCodeBadRequest added in v0.59.0

func NewUpdateContentShareCodeBadRequest() *UpdateContentShareCodeBadRequest

NewUpdateContentShareCodeBadRequest creates a UpdateContentShareCodeBadRequest with default headers values

func (*UpdateContentShareCodeBadRequest) Error added in v0.59.0

func (*UpdateContentShareCodeBadRequest) GetPayload added in v0.59.0

func (*UpdateContentShareCodeBadRequest) ToJSONString added in v0.59.0

func (o *UpdateContentShareCodeBadRequest) ToJSONString() string

type UpdateContentShareCodeConflict added in v0.59.0

type UpdateContentShareCodeConflict struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateContentShareCodeConflict 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 NewUpdateContentShareCodeConflict added in v0.59.0

func NewUpdateContentShareCodeConflict() *UpdateContentShareCodeConflict

NewUpdateContentShareCodeConflict creates a UpdateContentShareCodeConflict with default headers values

func (*UpdateContentShareCodeConflict) Error added in v0.59.0

func (*UpdateContentShareCodeConflict) GetPayload added in v0.59.0

func (*UpdateContentShareCodeConflict) ToJSONString added in v0.59.0

func (o *UpdateContentShareCodeConflict) ToJSONString() string

type UpdateContentShareCodeForbidden added in v0.59.0

type UpdateContentShareCodeForbidden struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateContentShareCodeForbidden 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 NewUpdateContentShareCodeForbidden added in v0.59.0

func NewUpdateContentShareCodeForbidden() *UpdateContentShareCodeForbidden

NewUpdateContentShareCodeForbidden creates a UpdateContentShareCodeForbidden with default headers values

func (*UpdateContentShareCodeForbidden) Error added in v0.59.0

func (*UpdateContentShareCodeForbidden) GetPayload added in v0.59.0

func (*UpdateContentShareCodeForbidden) ToJSONString added in v0.59.0

func (o *UpdateContentShareCodeForbidden) ToJSONString() string

type UpdateContentShareCodeInternalServerError added in v0.59.0

type UpdateContentShareCodeInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateContentShareCodeInternalServerError 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 NewUpdateContentShareCodeInternalServerError added in v0.59.0

func NewUpdateContentShareCodeInternalServerError() *UpdateContentShareCodeInternalServerError

NewUpdateContentShareCodeInternalServerError creates a UpdateContentShareCodeInternalServerError with default headers values

func (*UpdateContentShareCodeInternalServerError) Error added in v0.59.0

func (*UpdateContentShareCodeInternalServerError) GetPayload added in v0.59.0

func (*UpdateContentShareCodeInternalServerError) ToJSONString added in v0.59.0

type UpdateContentShareCodeNotFound added in v0.59.0

type UpdateContentShareCodeNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateContentShareCodeNotFound 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 NewUpdateContentShareCodeNotFound added in v0.59.0

func NewUpdateContentShareCodeNotFound() *UpdateContentShareCodeNotFound

NewUpdateContentShareCodeNotFound creates a UpdateContentShareCodeNotFound with default headers values

func (*UpdateContentShareCodeNotFound) Error added in v0.59.0

func (*UpdateContentShareCodeNotFound) GetPayload added in v0.59.0

func (*UpdateContentShareCodeNotFound) ToJSONString added in v0.59.0

func (o *UpdateContentShareCodeNotFound) ToJSONString() string

type UpdateContentShareCodeOK added in v0.59.0

type UpdateContentShareCodeOK struct {
	Payload *ugcclientmodels.ModelsCreateContentResponse
}

UpdateContentShareCodeOK handles this case with default header values.

Content updated by sharecodes

func NewUpdateContentShareCodeOK added in v0.59.0

func NewUpdateContentShareCodeOK() *UpdateContentShareCodeOK

NewUpdateContentShareCodeOK creates a UpdateContentShareCodeOK with default headers values

func (*UpdateContentShareCodeOK) Error added in v0.59.0

func (o *UpdateContentShareCodeOK) Error() string

func (*UpdateContentShareCodeOK) GetPayload added in v0.59.0

func (*UpdateContentShareCodeOK) ToJSONString added in v0.59.0

func (o *UpdateContentShareCodeOK) ToJSONString() string

type UpdateContentShareCodeParams added in v0.59.0

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

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

func NewUpdateContentShareCodeParams added in v0.59.0

func NewUpdateContentShareCodeParams() *UpdateContentShareCodeParams

NewUpdateContentShareCodeParams creates a new UpdateContentShareCodeParams object with the default values initialized.

func NewUpdateContentShareCodeParamsWithContext added in v0.59.0

func NewUpdateContentShareCodeParamsWithContext(ctx context.Context) *UpdateContentShareCodeParams

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

func NewUpdateContentShareCodeParamsWithHTTPClient added in v0.59.0

func NewUpdateContentShareCodeParamsWithHTTPClient(client *http.Client) *UpdateContentShareCodeParams

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

func NewUpdateContentShareCodeParamsWithTimeout added in v0.59.0

func NewUpdateContentShareCodeParamsWithTimeout(timeout time.Duration) *UpdateContentShareCodeParams

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

func (*UpdateContentShareCodeParams) SetAuthInfoWriter added in v0.59.0

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

SetAuthInfoWriter adds the authInfoWriter to the update content share code params

func (*UpdateContentShareCodeParams) SetBody added in v0.59.0

SetBody adds the body to the update content share code params

func (*UpdateContentShareCodeParams) SetChannelID added in v0.59.0

func (o *UpdateContentShareCodeParams) SetChannelID(channelID string)

SetChannelID adds the channelId to the update content share code params

func (*UpdateContentShareCodeParams) SetContentID added in v0.59.0

func (o *UpdateContentShareCodeParams) SetContentID(contentID string)

SetContentID adds the contentId to the update content share code params

func (*UpdateContentShareCodeParams) SetContext added in v0.59.0

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

SetContext adds the context to the update content share code params

func (*UpdateContentShareCodeParams) SetFlightId added in v0.63.0

func (o *UpdateContentShareCodeParams) SetFlightId(flightId string)

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

func (*UpdateContentShareCodeParams) SetHTTPClient added in v0.59.0

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

SetHTTPClient adds the HTTPClient to the update content share code params

func (*UpdateContentShareCodeParams) SetHTTPClientTransport added in v0.59.0

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

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

func (*UpdateContentShareCodeParams) SetNamespace added in v0.59.0

func (o *UpdateContentShareCodeParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update content share code params

func (*UpdateContentShareCodeParams) SetTimeout added in v0.59.0

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

SetTimeout adds the timeout to the update content share code params

func (*UpdateContentShareCodeParams) SetUserID added in v0.59.0

func (o *UpdateContentShareCodeParams) SetUserID(userID string)

SetUserID adds the userId to the update content share code params

func (*UpdateContentShareCodeParams) WithBody added in v0.59.0

WithBody adds the body to the update content share code params

func (*UpdateContentShareCodeParams) WithChannelID added in v0.59.0

WithChannelID adds the channelID to the update content share code params

func (*UpdateContentShareCodeParams) WithContentID added in v0.59.0

WithContentID adds the contentID to the update content share code params

func (*UpdateContentShareCodeParams) WithContext added in v0.59.0

WithContext adds the context to the update content share code params

func (*UpdateContentShareCodeParams) WithHTTPClient added in v0.59.0

WithHTTPClient adds the HTTPClient to the update content share code params

func (*UpdateContentShareCodeParams) WithNamespace added in v0.59.0

WithNamespace adds the namespace to the update content share code params

func (*UpdateContentShareCodeParams) WithTimeout added in v0.59.0

WithTimeout adds the timeout to the update content share code params

func (*UpdateContentShareCodeParams) WithUserID added in v0.59.0

WithUserID adds the userID to the update content share code params

func (*UpdateContentShareCodeParams) WriteToRequest added in v0.59.0

WriteToRequest writes these params to a swagger request

type UpdateContentShareCodeReader added in v0.59.0

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

UpdateContentShareCodeReader is a Reader for the UpdateContentShareCode structure.

func (*UpdateContentShareCodeReader) ReadResponse added in v0.59.0

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

ReadResponse reads a server response into the received o.

type UpdateContentShareCodeUnauthorized added in v0.59.0

type UpdateContentShareCodeUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateContentShareCodeUnauthorized 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 NewUpdateContentShareCodeUnauthorized added in v0.59.0

func NewUpdateContentShareCodeUnauthorized() *UpdateContentShareCodeUnauthorized

NewUpdateContentShareCodeUnauthorized creates a UpdateContentShareCodeUnauthorized with default headers values

func (*UpdateContentShareCodeUnauthorized) Error added in v0.59.0

func (*UpdateContentShareCodeUnauthorized) GetPayload added in v0.59.0

func (*UpdateContentShareCodeUnauthorized) ToJSONString added in v0.59.0

func (o *UpdateContentShareCodeUnauthorized) ToJSONString() string

type UpdateScreenshotsBadRequest

type UpdateScreenshotsBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateScreenshotsBadRequest 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 NewUpdateScreenshotsBadRequest

func NewUpdateScreenshotsBadRequest() *UpdateScreenshotsBadRequest

NewUpdateScreenshotsBadRequest creates a UpdateScreenshotsBadRequest with default headers values

func (*UpdateScreenshotsBadRequest) Error

func (*UpdateScreenshotsBadRequest) GetPayload

func (*UpdateScreenshotsBadRequest) ToJSONString

func (o *UpdateScreenshotsBadRequest) ToJSONString() string

type UpdateScreenshotsForbidden added in v0.60.0

type UpdateScreenshotsForbidden struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateScreenshotsForbidden 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 NewUpdateScreenshotsForbidden added in v0.60.0

func NewUpdateScreenshotsForbidden() *UpdateScreenshotsForbidden

NewUpdateScreenshotsForbidden creates a UpdateScreenshotsForbidden with default headers values

func (*UpdateScreenshotsForbidden) Error added in v0.60.0

func (*UpdateScreenshotsForbidden) GetPayload added in v0.60.0

func (*UpdateScreenshotsForbidden) ToJSONString added in v0.60.0

func (o *UpdateScreenshotsForbidden) ToJSONString() string

type UpdateScreenshotsInternalServerError

type UpdateScreenshotsInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateScreenshotsInternalServerError 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 NewUpdateScreenshotsInternalServerError

func NewUpdateScreenshotsInternalServerError() *UpdateScreenshotsInternalServerError

NewUpdateScreenshotsInternalServerError creates a UpdateScreenshotsInternalServerError with default headers values

func (*UpdateScreenshotsInternalServerError) Error

func (*UpdateScreenshotsInternalServerError) GetPayload

func (*UpdateScreenshotsInternalServerError) ToJSONString

func (o *UpdateScreenshotsInternalServerError) ToJSONString() string

type UpdateScreenshotsNotFound

type UpdateScreenshotsNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateScreenshotsNotFound 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 NewUpdateScreenshotsNotFound

func NewUpdateScreenshotsNotFound() *UpdateScreenshotsNotFound

NewUpdateScreenshotsNotFound creates a UpdateScreenshotsNotFound with default headers values

func (*UpdateScreenshotsNotFound) Error

func (o *UpdateScreenshotsNotFound) Error() string

func (*UpdateScreenshotsNotFound) GetPayload

func (*UpdateScreenshotsNotFound) ToJSONString

func (o *UpdateScreenshotsNotFound) ToJSONString() string

type UpdateScreenshotsOK

type UpdateScreenshotsOK struct {
	Payload *ugcclientmodels.ModelsUpdateScreenshotResponse
}

UpdateScreenshotsOK handles this case with default header values.

Screenshot updated

func NewUpdateScreenshotsOK

func NewUpdateScreenshotsOK() *UpdateScreenshotsOK

NewUpdateScreenshotsOK creates a UpdateScreenshotsOK with default headers values

func (*UpdateScreenshotsOK) Error

func (o *UpdateScreenshotsOK) Error() string

func (*UpdateScreenshotsOK) GetPayload

func (*UpdateScreenshotsOK) ToJSONString

func (o *UpdateScreenshotsOK) ToJSONString() string

type UpdateScreenshotsParams

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

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

func NewUpdateScreenshotsParams

func NewUpdateScreenshotsParams() *UpdateScreenshotsParams

NewUpdateScreenshotsParams creates a new UpdateScreenshotsParams object with the default values initialized.

func NewUpdateScreenshotsParamsWithContext

func NewUpdateScreenshotsParamsWithContext(ctx context.Context) *UpdateScreenshotsParams

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

func NewUpdateScreenshotsParamsWithHTTPClient

func NewUpdateScreenshotsParamsWithHTTPClient(client *http.Client) *UpdateScreenshotsParams

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

func NewUpdateScreenshotsParamsWithTimeout

func NewUpdateScreenshotsParamsWithTimeout(timeout time.Duration) *UpdateScreenshotsParams

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

func (*UpdateScreenshotsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the update screenshots params

func (*UpdateScreenshotsParams) SetBody

SetBody adds the body to the update screenshots params

func (*UpdateScreenshotsParams) SetContentID

func (o *UpdateScreenshotsParams) SetContentID(contentID string)

SetContentID adds the contentId to the update screenshots params

func (*UpdateScreenshotsParams) SetContext

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

SetContext adds the context to the update screenshots params

func (*UpdateScreenshotsParams) SetFlightId added in v0.63.0

func (o *UpdateScreenshotsParams) SetFlightId(flightId string)

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

func (*UpdateScreenshotsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update screenshots params

func (*UpdateScreenshotsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the update screenshots params

func (*UpdateScreenshotsParams) SetNamespace

func (o *UpdateScreenshotsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update screenshots params

func (*UpdateScreenshotsParams) SetTimeout

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

SetTimeout adds the timeout to the update screenshots params

func (*UpdateScreenshotsParams) SetUserID

func (o *UpdateScreenshotsParams) SetUserID(userID string)

SetUserID adds the userId to the update screenshots params

func (*UpdateScreenshotsParams) WithBody

WithBody adds the body to the update screenshots params

func (*UpdateScreenshotsParams) WithContentID

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

WithContentID adds the contentID to the update screenshots params

func (*UpdateScreenshotsParams) WithContext

WithContext adds the context to the update screenshots params

func (*UpdateScreenshotsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update screenshots params

func (*UpdateScreenshotsParams) WithNamespace

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

WithNamespace adds the namespace to the update screenshots params

func (*UpdateScreenshotsParams) WithTimeout

WithTimeout adds the timeout to the update screenshots params

func (*UpdateScreenshotsParams) WithUserID

WithUserID adds the userID to the update screenshots params

func (*UpdateScreenshotsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateScreenshotsReader

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

UpdateScreenshotsReader is a Reader for the UpdateScreenshots structure.

func (*UpdateScreenshotsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateScreenshotsUnauthorized

type UpdateScreenshotsUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateScreenshotsUnauthorized 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 NewUpdateScreenshotsUnauthorized

func NewUpdateScreenshotsUnauthorized() *UpdateScreenshotsUnauthorized

NewUpdateScreenshotsUnauthorized creates a UpdateScreenshotsUnauthorized with default headers values

func (*UpdateScreenshotsUnauthorized) Error

func (*UpdateScreenshotsUnauthorized) GetPayload

func (*UpdateScreenshotsUnauthorized) ToJSONString

func (o *UpdateScreenshotsUnauthorized) ToJSONString() string

type UploadContentScreenshotBadRequest

type UploadContentScreenshotBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

UploadContentScreenshotBadRequest 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 NewUploadContentScreenshotBadRequest

func NewUploadContentScreenshotBadRequest() *UploadContentScreenshotBadRequest

NewUploadContentScreenshotBadRequest creates a UploadContentScreenshotBadRequest with default headers values

func (*UploadContentScreenshotBadRequest) Error

func (*UploadContentScreenshotBadRequest) GetPayload

func (*UploadContentScreenshotBadRequest) ToJSONString

func (o *UploadContentScreenshotBadRequest) ToJSONString() string

type UploadContentScreenshotCreated

type UploadContentScreenshotCreated struct {
	Payload *ugcclientmodels.ModelsCreateScreenshotResponse
}

UploadContentScreenshotCreated handles this case with default header values.

Screenshot uploaded

func NewUploadContentScreenshotCreated

func NewUploadContentScreenshotCreated() *UploadContentScreenshotCreated

NewUploadContentScreenshotCreated creates a UploadContentScreenshotCreated with default headers values

func (*UploadContentScreenshotCreated) Error

func (*UploadContentScreenshotCreated) GetPayload

func (*UploadContentScreenshotCreated) ToJSONString

func (o *UploadContentScreenshotCreated) ToJSONString() string

type UploadContentScreenshotForbidden added in v0.60.0

type UploadContentScreenshotForbidden struct {
	Payload *ugcclientmodels.ResponseError
}

UploadContentScreenshotForbidden 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 NewUploadContentScreenshotForbidden added in v0.60.0

func NewUploadContentScreenshotForbidden() *UploadContentScreenshotForbidden

NewUploadContentScreenshotForbidden creates a UploadContentScreenshotForbidden with default headers values

func (*UploadContentScreenshotForbidden) Error added in v0.60.0

func (*UploadContentScreenshotForbidden) GetPayload added in v0.60.0

func (*UploadContentScreenshotForbidden) ToJSONString added in v0.60.0

func (o *UploadContentScreenshotForbidden) ToJSONString() string

type UploadContentScreenshotInternalServerError

type UploadContentScreenshotInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

UploadContentScreenshotInternalServerError 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 NewUploadContentScreenshotInternalServerError

func NewUploadContentScreenshotInternalServerError() *UploadContentScreenshotInternalServerError

NewUploadContentScreenshotInternalServerError creates a UploadContentScreenshotInternalServerError with default headers values

func (*UploadContentScreenshotInternalServerError) Error

func (*UploadContentScreenshotInternalServerError) GetPayload

func (*UploadContentScreenshotInternalServerError) ToJSONString

type UploadContentScreenshotNotFound added in v0.60.0

type UploadContentScreenshotNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

UploadContentScreenshotNotFound 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 NewUploadContentScreenshotNotFound added in v0.60.0

func NewUploadContentScreenshotNotFound() *UploadContentScreenshotNotFound

NewUploadContentScreenshotNotFound creates a UploadContentScreenshotNotFound with default headers values

func (*UploadContentScreenshotNotFound) Error added in v0.60.0

func (*UploadContentScreenshotNotFound) GetPayload added in v0.60.0

func (*UploadContentScreenshotNotFound) ToJSONString added in v0.60.0

func (o *UploadContentScreenshotNotFound) ToJSONString() string

type UploadContentScreenshotParams

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

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

func NewUploadContentScreenshotParams

func NewUploadContentScreenshotParams() *UploadContentScreenshotParams

NewUploadContentScreenshotParams creates a new UploadContentScreenshotParams object with the default values initialized.

func NewUploadContentScreenshotParamsWithContext

func NewUploadContentScreenshotParamsWithContext(ctx context.Context) *UploadContentScreenshotParams

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

func NewUploadContentScreenshotParamsWithHTTPClient

func NewUploadContentScreenshotParamsWithHTTPClient(client *http.Client) *UploadContentScreenshotParams

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

func NewUploadContentScreenshotParamsWithTimeout

func NewUploadContentScreenshotParamsWithTimeout(timeout time.Duration) *UploadContentScreenshotParams

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

func (*UploadContentScreenshotParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the upload content screenshot params

func (*UploadContentScreenshotParams) SetBody

SetBody adds the body to the upload content screenshot params

func (*UploadContentScreenshotParams) SetContentID

func (o *UploadContentScreenshotParams) SetContentID(contentID string)

SetContentID adds the contentId to the upload content screenshot params

func (*UploadContentScreenshotParams) SetContext

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

SetContext adds the context to the upload content screenshot params

func (*UploadContentScreenshotParams) SetFlightId added in v0.63.0

func (o *UploadContentScreenshotParams) SetFlightId(flightId string)

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

func (*UploadContentScreenshotParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the upload content screenshot params

func (*UploadContentScreenshotParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the upload content screenshot params

func (*UploadContentScreenshotParams) SetNamespace

func (o *UploadContentScreenshotParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the upload content screenshot params

func (*UploadContentScreenshotParams) SetTimeout

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

SetTimeout adds the timeout to the upload content screenshot params

func (*UploadContentScreenshotParams) SetUserID

func (o *UploadContentScreenshotParams) SetUserID(userID string)

SetUserID adds the userId to the upload content screenshot params

func (*UploadContentScreenshotParams) WithBody

WithBody adds the body to the upload content screenshot params

func (*UploadContentScreenshotParams) WithContentID

WithContentID adds the contentID to the upload content screenshot params

func (*UploadContentScreenshotParams) WithContext

WithContext adds the context to the upload content screenshot params

func (*UploadContentScreenshotParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the upload content screenshot params

func (*UploadContentScreenshotParams) WithNamespace

WithNamespace adds the namespace to the upload content screenshot params

func (*UploadContentScreenshotParams) WithTimeout

WithTimeout adds the timeout to the upload content screenshot params

func (*UploadContentScreenshotParams) WithUserID

WithUserID adds the userID to the upload content screenshot params

func (*UploadContentScreenshotParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UploadContentScreenshotReader

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

UploadContentScreenshotReader is a Reader for the UploadContentScreenshot structure.

func (*UploadContentScreenshotReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UploadContentScreenshotUnauthorized

type UploadContentScreenshotUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

UploadContentScreenshotUnauthorized 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 NewUploadContentScreenshotUnauthorized

func NewUploadContentScreenshotUnauthorized() *UploadContentScreenshotUnauthorized

NewUploadContentScreenshotUnauthorized creates a UploadContentScreenshotUnauthorized with default headers values

func (*UploadContentScreenshotUnauthorized) Error

func (*UploadContentScreenshotUnauthorized) GetPayload

func (*UploadContentScreenshotUnauthorized) ToJSONString

func (o *UploadContentScreenshotUnauthorized) ToJSONString() string

Source Files

Jump to

Keyboard shortcuts

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