admin_content

package
v0.73.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 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 AdminDeleteContentInternalServerError

type AdminDeleteContentInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminDeleteContentInternalServerError 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 NewAdminDeleteContentInternalServerError

func NewAdminDeleteContentInternalServerError() *AdminDeleteContentInternalServerError

NewAdminDeleteContentInternalServerError creates a AdminDeleteContentInternalServerError with default headers values

func (*AdminDeleteContentInternalServerError) Error

func (*AdminDeleteContentInternalServerError) GetPayload

func (*AdminDeleteContentInternalServerError) ToJSONString added in v0.25.0

type AdminDeleteContentNoContent

type AdminDeleteContentNoContent struct {
}

AdminDeleteContentNoContent handles this case with default header values.

Content deleted

func NewAdminDeleteContentNoContent

func NewAdminDeleteContentNoContent() *AdminDeleteContentNoContent

NewAdminDeleteContentNoContent creates a AdminDeleteContentNoContent with default headers values

func (*AdminDeleteContentNoContent) Error

type AdminDeleteContentNotFound

type AdminDeleteContentNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminDeleteContentNotFound 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 NewAdminDeleteContentNotFound

func NewAdminDeleteContentNotFound() *AdminDeleteContentNotFound

NewAdminDeleteContentNotFound creates a AdminDeleteContentNotFound with default headers values

func (*AdminDeleteContentNotFound) Error

func (*AdminDeleteContentNotFound) GetPayload

func (*AdminDeleteContentNotFound) ToJSONString added in v0.25.0

func (o *AdminDeleteContentNotFound) ToJSONString() string

type AdminDeleteContentParams

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

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

func NewAdminDeleteContentParams

func NewAdminDeleteContentParams() *AdminDeleteContentParams

NewAdminDeleteContentParams creates a new AdminDeleteContentParams object with the default values initialized.

func NewAdminDeleteContentParamsWithContext

func NewAdminDeleteContentParamsWithContext(ctx context.Context) *AdminDeleteContentParams

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

func NewAdminDeleteContentParamsWithHTTPClient

func NewAdminDeleteContentParamsWithHTTPClient(client *http.Client) *AdminDeleteContentParams

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

func NewAdminDeleteContentParamsWithTimeout

func NewAdminDeleteContentParamsWithTimeout(timeout time.Duration) *AdminDeleteContentParams

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

