Documentation ¶
Index ¶
- type AdminBulkGetContentByIDsV2BadRequest
- type AdminBulkGetContentByIDsV2Forbidden
- type AdminBulkGetContentByIDsV2InternalServerError
- type AdminBulkGetContentByIDsV2OK
- type AdminBulkGetContentByIDsV2Params
- func NewAdminBulkGetContentByIDsV2Params() *AdminBulkGetContentByIDsV2Params
- func NewAdminBulkGetContentByIDsV2ParamsWithContext(ctx context.Context) *AdminBulkGetContentByIDsV2Params
- func NewAdminBulkGetContentByIDsV2ParamsWithHTTPClient(client *http.Client) *AdminBulkGetContentByIDsV2Params
- func NewAdminBulkGetContentByIDsV2ParamsWithTimeout(timeout time.Duration) *AdminBulkGetContentByIDsV2Params
- func (o *AdminBulkGetContentByIDsV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminBulkGetContentByIDsV2Params) SetBody(body *ugcclientmodels.ModelsAdminGetContentBulkRequest)
- func (o *AdminBulkGetContentByIDsV2Params) SetContext(ctx context.Context)
- func (o *AdminBulkGetContentByIDsV2Params) SetHTTPClient(client *http.Client)
- func (o *AdminBulkGetContentByIDsV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminBulkGetContentByIDsV2Params) SetNamespace(namespace string)
- func (o *AdminBulkGetContentByIDsV2Params) SetTimeout(timeout time.Duration)
- func (o *AdminBulkGetContentByIDsV2Params) WithBody(body *ugcclientmodels.ModelsAdminGetContentBulkRequest) *AdminBulkGetContentByIDsV2Params
- func (o *AdminBulkGetContentByIDsV2Params) WithContext(ctx context.Context) *AdminBulkGetContentByIDsV2Params
- func (o *AdminBulkGetContentByIDsV2Params) WithHTTPClient(client *http.Client) *AdminBulkGetContentByIDsV2Params
- func (o *AdminBulkGetContentByIDsV2Params) WithNamespace(namespace string) *AdminBulkGetContentByIDsV2Params
- func (o *AdminBulkGetContentByIDsV2Params) WithTimeout(timeout time.Duration) *AdminBulkGetContentByIDsV2Params
- func (o *AdminBulkGetContentByIDsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminBulkGetContentByIDsV2Reader
- type AdminBulkGetContentByIDsV2Unauthorized
- type AdminCreateContentV2BadRequest
- type AdminCreateContentV2Conflict
- type AdminCreateContentV2Created
- type AdminCreateContentV2InternalServerError
- type AdminCreateContentV2NotFound
- type AdminCreateContentV2Params
- func NewAdminCreateContentV2Params() *AdminCreateContentV2Params
- func NewAdminCreateContentV2ParamsWithContext(ctx context.Context) *AdminCreateContentV2Params
- func NewAdminCreateContentV2ParamsWithHTTPClient(client *http.Client) *AdminCreateContentV2Params
- func NewAdminCreateContentV2ParamsWithTimeout(timeout time.Duration) *AdminCreateContentV2Params
- func (o *AdminCreateContentV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminCreateContentV2Params) SetBody(body *ugcclientmodels.ModelsAdminContentRequestV2)
- func (o *AdminCreateContentV2Params) SetChannelID(channelID string)
- func (o *AdminCreateContentV2Params) SetContext(ctx context.Context)
- func (o *AdminCreateContentV2Params) SetHTTPClient(client *http.Client)
- func (o *AdminCreateContentV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminCreateContentV2Params) SetNamespace(namespace string)
- func (o *AdminCreateContentV2Params) SetTimeout(timeout time.Duration)
- func (o *AdminCreateContentV2Params) WithBody(body *ugcclientmodels.ModelsAdminContentRequestV2) *AdminCreateContentV2Params
- func (o *AdminCreateContentV2Params) WithChannelID(channelID string) *AdminCreateContentV2Params
- func (o *AdminCreateContentV2Params) WithContext(ctx context.Context) *AdminCreateContentV2Params
- func (o *AdminCreateContentV2Params) WithHTTPClient(client *http.Client) *AdminCreateContentV2Params
- func (o *AdminCreateContentV2Params) WithNamespace(namespace string) *AdminCreateContentV2Params
- func (o *AdminCreateContentV2Params) WithTimeout(timeout time.Duration) *AdminCreateContentV2Params
- func (o *AdminCreateContentV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminCreateContentV2Reader
- type AdminCreateContentV2Unauthorized
- type AdminDeleteContentByShareCodeV2InternalServerError
- type AdminDeleteContentByShareCodeV2NoContent
- type AdminDeleteContentByShareCodeV2NotFound
- type AdminDeleteContentByShareCodeV2Params
- func NewAdminDeleteContentByShareCodeV2Params() *AdminDeleteContentByShareCodeV2Params
- func NewAdminDeleteContentByShareCodeV2ParamsWithContext(ctx context.Context) *AdminDeleteContentByShareCodeV2Params
- func NewAdminDeleteContentByShareCodeV2ParamsWithHTTPClient(client *http.Client) *AdminDeleteContentByShareCodeV2Params
- func NewAdminDeleteContentByShareCodeV2ParamsWithTimeout(timeout time.Duration) *AdminDeleteContentByShareCodeV2Params
- func (o *AdminDeleteContentByShareCodeV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminDeleteContentByShareCodeV2Params) SetChannelID(channelID string)
- func (o *AdminDeleteContentByShareCodeV2Params) SetContext(ctx context.Context)
- func (o *AdminDeleteContentByShareCodeV2Params) SetHTTPClient(client *http.Client)
- func (o *AdminDeleteContentByShareCodeV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminDeleteContentByShareCodeV2Params) SetNamespace(namespace string)
- func (o *AdminDeleteContentByShareCodeV2Params) SetShareCode(shareCode string)
- func (o *AdminDeleteContentByShareCodeV2Params) SetTimeout(timeout time.Duration)
- func (o *AdminDeleteContentByShareCodeV2Params) SetUserID(userID string)
- func (o *AdminDeleteContentByShareCodeV2Params) WithChannelID(channelID string) *AdminDeleteContentByShareCodeV2Params
- func (o *AdminDeleteContentByShareCodeV2Params) WithContext(ctx context.Context) *AdminDeleteContentByShareCodeV2Params
- func (o *AdminDeleteContentByShareCodeV2Params) WithHTTPClient(client *http.Client) *AdminDeleteContentByShareCodeV2Params
- func (o *AdminDeleteContentByShareCodeV2Params) WithNamespace(namespace string) *AdminDeleteContentByShareCodeV2Params
- func (o *AdminDeleteContentByShareCodeV2Params) WithShareCode(shareCode string) *AdminDeleteContentByShareCodeV2Params
- func (o *AdminDeleteContentByShareCodeV2Params) WithTimeout(timeout time.Duration) *AdminDeleteContentByShareCodeV2Params
- func (o *AdminDeleteContentByShareCodeV2Params) WithUserID(userID string) *AdminDeleteContentByShareCodeV2Params
- func (o *AdminDeleteContentByShareCodeV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminDeleteContentByShareCodeV2Reader
- type AdminDeleteContentByShareCodeV2Unauthorized
- type AdminDeleteContentScreenshotV2BadRequest
- type AdminDeleteContentScreenshotV2Forbidden
- type AdminDeleteContentScreenshotV2InternalServerError
- type AdminDeleteContentScreenshotV2NoContent
- type AdminDeleteContentScreenshotV2NotFound
- type AdminDeleteContentScreenshotV2Params
- func NewAdminDeleteContentScreenshotV2Params() *AdminDeleteContentScreenshotV2Params
- func NewAdminDeleteContentScreenshotV2ParamsWithContext(ctx context.Context) *AdminDeleteContentScreenshotV2Params
- func NewAdminDeleteContentScreenshotV2ParamsWithHTTPClient(client *http.Client) *AdminDeleteContentScreenshotV2Params
- func NewAdminDeleteContentScreenshotV2ParamsWithTimeout(timeout time.Duration) *AdminDeleteContentScreenshotV2Params
- func (o *AdminDeleteContentScreenshotV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminDeleteContentScreenshotV2Params) SetContentID(contentID string)
- func (o *AdminDeleteContentScreenshotV2Params) SetContext(ctx context.Context)
- func (o *AdminDeleteContentScreenshotV2Params) SetHTTPClient(client *http.Client)
- func (o *AdminDeleteContentScreenshotV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminDeleteContentScreenshotV2Params) SetNamespace(namespace string)
- func (o *AdminDeleteContentScreenshotV2Params) SetScreenshotID(screenshotID string)
- func (o *AdminDeleteContentScreenshotV2Params) SetTimeout(timeout time.Duration)
- func (o *AdminDeleteContentScreenshotV2Params) WithContentID(contentID string) *AdminDeleteContentScreenshotV2Params
- func (o *AdminDeleteContentScreenshotV2Params) WithContext(ctx context.Context) *AdminDeleteContentScreenshotV2Params
- func (o *AdminDeleteContentScreenshotV2Params) WithHTTPClient(client *http.Client) *AdminDeleteContentScreenshotV2Params
- func (o *AdminDeleteContentScreenshotV2Params) WithNamespace(namespace string) *AdminDeleteContentScreenshotV2Params
- func (o *AdminDeleteContentScreenshotV2Params) WithScreenshotID(screenshotID string) *AdminDeleteContentScreenshotV2Params
- func (o *AdminDeleteContentScreenshotV2Params) WithTimeout(timeout time.Duration) *AdminDeleteContentScreenshotV2Params
- func (o *AdminDeleteContentScreenshotV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminDeleteContentScreenshotV2Reader
- type AdminDeleteContentScreenshotV2Unauthorized
- type AdminDeleteOfficialContentV2InternalServerError
- type AdminDeleteOfficialContentV2NoContent
- type AdminDeleteOfficialContentV2NotFound
- type AdminDeleteOfficialContentV2Params
- func NewAdminDeleteOfficialContentV2Params() *AdminDeleteOfficialContentV2Params
- func NewAdminDeleteOfficialContentV2ParamsWithContext(ctx context.Context) *AdminDeleteOfficialContentV2Params
- func NewAdminDeleteOfficialContentV2ParamsWithHTTPClient(client *http.Client) *AdminDeleteOfficialContentV2Params
- func NewAdminDeleteOfficialContentV2ParamsWithTimeout(timeout time.Duration) *AdminDeleteOfficialContentV2Params
- func (o *AdminDeleteOfficialContentV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminDeleteOfficialContentV2Params) SetChannelID(channelID string)
- func (o *AdminDeleteOfficialContentV2Params) SetContentID(contentID string)
- func (o *AdminDeleteOfficialContentV2Params) SetContext(ctx context.Context)
- func (o *AdminDeleteOfficialContentV2Params) SetHTTPClient(client *http.Client)
- func (o *AdminDeleteOfficialContentV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminDeleteOfficialContentV2Params) SetNamespace(namespace string)
- func (o *AdminDeleteOfficialContentV2Params) SetTimeout(timeout time.Duration)
- func (o *AdminDeleteOfficialContentV2Params) WithChannelID(channelID string) *AdminDeleteOfficialContentV2Params
- func (o *AdminDeleteOfficialContentV2Params) WithContentID(contentID string) *AdminDeleteOfficialContentV2Params
- func (o *AdminDeleteOfficialContentV2Params) WithContext(ctx context.Context) *AdminDeleteOfficialContentV2Params
- func (o *AdminDeleteOfficialContentV2Params) WithHTTPClient(client *http.Client) *AdminDeleteOfficialContentV2Params
- func (o *AdminDeleteOfficialContentV2Params) WithNamespace(namespace string) *AdminDeleteOfficialContentV2Params
- func (o *AdminDeleteOfficialContentV2Params) WithTimeout(timeout time.Duration) *AdminDeleteOfficialContentV2Params
- func (o *AdminDeleteOfficialContentV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminDeleteOfficialContentV2Reader
- type AdminDeleteOfficialContentV2Unauthorized
- type AdminDeleteUserContentV2InternalServerError
- type AdminDeleteUserContentV2NoContent
- type AdminDeleteUserContentV2NotFound
- type AdminDeleteUserContentV2Params
- func NewAdminDeleteUserContentV2Params() *AdminDeleteUserContentV2Params
- func NewAdminDeleteUserContentV2ParamsWithContext(ctx context.Context) *AdminDeleteUserContentV2Params
- func NewAdminDeleteUserContentV2ParamsWithHTTPClient(client *http.Client) *AdminDeleteUserContentV2Params
- func NewAdminDeleteUserContentV2ParamsWithTimeout(timeout time.Duration) *AdminDeleteUserContentV2Params
- func (o *AdminDeleteUserContentV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminDeleteUserContentV2Params) SetChannelID(channelID string)
- func (o *AdminDeleteUserContentV2Params) SetContentID(contentID string)
- func (o *AdminDeleteUserContentV2Params) SetContext(ctx context.Context)
- func (o *AdminDeleteUserContentV2Params) SetHTTPClient(client *http.Client)
- func (o *AdminDeleteUserContentV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminDeleteUserContentV2Params) SetNamespace(namespace string)
- func (o *AdminDeleteUserContentV2Params) SetTimeout(timeout time.Duration)
- func (o *AdminDeleteUserContentV2Params) SetUserID(userID string)
- func (o *AdminDeleteUserContentV2Params) WithChannelID(channelID string) *AdminDeleteUserContentV2Params
- func (o *AdminDeleteUserContentV2Params) WithContentID(contentID string) *AdminDeleteUserContentV2Params
- func (o *AdminDeleteUserContentV2Params) WithContext(ctx context.Context) *AdminDeleteUserContentV2Params
- func (o *AdminDeleteUserContentV2Params) WithHTTPClient(client *http.Client) *AdminDeleteUserContentV2Params
- func (o *AdminDeleteUserContentV2Params) WithNamespace(namespace string) *AdminDeleteUserContentV2Params
- func (o *AdminDeleteUserContentV2Params) WithTimeout(timeout time.Duration) *AdminDeleteUserContentV2Params
- func (o *AdminDeleteUserContentV2Params) WithUserID(userID string) *AdminDeleteUserContentV2Params
- func (o *AdminDeleteUserContentV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminDeleteUserContentV2Reader
- type AdminDeleteUserContentV2Unauthorized
- type AdminGenerateOfficialContentUploadURLV2BadRequest
- type AdminGenerateOfficialContentUploadURLV2InternalServerError
- type AdminGenerateOfficialContentUploadURLV2NotFound
- type AdminGenerateOfficialContentUploadURLV2OK
- type AdminGenerateOfficialContentUploadURLV2Params
- func NewAdminGenerateOfficialContentUploadURLV2Params() *AdminGenerateOfficialContentUploadURLV2Params
- func NewAdminGenerateOfficialContentUploadURLV2ParamsWithContext(ctx context.Context) *AdminGenerateOfficialContentUploadURLV2Params
- func NewAdminGenerateOfficialContentUploadURLV2ParamsWithHTTPClient(client *http.Client) *AdminGenerateOfficialContentUploadURLV2Params
- func NewAdminGenerateOfficialContentUploadURLV2ParamsWithTimeout(timeout time.Duration) *AdminGenerateOfficialContentUploadURLV2Params
- func (o *AdminGenerateOfficialContentUploadURLV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGenerateOfficialContentUploadURLV2Params) SetBody(body *ugcclientmodels.ModelsGenerateContentUploadURLRequest)
- func (o *AdminGenerateOfficialContentUploadURLV2Params) SetChannelID(channelID string)
- func (o *AdminGenerateOfficialContentUploadURLV2Params) SetContentID(contentID string)
- func (o *AdminGenerateOfficialContentUploadURLV2Params) SetContext(ctx context.Context)
- func (o *AdminGenerateOfficialContentUploadURLV2Params) SetHTTPClient(client *http.Client)
- func (o *AdminGenerateOfficialContentUploadURLV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGenerateOfficialContentUploadURLV2Params) SetNamespace(namespace string)
- func (o *AdminGenerateOfficialContentUploadURLV2Params) SetTimeout(timeout time.Duration)
- func (o *AdminGenerateOfficialContentUploadURLV2Params) WithBody(body *ugcclientmodels.ModelsGenerateContentUploadURLRequest) *AdminGenerateOfficialContentUploadURLV2Params
- func (o *AdminGenerateOfficialContentUploadURLV2Params) WithChannelID(channelID string) *AdminGenerateOfficialContentUploadURLV2Params
- func (o *AdminGenerateOfficialContentUploadURLV2Params) WithContentID(contentID string) *AdminGenerateOfficialContentUploadURLV2Params
- func (o *AdminGenerateOfficialContentUploadURLV2Params) WithContext(ctx context.Context) *AdminGenerateOfficialContentUploadURLV2Params
- func (o *AdminGenerateOfficialContentUploadURLV2Params) WithHTTPClient(client *http.Client) *AdminGenerateOfficialContentUploadURLV2Params
- func (o *AdminGenerateOfficialContentUploadURLV2Params) WithNamespace(namespace string) *AdminGenerateOfficialContentUploadURLV2Params
- func (o *AdminGenerateOfficialContentUploadURLV2Params) WithTimeout(timeout time.Duration) *AdminGenerateOfficialContentUploadURLV2Params
- func (o *AdminGenerateOfficialContentUploadURLV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGenerateOfficialContentUploadURLV2Reader
- type AdminGenerateOfficialContentUploadURLV2Unauthorized
- type AdminGenerateUserContentUploadURLV2BadRequest
- type AdminGenerateUserContentUploadURLV2InternalServerError
- type AdminGenerateUserContentUploadURLV2NotFound
- type AdminGenerateUserContentUploadURLV2OK
- type AdminGenerateUserContentUploadURLV2Params
- func NewAdminGenerateUserContentUploadURLV2Params() *AdminGenerateUserContentUploadURLV2Params
- func NewAdminGenerateUserContentUploadURLV2ParamsWithContext(ctx context.Context) *AdminGenerateUserContentUploadURLV2Params
- func NewAdminGenerateUserContentUploadURLV2ParamsWithHTTPClient(client *http.Client) *AdminGenerateUserContentUploadURLV2Params
- func NewAdminGenerateUserContentUploadURLV2ParamsWithTimeout(timeout time.Duration) *AdminGenerateUserContentUploadURLV2Params
- func (o *AdminGenerateUserContentUploadURLV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGenerateUserContentUploadURLV2Params) SetBody(body *ugcclientmodels.ModelsGenerateContentUploadURLRequest)
- func (o *AdminGenerateUserContentUploadURLV2Params) SetChannelID(channelID string)
- func (o *AdminGenerateUserContentUploadURLV2Params) SetContentID(contentID string)
- func (o *AdminGenerateUserContentUploadURLV2Params) SetContext(ctx context.Context)
- func (o *AdminGenerateUserContentUploadURLV2Params) SetHTTPClient(client *http.Client)
- func (o *AdminGenerateUserContentUploadURLV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGenerateUserContentUploadURLV2Params) SetNamespace(namespace string)
- func (o *AdminGenerateUserContentUploadURLV2Params) SetTimeout(timeout time.Duration)
- func (o *AdminGenerateUserContentUploadURLV2Params) SetUserID(userID string)
- func (o *AdminGenerateUserContentUploadURLV2Params) WithBody(body *ugcclientmodels.ModelsGenerateContentUploadURLRequest) *AdminGenerateUserContentUploadURLV2Params
- func (o *AdminGenerateUserContentUploadURLV2Params) WithChannelID(channelID string) *AdminGenerateUserContentUploadURLV2Params
- func (o *AdminGenerateUserContentUploadURLV2Params) WithContentID(contentID string) *AdminGenerateUserContentUploadURLV2Params
- func (o *AdminGenerateUserContentUploadURLV2Params) WithContext(ctx context.Context) *AdminGenerateUserContentUploadURLV2Params
- func (o *AdminGenerateUserContentUploadURLV2Params) WithHTTPClient(client *http.Client) *AdminGenerateUserContentUploadURLV2Params
- func (o *AdminGenerateUserContentUploadURLV2Params) WithNamespace(namespace string) *AdminGenerateUserContentUploadURLV2Params
- func (o *AdminGenerateUserContentUploadURLV2Params) WithTimeout(timeout time.Duration) *AdminGenerateUserContentUploadURLV2Params
- func (o *AdminGenerateUserContentUploadURLV2Params) WithUserID(userID string) *AdminGenerateUserContentUploadURLV2Params
- func (o *AdminGenerateUserContentUploadURLV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGenerateUserContentUploadURLV2Reader
- type AdminGenerateUserContentUploadURLV2Unauthorized
- type AdminGetContentBulkByShareCodesV2BadRequest
- type AdminGetContentBulkByShareCodesV2Forbidden
- type AdminGetContentBulkByShareCodesV2InternalServerError
- type AdminGetContentBulkByShareCodesV2OK
- type AdminGetContentBulkByShareCodesV2Params
- func NewAdminGetContentBulkByShareCodesV2Params() *AdminGetContentBulkByShareCodesV2Params
- func NewAdminGetContentBulkByShareCodesV2ParamsWithContext(ctx context.Context) *AdminGetContentBulkByShareCodesV2Params
- func NewAdminGetContentBulkByShareCodesV2ParamsWithHTTPClient(client *http.Client) *AdminGetContentBulkByShareCodesV2Params
- func NewAdminGetContentBulkByShareCodesV2ParamsWithTimeout(timeout time.Duration) *AdminGetContentBulkByShareCodesV2Params
- func (o *AdminGetContentBulkByShareCodesV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetContentBulkByShareCodesV2Params) SetBody(body *ugcclientmodels.ModelsGetContentBulkByShareCodesRequest)
- func (o *AdminGetContentBulkByShareCodesV2Params) SetContext(ctx context.Context)
- func (o *AdminGetContentBulkByShareCodesV2Params) SetHTTPClient(client *http.Client)
- func (o *AdminGetContentBulkByShareCodesV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetContentBulkByShareCodesV2Params) SetNamespace(namespace string)
- func (o *AdminGetContentBulkByShareCodesV2Params) SetTimeout(timeout time.Duration)
- func (o *AdminGetContentBulkByShareCodesV2Params) WithBody(body *ugcclientmodels.ModelsGetContentBulkByShareCodesRequest) *AdminGetContentBulkByShareCodesV2Params
- func (o *AdminGetContentBulkByShareCodesV2Params) WithContext(ctx context.Context) *AdminGetContentBulkByShareCodesV2Params
- func (o *AdminGetContentBulkByShareCodesV2Params) WithHTTPClient(client *http.Client) *AdminGetContentBulkByShareCodesV2Params
- func (o *AdminGetContentBulkByShareCodesV2Params) WithNamespace(namespace string) *AdminGetContentBulkByShareCodesV2Params
- func (o *AdminGetContentBulkByShareCodesV2Params) WithTimeout(timeout time.Duration) *AdminGetContentBulkByShareCodesV2Params
- func (o *AdminGetContentBulkByShareCodesV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetContentBulkByShareCodesV2Reader
- type AdminGetContentBulkByShareCodesV2Unauthorized
- type AdminGetContentByChannelIDV2BadRequest
- type AdminGetContentByChannelIDV2InternalServerError
- type AdminGetContentByChannelIDV2OK
- type AdminGetContentByChannelIDV2Params
- func NewAdminGetContentByChannelIDV2Params() *AdminGetContentByChannelIDV2Params
- func NewAdminGetContentByChannelIDV2ParamsWithContext(ctx context.Context) *AdminGetContentByChannelIDV2Params
- func NewAdminGetContentByChannelIDV2ParamsWithHTTPClient(client *http.Client) *AdminGetContentByChannelIDV2Params
- func NewAdminGetContentByChannelIDV2ParamsWithTimeout(timeout time.Duration) *AdminGetContentByChannelIDV2Params
- func (o *AdminGetContentByChannelIDV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetContentByChannelIDV2Params) SetChannelID(channelID string)
- func (o *AdminGetContentByChannelIDV2Params) SetContext(ctx context.Context)
- func (o *AdminGetContentByChannelIDV2Params) SetHTTPClient(client *http.Client)
- func (o *AdminGetContentByChannelIDV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetContentByChannelIDV2Params) SetLimit(limit *int64)
- func (o *AdminGetContentByChannelIDV2Params) SetName(name *string)
- func (o *AdminGetContentByChannelIDV2Params) SetNamespace(namespace string)
- func (o *AdminGetContentByChannelIDV2Params) SetOffset(offset *int64)
- func (o *AdminGetContentByChannelIDV2Params) SetSortBy(sortBy *string)
- func (o *AdminGetContentByChannelIDV2Params) SetTimeout(timeout time.Duration)
- func (o *AdminGetContentByChannelIDV2Params) WithChannelID(channelID string) *AdminGetContentByChannelIDV2Params
- func (o *AdminGetContentByChannelIDV2Params) WithContext(ctx context.Context) *AdminGetContentByChannelIDV2Params
- func (o *AdminGetContentByChannelIDV2Params) WithHTTPClient(client *http.Client) *AdminGetContentByChannelIDV2Params
- func (o *AdminGetContentByChannelIDV2Params) WithLimit(limit *int64) *AdminGetContentByChannelIDV2Params
- func (o *AdminGetContentByChannelIDV2Params) WithName(name *string) *AdminGetContentByChannelIDV2Params
- func (o *AdminGetContentByChannelIDV2Params) WithNamespace(namespace string) *AdminGetContentByChannelIDV2Params
- func (o *AdminGetContentByChannelIDV2Params) WithOffset(offset *int64) *AdminGetContentByChannelIDV2Params
- func (o *AdminGetContentByChannelIDV2Params) WithSortBy(sortBy *string) *AdminGetContentByChannelIDV2Params
- func (o *AdminGetContentByChannelIDV2Params) WithTimeout(timeout time.Duration) *AdminGetContentByChannelIDV2Params
- func (o *AdminGetContentByChannelIDV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetContentByChannelIDV2Reader
- type AdminGetContentByChannelIDV2Unauthorized
- type AdminGetContentByContentIDV2InternalServerError
- type AdminGetContentByContentIDV2NotFound
- type AdminGetContentByContentIDV2OK
- type AdminGetContentByContentIDV2Params
- func NewAdminGetContentByContentIDV2Params() *AdminGetContentByContentIDV2Params
- func NewAdminGetContentByContentIDV2ParamsWithContext(ctx context.Context) *AdminGetContentByContentIDV2Params
- func NewAdminGetContentByContentIDV2ParamsWithHTTPClient(client *http.Client) *AdminGetContentByContentIDV2Params
- func NewAdminGetContentByContentIDV2ParamsWithTimeout(timeout time.Duration) *AdminGetContentByContentIDV2Params
- func (o *AdminGetContentByContentIDV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetContentByContentIDV2Params) SetContentID(contentID string)
- func (o *AdminGetContentByContentIDV2Params) SetContext(ctx context.Context)
- func (o *AdminGetContentByContentIDV2Params) SetHTTPClient(client *http.Client)
- func (o *AdminGetContentByContentIDV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetContentByContentIDV2Params) SetNamespace(namespace string)
- func (o *AdminGetContentByContentIDV2Params) SetTimeout(timeout time.Duration)
- func (o *AdminGetContentByContentIDV2Params) WithContentID(contentID string) *AdminGetContentByContentIDV2Params
- func (o *AdminGetContentByContentIDV2Params) WithContext(ctx context.Context) *AdminGetContentByContentIDV2Params
- func (o *AdminGetContentByContentIDV2Params) WithHTTPClient(client *http.Client) *AdminGetContentByContentIDV2Params
- func (o *AdminGetContentByContentIDV2Params) WithNamespace(namespace string) *AdminGetContentByContentIDV2Params
- func (o *AdminGetContentByContentIDV2Params) WithTimeout(timeout time.Duration) *AdminGetContentByContentIDV2Params
- func (o *AdminGetContentByContentIDV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetContentByContentIDV2Reader
- type AdminGetContentByContentIDV2Unauthorized
- type AdminGetContentByShareCodeV2InternalServerError
- type AdminGetContentByShareCodeV2NotFound
- type AdminGetContentByShareCodeV2OK
- type AdminGetContentByShareCodeV2Params
- func NewAdminGetContentByShareCodeV2Params() *AdminGetContentByShareCodeV2Params
- func NewAdminGetContentByShareCodeV2ParamsWithContext(ctx context.Context) *AdminGetContentByShareCodeV2Params
- func NewAdminGetContentByShareCodeV2ParamsWithHTTPClient(client *http.Client) *AdminGetContentByShareCodeV2Params
- func NewAdminGetContentByShareCodeV2ParamsWithTimeout(timeout time.Duration) *AdminGetContentByShareCodeV2Params
- func (o *AdminGetContentByShareCodeV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetContentByShareCodeV2Params) SetContext(ctx context.Context)
- func (o *AdminGetContentByShareCodeV2Params) SetHTTPClient(client *http.Client)
- func (o *AdminGetContentByShareCodeV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetContentByShareCodeV2Params) SetNamespace(namespace string)
- func (o *AdminGetContentByShareCodeV2Params) SetShareCode(shareCode string)
- func (o *AdminGetContentByShareCodeV2Params) SetTimeout(timeout time.Duration)
- func (o *AdminGetContentByShareCodeV2Params) WithContext(ctx context.Context) *AdminGetContentByShareCodeV2Params
- func (o *AdminGetContentByShareCodeV2Params) WithHTTPClient(client *http.Client) *AdminGetContentByShareCodeV2Params
- func (o *AdminGetContentByShareCodeV2Params) WithNamespace(namespace string) *AdminGetContentByShareCodeV2Params
- func (o *AdminGetContentByShareCodeV2Params) WithShareCode(shareCode string) *AdminGetContentByShareCodeV2Params
- func (o *AdminGetContentByShareCodeV2Params) WithTimeout(timeout time.Duration) *AdminGetContentByShareCodeV2Params
- func (o *AdminGetContentByShareCodeV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetContentByShareCodeV2Reader
- type AdminGetContentByShareCodeV2Unauthorized
- type AdminGetContentByUserIDV2BadRequest
- type AdminGetContentByUserIDV2InternalServerError
- type AdminGetContentByUserIDV2OK
- type AdminGetContentByUserIDV2Params
- func NewAdminGetContentByUserIDV2Params() *AdminGetContentByUserIDV2Params
- func NewAdminGetContentByUserIDV2ParamsWithContext(ctx context.Context) *AdminGetContentByUserIDV2Params
- func NewAdminGetContentByUserIDV2ParamsWithHTTPClient(client *http.Client) *AdminGetContentByUserIDV2Params
- func NewAdminGetContentByUserIDV2ParamsWithTimeout(timeout time.Duration) *AdminGetContentByUserIDV2Params
- func (o *AdminGetContentByUserIDV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetContentByUserIDV2Params) SetContext(ctx context.Context)
- func (o *AdminGetContentByUserIDV2Params) SetHTTPClient(client *http.Client)
- func (o *AdminGetContentByUserIDV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetContentByUserIDV2Params) SetLimit(limit *int64)
- func (o *AdminGetContentByUserIDV2Params) SetNamespace(namespace string)
- func (o *AdminGetContentByUserIDV2Params) SetOffset(offset *int64)
- func (o *AdminGetContentByUserIDV2Params) SetSortBy(sortBy *string)
- func (o *AdminGetContentByUserIDV2Params) SetTimeout(timeout time.Duration)
- func (o *AdminGetContentByUserIDV2Params) SetUserID(userID string)
- func (o *AdminGetContentByUserIDV2Params) WithContext(ctx context.Context) *AdminGetContentByUserIDV2Params
- func (o *AdminGetContentByUserIDV2Params) WithHTTPClient(client *http.Client) *AdminGetContentByUserIDV2Params
- func (o *AdminGetContentByUserIDV2Params) WithLimit(limit *int64) *AdminGetContentByUserIDV2Params
- func (o *AdminGetContentByUserIDV2Params) WithNamespace(namespace string) *AdminGetContentByUserIDV2Params
- func (o *AdminGetContentByUserIDV2Params) WithOffset(offset *int64) *AdminGetContentByUserIDV2Params
- func (o *AdminGetContentByUserIDV2Params) WithSortBy(sortBy *string) *AdminGetContentByUserIDV2Params
- func (o *AdminGetContentByUserIDV2Params) WithTimeout(timeout time.Duration) *AdminGetContentByUserIDV2Params
- func (o *AdminGetContentByUserIDV2Params) WithUserID(userID string) *AdminGetContentByUserIDV2Params
- func (o *AdminGetContentByUserIDV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetContentByUserIDV2Reader
- type AdminGetContentByUserIDV2Unauthorized
- type AdminListContentV2BadRequest
- type AdminListContentV2InternalServerError
- type AdminListContentV2OK
- type AdminListContentV2Params
- func NewAdminListContentV2Params() *AdminListContentV2Params
- func NewAdminListContentV2ParamsWithContext(ctx context.Context) *AdminListContentV2Params
- func NewAdminListContentV2ParamsWithHTTPClient(client *http.Client) *AdminListContentV2Params
- func NewAdminListContentV2ParamsWithTimeout(timeout time.Duration) *AdminListContentV2Params
- func (o *AdminListContentV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminListContentV2Params) SetContext(ctx context.Context)
- func (o *AdminListContentV2Params) SetHTTPClient(client *http.Client)
- func (o *AdminListContentV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminListContentV2Params) SetIsOfficial(isOfficial *bool)
- func (o *AdminListContentV2Params) SetLimit(limit *int64)
- func (o *AdminListContentV2Params) SetName(name *string)
- func (o *AdminListContentV2Params) SetNamespace(namespace string)
- func (o *AdminListContentV2Params) SetOffset(offset *int64)
- func (o *AdminListContentV2Params) SetSortBy(sortBy *string)
- func (o *AdminListContentV2Params) SetSubType(subType *string)
- func (o *AdminListContentV2Params) SetTags(tags []string)
- func (o *AdminListContentV2Params) SetTimeout(timeout time.Duration)
- func (o *AdminListContentV2Params) SetType(typeVar *string)
- func (o *AdminListContentV2Params) WithContext(ctx context.Context) *AdminListContentV2Params
- func (o *AdminListContentV2Params) WithHTTPClient(client *http.Client) *AdminListContentV2Params
- func (o *AdminListContentV2Params) WithIsOfficial(isOfficial *bool) *AdminListContentV2Params
- func (o *AdminListContentV2Params) WithLimit(limit *int64) *AdminListContentV2Params
- func (o *AdminListContentV2Params) WithName(name *string) *AdminListContentV2Params
- func (o *AdminListContentV2Params) WithNamespace(namespace string) *AdminListContentV2Params
- func (o *AdminListContentV2Params) WithOffset(offset *int64) *AdminListContentV2Params
- func (o *AdminListContentV2Params) WithSortBy(sortBy *string) *AdminListContentV2Params
- func (o *AdminListContentV2Params) WithSubType(subType *string) *AdminListContentV2Params
- func (o *AdminListContentV2Params) WithTags(tags []string) *AdminListContentV2Params
- func (o *AdminListContentV2Params) WithTimeout(timeout time.Duration) *AdminListContentV2Params
- func (o *AdminListContentV2Params) WithType(typeVar *string) *AdminListContentV2Params
- func (o *AdminListContentV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminListContentV2Reader
- type AdminListContentV2Unauthorized
- type AdminUpdateContentByShareCodeV2BadRequest
- type AdminUpdateContentByShareCodeV2Conflict
- type AdminUpdateContentByShareCodeV2Forbidden
- type AdminUpdateContentByShareCodeV2InternalServerError
- type AdminUpdateContentByShareCodeV2NotFound
- type AdminUpdateContentByShareCodeV2OK
- type AdminUpdateContentByShareCodeV2Params
- func NewAdminUpdateContentByShareCodeV2Params() *AdminUpdateContentByShareCodeV2Params
- func NewAdminUpdateContentByShareCodeV2ParamsWithContext(ctx context.Context) *AdminUpdateContentByShareCodeV2Params
- func NewAdminUpdateContentByShareCodeV2ParamsWithHTTPClient(client *http.Client) *AdminUpdateContentByShareCodeV2Params
- func NewAdminUpdateContentByShareCodeV2ParamsWithTimeout(timeout time.Duration) *AdminUpdateContentByShareCodeV2Params
- func (o *AdminUpdateContentByShareCodeV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminUpdateContentByShareCodeV2Params) SetBody(body *ugcclientmodels.ModelsAdminUpdateContentRequestV2)
- func (o *AdminUpdateContentByShareCodeV2Params) SetChannelID(channelID string)
- func (o *AdminUpdateContentByShareCodeV2Params) SetContext(ctx context.Context)
- func (o *AdminUpdateContentByShareCodeV2Params) SetHTTPClient(client *http.Client)
- func (o *AdminUpdateContentByShareCodeV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminUpdateContentByShareCodeV2Params) SetNamespace(namespace string)
- func (o *AdminUpdateContentByShareCodeV2Params) SetShareCode(shareCode string)
- func (o *AdminUpdateContentByShareCodeV2Params) SetTimeout(timeout time.Duration)
- func (o *AdminUpdateContentByShareCodeV2Params) SetUserID(userID string)
- func (o *AdminUpdateContentByShareCodeV2Params) WithBody(body *ugcclientmodels.ModelsAdminUpdateContentRequestV2) *AdminUpdateContentByShareCodeV2Params
- func (o *AdminUpdateContentByShareCodeV2Params) WithChannelID(channelID string) *AdminUpdateContentByShareCodeV2Params
- func (o *AdminUpdateContentByShareCodeV2Params) WithContext(ctx context.Context) *AdminUpdateContentByShareCodeV2Params
- func (o *AdminUpdateContentByShareCodeV2Params) WithHTTPClient(client *http.Client) *AdminUpdateContentByShareCodeV2Params
- func (o *AdminUpdateContentByShareCodeV2Params) WithNamespace(namespace string) *AdminUpdateContentByShareCodeV2Params
- func (o *AdminUpdateContentByShareCodeV2Params) WithShareCode(shareCode string) *AdminUpdateContentByShareCodeV2Params
- func (o *AdminUpdateContentByShareCodeV2Params) WithTimeout(timeout time.Duration) *AdminUpdateContentByShareCodeV2Params
- func (o *AdminUpdateContentByShareCodeV2Params) WithUserID(userID string) *AdminUpdateContentByShareCodeV2Params
- func (o *AdminUpdateContentByShareCodeV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminUpdateContentByShareCodeV2Reader
- type AdminUpdateContentByShareCodeV2Unauthorized
- type AdminUpdateContentHideStatusV2BadRequest
- type AdminUpdateContentHideStatusV2Forbidden
- type AdminUpdateContentHideStatusV2InternalServerError
- type AdminUpdateContentHideStatusV2NotFound
- type AdminUpdateContentHideStatusV2OK
- type AdminUpdateContentHideStatusV2Params
- func NewAdminUpdateContentHideStatusV2Params() *AdminUpdateContentHideStatusV2Params
- func NewAdminUpdateContentHideStatusV2ParamsWithContext(ctx context.Context) *AdminUpdateContentHideStatusV2Params
- func NewAdminUpdateContentHideStatusV2ParamsWithHTTPClient(client *http.Client) *AdminUpdateContentHideStatusV2Params
- func NewAdminUpdateContentHideStatusV2ParamsWithTimeout(timeout time.Duration) *AdminUpdateContentHideStatusV2Params
- func (o *AdminUpdateContentHideStatusV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminUpdateContentHideStatusV2Params) SetBody(body *ugcclientmodels.ModelsHideContentRequest)
- func (o *AdminUpdateContentHideStatusV2Params) SetContentID(contentID string)
- func (o *AdminUpdateContentHideStatusV2Params) SetContext(ctx context.Context)
- func (o *AdminUpdateContentHideStatusV2Params) SetHTTPClient(client *http.Client)
- func (o *AdminUpdateContentHideStatusV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminUpdateContentHideStatusV2Params) SetNamespace(namespace string)
- func (o *AdminUpdateContentHideStatusV2Params) SetTimeout(timeout time.Duration)
- func (o *AdminUpdateContentHideStatusV2Params) SetUserID(userID string)
- func (o *AdminUpdateContentHideStatusV2Params) WithBody(body *ugcclientmodels.ModelsHideContentRequest) *AdminUpdateContentHideStatusV2Params
- func (o *AdminUpdateContentHideStatusV2Params) WithContentID(contentID string) *AdminUpdateContentHideStatusV2Params
- func (o *AdminUpdateContentHideStatusV2Params) WithContext(ctx context.Context) *AdminUpdateContentHideStatusV2Params
- func (o *AdminUpdateContentHideStatusV2Params) WithHTTPClient(client *http.Client) *AdminUpdateContentHideStatusV2Params
- func (o *AdminUpdateContentHideStatusV2Params) WithNamespace(namespace string) *AdminUpdateContentHideStatusV2Params
- func (o *AdminUpdateContentHideStatusV2Params) WithTimeout(timeout time.Duration) *AdminUpdateContentHideStatusV2Params
- func (o *AdminUpdateContentHideStatusV2Params) WithUserID(userID string) *AdminUpdateContentHideStatusV2Params
- func (o *AdminUpdateContentHideStatusV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminUpdateContentHideStatusV2Reader
- type AdminUpdateContentHideStatusV2Unauthorized
- type AdminUpdateOfficialContentFileLocationBadRequest
- type AdminUpdateOfficialContentFileLocationForbidden
- type AdminUpdateOfficialContentFileLocationInternalServerError
- type AdminUpdateOfficialContentFileLocationNotFound
- type AdminUpdateOfficialContentFileLocationOK
- type AdminUpdateOfficialContentFileLocationParams
- func NewAdminUpdateOfficialContentFileLocationParams() *AdminUpdateOfficialContentFileLocationParams
- func NewAdminUpdateOfficialContentFileLocationParamsWithContext(ctx context.Context) *AdminUpdateOfficialContentFileLocationParams
- func NewAdminUpdateOfficialContentFileLocationParamsWithHTTPClient(client *http.Client) *AdminUpdateOfficialContentFileLocationParams
- func NewAdminUpdateOfficialContentFileLocationParamsWithTimeout(timeout time.Duration) *AdminUpdateOfficialContentFileLocationParams
- func (o *AdminUpdateOfficialContentFileLocationParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminUpdateOfficialContentFileLocationParams) SetBody(body *ugcclientmodels.ModelsUpdateFileLocationRequest)
- func (o *AdminUpdateOfficialContentFileLocationParams) SetChannelID(channelID string)
- func (o *AdminUpdateOfficialContentFileLocationParams) SetContentID(contentID string)
- func (o *AdminUpdateOfficialContentFileLocationParams) SetContext(ctx context.Context)
- func (o *AdminUpdateOfficialContentFileLocationParams) SetHTTPClient(client *http.Client)
- func (o *AdminUpdateOfficialContentFileLocationParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminUpdateOfficialContentFileLocationParams) SetNamespace(namespace string)
- func (o *AdminUpdateOfficialContentFileLocationParams) SetTimeout(timeout time.Duration)
- func (o *AdminUpdateOfficialContentFileLocationParams) WithBody(body *ugcclientmodels.ModelsUpdateFileLocationRequest) *AdminUpdateOfficialContentFileLocationParams
- func (o *AdminUpdateOfficialContentFileLocationParams) WithChannelID(channelID string) *AdminUpdateOfficialContentFileLocationParams
- func (o *AdminUpdateOfficialContentFileLocationParams) WithContentID(contentID string) *AdminUpdateOfficialContentFileLocationParams
- func (o *AdminUpdateOfficialContentFileLocationParams) WithContext(ctx context.Context) *AdminUpdateOfficialContentFileLocationParams
- func (o *AdminUpdateOfficialContentFileLocationParams) WithHTTPClient(client *http.Client) *AdminUpdateOfficialContentFileLocationParams
- func (o *AdminUpdateOfficialContentFileLocationParams) WithNamespace(namespace string) *AdminUpdateOfficialContentFileLocationParams
- func (o *AdminUpdateOfficialContentFileLocationParams) WithTimeout(timeout time.Duration) *AdminUpdateOfficialContentFileLocationParams
- func (o *AdminUpdateOfficialContentFileLocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminUpdateOfficialContentFileLocationReader
- type AdminUpdateOfficialContentFileLocationUnauthorized
- type AdminUpdateOfficialContentV2BadRequest
- type AdminUpdateOfficialContentV2Conflict
- type AdminUpdateOfficialContentV2InternalServerError
- type AdminUpdateOfficialContentV2NotFound
- type AdminUpdateOfficialContentV2OK
- type AdminUpdateOfficialContentV2Params
- func NewAdminUpdateOfficialContentV2Params() *AdminUpdateOfficialContentV2Params
- func NewAdminUpdateOfficialContentV2ParamsWithContext(ctx context.Context) *AdminUpdateOfficialContentV2Params
- func NewAdminUpdateOfficialContentV2ParamsWithHTTPClient(client *http.Client) *AdminUpdateOfficialContentV2Params
- func NewAdminUpdateOfficialContentV2ParamsWithTimeout(timeout time.Duration) *AdminUpdateOfficialContentV2Params
- func (o *AdminUpdateOfficialContentV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminUpdateOfficialContentV2Params) SetBody(body *ugcclientmodels.ModelsAdminUpdateContentRequestV2)
- func (o *AdminUpdateOfficialContentV2Params) SetChannelID(channelID string)
- func (o *AdminUpdateOfficialContentV2Params) SetContentID(contentID string)
- func (o *AdminUpdateOfficialContentV2Params) SetContext(ctx context.Context)
- func (o *AdminUpdateOfficialContentV2Params) SetHTTPClient(client *http.Client)
- func (o *AdminUpdateOfficialContentV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminUpdateOfficialContentV2Params) SetNamespace(namespace string)
- func (o *AdminUpdateOfficialContentV2Params) SetTimeout(timeout time.Duration)
- func (o *AdminUpdateOfficialContentV2Params) WithBody(body *ugcclientmodels.ModelsAdminUpdateContentRequestV2) *AdminUpdateOfficialContentV2Params
- func (o *AdminUpdateOfficialContentV2Params) WithChannelID(channelID string) *AdminUpdateOfficialContentV2Params
- func (o *AdminUpdateOfficialContentV2Params) WithContentID(contentID string) *AdminUpdateOfficialContentV2Params
- func (o *AdminUpdateOfficialContentV2Params) WithContext(ctx context.Context) *AdminUpdateOfficialContentV2Params
- func (o *AdminUpdateOfficialContentV2Params) WithHTTPClient(client *http.Client) *AdminUpdateOfficialContentV2Params
- func (o *AdminUpdateOfficialContentV2Params) WithNamespace(namespace string) *AdminUpdateOfficialContentV2Params
- func (o *AdminUpdateOfficialContentV2Params) WithTimeout(timeout time.Duration) *AdminUpdateOfficialContentV2Params
- func (o *AdminUpdateOfficialContentV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminUpdateOfficialContentV2Reader
- type AdminUpdateOfficialContentV2Unauthorized
- type AdminUpdateScreenshotsV2BadRequest
- type AdminUpdateScreenshotsV2Forbidden
- type AdminUpdateScreenshotsV2InternalServerError
- type AdminUpdateScreenshotsV2NotFound
- type AdminUpdateScreenshotsV2OK
- type AdminUpdateScreenshotsV2Params
- func NewAdminUpdateScreenshotsV2Params() *AdminUpdateScreenshotsV2Params
- func NewAdminUpdateScreenshotsV2ParamsWithContext(ctx context.Context) *AdminUpdateScreenshotsV2Params
- func NewAdminUpdateScreenshotsV2ParamsWithHTTPClient(client *http.Client) *AdminUpdateScreenshotsV2Params
- func NewAdminUpdateScreenshotsV2ParamsWithTimeout(timeout time.Duration) *AdminUpdateScreenshotsV2Params
- func (o *AdminUpdateScreenshotsV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminUpdateScreenshotsV2Params) SetBody(body *ugcclientmodels.ModelsUpdateScreenshotRequest)
- func (o *AdminUpdateScreenshotsV2Params) SetContentID(contentID string)
- func (o *AdminUpdateScreenshotsV2Params) SetContext(ctx context.Context)
- func (o *AdminUpdateScreenshotsV2Params) SetHTTPClient(client *http.Client)
- func (o *AdminUpdateScreenshotsV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminUpdateScreenshotsV2Params) SetNamespace(namespace string)
- func (o *AdminUpdateScreenshotsV2Params) SetTimeout(timeout time.Duration)
- func (o *AdminUpdateScreenshotsV2Params) WithBody(body *ugcclientmodels.ModelsUpdateScreenshotRequest) *AdminUpdateScreenshotsV2Params
- func (o *AdminUpdateScreenshotsV2Params) WithContentID(contentID string) *AdminUpdateScreenshotsV2Params
- func (o *AdminUpdateScreenshotsV2Params) WithContext(ctx context.Context) *AdminUpdateScreenshotsV2Params
- func (o *AdminUpdateScreenshotsV2Params) WithHTTPClient(client *http.Client) *AdminUpdateScreenshotsV2Params
- func (o *AdminUpdateScreenshotsV2Params) WithNamespace(namespace string) *AdminUpdateScreenshotsV2Params
- func (o *AdminUpdateScreenshotsV2Params) WithTimeout(timeout time.Duration) *AdminUpdateScreenshotsV2Params
- func (o *AdminUpdateScreenshotsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminUpdateScreenshotsV2Reader
- type AdminUpdateScreenshotsV2Unauthorized
- type AdminUpdateUserContentFileLocationBadRequest
- type AdminUpdateUserContentFileLocationForbidden
- type AdminUpdateUserContentFileLocationInternalServerError
- type AdminUpdateUserContentFileLocationNotFound
- type AdminUpdateUserContentFileLocationOK
- type AdminUpdateUserContentFileLocationParams
- func NewAdminUpdateUserContentFileLocationParams() *AdminUpdateUserContentFileLocationParams
- func NewAdminUpdateUserContentFileLocationParamsWithContext(ctx context.Context) *AdminUpdateUserContentFileLocationParams
- func NewAdminUpdateUserContentFileLocationParamsWithHTTPClient(client *http.Client) *AdminUpdateUserContentFileLocationParams
- func NewAdminUpdateUserContentFileLocationParamsWithTimeout(timeout time.Duration) *AdminUpdateUserContentFileLocationParams
- func (o *AdminUpdateUserContentFileLocationParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminUpdateUserContentFileLocationParams) SetBody(body *ugcclientmodels.ModelsUpdateFileLocationRequest)
- func (o *AdminUpdateUserContentFileLocationParams) SetChannelID(channelID string)
- func (o *AdminUpdateUserContentFileLocationParams) SetContentID(contentID string)
- func (o *AdminUpdateUserContentFileLocationParams) SetContext(ctx context.Context)
- func (o *AdminUpdateUserContentFileLocationParams) SetHTTPClient(client *http.Client)
- func (o *AdminUpdateUserContentFileLocationParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminUpdateUserContentFileLocationParams) SetNamespace(namespace string)
- func (o *AdminUpdateUserContentFileLocationParams) SetTimeout(timeout time.Duration)
- func (o *AdminUpdateUserContentFileLocationParams) SetUserID(userID string)
- func (o *AdminUpdateUserContentFileLocationParams) WithBody(body *ugcclientmodels.ModelsUpdateFileLocationRequest) *AdminUpdateUserContentFileLocationParams
- func (o *AdminUpdateUserContentFileLocationParams) WithChannelID(channelID string) *AdminUpdateUserContentFileLocationParams
- func (o *AdminUpdateUserContentFileLocationParams) WithContentID(contentID string) *AdminUpdateUserContentFileLocationParams
- func (o *AdminUpdateUserContentFileLocationParams) WithContext(ctx context.Context) *AdminUpdateUserContentFileLocationParams
- func (o *AdminUpdateUserContentFileLocationParams) WithHTTPClient(client *http.Client) *AdminUpdateUserContentFileLocationParams
- func (o *AdminUpdateUserContentFileLocationParams) WithNamespace(namespace string) *AdminUpdateUserContentFileLocationParams
- func (o *AdminUpdateUserContentFileLocationParams) WithTimeout(timeout time.Duration) *AdminUpdateUserContentFileLocationParams
- func (o *AdminUpdateUserContentFileLocationParams) WithUserID(userID string) *AdminUpdateUserContentFileLocationParams
- func (o *AdminUpdateUserContentFileLocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminUpdateUserContentFileLocationReader
- type AdminUpdateUserContentFileLocationUnauthorized
- type AdminUpdateUserContentV2BadRequest
- type AdminUpdateUserContentV2Conflict
- type AdminUpdateUserContentV2InternalServerError
- type AdminUpdateUserContentV2NotFound
- type AdminUpdateUserContentV2OK
- type AdminUpdateUserContentV2Params
- func NewAdminUpdateUserContentV2Params() *AdminUpdateUserContentV2Params
- func NewAdminUpdateUserContentV2ParamsWithContext(ctx context.Context) *AdminUpdateUserContentV2Params
- func NewAdminUpdateUserContentV2ParamsWithHTTPClient(client *http.Client) *AdminUpdateUserContentV2Params
- func NewAdminUpdateUserContentV2ParamsWithTimeout(timeout time.Duration) *AdminUpdateUserContentV2Params
- func (o *AdminUpdateUserContentV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminUpdateUserContentV2Params) SetBody(body *ugcclientmodels.ModelsAdminUpdateContentRequestV2)
- func (o *AdminUpdateUserContentV2Params) SetChannelID(channelID string)
- func (o *AdminUpdateUserContentV2Params) SetContentID(contentID string)
- func (o *AdminUpdateUserContentV2Params) SetContext(ctx context.Context)
- func (o *AdminUpdateUserContentV2Params) SetHTTPClient(client *http.Client)
- func (o *AdminUpdateUserContentV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminUpdateUserContentV2Params) SetNamespace(namespace string)
- func (o *AdminUpdateUserContentV2Params) SetTimeout(timeout time.Duration)
- func (o *AdminUpdateUserContentV2Params) SetUserID(userID string)
- func (o *AdminUpdateUserContentV2Params) WithBody(body *ugcclientmodels.ModelsAdminUpdateContentRequestV2) *AdminUpdateUserContentV2Params
- func (o *AdminUpdateUserContentV2Params) WithChannelID(channelID string) *AdminUpdateUserContentV2Params
- func (o *AdminUpdateUserContentV2Params) WithContentID(contentID string) *AdminUpdateUserContentV2Params
- func (o *AdminUpdateUserContentV2Params) WithContext(ctx context.Context) *AdminUpdateUserContentV2Params
- func (o *AdminUpdateUserContentV2Params) WithHTTPClient(client *http.Client) *AdminUpdateUserContentV2Params
- func (o *AdminUpdateUserContentV2Params) WithNamespace(namespace string) *AdminUpdateUserContentV2Params
- func (o *AdminUpdateUserContentV2Params) WithTimeout(timeout time.Duration) *AdminUpdateUserContentV2Params
- func (o *AdminUpdateUserContentV2Params) WithUserID(userID string) *AdminUpdateUserContentV2Params
- func (o *AdminUpdateUserContentV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminUpdateUserContentV2Reader
- type AdminUpdateUserContentV2Unauthorized
- type AdminUploadContentScreenshotV2BadRequest
- type AdminUploadContentScreenshotV2Created
- type AdminUploadContentScreenshotV2Forbidden
- type AdminUploadContentScreenshotV2InternalServerError
- type AdminUploadContentScreenshotV2NotFound
- type AdminUploadContentScreenshotV2Params
- func NewAdminUploadContentScreenshotV2Params() *AdminUploadContentScreenshotV2Params
- func NewAdminUploadContentScreenshotV2ParamsWithContext(ctx context.Context) *AdminUploadContentScreenshotV2Params
- func NewAdminUploadContentScreenshotV2ParamsWithHTTPClient(client *http.Client) *AdminUploadContentScreenshotV2Params
- func NewAdminUploadContentScreenshotV2ParamsWithTimeout(timeout time.Duration) *AdminUploadContentScreenshotV2Params
- func (o *AdminUploadContentScreenshotV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminUploadContentScreenshotV2Params) SetBody(body *ugcclientmodels.ModelsCreateScreenshotRequest)
- func (o *AdminUploadContentScreenshotV2Params) SetContentID(contentID string)
- func (o *AdminUploadContentScreenshotV2Params) SetContext(ctx context.Context)
- func (o *AdminUploadContentScreenshotV2Params) SetHTTPClient(client *http.Client)
- func (o *AdminUploadContentScreenshotV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminUploadContentScreenshotV2Params) SetNamespace(namespace string)
- func (o *AdminUploadContentScreenshotV2Params) SetTimeout(timeout time.Duration)
- func (o *AdminUploadContentScreenshotV2Params) WithBody(body *ugcclientmodels.ModelsCreateScreenshotRequest) *AdminUploadContentScreenshotV2Params
- func (o *AdminUploadContentScreenshotV2Params) WithContentID(contentID string) *AdminUploadContentScreenshotV2Params
- func (o *AdminUploadContentScreenshotV2Params) WithContext(ctx context.Context) *AdminUploadContentScreenshotV2Params
- func (o *AdminUploadContentScreenshotV2Params) WithHTTPClient(client *http.Client) *AdminUploadContentScreenshotV2Params
- func (o *AdminUploadContentScreenshotV2Params) WithNamespace(namespace string) *AdminUploadContentScreenshotV2Params
- func (o *AdminUploadContentScreenshotV2Params) WithTimeout(timeout time.Duration) *AdminUploadContentScreenshotV2Params
- func (o *AdminUploadContentScreenshotV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminUploadContentScreenshotV2Reader
- type AdminUploadContentScreenshotV2Unauthorized
- type Client
- func (a *Client) AdminBulkGetContentByIDsV2(params *AdminBulkGetContentByIDsV2Params, ...) (*AdminBulkGetContentByIDsV2OK, *AdminBulkGetContentByIDsV2BadRequest, ...)deprecated
- func (a *Client) AdminBulkGetContentByIDsV2Short(params *AdminBulkGetContentByIDsV2Params, ...) (*AdminBulkGetContentByIDsV2OK, error)
- func (a *Client) AdminCreateContentV2(params *AdminCreateContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateContentV2Created, *AdminCreateContentV2BadRequest, ...)deprecated
- func (a *Client) AdminCreateContentV2Short(params *AdminCreateContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateContentV2Created, error)
- func (a *Client) AdminDeleteContentByShareCodeV2(params *AdminDeleteContentByShareCodeV2Params, ...) (*AdminDeleteContentByShareCodeV2NoContent, ...)deprecated
- func (a *Client) AdminDeleteContentByShareCodeV2Short(params *AdminDeleteContentByShareCodeV2Params, ...) (*AdminDeleteContentByShareCodeV2NoContent, error)
- func (a *Client) AdminDeleteContentScreenshotV2(params *AdminDeleteContentScreenshotV2Params, ...) (*AdminDeleteContentScreenshotV2NoContent, ...)deprecated
- func (a *Client) AdminDeleteContentScreenshotV2Short(params *AdminDeleteContentScreenshotV2Params, ...) (*AdminDeleteContentScreenshotV2NoContent, error)
- func (a *Client) AdminDeleteOfficialContentV2(params *AdminDeleteOfficialContentV2Params, ...) (*AdminDeleteOfficialContentV2NoContent, ...)deprecated
- func (a *Client) AdminDeleteOfficialContentV2Short(params *AdminDeleteOfficialContentV2Params, ...) (*AdminDeleteOfficialContentV2NoContent, error)
- func (a *Client) AdminDeleteUserContentV2(params *AdminDeleteUserContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteUserContentV2NoContent, *AdminDeleteUserContentV2Unauthorized, ...)deprecated
- func (a *Client) AdminDeleteUserContentV2Short(params *AdminDeleteUserContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteUserContentV2NoContent, error)
- func (a *Client) AdminGenerateOfficialContentUploadURLV2(params *AdminGenerateOfficialContentUploadURLV2Params, ...) (*AdminGenerateOfficialContentUploadURLV2OK, ...)deprecated
- func (a *Client) AdminGenerateOfficialContentUploadURLV2Short(params *AdminGenerateOfficialContentUploadURLV2Params, ...) (*AdminGenerateOfficialContentUploadURLV2OK, error)
- func (a *Client) AdminGenerateUserContentUploadURLV2(params *AdminGenerateUserContentUploadURLV2Params, ...) (*AdminGenerateUserContentUploadURLV2OK, ...)deprecated
- func (a *Client) AdminGenerateUserContentUploadURLV2Short(params *AdminGenerateUserContentUploadURLV2Params, ...) (*AdminGenerateUserContentUploadURLV2OK, error)
- func (a *Client) AdminGetContentBulkByShareCodesV2(params *AdminGetContentBulkByShareCodesV2Params, ...) (*AdminGetContentBulkByShareCodesV2OK, ...)deprecated
- func (a *Client) AdminGetContentBulkByShareCodesV2Short(params *AdminGetContentBulkByShareCodesV2Params, ...) (*AdminGetContentBulkByShareCodesV2OK, error)
- func (a *Client) AdminGetContentByChannelIDV2(params *AdminGetContentByChannelIDV2Params, ...) (*AdminGetContentByChannelIDV2OK, *AdminGetContentByChannelIDV2BadRequest, ...)deprecated
- func (a *Client) AdminGetContentByChannelIDV2Short(params *AdminGetContentByChannelIDV2Params, ...) (*AdminGetContentByChannelIDV2OK, error)
- func (a *Client) AdminGetContentByContentIDV2(params *AdminGetContentByContentIDV2Params, ...) (*AdminGetContentByContentIDV2OK, *AdminGetContentByContentIDV2Unauthorized, ...)deprecated
- func (a *Client) AdminGetContentByContentIDV2Short(params *AdminGetContentByContentIDV2Params, ...) (*AdminGetContentByContentIDV2OK, error)
- func (a *Client) AdminGetContentByShareCodeV2(params *AdminGetContentByShareCodeV2Params, ...) (*AdminGetContentByShareCodeV2OK, *AdminGetContentByShareCodeV2Unauthorized, ...)deprecated
- func (a *Client) AdminGetContentByShareCodeV2Short(params *AdminGetContentByShareCodeV2Params, ...) (*AdminGetContentByShareCodeV2OK, error)
- func (a *Client) AdminGetContentByUserIDV2(params *AdminGetContentByUserIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentByUserIDV2OK, *AdminGetContentByUserIDV2BadRequest, ...)deprecated
- func (a *Client) AdminGetContentByUserIDV2Short(params *AdminGetContentByUserIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentByUserIDV2OK, error)
- func (a *Client) AdminListContentV2(params *AdminListContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminListContentV2OK, *AdminListContentV2BadRequest, ...)deprecated
- func (a *Client) AdminListContentV2Short(params *AdminListContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminListContentV2OK, error)
- func (a *Client) AdminUpdateContentByShareCodeV2(params *AdminUpdateContentByShareCodeV2Params, ...) (*AdminUpdateContentByShareCodeV2OK, *AdminUpdateContentByShareCodeV2BadRequest, ...)deprecated
- func (a *Client) AdminUpdateContentByShareCodeV2Short(params *AdminUpdateContentByShareCodeV2Params, ...) (*AdminUpdateContentByShareCodeV2OK, error)
- func (a *Client) AdminUpdateContentHideStatusV2(params *AdminUpdateContentHideStatusV2Params, ...) (*AdminUpdateContentHideStatusV2OK, *AdminUpdateContentHideStatusV2BadRequest, ...)deprecated
- func (a *Client) AdminUpdateContentHideStatusV2Short(params *AdminUpdateContentHideStatusV2Params, ...) (*AdminUpdateContentHideStatusV2OK, error)
- func (a *Client) AdminUpdateOfficialContentFileLocation(params *AdminUpdateOfficialContentFileLocationParams, ...) (*AdminUpdateOfficialContentFileLocationOK, ...)deprecated
- func (a *Client) AdminUpdateOfficialContentFileLocationShort(params *AdminUpdateOfficialContentFileLocationParams, ...) (*AdminUpdateOfficialContentFileLocationOK, error)
- func (a *Client) AdminUpdateOfficialContentV2(params *AdminUpdateOfficialContentV2Params, ...) (*AdminUpdateOfficialContentV2OK, *AdminUpdateOfficialContentV2BadRequest, ...)deprecated
- func (a *Client) AdminUpdateOfficialContentV2Short(params *AdminUpdateOfficialContentV2Params, ...) (*AdminUpdateOfficialContentV2OK, error)
- func (a *Client) AdminUpdateScreenshotsV2(params *AdminUpdateScreenshotsV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateScreenshotsV2OK, *AdminUpdateScreenshotsV2BadRequest, ...)deprecated
- func (a *Client) AdminUpdateScreenshotsV2Short(params *AdminUpdateScreenshotsV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateScreenshotsV2OK, error)
- func (a *Client) AdminUpdateUserContentFileLocation(params *AdminUpdateUserContentFileLocationParams, ...) (*AdminUpdateUserContentFileLocationOK, ...)deprecated
- func (a *Client) AdminUpdateUserContentFileLocationShort(params *AdminUpdateUserContentFileLocationParams, ...) (*AdminUpdateUserContentFileLocationOK, error)
- func (a *Client) AdminUpdateUserContentV2(params *AdminUpdateUserContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateUserContentV2OK, *AdminUpdateUserContentV2BadRequest, ...)deprecated
- func (a *Client) AdminUpdateUserContentV2Short(params *AdminUpdateUserContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateUserContentV2OK, error)
- func (a *Client) AdminUploadContentScreenshotV2(params *AdminUploadContentScreenshotV2Params, ...) (*AdminUploadContentScreenshotV2Created, ...)deprecated
- func (a *Client) AdminUploadContentScreenshotV2Short(params *AdminUploadContentScreenshotV2Params, ...) (*AdminUploadContentScreenshotV2Created, error)
- func (a *Client) ListContentVersionsV2(params *ListContentVersionsV2Params, authInfo runtime.ClientAuthInfoWriter) (*ListContentVersionsV2OK, *ListContentVersionsV2Unauthorized, ...)deprecated
- func (a *Client) ListContentVersionsV2Short(params *ListContentVersionsV2Params, authInfo runtime.ClientAuthInfoWriter) (*ListContentVersionsV2OK, error)
- func (a *Client) RollbackContentVersionV2(params *RollbackContentVersionV2Params, authInfo runtime.ClientAuthInfoWriter) (*RollbackContentVersionV2OK, *RollbackContentVersionV2Unauthorized, ...)deprecated
- func (a *Client) RollbackContentVersionV2Short(params *RollbackContentVersionV2Params, authInfo runtime.ClientAuthInfoWriter) (*RollbackContentVersionV2OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type ListContentVersionsV2InternalServerError
- type ListContentVersionsV2NotFound
- type ListContentVersionsV2OK
- type ListContentVersionsV2Params
- func NewListContentVersionsV2Params() *ListContentVersionsV2Params
- func NewListContentVersionsV2ParamsWithContext(ctx context.Context) *ListContentVersionsV2Params
- func NewListContentVersionsV2ParamsWithHTTPClient(client *http.Client) *ListContentVersionsV2Params
- func NewListContentVersionsV2ParamsWithTimeout(timeout time.Duration) *ListContentVersionsV2Params
- func (o *ListContentVersionsV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ListContentVersionsV2Params) SetContentID(contentID string)
- func (o *ListContentVersionsV2Params) SetContext(ctx context.Context)
- func (o *ListContentVersionsV2Params) SetHTTPClient(client *http.Client)
- func (o *ListContentVersionsV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ListContentVersionsV2Params) SetNamespace(namespace string)
- func (o *ListContentVersionsV2Params) SetTimeout(timeout time.Duration)
- func (o *ListContentVersionsV2Params) WithContentID(contentID string) *ListContentVersionsV2Params
- func (o *ListContentVersionsV2Params) WithContext(ctx context.Context) *ListContentVersionsV2Params
- func (o *ListContentVersionsV2Params) WithHTTPClient(client *http.Client) *ListContentVersionsV2Params
- func (o *ListContentVersionsV2Params) WithNamespace(namespace string) *ListContentVersionsV2Params
- func (o *ListContentVersionsV2Params) WithTimeout(timeout time.Duration) *ListContentVersionsV2Params
- func (o *ListContentVersionsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListContentVersionsV2Reader
- type ListContentVersionsV2Unauthorized
- type RollbackContentVersionV2InternalServerError
- type RollbackContentVersionV2NotFound
- type RollbackContentVersionV2OK
- type RollbackContentVersionV2Params
- func NewRollbackContentVersionV2Params() *RollbackContentVersionV2Params
- func NewRollbackContentVersionV2ParamsWithContext(ctx context.Context) *RollbackContentVersionV2Params
- func NewRollbackContentVersionV2ParamsWithHTTPClient(client *http.Client) *RollbackContentVersionV2Params
- func NewRollbackContentVersionV2ParamsWithTimeout(timeout time.Duration) *RollbackContentVersionV2Params
- func (o *RollbackContentVersionV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RollbackContentVersionV2Params) SetContentID(contentID string)
- func (o *RollbackContentVersionV2Params) SetContext(ctx context.Context)
- func (o *RollbackContentVersionV2Params) SetHTTPClient(client *http.Client)
- func (o *RollbackContentVersionV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RollbackContentVersionV2Params) SetNamespace(namespace string)
- func (o *RollbackContentVersionV2Params) SetTimeout(timeout time.Duration)
- func (o *RollbackContentVersionV2Params) SetVersionID(versionID string)
- func (o *RollbackContentVersionV2Params) WithContentID(contentID string) *RollbackContentVersionV2Params
- func (o *RollbackContentVersionV2Params) WithContext(ctx context.Context) *RollbackContentVersionV2Params
- func (o *RollbackContentVersionV2Params) WithHTTPClient(client *http.Client) *RollbackContentVersionV2Params
- func (o *RollbackContentVersionV2Params) WithNamespace(namespace string) *RollbackContentVersionV2Params
- func (o *RollbackContentVersionV2Params) WithTimeout(timeout time.Duration) *RollbackContentVersionV2Params
- func (o *RollbackContentVersionV2Params) WithVersionID(versionID string) *RollbackContentVersionV2Params
- func (o *RollbackContentVersionV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RollbackContentVersionV2Reader
- type RollbackContentVersionV2Unauthorized
- type RollbackContentVersionV2UnprocessableEntity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminBulkGetContentByIDsV2BadRequest ¶ added in v0.60.0
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 ¶ added in v0.60.0
func NewAdminBulkGetContentByIDsV2BadRequest() *AdminBulkGetContentByIDsV2BadRequest
NewAdminBulkGetContentByIDsV2BadRequest creates a AdminBulkGetContentByIDsV2BadRequest with default headers values
func (*AdminBulkGetContentByIDsV2BadRequest) Error ¶ added in v0.60.0
func (o *AdminBulkGetContentByIDsV2BadRequest) Error() string
func (*AdminBulkGetContentByIDsV2BadRequest) GetPayload ¶ added in v0.60.0
func (o *AdminBulkGetContentByIDsV2BadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*AdminBulkGetContentByIDsV2BadRequest) ToJSONString ¶ added in v0.60.0
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 (o *AdminBulkGetContentByIDsV2Forbidden) Error() string
func (*AdminBulkGetContentByIDsV2Forbidden) GetPayload ¶
func (o *AdminBulkGetContentByIDsV2Forbidden) GetPayload() *ugcclientmodels.ResponseError
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 (o *AdminBulkGetContentByIDsV2InternalServerError) Error() string
func (*AdminBulkGetContentByIDsV2InternalServerError) GetPayload ¶
func (o *AdminBulkGetContentByIDsV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminBulkGetContentByIDsV2InternalServerError) ToJSONString ¶
func (o *AdminBulkGetContentByIDsV2InternalServerError) ToJSONString() string
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 (o *AdminBulkGetContentByIDsV2OK) Error() string
func (*AdminBulkGetContentByIDsV2OK) GetPayload ¶
func (o *AdminBulkGetContentByIDsV2OK) GetPayload() []*ugcclientmodels.ModelsContentDownloadResponseV2
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 // 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 ¶
func (o *AdminBulkGetContentByIDsV2Params) SetBody(body *ugcclientmodels.ModelsAdminGetContentBulkRequest)
SetBody adds the body to the admin bulk get content by i ds v2 params
func (*AdminBulkGetContentByIDsV2Params) SetContext ¶
func (o *AdminBulkGetContentByIDsV2Params) SetContext(ctx context.Context)
SetContext adds the context to the admin bulk get content by i ds v2 params
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 ¶
func (o *AdminBulkGetContentByIDsV2Params) WithBody(body *ugcclientmodels.ModelsAdminGetContentBulkRequest) *AdminBulkGetContentByIDsV2Params
WithBody adds the body to the admin bulk get content by i ds v2 params
func (*AdminBulkGetContentByIDsV2Params) WithContext ¶
func (o *AdminBulkGetContentByIDsV2Params) WithContext(ctx context.Context) *AdminBulkGetContentByIDsV2Params
WithContext adds the context to the admin bulk get content by i ds v2 params
func (*AdminBulkGetContentByIDsV2Params) WithHTTPClient ¶
func (o *AdminBulkGetContentByIDsV2Params) WithHTTPClient(client *http.Client) *AdminBulkGetContentByIDsV2Params
WithHTTPClient adds the HTTPClient to the admin bulk get content by i ds v2 params
func (*AdminBulkGetContentByIDsV2Params) WithNamespace ¶
func (o *AdminBulkGetContentByIDsV2Params) WithNamespace(namespace string) *AdminBulkGetContentByIDsV2Params
WithNamespace adds the namespace to the admin bulk get content by i ds v2 params
func (*AdminBulkGetContentByIDsV2Params) WithTimeout ¶
func (o *AdminBulkGetContentByIDsV2Params) WithTimeout(timeout time.Duration) *AdminBulkGetContentByIDsV2Params
WithTimeout adds the timeout to the admin bulk get content by i ds v2 params
func (*AdminBulkGetContentByIDsV2Params) WriteToRequest ¶
func (o *AdminBulkGetContentByIDsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *AdminBulkGetContentByIDsV2Unauthorized) Error() string
func (*AdminBulkGetContentByIDsV2Unauthorized) GetPayload ¶
func (o *AdminBulkGetContentByIDsV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*AdminBulkGetContentByIDsV2Unauthorized) ToJSONString ¶
func (o *AdminBulkGetContentByIDsV2Unauthorized) ToJSONString() string
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 (o *AdminCreateContentV2BadRequest) Error() string
func (*AdminCreateContentV2BadRequest) GetPayload ¶
func (o *AdminCreateContentV2BadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*AdminCreateContentV2BadRequest) ToJSONString ¶
func (o *AdminCreateContentV2BadRequest) ToJSONString() string
type AdminCreateContentV2Conflict ¶ added in v0.60.0
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 ¶ added in v0.60.0
func NewAdminCreateContentV2Conflict() *AdminCreateContentV2Conflict
NewAdminCreateContentV2Conflict creates a AdminCreateContentV2Conflict with default headers values
func (*AdminCreateContentV2Conflict) Error ¶ added in v0.60.0
func (o *AdminCreateContentV2Conflict) Error() string
func (*AdminCreateContentV2Conflict) GetPayload ¶ added in v0.60.0
func (o *AdminCreateContentV2Conflict) GetPayload() *ugcclientmodels.ResponseError
func (*AdminCreateContentV2Conflict) ToJSONString ¶ added in v0.60.0
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 (o *AdminCreateContentV2Created) Error() string
func (*AdminCreateContentV2Created) GetPayload ¶
func (o *AdminCreateContentV2Created) GetPayload() *ugcclientmodels.ModelsCreateContentResponseV2
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 (o *AdminCreateContentV2InternalServerError) Error() string
func (*AdminCreateContentV2InternalServerError) GetPayload ¶
func (o *AdminCreateContentV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminCreateContentV2InternalServerError) ToJSONString ¶
func (o *AdminCreateContentV2InternalServerError) ToJSONString() string
type AdminCreateContentV2NotFound ¶ added in v0.60.0
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 ¶ added in v0.60.0
func NewAdminCreateContentV2NotFound() *AdminCreateContentV2NotFound
NewAdminCreateContentV2NotFound creates a AdminCreateContentV2NotFound with default headers values
func (*AdminCreateContentV2NotFound) Error ¶ added in v0.60.0
func (o *AdminCreateContentV2NotFound) Error() string
func (*AdminCreateContentV2NotFound) GetPayload ¶ added in v0.60.0
func (o *AdminCreateContentV2NotFound) GetPayload() *ugcclientmodels.ResponseError
func (*AdminCreateContentV2NotFound) ToJSONString ¶ added in v0.60.0
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 // 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 ¶
func (o *AdminCreateContentV2Params) SetBody(body *ugcclientmodels.ModelsAdminContentRequestV2)
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) 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 ¶
func (o *AdminCreateContentV2Params) WithBody(body *ugcclientmodels.ModelsAdminContentRequestV2) *AdminCreateContentV2Params
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 ¶
func (o *AdminCreateContentV2Params) WithContext(ctx context.Context) *AdminCreateContentV2Params
WithContext adds the context to the admin create content v2 params
func (*AdminCreateContentV2Params) WithHTTPClient ¶
func (o *AdminCreateContentV2Params) WithHTTPClient(client *http.Client) *AdminCreateContentV2Params
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 ¶
func (o *AdminCreateContentV2Params) WithTimeout(timeout time.Duration) *AdminCreateContentV2Params
WithTimeout adds the timeout to the admin create content v2 params
func (*AdminCreateContentV2Params) WriteToRequest ¶
func (o *AdminCreateContentV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *AdminCreateContentV2Unauthorized) Error() string
func (*AdminCreateContentV2Unauthorized) GetPayload ¶
func (o *AdminCreateContentV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*AdminCreateContentV2Unauthorized) ToJSONString ¶
func (o *AdminCreateContentV2Unauthorized) ToJSONString() string
type AdminDeleteContentByShareCodeV2InternalServerError ¶ added in v0.58.0
type AdminDeleteContentByShareCodeV2InternalServerError struct {
}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 ¶ added in v0.58.0
func NewAdminDeleteContentByShareCodeV2InternalServerError() *AdminDeleteContentByShareCodeV2InternalServerError
NewAdminDeleteContentByShareCodeV2InternalServerError creates a AdminDeleteContentByShareCodeV2InternalServerError with default headers values
func (*AdminDeleteContentByShareCodeV2InternalServerError) Error ¶ added in v0.58.0
func (o *AdminDeleteContentByShareCodeV2InternalServerError) Error() string
func (*AdminDeleteContentByShareCodeV2InternalServerError) GetPayload ¶ added in v0.58.0
func (o *AdminDeleteContentByShareCodeV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminDeleteContentByShareCodeV2InternalServerError) ToJSONString ¶ added in v0.58.0
func (o *AdminDeleteContentByShareCodeV2InternalServerError) ToJSONString() string
type AdminDeleteContentByShareCodeV2NoContent ¶ added in v0.58.0
type AdminDeleteContentByShareCodeV2NoContent struct { }
AdminDeleteContentByShareCodeV2NoContent handles this case with default header values.
content deleted
func NewAdminDeleteContentByShareCodeV2NoContent ¶ added in v0.58.0
func NewAdminDeleteContentByShareCodeV2NoContent() *AdminDeleteContentByShareCodeV2NoContent
NewAdminDeleteContentByShareCodeV2NoContent creates a AdminDeleteContentByShareCodeV2NoContent with default headers values
func (*AdminDeleteContentByShareCodeV2NoContent) Error ¶ added in v0.58.0
func (o *AdminDeleteContentByShareCodeV2NoContent) Error() string
type AdminDeleteContentByShareCodeV2NotFound ¶ added in v0.58.0
type AdminDeleteContentByShareCodeV2NotFound struct {
}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 ¶ added in v0.58.0
func NewAdminDeleteContentByShareCodeV2NotFound() *AdminDeleteContentByShareCodeV2NotFound
NewAdminDeleteContentByShareCodeV2NotFound creates a AdminDeleteContentByShareCodeV2NotFound with default headers values
func (*AdminDeleteContentByShareCodeV2NotFound) Error ¶ added in v0.58.0
func (o *AdminDeleteContentByShareCodeV2NotFound) Error() string
func (*AdminDeleteContentByShareCodeV2NotFound) GetPayload ¶ added in v0.58.0
func (o *AdminDeleteContentByShareCodeV2NotFound) GetPayload() *ugcclientmodels.ResponseError
func (*AdminDeleteContentByShareCodeV2NotFound) ToJSONString ¶ added in v0.58.0
func (o *AdminDeleteContentByShareCodeV2NotFound) ToJSONString() string
type AdminDeleteContentByShareCodeV2Params ¶ added in v0.58.0
type AdminDeleteContentByShareCodeV2Params struct { utils.Retry ChannelID string Namespace string ShareCode string UserID string // contains filtered or unexported fields }RetryPolicy *
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 ¶ added in v0.58.0
func NewAdminDeleteContentByShareCodeV2Params() *AdminDeleteContentByShareCodeV2Params
NewAdminDeleteContentByShareCodeV2Params creates a new AdminDeleteContentByShareCodeV2Params object with the default values initialized.
func NewAdminDeleteContentByShareCodeV2ParamsWithContext ¶ added in v0.58.0
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 ¶ added in v0.58.0
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 ¶ added in v0.58.0
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 ¶ added in v0.58.0
func (o *AdminDeleteContentByShareCodeV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin delete content by share code v2 params
func (*AdminDeleteContentByShareCodeV2Params) SetChannelID ¶ added in v0.58.0
func (o *AdminDeleteContentByShareCodeV2Params) SetChannelID(channelID string)
SetChannelID adds the channelId to the admin delete content by share code v2 params
func (*AdminDeleteContentByShareCodeV2Params) SetContext ¶ added in v0.58.0
func (o *AdminDeleteContentByShareCodeV2Params) SetContext(ctx context.Context)
SetContext adds the context to the admin delete content by share code v2 params
func (*AdminDeleteContentByShareCodeV2Params) SetHTTPClient ¶ added in v0.58.0
func (o *AdminDeleteContentByShareCodeV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin delete content by share code v2 params
func (*AdminDeleteContentByShareCodeV2Params) SetHTTPClientTransport ¶ added in v0.58.0
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 ¶ added in v0.58.0
func (o *AdminDeleteContentByShareCodeV2Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin delete content by share code v2 params
func (*AdminDeleteContentByShareCodeV2Params) SetShareCode ¶ added in v0.58.0
func (o *AdminDeleteContentByShareCodeV2Params) SetShareCode(shareCode string)
SetShareCode adds the shareCode to the admin delete content by share code v2 params
func (*AdminDeleteContentByShareCodeV2Params) SetTimeout ¶ added in v0.58.0
func (o *AdminDeleteContentByShareCodeV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin delete content by share code v2 params
func (*AdminDeleteContentByShareCodeV2Params) SetUserID ¶ added in v0.58.0
func (o *AdminDeleteContentByShareCodeV2Params) SetUserID(userID string)
SetUserID adds the userId to the admin delete content by share code v2 params
func (*AdminDeleteContentByShareCodeV2Params) WithChannelID ¶ added in v0.58.0
func (o *AdminDeleteContentByShareCodeV2Params) WithChannelID(channelID string) *AdminDeleteContentByShareCodeV2Params
WithChannelID adds the channelID to the admin delete content by share code v2 params
func (*AdminDeleteContentByShareCodeV2Params) WithContext ¶ added in v0.58.0
func (o *AdminDeleteContentByShareCodeV2Params) WithContext(ctx context.Context) *AdminDeleteContentByShareCodeV2Params
WithContext adds the context to the admin delete content by share code v2 params
func (*AdminDeleteContentByShareCodeV2Params) WithHTTPClient ¶ added in v0.58.0
func (o *AdminDeleteContentByShareCodeV2Params) WithHTTPClient(client *http.Client) *AdminDeleteContentByShareCodeV2Params
WithHTTPClient adds the HTTPClient to the admin delete content by share code v2 params
func (*AdminDeleteContentByShareCodeV2Params) WithNamespace ¶ added in v0.58.0
func (o *AdminDeleteContentByShareCodeV2Params) WithNamespace(namespace string) *AdminDeleteContentByShareCodeV2Params
WithNamespace adds the namespace to the admin delete content by share code v2 params
func (*AdminDeleteContentByShareCodeV2Params) WithShareCode ¶ added in v0.58.0
func (o *AdminDeleteContentByShareCodeV2Params) WithShareCode(shareCode string) *AdminDeleteContentByShareCodeV2Params
WithShareCode adds the shareCode to the admin delete content by share code v2 params
func (*AdminDeleteContentByShareCodeV2Params) WithTimeout ¶ added in v0.58.0
func (o *AdminDeleteContentByShareCodeV2Params) WithTimeout(timeout time.Duration) *AdminDeleteContentByShareCodeV2Params
WithTimeout adds the timeout to the admin delete content by share code v2 params
func (*AdminDeleteContentByShareCodeV2Params) WithUserID ¶ added in v0.58.0
func (o *AdminDeleteContentByShareCodeV2Params) WithUserID(userID string) *AdminDeleteContentByShareCodeV2Params
WithUserID adds the userID to the admin delete content by share code v2 params
func (*AdminDeleteContentByShareCodeV2Params) WriteToRequest ¶ added in v0.58.0
func (o *AdminDeleteContentByShareCodeV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminDeleteContentByShareCodeV2Reader ¶ added in v0.58.0
type AdminDeleteContentByShareCodeV2Reader struct {
// contains filtered or unexported fields
}
AdminDeleteContentByShareCodeV2Reader is a Reader for the AdminDeleteContentByShareCodeV2 structure.
func (*AdminDeleteContentByShareCodeV2Reader) ReadResponse ¶ added in v0.58.0
func (o *AdminDeleteContentByShareCodeV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminDeleteContentByShareCodeV2Unauthorized ¶ added in v0.58.0
type AdminDeleteContentByShareCodeV2Unauthorized struct {
}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 ¶ added in v0.58.0
func NewAdminDeleteContentByShareCodeV2Unauthorized() *AdminDeleteContentByShareCodeV2Unauthorized
NewAdminDeleteContentByShareCodeV2Unauthorized creates a AdminDeleteContentByShareCodeV2Unauthorized with default headers values
func (*AdminDeleteContentByShareCodeV2Unauthorized) Error ¶ added in v0.58.0
func (o *AdminDeleteContentByShareCodeV2Unauthorized) Error() string
func (*AdminDeleteContentByShareCodeV2Unauthorized) GetPayload ¶ added in v0.58.0
func (o *AdminDeleteContentByShareCodeV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*AdminDeleteContentByShareCodeV2Unauthorized) ToJSONString ¶ added in v0.58.0
func (o *AdminDeleteContentByShareCodeV2Unauthorized) ToJSONString() string
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 (o *AdminDeleteContentScreenshotV2BadRequest) Error() string
func (*AdminDeleteContentScreenshotV2BadRequest) GetPayload ¶
func (o *AdminDeleteContentScreenshotV2BadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*AdminDeleteContentScreenshotV2BadRequest) ToJSONString ¶
func (o *AdminDeleteContentScreenshotV2BadRequest) ToJSONString() string
type AdminDeleteContentScreenshotV2Forbidden ¶ added in v0.60.0
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 ¶ added in v0.60.0
func NewAdminDeleteContentScreenshotV2Forbidden() *AdminDeleteContentScreenshotV2Forbidden
NewAdminDeleteContentScreenshotV2Forbidden creates a AdminDeleteContentScreenshotV2Forbidden with default headers values
func (*AdminDeleteContentScreenshotV2Forbidden) Error ¶ added in v0.60.0
func (o *AdminDeleteContentScreenshotV2Forbidden) Error() string
func (*AdminDeleteContentScreenshotV2Forbidden) GetPayload ¶ added in v0.60.0
func (o *AdminDeleteContentScreenshotV2Forbidden) GetPayload() *ugcclientmodels.ResponseError
func (*AdminDeleteContentScreenshotV2Forbidden) ToJSONString ¶ added in v0.60.0
func (o *AdminDeleteContentScreenshotV2Forbidden) ToJSONString() string
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 (o *AdminDeleteContentScreenshotV2InternalServerError) Error() string
func (*AdminDeleteContentScreenshotV2InternalServerError) GetPayload ¶
func (o *AdminDeleteContentScreenshotV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminDeleteContentScreenshotV2InternalServerError) ToJSONString ¶
func (o *AdminDeleteContentScreenshotV2InternalServerError) ToJSONString() string
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 ¶
func (o *AdminDeleteContentScreenshotV2NoContent) Error() string
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 (o *AdminDeleteContentScreenshotV2NotFound) Error() string
func (*AdminDeleteContentScreenshotV2NotFound) GetPayload ¶
func (o *AdminDeleteContentScreenshotV2NotFound) GetPayload() *ugcclientmodels.ResponseError
func (*AdminDeleteContentScreenshotV2NotFound) ToJSONString ¶
func (o *AdminDeleteContentScreenshotV2NotFound) ToJSONString() string
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 // 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 ¶
func (o *AdminDeleteContentScreenshotV2Params) SetContext(ctx context.Context)
SetContext adds the context to the admin delete content screenshot v2 params
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 ¶
func (o *AdminDeleteContentScreenshotV2Params) WithContentID(contentID string) *AdminDeleteContentScreenshotV2Params
WithContentID adds the contentID to the admin delete content screenshot v2 params
func (*AdminDeleteContentScreenshotV2Params) WithContext ¶
func (o *AdminDeleteContentScreenshotV2Params) WithContext(ctx context.Context) *AdminDeleteContentScreenshotV2Params
WithContext adds the context to the admin delete content screenshot v2 params
func (*AdminDeleteContentScreenshotV2Params) WithHTTPClient ¶
func (o *AdminDeleteContentScreenshotV2Params) WithHTTPClient(client *http.Client) *AdminDeleteContentScreenshotV2Params
WithHTTPClient adds the HTTPClient to the admin delete content screenshot v2 params
func (*AdminDeleteContentScreenshotV2Params) WithNamespace ¶
func (o *AdminDeleteContentScreenshotV2Params) WithNamespace(namespace string) *AdminDeleteContentScreenshotV2Params
WithNamespace adds the namespace to the admin delete content screenshot v2 params
func (*AdminDeleteContentScreenshotV2Params) WithScreenshotID ¶
func (o *AdminDeleteContentScreenshotV2Params) WithScreenshotID(screenshotID string) *AdminDeleteContentScreenshotV2Params
WithScreenshotID adds the screenshotID to the admin delete content screenshot v2 params
func (*AdminDeleteContentScreenshotV2Params) WithTimeout ¶
func (o *AdminDeleteContentScreenshotV2Params) WithTimeout(timeout time.Duration) *AdminDeleteContentScreenshotV2Params
WithTimeout adds the timeout to the admin delete content screenshot v2 params
func (*AdminDeleteContentScreenshotV2Params) WriteToRequest ¶
func (o *AdminDeleteContentScreenshotV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *AdminDeleteContentScreenshotV2Unauthorized) Error() string
func (*AdminDeleteContentScreenshotV2Unauthorized) GetPayload ¶
func (o *AdminDeleteContentScreenshotV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*AdminDeleteContentScreenshotV2Unauthorized) ToJSONString ¶
func (o *AdminDeleteContentScreenshotV2Unauthorized) ToJSONString() string
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 (o *AdminDeleteOfficialContentV2InternalServerError) Error() string
func (*AdminDeleteOfficialContentV2InternalServerError) GetPayload ¶
func (o *AdminDeleteOfficialContentV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminDeleteOfficialContentV2InternalServerError) ToJSONString ¶
func (o *AdminDeleteOfficialContentV2InternalServerError) ToJSONString() string
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 ¶
func (o *AdminDeleteOfficialContentV2NoContent) Error() string
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 (o *AdminDeleteOfficialContentV2NotFound) Error() string
func (*AdminDeleteOfficialContentV2NotFound) GetPayload ¶
func (o *AdminDeleteOfficialContentV2NotFound) GetPayload() *ugcclientmodels.ResponseError
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 // 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 ¶
func (o *AdminDeleteOfficialContentV2Params) SetContext(ctx context.Context)
SetContext adds the context to the admin delete official content v2 params
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 ¶
func (o *AdminDeleteOfficialContentV2Params) WithChannelID(channelID string) *AdminDeleteOfficialContentV2Params
WithChannelID adds the channelID to the admin delete official content v2 params
func (*AdminDeleteOfficialContentV2Params) WithContentID ¶
func (o *AdminDeleteOfficialContentV2Params) WithContentID(contentID string) *AdminDeleteOfficialContentV2Params
WithContentID adds the contentID to the admin delete official content v2 params
func (*AdminDeleteOfficialContentV2Params) WithContext ¶
func (o *AdminDeleteOfficialContentV2Params) WithContext(ctx context.Context) *AdminDeleteOfficialContentV2Params
WithContext adds the context to the admin delete official content v2 params
func (*AdminDeleteOfficialContentV2Params) WithHTTPClient ¶
func (o *AdminDeleteOfficialContentV2Params) WithHTTPClient(client *http.Client) *AdminDeleteOfficialContentV2Params
WithHTTPClient adds the HTTPClient to the admin delete official content v2 params
func (*AdminDeleteOfficialContentV2Params) WithNamespace ¶
func (o *AdminDeleteOfficialContentV2Params) WithNamespace(namespace string) *AdminDeleteOfficialContentV2Params
WithNamespace adds the namespace to the admin delete official content v2 params
func (*AdminDeleteOfficialContentV2Params) WithTimeout ¶
func (o *AdminDeleteOfficialContentV2Params) WithTimeout(timeout time.Duration) *AdminDeleteOfficialContentV2Params
WithTimeout adds the timeout to the admin delete official content v2 params
func (*AdminDeleteOfficialContentV2Params) WriteToRequest ¶
func (o *AdminDeleteOfficialContentV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *AdminDeleteOfficialContentV2Unauthorized) Error() string
func (*AdminDeleteOfficialContentV2Unauthorized) GetPayload ¶
func (o *AdminDeleteOfficialContentV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*AdminDeleteOfficialContentV2Unauthorized) ToJSONString ¶
func (o *AdminDeleteOfficialContentV2Unauthorized) ToJSONString() string
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 (o *AdminDeleteUserContentV2InternalServerError) Error() string
func (*AdminDeleteUserContentV2InternalServerError) GetPayload ¶
func (o *AdminDeleteUserContentV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminDeleteUserContentV2InternalServerError) ToJSONString ¶
func (o *AdminDeleteUserContentV2InternalServerError) ToJSONString() string
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 ¶
func (o *AdminDeleteUserContentV2NoContent) Error() string
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 (o *AdminDeleteUserContentV2NotFound) Error() string
func (*AdminDeleteUserContentV2NotFound) GetPayload ¶
func (o *AdminDeleteUserContentV2NotFound) GetPayload() *ugcclientmodels.ResponseError
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 // 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) 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 ¶
func (o *AdminDeleteUserContentV2Params) WithChannelID(channelID string) *AdminDeleteUserContentV2Params
WithChannelID adds the channelID to the admin delete user content v2 params
func (*AdminDeleteUserContentV2Params) WithContentID ¶
func (o *AdminDeleteUserContentV2Params) WithContentID(contentID string) *AdminDeleteUserContentV2Params
WithContentID adds the contentID to the admin delete user content v2 params
func (*AdminDeleteUserContentV2Params) WithContext ¶
func (o *AdminDeleteUserContentV2Params) WithContext(ctx context.Context) *AdminDeleteUserContentV2Params
WithContext adds the context to the admin delete user content v2 params
func (*AdminDeleteUserContentV2Params) WithHTTPClient ¶
func (o *AdminDeleteUserContentV2Params) WithHTTPClient(client *http.Client) *AdminDeleteUserContentV2Params
WithHTTPClient adds the HTTPClient to the admin delete user content v2 params
func (*AdminDeleteUserContentV2Params) WithNamespace ¶
func (o *AdminDeleteUserContentV2Params) WithNamespace(namespace string) *AdminDeleteUserContentV2Params
WithNamespace adds the namespace to the admin delete user content v2 params
func (*AdminDeleteUserContentV2Params) WithTimeout ¶
func (o *AdminDeleteUserContentV2Params) WithTimeout(timeout time.Duration) *AdminDeleteUserContentV2Params
WithTimeout adds the timeout to the admin delete user content v2 params
func (*AdminDeleteUserContentV2Params) WithUserID ¶
func (o *AdminDeleteUserContentV2Params) WithUserID(userID string) *AdminDeleteUserContentV2Params
WithUserID adds the userID to the admin delete user content v2 params
func (*AdminDeleteUserContentV2Params) WriteToRequest ¶
func (o *AdminDeleteUserContentV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *AdminDeleteUserContentV2Unauthorized) Error() string
func (*AdminDeleteUserContentV2Unauthorized) GetPayload ¶
func (o *AdminDeleteUserContentV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
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 (o *AdminGenerateOfficialContentUploadURLV2BadRequest) Error() string
func (*AdminGenerateOfficialContentUploadURLV2BadRequest) GetPayload ¶
func (o *AdminGenerateOfficialContentUploadURLV2BadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGenerateOfficialContentUploadURLV2BadRequest) ToJSONString ¶
func (o *AdminGenerateOfficialContentUploadURLV2BadRequest) ToJSONString() string
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 (o *AdminGenerateOfficialContentUploadURLV2InternalServerError) Error() string
func (*AdminGenerateOfficialContentUploadURLV2InternalServerError) GetPayload ¶
func (o *AdminGenerateOfficialContentUploadURLV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGenerateOfficialContentUploadURLV2InternalServerError) ToJSONString ¶
func (o *AdminGenerateOfficialContentUploadURLV2InternalServerError) ToJSONString() string
type AdminGenerateOfficialContentUploadURLV2NotFound ¶ added in v0.60.0
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 ¶ added in v0.60.0
func NewAdminGenerateOfficialContentUploadURLV2NotFound() *AdminGenerateOfficialContentUploadURLV2NotFound
NewAdminGenerateOfficialContentUploadURLV2NotFound creates a AdminGenerateOfficialContentUploadURLV2NotFound with default headers values
func (*AdminGenerateOfficialContentUploadURLV2NotFound) Error ¶ added in v0.60.0
func (o *AdminGenerateOfficialContentUploadURLV2NotFound) Error() string
func (*AdminGenerateOfficialContentUploadURLV2NotFound) GetPayload ¶ added in v0.60.0
func (o *AdminGenerateOfficialContentUploadURLV2NotFound) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGenerateOfficialContentUploadURLV2NotFound) ToJSONString ¶ added in v0.60.0
func (o *AdminGenerateOfficialContentUploadURLV2NotFound) ToJSONString() string
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 (o *AdminGenerateOfficialContentUploadURLV2OK) Error() string
func (*AdminGenerateOfficialContentUploadURLV2OK) GetPayload ¶
func (o *AdminGenerateOfficialContentUploadURLV2OK) GetPayload() *ugcclientmodels.ModelsGenerateContentUploadURLResponse
func (*AdminGenerateOfficialContentUploadURLV2OK) ToJSONString ¶
func (o *AdminGenerateOfficialContentUploadURLV2OK) ToJSONString() string
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 // 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 ¶
func (o *AdminGenerateOfficialContentUploadURLV2Params) SetBody(body *ugcclientmodels.ModelsGenerateContentUploadURLRequest)
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 ¶
func (o *AdminGenerateOfficialContentUploadURLV2Params) SetContext(ctx context.Context)
SetContext adds the context to the admin generate official content upload urlv2 params
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 ¶
func (o *AdminGenerateOfficialContentUploadURLV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin generate official content upload urlv2 params
func (*AdminGenerateOfficialContentUploadURLV2Params) WithBody ¶
func (o *AdminGenerateOfficialContentUploadURLV2Params) WithBody(body *ugcclientmodels.ModelsGenerateContentUploadURLRequest) *AdminGenerateOfficialContentUploadURLV2Params
WithBody adds the body to the admin generate official content upload urlv2 params
func (*AdminGenerateOfficialContentUploadURLV2Params) WithChannelID ¶
func (o *AdminGenerateOfficialContentUploadURLV2Params) WithChannelID(channelID string) *AdminGenerateOfficialContentUploadURLV2Params
WithChannelID adds the channelID to the admin generate official content upload urlv2 params
func (*AdminGenerateOfficialContentUploadURLV2Params) WithContentID ¶
func (o *AdminGenerateOfficialContentUploadURLV2Params) WithContentID(contentID string) *AdminGenerateOfficialContentUploadURLV2Params
WithContentID adds the contentID to the admin generate official content upload urlv2 params
func (*AdminGenerateOfficialContentUploadURLV2Params) WithContext ¶
func (o *AdminGenerateOfficialContentUploadURLV2Params) WithContext(ctx context.Context) *AdminGenerateOfficialContentUploadURLV2Params
WithContext adds the context to the admin generate official content upload urlv2 params
func (*AdminGenerateOfficialContentUploadURLV2Params) WithHTTPClient ¶
func (o *AdminGenerateOfficialContentUploadURLV2Params) WithHTTPClient(client *http.Client) *AdminGenerateOfficialContentUploadURLV2Params
WithHTTPClient adds the HTTPClient to the admin generate official content upload urlv2 params
func (*AdminGenerateOfficialContentUploadURLV2Params) WithNamespace ¶
func (o *AdminGenerateOfficialContentUploadURLV2Params) WithNamespace(namespace string) *AdminGenerateOfficialContentUploadURLV2Params
WithNamespace adds the namespace to the admin generate official content upload urlv2 params
func (*AdminGenerateOfficialContentUploadURLV2Params) WithTimeout ¶
func (o *AdminGenerateOfficialContentUploadURLV2Params) WithTimeout(timeout time.Duration) *AdminGenerateOfficialContentUploadURLV2Params
WithTimeout adds the timeout to the admin generate official content upload urlv2 params
func (*AdminGenerateOfficialContentUploadURLV2Params) WriteToRequest ¶
func (o *AdminGenerateOfficialContentUploadURLV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *AdminGenerateOfficialContentUploadURLV2Unauthorized) Error() string
func (*AdminGenerateOfficialContentUploadURLV2Unauthorized) GetPayload ¶
func (o *AdminGenerateOfficialContentUploadURLV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGenerateOfficialContentUploadURLV2Unauthorized) ToJSONString ¶
func (o *AdminGenerateOfficialContentUploadURLV2Unauthorized) ToJSONString() string
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 (o *AdminGenerateUserContentUploadURLV2BadRequest) Error() string
func (*AdminGenerateUserContentUploadURLV2BadRequest) GetPayload ¶
func (o *AdminGenerateUserContentUploadURLV2BadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGenerateUserContentUploadURLV2BadRequest) ToJSONString ¶
func (o *AdminGenerateUserContentUploadURLV2BadRequest) ToJSONString() string
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 (o *AdminGenerateUserContentUploadURLV2InternalServerError) Error() string
func (*AdminGenerateUserContentUploadURLV2InternalServerError) GetPayload ¶
func (o *AdminGenerateUserContentUploadURLV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGenerateUserContentUploadURLV2InternalServerError) ToJSONString ¶
func (o *AdminGenerateUserContentUploadURLV2InternalServerError) ToJSONString() string
type AdminGenerateUserContentUploadURLV2NotFound ¶ added in v0.60.0
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 ¶ added in v0.60.0
func NewAdminGenerateUserContentUploadURLV2NotFound() *AdminGenerateUserContentUploadURLV2NotFound
NewAdminGenerateUserContentUploadURLV2NotFound creates a AdminGenerateUserContentUploadURLV2NotFound with default headers values
func (*AdminGenerateUserContentUploadURLV2NotFound) Error ¶ added in v0.60.0
func (o *AdminGenerateUserContentUploadURLV2NotFound) Error() string
func (*AdminGenerateUserContentUploadURLV2NotFound) GetPayload ¶ added in v0.60.0
func (o *AdminGenerateUserContentUploadURLV2NotFound) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGenerateUserContentUploadURLV2NotFound) ToJSONString ¶ added in v0.60.0
func (o *AdminGenerateUserContentUploadURLV2NotFound) ToJSONString() string
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 (o *AdminGenerateUserContentUploadURLV2OK) Error() string
func (*AdminGenerateUserContentUploadURLV2OK) GetPayload ¶
func (o *AdminGenerateUserContentUploadURLV2OK) GetPayload() *ugcclientmodels.ModelsGenerateContentUploadURLResponse
func (*AdminGenerateUserContentUploadURLV2OK) ToJSONString ¶
func (o *AdminGenerateUserContentUploadURLV2OK) ToJSONString() string
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 // 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 ¶
func (o *AdminGenerateUserContentUploadURLV2Params) SetBody(body *ugcclientmodels.ModelsGenerateContentUploadURLRequest)
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 ¶
func (o *AdminGenerateUserContentUploadURLV2Params) SetContext(ctx context.Context)
SetContext adds the context to the admin generate user content upload urlv2 params
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 ¶
func (o *AdminGenerateUserContentUploadURLV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin generate user content upload urlv2 params
func (*AdminGenerateUserContentUploadURLV2Params) SetUserID ¶
func (o *AdminGenerateUserContentUploadURLV2Params) SetUserID(userID string)
SetUserID adds the userId to the admin generate user content upload urlv2 params
func (*AdminGenerateUserContentUploadURLV2Params) WithBody ¶
func (o *AdminGenerateUserContentUploadURLV2Params) WithBody(body *ugcclientmodels.ModelsGenerateContentUploadURLRequest) *AdminGenerateUserContentUploadURLV2Params
WithBody adds the body to the admin generate user content upload urlv2 params
func (*AdminGenerateUserContentUploadURLV2Params) WithChannelID ¶
func (o *AdminGenerateUserContentUploadURLV2Params) WithChannelID(channelID string) *AdminGenerateUserContentUploadURLV2Params
WithChannelID adds the channelID to the admin generate user content upload urlv2 params
func (*AdminGenerateUserContentUploadURLV2Params) WithContentID ¶
func (o *AdminGenerateUserContentUploadURLV2Params) WithContentID(contentID string) *AdminGenerateUserContentUploadURLV2Params
WithContentID adds the contentID to the admin generate user content upload urlv2 params
func (*AdminGenerateUserContentUploadURLV2Params) WithContext ¶
func (o *AdminGenerateUserContentUploadURLV2Params) WithContext(ctx context.Context) *AdminGenerateUserContentUploadURLV2Params
WithContext adds the context to the admin generate user content upload urlv2 params
func (*AdminGenerateUserContentUploadURLV2Params) WithHTTPClient ¶
func (o *AdminGenerateUserContentUploadURLV2Params) WithHTTPClient(client *http.Client) *AdminGenerateUserContentUploadURLV2Params
WithHTTPClient adds the HTTPClient to the admin generate user content upload urlv2 params
func (*AdminGenerateUserContentUploadURLV2Params) WithNamespace ¶
func (o *AdminGenerateUserContentUploadURLV2Params) WithNamespace(namespace string) *AdminGenerateUserContentUploadURLV2Params
WithNamespace adds the namespace to the admin generate user content upload urlv2 params
func (*AdminGenerateUserContentUploadURLV2Params) WithTimeout ¶
func (o *AdminGenerateUserContentUploadURLV2Params) WithTimeout(timeout time.Duration) *AdminGenerateUserContentUploadURLV2Params
WithTimeout adds the timeout to the admin generate user content upload urlv2 params
func (*AdminGenerateUserContentUploadURLV2Params) WithUserID ¶
func (o *AdminGenerateUserContentUploadURLV2Params) WithUserID(userID string) *AdminGenerateUserContentUploadURLV2Params
WithUserID adds the userID to the admin generate user content upload urlv2 params
func (*AdminGenerateUserContentUploadURLV2Params) WriteToRequest ¶
func (o *AdminGenerateUserContentUploadURLV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *AdminGenerateUserContentUploadURLV2Unauthorized) Error() string
func (*AdminGenerateUserContentUploadURLV2Unauthorized) GetPayload ¶
func (o *AdminGenerateUserContentUploadURLV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGenerateUserContentUploadURLV2Unauthorized) ToJSONString ¶
func (o *AdminGenerateUserContentUploadURLV2Unauthorized) ToJSONString() string
type AdminGetContentBulkByShareCodesV2BadRequest ¶ added in v0.59.0
type AdminGetContentBulkByShareCodesV2BadRequest struct {
}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 ¶ added in v0.59.0
func NewAdminGetContentBulkByShareCodesV2BadRequest() *AdminGetContentBulkByShareCodesV2BadRequest
NewAdminGetContentBulkByShareCodesV2BadRequest creates a AdminGetContentBulkByShareCodesV2BadRequest with default headers values
func (*AdminGetContentBulkByShareCodesV2BadRequest) Error ¶ added in v0.59.0
func (o *AdminGetContentBulkByShareCodesV2BadRequest) Error() string
func (*AdminGetContentBulkByShareCodesV2BadRequest) GetPayload ¶ added in v0.59.0
func (o *AdminGetContentBulkByShareCodesV2BadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGetContentBulkByShareCodesV2BadRequest) ToJSONString ¶ added in v0.59.0
func (o *AdminGetContentBulkByShareCodesV2BadRequest) ToJSONString() string
type AdminGetContentBulkByShareCodesV2Forbidden ¶ added in v0.58.0
type AdminGetContentBulkByShareCodesV2Forbidden struct {
}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 ¶ added in v0.58.0
func NewAdminGetContentBulkByShareCodesV2Forbidden() *AdminGetContentBulkByShareCodesV2Forbidden
NewAdminGetContentBulkByShareCodesV2Forbidden creates a AdminGetContentBulkByShareCodesV2Forbidden with default headers values
func (*AdminGetContentBulkByShareCodesV2Forbidden) Error ¶ added in v0.58.0
func (o *AdminGetContentBulkByShareCodesV2Forbidden) Error() string
func (*AdminGetContentBulkByShareCodesV2Forbidden) GetPayload ¶ added in v0.58.0
func (o *AdminGetContentBulkByShareCodesV2Forbidden) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGetContentBulkByShareCodesV2Forbidden) ToJSONString ¶ added in v0.58.0
func (o *AdminGetContentBulkByShareCodesV2Forbidden) ToJSONString() string
type AdminGetContentBulkByShareCodesV2InternalServerError ¶ added in v0.58.0
type AdminGetContentBulkByShareCodesV2InternalServerError struct {
}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 ¶ added in v0.58.0
func NewAdminGetContentBulkByShareCodesV2InternalServerError() *AdminGetContentBulkByShareCodesV2InternalServerError
NewAdminGetContentBulkByShareCodesV2InternalServerError creates a AdminGetContentBulkByShareCodesV2InternalServerError with default headers values
func (*AdminGetContentBulkByShareCodesV2InternalServerError) Error ¶ added in v0.58.0
func (o *AdminGetContentBulkByShareCodesV2InternalServerError) Error() string
func (*AdminGetContentBulkByShareCodesV2InternalServerError) GetPayload ¶ added in v0.58.0
func (o *AdminGetContentBulkByShareCodesV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGetContentBulkByShareCodesV2InternalServerError) ToJSONString ¶ added in v0.58.0
func (o *AdminGetContentBulkByShareCodesV2InternalServerError) ToJSONString() string
type AdminGetContentBulkByShareCodesV2OK ¶ added in v0.58.0
type AdminGetContentBulkByShareCodesV2OK struct {
}AdminGetContentBulkByShareCodesV2OK handles this case with default header values.
Bulk get content by content sharecodes
func NewAdminGetContentBulkByShareCodesV2OK ¶ added in v0.58.0
func NewAdminGetContentBulkByShareCodesV2OK() *AdminGetContentBulkByShareCodesV2OK
NewAdminGetContentBulkByShareCodesV2OK creates a AdminGetContentBulkByShareCodesV2OK with default headers values
func (*AdminGetContentBulkByShareCodesV2OK) Error ¶ added in v0.58.0
func (o *AdminGetContentBulkByShareCodesV2OK) Error() string
func (*AdminGetContentBulkByShareCodesV2OK) GetPayload ¶ added in v0.58.0
func (o *AdminGetContentBulkByShareCodesV2OK) GetPayload() []*ugcclientmodels.ModelsContentDownloadResponseV2
func (*AdminGetContentBulkByShareCodesV2OK) ToJSONString ¶ added in v0.58.0
func (o *AdminGetContentBulkByShareCodesV2OK) ToJSONString() string
type AdminGetContentBulkByShareCodesV2Params ¶ added in v0.58.0
type AdminGetContentBulkByShareCodesV2Params struct { utils.Retry Body *ugcclientmodels.ModelsGetContentBulkByShareCodesRequest Namespace string // contains filtered or unexported fields }RetryPolicy *
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 ¶ added in v0.58.0
func NewAdminGetContentBulkByShareCodesV2Params() *AdminGetContentBulkByShareCodesV2Params
NewAdminGetContentBulkByShareCodesV2Params creates a new AdminGetContentBulkByShareCodesV2Params object with the default values initialized.
func NewAdminGetContentBulkByShareCodesV2ParamsWithContext ¶ added in v0.58.0
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 ¶ added in v0.58.0
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 ¶ added in v0.58.0
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 ¶ added in v0.58.0
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 ¶ added in v0.58.0
func (o *AdminGetContentBulkByShareCodesV2Params) SetBody(body *ugcclientmodels.ModelsGetContentBulkByShareCodesRequest)
SetBody adds the body to the admin get content bulk by share codes v2 params
func (*AdminGetContentBulkByShareCodesV2Params) SetContext ¶ added in v0.58.0
func (o *AdminGetContentBulkByShareCodesV2Params) SetContext(ctx context.Context)
SetContext adds the context to the admin get content bulk by share codes v2 params
func (*AdminGetContentBulkByShareCodesV2Params) SetHTTPClient ¶ added in v0.58.0
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 ¶ added in v0.58.0
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 ¶ added in v0.58.0
func (o *AdminGetContentBulkByShareCodesV2Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin get content bulk by share codes v2 params
func (*AdminGetContentBulkByShareCodesV2Params) SetTimeout ¶ added in v0.58.0
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 ¶ added in v0.58.0
func (o *AdminGetContentBulkByShareCodesV2Params) WithBody(body *ugcclientmodels.ModelsGetContentBulkByShareCodesRequest) *AdminGetContentBulkByShareCodesV2Params
WithBody adds the body to the admin get content bulk by share codes v2 params
func (*AdminGetContentBulkByShareCodesV2Params) WithContext ¶ added in v0.58.0
func (o *AdminGetContentBulkByShareCodesV2Params) WithContext(ctx context.Context) *AdminGetContentBulkByShareCodesV2Params
WithContext adds the context to the admin get content bulk by share codes v2 params
func (*AdminGetContentBulkByShareCodesV2Params) WithHTTPClient ¶ added in v0.58.0
func (o *AdminGetContentBulkByShareCodesV2Params) WithHTTPClient(client *http.Client) *AdminGetContentBulkByShareCodesV2Params
WithHTTPClient adds the HTTPClient to the admin get content bulk by share codes v2 params
func (*AdminGetContentBulkByShareCodesV2Params) WithNamespace ¶ added in v0.58.0
func (o *AdminGetContentBulkByShareCodesV2Params) WithNamespace(namespace string) *AdminGetContentBulkByShareCodesV2Params
WithNamespace adds the namespace to the admin get content bulk by share codes v2 params
func (*AdminGetContentBulkByShareCodesV2Params) WithTimeout ¶ added in v0.58.0
func (o *AdminGetContentBulkByShareCodesV2Params) WithTimeout(timeout time.Duration) *AdminGetContentBulkByShareCodesV2Params
WithTimeout adds the timeout to the admin get content bulk by share codes v2 params
func (*AdminGetContentBulkByShareCodesV2Params) WriteToRequest ¶ added in v0.58.0
func (o *AdminGetContentBulkByShareCodesV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetContentBulkByShareCodesV2Reader ¶ added in v0.58.0
type AdminGetContentBulkByShareCodesV2Reader struct {
// contains filtered or unexported fields
}
AdminGetContentBulkByShareCodesV2Reader is a Reader for the AdminGetContentBulkByShareCodesV2 structure.
func (*AdminGetContentBulkByShareCodesV2Reader) ReadResponse ¶ added in v0.58.0
func (o *AdminGetContentBulkByShareCodesV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetContentBulkByShareCodesV2Unauthorized ¶ added in v0.58.0
type AdminGetContentBulkByShareCodesV2Unauthorized struct {
}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 ¶ added in v0.58.0
func NewAdminGetContentBulkByShareCodesV2Unauthorized() *AdminGetContentBulkByShareCodesV2Unauthorized
NewAdminGetContentBulkByShareCodesV2Unauthorized creates a AdminGetContentBulkByShareCodesV2Unauthorized with default headers values
func (*AdminGetContentBulkByShareCodesV2Unauthorized) Error ¶ added in v0.58.0
func (o *AdminGetContentBulkByShareCodesV2Unauthorized) Error() string
func (*AdminGetContentBulkByShareCodesV2Unauthorized) GetPayload ¶ added in v0.58.0
func (o *AdminGetContentBulkByShareCodesV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGetContentBulkByShareCodesV2Unauthorized) ToJSONString ¶ added in v0.58.0
func (o *AdminGetContentBulkByShareCodesV2Unauthorized) ToJSONString() string
type AdminGetContentByChannelIDV2BadRequest ¶ added in v0.60.0
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 ¶ added in v0.60.0
func NewAdminGetContentByChannelIDV2BadRequest() *AdminGetContentByChannelIDV2BadRequest
NewAdminGetContentByChannelIDV2BadRequest creates a AdminGetContentByChannelIDV2BadRequest with default headers values
func (*AdminGetContentByChannelIDV2BadRequest) Error ¶ added in v0.60.0
func (o *AdminGetContentByChannelIDV2BadRequest) Error() string
func (*AdminGetContentByChannelIDV2BadRequest) GetPayload ¶ added in v0.60.0
func (o *AdminGetContentByChannelIDV2BadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGetContentByChannelIDV2BadRequest) ToJSONString ¶ added in v0.60.0
func (o *AdminGetContentByChannelIDV2BadRequest) ToJSONString() string
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 (o *AdminGetContentByChannelIDV2InternalServerError) Error() string
func (*AdminGetContentByChannelIDV2InternalServerError) GetPayload ¶
func (o *AdminGetContentByChannelIDV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGetContentByChannelIDV2InternalServerError) ToJSONString ¶
func (o *AdminGetContentByChannelIDV2InternalServerError) ToJSONString() string
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 (o *AdminGetContentByChannelIDV2OK) Error() string
func (*AdminGetContentByChannelIDV2OK) GetPayload ¶
func (o *AdminGetContentByChannelIDV2OK) GetPayload() *ugcclientmodels.ModelsPaginatedContentDownloadResponseV2
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 default value: createdTime:desc. available value: <ul> <li>createdTime, createdTime:desc, createdTime:asc</li> <li>updatedTime, updatedTime:desc, updatedTime:asc</li> </ul> */ SortBy *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // 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 ¶
func (o *AdminGetContentByChannelIDV2Params) SetContext(ctx context.Context)
SetContext adds the context to the admin get content by channel idv2 params
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 ¶ added in v0.60.0
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 ¶
func (o *AdminGetContentByChannelIDV2Params) WithChannelID(channelID string) *AdminGetContentByChannelIDV2Params
WithChannelID adds the channelID to the admin get content by channel idv2 params
func (*AdminGetContentByChannelIDV2Params) WithContext ¶
func (o *AdminGetContentByChannelIDV2Params) WithContext(ctx context.Context) *AdminGetContentByChannelIDV2Params
WithContext adds the context to the admin get content by channel idv2 params
func (*AdminGetContentByChannelIDV2Params) WithHTTPClient ¶
func (o *AdminGetContentByChannelIDV2Params) WithHTTPClient(client *http.Client) *AdminGetContentByChannelIDV2Params
WithHTTPClient adds the HTTPClient to the admin get content by channel idv2 params
func (*AdminGetContentByChannelIDV2Params) WithLimit ¶
func (o *AdminGetContentByChannelIDV2Params) WithLimit(limit *int64) *AdminGetContentByChannelIDV2Params
WithLimit adds the limit to the admin get content by channel idv2 params
func (*AdminGetContentByChannelIDV2Params) WithName ¶ added in v0.60.0
func (o *AdminGetContentByChannelIDV2Params) WithName(name *string) *AdminGetContentByChannelIDV2Params
WithName adds the name to the admin get content by channel idv2 params
func (*AdminGetContentByChannelIDV2Params) WithNamespace ¶
func (o *AdminGetContentByChannelIDV2Params) WithNamespace(namespace string) *AdminGetContentByChannelIDV2Params
WithNamespace adds the namespace to the admin get content by channel idv2 params
func (*AdminGetContentByChannelIDV2Params) WithOffset ¶
func (o *AdminGetContentByChannelIDV2Params) WithOffset(offset *int64) *AdminGetContentByChannelIDV2Params
WithOffset adds the offset to the admin get content by channel idv2 params
func (*AdminGetContentByChannelIDV2Params) WithSortBy ¶
func (o *AdminGetContentByChannelIDV2Params) WithSortBy(sortBy *string) *AdminGetContentByChannelIDV2Params
WithSortBy adds the sortBy to the admin get content by channel idv2 params
func (*AdminGetContentByChannelIDV2Params) WithTimeout ¶
func (o *AdminGetContentByChannelIDV2Params) WithTimeout(timeout time.Duration) *AdminGetContentByChannelIDV2Params
WithTimeout adds the timeout to the admin get content by channel idv2 params
func (*AdminGetContentByChannelIDV2Params) WriteToRequest ¶
func (o *AdminGetContentByChannelIDV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *AdminGetContentByChannelIDV2Unauthorized) Error() string
func (*AdminGetContentByChannelIDV2Unauthorized) GetPayload ¶
func (o *AdminGetContentByChannelIDV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGetContentByChannelIDV2Unauthorized) ToJSONString ¶
func (o *AdminGetContentByChannelIDV2Unauthorized) ToJSONString() string
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 (o *AdminGetContentByContentIDV2InternalServerError) Error() string
func (*AdminGetContentByContentIDV2InternalServerError) GetPayload ¶
func (o *AdminGetContentByContentIDV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGetContentByContentIDV2InternalServerError) ToJSONString ¶
func (o *AdminGetContentByContentIDV2InternalServerError) ToJSONString() string
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 (o *AdminGetContentByContentIDV2NotFound) Error() string
func (*AdminGetContentByContentIDV2NotFound) GetPayload ¶
func (o *AdminGetContentByContentIDV2NotFound) GetPayload() *ugcclientmodels.ResponseError
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 (o *AdminGetContentByContentIDV2OK) Error() string
func (*AdminGetContentByContentIDV2OK) GetPayload ¶
func (o *AdminGetContentByContentIDV2OK) GetPayload() *ugcclientmodels.ModelsContentDownloadResponseV2
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 // 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 ¶
func (o *AdminGetContentByContentIDV2Params) SetContext(ctx context.Context)
SetContext adds the context to the admin get content by content idv2 params
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 ¶
func (o *AdminGetContentByContentIDV2Params) WithContentID(contentID string) *AdminGetContentByContentIDV2Params
WithContentID adds the contentID to the admin get content by content idv2 params
func (*AdminGetContentByContentIDV2Params) WithContext ¶
func (o *AdminGetContentByContentIDV2Params) WithContext(ctx context.Context) *AdminGetContentByContentIDV2Params
WithContext adds the context to the admin get content by content idv2 params
func (*AdminGetContentByContentIDV2Params) WithHTTPClient ¶
func (o *AdminGetContentByContentIDV2Params) WithHTTPClient(client *http.Client) *AdminGetContentByContentIDV2Params
WithHTTPClient adds the HTTPClient to the admin get content by content idv2 params
func (*AdminGetContentByContentIDV2Params) WithNamespace ¶
func (o *AdminGetContentByContentIDV2Params) WithNamespace(namespace string) *AdminGetContentByContentIDV2Params
WithNamespace adds the namespace to the admin get content by content idv2 params
func (*AdminGetContentByContentIDV2Params) WithTimeout ¶
func (o *AdminGetContentByContentIDV2Params) WithTimeout(timeout time.Duration) *AdminGetContentByContentIDV2Params
WithTimeout adds the timeout to the admin get content by content idv2 params
func (*AdminGetContentByContentIDV2Params) WriteToRequest ¶
func (o *AdminGetContentByContentIDV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *AdminGetContentByContentIDV2Unauthorized) Error() string
func (*AdminGetContentByContentIDV2Unauthorized) GetPayload ¶
func (o *AdminGetContentByContentIDV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGetContentByContentIDV2Unauthorized) ToJSONString ¶
func (o *AdminGetContentByContentIDV2Unauthorized) ToJSONString() string
type AdminGetContentByShareCodeV2InternalServerError ¶
type AdminGetContentByShareCodeV2InternalServerError struct {
}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 (o *AdminGetContentByShareCodeV2InternalServerError) Error() string
func (*AdminGetContentByShareCodeV2InternalServerError) GetPayload ¶
func (o *AdminGetContentByShareCodeV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGetContentByShareCodeV2InternalServerError) ToJSONString ¶
func (o *AdminGetContentByShareCodeV2InternalServerError) ToJSONString() string
type AdminGetContentByShareCodeV2NotFound ¶
type AdminGetContentByShareCodeV2NotFound struct {
}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 (o *AdminGetContentByShareCodeV2NotFound) Error() string
func (*AdminGetContentByShareCodeV2NotFound) GetPayload ¶
func (o *AdminGetContentByShareCodeV2NotFound) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGetContentByShareCodeV2NotFound) ToJSONString ¶
func (o *AdminGetContentByShareCodeV2NotFound) ToJSONString() string
type AdminGetContentByShareCodeV2OK ¶
type AdminGetContentByShareCodeV2OK struct {
}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 (o *AdminGetContentByShareCodeV2OK) Error() string
func (*AdminGetContentByShareCodeV2OK) GetPayload ¶
func (o *AdminGetContentByShareCodeV2OK) GetPayload() *ugcclientmodels.ModelsContentDownloadResponseV2
func (*AdminGetContentByShareCodeV2OK) ToJSONString ¶
func (o *AdminGetContentByShareCodeV2OK) ToJSONString() string
type AdminGetContentByShareCodeV2Params ¶
type AdminGetContentByShareCodeV2Params struct { utils.Retry Namespace string ShareCode string // contains filtered or unexported fields }RetryPolicy *
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 ¶
func (o *AdminGetContentByShareCodeV2Params) SetContext(ctx context.Context)
SetContext adds the context to the admin get content by share code v2 params
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 ¶
func (o *AdminGetContentByShareCodeV2Params) WithContext(ctx context.Context) *AdminGetContentByShareCodeV2Params
WithContext adds the context to the admin get content by share code v2 params
func (*AdminGetContentByShareCodeV2Params) WithHTTPClient ¶
func (o *AdminGetContentByShareCodeV2Params) WithHTTPClient(client *http.Client) *AdminGetContentByShareCodeV2Params
WithHTTPClient adds the HTTPClient to the admin get content by share code v2 params
func (*AdminGetContentByShareCodeV2Params) WithNamespace ¶
func (o *AdminGetContentByShareCodeV2Params) WithNamespace(namespace string) *AdminGetContentByShareCodeV2Params
WithNamespace adds the namespace to the admin get content by share code v2 params
func (*AdminGetContentByShareCodeV2Params) WithShareCode ¶
func (o *AdminGetContentByShareCodeV2Params) WithShareCode(shareCode string) *AdminGetContentByShareCodeV2Params
WithShareCode adds the shareCode to the admin get content by share code v2 params
func (*AdminGetContentByShareCodeV2Params) WithTimeout ¶
func (o *AdminGetContentByShareCodeV2Params) WithTimeout(timeout time.Duration) *AdminGetContentByShareCodeV2Params
WithTimeout adds the timeout to the admin get content by share code v2 params
func (*AdminGetContentByShareCodeV2Params) WriteToRequest ¶
func (o *AdminGetContentByShareCodeV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *AdminGetContentByShareCodeV2Unauthorized) Error() string
func (*AdminGetContentByShareCodeV2Unauthorized) GetPayload ¶
func (o *AdminGetContentByShareCodeV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGetContentByShareCodeV2Unauthorized) ToJSONString ¶
func (o *AdminGetContentByShareCodeV2Unauthorized) ToJSONString() string
type AdminGetContentByUserIDV2BadRequest ¶ added in v0.60.0
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 ¶ added in v0.60.0
func NewAdminGetContentByUserIDV2BadRequest() *AdminGetContentByUserIDV2BadRequest
NewAdminGetContentByUserIDV2BadRequest creates a AdminGetContentByUserIDV2BadRequest with default headers values
func (*AdminGetContentByUserIDV2BadRequest) Error ¶ added in v0.60.0
func (o *AdminGetContentByUserIDV2BadRequest) Error() string
func (*AdminGetContentByUserIDV2BadRequest) GetPayload ¶ added in v0.60.0
func (o *AdminGetContentByUserIDV2BadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGetContentByUserIDV2BadRequest) ToJSONString ¶ added in v0.60.0
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 (o *AdminGetContentByUserIDV2InternalServerError) Error() string
func (*AdminGetContentByUserIDV2InternalServerError) GetPayload ¶
func (o *AdminGetContentByUserIDV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGetContentByUserIDV2InternalServerError) ToJSONString ¶
func (o *AdminGetContentByUserIDV2InternalServerError) ToJSONString() string
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 (o *AdminGetContentByUserIDV2OK) Error() string
func (*AdminGetContentByUserIDV2OK) GetPayload ¶
func (o *AdminGetContentByUserIDV2OK) GetPayload() *ugcclientmodels.ModelsPaginatedContentDownloadResponseV2
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 default value: createdTime:desc. available value: <ul> <li>createdTime, createdTime:desc, createdTime:asc</li> </ul> */ SortBy *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // 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) 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 ¶
func (o *AdminGetContentByUserIDV2Params) WithContext(ctx context.Context) *AdminGetContentByUserIDV2Params
WithContext adds the context to the admin get content by user idv2 params
func (*AdminGetContentByUserIDV2Params) WithHTTPClient ¶
func (o *AdminGetContentByUserIDV2Params) WithHTTPClient(client *http.Client) *AdminGetContentByUserIDV2Params
WithHTTPClient adds the HTTPClient to the admin get content by user idv2 params
func (*AdminGetContentByUserIDV2Params) WithLimit ¶
func (o *AdminGetContentByUserIDV2Params) WithLimit(limit *int64) *AdminGetContentByUserIDV2Params
WithLimit adds the limit to the admin get content by user idv2 params
func (*AdminGetContentByUserIDV2Params) WithNamespace ¶
func (o *AdminGetContentByUserIDV2Params) WithNamespace(namespace string) *AdminGetContentByUserIDV2Params
WithNamespace adds the namespace to the admin get content by user idv2 params
func (*AdminGetContentByUserIDV2Params) WithOffset ¶
func (o *AdminGetContentByUserIDV2Params) WithOffset(offset *int64) *AdminGetContentByUserIDV2Params
WithOffset adds the offset to the admin get content by user idv2 params
func (*AdminGetContentByUserIDV2Params) WithSortBy ¶
func (o *AdminGetContentByUserIDV2Params) WithSortBy(sortBy *string) *AdminGetContentByUserIDV2Params
WithSortBy adds the sortBy to the admin get content by user idv2 params
func (*AdminGetContentByUserIDV2Params) WithTimeout ¶
func (o *AdminGetContentByUserIDV2Params) WithTimeout(timeout time.Duration) *AdminGetContentByUserIDV2Params
WithTimeout adds the timeout to the admin get content by user idv2 params
func (*AdminGetContentByUserIDV2Params) WithUserID ¶
func (o *AdminGetContentByUserIDV2Params) WithUserID(userID string) *AdminGetContentByUserIDV2Params
WithUserID adds the userID to the admin get content by user idv2 params
func (*AdminGetContentByUserIDV2Params) WriteToRequest ¶
func (o *AdminGetContentByUserIDV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *AdminGetContentByUserIDV2Unauthorized) Error() string
func (*AdminGetContentByUserIDV2Unauthorized) GetPayload ¶
func (o *AdminGetContentByUserIDV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGetContentByUserIDV2Unauthorized) ToJSONString ¶
func (o *AdminGetContentByUserIDV2Unauthorized) ToJSONString() string
type AdminListContentV2BadRequest ¶ added in v0.60.0
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 ¶ added in v0.60.0
func NewAdminListContentV2BadRequest() *AdminListContentV2BadRequest
NewAdminListContentV2BadRequest creates a AdminListContentV2BadRequest with default headers values
func (*AdminListContentV2BadRequest) Error ¶ added in v0.60.0
func (o *AdminListContentV2BadRequest) Error() string
func (*AdminListContentV2BadRequest) GetPayload ¶ added in v0.60.0
func (o *AdminListContentV2BadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*AdminListContentV2BadRequest) ToJSONString ¶ added in v0.60.0
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 (o *AdminListContentV2InternalServerError) Error() string
func (*AdminListContentV2InternalServerError) GetPayload ¶
func (o *AdminListContentV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminListContentV2InternalServerError) ToJSONString ¶
func (o *AdminListContentV2InternalServerError) ToJSONString() string
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 (o *AdminListContentV2OK) GetPayload() *ugcclientmodels.ModelsPaginatedContentDownloadResponseV2
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 default value: createdTime:desc. available value: <ul> <li>createdTime, createdTime:desc, createdTime:asc</li> <li>download, download:desc, download:asc</li> <li>like, like:desc, like:asc</li> <li>name, name:desc, name:asc</li> <li>updatedTime, updatedTime:desc, updatedTime:asc</li> </ul> */ 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 // 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) 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 ¶ added in v0.60.0
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 ¶
func (o *AdminListContentV2Params) WithContext(ctx context.Context) *AdminListContentV2Params
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 ¶ added in v0.60.0
func (o *AdminListContentV2Params) WithIsOfficial(isOfficial *bool) *AdminListContentV2Params
WithIsOfficial adds the isOfficial to the admin list content v2 params
func (*AdminListContentV2Params) WithLimit ¶
func (o *AdminListContentV2Params) WithLimit(limit *int64) *AdminListContentV2Params
WithLimit adds the limit to the admin list content v2 params
func (*AdminListContentV2Params) WithName ¶
func (o *AdminListContentV2Params) WithName(name *string) *AdminListContentV2Params
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 ¶
func (o *AdminListContentV2Params) WithOffset(offset *int64) *AdminListContentV2Params
WithOffset adds the offset to the admin list content v2 params
func (*AdminListContentV2Params) WithSortBy ¶
func (o *AdminListContentV2Params) WithSortBy(sortBy *string) *AdminListContentV2Params
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 ¶
func (o *AdminListContentV2Params) WithTags(tags []string) *AdminListContentV2Params
WithTags adds the tags to the admin list content v2 params
func (*AdminListContentV2Params) WithTimeout ¶
func (o *AdminListContentV2Params) WithTimeout(timeout time.Duration) *AdminListContentV2Params
WithTimeout adds the timeout to the admin list content v2 params
func (*AdminListContentV2Params) WithType ¶
func (o *AdminListContentV2Params) WithType(typeVar *string) *AdminListContentV2Params
WithType adds the typeVar to the admin list content v2 params
func (*AdminListContentV2Params) WriteToRequest ¶
func (o *AdminListContentV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *AdminListContentV2Unauthorized) Error() string
func (*AdminListContentV2Unauthorized) GetPayload ¶
func (o *AdminListContentV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*AdminListContentV2Unauthorized) ToJSONString ¶
func (o *AdminListContentV2Unauthorized) ToJSONString() string
type AdminUpdateContentByShareCodeV2BadRequest ¶ added in v0.58.0
type AdminUpdateContentByShareCodeV2BadRequest struct {
}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 ¶ added in v0.58.0
func NewAdminUpdateContentByShareCodeV2BadRequest() *AdminUpdateContentByShareCodeV2BadRequest
NewAdminUpdateContentByShareCodeV2BadRequest creates a AdminUpdateContentByShareCodeV2BadRequest with default headers values
func (*AdminUpdateContentByShareCodeV2BadRequest) Error ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2BadRequest) Error() string
func (*AdminUpdateContentByShareCodeV2BadRequest) GetPayload ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2BadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateContentByShareCodeV2BadRequest) ToJSONString ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2BadRequest) ToJSONString() string
type AdminUpdateContentByShareCodeV2Conflict ¶ added in v0.58.0
type AdminUpdateContentByShareCodeV2Conflict struct {
}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 ¶ added in v0.58.0
func NewAdminUpdateContentByShareCodeV2Conflict() *AdminUpdateContentByShareCodeV2Conflict
NewAdminUpdateContentByShareCodeV2Conflict creates a AdminUpdateContentByShareCodeV2Conflict with default headers values
func (*AdminUpdateContentByShareCodeV2Conflict) Error ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2Conflict) Error() string
func (*AdminUpdateContentByShareCodeV2Conflict) GetPayload ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2Conflict) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateContentByShareCodeV2Conflict) ToJSONString ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2Conflict) ToJSONString() string
type AdminUpdateContentByShareCodeV2Forbidden ¶ added in v0.60.0
type AdminUpdateContentByShareCodeV2Forbidden struct {
}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 ¶ added in v0.60.0
func NewAdminUpdateContentByShareCodeV2Forbidden() *AdminUpdateContentByShareCodeV2Forbidden
NewAdminUpdateContentByShareCodeV2Forbidden creates a AdminUpdateContentByShareCodeV2Forbidden with default headers values
func (*AdminUpdateContentByShareCodeV2Forbidden) Error ¶ added in v0.60.0
func (o *AdminUpdateContentByShareCodeV2Forbidden) Error() string
func (*AdminUpdateContentByShareCodeV2Forbidden) GetPayload ¶ added in v0.60.0
func (o *AdminUpdateContentByShareCodeV2Forbidden) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateContentByShareCodeV2Forbidden) ToJSONString ¶ added in v0.60.0
func (o *AdminUpdateContentByShareCodeV2Forbidden) ToJSONString() string
type AdminUpdateContentByShareCodeV2InternalServerError ¶ added in v0.58.0
type AdminUpdateContentByShareCodeV2InternalServerError struct {
}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 ¶ added in v0.58.0
func NewAdminUpdateContentByShareCodeV2InternalServerError() *AdminUpdateContentByShareCodeV2InternalServerError
NewAdminUpdateContentByShareCodeV2InternalServerError creates a AdminUpdateContentByShareCodeV2InternalServerError with default headers values
func (*AdminUpdateContentByShareCodeV2InternalServerError) Error ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2InternalServerError) Error() string
func (*AdminUpdateContentByShareCodeV2InternalServerError) GetPayload ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateContentByShareCodeV2InternalServerError) ToJSONString ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2InternalServerError) ToJSONString() string
type AdminUpdateContentByShareCodeV2NotFound ¶ added in v0.58.0
type AdminUpdateContentByShareCodeV2NotFound struct {
}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 ¶ added in v0.58.0
func NewAdminUpdateContentByShareCodeV2NotFound() *AdminUpdateContentByShareCodeV2NotFound
NewAdminUpdateContentByShareCodeV2NotFound creates a AdminUpdateContentByShareCodeV2NotFound with default headers values
func (*AdminUpdateContentByShareCodeV2NotFound) Error ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2NotFound) Error() string
func (*AdminUpdateContentByShareCodeV2NotFound) GetPayload ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2NotFound) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateContentByShareCodeV2NotFound) ToJSONString ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2NotFound) ToJSONString() string
type AdminUpdateContentByShareCodeV2OK ¶ added in v0.58.0
type AdminUpdateContentByShareCodeV2OK struct {
}AdminUpdateContentByShareCodeV2OK handles this case with default header values.
content udpated at s3
func NewAdminUpdateContentByShareCodeV2OK ¶ added in v0.58.0
func NewAdminUpdateContentByShareCodeV2OK() *AdminUpdateContentByShareCodeV2OK
NewAdminUpdateContentByShareCodeV2OK creates a AdminUpdateContentByShareCodeV2OK with default headers values
func (*AdminUpdateContentByShareCodeV2OK) Error ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2OK) Error() string
func (*AdminUpdateContentByShareCodeV2OK) GetPayload ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2OK) GetPayload() *ugcclientmodels.ModelsCreateContentResponseV2
func (*AdminUpdateContentByShareCodeV2OK) ToJSONString ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2OK) ToJSONString() string
type AdminUpdateContentByShareCodeV2Params ¶ added in v0.58.0
type AdminUpdateContentByShareCodeV2Params struct { utils.Retry Body *ugcclientmodels.ModelsAdminUpdateContentRequestV2 ChannelID string Namespace string ShareCode string UserID string // contains filtered or unexported fields }RetryPolicy *
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 ¶ added in v0.58.0
func NewAdminUpdateContentByShareCodeV2Params() *AdminUpdateContentByShareCodeV2Params
NewAdminUpdateContentByShareCodeV2Params creates a new AdminUpdateContentByShareCodeV2Params object with the default values initialized.
func NewAdminUpdateContentByShareCodeV2ParamsWithContext ¶ added in v0.58.0
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 ¶ added in v0.58.0
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 ¶ added in v0.58.0
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 ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin update content by share code v2 params
func (*AdminUpdateContentByShareCodeV2Params) SetBody ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2Params) SetBody(body *ugcclientmodels.ModelsAdminUpdateContentRequestV2)
SetBody adds the body to the admin update content by share code v2 params
func (*AdminUpdateContentByShareCodeV2Params) SetChannelID ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2Params) SetChannelID(channelID string)
SetChannelID adds the channelId to the admin update content by share code v2 params
func (*AdminUpdateContentByShareCodeV2Params) SetContext ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2Params) SetContext(ctx context.Context)
SetContext adds the context to the admin update content by share code v2 params
func (*AdminUpdateContentByShareCodeV2Params) SetHTTPClient ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin update content by share code v2 params
func (*AdminUpdateContentByShareCodeV2Params) SetHTTPClientTransport ¶ added in v0.58.0
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 ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin update content by share code v2 params
func (*AdminUpdateContentByShareCodeV2Params) SetShareCode ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2Params) SetShareCode(shareCode string)
SetShareCode adds the shareCode to the admin update content by share code v2 params
func (*AdminUpdateContentByShareCodeV2Params) SetTimeout ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin update content by share code v2 params
func (*AdminUpdateContentByShareCodeV2Params) SetUserID ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2Params) SetUserID(userID string)
SetUserID adds the userId to the admin update content by share code v2 params
func (*AdminUpdateContentByShareCodeV2Params) WithBody ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2Params) WithBody(body *ugcclientmodels.ModelsAdminUpdateContentRequestV2) *AdminUpdateContentByShareCodeV2Params
WithBody adds the body to the admin update content by share code v2 params
func (*AdminUpdateContentByShareCodeV2Params) WithChannelID ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2Params) WithChannelID(channelID string) *AdminUpdateContentByShareCodeV2Params
WithChannelID adds the channelID to the admin update content by share code v2 params
func (*AdminUpdateContentByShareCodeV2Params) WithContext ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2Params) WithContext(ctx context.Context) *AdminUpdateContentByShareCodeV2Params
WithContext adds the context to the admin update content by share code v2 params
func (*AdminUpdateContentByShareCodeV2Params) WithHTTPClient ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2Params) WithHTTPClient(client *http.Client) *AdminUpdateContentByShareCodeV2Params
WithHTTPClient adds the HTTPClient to the admin update content by share code v2 params
func (*AdminUpdateContentByShareCodeV2Params) WithNamespace ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2Params) WithNamespace(namespace string) *AdminUpdateContentByShareCodeV2Params
WithNamespace adds the namespace to the admin update content by share code v2 params
func (*AdminUpdateContentByShareCodeV2Params) WithShareCode ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2Params) WithShareCode(shareCode string) *AdminUpdateContentByShareCodeV2Params
WithShareCode adds the shareCode to the admin update content by share code v2 params
func (*AdminUpdateContentByShareCodeV2Params) WithTimeout ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2Params) WithTimeout(timeout time.Duration) *AdminUpdateContentByShareCodeV2Params
WithTimeout adds the timeout to the admin update content by share code v2 params
func (*AdminUpdateContentByShareCodeV2Params) WithUserID ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2Params) WithUserID(userID string) *AdminUpdateContentByShareCodeV2Params
WithUserID adds the userID to the admin update content by share code v2 params
func (*AdminUpdateContentByShareCodeV2Params) WriteToRequest ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminUpdateContentByShareCodeV2Reader ¶ added in v0.58.0
type AdminUpdateContentByShareCodeV2Reader struct {
// contains filtered or unexported fields
}
AdminUpdateContentByShareCodeV2Reader is a Reader for the AdminUpdateContentByShareCodeV2 structure.
func (*AdminUpdateContentByShareCodeV2Reader) ReadResponse ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminUpdateContentByShareCodeV2Unauthorized ¶ added in v0.58.0
type AdminUpdateContentByShareCodeV2Unauthorized struct {
}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 ¶ added in v0.58.0
func NewAdminUpdateContentByShareCodeV2Unauthorized() *AdminUpdateContentByShareCodeV2Unauthorized
NewAdminUpdateContentByShareCodeV2Unauthorized creates a AdminUpdateContentByShareCodeV2Unauthorized with default headers values
func (*AdminUpdateContentByShareCodeV2Unauthorized) Error ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2Unauthorized) Error() string
func (*AdminUpdateContentByShareCodeV2Unauthorized) GetPayload ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateContentByShareCodeV2Unauthorized) ToJSONString ¶ added in v0.58.0
func (o *AdminUpdateContentByShareCodeV2Unauthorized) ToJSONString() string
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 (o *AdminUpdateContentHideStatusV2BadRequest) Error() string
func (*AdminUpdateContentHideStatusV2BadRequest) GetPayload ¶
func (o *AdminUpdateContentHideStatusV2BadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateContentHideStatusV2BadRequest) ToJSONString ¶
func (o *AdminUpdateContentHideStatusV2BadRequest) ToJSONString() string
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 (o *AdminUpdateContentHideStatusV2Forbidden) Error() string
func (*AdminUpdateContentHideStatusV2Forbidden) GetPayload ¶
func (o *AdminUpdateContentHideStatusV2Forbidden) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateContentHideStatusV2Forbidden) ToJSONString ¶
func (o *AdminUpdateContentHideStatusV2Forbidden) ToJSONString() string
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 (o *AdminUpdateContentHideStatusV2InternalServerError) Error() string
func (*AdminUpdateContentHideStatusV2InternalServerError) GetPayload ¶
func (o *AdminUpdateContentHideStatusV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateContentHideStatusV2InternalServerError) ToJSONString ¶
func (o *AdminUpdateContentHideStatusV2InternalServerError) ToJSONString() string
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 (o *AdminUpdateContentHideStatusV2NotFound) Error() string
func (*AdminUpdateContentHideStatusV2NotFound) GetPayload ¶
func (o *AdminUpdateContentHideStatusV2NotFound) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateContentHideStatusV2NotFound) ToJSONString ¶
func (o *AdminUpdateContentHideStatusV2NotFound) ToJSONString() string
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 (o *AdminUpdateContentHideStatusV2OK) Error() string
func (*AdminUpdateContentHideStatusV2OK) GetPayload ¶
func (o *AdminUpdateContentHideStatusV2OK) GetPayload() *ugcclientmodels.ModelsCreateContentResponseV2
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 // 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 ¶
func (o *AdminUpdateContentHideStatusV2Params) SetBody(body *ugcclientmodels.ModelsHideContentRequest)
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 ¶
func (o *AdminUpdateContentHideStatusV2Params) SetContext(ctx context.Context)
SetContext adds the context to the admin update content hide status v2 params
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 ¶
func (o *AdminUpdateContentHideStatusV2Params) WithBody(body *ugcclientmodels.ModelsHideContentRequest) *AdminUpdateContentHideStatusV2Params
WithBody adds the body to the admin update content hide status v2 params
func (*AdminUpdateContentHideStatusV2Params) WithContentID ¶
func (o *AdminUpdateContentHideStatusV2Params) WithContentID(contentID string) *AdminUpdateContentHideStatusV2Params
WithContentID adds the contentID to the admin update content hide status v2 params
func (*AdminUpdateContentHideStatusV2Params) WithContext ¶
func (o *AdminUpdateContentHideStatusV2Params) WithContext(ctx context.Context) *AdminUpdateContentHideStatusV2Params
WithContext adds the context to the admin update content hide status v2 params
func (*AdminUpdateContentHideStatusV2Params) WithHTTPClient ¶
func (o *AdminUpdateContentHideStatusV2Params) WithHTTPClient(client *http.Client) *AdminUpdateContentHideStatusV2Params
WithHTTPClient adds the HTTPClient to the admin update content hide status v2 params
func (*AdminUpdateContentHideStatusV2Params) WithNamespace ¶
func (o *AdminUpdateContentHideStatusV2Params) WithNamespace(namespace string) *AdminUpdateContentHideStatusV2Params
WithNamespace adds the namespace to the admin update content hide status v2 params
func (*AdminUpdateContentHideStatusV2Params) WithTimeout ¶
func (o *AdminUpdateContentHideStatusV2Params) WithTimeout(timeout time.Duration) *AdminUpdateContentHideStatusV2Params
WithTimeout adds the timeout to the admin update content hide status v2 params
func (*AdminUpdateContentHideStatusV2Params) WithUserID ¶
func (o *AdminUpdateContentHideStatusV2Params) WithUserID(userID string) *AdminUpdateContentHideStatusV2Params
WithUserID adds the userID to the admin update content hide status v2 params
func (*AdminUpdateContentHideStatusV2Params) WriteToRequest ¶
func (o *AdminUpdateContentHideStatusV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *AdminUpdateContentHideStatusV2Unauthorized) Error() string
func (*AdminUpdateContentHideStatusV2Unauthorized) GetPayload ¶
func (o *AdminUpdateContentHideStatusV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateContentHideStatusV2Unauthorized) ToJSONString ¶
func (o *AdminUpdateContentHideStatusV2Unauthorized) ToJSONString() string
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 (o *AdminUpdateOfficialContentFileLocationBadRequest) Error() string
func (*AdminUpdateOfficialContentFileLocationBadRequest) GetPayload ¶
func (o *AdminUpdateOfficialContentFileLocationBadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateOfficialContentFileLocationBadRequest) ToJSONString ¶
func (o *AdminUpdateOfficialContentFileLocationBadRequest) ToJSONString() string
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 (o *AdminUpdateOfficialContentFileLocationForbidden) Error() string
func (*AdminUpdateOfficialContentFileLocationForbidden) GetPayload ¶
func (o *AdminUpdateOfficialContentFileLocationForbidden) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateOfficialContentFileLocationForbidden) ToJSONString ¶
func (o *AdminUpdateOfficialContentFileLocationForbidden) ToJSONString() string
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 (o *AdminUpdateOfficialContentFileLocationInternalServerError) Error() string
func (*AdminUpdateOfficialContentFileLocationInternalServerError) GetPayload ¶
func (o *AdminUpdateOfficialContentFileLocationInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateOfficialContentFileLocationInternalServerError) ToJSONString ¶
func (o *AdminUpdateOfficialContentFileLocationInternalServerError) ToJSONString() string
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 (o *AdminUpdateOfficialContentFileLocationNotFound) Error() string
func (*AdminUpdateOfficialContentFileLocationNotFound) GetPayload ¶
func (o *AdminUpdateOfficialContentFileLocationNotFound) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateOfficialContentFileLocationNotFound) ToJSONString ¶
func (o *AdminUpdateOfficialContentFileLocationNotFound) ToJSONString() string
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 (o *AdminUpdateOfficialContentFileLocationOK) Error() string
func (*AdminUpdateOfficialContentFileLocationOK) GetPayload ¶
func (o *AdminUpdateOfficialContentFileLocationOK) GetPayload() *ugcclientmodels.ModelsUpdateContentResponseV2
func (*AdminUpdateOfficialContentFileLocationOK) ToJSONString ¶
func (o *AdminUpdateOfficialContentFileLocationOK) ToJSONString() string
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 // 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 ¶
func (o *AdminUpdateOfficialContentFileLocationParams) SetBody(body *ugcclientmodels.ModelsUpdateFileLocationRequest)
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 ¶
func (o *AdminUpdateOfficialContentFileLocationParams) SetContext(ctx context.Context)
SetContext adds the context to the admin update official content file location params
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 ¶
func (o *AdminUpdateOfficialContentFileLocationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin update official content file location params
func (*AdminUpdateOfficialContentFileLocationParams) WithBody ¶
func (o *AdminUpdateOfficialContentFileLocationParams) WithBody(body *ugcclientmodels.ModelsUpdateFileLocationRequest) *AdminUpdateOfficialContentFileLocationParams
WithBody adds the body to the admin update official content file location params
func (*AdminUpdateOfficialContentFileLocationParams) WithChannelID ¶
func (o *AdminUpdateOfficialContentFileLocationParams) WithChannelID(channelID string) *AdminUpdateOfficialContentFileLocationParams
WithChannelID adds the channelID to the admin update official content file location params
func (*AdminUpdateOfficialContentFileLocationParams) WithContentID ¶
func (o *AdminUpdateOfficialContentFileLocationParams) WithContentID(contentID string) *AdminUpdateOfficialContentFileLocationParams
WithContentID adds the contentID to the admin update official content file location params
func (*AdminUpdateOfficialContentFileLocationParams) WithContext ¶
func (o *AdminUpdateOfficialContentFileLocationParams) WithContext(ctx context.Context) *AdminUpdateOfficialContentFileLocationParams
WithContext adds the context to the admin update official content file location params
func (*AdminUpdateOfficialContentFileLocationParams) WithHTTPClient ¶
func (o *AdminUpdateOfficialContentFileLocationParams) WithHTTPClient(client *http.Client) *AdminUpdateOfficialContentFileLocationParams
WithHTTPClient adds the HTTPClient to the admin update official content file location params
func (*AdminUpdateOfficialContentFileLocationParams) WithNamespace ¶
func (o *AdminUpdateOfficialContentFileLocationParams) WithNamespace(namespace string) *AdminUpdateOfficialContentFileLocationParams
WithNamespace adds the namespace to the admin update official content file location params
func (*AdminUpdateOfficialContentFileLocationParams) WithTimeout ¶
func (o *AdminUpdateOfficialContentFileLocationParams) WithTimeout(timeout time.Duration) *AdminUpdateOfficialContentFileLocationParams
WithTimeout adds the timeout to the admin update official content file location params
func (*AdminUpdateOfficialContentFileLocationParams) WriteToRequest ¶
func (o *AdminUpdateOfficialContentFileLocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *AdminUpdateOfficialContentFileLocationUnauthorized) Error() string
func (*AdminUpdateOfficialContentFileLocationUnauthorized) GetPayload ¶
func (o *AdminUpdateOfficialContentFileLocationUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateOfficialContentFileLocationUnauthorized) ToJSONString ¶
func (o *AdminUpdateOfficialContentFileLocationUnauthorized) ToJSONString() string
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 (o *AdminUpdateOfficialContentV2BadRequest) Error() string
func (*AdminUpdateOfficialContentV2BadRequest) GetPayload ¶
func (o *AdminUpdateOfficialContentV2BadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateOfficialContentV2BadRequest) ToJSONString ¶
func (o *AdminUpdateOfficialContentV2BadRequest) ToJSONString() string
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 (o *AdminUpdateOfficialContentV2Conflict) Error() string
func (*AdminUpdateOfficialContentV2Conflict) GetPayload ¶
func (o *AdminUpdateOfficialContentV2Conflict) GetPayload() *ugcclientmodels.ResponseError
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 (o *AdminUpdateOfficialContentV2InternalServerError) Error() string
func (*AdminUpdateOfficialContentV2InternalServerError) GetPayload ¶
func (o *AdminUpdateOfficialContentV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateOfficialContentV2InternalServerError) ToJSONString ¶
func (o *AdminUpdateOfficialContentV2InternalServerError) ToJSONString() string
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 (o *AdminUpdateOfficialContentV2NotFound) Error() string
func (*AdminUpdateOfficialContentV2NotFound) GetPayload ¶
func (o *AdminUpdateOfficialContentV2NotFound) GetPayload() *ugcclientmodels.ResponseError
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 (o *AdminUpdateOfficialContentV2OK) Error() string
func (*AdminUpdateOfficialContentV2OK) GetPayload ¶
func (o *AdminUpdateOfficialContentV2OK) GetPayload() *ugcclientmodels.ModelsUpdateContentResponseV2
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 // 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 ¶
func (o *AdminUpdateOfficialContentV2Params) SetBody(body *ugcclientmodels.ModelsAdminUpdateContentRequestV2)
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 ¶
func (o *AdminUpdateOfficialContentV2Params) SetContext(ctx context.Context)
SetContext adds the context to the admin update official content v2 params
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 ¶
func (o *AdminUpdateOfficialContentV2Params) WithBody(body *ugcclientmodels.ModelsAdminUpdateContentRequestV2) *AdminUpdateOfficialContentV2Params
WithBody adds the body to the admin update official content v2 params
func (*AdminUpdateOfficialContentV2Params) WithChannelID ¶
func (o *AdminUpdateOfficialContentV2Params) WithChannelID(channelID string) *AdminUpdateOfficialContentV2Params
WithChannelID adds the channelID to the admin update official content v2 params
func (*AdminUpdateOfficialContentV2Params) WithContentID ¶
func (o *AdminUpdateOfficialContentV2Params) WithContentID(contentID string) *AdminUpdateOfficialContentV2Params
WithContentID adds the contentID to the admin update official content v2 params
func (*AdminUpdateOfficialContentV2Params) WithContext ¶
func (o *AdminUpdateOfficialContentV2Params) WithContext(ctx context.Context) *AdminUpdateOfficialContentV2Params
WithContext adds the context to the admin update official content v2 params
func (*AdminUpdateOfficialContentV2Params) WithHTTPClient ¶
func (o *AdminUpdateOfficialContentV2Params) WithHTTPClient(client *http.Client) *AdminUpdateOfficialContentV2Params
WithHTTPClient adds the HTTPClient to the admin update official content v2 params
func (*AdminUpdateOfficialContentV2Params) WithNamespace ¶
func (o *AdminUpdateOfficialContentV2Params) WithNamespace(namespace string) *AdminUpdateOfficialContentV2Params
WithNamespace adds the namespace to the admin update official content v2 params
func (*AdminUpdateOfficialContentV2Params) WithTimeout ¶
func (o *AdminUpdateOfficialContentV2Params) WithTimeout(timeout time.Duration) *AdminUpdateOfficialContentV2Params
WithTimeout adds the timeout to the admin update official content v2 params
func (*AdminUpdateOfficialContentV2Params) WriteToRequest ¶
func (o *AdminUpdateOfficialContentV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *AdminUpdateOfficialContentV2Unauthorized) Error() string
func (*AdminUpdateOfficialContentV2Unauthorized) GetPayload ¶
func (o *AdminUpdateOfficialContentV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateOfficialContentV2Unauthorized) ToJSONString ¶
func (o *AdminUpdateOfficialContentV2Unauthorized) ToJSONString() string
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 (o *AdminUpdateScreenshotsV2BadRequest) Error() string
func (*AdminUpdateScreenshotsV2BadRequest) GetPayload ¶
func (o *AdminUpdateScreenshotsV2BadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateScreenshotsV2BadRequest) ToJSONString ¶
func (o *AdminUpdateScreenshotsV2BadRequest) ToJSONString() string
type AdminUpdateScreenshotsV2Forbidden ¶ added in v0.60.0
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 ¶ added in v0.60.0
func NewAdminUpdateScreenshotsV2Forbidden() *AdminUpdateScreenshotsV2Forbidden
NewAdminUpdateScreenshotsV2Forbidden creates a AdminUpdateScreenshotsV2Forbidden with default headers values
func (*AdminUpdateScreenshotsV2Forbidden) Error ¶ added in v0.60.0
func (o *AdminUpdateScreenshotsV2Forbidden) Error() string
func (*AdminUpdateScreenshotsV2Forbidden) GetPayload ¶ added in v0.60.0
func (o *AdminUpdateScreenshotsV2Forbidden) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateScreenshotsV2Forbidden) ToJSONString ¶ added in v0.60.0
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 (o *AdminUpdateScreenshotsV2InternalServerError) Error() string
func (*AdminUpdateScreenshotsV2InternalServerError) GetPayload ¶
func (o *AdminUpdateScreenshotsV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateScreenshotsV2InternalServerError) ToJSONString ¶
func (o *AdminUpdateScreenshotsV2InternalServerError) ToJSONString() string
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 (o *AdminUpdateScreenshotsV2NotFound) Error() string
func (*AdminUpdateScreenshotsV2NotFound) GetPayload ¶
func (o *AdminUpdateScreenshotsV2NotFound) GetPayload() *ugcclientmodels.ResponseError
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 (o *AdminUpdateScreenshotsV2OK) Error() string
func (*AdminUpdateScreenshotsV2OK) GetPayload ¶
func (o *AdminUpdateScreenshotsV2OK) GetPayload() *ugcclientmodels.ModelsUpdateScreenshotResponse
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 // 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 ¶
func (o *AdminUpdateScreenshotsV2Params) SetBody(body *ugcclientmodels.ModelsUpdateScreenshotRequest)
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) 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 ¶
func (o *AdminUpdateScreenshotsV2Params) WithBody(body *ugcclientmodels.ModelsUpdateScreenshotRequest) *AdminUpdateScreenshotsV2Params
WithBody adds the body to the admin update screenshots v2 params
func (*AdminUpdateScreenshotsV2Params) WithContentID ¶
func (o *AdminUpdateScreenshotsV2Params) WithContentID(contentID string) *AdminUpdateScreenshotsV2Params
WithContentID adds the contentID to the admin update screenshots v2 params
func (*AdminUpdateScreenshotsV2Params) WithContext ¶
func (o *AdminUpdateScreenshotsV2Params) WithContext(ctx context.Context) *AdminUpdateScreenshotsV2Params
WithContext adds the context to the admin update screenshots v2 params
func (*AdminUpdateScreenshotsV2Params) WithHTTPClient ¶
func (o *AdminUpdateScreenshotsV2Params) WithHTTPClient(client *http.Client) *AdminUpdateScreenshotsV2Params
WithHTTPClient adds the HTTPClient to the admin update screenshots v2 params
func (*AdminUpdateScreenshotsV2Params) WithNamespace ¶
func (o *AdminUpdateScreenshotsV2Params) WithNamespace(namespace string) *AdminUpdateScreenshotsV2Params
WithNamespace adds the namespace to the admin update screenshots v2 params
func (*AdminUpdateScreenshotsV2Params) WithTimeout ¶
func (o *AdminUpdateScreenshotsV2Params) WithTimeout(timeout time.Duration) *AdminUpdateScreenshotsV2Params
WithTimeout adds the timeout to the admin update screenshots v2 params
func (*AdminUpdateScreenshotsV2Params) WriteToRequest ¶
func (o *AdminUpdateScreenshotsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *AdminUpdateScreenshotsV2Unauthorized) Error() string
func (*AdminUpdateScreenshotsV2Unauthorized) GetPayload ¶
func (o *AdminUpdateScreenshotsV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
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 (o *AdminUpdateUserContentFileLocationBadRequest) Error() string
func (*AdminUpdateUserContentFileLocationBadRequest) GetPayload ¶
func (o *AdminUpdateUserContentFileLocationBadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateUserContentFileLocationBadRequest) ToJSONString ¶
func (o *AdminUpdateUserContentFileLocationBadRequest) ToJSONString() string
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 (o *AdminUpdateUserContentFileLocationForbidden) Error() string
func (*AdminUpdateUserContentFileLocationForbidden) GetPayload ¶
func (o *AdminUpdateUserContentFileLocationForbidden) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateUserContentFileLocationForbidden) ToJSONString ¶
func (o *AdminUpdateUserContentFileLocationForbidden) ToJSONString() string
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 (o *AdminUpdateUserContentFileLocationInternalServerError) Error() string
func (*AdminUpdateUserContentFileLocationInternalServerError) GetPayload ¶
func (o *AdminUpdateUserContentFileLocationInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateUserContentFileLocationInternalServerError) ToJSONString ¶
func (o *AdminUpdateUserContentFileLocationInternalServerError) ToJSONString() string
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 (o *AdminUpdateUserContentFileLocationNotFound) Error() string
func (*AdminUpdateUserContentFileLocationNotFound) GetPayload ¶
func (o *AdminUpdateUserContentFileLocationNotFound) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateUserContentFileLocationNotFound) ToJSONString ¶
func (o *AdminUpdateUserContentFileLocationNotFound) ToJSONString() string
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 (o *AdminUpdateUserContentFileLocationOK) Error() string
func (*AdminUpdateUserContentFileLocationOK) GetPayload ¶
func (o *AdminUpdateUserContentFileLocationOK) GetPayload() *ugcclientmodels.ModelsUpdateContentResponseV2
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 // 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 ¶
func (o *AdminUpdateUserContentFileLocationParams) SetBody(body *ugcclientmodels.ModelsUpdateFileLocationRequest)
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 ¶
func (o *AdminUpdateUserContentFileLocationParams) SetContext(ctx context.Context)
SetContext adds the context to the admin update user content file location params
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 ¶
func (o *AdminUpdateUserContentFileLocationParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *AdminUpdateUserContentFileLocationParams) WithBody(body *ugcclientmodels.ModelsUpdateFileLocationRequest) *AdminUpdateUserContentFileLocationParams
WithBody adds the body to the admin update user content file location params
func (*AdminUpdateUserContentFileLocationParams) WithChannelID ¶
func (o *AdminUpdateUserContentFileLocationParams) WithChannelID(channelID string) *AdminUpdateUserContentFileLocationParams
WithChannelID adds the channelID to the admin update user content file location params
func (*AdminUpdateUserContentFileLocationParams) WithContentID ¶
func (o *AdminUpdateUserContentFileLocationParams) WithContentID(contentID string) *AdminUpdateUserContentFileLocationParams
WithContentID adds the contentID to the admin update user content file location params
func (*AdminUpdateUserContentFileLocationParams) WithContext ¶
func (o *AdminUpdateUserContentFileLocationParams) WithContext(ctx context.Context) *AdminUpdateUserContentFileLocationParams
WithContext adds the context to the admin update user content file location params
func (*AdminUpdateUserContentFileLocationParams) WithHTTPClient ¶
func (o *AdminUpdateUserContentFileLocationParams) WithHTTPClient(client *http.Client) *AdminUpdateUserContentFileLocationParams
WithHTTPClient adds the HTTPClient to the admin update user content file location params
func (*AdminUpdateUserContentFileLocationParams) WithNamespace ¶
func (o *AdminUpdateUserContentFileLocationParams) WithNamespace(namespace string) *AdminUpdateUserContentFileLocationParams
WithNamespace adds the namespace to the admin update user content file location params
func (*AdminUpdateUserContentFileLocationParams) WithTimeout ¶
func (o *AdminUpdateUserContentFileLocationParams) WithTimeout(timeout time.Duration) *AdminUpdateUserContentFileLocationParams
WithTimeout adds the timeout to the admin update user content file location params
func (*AdminUpdateUserContentFileLocationParams) WithUserID ¶
func (o *AdminUpdateUserContentFileLocationParams) WithUserID(userID string) *AdminUpdateUserContentFileLocationParams
WithUserID adds the userID to the admin update user content file location params
func (*AdminUpdateUserContentFileLocationParams) WriteToRequest ¶
func (o *AdminUpdateUserContentFileLocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *AdminUpdateUserContentFileLocationUnauthorized) Error() string
func (*AdminUpdateUserContentFileLocationUnauthorized) GetPayload ¶
func (o *AdminUpdateUserContentFileLocationUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateUserContentFileLocationUnauthorized) ToJSONString ¶
func (o *AdminUpdateUserContentFileLocationUnauthorized) ToJSONString() string
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 (o *AdminUpdateUserContentV2BadRequest) Error() string
func (*AdminUpdateUserContentV2BadRequest) GetPayload ¶
func (o *AdminUpdateUserContentV2BadRequest) GetPayload() *ugcclientmodels.ResponseError
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 (o *AdminUpdateUserContentV2Conflict) Error() string
func (*AdminUpdateUserContentV2Conflict) GetPayload ¶
func (o *AdminUpdateUserContentV2Conflict) GetPayload() *ugcclientmodels.ResponseError
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 (o *AdminUpdateUserContentV2InternalServerError) Error() string
func (*AdminUpdateUserContentV2InternalServerError) GetPayload ¶
func (o *AdminUpdateUserContentV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateUserContentV2InternalServerError) ToJSONString ¶
func (o *AdminUpdateUserContentV2InternalServerError) ToJSONString() string
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 (o *AdminUpdateUserContentV2NotFound) Error() string
func (*AdminUpdateUserContentV2NotFound) GetPayload ¶
func (o *AdminUpdateUserContentV2NotFound) GetPayload() *ugcclientmodels.ResponseError
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 (o *AdminUpdateUserContentV2OK) Error() string
func (*AdminUpdateUserContentV2OK) GetPayload ¶
func (o *AdminUpdateUserContentV2OK) GetPayload() *ugcclientmodels.ModelsUpdateContentResponseV2
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 // 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 ¶
func (o *AdminUpdateUserContentV2Params) SetBody(body *ugcclientmodels.ModelsAdminUpdateContentRequestV2)
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) 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 ¶
func (o *AdminUpdateUserContentV2Params) WithBody(body *ugcclientmodels.ModelsAdminUpdateContentRequestV2) *AdminUpdateUserContentV2Params
WithBody adds the body to the admin update user content v2 params
func (*AdminUpdateUserContentV2Params) WithChannelID ¶
func (o *AdminUpdateUserContentV2Params) WithChannelID(channelID string) *AdminUpdateUserContentV2Params
WithChannelID adds the channelID to the admin update user content v2 params
func (*AdminUpdateUserContentV2Params) WithContentID ¶
func (o *AdminUpdateUserContentV2Params) WithContentID(contentID string) *AdminUpdateUserContentV2Params
WithContentID adds the contentID to the admin update user content v2 params
func (*AdminUpdateUserContentV2Params) WithContext ¶
func (o *AdminUpdateUserContentV2Params) WithContext(ctx context.Context) *AdminUpdateUserContentV2Params
WithContext adds the context to the admin update user content v2 params
func (*AdminUpdateUserContentV2Params) WithHTTPClient ¶
func (o *AdminUpdateUserContentV2Params) WithHTTPClient(client *http.Client) *AdminUpdateUserContentV2Params
WithHTTPClient adds the HTTPClient to the admin update user content v2 params
func (*AdminUpdateUserContentV2Params) WithNamespace ¶
func (o *AdminUpdateUserContentV2Params) WithNamespace(namespace string) *AdminUpdateUserContentV2Params
WithNamespace adds the namespace to the admin update user content v2 params
func (*AdminUpdateUserContentV2Params) WithTimeout ¶
func (o *AdminUpdateUserContentV2Params) WithTimeout(timeout time.Duration) *AdminUpdateUserContentV2Params
WithTimeout adds the timeout to the admin update user content v2 params
func (*AdminUpdateUserContentV2Params) WithUserID ¶
func (o *AdminUpdateUserContentV2Params) WithUserID(userID string) *AdminUpdateUserContentV2Params
WithUserID adds the userID to the admin update user content v2 params
func (*AdminUpdateUserContentV2Params) WriteToRequest ¶
func (o *AdminUpdateUserContentV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *AdminUpdateUserContentV2Unauthorized) Error() string
func (*AdminUpdateUserContentV2Unauthorized) GetPayload ¶
func (o *AdminUpdateUserContentV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
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 (o *AdminUploadContentScreenshotV2BadRequest) Error() string
func (*AdminUploadContentScreenshotV2BadRequest) GetPayload ¶
func (o *AdminUploadContentScreenshotV2BadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUploadContentScreenshotV2BadRequest) ToJSONString ¶
func (o *AdminUploadContentScreenshotV2BadRequest) ToJSONString() string
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 (o *AdminUploadContentScreenshotV2Created) Error() string
func (*AdminUploadContentScreenshotV2Created) GetPayload ¶
func (o *AdminUploadContentScreenshotV2Created) GetPayload() *ugcclientmodels.ModelsCreateScreenshotResponse
func (*AdminUploadContentScreenshotV2Created) ToJSONString ¶
func (o *AdminUploadContentScreenshotV2Created) ToJSONString() string
type AdminUploadContentScreenshotV2Forbidden ¶ added in v0.60.0
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 ¶ added in v0.60.0
func NewAdminUploadContentScreenshotV2Forbidden() *AdminUploadContentScreenshotV2Forbidden
NewAdminUploadContentScreenshotV2Forbidden creates a AdminUploadContentScreenshotV2Forbidden with default headers values
func (*AdminUploadContentScreenshotV2Forbidden) Error ¶ added in v0.60.0
func (o *AdminUploadContentScreenshotV2Forbidden) Error() string
func (*AdminUploadContentScreenshotV2Forbidden) GetPayload ¶ added in v0.60.0
func (o *AdminUploadContentScreenshotV2Forbidden) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUploadContentScreenshotV2Forbidden) ToJSONString ¶ added in v0.60.0
func (o *AdminUploadContentScreenshotV2Forbidden) ToJSONString() string
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 (o *AdminUploadContentScreenshotV2InternalServerError) Error() string
func (*AdminUploadContentScreenshotV2InternalServerError) GetPayload ¶
func (o *AdminUploadContentScreenshotV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUploadContentScreenshotV2InternalServerError) ToJSONString ¶
func (o *AdminUploadContentScreenshotV2InternalServerError) ToJSONString() string
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 (o *AdminUploadContentScreenshotV2NotFound) Error() string
func (*AdminUploadContentScreenshotV2NotFound) GetPayload ¶
func (o *AdminUploadContentScreenshotV2NotFound) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUploadContentScreenshotV2NotFound) ToJSONString ¶
func (o *AdminUploadContentScreenshotV2NotFound) ToJSONString() string
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 // 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 ¶
func (o *AdminUploadContentScreenshotV2Params) SetBody(body *ugcclientmodels.ModelsCreateScreenshotRequest)
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 ¶
func (o *AdminUploadContentScreenshotV2Params) SetContext(ctx context.Context)
SetContext adds the context to the admin upload content screenshot v2 params
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 ¶
func (o *AdminUploadContentScreenshotV2Params) WithBody(body *ugcclientmodels.ModelsCreateScreenshotRequest) *AdminUploadContentScreenshotV2Params
WithBody adds the body to the admin upload content screenshot v2 params
func (*AdminUploadContentScreenshotV2Params) WithContentID ¶
func (o *AdminUploadContentScreenshotV2Params) WithContentID(contentID string) *AdminUploadContentScreenshotV2Params
WithContentID adds the contentID to the admin upload content screenshot v2 params
func (*AdminUploadContentScreenshotV2Params) WithContext ¶
func (o *AdminUploadContentScreenshotV2Params) WithContext(ctx context.Context) *AdminUploadContentScreenshotV2Params
WithContext adds the context to the admin upload content screenshot v2 params
func (*AdminUploadContentScreenshotV2Params) WithHTTPClient ¶
func (o *AdminUploadContentScreenshotV2Params) WithHTTPClient(client *http.Client) *AdminUploadContentScreenshotV2Params
WithHTTPClient adds the HTTPClient to the admin upload content screenshot v2 params
func (*AdminUploadContentScreenshotV2Params) WithNamespace ¶
func (o *AdminUploadContentScreenshotV2Params) WithNamespace(namespace string) *AdminUploadContentScreenshotV2Params
WithNamespace adds the namespace to the admin upload content screenshot v2 params
func (*AdminUploadContentScreenshotV2Params) WithTimeout ¶
func (o *AdminUploadContentScreenshotV2Params) WithTimeout(timeout time.Duration) *AdminUploadContentScreenshotV2Params
WithTimeout adds the timeout to the admin upload content screenshot v2 params
func (*AdminUploadContentScreenshotV2Params) WriteToRequest ¶
func (o *AdminUploadContentScreenshotV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *AdminUploadContentScreenshotV2Unauthorized) Error() string
func (*AdminUploadContentScreenshotV2Unauthorized) GetPayload ¶
func (o *AdminUploadContentScreenshotV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUploadContentScreenshotV2Unauthorized) ToJSONString ¶
func (o *AdminUploadContentScreenshotV2Unauthorized) ToJSONString() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for admin content v2 API
func (*Client) AdminBulkGetContentByIDsV2
deprecated
func (a *Client) AdminBulkGetContentByIDsV2(params *AdminBulkGetContentByIDsV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminBulkGetContentByIDsV2OK, *AdminBulkGetContentByIDsV2BadRequest, *AdminBulkGetContentByIDsV2Unauthorized, *AdminBulkGetContentByIDsV2Forbidden, *AdminBulkGetContentByIDsV2InternalServerError, error)
Deprecated: 2022-08-10 - Use AdminBulkGetContentByIDsV2Short instead.
AdminBulkGetContentByIDsV2 bulk get content by content ids Required permission ADMIN:NAMESPACE:{namespace}:USER:*:CONTENT [READ]. 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 Required permission ADMIN:NAMESPACE:{namespace}:USER:*:CONTENT [READ]. Maximum contentId per request 100
func (*Client) AdminCreateContentV2
deprecated
func (a *Client) AdminCreateContentV2(params *AdminCreateContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateContentV2Created, *AdminCreateContentV2BadRequest, *AdminCreateContentV2Unauthorized, *AdminCreateContentV2NotFound, *AdminCreateContentV2Conflict, *AdminCreateContentV2InternalServerError, error)
Deprecated: 2022-08-10 - Use AdminCreateContentV2Short instead.
AdminCreateContentV2 create a content Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [CREATE].
func (*Client) AdminCreateContentV2Short ¶
func (a *Client) AdminCreateContentV2Short(params *AdminCreateContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateContentV2Created, error)
AdminCreateContentV2Short create a content Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [CREATE].
func (*Client) AdminDeleteContentByShareCodeV2
deprecated
added in
v0.58.0
func (a *Client) AdminDeleteContentByShareCodeV2(params *AdminDeleteContentByShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteContentByShareCodeV2NoContent, *AdminDeleteContentByShareCodeV2Unauthorized, *AdminDeleteContentByShareCodeV2NotFound, *AdminDeleteContentByShareCodeV2InternalServerError, error)
Deprecated: 2022-08-10 - Use AdminDeleteContentByShareCodeV2Short instead.
AdminDeleteContentByShareCodeV2 delete content by share code Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [DELETE].
func (*Client) AdminDeleteContentByShareCodeV2Short ¶ added in v0.58.0
func (a *Client) AdminDeleteContentByShareCodeV2Short(params *AdminDeleteContentByShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteContentByShareCodeV2NoContent, error)
AdminDeleteContentByShareCodeV2Short delete content by share code Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [DELETE].
func (*Client) AdminDeleteContentScreenshotV2
deprecated
func (a *Client) AdminDeleteContentScreenshotV2(params *AdminDeleteContentScreenshotV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteContentScreenshotV2NoContent, *AdminDeleteContentScreenshotV2BadRequest, *AdminDeleteContentScreenshotV2Unauthorized, *AdminDeleteContentScreenshotV2Forbidden, *AdminDeleteContentScreenshotV2NotFound, *AdminDeleteContentScreenshotV2InternalServerError, error)
Deprecated: 2022-08-10 - Use AdminDeleteContentScreenshotV2Short instead.
AdminDeleteContentScreenshotV2 delete screenshots content Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [DELETE].
func (*Client) AdminDeleteContentScreenshotV2Short ¶
func (a *Client) AdminDeleteContentScreenshotV2Short(params *AdminDeleteContentScreenshotV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteContentScreenshotV2NoContent, error)
AdminDeleteContentScreenshotV2Short delete screenshots content Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [DELETE].
func (*Client) AdminDeleteOfficialContentV2
deprecated
func (a *Client) AdminDeleteOfficialContentV2(params *AdminDeleteOfficialContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteOfficialContentV2NoContent, *AdminDeleteOfficialContentV2Unauthorized, *AdminDeleteOfficialContentV2NotFound, *AdminDeleteOfficialContentV2InternalServerError, error)
Deprecated: 2022-08-10 - Use AdminDeleteOfficialContentV2Short instead.
AdminDeleteOfficialContentV2 delete official content Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [DELETE].
func (*Client) AdminDeleteOfficialContentV2Short ¶
func (a *Client) AdminDeleteOfficialContentV2Short(params *AdminDeleteOfficialContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteOfficialContentV2NoContent, error)
AdminDeleteOfficialContentV2Short delete official content Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [DELETE].
func (*Client) AdminDeleteUserContentV2
deprecated
func (a *Client) AdminDeleteUserContentV2(params *AdminDeleteUserContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteUserContentV2NoContent, *AdminDeleteUserContentV2Unauthorized, *AdminDeleteUserContentV2NotFound, *AdminDeleteUserContentV2InternalServerError, error)
Deprecated: 2022-08-10 - Use AdminDeleteUserContentV2Short instead.
AdminDeleteUserContentV2 delete user content Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [DELETE].
func (*Client) AdminDeleteUserContentV2Short ¶
func (a *Client) AdminDeleteUserContentV2Short(params *AdminDeleteUserContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteUserContentV2NoContent, error)
AdminDeleteUserContentV2Short delete user content Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [DELETE].
func (*Client) AdminGenerateOfficialContentUploadURLV2
deprecated
func (a *Client) AdminGenerateOfficialContentUploadURLV2(params *AdminGenerateOfficialContentUploadURLV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGenerateOfficialContentUploadURLV2OK, *AdminGenerateOfficialContentUploadURLV2BadRequest, *AdminGenerateOfficialContentUploadURLV2Unauthorized, *AdminGenerateOfficialContentUploadURLV2NotFound, *AdminGenerateOfficialContentUploadURLV2InternalServerError, error)
Deprecated: 2022-08-10 - Use AdminGenerateOfficialContentUploadURLV2Short instead.
AdminGenerateOfficialContentUploadURLV2 generate official content upload url Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE].
func (*Client) AdminGenerateOfficialContentUploadURLV2Short ¶
func (a *Client) AdminGenerateOfficialContentUploadURLV2Short(params *AdminGenerateOfficialContentUploadURLV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGenerateOfficialContentUploadURLV2OK, error)
AdminGenerateOfficialContentUploadURLV2Short generate official content upload url Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE].
func (*Client) AdminGenerateUserContentUploadURLV2
deprecated
func (a *Client) AdminGenerateUserContentUploadURLV2(params *AdminGenerateUserContentUploadURLV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGenerateUserContentUploadURLV2OK, *AdminGenerateUserContentUploadURLV2BadRequest, *AdminGenerateUserContentUploadURLV2Unauthorized, *AdminGenerateUserContentUploadURLV2NotFound, *AdminGenerateUserContentUploadURLV2InternalServerError, error)
Deprecated: 2022-08-10 - Use AdminGenerateUserContentUploadURLV2Short instead.
AdminGenerateUserContentUploadURLV2 generate user content upload url Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE].
func (*Client) AdminGenerateUserContentUploadURLV2Short ¶
func (a *Client) AdminGenerateUserContentUploadURLV2Short(params *AdminGenerateUserContentUploadURLV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGenerateUserContentUploadURLV2OK, error)
AdminGenerateUserContentUploadURLV2Short generate user content upload url Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE].
func (*Client) AdminGetContentBulkByShareCodesV2
deprecated
added in
v0.58.0
func (a *Client) AdminGetContentBulkByShareCodesV2(params *AdminGetContentBulkByShareCodesV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentBulkByShareCodesV2OK, *AdminGetContentBulkByShareCodesV2BadRequest, *AdminGetContentBulkByShareCodesV2Unauthorized, *AdminGetContentBulkByShareCodesV2Forbidden, *AdminGetContentBulkByShareCodesV2InternalServerError, error)
Deprecated: 2022-08-10 - Use AdminGetContentBulkByShareCodesV2Short instead.
AdminGetContentBulkByShareCodesV2 bulk get content by content sharecodes Required permission ADMIN:NAMESPACE:{namespace}:USER:*:CONTENT [READ]. Maximum sharecodes per request 100
func (*Client) AdminGetContentBulkByShareCodesV2Short ¶ added in v0.58.0
func (a *Client) AdminGetContentBulkByShareCodesV2Short(params *AdminGetContentBulkByShareCodesV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentBulkByShareCodesV2OK, error)
AdminGetContentBulkByShareCodesV2Short bulk get content by content sharecodes Required permission ADMIN:NAMESPACE:{namespace}:USER:*:CONTENT [READ]. Maximum sharecodes per request 100
func (*Client) AdminGetContentByChannelIDV2
deprecated
func (a *Client) AdminGetContentByChannelIDV2(params *AdminGetContentByChannelIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentByChannelIDV2OK, *AdminGetContentByChannelIDV2BadRequest, *AdminGetContentByChannelIDV2Unauthorized, *AdminGetContentByChannelIDV2InternalServerError, error)
Deprecated: 2022-08-10 - Use AdminGetContentByChannelIDV2Short instead.
AdminGetContentByChannelIDV2 list contents specific to a channel Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [READ].
func (*Client) AdminGetContentByChannelIDV2Short ¶
func (a *Client) AdminGetContentByChannelIDV2Short(params *AdminGetContentByChannelIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentByChannelIDV2OK, error)
AdminGetContentByChannelIDV2Short list contents specific to a channel Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [READ].
func (*Client) AdminGetContentByContentIDV2
deprecated
func (a *Client) AdminGetContentByContentIDV2(params *AdminGetContentByContentIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentByContentIDV2OK, *AdminGetContentByContentIDV2Unauthorized, *AdminGetContentByContentIDV2NotFound, *AdminGetContentByContentIDV2InternalServerError, error)
Deprecated: 2022-08-10 - Use AdminGetContentByContentIDV2Short instead.
AdminGetContentByContentIDV2 get content by content id Required permission ADMIN:NAMESPACE:{namespace}:USER:*:CONTENT [READ].
func (*Client) AdminGetContentByContentIDV2Short ¶
func (a *Client) AdminGetContentByContentIDV2Short(params *AdminGetContentByContentIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentByContentIDV2OK, error)
AdminGetContentByContentIDV2Short get content by content id Required permission ADMIN:NAMESPACE:{namespace}:USER:*:CONTENT [READ].
func (*Client) AdminGetContentByShareCodeV2
deprecated
func (a *Client) AdminGetContentByShareCodeV2(params *AdminGetContentByShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentByShareCodeV2OK, *AdminGetContentByShareCodeV2Unauthorized, *AdminGetContentByShareCodeV2NotFound, *AdminGetContentByShareCodeV2InternalServerError, error)
Deprecated: 2022-08-10 - Use AdminGetContentByShareCodeV2Short instead.
AdminGetContentByShareCodeV2 get content by sharecode Required permission ADMIN:NAMESPACE:{namespace}:USER:*:CONTENT [READ].
func (*Client) AdminGetContentByShareCodeV2Short ¶
func (a *Client) AdminGetContentByShareCodeV2Short(params *AdminGetContentByShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentByShareCodeV2OK, error)
AdminGetContentByShareCodeV2Short get content by sharecode Required permission ADMIN:NAMESPACE:{namespace}:USER:*:CONTENT [READ].
func (*Client) AdminGetContentByUserIDV2
deprecated
func (a *Client) AdminGetContentByUserIDV2(params *AdminGetContentByUserIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentByUserIDV2OK, *AdminGetContentByUserIDV2BadRequest, *AdminGetContentByUserIDV2Unauthorized, *AdminGetContentByUserIDV2InternalServerError, error)
Deprecated: 2022-08-10 - Use AdminGetContentByUserIDV2Short instead.
AdminGetContentByUserIDV2 get user's generated contents Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [READ].
func (*Client) AdminGetContentByUserIDV2Short ¶
func (a *Client) AdminGetContentByUserIDV2Short(params *AdminGetContentByUserIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetContentByUserIDV2OK, error)
AdminGetContentByUserIDV2Short get user's generated contents Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [READ].
func (*Client) AdminListContentV2
deprecated
func (a *Client) AdminListContentV2(params *AdminListContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminListContentV2OK, *AdminListContentV2BadRequest, *AdminListContentV2Unauthorized, *AdminListContentV2InternalServerError, error)
Deprecated: 2022-08-10 - Use AdminListContentV2Short instead.
AdminListContentV2 list contents ¶
Required permission ADMIN:NAMESPACE:{namespace}:USER:*:CONTENT [READ] For advance tag filtering supports & as AND operator and | as OR operator and parentheses () for priority. e.g:
`tags=red` `tags=red&animal;` `tags=red|animal` `tags=red&animal;|wild` `tags=red&(animal|wild)`
The precedence of logical operator is AND > OR, so if no parentheses, AND logical operator will be executed first.
Allowed character for operand: alphanumeric, underscore `_` and dash `-` Allowed character for operator: `&` `|` `(` `)`
Please note that value of tags query param should be URL encoded
func (*Client) AdminListContentV2Short ¶
func (a *Client) AdminListContentV2Short(params *AdminListContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminListContentV2OK, error)
AdminListContentV2Short list contents
Required permission ADMIN:NAMESPACE:{namespace}:USER:*:CONTENT [READ] For advance tag filtering supports & as AND operator and | as OR operator and parentheses () for priority. e.g:
`tags=red` `tags=red&animal;` `tags=red|animal` `tags=red&animal;|wild` `tags=red&(animal|wild)`
The precedence of logical operator is AND > OR, so if no parentheses, AND logical operator will be executed first.
Allowed character for operand: alphanumeric, underscore `_` and dash `-` Allowed character for operator: `&` `|` `(` `)`
Please note that value of tags query param should be URL encoded
func (*Client) AdminUpdateContentByShareCodeV2
deprecated
added in
v0.58.0
func (a *Client) AdminUpdateContentByShareCodeV2(params *AdminUpdateContentByShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateContentByShareCodeV2OK, *AdminUpdateContentByShareCodeV2BadRequest, *AdminUpdateContentByShareCodeV2Unauthorized, *AdminUpdateContentByShareCodeV2Forbidden, *AdminUpdateContentByShareCodeV2NotFound, *AdminUpdateContentByShareCodeV2Conflict, *AdminUpdateContentByShareCodeV2InternalServerError, error)
Deprecated: 2022-08-10 - Use AdminUpdateContentByShareCodeV2Short instead.
AdminUpdateContentByShareCodeV2 update content to s3 bucket by share code Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE].
`shareCode` format should follows:
Max length: 7 Available characters: abcdefhkpqrstuxyz
func (*Client) AdminUpdateContentByShareCodeV2Short ¶ added in v0.58.0
func (a *Client) AdminUpdateContentByShareCodeV2Short(params *AdminUpdateContentByShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateContentByShareCodeV2OK, error)
AdminUpdateContentByShareCodeV2Short update content to s3 bucket by share code Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE].
`shareCode` format should follows:
Max length: 7 Available characters: abcdefhkpqrstuxyz
func (*Client) AdminUpdateContentHideStatusV2
deprecated
func (a *Client) AdminUpdateContentHideStatusV2(params *AdminUpdateContentHideStatusV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateContentHideStatusV2OK, *AdminUpdateContentHideStatusV2BadRequest, *AdminUpdateContentHideStatusV2Unauthorized, *AdminUpdateContentHideStatusV2Forbidden, *AdminUpdateContentHideStatusV2NotFound, *AdminUpdateContentHideStatusV2InternalServerError, error)
Deprecated: 2022-08-10 - Use AdminUpdateContentHideStatusV2Short instead.
AdminUpdateContentHideStatusV2 hide/unhide user's generated contents Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE].
func (*Client) AdminUpdateContentHideStatusV2Short ¶
func (a *Client) AdminUpdateContentHideStatusV2Short(params *AdminUpdateContentHideStatusV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateContentHideStatusV2OK, error)
AdminUpdateContentHideStatusV2Short hide/unhide user's generated contents Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE].
func (*Client) AdminUpdateOfficialContentFileLocation
deprecated
func (a *Client) AdminUpdateOfficialContentFileLocation(params *AdminUpdateOfficialContentFileLocationParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateOfficialContentFileLocationOK, *AdminUpdateOfficialContentFileLocationBadRequest, *AdminUpdateOfficialContentFileLocationUnauthorized, *AdminUpdateOfficialContentFileLocationForbidden, *AdminUpdateOfficialContentFileLocationNotFound, *AdminUpdateOfficialContentFileLocationInternalServerError, error)
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. Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE].
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. Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE].
func (*Client) AdminUpdateOfficialContentV2
deprecated
func (a *Client) AdminUpdateOfficialContentV2(params *AdminUpdateOfficialContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateOfficialContentV2OK, *AdminUpdateOfficialContentV2BadRequest, *AdminUpdateOfficialContentV2Unauthorized, *AdminUpdateOfficialContentV2NotFound, *AdminUpdateOfficialContentV2Conflict, *AdminUpdateOfficialContentV2InternalServerError, error)
Deprecated: 2022-08-10 - Use AdminUpdateOfficialContentV2Short instead.
AdminUpdateOfficialContentV2 update official content Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE].
func (*Client) AdminUpdateOfficialContentV2Short ¶
func (a *Client) AdminUpdateOfficialContentV2Short(params *AdminUpdateOfficialContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateOfficialContentV2OK, error)
AdminUpdateOfficialContentV2Short update official content Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE].
func (*Client) AdminUpdateScreenshotsV2
deprecated
func (a *Client) AdminUpdateScreenshotsV2(params *AdminUpdateScreenshotsV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateScreenshotsV2OK, *AdminUpdateScreenshotsV2BadRequest, *AdminUpdateScreenshotsV2Unauthorized, *AdminUpdateScreenshotsV2Forbidden, *AdminUpdateScreenshotsV2NotFound, *AdminUpdateScreenshotsV2InternalServerError, error)
Deprecated: 2022-08-10 - Use AdminUpdateScreenshotsV2Short instead.
AdminUpdateScreenshotsV2 update screenshot of content Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE]. Maximum description length: 1024.
func (*Client) AdminUpdateScreenshotsV2Short ¶
func (a *Client) AdminUpdateScreenshotsV2Short(params *AdminUpdateScreenshotsV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateScreenshotsV2OK, error)
AdminUpdateScreenshotsV2Short update screenshot of content Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE]. Maximum description length: 1024.
func (*Client) AdminUpdateUserContentFileLocation
deprecated
func (a *Client) AdminUpdateUserContentFileLocation(params *AdminUpdateUserContentFileLocationParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateUserContentFileLocationOK, *AdminUpdateUserContentFileLocationBadRequest, *AdminUpdateUserContentFileLocationUnauthorized, *AdminUpdateUserContentFileLocationForbidden, *AdminUpdateUserContentFileLocationNotFound, *AdminUpdateUserContentFileLocationInternalServerError, error)
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. Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE].
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. Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE].
func (*Client) AdminUpdateUserContentV2
deprecated
func (a *Client) AdminUpdateUserContentV2(params *AdminUpdateUserContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateUserContentV2OK, *AdminUpdateUserContentV2BadRequest, *AdminUpdateUserContentV2Unauthorized, *AdminUpdateUserContentV2NotFound, *AdminUpdateUserContentV2Conflict, *AdminUpdateUserContentV2InternalServerError, error)
Deprecated: 2022-08-10 - Use AdminUpdateUserContentV2Short instead.
AdminUpdateUserContentV2 update user content Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE].
func (*Client) AdminUpdateUserContentV2Short ¶
func (a *Client) AdminUpdateUserContentV2Short(params *AdminUpdateUserContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateUserContentV2OK, error)
AdminUpdateUserContentV2Short update user content Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE].
func (*Client) AdminUploadContentScreenshotV2
deprecated
func (a *Client) AdminUploadContentScreenshotV2(params *AdminUploadContentScreenshotV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUploadContentScreenshotV2Created, *AdminUploadContentScreenshotV2BadRequest, *AdminUploadContentScreenshotV2Unauthorized, *AdminUploadContentScreenshotV2Forbidden, *AdminUploadContentScreenshotV2NotFound, *AdminUploadContentScreenshotV2InternalServerError, error)
Deprecated: 2022-08-10 - Use AdminUploadContentScreenshotV2Short instead.
AdminUploadContentScreenshotV2 upload screenshots for content Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [CREATE]. All request body are required except for contentType field. contentType values is used to enforce the Content-Type header needed by the client to upload the content using the presigned URL. If not specified, it will use fileExtension value. Supported file extensions: pjp, jpg, jpeg, jfif, bmp, png. Maximum description length: 1024.
func (*Client) AdminUploadContentScreenshotV2Short ¶
func (a *Client) AdminUploadContentScreenshotV2Short(params *AdminUploadContentScreenshotV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUploadContentScreenshotV2Created, error)
AdminUploadContentScreenshotV2Short upload screenshots for content Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [CREATE]. All request body are required except for contentType field. contentType values is used to enforce the Content-Type header needed by the client to upload the content using the presigned URL. If not specified, it will use fileExtension value. Supported file extensions: pjp, jpg, jpeg, jfif, bmp, png. Maximum description length: 1024.
func (*Client) ListContentVersionsV2
deprecated
added in
v0.58.0
func (a *Client) ListContentVersionsV2(params *ListContentVersionsV2Params, authInfo runtime.ClientAuthInfoWriter) (*ListContentVersionsV2OK, *ListContentVersionsV2Unauthorized, *ListContentVersionsV2NotFound, *ListContentVersionsV2InternalServerError, error)
Deprecated: 2022-08-10 - Use ListContentVersionsV2Short instead.
ListContentVersionsV2 list content's payload versions Required permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [READ] Content's payload versions created when UGC is created or updated with `updateContentFile` set to true. Only list up to 10 latest versions.
func (*Client) ListContentVersionsV2Short ¶ added in v0.58.0
func (a *Client) ListContentVersionsV2Short(params *ListContentVersionsV2Params, authInfo runtime.ClientAuthInfoWriter) (*ListContentVersionsV2OK, error)
ListContentVersionsV2Short list content's payload versions Required permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [READ] Content's payload versions created when UGC is created or updated with `updateContentFile` set to true. Only list up to 10 latest versions.
func (*Client) RollbackContentVersionV2
deprecated
added in
v0.58.0
func (a *Client) RollbackContentVersionV2(params *RollbackContentVersionV2Params, authInfo runtime.ClientAuthInfoWriter) (*RollbackContentVersionV2OK, *RollbackContentVersionV2Unauthorized, *RollbackContentVersionV2NotFound, *RollbackContentVersionV2UnprocessableEntity, *RollbackContentVersionV2InternalServerError, error)
Deprecated: 2022-08-10 - Use RollbackContentVersionV2Short instead.
RollbackContentVersionV2 rollback content's payload version Required permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE] Rollback content's payload to specified version.
func (*Client) RollbackContentVersionV2Short ¶ added in v0.58.0
func (a *Client) RollbackContentVersionV2Short(params *RollbackContentVersionV2Params, authInfo runtime.ClientAuthInfoWriter) (*RollbackContentVersionV2OK, error)
RollbackContentVersionV2Short rollback content's payload version Required permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE] Rollback content's payload to specified version.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
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) 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) 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 ¶ added in v0.58.0
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 ¶ added in v0.58.0
func NewListContentVersionsV2InternalServerError() *ListContentVersionsV2InternalServerError
NewListContentVersionsV2InternalServerError creates a ListContentVersionsV2InternalServerError with default headers values
func (*ListContentVersionsV2InternalServerError) Error ¶ added in v0.58.0
func (o *ListContentVersionsV2InternalServerError) Error() string
func (*ListContentVersionsV2InternalServerError) GetPayload ¶ added in v0.58.0
func (o *ListContentVersionsV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*ListContentVersionsV2InternalServerError) ToJSONString ¶ added in v0.58.0
func (o *ListContentVersionsV2InternalServerError) ToJSONString() string
type ListContentVersionsV2NotFound ¶ added in v0.58.0
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 ¶ added in v0.58.0
func NewListContentVersionsV2NotFound() *ListContentVersionsV2NotFound
NewListContentVersionsV2NotFound creates a ListContentVersionsV2NotFound with default headers values
func (*ListContentVersionsV2NotFound) Error ¶ added in v0.58.0
func (o *ListContentVersionsV2NotFound) Error() string
func (*ListContentVersionsV2NotFound) GetPayload ¶ added in v0.58.0
func (o *ListContentVersionsV2NotFound) GetPayload() *ugcclientmodels.ResponseError
func (*ListContentVersionsV2NotFound) ToJSONString ¶ added in v0.58.0
func (o *ListContentVersionsV2NotFound) ToJSONString() string
type ListContentVersionsV2OK ¶ added in v0.58.0
type ListContentVersionsV2OK struct {
Payload *ugcclientmodels.ModelsListContentVersionsResponse
}
ListContentVersionsV2OK handles this case with default header values.
List content's payload verisions
func NewListContentVersionsV2OK ¶ added in v0.58.0
func NewListContentVersionsV2OK() *ListContentVersionsV2OK
NewListContentVersionsV2OK creates a ListContentVersionsV2OK with default headers values
func (*ListContentVersionsV2OK) Error ¶ added in v0.58.0
func (o *ListContentVersionsV2OK) Error() string
func (*ListContentVersionsV2OK) GetPayload ¶ added in v0.58.0
func (o *ListContentVersionsV2OK) GetPayload() *ugcclientmodels.ModelsListContentVersionsResponse
func (*ListContentVersionsV2OK) ToJSONString ¶ added in v0.58.0
func (o *ListContentVersionsV2OK) ToJSONString() string
type ListContentVersionsV2Params ¶ added in v0.58.0
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 // 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 ¶ added in v0.58.0
func NewListContentVersionsV2Params() *ListContentVersionsV2Params
NewListContentVersionsV2Params creates a new ListContentVersionsV2Params object with the default values initialized.
func NewListContentVersionsV2ParamsWithContext ¶ added in v0.58.0
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 ¶ added in v0.58.0
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 ¶ added in v0.58.0
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 ¶ added in v0.58.0
func (o *ListContentVersionsV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the list content versions v2 params
func (*ListContentVersionsV2Params) SetContentID ¶ added in v0.58.0
func (o *ListContentVersionsV2Params) SetContentID(contentID string)
SetContentID adds the contentId to the list content versions v2 params
func (*ListContentVersionsV2Params) SetContext ¶ added in v0.58.0
func (o *ListContentVersionsV2Params) SetContext(ctx context.Context)
SetContext adds the context to the list content versions v2 params
func (*ListContentVersionsV2Params) SetHTTPClient ¶ added in v0.58.0
func (o *ListContentVersionsV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list content versions v2 params
func (*ListContentVersionsV2Params) SetHTTPClientTransport ¶ added in v0.58.0
func (o *ListContentVersionsV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the list content versions v2 params
func (*ListContentVersionsV2Params) SetNamespace ¶ added in v0.58.0
func (o *ListContentVersionsV2Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the list content versions v2 params
func (*ListContentVersionsV2Params) SetTimeout ¶ added in v0.58.0
func (o *ListContentVersionsV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list content versions v2 params
func (*ListContentVersionsV2Params) WithContentID ¶ added in v0.58.0
func (o *ListContentVersionsV2Params) WithContentID(contentID string) *ListContentVersionsV2Params
WithContentID adds the contentID to the list content versions v2 params
func (*ListContentVersionsV2Params) WithContext ¶ added in v0.58.0
func (o *ListContentVersionsV2Params) WithContext(ctx context.Context) *ListContentVersionsV2Params
WithContext adds the context to the list content versions v2 params
func (*ListContentVersionsV2Params) WithHTTPClient ¶ added in v0.58.0
func (o *ListContentVersionsV2Params) WithHTTPClient(client *http.Client) *ListContentVersionsV2Params
WithHTTPClient adds the HTTPClient to the list content versions v2 params
func (*ListContentVersionsV2Params) WithNamespace ¶ added in v0.58.0
func (o *ListContentVersionsV2Params) WithNamespace(namespace string) *ListContentVersionsV2Params
WithNamespace adds the namespace to the list content versions v2 params
func (*ListContentVersionsV2Params) WithTimeout ¶ added in v0.58.0
func (o *ListContentVersionsV2Params) WithTimeout(timeout time.Duration) *ListContentVersionsV2Params
WithTimeout adds the timeout to the list content versions v2 params
func (*ListContentVersionsV2Params) WriteToRequest ¶ added in v0.58.0
func (o *ListContentVersionsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListContentVersionsV2Reader ¶ added in v0.58.0
type ListContentVersionsV2Reader struct {
// contains filtered or unexported fields
}
ListContentVersionsV2Reader is a Reader for the ListContentVersionsV2 structure.
func (*ListContentVersionsV2Reader) ReadResponse ¶ added in v0.58.0
func (o *ListContentVersionsV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListContentVersionsV2Unauthorized ¶ added in v0.58.0
type ListContentVersionsV2Unauthorized struct {
}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 ¶ added in v0.58.0
func NewListContentVersionsV2Unauthorized() *ListContentVersionsV2Unauthorized
NewListContentVersionsV2Unauthorized creates a ListContentVersionsV2Unauthorized with default headers values
func (*ListContentVersionsV2Unauthorized) Error ¶ added in v0.58.0
func (o *ListContentVersionsV2Unauthorized) Error() string
func (*ListContentVersionsV2Unauthorized) GetPayload ¶ added in v0.58.0
func (o *ListContentVersionsV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*ListContentVersionsV2Unauthorized) ToJSONString ¶ added in v0.58.0
func (o *ListContentVersionsV2Unauthorized) ToJSONString() string
type RollbackContentVersionV2InternalServerError ¶ added in v0.58.0
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 ¶ added in v0.58.0
func NewRollbackContentVersionV2InternalServerError() *RollbackContentVersionV2InternalServerError
NewRollbackContentVersionV2InternalServerError creates a RollbackContentVersionV2InternalServerError with default headers values
func (*RollbackContentVersionV2InternalServerError) Error ¶ added in v0.58.0
func (o *RollbackContentVersionV2InternalServerError) Error() string
func (*RollbackContentVersionV2InternalServerError) GetPayload ¶ added in v0.58.0
func (o *RollbackContentVersionV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*RollbackContentVersionV2InternalServerError) ToJSONString ¶ added in v0.58.0
func (o *RollbackContentVersionV2InternalServerError) ToJSONString() string
type RollbackContentVersionV2NotFound ¶ added in v0.58.0
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 ¶ added in v0.58.0
func NewRollbackContentVersionV2NotFound() *RollbackContentVersionV2NotFound
NewRollbackContentVersionV2NotFound creates a RollbackContentVersionV2NotFound with default headers values
func (*RollbackContentVersionV2NotFound) Error ¶ added in v0.58.0
func (o *RollbackContentVersionV2NotFound) Error() string
func (*RollbackContentVersionV2NotFound) GetPayload ¶ added in v0.58.0
func (o *RollbackContentVersionV2NotFound) GetPayload() *ugcclientmodels.ResponseError
func (*RollbackContentVersionV2NotFound) ToJSONString ¶ added in v0.58.0
func (o *RollbackContentVersionV2NotFound) ToJSONString() string
type RollbackContentVersionV2OK ¶ added in v0.58.0
type RollbackContentVersionV2OK struct {
Payload *ugcclientmodels.ModelsContentDownloadResponse
}
RollbackContentVersionV2OK handles this case with default header values.
Rollback content's payload version
func NewRollbackContentVersionV2OK ¶ added in v0.58.0
func NewRollbackContentVersionV2OK() *RollbackContentVersionV2OK
NewRollbackContentVersionV2OK creates a RollbackContentVersionV2OK with default headers values
func (*RollbackContentVersionV2OK) Error ¶ added in v0.58.0
func (o *RollbackContentVersionV2OK) Error() string
func (*RollbackContentVersionV2OK) GetPayload ¶ added in v0.58.0
func (o *RollbackContentVersionV2OK) GetPayload() *ugcclientmodels.ModelsContentDownloadResponse
func (*RollbackContentVersionV2OK) ToJSONString ¶ added in v0.58.0
func (o *RollbackContentVersionV2OK) ToJSONString() string
type RollbackContentVersionV2Params ¶ added in v0.58.0
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 // 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 ¶ added in v0.58.0
func NewRollbackContentVersionV2Params() *RollbackContentVersionV2Params
NewRollbackContentVersionV2Params creates a new RollbackContentVersionV2Params object with the default values initialized.
func NewRollbackContentVersionV2ParamsWithContext ¶ added in v0.58.0
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 ¶ added in v0.58.0
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 ¶ added in v0.58.0
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 ¶ added in v0.58.0
func (o *RollbackContentVersionV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the rollback content version v2 params
func (*RollbackContentVersionV2Params) SetContentID ¶ added in v0.58.0
func (o *RollbackContentVersionV2Params) SetContentID(contentID string)
SetContentID adds the contentId to the rollback content version v2 params
func (*RollbackContentVersionV2Params) SetContext ¶ added in v0.58.0
func (o *RollbackContentVersionV2Params) SetContext(ctx context.Context)
SetContext adds the context to the rollback content version v2 params
func (*RollbackContentVersionV2Params) SetHTTPClient ¶ added in v0.58.0
func (o *RollbackContentVersionV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the rollback content version v2 params
func (*RollbackContentVersionV2Params) SetHTTPClientTransport ¶ added in v0.58.0
func (o *RollbackContentVersionV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the rollback content version v2 params
func (*RollbackContentVersionV2Params) SetNamespace ¶ added in v0.58.0
func (o *RollbackContentVersionV2Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the rollback content version v2 params
func (*RollbackContentVersionV2Params) SetTimeout ¶ added in v0.58.0
func (o *RollbackContentVersionV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the rollback content version v2 params
func (*RollbackContentVersionV2Params) SetVersionID ¶ added in v0.58.0
func (o *RollbackContentVersionV2Params) SetVersionID(versionID string)
SetVersionID adds the versionId to the rollback content version v2 params
func (*RollbackContentVersionV2Params) WithContentID ¶ added in v0.58.0
func (o *RollbackContentVersionV2Params) WithContentID(contentID string) *RollbackContentVersionV2Params
WithContentID adds the contentID to the rollback content version v2 params
func (*RollbackContentVersionV2Params) WithContext ¶ added in v0.58.0
func (o *RollbackContentVersionV2Params) WithContext(ctx context.Context) *RollbackContentVersionV2Params
WithContext adds the context to the rollback content version v2 params
func (*RollbackContentVersionV2Params) WithHTTPClient ¶ added in v0.58.0
func (o *RollbackContentVersionV2Params) WithHTTPClient(client *http.Client) *RollbackContentVersionV2Params
WithHTTPClient adds the HTTPClient to the rollback content version v2 params
func (*RollbackContentVersionV2Params) WithNamespace ¶ added in v0.58.0
func (o *RollbackContentVersionV2Params) WithNamespace(namespace string) *RollbackContentVersionV2Params
WithNamespace adds the namespace to the rollback content version v2 params
func (*RollbackContentVersionV2Params) WithTimeout ¶ added in v0.58.0
func (o *RollbackContentVersionV2Params) WithTimeout(timeout time.Duration) *RollbackContentVersionV2Params
WithTimeout adds the timeout to the rollback content version v2 params
func (*RollbackContentVersionV2Params) WithVersionID ¶ added in v0.58.0
func (o *RollbackContentVersionV2Params) WithVersionID(versionID string) *RollbackContentVersionV2Params
WithVersionID adds the versionID to the rollback content version v2 params
func (*RollbackContentVersionV2Params) WriteToRequest ¶ added in v0.58.0
func (o *RollbackContentVersionV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RollbackContentVersionV2Reader ¶ added in v0.58.0
type RollbackContentVersionV2Reader struct {
// contains filtered or unexported fields
}
RollbackContentVersionV2Reader is a Reader for the RollbackContentVersionV2 structure.
func (*RollbackContentVersionV2Reader) ReadResponse ¶ added in v0.58.0
func (o *RollbackContentVersionV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RollbackContentVersionV2Unauthorized ¶ added in v0.58.0
type RollbackContentVersionV2Unauthorized struct {
}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 ¶ added in v0.58.0
func NewRollbackContentVersionV2Unauthorized() *RollbackContentVersionV2Unauthorized
NewRollbackContentVersionV2Unauthorized creates a RollbackContentVersionV2Unauthorized with default headers values
func (*RollbackContentVersionV2Unauthorized) Error ¶ added in v0.58.0
func (o *RollbackContentVersionV2Unauthorized) Error() string
func (*RollbackContentVersionV2Unauthorized) GetPayload ¶ added in v0.58.0
func (o *RollbackContentVersionV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*RollbackContentVersionV2Unauthorized) ToJSONString ¶ added in v0.58.0
func (o *RollbackContentVersionV2Unauthorized) ToJSONString() string
type RollbackContentVersionV2UnprocessableEntity ¶ added in v0.58.0
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 ¶ added in v0.58.0
func NewRollbackContentVersionV2UnprocessableEntity() *RollbackContentVersionV2UnprocessableEntity
NewRollbackContentVersionV2UnprocessableEntity creates a RollbackContentVersionV2UnprocessableEntity with default headers values
func (*RollbackContentVersionV2UnprocessableEntity) Error ¶ added in v0.58.0
func (o *RollbackContentVersionV2UnprocessableEntity) Error() string
func (*RollbackContentVersionV2UnprocessableEntity) GetPayload ¶ added in v0.58.0
func (o *RollbackContentVersionV2UnprocessableEntity) GetPayload() *ugcclientmodels.ResponseError
func (*RollbackContentVersionV2UnprocessableEntity) ToJSONString ¶ added in v0.58.0
func (o *RollbackContentVersionV2UnprocessableEntity) ToJSONString() string
Source Files ¶
- admin_bulk_get_content_by_i_ds_v2_parameters.go
- admin_bulk_get_content_by_i_ds_v2_responses.go
- admin_content_v2_client.go
- admin_create_content_v2_parameters.go
- admin_create_content_v2_responses.go
- admin_delete_content_by_share_code_v2_parameters.go
- admin_delete_content_by_share_code_v2_responses.go
- admin_delete_content_screenshot_v2_parameters.go
- admin_delete_content_screenshot_v2_responses.go
- admin_delete_official_content_v2_parameters.go
- admin_delete_official_content_v2_responses.go
- admin_delete_user_content_v2_parameters.go
- admin_delete_user_content_v2_responses.go
- admin_generate_official_content_upload_url_v2_parameters.go
- admin_generate_official_content_upload_url_v2_responses.go
- admin_generate_user_content_upload_url_v2_parameters.go
- admin_generate_user_content_upload_url_v2_responses.go
- admin_get_content_bulk_by_share_codes_v2_parameters.go
- admin_get_content_bulk_by_share_codes_v2_responses.go
- admin_get_content_by_channel_id_v2_parameters.go
- admin_get_content_by_channel_id_v2_responses.go
- admin_get_content_by_content_id_v2_parameters.go
- admin_get_content_by_content_id_v2_responses.go
- admin_get_content_by_share_code_v2_parameters.go
- admin_get_content_by_share_code_v2_responses.go
- admin_get_content_by_user_id_v2_parameters.go
- admin_get_content_by_user_id_v2_responses.go
- admin_list_content_v2_parameters.go
- admin_list_content_v2_responses.go
- admin_update_content_by_share_code_v2_parameters.go
- admin_update_content_by_share_code_v2_responses.go
- admin_update_content_hide_status_v2_parameters.go
- admin_update_content_hide_status_v2_responses.go
- admin_update_official_content_file_location_parameters.go
- admin_update_official_content_file_location_responses.go
- admin_update_official_content_v2_parameters.go
- admin_update_official_content_v2_responses.go
- admin_update_screenshots_v2_parameters.go
- admin_update_screenshots_v2_responses.go
- admin_update_user_content_file_location_parameters.go
- admin_update_user_content_file_location_responses.go
- admin_update_user_content_v2_parameters.go
- admin_update_user_content_v2_responses.go
- admin_upload_content_screenshot_v2_parameters.go
- admin_upload_content_screenshot_v2_responses.go
- list_content_versions_v2_parameters.go
- list_content_versions_v2_responses.go
- rollback_content_version_v2_parameters.go
- rollback_content_version_v2_responses.go