admin_content_v2

package
v0.1.0-alpha.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminBulkGetContentByIDsV2BadRequest

type AdminBulkGetContentByIDsV2BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminBulkGetContentByIDsV2BadRequest 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 NewAdminBulkGetContentByIDsV2BadRequest

func NewAdminBulkGetContentByIDsV2BadRequest() *AdminBulkGetContentByIDsV2BadRequest

NewAdminBulkGetContentByIDsV2BadRequest creates a AdminBulkGetContentByIDsV2BadRequest with default headers values

func (*AdminBulkGetContentByIDsV2BadRequest) Error

func (*AdminBulkGetContentByIDsV2BadRequest) GetPayload

func (*AdminBulkGetContentByIDsV2BadRequest) ToJSONString

func (o *AdminBulkGetContentByIDsV2BadRequest) ToJSONString() string

type AdminBulkGetContentByIDsV2Forbidden

type AdminBulkGetContentByIDsV2Forbidden struct {
	Payload *ugcclientmodels.ResponseError
}

AdminBulkGetContentByIDsV2Forbidden 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 NewAdminBulkGetContentByIDsV2Forbidden

func NewAdminBulkGetContentByIDsV2Forbidden() *AdminBulkGetContentByIDsV2Forbidden

NewAdminBulkGetContentByIDsV2Forbidden creates a AdminBulkGetContentByIDsV2Forbidden with default headers values

func (*AdminBulkGetContentByIDsV2Forbidden) Error

func (*AdminBulkGetContentByIDsV2Forbidden) GetPayload

func (*AdminBulkGetContentByIDsV2Forbidden) ToJSONString

func (o *AdminBulkGetContentByIDsV2Forbidden) ToJSONString() string

type AdminBulkGetContentByIDsV2InternalServerError

type AdminBulkGetContentByIDsV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminBulkGetContentByIDsV2InternalServerError 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>770801</td><td>Unable to get ugc content: database/Unable to get creator</td></tr><tr><td>773902</td><td>Failed generate download URL</td></tr></table>

func NewAdminBulkGetContentByIDsV2InternalServerError

func NewAdminBulkGetContentByIDsV2InternalServerError() *AdminBulkGetContentByIDsV2InternalServerError

NewAdminBulkGetContentByIDsV2InternalServerError creates a AdminBulkGetContentByIDsV2InternalServerError with default headers values

func (*AdminBulkGetContentByIDsV2InternalServerError) Error

func (*AdminBulkGetContentByIDsV2InternalServerError) GetPayload

func (*AdminBulkGetContentByIDsV2InternalServerError) ToJSONString

type AdminBulkGetContentByIDsV2OK

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

AdminBulkGetContentByIDsV2OK handles this case with default header values.

Bulk get content by content IDs

func NewAdminBulkGetContentByIDsV2OK

func NewAdminBulkGetContentByIDsV2OK() *AdminBulkGetContentByIDsV2OK

NewAdminBulkGetContentByIDsV2OK creates a AdminBulkGetContentByIDsV2OK with default headers values

func (*AdminBulkGetContentByIDsV2OK) Error

func (*AdminBulkGetContentByIDsV2OK) GetPayload

func (*AdminBulkGetContentByIDsV2OK) ToJSONString

func (o *AdminBulkGetContentByIDsV2OK) ToJSONString() string

type AdminBulkGetContentByIDsV2Params

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

AdminBulkGetContentByIDsV2Params contains all the parameters to send to the API endpoint for the admin bulk get content by i ds v2 operation typically these are written to a http.Request

func NewAdminBulkGetContentByIDsV2Params

func NewAdminBulkGetContentByIDsV2Params() *AdminBulkGetContentByIDsV2Params

NewAdminBulkGetContentByIDsV2Params creates a new AdminBulkGetContentByIDsV2Params object with the default values initialized.

func NewAdminBulkGetContentByIDsV2ParamsWithContext

func NewAdminBulkGetContentByIDsV2ParamsWithContext(ctx context.Context) *AdminBulkGetContentByIDsV2Params

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

func NewAdminBulkGetContentByIDsV2ParamsWithHTTPClient

func NewAdminBulkGetContentByIDsV2ParamsWithHTTPClient(client *http.Client) *AdminBulkGetContentByIDsV2Params

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

func NewAdminBulkGetContentByIDsV2ParamsWithTimeout

func NewAdminBulkGetContentByIDsV2ParamsWithTimeout(timeout time.Duration) *AdminBulkGetContentByIDsV2Params

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