func (*AdminDeleteContentParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin delete content params

func (*AdminDeleteContentParams) SetChannelID

func (o *AdminDeleteContentParams) SetChannelID(channelID string)

SetChannelID adds the channelId to the admin delete content params

func (*AdminDeleteContentParams) SetContentID

func (o *AdminDeleteContentParams) SetContentID(contentID string)

SetContentID adds the contentId to the admin delete content params

func (*AdminDeleteContentParams) SetContext

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

SetContext adds the context to the admin delete content params

func (*AdminDeleteContentParams) SetFlightId added in v0.63.0

func (o *AdminDeleteContentParams) SetFlightId(flightId string)

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

func (*AdminDeleteContentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin delete content params

func (*AdminDeleteContentParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the admin delete content params

func (*AdminDeleteContentParams) SetNamespace

func (o *AdminDeleteContentParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin delete content params

func (*AdminDeleteContentParams) SetTimeout

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

SetTimeout adds the timeout to the admin delete content params

func (*AdminDeleteContentParams) SetUserID

func (o *AdminDeleteContentParams) SetUserID(userID string)

SetUserID adds the userId to the admin delete content params

func (*AdminDeleteContentParams) WithChannelID

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

WithChannelID adds the channelID to the admin delete content params

func (*AdminDeleteContentParams) WithContentID

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

WithContentID adds the contentID to the admin delete content params

func (*AdminDeleteContentParams) WithContext

WithContext adds the context to the admin delete content params

func (*AdminDeleteContentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin delete content params

func (*AdminDeleteContentParams) WithNamespace

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

WithNamespace adds the namespace to the admin delete content params

func (*AdminDeleteContentParams) WithTimeout

WithTimeout adds the timeout to the admin delete content params

func (*AdminDeleteContentParams) WithUserID

WithUserID adds the userID to the admin delete content params

func (*AdminDeleteContentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminDeleteContentReader

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

AdminDeleteContentReader is a Reader for the AdminDeleteContent structure.

func (*AdminDeleteContentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminDeleteContentScreenshotBadRequest

type AdminDeleteContentScreenshotBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminDeleteContentScreenshotBadRequest 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 NewAdminDeleteContentScreenshotBadRequest

func NewAdminDeleteContentScreenshotBadRequest() *AdminDeleteContentScreenshotBadRequest

NewAdminDeleteContentScreenshotBadRequest creates a AdminDeleteContentScreenshotBadRequest with default headers values

func (*AdminDeleteContentScreenshotBadRequest) Error

func (*AdminDeleteContentScreenshotBadRequest) GetPayload

func (*AdminDeleteContentScreenshotBadRequest) ToJSONString added in v0.25.0

type AdminDeleteContentScreenshotForbidden added in v0.60.0

type AdminDeleteContentScreenshotForbidden struct {
	Payload *ugcclientmodels.ResponseError
}

AdminDeleteContentScreenshotForbidden 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 NewAdminDeleteContentScreenshotForbidden added in v0.60.0

func NewAdminDeleteContentScreenshotForbidden() *AdminDeleteContentScreenshotForbidden

NewAdminDeleteContentScreenshotForbidden creates a AdminDeleteContentScreenshotForbidden with default headers values

func (*AdminDeleteContentScreenshotForbidden) Error added in v0.60.0

func (*AdminDeleteContentScreenshotForbidden) GetPayload added in v0.60.0

func (*AdminDeleteContentScreenshotForbidden) ToJSONString added in v0.60.0

type AdminDeleteContentScreenshotInternalServerError

type AdminDeleteContentScreenshotInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminDeleteContentScreenshotInternalServerError 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 NewAdminDeleteContentScreenshotInternalServerError

func NewAdminDeleteContentScreenshotInternalServerError() *AdminDeleteContentScreenshotInternalServerError

NewAdminDeleteContentScreenshotInternalServerError creates a AdminDeleteContentScreenshotInternalServerError with default headers values

func (*AdminDeleteContentScreenshotInternalServerError) Error

func (*AdminDeleteContentScreenshotInternalServerError) GetPayload

func (*AdminDeleteContentScreenshotInternalServerError) ToJSONString added in v0.25.0

type AdminDeleteContentScreenshotNoContent

type AdminDeleteContentScreenshotNoContent struct {
}

AdminDeleteContentScreenshotNoContent handles this case with default header values.

Screenshot deleted

func NewAdminDeleteContentScreenshotNoContent

func NewAdminDeleteContentScreenshotNoContent() *AdminDeleteContentScreenshotNoContent

NewAdminDeleteContentScreenshotNoContent creates a AdminDeleteContentScreenshotNoContent with default headers values

func (*AdminDeleteContentScreenshotNoContent) Error

type AdminDeleteContentScreenshotNotFound

type AdminDeleteContentScreenshotNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminDeleteContentScreenshotNotFound 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 NewAdminDeleteContentScreenshotNotFound

func NewAdminDeleteContentScreenshotNotFound() *AdminDeleteContentScreenshotNotFound

NewAdminDeleteContentScreenshotNotFound creates a AdminDeleteContentScreenshotNotFound with default headers values

func (*AdminDeleteContentScreenshotNotFound) Error

func (*AdminDeleteContentScreenshotNotFound) GetPayload

func (*AdminDeleteContentScreenshotNotFound) ToJSONString added in v0.25.0

func (o *AdminDeleteContentScreenshotNotFound) ToJSONString() string

type AdminDeleteContentScreenshotParams

type AdminDeleteContentScreenshotParams struct {

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

	*/
	ContentID string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*ScreenshotID
	  screenshot ID

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

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

func NewAdminDeleteContentScreenshotParams

func NewAdminDeleteContentScreenshotParams() *AdminDeleteContentScreenshotParams

NewAdminDeleteContentScreenshotParams creates a new AdminDeleteContentScreenshotParams object with the default values initialized.

func NewAdminDeleteContentScreenshotParamsWithContext

func NewAdminDeleteContentScreenshotParamsWithContext(ctx context.Context) *AdminDeleteContentScreenshotParams

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

func NewAdminDeleteContentScreenshotParamsWithHTTPClient

func NewAdminDeleteContentScreenshotParamsWithHTTPClient(client *http.Client) *AdminDeleteContentScreenshotParams

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

func NewAdminDeleteContentScreenshotParamsWithTimeout

func NewAdminDeleteContentScreenshotParamsWithTimeout(timeout time.Duration) *AdminDeleteContentScreenshotParams

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

func (*AdminDeleteContentScreenshotParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin delete content screenshot params

func (*AdminDeleteContentScreenshotParams) SetContentID

func (o *AdminDeleteContentScreenshotParams) SetContentID(contentID string)

SetContentID adds the contentId to the admin delete content screenshot params

func (*AdminDeleteContentScreenshotParams) SetContext

SetContext adds the context to the admin delete content screenshot params

func (*AdminDeleteContentScreenshotParams) SetFlightId added in v0.63.0

func (o *AdminDeleteContentScreenshotParams) SetFlightId(flightId string)

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

func (*AdminDeleteContentScreenshotParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin delete content screenshot params

func (*AdminDeleteContentScreenshotParams) SetHTTPClientTransport added in v0.19.0

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

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

func (*AdminDeleteContentScreenshotParams) SetNamespace

func (o *AdminDeleteContentScreenshotParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin delete content screenshot params

func (*AdminDeleteContentScreenshotParams) SetScreenshotID

func (o *AdminDeleteContentScreenshotParams) SetScreenshotID(screenshotID string)

SetScreenshotID adds the screenshotId to the admin delete content screenshot params

func (*AdminDeleteContentScreenshotParams) SetTimeout

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

SetTimeout adds the timeout to the admin delete content screenshot params

func (*AdminDeleteContentScreenshotParams) WithContentID

WithContentID adds the contentID to the admin delete content screenshot params

func (*AdminDeleteContentScreenshotParams) WithContext

WithContext adds the context to the admin delete content screenshot params

func (*AdminDeleteContentScreenshotParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin delete content screenshot params

func (*AdminDeleteContentScreenshotParams) WithNamespace

WithNamespace adds the namespace to the admin delete content screenshot params

func (*AdminDeleteContentScreenshotParams) WithScreenshotID

WithScreenshotID adds the screenshotID to the admin delete content screenshot params

func (*AdminDeleteContentScreenshotParams) WithTimeout

WithTimeout adds the timeout to the admin delete content screenshot params

func (*AdminDeleteContentScreenshotParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminDeleteContentScreenshotReader

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

AdminDeleteContentScreenshotReader is a Reader for the AdminDeleteContentScreenshot structure.

func (*AdminDeleteContentScreenshotReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminDeleteContentScreenshotUnauthorized

type AdminDeleteContentScreenshotUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminDeleteContentScreenshotUnauthorized 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 NewAdminDeleteContentScreenshotUnauthorized

func NewAdminDeleteContentScreenshotUnauthorized() *AdminDeleteContentScreenshotUnauthorized

NewAdminDeleteContentScreenshotUnauthorized creates a AdminDeleteContentScreenshotUnauthorized with default headers values

func (*AdminDeleteContentScreenshotUnauthorized) Error

func (*AdminDeleteContentScreenshotUnauthorized) GetPayload

func (*AdminDeleteContentScreenshotUnauthorized) ToJSONString added in v0.25.0

type AdminDeleteContentUnauthorized

type AdminDeleteContentUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminDeleteContentUnauthorized 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 NewAdminDeleteContentUnauthorized

func NewAdminDeleteContentUnauthorized() *AdminDeleteContentUnauthorized

NewAdminDeleteContentUnauthorized creates a AdminDeleteContentUnauthorized with default headers values

func (*AdminDeleteContentUnauthorized) Error

func (*AdminDeleteContentUnauthorized) GetPayload

func (*AdminDeleteContentUnauthorized) ToJSONString added in v0.25.0

func (o *AdminDeleteContentUnauthorized) ToJSONString() string

type AdminDownloadContentPreviewInternalServerError

type AdminDownloadContentPreviewInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminDownloadContentPreviewInternalServerError 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 NewAdminDownloadContentPreviewInternalServerError

func NewAdminDownloadContentPreviewInternalServerError() *AdminDownloadContentPreviewInternalServerError

NewAdminDownloadContentPreviewInternalServerError creates a AdminDownloadContentPreviewInternalServerError with default headers values

func (*AdminDownloadContentPreviewInternalServerError) Error

func (*AdminDownloadContentPreviewInternalServerError) GetPayload

func (*AdminDownloadContentPreviewInternalServerError) ToJSONString added in v0.25.0

type AdminDownloadContentPreviewNotFound

type AdminDownloadContentPreviewNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminDownloadContentPreviewNotFound 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 NewAdminDownloadContentPreviewNotFound

func NewAdminDownloadContentPreviewNotFound() *AdminDownloadContentPreviewNotFound

NewAdminDownloadContentPreviewNotFound creates a AdminDownloadContentPreviewNotFound with default headers values

func (*AdminDownloadContentPreviewNotFound) Error

func (*AdminDownloadContentPreviewNotFound) GetPayload

func (*AdminDownloadContentPreviewNotFound) ToJSONString added in v0.25.0

func (o *AdminDownloadContentPreviewNotFound) ToJSONString() string

type AdminDownloadContentPreviewOK

type AdminDownloadContentPreviewOK struct {
	Payload *ugcclientmodels.ModelsGetContentPreviewResponse
}

AdminDownloadContentPreviewOK handles this case with default header values.

Get content preview

func NewAdminDownloadContentPreviewOK

func NewAdminDownloadContentPreviewOK() *AdminDownloadContentPreviewOK

NewAdminDownloadContentPreviewOK creates a AdminDownloadContentPreviewOK with default headers values

func (*AdminDownloadContentPreviewOK) Error

func (*AdminDownloadContentPreviewOK) GetPayload

func (*AdminDownloadContentPreviewOK) ToJSONString added in v0.25.0

func (o *AdminDownloadContentPreviewOK) ToJSONString() string

type AdminDownloadContentPreviewParams

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

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

func NewAdminDownloadContentPreviewParams

func NewAdminDownloadContentPreviewParams() *AdminDownloadContentPreviewParams

NewAdminDownloadContentPreviewParams creates a new AdminDownloadContentPreviewParams object with the default values initialized.

func NewAdminDownloadContentPreviewParamsWithContext

func NewAdminDownloadContentPreviewParamsWithContext(ctx context.Context) *AdminDownloadContentPreviewParams

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

func NewAdminDownloadContentPreviewParamsWithHTTPClient

func NewAdminDownloadContentPreviewParamsWithHTTPClient(client *http.Client) *AdminDownloadContentPreviewParams

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

func NewAdminDownloadContentPreviewParamsWithTimeout

func NewAdminDownloadContentPreviewParamsWithTimeout(timeout time.Duration) *AdminDownloadContentPreviewParams

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

func (*AdminDownloadContentPreviewParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin download content preview params

func (*AdminDownloadContentPreviewParams) SetContentID

func (o *AdminDownloadContentPreviewParams) SetContentID(contentID string)

SetContentID adds the contentId to the admin download content preview params

func (*AdminDownloadContentPreviewParams) SetContext

SetContext adds the context to the admin download content preview params

func (*AdminDownloadContentPreviewParams) SetFlightId added in v0.63.0

func (o *AdminDownloadContentPreviewParams) SetFlightId(flightId string)

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

func (*AdminDownloadContentPreviewParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin download content preview params

func (*AdminDownloadContentPreviewParams) SetHTTPClientTransport added in v0.19.0

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

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

func (*AdminDownloadContentPreviewParams) SetNamespace

func (o *AdminDownloadContentPreviewParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin download content preview params

func (*AdminDownloadContentPreviewParams) SetTimeout

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

SetTimeout adds the timeout to the admin download content preview params

func (*AdminDownloadContentPreviewParams) WithContentID

WithContentID adds the contentID to the admin download content preview params

func (*AdminDownloadContentPreviewParams) WithContext

WithContext adds the context to the admin download content preview params

func (*AdminDownloadContentPreviewParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin download content preview params

func (*AdminDownloadContentPreviewParams) WithNamespace

WithNamespace adds the namespace to the admin download content preview params

func (*AdminDownloadContentPreviewParams) WithTimeout

WithTimeout adds the timeout to the admin download content preview params

func (*AdminDownloadContentPreviewParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminDownloadContentPreviewReader

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

AdminDownloadContentPreviewReader is a Reader for the AdminDownloadContentPreview structure.

func (*AdminDownloadContentPreviewReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminDownloadContentPreviewUnauthorized

type AdminDownloadContentPreviewUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminDownloadContentPreviewUnauthorized 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 NewAdminDownloadContentPreviewUnauthorized

func NewAdminDownloadContentPreviewUnauthorized() *AdminDownloadContentPreviewUnauthorized

NewAdminDownloadContentPreviewUnauthorized creates a AdminDownloadContentPreviewUnauthorized with default headers values

func (*AdminDownloadContentPreviewUnauthorized) Error

func (*AdminDownloadContentPreviewUnauthorized) GetPayload

func (*AdminDownloadContentPreviewUnauthorized) ToJSONString added in v0.25.0

type AdminGetContentBadRequest added in v0.60.0

type AdminGetContentBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetContentBadRequest 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 NewAdminGetContentBadRequest added in v0.60.0

func NewAdminGetContentBadRequest() *AdminGetContentBadRequest

NewAdminGetContentBadRequest creates a AdminGetContentBadRequest with default headers values

func (*AdminGetContentBadRequest) Error added in v0.60.0

func (o *AdminGetContentBadRequest) Error() string

func (*AdminGetContentBadRequest) GetPayload added in v0.60.0

func (*AdminGetContentBadRequest) ToJSONString added in v0.60.0

func (o *AdminGetContentBadRequest) ToJSONString() string

type AdminGetContentBulkBadRequest added in v0.60.0

type AdminGetContentBulkBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetContentBulkBadRequest 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 NewAdminGetContentBulkBadRequest added in v0.60.0

func NewAdminGetContentBulkBadRequest() *AdminGetContentBulkBadRequest

NewAdminGetContentBulkBadRequest creates a AdminGetContentBulkBadRequest with default headers values

func (*AdminGetContentBulkBadRequest) Error added in v0.60.0

func (*AdminGetContentBulkBadRequest) GetPayload added in v0.60.0

func (*AdminGetContentBulkBadRequest) ToJSONString added in v0.60.0

func (o *AdminGetContentBulkBadRequest) ToJSONString() string

type AdminGetContentBulkByShareCodesBadRequest added in v0.59.0

type AdminGetContentBulkByShareCodesBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetContentBulkByShareCodesBadRequest 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 NewAdminGetContentBulkByShareCodesBadRequest added in v0.59.0

func NewAdminGetContentBulkByShareCodesBadRequest() *AdminGetContentBulkByShareCodesBadRequest

NewAdminGetContentBulkByShareCodesBadRequest creates a AdminGetContentBulkByShareCodesBadRequest with default headers values

func (*AdminGetContentBulkByShareCodesBadRequest) Error added in v0.59.0

func (*AdminGetContentBulkByShareCodesBadRequest) GetPayload added in v0.59.0

func (*AdminGetContentBulkByShareCodesBadRequest) ToJSONString added in v0.59.0

type AdminGetContentBulkByShareCodesForbidden added in v0.53.0

type AdminGetContentBulkByShareCodesForbidden struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetContentBulkByShareCodesForbidden 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 NewAdminGetContentBulkByShareCodesForbidden added in v0.53.0

func NewAdminGetContentBulkByShareCodesForbidden() *AdminGetContentBulkByShareCodesForbidden

NewAdminGetContentBulkByShareCodesForbidden creates a AdminGetContentBulkByShareCodesForbidden with default headers values

func (*AdminGetContentBulkByShareCodesForbidden) Error added in v0.53.0

func (*AdminGetContentBulkByShareCodesForbidden) GetPayload added in v0.53.0

func (*AdminGetContentBulkByShareCodesForbidden) ToJSONString added in v0.53.0

type AdminGetContentBulkByShareCodesInternalServerError added in v0.53.0

type AdminGetContentBulkByShareCodesInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetContentBulkByShareCodesInternalServerError 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 NewAdminGetContentBulkByShareCodesInternalServerError added in v0.53.0

func NewAdminGetContentBulkByShareCodesInternalServerError() *AdminGetContentBulkByShareCodesInternalServerError

NewAdminGetContentBulkByShareCodesInternalServerError creates a AdminGetContentBulkByShareCodesInternalServerError with default headers values

func (*AdminGetContentBulkByShareCodesInternalServerError) Error added in v0.53.0

func (*AdminGetContentBulkByShareCodesInternalServerError) GetPayload added in v0.53.0

func (*AdminGetContentBulkByShareCodesInternalServerError) ToJSONString added in v0.53.0

type AdminGetContentBulkByShareCodesOK added in v0.53.0

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

AdminGetContentBulkByShareCodesOK handles this case with default header values.

Bulk get content by content sharecodes

func NewAdminGetContentBulkByShareCodesOK added in v0.53.0

func NewAdminGetContentBulkByShareCodesOK() *AdminGetContentBulkByShareCodesOK

NewAdminGetContentBulkByShareCodesOK creates a AdminGetContentBulkByShareCodesOK with default headers values

func (*AdminGetContentBulkByShareCodesOK) Error added in v0.53.0

func (*AdminGetContentBulkByShareCodesOK) GetPayload added in v0.53.0

func (*AdminGetContentBulkByShareCodesOK) ToJSONString added in v0.53.0

func (o *AdminGetContentBulkByShareCodesOK) ToJSONString() string

type AdminGetContentBulkByShareCodesParams added in v0.53.0

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

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

func NewAdminGetContentBulkByShareCodesParams added in v0.53.0

func NewAdminGetContentBulkByShareCodesParams() *AdminGetContentBulkByShareCodesParams

NewAdminGetContentBulkByShareCodesParams creates a new AdminGetContentBulkByShareCodesParams object with the default values initialized.

func NewAdminGetContentBulkByShareCodesParamsWithContext added in v0.53.0

func NewAdminGetContentBulkByShareCodesParamsWithContext(ctx context.Context) *AdminGetContentBulkByShareCodesParams

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

func NewAdminGetContentBulkByShareCodesParamsWithHTTPClient added in v0.53.0

func NewAdminGetContentBulkByShareCodesParamsWithHTTPClient(client *http.Client) *AdminGetContentBulkByShareCodesParams

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

func NewAdminGetContentBulkByShareCodesParamsWithTimeout added in v0.53.0

func NewAdminGetContentBulkByShareCodesParamsWithTimeout(timeout time.Duration) *AdminGetContentBulkByShareCodesParams

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

func (*AdminGetContentBulkByShareCodesParams) SetAuthInfoWriter added in v0.53.0

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

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

func (*AdminGetContentBulkByShareCodesParams) SetBody added in v0.53.0

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

func (*AdminGetContentBulkByShareCodesParams) SetContext added in v0.53.0

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

func (*AdminGetContentBulkByShareCodesParams) SetFlightId added in v0.63.0

func (o *AdminGetContentBulkByShareCodesParams) SetFlightId(flightId string)

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

func (*AdminGetContentBulkByShareCodesParams) SetHTTPClient added in v0.53.0

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

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

func (*AdminGetContentBulkByShareCodesParams) SetHTTPClientTransport added in v0.53.0

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

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

func (*AdminGetContentBulkByShareCodesParams) SetNamespace added in v0.53.0

func (o *AdminGetContentBulkByShareCodesParams) SetNamespace(namespace string)

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

func (*AdminGetContentBulkByShareCodesParams) SetTimeout added in v0.53.0

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

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

func (*AdminGetContentBulkByShareCodesParams) WithBody added in v0.53.0

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

func (*AdminGetContentBulkByShareCodesParams) WithContext added in v0.53.0

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

func (*AdminGetContentBulkByShareCodesParams) WithHTTPClient added in v0.53.0

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

func (*AdminGetContentBulkByShareCodesParams) WithNamespace added in v0.53.0

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

func (*AdminGetContentBulkByShareCodesParams) WithTimeout added in v0.53.0

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

func (*AdminGetContentBulkByShareCodesParams) WriteToRequest added in v0.53.0

WriteToRequest writes these params to a swagger request

type AdminGetContentBulkByShareCodesReader added in v0.53.0

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

AdminGetContentBulkByShareCodesReader is a Reader for the AdminGetContentBulkByShareCodes structure.

func (*AdminGetContentBulkByShareCodesReader) ReadResponse added in v0.53.0

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

ReadResponse reads a server response into the received o.

type AdminGetContentBulkByShareCodesUnauthorized added in v0.53.0

type AdminGetContentBulkByShareCodesUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetContentBulkByShareCodesUnauthorized 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 NewAdminGetContentBulkByShareCodesUnauthorized added in v0.53.0

func NewAdminGetContentBulkByShareCodesUnauthorized() *AdminGetContentBulkByShareCodesUnauthorized

NewAdminGetContentBulkByShareCodesUnauthorized creates a AdminGetContentBulkByShareCodesUnauthorized with default headers values

func (*AdminGetContentBulkByShareCodesUnauthorized) Error added in v0.53.0

func (*AdminGetContentBulkByShareCodesUnauthorized) GetPayload added in v0.53.0

func (*AdminGetContentBulkByShareCodesUnauthorized) ToJSONString added in v0.53.0

type AdminGetContentBulkForbidden added in v0.36.0

type AdminGetContentBulkForbidden struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetContentBulkForbidden 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 NewAdminGetContentBulkForbidden added in v0.36.0

func NewAdminGetContentBulkForbidden() *AdminGetContentBulkForbidden

NewAdminGetContentBulkForbidden creates a AdminGetContentBulkForbidden with default headers values

func (*AdminGetContentBulkForbidden) Error added in v0.36.0

func (*AdminGetContentBulkForbidden) GetPayload added in v0.36.0

func (*AdminGetContentBulkForbidden) ToJSONString added in v0.36.0

func (o *AdminGetContentBulkForbidden) ToJSONString() string

type AdminGetContentBulkInternalServerError added in v0.36.0

type AdminGetContentBulkInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetContentBulkInternalServerError 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 NewAdminGetContentBulkInternalServerError added in v0.36.0

func NewAdminGetContentBulkInternalServerError() *AdminGetContentBulkInternalServerError

NewAdminGetContentBulkInternalServerError creates a AdminGetContentBulkInternalServerError with default headers values

func (*AdminGetContentBulkInternalServerError) Error added in v0.36.0

func (*AdminGetContentBulkInternalServerError) GetPayload added in v0.36.0

func (*AdminGetContentBulkInternalServerError) ToJSONString added in v0.36.0

type AdminGetContentBulkOK added in v0.36.0

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

AdminGetContentBulkOK handles this case with default header values.

Bulk get content by content IDs

func NewAdminGetContentBulkOK added in v0.36.0

func NewAdminGetContentBulkOK() *AdminGetContentBulkOK

NewAdminGetContentBulkOK creates a AdminGetContentBulkOK with default headers values

func (*AdminGetContentBulkOK) Error added in v0.36.0

func (o *AdminGetContentBulkOK) Error() string

func (*AdminGetContentBulkOK) GetPayload added in v0.36.0

func (*AdminGetContentBulkOK) ToJSONString added in v0.36.0

func (o *AdminGetContentBulkOK) ToJSONString() string

type AdminGetContentBulkParams added in v0.36.0

type AdminGetContentBulkParams struct {

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

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

func NewAdminGetContentBulkParams added in v0.36.0

func NewAdminGetContentBulkParams() *AdminGetContentBulkParams

NewAdminGetContentBulkParams creates a new AdminGetContentBulkParams object with the default values initialized.

func NewAdminGetContentBulkParamsWithContext added in v0.36.0

func NewAdminGetContentBulkParamsWithContext(ctx context.Context) *AdminGetContentBulkParams

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

func NewAdminGetContentBulkParamsWithHTTPClient added in v0.36.0

func NewAdminGetContentBulkParamsWithHTTPClient(client *http.Client) *AdminGetContentBulkParams

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

func NewAdminGetContentBulkParamsWithTimeout added in v0.36.0

func NewAdminGetContentBulkParamsWithTimeout(timeout time.Duration) *AdminGetContentBulkParams

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

func (*AdminGetContentBulkParams) SetAuthInfoWriter added in v0.36.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin get content bulk params

func (*AdminGetContentBulkParams) SetBody added in v0.36.0

SetBody adds the body to the admin get content bulk params

func (*AdminGetContentBulkParams) SetContext added in v0.36.0

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

SetContext adds the context to the admin get content bulk params

func (*AdminGetContentBulkParams) SetFlightId added in v0.63.0

func (o *AdminGetContentBulkParams) SetFlightId(flightId string)

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

func (*AdminGetContentBulkParams) SetHTTPClient added in v0.36.0

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

SetHTTPClient adds the HTTPClient to the admin get content bulk params

func (*AdminGetContentBulkParams) SetHTTPClientTransport added in v0.36.0

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

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

func (*AdminGetContentBulkParams) SetNamespace added in v0.36.0

func (o *AdminGetContentBulkParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get content bulk params

func (*AdminGetContentBulkParams) SetTimeout added in v0.36.0

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

SetTimeout adds the timeout to the admin get content bulk params

func (*AdminGetContentBulkParams) WithBody added in v0.36.0

WithBody adds the body to the admin get content bulk params

func (*AdminGetContentBulkParams) WithContext added in v0.36.0

WithContext adds the context to the admin get content bulk params

func (*AdminGetContentBulkParams) WithHTTPClient added in v0.36.0

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

WithHTTPClient adds the HTTPClient to the admin get content bulk params

func (*AdminGetContentBulkParams) WithNamespace added in v0.36.0

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

WithNamespace adds the namespace to the admin get content bulk params

func (*AdminGetContentBulkParams) WithTimeout added in v0.36.0

WithTimeout adds the timeout to the admin get content bulk params

func (*AdminGetContentBulkParams) WriteToRequest added in v0.36.0

WriteToRequest writes these params to a swagger request

type AdminGetContentBulkReader added in v0.36.0

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

AdminGetContentBulkReader is a Reader for the AdminGetContentBulk structure.

func (*AdminGetContentBulkReader) ReadResponse added in v0.36.0

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

ReadResponse reads a server response into the received o.

type AdminGetContentBulkUnauthorized added in v0.36.0

type AdminGetContentBulkUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetContentBulkUnauthorized 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 NewAdminGetContentBulkUnauthorized added in v0.36.0

func NewAdminGetContentBulkUnauthorized() *AdminGetContentBulkUnauthorized

NewAdminGetContentBulkUnauthorized creates a AdminGetContentBulkUnauthorized with default headers values

func (*AdminGetContentBulkUnauthorized) Error added in v0.36.0

func (*AdminGetContentBulkUnauthorized) GetPayload added in v0.36.0

func (*AdminGetContentBulkUnauthorized) ToJSONString added in v0.36.0

func (o *AdminGetContentBulkUnauthorized) ToJSONString() string

type AdminGetContentInternalServerError

type AdminGetContentInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetContentInternalServerError 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 NewAdminGetContentInternalServerError

func NewAdminGetContentInternalServerError() *AdminGetContentInternalServerError

NewAdminGetContentInternalServerError creates a AdminGetContentInternalServerError with default headers values

func (*AdminGetContentInternalServerError) Error

func (*AdminGetContentInternalServerError) GetPayload

func (*AdminGetContentInternalServerError) ToJSONString added in v0.25.0

func (o *AdminGetContentInternalServerError) ToJSONString() string

type AdminGetContentOK

type AdminGetContentOK struct {
	Payload *ugcclientmodels.ModelsPaginatedContentDownloadResponse
}

AdminGetContentOK handles this case with default header values.

Get user's generated contents

func NewAdminGetContentOK

func NewAdminGetContentOK() *AdminGetContentOK

NewAdminGetContentOK creates a AdminGetContentOK with default headers values

func (*AdminGetContentOK) Error

func (o *AdminGetContentOK) Error() string

func (*AdminGetContentOK) GetPayload

func (*AdminGetContentOK) ToJSONString added in v0.25.0

func (o *AdminGetContentOK) ToJSONString() string

type AdminGetContentParams

type AdminGetContentParams struct {

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

	*/
	Namespace string
	/*UserID
	  user ID

	*/
	UserID string
	/*Limit
	  number of content per page

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

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

func NewAdminGetContentParams

func NewAdminGetContentParams() *AdminGetContentParams

NewAdminGetContentParams creates a new AdminGetContentParams object with the default values initialized.

func NewAdminGetContentParamsWithContext

func NewAdminGetContentParamsWithContext(ctx context.Context) *AdminGetContentParams

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

func NewAdminGetContentParamsWithHTTPClient

func NewAdminGetContentParamsWithHTTPClient(client *http.Client) *AdminGetContentParams

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

func NewAdminGetContentParamsWithTimeout

func NewAdminGetContentParamsWithTimeout(timeout time.Duration) *AdminGetContentParams

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

func (*AdminGetContentParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin get content params

func (*AdminGetContentParams) SetContext

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

SetContext adds the context to the admin get content params

func (*AdminGetContentParams) SetFlightId added in v0.63.0

func (o *AdminGetContentParams) SetFlightId(flightId string)

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

func (*AdminGetContentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get content params

func (*AdminGetContentParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the admin get content params

func (*AdminGetContentParams) SetLimit

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

SetLimit adds the limit to the admin get content params

func (*AdminGetContentParams) SetNamespace

func (o *AdminGetContentParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get content params

func (*AdminGetContentParams) SetOffset

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

SetOffset adds the offset to the admin get content params

func (*AdminGetContentParams) SetTimeout

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

SetTimeout adds the timeout to the admin get content params

func (*AdminGetContentParams) SetUserID

func (o *AdminGetContentParams) SetUserID(userID string)

SetUserID adds the userId to the admin get content params

func (*AdminGetContentParams) WithContext

WithContext adds the context to the admin get content params

func (*AdminGetContentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin get content params

func (*AdminGetContentParams) WithLimit

func (o *AdminGetContentParams) WithLimit(limit *int64) *AdminGetContentParams

WithLimit adds the limit to the admin get content params

func (*AdminGetContentParams) WithNamespace

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

WithNamespace adds the namespace to the admin get content params

func (*AdminGetContentParams) WithOffset

func (o *AdminGetContentParams) WithOffset(offset *int64) *AdminGetContentParams

WithOffset adds the offset to the admin get content params

func (*AdminGetContentParams) WithTimeout

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

WithTimeout adds the timeout to the admin get content params

func (*AdminGetContentParams) WithUserID

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

WithUserID adds the userID to the admin get content params

func (*AdminGetContentParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AdminGetContentReader

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

AdminGetContentReader is a Reader for the AdminGetContent structure.

func (*AdminGetContentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetContentUnauthorized

type AdminGetContentUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetContentUnauthorized 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 NewAdminGetContentUnauthorized

func NewAdminGetContentUnauthorized() *AdminGetContentUnauthorized

NewAdminGetContentUnauthorized creates a AdminGetContentUnauthorized with default headers values

func (*AdminGetContentUnauthorized) Error

func (*AdminGetContentUnauthorized) GetPayload

func (*AdminGetContentUnauthorized) ToJSONString added in v0.25.0

func (o *AdminGetContentUnauthorized) ToJSONString() string

type AdminGetSpecificContentInternalServerError

type AdminGetSpecificContentInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetSpecificContentInternalServerError 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 NewAdminGetSpecificContentInternalServerError

func NewAdminGetSpecificContentInternalServerError() *AdminGetSpecificContentInternalServerError

NewAdminGetSpecificContentInternalServerError creates a AdminGetSpecificContentInternalServerError with default headers values

func (*AdminGetSpecificContentInternalServerError) Error

func (*AdminGetSpecificContentInternalServerError) GetPayload

func (*AdminGetSpecificContentInternalServerError) ToJSONString added in v0.25.0

type AdminGetSpecificContentNotFound

type AdminGetSpecificContentNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetSpecificContentNotFound 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 NewAdminGetSpecificContentNotFound

func NewAdminGetSpecificContentNotFound() *AdminGetSpecificContentNotFound

NewAdminGetSpecificContentNotFound creates a AdminGetSpecificContentNotFound with default headers values

func (*AdminGetSpecificContentNotFound) Error

func (*AdminGetSpecificContentNotFound) GetPayload

func (*AdminGetSpecificContentNotFound) ToJSONString added in v0.25.0

func (o *AdminGetSpecificContentNotFound) ToJSONString() string

type AdminGetSpecificContentOK

type AdminGetSpecificContentOK struct {
	Payload *ugcclientmodels.ModelsContentDownloadResponse
}

AdminGetSpecificContentOK handles this case with default header values.

Get user specific content

func NewAdminGetSpecificContentOK

func NewAdminGetSpecificContentOK() *AdminGetSpecificContentOK

NewAdminGetSpecificContentOK creates a AdminGetSpecificContentOK with default headers values

func (*AdminGetSpecificContentOK) Error

func (o *AdminGetSpecificContentOK) Error() string

func (*AdminGetSpecificContentOK) GetPayload

func (*AdminGetSpecificContentOK) ToJSONString added in v0.25.0

func (o *AdminGetSpecificContentOK) ToJSONString() string

type AdminGetSpecificContentParams

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

AdminGetSpecificContentParams contains all the parameters to send to the API endpoint for the admin get specific content operation typically these are written to a http.Request

func NewAdminGetSpecificContentParams

func NewAdminGetSpecificContentParams() *AdminGetSpecificContentParams

NewAdminGetSpecificContentParams creates a new AdminGetSpecificContentParams object with the default values initialized.

func NewAdminGetSpecificContentParamsWithContext

func NewAdminGetSpecificContentParamsWithContext(ctx context.Context) *AdminGetSpecificContentParams

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

func NewAdminGetSpecificContentParamsWithHTTPClient

func NewAdminGetSpecificContentParamsWithHTTPClient(client *http.Client) *AdminGetSpecificContentParams

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

func NewAdminGetSpecificContentParamsWithTimeout

func NewAdminGetSpecificContentParamsWithTimeout(timeout time.Duration) *AdminGetSpecificContentParams

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

func (*AdminGetSpecificContentParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin get specific content params

func (*AdminGetSpecificContentParams) SetContentID

func (o *AdminGetSpecificContentParams) SetContentID(contentID string)

SetContentID adds the contentId to the admin get specific content params

func (*AdminGetSpecificContentParams) SetContext

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

SetContext adds the context to the admin get specific content params

func (*AdminGetSpecificContentParams) SetFlightId added in v0.63.0

func (o *AdminGetSpecificContentParams) SetFlightId(flightId string)

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

func (*AdminGetSpecificContentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get specific content params

func (*AdminGetSpecificContentParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the admin get specific content params

func (*AdminGetSpecificContentParams) SetNamespace

func (o *AdminGetSpecificContentParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get specific content params

func (*AdminGetSpecificContentParams) SetTimeout

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

SetTimeout adds the timeout to the admin get specific content params

func (*AdminGetSpecificContentParams) WithContentID

WithContentID adds the contentID to the admin get specific content params

func (*AdminGetSpecificContentParams) WithContext

WithContext adds the context to the admin get specific content params

func (*AdminGetSpecificContentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin get specific content params

func (*AdminGetSpecificContentParams) WithNamespace

WithNamespace adds the namespace to the admin get specific content params

func (*AdminGetSpecificContentParams) WithTimeout

WithTimeout adds the timeout to the admin get specific content params

func (*AdminGetSpecificContentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetSpecificContentReader

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

AdminGetSpecificContentReader is a Reader for the AdminGetSpecificContent structure.

func (*AdminGetSpecificContentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetSpecificContentUnauthorized

type AdminGetSpecificContentUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetSpecificContentUnauthorized 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 NewAdminGetSpecificContentUnauthorized

func NewAdminGetSpecificContentUnauthorized() *AdminGetSpecificContentUnauthorized

NewAdminGetSpecificContentUnauthorized creates a AdminGetSpecificContentUnauthorized with default headers values

func (*AdminGetSpecificContentUnauthorized) Error

func (*AdminGetSpecificContentUnauthorized) GetPayload

func (*AdminGetSpecificContentUnauthorized) ToJSONString added in v0.25.0

func (o *AdminGetSpecificContentUnauthorized) ToJSONString() string

type AdminGetUserContentByShareCodeInternalServerError added in v0.25.0

type AdminGetUserContentByShareCodeInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetUserContentByShareCodeInternalServerError 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 NewAdminGetUserContentByShareCodeInternalServerError added in v0.25.0

func NewAdminGetUserContentByShareCodeInternalServerError() *AdminGetUserContentByShareCodeInternalServerError

NewAdminGetUserContentByShareCodeInternalServerError creates a AdminGetUserContentByShareCodeInternalServerError with default headers values

func (*AdminGetUserContentByShareCodeInternalServerError) Error added in v0.25.0

func (*AdminGetUserContentByShareCodeInternalServerError) GetPayload added in v0.25.0

func (*AdminGetUserContentByShareCodeInternalServerError) ToJSONString added in v0.25.0

type AdminGetUserContentByShareCodeNotFound added in v0.25.0

type AdminGetUserContentByShareCodeNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetUserContentByShareCodeNotFound 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 NewAdminGetUserContentByShareCodeNotFound added in v0.25.0

func NewAdminGetUserContentByShareCodeNotFound() *AdminGetUserContentByShareCodeNotFound

NewAdminGetUserContentByShareCodeNotFound creates a AdminGetUserContentByShareCodeNotFound with default headers values

func (*AdminGetUserContentByShareCodeNotFound) Error added in v0.25.0

func (*AdminGetUserContentByShareCodeNotFound) GetPayload added in v0.25.0

func (*AdminGetUserContentByShareCodeNotFound) ToJSONString added in v0.25.0

type AdminGetUserContentByShareCodeOK added in v0.25.0

type AdminGetUserContentByShareCodeOK struct {
	Payload *ugcclientmodels.ModelsContentDownloadResponse
}

AdminGetUserContentByShareCodeOK handles this case with default header values.

Get content by sharecode

func NewAdminGetUserContentByShareCodeOK added in v0.25.0

func NewAdminGetUserContentByShareCodeOK() *AdminGetUserContentByShareCodeOK

NewAdminGetUserContentByShareCodeOK creates a AdminGetUserContentByShareCodeOK with default headers values

func (*AdminGetUserContentByShareCodeOK) Error added in v0.25.0

func (*AdminGetUserContentByShareCodeOK) GetPayload added in v0.25.0

func (*AdminGetUserContentByShareCodeOK) ToJSONString added in v0.25.0

func (o *AdminGetUserContentByShareCodeOK) ToJSONString() string

type AdminGetUserContentByShareCodeParams added in v0.25.0

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

AdminGetUserContentByShareCodeParams contains all the parameters to send to the API endpoint for the admin get user content by share code operation typically these are written to a http.Request

func NewAdminGetUserContentByShareCodeParams added in v0.25.0

func NewAdminGetUserContentByShareCodeParams() *AdminGetUserContentByShareCodeParams

NewAdminGetUserContentByShareCodeParams creates a new AdminGetUserContentByShareCodeParams object with the default values initialized.

func NewAdminGetUserContentByShareCodeParamsWithContext added in v0.25.0

func NewAdminGetUserContentByShareCodeParamsWithContext(ctx context.Context) *AdminGetUserContentByShareCodeParams

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

func NewAdminGetUserContentByShareCodeParamsWithHTTPClient added in v0.25.0

func NewAdminGetUserContentByShareCodeParamsWithHTTPClient(client *http.Client) *AdminGetUserContentByShareCodeParams

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

func NewAdminGetUserContentByShareCodeParamsWithTimeout added in v0.25.0

func NewAdminGetUserContentByShareCodeParamsWithTimeout(timeout time.Duration) *AdminGetUserContentByShareCodeParams

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

func (*AdminGetUserContentByShareCodeParams) SetAuthInfoWriter added in v0.25.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin get user content by share code params

func (*AdminGetUserContentByShareCodeParams) SetContext added in v0.25.0

SetContext adds the context to the admin get user content by share code params

func (*AdminGetUserContentByShareCodeParams) SetFlightId added in v0.63.0

func (o *AdminGetUserContentByShareCodeParams) SetFlightId(flightId string)

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

func (*AdminGetUserContentByShareCodeParams) SetHTTPClient added in v0.25.0

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

SetHTTPClient adds the HTTPClient to the admin get user content by share code params

func (*AdminGetUserContentByShareCodeParams) SetHTTPClientTransport added in v0.25.0

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

SetHTTPClient adds the HTTPClient Transport to the admin get user content by share code params

func (*AdminGetUserContentByShareCodeParams) SetNamespace added in v0.25.0

func (o *AdminGetUserContentByShareCodeParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get user content by share code params

func (*AdminGetUserContentByShareCodeParams) SetShareCode added in v0.25.0

func (o *AdminGetUserContentByShareCodeParams) SetShareCode(shareCode string)

SetShareCode adds the shareCode to the admin get user content by share code params

func (*AdminGetUserContentByShareCodeParams) SetTimeout added in v0.25.0

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

SetTimeout adds the timeout to the admin get user content by share code params

func (*AdminGetUserContentByShareCodeParams) WithContext added in v0.25.0

WithContext adds the context to the admin get user content by share code params

func (*AdminGetUserContentByShareCodeParams) WithHTTPClient added in v0.25.0

WithHTTPClient adds the HTTPClient to the admin get user content by share code params

func (*AdminGetUserContentByShareCodeParams) WithNamespace added in v0.25.0

WithNamespace adds the namespace to the admin get user content by share code params

func (*AdminGetUserContentByShareCodeParams) WithShareCode added in v0.25.0

WithShareCode adds the shareCode to the admin get user content by share code params

func (*AdminGetUserContentByShareCodeParams) WithTimeout added in v0.25.0

WithTimeout adds the timeout to the admin get user content by share code params

func (*AdminGetUserContentByShareCodeParams) WriteToRequest added in v0.25.0

WriteToRequest writes these params to a swagger request

type AdminGetUserContentByShareCodeReader added in v0.25.0

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

AdminGetUserContentByShareCodeReader is a Reader for the AdminGetUserContentByShareCode structure.

func (*AdminGetUserContentByShareCodeReader) ReadResponse added in v0.25.0

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

ReadResponse reads a server response into the received o.

type AdminGetUserContentByShareCodeUnauthorized added in v0.25.0

type AdminGetUserContentByShareCodeUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetUserContentByShareCodeUnauthorized 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 NewAdminGetUserContentByShareCodeUnauthorized added in v0.25.0

func NewAdminGetUserContentByShareCodeUnauthorized() *AdminGetUserContentByShareCodeUnauthorized

NewAdminGetUserContentByShareCodeUnauthorized creates a AdminGetUserContentByShareCodeUnauthorized with default headers values

func (*AdminGetUserContentByShareCodeUnauthorized) Error added in v0.25.0

func (*AdminGetUserContentByShareCodeUnauthorized) GetPayload added in v0.25.0

func (*AdminGetUserContentByShareCodeUnauthorized) ToJSONString added in v0.25.0

type AdminHideUserContentBadRequest added in v0.60.0

type AdminHideUserContentBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminHideUserContentBadRequest handles this case with default header values.

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

func NewAdminHideUserContentBadRequest added in v0.60.0

func NewAdminHideUserContentBadRequest() *AdminHideUserContentBadRequest

NewAdminHideUserContentBadRequest creates a AdminHideUserContentBadRequest with default headers values

func (*AdminHideUserContentBadRequest) Error added in v0.60.0

func (*AdminHideUserContentBadRequest) GetPayload added in v0.60.0

func (*AdminHideUserContentBadRequest) ToJSONString added in v0.60.0

func (o *AdminHideUserContentBadRequest) ToJSONString() string

type AdminHideUserContentInternalServerError

type AdminHideUserContentInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminHideUserContentInternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773802</td><td>Unable to update hide status: database error</td></tr><tr><td>773804</td><td>Unable to save ugc content: failed generate upload URL</td></tr><tr><td>773805</td><td>Unable to save ugc content preview: failed generate upload URL</td></tr></table>

func NewAdminHideUserContentInternalServerError

func NewAdminHideUserContentInternalServerError() *AdminHideUserContentInternalServerError

NewAdminHideUserContentInternalServerError creates a AdminHideUserContentInternalServerError with default headers values

func (*AdminHideUserContentInternalServerError) Error

func (*AdminHideUserContentInternalServerError) GetPayload

func (*AdminHideUserContentInternalServerError) ToJSONString added in v0.25.0

type AdminHideUserContentNotFound

type AdminHideUserContentNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminHideUserContentNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773803</td><td>Unable to update hide status: content not found</td></tr></table>

func NewAdminHideUserContentNotFound

func NewAdminHideUserContentNotFound() *AdminHideUserContentNotFound

NewAdminHideUserContentNotFound creates a AdminHideUserContentNotFound with default headers values

func (*AdminHideUserContentNotFound) Error

func (*AdminHideUserContentNotFound) GetPayload

func (*AdminHideUserContentNotFound) ToJSONString added in v0.25.0

func (o *AdminHideUserContentNotFound) ToJSONString() string

type AdminHideUserContentOK

type AdminHideUserContentOK struct {
	Payload *ugcclientmodels.ModelsCreateContentResponse
}

AdminHideUserContentOK handles this case with default header values.

hide/unhide user's generated content

func NewAdminHideUserContentOK

func NewAdminHideUserContentOK() *AdminHideUserContentOK

NewAdminHideUserContentOK creates a AdminHideUserContentOK with default headers values

func (*AdminHideUserContentOK) Error

func (o *AdminHideUserContentOK) Error() string

func (*AdminHideUserContentOK) GetPayload

func (*AdminHideUserContentOK) ToJSONString added in v0.25.0

func (o *AdminHideUserContentOK) ToJSONString() string

type AdminHideUserContentParams

type AdminHideUserContentParams struct {

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

AdminHideUserContentParams contains all the parameters to send to the API endpoint for the admin hide user content operation typically these are written to a http.Request

func NewAdminHideUserContentParams

func NewAdminHideUserContentParams() *AdminHideUserContentParams

NewAdminHideUserContentParams creates a new AdminHideUserContentParams object with the default values initialized.

func NewAdminHideUserContentParamsWithContext

func NewAdminHideUserContentParamsWithContext(ctx context.Context) *AdminHideUserContentParams

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

func NewAdminHideUserContentParamsWithHTTPClient

func NewAdminHideUserContentParamsWithHTTPClient(client *http.Client) *AdminHideUserContentParams

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

func NewAdminHideUserContentParamsWithTimeout

func NewAdminHideUserContentParamsWithTimeout(timeout time.Duration) *AdminHideUserContentParams

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

func (*AdminHideUserContentParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin hide user content params

func (*AdminHideUserContentParams) SetBody

SetBody adds the body to the admin hide user content params

func (*AdminHideUserContentParams) SetContentID

func (o *AdminHideUserContentParams) SetContentID(contentID string)

SetContentID adds the contentId to the admin hide user content params

func (*AdminHideUserContentParams) SetContext

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

SetContext adds the context to the admin hide user content params

func (*AdminHideUserContentParams) SetFlightId added in v0.63.0

func (o *AdminHideUserContentParams) SetFlightId(flightId string)

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

func (*AdminHideUserContentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin hide user content params

func (*AdminHideUserContentParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the admin hide user content params

func (*AdminHideUserContentParams) SetNamespace

func (o *AdminHideUserContentParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin hide user content params

func (*AdminHideUserContentParams) SetTimeout

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

SetTimeout adds the timeout to the admin hide user content params

func (*AdminHideUserContentParams) SetUserID

func (o *AdminHideUserContentParams) SetUserID(userID string)

SetUserID adds the userId to the admin hide user content params

func (*AdminHideUserContentParams) WithBody

WithBody adds the body to the admin hide user content params

func (*AdminHideUserContentParams) WithContentID

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

WithContentID adds the contentID to the admin hide user content params

func (*AdminHideUserContentParams) WithContext

WithContext adds the context to the admin hide user content params

func (*AdminHideUserContentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin hide user content params

func (*AdminHideUserContentParams) WithNamespace

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

WithNamespace adds the namespace to the admin hide user content params

func (*AdminHideUserContentParams) WithTimeout

WithTimeout adds the timeout to the admin hide user content params

func (*AdminHideUserContentParams) WithUserID

WithUserID adds the userID to the admin hide user content params

func (*AdminHideUserContentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminHideUserContentReader

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

AdminHideUserContentReader is a Reader for the AdminHideUserContent structure.

func (*AdminHideUserContentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminHideUserContentUnauthorized

type AdminHideUserContentUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminHideUserContentUnauthorized 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 NewAdminHideUserContentUnauthorized

func NewAdminHideUserContentUnauthorized() *AdminHideUserContentUnauthorized

NewAdminHideUserContentUnauthorized creates a AdminHideUserContentUnauthorized with default headers values

func (*AdminHideUserContentUnauthorized) Error

func (*AdminHideUserContentUnauthorized) GetPayload

func (*AdminHideUserContentUnauthorized) ToJSONString added in v0.25.0

func (o *AdminHideUserContentUnauthorized) ToJSONString() string

type AdminSearchChannelSpecificContentBadRequest added in v0.60.0

type AdminSearchChannelSpecificContentBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminSearchChannelSpecificContentBadRequest 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 NewAdminSearchChannelSpecificContentBadRequest added in v0.60.0

func NewAdminSearchChannelSpecificContentBadRequest() *AdminSearchChannelSpecificContentBadRequest

NewAdminSearchChannelSpecificContentBadRequest creates a AdminSearchChannelSpecificContentBadRequest with default headers values

func (*AdminSearchChannelSpecificContentBadRequest) Error added in v0.60.0

func (*AdminSearchChannelSpecificContentBadRequest) GetPayload added in v0.60.0

func (*AdminSearchChannelSpecificContentBadRequest) ToJSONString added in v0.60.0

type AdminSearchChannelSpecificContentInternalServerError

type AdminSearchChannelSpecificContentInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminSearchChannelSpecificContentInternalServerError 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 NewAdminSearchChannelSpecificContentInternalServerError

func NewAdminSearchChannelSpecificContentInternalServerError() *AdminSearchChannelSpecificContentInternalServerError

NewAdminSearchChannelSpecificContentInternalServerError creates a AdminSearchChannelSpecificContentInternalServerError with default headers values

func (*AdminSearchChannelSpecificContentInternalServerError) Error

func (*AdminSearchChannelSpecificContentInternalServerError) GetPayload

func (*AdminSearchChannelSpecificContentInternalServerError) ToJSONString added in v0.25.0

type AdminSearchChannelSpecificContentOK

type AdminSearchChannelSpecificContentOK struct {
	Payload *ugcclientmodels.ModelsPaginatedContentDownloadResponse
}

AdminSearchChannelSpecificContentOK handles this case with default header values.

Search contents specific to a channel

func NewAdminSearchChannelSpecificContentOK

func NewAdminSearchChannelSpecificContentOK() *AdminSearchChannelSpecificContentOK

NewAdminSearchChannelSpecificContentOK creates a AdminSearchChannelSpecificContentOK with default headers values

func (*AdminSearchChannelSpecificContentOK) Error

func (*AdminSearchChannelSpecificContentOK) GetPayload

func (*AdminSearchChannelSpecificContentOK) ToJSONString added in v0.25.0

func (o *AdminSearchChannelSpecificContentOK) ToJSONString() string

type AdminSearchChannelSpecificContentParams

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

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

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

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

func NewAdminSearchChannelSpecificContentParams

func NewAdminSearchChannelSpecificContentParams() *AdminSearchChannelSpecificContentParams

NewAdminSearchChannelSpecificContentParams creates a new AdminSearchChannelSpecificContentParams object with the default values initialized.

func NewAdminSearchChannelSpecificContentParamsWithContext

func NewAdminSearchChannelSpecificContentParamsWithContext(ctx context.Context) *AdminSearchChannelSpecificContentParams

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

func NewAdminSearchChannelSpecificContentParamsWithHTTPClient

func NewAdminSearchChannelSpecificContentParamsWithHTTPClient(client *http.Client) *AdminSearchChannelSpecificContentParams

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

func NewAdminSearchChannelSpecificContentParamsWithTimeout

func NewAdminSearchChannelSpecificContentParamsWithTimeout(timeout time.Duration) *AdminSearchChannelSpecificContentParams

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

func (*AdminSearchChannelSpecificContentParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin search channel specific content params

func (*AdminSearchChannelSpecificContentParams) SetChannelID

func (o *AdminSearchChannelSpecificContentParams) SetChannelID(channelID string)

SetChannelID adds the channelId to the admin search channel specific content params

func (*AdminSearchChannelSpecificContentParams) SetContext

SetContext adds the context to the admin search channel specific content params

func (*AdminSearchChannelSpecificContentParams) SetCreator

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

SetCreator adds the creator to the admin search channel specific content params

func (*AdminSearchChannelSpecificContentParams) SetFlightId added in v0.63.0

func (o *AdminSearchChannelSpecificContentParams) SetFlightId(flightId string)

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

func (*AdminSearchChannelSpecificContentParams) SetHTTPClient

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

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

func (*AdminSearchChannelSpecificContentParams) SetHTTPClientTransport added in v0.19.0

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

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

func (*AdminSearchChannelSpecificContentParams) SetIshidden added in v0.56.0

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

SetIshidden adds the ishidden to the admin search channel specific content params

func (*AdminSearchChannelSpecificContentParams) SetIsofficial

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

SetIsofficial adds the isofficial to the admin search channel specific content params

func (*AdminSearchChannelSpecificContentParams) SetLimit

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

SetLimit adds the limit to the admin search channel specific content params

func (*AdminSearchChannelSpecificContentParams) SetName

SetName adds the name to the admin search channel specific content params

func (*AdminSearchChannelSpecificContentParams) SetNamespace

func (o *AdminSearchChannelSpecificContentParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin search channel specific content params

func (*AdminSearchChannelSpecificContentParams) SetOffset

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

SetOffset adds the offset to the admin search channel specific content params

func (*AdminSearchChannelSpecificContentParams) SetOrderby

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

SetOrderby adds the orderby to the admin search channel specific content params

func (*AdminSearchChannelSpecificContentParams) SetSortby

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

SetSortby adds the sortby to the admin search channel specific content params

func (*AdminSearchChannelSpecificContentParams) SetSubtype

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

SetSubtype adds the subtype to the admin search channel specific content params

func (*AdminSearchChannelSpecificContentParams) SetTags

SetTags adds the tags to the admin search channel specific content params

func (*AdminSearchChannelSpecificContentParams) SetTimeout

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

SetTimeout adds the timeout to the admin search channel specific content params

func (*AdminSearchChannelSpecificContentParams) SetType

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

SetType adds the type to the admin search channel specific content params

func (*AdminSearchChannelSpecificContentParams) SetUserID

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

SetUserID adds the userId to the admin search channel specific content params

func (*AdminSearchChannelSpecificContentParams) WithChannelID

WithChannelID adds the channelID to the admin search channel specific content params

func (*AdminSearchChannelSpecificContentParams) WithContext

WithContext adds the context to the admin search channel specific content params

func (*AdminSearchChannelSpecificContentParams) WithCreator

WithCreator adds the creator to the admin search channel specific content params

func (*AdminSearchChannelSpecificContentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin search channel specific content params

func (*AdminSearchChannelSpecificContentParams) WithIshidden added in v0.56.0

WithIshidden adds the ishidden to the admin search channel specific content params

func (*AdminSearchChannelSpecificContentParams) WithIsofficial

WithIsofficial adds the isofficial to the admin search channel specific content params

func (*AdminSearchChannelSpecificContentParams) WithLimit

WithLimit adds the limit to the admin search channel specific content params

func (*AdminSearchChannelSpecificContentParams) WithName

WithName adds the name to the admin search channel specific content params

func (*AdminSearchChannelSpecificContentParams) WithNamespace

WithNamespace adds the namespace to the admin search channel specific content params

func (*AdminSearchChannelSpecificContentParams) WithOffset

WithOffset adds the offset to the admin search channel specific content params

func (*AdminSearchChannelSpecificContentParams) WithOrderby

WithOrderby adds the orderby to the admin search channel specific content params

func (*AdminSearchChannelSpecificContentParams) WithSortby

WithSortby adds the sortby to the admin search channel specific content params

func (*AdminSearchChannelSpecificContentParams) WithSubtype

WithSubtype adds the subtype to the admin search channel specific content params

func (*AdminSearchChannelSpecificContentParams) WithTags

WithTags adds the tags to the admin search channel specific content params

func (*AdminSearchChannelSpecificContentParams) WithTimeout

WithTimeout adds the timeout to the admin search channel specific content params

func (*AdminSearchChannelSpecificContentParams) WithType

WithType adds the typeVar to the admin search channel specific content params

func (*AdminSearchChannelSpecificContentParams) WithUserID

WithUserID adds the userID to the admin search channel specific content params

func (*AdminSearchChannelSpecificContentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminSearchChannelSpecificContentReader

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

AdminSearchChannelSpecificContentReader is a Reader for the AdminSearchChannelSpecificContent structure.

func (*AdminSearchChannelSpecificContentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminSearchChannelSpecificContentUnauthorized

type AdminSearchChannelSpecificContentUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminSearchChannelSpecificContentUnauthorized 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 NewAdminSearchChannelSpecificContentUnauthorized

func NewAdminSearchChannelSpecificContentUnauthorized() *AdminSearchChannelSpecificContentUnauthorized

NewAdminSearchChannelSpecificContentUnauthorized creates a AdminSearchChannelSpecificContentUnauthorized with default headers values

func (*AdminSearchChannelSpecificContentUnauthorized) Error

func (*AdminSearchChannelSpecificContentUnauthorized) GetPayload

func (*AdminSearchChannelSpecificContentUnauthorized) ToJSONString added in v0.25.0

type AdminSearchContentBadRequest added in v0.60.0

type AdminSearchContentBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminSearchContentBadRequest 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 NewAdminSearchContentBadRequest added in v0.60.0

func NewAdminSearchContentBadRequest() *AdminSearchContentBadRequest

NewAdminSearchContentBadRequest creates a AdminSearchContentBadRequest with default headers values

func (*AdminSearchContentBadRequest) Error added in v0.60.0

func (*AdminSearchContentBadRequest) GetPayload added in v0.60.0

func (*AdminSearchContentBadRequest) ToJSONString added in v0.60.0

func (o *AdminSearchContentBadRequest) ToJSONString() string

type AdminSearchContentInternalServerError

type AdminSearchContentInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminSearchContentInternalServerError 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 NewAdminSearchContentInternalServerError

func NewAdminSearchContentInternalServerError() *AdminSearchContentInternalServerError

NewAdminSearchContentInternalServerError creates a AdminSearchContentInternalServerError with default headers values

func (*AdminSearchContentInternalServerError) Error

func (*AdminSearchContentInternalServerError) GetPayload

func (*AdminSearchContentInternalServerError) ToJSONString added in v0.25.0

type AdminSearchContentOK

type AdminSearchContentOK struct {
	Payload *ugcclientmodels.ModelsPaginatedContentDownloadResponse
}

AdminSearchContentOK handles this case with default header values.

Search contents

func NewAdminSearchContentOK

func NewAdminSearchContentOK() *AdminSearchContentOK

NewAdminSearchContentOK creates a AdminSearchContentOK with default headers values

func (*AdminSearchContentOK) Error

func (o *AdminSearchContentOK) Error() string

func (*AdminSearchContentOK) GetPayload

func (*AdminSearchContentOK) ToJSONString added in v0.25.0

func (o *AdminSearchContentOK) ToJSONString() string

type AdminSearchContentParams

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

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

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

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

func NewAdminSearchContentParams

func NewAdminSearchContentParams() *AdminSearchContentParams

NewAdminSearchContentParams creates a new AdminSearchContentParams object with the default values initialized.

func NewAdminSearchContentParamsWithContext

func NewAdminSearchContentParamsWithContext(ctx context.Context) *AdminSearchContentParams

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

func NewAdminSearchContentParamsWithHTTPClient

func NewAdminSearchContentParamsWithHTTPClient(client *http.Client) *AdminSearchContentParams

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

func NewAdminSearchContentParamsWithTimeout

func NewAdminSearchContentParamsWithTimeout(timeout time.Duration) *AdminSearchContentParams

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

func (*AdminSearchContentParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin search content params

func (*AdminSearchContentParams) SetContext

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

SetContext adds the context to the admin search content params

func (*AdminSearchContentParams) SetCreator

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

SetCreator adds the creator to the admin search content params

func (*AdminSearchContentParams) SetFlightId added in v0.63.0

func (o *AdminSearchContentParams) SetFlightId(flightId string)

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

func (*AdminSearchContentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin search content params

func (*AdminSearchContentParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the admin search content params

func (*AdminSearchContentParams) SetIshidden added in v0.56.0

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

SetIshidden adds the ishidden to the admin search content params

func (*AdminSearchContentParams) SetIsofficial

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

SetIsofficial adds the isofficial to the admin search content params

func (*AdminSearchContentParams) SetLimit

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

SetLimit adds the limit to the admin search content params

func (*AdminSearchContentParams) SetName

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

SetName adds the name to the admin search content params

func (*AdminSearchContentParams) SetNamespace

func (o *AdminSearchContentParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin search content params

func (*AdminSearchContentParams) SetOffset

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

SetOffset adds the offset to the admin search content params

func (*AdminSearchContentParams) SetOrderby

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

SetOrderby adds the orderby to the admin search content params

func (*AdminSearchContentParams) SetSortby

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

SetSortby adds the sortby to the admin search content params

func (*AdminSearchContentParams) SetSubtype

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

SetSubtype adds the subtype to the admin search content params

func (*AdminSearchContentParams) SetTags

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

SetTags adds the tags to the admin search content params

func (*AdminSearchContentParams) SetTimeout

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

SetTimeout adds the timeout to the admin search content params

func (*AdminSearchContentParams) SetType

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

SetType adds the type to the admin search content params

func (*AdminSearchContentParams) SetUserID

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

SetUserID adds the userId to the admin search content params

func (*AdminSearchContentParams) WithContext

WithContext adds the context to the admin search content params

func (*AdminSearchContentParams) WithCreator

func (o *AdminSearchContentParams) WithCreator(creator *string) *AdminSearchContentParams

WithCreator adds the creator to the admin search content params

func (*AdminSearchContentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin search content params

func (*AdminSearchContentParams) WithIshidden added in v0.56.0

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

WithIshidden adds the ishidden to the admin search content params

func (*AdminSearchContentParams) WithIsofficial

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

WithIsofficial adds the isofficial to the admin search content params

func (*AdminSearchContentParams) WithLimit

WithLimit adds the limit to the admin search content params

func (*AdminSearchContentParams) WithName

WithName adds the name to the admin search content params

func (*AdminSearchContentParams) WithNamespace

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

WithNamespace adds the namespace to the admin search content params

func (*AdminSearchContentParams) WithOffset

WithOffset adds the offset to the admin search content params

func (*AdminSearchContentParams) WithOrderby

func (o *AdminSearchContentParams) WithOrderby(orderby *string) *AdminSearchContentParams

WithOrderby adds the orderby to the admin search content params

func (*AdminSearchContentParams) WithSortby

WithSortby adds the sortby to the admin search content params

func (*AdminSearchContentParams) WithSubtype

func (o *AdminSearchContentParams) WithSubtype(subtype *string) *AdminSearchContentParams

WithSubtype adds the subtype to the admin search content params

func (*AdminSearchContentParams) WithTags

WithTags adds the tags to the admin search content params

func (*AdminSearchContentParams) WithTimeout

WithTimeout adds the timeout to the admin search content params

func (*AdminSearchContentParams) WithType

WithType adds the typeVar to the admin search content params

func (*AdminSearchContentParams) WithUserID

WithUserID adds the userID to the admin search content params

func (*AdminSearchContentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminSearchContentReader

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

AdminSearchContentReader is a Reader for the AdminSearchContent structure.

func (*AdminSearchContentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminSearchContentUnauthorized

type AdminSearchContentUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminSearchContentUnauthorized 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 NewAdminSearchContentUnauthorized

func NewAdminSearchContentUnauthorized() *AdminSearchContentUnauthorized

NewAdminSearchContentUnauthorized creates a AdminSearchContentUnauthorized with default headers values

func (*AdminSearchContentUnauthorized) Error

func (*AdminSearchContentUnauthorized) GetPayload

func (*AdminSearchContentUnauthorized) ToJSONString added in v0.25.0

func (o *AdminSearchContentUnauthorized) ToJSONString() string

type AdminUpdateContentDirectBadRequest

type AdminUpdateContentDirectBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateContentDirectBadRequest 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 NewAdminUpdateContentDirectBadRequest

func NewAdminUpdateContentDirectBadRequest() *AdminUpdateContentDirectBadRequest

NewAdminUpdateContentDirectBadRequest creates a AdminUpdateContentDirectBadRequest with default headers values

func (*AdminUpdateContentDirectBadRequest) Error

func (*AdminUpdateContentDirectBadRequest) GetPayload

func (*AdminUpdateContentDirectBadRequest) ToJSONString added in v0.25.0

func (o *AdminUpdateContentDirectBadRequest) ToJSONString() string

type AdminUpdateContentDirectForbidden added in v0.60.0

type AdminUpdateContentDirectForbidden struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateContentDirectForbidden 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 NewAdminUpdateContentDirectForbidden added in v0.60.0

func NewAdminUpdateContentDirectForbidden() *AdminUpdateContentDirectForbidden

NewAdminUpdateContentDirectForbidden creates a AdminUpdateContentDirectForbidden with default headers values

func (*AdminUpdateContentDirectForbidden) Error added in v0.60.0

func (*AdminUpdateContentDirectForbidden) GetPayload added in v0.60.0

func (*AdminUpdateContentDirectForbidden) ToJSONString added in v0.60.0

func (o *AdminUpdateContentDirectForbidden) ToJSONString() string

type AdminUpdateContentDirectInternalServerError

type AdminUpdateContentDirectInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateContentDirectInternalServerError 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 NewAdminUpdateContentDirectInternalServerError

func NewAdminUpdateContentDirectInternalServerError() *AdminUpdateContentDirectInternalServerError

NewAdminUpdateContentDirectInternalServerError creates a AdminUpdateContentDirectInternalServerError with default headers values

func (*AdminUpdateContentDirectInternalServerError) Error

func (*AdminUpdateContentDirectInternalServerError) GetPayload

func (*AdminUpdateContentDirectInternalServerError) ToJSONString added in v0.25.0

type AdminUpdateContentDirectNotFound

type AdminUpdateContentDirectNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateContentDirectNotFound 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 NewAdminUpdateContentDirectNotFound

func NewAdminUpdateContentDirectNotFound() *AdminUpdateContentDirectNotFound

NewAdminUpdateContentDirectNotFound creates a AdminUpdateContentDirectNotFound with default headers values

func (*AdminUpdateContentDirectNotFound) Error

func (*AdminUpdateContentDirectNotFound) GetPayload

func (*AdminUpdateContentDirectNotFound) ToJSONString added in v0.25.0

func (o *AdminUpdateContentDirectNotFound) ToJSONString() string

type AdminUpdateContentDirectOK

type AdminUpdateContentDirectOK struct {
	Payload *ugcclientmodels.ModelsCreateContentResponse
}

AdminUpdateContentDirectOK handles this case with default header values.

Content updated

func NewAdminUpdateContentDirectOK

func NewAdminUpdateContentDirectOK() *AdminUpdateContentDirectOK

NewAdminUpdateContentDirectOK creates a AdminUpdateContentDirectOK with default headers values

func (*AdminUpdateContentDirectOK) Error

func (*AdminUpdateContentDirectOK) GetPayload

func (*AdminUpdateContentDirectOK) ToJSONString added in v0.25.0

func (o *AdminUpdateContentDirectOK) ToJSONString() string

type AdminUpdateContentDirectParams

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

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

func NewAdminUpdateContentDirectParams

func NewAdminUpdateContentDirectParams() *AdminUpdateContentDirectParams

NewAdminUpdateContentDirectParams creates a new AdminUpdateContentDirectParams object with the default values initialized.

func NewAdminUpdateContentDirectParamsWithContext

func NewAdminUpdateContentDirectParamsWithContext(ctx context.Context) *AdminUpdateContentDirectParams

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

func NewAdminUpdateContentDirectParamsWithHTTPClient

func NewAdminUpdateContentDirectParamsWithHTTPClient(client *http.Client) *AdminUpdateContentDirectParams

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

func NewAdminUpdateContentDirectParamsWithTimeout

func NewAdminUpdateContentDirectParamsWithTimeout(timeout time.Duration) *AdminUpdateContentDirectParams

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

func (*AdminUpdateContentDirectParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin update content direct params

func (*AdminUpdateContentDirectParams) SetBody

SetBody adds the body to the admin update content direct params

func (*AdminUpdateContentDirectParams) SetChannelID

func (o *AdminUpdateContentDirectParams) SetChannelID(channelID string)

SetChannelID adds the channelId to the admin update content direct params

func (*AdminUpdateContentDirectParams) SetContentID

func (o *AdminUpdateContentDirectParams) SetContentID(contentID string)

SetContentID adds the contentId to the admin update content direct params

func (*AdminUpdateContentDirectParams) SetContext

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

SetContext adds the context to the admin update content direct params

func (*AdminUpdateContentDirectParams) SetFlightId added in v0.63.0

func (o *AdminUpdateContentDirectParams) SetFlightId(flightId string)

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

func (*AdminUpdateContentDirectParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin update content direct params

func (*AdminUpdateContentDirectParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the admin update content direct params

func (*AdminUpdateContentDirectParams) SetNamespace

func (o *AdminUpdateContentDirectParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin update content direct params

func (*AdminUpdateContentDirectParams) SetTimeout

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

SetTimeout adds the timeout to the admin update content direct params

func (*AdminUpdateContentDirectParams) SetUserID

func (o *AdminUpdateContentDirectParams) SetUserID(userID string)

SetUserID adds the userId to the admin update content direct params

func (*AdminUpdateContentDirectParams) WithBody

WithBody adds the body to the admin update content direct params

func (*AdminUpdateContentDirectParams) WithChannelID

WithChannelID adds the channelID to the admin update content direct params

func (*AdminUpdateContentDirectParams) WithContentID

WithContentID adds the contentID to the admin update content direct params

func (*AdminUpdateContentDirectParams) WithContext

WithContext adds the context to the admin update content direct params

func (*AdminUpdateContentDirectParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin update content direct params

func (*AdminUpdateContentDirectParams) WithNamespace

WithNamespace adds the namespace to the admin update content direct params

func (*AdminUpdateContentDirectParams) WithTimeout

WithTimeout adds the timeout to the admin update content direct params

func (*AdminUpdateContentDirectParams) WithUserID

WithUserID adds the userID to the admin update content direct params

func (*AdminUpdateContentDirectParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUpdateContentDirectReader

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

AdminUpdateContentDirectReader is a Reader for the AdminUpdateContentDirect structure.

func (*AdminUpdateContentDirectReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUpdateContentDirectUnauthorized

type AdminUpdateContentDirectUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateContentDirectUnauthorized 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 NewAdminUpdateContentDirectUnauthorized

func NewAdminUpdateContentDirectUnauthorized() *AdminUpdateContentDirectUnauthorized

NewAdminUpdateContentDirectUnauthorized creates a AdminUpdateContentDirectUnauthorized with default headers values

func (*AdminUpdateContentDirectUnauthorized) Error

func (*AdminUpdateContentDirectUnauthorized) GetPayload

func (*AdminUpdateContentDirectUnauthorized) ToJSONString added in v0.25.0

func (o *AdminUpdateContentDirectUnauthorized) ToJSONString() string

type AdminUpdateContentS3BadRequest

type AdminUpdateContentS3BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateContentS3BadRequest 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 NewAdminUpdateContentS3BadRequest

func NewAdminUpdateContentS3BadRequest() *AdminUpdateContentS3BadRequest

NewAdminUpdateContentS3BadRequest creates a AdminUpdateContentS3BadRequest with default headers values

func (*AdminUpdateContentS3BadRequest) Error

func (*AdminUpdateContentS3BadRequest) GetPayload

func (*AdminUpdateContentS3BadRequest) ToJSONString added in v0.25.0

func (o *AdminUpdateContentS3BadRequest) ToJSONString() string

type AdminUpdateContentS3ByShareCodeBadRequest added in v0.56.0

type AdminUpdateContentS3ByShareCodeBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateContentS3ByShareCodeBadRequest 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>770107</td><td>Unable to update ugc content: invalid shareCode format</td></tr></table>

func NewAdminUpdateContentS3ByShareCodeBadRequest added in v0.56.0

func NewAdminUpdateContentS3ByShareCodeBadRequest() *AdminUpdateContentS3ByShareCodeBadRequest

NewAdminUpdateContentS3ByShareCodeBadRequest creates a AdminUpdateContentS3ByShareCodeBadRequest with default headers values

func (*AdminUpdateContentS3ByShareCodeBadRequest) Error added in v0.56.0

func (*AdminUpdateContentS3ByShareCodeBadRequest) GetPayload added in v0.56.0

func (*AdminUpdateContentS3ByShareCodeBadRequest) ToJSONString added in v0.56.0

type AdminUpdateContentS3ByShareCodeConflict added in v0.56.0

type AdminUpdateContentS3ByShareCodeConflict struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateContentS3ByShareCodeConflict 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 NewAdminUpdateContentS3ByShareCodeConflict added in v0.56.0

func NewAdminUpdateContentS3ByShareCodeConflict() *AdminUpdateContentS3ByShareCodeConflict

NewAdminUpdateContentS3ByShareCodeConflict creates a AdminUpdateContentS3ByShareCodeConflict with default headers values

func (*AdminUpdateContentS3ByShareCodeConflict) Error added in v0.56.0

func (*AdminUpdateContentS3ByShareCodeConflict) GetPayload added in v0.56.0

func (*AdminUpdateContentS3ByShareCodeConflict) ToJSONString added in v0.56.0

type AdminUpdateContentS3ByShareCodeForbidden added in v0.60.0

type AdminUpdateContentS3ByShareCodeForbidden struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateContentS3ByShareCodeForbidden 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 NewAdminUpdateContentS3ByShareCodeForbidden added in v0.60.0

func NewAdminUpdateContentS3ByShareCodeForbidden() *AdminUpdateContentS3ByShareCodeForbidden

NewAdminUpdateContentS3ByShareCodeForbidden creates a AdminUpdateContentS3ByShareCodeForbidden with default headers values

func (*AdminUpdateContentS3ByShareCodeForbidden) Error added in v0.60.0

func (*AdminUpdateContentS3ByShareCodeForbidden) GetPayload added in v0.60.0

func (*AdminUpdateContentS3ByShareCodeForbidden) ToJSONString added in v0.60.0

type AdminUpdateContentS3ByShareCodeInternalServerError added in v0.56.0

type AdminUpdateContentS3ByShareCodeInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateContentS3ByShareCodeInternalServerError 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 NewAdminUpdateContentS3ByShareCodeInternalServerError added in v0.56.0

func NewAdminUpdateContentS3ByShareCodeInternalServerError() *AdminUpdateContentS3ByShareCodeInternalServerError

NewAdminUpdateContentS3ByShareCodeInternalServerError creates a AdminUpdateContentS3ByShareCodeInternalServerError with default headers values

func (*AdminUpdateContentS3ByShareCodeInternalServerError) Error added in v0.56.0

func (*AdminUpdateContentS3ByShareCodeInternalServerError) GetPayload added in v0.56.0

func (*AdminUpdateContentS3ByShareCodeInternalServerError) ToJSONString added in v0.56.0

type AdminUpdateContentS3ByShareCodeNotFound added in v0.56.0

type AdminUpdateContentS3ByShareCodeNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateContentS3ByShareCodeNotFound 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 NewAdminUpdateContentS3ByShareCodeNotFound added in v0.56.0

func NewAdminUpdateContentS3ByShareCodeNotFound() *AdminUpdateContentS3ByShareCodeNotFound

NewAdminUpdateContentS3ByShareCodeNotFound creates a AdminUpdateContentS3ByShareCodeNotFound with default headers values

func (*AdminUpdateContentS3ByShareCodeNotFound) Error added in v0.56.0

func (*AdminUpdateContentS3ByShareCodeNotFound) GetPayload added in v0.56.0

func (*AdminUpdateContentS3ByShareCodeNotFound) ToJSONString added in v0.56.0

type AdminUpdateContentS3ByShareCodeOK added in v0.56.0

type AdminUpdateContentS3ByShareCodeOK struct {
	Payload *ugcclientmodels.ModelsCreateContentResponse
}

AdminUpdateContentS3ByShareCodeOK handles this case with default header values.

Content updated at s3

func NewAdminUpdateContentS3ByShareCodeOK added in v0.56.0

func NewAdminUpdateContentS3ByShareCodeOK() *AdminUpdateContentS3ByShareCodeOK

NewAdminUpdateContentS3ByShareCodeOK creates a AdminUpdateContentS3ByShareCodeOK with default headers values

func (*AdminUpdateContentS3ByShareCodeOK) Error added in v0.56.0

func (*AdminUpdateContentS3ByShareCodeOK) GetPayload added in v0.56.0

func (*AdminUpdateContentS3ByShareCodeOK) ToJSONString added in v0.56.0

func (o *AdminUpdateContentS3ByShareCodeOK) ToJSONString() string

type AdminUpdateContentS3ByShareCodeParams added in v0.56.0

type AdminUpdateContentS3ByShareCodeParams struct {

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

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

func NewAdminUpdateContentS3ByShareCodeParams added in v0.56.0

func NewAdminUpdateContentS3ByShareCodeParams() *AdminUpdateContentS3ByShareCodeParams

NewAdminUpdateContentS3ByShareCodeParams creates a new AdminUpdateContentS3ByShareCodeParams object with the default values initialized.

func NewAdminUpdateContentS3ByShareCodeParamsWithContext added in v0.56.0

func NewAdminUpdateContentS3ByShareCodeParamsWithContext(ctx context.Context) *AdminUpdateContentS3ByShareCodeParams

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

func NewAdminUpdateContentS3ByShareCodeParamsWithHTTPClient added in v0.56.0

func NewAdminUpdateContentS3ByShareCodeParamsWithHTTPClient(client *http.Client) *AdminUpdateContentS3ByShareCodeParams

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

func NewAdminUpdateContentS3ByShareCodeParamsWithTimeout added in v0.56.0

func NewAdminUpdateContentS3ByShareCodeParamsWithTimeout(timeout time.Duration) *AdminUpdateContentS3ByShareCodeParams

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

func (*AdminUpdateContentS3ByShareCodeParams) SetAuthInfoWriter added in v0.56.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin update content s3 by share code params

func (*AdminUpdateContentS3ByShareCodeParams) SetBody added in v0.56.0

SetBody adds the body to the admin update content s3 by share code params

func (*AdminUpdateContentS3ByShareCodeParams) SetChannelID added in v0.56.0

func (o *AdminUpdateContentS3ByShareCodeParams) SetChannelID(channelID string)

SetChannelID adds the channelId to the admin update content s3 by share code params

func (*AdminUpdateContentS3ByShareCodeParams) SetContext added in v0.56.0

SetContext adds the context to the admin update content s3 by share code params

func (*AdminUpdateContentS3ByShareCodeParams) SetFlightId added in v0.63.0

func (o *AdminUpdateContentS3ByShareCodeParams) SetFlightId(flightId string)

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

func (*AdminUpdateContentS3ByShareCodeParams) SetHTTPClient added in v0.56.0

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

SetHTTPClient adds the HTTPClient to the admin update content s3 by share code params

func (*AdminUpdateContentS3ByShareCodeParams) SetHTTPClientTransport added in v0.56.0

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

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

func (*AdminUpdateContentS3ByShareCodeParams) SetNamespace added in v0.56.0

func (o *AdminUpdateContentS3ByShareCodeParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin update content s3 by share code params

func (*AdminUpdateContentS3ByShareCodeParams) SetShareCode added in v0.56.0

func (o *AdminUpdateContentS3ByShareCodeParams) SetShareCode(shareCode string)

SetShareCode adds the shareCode to the admin update content s3 by share code params

func (*AdminUpdateContentS3ByShareCodeParams) SetTimeout added in v0.56.0

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

SetTimeout adds the timeout to the admin update content s3 by share code params

func (*AdminUpdateContentS3ByShareCodeParams) SetUserID added in v0.56.0

func (o *AdminUpdateContentS3ByShareCodeParams) SetUserID(userID string)

SetUserID adds the userId to the admin update content s3 by share code params

func (*AdminUpdateContentS3ByShareCodeParams) WithBody added in v0.56.0

WithBody adds the body to the admin update content s3 by share code params

func (*AdminUpdateContentS3ByShareCodeParams) WithChannelID added in v0.56.0

WithChannelID adds the channelID to the admin update content s3 by share code params

func (*AdminUpdateContentS3ByShareCodeParams) WithContext added in v0.56.0

WithContext adds the context to the admin update content s3 by share code params

func (*AdminUpdateContentS3ByShareCodeParams) WithHTTPClient added in v0.56.0

WithHTTPClient adds the HTTPClient to the admin update content s3 by share code params

func (*AdminUpdateContentS3ByShareCodeParams) WithNamespace added in v0.56.0

WithNamespace adds the namespace to the admin update content s3 by share code params

func (*AdminUpdateContentS3ByShareCodeParams) WithShareCode added in v0.56.0

WithShareCode adds the shareCode to the admin update content s3 by share code params

func (*AdminUpdateContentS3ByShareCodeParams) WithTimeout added in v0.56.0

WithTimeout adds the timeout to the admin update content s3 by share code params

func (*AdminUpdateContentS3ByShareCodeParams) WithUserID added in v0.56.0

WithUserID adds the userID to the admin update content s3 by share code params

func (*AdminUpdateContentS3ByShareCodeParams) WriteToRequest added in v0.56.0

WriteToRequest writes these params to a swagger request

type AdminUpdateContentS3ByShareCodeReader added in v0.56.0

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

AdminUpdateContentS3ByShareCodeReader is a Reader for the AdminUpdateContentS3ByShareCode structure.

func (*AdminUpdateContentS3ByShareCodeReader) ReadResponse added in v0.56.0

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

ReadResponse reads a server response into the received o.

type AdminUpdateContentS3ByShareCodeUnauthorized added in v0.56.0

type AdminUpdateContentS3ByShareCodeUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateContentS3ByShareCodeUnauthorized 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 NewAdminUpdateContentS3ByShareCodeUnauthorized added in v0.56.0

func NewAdminUpdateContentS3ByShareCodeUnauthorized() *AdminUpdateContentS3ByShareCodeUnauthorized

NewAdminUpdateContentS3ByShareCodeUnauthorized creates a AdminUpdateContentS3ByShareCodeUnauthorized with default headers values

func (*AdminUpdateContentS3ByShareCodeUnauthorized) Error added in v0.56.0

func (*AdminUpdateContentS3ByShareCodeUnauthorized) GetPayload added in v0.56.0

func (*AdminUpdateContentS3ByShareCodeUnauthorized) ToJSONString added in v0.56.0

type AdminUpdateContentS3Conflict added in v0.43.0

type AdminUpdateContentS3Conflict struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateContentS3Conflict 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 NewAdminUpdateContentS3Conflict added in v0.43.0

func NewAdminUpdateContentS3Conflict() *AdminUpdateContentS3Conflict

NewAdminUpdateContentS3Conflict creates a AdminUpdateContentS3Conflict with default headers values

func (*AdminUpdateContentS3Conflict) Error added in v0.43.0

func (*AdminUpdateContentS3Conflict) GetPayload added in v0.43.0

func (*AdminUpdateContentS3Conflict) ToJSONString added in v0.43.0

func (o *AdminUpdateContentS3Conflict) ToJSONString() string

type AdminUpdateContentS3Forbidden added in v0.60.0

type AdminUpdateContentS3Forbidden struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateContentS3Forbidden 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 NewAdminUpdateContentS3Forbidden added in v0.60.0

func NewAdminUpdateContentS3Forbidden() *AdminUpdateContentS3Forbidden

NewAdminUpdateContentS3Forbidden creates a AdminUpdateContentS3Forbidden with default headers values

func (*AdminUpdateContentS3Forbidden) Error added in v0.60.0

func (*AdminUpdateContentS3Forbidden) GetPayload added in v0.60.0

func (*AdminUpdateContentS3Forbidden) ToJSONString added in v0.60.0

func (o *AdminUpdateContentS3Forbidden) ToJSONString() string

type AdminUpdateContentS3InternalServerError

type AdminUpdateContentS3InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateContentS3InternalServerError 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 NewAdminUpdateContentS3InternalServerError

func NewAdminUpdateContentS3InternalServerError() *AdminUpdateContentS3InternalServerError

NewAdminUpdateContentS3InternalServerError creates a AdminUpdateContentS3InternalServerError with default headers values

func (*AdminUpdateContentS3InternalServerError) Error

func (*AdminUpdateContentS3InternalServerError) GetPayload

func (*AdminUpdateContentS3InternalServerError) ToJSONString added in v0.25.0

type AdminUpdateContentS3NotFound

type AdminUpdateContentS3NotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateContentS3NotFound 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 NewAdminUpdateContentS3NotFound

func NewAdminUpdateContentS3NotFound() *AdminUpdateContentS3NotFound

NewAdminUpdateContentS3NotFound creates a AdminUpdateContentS3NotFound with default headers values

func (*AdminUpdateContentS3NotFound) Error

func (*AdminUpdateContentS3NotFound) GetPayload

func (*AdminUpdateContentS3NotFound) ToJSONString added in v0.25.0

func (o *AdminUpdateContentS3NotFound) ToJSONString() string

type AdminUpdateContentS3OK

type AdminUpdateContentS3OK struct {
	Payload *ugcclientmodels.ModelsCreateContentResponse
}

AdminUpdateContentS3OK handles this case with default header values.

Content updated at s3

func NewAdminUpdateContentS3OK

func NewAdminUpdateContentS3OK() *AdminUpdateContentS3OK

NewAdminUpdateContentS3OK creates a AdminUpdateContentS3OK with default headers values

func (*AdminUpdateContentS3OK) Error

func (o *AdminUpdateContentS3OK) Error() string

func (*AdminUpdateContentS3OK) GetPayload

func (*AdminUpdateContentS3OK) ToJSONString added in v0.25.0

func (o *AdminUpdateContentS3OK) ToJSONString() string

type AdminUpdateContentS3Params

type AdminUpdateContentS3Params struct {

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

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

func NewAdminUpdateContentS3Params

func NewAdminUpdateContentS3Params() *AdminUpdateContentS3Params

NewAdminUpdateContentS3Params creates a new AdminUpdateContentS3Params object with the default values initialized.

func NewAdminUpdateContentS3ParamsWithContext

func NewAdminUpdateContentS3ParamsWithContext(ctx context.Context) *AdminUpdateContentS3Params

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

func NewAdminUpdateContentS3ParamsWithHTTPClient

func NewAdminUpdateContentS3ParamsWithHTTPClient(client *http.Client) *AdminUpdateContentS3Params

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

func NewAdminUpdateContentS3ParamsWithTimeout

func NewAdminUpdateContentS3ParamsWithTimeout(timeout time.Duration) *AdminUpdateContentS3Params

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

func (*AdminUpdateContentS3Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin update content s3 params

func (*AdminUpdateContentS3Params) SetBody

SetBody adds the body to the admin update content s3 params

func (*AdminUpdateContentS3Params) SetChannelID

func (o *AdminUpdateContentS3Params) SetChannelID(channelID string)

SetChannelID adds the channelId to the admin update content s3 params

func (*AdminUpdateContentS3Params) SetContentID

func (o *AdminUpdateContentS3Params) SetContentID(contentID string)

SetContentID adds the contentId to the admin update content s3 params

func (*AdminUpdateContentS3Params) SetContext

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

SetContext adds the context to the admin update content s3 params

func (*AdminUpdateContentS3Params) SetFlightId added in v0.63.0

func (o *AdminUpdateContentS3Params) SetFlightId(flightId string)

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

func (*AdminUpdateContentS3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin update content s3 params

func (*AdminUpdateContentS3Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the admin update content s3 params

func (*AdminUpdateContentS3Params) SetNamespace

func (o *AdminUpdateContentS3Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin update content s3 params

func (*AdminUpdateContentS3Params) SetTimeout

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

SetTimeout adds the timeout to the admin update content s3 params

func (*AdminUpdateContentS3Params) SetUserID

func (o *AdminUpdateContentS3Params) SetUserID(userID string)

SetUserID adds the userId to the admin update content s3 params

func (*AdminUpdateContentS3Params) WithBody

WithBody adds the body to the admin update content s3 params

func (*AdminUpdateContentS3Params) WithChannelID

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

WithChannelID adds the channelID to the admin update content s3 params

func (*AdminUpdateContentS3Params) WithContentID

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

WithContentID adds the contentID to the admin update content s3 params

func (*AdminUpdateContentS3Params) WithContext

WithContext adds the context to the admin update content s3 params

func (*AdminUpdateContentS3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin update content s3 params

func (*AdminUpdateContentS3Params) WithNamespace

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

WithNamespace adds the namespace to the admin update content s3 params

func (*AdminUpdateContentS3Params) WithTimeout

WithTimeout adds the timeout to the admin update content s3 params

func (*AdminUpdateContentS3Params) WithUserID

WithUserID adds the userID to the admin update content s3 params

func (*AdminUpdateContentS3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUpdateContentS3Reader

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

AdminUpdateContentS3Reader is a Reader for the AdminUpdateContentS3 structure.

func (*AdminUpdateContentS3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUpdateContentS3Unauthorized

type AdminUpdateContentS3Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateContentS3Unauthorized 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 NewAdminUpdateContentS3Unauthorized

func NewAdminUpdateContentS3Unauthorized() *AdminUpdateContentS3Unauthorized

NewAdminUpdateContentS3Unauthorized creates a AdminUpdateContentS3Unauthorized with default headers values

func (*AdminUpdateContentS3Unauthorized) Error

func (*AdminUpdateContentS3Unauthorized) GetPayload

func (*AdminUpdateContentS3Unauthorized) ToJSONString added in v0.25.0

func (o *AdminUpdateContentS3Unauthorized) ToJSONString() string

type AdminUpdateScreenshotsBadRequest

type AdminUpdateScreenshotsBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateScreenshotsBadRequest 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 NewAdminUpdateScreenshotsBadRequest

func NewAdminUpdateScreenshotsBadRequest() *AdminUpdateScreenshotsBadRequest

NewAdminUpdateScreenshotsBadRequest creates a AdminUpdateScreenshotsBadRequest with default headers values

func (*AdminUpdateScreenshotsBadRequest) Error

func (*AdminUpdateScreenshotsBadRequest) GetPayload

func (*AdminUpdateScreenshotsBadRequest) ToJSONString added in v0.25.0

func (o *AdminUpdateScreenshotsBadRequest) ToJSONString() string

type AdminUpdateScreenshotsForbidden added in v0.60.0

type AdminUpdateScreenshotsForbidden struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateScreenshotsForbidden 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 NewAdminUpdateScreenshotsForbidden added in v0.60.0

func NewAdminUpdateScreenshotsForbidden() *AdminUpdateScreenshotsForbidden

NewAdminUpdateScreenshotsForbidden creates a AdminUpdateScreenshotsForbidden with default headers values

func (*AdminUpdateScreenshotsForbidden) Error added in v0.60.0

func (*AdminUpdateScreenshotsForbidden) GetPayload added in v0.60.0

func (*AdminUpdateScreenshotsForbidden) ToJSONString added in v0.60.0

func (o *AdminUpdateScreenshotsForbidden) ToJSONString() string

type AdminUpdateScreenshotsInternalServerError

type AdminUpdateScreenshotsInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateScreenshotsInternalServerError 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 NewAdminUpdateScreenshotsInternalServerError

func NewAdminUpdateScreenshotsInternalServerError() *AdminUpdateScreenshotsInternalServerError

NewAdminUpdateScreenshotsInternalServerError creates a AdminUpdateScreenshotsInternalServerError with default headers values

func (*AdminUpdateScreenshotsInternalServerError) Error

func (*AdminUpdateScreenshotsInternalServerError) GetPayload

func (*AdminUpdateScreenshotsInternalServerError) ToJSONString added in v0.25.0

type AdminUpdateScreenshotsNotFound

type AdminUpdateScreenshotsNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateScreenshotsNotFound 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 NewAdminUpdateScreenshotsNotFound

func NewAdminUpdateScreenshotsNotFound() *AdminUpdateScreenshotsNotFound

NewAdminUpdateScreenshotsNotFound creates a AdminUpdateScreenshotsNotFound with default headers values

func (*AdminUpdateScreenshotsNotFound) Error

func (*AdminUpdateScreenshotsNotFound) GetPayload

func (*AdminUpdateScreenshotsNotFound) ToJSONString added in v0.25.0

func (o *AdminUpdateScreenshotsNotFound) ToJSONString() string

type AdminUpdateScreenshotsOK

type AdminUpdateScreenshotsOK struct {
	Payload *ugcclientmodels.ModelsUpdateScreenshotResponse
}

AdminUpdateScreenshotsOK handles this case with default header values.

Screenshot updated

func NewAdminUpdateScreenshotsOK

func NewAdminUpdateScreenshotsOK() *AdminUpdateScreenshotsOK

NewAdminUpdateScreenshotsOK creates a AdminUpdateScreenshotsOK with default headers values

func (*AdminUpdateScreenshotsOK) Error

func (o *AdminUpdateScreenshotsOK) Error() string

func (*AdminUpdateScreenshotsOK) GetPayload

func (*AdminUpdateScreenshotsOK) ToJSONString added in v0.25.0

func (o *AdminUpdateScreenshotsOK) ToJSONString() string

type AdminUpdateScreenshotsParams

type AdminUpdateScreenshotsParams struct {

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

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

func NewAdminUpdateScreenshotsParams

func NewAdminUpdateScreenshotsParams() *AdminUpdateScreenshotsParams

NewAdminUpdateScreenshotsParams creates a new AdminUpdateScreenshotsParams object with the default values initialized.

func NewAdminUpdateScreenshotsParamsWithContext

func NewAdminUpdateScreenshotsParamsWithContext(ctx context.Context) *AdminUpdateScreenshotsParams

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

func NewAdminUpdateScreenshotsParamsWithHTTPClient

func NewAdminUpdateScreenshotsParamsWithHTTPClient(client *http.Client) *AdminUpdateScreenshotsParams

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

func NewAdminUpdateScreenshotsParamsWithTimeout

func NewAdminUpdateScreenshotsParamsWithTimeout(timeout time.Duration) *AdminUpdateScreenshotsParams

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

func (*AdminUpdateScreenshotsParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin update screenshots params

func (*AdminUpdateScreenshotsParams) SetBody

SetBody adds the body to the admin update screenshots params

func (*AdminUpdateScreenshotsParams) SetContentID

func (o *AdminUpdateScreenshotsParams) SetContentID(contentID string)

SetContentID adds the contentId to the admin update screenshots params

func (*AdminUpdateScreenshotsParams) SetContext

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

SetContext adds the context to the admin update screenshots params

func (*AdminUpdateScreenshotsParams) SetFlightId added in v0.63.0

func (o *AdminUpdateScreenshotsParams) SetFlightId(flightId string)

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

func (*AdminUpdateScreenshotsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin update screenshots params

func (*AdminUpdateScreenshotsParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the admin update screenshots params

func (*AdminUpdateScreenshotsParams) SetNamespace

func (o *AdminUpdateScreenshotsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin update screenshots params

func (*AdminUpdateScreenshotsParams) SetTimeout

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

SetTimeout adds the timeout to the admin update screenshots params

func (*AdminUpdateScreenshotsParams) WithBody

WithBody adds the body to the admin update screenshots params

func (*AdminUpdateScreenshotsParams) WithContentID

WithContentID adds the contentID to the admin update screenshots params

func (*AdminUpdateScreenshotsParams) WithContext

WithContext adds the context to the admin update screenshots params

func (*AdminUpdateScreenshotsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin update screenshots params

func (*AdminUpdateScreenshotsParams) WithNamespace

WithNamespace adds the namespace to the admin update screenshots params

func (*AdminUpdateScreenshotsParams) WithTimeout

WithTimeout adds the timeout to the admin update screenshots params

func (*AdminUpdateScreenshotsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUpdateScreenshotsReader

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

AdminUpdateScreenshotsReader is a Reader for the AdminUpdateScreenshots structure.

func (*AdminUpdateScreenshotsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUpdateScreenshotsUnauthorized

type AdminUpdateScreenshotsUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateScreenshotsUnauthorized 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 NewAdminUpdateScreenshotsUnauthorized

func NewAdminUpdateScreenshotsUnauthorized() *AdminUpdateScreenshotsUnauthorized

NewAdminUpdateScreenshotsUnauthorized creates a AdminUpdateScreenshotsUnauthorized with default headers values

func (*AdminUpdateScreenshotsUnauthorized) Error

func (*AdminUpdateScreenshotsUnauthorized) GetPayload

func (*AdminUpdateScreenshotsUnauthorized) ToJSONString added in v0.25.0

func (o *AdminUpdateScreenshotsUnauthorized) ToJSONString() string

type AdminUploadContentDirectBadRequest

type AdminUploadContentDirectBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUploadContentDirectBadRequest 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 NewAdminUploadContentDirectBadRequest

func NewAdminUploadContentDirectBadRequest() *AdminUploadContentDirectBadRequest

NewAdminUploadContentDirectBadRequest creates a AdminUploadContentDirectBadRequest with default headers values

func (*AdminUploadContentDirectBadRequest) Error

func (*AdminUploadContentDirectBadRequest) GetPayload

func (*AdminUploadContentDirectBadRequest) ToJSONString added in v0.25.0

func (o *AdminUploadContentDirectBadRequest) ToJSONString() string

type AdminUploadContentDirectConflict added in v0.42.0

type AdminUploadContentDirectConflict struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUploadContentDirectConflict handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770103</td><td>Unable to save ugc content: shareCode exceed the limit</td></tr></table>

func NewAdminUploadContentDirectConflict added in v0.42.0

func NewAdminUploadContentDirectConflict() *AdminUploadContentDirectConflict

NewAdminUploadContentDirectConflict creates a AdminUploadContentDirectConflict with default headers values

func (*AdminUploadContentDirectConflict) Error added in v0.42.0

func (*AdminUploadContentDirectConflict) GetPayload added in v0.42.0

func (*AdminUploadContentDirectConflict) ToJSONString added in v0.42.0

func (o *AdminUploadContentDirectConflict) ToJSONString() string

type AdminUploadContentDirectCreated

type AdminUploadContentDirectCreated struct {
	Payload *ugcclientmodels.ModelsCreateContentResponse
}

AdminUploadContentDirectCreated handles this case with default header values.

Content uploaded

func NewAdminUploadContentDirectCreated

func NewAdminUploadContentDirectCreated() *AdminUploadContentDirectCreated

NewAdminUploadContentDirectCreated creates a AdminUploadContentDirectCreated with default headers values

func (*AdminUploadContentDirectCreated) Error

func (*AdminUploadContentDirectCreated) GetPayload

func (*AdminUploadContentDirectCreated) ToJSONString added in v0.25.0

func (o *AdminUploadContentDirectCreated) ToJSONString() string

type AdminUploadContentDirectForbidden added in v0.60.0

type AdminUploadContentDirectForbidden struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUploadContentDirectForbidden 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><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewAdminUploadContentDirectForbidden added in v0.60.0

func NewAdminUploadContentDirectForbidden() *AdminUploadContentDirectForbidden

NewAdminUploadContentDirectForbidden creates a AdminUploadContentDirectForbidden with default headers values

func (*AdminUploadContentDirectForbidden) Error added in v0.60.0

func (*AdminUploadContentDirectForbidden) GetPayload added in v0.60.0

func (*AdminUploadContentDirectForbidden) ToJSONString added in v0.60.0

func (o *AdminUploadContentDirectForbidden) ToJSONString() string

type AdminUploadContentDirectInternalServerError

type AdminUploadContentDirectInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUploadContentDirectInternalServerError 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></table>

func NewAdminUploadContentDirectInternalServerError

func NewAdminUploadContentDirectInternalServerError() *AdminUploadContentDirectInternalServerError

NewAdminUploadContentDirectInternalServerError creates a AdminUploadContentDirectInternalServerError with default headers values

func (*AdminUploadContentDirectInternalServerError) Error

func (*AdminUploadContentDirectInternalServerError) GetPayload

func (*AdminUploadContentDirectInternalServerError) ToJSONString added in v0.25.0

type AdminUploadContentDirectParams

type AdminUploadContentDirectParams struct {

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

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

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

func NewAdminUploadContentDirectParams

func NewAdminUploadContentDirectParams() *AdminUploadContentDirectParams

NewAdminUploadContentDirectParams creates a new AdminUploadContentDirectParams object with the default values initialized.

func NewAdminUploadContentDirectParamsWithContext

func NewAdminUploadContentDirectParamsWithContext(ctx context.Context) *AdminUploadContentDirectParams

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

func NewAdminUploadContentDirectParamsWithHTTPClient

func NewAdminUploadContentDirectParamsWithHTTPClient(client *http.Client) *AdminUploadContentDirectParams

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

func NewAdminUploadContentDirectParamsWithTimeout

func NewAdminUploadContentDirectParamsWithTimeout(timeout time.Duration) *AdminUploadContentDirectParams

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

func (*AdminUploadContentDirectParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin upload content direct params

func (*AdminUploadContentDirectParams) SetBody

SetBody adds the body to the admin upload content direct params

func (*AdminUploadContentDirectParams) SetChannelID

func (o *AdminUploadContentDirectParams) SetChannelID(channelID string)

SetChannelID adds the channelId to the admin upload content direct params

func (*AdminUploadContentDirectParams) SetContext

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

SetContext adds the context to the admin upload content direct params

func (*AdminUploadContentDirectParams) SetFlightId added in v0.63.0

func (o *AdminUploadContentDirectParams) SetFlightId(flightId string)

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

func (*AdminUploadContentDirectParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin upload content direct params

func (*AdminUploadContentDirectParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the admin upload content direct params

func (*AdminUploadContentDirectParams) SetNamespace

func (o *AdminUploadContentDirectParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin upload content direct params

func (*AdminUploadContentDirectParams) SetTimeout

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

SetTimeout adds the timeout to the admin upload content direct params

func (*AdminUploadContentDirectParams) WithBody

WithBody adds the body to the admin upload content direct params

func (*AdminUploadContentDirectParams) WithChannelID

WithChannelID adds the channelID to the admin upload content direct params

func (*AdminUploadContentDirectParams) WithContext

WithContext adds the context to the admin upload content direct params

func (*AdminUploadContentDirectParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin upload content direct params

func (*AdminUploadContentDirectParams) WithNamespace

WithNamespace adds the namespace to the admin upload content direct params

func (*AdminUploadContentDirectParams) WithTimeout

WithTimeout adds the timeout to the admin upload content direct params

func (*AdminUploadContentDirectParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUploadContentDirectReader

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

AdminUploadContentDirectReader is a Reader for the AdminUploadContentDirect structure.

func (*AdminUploadContentDirectReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUploadContentDirectUnauthorized

type AdminUploadContentDirectUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUploadContentDirectUnauthorized 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 NewAdminUploadContentDirectUnauthorized

func NewAdminUploadContentDirectUnauthorized() *AdminUploadContentDirectUnauthorized

NewAdminUploadContentDirectUnauthorized creates a AdminUploadContentDirectUnauthorized with default headers values

func (*AdminUploadContentDirectUnauthorized) Error

func (*AdminUploadContentDirectUnauthorized) GetPayload

func (*AdminUploadContentDirectUnauthorized) ToJSONString added in v0.25.0

func (o *AdminUploadContentDirectUnauthorized) ToJSONString() string

type AdminUploadContentS3BadRequest

type AdminUploadContentS3BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUploadContentS3BadRequest 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>770107</td><td>Unable to update ugc content: invalid shareCode format</td></tr></table>

func NewAdminUploadContentS3BadRequest

func NewAdminUploadContentS3BadRequest() *AdminUploadContentS3BadRequest

NewAdminUploadContentS3BadRequest creates a AdminUploadContentS3BadRequest with default headers values

func (*AdminUploadContentS3BadRequest) Error

func (*AdminUploadContentS3BadRequest) GetPayload

func (*AdminUploadContentS3BadRequest) ToJSONString added in v0.25.0

func (o *AdminUploadContentS3BadRequest) ToJSONString() string

type AdminUploadContentS3Conflict added in v0.42.0

type AdminUploadContentS3Conflict struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUploadContentS3Conflict handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770103</td><td>Unable to save ugc content: shareCode exceed the limit</td></tr></table>

func NewAdminUploadContentS3Conflict added in v0.42.0

func NewAdminUploadContentS3Conflict() *AdminUploadContentS3Conflict

NewAdminUploadContentS3Conflict creates a AdminUploadContentS3Conflict with default headers values

func (*AdminUploadContentS3Conflict) Error added in v0.42.0

func (*AdminUploadContentS3Conflict) GetPayload added in v0.42.0

func (*AdminUploadContentS3Conflict) ToJSONString added in v0.42.0

func (o *AdminUploadContentS3Conflict) ToJSONString() string

type AdminUploadContentS3Created

type AdminUploadContentS3Created struct {
	Payload *ugcclientmodels.ModelsCreateContentResponse
}

AdminUploadContentS3Created handles this case with default header values.

Content Uploaded to S3 bucket

func NewAdminUploadContentS3Created

func NewAdminUploadContentS3Created() *AdminUploadContentS3Created

NewAdminUploadContentS3Created creates a AdminUploadContentS3Created with default headers values

func (*AdminUploadContentS3Created) Error

func (*AdminUploadContentS3Created) GetPayload

func (*AdminUploadContentS3Created) ToJSONString added in v0.25.0

func (o *AdminUploadContentS3Created) ToJSONString() string

type AdminUploadContentS3Forbidden added in v0.60.0

type AdminUploadContentS3Forbidden struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUploadContentS3Forbidden 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 NewAdminUploadContentS3Forbidden added in v0.60.0

func NewAdminUploadContentS3Forbidden() *AdminUploadContentS3Forbidden

NewAdminUploadContentS3Forbidden creates a AdminUploadContentS3Forbidden with default headers values

func (*AdminUploadContentS3Forbidden) Error added in v0.60.0

func (*AdminUploadContentS3Forbidden) GetPayload added in v0.60.0

func (*AdminUploadContentS3Forbidden) ToJSONString added in v0.60.0

func (o *AdminUploadContentS3Forbidden) ToJSONString() string

type AdminUploadContentS3InternalServerError

type AdminUploadContentS3InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUploadContentS3InternalServerError 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 NewAdminUploadContentS3InternalServerError

func NewAdminUploadContentS3InternalServerError() *AdminUploadContentS3InternalServerError

NewAdminUploadContentS3InternalServerError creates a AdminUploadContentS3InternalServerError with default headers values

func (*AdminUploadContentS3InternalServerError) Error

func (*AdminUploadContentS3InternalServerError) GetPayload

func (*AdminUploadContentS3InternalServerError) ToJSONString added in v0.25.0

type AdminUploadContentS3Params

type AdminUploadContentS3Params struct {

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

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

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

func NewAdminUploadContentS3Params

func NewAdminUploadContentS3Params() *AdminUploadContentS3Params

NewAdminUploadContentS3Params creates a new AdminUploadContentS3Params object with the default values initialized.

func NewAdminUploadContentS3ParamsWithContext

func NewAdminUploadContentS3ParamsWithContext(ctx context.Context) *AdminUploadContentS3Params

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

func NewAdminUploadContentS3ParamsWithHTTPClient

func NewAdminUploadContentS3ParamsWithHTTPClient(client *http.Client) *AdminUploadContentS3Params

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

func NewAdminUploadContentS3ParamsWithTimeout

func NewAdminUploadContentS3ParamsWithTimeout(timeout time.Duration) *AdminUploadContentS3Params

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

func (*AdminUploadContentS3Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin upload content s3 params

func (*AdminUploadContentS3Params) SetBody

SetBody adds the body to the admin upload content s3 params

func (*AdminUploadContentS3Params) SetChannelID

func (o *AdminUploadContentS3Params) SetChannelID(channelID string)

SetChannelID adds the channelId to the admin upload content s3 params

func (*AdminUploadContentS3Params) SetContext

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

SetContext adds the context to the admin upload content s3 params

func (*AdminUploadContentS3Params) SetFlightId added in v0.63.0

func (o *AdminUploadContentS3Params) SetFlightId(flightId string)

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

func (*AdminUploadContentS3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin upload content s3 params

func (*AdminUploadContentS3Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the admin upload content s3 params

func (*AdminUploadContentS3Params) SetNamespace

func (o *AdminUploadContentS3Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin upload content s3 params

func (*AdminUploadContentS3Params) SetTimeout

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

SetTimeout adds the timeout to the admin upload content s3 params

func (*AdminUploadContentS3Params) WithBody

WithBody adds the body to the admin upload content s3 params

func (*AdminUploadContentS3Params) WithChannelID

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

WithChannelID adds the channelID to the admin upload content s3 params

func (*AdminUploadContentS3Params) WithContext

WithContext adds the context to the admin upload content s3 params

func (*AdminUploadContentS3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin upload content s3 params

func (*AdminUploadContentS3Params) WithNamespace

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

WithNamespace adds the namespace to the admin upload content s3 params

func (*AdminUploadContentS3Params) WithTimeout

WithTimeout adds the timeout to the admin upload content s3 params

func (*AdminUploadContentS3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUploadContentS3Reader

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

AdminUploadContentS3Reader is a Reader for the AdminUploadContentS3 structure.

func (*AdminUploadContentS3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUploadContentS3Unauthorized

type AdminUploadContentS3Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUploadContentS3Unauthorized 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 NewAdminUploadContentS3Unauthorized

func NewAdminUploadContentS3Unauthorized() *AdminUploadContentS3Unauthorized

NewAdminUploadContentS3Unauthorized creates a AdminUploadContentS3Unauthorized with default headers values

func (*AdminUploadContentS3Unauthorized) Error

func (*AdminUploadContentS3Unauthorized) GetPayload

func (*AdminUploadContentS3Unauthorized) ToJSONString added in v0.25.0

func (o *AdminUploadContentS3Unauthorized) ToJSONString() string

type AdminUploadContentScreenshotBadRequest

type AdminUploadContentScreenshotBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUploadContentScreenshotBadRequest 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 NewAdminUploadContentScreenshotBadRequest

func NewAdminUploadContentScreenshotBadRequest() *AdminUploadContentScreenshotBadRequest

NewAdminUploadContentScreenshotBadRequest creates a AdminUploadContentScreenshotBadRequest with default headers values

func (*AdminUploadContentScreenshotBadRequest) Error

func (*AdminUploadContentScreenshotBadRequest) GetPayload

func (*AdminUploadContentScreenshotBadRequest) ToJSONString added in v0.25.0

type AdminUploadContentScreenshotCreated

type AdminUploadContentScreenshotCreated struct {
	Payload *ugcclientmodels.ModelsCreateScreenshotResponse
}

AdminUploadContentScreenshotCreated handles this case with default header values.

Screenshots uploaded

func NewAdminUploadContentScreenshotCreated

func NewAdminUploadContentScreenshotCreated() *AdminUploadContentScreenshotCreated

NewAdminUploadContentScreenshotCreated creates a AdminUploadContentScreenshotCreated with default headers values

func (*AdminUploadContentScreenshotCreated) Error

func (*AdminUploadContentScreenshotCreated) GetPayload

func (*AdminUploadContentScreenshotCreated) ToJSONString added in v0.25.0

func (o *AdminUploadContentScreenshotCreated) ToJSONString() string

type AdminUploadContentScreenshotForbidden added in v0.60.0

type AdminUploadContentScreenshotForbidden struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUploadContentScreenshotForbidden 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 NewAdminUploadContentScreenshotForbidden added in v0.60.0

func NewAdminUploadContentScreenshotForbidden() *AdminUploadContentScreenshotForbidden

NewAdminUploadContentScreenshotForbidden creates a AdminUploadContentScreenshotForbidden with default headers values

func (*AdminUploadContentScreenshotForbidden) Error added in v0.60.0

func (*AdminUploadContentScreenshotForbidden) GetPayload added in v0.60.0

func (*AdminUploadContentScreenshotForbidden) ToJSONString added in v0.60.0

type AdminUploadContentScreenshotInternalServerError

type AdminUploadContentScreenshotInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUploadContentScreenshotInternalServerError 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 NewAdminUploadContentScreenshotInternalServerError

func NewAdminUploadContentScreenshotInternalServerError() *AdminUploadContentScreenshotInternalServerError

NewAdminUploadContentScreenshotInternalServerError creates a AdminUploadContentScreenshotInternalServerError with default headers values

func (*AdminUploadContentScreenshotInternalServerError) Error

func (*AdminUploadContentScreenshotInternalServerError) GetPayload

func (*AdminUploadContentScreenshotInternalServerError) ToJSONString added in v0.25.0

type AdminUploadContentScreenshotNotFound

type AdminUploadContentScreenshotNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUploadContentScreenshotNotFound 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 NewAdminUploadContentScreenshotNotFound

func NewAdminUploadContentScreenshotNotFound() *AdminUploadContentScreenshotNotFound

NewAdminUploadContentScreenshotNotFound creates a AdminUploadContentScreenshotNotFound with default headers values

func (*AdminUploadContentScreenshotNotFound) Error

func (*AdminUploadContentScreenshotNotFound) GetPayload

func (*AdminUploadContentScreenshotNotFound) ToJSONString added in v0.25.0

func (o *AdminUploadContentScreenshotNotFound) ToJSONString() string

type AdminUploadContentScreenshotParams

type AdminUploadContentScreenshotParams struct {

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

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

func NewAdminUploadContentScreenshotParams

func NewAdminUploadContentScreenshotParams() *AdminUploadContentScreenshotParams

NewAdminUploadContentScreenshotParams creates a new AdminUploadContentScreenshotParams object with the default values initialized.

func NewAdminUploadContentScreenshotParamsWithContext

func NewAdminUploadContentScreenshotParamsWithContext(ctx context.Context) *AdminUploadContentScreenshotParams

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

func NewAdminUploadContentScreenshotParamsWithHTTPClient

func NewAdminUploadContentScreenshotParamsWithHTTPClient(client *http.Client) *AdminUploadContentScreenshotParams

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

func NewAdminUploadContentScreenshotParamsWithTimeout

func NewAdminUploadContentScreenshotParamsWithTimeout(timeout time.Duration) *AdminUploadContentScreenshotParams

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

func (*AdminUploadContentScreenshotParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin upload content screenshot params

func (*AdminUploadContentScreenshotParams) SetBody

SetBody adds the body to the admin upload content screenshot params

func (*AdminUploadContentScreenshotParams) SetContentID

func (o *AdminUploadContentScreenshotParams) SetContentID(contentID string)

SetContentID adds the contentId to the admin upload content screenshot params

func (*AdminUploadContentScreenshotParams) SetContext

SetContext adds the context to the admin upload content screenshot params

func (*AdminUploadContentScreenshotParams) SetFlightId added in v0.63.0

func (o *AdminUploadContentScreenshotParams) SetFlightId(flightId string)

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

func (*AdminUploadContentScreenshotParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin upload content screenshot params

func (*AdminUploadContentScreenshotParams) SetHTTPClientTransport added in v0.19.0

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

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

func (*AdminUploadContentScreenshotParams) SetNamespace

func (o *AdminUploadContentScreenshotParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin upload content screenshot params

func (*AdminUploadContentScreenshotParams) SetTimeout

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

SetTimeout adds the timeout to the admin upload content screenshot params

func (*AdminUploadContentScreenshotParams) WithBody

WithBody adds the body to the admin upload content screenshot params

func (*AdminUploadContentScreenshotParams) WithContentID

WithContentID adds the contentID to the admin upload content screenshot params

func (*AdminUploadContentScreenshotParams) WithContext

WithContext adds the context to the admin upload content screenshot params

func (*AdminUploadContentScreenshotParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin upload content screenshot params

func (*AdminUploadContentScreenshotParams) WithNamespace

WithNamespace adds the namespace to the admin upload content screenshot params

func (*AdminUploadContentScreenshotParams) WithTimeout

WithTimeout adds the timeout to the admin upload content screenshot params

func (*AdminUploadContentScreenshotParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUploadContentScreenshotReader

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

AdminUploadContentScreenshotReader is a Reader for the AdminUploadContentScreenshot structure.

func (*AdminUploadContentScreenshotReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUploadContentScreenshotUnauthorized

type AdminUploadContentScreenshotUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUploadContentScreenshotUnauthorized 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 NewAdminUploadContentScreenshotUnauthorized

func NewAdminUploadContentScreenshotUnauthorized() *AdminUploadContentScreenshotUnauthorized

NewAdminUploadContentScreenshotUnauthorized creates a AdminUploadContentScreenshotUnauthorized with default headers values

func (*AdminUploadContentScreenshotUnauthorized) Error

func (*AdminUploadContentScreenshotUnauthorized) GetPayload

func (*AdminUploadContentScreenshotUnauthorized) ToJSONString added in v0.25.0

type Client

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

Client for admin content API

func (*Client) AdminDeleteContent deprecated

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

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

func (*Client) AdminDeleteContentScreenshot deprecated

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

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

func (*Client) AdminDeleteContentScreenshotShort

func (a *Client) AdminDeleteContentScreenshotShort(params *AdminDeleteContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteContentScreenshotNoContent, error)

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

func (*Client) AdminDeleteContentShort

func (a *Client) AdminDeleteContentShort(params *AdminDeleteContentParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteContentNoContent, error)

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

func (*Client) AdminDownloadContentPreview deprecated

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

AdminDownloadContentPreview get content preview Required permission ADMIN:NAMESPACE:{namespace}:USER:*:CONTENT [READ]

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

func (*Client) AdminDownloadContentPreviewShort

func (a *Client) AdminDownloadContentPreviewShort(params *AdminDownloadContentPreviewParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDownloadContentPreviewOK, error)

AdminDownloadContentPreviewShort get content preview Required permission ADMIN:NAMESPACE:{namespace}:USER:*:CONTENT [READ]

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

func (*Client) AdminGetContent deprecated

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

AdminGetContent get user's generated contents Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [READ].

func (*Client) AdminGetContentBulk deprecated added in v0.36.0

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

AdminGetContentBulk bulk get content by content ids Required permission ADMIN:NAMESPACE:{namespace}:USER:*:CONTENT [READ]. Maximum contentId per request 100

func (*Client) AdminGetContentBulkByShareCodes deprecated added in v0.53.0

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

AdminGetContentBulkByShareCodes bulk get content by content sharecodes Required permission ADMIN:NAMESPACE:{namespace}:USER:*:CONTENT [READ]. Maximum sharecodes per request 100

func (*Client) AdminGetContentBulkByShareCodesShort added in v0.53.0

func (a *Client) AdminGetContentBulkByShareCodesShort(params *AdminGetContentBulkByShareCodesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentBulkByShareCodesOK, error)

AdminGetContentBulkByShareCodesShort bulk get content by content sharecodes Required permission ADMIN:NAMESPACE:{namespace}:USER:*:CONTENT [READ]. Maximum sharecodes per request 100

func (*Client) AdminGetContentBulkShort added in v0.36.0

func (a *Client) AdminGetContentBulkShort(params *AdminGetContentBulkParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentBulkOK, error)

AdminGetContentBulkShort bulk get content by content ids Required permission ADMIN:NAMESPACE:{namespace}:USER:*:CONTENT [READ]. Maximum contentId per request 100

func (*Client) AdminGetContentShort

func (a *Client) AdminGetContentShort(params *AdminGetContentParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentOK, error)

AdminGetContentShort get user's generated contents Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [READ].

func (*Client) AdminGetSpecificContent deprecated

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

AdminGetSpecificContent get user specific content Required permission ADMIN:NAMESPACE:{namespace}:USER:*:CONTENT [READ].

func (*Client) AdminGetSpecificContentShort

func (a *Client) AdminGetSpecificContentShort(params *AdminGetSpecificContentParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetSpecificContentOK, error)

AdminGetSpecificContentShort get user specific content Required permission ADMIN:NAMESPACE:{namespace}:USER:*:CONTENT [READ].

func (*Client) AdminGetUserContentByShareCode deprecated added in v0.25.0

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

AdminGetUserContentByShareCode get content by sharecode Required permission ADMIN:NAMESPACE:{namespace}:USER:*:CONTENT [READ].

func (*Client) AdminGetUserContentByShareCodeShort added in v0.25.0

func (a *Client) AdminGetUserContentByShareCodeShort(params *AdminGetUserContentByShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUserContentByShareCodeOK, error)

AdminGetUserContentByShareCodeShort get content by sharecode Required permission ADMIN:NAMESPACE:{namespace}:USER:*:CONTENT [READ].

func (*Client) AdminHideUserContent deprecated

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

AdminHideUserContent hide/unhide user's generated contents Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE].

func (*Client) AdminHideUserContentShort

func (a *Client) AdminHideUserContentShort(params *AdminHideUserContentParams, authInfo runtime.ClientAuthInfoWriter) (*AdminHideUserContentOK, error)

AdminHideUserContentShort hide/unhide user's generated contents Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE].

func (*Client) AdminSearchChannelSpecificContent deprecated

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

AdminSearchChannelSpecificContent search contents specific to a channel Required permission ADMIN:NAMESPACE:{namespace}:USER:*:CONTENT [READ]

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

func (a *Client) AdminSearchChannelSpecificContentShort(params *AdminSearchChannelSpecificContentParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSearchChannelSpecificContentOK, error)

AdminSearchChannelSpecificContentShort search contents specific to a channel Required permission ADMIN:NAMESPACE:{namespace}:USER:*:CONTENT [READ]

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

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

AdminSearchContent search contents Required permission ADMIN:NAMESPACE:{namespace}:USER:*:CONTENT [READ]

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

func (a *Client) AdminSearchContentShort(params *AdminSearchContentParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSearchContentOK, error)

AdminSearchContentShort search contents Required permission ADMIN:NAMESPACE:{namespace}:USER:*:CONTENT [READ]

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

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

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

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

func (*Client) AdminUpdateContentDirectShort

func (a *Client) AdminUpdateContentDirectShort(params *AdminUpdateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateContentDirectOK, error)

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

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

func (*Client) AdminUpdateContentS3 deprecated

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

AdminUpdateContentS3 update content to s3 bucket Required permission ADMIN: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.

`shareCode` format should follows:

Max length: 7 Available characters: abcdefhkpqrstuxyz

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

func (*Client) AdminUpdateContentS3ByShareCode deprecated added in v0.56.0

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

AdminUpdateContentS3ByShareCode update content to s3 bucket by share code Required permission ADMIN: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.

`shareCode` format should follows:

Max length: 7 Available characters: abcdefhkpqrstuxyz

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

func (*Client) AdminUpdateContentS3ByShareCodeShort added in v0.56.0

func (a *Client) AdminUpdateContentS3ByShareCodeShort(params *AdminUpdateContentS3ByShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateContentS3ByShareCodeOK, error)

AdminUpdateContentS3ByShareCodeShort update content to s3 bucket by share code Required permission ADMIN: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.

`shareCode` format should follows:

Max length: 7 Available characters: abcdefhkpqrstuxyz

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

func (*Client) AdminUpdateContentS3Short

func (a *Client) AdminUpdateContentS3Short(params *AdminUpdateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateContentS3OK, error)

AdminUpdateContentS3Short update content to s3 bucket Required permission ADMIN: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.

`shareCode` format should follows:

Max length: 7 Available characters: abcdefhkpqrstuxyz

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

func (*Client) AdminUpdateScreenshots deprecated

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

AdminUpdateScreenshots update screenshot of content Maximum description length: 1024

func (*Client) AdminUpdateScreenshotsShort

func (a *Client) AdminUpdateScreenshotsShort(params *AdminUpdateScreenshotsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateScreenshotsOK, error)

AdminUpdateScreenshotsShort update screenshot of content Maximum description length: 1024

func (*Client) AdminUploadContentDirect deprecated

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

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

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

func (*Client) AdminUploadContentDirectShort

func (a *Client) AdminUploadContentDirectShort(params *AdminUploadContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUploadContentDirectCreated, error)

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

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

func (*Client) AdminUploadContentS3 deprecated

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

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

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

`contentType` values is used to enforce the Content-Type header needed by the client when uploading the content using the S3 presigned URL. If not specified, it will use fileExtension value.

`shareCode` format should follows:

Length: 7 Available characters: abcdefhkpqrstuxyz

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

func (*Client) AdminUploadContentS3Short

func (a *Client) AdminUploadContentS3Short(params *AdminUploadContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUploadContentS3Created, error)

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

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

`contentType` values is used to enforce the Content-Type header needed by the client when uploading the content using the S3 presigned URL. If not specified, it will use fileExtension value.

`shareCode` format should follows:

Length: 7 Available characters: abcdefhkpqrstuxyz

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

func (*Client) AdminUploadContentScreenshot deprecated

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

AdminUploadContentScreenshot upload screenshots for official 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) AdminUploadContentScreenshotShort

func (a *Client) AdminUploadContentScreenshotShort(params *AdminUploadContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUploadContentScreenshotCreated, error)

AdminUploadContentScreenshotShort upload screenshots for official 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) DeleteContentByShareCode deprecated added in v0.56.0

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

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

func (*Client) DeleteContentByShareCodeShort added in v0.56.0

func (a *Client) DeleteContentByShareCodeShort(params *DeleteContentByShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentByShareCodeNoContent, error)

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

func (*Client) ListContentVersions deprecated added in v0.54.0

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

ListContentVersions list content's payload versions Required permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [READ] Content's payload versions created when UGC is created or updated with `updateContentFile` set to true. Only list up to 10 latest versions.

func (*Client) ListContentVersionsShort added in v0.54.0

func (a *Client) ListContentVersionsShort(params *ListContentVersionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListContentVersionsOK, error)

ListContentVersionsShort list content's payload versions Required permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [READ] Content's payload versions created when UGC is created or updated with `updateContentFile` set to true. Only list up to 10 latest versions.

func (*Client) RollbackContentVersion deprecated added in v0.54.0

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

RollbackContentVersion rollback content's payload version Required permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE] Rollback content's payload to specified version.

func (*Client) RollbackContentVersionShort added in v0.54.0

func (a *Client) RollbackContentVersionShort(params *RollbackContentVersionParams, authInfo runtime.ClientAuthInfoWriter) (*RollbackContentVersionOK, error)

RollbackContentVersionShort rollback content's payload version Required permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE] Rollback content's payload to specified version.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) SingleAdminDeleteContent deprecated

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

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

func (*Client) SingleAdminDeleteContentShort

func (a *Client) SingleAdminDeleteContentShort(params *SingleAdminDeleteContentParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminDeleteContentNoContent, error)

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

func (*Client) SingleAdminGetContent deprecated

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

SingleAdminGetContent get user's generated contents Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [READ].

func (*Client) SingleAdminGetContentShort

func (a *Client) SingleAdminGetContentShort(params *SingleAdminGetContentParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminGetContentOK, error)

SingleAdminGetContentShort get user's generated contents Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [READ].

func (*Client) SingleAdminUpdateContentDirect deprecated

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

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

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

func (*Client) SingleAdminUpdateContentDirectShort

func (a *Client) SingleAdminUpdateContentDirectShort(params *SingleAdminUpdateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminUpdateContentDirectOK, error)

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

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

func (*Client) SingleAdminUpdateContentS3 deprecated

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

SingleAdminUpdateContentS3 update content to s3 bucket Required permission ADMIN: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.

`shareCode` format should follows:

Max length: 7 Available characters: abcdefhkpqrstuxyz

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

func (*Client) SingleAdminUpdateContentS3Short

func (a *Client) SingleAdminUpdateContentS3Short(params *SingleAdminUpdateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminUpdateContentS3OK, error)

SingleAdminUpdateContentS3Short update content to s3 bucket Required permission ADMIN: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.

`shareCode` format should follows:

Max length: 7 Available characters: abcdefhkpqrstuxyz

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

type ClientService

type ClientService interface {
	AdminUploadContentDirect(params *AdminUploadContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUploadContentDirectCreated, *AdminUploadContentDirectBadRequest, *AdminUploadContentDirectUnauthorized, *AdminUploadContentDirectForbidden, *AdminUploadContentDirectConflict, *AdminUploadContentDirectInternalServerError, error)
	AdminUploadContentDirectShort(params *AdminUploadContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUploadContentDirectCreated, error)
	AdminUploadContentS3(params *AdminUploadContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUploadContentS3Created, *AdminUploadContentS3BadRequest, *AdminUploadContentS3Unauthorized, *AdminUploadContentS3Forbidden, *AdminUploadContentS3Conflict, *AdminUploadContentS3InternalServerError, error)
	AdminUploadContentS3Short(params *AdminUploadContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUploadContentS3Created, error)
	SingleAdminUpdateContentS3(params *SingleAdminUpdateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminUpdateContentS3OK, *SingleAdminUpdateContentS3BadRequest, *SingleAdminUpdateContentS3Unauthorized, *SingleAdminUpdateContentS3Forbidden, *SingleAdminUpdateContentS3NotFound, *SingleAdminUpdateContentS3Conflict, *SingleAdminUpdateContentS3InternalServerError, error)
	SingleAdminUpdateContentS3Short(params *SingleAdminUpdateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminUpdateContentS3OK, error)
	AdminSearchChannelSpecificContent(params *AdminSearchChannelSpecificContentParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSearchChannelSpecificContentOK, *AdminSearchChannelSpecificContentBadRequest, *AdminSearchChannelSpecificContentUnauthorized, *AdminSearchChannelSpecificContentInternalServerError, error)
	AdminSearchChannelSpecificContentShort(params *AdminSearchChannelSpecificContentParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSearchChannelSpecificContentOK, error)
	SingleAdminUpdateContentDirect(params *SingleAdminUpdateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminUpdateContentDirectOK, *SingleAdminUpdateContentDirectBadRequest, *SingleAdminUpdateContentDirectUnauthorized, *SingleAdminUpdateContentDirectForbidden, *SingleAdminUpdateContentDirectNotFound, *SingleAdminUpdateContentDirectInternalServerError, error)
	SingleAdminUpdateContentDirectShort(params *SingleAdminUpdateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminUpdateContentDirectOK, error)
	SingleAdminDeleteContent(params *SingleAdminDeleteContentParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminDeleteContentNoContent, *SingleAdminDeleteContentUnauthorized, *SingleAdminDeleteContentNotFound, *SingleAdminDeleteContentInternalServerError, error)
	SingleAdminDeleteContentShort(params *SingleAdminDeleteContentParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminDeleteContentNoContent, error)
	SingleAdminGetContent(params *SingleAdminGetContentParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminGetContentOK, *SingleAdminGetContentBadRequest, *SingleAdminGetContentUnauthorized, *SingleAdminGetContentInternalServerError, error)
	SingleAdminGetContentShort(params *SingleAdminGetContentParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminGetContentOK, error)
	AdminGetContentBulk(params *AdminGetContentBulkParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentBulkOK, *AdminGetContentBulkBadRequest, *AdminGetContentBulkUnauthorized, *AdminGetContentBulkForbidden, *AdminGetContentBulkInternalServerError, error)
	AdminGetContentBulkShort(params *AdminGetContentBulkParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentBulkOK, error)
	AdminSearchContent(params *AdminSearchContentParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSearchContentOK, *AdminSearchContentBadRequest, *AdminSearchContentUnauthorized, *AdminSearchContentInternalServerError, error)
	AdminSearchContentShort(params *AdminSearchContentParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSearchContentOK, error)
	AdminGetContentBulkByShareCodes(params *AdminGetContentBulkByShareCodesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentBulkByShareCodesOK, *AdminGetContentBulkByShareCodesBadRequest, *AdminGetContentBulkByShareCodesUnauthorized, *AdminGetContentBulkByShareCodesForbidden, *AdminGetContentBulkByShareCodesInternalServerError, error)
	AdminGetContentBulkByShareCodesShort(params *AdminGetContentBulkByShareCodesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentBulkByShareCodesOK, error)
	AdminGetUserContentByShareCode(params *AdminGetUserContentByShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUserContentByShareCodeOK, *AdminGetUserContentByShareCodeUnauthorized, *AdminGetUserContentByShareCodeNotFound, *AdminGetUserContentByShareCodeInternalServerError, error)
	AdminGetUserContentByShareCodeShort(params *AdminGetUserContentByShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUserContentByShareCodeOK, error)
	AdminGetSpecificContent(params *AdminGetSpecificContentParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetSpecificContentOK, *AdminGetSpecificContentUnauthorized, *AdminGetSpecificContentNotFound, *AdminGetSpecificContentInternalServerError, error)
	AdminGetSpecificContentShort(params *AdminGetSpecificContentParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetSpecificContentOK, error)
	AdminDownloadContentPreview(params *AdminDownloadContentPreviewParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDownloadContentPreviewOK, *AdminDownloadContentPreviewUnauthorized, *AdminDownloadContentPreviewNotFound, *AdminDownloadContentPreviewInternalServerError, error)
	AdminDownloadContentPreviewShort(params *AdminDownloadContentPreviewParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDownloadContentPreviewOK, error)
	RollbackContentVersion(params *RollbackContentVersionParams, authInfo runtime.ClientAuthInfoWriter) (*RollbackContentVersionOK, *RollbackContentVersionUnauthorized, *RollbackContentVersionNotFound, *RollbackContentVersionUnprocessableEntity, *RollbackContentVersionInternalServerError, error)
	RollbackContentVersionShort(params *RollbackContentVersionParams, authInfo runtime.ClientAuthInfoWriter) (*RollbackContentVersionOK, error)
	AdminUpdateScreenshots(params *AdminUpdateScreenshotsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateScreenshotsOK, *AdminUpdateScreenshotsBadRequest, *AdminUpdateScreenshotsUnauthorized, *AdminUpdateScreenshotsForbidden, *AdminUpdateScreenshotsNotFound, *AdminUpdateScreenshotsInternalServerError, error)
	AdminUpdateScreenshotsShort(params *AdminUpdateScreenshotsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateScreenshotsOK, error)
	AdminUploadContentScreenshot(params *AdminUploadContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUploadContentScreenshotCreated, *AdminUploadContentScreenshotBadRequest, *AdminUploadContentScreenshotUnauthorized, *AdminUploadContentScreenshotForbidden, *AdminUploadContentScreenshotNotFound, *AdminUploadContentScreenshotInternalServerError, error)
	AdminUploadContentScreenshotShort(params *AdminUploadContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUploadContentScreenshotCreated, error)
	AdminDeleteContentScreenshot(params *AdminDeleteContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteContentScreenshotNoContent, *AdminDeleteContentScreenshotBadRequest, *AdminDeleteContentScreenshotUnauthorized, *AdminDeleteContentScreenshotForbidden, *AdminDeleteContentScreenshotNotFound, *AdminDeleteContentScreenshotInternalServerError, error)
	AdminDeleteContentScreenshotShort(params *AdminDeleteContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteContentScreenshotNoContent, error)
	ListContentVersions(params *ListContentVersionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListContentVersionsOK, *ListContentVersionsUnauthorized, *ListContentVersionsNotFound, *ListContentVersionsInternalServerError, error)
	ListContentVersionsShort(params *ListContentVersionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListContentVersionsOK, error)
	AdminUpdateContentS3ByShareCode(params *AdminUpdateContentS3ByShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateContentS3ByShareCodeOK, *AdminUpdateContentS3ByShareCodeBadRequest, *AdminUpdateContentS3ByShareCodeUnauthorized, *AdminUpdateContentS3ByShareCodeForbidden, *AdminUpdateContentS3ByShareCodeNotFound, *AdminUpdateContentS3ByShareCodeConflict, *AdminUpdateContentS3ByShareCodeInternalServerError, error)
	AdminUpdateContentS3ByShareCodeShort(params *AdminUpdateContentS3ByShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateContentS3ByShareCodeOK, error)
	AdminUpdateContentS3(params *AdminUpdateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateContentS3OK, *AdminUpdateContentS3BadRequest, *AdminUpdateContentS3Unauthorized, *AdminUpdateContentS3Forbidden, *AdminUpdateContentS3NotFound, *AdminUpdateContentS3Conflict, *AdminUpdateContentS3InternalServerError, error)
	AdminUpdateContentS3Short(params *AdminUpdateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateContentS3OK, error)
	DeleteContentByShareCode(params *DeleteContentByShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentByShareCodeNoContent, *DeleteContentByShareCodeUnauthorized, *DeleteContentByShareCodeNotFound, *DeleteContentByShareCodeInternalServerError, error)
	DeleteContentByShareCodeShort(params *DeleteContentByShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentByShareCodeNoContent, error)
	AdminUpdateContentDirect(params *AdminUpdateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateContentDirectOK, *AdminUpdateContentDirectBadRequest, *AdminUpdateContentDirectUnauthorized, *AdminUpdateContentDirectForbidden, *AdminUpdateContentDirectNotFound, *AdminUpdateContentDirectInternalServerError, error)
	AdminUpdateContentDirectShort(params *AdminUpdateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateContentDirectOK, error)
	AdminDeleteContent(params *AdminDeleteContentParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteContentNoContent, *AdminDeleteContentUnauthorized, *AdminDeleteContentNotFound, *AdminDeleteContentInternalServerError, error)
	AdminDeleteContentShort(params *AdminDeleteContentParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteContentNoContent, error)
	AdminGetContent(params *AdminGetContentParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentOK, *AdminGetContentBadRequest, *AdminGetContentUnauthorized, *AdminGetContentInternalServerError, error)
	AdminGetContentShort(params *AdminGetContentParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentOK, error)
	AdminHideUserContent(params *AdminHideUserContentParams, authInfo runtime.ClientAuthInfoWriter) (*AdminHideUserContentOK, *AdminHideUserContentBadRequest, *AdminHideUserContentUnauthorized, *AdminHideUserContentNotFound, *AdminHideUserContentInternalServerError, error)
	AdminHideUserContentShort(params *AdminHideUserContentParams, authInfo runtime.ClientAuthInfoWriter) (*AdminHideUserContentOK, 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 admin content API client.

type DeleteContentByShareCodeInternalServerError added in v0.56.0

type DeleteContentByShareCodeInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

DeleteContentByShareCodeInternalServerError 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 NewDeleteContentByShareCodeInternalServerError added in v0.56.0

func NewDeleteContentByShareCodeInternalServerError() *DeleteContentByShareCodeInternalServerError

NewDeleteContentByShareCodeInternalServerError creates a DeleteContentByShareCodeInternalServerError with default headers values

func (*DeleteContentByShareCodeInternalServerError) Error added in v0.56.0

func (*DeleteContentByShareCodeInternalServerError) GetPayload added in v0.56.0

func (*DeleteContentByShareCodeInternalServerError) ToJSONString added in v0.56.0

type DeleteContentByShareCodeNoContent added in v0.56.0

type DeleteContentByShareCodeNoContent struct {
}

DeleteContentByShareCodeNoContent handles this case with default header values.

Delete content by share code

func NewDeleteContentByShareCodeNoContent added in v0.56.0

func NewDeleteContentByShareCodeNoContent() *DeleteContentByShareCodeNoContent

NewDeleteContentByShareCodeNoContent creates a DeleteContentByShareCodeNoContent with default headers values

func (*DeleteContentByShareCodeNoContent) Error added in v0.56.0

type DeleteContentByShareCodeNotFound added in v0.56.0

type DeleteContentByShareCodeNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

DeleteContentByShareCodeNotFound 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 NewDeleteContentByShareCodeNotFound added in v0.56.0

func NewDeleteContentByShareCodeNotFound() *DeleteContentByShareCodeNotFound

NewDeleteContentByShareCodeNotFound creates a DeleteContentByShareCodeNotFound with default headers values

func (*DeleteContentByShareCodeNotFound) Error added in v0.56.0

func (*DeleteContentByShareCodeNotFound) GetPayload added in v0.56.0

func (*DeleteContentByShareCodeNotFound) ToJSONString added in v0.56.0

func (o *DeleteContentByShareCodeNotFound) ToJSONString() string

type DeleteContentByShareCodeParams added in v0.56.0

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

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

func NewDeleteContentByShareCodeParams added in v0.56.0

func NewDeleteContentByShareCodeParams() *DeleteContentByShareCodeParams

NewDeleteContentByShareCodeParams creates a new DeleteContentByShareCodeParams object with the default values initialized.

func NewDeleteContentByShareCodeParamsWithContext added in v0.56.0

func NewDeleteContentByShareCodeParamsWithContext(ctx context.Context) *DeleteContentByShareCodeParams

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

func NewDeleteContentByShareCodeParamsWithHTTPClient added in v0.56.0

func NewDeleteContentByShareCodeParamsWithHTTPClient(client *http.Client) *DeleteContentByShareCodeParams

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

func NewDeleteContentByShareCodeParamsWithTimeout added in v0.56.0

func NewDeleteContentByShareCodeParamsWithTimeout(timeout time.Duration) *DeleteContentByShareCodeParams

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

func (*DeleteContentByShareCodeParams) SetAuthInfoWriter added in v0.56.0

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

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

func (*DeleteContentByShareCodeParams) SetChannelID added in v0.56.0

func (o *DeleteContentByShareCodeParams) SetChannelID(channelID string)

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

func (*DeleteContentByShareCodeParams) SetContext added in v0.56.0

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

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

func (*DeleteContentByShareCodeParams) SetFlightId added in v0.63.0

func (o *DeleteContentByShareCodeParams) SetFlightId(flightId string)

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

func (*DeleteContentByShareCodeParams) SetHTTPClient added in v0.56.0

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

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

func (*DeleteContentByShareCodeParams) SetHTTPClientTransport added in v0.56.0

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

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

func (*DeleteContentByShareCodeParams) SetNamespace added in v0.56.0

func (o *DeleteContentByShareCodeParams) SetNamespace(namespace string)

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

func (*DeleteContentByShareCodeParams) SetShareCode added in v0.56.0

func (o *DeleteContentByShareCodeParams) SetShareCode(shareCode string)

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

func (*DeleteContentByShareCodeParams) SetTimeout added in v0.56.0

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

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

func (*DeleteContentByShareCodeParams) SetUserID added in v0.56.0

func (o *DeleteContentByShareCodeParams) SetUserID(userID string)

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

func (*DeleteContentByShareCodeParams) WithChannelID added in v0.56.0

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

func (*DeleteContentByShareCodeParams) WithContext added in v0.56.0

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

func (*DeleteContentByShareCodeParams) WithHTTPClient added in v0.56.0

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

func (*DeleteContentByShareCodeParams) WithNamespace added in v0.56.0

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

func (*DeleteContentByShareCodeParams) WithShareCode added in v0.56.0

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

func (*DeleteContentByShareCodeParams) WithTimeout added in v0.56.0

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

func (*DeleteContentByShareCodeParams) WithUserID added in v0.56.0

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

func (*DeleteContentByShareCodeParams) WriteToRequest added in v0.56.0

WriteToRequest writes these params to a swagger request

type DeleteContentByShareCodeReader added in v0.56.0

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

DeleteContentByShareCodeReader is a Reader for the DeleteContentByShareCode structure.

func (*DeleteContentByShareCodeReader) ReadResponse added in v0.56.0

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

ReadResponse reads a server response into the received o.

type DeleteContentByShareCodeUnauthorized added in v0.56.0

type DeleteContentByShareCodeUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

DeleteContentByShareCodeUnauthorized 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 NewDeleteContentByShareCodeUnauthorized added in v0.56.0

func NewDeleteContentByShareCodeUnauthorized() *DeleteContentByShareCodeUnauthorized

NewDeleteContentByShareCodeUnauthorized creates a DeleteContentByShareCodeUnauthorized with default headers values

func (*DeleteContentByShareCodeUnauthorized) Error added in v0.56.0

func (*DeleteContentByShareCodeUnauthorized) GetPayload added in v0.56.0

func (*DeleteContentByShareCodeUnauthorized) ToJSONString added in v0.56.0

func (o *DeleteContentByShareCodeUnauthorized) ToJSONString() string

type ListContentVersionsInternalServerError added in v0.54.0

type ListContentVersionsInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

ListContentVersionsInternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>774005</td><td>unable to get ugc content</td></tr></table>

func NewListContentVersionsInternalServerError added in v0.54.0

func NewListContentVersionsInternalServerError() *ListContentVersionsInternalServerError

NewListContentVersionsInternalServerError creates a ListContentVersionsInternalServerError with default headers values

func (*ListContentVersionsInternalServerError) Error added in v0.54.0

func (*ListContentVersionsInternalServerError) GetPayload added in v0.54.0

func (*ListContentVersionsInternalServerError) ToJSONString added in v0.54.0

type ListContentVersionsNotFound added in v0.54.0

type ListContentVersionsNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

ListContentVersionsNotFound handles this case with default header values.

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

func NewListContentVersionsNotFound added in v0.54.0

func NewListContentVersionsNotFound() *ListContentVersionsNotFound

NewListContentVersionsNotFound creates a ListContentVersionsNotFound with default headers values

func (*ListContentVersionsNotFound) Error added in v0.54.0

func (*ListContentVersionsNotFound) GetPayload added in v0.54.0

func (*ListContentVersionsNotFound) ToJSONString added in v0.54.0

func (o *ListContentVersionsNotFound) ToJSONString() string

type ListContentVersionsOK added in v0.54.0

type ListContentVersionsOK struct {
	Payload *ugcclientmodels.ModelsListContentVersionsResponse
}

ListContentVersionsOK handles this case with default header values.

list content's payload versions

func NewListContentVersionsOK added in v0.54.0

func NewListContentVersionsOK() *ListContentVersionsOK

NewListContentVersionsOK creates a ListContentVersionsOK with default headers values

func (*ListContentVersionsOK) Error added in v0.54.0

func (o *ListContentVersionsOK) Error() string

func (*ListContentVersionsOK) GetPayload added in v0.54.0

func (*ListContentVersionsOK) ToJSONString added in v0.54.0

func (o *ListContentVersionsOK) ToJSONString() string

type ListContentVersionsParams added in v0.54.0

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

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

func NewListContentVersionsParams added in v0.54.0

func NewListContentVersionsParams() *ListContentVersionsParams

NewListContentVersionsParams creates a new ListContentVersionsParams object with the default values initialized.

func NewListContentVersionsParamsWithContext added in v0.54.0

func NewListContentVersionsParamsWithContext(ctx context.Context) *ListContentVersionsParams

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

func NewListContentVersionsParamsWithHTTPClient added in v0.54.0

func NewListContentVersionsParamsWithHTTPClient(client *http.Client) *ListContentVersionsParams

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

func NewListContentVersionsParamsWithTimeout added in v0.54.0

func NewListContentVersionsParamsWithTimeout(timeout time.Duration) *ListContentVersionsParams

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

func (*ListContentVersionsParams) SetAuthInfoWriter added in v0.54.0

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

SetAuthInfoWriter adds the authInfoWriter to the list content versions params

func (*ListContentVersionsParams) SetContentID added in v0.54.0

func (o *ListContentVersionsParams) SetContentID(contentID string)

SetContentID adds the contentId to the list content versions params

func (*ListContentVersionsParams) SetContext added in v0.54.0

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

SetContext adds the context to the list content versions params

func (*ListContentVersionsParams) SetFlightId added in v0.63.0

func (o *ListContentVersionsParams) SetFlightId(flightId string)

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

func (*ListContentVersionsParams) SetHTTPClient added in v0.54.0

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

SetHTTPClient adds the HTTPClient to the list content versions params

func (*ListContentVersionsParams) SetHTTPClientTransport added in v0.54.0

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

SetHTTPClient adds the HTTPClient Transport to the list content versions params

func (*ListContentVersionsParams) SetNamespace added in v0.54.0

func (o *ListContentVersionsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the list content versions params

func (*ListContentVersionsParams) SetTimeout added in v0.54.0

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

SetTimeout adds the timeout to the list content versions params

func (*ListContentVersionsParams) WithContentID added in v0.54.0

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

WithContentID adds the contentID to the list content versions params

func (*ListContentVersionsParams) WithContext added in v0.54.0

WithContext adds the context to the list content versions params

func (*ListContentVersionsParams) WithHTTPClient added in v0.54.0

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

WithHTTPClient adds the HTTPClient to the list content versions params

func (*ListContentVersionsParams) WithNamespace added in v0.54.0

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

WithNamespace adds the namespace to the list content versions params

func (*ListContentVersionsParams) WithTimeout added in v0.54.0

WithTimeout adds the timeout to the list content versions params

func (*ListContentVersionsParams) WriteToRequest added in v0.54.0

WriteToRequest writes these params to a swagger request

type ListContentVersionsReader added in v0.54.0

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

ListContentVersionsReader is a Reader for the ListContentVersions structure.

func (*ListContentVersionsReader) ReadResponse added in v0.54.0

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

ReadResponse reads a server response into the received o.

type ListContentVersionsUnauthorized added in v0.54.0

type ListContentVersionsUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

ListContentVersionsUnauthorized 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 NewListContentVersionsUnauthorized added in v0.54.0

func NewListContentVersionsUnauthorized() *ListContentVersionsUnauthorized

NewListContentVersionsUnauthorized creates a ListContentVersionsUnauthorized with default headers values

func (*ListContentVersionsUnauthorized) Error added in v0.54.0

func (*ListContentVersionsUnauthorized) GetPayload added in v0.54.0

func (*ListContentVersionsUnauthorized) ToJSONString added in v0.54.0

func (o *ListContentVersionsUnauthorized) ToJSONString() string

type RollbackContentVersionInternalServerError added in v0.54.0

type RollbackContentVersionInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

RollbackContentVersionInternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>774103</td><td>unable to get ugc content/content cannot be restored using the current content version</td></tr></table>

func NewRollbackContentVersionInternalServerError added in v0.54.0

func NewRollbackContentVersionInternalServerError() *RollbackContentVersionInternalServerError

NewRollbackContentVersionInternalServerError creates a RollbackContentVersionInternalServerError with default headers values

func (*RollbackContentVersionInternalServerError) Error added in v0.54.0

func (*RollbackContentVersionInternalServerError) GetPayload added in v0.54.0

func (*RollbackContentVersionInternalServerError) ToJSONString added in v0.54.0

type RollbackContentVersionNotFound added in v0.54.0

type RollbackContentVersionNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

RollbackContentVersionNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>774101</td><td>ugc content not found</td></tr><tr><td>774102</td><td>version not found</td></tr></table>

func NewRollbackContentVersionNotFound added in v0.54.0

func NewRollbackContentVersionNotFound() *RollbackContentVersionNotFound

NewRollbackContentVersionNotFound creates a RollbackContentVersionNotFound with default headers values

func (*RollbackContentVersionNotFound) Error added in v0.54.0

func (*RollbackContentVersionNotFound) GetPayload added in v0.54.0

func (*RollbackContentVersionNotFound) ToJSONString added in v0.54.0

func (o *RollbackContentVersionNotFound) ToJSONString() string

type RollbackContentVersionOK added in v0.54.0

type RollbackContentVersionOK struct {
	Payload *ugcclientmodels.ModelsContentDownloadResponse
}

RollbackContentVersionOK handles this case with default header values.

Rollback content's payload version

func NewRollbackContentVersionOK added in v0.54.0

func NewRollbackContentVersionOK() *RollbackContentVersionOK

NewRollbackContentVersionOK creates a RollbackContentVersionOK with default headers values

func (*RollbackContentVersionOK) Error added in v0.54.0

func (o *RollbackContentVersionOK) Error() string

func (*RollbackContentVersionOK) GetPayload added in v0.54.0

func (*RollbackContentVersionOK) ToJSONString added in v0.54.0

func (o *RollbackContentVersionOK) ToJSONString() string

type RollbackContentVersionParams added in v0.54.0

type RollbackContentVersionParams struct {

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

	*/
	ContentID string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*VersionID
	  version ID

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

RollbackContentVersionParams contains all the parameters to send to the API endpoint for the rollback content version operation typically these are written to a http.Request

func NewRollbackContentVersionParams added in v0.54.0

func NewRollbackContentVersionParams() *RollbackContentVersionParams

NewRollbackContentVersionParams creates a new RollbackContentVersionParams object with the default values initialized.

func NewRollbackContentVersionParamsWithContext added in v0.54.0

func NewRollbackContentVersionParamsWithContext(ctx context.Context) *RollbackContentVersionParams

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

func NewRollbackContentVersionParamsWithHTTPClient added in v0.54.0

func NewRollbackContentVersionParamsWithHTTPClient(client *http.Client) *RollbackContentVersionParams

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

func NewRollbackContentVersionParamsWithTimeout added in v0.54.0

func NewRollbackContentVersionParamsWithTimeout(timeout time.Duration) *RollbackContentVersionParams

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

func (*RollbackContentVersionParams) SetAuthInfoWriter added in v0.54.0

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

SetAuthInfoWriter adds the authInfoWriter to the rollback content version params

func (*RollbackContentVersionParams) SetContentID added in v0.54.0

func (o *RollbackContentVersionParams) SetContentID(contentID string)

SetContentID adds the contentId to the rollback content version params

func (*RollbackContentVersionParams) SetContext added in v0.54.0

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

SetContext adds the context to the rollback content version params

func (*RollbackContentVersionParams) SetFlightId added in v0.63.0

func (o *RollbackContentVersionParams) SetFlightId(flightId string)

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

func (*RollbackContentVersionParams) SetHTTPClient added in v0.54.0

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

SetHTTPClient adds the HTTPClient to the rollback content version params

func (*RollbackContentVersionParams) SetHTTPClientTransport added in v0.54.0

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

SetHTTPClient adds the HTTPClient Transport to the rollback content version params

func (*RollbackContentVersionParams) SetNamespace added in v0.54.0

func (o *RollbackContentVersionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the rollback content version params

func (*RollbackContentVersionParams) SetTimeout added in v0.54.0

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

SetTimeout adds the timeout to the rollback content version params

func (*RollbackContentVersionParams) SetVersionID added in v0.54.0

func (o *RollbackContentVersionParams) SetVersionID(versionID string)

SetVersionID adds the versionId to the rollback content version params

func (*RollbackContentVersionParams) WithContentID added in v0.54.0

WithContentID adds the contentID to the rollback content version params

func (*RollbackContentVersionParams) WithContext added in v0.54.0

WithContext adds the context to the rollback content version params

func (*RollbackContentVersionParams) WithHTTPClient added in v0.54.0

WithHTTPClient adds the HTTPClient to the rollback content version params

func (*RollbackContentVersionParams) WithNamespace added in v0.54.0

WithNamespace adds the namespace to the rollback content version params

func (*RollbackContentVersionParams) WithTimeout added in v0.54.0

WithTimeout adds the timeout to the rollback content version params

func (*RollbackContentVersionParams) WithVersionID added in v0.54.0

WithVersionID adds the versionID to the rollback content version params

func (*RollbackContentVersionParams) WriteToRequest added in v0.54.0

WriteToRequest writes these params to a swagger request

type RollbackContentVersionReader added in v0.54.0

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

RollbackContentVersionReader is a Reader for the RollbackContentVersion structure.

func (*RollbackContentVersionReader) ReadResponse added in v0.54.0

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

ReadResponse reads a server response into the received o.

type RollbackContentVersionUnauthorized added in v0.54.0

type RollbackContentVersionUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

RollbackContentVersionUnauthorized 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 NewRollbackContentVersionUnauthorized added in v0.54.0

func NewRollbackContentVersionUnauthorized() *RollbackContentVersionUnauthorized

NewRollbackContentVersionUnauthorized creates a RollbackContentVersionUnauthorized with default headers values

func (*RollbackContentVersionUnauthorized) Error added in v0.54.0

func (*RollbackContentVersionUnauthorized) GetPayload added in v0.54.0

func (*RollbackContentVersionUnauthorized) ToJSONString added in v0.54.0

func (o *RollbackContentVersionUnauthorized) ToJSONString() string

type RollbackContentVersionUnprocessableEntity added in v0.58.0

type RollbackContentVersionUnprocessableEntity struct {
	Payload *ugcclientmodels.ResponseError
}

RollbackContentVersionUnprocessableEntity handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>774103</td><td>unable to get ugc content/content cannot be restored using the current content version</td></tr></table>

func NewRollbackContentVersionUnprocessableEntity added in v0.58.0

func NewRollbackContentVersionUnprocessableEntity() *RollbackContentVersionUnprocessableEntity

NewRollbackContentVersionUnprocessableEntity creates a RollbackContentVersionUnprocessableEntity with default headers values

func (*RollbackContentVersionUnprocessableEntity) Error added in v0.58.0

func (*RollbackContentVersionUnprocessableEntity) GetPayload added in v0.58.0

func (*RollbackContentVersionUnprocessableEntity) ToJSONString added in v0.58.0

type SingleAdminDeleteContentInternalServerError

type SingleAdminDeleteContentInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

SingleAdminDeleteContentInternalServerError 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 NewSingleAdminDeleteContentInternalServerError

func NewSingleAdminDeleteContentInternalServerError() *SingleAdminDeleteContentInternalServerError

NewSingleAdminDeleteContentInternalServerError creates a SingleAdminDeleteContentInternalServerError with default headers values

func (*SingleAdminDeleteContentInternalServerError) Error

func (*SingleAdminDeleteContentInternalServerError) GetPayload

func (*SingleAdminDeleteContentInternalServerError) ToJSONString added in v0.25.0

type SingleAdminDeleteContentNoContent

type SingleAdminDeleteContentNoContent struct {
}

SingleAdminDeleteContentNoContent handles this case with default header values.

Content deleted

func NewSingleAdminDeleteContentNoContent

func NewSingleAdminDeleteContentNoContent() *SingleAdminDeleteContentNoContent

NewSingleAdminDeleteContentNoContent creates a SingleAdminDeleteContentNoContent with default headers values

func (*SingleAdminDeleteContentNoContent) Error

type SingleAdminDeleteContentNotFound

type SingleAdminDeleteContentNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

SingleAdminDeleteContentNotFound 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 NewSingleAdminDeleteContentNotFound

func NewSingleAdminDeleteContentNotFound() *SingleAdminDeleteContentNotFound

NewSingleAdminDeleteContentNotFound creates a SingleAdminDeleteContentNotFound with default headers values

func (*SingleAdminDeleteContentNotFound) Error

func (*SingleAdminDeleteContentNotFound) GetPayload

func (*SingleAdminDeleteContentNotFound) ToJSONString added in v0.25.0

func (o *SingleAdminDeleteContentNotFound) ToJSONString() string

type SingleAdminDeleteContentParams

type SingleAdminDeleteContentParams struct {

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

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

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

func NewSingleAdminDeleteContentParams

func NewSingleAdminDeleteContentParams() *SingleAdminDeleteContentParams

NewSingleAdminDeleteContentParams creates a new SingleAdminDeleteContentParams object with the default values initialized.

func NewSingleAdminDeleteContentParamsWithContext

func NewSingleAdminDeleteContentParamsWithContext(ctx context.Context) *SingleAdminDeleteContentParams

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

func NewSingleAdminDeleteContentParamsWithHTTPClient

func NewSingleAdminDeleteContentParamsWithHTTPClient(client *http.Client) *SingleAdminDeleteContentParams

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

func NewSingleAdminDeleteContentParamsWithTimeout

func NewSingleAdminDeleteContentParamsWithTimeout(timeout time.Duration) *SingleAdminDeleteContentParams

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

func (*SingleAdminDeleteContentParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the single admin delete content params

func (*SingleAdminDeleteContentParams) SetChannelID

func (o *SingleAdminDeleteContentParams) SetChannelID(channelID string)

SetChannelID adds the channelId to the single admin delete content params

func (*SingleAdminDeleteContentParams) SetContentID

func (o *SingleAdminDeleteContentParams) SetContentID(contentID string)

SetContentID adds the contentId to the single admin delete content params

func (*SingleAdminDeleteContentParams) SetContext

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

SetContext adds the context to the single admin delete content params

func (*SingleAdminDeleteContentParams) SetFlightId added in v0.63.0

func (o *SingleAdminDeleteContentParams) SetFlightId(flightId string)

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

func (*SingleAdminDeleteContentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the single admin delete content params

func (*SingleAdminDeleteContentParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the single admin delete content params

func (*SingleAdminDeleteContentParams) SetNamespace

func (o *SingleAdminDeleteContentParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the single admin delete content params

func (*SingleAdminDeleteContentParams) SetTimeout

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

SetTimeout adds the timeout to the single admin delete content params

func (*SingleAdminDeleteContentParams) WithChannelID

WithChannelID adds the channelID to the single admin delete content params

func (*SingleAdminDeleteContentParams) WithContentID

WithContentID adds the contentID to the single admin delete content params

func (*SingleAdminDeleteContentParams) WithContext

WithContext adds the context to the single admin delete content params

func (*SingleAdminDeleteContentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the single admin delete content params

func (*SingleAdminDeleteContentParams) WithNamespace

WithNamespace adds the namespace to the single admin delete content params

func (*SingleAdminDeleteContentParams) WithTimeout

WithTimeout adds the timeout to the single admin delete content params

func (*SingleAdminDeleteContentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SingleAdminDeleteContentReader

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

SingleAdminDeleteContentReader is a Reader for the SingleAdminDeleteContent structure.

func (*SingleAdminDeleteContentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SingleAdminDeleteContentUnauthorized

type SingleAdminDeleteContentUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

SingleAdminDeleteContentUnauthorized 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 NewSingleAdminDeleteContentUnauthorized

func NewSingleAdminDeleteContentUnauthorized() *SingleAdminDeleteContentUnauthorized

NewSingleAdminDeleteContentUnauthorized creates a SingleAdminDeleteContentUnauthorized with default headers values

func (*SingleAdminDeleteContentUnauthorized) Error

func (*SingleAdminDeleteContentUnauthorized) GetPayload

func (*SingleAdminDeleteContentUnauthorized) ToJSONString added in v0.25.0

func (o *SingleAdminDeleteContentUnauthorized) ToJSONString() string

type SingleAdminGetContentBadRequest added in v0.60.0

type SingleAdminGetContentBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

SingleAdminGetContentBadRequest 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 NewSingleAdminGetContentBadRequest added in v0.60.0

func NewSingleAdminGetContentBadRequest() *SingleAdminGetContentBadRequest

NewSingleAdminGetContentBadRequest creates a SingleAdminGetContentBadRequest with default headers values

func (*SingleAdminGetContentBadRequest) Error added in v0.60.0

func (*SingleAdminGetContentBadRequest) GetPayload added in v0.60.0

func (*SingleAdminGetContentBadRequest) ToJSONString added in v0.60.0

func (o *SingleAdminGetContentBadRequest) ToJSONString() string

type SingleAdminGetContentInternalServerError

type SingleAdminGetContentInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

SingleAdminGetContentInternalServerError 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 NewSingleAdminGetContentInternalServerError

func NewSingleAdminGetContentInternalServerError() *SingleAdminGetContentInternalServerError

NewSingleAdminGetContentInternalServerError creates a SingleAdminGetContentInternalServerError with default headers values

func (*SingleAdminGetContentInternalServerError) Error

func (*SingleAdminGetContentInternalServerError) GetPayload

func (*SingleAdminGetContentInternalServerError) ToJSONString added in v0.25.0

type SingleAdminGetContentOK

type SingleAdminGetContentOK struct {
	Payload *ugcclientmodels.ModelsPaginatedContentDownloadResponse
}

SingleAdminGetContentOK handles this case with default header values.

Get user's generated contents

func NewSingleAdminGetContentOK

func NewSingleAdminGetContentOK() *SingleAdminGetContentOK

NewSingleAdminGetContentOK creates a SingleAdminGetContentOK with default headers values

func (*SingleAdminGetContentOK) Error

func (o *SingleAdminGetContentOK) Error() string

func (*SingleAdminGetContentOK) GetPayload

func (*SingleAdminGetContentOK) ToJSONString added in v0.25.0

func (o *SingleAdminGetContentOK) ToJSONString() string

type SingleAdminGetContentParams

type SingleAdminGetContentParams struct {

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

	*/
	Namespace string
	/*Limit
	  number of content per page

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

SingleAdminGetContentParams contains all the parameters to send to the API endpoint for the single admin get content operation typically these are written to a http.Request

func NewSingleAdminGetContentParams

func NewSingleAdminGetContentParams() *SingleAdminGetContentParams

NewSingleAdminGetContentParams creates a new SingleAdminGetContentParams object with the default values initialized.

func NewSingleAdminGetContentParamsWithContext

func NewSingleAdminGetContentParamsWithContext(ctx context.Context) *SingleAdminGetContentParams

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

func NewSingleAdminGetContentParamsWithHTTPClient

func NewSingleAdminGetContentParamsWithHTTPClient(client *http.Client) *SingleAdminGetContentParams

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

func NewSingleAdminGetContentParamsWithTimeout

func NewSingleAdminGetContentParamsWithTimeout(timeout time.Duration) *SingleAdminGetContentParams

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

func (*SingleAdminGetContentParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the single admin get content params

func (*SingleAdminGetContentParams) SetContext

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

SetContext adds the context to the single admin get content params

func (*SingleAdminGetContentParams) SetFlightId added in v0.63.0

func (o *SingleAdminGetContentParams) SetFlightId(flightId string)

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

func (*SingleAdminGetContentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the single admin get content params

func (*SingleAdminGetContentParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the single admin get content params

func (*SingleAdminGetContentParams) SetLimit

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

SetLimit adds the limit to the single admin get content params

func (*SingleAdminGetContentParams) SetNamespace

func (o *SingleAdminGetContentParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the single admin get content params

func (*SingleAdminGetContentParams) SetOffset

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

SetOffset adds the offset to the single admin get content params

func (*SingleAdminGetContentParams) SetTimeout

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

SetTimeout adds the timeout to the single admin get content params

func (*SingleAdminGetContentParams) WithContext

WithContext adds the context to the single admin get content params

func (*SingleAdminGetContentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the single admin get content params

func (*SingleAdminGetContentParams) WithLimit

WithLimit adds the limit to the single admin get content params

func (*SingleAdminGetContentParams) WithNamespace

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

WithNamespace adds the namespace to the single admin get content params

func (*SingleAdminGetContentParams) WithOffset

WithOffset adds the offset to the single admin get content params

func (*SingleAdminGetContentParams) WithTimeout

WithTimeout adds the timeout to the single admin get content params

func (*SingleAdminGetContentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SingleAdminGetContentReader

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

SingleAdminGetContentReader is a Reader for the SingleAdminGetContent structure.

func (*SingleAdminGetContentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SingleAdminGetContentUnauthorized

type SingleAdminGetContentUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

SingleAdminGetContentUnauthorized 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 NewSingleAdminGetContentUnauthorized

func NewSingleAdminGetContentUnauthorized() *SingleAdminGetContentUnauthorized

NewSingleAdminGetContentUnauthorized creates a SingleAdminGetContentUnauthorized with default headers values

func (*SingleAdminGetContentUnauthorized) Error

func (*SingleAdminGetContentUnauthorized) GetPayload

func (*SingleAdminGetContentUnauthorized) ToJSONString added in v0.25.0

func (o *SingleAdminGetContentUnauthorized) ToJSONString() string

type SingleAdminUpdateContentDirectBadRequest

type SingleAdminUpdateContentDirectBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

SingleAdminUpdateContentDirectBadRequest 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 NewSingleAdminUpdateContentDirectBadRequest

func NewSingleAdminUpdateContentDirectBadRequest() *SingleAdminUpdateContentDirectBadRequest

NewSingleAdminUpdateContentDirectBadRequest creates a SingleAdminUpdateContentDirectBadRequest with default headers values

func (*SingleAdminUpdateContentDirectBadRequest) Error

func (*SingleAdminUpdateContentDirectBadRequest) GetPayload

func (*SingleAdminUpdateContentDirectBadRequest) ToJSONString added in v0.25.0

type SingleAdminUpdateContentDirectForbidden added in v0.60.0

type SingleAdminUpdateContentDirectForbidden struct {
	Payload *ugcclientmodels.ResponseError
}

SingleAdminUpdateContentDirectForbidden 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 NewSingleAdminUpdateContentDirectForbidden added in v0.60.0

func NewSingleAdminUpdateContentDirectForbidden() *SingleAdminUpdateContentDirectForbidden

NewSingleAdminUpdateContentDirectForbidden creates a SingleAdminUpdateContentDirectForbidden with default headers values

func (*SingleAdminUpdateContentDirectForbidden) Error added in v0.60.0

func (*SingleAdminUpdateContentDirectForbidden) GetPayload added in v0.60.0

func (*SingleAdminUpdateContentDirectForbidden) ToJSONString added in v0.60.0

type SingleAdminUpdateContentDirectInternalServerError

type SingleAdminUpdateContentDirectInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

SingleAdminUpdateContentDirectInternalServerError 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 NewSingleAdminUpdateContentDirectInternalServerError

func NewSingleAdminUpdateContentDirectInternalServerError() *SingleAdminUpdateContentDirectInternalServerError

NewSingleAdminUpdateContentDirectInternalServerError creates a SingleAdminUpdateContentDirectInternalServerError with default headers values

func (*SingleAdminUpdateContentDirectInternalServerError) Error

func (*SingleAdminUpdateContentDirectInternalServerError) GetPayload

func (*SingleAdminUpdateContentDirectInternalServerError) ToJSONString added in v0.25.0

type SingleAdminUpdateContentDirectNotFound

type SingleAdminUpdateContentDirectNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

SingleAdminUpdateContentDirectNotFound 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 NewSingleAdminUpdateContentDirectNotFound

func NewSingleAdminUpdateContentDirectNotFound() *SingleAdminUpdateContentDirectNotFound

NewSingleAdminUpdateContentDirectNotFound creates a SingleAdminUpdateContentDirectNotFound with default headers values

func (*SingleAdminUpdateContentDirectNotFound) Error

func (*SingleAdminUpdateContentDirectNotFound) GetPayload

func (*SingleAdminUpdateContentDirectNotFound) ToJSONString added in v0.25.0

type SingleAdminUpdateContentDirectOK

type SingleAdminUpdateContentDirectOK struct {
	Payload *ugcclientmodels.ModelsCreateContentResponse
}

SingleAdminUpdateContentDirectOK handles this case with default header values.

Content updated

func NewSingleAdminUpdateContentDirectOK

func NewSingleAdminUpdateContentDirectOK() *SingleAdminUpdateContentDirectOK

NewSingleAdminUpdateContentDirectOK creates a SingleAdminUpdateContentDirectOK with default headers values

func (*SingleAdminUpdateContentDirectOK) Error

func (*SingleAdminUpdateContentDirectOK) GetPayload

func (*SingleAdminUpdateContentDirectOK) ToJSONString added in v0.25.0

func (o *SingleAdminUpdateContentDirectOK) ToJSONString() string

type SingleAdminUpdateContentDirectParams

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

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

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

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

func NewSingleAdminUpdateContentDirectParams

func NewSingleAdminUpdateContentDirectParams() *SingleAdminUpdateContentDirectParams

NewSingleAdminUpdateContentDirectParams creates a new SingleAdminUpdateContentDirectParams object with the default values initialized.

func NewSingleAdminUpdateContentDirectParamsWithContext

func NewSingleAdminUpdateContentDirectParamsWithContext(ctx context.Context) *SingleAdminUpdateContentDirectParams

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

func NewSingleAdminUpdateContentDirectParamsWithHTTPClient

func NewSingleAdminUpdateContentDirectParamsWithHTTPClient(client *http.Client) *SingleAdminUpdateContentDirectParams

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

func NewSingleAdminUpdateContentDirectParamsWithTimeout

func NewSingleAdminUpdateContentDirectParamsWithTimeout(timeout time.Duration) *SingleAdminUpdateContentDirectParams

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

func (*SingleAdminUpdateContentDirectParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the single admin update content direct params

func (*SingleAdminUpdateContentDirectParams) SetBody

SetBody adds the body to the single admin update content direct params

func (*SingleAdminUpdateContentDirectParams) SetChannelID

func (o *SingleAdminUpdateContentDirectParams) SetChannelID(channelID string)

SetChannelID adds the channelId to the single admin update content direct params

func (*SingleAdminUpdateContentDirectParams) SetContentID

func (o *SingleAdminUpdateContentDirectParams) SetContentID(contentID string)

SetContentID adds the contentId to the single admin update content direct params

func (*SingleAdminUpdateContentDirectParams) SetContext

SetContext adds the context to the single admin update content direct params

func (*SingleAdminUpdateContentDirectParams) SetFlightId added in v0.63.0

func (o *SingleAdminUpdateContentDirectParams) SetFlightId(flightId string)

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

func (*SingleAdminUpdateContentDirectParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the single admin update content direct params

func (*SingleAdminUpdateContentDirectParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the single admin update content direct params

func (*SingleAdminUpdateContentDirectParams) SetNamespace

func (o *SingleAdminUpdateContentDirectParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the single admin update content direct params

func (*SingleAdminUpdateContentDirectParams) SetTimeout

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

SetTimeout adds the timeout to the single admin update content direct params

func (*SingleAdminUpdateContentDirectParams) WithBody

WithBody adds the body to the single admin update content direct params

func (*SingleAdminUpdateContentDirectParams) WithChannelID

WithChannelID adds the channelID to the single admin update content direct params

func (*SingleAdminUpdateContentDirectParams) WithContentID

WithContentID adds the contentID to the single admin update content direct params

func (*SingleAdminUpdateContentDirectParams) WithContext

WithContext adds the context to the single admin update content direct params

func (*SingleAdminUpdateContentDirectParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the single admin update content direct params

func (*SingleAdminUpdateContentDirectParams) WithNamespace

WithNamespace adds the namespace to the single admin update content direct params

func (*SingleAdminUpdateContentDirectParams) WithTimeout

WithTimeout adds the timeout to the single admin update content direct params

func (*SingleAdminUpdateContentDirectParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SingleAdminUpdateContentDirectReader

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

SingleAdminUpdateContentDirectReader is a Reader for the SingleAdminUpdateContentDirect structure.

func (*SingleAdminUpdateContentDirectReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SingleAdminUpdateContentDirectUnauthorized

type SingleAdminUpdateContentDirectUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

SingleAdminUpdateContentDirectUnauthorized 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 NewSingleAdminUpdateContentDirectUnauthorized

func NewSingleAdminUpdateContentDirectUnauthorized() *SingleAdminUpdateContentDirectUnauthorized

NewSingleAdminUpdateContentDirectUnauthorized creates a SingleAdminUpdateContentDirectUnauthorized with default headers values

func (*SingleAdminUpdateContentDirectUnauthorized) Error

func (*SingleAdminUpdateContentDirectUnauthorized) GetPayload

func (*SingleAdminUpdateContentDirectUnauthorized) ToJSONString added in v0.25.0

type SingleAdminUpdateContentS3BadRequest

type SingleAdminUpdateContentS3BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

SingleAdminUpdateContentS3BadRequest handles this case with default header values.

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

func NewSingleAdminUpdateContentS3BadRequest

func NewSingleAdminUpdateContentS3BadRequest() *SingleAdminUpdateContentS3BadRequest

NewSingleAdminUpdateContentS3BadRequest creates a SingleAdminUpdateContentS3BadRequest with default headers values

func (*SingleAdminUpdateContentS3BadRequest) Error

func (*SingleAdminUpdateContentS3BadRequest) GetPayload

func (*SingleAdminUpdateContentS3BadRequest) ToJSONString added in v0.25.0

func (o *SingleAdminUpdateContentS3BadRequest) ToJSONString() string

type SingleAdminUpdateContentS3Conflict added in v0.43.0

type SingleAdminUpdateContentS3Conflict struct {
	Payload *ugcclientmodels.ResponseError
}

SingleAdminUpdateContentS3Conflict 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 NewSingleAdminUpdateContentS3Conflict added in v0.43.0

func NewSingleAdminUpdateContentS3Conflict() *SingleAdminUpdateContentS3Conflict

NewSingleAdminUpdateContentS3Conflict creates a SingleAdminUpdateContentS3Conflict with default headers values

func (*SingleAdminUpdateContentS3Conflict) Error added in v0.43.0

func (*SingleAdminUpdateContentS3Conflict) GetPayload added in v0.43.0

func (*SingleAdminUpdateContentS3Conflict) ToJSONString added in v0.43.0

func (o *SingleAdminUpdateContentS3Conflict) ToJSONString() string

type SingleAdminUpdateContentS3Forbidden added in v0.60.0

type SingleAdminUpdateContentS3Forbidden struct {
	Payload *ugcclientmodels.ResponseError
}

SingleAdminUpdateContentS3Forbidden 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 NewSingleAdminUpdateContentS3Forbidden added in v0.60.0

func NewSingleAdminUpdateContentS3Forbidden() *SingleAdminUpdateContentS3Forbidden

NewSingleAdminUpdateContentS3Forbidden creates a SingleAdminUpdateContentS3Forbidden with default headers values

func (*SingleAdminUpdateContentS3Forbidden) Error added in v0.60.0

func (*SingleAdminUpdateContentS3Forbidden) GetPayload added in v0.60.0

func (*SingleAdminUpdateContentS3Forbidden) ToJSONString added in v0.60.0

func (o *SingleAdminUpdateContentS3Forbidden) ToJSONString() string

type SingleAdminUpdateContentS3InternalServerError

type SingleAdminUpdateContentS3InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

SingleAdminUpdateContentS3InternalServerError 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 NewSingleAdminUpdateContentS3InternalServerError

func NewSingleAdminUpdateContentS3InternalServerError() *SingleAdminUpdateContentS3InternalServerError

NewSingleAdminUpdateContentS3InternalServerError creates a SingleAdminUpdateContentS3InternalServerError with default headers values

func (*SingleAdminUpdateContentS3InternalServerError) Error

func (*SingleAdminUpdateContentS3InternalServerError) GetPayload

func (*SingleAdminUpdateContentS3InternalServerError) ToJSONString added in v0.25.0

type SingleAdminUpdateContentS3NotFound

type SingleAdminUpdateContentS3NotFound struct {
	Payload *ugcclientmodels.ResponseError
}

SingleAdminUpdateContentS3NotFound 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 NewSingleAdminUpdateContentS3NotFound

func NewSingleAdminUpdateContentS3NotFound() *SingleAdminUpdateContentS3NotFound

NewSingleAdminUpdateContentS3NotFound creates a SingleAdminUpdateContentS3NotFound with default headers values

func (*SingleAdminUpdateContentS3NotFound) Error

func (*SingleAdminUpdateContentS3NotFound) GetPayload

func (*SingleAdminUpdateContentS3NotFound) ToJSONString added in v0.25.0

func (o *SingleAdminUpdateContentS3NotFound) ToJSONString() string

type SingleAdminUpdateContentS3OK

type SingleAdminUpdateContentS3OK struct {
	Payload *ugcclientmodels.ModelsCreateContentResponse
}

SingleAdminUpdateContentS3OK handles this case with default header values.

Content updated at s3

func NewSingleAdminUpdateContentS3OK

func NewSingleAdminUpdateContentS3OK() *SingleAdminUpdateContentS3OK

NewSingleAdminUpdateContentS3OK creates a SingleAdminUpdateContentS3OK with default headers values

func (*SingleAdminUpdateContentS3OK) Error

func (*SingleAdminUpdateContentS3OK) GetPayload

func (*SingleAdminUpdateContentS3OK) ToJSONString added in v0.25.0

func (o *SingleAdminUpdateContentS3OK) ToJSONString() string

type SingleAdminUpdateContentS3Params

type SingleAdminUpdateContentS3Params struct {

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

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

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

func NewSingleAdminUpdateContentS3Params

func NewSingleAdminUpdateContentS3Params() *SingleAdminUpdateContentS3Params

NewSingleAdminUpdateContentS3Params creates a new SingleAdminUpdateContentS3Params object with the default values initialized.

func NewSingleAdminUpdateContentS3ParamsWithContext

func NewSingleAdminUpdateContentS3ParamsWithContext(ctx context.Context) *SingleAdminUpdateContentS3Params

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

func NewSingleAdminUpdateContentS3ParamsWithHTTPClient

func NewSingleAdminUpdateContentS3ParamsWithHTTPClient(client *http.Client) *SingleAdminUpdateContentS3Params

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

func NewSingleAdminUpdateContentS3ParamsWithTimeout

func NewSingleAdminUpdateContentS3ParamsWithTimeout(timeout time.Duration) *SingleAdminUpdateContentS3Params

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

func (*SingleAdminUpdateContentS3Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the single admin update content s3 params

func (*SingleAdminUpdateContentS3Params) SetBody

SetBody adds the body to the single admin update content s3 params

func (*SingleAdminUpdateContentS3Params) SetChannelID

func (o *SingleAdminUpdateContentS3Params) SetChannelID(channelID string)

SetChannelID adds the channelId to the single admin update content s3 params

func (*SingleAdminUpdateContentS3Params) SetContentID

func (o *SingleAdminUpdateContentS3Params) SetContentID(contentID string)

SetContentID adds the contentId to the single admin update content s3 params

func (*SingleAdminUpdateContentS3Params) SetContext

SetContext adds the context to the single admin update content s3 params

func (*SingleAdminUpdateContentS3Params) SetFlightId added in v0.63.0

func (o *SingleAdminUpdateContentS3Params) SetFlightId(flightId string)

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

func (*SingleAdminUpdateContentS3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the single admin update content s3 params

func (*SingleAdminUpdateContentS3Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the single admin update content s3 params

func (*SingleAdminUpdateContentS3Params) SetNamespace

func (o *SingleAdminUpdateContentS3Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the single admin update content s3 params

func (*SingleAdminUpdateContentS3Params) SetTimeout

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

SetTimeout adds the timeout to the single admin update content s3 params

func (*SingleAdminUpdateContentS3Params) WithBody

WithBody adds the body to the single admin update content s3 params

func (*SingleAdminUpdateContentS3Params) WithChannelID

WithChannelID adds the channelID to the single admin update content s3 params

func (*SingleAdminUpdateContentS3Params) WithContentID

WithContentID adds the contentID to the single admin update content s3 params

func (*SingleAdminUpdateContentS3Params) WithContext

WithContext adds the context to the single admin update content s3 params

func (*SingleAdminUpdateContentS3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the single admin update content s3 params

func (*SingleAdminUpdateContentS3Params) WithNamespace

WithNamespace adds the namespace to the single admin update content s3 params

func (*SingleAdminUpdateContentS3Params) WithTimeout

WithTimeout adds the timeout to the single admin update content s3 params

func (*SingleAdminUpdateContentS3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type SingleAdminUpdateContentS3Reader

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

SingleAdminUpdateContentS3Reader is a Reader for the SingleAdminUpdateContentS3 structure.

func (*SingleAdminUpdateContentS3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SingleAdminUpdateContentS3Unauthorized

type SingleAdminUpdateContentS3Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

SingleAdminUpdateContentS3Unauthorized 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 NewSingleAdminUpdateContentS3Unauthorized

func NewSingleAdminUpdateContentS3Unauthorized() *SingleAdminUpdateContentS3Unauthorized

NewSingleAdminUpdateContentS3Unauthorized creates a SingleAdminUpdateContentS3Unauthorized with default headers values

func (*SingleAdminUpdateContentS3Unauthorized) Error

func (*SingleAdminUpdateContentS3Unauthorized) GetPayload

func (*SingleAdminUpdateContentS3Unauthorized) ToJSONString added in v0.25.0

Source Files

Jump to

Keyboard shortcuts

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