func (*AdminBulkGetContentByIDsV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin bulk get content by i ds v2 params

func (*AdminBulkGetContentByIDsV2Params) SetBody

SetBody adds the body to the admin bulk get content by i ds v2 params

func (*AdminBulkGetContentByIDsV2Params) SetContext

SetContext adds the context to the admin bulk get content by i ds v2 params

func (*AdminBulkGetContentByIDsV2Params) SetFlightId

func (o *AdminBulkGetContentByIDsV2Params) SetFlightId(flightId string)

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

func (*AdminBulkGetContentByIDsV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin bulk get content by i ds v2 params

func (*AdminBulkGetContentByIDsV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin bulk get content by i ds v2 params

func (*AdminBulkGetContentByIDsV2Params) SetNamespace

func (o *AdminBulkGetContentByIDsV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin bulk get content by i ds v2 params

func (*AdminBulkGetContentByIDsV2Params) SetTimeout

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

SetTimeout adds the timeout to the admin bulk get content by i ds v2 params

func (*AdminBulkGetContentByIDsV2Params) WithBody

WithBody adds the body to the admin bulk get content by i ds v2 params

func (*AdminBulkGetContentByIDsV2Params) WithContext

WithContext adds the context to the admin bulk get content by i ds v2 params

func (*AdminBulkGetContentByIDsV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin bulk get content by i ds v2 params

func (*AdminBulkGetContentByIDsV2Params) WithNamespace

WithNamespace adds the namespace to the admin bulk get content by i ds v2 params

func (*AdminBulkGetContentByIDsV2Params) WithTimeout

WithTimeout adds the timeout to the admin bulk get content by i ds v2 params

func (*AdminBulkGetContentByIDsV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminBulkGetContentByIDsV2Reader

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

AdminBulkGetContentByIDsV2Reader is a Reader for the AdminBulkGetContentByIDsV2 structure.

func (*AdminBulkGetContentByIDsV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminBulkGetContentByIDsV2Unauthorized

type AdminBulkGetContentByIDsV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminBulkGetContentByIDsV2Unauthorized 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 NewAdminBulkGetContentByIDsV2Unauthorized

func NewAdminBulkGetContentByIDsV2Unauthorized() *AdminBulkGetContentByIDsV2Unauthorized

NewAdminBulkGetContentByIDsV2Unauthorized creates a AdminBulkGetContentByIDsV2Unauthorized with default headers values

func (*AdminBulkGetContentByIDsV2Unauthorized) Error

func (*AdminBulkGetContentByIDsV2Unauthorized) GetPayload

func (*AdminBulkGetContentByIDsV2Unauthorized) ToJSONString

type AdminCreateContentV2BadRequest

type AdminCreateContentV2BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminCreateContentV2BadRequest 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 NewAdminCreateContentV2BadRequest

func NewAdminCreateContentV2BadRequest() *AdminCreateContentV2BadRequest

NewAdminCreateContentV2BadRequest creates a AdminCreateContentV2BadRequest with default headers values

func (*AdminCreateContentV2BadRequest) Error

func (*AdminCreateContentV2BadRequest) GetPayload

func (*AdminCreateContentV2BadRequest) ToJSONString

func (o *AdminCreateContentV2BadRequest) ToJSONString() string

type AdminCreateContentV2Conflict

type AdminCreateContentV2Conflict struct {
	Payload *ugcclientmodels.ResponseError
}

AdminCreateContentV2Conflict 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 NewAdminCreateContentV2Conflict

func NewAdminCreateContentV2Conflict() *AdminCreateContentV2Conflict

NewAdminCreateContentV2Conflict creates a AdminCreateContentV2Conflict with default headers values

func (*AdminCreateContentV2Conflict) Error

func (*AdminCreateContentV2Conflict) GetPayload

func (*AdminCreateContentV2Conflict) ToJSONString

func (o *AdminCreateContentV2Conflict) ToJSONString() string

type AdminCreateContentV2Created

type AdminCreateContentV2Created struct {
	Payload *ugcclientmodels.ModelsCreateContentResponseV2
}

AdminCreateContentV2Created handles this case with default header values.

Content created

func NewAdminCreateContentV2Created

func NewAdminCreateContentV2Created() *AdminCreateContentV2Created

NewAdminCreateContentV2Created creates a AdminCreateContentV2Created with default headers values

func (*AdminCreateContentV2Created) Error

func (*AdminCreateContentV2Created) GetPayload

func (*AdminCreateContentV2Created) ToJSONString

func (o *AdminCreateContentV2Created) ToJSONString() string

type AdminCreateContentV2InternalServerError

type AdminCreateContentV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminCreateContentV2InternalServerError handles this case with default header values.

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

func NewAdminCreateContentV2InternalServerError

func NewAdminCreateContentV2InternalServerError() *AdminCreateContentV2InternalServerError

NewAdminCreateContentV2InternalServerError creates a AdminCreateContentV2InternalServerError with default headers values

func (*AdminCreateContentV2InternalServerError) Error

func (*AdminCreateContentV2InternalServerError) GetPayload

func (*AdminCreateContentV2InternalServerError) ToJSONString

type AdminCreateContentV2NotFound

type AdminCreateContentV2NotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminCreateContentV2NotFound handles this case with default header values.

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

func NewAdminCreateContentV2NotFound

func NewAdminCreateContentV2NotFound() *AdminCreateContentV2NotFound

NewAdminCreateContentV2NotFound creates a AdminCreateContentV2NotFound with default headers values

func (*AdminCreateContentV2NotFound) Error

func (*AdminCreateContentV2NotFound) GetPayload

func (*AdminCreateContentV2NotFound) ToJSONString

func (o *AdminCreateContentV2NotFound) ToJSONString() string

type AdminCreateContentV2Params

type AdminCreateContentV2Params struct {

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

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

func NewAdminCreateContentV2Params

func NewAdminCreateContentV2Params() *AdminCreateContentV2Params

NewAdminCreateContentV2Params creates a new AdminCreateContentV2Params object with the default values initialized.

func NewAdminCreateContentV2ParamsWithContext

func NewAdminCreateContentV2ParamsWithContext(ctx context.Context) *AdminCreateContentV2Params

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

func NewAdminCreateContentV2ParamsWithHTTPClient

func NewAdminCreateContentV2ParamsWithHTTPClient(client *http.Client) *AdminCreateContentV2Params

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

func NewAdminCreateContentV2ParamsWithTimeout

func NewAdminCreateContentV2ParamsWithTimeout(timeout time.Duration) *AdminCreateContentV2Params

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

func (*AdminCreateContentV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin create content v2 params

func (*AdminCreateContentV2Params) SetBody

SetBody adds the body to the admin create content v2 params

func (*AdminCreateContentV2Params) SetChannelID

func (o *AdminCreateContentV2Params) SetChannelID(channelID string)

SetChannelID adds the channelId to the admin create content v2 params

func (*AdminCreateContentV2Params) SetContext

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

SetContext adds the context to the admin create content v2 params

func (*AdminCreateContentV2Params) SetFlightId

func (o *AdminCreateContentV2Params) SetFlightId(flightId string)

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

func (*AdminCreateContentV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin create content v2 params

func (*AdminCreateContentV2Params) SetHTTPClientTransport

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

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

func (*AdminCreateContentV2Params) SetNamespace

func (o *AdminCreateContentV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin create content v2 params

func (*AdminCreateContentV2Params) SetTimeout

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

SetTimeout adds the timeout to the admin create content v2 params

func (*AdminCreateContentV2Params) WithBody

WithBody adds the body to the admin create content v2 params

func (*AdminCreateContentV2Params) WithChannelID

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

WithChannelID adds the channelID to the admin create content v2 params

func (*AdminCreateContentV2Params) WithContext

WithContext adds the context to the admin create content v2 params

func (*AdminCreateContentV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin create content v2 params

func (*AdminCreateContentV2Params) WithNamespace

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

WithNamespace adds the namespace to the admin create content v2 params

func (*AdminCreateContentV2Params) WithTimeout

WithTimeout adds the timeout to the admin create content v2 params

func (*AdminCreateContentV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminCreateContentV2Reader

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

AdminCreateContentV2Reader is a Reader for the AdminCreateContentV2 structure.

func (*AdminCreateContentV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminCreateContentV2Unauthorized

type AdminCreateContentV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminCreateContentV2Unauthorized 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 NewAdminCreateContentV2Unauthorized

func NewAdminCreateContentV2Unauthorized() *AdminCreateContentV2Unauthorized

NewAdminCreateContentV2Unauthorized creates a AdminCreateContentV2Unauthorized with default headers values

func (*AdminCreateContentV2Unauthorized) Error

func (*AdminCreateContentV2Unauthorized) GetPayload

func (*AdminCreateContentV2Unauthorized) ToJSONString

func (o *AdminCreateContentV2Unauthorized) ToJSONString() string

type AdminDeleteContentByShareCodeV2InternalServerError

type AdminDeleteContentByShareCodeV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminDeleteContentByShareCodeV2InternalServerError 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 NewAdminDeleteContentByShareCodeV2InternalServerError

func NewAdminDeleteContentByShareCodeV2InternalServerError() *AdminDeleteContentByShareCodeV2InternalServerError

NewAdminDeleteContentByShareCodeV2InternalServerError creates a AdminDeleteContentByShareCodeV2InternalServerError with default headers values

func (*AdminDeleteContentByShareCodeV2InternalServerError) Error

func (*AdminDeleteContentByShareCodeV2InternalServerError) GetPayload

func (*AdminDeleteContentByShareCodeV2InternalServerError) ToJSONString

type AdminDeleteContentByShareCodeV2NoContent

type AdminDeleteContentByShareCodeV2NoContent struct {
}

AdminDeleteContentByShareCodeV2NoContent handles this case with default header values.

content deleted

func NewAdminDeleteContentByShareCodeV2NoContent

func NewAdminDeleteContentByShareCodeV2NoContent() *AdminDeleteContentByShareCodeV2NoContent

NewAdminDeleteContentByShareCodeV2NoContent creates a AdminDeleteContentByShareCodeV2NoContent with default headers values

func (*AdminDeleteContentByShareCodeV2NoContent) Error

type AdminDeleteContentByShareCodeV2NotFound

type AdminDeleteContentByShareCodeV2NotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminDeleteContentByShareCodeV2NotFound 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 NewAdminDeleteContentByShareCodeV2NotFound

func NewAdminDeleteContentByShareCodeV2NotFound() *AdminDeleteContentByShareCodeV2NotFound

NewAdminDeleteContentByShareCodeV2NotFound creates a AdminDeleteContentByShareCodeV2NotFound with default headers values

func (*AdminDeleteContentByShareCodeV2NotFound) Error

func (*AdminDeleteContentByShareCodeV2NotFound) GetPayload

func (*AdminDeleteContentByShareCodeV2NotFound) ToJSONString

type AdminDeleteContentByShareCodeV2Params

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

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

func NewAdminDeleteContentByShareCodeV2Params

func NewAdminDeleteContentByShareCodeV2Params() *AdminDeleteContentByShareCodeV2Params

NewAdminDeleteContentByShareCodeV2Params creates a new AdminDeleteContentByShareCodeV2Params object with the default values initialized.

func NewAdminDeleteContentByShareCodeV2ParamsWithContext

func NewAdminDeleteContentByShareCodeV2ParamsWithContext(ctx context.Context) *AdminDeleteContentByShareCodeV2Params

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

func NewAdminDeleteContentByShareCodeV2ParamsWithHTTPClient

func NewAdminDeleteContentByShareCodeV2ParamsWithHTTPClient(client *http.Client) *AdminDeleteContentByShareCodeV2Params

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

func NewAdminDeleteContentByShareCodeV2ParamsWithTimeout

func NewAdminDeleteContentByShareCodeV2ParamsWithTimeout(timeout time.Duration) *AdminDeleteContentByShareCodeV2Params

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

func (*AdminDeleteContentByShareCodeV2Params) SetAuthInfoWriter

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

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

func (*AdminDeleteContentByShareCodeV2Params) SetChannelID

func (o *AdminDeleteContentByShareCodeV2Params) SetChannelID(channelID string)

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

func (*AdminDeleteContentByShareCodeV2Params) SetContext

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

func (*AdminDeleteContentByShareCodeV2Params) SetFlightId

func (o *AdminDeleteContentByShareCodeV2Params) SetFlightId(flightId string)

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

func (*AdminDeleteContentByShareCodeV2Params) SetHTTPClient

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

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

func (*AdminDeleteContentByShareCodeV2Params) SetHTTPClientTransport

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

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

func (*AdminDeleteContentByShareCodeV2Params) SetNamespace

func (o *AdminDeleteContentByShareCodeV2Params) SetNamespace(namespace string)

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

func (*AdminDeleteContentByShareCodeV2Params) SetShareCode

func (o *AdminDeleteContentByShareCodeV2Params) SetShareCode(shareCode string)

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

func (*AdminDeleteContentByShareCodeV2Params) SetTimeout

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

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

func (*AdminDeleteContentByShareCodeV2Params) SetUserID

func (o *AdminDeleteContentByShareCodeV2Params) SetUserID(userID string)

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

func (*AdminDeleteContentByShareCodeV2Params) WithChannelID

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

func (*AdminDeleteContentByShareCodeV2Params) WithContext

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

func (*AdminDeleteContentByShareCodeV2Params) WithHTTPClient

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

func (*AdminDeleteContentByShareCodeV2Params) WithNamespace

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

func (*AdminDeleteContentByShareCodeV2Params) WithShareCode

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

func (*AdminDeleteContentByShareCodeV2Params) WithTimeout

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

func (*AdminDeleteContentByShareCodeV2Params) WithUserID

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

func (*AdminDeleteContentByShareCodeV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminDeleteContentByShareCodeV2Reader

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

AdminDeleteContentByShareCodeV2Reader is a Reader for the AdminDeleteContentByShareCodeV2 structure.

func (*AdminDeleteContentByShareCodeV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminDeleteContentByShareCodeV2Unauthorized

type AdminDeleteContentByShareCodeV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminDeleteContentByShareCodeV2Unauthorized 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 NewAdminDeleteContentByShareCodeV2Unauthorized

func NewAdminDeleteContentByShareCodeV2Unauthorized() *AdminDeleteContentByShareCodeV2Unauthorized

NewAdminDeleteContentByShareCodeV2Unauthorized creates a AdminDeleteContentByShareCodeV2Unauthorized with default headers values

func (*AdminDeleteContentByShareCodeV2Unauthorized) Error

func (*AdminDeleteContentByShareCodeV2Unauthorized) GetPayload

func (*AdminDeleteContentByShareCodeV2Unauthorized) ToJSONString

type AdminDeleteContentScreenshotV2BadRequest

type AdminDeleteContentScreenshotV2BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminDeleteContentScreenshotV2BadRequest 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 NewAdminDeleteContentScreenshotV2BadRequest

func NewAdminDeleteContentScreenshotV2BadRequest() *AdminDeleteContentScreenshotV2BadRequest

NewAdminDeleteContentScreenshotV2BadRequest creates a AdminDeleteContentScreenshotV2BadRequest with default headers values

func (*AdminDeleteContentScreenshotV2BadRequest) Error

func (*AdminDeleteContentScreenshotV2BadRequest) GetPayload

func (*AdminDeleteContentScreenshotV2BadRequest) ToJSONString

type AdminDeleteContentScreenshotV2Forbidden

type AdminDeleteContentScreenshotV2Forbidden struct {
	Payload *ugcclientmodels.ResponseError
}

AdminDeleteContentScreenshotV2Forbidden 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 NewAdminDeleteContentScreenshotV2Forbidden

func NewAdminDeleteContentScreenshotV2Forbidden() *AdminDeleteContentScreenshotV2Forbidden

NewAdminDeleteContentScreenshotV2Forbidden creates a AdminDeleteContentScreenshotV2Forbidden with default headers values

func (*AdminDeleteContentScreenshotV2Forbidden) Error

func (*AdminDeleteContentScreenshotV2Forbidden) GetPayload

func (*AdminDeleteContentScreenshotV2Forbidden) ToJSONString

type AdminDeleteContentScreenshotV2InternalServerError

type AdminDeleteContentScreenshotV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminDeleteContentScreenshotV2InternalServerError 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 NewAdminDeleteContentScreenshotV2InternalServerError

func NewAdminDeleteContentScreenshotV2InternalServerError() *AdminDeleteContentScreenshotV2InternalServerError

NewAdminDeleteContentScreenshotV2InternalServerError creates a AdminDeleteContentScreenshotV2InternalServerError with default headers values

func (*AdminDeleteContentScreenshotV2InternalServerError) Error

func (*AdminDeleteContentScreenshotV2InternalServerError) GetPayload

func (*AdminDeleteContentScreenshotV2InternalServerError) ToJSONString

type AdminDeleteContentScreenshotV2NoContent

type AdminDeleteContentScreenshotV2NoContent struct {
}

AdminDeleteContentScreenshotV2NoContent handles this case with default header values.

Screenshot deleted

func NewAdminDeleteContentScreenshotV2NoContent

func NewAdminDeleteContentScreenshotV2NoContent() *AdminDeleteContentScreenshotV2NoContent

NewAdminDeleteContentScreenshotV2NoContent creates a AdminDeleteContentScreenshotV2NoContent with default headers values

func (*AdminDeleteContentScreenshotV2NoContent) Error

type AdminDeleteContentScreenshotV2NotFound

type AdminDeleteContentScreenshotV2NotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminDeleteContentScreenshotV2NotFound 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 NewAdminDeleteContentScreenshotV2NotFound

func NewAdminDeleteContentScreenshotV2NotFound() *AdminDeleteContentScreenshotV2NotFound

NewAdminDeleteContentScreenshotV2NotFound creates a AdminDeleteContentScreenshotV2NotFound with default headers values

func (*AdminDeleteContentScreenshotV2NotFound) Error

func (*AdminDeleteContentScreenshotV2NotFound) GetPayload

func (*AdminDeleteContentScreenshotV2NotFound) ToJSONString

type AdminDeleteContentScreenshotV2Params

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

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

func NewAdminDeleteContentScreenshotV2Params

func NewAdminDeleteContentScreenshotV2Params() *AdminDeleteContentScreenshotV2Params

NewAdminDeleteContentScreenshotV2Params creates a new AdminDeleteContentScreenshotV2Params object with the default values initialized.

func NewAdminDeleteContentScreenshotV2ParamsWithContext

func NewAdminDeleteContentScreenshotV2ParamsWithContext(ctx context.Context) *AdminDeleteContentScreenshotV2Params

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

func NewAdminDeleteContentScreenshotV2ParamsWithHTTPClient

func NewAdminDeleteContentScreenshotV2ParamsWithHTTPClient(client *http.Client) *AdminDeleteContentScreenshotV2Params

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

func NewAdminDeleteContentScreenshotV2ParamsWithTimeout

func NewAdminDeleteContentScreenshotV2ParamsWithTimeout(timeout time.Duration) *AdminDeleteContentScreenshotV2Params

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

func (*AdminDeleteContentScreenshotV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin delete content screenshot v2 params

func (*AdminDeleteContentScreenshotV2Params) SetContentID

func (o *AdminDeleteContentScreenshotV2Params) SetContentID(contentID string)

SetContentID adds the contentId to the admin delete content screenshot v2 params

func (*AdminDeleteContentScreenshotV2Params) SetContext

SetContext adds the context to the admin delete content screenshot v2 params

func (*AdminDeleteContentScreenshotV2Params) SetFlightId

func (o *AdminDeleteContentScreenshotV2Params) SetFlightId(flightId string)

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

func (*AdminDeleteContentScreenshotV2Params) SetHTTPClient

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

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

func (*AdminDeleteContentScreenshotV2Params) SetHTTPClientTransport

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

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

func (*AdminDeleteContentScreenshotV2Params) SetNamespace

func (o *AdminDeleteContentScreenshotV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin delete content screenshot v2 params

func (*AdminDeleteContentScreenshotV2Params) SetScreenshotID

func (o *AdminDeleteContentScreenshotV2Params) SetScreenshotID(screenshotID string)

SetScreenshotID adds the screenshotId to the admin delete content screenshot v2 params

func (*AdminDeleteContentScreenshotV2Params) SetTimeout

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

SetTimeout adds the timeout to the admin delete content screenshot v2 params

func (*AdminDeleteContentScreenshotV2Params) WithContentID

WithContentID adds the contentID to the admin delete content screenshot v2 params

func (*AdminDeleteContentScreenshotV2Params) WithContext

WithContext adds the context to the admin delete content screenshot v2 params

func (*AdminDeleteContentScreenshotV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin delete content screenshot v2 params

func (*AdminDeleteContentScreenshotV2Params) WithNamespace

WithNamespace adds the namespace to the admin delete content screenshot v2 params

func (*AdminDeleteContentScreenshotV2Params) WithScreenshotID

WithScreenshotID adds the screenshotID to the admin delete content screenshot v2 params

func (*AdminDeleteContentScreenshotV2Params) WithTimeout

WithTimeout adds the timeout to the admin delete content screenshot v2 params

func (*AdminDeleteContentScreenshotV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminDeleteContentScreenshotV2Reader

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

AdminDeleteContentScreenshotV2Reader is a Reader for the AdminDeleteContentScreenshotV2 structure.

func (*AdminDeleteContentScreenshotV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminDeleteContentScreenshotV2Unauthorized

type AdminDeleteContentScreenshotV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminDeleteContentScreenshotV2Unauthorized 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 NewAdminDeleteContentScreenshotV2Unauthorized

func NewAdminDeleteContentScreenshotV2Unauthorized() *AdminDeleteContentScreenshotV2Unauthorized

NewAdminDeleteContentScreenshotV2Unauthorized creates a AdminDeleteContentScreenshotV2Unauthorized with default headers values

func (*AdminDeleteContentScreenshotV2Unauthorized) Error

func (*AdminDeleteContentScreenshotV2Unauthorized) GetPayload

func (*AdminDeleteContentScreenshotV2Unauthorized) ToJSONString

type AdminDeleteOfficialContentV2InternalServerError

type AdminDeleteOfficialContentV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminDeleteOfficialContentV2InternalServerError 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 NewAdminDeleteOfficialContentV2InternalServerError

func NewAdminDeleteOfficialContentV2InternalServerError() *AdminDeleteOfficialContentV2InternalServerError

NewAdminDeleteOfficialContentV2InternalServerError creates a AdminDeleteOfficialContentV2InternalServerError with default headers values

func (*AdminDeleteOfficialContentV2InternalServerError) Error

func (*AdminDeleteOfficialContentV2InternalServerError) GetPayload

func (*AdminDeleteOfficialContentV2InternalServerError) ToJSONString

type AdminDeleteOfficialContentV2NoContent

type AdminDeleteOfficialContentV2NoContent struct {
}

AdminDeleteOfficialContentV2NoContent handles this case with default header values.

Official content deleted

func NewAdminDeleteOfficialContentV2NoContent

func NewAdminDeleteOfficialContentV2NoContent() *AdminDeleteOfficialContentV2NoContent

NewAdminDeleteOfficialContentV2NoContent creates a AdminDeleteOfficialContentV2NoContent with default headers values

func (*AdminDeleteOfficialContentV2NoContent) Error

type AdminDeleteOfficialContentV2NotFound

type AdminDeleteOfficialContentV2NotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminDeleteOfficialContentV2NotFound 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 NewAdminDeleteOfficialContentV2NotFound

func NewAdminDeleteOfficialContentV2NotFound() *AdminDeleteOfficialContentV2NotFound

NewAdminDeleteOfficialContentV2NotFound creates a AdminDeleteOfficialContentV2NotFound with default headers values

func (*AdminDeleteOfficialContentV2NotFound) Error

func (*AdminDeleteOfficialContentV2NotFound) GetPayload

func (*AdminDeleteOfficialContentV2NotFound) ToJSONString

func (o *AdminDeleteOfficialContentV2NotFound) ToJSONString() string

type AdminDeleteOfficialContentV2Params

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

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

func NewAdminDeleteOfficialContentV2Params

func NewAdminDeleteOfficialContentV2Params() *AdminDeleteOfficialContentV2Params

NewAdminDeleteOfficialContentV2Params creates a new AdminDeleteOfficialContentV2Params object with the default values initialized.

func NewAdminDeleteOfficialContentV2ParamsWithContext

func NewAdminDeleteOfficialContentV2ParamsWithContext(ctx context.Context) *AdminDeleteOfficialContentV2Params

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

func NewAdminDeleteOfficialContentV2ParamsWithHTTPClient

func NewAdminDeleteOfficialContentV2ParamsWithHTTPClient(client *http.Client) *AdminDeleteOfficialContentV2Params

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

func NewAdminDeleteOfficialContentV2ParamsWithTimeout

func NewAdminDeleteOfficialContentV2ParamsWithTimeout(timeout time.Duration) *AdminDeleteOfficialContentV2Params

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

func (*AdminDeleteOfficialContentV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin delete official content v2 params

func (*AdminDeleteOfficialContentV2Params) SetChannelID

func (o *AdminDeleteOfficialContentV2Params) SetChannelID(channelID string)

SetChannelID adds the channelId to the admin delete official content v2 params

func (*AdminDeleteOfficialContentV2Params) SetContentID

func (o *AdminDeleteOfficialContentV2Params) SetContentID(contentID string)

SetContentID adds the contentId to the admin delete official content v2 params

func (*AdminDeleteOfficialContentV2Params) SetContext

SetContext adds the context to the admin delete official content v2 params

func (*AdminDeleteOfficialContentV2Params) SetFlightId

func (o *AdminDeleteOfficialContentV2Params) SetFlightId(flightId string)

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

func (*AdminDeleteOfficialContentV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin delete official content v2 params

func (*AdminDeleteOfficialContentV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin delete official content v2 params

func (*AdminDeleteOfficialContentV2Params) SetNamespace

func (o *AdminDeleteOfficialContentV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin delete official content v2 params

func (*AdminDeleteOfficialContentV2Params) SetTimeout

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

SetTimeout adds the timeout to the admin delete official content v2 params

func (*AdminDeleteOfficialContentV2Params) WithChannelID

WithChannelID adds the channelID to the admin delete official content v2 params

func (*AdminDeleteOfficialContentV2Params) WithContentID

WithContentID adds the contentID to the admin delete official content v2 params

func (*AdminDeleteOfficialContentV2Params) WithContext

WithContext adds the context to the admin delete official content v2 params

func (*AdminDeleteOfficialContentV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin delete official content v2 params

func (*AdminDeleteOfficialContentV2Params) WithNamespace

WithNamespace adds the namespace to the admin delete official content v2 params

func (*AdminDeleteOfficialContentV2Params) WithTimeout

WithTimeout adds the timeout to the admin delete official content v2 params

func (*AdminDeleteOfficialContentV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminDeleteOfficialContentV2Reader

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

AdminDeleteOfficialContentV2Reader is a Reader for the AdminDeleteOfficialContentV2 structure.

func (*AdminDeleteOfficialContentV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminDeleteOfficialContentV2Unauthorized

type AdminDeleteOfficialContentV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminDeleteOfficialContentV2Unauthorized 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 NewAdminDeleteOfficialContentV2Unauthorized

func NewAdminDeleteOfficialContentV2Unauthorized() *AdminDeleteOfficialContentV2Unauthorized

NewAdminDeleteOfficialContentV2Unauthorized creates a AdminDeleteOfficialContentV2Unauthorized with default headers values

func (*AdminDeleteOfficialContentV2Unauthorized) Error

func (*AdminDeleteOfficialContentV2Unauthorized) GetPayload

func (*AdminDeleteOfficialContentV2Unauthorized) ToJSONString

type AdminDeleteUserContentV2InternalServerError

type AdminDeleteUserContentV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminDeleteUserContentV2InternalServerError 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 NewAdminDeleteUserContentV2InternalServerError

func NewAdminDeleteUserContentV2InternalServerError() *AdminDeleteUserContentV2InternalServerError

NewAdminDeleteUserContentV2InternalServerError creates a AdminDeleteUserContentV2InternalServerError with default headers values

func (*AdminDeleteUserContentV2InternalServerError) Error

func (*AdminDeleteUserContentV2InternalServerError) GetPayload

func (*AdminDeleteUserContentV2InternalServerError) ToJSONString

type AdminDeleteUserContentV2NoContent

type AdminDeleteUserContentV2NoContent struct {
}

AdminDeleteUserContentV2NoContent handles this case with default header values.

User content deleted

func NewAdminDeleteUserContentV2NoContent

func NewAdminDeleteUserContentV2NoContent() *AdminDeleteUserContentV2NoContent

NewAdminDeleteUserContentV2NoContent creates a AdminDeleteUserContentV2NoContent with default headers values

func (*AdminDeleteUserContentV2NoContent) Error

type AdminDeleteUserContentV2NotFound

type AdminDeleteUserContentV2NotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminDeleteUserContentV2NotFound 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 NewAdminDeleteUserContentV2NotFound

func NewAdminDeleteUserContentV2NotFound() *AdminDeleteUserContentV2NotFound

NewAdminDeleteUserContentV2NotFound creates a AdminDeleteUserContentV2NotFound with default headers values

func (*AdminDeleteUserContentV2NotFound) Error

func (*AdminDeleteUserContentV2NotFound) GetPayload

func (*AdminDeleteUserContentV2NotFound) ToJSONString

func (o *AdminDeleteUserContentV2NotFound) ToJSONString() string

type AdminDeleteUserContentV2Params

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

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

func NewAdminDeleteUserContentV2Params

func NewAdminDeleteUserContentV2Params() *AdminDeleteUserContentV2Params

NewAdminDeleteUserContentV2Params creates a new AdminDeleteUserContentV2Params object with the default values initialized.

func NewAdminDeleteUserContentV2ParamsWithContext

func NewAdminDeleteUserContentV2ParamsWithContext(ctx context.Context) *AdminDeleteUserContentV2Params

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

func NewAdminDeleteUserContentV2ParamsWithHTTPClient

func NewAdminDeleteUserContentV2ParamsWithHTTPClient(client *http.Client) *AdminDeleteUserContentV2Params

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

func NewAdminDeleteUserContentV2ParamsWithTimeout

func NewAdminDeleteUserContentV2ParamsWithTimeout(timeout time.Duration) *AdminDeleteUserContentV2Params

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

func (*AdminDeleteUserContentV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin delete user content v2 params

func (*AdminDeleteUserContentV2Params) SetChannelID

func (o *AdminDeleteUserContentV2Params) SetChannelID(channelID string)

SetChannelID adds the channelId to the admin delete user content v2 params

func (*AdminDeleteUserContentV2Params) SetContentID

func (o *AdminDeleteUserContentV2Params) SetContentID(contentID string)

SetContentID adds the contentId to the admin delete user content v2 params

func (*AdminDeleteUserContentV2Params) SetContext

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

SetContext adds the context to the admin delete user content v2 params

func (*AdminDeleteUserContentV2Params) SetFlightId

func (o *AdminDeleteUserContentV2Params) SetFlightId(flightId string)

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

func (*AdminDeleteUserContentV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin delete user content v2 params

func (*AdminDeleteUserContentV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin delete user content v2 params

func (*AdminDeleteUserContentV2Params) SetNamespace

func (o *AdminDeleteUserContentV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin delete user content v2 params

func (*AdminDeleteUserContentV2Params) SetTimeout

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

SetTimeout adds the timeout to the admin delete user content v2 params

func (*AdminDeleteUserContentV2Params) SetUserID

func (o *AdminDeleteUserContentV2Params) SetUserID(userID string)

SetUserID adds the userId to the admin delete user content v2 params

func (*AdminDeleteUserContentV2Params) WithChannelID

WithChannelID adds the channelID to the admin delete user content v2 params

func (*AdminDeleteUserContentV2Params) WithContentID

WithContentID adds the contentID to the admin delete user content v2 params

func (*AdminDeleteUserContentV2Params) WithContext

WithContext adds the context to the admin delete user content v2 params

func (*AdminDeleteUserContentV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin delete user content v2 params

func (*AdminDeleteUserContentV2Params) WithNamespace

WithNamespace adds the namespace to the admin delete user content v2 params

func (*AdminDeleteUserContentV2Params) WithTimeout

WithTimeout adds the timeout to the admin delete user content v2 params

func (*AdminDeleteUserContentV2Params) WithUserID

WithUserID adds the userID to the admin delete user content v2 params

func (*AdminDeleteUserContentV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminDeleteUserContentV2Reader

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

AdminDeleteUserContentV2Reader is a Reader for the AdminDeleteUserContentV2 structure.

func (*AdminDeleteUserContentV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminDeleteUserContentV2Unauthorized

type AdminDeleteUserContentV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminDeleteUserContentV2Unauthorized 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 NewAdminDeleteUserContentV2Unauthorized

func NewAdminDeleteUserContentV2Unauthorized() *AdminDeleteUserContentV2Unauthorized

NewAdminDeleteUserContentV2Unauthorized creates a AdminDeleteUserContentV2Unauthorized with default headers values

func (*AdminDeleteUserContentV2Unauthorized) Error

func (*AdminDeleteUserContentV2Unauthorized) GetPayload

func (*AdminDeleteUserContentV2Unauthorized) ToJSONString

func (o *AdminDeleteUserContentV2Unauthorized) ToJSONString() string

type AdminGenerateOfficialContentUploadURLV2BadRequest

type AdminGenerateOfficialContentUploadURLV2BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGenerateOfficialContentUploadURLV2BadRequest 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 NewAdminGenerateOfficialContentUploadURLV2BadRequest

func NewAdminGenerateOfficialContentUploadURLV2BadRequest() *AdminGenerateOfficialContentUploadURLV2BadRequest

NewAdminGenerateOfficialContentUploadURLV2BadRequest creates a AdminGenerateOfficialContentUploadURLV2BadRequest with default headers values

func (*AdminGenerateOfficialContentUploadURLV2BadRequest) Error

func (*AdminGenerateOfficialContentUploadURLV2BadRequest) GetPayload

func (*AdminGenerateOfficialContentUploadURLV2BadRequest) ToJSONString

type AdminGenerateOfficialContentUploadURLV2InternalServerError

type AdminGenerateOfficialContentUploadURLV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGenerateOfficialContentUploadURLV2InternalServerError 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 NewAdminGenerateOfficialContentUploadURLV2InternalServerError

func NewAdminGenerateOfficialContentUploadURLV2InternalServerError() *AdminGenerateOfficialContentUploadURLV2InternalServerError

NewAdminGenerateOfficialContentUploadURLV2InternalServerError creates a AdminGenerateOfficialContentUploadURLV2InternalServerError with default headers values

func (*AdminGenerateOfficialContentUploadURLV2InternalServerError) Error

func (*AdminGenerateOfficialContentUploadURLV2InternalServerError) GetPayload

func (*AdminGenerateOfficialContentUploadURLV2InternalServerError) ToJSONString

type AdminGenerateOfficialContentUploadURLV2NotFound

type AdminGenerateOfficialContentUploadURLV2NotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGenerateOfficialContentUploadURLV2NotFound 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 NewAdminGenerateOfficialContentUploadURLV2NotFound

func NewAdminGenerateOfficialContentUploadURLV2NotFound() *AdminGenerateOfficialContentUploadURLV2NotFound

NewAdminGenerateOfficialContentUploadURLV2NotFound creates a AdminGenerateOfficialContentUploadURLV2NotFound with default headers values

func (*AdminGenerateOfficialContentUploadURLV2NotFound) Error

func (*AdminGenerateOfficialContentUploadURLV2NotFound) GetPayload

func (*AdminGenerateOfficialContentUploadURLV2NotFound) ToJSONString

type AdminGenerateOfficialContentUploadURLV2OK

type AdminGenerateOfficialContentUploadURLV2OK struct {
	Payload *ugcclientmodels.ModelsGenerateContentUploadURLResponse
}

AdminGenerateOfficialContentUploadURLV2OK handles this case with default header values.

official content upload URL generated

func NewAdminGenerateOfficialContentUploadURLV2OK

func NewAdminGenerateOfficialContentUploadURLV2OK() *AdminGenerateOfficialContentUploadURLV2OK

NewAdminGenerateOfficialContentUploadURLV2OK creates a AdminGenerateOfficialContentUploadURLV2OK with default headers values

func (*AdminGenerateOfficialContentUploadURLV2OK) Error

func (*AdminGenerateOfficialContentUploadURLV2OK) GetPayload

func (*AdminGenerateOfficialContentUploadURLV2OK) ToJSONString

type AdminGenerateOfficialContentUploadURLV2Params

type AdminGenerateOfficialContentUploadURLV2Params struct {

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

	*/
	ChannelID string
	/*ContentID
	  content ID

	*/
	ContentID string
	/*Namespace
	  namespace of the game

	*/
	Namespace string

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

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

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

func NewAdminGenerateOfficialContentUploadURLV2Params

func NewAdminGenerateOfficialContentUploadURLV2Params() *AdminGenerateOfficialContentUploadURLV2Params

NewAdminGenerateOfficialContentUploadURLV2Params creates a new AdminGenerateOfficialContentUploadURLV2Params object with the default values initialized.

func NewAdminGenerateOfficialContentUploadURLV2ParamsWithContext

func NewAdminGenerateOfficialContentUploadURLV2ParamsWithContext(ctx context.Context) *AdminGenerateOfficialContentUploadURLV2Params

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

func NewAdminGenerateOfficialContentUploadURLV2ParamsWithHTTPClient

func NewAdminGenerateOfficialContentUploadURLV2ParamsWithHTTPClient(client *http.Client) *AdminGenerateOfficialContentUploadURLV2Params

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

func NewAdminGenerateOfficialContentUploadURLV2ParamsWithTimeout

func NewAdminGenerateOfficialContentUploadURLV2ParamsWithTimeout(timeout time.Duration) *AdminGenerateOfficialContentUploadURLV2Params

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

func (*AdminGenerateOfficialContentUploadURLV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin generate official content upload urlv2 params

func (*AdminGenerateOfficialContentUploadURLV2Params) SetBody

SetBody adds the body to the admin generate official content upload urlv2 params

func (*AdminGenerateOfficialContentUploadURLV2Params) SetChannelID

func (o *AdminGenerateOfficialContentUploadURLV2Params) SetChannelID(channelID string)

SetChannelID adds the channelId to the admin generate official content upload urlv2 params

func (*AdminGenerateOfficialContentUploadURLV2Params) SetContentID

func (o *AdminGenerateOfficialContentUploadURLV2Params) SetContentID(contentID string)

SetContentID adds the contentId to the admin generate official content upload urlv2 params

func (*AdminGenerateOfficialContentUploadURLV2Params) SetContext

SetContext adds the context to the admin generate official content upload urlv2 params

func (*AdminGenerateOfficialContentUploadURLV2Params) SetFlightId

func (o *AdminGenerateOfficialContentUploadURLV2Params) SetFlightId(flightId string)

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

func (*AdminGenerateOfficialContentUploadURLV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin generate official content upload urlv2 params

func (*AdminGenerateOfficialContentUploadURLV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin generate official content upload urlv2 params

func (*AdminGenerateOfficialContentUploadURLV2Params) SetNamespace

func (o *AdminGenerateOfficialContentUploadURLV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin generate official content upload urlv2 params

func (*AdminGenerateOfficialContentUploadURLV2Params) SetTimeout

SetTimeout adds the timeout to the admin generate official content upload urlv2 params

func (*AdminGenerateOfficialContentUploadURLV2Params) WithBody

WithBody adds the body to the admin generate official content upload urlv2 params

func (*AdminGenerateOfficialContentUploadURLV2Params) WithChannelID

WithChannelID adds the channelID to the admin generate official content upload urlv2 params

func (*AdminGenerateOfficialContentUploadURLV2Params) WithContentID

WithContentID adds the contentID to the admin generate official content upload urlv2 params

func (*AdminGenerateOfficialContentUploadURLV2Params) WithContext

WithContext adds the context to the admin generate official content upload urlv2 params

func (*AdminGenerateOfficialContentUploadURLV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin generate official content upload urlv2 params

func (*AdminGenerateOfficialContentUploadURLV2Params) WithNamespace

WithNamespace adds the namespace to the admin generate official content upload urlv2 params

func (*AdminGenerateOfficialContentUploadURLV2Params) WithTimeout

WithTimeout adds the timeout to the admin generate official content upload urlv2 params

func (*AdminGenerateOfficialContentUploadURLV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGenerateOfficialContentUploadURLV2Reader

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

AdminGenerateOfficialContentUploadURLV2Reader is a Reader for the AdminGenerateOfficialContentUploadURLV2 structure.

func (*AdminGenerateOfficialContentUploadURLV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGenerateOfficialContentUploadURLV2Unauthorized

type AdminGenerateOfficialContentUploadURLV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGenerateOfficialContentUploadURLV2Unauthorized 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 NewAdminGenerateOfficialContentUploadURLV2Unauthorized

func NewAdminGenerateOfficialContentUploadURLV2Unauthorized() *AdminGenerateOfficialContentUploadURLV2Unauthorized

NewAdminGenerateOfficialContentUploadURLV2Unauthorized creates a AdminGenerateOfficialContentUploadURLV2Unauthorized with default headers values

func (*AdminGenerateOfficialContentUploadURLV2Unauthorized) Error

func (*AdminGenerateOfficialContentUploadURLV2Unauthorized) GetPayload

func (*AdminGenerateOfficialContentUploadURLV2Unauthorized) ToJSONString

type AdminGenerateUserContentUploadURLV2BadRequest

type AdminGenerateUserContentUploadURLV2BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGenerateUserContentUploadURLV2BadRequest 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 NewAdminGenerateUserContentUploadURLV2BadRequest

func NewAdminGenerateUserContentUploadURLV2BadRequest() *AdminGenerateUserContentUploadURLV2BadRequest

NewAdminGenerateUserContentUploadURLV2BadRequest creates a AdminGenerateUserContentUploadURLV2BadRequest with default headers values

func (*AdminGenerateUserContentUploadURLV2BadRequest) Error

func (*AdminGenerateUserContentUploadURLV2BadRequest) GetPayload

func (*AdminGenerateUserContentUploadURLV2BadRequest) ToJSONString

type AdminGenerateUserContentUploadURLV2InternalServerError

type AdminGenerateUserContentUploadURLV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGenerateUserContentUploadURLV2InternalServerError 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 NewAdminGenerateUserContentUploadURLV2InternalServerError

func NewAdminGenerateUserContentUploadURLV2InternalServerError() *AdminGenerateUserContentUploadURLV2InternalServerError

NewAdminGenerateUserContentUploadURLV2InternalServerError creates a AdminGenerateUserContentUploadURLV2InternalServerError with default headers values

func (*AdminGenerateUserContentUploadURLV2InternalServerError) Error

func (*AdminGenerateUserContentUploadURLV2InternalServerError) GetPayload

func (*AdminGenerateUserContentUploadURLV2InternalServerError) ToJSONString

type AdminGenerateUserContentUploadURLV2NotFound

type AdminGenerateUserContentUploadURLV2NotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGenerateUserContentUploadURLV2NotFound 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 NewAdminGenerateUserContentUploadURLV2NotFound

func NewAdminGenerateUserContentUploadURLV2NotFound() *AdminGenerateUserContentUploadURLV2NotFound

NewAdminGenerateUserContentUploadURLV2NotFound creates a AdminGenerateUserContentUploadURLV2NotFound with default headers values

func (*AdminGenerateUserContentUploadURLV2NotFound) Error

func (*AdminGenerateUserContentUploadURLV2NotFound) GetPayload

func (*AdminGenerateUserContentUploadURLV2NotFound) ToJSONString

type AdminGenerateUserContentUploadURLV2OK

type AdminGenerateUserContentUploadURLV2OK struct {
	Payload *ugcclientmodels.ModelsGenerateContentUploadURLResponse
}

AdminGenerateUserContentUploadURLV2OK handles this case with default header values.

User content upload URL generated

func NewAdminGenerateUserContentUploadURLV2OK

func NewAdminGenerateUserContentUploadURLV2OK() *AdminGenerateUserContentUploadURLV2OK

NewAdminGenerateUserContentUploadURLV2OK creates a AdminGenerateUserContentUploadURLV2OK with default headers values

func (*AdminGenerateUserContentUploadURLV2OK) Error

func (*AdminGenerateUserContentUploadURLV2OK) GetPayload

func (*AdminGenerateUserContentUploadURLV2OK) ToJSONString

type AdminGenerateUserContentUploadURLV2Params

type AdminGenerateUserContentUploadURLV2Params struct {

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

	*/
	ChannelID string
	/*ContentID
	  content ID

	*/
	ContentID string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  user ID

	*/
	UserID string

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

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

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

func NewAdminGenerateUserContentUploadURLV2Params

func NewAdminGenerateUserContentUploadURLV2Params() *AdminGenerateUserContentUploadURLV2Params

NewAdminGenerateUserContentUploadURLV2Params creates a new AdminGenerateUserContentUploadURLV2Params object with the default values initialized.

func NewAdminGenerateUserContentUploadURLV2ParamsWithContext

func NewAdminGenerateUserContentUploadURLV2ParamsWithContext(ctx context.Context) *AdminGenerateUserContentUploadURLV2Params

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

func NewAdminGenerateUserContentUploadURLV2ParamsWithHTTPClient

func NewAdminGenerateUserContentUploadURLV2ParamsWithHTTPClient(client *http.Client) *AdminGenerateUserContentUploadURLV2Params

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

func NewAdminGenerateUserContentUploadURLV2ParamsWithTimeout

func NewAdminGenerateUserContentUploadURLV2ParamsWithTimeout(timeout time.Duration) *AdminGenerateUserContentUploadURLV2Params

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

func (*AdminGenerateUserContentUploadURLV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin generate user content upload urlv2 params

func (*AdminGenerateUserContentUploadURLV2Params) SetBody

SetBody adds the body to the admin generate user content upload urlv2 params

func (*AdminGenerateUserContentUploadURLV2Params) SetChannelID

func (o *AdminGenerateUserContentUploadURLV2Params) SetChannelID(channelID string)

SetChannelID adds the channelId to the admin generate user content upload urlv2 params

func (*AdminGenerateUserContentUploadURLV2Params) SetContentID

func (o *AdminGenerateUserContentUploadURLV2Params) SetContentID(contentID string)

SetContentID adds the contentId to the admin generate user content upload urlv2 params

func (*AdminGenerateUserContentUploadURLV2Params) SetContext

SetContext adds the context to the admin generate user content upload urlv2 params

func (*AdminGenerateUserContentUploadURLV2Params) SetFlightId

func (o *AdminGenerateUserContentUploadURLV2Params) SetFlightId(flightId string)

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

func (*AdminGenerateUserContentUploadURLV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin generate user content upload urlv2 params

func (*AdminGenerateUserContentUploadURLV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin generate user content upload urlv2 params

func (*AdminGenerateUserContentUploadURLV2Params) SetNamespace

func (o *AdminGenerateUserContentUploadURLV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin generate user content upload urlv2 params

func (*AdminGenerateUserContentUploadURLV2Params) SetTimeout

SetTimeout adds the timeout to the admin generate user content upload urlv2 params

func (*AdminGenerateUserContentUploadURLV2Params) SetUserID

SetUserID adds the userId to the admin generate user content upload urlv2 params

func (*AdminGenerateUserContentUploadURLV2Params) WithBody

WithBody adds the body to the admin generate user content upload urlv2 params

func (*AdminGenerateUserContentUploadURLV2Params) WithChannelID

WithChannelID adds the channelID to the admin generate user content upload urlv2 params

func (*AdminGenerateUserContentUploadURLV2Params) WithContentID

WithContentID adds the contentID to the admin generate user content upload urlv2 params

func (*AdminGenerateUserContentUploadURLV2Params) WithContext

WithContext adds the context to the admin generate user content upload urlv2 params

func (*AdminGenerateUserContentUploadURLV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin generate user content upload urlv2 params

func (*AdminGenerateUserContentUploadURLV2Params) WithNamespace

WithNamespace adds the namespace to the admin generate user content upload urlv2 params

func (*AdminGenerateUserContentUploadURLV2Params) WithTimeout

WithTimeout adds the timeout to the admin generate user content upload urlv2 params

func (*AdminGenerateUserContentUploadURLV2Params) WithUserID

WithUserID adds the userID to the admin generate user content upload urlv2 params

func (*AdminGenerateUserContentUploadURLV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGenerateUserContentUploadURLV2Reader

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

AdminGenerateUserContentUploadURLV2Reader is a Reader for the AdminGenerateUserContentUploadURLV2 structure.

func (*AdminGenerateUserContentUploadURLV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGenerateUserContentUploadURLV2Unauthorized

type AdminGenerateUserContentUploadURLV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGenerateUserContentUploadURLV2Unauthorized 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 NewAdminGenerateUserContentUploadURLV2Unauthorized

func NewAdminGenerateUserContentUploadURLV2Unauthorized() *AdminGenerateUserContentUploadURLV2Unauthorized

NewAdminGenerateUserContentUploadURLV2Unauthorized creates a AdminGenerateUserContentUploadURLV2Unauthorized with default headers values

func (*AdminGenerateUserContentUploadURLV2Unauthorized) Error

func (*AdminGenerateUserContentUploadURLV2Unauthorized) GetPayload

func (*AdminGenerateUserContentUploadURLV2Unauthorized) ToJSONString

type AdminGetContentBulkByShareCodesV2BadRequest

type AdminGetContentBulkByShareCodesV2BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetContentBulkByShareCodesV2BadRequest 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 NewAdminGetContentBulkByShareCodesV2BadRequest

func NewAdminGetContentBulkByShareCodesV2BadRequest() *AdminGetContentBulkByShareCodesV2BadRequest

NewAdminGetContentBulkByShareCodesV2BadRequest creates a AdminGetContentBulkByShareCodesV2BadRequest with default headers values

func (*AdminGetContentBulkByShareCodesV2BadRequest) Error

func (*AdminGetContentBulkByShareCodesV2BadRequest) GetPayload

func (*AdminGetContentBulkByShareCodesV2BadRequest) ToJSONString

type AdminGetContentBulkByShareCodesV2Forbidden

type AdminGetContentBulkByShareCodesV2Forbidden struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetContentBulkByShareCodesV2Forbidden 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 NewAdminGetContentBulkByShareCodesV2Forbidden

func NewAdminGetContentBulkByShareCodesV2Forbidden() *AdminGetContentBulkByShareCodesV2Forbidden

NewAdminGetContentBulkByShareCodesV2Forbidden creates a AdminGetContentBulkByShareCodesV2Forbidden with default headers values

func (*AdminGetContentBulkByShareCodesV2Forbidden) Error

func (*AdminGetContentBulkByShareCodesV2Forbidden) GetPayload

func (*AdminGetContentBulkByShareCodesV2Forbidden) ToJSONString

type AdminGetContentBulkByShareCodesV2InternalServerError

type AdminGetContentBulkByShareCodesV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetContentBulkByShareCodesV2InternalServerError 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 NewAdminGetContentBulkByShareCodesV2InternalServerError

func NewAdminGetContentBulkByShareCodesV2InternalServerError() *AdminGetContentBulkByShareCodesV2InternalServerError

NewAdminGetContentBulkByShareCodesV2InternalServerError creates a AdminGetContentBulkByShareCodesV2InternalServerError with default headers values

func (*AdminGetContentBulkByShareCodesV2InternalServerError) Error

func (*AdminGetContentBulkByShareCodesV2InternalServerError) GetPayload

func (*AdminGetContentBulkByShareCodesV2InternalServerError) ToJSONString

type AdminGetContentBulkByShareCodesV2OK

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

AdminGetContentBulkByShareCodesV2OK handles this case with default header values.

Bulk get content by content sharecodes

func NewAdminGetContentBulkByShareCodesV2OK

func NewAdminGetContentBulkByShareCodesV2OK() *AdminGetContentBulkByShareCodesV2OK

NewAdminGetContentBulkByShareCodesV2OK creates a AdminGetContentBulkByShareCodesV2OK with default headers values

func (*AdminGetContentBulkByShareCodesV2OK) Error

func (*AdminGetContentBulkByShareCodesV2OK) GetPayload

func (*AdminGetContentBulkByShareCodesV2OK) ToJSONString

func (o *AdminGetContentBulkByShareCodesV2OK) ToJSONString() string

type AdminGetContentBulkByShareCodesV2Params

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

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

func NewAdminGetContentBulkByShareCodesV2Params

func NewAdminGetContentBulkByShareCodesV2Params() *AdminGetContentBulkByShareCodesV2Params

NewAdminGetContentBulkByShareCodesV2Params creates a new AdminGetContentBulkByShareCodesV2Params object with the default values initialized.

func NewAdminGetContentBulkByShareCodesV2ParamsWithContext

func NewAdminGetContentBulkByShareCodesV2ParamsWithContext(ctx context.Context) *AdminGetContentBulkByShareCodesV2Params

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

func NewAdminGetContentBulkByShareCodesV2ParamsWithHTTPClient

func NewAdminGetContentBulkByShareCodesV2ParamsWithHTTPClient(client *http.Client) *AdminGetContentBulkByShareCodesV2Params

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

func NewAdminGetContentBulkByShareCodesV2ParamsWithTimeout

func NewAdminGetContentBulkByShareCodesV2ParamsWithTimeout(timeout time.Duration) *AdminGetContentBulkByShareCodesV2Params

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

func (*AdminGetContentBulkByShareCodesV2Params) SetAuthInfoWriter

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

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

func (*AdminGetContentBulkByShareCodesV2Params) SetBody

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

func (*AdminGetContentBulkByShareCodesV2Params) SetContext

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

func (*AdminGetContentBulkByShareCodesV2Params) SetFlightId

func (o *AdminGetContentBulkByShareCodesV2Params) SetFlightId(flightId string)

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

func (*AdminGetContentBulkByShareCodesV2Params) SetHTTPClient

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

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

func (*AdminGetContentBulkByShareCodesV2Params) SetHTTPClientTransport

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

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

func (*AdminGetContentBulkByShareCodesV2Params) SetNamespace

func (o *AdminGetContentBulkByShareCodesV2Params) SetNamespace(namespace string)

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

func (*AdminGetContentBulkByShareCodesV2Params) SetTimeout

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

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

func (*AdminGetContentBulkByShareCodesV2Params) WithBody

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

func (*AdminGetContentBulkByShareCodesV2Params) WithContext

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

func (*AdminGetContentBulkByShareCodesV2Params) WithHTTPClient

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

func (*AdminGetContentBulkByShareCodesV2Params) WithNamespace

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

func (*AdminGetContentBulkByShareCodesV2Params) WithTimeout

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

func (*AdminGetContentBulkByShareCodesV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetContentBulkByShareCodesV2Reader

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

AdminGetContentBulkByShareCodesV2Reader is a Reader for the AdminGetContentBulkByShareCodesV2 structure.

func (*AdminGetContentBulkByShareCodesV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetContentBulkByShareCodesV2Unauthorized

type AdminGetContentBulkByShareCodesV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetContentBulkByShareCodesV2Unauthorized 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 NewAdminGetContentBulkByShareCodesV2Unauthorized

func NewAdminGetContentBulkByShareCodesV2Unauthorized() *AdminGetContentBulkByShareCodesV2Unauthorized

NewAdminGetContentBulkByShareCodesV2Unauthorized creates a AdminGetContentBulkByShareCodesV2Unauthorized with default headers values

func (*AdminGetContentBulkByShareCodesV2Unauthorized) Error

func (*AdminGetContentBulkByShareCodesV2Unauthorized) GetPayload

func (*AdminGetContentBulkByShareCodesV2Unauthorized) ToJSONString

type AdminGetContentByChannelIDV2BadRequest

type AdminGetContentByChannelIDV2BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetContentByChannelIDV2BadRequest handles this case with default header values.

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

func NewAdminGetContentByChannelIDV2BadRequest

func NewAdminGetContentByChannelIDV2BadRequest() *AdminGetContentByChannelIDV2BadRequest

NewAdminGetContentByChannelIDV2BadRequest creates a AdminGetContentByChannelIDV2BadRequest with default headers values

func (*AdminGetContentByChannelIDV2BadRequest) Error

func (*AdminGetContentByChannelIDV2BadRequest) GetPayload

func (*AdminGetContentByChannelIDV2BadRequest) ToJSONString

type AdminGetContentByChannelIDV2InternalServerError

type AdminGetContentByChannelIDV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetContentByChannelIDV2InternalServerError handles this case with default header values.

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

func NewAdminGetContentByChannelIDV2InternalServerError

func NewAdminGetContentByChannelIDV2InternalServerError() *AdminGetContentByChannelIDV2InternalServerError

NewAdminGetContentByChannelIDV2InternalServerError creates a AdminGetContentByChannelIDV2InternalServerError with default headers values

func (*AdminGetContentByChannelIDV2InternalServerError) Error

func (*AdminGetContentByChannelIDV2InternalServerError) GetPayload

func (*AdminGetContentByChannelIDV2InternalServerError) ToJSONString

type AdminGetContentByChannelIDV2OK

type AdminGetContentByChannelIDV2OK struct {
	Payload *ugcclientmodels.ModelsPaginatedContentDownloadResponseV2
}

AdminGetContentByChannelIDV2OK handles this case with default header values.

List contents specific to a channel

func NewAdminGetContentByChannelIDV2OK

func NewAdminGetContentByChannelIDV2OK() *AdminGetContentByChannelIDV2OK

NewAdminGetContentByChannelIDV2OK creates a AdminGetContentByChannelIDV2OK with default headers values

func (*AdminGetContentByChannelIDV2OK) Error

func (*AdminGetContentByChannelIDV2OK) GetPayload

func (*AdminGetContentByChannelIDV2OK) ToJSONString

func (o *AdminGetContentByChannelIDV2OK) ToJSONString() string

type AdminGetContentByChannelIDV2Params

type AdminGetContentByChannelIDV2Params struct {

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

	*/
	ChannelID string
	/*Namespace
	  namespace of the game

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

	*/
	Limit *int64
	/*Name
	  content name

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

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

	*/
	SortBy *string

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

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

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

func NewAdminGetContentByChannelIDV2Params

func NewAdminGetContentByChannelIDV2Params() *AdminGetContentByChannelIDV2Params

NewAdminGetContentByChannelIDV2Params creates a new AdminGetContentByChannelIDV2Params object with the default values initialized.

func NewAdminGetContentByChannelIDV2ParamsWithContext

func NewAdminGetContentByChannelIDV2ParamsWithContext(ctx context.Context) *AdminGetContentByChannelIDV2Params

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

func NewAdminGetContentByChannelIDV2ParamsWithHTTPClient

func NewAdminGetContentByChannelIDV2ParamsWithHTTPClient(client *http.Client) *AdminGetContentByChannelIDV2Params

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

func NewAdminGetContentByChannelIDV2ParamsWithTimeout

func NewAdminGetContentByChannelIDV2ParamsWithTimeout(timeout time.Duration) *AdminGetContentByChannelIDV2Params

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

func (*AdminGetContentByChannelIDV2Params) SetAuthInfoWriter

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

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

func (*AdminGetContentByChannelIDV2Params) SetChannelID

func (o *AdminGetContentByChannelIDV2Params) SetChannelID(channelID string)

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

func (*AdminGetContentByChannelIDV2Params) SetContext

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

func (*AdminGetContentByChannelIDV2Params) SetFlightId

func (o *AdminGetContentByChannelIDV2Params) SetFlightId(flightId string)

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

func (*AdminGetContentByChannelIDV2Params) SetHTTPClient

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

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

func (*AdminGetContentByChannelIDV2Params) SetHTTPClientTransport

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

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

func (*AdminGetContentByChannelIDV2Params) SetLimit

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

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

func (*AdminGetContentByChannelIDV2Params) SetName

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

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

func (*AdminGetContentByChannelIDV2Params) SetNamespace

func (o *AdminGetContentByChannelIDV2Params) SetNamespace(namespace string)

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

func (*AdminGetContentByChannelIDV2Params) SetOffset

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

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

func (*AdminGetContentByChannelIDV2Params) SetSortBy

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

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

func (*AdminGetContentByChannelIDV2Params) SetTimeout

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

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

func (*AdminGetContentByChannelIDV2Params) WithChannelID

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

func (*AdminGetContentByChannelIDV2Params) WithContext

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

func (*AdminGetContentByChannelIDV2Params) WithHTTPClient

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

func (*AdminGetContentByChannelIDV2Params) WithLimit

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

func (*AdminGetContentByChannelIDV2Params) WithName

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

func (*AdminGetContentByChannelIDV2Params) WithNamespace

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

func (*AdminGetContentByChannelIDV2Params) WithOffset

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

func (*AdminGetContentByChannelIDV2Params) WithSortBy

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

func (*AdminGetContentByChannelIDV2Params) WithTimeout

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

func (*AdminGetContentByChannelIDV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetContentByChannelIDV2Reader

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

AdminGetContentByChannelIDV2Reader is a Reader for the AdminGetContentByChannelIDV2 structure.

func (*AdminGetContentByChannelIDV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetContentByChannelIDV2Unauthorized

type AdminGetContentByChannelIDV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetContentByChannelIDV2Unauthorized 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 NewAdminGetContentByChannelIDV2Unauthorized

func NewAdminGetContentByChannelIDV2Unauthorized() *AdminGetContentByChannelIDV2Unauthorized

NewAdminGetContentByChannelIDV2Unauthorized creates a AdminGetContentByChannelIDV2Unauthorized with default headers values

func (*AdminGetContentByChannelIDV2Unauthorized) Error

func (*AdminGetContentByChannelIDV2Unauthorized) GetPayload

func (*AdminGetContentByChannelIDV2Unauthorized) ToJSONString

type AdminGetContentByContentIDV2InternalServerError

type AdminGetContentByContentIDV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetContentByContentIDV2InternalServerError handles this case with default header values.

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

func NewAdminGetContentByContentIDV2InternalServerError

func NewAdminGetContentByContentIDV2InternalServerError() *AdminGetContentByContentIDV2InternalServerError

NewAdminGetContentByContentIDV2InternalServerError creates a AdminGetContentByContentIDV2InternalServerError with default headers values

func (*AdminGetContentByContentIDV2InternalServerError) Error

func (*AdminGetContentByContentIDV2InternalServerError) GetPayload

func (*AdminGetContentByContentIDV2InternalServerError) ToJSONString

type AdminGetContentByContentIDV2NotFound

type AdminGetContentByContentIDV2NotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetContentByContentIDV2NotFound 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 NewAdminGetContentByContentIDV2NotFound

func NewAdminGetContentByContentIDV2NotFound() *AdminGetContentByContentIDV2NotFound

NewAdminGetContentByContentIDV2NotFound creates a AdminGetContentByContentIDV2NotFound with default headers values

func (*AdminGetContentByContentIDV2NotFound) Error

func (*AdminGetContentByContentIDV2NotFound) GetPayload

func (*AdminGetContentByContentIDV2NotFound) ToJSONString

func (o *AdminGetContentByContentIDV2NotFound) ToJSONString() string

type AdminGetContentByContentIDV2OK

type AdminGetContentByContentIDV2OK struct {
	Payload *ugcclientmodels.ModelsContentDownloadResponseV2
}

AdminGetContentByContentIDV2OK handles this case with default header values.

Get content by content ID

func NewAdminGetContentByContentIDV2OK

func NewAdminGetContentByContentIDV2OK() *AdminGetContentByContentIDV2OK

NewAdminGetContentByContentIDV2OK creates a AdminGetContentByContentIDV2OK with default headers values

func (*AdminGetContentByContentIDV2OK) Error

func (*AdminGetContentByContentIDV2OK) GetPayload

func (*AdminGetContentByContentIDV2OK) ToJSONString

func (o *AdminGetContentByContentIDV2OK) ToJSONString() string

type AdminGetContentByContentIDV2Params

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

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

func NewAdminGetContentByContentIDV2Params

func NewAdminGetContentByContentIDV2Params() *AdminGetContentByContentIDV2Params

NewAdminGetContentByContentIDV2Params creates a new AdminGetContentByContentIDV2Params object with the default values initialized.

func NewAdminGetContentByContentIDV2ParamsWithContext

func NewAdminGetContentByContentIDV2ParamsWithContext(ctx context.Context) *AdminGetContentByContentIDV2Params

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

func NewAdminGetContentByContentIDV2ParamsWithHTTPClient

func NewAdminGetContentByContentIDV2ParamsWithHTTPClient(client *http.Client) *AdminGetContentByContentIDV2Params

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

func NewAdminGetContentByContentIDV2ParamsWithTimeout

func NewAdminGetContentByContentIDV2ParamsWithTimeout(timeout time.Duration) *AdminGetContentByContentIDV2Params

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

func (*AdminGetContentByContentIDV2Params) SetAuthInfoWriter

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

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

func (*AdminGetContentByContentIDV2Params) SetContentID

func (o *AdminGetContentByContentIDV2Params) SetContentID(contentID string)

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

func (*AdminGetContentByContentIDV2Params) SetContext

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

func (*AdminGetContentByContentIDV2Params) SetFlightId

func (o *AdminGetContentByContentIDV2Params) SetFlightId(flightId string)

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

func (*AdminGetContentByContentIDV2Params) SetHTTPClient

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

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

func (*AdminGetContentByContentIDV2Params) SetHTTPClientTransport

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

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

func (*AdminGetContentByContentIDV2Params) SetNamespace

func (o *AdminGetContentByContentIDV2Params) SetNamespace(namespace string)

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

func (*AdminGetContentByContentIDV2Params) SetTimeout

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

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

func (*AdminGetContentByContentIDV2Params) WithContentID

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

func (*AdminGetContentByContentIDV2Params) WithContext

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

func (*AdminGetContentByContentIDV2Params) WithHTTPClient

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

func (*AdminGetContentByContentIDV2Params) WithNamespace

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

func (*AdminGetContentByContentIDV2Params) WithTimeout

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

func (*AdminGetContentByContentIDV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetContentByContentIDV2Reader

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

AdminGetContentByContentIDV2Reader is a Reader for the AdminGetContentByContentIDV2 structure.

func (*AdminGetContentByContentIDV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetContentByContentIDV2Unauthorized

type AdminGetContentByContentIDV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetContentByContentIDV2Unauthorized 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 NewAdminGetContentByContentIDV2Unauthorized

func NewAdminGetContentByContentIDV2Unauthorized() *AdminGetContentByContentIDV2Unauthorized

NewAdminGetContentByContentIDV2Unauthorized creates a AdminGetContentByContentIDV2Unauthorized with default headers values

func (*AdminGetContentByContentIDV2Unauthorized) Error

func (*AdminGetContentByContentIDV2Unauthorized) GetPayload

func (*AdminGetContentByContentIDV2Unauthorized) ToJSONString

type AdminGetContentByShareCodeV2InternalServerError

type AdminGetContentByShareCodeV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetContentByShareCodeV2InternalServerError 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>773201</td><td>Unable to get ugc content/Unable to get creator/Unable to get included group</td></tr><tr><td>770303</td><td>Failed generate download URL</td></tr></table>

func NewAdminGetContentByShareCodeV2InternalServerError

func NewAdminGetContentByShareCodeV2InternalServerError() *AdminGetContentByShareCodeV2InternalServerError

NewAdminGetContentByShareCodeV2InternalServerError creates a AdminGetContentByShareCodeV2InternalServerError with default headers values

func (*AdminGetContentByShareCodeV2InternalServerError) Error

func (*AdminGetContentByShareCodeV2InternalServerError) GetPayload

func (*AdminGetContentByShareCodeV2InternalServerError) ToJSONString

type AdminGetContentByShareCodeV2NotFound

type AdminGetContentByShareCodeV2NotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetContentByShareCodeV2NotFound 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 NewAdminGetContentByShareCodeV2NotFound

func NewAdminGetContentByShareCodeV2NotFound() *AdminGetContentByShareCodeV2NotFound

NewAdminGetContentByShareCodeV2NotFound creates a AdminGetContentByShareCodeV2NotFound with default headers values

func (*AdminGetContentByShareCodeV2NotFound) Error

func (*AdminGetContentByShareCodeV2NotFound) GetPayload

func (*AdminGetContentByShareCodeV2NotFound) ToJSONString

func (o *AdminGetContentByShareCodeV2NotFound) ToJSONString() string

type AdminGetContentByShareCodeV2OK

type AdminGetContentByShareCodeV2OK struct {
	Payload *ugcclientmodels.ModelsContentDownloadResponseV2
}

AdminGetContentByShareCodeV2OK handles this case with default header values.

Get content by sharecode

func NewAdminGetContentByShareCodeV2OK

func NewAdminGetContentByShareCodeV2OK() *AdminGetContentByShareCodeV2OK

NewAdminGetContentByShareCodeV2OK creates a AdminGetContentByShareCodeV2OK with default headers values

func (*AdminGetContentByShareCodeV2OK) Error

func (*AdminGetContentByShareCodeV2OK) GetPayload

func (*AdminGetContentByShareCodeV2OK) ToJSONString

func (o *AdminGetContentByShareCodeV2OK) ToJSONString() string

type AdminGetContentByShareCodeV2Params

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

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

func NewAdminGetContentByShareCodeV2Params

func NewAdminGetContentByShareCodeV2Params() *AdminGetContentByShareCodeV2Params

NewAdminGetContentByShareCodeV2Params creates a new AdminGetContentByShareCodeV2Params object with the default values initialized.

func NewAdminGetContentByShareCodeV2ParamsWithContext

func NewAdminGetContentByShareCodeV2ParamsWithContext(ctx context.Context) *AdminGetContentByShareCodeV2Params

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

func NewAdminGetContentByShareCodeV2ParamsWithHTTPClient

func NewAdminGetContentByShareCodeV2ParamsWithHTTPClient(client *http.Client) *AdminGetContentByShareCodeV2Params

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

func NewAdminGetContentByShareCodeV2ParamsWithTimeout

func NewAdminGetContentByShareCodeV2ParamsWithTimeout(timeout time.Duration) *AdminGetContentByShareCodeV2Params

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

func (*AdminGetContentByShareCodeV2Params) SetAuthInfoWriter

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

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

func (*AdminGetContentByShareCodeV2Params) SetContext

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

func (*AdminGetContentByShareCodeV2Params) SetFlightId

func (o *AdminGetContentByShareCodeV2Params) SetFlightId(flightId string)

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

func (*AdminGetContentByShareCodeV2Params) SetHTTPClient

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

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

func (*AdminGetContentByShareCodeV2Params) SetHTTPClientTransport

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

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

func (*AdminGetContentByShareCodeV2Params) SetNamespace

func (o *AdminGetContentByShareCodeV2Params) SetNamespace(namespace string)

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

func (*AdminGetContentByShareCodeV2Params) SetShareCode

func (o *AdminGetContentByShareCodeV2Params) SetShareCode(shareCode string)

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

func (*AdminGetContentByShareCodeV2Params) SetTimeout

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

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

func (*AdminGetContentByShareCodeV2Params) WithContext

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

func (*AdminGetContentByShareCodeV2Params) WithHTTPClient

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

func (*AdminGetContentByShareCodeV2Params) WithNamespace

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

func (*AdminGetContentByShareCodeV2Params) WithShareCode

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

func (*AdminGetContentByShareCodeV2Params) WithTimeout

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

func (*AdminGetContentByShareCodeV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetContentByShareCodeV2Reader

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

AdminGetContentByShareCodeV2Reader is a Reader for the AdminGetContentByShareCodeV2 structure.

func (*AdminGetContentByShareCodeV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetContentByShareCodeV2Unauthorized

type AdminGetContentByShareCodeV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetContentByShareCodeV2Unauthorized 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 NewAdminGetContentByShareCodeV2Unauthorized

func NewAdminGetContentByShareCodeV2Unauthorized() *AdminGetContentByShareCodeV2Unauthorized

NewAdminGetContentByShareCodeV2Unauthorized creates a AdminGetContentByShareCodeV2Unauthorized with default headers values

func (*AdminGetContentByShareCodeV2Unauthorized) Error

func (*AdminGetContentByShareCodeV2Unauthorized) GetPayload

func (*AdminGetContentByShareCodeV2Unauthorized) ToJSONString

type AdminGetContentByUserIDV2BadRequest

type AdminGetContentByUserIDV2BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetContentByUserIDV2BadRequest 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 NewAdminGetContentByUserIDV2BadRequest

func NewAdminGetContentByUserIDV2BadRequest() *AdminGetContentByUserIDV2BadRequest

NewAdminGetContentByUserIDV2BadRequest creates a AdminGetContentByUserIDV2BadRequest with default headers values

func (*AdminGetContentByUserIDV2BadRequest) Error

func (*AdminGetContentByUserIDV2BadRequest) GetPayload

func (*AdminGetContentByUserIDV2BadRequest) ToJSONString

func (o *AdminGetContentByUserIDV2BadRequest) ToJSONString() string

type AdminGetContentByUserIDV2InternalServerError

type AdminGetContentByUserIDV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetContentByUserIDV2InternalServerError handles this case with default header values.

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

func NewAdminGetContentByUserIDV2InternalServerError

func NewAdminGetContentByUserIDV2InternalServerError() *AdminGetContentByUserIDV2InternalServerError

NewAdminGetContentByUserIDV2InternalServerError creates a AdminGetContentByUserIDV2InternalServerError with default headers values

func (*AdminGetContentByUserIDV2InternalServerError) Error

func (*AdminGetContentByUserIDV2InternalServerError) GetPayload

func (*AdminGetContentByUserIDV2InternalServerError) ToJSONString

type AdminGetContentByUserIDV2OK

type AdminGetContentByUserIDV2OK struct {
	Payload *ugcclientmodels.ModelsPaginatedContentDownloadResponseV2
}

AdminGetContentByUserIDV2OK handles this case with default header values.

Get user's generated contents

func NewAdminGetContentByUserIDV2OK

func NewAdminGetContentByUserIDV2OK() *AdminGetContentByUserIDV2OK

NewAdminGetContentByUserIDV2OK creates a AdminGetContentByUserIDV2OK with default headers values

func (*AdminGetContentByUserIDV2OK) Error

func (*AdminGetContentByUserIDV2OK) GetPayload

func (*AdminGetContentByUserIDV2OK) ToJSONString

func (o *AdminGetContentByUserIDV2OK) ToJSONString() string

type AdminGetContentByUserIDV2Params

type AdminGetContentByUserIDV2Params 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
	/*SortBy
	    available values:
					- *createdTime*
					- *createdTime:desc*
					- *createdTime:asc*

	*/
	SortBy *string

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

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

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

func NewAdminGetContentByUserIDV2Params

func NewAdminGetContentByUserIDV2Params() *AdminGetContentByUserIDV2Params

NewAdminGetContentByUserIDV2Params creates a new AdminGetContentByUserIDV2Params object with the default values initialized.

func NewAdminGetContentByUserIDV2ParamsWithContext

func NewAdminGetContentByUserIDV2ParamsWithContext(ctx context.Context) *AdminGetContentByUserIDV2Params

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

func NewAdminGetContentByUserIDV2ParamsWithHTTPClient

func NewAdminGetContentByUserIDV2ParamsWithHTTPClient(client *http.Client) *AdminGetContentByUserIDV2Params

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

func NewAdminGetContentByUserIDV2ParamsWithTimeout

func NewAdminGetContentByUserIDV2ParamsWithTimeout(timeout time.Duration) *AdminGetContentByUserIDV2Params

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

func (*AdminGetContentByUserIDV2Params) SetAuthInfoWriter

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

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

func (*AdminGetContentByUserIDV2Params) SetContext

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

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

func (*AdminGetContentByUserIDV2Params) SetFlightId

func (o *AdminGetContentByUserIDV2Params) SetFlightId(flightId string)

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

func (*AdminGetContentByUserIDV2Params) SetHTTPClient

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

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

func (*AdminGetContentByUserIDV2Params) SetHTTPClientTransport

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

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

func (*AdminGetContentByUserIDV2Params) SetLimit

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

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

func (*AdminGetContentByUserIDV2Params) SetNamespace

func (o *AdminGetContentByUserIDV2Params) SetNamespace(namespace string)

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

func (*AdminGetContentByUserIDV2Params) SetOffset

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

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

func (*AdminGetContentByUserIDV2Params) SetSortBy

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

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

func (*AdminGetContentByUserIDV2Params) SetTimeout

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

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

func (*AdminGetContentByUserIDV2Params) SetUserID

func (o *AdminGetContentByUserIDV2Params) SetUserID(userID string)

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

func (*AdminGetContentByUserIDV2Params) WithContext

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

func (*AdminGetContentByUserIDV2Params) WithHTTPClient

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

func (*AdminGetContentByUserIDV2Params) WithLimit

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

func (*AdminGetContentByUserIDV2Params) WithNamespace

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

func (*AdminGetContentByUserIDV2Params) WithOffset

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

func (*AdminGetContentByUserIDV2Params) WithSortBy

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

func (*AdminGetContentByUserIDV2Params) WithTimeout

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

func (*AdminGetContentByUserIDV2Params) WithUserID

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

func (*AdminGetContentByUserIDV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetContentByUserIDV2Reader

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

AdminGetContentByUserIDV2Reader is a Reader for the AdminGetContentByUserIDV2 structure.

func (*AdminGetContentByUserIDV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetContentByUserIDV2Unauthorized

type AdminGetContentByUserIDV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetContentByUserIDV2Unauthorized 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 NewAdminGetContentByUserIDV2Unauthorized

func NewAdminGetContentByUserIDV2Unauthorized() *AdminGetContentByUserIDV2Unauthorized

NewAdminGetContentByUserIDV2Unauthorized creates a AdminGetContentByUserIDV2Unauthorized with default headers values

func (*AdminGetContentByUserIDV2Unauthorized) Error

func (*AdminGetContentByUserIDV2Unauthorized) GetPayload

func (*AdminGetContentByUserIDV2Unauthorized) ToJSONString

type AdminListContentV2BadRequest

type AdminListContentV2BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminListContentV2BadRequest 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 NewAdminListContentV2BadRequest

func NewAdminListContentV2BadRequest() *AdminListContentV2BadRequest

NewAdminListContentV2BadRequest creates a AdminListContentV2BadRequest with default headers values

func (*AdminListContentV2BadRequest) Error

func (*AdminListContentV2BadRequest) GetPayload

func (*AdminListContentV2BadRequest) ToJSONString

func (o *AdminListContentV2BadRequest) ToJSONString() string

type AdminListContentV2InternalServerError

type AdminListContentV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminListContentV2InternalServerError 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 NewAdminListContentV2InternalServerError

func NewAdminListContentV2InternalServerError() *AdminListContentV2InternalServerError

NewAdminListContentV2InternalServerError creates a AdminListContentV2InternalServerError with default headers values

func (*AdminListContentV2InternalServerError) Error

func (*AdminListContentV2InternalServerError) GetPayload

func (*AdminListContentV2InternalServerError) ToJSONString

type AdminListContentV2OK

type AdminListContentV2OK struct {
	Payload *ugcclientmodels.ModelsPaginatedContentDownloadResponseV2
}

AdminListContentV2OK handles this case with default header values.

List content

func NewAdminListContentV2OK

func NewAdminListContentV2OK() *AdminListContentV2OK

NewAdminListContentV2OK creates a AdminListContentV2OK with default headers values

func (*AdminListContentV2OK) Error

func (o *AdminListContentV2OK) Error() string

func (*AdminListContentV2OK) GetPayload

func (*AdminListContentV2OK) ToJSONString

func (o *AdminListContentV2OK) ToJSONString() string

type AdminListContentV2Params

type AdminListContentV2Params struct {

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

	*/
	Namespace string
	/*IsOfficial
	  filter by is official

	*/
	IsOfficial *bool
	/*Limit
	  number of content per page

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

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

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

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

	*/
	SubType *string
	/*Tags
	  content tag

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

	*/
	Type *string

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

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

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

func NewAdminListContentV2Params

func NewAdminListContentV2Params() *AdminListContentV2Params

NewAdminListContentV2Params creates a new AdminListContentV2Params object with the default values initialized.

func NewAdminListContentV2ParamsWithContext

func NewAdminListContentV2ParamsWithContext(ctx context.Context) *AdminListContentV2Params

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

func NewAdminListContentV2ParamsWithHTTPClient

func NewAdminListContentV2ParamsWithHTTPClient(client *http.Client) *AdminListContentV2Params

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

func NewAdminListContentV2ParamsWithTimeout

func NewAdminListContentV2ParamsWithTimeout(timeout time.Duration) *AdminListContentV2Params

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

func (*AdminListContentV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin list content v2 params

func (*AdminListContentV2Params) SetContext

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

SetContext adds the context to the admin list content v2 params

func (*AdminListContentV2Params) SetFlightId

func (o *AdminListContentV2Params) SetFlightId(flightId string)

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

func (*AdminListContentV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin list content v2 params

func (*AdminListContentV2Params) SetHTTPClientTransport

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

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

func (*AdminListContentV2Params) SetIsOfficial

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

SetIsOfficial adds the isOfficial to the admin list content v2 params

func (*AdminListContentV2Params) SetLimit

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

SetLimit adds the limit to the admin list content v2 params

func (*AdminListContentV2Params) SetName

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

SetName adds the name to the admin list content v2 params

func (*AdminListContentV2Params) SetNamespace

func (o *AdminListContentV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin list content v2 params

func (*AdminListContentV2Params) SetOffset

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

SetOffset adds the offset to the admin list content v2 params

func (*AdminListContentV2Params) SetSortBy

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

SetSortBy adds the sortBy to the admin list content v2 params

func (*AdminListContentV2Params) SetSubType

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

SetSubType adds the subType to the admin list content v2 params

func (*AdminListContentV2Params) SetTags

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

SetTags adds the tags to the admin list content v2 params

func (*AdminListContentV2Params) SetTimeout

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

SetTimeout adds the timeout to the admin list content v2 params

func (*AdminListContentV2Params) SetType

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

SetType adds the type to the admin list content v2 params

func (*AdminListContentV2Params) WithContext

WithContext adds the context to the admin list content v2 params

func (*AdminListContentV2Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin list content v2 params

func (*AdminListContentV2Params) WithIsOfficial

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

WithIsOfficial adds the isOfficial to the admin list content v2 params

func (*AdminListContentV2Params) WithLimit

WithLimit adds the limit to the admin list content v2 params

func (*AdminListContentV2Params) WithName

WithName adds the name to the admin list content v2 params

func (*AdminListContentV2Params) WithNamespace

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

WithNamespace adds the namespace to the admin list content v2 params

func (*AdminListContentV2Params) WithOffset

WithOffset adds the offset to the admin list content v2 params

func (*AdminListContentV2Params) WithSortBy

WithSortBy adds the sortBy to the admin list content v2 params

func (*AdminListContentV2Params) WithSubType

func (o *AdminListContentV2Params) WithSubType(subType *string) *AdminListContentV2Params

WithSubType adds the subType to the admin list content v2 params

func (*AdminListContentV2Params) WithTags

WithTags adds the tags to the admin list content v2 params

func (*AdminListContentV2Params) WithTimeout

WithTimeout adds the timeout to the admin list content v2 params

func (*AdminListContentV2Params) WithType

WithType adds the typeVar to the admin list content v2 params

func (*AdminListContentV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminListContentV2Reader

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

AdminListContentV2Reader is a Reader for the AdminListContentV2 structure.

func (*AdminListContentV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminListContentV2Unauthorized

type AdminListContentV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminListContentV2Unauthorized 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 NewAdminListContentV2Unauthorized

func NewAdminListContentV2Unauthorized() *AdminListContentV2Unauthorized

NewAdminListContentV2Unauthorized creates a AdminListContentV2Unauthorized with default headers values

func (*AdminListContentV2Unauthorized) Error

func (*AdminListContentV2Unauthorized) GetPayload

func (*AdminListContentV2Unauthorized) ToJSONString

func (o *AdminListContentV2Unauthorized) ToJSONString() string

type AdminUpdateContentByShareCodeV2BadRequest

type AdminUpdateContentByShareCodeV2BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateContentByShareCodeV2BadRequest 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 NewAdminUpdateContentByShareCodeV2BadRequest

func NewAdminUpdateContentByShareCodeV2BadRequest() *AdminUpdateContentByShareCodeV2BadRequest

NewAdminUpdateContentByShareCodeV2BadRequest creates a AdminUpdateContentByShareCodeV2BadRequest with default headers values

func (*AdminUpdateContentByShareCodeV2BadRequest) Error

func (*AdminUpdateContentByShareCodeV2BadRequest) GetPayload

func (*AdminUpdateContentByShareCodeV2BadRequest) ToJSONString

type AdminUpdateContentByShareCodeV2Conflict

type AdminUpdateContentByShareCodeV2Conflict struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateContentByShareCodeV2Conflict 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 NewAdminUpdateContentByShareCodeV2Conflict

func NewAdminUpdateContentByShareCodeV2Conflict() *AdminUpdateContentByShareCodeV2Conflict

NewAdminUpdateContentByShareCodeV2Conflict creates a AdminUpdateContentByShareCodeV2Conflict with default headers values

func (*AdminUpdateContentByShareCodeV2Conflict) Error

func (*AdminUpdateContentByShareCodeV2Conflict) GetPayload

func (*AdminUpdateContentByShareCodeV2Conflict) ToJSONString

type AdminUpdateContentByShareCodeV2Forbidden

type AdminUpdateContentByShareCodeV2Forbidden struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateContentByShareCodeV2Forbidden 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 NewAdminUpdateContentByShareCodeV2Forbidden

func NewAdminUpdateContentByShareCodeV2Forbidden() *AdminUpdateContentByShareCodeV2Forbidden

NewAdminUpdateContentByShareCodeV2Forbidden creates a AdminUpdateContentByShareCodeV2Forbidden with default headers values

func (*AdminUpdateContentByShareCodeV2Forbidden) Error

func (*AdminUpdateContentByShareCodeV2Forbidden) GetPayload

func (*AdminUpdateContentByShareCodeV2Forbidden) ToJSONString

type AdminUpdateContentByShareCodeV2InternalServerError

type AdminUpdateContentByShareCodeV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateContentByShareCodeV2InternalServerError 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 NewAdminUpdateContentByShareCodeV2InternalServerError

func NewAdminUpdateContentByShareCodeV2InternalServerError() *AdminUpdateContentByShareCodeV2InternalServerError

NewAdminUpdateContentByShareCodeV2InternalServerError creates a AdminUpdateContentByShareCodeV2InternalServerError with default headers values

func (*AdminUpdateContentByShareCodeV2InternalServerError) Error

func (*AdminUpdateContentByShareCodeV2InternalServerError) GetPayload

func (*AdminUpdateContentByShareCodeV2InternalServerError) ToJSONString

type AdminUpdateContentByShareCodeV2NotFound

type AdminUpdateContentByShareCodeV2NotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateContentByShareCodeV2NotFound 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 NewAdminUpdateContentByShareCodeV2NotFound

func NewAdminUpdateContentByShareCodeV2NotFound() *AdminUpdateContentByShareCodeV2NotFound

NewAdminUpdateContentByShareCodeV2NotFound creates a AdminUpdateContentByShareCodeV2NotFound with default headers values

func (*AdminUpdateContentByShareCodeV2NotFound) Error

func (*AdminUpdateContentByShareCodeV2NotFound) GetPayload

func (*AdminUpdateContentByShareCodeV2NotFound) ToJSONString

type AdminUpdateContentByShareCodeV2OK

type AdminUpdateContentByShareCodeV2OK struct {
	Payload *ugcclientmodels.ModelsCreateContentResponseV2
}

AdminUpdateContentByShareCodeV2OK handles this case with default header values.

content udpated at s3

func NewAdminUpdateContentByShareCodeV2OK

func NewAdminUpdateContentByShareCodeV2OK() *AdminUpdateContentByShareCodeV2OK

NewAdminUpdateContentByShareCodeV2OK creates a AdminUpdateContentByShareCodeV2OK with default headers values

func (*AdminUpdateContentByShareCodeV2OK) Error

func (*AdminUpdateContentByShareCodeV2OK) GetPayload

func (*AdminUpdateContentByShareCodeV2OK) ToJSONString

func (o *AdminUpdateContentByShareCodeV2OK) ToJSONString() string

type AdminUpdateContentByShareCodeV2Params

type AdminUpdateContentByShareCodeV2Params struct {

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

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

func NewAdminUpdateContentByShareCodeV2Params

func NewAdminUpdateContentByShareCodeV2Params() *AdminUpdateContentByShareCodeV2Params

NewAdminUpdateContentByShareCodeV2Params creates a new AdminUpdateContentByShareCodeV2Params object with the default values initialized.

func NewAdminUpdateContentByShareCodeV2ParamsWithContext

func NewAdminUpdateContentByShareCodeV2ParamsWithContext(ctx context.Context) *AdminUpdateContentByShareCodeV2Params

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

func NewAdminUpdateContentByShareCodeV2ParamsWithHTTPClient

func NewAdminUpdateContentByShareCodeV2ParamsWithHTTPClient(client *http.Client) *AdminUpdateContentByShareCodeV2Params

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

func NewAdminUpdateContentByShareCodeV2ParamsWithTimeout

func NewAdminUpdateContentByShareCodeV2ParamsWithTimeout(timeout time.Duration) *AdminUpdateContentByShareCodeV2Params

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

func (*AdminUpdateContentByShareCodeV2Params) SetAuthInfoWriter

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

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

func (*AdminUpdateContentByShareCodeV2Params) SetBody

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

func (*AdminUpdateContentByShareCodeV2Params) SetChannelID

func (o *AdminUpdateContentByShareCodeV2Params) SetChannelID(channelID string)

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

func (*AdminUpdateContentByShareCodeV2Params) SetContext

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

func (*AdminUpdateContentByShareCodeV2Params) SetFlightId

func (o *AdminUpdateContentByShareCodeV2Params) SetFlightId(flightId string)

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

func (*AdminUpdateContentByShareCodeV2Params) SetHTTPClient

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

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

func (*AdminUpdateContentByShareCodeV2Params) SetHTTPClientTransport

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

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

func (*AdminUpdateContentByShareCodeV2Params) SetNamespace

func (o *AdminUpdateContentByShareCodeV2Params) SetNamespace(namespace string)

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

func (*AdminUpdateContentByShareCodeV2Params) SetShareCode

func (o *AdminUpdateContentByShareCodeV2Params) SetShareCode(shareCode string)

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

func (*AdminUpdateContentByShareCodeV2Params) SetTimeout

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

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

func (*AdminUpdateContentByShareCodeV2Params) SetUserID

func (o *AdminUpdateContentByShareCodeV2Params) SetUserID(userID string)

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

func (*AdminUpdateContentByShareCodeV2Params) WithBody

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

func (*AdminUpdateContentByShareCodeV2Params) WithChannelID

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

func (*AdminUpdateContentByShareCodeV2Params) WithContext

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

func (*AdminUpdateContentByShareCodeV2Params) WithHTTPClient

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

func (*AdminUpdateContentByShareCodeV2Params) WithNamespace

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

func (*AdminUpdateContentByShareCodeV2Params) WithShareCode

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

func (*AdminUpdateContentByShareCodeV2Params) WithTimeout

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

func (*AdminUpdateContentByShareCodeV2Params) WithUserID

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

func (*AdminUpdateContentByShareCodeV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUpdateContentByShareCodeV2Reader

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

AdminUpdateContentByShareCodeV2Reader is a Reader for the AdminUpdateContentByShareCodeV2 structure.

func (*AdminUpdateContentByShareCodeV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUpdateContentByShareCodeV2Unauthorized

type AdminUpdateContentByShareCodeV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateContentByShareCodeV2Unauthorized 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 NewAdminUpdateContentByShareCodeV2Unauthorized

func NewAdminUpdateContentByShareCodeV2Unauthorized() *AdminUpdateContentByShareCodeV2Unauthorized

NewAdminUpdateContentByShareCodeV2Unauthorized creates a AdminUpdateContentByShareCodeV2Unauthorized with default headers values

func (*AdminUpdateContentByShareCodeV2Unauthorized) Error

func (*AdminUpdateContentByShareCodeV2Unauthorized) GetPayload

func (*AdminUpdateContentByShareCodeV2Unauthorized) ToJSONString

type AdminUpdateContentHideStatusV2BadRequest

type AdminUpdateContentHideStatusV2BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateContentHideStatusV2BadRequest 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 NewAdminUpdateContentHideStatusV2BadRequest

func NewAdminUpdateContentHideStatusV2BadRequest() *AdminUpdateContentHideStatusV2BadRequest

NewAdminUpdateContentHideStatusV2BadRequest creates a AdminUpdateContentHideStatusV2BadRequest with default headers values

func (*AdminUpdateContentHideStatusV2BadRequest) Error

func (*AdminUpdateContentHideStatusV2BadRequest) GetPayload

func (*AdminUpdateContentHideStatusV2BadRequest) ToJSONString

type AdminUpdateContentHideStatusV2Forbidden

type AdminUpdateContentHideStatusV2Forbidden struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateContentHideStatusV2Forbidden 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 NewAdminUpdateContentHideStatusV2Forbidden

func NewAdminUpdateContentHideStatusV2Forbidden() *AdminUpdateContentHideStatusV2Forbidden

NewAdminUpdateContentHideStatusV2Forbidden creates a AdminUpdateContentHideStatusV2Forbidden with default headers values

func (*AdminUpdateContentHideStatusV2Forbidden) Error

func (*AdminUpdateContentHideStatusV2Forbidden) GetPayload

func (*AdminUpdateContentHideStatusV2Forbidden) ToJSONString

type AdminUpdateContentHideStatusV2InternalServerError

type AdminUpdateContentHideStatusV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

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

func NewAdminUpdateContentHideStatusV2InternalServerError

func NewAdminUpdateContentHideStatusV2InternalServerError() *AdminUpdateContentHideStatusV2InternalServerError

NewAdminUpdateContentHideStatusV2InternalServerError creates a AdminUpdateContentHideStatusV2InternalServerError with default headers values

func (*AdminUpdateContentHideStatusV2InternalServerError) Error

func (*AdminUpdateContentHideStatusV2InternalServerError) GetPayload

func (*AdminUpdateContentHideStatusV2InternalServerError) ToJSONString

type AdminUpdateContentHideStatusV2NotFound

type AdminUpdateContentHideStatusV2NotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateContentHideStatusV2NotFound 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 NewAdminUpdateContentHideStatusV2NotFound

func NewAdminUpdateContentHideStatusV2NotFound() *AdminUpdateContentHideStatusV2NotFound

NewAdminUpdateContentHideStatusV2NotFound creates a AdminUpdateContentHideStatusV2NotFound with default headers values

func (*AdminUpdateContentHideStatusV2NotFound) Error

func (*AdminUpdateContentHideStatusV2NotFound) GetPayload

func (*AdminUpdateContentHideStatusV2NotFound) ToJSONString

type AdminUpdateContentHideStatusV2OK

type AdminUpdateContentHideStatusV2OK struct {
	Payload *ugcclientmodels.ModelsCreateContentResponseV2
}

AdminUpdateContentHideStatusV2OK handles this case with default header values.

Hide/UnHide user's generated content

func NewAdminUpdateContentHideStatusV2OK

func NewAdminUpdateContentHideStatusV2OK() *AdminUpdateContentHideStatusV2OK

NewAdminUpdateContentHideStatusV2OK creates a AdminUpdateContentHideStatusV2OK with default headers values

func (*AdminUpdateContentHideStatusV2OK) Error

func (*AdminUpdateContentHideStatusV2OK) GetPayload

func (*AdminUpdateContentHideStatusV2OK) ToJSONString

func (o *AdminUpdateContentHideStatusV2OK) ToJSONString() string

type AdminUpdateContentHideStatusV2Params

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

AdminUpdateContentHideStatusV2Params contains all the parameters to send to the API endpoint for the admin update content hide status v2 operation typically these are written to a http.Request

func NewAdminUpdateContentHideStatusV2Params

func NewAdminUpdateContentHideStatusV2Params() *AdminUpdateContentHideStatusV2Params

NewAdminUpdateContentHideStatusV2Params creates a new AdminUpdateContentHideStatusV2Params object with the default values initialized.

func NewAdminUpdateContentHideStatusV2ParamsWithContext

func NewAdminUpdateContentHideStatusV2ParamsWithContext(ctx context.Context) *AdminUpdateContentHideStatusV2Params

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

func NewAdminUpdateContentHideStatusV2ParamsWithHTTPClient

func NewAdminUpdateContentHideStatusV2ParamsWithHTTPClient(client *http.Client) *AdminUpdateContentHideStatusV2Params

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

func NewAdminUpdateContentHideStatusV2ParamsWithTimeout

func NewAdminUpdateContentHideStatusV2ParamsWithTimeout(timeout time.Duration) *AdminUpdateContentHideStatusV2Params

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

func (*AdminUpdateContentHideStatusV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin update content hide status v2 params

func (*AdminUpdateContentHideStatusV2Params) SetBody

SetBody adds the body to the admin update content hide status v2 params

func (*AdminUpdateContentHideStatusV2Params) SetContentID

func (o *AdminUpdateContentHideStatusV2Params) SetContentID(contentID string)

SetContentID adds the contentId to the admin update content hide status v2 params

func (*AdminUpdateContentHideStatusV2Params) SetContext

SetContext adds the context to the admin update content hide status v2 params

func (*AdminUpdateContentHideStatusV2Params) SetFlightId

func (o *AdminUpdateContentHideStatusV2Params) SetFlightId(flightId string)

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

func (*AdminUpdateContentHideStatusV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin update content hide status v2 params

func (*AdminUpdateContentHideStatusV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin update content hide status v2 params

func (*AdminUpdateContentHideStatusV2Params) SetNamespace

func (o *AdminUpdateContentHideStatusV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin update content hide status v2 params

func (*AdminUpdateContentHideStatusV2Params) SetTimeout

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

SetTimeout adds the timeout to the admin update content hide status v2 params

func (*AdminUpdateContentHideStatusV2Params) SetUserID

func (o *AdminUpdateContentHideStatusV2Params) SetUserID(userID string)

SetUserID adds the userId to the admin update content hide status v2 params

func (*AdminUpdateContentHideStatusV2Params) WithBody

WithBody adds the body to the admin update content hide status v2 params

func (*AdminUpdateContentHideStatusV2Params) WithContentID

WithContentID adds the contentID to the admin update content hide status v2 params

func (*AdminUpdateContentHideStatusV2Params) WithContext

WithContext adds the context to the admin update content hide status v2 params

func (*AdminUpdateContentHideStatusV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin update content hide status v2 params

func (*AdminUpdateContentHideStatusV2Params) WithNamespace

WithNamespace adds the namespace to the admin update content hide status v2 params

func (*AdminUpdateContentHideStatusV2Params) WithTimeout

WithTimeout adds the timeout to the admin update content hide status v2 params

func (*AdminUpdateContentHideStatusV2Params) WithUserID

WithUserID adds the userID to the admin update content hide status v2 params

func (*AdminUpdateContentHideStatusV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUpdateContentHideStatusV2Reader

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

AdminUpdateContentHideStatusV2Reader is a Reader for the AdminUpdateContentHideStatusV2 structure.

func (*AdminUpdateContentHideStatusV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUpdateContentHideStatusV2Unauthorized

type AdminUpdateContentHideStatusV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateContentHideStatusV2Unauthorized 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 NewAdminUpdateContentHideStatusV2Unauthorized

func NewAdminUpdateContentHideStatusV2Unauthorized() *AdminUpdateContentHideStatusV2Unauthorized

NewAdminUpdateContentHideStatusV2Unauthorized creates a AdminUpdateContentHideStatusV2Unauthorized with default headers values

func (*AdminUpdateContentHideStatusV2Unauthorized) Error

func (*AdminUpdateContentHideStatusV2Unauthorized) GetPayload

func (*AdminUpdateContentHideStatusV2Unauthorized) ToJSONString

type AdminUpdateOfficialContentFileLocationBadRequest

type AdminUpdateOfficialContentFileLocationBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateOfficialContentFileLocationBadRequest handles this case with default header values.

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

func NewAdminUpdateOfficialContentFileLocationBadRequest

func NewAdminUpdateOfficialContentFileLocationBadRequest() *AdminUpdateOfficialContentFileLocationBadRequest

NewAdminUpdateOfficialContentFileLocationBadRequest creates a AdminUpdateOfficialContentFileLocationBadRequest with default headers values

func (*AdminUpdateOfficialContentFileLocationBadRequest) Error

func (*AdminUpdateOfficialContentFileLocationBadRequest) GetPayload

func (*AdminUpdateOfficialContentFileLocationBadRequest) ToJSONString

type AdminUpdateOfficialContentFileLocationForbidden

type AdminUpdateOfficialContentFileLocationForbidden struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateOfficialContentFileLocationForbidden 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 NewAdminUpdateOfficialContentFileLocationForbidden

func NewAdminUpdateOfficialContentFileLocationForbidden() *AdminUpdateOfficialContentFileLocationForbidden

NewAdminUpdateOfficialContentFileLocationForbidden creates a AdminUpdateOfficialContentFileLocationForbidden with default headers values

func (*AdminUpdateOfficialContentFileLocationForbidden) Error

func (*AdminUpdateOfficialContentFileLocationForbidden) GetPayload

func (*AdminUpdateOfficialContentFileLocationForbidden) ToJSONString

type AdminUpdateOfficialContentFileLocationInternalServerError

type AdminUpdateOfficialContentFileLocationInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateOfficialContentFileLocationInternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>774003</td><td>unable to update content file location</td></tr></table>

func NewAdminUpdateOfficialContentFileLocationInternalServerError

func NewAdminUpdateOfficialContentFileLocationInternalServerError() *AdminUpdateOfficialContentFileLocationInternalServerError

NewAdminUpdateOfficialContentFileLocationInternalServerError creates a AdminUpdateOfficialContentFileLocationInternalServerError with default headers values

func (*AdminUpdateOfficialContentFileLocationInternalServerError) Error

func (*AdminUpdateOfficialContentFileLocationInternalServerError) GetPayload

func (*AdminUpdateOfficialContentFileLocationInternalServerError) ToJSONString

type AdminUpdateOfficialContentFileLocationNotFound

type AdminUpdateOfficialContentFileLocationNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateOfficialContentFileLocationNotFound handles this case with default header values.

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

func NewAdminUpdateOfficialContentFileLocationNotFound

func NewAdminUpdateOfficialContentFileLocationNotFound() *AdminUpdateOfficialContentFileLocationNotFound

NewAdminUpdateOfficialContentFileLocationNotFound creates a AdminUpdateOfficialContentFileLocationNotFound with default headers values

func (*AdminUpdateOfficialContentFileLocationNotFound) Error

func (*AdminUpdateOfficialContentFileLocationNotFound) GetPayload

func (*AdminUpdateOfficialContentFileLocationNotFound) ToJSONString

type AdminUpdateOfficialContentFileLocationOK

type AdminUpdateOfficialContentFileLocationOK struct {
	Payload *ugcclientmodels.ModelsUpdateContentResponseV2
}

AdminUpdateOfficialContentFileLocationOK handles this case with default header values.

Update content file location

func NewAdminUpdateOfficialContentFileLocationOK

func NewAdminUpdateOfficialContentFileLocationOK() *AdminUpdateOfficialContentFileLocationOK

NewAdminUpdateOfficialContentFileLocationOK creates a AdminUpdateOfficialContentFileLocationOK with default headers values

func (*AdminUpdateOfficialContentFileLocationOK) Error

func (*AdminUpdateOfficialContentFileLocationOK) GetPayload

func (*AdminUpdateOfficialContentFileLocationOK) ToJSONString

type AdminUpdateOfficialContentFileLocationParams

type AdminUpdateOfficialContentFileLocationParams struct {

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

	*/
	ChannelID string
	/*ContentID
	  content ID

	*/
	ContentID string
	/*Namespace
	  namespace of the game

	*/
	Namespace string

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

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

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

func NewAdminUpdateOfficialContentFileLocationParams

func NewAdminUpdateOfficialContentFileLocationParams() *AdminUpdateOfficialContentFileLocationParams

NewAdminUpdateOfficialContentFileLocationParams creates a new AdminUpdateOfficialContentFileLocationParams object with the default values initialized.

func NewAdminUpdateOfficialContentFileLocationParamsWithContext

func NewAdminUpdateOfficialContentFileLocationParamsWithContext(ctx context.Context) *AdminUpdateOfficialContentFileLocationParams

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

func NewAdminUpdateOfficialContentFileLocationParamsWithHTTPClient

func NewAdminUpdateOfficialContentFileLocationParamsWithHTTPClient(client *http.Client) *AdminUpdateOfficialContentFileLocationParams

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

func NewAdminUpdateOfficialContentFileLocationParamsWithTimeout

func NewAdminUpdateOfficialContentFileLocationParamsWithTimeout(timeout time.Duration) *AdminUpdateOfficialContentFileLocationParams

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

func (*AdminUpdateOfficialContentFileLocationParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin update official content file location params

func (*AdminUpdateOfficialContentFileLocationParams) SetBody

SetBody adds the body to the admin update official content file location params

func (*AdminUpdateOfficialContentFileLocationParams) SetChannelID

func (o *AdminUpdateOfficialContentFileLocationParams) SetChannelID(channelID string)

SetChannelID adds the channelId to the admin update official content file location params

func (*AdminUpdateOfficialContentFileLocationParams) SetContentID

func (o *AdminUpdateOfficialContentFileLocationParams) SetContentID(contentID string)

SetContentID adds the contentId to the admin update official content file location params

func (*AdminUpdateOfficialContentFileLocationParams) SetContext

SetContext adds the context to the admin update official content file location params

func (*AdminUpdateOfficialContentFileLocationParams) SetFlightId

func (o *AdminUpdateOfficialContentFileLocationParams) SetFlightId(flightId string)

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

func (*AdminUpdateOfficialContentFileLocationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin update official content file location params

func (*AdminUpdateOfficialContentFileLocationParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin update official content file location params

func (*AdminUpdateOfficialContentFileLocationParams) SetNamespace

func (o *AdminUpdateOfficialContentFileLocationParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin update official content file location params

func (*AdminUpdateOfficialContentFileLocationParams) SetTimeout

SetTimeout adds the timeout to the admin update official content file location params

func (*AdminUpdateOfficialContentFileLocationParams) WithBody

WithBody adds the body to the admin update official content file location params

func (*AdminUpdateOfficialContentFileLocationParams) WithChannelID

WithChannelID adds the channelID to the admin update official content file location params

func (*AdminUpdateOfficialContentFileLocationParams) WithContentID

WithContentID adds the contentID to the admin update official content file location params

func (*AdminUpdateOfficialContentFileLocationParams) WithContext

WithContext adds the context to the admin update official content file location params

func (*AdminUpdateOfficialContentFileLocationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin update official content file location params

func (*AdminUpdateOfficialContentFileLocationParams) WithNamespace

WithNamespace adds the namespace to the admin update official content file location params

func (*AdminUpdateOfficialContentFileLocationParams) WithTimeout

WithTimeout adds the timeout to the admin update official content file location params

func (*AdminUpdateOfficialContentFileLocationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUpdateOfficialContentFileLocationReader

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

AdminUpdateOfficialContentFileLocationReader is a Reader for the AdminUpdateOfficialContentFileLocation structure.

func (*AdminUpdateOfficialContentFileLocationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUpdateOfficialContentFileLocationUnauthorized

type AdminUpdateOfficialContentFileLocationUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateOfficialContentFileLocationUnauthorized 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 NewAdminUpdateOfficialContentFileLocationUnauthorized

func NewAdminUpdateOfficialContentFileLocationUnauthorized() *AdminUpdateOfficialContentFileLocationUnauthorized

NewAdminUpdateOfficialContentFileLocationUnauthorized creates a AdminUpdateOfficialContentFileLocationUnauthorized with default headers values

func (*AdminUpdateOfficialContentFileLocationUnauthorized) Error

func (*AdminUpdateOfficialContentFileLocationUnauthorized) GetPayload

func (*AdminUpdateOfficialContentFileLocationUnauthorized) ToJSONString

type AdminUpdateOfficialContentV2BadRequest

type AdminUpdateOfficialContentV2BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateOfficialContentV2BadRequest 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 NewAdminUpdateOfficialContentV2BadRequest

func NewAdminUpdateOfficialContentV2BadRequest() *AdminUpdateOfficialContentV2BadRequest

NewAdminUpdateOfficialContentV2BadRequest creates a AdminUpdateOfficialContentV2BadRequest with default headers values

func (*AdminUpdateOfficialContentV2BadRequest) Error

func (*AdminUpdateOfficialContentV2BadRequest) GetPayload

func (*AdminUpdateOfficialContentV2BadRequest) ToJSONString

type AdminUpdateOfficialContentV2Conflict

type AdminUpdateOfficialContentV2Conflict struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateOfficialContentV2Conflict 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 NewAdminUpdateOfficialContentV2Conflict

func NewAdminUpdateOfficialContentV2Conflict() *AdminUpdateOfficialContentV2Conflict

NewAdminUpdateOfficialContentV2Conflict creates a AdminUpdateOfficialContentV2Conflict with default headers values

func (*AdminUpdateOfficialContentV2Conflict) Error

func (*AdminUpdateOfficialContentV2Conflict) GetPayload

func (*AdminUpdateOfficialContentV2Conflict) ToJSONString

func (o *AdminUpdateOfficialContentV2Conflict) ToJSONString() string

type AdminUpdateOfficialContentV2InternalServerError

type AdminUpdateOfficialContentV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateOfficialContentV2InternalServerError 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 NewAdminUpdateOfficialContentV2InternalServerError

func NewAdminUpdateOfficialContentV2InternalServerError() *AdminUpdateOfficialContentV2InternalServerError

NewAdminUpdateOfficialContentV2InternalServerError creates a AdminUpdateOfficialContentV2InternalServerError with default headers values

func (*AdminUpdateOfficialContentV2InternalServerError) Error

func (*AdminUpdateOfficialContentV2InternalServerError) GetPayload

func (*AdminUpdateOfficialContentV2InternalServerError) ToJSONString

type AdminUpdateOfficialContentV2NotFound

type AdminUpdateOfficialContentV2NotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateOfficialContentV2NotFound 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 NewAdminUpdateOfficialContentV2NotFound

func NewAdminUpdateOfficialContentV2NotFound() *AdminUpdateOfficialContentV2NotFound

NewAdminUpdateOfficialContentV2NotFound creates a AdminUpdateOfficialContentV2NotFound with default headers values

func (*AdminUpdateOfficialContentV2NotFound) Error

func (*AdminUpdateOfficialContentV2NotFound) GetPayload

func (*AdminUpdateOfficialContentV2NotFound) ToJSONString

func (o *AdminUpdateOfficialContentV2NotFound) ToJSONString() string

type AdminUpdateOfficialContentV2OK

type AdminUpdateOfficialContentV2OK struct {
	Payload *ugcclientmodels.ModelsUpdateContentResponseV2
}

AdminUpdateOfficialContentV2OK handles this case with default header values.

Update official content

func NewAdminUpdateOfficialContentV2OK

func NewAdminUpdateOfficialContentV2OK() *AdminUpdateOfficialContentV2OK

NewAdminUpdateOfficialContentV2OK creates a AdminUpdateOfficialContentV2OK with default headers values

func (*AdminUpdateOfficialContentV2OK) Error

func (*AdminUpdateOfficialContentV2OK) GetPayload

func (*AdminUpdateOfficialContentV2OK) ToJSONString

func (o *AdminUpdateOfficialContentV2OK) ToJSONString() string

type AdminUpdateOfficialContentV2Params

type AdminUpdateOfficialContentV2Params struct {

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

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

func NewAdminUpdateOfficialContentV2Params

func NewAdminUpdateOfficialContentV2Params() *AdminUpdateOfficialContentV2Params

NewAdminUpdateOfficialContentV2Params creates a new AdminUpdateOfficialContentV2Params object with the default values initialized.

func NewAdminUpdateOfficialContentV2ParamsWithContext

func NewAdminUpdateOfficialContentV2ParamsWithContext(ctx context.Context) *AdminUpdateOfficialContentV2Params

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

func NewAdminUpdateOfficialContentV2ParamsWithHTTPClient

func NewAdminUpdateOfficialContentV2ParamsWithHTTPClient(client *http.Client) *AdminUpdateOfficialContentV2Params

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

func NewAdminUpdateOfficialContentV2ParamsWithTimeout

func NewAdminUpdateOfficialContentV2ParamsWithTimeout(timeout time.Duration) *AdminUpdateOfficialContentV2Params

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

func (*AdminUpdateOfficialContentV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin update official content v2 params

func (*AdminUpdateOfficialContentV2Params) SetBody

SetBody adds the body to the admin update official content v2 params

func (*AdminUpdateOfficialContentV2Params) SetChannelID

func (o *AdminUpdateOfficialContentV2Params) SetChannelID(channelID string)

SetChannelID adds the channelId to the admin update official content v2 params

func (*AdminUpdateOfficialContentV2Params) SetContentID

func (o *AdminUpdateOfficialContentV2Params) SetContentID(contentID string)

SetContentID adds the contentId to the admin update official content v2 params

func (*AdminUpdateOfficialContentV2Params) SetContext

SetContext adds the context to the admin update official content v2 params

func (*AdminUpdateOfficialContentV2Params) SetFlightId

func (o *AdminUpdateOfficialContentV2Params) SetFlightId(flightId string)

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

func (*AdminUpdateOfficialContentV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin update official content v2 params

func (*AdminUpdateOfficialContentV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin update official content v2 params

func (*AdminUpdateOfficialContentV2Params) SetNamespace

func (o *AdminUpdateOfficialContentV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin update official content v2 params

func (*AdminUpdateOfficialContentV2Params) SetTimeout

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

SetTimeout adds the timeout to the admin update official content v2 params

func (*AdminUpdateOfficialContentV2Params) WithBody

WithBody adds the body to the admin update official content v2 params

func (*AdminUpdateOfficialContentV2Params) WithChannelID

WithChannelID adds the channelID to the admin update official content v2 params

func (*AdminUpdateOfficialContentV2Params) WithContentID

WithContentID adds the contentID to the admin update official content v2 params

func (*AdminUpdateOfficialContentV2Params) WithContext

WithContext adds the context to the admin update official content v2 params

func (*AdminUpdateOfficialContentV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin update official content v2 params

func (*AdminUpdateOfficialContentV2Params) WithNamespace

WithNamespace adds the namespace to the admin update official content v2 params

func (*AdminUpdateOfficialContentV2Params) WithTimeout

WithTimeout adds the timeout to the admin update official content v2 params

func (*AdminUpdateOfficialContentV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUpdateOfficialContentV2Reader

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

AdminUpdateOfficialContentV2Reader is a Reader for the AdminUpdateOfficialContentV2 structure.

func (*AdminUpdateOfficialContentV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUpdateOfficialContentV2Unauthorized

type AdminUpdateOfficialContentV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateOfficialContentV2Unauthorized 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 NewAdminUpdateOfficialContentV2Unauthorized

func NewAdminUpdateOfficialContentV2Unauthorized() *AdminUpdateOfficialContentV2Unauthorized

NewAdminUpdateOfficialContentV2Unauthorized creates a AdminUpdateOfficialContentV2Unauthorized with default headers values

func (*AdminUpdateOfficialContentV2Unauthorized) Error

func (*AdminUpdateOfficialContentV2Unauthorized) GetPayload

func (*AdminUpdateOfficialContentV2Unauthorized) ToJSONString

type AdminUpdateScreenshotsV2BadRequest

type AdminUpdateScreenshotsV2BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateScreenshotsV2BadRequest 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 NewAdminUpdateScreenshotsV2BadRequest

func NewAdminUpdateScreenshotsV2BadRequest() *AdminUpdateScreenshotsV2BadRequest

NewAdminUpdateScreenshotsV2BadRequest creates a AdminUpdateScreenshotsV2BadRequest with default headers values

func (*AdminUpdateScreenshotsV2BadRequest) Error

func (*AdminUpdateScreenshotsV2BadRequest) GetPayload

func (*AdminUpdateScreenshotsV2BadRequest) ToJSONString

func (o *AdminUpdateScreenshotsV2BadRequest) ToJSONString() string

type AdminUpdateScreenshotsV2Forbidden

type AdminUpdateScreenshotsV2Forbidden struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateScreenshotsV2Forbidden 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 NewAdminUpdateScreenshotsV2Forbidden

func NewAdminUpdateScreenshotsV2Forbidden() *AdminUpdateScreenshotsV2Forbidden

NewAdminUpdateScreenshotsV2Forbidden creates a AdminUpdateScreenshotsV2Forbidden with default headers values

func (*AdminUpdateScreenshotsV2Forbidden) Error

func (*AdminUpdateScreenshotsV2Forbidden) GetPayload

func (*AdminUpdateScreenshotsV2Forbidden) ToJSONString

func (o *AdminUpdateScreenshotsV2Forbidden) ToJSONString() string

type AdminUpdateScreenshotsV2InternalServerError

type AdminUpdateScreenshotsV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateScreenshotsV2InternalServerError 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 NewAdminUpdateScreenshotsV2InternalServerError

func NewAdminUpdateScreenshotsV2InternalServerError() *AdminUpdateScreenshotsV2InternalServerError

NewAdminUpdateScreenshotsV2InternalServerError creates a AdminUpdateScreenshotsV2InternalServerError with default headers values

func (*AdminUpdateScreenshotsV2InternalServerError) Error

func (*AdminUpdateScreenshotsV2InternalServerError) GetPayload

func (*AdminUpdateScreenshotsV2InternalServerError) ToJSONString

type AdminUpdateScreenshotsV2NotFound

type AdminUpdateScreenshotsV2NotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateScreenshotsV2NotFound 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 NewAdminUpdateScreenshotsV2NotFound

func NewAdminUpdateScreenshotsV2NotFound() *AdminUpdateScreenshotsV2NotFound

NewAdminUpdateScreenshotsV2NotFound creates a AdminUpdateScreenshotsV2NotFound with default headers values

func (*AdminUpdateScreenshotsV2NotFound) Error

func (*AdminUpdateScreenshotsV2NotFound) GetPayload

func (*AdminUpdateScreenshotsV2NotFound) ToJSONString

func (o *AdminUpdateScreenshotsV2NotFound) ToJSONString() string

type AdminUpdateScreenshotsV2OK

type AdminUpdateScreenshotsV2OK struct {
	Payload *ugcclientmodels.ModelsUpdateScreenshotResponse
}

AdminUpdateScreenshotsV2OK handles this case with default header values.

Screenshot updated

func NewAdminUpdateScreenshotsV2OK

func NewAdminUpdateScreenshotsV2OK() *AdminUpdateScreenshotsV2OK

NewAdminUpdateScreenshotsV2OK creates a AdminUpdateScreenshotsV2OK with default headers values

func (*AdminUpdateScreenshotsV2OK) Error

func (*AdminUpdateScreenshotsV2OK) GetPayload

func (*AdminUpdateScreenshotsV2OK) ToJSONString

func (o *AdminUpdateScreenshotsV2OK) ToJSONString() string

type AdminUpdateScreenshotsV2Params

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

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

func NewAdminUpdateScreenshotsV2Params

func NewAdminUpdateScreenshotsV2Params() *AdminUpdateScreenshotsV2Params

NewAdminUpdateScreenshotsV2Params creates a new AdminUpdateScreenshotsV2Params object with the default values initialized.

func NewAdminUpdateScreenshotsV2ParamsWithContext

func NewAdminUpdateScreenshotsV2ParamsWithContext(ctx context.Context) *AdminUpdateScreenshotsV2Params

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

func NewAdminUpdateScreenshotsV2ParamsWithHTTPClient

func NewAdminUpdateScreenshotsV2ParamsWithHTTPClient(client *http.Client) *AdminUpdateScreenshotsV2Params

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

func NewAdminUpdateScreenshotsV2ParamsWithTimeout

func NewAdminUpdateScreenshotsV2ParamsWithTimeout(timeout time.Duration) *AdminUpdateScreenshotsV2Params

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

func (*AdminUpdateScreenshotsV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin update screenshots v2 params

func (*AdminUpdateScreenshotsV2Params) SetBody

SetBody adds the body to the admin update screenshots v2 params

func (*AdminUpdateScreenshotsV2Params) SetContentID

func (o *AdminUpdateScreenshotsV2Params) SetContentID(contentID string)

SetContentID adds the contentId to the admin update screenshots v2 params

func (*AdminUpdateScreenshotsV2Params) SetContext

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

SetContext adds the context to the admin update screenshots v2 params

func (*AdminUpdateScreenshotsV2Params) SetFlightId

func (o *AdminUpdateScreenshotsV2Params) SetFlightId(flightId string)

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

func (*AdminUpdateScreenshotsV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin update screenshots v2 params

func (*AdminUpdateScreenshotsV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin update screenshots v2 params

func (*AdminUpdateScreenshotsV2Params) SetNamespace

func (o *AdminUpdateScreenshotsV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin update screenshots v2 params

func (*AdminUpdateScreenshotsV2Params) SetTimeout

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

SetTimeout adds the timeout to the admin update screenshots v2 params

func (*AdminUpdateScreenshotsV2Params) WithBody

WithBody adds the body to the admin update screenshots v2 params

func (*AdminUpdateScreenshotsV2Params) WithContentID

WithContentID adds the contentID to the admin update screenshots v2 params

func (*AdminUpdateScreenshotsV2Params) WithContext

WithContext adds the context to the admin update screenshots v2 params

func (*AdminUpdateScreenshotsV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin update screenshots v2 params

func (*AdminUpdateScreenshotsV2Params) WithNamespace

WithNamespace adds the namespace to the admin update screenshots v2 params

func (*AdminUpdateScreenshotsV2Params) WithTimeout

WithTimeout adds the timeout to the admin update screenshots v2 params

func (*AdminUpdateScreenshotsV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUpdateScreenshotsV2Reader

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

AdminUpdateScreenshotsV2Reader is a Reader for the AdminUpdateScreenshotsV2 structure.

func (*AdminUpdateScreenshotsV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUpdateScreenshotsV2Unauthorized

type AdminUpdateScreenshotsV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateScreenshotsV2Unauthorized 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 NewAdminUpdateScreenshotsV2Unauthorized

func NewAdminUpdateScreenshotsV2Unauthorized() *AdminUpdateScreenshotsV2Unauthorized

NewAdminUpdateScreenshotsV2Unauthorized creates a AdminUpdateScreenshotsV2Unauthorized with default headers values

func (*AdminUpdateScreenshotsV2Unauthorized) Error

func (*AdminUpdateScreenshotsV2Unauthorized) GetPayload

func (*AdminUpdateScreenshotsV2Unauthorized) ToJSONString

func (o *AdminUpdateScreenshotsV2Unauthorized) ToJSONString() string

type AdminUpdateUserContentFileLocationBadRequest

type AdminUpdateUserContentFileLocationBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateUserContentFileLocationBadRequest handles this case with default header values.

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

func NewAdminUpdateUserContentFileLocationBadRequest

func NewAdminUpdateUserContentFileLocationBadRequest() *AdminUpdateUserContentFileLocationBadRequest

NewAdminUpdateUserContentFileLocationBadRequest creates a AdminUpdateUserContentFileLocationBadRequest with default headers values

func (*AdminUpdateUserContentFileLocationBadRequest) Error

func (*AdminUpdateUserContentFileLocationBadRequest) GetPayload

func (*AdminUpdateUserContentFileLocationBadRequest) ToJSONString

type AdminUpdateUserContentFileLocationForbidden

type AdminUpdateUserContentFileLocationForbidden struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateUserContentFileLocationForbidden 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 NewAdminUpdateUserContentFileLocationForbidden

func NewAdminUpdateUserContentFileLocationForbidden() *AdminUpdateUserContentFileLocationForbidden

NewAdminUpdateUserContentFileLocationForbidden creates a AdminUpdateUserContentFileLocationForbidden with default headers values

func (*AdminUpdateUserContentFileLocationForbidden) Error

func (*AdminUpdateUserContentFileLocationForbidden) GetPayload

func (*AdminUpdateUserContentFileLocationForbidden) ToJSONString

type AdminUpdateUserContentFileLocationInternalServerError

type AdminUpdateUserContentFileLocationInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateUserContentFileLocationInternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>774003</td><td>unable to update content file location</td></tr></table>

func NewAdminUpdateUserContentFileLocationInternalServerError

func NewAdminUpdateUserContentFileLocationInternalServerError() *AdminUpdateUserContentFileLocationInternalServerError

NewAdminUpdateUserContentFileLocationInternalServerError creates a AdminUpdateUserContentFileLocationInternalServerError with default headers values

func (*AdminUpdateUserContentFileLocationInternalServerError) Error

func (*AdminUpdateUserContentFileLocationInternalServerError) GetPayload

func (*AdminUpdateUserContentFileLocationInternalServerError) ToJSONString

type AdminUpdateUserContentFileLocationNotFound

type AdminUpdateUserContentFileLocationNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateUserContentFileLocationNotFound handles this case with default header values.

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

func NewAdminUpdateUserContentFileLocationNotFound

func NewAdminUpdateUserContentFileLocationNotFound() *AdminUpdateUserContentFileLocationNotFound

NewAdminUpdateUserContentFileLocationNotFound creates a AdminUpdateUserContentFileLocationNotFound with default headers values

func (*AdminUpdateUserContentFileLocationNotFound) Error

func (*AdminUpdateUserContentFileLocationNotFound) GetPayload

func (*AdminUpdateUserContentFileLocationNotFound) ToJSONString

type AdminUpdateUserContentFileLocationOK

type AdminUpdateUserContentFileLocationOK struct {
	Payload *ugcclientmodels.ModelsUpdateContentResponseV2
}

AdminUpdateUserContentFileLocationOK handles this case with default header values.

Update user content file location

func NewAdminUpdateUserContentFileLocationOK

func NewAdminUpdateUserContentFileLocationOK() *AdminUpdateUserContentFileLocationOK

NewAdminUpdateUserContentFileLocationOK creates a AdminUpdateUserContentFileLocationOK with default headers values

func (*AdminUpdateUserContentFileLocationOK) Error

func (*AdminUpdateUserContentFileLocationOK) GetPayload

func (*AdminUpdateUserContentFileLocationOK) ToJSONString

func (o *AdminUpdateUserContentFileLocationOK) ToJSONString() string

type AdminUpdateUserContentFileLocationParams

type AdminUpdateUserContentFileLocationParams struct {

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

	*/
	ChannelID string
	/*ContentID
	  content ID

	*/
	ContentID string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  user ID

	*/
	UserID string

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

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

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

func NewAdminUpdateUserContentFileLocationParams

func NewAdminUpdateUserContentFileLocationParams() *AdminUpdateUserContentFileLocationParams

NewAdminUpdateUserContentFileLocationParams creates a new AdminUpdateUserContentFileLocationParams object with the default values initialized.

func NewAdminUpdateUserContentFileLocationParamsWithContext

func NewAdminUpdateUserContentFileLocationParamsWithContext(ctx context.Context) *AdminUpdateUserContentFileLocationParams

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

func NewAdminUpdateUserContentFileLocationParamsWithHTTPClient

func NewAdminUpdateUserContentFileLocationParamsWithHTTPClient(client *http.Client) *AdminUpdateUserContentFileLocationParams

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

func NewAdminUpdateUserContentFileLocationParamsWithTimeout

func NewAdminUpdateUserContentFileLocationParamsWithTimeout(timeout time.Duration) *AdminUpdateUserContentFileLocationParams

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

func (*AdminUpdateUserContentFileLocationParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin update user content file location params

func (*AdminUpdateUserContentFileLocationParams) SetBody

SetBody adds the body to the admin update user content file location params

func (*AdminUpdateUserContentFileLocationParams) SetChannelID

func (o *AdminUpdateUserContentFileLocationParams) SetChannelID(channelID string)

SetChannelID adds the channelId to the admin update user content file location params

func (*AdminUpdateUserContentFileLocationParams) SetContentID

func (o *AdminUpdateUserContentFileLocationParams) SetContentID(contentID string)

SetContentID adds the contentId to the admin update user content file location params

func (*AdminUpdateUserContentFileLocationParams) SetContext

SetContext adds the context to the admin update user content file location params

func (*AdminUpdateUserContentFileLocationParams) SetFlightId

func (o *AdminUpdateUserContentFileLocationParams) SetFlightId(flightId string)

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

func (*AdminUpdateUserContentFileLocationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin update user content file location params

func (*AdminUpdateUserContentFileLocationParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin update user content file location params

func (*AdminUpdateUserContentFileLocationParams) SetNamespace

func (o *AdminUpdateUserContentFileLocationParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin update user content file location params

func (*AdminUpdateUserContentFileLocationParams) SetTimeout

SetTimeout adds the timeout to the admin update user content file location params

func (*AdminUpdateUserContentFileLocationParams) SetUserID

func (o *AdminUpdateUserContentFileLocationParams) SetUserID(userID string)

SetUserID adds the userId to the admin update user content file location params

func (*AdminUpdateUserContentFileLocationParams) WithBody

WithBody adds the body to the admin update user content file location params

func (*AdminUpdateUserContentFileLocationParams) WithChannelID

WithChannelID adds the channelID to the admin update user content file location params

func (*AdminUpdateUserContentFileLocationParams) WithContentID

WithContentID adds the contentID to the admin update user content file location params

func (*AdminUpdateUserContentFileLocationParams) WithContext

WithContext adds the context to the admin update user content file location params

func (*AdminUpdateUserContentFileLocationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin update user content file location params

func (*AdminUpdateUserContentFileLocationParams) WithNamespace

WithNamespace adds the namespace to the admin update user content file location params

func (*AdminUpdateUserContentFileLocationParams) WithTimeout

WithTimeout adds the timeout to the admin update user content file location params

func (*AdminUpdateUserContentFileLocationParams) WithUserID

WithUserID adds the userID to the admin update user content file location params

func (*AdminUpdateUserContentFileLocationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUpdateUserContentFileLocationReader

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

AdminUpdateUserContentFileLocationReader is a Reader for the AdminUpdateUserContentFileLocation structure.

func (*AdminUpdateUserContentFileLocationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUpdateUserContentFileLocationUnauthorized

type AdminUpdateUserContentFileLocationUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateUserContentFileLocationUnauthorized 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 NewAdminUpdateUserContentFileLocationUnauthorized

func NewAdminUpdateUserContentFileLocationUnauthorized() *AdminUpdateUserContentFileLocationUnauthorized

NewAdminUpdateUserContentFileLocationUnauthorized creates a AdminUpdateUserContentFileLocationUnauthorized with default headers values

func (*AdminUpdateUserContentFileLocationUnauthorized) Error

func (*AdminUpdateUserContentFileLocationUnauthorized) GetPayload

func (*AdminUpdateUserContentFileLocationUnauthorized) ToJSONString

type AdminUpdateUserContentV2BadRequest

type AdminUpdateUserContentV2BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateUserContentV2BadRequest 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 NewAdminUpdateUserContentV2BadRequest

func NewAdminUpdateUserContentV2BadRequest() *AdminUpdateUserContentV2BadRequest

NewAdminUpdateUserContentV2BadRequest creates a AdminUpdateUserContentV2BadRequest with default headers values

func (*AdminUpdateUserContentV2BadRequest) Error

func (*AdminUpdateUserContentV2BadRequest) GetPayload

func (*AdminUpdateUserContentV2BadRequest) ToJSONString

func (o *AdminUpdateUserContentV2BadRequest) ToJSONString() string

type AdminUpdateUserContentV2Conflict

type AdminUpdateUserContentV2Conflict struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateUserContentV2Conflict 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 NewAdminUpdateUserContentV2Conflict

func NewAdminUpdateUserContentV2Conflict() *AdminUpdateUserContentV2Conflict

NewAdminUpdateUserContentV2Conflict creates a AdminUpdateUserContentV2Conflict with default headers values

func (*AdminUpdateUserContentV2Conflict) Error

func (*AdminUpdateUserContentV2Conflict) GetPayload

func (*AdminUpdateUserContentV2Conflict) ToJSONString

func (o *AdminUpdateUserContentV2Conflict) ToJSONString() string

type AdminUpdateUserContentV2InternalServerError

type AdminUpdateUserContentV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateUserContentV2InternalServerError 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 NewAdminUpdateUserContentV2InternalServerError

func NewAdminUpdateUserContentV2InternalServerError() *AdminUpdateUserContentV2InternalServerError

NewAdminUpdateUserContentV2InternalServerError creates a AdminUpdateUserContentV2InternalServerError with default headers values

func (*AdminUpdateUserContentV2InternalServerError) Error

func (*AdminUpdateUserContentV2InternalServerError) GetPayload

func (*AdminUpdateUserContentV2InternalServerError) ToJSONString

type AdminUpdateUserContentV2NotFound

type AdminUpdateUserContentV2NotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateUserContentV2NotFound 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 NewAdminUpdateUserContentV2NotFound

func NewAdminUpdateUserContentV2NotFound() *AdminUpdateUserContentV2NotFound

NewAdminUpdateUserContentV2NotFound creates a AdminUpdateUserContentV2NotFound with default headers values

func (*AdminUpdateUserContentV2NotFound) Error

func (*AdminUpdateUserContentV2NotFound) GetPayload

func (*AdminUpdateUserContentV2NotFound) ToJSONString

func (o *AdminUpdateUserContentV2NotFound) ToJSONString() string

type AdminUpdateUserContentV2OK

type AdminUpdateUserContentV2OK struct {
	Payload *ugcclientmodels.ModelsUpdateContentResponseV2
}

AdminUpdateUserContentV2OK handles this case with default header values.

Update user content

func NewAdminUpdateUserContentV2OK

func NewAdminUpdateUserContentV2OK() *AdminUpdateUserContentV2OK

NewAdminUpdateUserContentV2OK creates a AdminUpdateUserContentV2OK with default headers values

func (*AdminUpdateUserContentV2OK) Error

func (*AdminUpdateUserContentV2OK) GetPayload

func (*AdminUpdateUserContentV2OK) ToJSONString

func (o *AdminUpdateUserContentV2OK) ToJSONString() string

type AdminUpdateUserContentV2Params

type AdminUpdateUserContentV2Params struct {

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

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

func NewAdminUpdateUserContentV2Params

func NewAdminUpdateUserContentV2Params() *AdminUpdateUserContentV2Params

NewAdminUpdateUserContentV2Params creates a new AdminUpdateUserContentV2Params object with the default values initialized.

func NewAdminUpdateUserContentV2ParamsWithContext

func NewAdminUpdateUserContentV2ParamsWithContext(ctx context.Context) *AdminUpdateUserContentV2Params

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

func NewAdminUpdateUserContentV2ParamsWithHTTPClient

func NewAdminUpdateUserContentV2ParamsWithHTTPClient(client *http.Client) *AdminUpdateUserContentV2Params

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

func NewAdminUpdateUserContentV2ParamsWithTimeout

func NewAdminUpdateUserContentV2ParamsWithTimeout(timeout time.Duration) *AdminUpdateUserContentV2Params

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

func (*AdminUpdateUserContentV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin update user content v2 params

func (*AdminUpdateUserContentV2Params) SetBody

SetBody adds the body to the admin update user content v2 params

func (*AdminUpdateUserContentV2Params) SetChannelID

func (o *AdminUpdateUserContentV2Params) SetChannelID(channelID string)

SetChannelID adds the channelId to the admin update user content v2 params

func (*AdminUpdateUserContentV2Params) SetContentID

func (o *AdminUpdateUserContentV2Params) SetContentID(contentID string)

SetContentID adds the contentId to the admin update user content v2 params

func (*AdminUpdateUserContentV2Params) SetContext

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

SetContext adds the context to the admin update user content v2 params

func (*AdminUpdateUserContentV2Params) SetFlightId

func (o *AdminUpdateUserContentV2Params) SetFlightId(flightId string)

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

func (*AdminUpdateUserContentV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin update user content v2 params

func (*AdminUpdateUserContentV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin update user content v2 params

func (*AdminUpdateUserContentV2Params) SetNamespace

func (o *AdminUpdateUserContentV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin update user content v2 params

func (*AdminUpdateUserContentV2Params) SetTimeout

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

SetTimeout adds the timeout to the admin update user content v2 params

func (*AdminUpdateUserContentV2Params) SetUserID

func (o *AdminUpdateUserContentV2Params) SetUserID(userID string)

SetUserID adds the userId to the admin update user content v2 params

func (*AdminUpdateUserContentV2Params) WithBody

WithBody adds the body to the admin update user content v2 params

func (*AdminUpdateUserContentV2Params) WithChannelID

WithChannelID adds the channelID to the admin update user content v2 params

func (*AdminUpdateUserContentV2Params) WithContentID

WithContentID adds the contentID to the admin update user content v2 params

func (*AdminUpdateUserContentV2Params) WithContext

WithContext adds the context to the admin update user content v2 params

func (*AdminUpdateUserContentV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin update user content v2 params

func (*AdminUpdateUserContentV2Params) WithNamespace

WithNamespace adds the namespace to the admin update user content v2 params

func (*AdminUpdateUserContentV2Params) WithTimeout

WithTimeout adds the timeout to the admin update user content v2 params

func (*AdminUpdateUserContentV2Params) WithUserID

WithUserID adds the userID to the admin update user content v2 params

func (*AdminUpdateUserContentV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUpdateUserContentV2Reader

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

AdminUpdateUserContentV2Reader is a Reader for the AdminUpdateUserContentV2 structure.

func (*AdminUpdateUserContentV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUpdateUserContentV2Unauthorized

type AdminUpdateUserContentV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateUserContentV2Unauthorized 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 NewAdminUpdateUserContentV2Unauthorized

func NewAdminUpdateUserContentV2Unauthorized() *AdminUpdateUserContentV2Unauthorized

NewAdminUpdateUserContentV2Unauthorized creates a AdminUpdateUserContentV2Unauthorized with default headers values

func (*AdminUpdateUserContentV2Unauthorized) Error

func (*AdminUpdateUserContentV2Unauthorized) GetPayload

func (*AdminUpdateUserContentV2Unauthorized) ToJSONString

func (o *AdminUpdateUserContentV2Unauthorized) ToJSONString() string

type AdminUploadContentScreenshotV2BadRequest

type AdminUploadContentScreenshotV2BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUploadContentScreenshotV2BadRequest 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 NewAdminUploadContentScreenshotV2BadRequest

func NewAdminUploadContentScreenshotV2BadRequest() *AdminUploadContentScreenshotV2BadRequest

NewAdminUploadContentScreenshotV2BadRequest creates a AdminUploadContentScreenshotV2BadRequest with default headers values

func (*AdminUploadContentScreenshotV2BadRequest) Error

func (*AdminUploadContentScreenshotV2BadRequest) GetPayload

func (*AdminUploadContentScreenshotV2BadRequest) ToJSONString

type AdminUploadContentScreenshotV2Created

type AdminUploadContentScreenshotV2Created struct {
	Payload *ugcclientmodels.ModelsCreateScreenshotResponse
}

AdminUploadContentScreenshotV2Created handles this case with default header values.

Screenshot uploaded

func NewAdminUploadContentScreenshotV2Created

func NewAdminUploadContentScreenshotV2Created() *AdminUploadContentScreenshotV2Created

NewAdminUploadContentScreenshotV2Created creates a AdminUploadContentScreenshotV2Created with default headers values

func (*AdminUploadContentScreenshotV2Created) Error

func (*AdminUploadContentScreenshotV2Created) GetPayload

func (*AdminUploadContentScreenshotV2Created) ToJSONString

type AdminUploadContentScreenshotV2Forbidden

type AdminUploadContentScreenshotV2Forbidden struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUploadContentScreenshotV2Forbidden 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 NewAdminUploadContentScreenshotV2Forbidden

func NewAdminUploadContentScreenshotV2Forbidden() *AdminUploadContentScreenshotV2Forbidden

NewAdminUploadContentScreenshotV2Forbidden creates a AdminUploadContentScreenshotV2Forbidden with default headers values

func (*AdminUploadContentScreenshotV2Forbidden) Error

func (*AdminUploadContentScreenshotV2Forbidden) GetPayload

func (*AdminUploadContentScreenshotV2Forbidden) ToJSONString

type AdminUploadContentScreenshotV2InternalServerError

type AdminUploadContentScreenshotV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUploadContentScreenshotV2InternalServerError 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 NewAdminUploadContentScreenshotV2InternalServerError

func NewAdminUploadContentScreenshotV2InternalServerError() *AdminUploadContentScreenshotV2InternalServerError

NewAdminUploadContentScreenshotV2InternalServerError creates a AdminUploadContentScreenshotV2InternalServerError with default headers values

func (*AdminUploadContentScreenshotV2InternalServerError) Error

func (*AdminUploadContentScreenshotV2InternalServerError) GetPayload

func (*AdminUploadContentScreenshotV2InternalServerError) ToJSONString

type AdminUploadContentScreenshotV2NotFound

type AdminUploadContentScreenshotV2NotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUploadContentScreenshotV2NotFound 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 NewAdminUploadContentScreenshotV2NotFound

func NewAdminUploadContentScreenshotV2NotFound() *AdminUploadContentScreenshotV2NotFound

NewAdminUploadContentScreenshotV2NotFound creates a AdminUploadContentScreenshotV2NotFound with default headers values

func (*AdminUploadContentScreenshotV2NotFound) Error

func (*AdminUploadContentScreenshotV2NotFound) GetPayload

func (*AdminUploadContentScreenshotV2NotFound) ToJSONString

type AdminUploadContentScreenshotV2Params

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

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

func NewAdminUploadContentScreenshotV2Params

func NewAdminUploadContentScreenshotV2Params() *AdminUploadContentScreenshotV2Params

NewAdminUploadContentScreenshotV2Params creates a new AdminUploadContentScreenshotV2Params object with the default values initialized.

func NewAdminUploadContentScreenshotV2ParamsWithContext

func NewAdminUploadContentScreenshotV2ParamsWithContext(ctx context.Context) *AdminUploadContentScreenshotV2Params

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

func NewAdminUploadContentScreenshotV2ParamsWithHTTPClient

func NewAdminUploadContentScreenshotV2ParamsWithHTTPClient(client *http.Client) *AdminUploadContentScreenshotV2Params

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

func NewAdminUploadContentScreenshotV2ParamsWithTimeout

func NewAdminUploadContentScreenshotV2ParamsWithTimeout(timeout time.Duration) *AdminUploadContentScreenshotV2Params

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

func (*AdminUploadContentScreenshotV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin upload content screenshot v2 params

func (*AdminUploadContentScreenshotV2Params) SetBody

SetBody adds the body to the admin upload content screenshot v2 params

func (*AdminUploadContentScreenshotV2Params) SetContentID

func (o *AdminUploadContentScreenshotV2Params) SetContentID(contentID string)

SetContentID adds the contentId to the admin upload content screenshot v2 params

func (*AdminUploadContentScreenshotV2Params) SetContext

SetContext adds the context to the admin upload content screenshot v2 params

func (*AdminUploadContentScreenshotV2Params) SetFlightId

func (o *AdminUploadContentScreenshotV2Params) SetFlightId(flightId string)

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

func (*AdminUploadContentScreenshotV2Params) SetHTTPClient

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

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

func (*AdminUploadContentScreenshotV2Params) SetHTTPClientTransport

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

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

func (*AdminUploadContentScreenshotV2Params) SetNamespace

func (o *AdminUploadContentScreenshotV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin upload content screenshot v2 params

func (*AdminUploadContentScreenshotV2Params) SetTimeout

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

SetTimeout adds the timeout to the admin upload content screenshot v2 params

func (*AdminUploadContentScreenshotV2Params) WithBody

WithBody adds the body to the admin upload content screenshot v2 params

func (*AdminUploadContentScreenshotV2Params) WithContentID

WithContentID adds the contentID to the admin upload content screenshot v2 params

func (*AdminUploadContentScreenshotV2Params) WithContext

WithContext adds the context to the admin upload content screenshot v2 params

func (*AdminUploadContentScreenshotV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin upload content screenshot v2 params

func (*AdminUploadContentScreenshotV2Params) WithNamespace

WithNamespace adds the namespace to the admin upload content screenshot v2 params

func (*AdminUploadContentScreenshotV2Params) WithTimeout

WithTimeout adds the timeout to the admin upload content screenshot v2 params

func (*AdminUploadContentScreenshotV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUploadContentScreenshotV2Reader

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

AdminUploadContentScreenshotV2Reader is a Reader for the AdminUploadContentScreenshotV2 structure.

func (*AdminUploadContentScreenshotV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUploadContentScreenshotV2Unauthorized

type AdminUploadContentScreenshotV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUploadContentScreenshotV2Unauthorized 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 NewAdminUploadContentScreenshotV2Unauthorized

func NewAdminUploadContentScreenshotV2Unauthorized() *AdminUploadContentScreenshotV2Unauthorized

NewAdminUploadContentScreenshotV2Unauthorized creates a AdminUploadContentScreenshotV2Unauthorized with default headers values

func (*AdminUploadContentScreenshotV2Unauthorized) Error

func (*AdminUploadContentScreenshotV2Unauthorized) GetPayload

func (*AdminUploadContentScreenshotV2Unauthorized) ToJSONString

type Client

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

Client for admin content v2 API

func (*Client) AdminBulkGetContentByIDsV2 deprecated

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

AdminBulkGetContentByIDsV2 bulk get content by content ids Maximum contentId per request 100

func (*Client) AdminBulkGetContentByIDsV2Short

func (a *Client) AdminBulkGetContentByIDsV2Short(params *AdminBulkGetContentByIDsV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminBulkGetContentByIDsV2OK, error)

AdminBulkGetContentByIDsV2Short bulk get content by content ids Maximum contentId per request 100

func (*Client) AdminCreateContentV2 deprecated

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

AdminCreateContentV2 create a content Create official content

func (*Client) AdminCreateContentV2Short

func (a *Client) AdminCreateContentV2Short(params *AdminCreateContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateContentV2Created, error)

AdminCreateContentV2Short create a content Create official content

func (*Client) AdminDeleteContentByShareCodeV2 deprecated

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

AdminDeleteContentByShareCodeV2 delete content by share code Delete content by share code

func (*Client) AdminDeleteContentByShareCodeV2Short

func (a *Client) AdminDeleteContentByShareCodeV2Short(params *AdminDeleteContentByShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteContentByShareCodeV2NoContent, error)

AdminDeleteContentByShareCodeV2Short delete content by share code Delete content by share code

func (*Client) AdminDeleteContentScreenshotV2 deprecated

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

AdminDeleteContentScreenshotV2 delete screenshots content Delete screenshot from a content

func (*Client) AdminDeleteContentScreenshotV2Short

func (a *Client) AdminDeleteContentScreenshotV2Short(params *AdminDeleteContentScreenshotV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteContentScreenshotV2NoContent, error)

AdminDeleteContentScreenshotV2Short delete screenshots content Delete screenshot from a content

func (*Client) AdminDeleteOfficialContentV2 deprecated

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

AdminDeleteOfficialContentV2 delete official content Delete existing official content

func (*Client) AdminDeleteOfficialContentV2Short

func (a *Client) AdminDeleteOfficialContentV2Short(params *AdminDeleteOfficialContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteOfficialContentV2NoContent, error)

AdminDeleteOfficialContentV2Short delete official content Delete existing official content

func (*Client) AdminDeleteUserContentV2 deprecated

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

AdminDeleteUserContentV2 delete user content Delete user content by content ID

func (*Client) AdminDeleteUserContentV2Short

func (a *Client) AdminDeleteUserContentV2Short(params *AdminDeleteUserContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteUserContentV2NoContent, error)

AdminDeleteUserContentV2Short delete user content Delete user content by content ID

func (*Client) AdminGenerateOfficialContentUploadURLV2 deprecated

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

AdminGenerateOfficialContentUploadURLV2 generate official content upload url Generate official content upload URL

func (*Client) AdminGenerateOfficialContentUploadURLV2Short

func (a *Client) AdminGenerateOfficialContentUploadURLV2Short(params *AdminGenerateOfficialContentUploadURLV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGenerateOfficialContentUploadURLV2OK, error)

AdminGenerateOfficialContentUploadURLV2Short generate official content upload url Generate official content upload URL

func (*Client) AdminGenerateUserContentUploadURLV2 deprecated

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

AdminGenerateUserContentUploadURLV2 generate user content upload url generate user content upload URL

func (*Client) AdminGenerateUserContentUploadURLV2Short

func (a *Client) AdminGenerateUserContentUploadURLV2Short(params *AdminGenerateUserContentUploadURLV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGenerateUserContentUploadURLV2OK, error)

AdminGenerateUserContentUploadURLV2Short generate user content upload url generate user content upload URL

func (*Client) AdminGetContentBulkByShareCodesV2 deprecated

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

AdminGetContentBulkByShareCodesV2 bulk get content by content sharecodes Maximum sharecodes per request 100

func (*Client) AdminGetContentBulkByShareCodesV2Short

func (a *Client) AdminGetContentBulkByShareCodesV2Short(params *AdminGetContentBulkByShareCodesV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentBulkByShareCodesV2OK, error)

AdminGetContentBulkByShareCodesV2Short bulk get content by content sharecodes Maximum sharecodes per request 100

func (*Client) AdminGetContentByChannelIDV2 deprecated

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

AdminGetContentByChannelIDV2 list contents specific to a channel List content specific to a channel

func (*Client) AdminGetContentByChannelIDV2Short

func (a *Client) AdminGetContentByChannelIDV2Short(params *AdminGetContentByChannelIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentByChannelIDV2OK, error)

AdminGetContentByChannelIDV2Short list contents specific to a channel List content specific to a channel

func (*Client) AdminGetContentByContentIDV2 deprecated

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

AdminGetContentByContentIDV2 get content by content id Get content by content ID

func (*Client) AdminGetContentByContentIDV2Short

func (a *Client) AdminGetContentByContentIDV2Short(params *AdminGetContentByContentIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentByContentIDV2OK, error)

AdminGetContentByContentIDV2Short get content by content id Get content by content ID

func (*Client) AdminGetContentByShareCodeV2 deprecated

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

AdminGetContentByShareCodeV2 get content by sharecode Get content by share code

func (*Client) AdminGetContentByShareCodeV2Short

func (a *Client) AdminGetContentByShareCodeV2Short(params *AdminGetContentByShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentByShareCodeV2OK, error)

AdminGetContentByShareCodeV2Short get content by sharecode Get content by share code

func (*Client) AdminGetContentByUserIDV2 deprecated

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

AdminGetContentByUserIDV2 get user's generated contents Get user cotent

func (*Client) AdminGetContentByUserIDV2Short

func (a *Client) AdminGetContentByUserIDV2Short(params *AdminGetContentByUserIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentByUserIDV2OK, error)

AdminGetContentByUserIDV2Short get user's generated contents Get user cotent

func (*Client) AdminListContentV2 deprecated

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

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

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

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

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

Allowed character for operator: & | ( )

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

func (*Client) AdminListContentV2Short

func (a *Client) AdminListContentV2Short(params *AdminListContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminListContentV2OK, error)

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

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

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

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

Allowed character for operator: & | ( )

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

func (*Client) AdminUpdateContentByShareCodeV2 deprecated

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

AdminUpdateContentByShareCodeV2 update content to s3 bucket by share code *shareCode* format should follows:

"Max length: 7 "Available characters: abcdefhkpqrstuxyz

func (*Client) AdminUpdateContentByShareCodeV2Short

func (a *Client) AdminUpdateContentByShareCodeV2Short(params *AdminUpdateContentByShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateContentByShareCodeV2OK, error)

AdminUpdateContentByShareCodeV2Short update content to s3 bucket by share code *shareCode* format should follows:

"Max length: 7 "Available characters: abcdefhkpqrstuxyz

func (*Client) AdminUpdateContentHideStatusV2 deprecated

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

AdminUpdateContentHideStatusV2 hide/unhide user's generated contents Hide/Unhide user's generated contents

func (*Client) AdminUpdateContentHideStatusV2Short

func (a *Client) AdminUpdateContentHideStatusV2Short(params *AdminUpdateContentHideStatusV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateContentHideStatusV2OK, error)

AdminUpdateContentHideStatusV2Short hide/unhide user's generated contents Hide/Unhide user's generated contents

func (*Client) AdminUpdateOfficialContentFileLocation deprecated

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

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

func (*Client) AdminUpdateOfficialContentFileLocationShort

func (a *Client) AdminUpdateOfficialContentFileLocationShort(params *AdminUpdateOfficialContentFileLocationParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateOfficialContentFileLocationOK, error)

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

func (*Client) AdminUpdateOfficialContentV2 deprecated

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

AdminUpdateOfficialContentV2 update official content Update existing official content

func (*Client) AdminUpdateOfficialContentV2Short

func (a *Client) AdminUpdateOfficialContentV2Short(params *AdminUpdateOfficialContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateOfficialContentV2OK, error)

AdminUpdateOfficialContentV2Short update official content Update existing official content

func (*Client) AdminUpdateScreenshotsV2 deprecated

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

AdminUpdateScreenshotsV2 update screenshot of content Maximum description length: 1024

func (*Client) AdminUpdateScreenshotsV2Short

func (a *Client) AdminUpdateScreenshotsV2Short(params *AdminUpdateScreenshotsV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateScreenshotsV2OK, error)

AdminUpdateScreenshotsV2Short update screenshot of content Maximum description length: 1024

func (*Client) AdminUpdateUserContentFileLocation deprecated

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

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

func (*Client) AdminUpdateUserContentFileLocationShort

func (a *Client) AdminUpdateUserContentFileLocationShort(params *AdminUpdateUserContentFileLocationParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateUserContentFileLocationOK, error)

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

func (*Client) AdminUpdateUserContentV2 deprecated

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

AdminUpdateUserContentV2 update user content Update existing user content

func (*Client) AdminUpdateUserContentV2Short

func (a *Client) AdminUpdateUserContentV2Short(params *AdminUpdateUserContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateUserContentV2OK, error)

AdminUpdateUserContentV2Short update user content Update existing user content

func (*Client) AdminUploadContentScreenshotV2 deprecated

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

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

func (*Client) AdminUploadContentScreenshotV2Short

func (a *Client) AdminUploadContentScreenshotV2Short(params *AdminUploadContentScreenshotV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUploadContentScreenshotV2Created, error)

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

func (*Client) ListContentVersionsV2 deprecated

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

ListContentVersionsV2 list content's payload versions 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) ListContentVersionsV2Short

func (a *Client) ListContentVersionsV2Short(params *ListContentVersionsV2Params, authInfo runtime.ClientAuthInfoWriter) (*ListContentVersionsV2OK, error)

ListContentVersionsV2Short list content's payload versions 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) RollbackContentVersionV2 deprecated

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

RollbackContentVersionV2 rollback content's payload version Rollback content's payload to specified version

func (*Client) RollbackContentVersionV2Short

func (a *Client) RollbackContentVersionV2Short(params *RollbackContentVersionV2Params, authInfo runtime.ClientAuthInfoWriter) (*RollbackContentVersionV2OK, error)

RollbackContentVersionV2Short rollback content's payload version Rollback content's payload to specified version

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	AdminGetContentByChannelIDV2(params *AdminGetContentByChannelIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentByChannelIDV2OK, *AdminGetContentByChannelIDV2BadRequest, *AdminGetContentByChannelIDV2Unauthorized, *AdminGetContentByChannelIDV2InternalServerError, error)
	AdminGetContentByChannelIDV2Short(params *AdminGetContentByChannelIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentByChannelIDV2OK, error)
	AdminCreateContentV2(params *AdminCreateContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateContentV2Created, *AdminCreateContentV2BadRequest, *AdminCreateContentV2Unauthorized, *AdminCreateContentV2NotFound, *AdminCreateContentV2Conflict, *AdminCreateContentV2InternalServerError, error)
	AdminCreateContentV2Short(params *AdminCreateContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateContentV2Created, error)
	AdminDeleteOfficialContentV2(params *AdminDeleteOfficialContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteOfficialContentV2NoContent, *AdminDeleteOfficialContentV2Unauthorized, *AdminDeleteOfficialContentV2NotFound, *AdminDeleteOfficialContentV2InternalServerError, error)
	AdminDeleteOfficialContentV2Short(params *AdminDeleteOfficialContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteOfficialContentV2NoContent, error)
	AdminUpdateOfficialContentV2(params *AdminUpdateOfficialContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateOfficialContentV2OK, *AdminUpdateOfficialContentV2BadRequest, *AdminUpdateOfficialContentV2Unauthorized, *AdminUpdateOfficialContentV2NotFound, *AdminUpdateOfficialContentV2Conflict, *AdminUpdateOfficialContentV2InternalServerError, error)
	AdminUpdateOfficialContentV2Short(params *AdminUpdateOfficialContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateOfficialContentV2OK, error)
	AdminUpdateOfficialContentFileLocation(params *AdminUpdateOfficialContentFileLocationParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateOfficialContentFileLocationOK, *AdminUpdateOfficialContentFileLocationBadRequest, *AdminUpdateOfficialContentFileLocationUnauthorized, *AdminUpdateOfficialContentFileLocationForbidden, *AdminUpdateOfficialContentFileLocationNotFound, *AdminUpdateOfficialContentFileLocationInternalServerError, error)
	AdminUpdateOfficialContentFileLocationShort(params *AdminUpdateOfficialContentFileLocationParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateOfficialContentFileLocationOK, error)
	AdminGenerateOfficialContentUploadURLV2(params *AdminGenerateOfficialContentUploadURLV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGenerateOfficialContentUploadURLV2OK, *AdminGenerateOfficialContentUploadURLV2BadRequest, *AdminGenerateOfficialContentUploadURLV2Unauthorized, *AdminGenerateOfficialContentUploadURLV2NotFound, *AdminGenerateOfficialContentUploadURLV2InternalServerError, error)
	AdminGenerateOfficialContentUploadURLV2Short(params *AdminGenerateOfficialContentUploadURLV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGenerateOfficialContentUploadURLV2OK, error)
	AdminListContentV2(params *AdminListContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminListContentV2OK, *AdminListContentV2BadRequest, *AdminListContentV2Unauthorized, *AdminListContentV2InternalServerError, error)
	AdminListContentV2Short(params *AdminListContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminListContentV2OK, error)
	AdminBulkGetContentByIDsV2(params *AdminBulkGetContentByIDsV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminBulkGetContentByIDsV2OK, *AdminBulkGetContentByIDsV2BadRequest, *AdminBulkGetContentByIDsV2Unauthorized, *AdminBulkGetContentByIDsV2Forbidden, *AdminBulkGetContentByIDsV2InternalServerError, error)
	AdminBulkGetContentByIDsV2Short(params *AdminBulkGetContentByIDsV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminBulkGetContentByIDsV2OK, error)
	AdminGetContentBulkByShareCodesV2(params *AdminGetContentBulkByShareCodesV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentBulkByShareCodesV2OK, *AdminGetContentBulkByShareCodesV2BadRequest, *AdminGetContentBulkByShareCodesV2Unauthorized, *AdminGetContentBulkByShareCodesV2Forbidden, *AdminGetContentBulkByShareCodesV2InternalServerError, error)
	AdminGetContentBulkByShareCodesV2Short(params *AdminGetContentBulkByShareCodesV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentBulkByShareCodesV2OK, error)
	AdminGetContentByShareCodeV2(params *AdminGetContentByShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentByShareCodeV2OK, *AdminGetContentByShareCodeV2Unauthorized, *AdminGetContentByShareCodeV2NotFound, *AdminGetContentByShareCodeV2InternalServerError, error)
	AdminGetContentByShareCodeV2Short(params *AdminGetContentByShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentByShareCodeV2OK, error)
	AdminGetContentByContentIDV2(params *AdminGetContentByContentIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentByContentIDV2OK, *AdminGetContentByContentIDV2Unauthorized, *AdminGetContentByContentIDV2NotFound, *AdminGetContentByContentIDV2InternalServerError, error)
	AdminGetContentByContentIDV2Short(params *AdminGetContentByContentIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentByContentIDV2OK, error)
	RollbackContentVersionV2(params *RollbackContentVersionV2Params, authInfo runtime.ClientAuthInfoWriter) (*RollbackContentVersionV2OK, *RollbackContentVersionV2Unauthorized, *RollbackContentVersionV2NotFound, *RollbackContentVersionV2UnprocessableEntity, *RollbackContentVersionV2InternalServerError, error)
	RollbackContentVersionV2Short(params *RollbackContentVersionV2Params, authInfo runtime.ClientAuthInfoWriter) (*RollbackContentVersionV2OK, error)
	AdminUpdateScreenshotsV2(params *AdminUpdateScreenshotsV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateScreenshotsV2OK, *AdminUpdateScreenshotsV2BadRequest, *AdminUpdateScreenshotsV2Unauthorized, *AdminUpdateScreenshotsV2Forbidden, *AdminUpdateScreenshotsV2NotFound, *AdminUpdateScreenshotsV2InternalServerError, error)
	AdminUpdateScreenshotsV2Short(params *AdminUpdateScreenshotsV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateScreenshotsV2OK, error)
	AdminUploadContentScreenshotV2(params *AdminUploadContentScreenshotV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUploadContentScreenshotV2Created, *AdminUploadContentScreenshotV2BadRequest, *AdminUploadContentScreenshotV2Unauthorized, *AdminUploadContentScreenshotV2Forbidden, *AdminUploadContentScreenshotV2NotFound, *AdminUploadContentScreenshotV2InternalServerError, error)
	AdminUploadContentScreenshotV2Short(params *AdminUploadContentScreenshotV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUploadContentScreenshotV2Created, error)
	AdminDeleteContentScreenshotV2(params *AdminDeleteContentScreenshotV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteContentScreenshotV2NoContent, *AdminDeleteContentScreenshotV2BadRequest, *AdminDeleteContentScreenshotV2Unauthorized, *AdminDeleteContentScreenshotV2Forbidden, *AdminDeleteContentScreenshotV2NotFound, *AdminDeleteContentScreenshotV2InternalServerError, error)
	AdminDeleteContentScreenshotV2Short(params *AdminDeleteContentScreenshotV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteContentScreenshotV2NoContent, error)
	ListContentVersionsV2(params *ListContentVersionsV2Params, authInfo runtime.ClientAuthInfoWriter) (*ListContentVersionsV2OK, *ListContentVersionsV2Unauthorized, *ListContentVersionsV2NotFound, *ListContentVersionsV2InternalServerError, error)
	ListContentVersionsV2Short(params *ListContentVersionsV2Params, authInfo runtime.ClientAuthInfoWriter) (*ListContentVersionsV2OK, error)
	AdminUpdateContentByShareCodeV2(params *AdminUpdateContentByShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateContentByShareCodeV2OK, *AdminUpdateContentByShareCodeV2BadRequest, *AdminUpdateContentByShareCodeV2Unauthorized, *AdminUpdateContentByShareCodeV2Forbidden, *AdminUpdateContentByShareCodeV2NotFound, *AdminUpdateContentByShareCodeV2Conflict, *AdminUpdateContentByShareCodeV2InternalServerError, error)
	AdminUpdateContentByShareCodeV2Short(params *AdminUpdateContentByShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateContentByShareCodeV2OK, error)
	AdminDeleteContentByShareCodeV2(params *AdminDeleteContentByShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteContentByShareCodeV2NoContent, *AdminDeleteContentByShareCodeV2Unauthorized, *AdminDeleteContentByShareCodeV2NotFound, *AdminDeleteContentByShareCodeV2InternalServerError, error)
	AdminDeleteContentByShareCodeV2Short(params *AdminDeleteContentByShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteContentByShareCodeV2NoContent, error)
	AdminDeleteUserContentV2(params *AdminDeleteUserContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteUserContentV2NoContent, *AdminDeleteUserContentV2Unauthorized, *AdminDeleteUserContentV2NotFound, *AdminDeleteUserContentV2InternalServerError, error)
	AdminDeleteUserContentV2Short(params *AdminDeleteUserContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteUserContentV2NoContent, error)
	AdminUpdateUserContentV2(params *AdminUpdateUserContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateUserContentV2OK, *AdminUpdateUserContentV2BadRequest, *AdminUpdateUserContentV2Unauthorized, *AdminUpdateUserContentV2NotFound, *AdminUpdateUserContentV2Conflict, *AdminUpdateUserContentV2InternalServerError, error)
	AdminUpdateUserContentV2Short(params *AdminUpdateUserContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateUserContentV2OK, error)
	AdminUpdateUserContentFileLocation(params *AdminUpdateUserContentFileLocationParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateUserContentFileLocationOK, *AdminUpdateUserContentFileLocationBadRequest, *AdminUpdateUserContentFileLocationUnauthorized, *AdminUpdateUserContentFileLocationForbidden, *AdminUpdateUserContentFileLocationNotFound, *AdminUpdateUserContentFileLocationInternalServerError, error)
	AdminUpdateUserContentFileLocationShort(params *AdminUpdateUserContentFileLocationParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateUserContentFileLocationOK, error)
	AdminGenerateUserContentUploadURLV2(params *AdminGenerateUserContentUploadURLV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGenerateUserContentUploadURLV2OK, *AdminGenerateUserContentUploadURLV2BadRequest, *AdminGenerateUserContentUploadURLV2Unauthorized, *AdminGenerateUserContentUploadURLV2NotFound, *AdminGenerateUserContentUploadURLV2InternalServerError, error)
	AdminGenerateUserContentUploadURLV2Short(params *AdminGenerateUserContentUploadURLV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGenerateUserContentUploadURLV2OK, error)
	AdminGetContentByUserIDV2(params *AdminGetContentByUserIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentByUserIDV2OK, *AdminGetContentByUserIDV2BadRequest, *AdminGetContentByUserIDV2Unauthorized, *AdminGetContentByUserIDV2InternalServerError, error)
	AdminGetContentByUserIDV2Short(params *AdminGetContentByUserIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentByUserIDV2OK, error)
	AdminUpdateContentHideStatusV2(params *AdminUpdateContentHideStatusV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateContentHideStatusV2OK, *AdminUpdateContentHideStatusV2BadRequest, *AdminUpdateContentHideStatusV2Unauthorized, *AdminUpdateContentHideStatusV2Forbidden, *AdminUpdateContentHideStatusV2NotFound, *AdminUpdateContentHideStatusV2InternalServerError, error)
	AdminUpdateContentHideStatusV2Short(params *AdminUpdateContentHideStatusV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateContentHideStatusV2OK, 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 v2 API client.

type ListContentVersionsV2InternalServerError

type ListContentVersionsV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

ListContentVersionsV2InternalServerError 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 NewListContentVersionsV2InternalServerError

func NewListContentVersionsV2InternalServerError() *ListContentVersionsV2InternalServerError

NewListContentVersionsV2InternalServerError creates a ListContentVersionsV2InternalServerError with default headers values

func (*ListContentVersionsV2InternalServerError) Error

func (*ListContentVersionsV2InternalServerError) GetPayload

func (*ListContentVersionsV2InternalServerError) ToJSONString

type ListContentVersionsV2NotFound

type ListContentVersionsV2NotFound struct {
	Payload *ugcclientmodels.ResponseError
}

ListContentVersionsV2NotFound 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 NewListContentVersionsV2NotFound

func NewListContentVersionsV2NotFound() *ListContentVersionsV2NotFound

NewListContentVersionsV2NotFound creates a ListContentVersionsV2NotFound with default headers values

func (*ListContentVersionsV2NotFound) Error

func (*ListContentVersionsV2NotFound) GetPayload

func (*ListContentVersionsV2NotFound) ToJSONString

func (o *ListContentVersionsV2NotFound) ToJSONString() string

type ListContentVersionsV2OK

type ListContentVersionsV2OK struct {
	Payload *ugcclientmodels.ModelsListContentVersionsResponse
}

ListContentVersionsV2OK handles this case with default header values.

List content's payload verisions

func NewListContentVersionsV2OK

func NewListContentVersionsV2OK() *ListContentVersionsV2OK

NewListContentVersionsV2OK creates a ListContentVersionsV2OK with default headers values

func (*ListContentVersionsV2OK) Error

func (o *ListContentVersionsV2OK) Error() string

func (*ListContentVersionsV2OK) GetPayload

func (*ListContentVersionsV2OK) ToJSONString

func (o *ListContentVersionsV2OK) ToJSONString() string

type ListContentVersionsV2Params

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

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

func NewListContentVersionsV2Params

func NewListContentVersionsV2Params() *ListContentVersionsV2Params

NewListContentVersionsV2Params creates a new ListContentVersionsV2Params object with the default values initialized.

func NewListContentVersionsV2ParamsWithContext

func NewListContentVersionsV2ParamsWithContext(ctx context.Context) *ListContentVersionsV2Params

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

func NewListContentVersionsV2ParamsWithHTTPClient

func NewListContentVersionsV2ParamsWithHTTPClient(client *http.Client) *ListContentVersionsV2Params

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

func NewListContentVersionsV2ParamsWithTimeout

func NewListContentVersionsV2ParamsWithTimeout(timeout time.Duration) *ListContentVersionsV2Params

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

func (*ListContentVersionsV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the list content versions v2 params

func (*ListContentVersionsV2Params) SetContentID

func (o *ListContentVersionsV2Params) SetContentID(contentID string)

SetContentID adds the contentId to the list content versions v2 params

func (*ListContentVersionsV2Params) SetContext

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

SetContext adds the context to the list content versions v2 params

func (*ListContentVersionsV2Params) SetFlightId

func (o *ListContentVersionsV2Params) SetFlightId(flightId string)

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

func (*ListContentVersionsV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list content versions v2 params

func (*ListContentVersionsV2Params) SetHTTPClientTransport

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

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

func (*ListContentVersionsV2Params) SetNamespace

func (o *ListContentVersionsV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the list content versions v2 params

func (*ListContentVersionsV2Params) SetTimeout

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

SetTimeout adds the timeout to the list content versions v2 params

func (*ListContentVersionsV2Params) WithContentID

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

WithContentID adds the contentID to the list content versions v2 params

func (*ListContentVersionsV2Params) WithContext

WithContext adds the context to the list content versions v2 params

func (*ListContentVersionsV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list content versions v2 params

func (*ListContentVersionsV2Params) WithNamespace

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

WithNamespace adds the namespace to the list content versions v2 params

func (*ListContentVersionsV2Params) WithTimeout

WithTimeout adds the timeout to the list content versions v2 params

func (*ListContentVersionsV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListContentVersionsV2Reader

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

ListContentVersionsV2Reader is a Reader for the ListContentVersionsV2 structure.

func (*ListContentVersionsV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListContentVersionsV2Unauthorized

type ListContentVersionsV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

ListContentVersionsV2Unauthorized 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 NewListContentVersionsV2Unauthorized

func NewListContentVersionsV2Unauthorized() *ListContentVersionsV2Unauthorized

NewListContentVersionsV2Unauthorized creates a ListContentVersionsV2Unauthorized with default headers values

func (*ListContentVersionsV2Unauthorized) Error

func (*ListContentVersionsV2Unauthorized) GetPayload

func (*ListContentVersionsV2Unauthorized) ToJSONString

func (o *ListContentVersionsV2Unauthorized) ToJSONString() string

type RollbackContentVersionV2InternalServerError

type RollbackContentVersionV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

RollbackContentVersionV2InternalServerError 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 NewRollbackContentVersionV2InternalServerError

func NewRollbackContentVersionV2InternalServerError() *RollbackContentVersionV2InternalServerError

NewRollbackContentVersionV2InternalServerError creates a RollbackContentVersionV2InternalServerError with default headers values

func (*RollbackContentVersionV2InternalServerError) Error

func (*RollbackContentVersionV2InternalServerError) GetPayload

func (*RollbackContentVersionV2InternalServerError) ToJSONString

type RollbackContentVersionV2NotFound

type RollbackContentVersionV2NotFound struct {
	Payload *ugcclientmodels.ResponseError
}

RollbackContentVersionV2NotFound 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 NewRollbackContentVersionV2NotFound

func NewRollbackContentVersionV2NotFound() *RollbackContentVersionV2NotFound

NewRollbackContentVersionV2NotFound creates a RollbackContentVersionV2NotFound with default headers values

func (*RollbackContentVersionV2NotFound) Error

func (*RollbackContentVersionV2NotFound) GetPayload

func (*RollbackContentVersionV2NotFound) ToJSONString

func (o *RollbackContentVersionV2NotFound) ToJSONString() string

type RollbackContentVersionV2OK

type RollbackContentVersionV2OK struct {
	Payload *ugcclientmodels.ModelsContentDownloadResponse
}

RollbackContentVersionV2OK handles this case with default header values.

Rollback content's payload version

func NewRollbackContentVersionV2OK

func NewRollbackContentVersionV2OK() *RollbackContentVersionV2OK

NewRollbackContentVersionV2OK creates a RollbackContentVersionV2OK with default headers values

func (*RollbackContentVersionV2OK) Error

func (*RollbackContentVersionV2OK) GetPayload

func (*RollbackContentVersionV2OK) ToJSONString

func (o *RollbackContentVersionV2OK) ToJSONString() string

type RollbackContentVersionV2Params

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

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

func NewRollbackContentVersionV2Params

func NewRollbackContentVersionV2Params() *RollbackContentVersionV2Params

NewRollbackContentVersionV2Params creates a new RollbackContentVersionV2Params object with the default values initialized.

func NewRollbackContentVersionV2ParamsWithContext

func NewRollbackContentVersionV2ParamsWithContext(ctx context.Context) *RollbackContentVersionV2Params

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

func NewRollbackContentVersionV2ParamsWithHTTPClient

func NewRollbackContentVersionV2ParamsWithHTTPClient(client *http.Client) *RollbackContentVersionV2Params

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

func NewRollbackContentVersionV2ParamsWithTimeout

func NewRollbackContentVersionV2ParamsWithTimeout(timeout time.Duration) *RollbackContentVersionV2Params

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

func (*RollbackContentVersionV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the rollback content version v2 params

func (*RollbackContentVersionV2Params) SetContentID

func (o *RollbackContentVersionV2Params) SetContentID(contentID string)

SetContentID adds the contentId to the rollback content version v2 params

func (*RollbackContentVersionV2Params) SetContext

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

SetContext adds the context to the rollback content version v2 params

func (*RollbackContentVersionV2Params) SetFlightId

func (o *RollbackContentVersionV2Params) SetFlightId(flightId string)

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

func (*RollbackContentVersionV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the rollback content version v2 params

func (*RollbackContentVersionV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the rollback content version v2 params

func (*RollbackContentVersionV2Params) SetNamespace

func (o *RollbackContentVersionV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the rollback content version v2 params

func (*RollbackContentVersionV2Params) SetTimeout

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

SetTimeout adds the timeout to the rollback content version v2 params

func (*RollbackContentVersionV2Params) SetVersionID

func (o *RollbackContentVersionV2Params) SetVersionID(versionID string)

SetVersionID adds the versionId to the rollback content version v2 params

func (*RollbackContentVersionV2Params) WithContentID

WithContentID adds the contentID to the rollback content version v2 params

func (*RollbackContentVersionV2Params) WithContext

WithContext adds the context to the rollback content version v2 params

func (*RollbackContentVersionV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the rollback content version v2 params

func (*RollbackContentVersionV2Params) WithNamespace

WithNamespace adds the namespace to the rollback content version v2 params

func (*RollbackContentVersionV2Params) WithTimeout

WithTimeout adds the timeout to the rollback content version v2 params

func (*RollbackContentVersionV2Params) WithVersionID

WithVersionID adds the versionID to the rollback content version v2 params

func (*RollbackContentVersionV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type RollbackContentVersionV2Reader

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

RollbackContentVersionV2Reader is a Reader for the RollbackContentVersionV2 structure.

func (*RollbackContentVersionV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RollbackContentVersionV2Unauthorized

type RollbackContentVersionV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

RollbackContentVersionV2Unauthorized 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 NewRollbackContentVersionV2Unauthorized

func NewRollbackContentVersionV2Unauthorized() *RollbackContentVersionV2Unauthorized

NewRollbackContentVersionV2Unauthorized creates a RollbackContentVersionV2Unauthorized with default headers values

func (*RollbackContentVersionV2Unauthorized) Error

func (*RollbackContentVersionV2Unauthorized) GetPayload

func (*RollbackContentVersionV2Unauthorized) ToJSONString

func (o *RollbackContentVersionV2Unauthorized) ToJSONString() string

type RollbackContentVersionV2UnprocessableEntity

type RollbackContentVersionV2UnprocessableEntity struct {
	Payload *ugcclientmodels.ResponseError
}

RollbackContentVersionV2UnprocessableEntity 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 NewRollbackContentVersionV2UnprocessableEntity

func NewRollbackContentVersionV2UnprocessableEntity() *RollbackContentVersionV2UnprocessableEntity

NewRollbackContentVersionV2UnprocessableEntity creates a RollbackContentVersionV2UnprocessableEntity with default headers values

func (*RollbackContentVersionV2UnprocessableEntity) Error

func (*RollbackContentVersionV2UnprocessableEntity) GetPayload

func (*RollbackContentVersionV2UnprocessableEntity) ToJSONString

Source Files

Jump to

Keyboard shortcuts

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