Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteContentScreenshotV2(params *DeleteContentScreenshotV2Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentScreenshotV2NoContent, *DeleteContentScreenshotV2BadRequest, ...)deprecated
- func (a *Client) DeleteContentScreenshotV2Short(params *DeleteContentScreenshotV2Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentScreenshotV2NoContent, error)
- func (a *Client) PublicBulkGetContentByIDV2(params *PublicBulkGetContentByIDV2Params, ...) (*PublicBulkGetContentByIDV2OK, *PublicBulkGetContentByIDV2BadRequest, ...)deprecated
- func (a *Client) PublicBulkGetContentByIDV2Short(params *PublicBulkGetContentByIDV2Params, ...) (*PublicBulkGetContentByIDV2OK, error)
- func (a *Client) PublicCreateContentV2(params *PublicCreateContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateContentV2Created, *PublicCreateContentV2BadRequest, ...)deprecated
- func (a *Client) PublicCreateContentV2Short(params *PublicCreateContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateContentV2Created, error)
- func (a *Client) PublicDeleteContentByShareCodeV2(params *PublicDeleteContentByShareCodeV2Params, ...) (*PublicDeleteContentByShareCodeV2NoContent, ...)deprecated
- func (a *Client) PublicDeleteContentByShareCodeV2Short(params *PublicDeleteContentByShareCodeV2Params, ...) (*PublicDeleteContentByShareCodeV2NoContent, error)
- func (a *Client) PublicDeleteContentV2(params *PublicDeleteContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicDeleteContentV2NoContent, *PublicDeleteContentV2Unauthorized, ...)deprecated
- func (a *Client) PublicDeleteContentV2Short(params *PublicDeleteContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicDeleteContentV2NoContent, error)
- func (a *Client) PublicGenerateContentUploadURLV2(params *PublicGenerateContentUploadURLV2Params, ...) (*PublicGenerateContentUploadURLV2OK, ...)deprecated
- func (a *Client) PublicGenerateContentUploadURLV2Short(params *PublicGenerateContentUploadURLV2Params, ...) (*PublicGenerateContentUploadURLV2OK, error)
- func (a *Client) PublicGetContentBulkByShareCodesV2(params *PublicGetContentBulkByShareCodesV2Params, ...) (*PublicGetContentBulkByShareCodesV2OK, ...)deprecated
- func (a *Client) PublicGetContentBulkByShareCodesV2Short(params *PublicGetContentBulkByShareCodesV2Params, ...) (*PublicGetContentBulkByShareCodesV2OK, error)
- func (a *Client) PublicGetContentByChannelIDV2(params *PublicGetContentByChannelIDV2Params, ...) (*PublicGetContentByChannelIDV2OK, *PublicGetContentByChannelIDV2BadRequest, ...)deprecated
- func (a *Client) PublicGetContentByChannelIDV2Short(params *PublicGetContentByChannelIDV2Params, ...) (*PublicGetContentByChannelIDV2OK, error)
- func (a *Client) PublicGetContentByIDV2(params *PublicGetContentByIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentByIDV2OK, *PublicGetContentByIDV2Unauthorized, ...)deprecated
- func (a *Client) PublicGetContentByIDV2Short(params *PublicGetContentByIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentByIDV2OK, error)
- func (a *Client) PublicGetContentByShareCodeV2(params *PublicGetContentByShareCodeV2Params, ...) (*PublicGetContentByShareCodeV2OK, *PublicGetContentByShareCodeV2Unauthorized, ...)deprecated
- func (a *Client) PublicGetContentByShareCodeV2Short(params *PublicGetContentByShareCodeV2Params, ...) (*PublicGetContentByShareCodeV2OK, error)
- func (a *Client) PublicGetContentByUserIDV2(params *PublicGetContentByUserIDV2Params, ...) (*PublicGetContentByUserIDV2OK, *PublicGetContentByUserIDV2BadRequest, ...)deprecated
- func (a *Client) PublicGetContentByUserIDV2Short(params *PublicGetContentByUserIDV2Params, ...) (*PublicGetContentByUserIDV2OK, error)
- func (a *Client) PublicListContentV2(params *PublicListContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicListContentV2OK, *PublicListContentV2BadRequest, ...)deprecated
- func (a *Client) PublicListContentV2Short(params *PublicListContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicListContentV2OK, error)
- func (a *Client) PublicUpdateContentByShareCodeV2(params *PublicUpdateContentByShareCodeV2Params, ...) (*PublicUpdateContentByShareCodeV2OK, ...)deprecated
- func (a *Client) PublicUpdateContentByShareCodeV2Short(params *PublicUpdateContentByShareCodeV2Params, ...) (*PublicUpdateContentByShareCodeV2OK, error)
- func (a *Client) PublicUpdateContentFileLocation(params *PublicUpdateContentFileLocationParams, ...) (*PublicUpdateContentFileLocationOK, *PublicUpdateContentFileLocationBadRequest, ...)deprecated
- func (a *Client) PublicUpdateContentFileLocationShort(params *PublicUpdateContentFileLocationParams, ...) (*PublicUpdateContentFileLocationOK, error)
- func (a *Client) PublicUpdateContentV2(params *PublicUpdateContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateContentV2OK, *PublicUpdateContentV2BadRequest, ...)deprecated
- func (a *Client) PublicUpdateContentV2Short(params *PublicUpdateContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateContentV2OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateContentShareCodeV2(params *UpdateContentShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentShareCodeV2OK, *UpdateContentShareCodeV2BadRequest, ...)deprecated
- func (a *Client) UpdateContentShareCodeV2Short(params *UpdateContentShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentShareCodeV2OK, error)
- func (a *Client) UpdateScreenshotsV2(params *UpdateScreenshotsV2Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateScreenshotsV2OK, *UpdateScreenshotsV2BadRequest, ...)deprecated
- func (a *Client) UpdateScreenshotsV2Short(params *UpdateScreenshotsV2Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateScreenshotsV2OK, error)
- func (a *Client) UploadContentScreenshotV2(params *UploadContentScreenshotV2Params, authInfo runtime.ClientAuthInfoWriter) (*UploadContentScreenshotV2Created, *UploadContentScreenshotV2BadRequest, ...)deprecated
- func (a *Client) UploadContentScreenshotV2Short(params *UploadContentScreenshotV2Params, authInfo runtime.ClientAuthInfoWriter) (*UploadContentScreenshotV2Created, error)
- type ClientService
- type DeleteContentScreenshotV2BadRequest
- type DeleteContentScreenshotV2Forbidden
- type DeleteContentScreenshotV2InternalServerError
- type DeleteContentScreenshotV2NoContent
- type DeleteContentScreenshotV2NotFound
- type DeleteContentScreenshotV2Params
- func NewDeleteContentScreenshotV2Params() *DeleteContentScreenshotV2Params
- func NewDeleteContentScreenshotV2ParamsWithContext(ctx context.Context) *DeleteContentScreenshotV2Params
- func NewDeleteContentScreenshotV2ParamsWithHTTPClient(client *http.Client) *DeleteContentScreenshotV2Params
- func NewDeleteContentScreenshotV2ParamsWithTimeout(timeout time.Duration) *DeleteContentScreenshotV2Params
- func (o *DeleteContentScreenshotV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteContentScreenshotV2Params) SetContentID(contentID string)
- func (o *DeleteContentScreenshotV2Params) SetContext(ctx context.Context)
- func (o *DeleteContentScreenshotV2Params) SetFlightId(flightId string)
- func (o *DeleteContentScreenshotV2Params) SetHTTPClient(client *http.Client)
- func (o *DeleteContentScreenshotV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteContentScreenshotV2Params) SetNamespace(namespace string)
- func (o *DeleteContentScreenshotV2Params) SetScreenshotID(screenshotID string)
- func (o *DeleteContentScreenshotV2Params) SetTimeout(timeout time.Duration)
- func (o *DeleteContentScreenshotV2Params) SetUserID(userID string)
- func (o *DeleteContentScreenshotV2Params) WithContentID(contentID string) *DeleteContentScreenshotV2Params
- func (o *DeleteContentScreenshotV2Params) WithContext(ctx context.Context) *DeleteContentScreenshotV2Params
- func (o *DeleteContentScreenshotV2Params) WithHTTPClient(client *http.Client) *DeleteContentScreenshotV2Params
- func (o *DeleteContentScreenshotV2Params) WithNamespace(namespace string) *DeleteContentScreenshotV2Params
- func (o *DeleteContentScreenshotV2Params) WithScreenshotID(screenshotID string) *DeleteContentScreenshotV2Params
- func (o *DeleteContentScreenshotV2Params) WithTimeout(timeout time.Duration) *DeleteContentScreenshotV2Params
- func (o *DeleteContentScreenshotV2Params) WithUserID(userID string) *DeleteContentScreenshotV2Params
- func (o *DeleteContentScreenshotV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteContentScreenshotV2Reader
- type DeleteContentScreenshotV2Unauthorized
- type PublicBulkGetContentByIDV2BadRequest
- type PublicBulkGetContentByIDV2InternalServerError
- type PublicBulkGetContentByIDV2OK
- type PublicBulkGetContentByIDV2Params
- func NewPublicBulkGetContentByIDV2Params() *PublicBulkGetContentByIDV2Params
- func NewPublicBulkGetContentByIDV2ParamsWithContext(ctx context.Context) *PublicBulkGetContentByIDV2Params
- func NewPublicBulkGetContentByIDV2ParamsWithHTTPClient(client *http.Client) *PublicBulkGetContentByIDV2Params
- func NewPublicBulkGetContentByIDV2ParamsWithTimeout(timeout time.Duration) *PublicBulkGetContentByIDV2Params
- func (o *PublicBulkGetContentByIDV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicBulkGetContentByIDV2Params) SetBody(body *ugcclientmodels.ModelsPublicGetContentBulkRequest)
- func (o *PublicBulkGetContentByIDV2Params) SetContext(ctx context.Context)
- func (o *PublicBulkGetContentByIDV2Params) SetFlightId(flightId string)
- func (o *PublicBulkGetContentByIDV2Params) SetHTTPClient(client *http.Client)
- func (o *PublicBulkGetContentByIDV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicBulkGetContentByIDV2Params) SetNamespace(namespace string)
- func (o *PublicBulkGetContentByIDV2Params) SetTimeout(timeout time.Duration)
- func (o *PublicBulkGetContentByIDV2Params) WithBody(body *ugcclientmodels.ModelsPublicGetContentBulkRequest) *PublicBulkGetContentByIDV2Params
- func (o *PublicBulkGetContentByIDV2Params) WithContext(ctx context.Context) *PublicBulkGetContentByIDV2Params
- func (o *PublicBulkGetContentByIDV2Params) WithHTTPClient(client *http.Client) *PublicBulkGetContentByIDV2Params
- func (o *PublicBulkGetContentByIDV2Params) WithNamespace(namespace string) *PublicBulkGetContentByIDV2Params
- func (o *PublicBulkGetContentByIDV2Params) WithTimeout(timeout time.Duration) *PublicBulkGetContentByIDV2Params
- func (o *PublicBulkGetContentByIDV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicBulkGetContentByIDV2Reader
- type PublicBulkGetContentByIDV2Unauthorized
- type PublicCreateContentV2BadRequest
- type PublicCreateContentV2Created
- type PublicCreateContentV2InternalServerError
- type PublicCreateContentV2NotFound
- type PublicCreateContentV2Params
- func NewPublicCreateContentV2Params() *PublicCreateContentV2Params
- func NewPublicCreateContentV2ParamsWithContext(ctx context.Context) *PublicCreateContentV2Params
- func NewPublicCreateContentV2ParamsWithHTTPClient(client *http.Client) *PublicCreateContentV2Params
- func NewPublicCreateContentV2ParamsWithTimeout(timeout time.Duration) *PublicCreateContentV2Params
- func (o *PublicCreateContentV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicCreateContentV2Params) SetBody(body *ugcclientmodels.ModelsContentRequestV2)
- func (o *PublicCreateContentV2Params) SetChannelID(channelID string)
- func (o *PublicCreateContentV2Params) SetContext(ctx context.Context)
- func (o *PublicCreateContentV2Params) SetFlightId(flightId string)
- func (o *PublicCreateContentV2Params) SetHTTPClient(client *http.Client)
- func (o *PublicCreateContentV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicCreateContentV2Params) SetNamespace(namespace string)
- func (o *PublicCreateContentV2Params) SetTimeout(timeout time.Duration)
- func (o *PublicCreateContentV2Params) SetUserID(userID string)
- func (o *PublicCreateContentV2Params) WithBody(body *ugcclientmodels.ModelsContentRequestV2) *PublicCreateContentV2Params
- func (o *PublicCreateContentV2Params) WithChannelID(channelID string) *PublicCreateContentV2Params
- func (o *PublicCreateContentV2Params) WithContext(ctx context.Context) *PublicCreateContentV2Params
- func (o *PublicCreateContentV2Params) WithHTTPClient(client *http.Client) *PublicCreateContentV2Params
- func (o *PublicCreateContentV2Params) WithNamespace(namespace string) *PublicCreateContentV2Params
- func (o *PublicCreateContentV2Params) WithTimeout(timeout time.Duration) *PublicCreateContentV2Params
- func (o *PublicCreateContentV2Params) WithUserID(userID string) *PublicCreateContentV2Params
- func (o *PublicCreateContentV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicCreateContentV2Reader
- type PublicCreateContentV2Unauthorized
- type PublicDeleteContentByShareCodeV2InternalServerError
- type PublicDeleteContentByShareCodeV2NoContent
- type PublicDeleteContentByShareCodeV2NotFound
- type PublicDeleteContentByShareCodeV2Params
- func NewPublicDeleteContentByShareCodeV2Params() *PublicDeleteContentByShareCodeV2Params
- func NewPublicDeleteContentByShareCodeV2ParamsWithContext(ctx context.Context) *PublicDeleteContentByShareCodeV2Params
- func NewPublicDeleteContentByShareCodeV2ParamsWithHTTPClient(client *http.Client) *PublicDeleteContentByShareCodeV2Params
- func NewPublicDeleteContentByShareCodeV2ParamsWithTimeout(timeout time.Duration) *PublicDeleteContentByShareCodeV2Params
- func (o *PublicDeleteContentByShareCodeV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicDeleteContentByShareCodeV2Params) SetChannelID(channelID string)
- func (o *PublicDeleteContentByShareCodeV2Params) SetContext(ctx context.Context)
- func (o *PublicDeleteContentByShareCodeV2Params) SetFlightId(flightId string)
- func (o *PublicDeleteContentByShareCodeV2Params) SetHTTPClient(client *http.Client)
- func (o *PublicDeleteContentByShareCodeV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicDeleteContentByShareCodeV2Params) SetNamespace(namespace string)
- func (o *PublicDeleteContentByShareCodeV2Params) SetShareCode(shareCode string)
- func (o *PublicDeleteContentByShareCodeV2Params) SetTimeout(timeout time.Duration)
- func (o *PublicDeleteContentByShareCodeV2Params) SetUserID(userID string)
- func (o *PublicDeleteContentByShareCodeV2Params) WithChannelID(channelID string) *PublicDeleteContentByShareCodeV2Params
- func (o *PublicDeleteContentByShareCodeV2Params) WithContext(ctx context.Context) *PublicDeleteContentByShareCodeV2Params
- func (o *PublicDeleteContentByShareCodeV2Params) WithHTTPClient(client *http.Client) *PublicDeleteContentByShareCodeV2Params
- func (o *PublicDeleteContentByShareCodeV2Params) WithNamespace(namespace string) *PublicDeleteContentByShareCodeV2Params
- func (o *PublicDeleteContentByShareCodeV2Params) WithShareCode(shareCode string) *PublicDeleteContentByShareCodeV2Params
- func (o *PublicDeleteContentByShareCodeV2Params) WithTimeout(timeout time.Duration) *PublicDeleteContentByShareCodeV2Params
- func (o *PublicDeleteContentByShareCodeV2Params) WithUserID(userID string) *PublicDeleteContentByShareCodeV2Params
- func (o *PublicDeleteContentByShareCodeV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicDeleteContentByShareCodeV2Reader
- type PublicDeleteContentByShareCodeV2Unauthorized
- type PublicDeleteContentV2InternalServerError
- type PublicDeleteContentV2NoContent
- type PublicDeleteContentV2NotFound
- type PublicDeleteContentV2Params
- func NewPublicDeleteContentV2Params() *PublicDeleteContentV2Params
- func NewPublicDeleteContentV2ParamsWithContext(ctx context.Context) *PublicDeleteContentV2Params
- func NewPublicDeleteContentV2ParamsWithHTTPClient(client *http.Client) *PublicDeleteContentV2Params
- func NewPublicDeleteContentV2ParamsWithTimeout(timeout time.Duration) *PublicDeleteContentV2Params
- func (o *PublicDeleteContentV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicDeleteContentV2Params) SetChannelID(channelID string)
- func (o *PublicDeleteContentV2Params) SetContentID(contentID string)
- func (o *PublicDeleteContentV2Params) SetContext(ctx context.Context)
- func (o *PublicDeleteContentV2Params) SetFlightId(flightId string)
- func (o *PublicDeleteContentV2Params) SetHTTPClient(client *http.Client)
- func (o *PublicDeleteContentV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicDeleteContentV2Params) SetNamespace(namespace string)
- func (o *PublicDeleteContentV2Params) SetTimeout(timeout time.Duration)
- func (o *PublicDeleteContentV2Params) SetUserID(userID string)
- func (o *PublicDeleteContentV2Params) WithChannelID(channelID string) *PublicDeleteContentV2Params
- func (o *PublicDeleteContentV2Params) WithContentID(contentID string) *PublicDeleteContentV2Params
- func (o *PublicDeleteContentV2Params) WithContext(ctx context.Context) *PublicDeleteContentV2Params
- func (o *PublicDeleteContentV2Params) WithHTTPClient(client *http.Client) *PublicDeleteContentV2Params
- func (o *PublicDeleteContentV2Params) WithNamespace(namespace string) *PublicDeleteContentV2Params
- func (o *PublicDeleteContentV2Params) WithTimeout(timeout time.Duration) *PublicDeleteContentV2Params
- func (o *PublicDeleteContentV2Params) WithUserID(userID string) *PublicDeleteContentV2Params
- func (o *PublicDeleteContentV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicDeleteContentV2Reader
- type PublicDeleteContentV2Unauthorized
- type PublicGenerateContentUploadURLV2BadRequest
- type PublicGenerateContentUploadURLV2Forbidden
- type PublicGenerateContentUploadURLV2InternalServerError
- type PublicGenerateContentUploadURLV2NotFound
- type PublicGenerateContentUploadURLV2OK
- type PublicGenerateContentUploadURLV2Params
- func NewPublicGenerateContentUploadURLV2Params() *PublicGenerateContentUploadURLV2Params
- func NewPublicGenerateContentUploadURLV2ParamsWithContext(ctx context.Context) *PublicGenerateContentUploadURLV2Params
- func NewPublicGenerateContentUploadURLV2ParamsWithHTTPClient(client *http.Client) *PublicGenerateContentUploadURLV2Params
- func NewPublicGenerateContentUploadURLV2ParamsWithTimeout(timeout time.Duration) *PublicGenerateContentUploadURLV2Params
- func (o *PublicGenerateContentUploadURLV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGenerateContentUploadURLV2Params) SetBody(body *ugcclientmodels.ModelsGenerateContentUploadURLRequest)
- func (o *PublicGenerateContentUploadURLV2Params) SetChannelID(channelID string)
- func (o *PublicGenerateContentUploadURLV2Params) SetContentID(contentID string)
- func (o *PublicGenerateContentUploadURLV2Params) SetContext(ctx context.Context)
- func (o *PublicGenerateContentUploadURLV2Params) SetFlightId(flightId string)
- func (o *PublicGenerateContentUploadURLV2Params) SetHTTPClient(client *http.Client)
- func (o *PublicGenerateContentUploadURLV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGenerateContentUploadURLV2Params) SetNamespace(namespace string)
- func (o *PublicGenerateContentUploadURLV2Params) SetTimeout(timeout time.Duration)
- func (o *PublicGenerateContentUploadURLV2Params) SetUserID(userID string)
- func (o *PublicGenerateContentUploadURLV2Params) WithBody(body *ugcclientmodels.ModelsGenerateContentUploadURLRequest) *PublicGenerateContentUploadURLV2Params
- func (o *PublicGenerateContentUploadURLV2Params) WithChannelID(channelID string) *PublicGenerateContentUploadURLV2Params
- func (o *PublicGenerateContentUploadURLV2Params) WithContentID(contentID string) *PublicGenerateContentUploadURLV2Params
- func (o *PublicGenerateContentUploadURLV2Params) WithContext(ctx context.Context) *PublicGenerateContentUploadURLV2Params
- func (o *PublicGenerateContentUploadURLV2Params) WithHTTPClient(client *http.Client) *PublicGenerateContentUploadURLV2Params
- func (o *PublicGenerateContentUploadURLV2Params) WithNamespace(namespace string) *PublicGenerateContentUploadURLV2Params
- func (o *PublicGenerateContentUploadURLV2Params) WithTimeout(timeout time.Duration) *PublicGenerateContentUploadURLV2Params
- func (o *PublicGenerateContentUploadURLV2Params) WithUserID(userID string) *PublicGenerateContentUploadURLV2Params
- func (o *PublicGenerateContentUploadURLV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGenerateContentUploadURLV2Reader
- type PublicGenerateContentUploadURLV2Unauthorized
- type PublicGetContentBulkByShareCodesV2BadRequest
- type PublicGetContentBulkByShareCodesV2Forbidden
- type PublicGetContentBulkByShareCodesV2InternalServerError
- type PublicGetContentBulkByShareCodesV2OK
- type PublicGetContentBulkByShareCodesV2Params
- func NewPublicGetContentBulkByShareCodesV2Params() *PublicGetContentBulkByShareCodesV2Params
- func NewPublicGetContentBulkByShareCodesV2ParamsWithContext(ctx context.Context) *PublicGetContentBulkByShareCodesV2Params
- func NewPublicGetContentBulkByShareCodesV2ParamsWithHTTPClient(client *http.Client) *PublicGetContentBulkByShareCodesV2Params
- func NewPublicGetContentBulkByShareCodesV2ParamsWithTimeout(timeout time.Duration) *PublicGetContentBulkByShareCodesV2Params
- func (o *PublicGetContentBulkByShareCodesV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetContentBulkByShareCodesV2Params) SetBody(body *ugcclientmodels.ModelsGetContentBulkByShareCodesRequest)
- func (o *PublicGetContentBulkByShareCodesV2Params) SetContext(ctx context.Context)
- func (o *PublicGetContentBulkByShareCodesV2Params) SetFlightId(flightId string)
- func (o *PublicGetContentBulkByShareCodesV2Params) SetHTTPClient(client *http.Client)
- func (o *PublicGetContentBulkByShareCodesV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetContentBulkByShareCodesV2Params) SetNamespace(namespace string)
- func (o *PublicGetContentBulkByShareCodesV2Params) SetTimeout(timeout time.Duration)
- func (o *PublicGetContentBulkByShareCodesV2Params) WithBody(body *ugcclientmodels.ModelsGetContentBulkByShareCodesRequest) *PublicGetContentBulkByShareCodesV2Params
- func (o *PublicGetContentBulkByShareCodesV2Params) WithContext(ctx context.Context) *PublicGetContentBulkByShareCodesV2Params
- func (o *PublicGetContentBulkByShareCodesV2Params) WithHTTPClient(client *http.Client) *PublicGetContentBulkByShareCodesV2Params
- func (o *PublicGetContentBulkByShareCodesV2Params) WithNamespace(namespace string) *PublicGetContentBulkByShareCodesV2Params
- func (o *PublicGetContentBulkByShareCodesV2Params) WithTimeout(timeout time.Duration) *PublicGetContentBulkByShareCodesV2Params
- func (o *PublicGetContentBulkByShareCodesV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetContentBulkByShareCodesV2Reader
- type PublicGetContentBulkByShareCodesV2Unauthorized
- type PublicGetContentByChannelIDV2BadRequest
- type PublicGetContentByChannelIDV2InternalServerError
- type PublicGetContentByChannelIDV2OK
- type PublicGetContentByChannelIDV2Params
- func NewPublicGetContentByChannelIDV2Params() *PublicGetContentByChannelIDV2Params
- func NewPublicGetContentByChannelIDV2ParamsWithContext(ctx context.Context) *PublicGetContentByChannelIDV2Params
- func NewPublicGetContentByChannelIDV2ParamsWithHTTPClient(client *http.Client) *PublicGetContentByChannelIDV2Params
- func NewPublicGetContentByChannelIDV2ParamsWithTimeout(timeout time.Duration) *PublicGetContentByChannelIDV2Params
- func (o *PublicGetContentByChannelIDV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetContentByChannelIDV2Params) SetChannelID(channelID string)
- func (o *PublicGetContentByChannelIDV2Params) SetContext(ctx context.Context)
- func (o *PublicGetContentByChannelIDV2Params) SetFlightId(flightId string)
- func (o *PublicGetContentByChannelIDV2Params) SetHTTPClient(client *http.Client)
- func (o *PublicGetContentByChannelIDV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetContentByChannelIDV2Params) SetLimit(limit *int64)
- func (o *PublicGetContentByChannelIDV2Params) SetName(name *string)
- func (o *PublicGetContentByChannelIDV2Params) SetNamespace(namespace string)
- func (o *PublicGetContentByChannelIDV2Params) SetOffset(offset *int64)
- func (o *PublicGetContentByChannelIDV2Params) SetSortBy(sortBy *string)
- func (o *PublicGetContentByChannelIDV2Params) SetTimeout(timeout time.Duration)
- func (o *PublicGetContentByChannelIDV2Params) WithChannelID(channelID string) *PublicGetContentByChannelIDV2Params
- func (o *PublicGetContentByChannelIDV2Params) WithContext(ctx context.Context) *PublicGetContentByChannelIDV2Params
- func (o *PublicGetContentByChannelIDV2Params) WithHTTPClient(client *http.Client) *PublicGetContentByChannelIDV2Params
- func (o *PublicGetContentByChannelIDV2Params) WithLimit(limit *int64) *PublicGetContentByChannelIDV2Params
- func (o *PublicGetContentByChannelIDV2Params) WithName(name *string) *PublicGetContentByChannelIDV2Params
- func (o *PublicGetContentByChannelIDV2Params) WithNamespace(namespace string) *PublicGetContentByChannelIDV2Params
- func (o *PublicGetContentByChannelIDV2Params) WithOffset(offset *int64) *PublicGetContentByChannelIDV2Params
- func (o *PublicGetContentByChannelIDV2Params) WithSortBy(sortBy *string) *PublicGetContentByChannelIDV2Params
- func (o *PublicGetContentByChannelIDV2Params) WithTimeout(timeout time.Duration) *PublicGetContentByChannelIDV2Params
- func (o *PublicGetContentByChannelIDV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetContentByChannelIDV2Reader
- type PublicGetContentByChannelIDV2Unauthorized
- type PublicGetContentByIDV2InternalServerError
- type PublicGetContentByIDV2NotFound
- type PublicGetContentByIDV2OK
- type PublicGetContentByIDV2Params
- func NewPublicGetContentByIDV2Params() *PublicGetContentByIDV2Params
- func NewPublicGetContentByIDV2ParamsWithContext(ctx context.Context) *PublicGetContentByIDV2Params
- func NewPublicGetContentByIDV2ParamsWithHTTPClient(client *http.Client) *PublicGetContentByIDV2Params
- func NewPublicGetContentByIDV2ParamsWithTimeout(timeout time.Duration) *PublicGetContentByIDV2Params
- func (o *PublicGetContentByIDV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetContentByIDV2Params) SetContentID(contentID string)
- func (o *PublicGetContentByIDV2Params) SetContext(ctx context.Context)
- func (o *PublicGetContentByIDV2Params) SetFlightId(flightId string)
- func (o *PublicGetContentByIDV2Params) SetHTTPClient(client *http.Client)
- func (o *PublicGetContentByIDV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetContentByIDV2Params) SetNamespace(namespace string)
- func (o *PublicGetContentByIDV2Params) SetTimeout(timeout time.Duration)
- func (o *PublicGetContentByIDV2Params) WithContentID(contentID string) *PublicGetContentByIDV2Params
- func (o *PublicGetContentByIDV2Params) WithContext(ctx context.Context) *PublicGetContentByIDV2Params
- func (o *PublicGetContentByIDV2Params) WithHTTPClient(client *http.Client) *PublicGetContentByIDV2Params
- func (o *PublicGetContentByIDV2Params) WithNamespace(namespace string) *PublicGetContentByIDV2Params
- func (o *PublicGetContentByIDV2Params) WithTimeout(timeout time.Duration) *PublicGetContentByIDV2Params
- func (o *PublicGetContentByIDV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetContentByIDV2Reader
- type PublicGetContentByIDV2Unauthorized
- type PublicGetContentByShareCodeV2InternalServerError
- type PublicGetContentByShareCodeV2NotFound
- type PublicGetContentByShareCodeV2OK
- type PublicGetContentByShareCodeV2Params
- func NewPublicGetContentByShareCodeV2Params() *PublicGetContentByShareCodeV2Params
- func NewPublicGetContentByShareCodeV2ParamsWithContext(ctx context.Context) *PublicGetContentByShareCodeV2Params
- func NewPublicGetContentByShareCodeV2ParamsWithHTTPClient(client *http.Client) *PublicGetContentByShareCodeV2Params
- func NewPublicGetContentByShareCodeV2ParamsWithTimeout(timeout time.Duration) *PublicGetContentByShareCodeV2Params
- func (o *PublicGetContentByShareCodeV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetContentByShareCodeV2Params) SetContext(ctx context.Context)
- func (o *PublicGetContentByShareCodeV2Params) SetFlightId(flightId string)
- func (o *PublicGetContentByShareCodeV2Params) SetHTTPClient(client *http.Client)
- func (o *PublicGetContentByShareCodeV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetContentByShareCodeV2Params) SetNamespace(namespace string)
- func (o *PublicGetContentByShareCodeV2Params) SetShareCode(shareCode string)
- func (o *PublicGetContentByShareCodeV2Params) SetTimeout(timeout time.Duration)
- func (o *PublicGetContentByShareCodeV2Params) WithContext(ctx context.Context) *PublicGetContentByShareCodeV2Params
- func (o *PublicGetContentByShareCodeV2Params) WithHTTPClient(client *http.Client) *PublicGetContentByShareCodeV2Params
- func (o *PublicGetContentByShareCodeV2Params) WithNamespace(namespace string) *PublicGetContentByShareCodeV2Params
- func (o *PublicGetContentByShareCodeV2Params) WithShareCode(shareCode string) *PublicGetContentByShareCodeV2Params
- func (o *PublicGetContentByShareCodeV2Params) WithTimeout(timeout time.Duration) *PublicGetContentByShareCodeV2Params
- func (o *PublicGetContentByShareCodeV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetContentByShareCodeV2Reader
- type PublicGetContentByShareCodeV2Unauthorized
- type PublicGetContentByUserIDV2BadRequest
- type PublicGetContentByUserIDV2InternalServerError
- type PublicGetContentByUserIDV2OK
- type PublicGetContentByUserIDV2Params
- func NewPublicGetContentByUserIDV2Params() *PublicGetContentByUserIDV2Params
- func NewPublicGetContentByUserIDV2ParamsWithContext(ctx context.Context) *PublicGetContentByUserIDV2Params
- func NewPublicGetContentByUserIDV2ParamsWithHTTPClient(client *http.Client) *PublicGetContentByUserIDV2Params
- func NewPublicGetContentByUserIDV2ParamsWithTimeout(timeout time.Duration) *PublicGetContentByUserIDV2Params
- func (o *PublicGetContentByUserIDV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetContentByUserIDV2Params) SetContext(ctx context.Context)
- func (o *PublicGetContentByUserIDV2Params) SetFlightId(flightId string)
- func (o *PublicGetContentByUserIDV2Params) SetHTTPClient(client *http.Client)
- func (o *PublicGetContentByUserIDV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetContentByUserIDV2Params) SetLimit(limit *int64)
- func (o *PublicGetContentByUserIDV2Params) SetNamespace(namespace string)
- func (o *PublicGetContentByUserIDV2Params) SetOffset(offset *int64)
- func (o *PublicGetContentByUserIDV2Params) SetSortBy(sortBy *string)
- func (o *PublicGetContentByUserIDV2Params) SetTimeout(timeout time.Duration)
- func (o *PublicGetContentByUserIDV2Params) SetUserID(userID string)
- func (o *PublicGetContentByUserIDV2Params) WithContext(ctx context.Context) *PublicGetContentByUserIDV2Params
- func (o *PublicGetContentByUserIDV2Params) WithHTTPClient(client *http.Client) *PublicGetContentByUserIDV2Params
- func (o *PublicGetContentByUserIDV2Params) WithLimit(limit *int64) *PublicGetContentByUserIDV2Params
- func (o *PublicGetContentByUserIDV2Params) WithNamespace(namespace string) *PublicGetContentByUserIDV2Params
- func (o *PublicGetContentByUserIDV2Params) WithOffset(offset *int64) *PublicGetContentByUserIDV2Params
- func (o *PublicGetContentByUserIDV2Params) WithSortBy(sortBy *string) *PublicGetContentByUserIDV2Params
- func (o *PublicGetContentByUserIDV2Params) WithTimeout(timeout time.Duration) *PublicGetContentByUserIDV2Params
- func (o *PublicGetContentByUserIDV2Params) WithUserID(userID string) *PublicGetContentByUserIDV2Params
- func (o *PublicGetContentByUserIDV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetContentByUserIDV2Reader
- type PublicGetContentByUserIDV2Unauthorized
- type PublicListContentV2BadRequest
- type PublicListContentV2InternalServerError
- type PublicListContentV2OK
- type PublicListContentV2Params
- func NewPublicListContentV2Params() *PublicListContentV2Params
- func NewPublicListContentV2ParamsWithContext(ctx context.Context) *PublicListContentV2Params
- func NewPublicListContentV2ParamsWithHTTPClient(client *http.Client) *PublicListContentV2Params
- func NewPublicListContentV2ParamsWithTimeout(timeout time.Duration) *PublicListContentV2Params
- func (o *PublicListContentV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicListContentV2Params) SetContext(ctx context.Context)
- func (o *PublicListContentV2Params) SetFlightId(flightId string)
- func (o *PublicListContentV2Params) SetHTTPClient(client *http.Client)
- func (o *PublicListContentV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicListContentV2Params) SetIsOfficial(isOfficial *bool)
- func (o *PublicListContentV2Params) SetLimit(limit *int64)
- func (o *PublicListContentV2Params) SetName(name *string)
- func (o *PublicListContentV2Params) SetNamespace(namespace string)
- func (o *PublicListContentV2Params) SetOffset(offset *int64)
- func (o *PublicListContentV2Params) SetSortBy(sortBy *string)
- func (o *PublicListContentV2Params) SetSubType(subType *string)
- func (o *PublicListContentV2Params) SetTags(tags []string)
- func (o *PublicListContentV2Params) SetTimeout(timeout time.Duration)
- func (o *PublicListContentV2Params) SetType(typeVar *string)
- func (o *PublicListContentV2Params) WithContext(ctx context.Context) *PublicListContentV2Params
- func (o *PublicListContentV2Params) WithHTTPClient(client *http.Client) *PublicListContentV2Params
- func (o *PublicListContentV2Params) WithIsOfficial(isOfficial *bool) *PublicListContentV2Params
- func (o *PublicListContentV2Params) WithLimit(limit *int64) *PublicListContentV2Params
- func (o *PublicListContentV2Params) WithName(name *string) *PublicListContentV2Params
- func (o *PublicListContentV2Params) WithNamespace(namespace string) *PublicListContentV2Params
- func (o *PublicListContentV2Params) WithOffset(offset *int64) *PublicListContentV2Params
- func (o *PublicListContentV2Params) WithSortBy(sortBy *string) *PublicListContentV2Params
- func (o *PublicListContentV2Params) WithSubType(subType *string) *PublicListContentV2Params
- func (o *PublicListContentV2Params) WithTags(tags []string) *PublicListContentV2Params
- func (o *PublicListContentV2Params) WithTimeout(timeout time.Duration) *PublicListContentV2Params
- func (o *PublicListContentV2Params) WithType(typeVar *string) *PublicListContentV2Params
- func (o *PublicListContentV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicListContentV2Reader
- type PublicListContentV2Unauthorized
- type PublicUpdateContentByShareCodeV2BadRequest
- type PublicUpdateContentByShareCodeV2Conflict
- type PublicUpdateContentByShareCodeV2Forbidden
- type PublicUpdateContentByShareCodeV2InternalServerError
- type PublicUpdateContentByShareCodeV2NotFound
- type PublicUpdateContentByShareCodeV2OK
- type PublicUpdateContentByShareCodeV2Params
- func NewPublicUpdateContentByShareCodeV2Params() *PublicUpdateContentByShareCodeV2Params
- func NewPublicUpdateContentByShareCodeV2ParamsWithContext(ctx context.Context) *PublicUpdateContentByShareCodeV2Params
- func NewPublicUpdateContentByShareCodeV2ParamsWithHTTPClient(client *http.Client) *PublicUpdateContentByShareCodeV2Params
- func NewPublicUpdateContentByShareCodeV2ParamsWithTimeout(timeout time.Duration) *PublicUpdateContentByShareCodeV2Params
- func (o *PublicUpdateContentByShareCodeV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicUpdateContentByShareCodeV2Params) SetBody(body *ugcclientmodels.ModelsUpdateContentRequestV2)
- func (o *PublicUpdateContentByShareCodeV2Params) SetChannelID(channelID string)
- func (o *PublicUpdateContentByShareCodeV2Params) SetContext(ctx context.Context)
- func (o *PublicUpdateContentByShareCodeV2Params) SetFlightId(flightId string)
- func (o *PublicUpdateContentByShareCodeV2Params) SetHTTPClient(client *http.Client)
- func (o *PublicUpdateContentByShareCodeV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicUpdateContentByShareCodeV2Params) SetNamespace(namespace string)
- func (o *PublicUpdateContentByShareCodeV2Params) SetShareCode(shareCode string)
- func (o *PublicUpdateContentByShareCodeV2Params) SetTimeout(timeout time.Duration)
- func (o *PublicUpdateContentByShareCodeV2Params) SetUserID(userID string)
- func (o *PublicUpdateContentByShareCodeV2Params) WithBody(body *ugcclientmodels.ModelsUpdateContentRequestV2) *PublicUpdateContentByShareCodeV2Params
- func (o *PublicUpdateContentByShareCodeV2Params) WithChannelID(channelID string) *PublicUpdateContentByShareCodeV2Params
- func (o *PublicUpdateContentByShareCodeV2Params) WithContext(ctx context.Context) *PublicUpdateContentByShareCodeV2Params
- func (o *PublicUpdateContentByShareCodeV2Params) WithHTTPClient(client *http.Client) *PublicUpdateContentByShareCodeV2Params
- func (o *PublicUpdateContentByShareCodeV2Params) WithNamespace(namespace string) *PublicUpdateContentByShareCodeV2Params
- func (o *PublicUpdateContentByShareCodeV2Params) WithShareCode(shareCode string) *PublicUpdateContentByShareCodeV2Params
- func (o *PublicUpdateContentByShareCodeV2Params) WithTimeout(timeout time.Duration) *PublicUpdateContentByShareCodeV2Params
- func (o *PublicUpdateContentByShareCodeV2Params) WithUserID(userID string) *PublicUpdateContentByShareCodeV2Params
- func (o *PublicUpdateContentByShareCodeV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicUpdateContentByShareCodeV2Reader
- type PublicUpdateContentByShareCodeV2Unauthorized
- type PublicUpdateContentFileLocationBadRequest
- type PublicUpdateContentFileLocationForbidden
- type PublicUpdateContentFileLocationInternalServerError
- type PublicUpdateContentFileLocationNotFound
- type PublicUpdateContentFileLocationOK
- type PublicUpdateContentFileLocationParams
- func NewPublicUpdateContentFileLocationParams() *PublicUpdateContentFileLocationParams
- func NewPublicUpdateContentFileLocationParamsWithContext(ctx context.Context) *PublicUpdateContentFileLocationParams
- func NewPublicUpdateContentFileLocationParamsWithHTTPClient(client *http.Client) *PublicUpdateContentFileLocationParams
- func NewPublicUpdateContentFileLocationParamsWithTimeout(timeout time.Duration) *PublicUpdateContentFileLocationParams
- func (o *PublicUpdateContentFileLocationParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicUpdateContentFileLocationParams) SetBody(body *ugcclientmodels.ModelsUpdateFileLocationRequest)
- func (o *PublicUpdateContentFileLocationParams) SetChannelID(channelID string)
- func (o *PublicUpdateContentFileLocationParams) SetContentID(contentID string)
- func (o *PublicUpdateContentFileLocationParams) SetContext(ctx context.Context)
- func (o *PublicUpdateContentFileLocationParams) SetFlightId(flightId string)
- func (o *PublicUpdateContentFileLocationParams) SetHTTPClient(client *http.Client)
- func (o *PublicUpdateContentFileLocationParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicUpdateContentFileLocationParams) SetNamespace(namespace string)
- func (o *PublicUpdateContentFileLocationParams) SetTimeout(timeout time.Duration)
- func (o *PublicUpdateContentFileLocationParams) SetUserID(userID string)
- func (o *PublicUpdateContentFileLocationParams) WithBody(body *ugcclientmodels.ModelsUpdateFileLocationRequest) *PublicUpdateContentFileLocationParams
- func (o *PublicUpdateContentFileLocationParams) WithChannelID(channelID string) *PublicUpdateContentFileLocationParams
- func (o *PublicUpdateContentFileLocationParams) WithContentID(contentID string) *PublicUpdateContentFileLocationParams
- func (o *PublicUpdateContentFileLocationParams) WithContext(ctx context.Context) *PublicUpdateContentFileLocationParams
- func (o *PublicUpdateContentFileLocationParams) WithHTTPClient(client *http.Client) *PublicUpdateContentFileLocationParams
- func (o *PublicUpdateContentFileLocationParams) WithNamespace(namespace string) *PublicUpdateContentFileLocationParams
- func (o *PublicUpdateContentFileLocationParams) WithTimeout(timeout time.Duration) *PublicUpdateContentFileLocationParams
- func (o *PublicUpdateContentFileLocationParams) WithUserID(userID string) *PublicUpdateContentFileLocationParams
- func (o *PublicUpdateContentFileLocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicUpdateContentFileLocationReader
- type PublicUpdateContentFileLocationUnauthorized
- type PublicUpdateContentV2BadRequest
- type PublicUpdateContentV2Forbidden
- type PublicUpdateContentV2InternalServerError
- type PublicUpdateContentV2NotFound
- type PublicUpdateContentV2OK
- type PublicUpdateContentV2Params
- func NewPublicUpdateContentV2Params() *PublicUpdateContentV2Params
- func NewPublicUpdateContentV2ParamsWithContext(ctx context.Context) *PublicUpdateContentV2Params
- func NewPublicUpdateContentV2ParamsWithHTTPClient(client *http.Client) *PublicUpdateContentV2Params
- func NewPublicUpdateContentV2ParamsWithTimeout(timeout time.Duration) *PublicUpdateContentV2Params
- func (o *PublicUpdateContentV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicUpdateContentV2Params) SetBody(body *ugcclientmodels.ModelsUpdateContentRequestV2)
- func (o *PublicUpdateContentV2Params) SetChannelID(channelID string)
- func (o *PublicUpdateContentV2Params) SetContentID(contentID string)
- func (o *PublicUpdateContentV2Params) SetContext(ctx context.Context)
- func (o *PublicUpdateContentV2Params) SetFlightId(flightId string)
- func (o *PublicUpdateContentV2Params) SetHTTPClient(client *http.Client)
- func (o *PublicUpdateContentV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicUpdateContentV2Params) SetNamespace(namespace string)
- func (o *PublicUpdateContentV2Params) SetTimeout(timeout time.Duration)
- func (o *PublicUpdateContentV2Params) SetUserID(userID string)
- func (o *PublicUpdateContentV2Params) WithBody(body *ugcclientmodels.ModelsUpdateContentRequestV2) *PublicUpdateContentV2Params
- func (o *PublicUpdateContentV2Params) WithChannelID(channelID string) *PublicUpdateContentV2Params
- func (o *PublicUpdateContentV2Params) WithContentID(contentID string) *PublicUpdateContentV2Params
- func (o *PublicUpdateContentV2Params) WithContext(ctx context.Context) *PublicUpdateContentV2Params
- func (o *PublicUpdateContentV2Params) WithHTTPClient(client *http.Client) *PublicUpdateContentV2Params
- func (o *PublicUpdateContentV2Params) WithNamespace(namespace string) *PublicUpdateContentV2Params
- func (o *PublicUpdateContentV2Params) WithTimeout(timeout time.Duration) *PublicUpdateContentV2Params
- func (o *PublicUpdateContentV2Params) WithUserID(userID string) *PublicUpdateContentV2Params
- func (o *PublicUpdateContentV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicUpdateContentV2Reader
- type PublicUpdateContentV2Unauthorized
- type UpdateContentShareCodeV2BadRequest
- type UpdateContentShareCodeV2Conflict
- type UpdateContentShareCodeV2Forbidden
- type UpdateContentShareCodeV2InternalServerError
- type UpdateContentShareCodeV2NotFound
- type UpdateContentShareCodeV2OK
- type UpdateContentShareCodeV2Params
- func NewUpdateContentShareCodeV2Params() *UpdateContentShareCodeV2Params
- func NewUpdateContentShareCodeV2ParamsWithContext(ctx context.Context) *UpdateContentShareCodeV2Params
- func NewUpdateContentShareCodeV2ParamsWithHTTPClient(client *http.Client) *UpdateContentShareCodeV2Params
- func NewUpdateContentShareCodeV2ParamsWithTimeout(timeout time.Duration) *UpdateContentShareCodeV2Params
- func (o *UpdateContentShareCodeV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateContentShareCodeV2Params) SetBody(body *ugcclientmodels.ModelsUpdateContentShareCodeRequest)
- func (o *UpdateContentShareCodeV2Params) SetChannelID(channelID string)
- func (o *UpdateContentShareCodeV2Params) SetContentID(contentID string)
- func (o *UpdateContentShareCodeV2Params) SetContext(ctx context.Context)
- func (o *UpdateContentShareCodeV2Params) SetFlightId(flightId string)
- func (o *UpdateContentShareCodeV2Params) SetHTTPClient(client *http.Client)
- func (o *UpdateContentShareCodeV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateContentShareCodeV2Params) SetNamespace(namespace string)
- func (o *UpdateContentShareCodeV2Params) SetTimeout(timeout time.Duration)
- func (o *UpdateContentShareCodeV2Params) SetUserID(userID string)
- func (o *UpdateContentShareCodeV2Params) WithBody(body *ugcclientmodels.ModelsUpdateContentShareCodeRequest) *UpdateContentShareCodeV2Params
- func (o *UpdateContentShareCodeV2Params) WithChannelID(channelID string) *UpdateContentShareCodeV2Params
- func (o *UpdateContentShareCodeV2Params) WithContentID(contentID string) *UpdateContentShareCodeV2Params
- func (o *UpdateContentShareCodeV2Params) WithContext(ctx context.Context) *UpdateContentShareCodeV2Params
- func (o *UpdateContentShareCodeV2Params) WithHTTPClient(client *http.Client) *UpdateContentShareCodeV2Params
- func (o *UpdateContentShareCodeV2Params) WithNamespace(namespace string) *UpdateContentShareCodeV2Params
- func (o *UpdateContentShareCodeV2Params) WithTimeout(timeout time.Duration) *UpdateContentShareCodeV2Params
- func (o *UpdateContentShareCodeV2Params) WithUserID(userID string) *UpdateContentShareCodeV2Params
- func (o *UpdateContentShareCodeV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateContentShareCodeV2Reader
- type UpdateContentShareCodeV2Unauthorized
- type UpdateScreenshotsV2BadRequest
- type UpdateScreenshotsV2Forbidden
- type UpdateScreenshotsV2InternalServerError
- type UpdateScreenshotsV2NotFound
- type UpdateScreenshotsV2OK
- type UpdateScreenshotsV2Params
- func NewUpdateScreenshotsV2Params() *UpdateScreenshotsV2Params
- func NewUpdateScreenshotsV2ParamsWithContext(ctx context.Context) *UpdateScreenshotsV2Params
- func NewUpdateScreenshotsV2ParamsWithHTTPClient(client *http.Client) *UpdateScreenshotsV2Params
- func NewUpdateScreenshotsV2ParamsWithTimeout(timeout time.Duration) *UpdateScreenshotsV2Params
- func (o *UpdateScreenshotsV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateScreenshotsV2Params) SetBody(body *ugcclientmodels.ModelsUpdateScreenshotRequest)
- func (o *UpdateScreenshotsV2Params) SetContentID(contentID string)
- func (o *UpdateScreenshotsV2Params) SetContext(ctx context.Context)
- func (o *UpdateScreenshotsV2Params) SetFlightId(flightId string)
- func (o *UpdateScreenshotsV2Params) SetHTTPClient(client *http.Client)
- func (o *UpdateScreenshotsV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateScreenshotsV2Params) SetNamespace(namespace string)
- func (o *UpdateScreenshotsV2Params) SetTimeout(timeout time.Duration)
- func (o *UpdateScreenshotsV2Params) SetUserID(userID string)
- func (o *UpdateScreenshotsV2Params) WithBody(body *ugcclientmodels.ModelsUpdateScreenshotRequest) *UpdateScreenshotsV2Params
- func (o *UpdateScreenshotsV2Params) WithContentID(contentID string) *UpdateScreenshotsV2Params
- func (o *UpdateScreenshotsV2Params) WithContext(ctx context.Context) *UpdateScreenshotsV2Params
- func (o *UpdateScreenshotsV2Params) WithHTTPClient(client *http.Client) *UpdateScreenshotsV2Params
- func (o *UpdateScreenshotsV2Params) WithNamespace(namespace string) *UpdateScreenshotsV2Params
- func (o *UpdateScreenshotsV2Params) WithTimeout(timeout time.Duration) *UpdateScreenshotsV2Params
- func (o *UpdateScreenshotsV2Params) WithUserID(userID string) *UpdateScreenshotsV2Params
- func (o *UpdateScreenshotsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateScreenshotsV2Reader
- type UpdateScreenshotsV2Unauthorized
- type UploadContentScreenshotV2BadRequest
- type UploadContentScreenshotV2Created
- type UploadContentScreenshotV2Forbidden
- type UploadContentScreenshotV2InternalServerError
- type UploadContentScreenshotV2Params
- func NewUploadContentScreenshotV2Params() *UploadContentScreenshotV2Params
- func NewUploadContentScreenshotV2ParamsWithContext(ctx context.Context) *UploadContentScreenshotV2Params
- func NewUploadContentScreenshotV2ParamsWithHTTPClient(client *http.Client) *UploadContentScreenshotV2Params
- func NewUploadContentScreenshotV2ParamsWithTimeout(timeout time.Duration) *UploadContentScreenshotV2Params
- func (o *UploadContentScreenshotV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UploadContentScreenshotV2Params) SetBody(body *ugcclientmodels.ModelsCreateScreenshotRequest)
- func (o *UploadContentScreenshotV2Params) SetContentID(contentID string)
- func (o *UploadContentScreenshotV2Params) SetContext(ctx context.Context)
- func (o *UploadContentScreenshotV2Params) SetFlightId(flightId string)
- func (o *UploadContentScreenshotV2Params) SetHTTPClient(client *http.Client)
- func (o *UploadContentScreenshotV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UploadContentScreenshotV2Params) SetNamespace(namespace string)
- func (o *UploadContentScreenshotV2Params) SetTimeout(timeout time.Duration)
- func (o *UploadContentScreenshotV2Params) SetUserID(userID string)
- func (o *UploadContentScreenshotV2Params) WithBody(body *ugcclientmodels.ModelsCreateScreenshotRequest) *UploadContentScreenshotV2Params
- func (o *UploadContentScreenshotV2Params) WithContentID(contentID string) *UploadContentScreenshotV2Params
- func (o *UploadContentScreenshotV2Params) WithContext(ctx context.Context) *UploadContentScreenshotV2Params
- func (o *UploadContentScreenshotV2Params) WithHTTPClient(client *http.Client) *UploadContentScreenshotV2Params
- func (o *UploadContentScreenshotV2Params) WithNamespace(namespace string) *UploadContentScreenshotV2Params
- func (o *UploadContentScreenshotV2Params) WithTimeout(timeout time.Duration) *UploadContentScreenshotV2Params
- func (o *UploadContentScreenshotV2Params) WithUserID(userID string) *UploadContentScreenshotV2Params
- func (o *UploadContentScreenshotV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UploadContentScreenshotV2Reader
- type UploadContentScreenshotV2Unauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for public content v2 API
func (*Client) DeleteContentScreenshotV2
deprecated
func (a *Client) DeleteContentScreenshotV2(params *DeleteContentScreenshotV2Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentScreenshotV2NoContent, *DeleteContentScreenshotV2BadRequest, *DeleteContentScreenshotV2Unauthorized, *DeleteContentScreenshotV2Forbidden, *DeleteContentScreenshotV2NotFound, *DeleteContentScreenshotV2InternalServerError, error)
Deprecated: 2022-08-10 - Use DeleteContentScreenshotV2Short instead.
DeleteContentScreenshotV2 delete screenshots content Delete screenshot from a content
func (*Client) DeleteContentScreenshotV2Short ¶
func (a *Client) DeleteContentScreenshotV2Short(params *DeleteContentScreenshotV2Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentScreenshotV2NoContent, error)
DeleteContentScreenshotV2Short delete screenshots content Delete screenshot from a content
func (*Client) PublicBulkGetContentByIDV2
deprecated
func (a *Client) PublicBulkGetContentByIDV2(params *PublicBulkGetContentByIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicBulkGetContentByIDV2OK, *PublicBulkGetContentByIDV2BadRequest, *PublicBulkGetContentByIDV2Unauthorized, *PublicBulkGetContentByIDV2InternalServerError, error)
Deprecated: 2022-08-10 - Use PublicBulkGetContentByIDV2Short instead.
PublicBulkGetContentByIDV2 get contents by content ids Maximum requested Ids: 100. Public user can access without token or if token specified, requires valid user token
func (*Client) PublicBulkGetContentByIDV2Short ¶
func (a *Client) PublicBulkGetContentByIDV2Short(params *PublicBulkGetContentByIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicBulkGetContentByIDV2OK, error)
PublicBulkGetContentByIDV2Short get contents by content ids Maximum requested Ids: 100. Public user can access without token or if token specified, requires valid user token
func (*Client) PublicCreateContentV2
deprecated
func (a *Client) PublicCreateContentV2(params *PublicCreateContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateContentV2Created, *PublicCreateContentV2BadRequest, *PublicCreateContentV2Unauthorized, *PublicCreateContentV2NotFound, *PublicCreateContentV2InternalServerError, error)
Deprecated: 2022-08-10 - Use PublicCreateContentV2Short instead.
PublicCreateContentV2 create a content Create a new content
func (*Client) PublicCreateContentV2Short ¶
func (a *Client) PublicCreateContentV2Short(params *PublicCreateContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateContentV2Created, error)
PublicCreateContentV2Short create a content Create a new content
func (*Client) PublicDeleteContentByShareCodeV2
deprecated
added in
v0.58.0
func (a *Client) PublicDeleteContentByShareCodeV2(params *PublicDeleteContentByShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicDeleteContentByShareCodeV2NoContent, *PublicDeleteContentByShareCodeV2Unauthorized, *PublicDeleteContentByShareCodeV2NotFound, *PublicDeleteContentByShareCodeV2InternalServerError, error)
Deprecated: 2022-08-10 - Use PublicDeleteContentByShareCodeV2Short instead.
PublicDeleteContentByShareCodeV2 delete content by share code Delete existing content by share code
func (*Client) PublicDeleteContentByShareCodeV2Short ¶ added in v0.58.0
func (a *Client) PublicDeleteContentByShareCodeV2Short(params *PublicDeleteContentByShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicDeleteContentByShareCodeV2NoContent, error)
PublicDeleteContentByShareCodeV2Short delete content by share code Delete existing content by share code
func (*Client) PublicDeleteContentV2
deprecated
func (a *Client) PublicDeleteContentV2(params *PublicDeleteContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicDeleteContentV2NoContent, *PublicDeleteContentV2Unauthorized, *PublicDeleteContentV2NotFound, *PublicDeleteContentV2InternalServerError, error)
Deprecated: 2022-08-10 - Use PublicDeleteContentV2Short instead.
PublicDeleteContentV2 delete content Delete existing content
func (*Client) PublicDeleteContentV2Short ¶
func (a *Client) PublicDeleteContentV2Short(params *PublicDeleteContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicDeleteContentV2NoContent, error)
PublicDeleteContentV2Short delete content Delete existing content
func (*Client) PublicGenerateContentUploadURLV2
deprecated
func (a *Client) PublicGenerateContentUploadURLV2(params *PublicGenerateContentUploadURLV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGenerateContentUploadURLV2OK, *PublicGenerateContentUploadURLV2BadRequest, *PublicGenerateContentUploadURLV2Unauthorized, *PublicGenerateContentUploadURLV2Forbidden, *PublicGenerateContentUploadURLV2NotFound, *PublicGenerateContentUploadURLV2InternalServerError, error)
Deprecated: 2022-08-10 - Use PublicGenerateContentUploadURLV2Short instead.
PublicGenerateContentUploadURLV2 generate content upload url Generate content upload URL
func (*Client) PublicGenerateContentUploadURLV2Short ¶
func (a *Client) PublicGenerateContentUploadURLV2Short(params *PublicGenerateContentUploadURLV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGenerateContentUploadURLV2OK, error)
PublicGenerateContentUploadURLV2Short generate content upload url Generate content upload URL
func (*Client) PublicGetContentBulkByShareCodesV2
deprecated
added in
v0.59.0
func (a *Client) PublicGetContentBulkByShareCodesV2(params *PublicGetContentBulkByShareCodesV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentBulkByShareCodesV2OK, *PublicGetContentBulkByShareCodesV2BadRequest, *PublicGetContentBulkByShareCodesV2Unauthorized, *PublicGetContentBulkByShareCodesV2Forbidden, *PublicGetContentBulkByShareCodesV2InternalServerError, error)
Deprecated: 2022-08-10 - Use PublicGetContentBulkByShareCodesV2Short instead.
PublicGetContentBulkByShareCodesV2 bulk get content by content sharecodes Require valid user token. Maximum sharecodes per request 100
func (*Client) PublicGetContentBulkByShareCodesV2Short ¶ added in v0.59.0
func (a *Client) PublicGetContentBulkByShareCodesV2Short(params *PublicGetContentBulkByShareCodesV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentBulkByShareCodesV2OK, error)
PublicGetContentBulkByShareCodesV2Short bulk get content by content sharecodes Require valid user token. Maximum sharecodes per request 100
func (*Client) PublicGetContentByChannelIDV2
deprecated
func (a *Client) PublicGetContentByChannelIDV2(params *PublicGetContentByChannelIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentByChannelIDV2OK, *PublicGetContentByChannelIDV2BadRequest, *PublicGetContentByChannelIDV2Unauthorized, *PublicGetContentByChannelIDV2InternalServerError, error)
Deprecated: 2022-08-10 - Use PublicGetContentByChannelIDV2Short instead.
PublicGetContentByChannelIDV2 list contents specific to a channel Public user can access without token or if token specified, requires valid user token
func (*Client) PublicGetContentByChannelIDV2Short ¶
func (a *Client) PublicGetContentByChannelIDV2Short(params *PublicGetContentByChannelIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentByChannelIDV2OK, error)
PublicGetContentByChannelIDV2Short list contents specific to a channel Public user can access without token or if token specified, requires valid user token
func (*Client) PublicGetContentByIDV2
deprecated
func (a *Client) PublicGetContentByIDV2(params *PublicGetContentByIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentByIDV2OK, *PublicGetContentByIDV2Unauthorized, *PublicGetContentByIDV2NotFound, *PublicGetContentByIDV2InternalServerError, error)
Deprecated: 2022-08-10 - Use PublicGetContentByIDV2Short instead.
PublicGetContentByIDV2 get content by content id Public user can access without token or if token specified, requires valid user token
func (*Client) PublicGetContentByIDV2Short ¶
func (a *Client) PublicGetContentByIDV2Short(params *PublicGetContentByIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentByIDV2OK, error)
PublicGetContentByIDV2Short get content by content id Public user can access without token or if token specified, requires valid user token
func (*Client) PublicGetContentByShareCodeV2
deprecated
func (a *Client) PublicGetContentByShareCodeV2(params *PublicGetContentByShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentByShareCodeV2OK, *PublicGetContentByShareCodeV2Unauthorized, *PublicGetContentByShareCodeV2NotFound, *PublicGetContentByShareCodeV2InternalServerError, error)
Deprecated: 2022-08-10 - Use PublicGetContentByShareCodeV2Short instead.
PublicGetContentByShareCodeV2 get content by sharecode Public user can access without token or if token specified, requires valid user token
func (*Client) PublicGetContentByShareCodeV2Short ¶
func (a *Client) PublicGetContentByShareCodeV2Short(params *PublicGetContentByShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentByShareCodeV2OK, error)
PublicGetContentByShareCodeV2Short get content by sharecode Public user can access without token or if token specified, requires valid user token
func (*Client) PublicGetContentByUserIDV2
deprecated
func (a *Client) PublicGetContentByUserIDV2(params *PublicGetContentByUserIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentByUserIDV2OK, *PublicGetContentByUserIDV2BadRequest, *PublicGetContentByUserIDV2Unauthorized, *PublicGetContentByUserIDV2InternalServerError, error)
Deprecated: 2022-08-10 - Use PublicGetContentByUserIDV2Short instead.
PublicGetContentByUserIDV2 get content by user id Public user can access without token or if token specified, required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [READ].
func (*Client) PublicGetContentByUserIDV2Short ¶
func (a *Client) PublicGetContentByUserIDV2Short(params *PublicGetContentByUserIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentByUserIDV2OK, error)
PublicGetContentByUserIDV2Short get content by user id Public user can access without token or if token specified, required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [READ].
func (*Client) PublicListContentV2
deprecated
func (a *Client) PublicListContentV2(params *PublicListContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicListContentV2OK, *PublicListContentV2BadRequest, *PublicListContentV2Unauthorized, *PublicListContentV2InternalServerError, error)
Deprecated: 2022-08-10 - Use PublicListContentV2Short instead.
PublicListContentV2 list contents For advance tag filtering supports & as AND operator and | as OR operator and parentheses ( ) for priority. e.g:
*tags=red* *tags=red&animal;* *tags=red|animal* *tags=red&animal;|wild* *tags=red&(animal|wild)*
The precedence of logical operator is AND > OR, so if no parentheses, AND logical operator will be executed first.
Allowed character for operand: alphanumeric, underscore _ and dash -
Allowed character for operator: & | ( )
**Please note that value of tags query param should be URL encoded**
func (*Client) PublicListContentV2Short ¶
func (a *Client) PublicListContentV2Short(params *PublicListContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicListContentV2OK, error)
PublicListContentV2Short list contents For advance tag filtering supports & as AND operator and | as OR operator and parentheses ( ) for priority. e.g:
*tags=red* *tags=red&animal;* *tags=red|animal* *tags=red&animal;|wild* *tags=red&(animal|wild)*
The precedence of logical operator is AND > OR, so if no parentheses, AND logical operator will be executed first.
Allowed character for operand: alphanumeric, underscore _ and dash -
Allowed character for operator: & | ( )
**Please note that value of tags query param should be URL encoded**
func (*Client) PublicUpdateContentByShareCodeV2
deprecated
added in
v0.58.0
func (a *Client) PublicUpdateContentByShareCodeV2(params *PublicUpdateContentByShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateContentByShareCodeV2OK, *PublicUpdateContentByShareCodeV2BadRequest, *PublicUpdateContentByShareCodeV2Unauthorized, *PublicUpdateContentByShareCodeV2Forbidden, *PublicUpdateContentByShareCodeV2NotFound, *PublicUpdateContentByShareCodeV2Conflict, *PublicUpdateContentByShareCodeV2InternalServerError, error)
Deprecated: 2022-08-10 - Use PublicUpdateContentByShareCodeV2Short instead.
PublicUpdateContentByShareCodeV2 update content to s3 bucket by share code Update content by share code
func (*Client) PublicUpdateContentByShareCodeV2Short ¶ added in v0.58.0
func (a *Client) PublicUpdateContentByShareCodeV2Short(params *PublicUpdateContentByShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateContentByShareCodeV2OK, error)
PublicUpdateContentByShareCodeV2Short update content to s3 bucket by share code Update content by share code
func (*Client) PublicUpdateContentFileLocation
deprecated
func (a *Client) PublicUpdateContentFileLocation(params *PublicUpdateContentFileLocationParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateContentFileLocationOK, *PublicUpdateContentFileLocationBadRequest, *PublicUpdateContentFileLocationUnauthorized, *PublicUpdateContentFileLocationForbidden, *PublicUpdateContentFileLocationNotFound, *PublicUpdateContentFileLocationInternalServerError, error)
Deprecated: 2022-08-10 - Use PublicUpdateContentFileLocationShort instead.
PublicUpdateContentFileLocation update content file location This endpoint should be used after calling generate upload url endpoint to commit the changes
func (*Client) PublicUpdateContentFileLocationShort ¶
func (a *Client) PublicUpdateContentFileLocationShort(params *PublicUpdateContentFileLocationParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateContentFileLocationOK, error)
PublicUpdateContentFileLocationShort update content file location This endpoint should be used after calling generate upload url endpoint to commit the changes
func (*Client) PublicUpdateContentV2
deprecated
func (a *Client) PublicUpdateContentV2(params *PublicUpdateContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateContentV2OK, *PublicUpdateContentV2BadRequest, *PublicUpdateContentV2Unauthorized, *PublicUpdateContentV2Forbidden, *PublicUpdateContentV2NotFound, *PublicUpdateContentV2InternalServerError, error)
Deprecated: 2022-08-10 - Use PublicUpdateContentV2Short instead.
PublicUpdateContentV2 update content Update existing content
func (*Client) PublicUpdateContentV2Short ¶
func (a *Client) PublicUpdateContentV2Short(params *PublicUpdateContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateContentV2OK, error)
PublicUpdateContentV2Short update content Update existing content
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateContentShareCodeV2
deprecated
added in
v0.59.0
func (a *Client) UpdateContentShareCodeV2(params *UpdateContentShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentShareCodeV2OK, *UpdateContentShareCodeV2BadRequest, *UpdateContentShareCodeV2Unauthorized, *UpdateContentShareCodeV2Forbidden, *UpdateContentShareCodeV2NotFound, *UpdateContentShareCodeV2Conflict, *UpdateContentShareCodeV2InternalServerError, error)
Deprecated: 2022-08-10 - Use UpdateContentShareCodeV2Short instead.
UpdateContentShareCodeV2 update content share code This endpoint is used to modify the shareCode of a content. However, this operation is restricted by default and requires the above permission to be granted to the User role.
`shareCode` format should follows: Max length: 7 Available characters: abcdefhkpqrstuxyz
func (*Client) UpdateContentShareCodeV2Short ¶ added in v0.59.0
func (a *Client) UpdateContentShareCodeV2Short(params *UpdateContentShareCodeV2Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentShareCodeV2OK, error)
UpdateContentShareCodeV2Short update content share code This endpoint is used to modify the shareCode of a content. However, this operation is restricted by default and requires the above permission to be granted to the User role.
`shareCode` format should follows: Max length: 7 Available characters: abcdefhkpqrstuxyz
func (*Client) UpdateScreenshotsV2
deprecated
func (a *Client) UpdateScreenshotsV2(params *UpdateScreenshotsV2Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateScreenshotsV2OK, *UpdateScreenshotsV2BadRequest, *UpdateScreenshotsV2Unauthorized, *UpdateScreenshotsV2Forbidden, *UpdateScreenshotsV2NotFound, *UpdateScreenshotsV2InternalServerError, error)
Deprecated: 2022-08-10 - Use UpdateScreenshotsV2Short instead.
UpdateScreenshotsV2 update screenshot of content Maximum description length: 1024
func (*Client) UpdateScreenshotsV2Short ¶
func (a *Client) UpdateScreenshotsV2Short(params *UpdateScreenshotsV2Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateScreenshotsV2OK, error)
UpdateScreenshotsV2Short update screenshot of content Maximum description length: 1024
func (*Client) UploadContentScreenshotV2
deprecated
func (a *Client) UploadContentScreenshotV2(params *UploadContentScreenshotV2Params, authInfo runtime.ClientAuthInfoWriter) (*UploadContentScreenshotV2Created, *UploadContentScreenshotV2BadRequest, *UploadContentScreenshotV2Unauthorized, *UploadContentScreenshotV2Forbidden, *UploadContentScreenshotV2InternalServerError, error)
Deprecated: 2022-08-10 - Use UploadContentScreenshotV2Short instead.
UploadContentScreenshotV2 upload screenshots for content This endpoint used to request upload URL from content's screenshot. If *contentType* is not specified, it will use *fileExtension* value. Supported file extensions: pjp, jpg, jpeg, jfif, bmp, png. Maximum description length: 1024
func (*Client) UploadContentScreenshotV2Short ¶
func (a *Client) UploadContentScreenshotV2Short(params *UploadContentScreenshotV2Params, authInfo runtime.ClientAuthInfoWriter) (*UploadContentScreenshotV2Created, error)
UploadContentScreenshotV2Short upload screenshots for content This endpoint used to request upload URL from content's screenshot. If *contentType* is not specified, it will use *fileExtension* value. Supported file extensions: pjp, jpg, jpeg, jfif, bmp, png. Maximum description length: 1024
type ClientService ¶
type ClientService interface { PublicGetContentByChannelIDV2(params *PublicGetContentByChannelIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentByChannelIDV2OK, *PublicGetContentByChannelIDV2BadRequest, *PublicGetContentByChannelIDV2Unauthorized, *PublicGetContentByChannelIDV2InternalServerError, error) PublicGetContentByChannelIDV2Short(params *PublicGetContentByChannelIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentByChannelIDV2OK, error) PublicListContentV2(params *PublicListContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicListContentV2OK, *PublicListContentV2BadRequest, *PublicListContentV2Unauthorized, *PublicListContentV2InternalServerError, error) PublicListContentV2Short(params *PublicListContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicListContentV2OK, error) PublicBulkGetContentByIDV2(params *PublicBulkGetContentByIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicBulkGetContentByIDV2OK, *PublicBulkGetContentByIDV2BadRequest, *PublicBulkGetContentByIDV2Unauthorized, *PublicBulkGetContentByIDV2InternalServerError, error) PublicBulkGetContentByIDV2Short(params *PublicBulkGetContentByIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicBulkGetContentByIDV2OK, error) PublicGetContentByIDV2(params *PublicGetContentByIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentByIDV2OK, *PublicGetContentByIDV2Unauthorized, *PublicGetContentByIDV2NotFound, *PublicGetContentByIDV2InternalServerError, error) PublicGetContentByIDV2Short(params *PublicGetContentByIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentByIDV2OK, error) PublicCreateContentV2(params *PublicCreateContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateContentV2Created, *PublicCreateContentV2BadRequest, *PublicCreateContentV2Unauthorized, *PublicCreateContentV2NotFound, *PublicCreateContentV2InternalServerError, error) PublicCreateContentV2Short(params *PublicCreateContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateContentV2Created, error) PublicDeleteContentV2(params *PublicDeleteContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicDeleteContentV2NoContent, *PublicDeleteContentV2Unauthorized, *PublicDeleteContentV2NotFound, *PublicDeleteContentV2InternalServerError, error) PublicDeleteContentV2Short(params *PublicDeleteContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicDeleteContentV2NoContent, error) PublicUpdateContentV2(params *PublicUpdateContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateContentV2OK, *PublicUpdateContentV2BadRequest, *PublicUpdateContentV2Unauthorized, *PublicUpdateContentV2Forbidden, *PublicUpdateContentV2NotFound, *PublicUpdateContentV2InternalServerError, error) PublicUpdateContentV2Short(params *PublicUpdateContentV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateContentV2OK, error) PublicUpdateContentFileLocation(params *PublicUpdateContentFileLocationParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateContentFileLocationOK, *PublicUpdateContentFileLocationBadRequest, *PublicUpdateContentFileLocationUnauthorized, *PublicUpdateContentFileLocationForbidden, *PublicUpdateContentFileLocationNotFound, *PublicUpdateContentFileLocationInternalServerError, error) PublicUpdateContentFileLocationShort(params *PublicUpdateContentFileLocationParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateContentFileLocationOK, error) PublicGenerateContentUploadURLV2(params *PublicGenerateContentUploadURLV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGenerateContentUploadURLV2OK, *PublicGenerateContentUploadURLV2BadRequest, *PublicGenerateContentUploadURLV2Unauthorized, *PublicGenerateContentUploadURLV2Forbidden, *PublicGenerateContentUploadURLV2NotFound, *PublicGenerateContentUploadURLV2InternalServerError, error) PublicGenerateContentUploadURLV2Short(params *PublicGenerateContentUploadURLV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGenerateContentUploadURLV2OK, error) PublicGetContentByUserIDV2(params *PublicGetContentByUserIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentByUserIDV2OK, *PublicGetContentByUserIDV2BadRequest, *PublicGetContentByUserIDV2Unauthorized, *PublicGetContentByUserIDV2InternalServerError, error) PublicGetContentByUserIDV2Short(params *PublicGetContentByUserIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentByUserIDV2OK, error) UpdateScreenshotsV2(params *UpdateScreenshotsV2Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateScreenshotsV2OK, *UpdateScreenshotsV2BadRequest, *UpdateScreenshotsV2Unauthorized, *UpdateScreenshotsV2Forbidden, *UpdateScreenshotsV2NotFound, *UpdateScreenshotsV2InternalServerError, error) UpdateScreenshotsV2Short(params *UpdateScreenshotsV2Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateScreenshotsV2OK, error) UploadContentScreenshotV2(params *UploadContentScreenshotV2Params, authInfo runtime.ClientAuthInfoWriter) (*UploadContentScreenshotV2Created, *UploadContentScreenshotV2BadRequest, *UploadContentScreenshotV2Unauthorized, *UploadContentScreenshotV2Forbidden, *UploadContentScreenshotV2InternalServerError, error) UploadContentScreenshotV2Short(params *UploadContentScreenshotV2Params, authInfo runtime.ClientAuthInfoWriter) (*UploadContentScreenshotV2Created, error) DeleteContentScreenshotV2(params *DeleteContentScreenshotV2Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentScreenshotV2NoContent, *DeleteContentScreenshotV2BadRequest, *DeleteContentScreenshotV2Unauthorized, *DeleteContentScreenshotV2Forbidden, *DeleteContentScreenshotV2NotFound, *DeleteContentScreenshotV2InternalServerError, error) DeleteContentScreenshotV2Short(params *DeleteContentScreenshotV2Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentScreenshotV2NoContent, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new public content v2 API client.
type DeleteContentScreenshotV2BadRequest ¶
type DeleteContentScreenshotV2BadRequest struct {
Payload *ugcclientmodels.ResponseError
}
DeleteContentScreenshotV2BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772602</td><td>Unable to check user ban status/Unable to get updated ugc content</td></tr></table>
func NewDeleteContentScreenshotV2BadRequest ¶
func NewDeleteContentScreenshotV2BadRequest() *DeleteContentScreenshotV2BadRequest
NewDeleteContentScreenshotV2BadRequest creates a DeleteContentScreenshotV2BadRequest with default headers values
func (*DeleteContentScreenshotV2BadRequest) Error ¶
func (o *DeleteContentScreenshotV2BadRequest) Error() string
func (*DeleteContentScreenshotV2BadRequest) GetPayload ¶
func (o *DeleteContentScreenshotV2BadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*DeleteContentScreenshotV2BadRequest) ToJSONString ¶
func (o *DeleteContentScreenshotV2BadRequest) ToJSONString() string
type DeleteContentScreenshotV2Forbidden ¶ added in v0.60.0
type DeleteContentScreenshotV2Forbidden struct {
Payload *ugcclientmodels.ResponseError
}
DeleteContentScreenshotV2Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772604</td><td>User has been banned to update content</td></tr></table>
func NewDeleteContentScreenshotV2Forbidden ¶ added in v0.60.0
func NewDeleteContentScreenshotV2Forbidden() *DeleteContentScreenshotV2Forbidden
NewDeleteContentScreenshotV2Forbidden creates a DeleteContentScreenshotV2Forbidden with default headers values
func (*DeleteContentScreenshotV2Forbidden) Error ¶ added in v0.60.0
func (o *DeleteContentScreenshotV2Forbidden) Error() string
func (*DeleteContentScreenshotV2Forbidden) GetPayload ¶ added in v0.60.0
func (o *DeleteContentScreenshotV2Forbidden) GetPayload() *ugcclientmodels.ResponseError
func (*DeleteContentScreenshotV2Forbidden) ToJSONString ¶ added in v0.60.0
func (o *DeleteContentScreenshotV2Forbidden) ToJSONString() string
type DeleteContentScreenshotV2InternalServerError ¶
type DeleteContentScreenshotV2InternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
DeleteContentScreenshotV2InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772602</td><td>Unable to check user ban status/Unable to get updated ugc content</td></tr></table>
func NewDeleteContentScreenshotV2InternalServerError ¶
func NewDeleteContentScreenshotV2InternalServerError() *DeleteContentScreenshotV2InternalServerError
NewDeleteContentScreenshotV2InternalServerError creates a DeleteContentScreenshotV2InternalServerError with default headers values
func (*DeleteContentScreenshotV2InternalServerError) Error ¶
func (o *DeleteContentScreenshotV2InternalServerError) Error() string
func (*DeleteContentScreenshotV2InternalServerError) GetPayload ¶
func (o *DeleteContentScreenshotV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*DeleteContentScreenshotV2InternalServerError) ToJSONString ¶
func (o *DeleteContentScreenshotV2InternalServerError) ToJSONString() string
type DeleteContentScreenshotV2NoContent ¶
type DeleteContentScreenshotV2NoContent struct { }
DeleteContentScreenshotV2NoContent handles this case with default header values.
Screenshot deleted
func NewDeleteContentScreenshotV2NoContent ¶
func NewDeleteContentScreenshotV2NoContent() *DeleteContentScreenshotV2NoContent
NewDeleteContentScreenshotV2NoContent creates a DeleteContentScreenshotV2NoContent with default headers values
func (*DeleteContentScreenshotV2NoContent) Error ¶
func (o *DeleteContentScreenshotV2NoContent) Error() string
type DeleteContentScreenshotV2NotFound ¶
type DeleteContentScreenshotV2NotFound struct {
Payload *ugcclientmodels.ResponseError
}
DeleteContentScreenshotV2NotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772603</td><td>Content not found</td></tr><tr><td>772602</td><td>Unable to check user ban status/Unable to get updated ugc content</td></tr></table>
func NewDeleteContentScreenshotV2NotFound ¶
func NewDeleteContentScreenshotV2NotFound() *DeleteContentScreenshotV2NotFound
NewDeleteContentScreenshotV2NotFound creates a DeleteContentScreenshotV2NotFound with default headers values
func (*DeleteContentScreenshotV2NotFound) Error ¶
func (o *DeleteContentScreenshotV2NotFound) Error() string
func (*DeleteContentScreenshotV2NotFound) GetPayload ¶
func (o *DeleteContentScreenshotV2NotFound) GetPayload() *ugcclientmodels.ResponseError
func (*DeleteContentScreenshotV2NotFound) ToJSONString ¶
func (o *DeleteContentScreenshotV2NotFound) ToJSONString() string
type DeleteContentScreenshotV2Params ¶
type DeleteContentScreenshotV2Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ContentID content ID */ ContentID string /*Namespace namespace of the game */ Namespace string /*ScreenshotID screenshot ID */ ScreenshotID string /*UserID user ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
DeleteContentScreenshotV2Params contains all the parameters to send to the API endpoint for the delete content screenshot v2 operation typically these are written to a http.Request
func NewDeleteContentScreenshotV2Params ¶
func NewDeleteContentScreenshotV2Params() *DeleteContentScreenshotV2Params
NewDeleteContentScreenshotV2Params creates a new DeleteContentScreenshotV2Params object with the default values initialized.
func NewDeleteContentScreenshotV2ParamsWithContext ¶
func NewDeleteContentScreenshotV2ParamsWithContext(ctx context.Context) *DeleteContentScreenshotV2Params
NewDeleteContentScreenshotV2ParamsWithContext creates a new DeleteContentScreenshotV2Params object with the default values initialized, and the ability to set a context for a request
func NewDeleteContentScreenshotV2ParamsWithHTTPClient ¶
func NewDeleteContentScreenshotV2ParamsWithHTTPClient(client *http.Client) *DeleteContentScreenshotV2Params
NewDeleteContentScreenshotV2ParamsWithHTTPClient creates a new DeleteContentScreenshotV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteContentScreenshotV2ParamsWithTimeout ¶
func NewDeleteContentScreenshotV2ParamsWithTimeout(timeout time.Duration) *DeleteContentScreenshotV2Params
NewDeleteContentScreenshotV2ParamsWithTimeout creates a new DeleteContentScreenshotV2Params object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteContentScreenshotV2Params) SetAuthInfoWriter ¶
func (o *DeleteContentScreenshotV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete content screenshot v2 params
func (*DeleteContentScreenshotV2Params) SetContentID ¶
func (o *DeleteContentScreenshotV2Params) SetContentID(contentID string)
SetContentID adds the contentId to the delete content screenshot v2 params
func (*DeleteContentScreenshotV2Params) SetContext ¶
func (o *DeleteContentScreenshotV2Params) SetContext(ctx context.Context)
SetContext adds the context to the delete content screenshot v2 params
func (*DeleteContentScreenshotV2Params) SetFlightId ¶ added in v0.63.0
func (o *DeleteContentScreenshotV2Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*DeleteContentScreenshotV2Params) SetHTTPClient ¶
func (o *DeleteContentScreenshotV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete content screenshot v2 params
func (*DeleteContentScreenshotV2Params) SetHTTPClientTransport ¶
func (o *DeleteContentScreenshotV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the delete content screenshot v2 params
func (*DeleteContentScreenshotV2Params) SetNamespace ¶
func (o *DeleteContentScreenshotV2Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete content screenshot v2 params
func (*DeleteContentScreenshotV2Params) SetScreenshotID ¶
func (o *DeleteContentScreenshotV2Params) SetScreenshotID(screenshotID string)
SetScreenshotID adds the screenshotId to the delete content screenshot v2 params
func (*DeleteContentScreenshotV2Params) SetTimeout ¶
func (o *DeleteContentScreenshotV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete content screenshot v2 params
func (*DeleteContentScreenshotV2Params) SetUserID ¶
func (o *DeleteContentScreenshotV2Params) SetUserID(userID string)
SetUserID adds the userId to the delete content screenshot v2 params
func (*DeleteContentScreenshotV2Params) WithContentID ¶
func (o *DeleteContentScreenshotV2Params) WithContentID(contentID string) *DeleteContentScreenshotV2Params
WithContentID adds the contentID to the delete content screenshot v2 params
func (*DeleteContentScreenshotV2Params) WithContext ¶
func (o *DeleteContentScreenshotV2Params) WithContext(ctx context.Context) *DeleteContentScreenshotV2Params
WithContext adds the context to the delete content screenshot v2 params
func (*DeleteContentScreenshotV2Params) WithHTTPClient ¶
func (o *DeleteContentScreenshotV2Params) WithHTTPClient(client *http.Client) *DeleteContentScreenshotV2Params
WithHTTPClient adds the HTTPClient to the delete content screenshot v2 params
func (*DeleteContentScreenshotV2Params) WithNamespace ¶
func (o *DeleteContentScreenshotV2Params) WithNamespace(namespace string) *DeleteContentScreenshotV2Params
WithNamespace adds the namespace to the delete content screenshot v2 params
func (*DeleteContentScreenshotV2Params) WithScreenshotID ¶
func (o *DeleteContentScreenshotV2Params) WithScreenshotID(screenshotID string) *DeleteContentScreenshotV2Params
WithScreenshotID adds the screenshotID to the delete content screenshot v2 params
func (*DeleteContentScreenshotV2Params) WithTimeout ¶
func (o *DeleteContentScreenshotV2Params) WithTimeout(timeout time.Duration) *DeleteContentScreenshotV2Params
WithTimeout adds the timeout to the delete content screenshot v2 params
func (*DeleteContentScreenshotV2Params) WithUserID ¶
func (o *DeleteContentScreenshotV2Params) WithUserID(userID string) *DeleteContentScreenshotV2Params
WithUserID adds the userID to the delete content screenshot v2 params
func (*DeleteContentScreenshotV2Params) WriteToRequest ¶
func (o *DeleteContentScreenshotV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteContentScreenshotV2Reader ¶
type DeleteContentScreenshotV2Reader struct {
// contains filtered or unexported fields
}
DeleteContentScreenshotV2Reader is a Reader for the DeleteContentScreenshotV2 structure.
func (*DeleteContentScreenshotV2Reader) ReadResponse ¶
func (o *DeleteContentScreenshotV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteContentScreenshotV2Unauthorized ¶
type DeleteContentScreenshotV2Unauthorized struct {
}DeleteContentScreenshotV2Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewDeleteContentScreenshotV2Unauthorized ¶
func NewDeleteContentScreenshotV2Unauthorized() *DeleteContentScreenshotV2Unauthorized
NewDeleteContentScreenshotV2Unauthorized creates a DeleteContentScreenshotV2Unauthorized with default headers values
func (*DeleteContentScreenshotV2Unauthorized) Error ¶
func (o *DeleteContentScreenshotV2Unauthorized) Error() string
func (*DeleteContentScreenshotV2Unauthorized) GetPayload ¶
func (o *DeleteContentScreenshotV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*DeleteContentScreenshotV2Unauthorized) ToJSONString ¶
func (o *DeleteContentScreenshotV2Unauthorized) ToJSONString() string
type PublicBulkGetContentByIDV2BadRequest ¶
type PublicBulkGetContentByIDV2BadRequest struct {
Payload *ugcclientmodels.ResponseError
}
PublicBulkGetContentByIDV2BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773900</td><td>Malformed request/Invalid request body</td></tr></table>
func NewPublicBulkGetContentByIDV2BadRequest ¶
func NewPublicBulkGetContentByIDV2BadRequest() *PublicBulkGetContentByIDV2BadRequest
NewPublicBulkGetContentByIDV2BadRequest creates a PublicBulkGetContentByIDV2BadRequest with default headers values
func (*PublicBulkGetContentByIDV2BadRequest) Error ¶
func (o *PublicBulkGetContentByIDV2BadRequest) Error() string
func (*PublicBulkGetContentByIDV2BadRequest) GetPayload ¶
func (o *PublicBulkGetContentByIDV2BadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*PublicBulkGetContentByIDV2BadRequest) ToJSONString ¶
func (o *PublicBulkGetContentByIDV2BadRequest) ToJSONString() string
type PublicBulkGetContentByIDV2InternalServerError ¶
type PublicBulkGetContentByIDV2InternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
PublicBulkGetContentByIDV2InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770801</td><td>Unable to get ugc content: database/Unable to get creator</td></tr><tr><td>773902</td><td>Failed generate download URL</td></tr></table>
func NewPublicBulkGetContentByIDV2InternalServerError ¶
func NewPublicBulkGetContentByIDV2InternalServerError() *PublicBulkGetContentByIDV2InternalServerError
NewPublicBulkGetContentByIDV2InternalServerError creates a PublicBulkGetContentByIDV2InternalServerError with default headers values
func (*PublicBulkGetContentByIDV2InternalServerError) Error ¶
func (o *PublicBulkGetContentByIDV2InternalServerError) Error() string
func (*PublicBulkGetContentByIDV2InternalServerError) GetPayload ¶
func (o *PublicBulkGetContentByIDV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*PublicBulkGetContentByIDV2InternalServerError) ToJSONString ¶
func (o *PublicBulkGetContentByIDV2InternalServerError) ToJSONString() string
type PublicBulkGetContentByIDV2OK ¶
type PublicBulkGetContentByIDV2OK struct {
Payload []*ugcclientmodels.ModelsContentDownloadResponseV2
}
PublicBulkGetContentByIDV2OK handles this case with default header values.
Get contents by content Ids
func NewPublicBulkGetContentByIDV2OK ¶
func NewPublicBulkGetContentByIDV2OK() *PublicBulkGetContentByIDV2OK
NewPublicBulkGetContentByIDV2OK creates a PublicBulkGetContentByIDV2OK with default headers values
func (*PublicBulkGetContentByIDV2OK) Error ¶
func (o *PublicBulkGetContentByIDV2OK) Error() string
func (*PublicBulkGetContentByIDV2OK) GetPayload ¶
func (o *PublicBulkGetContentByIDV2OK) GetPayload() []*ugcclientmodels.ModelsContentDownloadResponseV2
func (*PublicBulkGetContentByIDV2OK) ToJSONString ¶
func (o *PublicBulkGetContentByIDV2OK) ToJSONString() string
type PublicBulkGetContentByIDV2Params ¶
type PublicBulkGetContentByIDV2Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *ugcclientmodels.ModelsPublicGetContentBulkRequest /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicBulkGetContentByIDV2Params contains all the parameters to send to the API endpoint for the public bulk get content by idv2 operation typically these are written to a http.Request
func NewPublicBulkGetContentByIDV2Params ¶
func NewPublicBulkGetContentByIDV2Params() *PublicBulkGetContentByIDV2Params
NewPublicBulkGetContentByIDV2Params creates a new PublicBulkGetContentByIDV2Params object with the default values initialized.
func NewPublicBulkGetContentByIDV2ParamsWithContext ¶
func NewPublicBulkGetContentByIDV2ParamsWithContext(ctx context.Context) *PublicBulkGetContentByIDV2Params
NewPublicBulkGetContentByIDV2ParamsWithContext creates a new PublicBulkGetContentByIDV2Params object with the default values initialized, and the ability to set a context for a request
func NewPublicBulkGetContentByIDV2ParamsWithHTTPClient ¶
func NewPublicBulkGetContentByIDV2ParamsWithHTTPClient(client *http.Client) *PublicBulkGetContentByIDV2Params
NewPublicBulkGetContentByIDV2ParamsWithHTTPClient creates a new PublicBulkGetContentByIDV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicBulkGetContentByIDV2ParamsWithTimeout ¶
func NewPublicBulkGetContentByIDV2ParamsWithTimeout(timeout time.Duration) *PublicBulkGetContentByIDV2Params
NewPublicBulkGetContentByIDV2ParamsWithTimeout creates a new PublicBulkGetContentByIDV2Params object with the default values initialized, and the ability to set a timeout on a request
func (*PublicBulkGetContentByIDV2Params) SetAuthInfoWriter ¶
func (o *PublicBulkGetContentByIDV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public bulk get content by idv2 params
func (*PublicBulkGetContentByIDV2Params) SetBody ¶
func (o *PublicBulkGetContentByIDV2Params) SetBody(body *ugcclientmodels.ModelsPublicGetContentBulkRequest)
SetBody adds the body to the public bulk get content by idv2 params
func (*PublicBulkGetContentByIDV2Params) SetContext ¶
func (o *PublicBulkGetContentByIDV2Params) SetContext(ctx context.Context)
SetContext adds the context to the public bulk get content by idv2 params
func (*PublicBulkGetContentByIDV2Params) SetFlightId ¶ added in v0.63.0
func (o *PublicBulkGetContentByIDV2Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicBulkGetContentByIDV2Params) SetHTTPClient ¶
func (o *PublicBulkGetContentByIDV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public bulk get content by idv2 params
func (*PublicBulkGetContentByIDV2Params) SetHTTPClientTransport ¶
func (o *PublicBulkGetContentByIDV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public bulk get content by idv2 params
func (*PublicBulkGetContentByIDV2Params) SetNamespace ¶
func (o *PublicBulkGetContentByIDV2Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the public bulk get content by idv2 params
func (*PublicBulkGetContentByIDV2Params) SetTimeout ¶
func (o *PublicBulkGetContentByIDV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public bulk get content by idv2 params
func (*PublicBulkGetContentByIDV2Params) WithBody ¶
func (o *PublicBulkGetContentByIDV2Params) WithBody(body *ugcclientmodels.ModelsPublicGetContentBulkRequest) *PublicBulkGetContentByIDV2Params
WithBody adds the body to the public bulk get content by idv2 params
func (*PublicBulkGetContentByIDV2Params) WithContext ¶
func (o *PublicBulkGetContentByIDV2Params) WithContext(ctx context.Context) *PublicBulkGetContentByIDV2Params
WithContext adds the context to the public bulk get content by idv2 params
func (*PublicBulkGetContentByIDV2Params) WithHTTPClient ¶
func (o *PublicBulkGetContentByIDV2Params) WithHTTPClient(client *http.Client) *PublicBulkGetContentByIDV2Params
WithHTTPClient adds the HTTPClient to the public bulk get content by idv2 params
func (*PublicBulkGetContentByIDV2Params) WithNamespace ¶
func (o *PublicBulkGetContentByIDV2Params) WithNamespace(namespace string) *PublicBulkGetContentByIDV2Params
WithNamespace adds the namespace to the public bulk get content by idv2 params
func (*PublicBulkGetContentByIDV2Params) WithTimeout ¶
func (o *PublicBulkGetContentByIDV2Params) WithTimeout(timeout time.Duration) *PublicBulkGetContentByIDV2Params
WithTimeout adds the timeout to the public bulk get content by idv2 params
func (*PublicBulkGetContentByIDV2Params) WriteToRequest ¶
func (o *PublicBulkGetContentByIDV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicBulkGetContentByIDV2Reader ¶
type PublicBulkGetContentByIDV2Reader struct {
// contains filtered or unexported fields
}
PublicBulkGetContentByIDV2Reader is a Reader for the PublicBulkGetContentByIDV2 structure.
func (*PublicBulkGetContentByIDV2Reader) ReadResponse ¶
func (o *PublicBulkGetContentByIDV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicBulkGetContentByIDV2Unauthorized ¶
type PublicBulkGetContentByIDV2Unauthorized struct {
}PublicBulkGetContentByIDV2Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPublicBulkGetContentByIDV2Unauthorized ¶
func NewPublicBulkGetContentByIDV2Unauthorized() *PublicBulkGetContentByIDV2Unauthorized
NewPublicBulkGetContentByIDV2Unauthorized creates a PublicBulkGetContentByIDV2Unauthorized with default headers values
func (*PublicBulkGetContentByIDV2Unauthorized) Error ¶
func (o *PublicBulkGetContentByIDV2Unauthorized) Error() string
func (*PublicBulkGetContentByIDV2Unauthorized) GetPayload ¶
func (o *PublicBulkGetContentByIDV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*PublicBulkGetContentByIDV2Unauthorized) ToJSONString ¶
func (o *PublicBulkGetContentByIDV2Unauthorized) ToJSONString() string
type PublicCreateContentV2BadRequest ¶
type PublicCreateContentV2BadRequest struct {
Payload *ugcclientmodels.ResponseError
}
PublicCreateContentV2BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770100</td><td>Malformed request/Invalid request body/channel do not exist</td></tr></table>
func NewPublicCreateContentV2BadRequest ¶
func NewPublicCreateContentV2BadRequest() *PublicCreateContentV2BadRequest
NewPublicCreateContentV2BadRequest creates a PublicCreateContentV2BadRequest with default headers values
func (*PublicCreateContentV2BadRequest) Error ¶
func (o *PublicCreateContentV2BadRequest) Error() string
func (*PublicCreateContentV2BadRequest) GetPayload ¶
func (o *PublicCreateContentV2BadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*PublicCreateContentV2BadRequest) ToJSONString ¶
func (o *PublicCreateContentV2BadRequest) ToJSONString() string
type PublicCreateContentV2Created ¶
type PublicCreateContentV2Created struct {
Payload *ugcclientmodels.ModelsCreateContentResponseV2
}
PublicCreateContentV2Created handles this case with default header values.
Content created
func NewPublicCreateContentV2Created ¶
func NewPublicCreateContentV2Created() *PublicCreateContentV2Created
NewPublicCreateContentV2Created creates a PublicCreateContentV2Created with default headers values
func (*PublicCreateContentV2Created) Error ¶
func (o *PublicCreateContentV2Created) Error() string
func (*PublicCreateContentV2Created) GetPayload ¶
func (o *PublicCreateContentV2Created) GetPayload() *ugcclientmodels.ModelsCreateContentResponseV2
func (*PublicCreateContentV2Created) ToJSONString ¶
func (o *PublicCreateContentV2Created) ToJSONString() string
type PublicCreateContentV2InternalServerError ¶
type PublicCreateContentV2InternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
PublicCreateContentV2InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770102</td><td>Unable to check user ban status/Unable to save ugc content: unable to get channel</td></tr><tr><td>770105</td><td>Unable to save ugc content: failed generate upload URL</td></tr><tr><td>770103</td><td>Unable to save ugc content: shareCode exceed the limit</td></tr></table>
func NewPublicCreateContentV2InternalServerError ¶
func NewPublicCreateContentV2InternalServerError() *PublicCreateContentV2InternalServerError
NewPublicCreateContentV2InternalServerError creates a PublicCreateContentV2InternalServerError with default headers values
func (*PublicCreateContentV2InternalServerError) Error ¶
func (o *PublicCreateContentV2InternalServerError) Error() string
func (*PublicCreateContentV2InternalServerError) GetPayload ¶
func (o *PublicCreateContentV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*PublicCreateContentV2InternalServerError) ToJSONString ¶
func (o *PublicCreateContentV2InternalServerError) ToJSONString() string
type PublicCreateContentV2NotFound ¶ added in v0.60.0
type PublicCreateContentV2NotFound struct {
Payload *ugcclientmodels.ResponseError
}
PublicCreateContentV2NotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770106</td><td>channel doesn't exist</td></tr></table>
func NewPublicCreateContentV2NotFound ¶ added in v0.60.0
func NewPublicCreateContentV2NotFound() *PublicCreateContentV2NotFound
NewPublicCreateContentV2NotFound creates a PublicCreateContentV2NotFound with default headers values
func (*PublicCreateContentV2NotFound) Error ¶ added in v0.60.0
func (o *PublicCreateContentV2NotFound) Error() string
func (*PublicCreateContentV2NotFound) GetPayload ¶ added in v0.60.0
func (o *PublicCreateContentV2NotFound) GetPayload() *ugcclientmodels.ResponseError
func (*PublicCreateContentV2NotFound) ToJSONString ¶ added in v0.60.0
func (o *PublicCreateContentV2NotFound) ToJSONString() string
type PublicCreateContentV2Params ¶
type PublicCreateContentV2Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *ugcclientmodels.ModelsContentRequestV2 /*ChannelID channel ID */ ChannelID string /*Namespace namespace of the game */ Namespace string /*UserID user ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicCreateContentV2Params contains all the parameters to send to the API endpoint for the public create content v2 operation typically these are written to a http.Request
func NewPublicCreateContentV2Params ¶
func NewPublicCreateContentV2Params() *PublicCreateContentV2Params
NewPublicCreateContentV2Params creates a new PublicCreateContentV2Params object with the default values initialized.
func NewPublicCreateContentV2ParamsWithContext ¶
func NewPublicCreateContentV2ParamsWithContext(ctx context.Context) *PublicCreateContentV2Params
NewPublicCreateContentV2ParamsWithContext creates a new PublicCreateContentV2Params object with the default values initialized, and the ability to set a context for a request
func NewPublicCreateContentV2ParamsWithHTTPClient ¶
func NewPublicCreateContentV2ParamsWithHTTPClient(client *http.Client) *PublicCreateContentV2Params
NewPublicCreateContentV2ParamsWithHTTPClient creates a new PublicCreateContentV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicCreateContentV2ParamsWithTimeout ¶
func NewPublicCreateContentV2ParamsWithTimeout(timeout time.Duration) *PublicCreateContentV2Params
NewPublicCreateContentV2ParamsWithTimeout creates a new PublicCreateContentV2Params object with the default values initialized, and the ability to set a timeout on a request
func (*PublicCreateContentV2Params) SetAuthInfoWriter ¶
func (o *PublicCreateContentV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public create content v2 params
func (*PublicCreateContentV2Params) SetBody ¶
func (o *PublicCreateContentV2Params) SetBody(body *ugcclientmodels.ModelsContentRequestV2)
SetBody adds the body to the public create content v2 params
func (*PublicCreateContentV2Params) SetChannelID ¶
func (o *PublicCreateContentV2Params) SetChannelID(channelID string)
SetChannelID adds the channelId to the public create content v2 params
func (*PublicCreateContentV2Params) SetContext ¶
func (o *PublicCreateContentV2Params) SetContext(ctx context.Context)
SetContext adds the context to the public create content v2 params
func (*PublicCreateContentV2Params) SetFlightId ¶ added in v0.63.0
func (o *PublicCreateContentV2Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicCreateContentV2Params) SetHTTPClient ¶
func (o *PublicCreateContentV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public create content v2 params
func (*PublicCreateContentV2Params) SetHTTPClientTransport ¶
func (o *PublicCreateContentV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public create content v2 params
func (*PublicCreateContentV2Params) SetNamespace ¶
func (o *PublicCreateContentV2Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the public create content v2 params
func (*PublicCreateContentV2Params) SetTimeout ¶
func (o *PublicCreateContentV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public create content v2 params
func (*PublicCreateContentV2Params) SetUserID ¶
func (o *PublicCreateContentV2Params) SetUserID(userID string)
SetUserID adds the userId to the public create content v2 params
func (*PublicCreateContentV2Params) WithBody ¶
func (o *PublicCreateContentV2Params) WithBody(body *ugcclientmodels.ModelsContentRequestV2) *PublicCreateContentV2Params
WithBody adds the body to the public create content v2 params
func (*PublicCreateContentV2Params) WithChannelID ¶
func (o *PublicCreateContentV2Params) WithChannelID(channelID string) *PublicCreateContentV2Params
WithChannelID adds the channelID to the public create content v2 params
func (*PublicCreateContentV2Params) WithContext ¶
func (o *PublicCreateContentV2Params) WithContext(ctx context.Context) *PublicCreateContentV2Params
WithContext adds the context to the public create content v2 params
func (*PublicCreateContentV2Params) WithHTTPClient ¶
func (o *PublicCreateContentV2Params) WithHTTPClient(client *http.Client) *PublicCreateContentV2Params
WithHTTPClient adds the HTTPClient to the public create content v2 params
func (*PublicCreateContentV2Params) WithNamespace ¶
func (o *PublicCreateContentV2Params) WithNamespace(namespace string) *PublicCreateContentV2Params
WithNamespace adds the namespace to the public create content v2 params
func (*PublicCreateContentV2Params) WithTimeout ¶
func (o *PublicCreateContentV2Params) WithTimeout(timeout time.Duration) *PublicCreateContentV2Params
WithTimeout adds the timeout to the public create content v2 params
func (*PublicCreateContentV2Params) WithUserID ¶
func (o *PublicCreateContentV2Params) WithUserID(userID string) *PublicCreateContentV2Params
WithUserID adds the userID to the public create content v2 params
func (*PublicCreateContentV2Params) WriteToRequest ¶
func (o *PublicCreateContentV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicCreateContentV2Reader ¶
type PublicCreateContentV2Reader struct {
// contains filtered or unexported fields
}
PublicCreateContentV2Reader is a Reader for the PublicCreateContentV2 structure.
func (*PublicCreateContentV2Reader) ReadResponse ¶
func (o *PublicCreateContentV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicCreateContentV2Unauthorized ¶
type PublicCreateContentV2Unauthorized struct {
}PublicCreateContentV2Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPublicCreateContentV2Unauthorized ¶
func NewPublicCreateContentV2Unauthorized() *PublicCreateContentV2Unauthorized
NewPublicCreateContentV2Unauthorized creates a PublicCreateContentV2Unauthorized with default headers values
func (*PublicCreateContentV2Unauthorized) Error ¶
func (o *PublicCreateContentV2Unauthorized) Error() string
func (*PublicCreateContentV2Unauthorized) GetPayload ¶
func (o *PublicCreateContentV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*PublicCreateContentV2Unauthorized) ToJSONString ¶
func (o *PublicCreateContentV2Unauthorized) ToJSONString() string
type PublicDeleteContentByShareCodeV2InternalServerError ¶ added in v0.58.0
type PublicDeleteContentByShareCodeV2InternalServerError struct {
}PublicDeleteContentByShareCodeV2InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772701</td><td>Unable to delete content/Unable to update user liked count/Unable to delete like state/Unable to delete like state</td></tr></table>
func NewPublicDeleteContentByShareCodeV2InternalServerError ¶ added in v0.58.0
func NewPublicDeleteContentByShareCodeV2InternalServerError() *PublicDeleteContentByShareCodeV2InternalServerError
NewPublicDeleteContentByShareCodeV2InternalServerError creates a PublicDeleteContentByShareCodeV2InternalServerError with default headers values
func (*PublicDeleteContentByShareCodeV2InternalServerError) Error ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeV2InternalServerError) Error() string
func (*PublicDeleteContentByShareCodeV2InternalServerError) GetPayload ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*PublicDeleteContentByShareCodeV2InternalServerError) ToJSONString ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeV2InternalServerError) ToJSONString() string
type PublicDeleteContentByShareCodeV2NoContent ¶ added in v0.58.0
type PublicDeleteContentByShareCodeV2NoContent struct { }
PublicDeleteContentByShareCodeV2NoContent handles this case with default header values.
Content deleted
func NewPublicDeleteContentByShareCodeV2NoContent ¶ added in v0.58.0
func NewPublicDeleteContentByShareCodeV2NoContent() *PublicDeleteContentByShareCodeV2NoContent
NewPublicDeleteContentByShareCodeV2NoContent creates a PublicDeleteContentByShareCodeV2NoContent with default headers values
func (*PublicDeleteContentByShareCodeV2NoContent) Error ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeV2NoContent) Error() string
type PublicDeleteContentByShareCodeV2NotFound ¶ added in v0.58.0
type PublicDeleteContentByShareCodeV2NotFound struct {
}PublicDeleteContentByShareCodeV2NotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772702</td><td>Content not found</td></tr></table>
func NewPublicDeleteContentByShareCodeV2NotFound ¶ added in v0.58.0
func NewPublicDeleteContentByShareCodeV2NotFound() *PublicDeleteContentByShareCodeV2NotFound
NewPublicDeleteContentByShareCodeV2NotFound creates a PublicDeleteContentByShareCodeV2NotFound with default headers values
func (*PublicDeleteContentByShareCodeV2NotFound) Error ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeV2NotFound) Error() string
func (*PublicDeleteContentByShareCodeV2NotFound) GetPayload ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeV2NotFound) GetPayload() *ugcclientmodels.ResponseError
func (*PublicDeleteContentByShareCodeV2NotFound) ToJSONString ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeV2NotFound) ToJSONString() string
type PublicDeleteContentByShareCodeV2Params ¶ added in v0.58.0
type PublicDeleteContentByShareCodeV2Params struct { utils.Retry ChannelID string Namespace string ShareCode string UserID string XFlightId *string // contains filtered or unexported fields }RetryPolicy *
PublicDeleteContentByShareCodeV2Params contains all the parameters to send to the API endpoint for the public delete content by share code v2 operation typically these are written to a http.Request
func NewPublicDeleteContentByShareCodeV2Params ¶ added in v0.58.0
func NewPublicDeleteContentByShareCodeV2Params() *PublicDeleteContentByShareCodeV2Params
NewPublicDeleteContentByShareCodeV2Params creates a new PublicDeleteContentByShareCodeV2Params object with the default values initialized.
func NewPublicDeleteContentByShareCodeV2ParamsWithContext ¶ added in v0.58.0
func NewPublicDeleteContentByShareCodeV2ParamsWithContext(ctx context.Context) *PublicDeleteContentByShareCodeV2Params
NewPublicDeleteContentByShareCodeV2ParamsWithContext creates a new PublicDeleteContentByShareCodeV2Params object with the default values initialized, and the ability to set a context for a request
func NewPublicDeleteContentByShareCodeV2ParamsWithHTTPClient ¶ added in v0.58.0
func NewPublicDeleteContentByShareCodeV2ParamsWithHTTPClient(client *http.Client) *PublicDeleteContentByShareCodeV2Params
NewPublicDeleteContentByShareCodeV2ParamsWithHTTPClient creates a new PublicDeleteContentByShareCodeV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicDeleteContentByShareCodeV2ParamsWithTimeout ¶ added in v0.58.0
func NewPublicDeleteContentByShareCodeV2ParamsWithTimeout(timeout time.Duration) *PublicDeleteContentByShareCodeV2Params
NewPublicDeleteContentByShareCodeV2ParamsWithTimeout creates a new PublicDeleteContentByShareCodeV2Params object with the default values initialized, and the ability to set a timeout on a request
func (*PublicDeleteContentByShareCodeV2Params) SetAuthInfoWriter ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public delete content by share code v2 params
func (*PublicDeleteContentByShareCodeV2Params) SetChannelID ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeV2Params) SetChannelID(channelID string)
SetChannelID adds the channelId to the public delete content by share code v2 params
func (*PublicDeleteContentByShareCodeV2Params) SetContext ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeV2Params) SetContext(ctx context.Context)
SetContext adds the context to the public delete content by share code v2 params
func (*PublicDeleteContentByShareCodeV2Params) SetFlightId ¶ added in v0.63.0
func (o *PublicDeleteContentByShareCodeV2Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicDeleteContentByShareCodeV2Params) SetHTTPClient ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public delete content by share code v2 params
func (*PublicDeleteContentByShareCodeV2Params) SetHTTPClientTransport ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public delete content by share code v2 params
func (*PublicDeleteContentByShareCodeV2Params) SetNamespace ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeV2Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the public delete content by share code v2 params
func (*PublicDeleteContentByShareCodeV2Params) SetShareCode ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeV2Params) SetShareCode(shareCode string)
SetShareCode adds the shareCode to the public delete content by share code v2 params
func (*PublicDeleteContentByShareCodeV2Params) SetTimeout ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public delete content by share code v2 params
func (*PublicDeleteContentByShareCodeV2Params) SetUserID ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeV2Params) SetUserID(userID string)
SetUserID adds the userId to the public delete content by share code v2 params
func (*PublicDeleteContentByShareCodeV2Params) WithChannelID ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeV2Params) WithChannelID(channelID string) *PublicDeleteContentByShareCodeV2Params
WithChannelID adds the channelID to the public delete content by share code v2 params
func (*PublicDeleteContentByShareCodeV2Params) WithContext ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeV2Params) WithContext(ctx context.Context) *PublicDeleteContentByShareCodeV2Params
WithContext adds the context to the public delete content by share code v2 params
func (*PublicDeleteContentByShareCodeV2Params) WithHTTPClient ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeV2Params) WithHTTPClient(client *http.Client) *PublicDeleteContentByShareCodeV2Params
WithHTTPClient adds the HTTPClient to the public delete content by share code v2 params
func (*PublicDeleteContentByShareCodeV2Params) WithNamespace ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeV2Params) WithNamespace(namespace string) *PublicDeleteContentByShareCodeV2Params
WithNamespace adds the namespace to the public delete content by share code v2 params
func (*PublicDeleteContentByShareCodeV2Params) WithShareCode ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeV2Params) WithShareCode(shareCode string) *PublicDeleteContentByShareCodeV2Params
WithShareCode adds the shareCode to the public delete content by share code v2 params
func (*PublicDeleteContentByShareCodeV2Params) WithTimeout ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeV2Params) WithTimeout(timeout time.Duration) *PublicDeleteContentByShareCodeV2Params
WithTimeout adds the timeout to the public delete content by share code v2 params
func (*PublicDeleteContentByShareCodeV2Params) WithUserID ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeV2Params) WithUserID(userID string) *PublicDeleteContentByShareCodeV2Params
WithUserID adds the userID to the public delete content by share code v2 params
func (*PublicDeleteContentByShareCodeV2Params) WriteToRequest ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicDeleteContentByShareCodeV2Reader ¶ added in v0.58.0
type PublicDeleteContentByShareCodeV2Reader struct {
// contains filtered or unexported fields
}
PublicDeleteContentByShareCodeV2Reader is a Reader for the PublicDeleteContentByShareCodeV2 structure.
func (*PublicDeleteContentByShareCodeV2Reader) ReadResponse ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicDeleteContentByShareCodeV2Unauthorized ¶ added in v0.58.0
type PublicDeleteContentByShareCodeV2Unauthorized struct {
}PublicDeleteContentByShareCodeV2Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPublicDeleteContentByShareCodeV2Unauthorized ¶ added in v0.58.0
func NewPublicDeleteContentByShareCodeV2Unauthorized() *PublicDeleteContentByShareCodeV2Unauthorized
NewPublicDeleteContentByShareCodeV2Unauthorized creates a PublicDeleteContentByShareCodeV2Unauthorized with default headers values
func (*PublicDeleteContentByShareCodeV2Unauthorized) Error ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeV2Unauthorized) Error() string
func (*PublicDeleteContentByShareCodeV2Unauthorized) GetPayload ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*PublicDeleteContentByShareCodeV2Unauthorized) ToJSONString ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeV2Unauthorized) ToJSONString() string
type PublicDeleteContentV2InternalServerError ¶
type PublicDeleteContentV2InternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
PublicDeleteContentV2InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772701</td><td>Unable to delete content/Unable to update user liked count/Unable to delete like state/Unable to delete like state</td></tr></table>
func NewPublicDeleteContentV2InternalServerError ¶
func NewPublicDeleteContentV2InternalServerError() *PublicDeleteContentV2InternalServerError
NewPublicDeleteContentV2InternalServerError creates a PublicDeleteContentV2InternalServerError with default headers values
func (*PublicDeleteContentV2InternalServerError) Error ¶
func (o *PublicDeleteContentV2InternalServerError) Error() string
func (*PublicDeleteContentV2InternalServerError) GetPayload ¶
func (o *PublicDeleteContentV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*PublicDeleteContentV2InternalServerError) ToJSONString ¶
func (o *PublicDeleteContentV2InternalServerError) ToJSONString() string
type PublicDeleteContentV2NoContent ¶
type PublicDeleteContentV2NoContent struct { }
PublicDeleteContentV2NoContent handles this case with default header values.
Content deleted
func NewPublicDeleteContentV2NoContent ¶
func NewPublicDeleteContentV2NoContent() *PublicDeleteContentV2NoContent
NewPublicDeleteContentV2NoContent creates a PublicDeleteContentV2NoContent with default headers values
func (*PublicDeleteContentV2NoContent) Error ¶
func (o *PublicDeleteContentV2NoContent) Error() string
type PublicDeleteContentV2NotFound ¶
type PublicDeleteContentV2NotFound struct {
Payload *ugcclientmodels.ResponseError
}
PublicDeleteContentV2NotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772702</td><td>Content not found</td></tr></table>
func NewPublicDeleteContentV2NotFound ¶
func NewPublicDeleteContentV2NotFound() *PublicDeleteContentV2NotFound
NewPublicDeleteContentV2NotFound creates a PublicDeleteContentV2NotFound with default headers values
func (*PublicDeleteContentV2NotFound) Error ¶
func (o *PublicDeleteContentV2NotFound) Error() string
func (*PublicDeleteContentV2NotFound) GetPayload ¶
func (o *PublicDeleteContentV2NotFound) GetPayload() *ugcclientmodels.ResponseError
func (*PublicDeleteContentV2NotFound) ToJSONString ¶
func (o *PublicDeleteContentV2NotFound) ToJSONString() string
type PublicDeleteContentV2Params ¶
type PublicDeleteContentV2Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ChannelID channel ID */ ChannelID string /*ContentID content ID */ ContentID string /*Namespace namespace of the game */ Namespace string /*UserID user ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicDeleteContentV2Params contains all the parameters to send to the API endpoint for the public delete content v2 operation typically these are written to a http.Request
func NewPublicDeleteContentV2Params ¶
func NewPublicDeleteContentV2Params() *PublicDeleteContentV2Params
NewPublicDeleteContentV2Params creates a new PublicDeleteContentV2Params object with the default values initialized.
func NewPublicDeleteContentV2ParamsWithContext ¶
func NewPublicDeleteContentV2ParamsWithContext(ctx context.Context) *PublicDeleteContentV2Params
NewPublicDeleteContentV2ParamsWithContext creates a new PublicDeleteContentV2Params object with the default values initialized, and the ability to set a context for a request
func NewPublicDeleteContentV2ParamsWithHTTPClient ¶
func NewPublicDeleteContentV2ParamsWithHTTPClient(client *http.Client) *PublicDeleteContentV2Params
NewPublicDeleteContentV2ParamsWithHTTPClient creates a new PublicDeleteContentV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicDeleteContentV2ParamsWithTimeout ¶
func NewPublicDeleteContentV2ParamsWithTimeout(timeout time.Duration) *PublicDeleteContentV2Params
NewPublicDeleteContentV2ParamsWithTimeout creates a new PublicDeleteContentV2Params object with the default values initialized, and the ability to set a timeout on a request
func (*PublicDeleteContentV2Params) SetAuthInfoWriter ¶
func (o *PublicDeleteContentV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public delete content v2 params
func (*PublicDeleteContentV2Params) SetChannelID ¶
func (o *PublicDeleteContentV2Params) SetChannelID(channelID string)
SetChannelID adds the channelId to the public delete content v2 params
func (*PublicDeleteContentV2Params) SetContentID ¶
func (o *PublicDeleteContentV2Params) SetContentID(contentID string)
SetContentID adds the contentId to the public delete content v2 params
func (*PublicDeleteContentV2Params) SetContext ¶
func (o *PublicDeleteContentV2Params) SetContext(ctx context.Context)
SetContext adds the context to the public delete content v2 params
func (*PublicDeleteContentV2Params) SetFlightId ¶ added in v0.63.0
func (o *PublicDeleteContentV2Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicDeleteContentV2Params) SetHTTPClient ¶
func (o *PublicDeleteContentV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public delete content v2 params
func (*PublicDeleteContentV2Params) SetHTTPClientTransport ¶
func (o *PublicDeleteContentV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public delete content v2 params
func (*PublicDeleteContentV2Params) SetNamespace ¶
func (o *PublicDeleteContentV2Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the public delete content v2 params
func (*PublicDeleteContentV2Params) SetTimeout ¶
func (o *PublicDeleteContentV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public delete content v2 params
func (*PublicDeleteContentV2Params) SetUserID ¶
func (o *PublicDeleteContentV2Params) SetUserID(userID string)
SetUserID adds the userId to the public delete content v2 params
func (*PublicDeleteContentV2Params) WithChannelID ¶
func (o *PublicDeleteContentV2Params) WithChannelID(channelID string) *PublicDeleteContentV2Params
WithChannelID adds the channelID to the public delete content v2 params
func (*PublicDeleteContentV2Params) WithContentID ¶
func (o *PublicDeleteContentV2Params) WithContentID(contentID string) *PublicDeleteContentV2Params
WithContentID adds the contentID to the public delete content v2 params
func (*PublicDeleteContentV2Params) WithContext ¶
func (o *PublicDeleteContentV2Params) WithContext(ctx context.Context) *PublicDeleteContentV2Params
WithContext adds the context to the public delete content v2 params
func (*PublicDeleteContentV2Params) WithHTTPClient ¶
func (o *PublicDeleteContentV2Params) WithHTTPClient(client *http.Client) *PublicDeleteContentV2Params
WithHTTPClient adds the HTTPClient to the public delete content v2 params
func (*PublicDeleteContentV2Params) WithNamespace ¶
func (o *PublicDeleteContentV2Params) WithNamespace(namespace string) *PublicDeleteContentV2Params
WithNamespace adds the namespace to the public delete content v2 params
func (*PublicDeleteContentV2Params) WithTimeout ¶
func (o *PublicDeleteContentV2Params) WithTimeout(timeout time.Duration) *PublicDeleteContentV2Params
WithTimeout adds the timeout to the public delete content v2 params
func (*PublicDeleteContentV2Params) WithUserID ¶
func (o *PublicDeleteContentV2Params) WithUserID(userID string) *PublicDeleteContentV2Params
WithUserID adds the userID to the public delete content v2 params
func (*PublicDeleteContentV2Params) WriteToRequest ¶
func (o *PublicDeleteContentV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicDeleteContentV2Reader ¶
type PublicDeleteContentV2Reader struct {
// contains filtered or unexported fields
}
PublicDeleteContentV2Reader is a Reader for the PublicDeleteContentV2 structure.
func (*PublicDeleteContentV2Reader) ReadResponse ¶
func (o *PublicDeleteContentV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicDeleteContentV2Unauthorized ¶
type PublicDeleteContentV2Unauthorized struct {
}PublicDeleteContentV2Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPublicDeleteContentV2Unauthorized ¶
func NewPublicDeleteContentV2Unauthorized() *PublicDeleteContentV2Unauthorized
NewPublicDeleteContentV2Unauthorized creates a PublicDeleteContentV2Unauthorized with default headers values
func (*PublicDeleteContentV2Unauthorized) Error ¶
func (o *PublicDeleteContentV2Unauthorized) Error() string
func (*PublicDeleteContentV2Unauthorized) GetPayload ¶
func (o *PublicDeleteContentV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*PublicDeleteContentV2Unauthorized) ToJSONString ¶
func (o *PublicDeleteContentV2Unauthorized) ToJSONString() string
type PublicGenerateContentUploadURLV2BadRequest ¶
type PublicGenerateContentUploadURLV2BadRequest struct {
Payload *ugcclientmodels.ResponseError
}
PublicGenerateContentUploadURLV2BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772601</td><td>Malformed request</td></tr></table>
func NewPublicGenerateContentUploadURLV2BadRequest ¶
func NewPublicGenerateContentUploadURLV2BadRequest() *PublicGenerateContentUploadURLV2BadRequest
NewPublicGenerateContentUploadURLV2BadRequest creates a PublicGenerateContentUploadURLV2BadRequest with default headers values
func (*PublicGenerateContentUploadURLV2BadRequest) Error ¶
func (o *PublicGenerateContentUploadURLV2BadRequest) Error() string
func (*PublicGenerateContentUploadURLV2BadRequest) GetPayload ¶
func (o *PublicGenerateContentUploadURLV2BadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGenerateContentUploadURLV2BadRequest) ToJSONString ¶
func (o *PublicGenerateContentUploadURLV2BadRequest) ToJSONString() string
type PublicGenerateContentUploadURLV2Forbidden ¶ added in v0.60.0
type PublicGenerateContentUploadURLV2Forbidden struct {
Payload *ugcclientmodels.ResponseError
}
PublicGenerateContentUploadURLV2Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772604</td><td>User has been banned to update content</td></tr></table>
func NewPublicGenerateContentUploadURLV2Forbidden ¶ added in v0.60.0
func NewPublicGenerateContentUploadURLV2Forbidden() *PublicGenerateContentUploadURLV2Forbidden
NewPublicGenerateContentUploadURLV2Forbidden creates a PublicGenerateContentUploadURLV2Forbidden with default headers values
func (*PublicGenerateContentUploadURLV2Forbidden) Error ¶ added in v0.60.0
func (o *PublicGenerateContentUploadURLV2Forbidden) Error() string
func (*PublicGenerateContentUploadURLV2Forbidden) GetPayload ¶ added in v0.60.0
func (o *PublicGenerateContentUploadURLV2Forbidden) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGenerateContentUploadURLV2Forbidden) ToJSONString ¶ added in v0.60.0
func (o *PublicGenerateContentUploadURLV2Forbidden) ToJSONString() string
type PublicGenerateContentUploadURLV2InternalServerError ¶
type PublicGenerateContentUploadURLV2InternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
PublicGenerateContentUploadURLV2InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772602</td><td>Unable to check user ban status/Unable to get updated ugc content</td></tr><tr><td>772605</td><td>Unable to save ugc content: failed generate upload URL</td></tr></table>
func NewPublicGenerateContentUploadURLV2InternalServerError ¶
func NewPublicGenerateContentUploadURLV2InternalServerError() *PublicGenerateContentUploadURLV2InternalServerError
NewPublicGenerateContentUploadURLV2InternalServerError creates a PublicGenerateContentUploadURLV2InternalServerError with default headers values
func (*PublicGenerateContentUploadURLV2InternalServerError) Error ¶
func (o *PublicGenerateContentUploadURLV2InternalServerError) Error() string
func (*PublicGenerateContentUploadURLV2InternalServerError) GetPayload ¶
func (o *PublicGenerateContentUploadURLV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGenerateContentUploadURLV2InternalServerError) ToJSONString ¶
func (o *PublicGenerateContentUploadURLV2InternalServerError) ToJSONString() string
type PublicGenerateContentUploadURLV2NotFound ¶ added in v0.60.0
type PublicGenerateContentUploadURLV2NotFound struct {
Payload *ugcclientmodels.ResponseError
}
PublicGenerateContentUploadURLV2NotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772603</td><td>Content not found</td></tr></table>
func NewPublicGenerateContentUploadURLV2NotFound ¶ added in v0.60.0
func NewPublicGenerateContentUploadURLV2NotFound() *PublicGenerateContentUploadURLV2NotFound
NewPublicGenerateContentUploadURLV2NotFound creates a PublicGenerateContentUploadURLV2NotFound with default headers values
func (*PublicGenerateContentUploadURLV2NotFound) Error ¶ added in v0.60.0
func (o *PublicGenerateContentUploadURLV2NotFound) Error() string
func (*PublicGenerateContentUploadURLV2NotFound) GetPayload ¶ added in v0.60.0
func (o *PublicGenerateContentUploadURLV2NotFound) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGenerateContentUploadURLV2NotFound) ToJSONString ¶ added in v0.60.0
func (o *PublicGenerateContentUploadURLV2NotFound) ToJSONString() string
type PublicGenerateContentUploadURLV2OK ¶
type PublicGenerateContentUploadURLV2OK struct {
Payload *ugcclientmodels.ModelsGenerateContentUploadURLResponse
}
PublicGenerateContentUploadURLV2OK handles this case with default header values.
content upload URL generated
func NewPublicGenerateContentUploadURLV2OK ¶
func NewPublicGenerateContentUploadURLV2OK() *PublicGenerateContentUploadURLV2OK
NewPublicGenerateContentUploadURLV2OK creates a PublicGenerateContentUploadURLV2OK with default headers values
func (*PublicGenerateContentUploadURLV2OK) Error ¶
func (o *PublicGenerateContentUploadURLV2OK) Error() string
func (*PublicGenerateContentUploadURLV2OK) GetPayload ¶
func (o *PublicGenerateContentUploadURLV2OK) GetPayload() *ugcclientmodels.ModelsGenerateContentUploadURLResponse
func (*PublicGenerateContentUploadURLV2OK) ToJSONString ¶
func (o *PublicGenerateContentUploadURLV2OK) ToJSONString() string
type PublicGenerateContentUploadURLV2Params ¶
type PublicGenerateContentUploadURLV2Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *ugcclientmodels.ModelsGenerateContentUploadURLRequest /*ChannelID channel ID */ ChannelID string /*ContentID content ID */ ContentID string /*Namespace namespace of the game */ Namespace string /*UserID user ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicGenerateContentUploadURLV2Params contains all the parameters to send to the API endpoint for the public generate content upload urlv2 operation typically these are written to a http.Request
func NewPublicGenerateContentUploadURLV2Params ¶
func NewPublicGenerateContentUploadURLV2Params() *PublicGenerateContentUploadURLV2Params
NewPublicGenerateContentUploadURLV2Params creates a new PublicGenerateContentUploadURLV2Params object with the default values initialized.
func NewPublicGenerateContentUploadURLV2ParamsWithContext ¶
func NewPublicGenerateContentUploadURLV2ParamsWithContext(ctx context.Context) *PublicGenerateContentUploadURLV2Params
NewPublicGenerateContentUploadURLV2ParamsWithContext creates a new PublicGenerateContentUploadURLV2Params object with the default values initialized, and the ability to set a context for a request
func NewPublicGenerateContentUploadURLV2ParamsWithHTTPClient ¶
func NewPublicGenerateContentUploadURLV2ParamsWithHTTPClient(client *http.Client) *PublicGenerateContentUploadURLV2Params
NewPublicGenerateContentUploadURLV2ParamsWithHTTPClient creates a new PublicGenerateContentUploadURLV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGenerateContentUploadURLV2ParamsWithTimeout ¶
func NewPublicGenerateContentUploadURLV2ParamsWithTimeout(timeout time.Duration) *PublicGenerateContentUploadURLV2Params
NewPublicGenerateContentUploadURLV2ParamsWithTimeout creates a new PublicGenerateContentUploadURLV2Params object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGenerateContentUploadURLV2Params) SetAuthInfoWriter ¶
func (o *PublicGenerateContentUploadURLV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public generate content upload urlv2 params
func (*PublicGenerateContentUploadURLV2Params) SetBody ¶
func (o *PublicGenerateContentUploadURLV2Params) SetBody(body *ugcclientmodels.ModelsGenerateContentUploadURLRequest)
SetBody adds the body to the public generate content upload urlv2 params
func (*PublicGenerateContentUploadURLV2Params) SetChannelID ¶
func (o *PublicGenerateContentUploadURLV2Params) SetChannelID(channelID string)
SetChannelID adds the channelId to the public generate content upload urlv2 params
func (*PublicGenerateContentUploadURLV2Params) SetContentID ¶
func (o *PublicGenerateContentUploadURLV2Params) SetContentID(contentID string)
SetContentID adds the contentId to the public generate content upload urlv2 params
func (*PublicGenerateContentUploadURLV2Params) SetContext ¶
func (o *PublicGenerateContentUploadURLV2Params) SetContext(ctx context.Context)
SetContext adds the context to the public generate content upload urlv2 params
func (*PublicGenerateContentUploadURLV2Params) SetFlightId ¶ added in v0.63.0
func (o *PublicGenerateContentUploadURLV2Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicGenerateContentUploadURLV2Params) SetHTTPClient ¶
func (o *PublicGenerateContentUploadURLV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public generate content upload urlv2 params
func (*PublicGenerateContentUploadURLV2Params) SetHTTPClientTransport ¶
func (o *PublicGenerateContentUploadURLV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public generate content upload urlv2 params
func (*PublicGenerateContentUploadURLV2Params) SetNamespace ¶
func (o *PublicGenerateContentUploadURLV2Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the public generate content upload urlv2 params
func (*PublicGenerateContentUploadURLV2Params) SetTimeout ¶
func (o *PublicGenerateContentUploadURLV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public generate content upload urlv2 params
func (*PublicGenerateContentUploadURLV2Params) SetUserID ¶
func (o *PublicGenerateContentUploadURLV2Params) SetUserID(userID string)
SetUserID adds the userId to the public generate content upload urlv2 params
func (*PublicGenerateContentUploadURLV2Params) WithBody ¶
func (o *PublicGenerateContentUploadURLV2Params) WithBody(body *ugcclientmodels.ModelsGenerateContentUploadURLRequest) *PublicGenerateContentUploadURLV2Params
WithBody adds the body to the public generate content upload urlv2 params
func (*PublicGenerateContentUploadURLV2Params) WithChannelID ¶
func (o *PublicGenerateContentUploadURLV2Params) WithChannelID(channelID string) *PublicGenerateContentUploadURLV2Params
WithChannelID adds the channelID to the public generate content upload urlv2 params
func (*PublicGenerateContentUploadURLV2Params) WithContentID ¶
func (o *PublicGenerateContentUploadURLV2Params) WithContentID(contentID string) *PublicGenerateContentUploadURLV2Params
WithContentID adds the contentID to the public generate content upload urlv2 params
func (*PublicGenerateContentUploadURLV2Params) WithContext ¶
func (o *PublicGenerateContentUploadURLV2Params) WithContext(ctx context.Context) *PublicGenerateContentUploadURLV2Params
WithContext adds the context to the public generate content upload urlv2 params
func (*PublicGenerateContentUploadURLV2Params) WithHTTPClient ¶
func (o *PublicGenerateContentUploadURLV2Params) WithHTTPClient(client *http.Client) *PublicGenerateContentUploadURLV2Params
WithHTTPClient adds the HTTPClient to the public generate content upload urlv2 params
func (*PublicGenerateContentUploadURLV2Params) WithNamespace ¶
func (o *PublicGenerateContentUploadURLV2Params) WithNamespace(namespace string) *PublicGenerateContentUploadURLV2Params
WithNamespace adds the namespace to the public generate content upload urlv2 params
func (*PublicGenerateContentUploadURLV2Params) WithTimeout ¶
func (o *PublicGenerateContentUploadURLV2Params) WithTimeout(timeout time.Duration) *PublicGenerateContentUploadURLV2Params
WithTimeout adds the timeout to the public generate content upload urlv2 params
func (*PublicGenerateContentUploadURLV2Params) WithUserID ¶
func (o *PublicGenerateContentUploadURLV2Params) WithUserID(userID string) *PublicGenerateContentUploadURLV2Params
WithUserID adds the userID to the public generate content upload urlv2 params
func (*PublicGenerateContentUploadURLV2Params) WriteToRequest ¶
func (o *PublicGenerateContentUploadURLV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGenerateContentUploadURLV2Reader ¶
type PublicGenerateContentUploadURLV2Reader struct {
// contains filtered or unexported fields
}
PublicGenerateContentUploadURLV2Reader is a Reader for the PublicGenerateContentUploadURLV2 structure.
func (*PublicGenerateContentUploadURLV2Reader) ReadResponse ¶
func (o *PublicGenerateContentUploadURLV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGenerateContentUploadURLV2Unauthorized ¶
type PublicGenerateContentUploadURLV2Unauthorized struct {
}PublicGenerateContentUploadURLV2Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPublicGenerateContentUploadURLV2Unauthorized ¶
func NewPublicGenerateContentUploadURLV2Unauthorized() *PublicGenerateContentUploadURLV2Unauthorized
NewPublicGenerateContentUploadURLV2Unauthorized creates a PublicGenerateContentUploadURLV2Unauthorized with default headers values
func (*PublicGenerateContentUploadURLV2Unauthorized) Error ¶
func (o *PublicGenerateContentUploadURLV2Unauthorized) Error() string
func (*PublicGenerateContentUploadURLV2Unauthorized) GetPayload ¶
func (o *PublicGenerateContentUploadURLV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGenerateContentUploadURLV2Unauthorized) ToJSONString ¶
func (o *PublicGenerateContentUploadURLV2Unauthorized) ToJSONString() string
type PublicGetContentBulkByShareCodesV2BadRequest ¶ added in v0.59.0
type PublicGetContentBulkByShareCodesV2BadRequest struct {
}PublicGetContentBulkByShareCodesV2BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773900</td><td>Malformed request/Invalid request body</td></tr></table>
func NewPublicGetContentBulkByShareCodesV2BadRequest ¶ added in v0.59.0
func NewPublicGetContentBulkByShareCodesV2BadRequest() *PublicGetContentBulkByShareCodesV2BadRequest
NewPublicGetContentBulkByShareCodesV2BadRequest creates a PublicGetContentBulkByShareCodesV2BadRequest with default headers values
func (*PublicGetContentBulkByShareCodesV2BadRequest) Error ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesV2BadRequest) Error() string
func (*PublicGetContentBulkByShareCodesV2BadRequest) GetPayload ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesV2BadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGetContentBulkByShareCodesV2BadRequest) ToJSONString ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesV2BadRequest) ToJSONString() string
type PublicGetContentBulkByShareCodesV2Forbidden ¶ added in v0.59.0
type PublicGetContentBulkByShareCodesV2Forbidden struct {
}PublicGetContentBulkByShareCodesV2Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewPublicGetContentBulkByShareCodesV2Forbidden ¶ added in v0.59.0
func NewPublicGetContentBulkByShareCodesV2Forbidden() *PublicGetContentBulkByShareCodesV2Forbidden
NewPublicGetContentBulkByShareCodesV2Forbidden creates a PublicGetContentBulkByShareCodesV2Forbidden with default headers values
func (*PublicGetContentBulkByShareCodesV2Forbidden) Error ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesV2Forbidden) Error() string
func (*PublicGetContentBulkByShareCodesV2Forbidden) GetPayload ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesV2Forbidden) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGetContentBulkByShareCodesV2Forbidden) ToJSONString ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesV2Forbidden) ToJSONString() string
type PublicGetContentBulkByShareCodesV2InternalServerError ¶ added in v0.59.0
type PublicGetContentBulkByShareCodesV2InternalServerError struct {
}PublicGetContentBulkByShareCodesV2InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773901</td><td>Unable to get ugc content: database/Unable to get creator</td></tr><tr><td>773902</td><td>Failed generate download URL</td></tr></table>
func NewPublicGetContentBulkByShareCodesV2InternalServerError ¶ added in v0.59.0
func NewPublicGetContentBulkByShareCodesV2InternalServerError() *PublicGetContentBulkByShareCodesV2InternalServerError
NewPublicGetContentBulkByShareCodesV2InternalServerError creates a PublicGetContentBulkByShareCodesV2InternalServerError with default headers values
func (*PublicGetContentBulkByShareCodesV2InternalServerError) Error ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesV2InternalServerError) Error() string
func (*PublicGetContentBulkByShareCodesV2InternalServerError) GetPayload ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGetContentBulkByShareCodesV2InternalServerError) ToJSONString ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesV2InternalServerError) ToJSONString() string
type PublicGetContentBulkByShareCodesV2OK ¶ added in v0.59.0
type PublicGetContentBulkByShareCodesV2OK struct {
}PublicGetContentBulkByShareCodesV2OK handles this case with default header values.
Bulk get content by content sharecodes
func NewPublicGetContentBulkByShareCodesV2OK ¶ added in v0.59.0
func NewPublicGetContentBulkByShareCodesV2OK() *PublicGetContentBulkByShareCodesV2OK
NewPublicGetContentBulkByShareCodesV2OK creates a PublicGetContentBulkByShareCodesV2OK with default headers values
func (*PublicGetContentBulkByShareCodesV2OK) Error ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesV2OK) Error() string
func (*PublicGetContentBulkByShareCodesV2OK) GetPayload ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesV2OK) GetPayload() []*ugcclientmodels.ModelsContentDownloadResponseV2
func (*PublicGetContentBulkByShareCodesV2OK) ToJSONString ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesV2OK) ToJSONString() string
type PublicGetContentBulkByShareCodesV2Params ¶ added in v0.59.0
type PublicGetContentBulkByShareCodesV2Params struct { utils.Retry Body *ugcclientmodels.ModelsGetContentBulkByShareCodesRequest Namespace string XFlightId *string // contains filtered or unexported fields }RetryPolicy *
PublicGetContentBulkByShareCodesV2Params contains all the parameters to send to the API endpoint for the public get content bulk by share codes v2 operation typically these are written to a http.Request
func NewPublicGetContentBulkByShareCodesV2Params ¶ added in v0.59.0
func NewPublicGetContentBulkByShareCodesV2Params() *PublicGetContentBulkByShareCodesV2Params
NewPublicGetContentBulkByShareCodesV2Params creates a new PublicGetContentBulkByShareCodesV2Params object with the default values initialized.
func NewPublicGetContentBulkByShareCodesV2ParamsWithContext ¶ added in v0.59.0
func NewPublicGetContentBulkByShareCodesV2ParamsWithContext(ctx context.Context) *PublicGetContentBulkByShareCodesV2Params
NewPublicGetContentBulkByShareCodesV2ParamsWithContext creates a new PublicGetContentBulkByShareCodesV2Params object with the default values initialized, and the ability to set a context for a request
func NewPublicGetContentBulkByShareCodesV2ParamsWithHTTPClient ¶ added in v0.59.0
func NewPublicGetContentBulkByShareCodesV2ParamsWithHTTPClient(client *http.Client) *PublicGetContentBulkByShareCodesV2Params
NewPublicGetContentBulkByShareCodesV2ParamsWithHTTPClient creates a new PublicGetContentBulkByShareCodesV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetContentBulkByShareCodesV2ParamsWithTimeout ¶ added in v0.59.0
func NewPublicGetContentBulkByShareCodesV2ParamsWithTimeout(timeout time.Duration) *PublicGetContentBulkByShareCodesV2Params
NewPublicGetContentBulkByShareCodesV2ParamsWithTimeout creates a new PublicGetContentBulkByShareCodesV2Params object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetContentBulkByShareCodesV2Params) SetAuthInfoWriter ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get content bulk by share codes v2 params
func (*PublicGetContentBulkByShareCodesV2Params) SetBody ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesV2Params) SetBody(body *ugcclientmodels.ModelsGetContentBulkByShareCodesRequest)
SetBody adds the body to the public get content bulk by share codes v2 params
func (*PublicGetContentBulkByShareCodesV2Params) SetContext ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesV2Params) SetContext(ctx context.Context)
SetContext adds the context to the public get content bulk by share codes v2 params
func (*PublicGetContentBulkByShareCodesV2Params) SetFlightId ¶ added in v0.63.0
func (o *PublicGetContentBulkByShareCodesV2Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicGetContentBulkByShareCodesV2Params) SetHTTPClient ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get content bulk by share codes v2 params
func (*PublicGetContentBulkByShareCodesV2Params) SetHTTPClientTransport ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get content bulk by share codes v2 params
func (*PublicGetContentBulkByShareCodesV2Params) SetNamespace ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesV2Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get content bulk by share codes v2 params
func (*PublicGetContentBulkByShareCodesV2Params) SetTimeout ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get content bulk by share codes v2 params
func (*PublicGetContentBulkByShareCodesV2Params) WithBody ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesV2Params) WithBody(body *ugcclientmodels.ModelsGetContentBulkByShareCodesRequest) *PublicGetContentBulkByShareCodesV2Params
WithBody adds the body to the public get content bulk by share codes v2 params
func (*PublicGetContentBulkByShareCodesV2Params) WithContext ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesV2Params) WithContext(ctx context.Context) *PublicGetContentBulkByShareCodesV2Params
WithContext adds the context to the public get content bulk by share codes v2 params
func (*PublicGetContentBulkByShareCodesV2Params) WithHTTPClient ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesV2Params) WithHTTPClient(client *http.Client) *PublicGetContentBulkByShareCodesV2Params
WithHTTPClient adds the HTTPClient to the public get content bulk by share codes v2 params
func (*PublicGetContentBulkByShareCodesV2Params) WithNamespace ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesV2Params) WithNamespace(namespace string) *PublicGetContentBulkByShareCodesV2Params
WithNamespace adds the namespace to the public get content bulk by share codes v2 params
func (*PublicGetContentBulkByShareCodesV2Params) WithTimeout ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesV2Params) WithTimeout(timeout time.Duration) *PublicGetContentBulkByShareCodesV2Params
WithTimeout adds the timeout to the public get content bulk by share codes v2 params
func (*PublicGetContentBulkByShareCodesV2Params) WriteToRequest ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetContentBulkByShareCodesV2Reader ¶ added in v0.59.0
type PublicGetContentBulkByShareCodesV2Reader struct {
// contains filtered or unexported fields
}
PublicGetContentBulkByShareCodesV2Reader is a Reader for the PublicGetContentBulkByShareCodesV2 structure.
func (*PublicGetContentBulkByShareCodesV2Reader) ReadResponse ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetContentBulkByShareCodesV2Unauthorized ¶ added in v0.59.0
type PublicGetContentBulkByShareCodesV2Unauthorized struct {
}PublicGetContentBulkByShareCodesV2Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPublicGetContentBulkByShareCodesV2Unauthorized ¶ added in v0.59.0
func NewPublicGetContentBulkByShareCodesV2Unauthorized() *PublicGetContentBulkByShareCodesV2Unauthorized
NewPublicGetContentBulkByShareCodesV2Unauthorized creates a PublicGetContentBulkByShareCodesV2Unauthorized with default headers values
func (*PublicGetContentBulkByShareCodesV2Unauthorized) Error ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesV2Unauthorized) Error() string
func (*PublicGetContentBulkByShareCodesV2Unauthorized) GetPayload ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGetContentBulkByShareCodesV2Unauthorized) ToJSONString ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesV2Unauthorized) ToJSONString() string
type PublicGetContentByChannelIDV2BadRequest ¶ added in v0.60.0
type PublicGetContentByChannelIDV2BadRequest struct {
Payload *ugcclientmodels.ResponseError
}
PublicGetContentByChannelIDV2BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770804</td><td>invalid paging parameter</td></tr></table>
func NewPublicGetContentByChannelIDV2BadRequest ¶ added in v0.60.0
func NewPublicGetContentByChannelIDV2BadRequest() *PublicGetContentByChannelIDV2BadRequest
NewPublicGetContentByChannelIDV2BadRequest creates a PublicGetContentByChannelIDV2BadRequest with default headers values
func (*PublicGetContentByChannelIDV2BadRequest) Error ¶ added in v0.60.0
func (o *PublicGetContentByChannelIDV2BadRequest) Error() string
func (*PublicGetContentByChannelIDV2BadRequest) GetPayload ¶ added in v0.60.0
func (o *PublicGetContentByChannelIDV2BadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGetContentByChannelIDV2BadRequest) ToJSONString ¶ added in v0.60.0
func (o *PublicGetContentByChannelIDV2BadRequest) ToJSONString() string
type PublicGetContentByChannelIDV2InternalServerError ¶
type PublicGetContentByChannelIDV2InternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
PublicGetContentByChannelIDV2InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770805</td><td>Unable to get ugc content: database error</td></tr></table>
func NewPublicGetContentByChannelIDV2InternalServerError ¶
func NewPublicGetContentByChannelIDV2InternalServerError() *PublicGetContentByChannelIDV2InternalServerError
NewPublicGetContentByChannelIDV2InternalServerError creates a PublicGetContentByChannelIDV2InternalServerError with default headers values
func (*PublicGetContentByChannelIDV2InternalServerError) Error ¶
func (o *PublicGetContentByChannelIDV2InternalServerError) Error() string
func (*PublicGetContentByChannelIDV2InternalServerError) GetPayload ¶
func (o *PublicGetContentByChannelIDV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGetContentByChannelIDV2InternalServerError) ToJSONString ¶
func (o *PublicGetContentByChannelIDV2InternalServerError) ToJSONString() string
type PublicGetContentByChannelIDV2OK ¶
type PublicGetContentByChannelIDV2OK struct {
Payload *ugcclientmodels.ModelsPaginatedContentDownloadResponseV2
}
PublicGetContentByChannelIDV2OK handles this case with default header values.
List content specific to a channel
func NewPublicGetContentByChannelIDV2OK ¶
func NewPublicGetContentByChannelIDV2OK() *PublicGetContentByChannelIDV2OK
NewPublicGetContentByChannelIDV2OK creates a PublicGetContentByChannelIDV2OK with default headers values
func (*PublicGetContentByChannelIDV2OK) Error ¶
func (o *PublicGetContentByChannelIDV2OK) Error() string
func (*PublicGetContentByChannelIDV2OK) GetPayload ¶
func (o *PublicGetContentByChannelIDV2OK) GetPayload() *ugcclientmodels.ModelsPaginatedContentDownloadResponseV2
func (*PublicGetContentByChannelIDV2OK) ToJSONString ¶
func (o *PublicGetContentByChannelIDV2OK) ToJSONString() string
type PublicGetContentByChannelIDV2Params ¶
type PublicGetContentByChannelIDV2Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ChannelID channel ID */ ChannelID string /*Namespace namespace of the game */ Namespace string /*Limit number of content per page. max limit: -1 (-1 means unlimited). */ Limit *int64 /*Name content name */ Name *string /*Offset the offset number to retrieve */ Offset *int64 /*SortBy available values: - *createdTime* - *createdTime:desc* - *createdTime:asc* - *updatedTime* - *updatedTime:desc* - *updatedTime:asc* */ SortBy *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicGetContentByChannelIDV2Params contains all the parameters to send to the API endpoint for the public get content by channel idv2 operation typically these are written to a http.Request
func NewPublicGetContentByChannelIDV2Params ¶
func NewPublicGetContentByChannelIDV2Params() *PublicGetContentByChannelIDV2Params
NewPublicGetContentByChannelIDV2Params creates a new PublicGetContentByChannelIDV2Params object with the default values initialized.
func NewPublicGetContentByChannelIDV2ParamsWithContext ¶
func NewPublicGetContentByChannelIDV2ParamsWithContext(ctx context.Context) *PublicGetContentByChannelIDV2Params
NewPublicGetContentByChannelIDV2ParamsWithContext creates a new PublicGetContentByChannelIDV2Params object with the default values initialized, and the ability to set a context for a request
func NewPublicGetContentByChannelIDV2ParamsWithHTTPClient ¶
func NewPublicGetContentByChannelIDV2ParamsWithHTTPClient(client *http.Client) *PublicGetContentByChannelIDV2Params
NewPublicGetContentByChannelIDV2ParamsWithHTTPClient creates a new PublicGetContentByChannelIDV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetContentByChannelIDV2ParamsWithTimeout ¶
func NewPublicGetContentByChannelIDV2ParamsWithTimeout(timeout time.Duration) *PublicGetContentByChannelIDV2Params
NewPublicGetContentByChannelIDV2ParamsWithTimeout creates a new PublicGetContentByChannelIDV2Params object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetContentByChannelIDV2Params) SetAuthInfoWriter ¶
func (o *PublicGetContentByChannelIDV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get content by channel idv2 params
func (*PublicGetContentByChannelIDV2Params) SetChannelID ¶
func (o *PublicGetContentByChannelIDV2Params) SetChannelID(channelID string)
SetChannelID adds the channelId to the public get content by channel idv2 params
func (*PublicGetContentByChannelIDV2Params) SetContext ¶
func (o *PublicGetContentByChannelIDV2Params) SetContext(ctx context.Context)
SetContext adds the context to the public get content by channel idv2 params
func (*PublicGetContentByChannelIDV2Params) SetFlightId ¶ added in v0.63.0
func (o *PublicGetContentByChannelIDV2Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicGetContentByChannelIDV2Params) SetHTTPClient ¶
func (o *PublicGetContentByChannelIDV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get content by channel idv2 params
func (*PublicGetContentByChannelIDV2Params) SetHTTPClientTransport ¶
func (o *PublicGetContentByChannelIDV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get content by channel idv2 params
func (*PublicGetContentByChannelIDV2Params) SetLimit ¶
func (o *PublicGetContentByChannelIDV2Params) SetLimit(limit *int64)
SetLimit adds the limit to the public get content by channel idv2 params
func (*PublicGetContentByChannelIDV2Params) SetName ¶ added in v0.60.0
func (o *PublicGetContentByChannelIDV2Params) SetName(name *string)
SetName adds the name to the public get content by channel idv2 params
func (*PublicGetContentByChannelIDV2Params) SetNamespace ¶
func (o *PublicGetContentByChannelIDV2Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get content by channel idv2 params
func (*PublicGetContentByChannelIDV2Params) SetOffset ¶
func (o *PublicGetContentByChannelIDV2Params) SetOffset(offset *int64)
SetOffset adds the offset to the public get content by channel idv2 params
func (*PublicGetContentByChannelIDV2Params) SetSortBy ¶
func (o *PublicGetContentByChannelIDV2Params) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the public get content by channel idv2 params
func (*PublicGetContentByChannelIDV2Params) SetTimeout ¶
func (o *PublicGetContentByChannelIDV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get content by channel idv2 params
func (*PublicGetContentByChannelIDV2Params) WithChannelID ¶
func (o *PublicGetContentByChannelIDV2Params) WithChannelID(channelID string) *PublicGetContentByChannelIDV2Params
WithChannelID adds the channelID to the public get content by channel idv2 params
func (*PublicGetContentByChannelIDV2Params) WithContext ¶
func (o *PublicGetContentByChannelIDV2Params) WithContext(ctx context.Context) *PublicGetContentByChannelIDV2Params
WithContext adds the context to the public get content by channel idv2 params
func (*PublicGetContentByChannelIDV2Params) WithHTTPClient ¶
func (o *PublicGetContentByChannelIDV2Params) WithHTTPClient(client *http.Client) *PublicGetContentByChannelIDV2Params
WithHTTPClient adds the HTTPClient to the public get content by channel idv2 params
func (*PublicGetContentByChannelIDV2Params) WithLimit ¶
func (o *PublicGetContentByChannelIDV2Params) WithLimit(limit *int64) *PublicGetContentByChannelIDV2Params
WithLimit adds the limit to the public get content by channel idv2 params
func (*PublicGetContentByChannelIDV2Params) WithName ¶ added in v0.60.0
func (o *PublicGetContentByChannelIDV2Params) WithName(name *string) *PublicGetContentByChannelIDV2Params
WithName adds the name to the public get content by channel idv2 params
func (*PublicGetContentByChannelIDV2Params) WithNamespace ¶
func (o *PublicGetContentByChannelIDV2Params) WithNamespace(namespace string) *PublicGetContentByChannelIDV2Params
WithNamespace adds the namespace to the public get content by channel idv2 params
func (*PublicGetContentByChannelIDV2Params) WithOffset ¶
func (o *PublicGetContentByChannelIDV2Params) WithOffset(offset *int64) *PublicGetContentByChannelIDV2Params
WithOffset adds the offset to the public get content by channel idv2 params
func (*PublicGetContentByChannelIDV2Params) WithSortBy ¶
func (o *PublicGetContentByChannelIDV2Params) WithSortBy(sortBy *string) *PublicGetContentByChannelIDV2Params
WithSortBy adds the sortBy to the public get content by channel idv2 params
func (*PublicGetContentByChannelIDV2Params) WithTimeout ¶
func (o *PublicGetContentByChannelIDV2Params) WithTimeout(timeout time.Duration) *PublicGetContentByChannelIDV2Params
WithTimeout adds the timeout to the public get content by channel idv2 params
func (*PublicGetContentByChannelIDV2Params) WriteToRequest ¶
func (o *PublicGetContentByChannelIDV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetContentByChannelIDV2Reader ¶
type PublicGetContentByChannelIDV2Reader struct {
// contains filtered or unexported fields
}
PublicGetContentByChannelIDV2Reader is a Reader for the PublicGetContentByChannelIDV2 structure.
func (*PublicGetContentByChannelIDV2Reader) ReadResponse ¶
func (o *PublicGetContentByChannelIDV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetContentByChannelIDV2Unauthorized ¶
type PublicGetContentByChannelIDV2Unauthorized struct {
}PublicGetContentByChannelIDV2Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPublicGetContentByChannelIDV2Unauthorized ¶
func NewPublicGetContentByChannelIDV2Unauthorized() *PublicGetContentByChannelIDV2Unauthorized
NewPublicGetContentByChannelIDV2Unauthorized creates a PublicGetContentByChannelIDV2Unauthorized with default headers values
func (*PublicGetContentByChannelIDV2Unauthorized) Error ¶
func (o *PublicGetContentByChannelIDV2Unauthorized) Error() string
func (*PublicGetContentByChannelIDV2Unauthorized) GetPayload ¶
func (o *PublicGetContentByChannelIDV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGetContentByChannelIDV2Unauthorized) ToJSONString ¶
func (o *PublicGetContentByChannelIDV2Unauthorized) ToJSONString() string
type PublicGetContentByIDV2InternalServerError ¶
type PublicGetContentByIDV2InternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
PublicGetContentByIDV2InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773201</td><td>Unable to get ugc content/Unable to get creator/Unable to get included group</td></tr><tr><td>770301</td><td>Unable to get ugc content/Unable to get creator</td></tr><tr><td>773203</td><td>Failed generate download URL</td></tr></table>
func NewPublicGetContentByIDV2InternalServerError ¶
func NewPublicGetContentByIDV2InternalServerError() *PublicGetContentByIDV2InternalServerError
NewPublicGetContentByIDV2InternalServerError creates a PublicGetContentByIDV2InternalServerError with default headers values
func (*PublicGetContentByIDV2InternalServerError) Error ¶
func (o *PublicGetContentByIDV2InternalServerError) Error() string
func (*PublicGetContentByIDV2InternalServerError) GetPayload ¶
func (o *PublicGetContentByIDV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGetContentByIDV2InternalServerError) ToJSONString ¶
func (o *PublicGetContentByIDV2InternalServerError) ToJSONString() string
type PublicGetContentByIDV2NotFound ¶
type PublicGetContentByIDV2NotFound struct {
Payload *ugcclientmodels.ResponseError
}
PublicGetContentByIDV2NotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773200</td><td>ugc content not found</td></tr></table>
func NewPublicGetContentByIDV2NotFound ¶
func NewPublicGetContentByIDV2NotFound() *PublicGetContentByIDV2NotFound
NewPublicGetContentByIDV2NotFound creates a PublicGetContentByIDV2NotFound with default headers values
func (*PublicGetContentByIDV2NotFound) Error ¶
func (o *PublicGetContentByIDV2NotFound) Error() string
func (*PublicGetContentByIDV2NotFound) GetPayload ¶
func (o *PublicGetContentByIDV2NotFound) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGetContentByIDV2NotFound) ToJSONString ¶
func (o *PublicGetContentByIDV2NotFound) ToJSONString() string
type PublicGetContentByIDV2OK ¶
type PublicGetContentByIDV2OK struct {
Payload *ugcclientmodels.ModelsContentDownloadResponseV2
}
PublicGetContentByIDV2OK handles this case with default header values.
Get content by content ID
func NewPublicGetContentByIDV2OK ¶
func NewPublicGetContentByIDV2OK() *PublicGetContentByIDV2OK
NewPublicGetContentByIDV2OK creates a PublicGetContentByIDV2OK with default headers values
func (*PublicGetContentByIDV2OK) Error ¶
func (o *PublicGetContentByIDV2OK) Error() string
func (*PublicGetContentByIDV2OK) GetPayload ¶
func (o *PublicGetContentByIDV2OK) GetPayload() *ugcclientmodels.ModelsContentDownloadResponseV2
func (*PublicGetContentByIDV2OK) ToJSONString ¶
func (o *PublicGetContentByIDV2OK) ToJSONString() string
type PublicGetContentByIDV2Params ¶
type PublicGetContentByIDV2Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ContentID content ID */ ContentID string /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicGetContentByIDV2Params contains all the parameters to send to the API endpoint for the public get content by idv2 operation typically these are written to a http.Request
func NewPublicGetContentByIDV2Params ¶
func NewPublicGetContentByIDV2Params() *PublicGetContentByIDV2Params
NewPublicGetContentByIDV2Params creates a new PublicGetContentByIDV2Params object with the default values initialized.
func NewPublicGetContentByIDV2ParamsWithContext ¶
func NewPublicGetContentByIDV2ParamsWithContext(ctx context.Context) *PublicGetContentByIDV2Params
NewPublicGetContentByIDV2ParamsWithContext creates a new PublicGetContentByIDV2Params object with the default values initialized, and the ability to set a context for a request
func NewPublicGetContentByIDV2ParamsWithHTTPClient ¶
func NewPublicGetContentByIDV2ParamsWithHTTPClient(client *http.Client) *PublicGetContentByIDV2Params
NewPublicGetContentByIDV2ParamsWithHTTPClient creates a new PublicGetContentByIDV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetContentByIDV2ParamsWithTimeout ¶
func NewPublicGetContentByIDV2ParamsWithTimeout(timeout time.Duration) *PublicGetContentByIDV2Params
NewPublicGetContentByIDV2ParamsWithTimeout creates a new PublicGetContentByIDV2Params object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetContentByIDV2Params) SetAuthInfoWriter ¶
func (o *PublicGetContentByIDV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get content by idv2 params
func (*PublicGetContentByIDV2Params) SetContentID ¶
func (o *PublicGetContentByIDV2Params) SetContentID(contentID string)
SetContentID adds the contentId to the public get content by idv2 params
func (*PublicGetContentByIDV2Params) SetContext ¶
func (o *PublicGetContentByIDV2Params) SetContext(ctx context.Context)
SetContext adds the context to the public get content by idv2 params
func (*PublicGetContentByIDV2Params) SetFlightId ¶ added in v0.63.0
func (o *PublicGetContentByIDV2Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicGetContentByIDV2Params) SetHTTPClient ¶
func (o *PublicGetContentByIDV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get content by idv2 params
func (*PublicGetContentByIDV2Params) SetHTTPClientTransport ¶
func (o *PublicGetContentByIDV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get content by idv2 params
func (*PublicGetContentByIDV2Params) SetNamespace ¶
func (o *PublicGetContentByIDV2Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get content by idv2 params
func (*PublicGetContentByIDV2Params) SetTimeout ¶
func (o *PublicGetContentByIDV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get content by idv2 params
func (*PublicGetContentByIDV2Params) WithContentID ¶
func (o *PublicGetContentByIDV2Params) WithContentID(contentID string) *PublicGetContentByIDV2Params
WithContentID adds the contentID to the public get content by idv2 params
func (*PublicGetContentByIDV2Params) WithContext ¶
func (o *PublicGetContentByIDV2Params) WithContext(ctx context.Context) *PublicGetContentByIDV2Params
WithContext adds the context to the public get content by idv2 params
func (*PublicGetContentByIDV2Params) WithHTTPClient ¶
func (o *PublicGetContentByIDV2Params) WithHTTPClient(client *http.Client) *PublicGetContentByIDV2Params
WithHTTPClient adds the HTTPClient to the public get content by idv2 params
func (*PublicGetContentByIDV2Params) WithNamespace ¶
func (o *PublicGetContentByIDV2Params) WithNamespace(namespace string) *PublicGetContentByIDV2Params
WithNamespace adds the namespace to the public get content by idv2 params
func (*PublicGetContentByIDV2Params) WithTimeout ¶
func (o *PublicGetContentByIDV2Params) WithTimeout(timeout time.Duration) *PublicGetContentByIDV2Params
WithTimeout adds the timeout to the public get content by idv2 params
func (*PublicGetContentByIDV2Params) WriteToRequest ¶
func (o *PublicGetContentByIDV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetContentByIDV2Reader ¶
type PublicGetContentByIDV2Reader struct {
// contains filtered or unexported fields
}
PublicGetContentByIDV2Reader is a Reader for the PublicGetContentByIDV2 structure.
func (*PublicGetContentByIDV2Reader) ReadResponse ¶
func (o *PublicGetContentByIDV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetContentByIDV2Unauthorized ¶
type PublicGetContentByIDV2Unauthorized struct {
}PublicGetContentByIDV2Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPublicGetContentByIDV2Unauthorized ¶
func NewPublicGetContentByIDV2Unauthorized() *PublicGetContentByIDV2Unauthorized
NewPublicGetContentByIDV2Unauthorized creates a PublicGetContentByIDV2Unauthorized with default headers values
func (*PublicGetContentByIDV2Unauthorized) Error ¶
func (o *PublicGetContentByIDV2Unauthorized) Error() string
func (*PublicGetContentByIDV2Unauthorized) GetPayload ¶
func (o *PublicGetContentByIDV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGetContentByIDV2Unauthorized) ToJSONString ¶
func (o *PublicGetContentByIDV2Unauthorized) ToJSONString() string
type PublicGetContentByShareCodeV2InternalServerError ¶
type PublicGetContentByShareCodeV2InternalServerError struct {
}PublicGetContentByShareCodeV2InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770301</td><td>Unable to get ugc content/Unable to get creator</td></tr><tr><td>770303</td><td>Failed generate download URL</td></tr></table>
func NewPublicGetContentByShareCodeV2InternalServerError ¶
func NewPublicGetContentByShareCodeV2InternalServerError() *PublicGetContentByShareCodeV2InternalServerError
NewPublicGetContentByShareCodeV2InternalServerError creates a PublicGetContentByShareCodeV2InternalServerError with default headers values
func (*PublicGetContentByShareCodeV2InternalServerError) Error ¶
func (o *PublicGetContentByShareCodeV2InternalServerError) Error() string
func (*PublicGetContentByShareCodeV2InternalServerError) GetPayload ¶
func (o *PublicGetContentByShareCodeV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGetContentByShareCodeV2InternalServerError) ToJSONString ¶
func (o *PublicGetContentByShareCodeV2InternalServerError) ToJSONString() string
type PublicGetContentByShareCodeV2NotFound ¶
type PublicGetContentByShareCodeV2NotFound struct {
}PublicGetContentByShareCodeV2NotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770300</td><td>ugc content not found</td></tr></table>
func NewPublicGetContentByShareCodeV2NotFound ¶
func NewPublicGetContentByShareCodeV2NotFound() *PublicGetContentByShareCodeV2NotFound
NewPublicGetContentByShareCodeV2NotFound creates a PublicGetContentByShareCodeV2NotFound with default headers values
func (*PublicGetContentByShareCodeV2NotFound) Error ¶
func (o *PublicGetContentByShareCodeV2NotFound) Error() string
func (*PublicGetContentByShareCodeV2NotFound) GetPayload ¶
func (o *PublicGetContentByShareCodeV2NotFound) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGetContentByShareCodeV2NotFound) ToJSONString ¶
func (o *PublicGetContentByShareCodeV2NotFound) ToJSONString() string
type PublicGetContentByShareCodeV2OK ¶
type PublicGetContentByShareCodeV2OK struct {
}PublicGetContentByShareCodeV2OK handles this case with default header values.
Get content by sharecode
func NewPublicGetContentByShareCodeV2OK ¶
func NewPublicGetContentByShareCodeV2OK() *PublicGetContentByShareCodeV2OK
NewPublicGetContentByShareCodeV2OK creates a PublicGetContentByShareCodeV2OK with default headers values
func (*PublicGetContentByShareCodeV2OK) Error ¶
func (o *PublicGetContentByShareCodeV2OK) Error() string
func (*PublicGetContentByShareCodeV2OK) GetPayload ¶
func (o *PublicGetContentByShareCodeV2OK) GetPayload() *ugcclientmodels.ModelsContentDownloadResponseV2
func (*PublicGetContentByShareCodeV2OK) ToJSONString ¶
func (o *PublicGetContentByShareCodeV2OK) ToJSONString() string
type PublicGetContentByShareCodeV2Params ¶
type PublicGetContentByShareCodeV2Params struct { utils.Retry Namespace string ShareCode string XFlightId *string // contains filtered or unexported fields }RetryPolicy *
PublicGetContentByShareCodeV2Params contains all the parameters to send to the API endpoint for the public get content by share code v2 operation typically these are written to a http.Request
func NewPublicGetContentByShareCodeV2Params ¶
func NewPublicGetContentByShareCodeV2Params() *PublicGetContentByShareCodeV2Params
NewPublicGetContentByShareCodeV2Params creates a new PublicGetContentByShareCodeV2Params object with the default values initialized.
func NewPublicGetContentByShareCodeV2ParamsWithContext ¶
func NewPublicGetContentByShareCodeV2ParamsWithContext(ctx context.Context) *PublicGetContentByShareCodeV2Params
NewPublicGetContentByShareCodeV2ParamsWithContext creates a new PublicGetContentByShareCodeV2Params object with the default values initialized, and the ability to set a context for a request
func NewPublicGetContentByShareCodeV2ParamsWithHTTPClient ¶
func NewPublicGetContentByShareCodeV2ParamsWithHTTPClient(client *http.Client) *PublicGetContentByShareCodeV2Params
NewPublicGetContentByShareCodeV2ParamsWithHTTPClient creates a new PublicGetContentByShareCodeV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetContentByShareCodeV2ParamsWithTimeout ¶
func NewPublicGetContentByShareCodeV2ParamsWithTimeout(timeout time.Duration) *PublicGetContentByShareCodeV2Params
NewPublicGetContentByShareCodeV2ParamsWithTimeout creates a new PublicGetContentByShareCodeV2Params object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetContentByShareCodeV2Params) SetAuthInfoWriter ¶
func (o *PublicGetContentByShareCodeV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get content by share code v2 params
func (*PublicGetContentByShareCodeV2Params) SetContext ¶
func (o *PublicGetContentByShareCodeV2Params) SetContext(ctx context.Context)
SetContext adds the context to the public get content by share code v2 params
func (*PublicGetContentByShareCodeV2Params) SetFlightId ¶ added in v0.63.0
func (o *PublicGetContentByShareCodeV2Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicGetContentByShareCodeV2Params) SetHTTPClient ¶
func (o *PublicGetContentByShareCodeV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get content by share code v2 params
func (*PublicGetContentByShareCodeV2Params) SetHTTPClientTransport ¶
func (o *PublicGetContentByShareCodeV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get content by share code v2 params
func (*PublicGetContentByShareCodeV2Params) SetNamespace ¶
func (o *PublicGetContentByShareCodeV2Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get content by share code v2 params
func (*PublicGetContentByShareCodeV2Params) SetShareCode ¶
func (o *PublicGetContentByShareCodeV2Params) SetShareCode(shareCode string)
SetShareCode adds the shareCode to the public get content by share code v2 params
func (*PublicGetContentByShareCodeV2Params) SetTimeout ¶
func (o *PublicGetContentByShareCodeV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get content by share code v2 params
func (*PublicGetContentByShareCodeV2Params) WithContext ¶
func (o *PublicGetContentByShareCodeV2Params) WithContext(ctx context.Context) *PublicGetContentByShareCodeV2Params
WithContext adds the context to the public get content by share code v2 params
func (*PublicGetContentByShareCodeV2Params) WithHTTPClient ¶
func (o *PublicGetContentByShareCodeV2Params) WithHTTPClient(client *http.Client) *PublicGetContentByShareCodeV2Params
WithHTTPClient adds the HTTPClient to the public get content by share code v2 params
func (*PublicGetContentByShareCodeV2Params) WithNamespace ¶
func (o *PublicGetContentByShareCodeV2Params) WithNamespace(namespace string) *PublicGetContentByShareCodeV2Params
WithNamespace adds the namespace to the public get content by share code v2 params
func (*PublicGetContentByShareCodeV2Params) WithShareCode ¶
func (o *PublicGetContentByShareCodeV2Params) WithShareCode(shareCode string) *PublicGetContentByShareCodeV2Params
WithShareCode adds the shareCode to the public get content by share code v2 params
func (*PublicGetContentByShareCodeV2Params) WithTimeout ¶
func (o *PublicGetContentByShareCodeV2Params) WithTimeout(timeout time.Duration) *PublicGetContentByShareCodeV2Params
WithTimeout adds the timeout to the public get content by share code v2 params
func (*PublicGetContentByShareCodeV2Params) WriteToRequest ¶
func (o *PublicGetContentByShareCodeV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetContentByShareCodeV2Reader ¶
type PublicGetContentByShareCodeV2Reader struct {
// contains filtered or unexported fields
}
PublicGetContentByShareCodeV2Reader is a Reader for the PublicGetContentByShareCodeV2 structure.
func (*PublicGetContentByShareCodeV2Reader) ReadResponse ¶
func (o *PublicGetContentByShareCodeV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetContentByShareCodeV2Unauthorized ¶
type PublicGetContentByShareCodeV2Unauthorized struct {
}PublicGetContentByShareCodeV2Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPublicGetContentByShareCodeV2Unauthorized ¶
func NewPublicGetContentByShareCodeV2Unauthorized() *PublicGetContentByShareCodeV2Unauthorized
NewPublicGetContentByShareCodeV2Unauthorized creates a PublicGetContentByShareCodeV2Unauthorized with default headers values
func (*PublicGetContentByShareCodeV2Unauthorized) Error ¶
func (o *PublicGetContentByShareCodeV2Unauthorized) Error() string
func (*PublicGetContentByShareCodeV2Unauthorized) GetPayload ¶
func (o *PublicGetContentByShareCodeV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGetContentByShareCodeV2Unauthorized) ToJSONString ¶
func (o *PublicGetContentByShareCodeV2Unauthorized) ToJSONString() string
type PublicGetContentByUserIDV2BadRequest ¶ added in v0.60.0
type PublicGetContentByUserIDV2BadRequest struct {
Payload *ugcclientmodels.ResponseError
}
PublicGetContentByUserIDV2BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770900</td><td>invalid paging parameter</td></tr></table>
func NewPublicGetContentByUserIDV2BadRequest ¶ added in v0.60.0
func NewPublicGetContentByUserIDV2BadRequest() *PublicGetContentByUserIDV2BadRequest
NewPublicGetContentByUserIDV2BadRequest creates a PublicGetContentByUserIDV2BadRequest with default headers values
func (*PublicGetContentByUserIDV2BadRequest) Error ¶ added in v0.60.0
func (o *PublicGetContentByUserIDV2BadRequest) Error() string
func (*PublicGetContentByUserIDV2BadRequest) GetPayload ¶ added in v0.60.0
func (o *PublicGetContentByUserIDV2BadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGetContentByUserIDV2BadRequest) ToJSONString ¶ added in v0.60.0
func (o *PublicGetContentByUserIDV2BadRequest) ToJSONString() string
type PublicGetContentByUserIDV2InternalServerError ¶
type PublicGetContentByUserIDV2InternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
PublicGetContentByUserIDV2InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770901</td><td>Unable to get ugc content: database error/Unable to get creator</td></tr><tr><td>770801</td><td>Unable to get ugc content: database/Unable to get creator</td></tr><tr><td>770903</td><td>Failed generate download URL</td></tr></table>
func NewPublicGetContentByUserIDV2InternalServerError ¶
func NewPublicGetContentByUserIDV2InternalServerError() *PublicGetContentByUserIDV2InternalServerError
NewPublicGetContentByUserIDV2InternalServerError creates a PublicGetContentByUserIDV2InternalServerError with default headers values
func (*PublicGetContentByUserIDV2InternalServerError) Error ¶
func (o *PublicGetContentByUserIDV2InternalServerError) Error() string
func (*PublicGetContentByUserIDV2InternalServerError) GetPayload ¶
func (o *PublicGetContentByUserIDV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGetContentByUserIDV2InternalServerError) ToJSONString ¶
func (o *PublicGetContentByUserIDV2InternalServerError) ToJSONString() string
type PublicGetContentByUserIDV2OK ¶
type PublicGetContentByUserIDV2OK struct {
Payload *ugcclientmodels.ModelsPaginatedContentDownloadResponseV2
}
PublicGetContentByUserIDV2OK handles this case with default header values.
Get content by user ID
func NewPublicGetContentByUserIDV2OK ¶
func NewPublicGetContentByUserIDV2OK() *PublicGetContentByUserIDV2OK
NewPublicGetContentByUserIDV2OK creates a PublicGetContentByUserIDV2OK with default headers values
func (*PublicGetContentByUserIDV2OK) Error ¶
func (o *PublicGetContentByUserIDV2OK) Error() string
func (*PublicGetContentByUserIDV2OK) GetPayload ¶
func (o *PublicGetContentByUserIDV2OK) GetPayload() *ugcclientmodels.ModelsPaginatedContentDownloadResponseV2
func (*PublicGetContentByUserIDV2OK) ToJSONString ¶
func (o *PublicGetContentByUserIDV2OK) ToJSONString() string
type PublicGetContentByUserIDV2Params ¶
type PublicGetContentByUserIDV2Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*UserID user ID */ UserID string /*Limit number of content per page. max limit: -1 (-1 means unlimited). */ Limit *int64 /*Offset the offset number to retrieve */ Offset *int64 /*SortBy available values: - *createdTime* - *createdTime:desc* - *createdTime:asc* */ SortBy *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicGetContentByUserIDV2Params contains all the parameters to send to the API endpoint for the public get content by user idv2 operation typically these are written to a http.Request
func NewPublicGetContentByUserIDV2Params ¶
func NewPublicGetContentByUserIDV2Params() *PublicGetContentByUserIDV2Params
NewPublicGetContentByUserIDV2Params creates a new PublicGetContentByUserIDV2Params object with the default values initialized.
func NewPublicGetContentByUserIDV2ParamsWithContext ¶
func NewPublicGetContentByUserIDV2ParamsWithContext(ctx context.Context) *PublicGetContentByUserIDV2Params
NewPublicGetContentByUserIDV2ParamsWithContext creates a new PublicGetContentByUserIDV2Params object with the default values initialized, and the ability to set a context for a request
func NewPublicGetContentByUserIDV2ParamsWithHTTPClient ¶
func NewPublicGetContentByUserIDV2ParamsWithHTTPClient(client *http.Client) *PublicGetContentByUserIDV2Params
NewPublicGetContentByUserIDV2ParamsWithHTTPClient creates a new PublicGetContentByUserIDV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetContentByUserIDV2ParamsWithTimeout ¶
func NewPublicGetContentByUserIDV2ParamsWithTimeout(timeout time.Duration) *PublicGetContentByUserIDV2Params
NewPublicGetContentByUserIDV2ParamsWithTimeout creates a new PublicGetContentByUserIDV2Params object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetContentByUserIDV2Params) SetAuthInfoWriter ¶
func (o *PublicGetContentByUserIDV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get content by user idv2 params
func (*PublicGetContentByUserIDV2Params) SetContext ¶
func (o *PublicGetContentByUserIDV2Params) SetContext(ctx context.Context)
SetContext adds the context to the public get content by user idv2 params
func (*PublicGetContentByUserIDV2Params) SetFlightId ¶ added in v0.63.0
func (o *PublicGetContentByUserIDV2Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicGetContentByUserIDV2Params) SetHTTPClient ¶
func (o *PublicGetContentByUserIDV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get content by user idv2 params
func (*PublicGetContentByUserIDV2Params) SetHTTPClientTransport ¶
func (o *PublicGetContentByUserIDV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get content by user idv2 params
func (*PublicGetContentByUserIDV2Params) SetLimit ¶
func (o *PublicGetContentByUserIDV2Params) SetLimit(limit *int64)
SetLimit adds the limit to the public get content by user idv2 params
func (*PublicGetContentByUserIDV2Params) SetNamespace ¶
func (o *PublicGetContentByUserIDV2Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get content by user idv2 params
func (*PublicGetContentByUserIDV2Params) SetOffset ¶
func (o *PublicGetContentByUserIDV2Params) SetOffset(offset *int64)
SetOffset adds the offset to the public get content by user idv2 params
func (*PublicGetContentByUserIDV2Params) SetSortBy ¶
func (o *PublicGetContentByUserIDV2Params) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the public get content by user idv2 params
func (*PublicGetContentByUserIDV2Params) SetTimeout ¶
func (o *PublicGetContentByUserIDV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get content by user idv2 params
func (*PublicGetContentByUserIDV2Params) SetUserID ¶
func (o *PublicGetContentByUserIDV2Params) SetUserID(userID string)
SetUserID adds the userId to the public get content by user idv2 params
func (*PublicGetContentByUserIDV2Params) WithContext ¶
func (o *PublicGetContentByUserIDV2Params) WithContext(ctx context.Context) *PublicGetContentByUserIDV2Params
WithContext adds the context to the public get content by user idv2 params
func (*PublicGetContentByUserIDV2Params) WithHTTPClient ¶
func (o *PublicGetContentByUserIDV2Params) WithHTTPClient(client *http.Client) *PublicGetContentByUserIDV2Params
WithHTTPClient adds the HTTPClient to the public get content by user idv2 params
func (*PublicGetContentByUserIDV2Params) WithLimit ¶
func (o *PublicGetContentByUserIDV2Params) WithLimit(limit *int64) *PublicGetContentByUserIDV2Params
WithLimit adds the limit to the public get content by user idv2 params
func (*PublicGetContentByUserIDV2Params) WithNamespace ¶
func (o *PublicGetContentByUserIDV2Params) WithNamespace(namespace string) *PublicGetContentByUserIDV2Params
WithNamespace adds the namespace to the public get content by user idv2 params
func (*PublicGetContentByUserIDV2Params) WithOffset ¶
func (o *PublicGetContentByUserIDV2Params) WithOffset(offset *int64) *PublicGetContentByUserIDV2Params
WithOffset adds the offset to the public get content by user idv2 params
func (*PublicGetContentByUserIDV2Params) WithSortBy ¶
func (o *PublicGetContentByUserIDV2Params) WithSortBy(sortBy *string) *PublicGetContentByUserIDV2Params
WithSortBy adds the sortBy to the public get content by user idv2 params
func (*PublicGetContentByUserIDV2Params) WithTimeout ¶
func (o *PublicGetContentByUserIDV2Params) WithTimeout(timeout time.Duration) *PublicGetContentByUserIDV2Params
WithTimeout adds the timeout to the public get content by user idv2 params
func (*PublicGetContentByUserIDV2Params) WithUserID ¶
func (o *PublicGetContentByUserIDV2Params) WithUserID(userID string) *PublicGetContentByUserIDV2Params
WithUserID adds the userID to the public get content by user idv2 params
func (*PublicGetContentByUserIDV2Params) WriteToRequest ¶
func (o *PublicGetContentByUserIDV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetContentByUserIDV2Reader ¶
type PublicGetContentByUserIDV2Reader struct {
// contains filtered or unexported fields
}
PublicGetContentByUserIDV2Reader is a Reader for the PublicGetContentByUserIDV2 structure.
func (*PublicGetContentByUserIDV2Reader) ReadResponse ¶
func (o *PublicGetContentByUserIDV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetContentByUserIDV2Unauthorized ¶
type PublicGetContentByUserIDV2Unauthorized struct {
}PublicGetContentByUserIDV2Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPublicGetContentByUserIDV2Unauthorized ¶
func NewPublicGetContentByUserIDV2Unauthorized() *PublicGetContentByUserIDV2Unauthorized
NewPublicGetContentByUserIDV2Unauthorized creates a PublicGetContentByUserIDV2Unauthorized with default headers values
func (*PublicGetContentByUserIDV2Unauthorized) Error ¶
func (o *PublicGetContentByUserIDV2Unauthorized) Error() string
func (*PublicGetContentByUserIDV2Unauthorized) GetPayload ¶
func (o *PublicGetContentByUserIDV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGetContentByUserIDV2Unauthorized) ToJSONString ¶
func (o *PublicGetContentByUserIDV2Unauthorized) ToJSONString() string
type PublicListContentV2BadRequest ¶ added in v0.60.0
type PublicListContentV2BadRequest struct {
Payload *ugcclientmodels.ResponseError
}
PublicListContentV2BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770800</td><td>invalid paging parameter/max allowed number of tags is {maxTags}/invalid official parameter/invalid ishidden parameter</td></tr></table>
func NewPublicListContentV2BadRequest ¶ added in v0.60.0
func NewPublicListContentV2BadRequest() *PublicListContentV2BadRequest
NewPublicListContentV2BadRequest creates a PublicListContentV2BadRequest with default headers values
func (*PublicListContentV2BadRequest) Error ¶ added in v0.60.0
func (o *PublicListContentV2BadRequest) Error() string
func (*PublicListContentV2BadRequest) GetPayload ¶ added in v0.60.0
func (o *PublicListContentV2BadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*PublicListContentV2BadRequest) ToJSONString ¶ added in v0.60.0
func (o *PublicListContentV2BadRequest) ToJSONString() string
type PublicListContentV2InternalServerError ¶
type PublicListContentV2InternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
PublicListContentV2InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770801</td><td>Unable to get ugc content: database/Unable to get creator</td></tr><tr><td>770803</td><td>Failed generate download URL</td></tr></table>
func NewPublicListContentV2InternalServerError ¶
func NewPublicListContentV2InternalServerError() *PublicListContentV2InternalServerError
NewPublicListContentV2InternalServerError creates a PublicListContentV2InternalServerError with default headers values
func (*PublicListContentV2InternalServerError) Error ¶
func (o *PublicListContentV2InternalServerError) Error() string
func (*PublicListContentV2InternalServerError) GetPayload ¶
func (o *PublicListContentV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*PublicListContentV2InternalServerError) ToJSONString ¶
func (o *PublicListContentV2InternalServerError) ToJSONString() string
type PublicListContentV2OK ¶
type PublicListContentV2OK struct {
Payload *ugcclientmodels.ModelsPaginatedContentDownloadResponseV2
}
PublicListContentV2OK handles this case with default header values.
list content's
func NewPublicListContentV2OK ¶
func NewPublicListContentV2OK() *PublicListContentV2OK
NewPublicListContentV2OK creates a PublicListContentV2OK with default headers values
func (*PublicListContentV2OK) Error ¶
func (o *PublicListContentV2OK) Error() string
func (*PublicListContentV2OK) GetPayload ¶
func (o *PublicListContentV2OK) GetPayload() *ugcclientmodels.ModelsPaginatedContentDownloadResponseV2
func (*PublicListContentV2OK) ToJSONString ¶
func (o *PublicListContentV2OK) ToJSONString() string
type PublicListContentV2Params ¶
type PublicListContentV2Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*IsOfficial filter by is official */ IsOfficial *bool /*Limit number of content per page. max limit: -1 (-1 means unlimited). */ Limit *int64 /*Name filter by content name */ Name *string /*Offset the offset number to retrieve */ Offset *int64 /*SortBy sort order of query result available value: - *createdTime* - *createdTime:desc* - *createdTime:asc* - *download* - *download:desc* - *download:asc* - *name* - *name:desc* - *name:asc* - *updatedTime* - *updatedTime:desc* - *updatedTime:asc* */ SortBy *string /*SubType filter by content subType */ SubType *string /*Tags content tag. max number of tags: -1 tags (-1 means unlimited). */ Tags []string /*Type filter by content type */ Type *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicListContentV2Params contains all the parameters to send to the API endpoint for the public list content v2 operation typically these are written to a http.Request
func NewPublicListContentV2Params ¶
func NewPublicListContentV2Params() *PublicListContentV2Params
NewPublicListContentV2Params creates a new PublicListContentV2Params object with the default values initialized.
func NewPublicListContentV2ParamsWithContext ¶
func NewPublicListContentV2ParamsWithContext(ctx context.Context) *PublicListContentV2Params
NewPublicListContentV2ParamsWithContext creates a new PublicListContentV2Params object with the default values initialized, and the ability to set a context for a request
func NewPublicListContentV2ParamsWithHTTPClient ¶
func NewPublicListContentV2ParamsWithHTTPClient(client *http.Client) *PublicListContentV2Params
NewPublicListContentV2ParamsWithHTTPClient creates a new PublicListContentV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicListContentV2ParamsWithTimeout ¶
func NewPublicListContentV2ParamsWithTimeout(timeout time.Duration) *PublicListContentV2Params
NewPublicListContentV2ParamsWithTimeout creates a new PublicListContentV2Params object with the default values initialized, and the ability to set a timeout on a request
func (*PublicListContentV2Params) SetAuthInfoWriter ¶
func (o *PublicListContentV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public list content v2 params
func (*PublicListContentV2Params) SetContext ¶
func (o *PublicListContentV2Params) SetContext(ctx context.Context)
SetContext adds the context to the public list content v2 params
func (*PublicListContentV2Params) SetFlightId ¶ added in v0.63.0
func (o *PublicListContentV2Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicListContentV2Params) SetHTTPClient ¶
func (o *PublicListContentV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public list content v2 params
func (*PublicListContentV2Params) SetHTTPClientTransport ¶
func (o *PublicListContentV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public list content v2 params
func (*PublicListContentV2Params) SetIsOfficial ¶ added in v0.60.0
func (o *PublicListContentV2Params) SetIsOfficial(isOfficial *bool)
SetIsOfficial adds the isOfficial to the public list content v2 params
func (*PublicListContentV2Params) SetLimit ¶
func (o *PublicListContentV2Params) SetLimit(limit *int64)
SetLimit adds the limit to the public list content v2 params
func (*PublicListContentV2Params) SetName ¶
func (o *PublicListContentV2Params) SetName(name *string)
SetName adds the name to the public list content v2 params
func (*PublicListContentV2Params) SetNamespace ¶
func (o *PublicListContentV2Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the public list content v2 params
func (*PublicListContentV2Params) SetOffset ¶
func (o *PublicListContentV2Params) SetOffset(offset *int64)
SetOffset adds the offset to the public list content v2 params
func (*PublicListContentV2Params) SetSortBy ¶
func (o *PublicListContentV2Params) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the public list content v2 params
func (*PublicListContentV2Params) SetSubType ¶
func (o *PublicListContentV2Params) SetSubType(subType *string)
SetSubType adds the subType to the public list content v2 params
func (*PublicListContentV2Params) SetTags ¶
func (o *PublicListContentV2Params) SetTags(tags []string)
SetTags adds the tags to the public list content v2 params
func (*PublicListContentV2Params) SetTimeout ¶
func (o *PublicListContentV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public list content v2 params
func (*PublicListContentV2Params) SetType ¶
func (o *PublicListContentV2Params) SetType(typeVar *string)
SetType adds the type to the public list content v2 params
func (*PublicListContentV2Params) WithContext ¶
func (o *PublicListContentV2Params) WithContext(ctx context.Context) *PublicListContentV2Params
WithContext adds the context to the public list content v2 params
func (*PublicListContentV2Params) WithHTTPClient ¶
func (o *PublicListContentV2Params) WithHTTPClient(client *http.Client) *PublicListContentV2Params
WithHTTPClient adds the HTTPClient to the public list content v2 params
func (*PublicListContentV2Params) WithIsOfficial ¶ added in v0.60.0
func (o *PublicListContentV2Params) WithIsOfficial(isOfficial *bool) *PublicListContentV2Params
WithIsOfficial adds the isOfficial to the public list content v2 params
func (*PublicListContentV2Params) WithLimit ¶
func (o *PublicListContentV2Params) WithLimit(limit *int64) *PublicListContentV2Params
WithLimit adds the limit to the public list content v2 params
func (*PublicListContentV2Params) WithName ¶
func (o *PublicListContentV2Params) WithName(name *string) *PublicListContentV2Params
WithName adds the name to the public list content v2 params
func (*PublicListContentV2Params) WithNamespace ¶
func (o *PublicListContentV2Params) WithNamespace(namespace string) *PublicListContentV2Params
WithNamespace adds the namespace to the public list content v2 params
func (*PublicListContentV2Params) WithOffset ¶
func (o *PublicListContentV2Params) WithOffset(offset *int64) *PublicListContentV2Params
WithOffset adds the offset to the public list content v2 params
func (*PublicListContentV2Params) WithSortBy ¶
func (o *PublicListContentV2Params) WithSortBy(sortBy *string) *PublicListContentV2Params
WithSortBy adds the sortBy to the public list content v2 params
func (*PublicListContentV2Params) WithSubType ¶
func (o *PublicListContentV2Params) WithSubType(subType *string) *PublicListContentV2Params
WithSubType adds the subType to the public list content v2 params
func (*PublicListContentV2Params) WithTags ¶
func (o *PublicListContentV2Params) WithTags(tags []string) *PublicListContentV2Params
WithTags adds the tags to the public list content v2 params
func (*PublicListContentV2Params) WithTimeout ¶
func (o *PublicListContentV2Params) WithTimeout(timeout time.Duration) *PublicListContentV2Params
WithTimeout adds the timeout to the public list content v2 params
func (*PublicListContentV2Params) WithType ¶
func (o *PublicListContentV2Params) WithType(typeVar *string) *PublicListContentV2Params
WithType adds the typeVar to the public list content v2 params
func (*PublicListContentV2Params) WriteToRequest ¶
func (o *PublicListContentV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicListContentV2Reader ¶
type PublicListContentV2Reader struct {
// contains filtered or unexported fields
}
PublicListContentV2Reader is a Reader for the PublicListContentV2 structure.
func (*PublicListContentV2Reader) ReadResponse ¶
func (o *PublicListContentV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicListContentV2Unauthorized ¶
type PublicListContentV2Unauthorized struct {
}PublicListContentV2Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPublicListContentV2Unauthorized ¶
func NewPublicListContentV2Unauthorized() *PublicListContentV2Unauthorized
NewPublicListContentV2Unauthorized creates a PublicListContentV2Unauthorized with default headers values
func (*PublicListContentV2Unauthorized) Error ¶
func (o *PublicListContentV2Unauthorized) Error() string
func (*PublicListContentV2Unauthorized) GetPayload ¶
func (o *PublicListContentV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*PublicListContentV2Unauthorized) ToJSONString ¶
func (o *PublicListContentV2Unauthorized) ToJSONString() string
type PublicUpdateContentByShareCodeV2BadRequest ¶ added in v0.58.0
type PublicUpdateContentByShareCodeV2BadRequest struct {
}PublicUpdateContentByShareCodeV2BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772601</td><td>Malformed request</td></tr></table>
func NewPublicUpdateContentByShareCodeV2BadRequest ¶ added in v0.58.0
func NewPublicUpdateContentByShareCodeV2BadRequest() *PublicUpdateContentByShareCodeV2BadRequest
NewPublicUpdateContentByShareCodeV2BadRequest creates a PublicUpdateContentByShareCodeV2BadRequest with default headers values
func (*PublicUpdateContentByShareCodeV2BadRequest) Error ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2BadRequest) Error() string
func (*PublicUpdateContentByShareCodeV2BadRequest) GetPayload ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2BadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*PublicUpdateContentByShareCodeV2BadRequest) ToJSONString ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2BadRequest) ToJSONString() string
type PublicUpdateContentByShareCodeV2Conflict ¶ added in v0.58.0
type PublicUpdateContentByShareCodeV2Conflict struct {
}PublicUpdateContentByShareCodeV2Conflict handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772606</td><td>Share code already used</td></tr></table>
func NewPublicUpdateContentByShareCodeV2Conflict ¶ added in v0.58.0
func NewPublicUpdateContentByShareCodeV2Conflict() *PublicUpdateContentByShareCodeV2Conflict
NewPublicUpdateContentByShareCodeV2Conflict creates a PublicUpdateContentByShareCodeV2Conflict with default headers values
func (*PublicUpdateContentByShareCodeV2Conflict) Error ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2Conflict) Error() string
func (*PublicUpdateContentByShareCodeV2Conflict) GetPayload ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2Conflict) GetPayload() *ugcclientmodels.ResponseError
func (*PublicUpdateContentByShareCodeV2Conflict) ToJSONString ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2Conflict) ToJSONString() string
type PublicUpdateContentByShareCodeV2Forbidden ¶ added in v0.60.0
type PublicUpdateContentByShareCodeV2Forbidden struct {
}PublicUpdateContentByShareCodeV2Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772604</td><td>User has been banned to update content</td></tr></table>
func NewPublicUpdateContentByShareCodeV2Forbidden ¶ added in v0.60.0
func NewPublicUpdateContentByShareCodeV2Forbidden() *PublicUpdateContentByShareCodeV2Forbidden
NewPublicUpdateContentByShareCodeV2Forbidden creates a PublicUpdateContentByShareCodeV2Forbidden with default headers values
func (*PublicUpdateContentByShareCodeV2Forbidden) Error ¶ added in v0.60.0
func (o *PublicUpdateContentByShareCodeV2Forbidden) Error() string
func (*PublicUpdateContentByShareCodeV2Forbidden) GetPayload ¶ added in v0.60.0
func (o *PublicUpdateContentByShareCodeV2Forbidden) GetPayload() *ugcclientmodels.ResponseError
func (*PublicUpdateContentByShareCodeV2Forbidden) ToJSONString ¶ added in v0.60.0
func (o *PublicUpdateContentByShareCodeV2Forbidden) ToJSONString() string
type PublicUpdateContentByShareCodeV2InternalServerError ¶ added in v0.58.0
type PublicUpdateContentByShareCodeV2InternalServerError struct {
}PublicUpdateContentByShareCodeV2InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772602</td><td>Unable to check user ban status/Unable to get updated ugc content</td></tr></table>
func NewPublicUpdateContentByShareCodeV2InternalServerError ¶ added in v0.58.0
func NewPublicUpdateContentByShareCodeV2InternalServerError() *PublicUpdateContentByShareCodeV2InternalServerError
NewPublicUpdateContentByShareCodeV2InternalServerError creates a PublicUpdateContentByShareCodeV2InternalServerError with default headers values
func (*PublicUpdateContentByShareCodeV2InternalServerError) Error ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2InternalServerError) Error() string
func (*PublicUpdateContentByShareCodeV2InternalServerError) GetPayload ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*PublicUpdateContentByShareCodeV2InternalServerError) ToJSONString ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2InternalServerError) ToJSONString() string
type PublicUpdateContentByShareCodeV2NotFound ¶ added in v0.58.0
type PublicUpdateContentByShareCodeV2NotFound struct {
}PublicUpdateContentByShareCodeV2NotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772603</td><td>Content not found</td></tr></table>
func NewPublicUpdateContentByShareCodeV2NotFound ¶ added in v0.58.0
func NewPublicUpdateContentByShareCodeV2NotFound() *PublicUpdateContentByShareCodeV2NotFound
NewPublicUpdateContentByShareCodeV2NotFound creates a PublicUpdateContentByShareCodeV2NotFound with default headers values
func (*PublicUpdateContentByShareCodeV2NotFound) Error ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2NotFound) Error() string
func (*PublicUpdateContentByShareCodeV2NotFound) GetPayload ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2NotFound) GetPayload() *ugcclientmodels.ResponseError
func (*PublicUpdateContentByShareCodeV2NotFound) ToJSONString ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2NotFound) ToJSONString() string
type PublicUpdateContentByShareCodeV2OK ¶ added in v0.58.0
type PublicUpdateContentByShareCodeV2OK struct {
}PublicUpdateContentByShareCodeV2OK handles this case with default header values.
content updated at s3
func NewPublicUpdateContentByShareCodeV2OK ¶ added in v0.58.0
func NewPublicUpdateContentByShareCodeV2OK() *PublicUpdateContentByShareCodeV2OK
NewPublicUpdateContentByShareCodeV2OK creates a PublicUpdateContentByShareCodeV2OK with default headers values
func (*PublicUpdateContentByShareCodeV2OK) Error ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2OK) Error() string
func (*PublicUpdateContentByShareCodeV2OK) GetPayload ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2OK) GetPayload() *ugcclientmodels.ModelsCreateContentResponseV2
func (*PublicUpdateContentByShareCodeV2OK) ToJSONString ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2OK) ToJSONString() string
type PublicUpdateContentByShareCodeV2Params ¶ added in v0.58.0
type PublicUpdateContentByShareCodeV2Params struct { utils.Retry Body *ugcclientmodels.ModelsUpdateContentRequestV2 ChannelID string Namespace string ShareCode string UserID string XFlightId *string // contains filtered or unexported fields }RetryPolicy *
PublicUpdateContentByShareCodeV2Params contains all the parameters to send to the API endpoint for the public update content by share code v2 operation typically these are written to a http.Request
func NewPublicUpdateContentByShareCodeV2Params ¶ added in v0.58.0
func NewPublicUpdateContentByShareCodeV2Params() *PublicUpdateContentByShareCodeV2Params
NewPublicUpdateContentByShareCodeV2Params creates a new PublicUpdateContentByShareCodeV2Params object with the default values initialized.
func NewPublicUpdateContentByShareCodeV2ParamsWithContext ¶ added in v0.58.0
func NewPublicUpdateContentByShareCodeV2ParamsWithContext(ctx context.Context) *PublicUpdateContentByShareCodeV2Params
NewPublicUpdateContentByShareCodeV2ParamsWithContext creates a new PublicUpdateContentByShareCodeV2Params object with the default values initialized, and the ability to set a context for a request
func NewPublicUpdateContentByShareCodeV2ParamsWithHTTPClient ¶ added in v0.58.0
func NewPublicUpdateContentByShareCodeV2ParamsWithHTTPClient(client *http.Client) *PublicUpdateContentByShareCodeV2Params
NewPublicUpdateContentByShareCodeV2ParamsWithHTTPClient creates a new PublicUpdateContentByShareCodeV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicUpdateContentByShareCodeV2ParamsWithTimeout ¶ added in v0.58.0
func NewPublicUpdateContentByShareCodeV2ParamsWithTimeout(timeout time.Duration) *PublicUpdateContentByShareCodeV2Params
NewPublicUpdateContentByShareCodeV2ParamsWithTimeout creates a new PublicUpdateContentByShareCodeV2Params object with the default values initialized, and the ability to set a timeout on a request
func (*PublicUpdateContentByShareCodeV2Params) SetAuthInfoWriter ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public update content by share code v2 params
func (*PublicUpdateContentByShareCodeV2Params) SetBody ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2Params) SetBody(body *ugcclientmodels.ModelsUpdateContentRequestV2)
SetBody adds the body to the public update content by share code v2 params
func (*PublicUpdateContentByShareCodeV2Params) SetChannelID ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2Params) SetChannelID(channelID string)
SetChannelID adds the channelId to the public update content by share code v2 params
func (*PublicUpdateContentByShareCodeV2Params) SetContext ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2Params) SetContext(ctx context.Context)
SetContext adds the context to the public update content by share code v2 params
func (*PublicUpdateContentByShareCodeV2Params) SetFlightId ¶ added in v0.63.0
func (o *PublicUpdateContentByShareCodeV2Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicUpdateContentByShareCodeV2Params) SetHTTPClient ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public update content by share code v2 params
func (*PublicUpdateContentByShareCodeV2Params) SetHTTPClientTransport ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public update content by share code v2 params
func (*PublicUpdateContentByShareCodeV2Params) SetNamespace ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the public update content by share code v2 params
func (*PublicUpdateContentByShareCodeV2Params) SetShareCode ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2Params) SetShareCode(shareCode string)
SetShareCode adds the shareCode to the public update content by share code v2 params
func (*PublicUpdateContentByShareCodeV2Params) SetTimeout ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public update content by share code v2 params
func (*PublicUpdateContentByShareCodeV2Params) SetUserID ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2Params) SetUserID(userID string)
SetUserID adds the userId to the public update content by share code v2 params
func (*PublicUpdateContentByShareCodeV2Params) WithBody ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2Params) WithBody(body *ugcclientmodels.ModelsUpdateContentRequestV2) *PublicUpdateContentByShareCodeV2Params
WithBody adds the body to the public update content by share code v2 params
func (*PublicUpdateContentByShareCodeV2Params) WithChannelID ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2Params) WithChannelID(channelID string) *PublicUpdateContentByShareCodeV2Params
WithChannelID adds the channelID to the public update content by share code v2 params
func (*PublicUpdateContentByShareCodeV2Params) WithContext ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2Params) WithContext(ctx context.Context) *PublicUpdateContentByShareCodeV2Params
WithContext adds the context to the public update content by share code v2 params
func (*PublicUpdateContentByShareCodeV2Params) WithHTTPClient ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2Params) WithHTTPClient(client *http.Client) *PublicUpdateContentByShareCodeV2Params
WithHTTPClient adds the HTTPClient to the public update content by share code v2 params
func (*PublicUpdateContentByShareCodeV2Params) WithNamespace ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2Params) WithNamespace(namespace string) *PublicUpdateContentByShareCodeV2Params
WithNamespace adds the namespace to the public update content by share code v2 params
func (*PublicUpdateContentByShareCodeV2Params) WithShareCode ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2Params) WithShareCode(shareCode string) *PublicUpdateContentByShareCodeV2Params
WithShareCode adds the shareCode to the public update content by share code v2 params
func (*PublicUpdateContentByShareCodeV2Params) WithTimeout ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2Params) WithTimeout(timeout time.Duration) *PublicUpdateContentByShareCodeV2Params
WithTimeout adds the timeout to the public update content by share code v2 params
func (*PublicUpdateContentByShareCodeV2Params) WithUserID ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2Params) WithUserID(userID string) *PublicUpdateContentByShareCodeV2Params
WithUserID adds the userID to the public update content by share code v2 params
func (*PublicUpdateContentByShareCodeV2Params) WriteToRequest ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicUpdateContentByShareCodeV2Reader ¶ added in v0.58.0
type PublicUpdateContentByShareCodeV2Reader struct {
// contains filtered or unexported fields
}
PublicUpdateContentByShareCodeV2Reader is a Reader for the PublicUpdateContentByShareCodeV2 structure.
func (*PublicUpdateContentByShareCodeV2Reader) ReadResponse ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicUpdateContentByShareCodeV2Unauthorized ¶ added in v0.58.0
type PublicUpdateContentByShareCodeV2Unauthorized struct {
}PublicUpdateContentByShareCodeV2Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPublicUpdateContentByShareCodeV2Unauthorized ¶ added in v0.58.0
func NewPublicUpdateContentByShareCodeV2Unauthorized() *PublicUpdateContentByShareCodeV2Unauthorized
NewPublicUpdateContentByShareCodeV2Unauthorized creates a PublicUpdateContentByShareCodeV2Unauthorized with default headers values
func (*PublicUpdateContentByShareCodeV2Unauthorized) Error ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2Unauthorized) Error() string
func (*PublicUpdateContentByShareCodeV2Unauthorized) GetPayload ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*PublicUpdateContentByShareCodeV2Unauthorized) ToJSONString ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeV2Unauthorized) ToJSONString() string
type PublicUpdateContentFileLocationBadRequest ¶
type PublicUpdateContentFileLocationBadRequest struct {
Payload *ugcclientmodels.ResponseError
}
PublicUpdateContentFileLocationBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>774001</td><td>unable to read response body/unable to update file location</td></tr></table>
func NewPublicUpdateContentFileLocationBadRequest ¶
func NewPublicUpdateContentFileLocationBadRequest() *PublicUpdateContentFileLocationBadRequest
NewPublicUpdateContentFileLocationBadRequest creates a PublicUpdateContentFileLocationBadRequest with default headers values
func (*PublicUpdateContentFileLocationBadRequest) Error ¶
func (o *PublicUpdateContentFileLocationBadRequest) Error() string
func (*PublicUpdateContentFileLocationBadRequest) GetPayload ¶
func (o *PublicUpdateContentFileLocationBadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*PublicUpdateContentFileLocationBadRequest) ToJSONString ¶
func (o *PublicUpdateContentFileLocationBadRequest) ToJSONString() string
type PublicUpdateContentFileLocationForbidden ¶
type PublicUpdateContentFileLocationForbidden struct {
Payload *ugcclientmodels.ResponseError
}
PublicUpdateContentFileLocationForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772604</td><td>User has been banned to update content</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewPublicUpdateContentFileLocationForbidden ¶
func NewPublicUpdateContentFileLocationForbidden() *PublicUpdateContentFileLocationForbidden
NewPublicUpdateContentFileLocationForbidden creates a PublicUpdateContentFileLocationForbidden with default headers values
func (*PublicUpdateContentFileLocationForbidden) Error ¶
func (o *PublicUpdateContentFileLocationForbidden) Error() string
func (*PublicUpdateContentFileLocationForbidden) GetPayload ¶
func (o *PublicUpdateContentFileLocationForbidden) GetPayload() *ugcclientmodels.ResponseError
func (*PublicUpdateContentFileLocationForbidden) ToJSONString ¶
func (o *PublicUpdateContentFileLocationForbidden) ToJSONString() string
type PublicUpdateContentFileLocationInternalServerError ¶
type PublicUpdateContentFileLocationInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
PublicUpdateContentFileLocationInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772602</td><td>Unable to check user ban status/Unable to get updated ugc content</td></tr><tr><td>774003</td><td>unable to update content file location</td></tr></table>
func NewPublicUpdateContentFileLocationInternalServerError ¶
func NewPublicUpdateContentFileLocationInternalServerError() *PublicUpdateContentFileLocationInternalServerError
NewPublicUpdateContentFileLocationInternalServerError creates a PublicUpdateContentFileLocationInternalServerError with default headers values
func (*PublicUpdateContentFileLocationInternalServerError) Error ¶
func (o *PublicUpdateContentFileLocationInternalServerError) Error() string
func (*PublicUpdateContentFileLocationInternalServerError) GetPayload ¶
func (o *PublicUpdateContentFileLocationInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*PublicUpdateContentFileLocationInternalServerError) ToJSONString ¶
func (o *PublicUpdateContentFileLocationInternalServerError) ToJSONString() string
type PublicUpdateContentFileLocationNotFound ¶
type PublicUpdateContentFileLocationNotFound struct {
Payload *ugcclientmodels.ResponseError
}
PublicUpdateContentFileLocationNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>774002</td><td>unable to update content file location: content not found</td></tr></table>
func NewPublicUpdateContentFileLocationNotFound ¶
func NewPublicUpdateContentFileLocationNotFound() *PublicUpdateContentFileLocationNotFound
NewPublicUpdateContentFileLocationNotFound creates a PublicUpdateContentFileLocationNotFound with default headers values
func (*PublicUpdateContentFileLocationNotFound) Error ¶
func (o *PublicUpdateContentFileLocationNotFound) Error() string
func (*PublicUpdateContentFileLocationNotFound) GetPayload ¶
func (o *PublicUpdateContentFileLocationNotFound) GetPayload() *ugcclientmodels.ResponseError
func (*PublicUpdateContentFileLocationNotFound) ToJSONString ¶
func (o *PublicUpdateContentFileLocationNotFound) ToJSONString() string
type PublicUpdateContentFileLocationOK ¶
type PublicUpdateContentFileLocationOK struct {
Payload *ugcclientmodels.ModelsUpdateContentResponseV2
}
PublicUpdateContentFileLocationOK handles this case with default header values.
Update content file location
func NewPublicUpdateContentFileLocationOK ¶
func NewPublicUpdateContentFileLocationOK() *PublicUpdateContentFileLocationOK
NewPublicUpdateContentFileLocationOK creates a PublicUpdateContentFileLocationOK with default headers values
func (*PublicUpdateContentFileLocationOK) Error ¶
func (o *PublicUpdateContentFileLocationOK) Error() string
func (*PublicUpdateContentFileLocationOK) GetPayload ¶
func (o *PublicUpdateContentFileLocationOK) GetPayload() *ugcclientmodels.ModelsUpdateContentResponseV2
func (*PublicUpdateContentFileLocationOK) ToJSONString ¶
func (o *PublicUpdateContentFileLocationOK) ToJSONString() string
type PublicUpdateContentFileLocationParams ¶
type PublicUpdateContentFileLocationParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *ugcclientmodels.ModelsUpdateFileLocationRequest /*ChannelID channel ID */ ChannelID string /*ContentID content ID */ ContentID string /*Namespace namespace of the game */ Namespace string /*UserID user ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicUpdateContentFileLocationParams contains all the parameters to send to the API endpoint for the public update content file location operation typically these are written to a http.Request
func NewPublicUpdateContentFileLocationParams ¶
func NewPublicUpdateContentFileLocationParams() *PublicUpdateContentFileLocationParams
NewPublicUpdateContentFileLocationParams creates a new PublicUpdateContentFileLocationParams object with the default values initialized.
func NewPublicUpdateContentFileLocationParamsWithContext ¶
func NewPublicUpdateContentFileLocationParamsWithContext(ctx context.Context) *PublicUpdateContentFileLocationParams
NewPublicUpdateContentFileLocationParamsWithContext creates a new PublicUpdateContentFileLocationParams object with the default values initialized, and the ability to set a context for a request
func NewPublicUpdateContentFileLocationParamsWithHTTPClient ¶
func NewPublicUpdateContentFileLocationParamsWithHTTPClient(client *http.Client) *PublicUpdateContentFileLocationParams
NewPublicUpdateContentFileLocationParamsWithHTTPClient creates a new PublicUpdateContentFileLocationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicUpdateContentFileLocationParamsWithTimeout ¶
func NewPublicUpdateContentFileLocationParamsWithTimeout(timeout time.Duration) *PublicUpdateContentFileLocationParams
NewPublicUpdateContentFileLocationParamsWithTimeout creates a new PublicUpdateContentFileLocationParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicUpdateContentFileLocationParams) SetAuthInfoWriter ¶
func (o *PublicUpdateContentFileLocationParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public update content file location params
func (*PublicUpdateContentFileLocationParams) SetBody ¶
func (o *PublicUpdateContentFileLocationParams) SetBody(body *ugcclientmodels.ModelsUpdateFileLocationRequest)
SetBody adds the body to the public update content file location params
func (*PublicUpdateContentFileLocationParams) SetChannelID ¶
func (o *PublicUpdateContentFileLocationParams) SetChannelID(channelID string)
SetChannelID adds the channelId to the public update content file location params
func (*PublicUpdateContentFileLocationParams) SetContentID ¶
func (o *PublicUpdateContentFileLocationParams) SetContentID(contentID string)
SetContentID adds the contentId to the public update content file location params
func (*PublicUpdateContentFileLocationParams) SetContext ¶
func (o *PublicUpdateContentFileLocationParams) SetContext(ctx context.Context)
SetContext adds the context to the public update content file location params
func (*PublicUpdateContentFileLocationParams) SetFlightId ¶ added in v0.63.0
func (o *PublicUpdateContentFileLocationParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicUpdateContentFileLocationParams) SetHTTPClient ¶
func (o *PublicUpdateContentFileLocationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public update content file location params
func (*PublicUpdateContentFileLocationParams) SetHTTPClientTransport ¶
func (o *PublicUpdateContentFileLocationParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public update content file location params
func (*PublicUpdateContentFileLocationParams) SetNamespace ¶
func (o *PublicUpdateContentFileLocationParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public update content file location params
func (*PublicUpdateContentFileLocationParams) SetTimeout ¶
func (o *PublicUpdateContentFileLocationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public update content file location params
func (*PublicUpdateContentFileLocationParams) SetUserID ¶
func (o *PublicUpdateContentFileLocationParams) SetUserID(userID string)
SetUserID adds the userId to the public update content file location params
func (*PublicUpdateContentFileLocationParams) WithBody ¶
func (o *PublicUpdateContentFileLocationParams) WithBody(body *ugcclientmodels.ModelsUpdateFileLocationRequest) *PublicUpdateContentFileLocationParams
WithBody adds the body to the public update content file location params
func (*PublicUpdateContentFileLocationParams) WithChannelID ¶
func (o *PublicUpdateContentFileLocationParams) WithChannelID(channelID string) *PublicUpdateContentFileLocationParams
WithChannelID adds the channelID to the public update content file location params
func (*PublicUpdateContentFileLocationParams) WithContentID ¶
func (o *PublicUpdateContentFileLocationParams) WithContentID(contentID string) *PublicUpdateContentFileLocationParams
WithContentID adds the contentID to the public update content file location params
func (*PublicUpdateContentFileLocationParams) WithContext ¶
func (o *PublicUpdateContentFileLocationParams) WithContext(ctx context.Context) *PublicUpdateContentFileLocationParams
WithContext adds the context to the public update content file location params
func (*PublicUpdateContentFileLocationParams) WithHTTPClient ¶
func (o *PublicUpdateContentFileLocationParams) WithHTTPClient(client *http.Client) *PublicUpdateContentFileLocationParams
WithHTTPClient adds the HTTPClient to the public update content file location params
func (*PublicUpdateContentFileLocationParams) WithNamespace ¶
func (o *PublicUpdateContentFileLocationParams) WithNamespace(namespace string) *PublicUpdateContentFileLocationParams
WithNamespace adds the namespace to the public update content file location params
func (*PublicUpdateContentFileLocationParams) WithTimeout ¶
func (o *PublicUpdateContentFileLocationParams) WithTimeout(timeout time.Duration) *PublicUpdateContentFileLocationParams
WithTimeout adds the timeout to the public update content file location params
func (*PublicUpdateContentFileLocationParams) WithUserID ¶
func (o *PublicUpdateContentFileLocationParams) WithUserID(userID string) *PublicUpdateContentFileLocationParams
WithUserID adds the userID to the public update content file location params
func (*PublicUpdateContentFileLocationParams) WriteToRequest ¶
func (o *PublicUpdateContentFileLocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicUpdateContentFileLocationReader ¶
type PublicUpdateContentFileLocationReader struct {
// contains filtered or unexported fields
}
PublicUpdateContentFileLocationReader is a Reader for the PublicUpdateContentFileLocation structure.
func (*PublicUpdateContentFileLocationReader) ReadResponse ¶
func (o *PublicUpdateContentFileLocationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicUpdateContentFileLocationUnauthorized ¶
type PublicUpdateContentFileLocationUnauthorized struct {
}PublicUpdateContentFileLocationUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPublicUpdateContentFileLocationUnauthorized ¶
func NewPublicUpdateContentFileLocationUnauthorized() *PublicUpdateContentFileLocationUnauthorized
NewPublicUpdateContentFileLocationUnauthorized creates a PublicUpdateContentFileLocationUnauthorized with default headers values
func (*PublicUpdateContentFileLocationUnauthorized) Error ¶
func (o *PublicUpdateContentFileLocationUnauthorized) Error() string
func (*PublicUpdateContentFileLocationUnauthorized) GetPayload ¶
func (o *PublicUpdateContentFileLocationUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*PublicUpdateContentFileLocationUnauthorized) ToJSONString ¶
func (o *PublicUpdateContentFileLocationUnauthorized) ToJSONString() string
type PublicUpdateContentV2BadRequest ¶
type PublicUpdateContentV2BadRequest struct {
Payload *ugcclientmodels.ResponseError
}
PublicUpdateContentV2BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772601</td><td>Malformed request</td></tr></table>
func NewPublicUpdateContentV2BadRequest ¶
func NewPublicUpdateContentV2BadRequest() *PublicUpdateContentV2BadRequest
NewPublicUpdateContentV2BadRequest creates a PublicUpdateContentV2BadRequest with default headers values
func (*PublicUpdateContentV2BadRequest) Error ¶
func (o *PublicUpdateContentV2BadRequest) Error() string
func (*PublicUpdateContentV2BadRequest) GetPayload ¶
func (o *PublicUpdateContentV2BadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*PublicUpdateContentV2BadRequest) ToJSONString ¶
func (o *PublicUpdateContentV2BadRequest) ToJSONString() string
type PublicUpdateContentV2Forbidden ¶ added in v0.60.0
type PublicUpdateContentV2Forbidden struct {
Payload *ugcclientmodels.ResponseError
}
PublicUpdateContentV2Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772604</td><td>User has been banned to update content</td></tr></table>
func NewPublicUpdateContentV2Forbidden ¶ added in v0.60.0
func NewPublicUpdateContentV2Forbidden() *PublicUpdateContentV2Forbidden
NewPublicUpdateContentV2Forbidden creates a PublicUpdateContentV2Forbidden with default headers values
func (*PublicUpdateContentV2Forbidden) Error ¶ added in v0.60.0
func (o *PublicUpdateContentV2Forbidden) Error() string
func (*PublicUpdateContentV2Forbidden) GetPayload ¶ added in v0.60.0
func (o *PublicUpdateContentV2Forbidden) GetPayload() *ugcclientmodels.ResponseError
func (*PublicUpdateContentV2Forbidden) ToJSONString ¶ added in v0.60.0
func (o *PublicUpdateContentV2Forbidden) ToJSONString() string
type PublicUpdateContentV2InternalServerError ¶
type PublicUpdateContentV2InternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
PublicUpdateContentV2InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772602</td><td>Unable to check user ban status/Unable to get updated ugc content</td></tr></table>
func NewPublicUpdateContentV2InternalServerError ¶
func NewPublicUpdateContentV2InternalServerError() *PublicUpdateContentV2InternalServerError
NewPublicUpdateContentV2InternalServerError creates a PublicUpdateContentV2InternalServerError with default headers values
func (*PublicUpdateContentV2InternalServerError) Error ¶
func (o *PublicUpdateContentV2InternalServerError) Error() string
func (*PublicUpdateContentV2InternalServerError) GetPayload ¶
func (o *PublicUpdateContentV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*PublicUpdateContentV2InternalServerError) ToJSONString ¶
func (o *PublicUpdateContentV2InternalServerError) ToJSONString() string
type PublicUpdateContentV2NotFound ¶
type PublicUpdateContentV2NotFound struct {
Payload *ugcclientmodels.ResponseError
}
PublicUpdateContentV2NotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772603</td><td>Content not found</td></tr></table>
func NewPublicUpdateContentV2NotFound ¶
func NewPublicUpdateContentV2NotFound() *PublicUpdateContentV2NotFound
NewPublicUpdateContentV2NotFound creates a PublicUpdateContentV2NotFound with default headers values
func (*PublicUpdateContentV2NotFound) Error ¶
func (o *PublicUpdateContentV2NotFound) Error() string
func (*PublicUpdateContentV2NotFound) GetPayload ¶
func (o *PublicUpdateContentV2NotFound) GetPayload() *ugcclientmodels.ResponseError
func (*PublicUpdateContentV2NotFound) ToJSONString ¶
func (o *PublicUpdateContentV2NotFound) ToJSONString() string
type PublicUpdateContentV2OK ¶
type PublicUpdateContentV2OK struct {
Payload *ugcclientmodels.ModelsUpdateContentResponseV2
}
PublicUpdateContentV2OK handles this case with default header values.
Content updated
func NewPublicUpdateContentV2OK ¶
func NewPublicUpdateContentV2OK() *PublicUpdateContentV2OK
NewPublicUpdateContentV2OK creates a PublicUpdateContentV2OK with default headers values
func (*PublicUpdateContentV2OK) Error ¶
func (o *PublicUpdateContentV2OK) Error() string
func (*PublicUpdateContentV2OK) GetPayload ¶
func (o *PublicUpdateContentV2OK) GetPayload() *ugcclientmodels.ModelsUpdateContentResponseV2
func (*PublicUpdateContentV2OK) ToJSONString ¶
func (o *PublicUpdateContentV2OK) ToJSONString() string
type PublicUpdateContentV2Params ¶
type PublicUpdateContentV2Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *ugcclientmodels.ModelsUpdateContentRequestV2 /*ChannelID channel ID */ ChannelID string /*ContentID content ID */ ContentID string /*Namespace namespace of the game */ Namespace string /*UserID user ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicUpdateContentV2Params contains all the parameters to send to the API endpoint for the public update content v2 operation typically these are written to a http.Request
func NewPublicUpdateContentV2Params ¶
func NewPublicUpdateContentV2Params() *PublicUpdateContentV2Params
NewPublicUpdateContentV2Params creates a new PublicUpdateContentV2Params object with the default values initialized.
func NewPublicUpdateContentV2ParamsWithContext ¶
func NewPublicUpdateContentV2ParamsWithContext(ctx context.Context) *PublicUpdateContentV2Params
NewPublicUpdateContentV2ParamsWithContext creates a new PublicUpdateContentV2Params object with the default values initialized, and the ability to set a context for a request
func NewPublicUpdateContentV2ParamsWithHTTPClient ¶
func NewPublicUpdateContentV2ParamsWithHTTPClient(client *http.Client) *PublicUpdateContentV2Params
NewPublicUpdateContentV2ParamsWithHTTPClient creates a new PublicUpdateContentV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicUpdateContentV2ParamsWithTimeout ¶
func NewPublicUpdateContentV2ParamsWithTimeout(timeout time.Duration) *PublicUpdateContentV2Params
NewPublicUpdateContentV2ParamsWithTimeout creates a new PublicUpdateContentV2Params object with the default values initialized, and the ability to set a timeout on a request
func (*PublicUpdateContentV2Params) SetAuthInfoWriter ¶
func (o *PublicUpdateContentV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public update content v2 params
func (*PublicUpdateContentV2Params) SetBody ¶
func (o *PublicUpdateContentV2Params) SetBody(body *ugcclientmodels.ModelsUpdateContentRequestV2)
SetBody adds the body to the public update content v2 params
func (*PublicUpdateContentV2Params) SetChannelID ¶
func (o *PublicUpdateContentV2Params) SetChannelID(channelID string)
SetChannelID adds the channelId to the public update content v2 params
func (*PublicUpdateContentV2Params) SetContentID ¶
func (o *PublicUpdateContentV2Params) SetContentID(contentID string)
SetContentID adds the contentId to the public update content v2 params
func (*PublicUpdateContentV2Params) SetContext ¶
func (o *PublicUpdateContentV2Params) SetContext(ctx context.Context)
SetContext adds the context to the public update content v2 params
func (*PublicUpdateContentV2Params) SetFlightId ¶ added in v0.63.0
func (o *PublicUpdateContentV2Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicUpdateContentV2Params) SetHTTPClient ¶
func (o *PublicUpdateContentV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public update content v2 params
func (*PublicUpdateContentV2Params) SetHTTPClientTransport ¶
func (o *PublicUpdateContentV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public update content v2 params
func (*PublicUpdateContentV2Params) SetNamespace ¶
func (o *PublicUpdateContentV2Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the public update content v2 params
func (*PublicUpdateContentV2Params) SetTimeout ¶
func (o *PublicUpdateContentV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public update content v2 params
func (*PublicUpdateContentV2Params) SetUserID ¶
func (o *PublicUpdateContentV2Params) SetUserID(userID string)
SetUserID adds the userId to the public update content v2 params
func (*PublicUpdateContentV2Params) WithBody ¶
func (o *PublicUpdateContentV2Params) WithBody(body *ugcclientmodels.ModelsUpdateContentRequestV2) *PublicUpdateContentV2Params
WithBody adds the body to the public update content v2 params
func (*PublicUpdateContentV2Params) WithChannelID ¶
func (o *PublicUpdateContentV2Params) WithChannelID(channelID string) *PublicUpdateContentV2Params
WithChannelID adds the channelID to the public update content v2 params
func (*PublicUpdateContentV2Params) WithContentID ¶
func (o *PublicUpdateContentV2Params) WithContentID(contentID string) *PublicUpdateContentV2Params
WithContentID adds the contentID to the public update content v2 params
func (*PublicUpdateContentV2Params) WithContext ¶
func (o *PublicUpdateContentV2Params) WithContext(ctx context.Context) *PublicUpdateContentV2Params
WithContext adds the context to the public update content v2 params
func (*PublicUpdateContentV2Params) WithHTTPClient ¶
func (o *PublicUpdateContentV2Params) WithHTTPClient(client *http.Client) *PublicUpdateContentV2Params
WithHTTPClient adds the HTTPClient to the public update content v2 params
func (*PublicUpdateContentV2Params) WithNamespace ¶
func (o *PublicUpdateContentV2Params) WithNamespace(namespace string) *PublicUpdateContentV2Params
WithNamespace adds the namespace to the public update content v2 params
func (*PublicUpdateContentV2Params) WithTimeout ¶
func (o *PublicUpdateContentV2Params) WithTimeout(timeout time.Duration) *PublicUpdateContentV2Params
WithTimeout adds the timeout to the public update content v2 params
func (*PublicUpdateContentV2Params) WithUserID ¶
func (o *PublicUpdateContentV2Params) WithUserID(userID string) *PublicUpdateContentV2Params
WithUserID adds the userID to the public update content v2 params
func (*PublicUpdateContentV2Params) WriteToRequest ¶
func (o *PublicUpdateContentV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicUpdateContentV2Reader ¶
type PublicUpdateContentV2Reader struct {
// contains filtered or unexported fields
}
PublicUpdateContentV2Reader is a Reader for the PublicUpdateContentV2 structure.
func (*PublicUpdateContentV2Reader) ReadResponse ¶
func (o *PublicUpdateContentV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicUpdateContentV2Unauthorized ¶
type PublicUpdateContentV2Unauthorized struct {
}PublicUpdateContentV2Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPublicUpdateContentV2Unauthorized ¶
func NewPublicUpdateContentV2Unauthorized() *PublicUpdateContentV2Unauthorized
NewPublicUpdateContentV2Unauthorized creates a PublicUpdateContentV2Unauthorized with default headers values
func (*PublicUpdateContentV2Unauthorized) Error ¶
func (o *PublicUpdateContentV2Unauthorized) Error() string
func (*PublicUpdateContentV2Unauthorized) GetPayload ¶
func (o *PublicUpdateContentV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*PublicUpdateContentV2Unauthorized) ToJSONString ¶
func (o *PublicUpdateContentV2Unauthorized) ToJSONString() string
type UpdateContentShareCodeV2BadRequest ¶ added in v0.59.0
type UpdateContentShareCodeV2BadRequest struct {
}UpdateContentShareCodeV2BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772601</td><td>Malformed request</td></tr><tr><td>772607</td><td>Unable to update ugc content: invalid shareCode format</td></tr></table>
func NewUpdateContentShareCodeV2BadRequest ¶ added in v0.59.0
func NewUpdateContentShareCodeV2BadRequest() *UpdateContentShareCodeV2BadRequest
NewUpdateContentShareCodeV2BadRequest creates a UpdateContentShareCodeV2BadRequest with default headers values
func (*UpdateContentShareCodeV2BadRequest) Error ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2BadRequest) Error() string
func (*UpdateContentShareCodeV2BadRequest) GetPayload ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2BadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateContentShareCodeV2BadRequest) ToJSONString ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2BadRequest) ToJSONString() string
type UpdateContentShareCodeV2Conflict ¶ added in v0.59.0
type UpdateContentShareCodeV2Conflict struct {
}UpdateContentShareCodeV2Conflict handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772606</td><td>Share code already used</td></tr></table>
func NewUpdateContentShareCodeV2Conflict ¶ added in v0.59.0
func NewUpdateContentShareCodeV2Conflict() *UpdateContentShareCodeV2Conflict
NewUpdateContentShareCodeV2Conflict creates a UpdateContentShareCodeV2Conflict with default headers values
func (*UpdateContentShareCodeV2Conflict) Error ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2Conflict) Error() string
func (*UpdateContentShareCodeV2Conflict) GetPayload ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2Conflict) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateContentShareCodeV2Conflict) ToJSONString ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2Conflict) ToJSONString() string
type UpdateContentShareCodeV2Forbidden ¶ added in v0.59.0
type UpdateContentShareCodeV2Forbidden struct {
}UpdateContentShareCodeV2Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772604</td><td>User has been banned to update content</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewUpdateContentShareCodeV2Forbidden ¶ added in v0.59.0
func NewUpdateContentShareCodeV2Forbidden() *UpdateContentShareCodeV2Forbidden
NewUpdateContentShareCodeV2Forbidden creates a UpdateContentShareCodeV2Forbidden with default headers values
func (*UpdateContentShareCodeV2Forbidden) Error ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2Forbidden) Error() string
func (*UpdateContentShareCodeV2Forbidden) GetPayload ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2Forbidden) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateContentShareCodeV2Forbidden) ToJSONString ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2Forbidden) ToJSONString() string
type UpdateContentShareCodeV2InternalServerError ¶ added in v0.59.0
type UpdateContentShareCodeV2InternalServerError struct {
}UpdateContentShareCodeV2InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772602</td><td>Unable to check user ban status/Unable to get updated ugc content</td></tr></table>
func NewUpdateContentShareCodeV2InternalServerError ¶ added in v0.59.0
func NewUpdateContentShareCodeV2InternalServerError() *UpdateContentShareCodeV2InternalServerError
NewUpdateContentShareCodeV2InternalServerError creates a UpdateContentShareCodeV2InternalServerError with default headers values
func (*UpdateContentShareCodeV2InternalServerError) Error ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2InternalServerError) Error() string
func (*UpdateContentShareCodeV2InternalServerError) GetPayload ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateContentShareCodeV2InternalServerError) ToJSONString ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2InternalServerError) ToJSONString() string
type UpdateContentShareCodeV2NotFound ¶ added in v0.59.0
type UpdateContentShareCodeV2NotFound struct {
}UpdateContentShareCodeV2NotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772603</td><td>Content not found</td></tr></table>
func NewUpdateContentShareCodeV2NotFound ¶ added in v0.59.0
func NewUpdateContentShareCodeV2NotFound() *UpdateContentShareCodeV2NotFound
NewUpdateContentShareCodeV2NotFound creates a UpdateContentShareCodeV2NotFound with default headers values
func (*UpdateContentShareCodeV2NotFound) Error ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2NotFound) Error() string
func (*UpdateContentShareCodeV2NotFound) GetPayload ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2NotFound) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateContentShareCodeV2NotFound) ToJSONString ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2NotFound) ToJSONString() string
type UpdateContentShareCodeV2OK ¶ added in v0.59.0
type UpdateContentShareCodeV2OK struct {
}UpdateContentShareCodeV2OK handles this case with default header values.
Update content sharecode
func NewUpdateContentShareCodeV2OK ¶ added in v0.59.0
func NewUpdateContentShareCodeV2OK() *UpdateContentShareCodeV2OK
NewUpdateContentShareCodeV2OK creates a UpdateContentShareCodeV2OK with default headers values
func (*UpdateContentShareCodeV2OK) Error ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2OK) Error() string
func (*UpdateContentShareCodeV2OK) GetPayload ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2OK) GetPayload() *ugcclientmodels.ModelsCreateContentResponseV2
func (*UpdateContentShareCodeV2OK) ToJSONString ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2OK) ToJSONString() string
type UpdateContentShareCodeV2Params ¶ added in v0.59.0
type UpdateContentShareCodeV2Params struct { utils.Retry Body *ugcclientmodels.ModelsUpdateContentShareCodeRequest ChannelID string ContentID string Namespace string UserID string XFlightId *string // contains filtered or unexported fields }RetryPolicy *
UpdateContentShareCodeV2Params contains all the parameters to send to the API endpoint for the update content share code v2 operation typically these are written to a http.Request
func NewUpdateContentShareCodeV2Params ¶ added in v0.59.0
func NewUpdateContentShareCodeV2Params() *UpdateContentShareCodeV2Params
NewUpdateContentShareCodeV2Params creates a new UpdateContentShareCodeV2Params object with the default values initialized.
func NewUpdateContentShareCodeV2ParamsWithContext ¶ added in v0.59.0
func NewUpdateContentShareCodeV2ParamsWithContext(ctx context.Context) *UpdateContentShareCodeV2Params
NewUpdateContentShareCodeV2ParamsWithContext creates a new UpdateContentShareCodeV2Params object with the default values initialized, and the ability to set a context for a request
func NewUpdateContentShareCodeV2ParamsWithHTTPClient ¶ added in v0.59.0
func NewUpdateContentShareCodeV2ParamsWithHTTPClient(client *http.Client) *UpdateContentShareCodeV2Params
NewUpdateContentShareCodeV2ParamsWithHTTPClient creates a new UpdateContentShareCodeV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateContentShareCodeV2ParamsWithTimeout ¶ added in v0.59.0
func NewUpdateContentShareCodeV2ParamsWithTimeout(timeout time.Duration) *UpdateContentShareCodeV2Params
NewUpdateContentShareCodeV2ParamsWithTimeout creates a new UpdateContentShareCodeV2Params object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateContentShareCodeV2Params) SetAuthInfoWriter ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update content share code v2 params
func (*UpdateContentShareCodeV2Params) SetBody ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2Params) SetBody(body *ugcclientmodels.ModelsUpdateContentShareCodeRequest)
SetBody adds the body to the update content share code v2 params
func (*UpdateContentShareCodeV2Params) SetChannelID ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2Params) SetChannelID(channelID string)
SetChannelID adds the channelId to the update content share code v2 params
func (*UpdateContentShareCodeV2Params) SetContentID ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2Params) SetContentID(contentID string)
SetContentID adds the contentId to the update content share code v2 params
func (*UpdateContentShareCodeV2Params) SetContext ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2Params) SetContext(ctx context.Context)
SetContext adds the context to the update content share code v2 params
func (*UpdateContentShareCodeV2Params) SetFlightId ¶ added in v0.63.0
func (o *UpdateContentShareCodeV2Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*UpdateContentShareCodeV2Params) SetHTTPClient ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update content share code v2 params
func (*UpdateContentShareCodeV2Params) SetHTTPClientTransport ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update content share code v2 params
func (*UpdateContentShareCodeV2Params) SetNamespace ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the update content share code v2 params
func (*UpdateContentShareCodeV2Params) SetTimeout ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update content share code v2 params
func (*UpdateContentShareCodeV2Params) SetUserID ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2Params) SetUserID(userID string)
SetUserID adds the userId to the update content share code v2 params
func (*UpdateContentShareCodeV2Params) WithBody ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2Params) WithBody(body *ugcclientmodels.ModelsUpdateContentShareCodeRequest) *UpdateContentShareCodeV2Params
WithBody adds the body to the update content share code v2 params
func (*UpdateContentShareCodeV2Params) WithChannelID ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2Params) WithChannelID(channelID string) *UpdateContentShareCodeV2Params
WithChannelID adds the channelID to the update content share code v2 params
func (*UpdateContentShareCodeV2Params) WithContentID ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2Params) WithContentID(contentID string) *UpdateContentShareCodeV2Params
WithContentID adds the contentID to the update content share code v2 params
func (*UpdateContentShareCodeV2Params) WithContext ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2Params) WithContext(ctx context.Context) *UpdateContentShareCodeV2Params
WithContext adds the context to the update content share code v2 params
func (*UpdateContentShareCodeV2Params) WithHTTPClient ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2Params) WithHTTPClient(client *http.Client) *UpdateContentShareCodeV2Params
WithHTTPClient adds the HTTPClient to the update content share code v2 params
func (*UpdateContentShareCodeV2Params) WithNamespace ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2Params) WithNamespace(namespace string) *UpdateContentShareCodeV2Params
WithNamespace adds the namespace to the update content share code v2 params
func (*UpdateContentShareCodeV2Params) WithTimeout ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2Params) WithTimeout(timeout time.Duration) *UpdateContentShareCodeV2Params
WithTimeout adds the timeout to the update content share code v2 params
func (*UpdateContentShareCodeV2Params) WithUserID ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2Params) WithUserID(userID string) *UpdateContentShareCodeV2Params
WithUserID adds the userID to the update content share code v2 params
func (*UpdateContentShareCodeV2Params) WriteToRequest ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateContentShareCodeV2Reader ¶ added in v0.59.0
type UpdateContentShareCodeV2Reader struct {
// contains filtered or unexported fields
}
UpdateContentShareCodeV2Reader is a Reader for the UpdateContentShareCodeV2 structure.
func (*UpdateContentShareCodeV2Reader) ReadResponse ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateContentShareCodeV2Unauthorized ¶ added in v0.59.0
type UpdateContentShareCodeV2Unauthorized struct {
}UpdateContentShareCodeV2Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewUpdateContentShareCodeV2Unauthorized ¶ added in v0.59.0
func NewUpdateContentShareCodeV2Unauthorized() *UpdateContentShareCodeV2Unauthorized
NewUpdateContentShareCodeV2Unauthorized creates a UpdateContentShareCodeV2Unauthorized with default headers values
func (*UpdateContentShareCodeV2Unauthorized) Error ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2Unauthorized) Error() string
func (*UpdateContentShareCodeV2Unauthorized) GetPayload ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateContentShareCodeV2Unauthorized) ToJSONString ¶ added in v0.59.0
func (o *UpdateContentShareCodeV2Unauthorized) ToJSONString() string
type UpdateScreenshotsV2BadRequest ¶
type UpdateScreenshotsV2BadRequest struct {
Payload *ugcclientmodels.ResponseError
}
UpdateScreenshotsV2BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772601</td><td>Malformed request</td></tr></table>
func NewUpdateScreenshotsV2BadRequest ¶
func NewUpdateScreenshotsV2BadRequest() *UpdateScreenshotsV2BadRequest
NewUpdateScreenshotsV2BadRequest creates a UpdateScreenshotsV2BadRequest with default headers values
func (*UpdateScreenshotsV2BadRequest) Error ¶
func (o *UpdateScreenshotsV2BadRequest) Error() string
func (*UpdateScreenshotsV2BadRequest) GetPayload ¶
func (o *UpdateScreenshotsV2BadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateScreenshotsV2BadRequest) ToJSONString ¶
func (o *UpdateScreenshotsV2BadRequest) ToJSONString() string
type UpdateScreenshotsV2Forbidden ¶ added in v0.60.0
type UpdateScreenshotsV2Forbidden struct {
Payload *ugcclientmodels.ResponseError
}
UpdateScreenshotsV2Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772604</td><td>User has been banned to update content</td></tr></table>
func NewUpdateScreenshotsV2Forbidden ¶ added in v0.60.0
func NewUpdateScreenshotsV2Forbidden() *UpdateScreenshotsV2Forbidden
NewUpdateScreenshotsV2Forbidden creates a UpdateScreenshotsV2Forbidden with default headers values
func (*UpdateScreenshotsV2Forbidden) Error ¶ added in v0.60.0
func (o *UpdateScreenshotsV2Forbidden) Error() string
func (*UpdateScreenshotsV2Forbidden) GetPayload ¶ added in v0.60.0
func (o *UpdateScreenshotsV2Forbidden) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateScreenshotsV2Forbidden) ToJSONString ¶ added in v0.60.0
func (o *UpdateScreenshotsV2Forbidden) ToJSONString() string
type UpdateScreenshotsV2InternalServerError ¶
type UpdateScreenshotsV2InternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
UpdateScreenshotsV2InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772602</td><td>Unable to check user ban status/Unable to get updated ugc content</td></tr></table>
func NewUpdateScreenshotsV2InternalServerError ¶
func NewUpdateScreenshotsV2InternalServerError() *UpdateScreenshotsV2InternalServerError
NewUpdateScreenshotsV2InternalServerError creates a UpdateScreenshotsV2InternalServerError with default headers values
func (*UpdateScreenshotsV2InternalServerError) Error ¶
func (o *UpdateScreenshotsV2InternalServerError) Error() string
func (*UpdateScreenshotsV2InternalServerError) GetPayload ¶
func (o *UpdateScreenshotsV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateScreenshotsV2InternalServerError) ToJSONString ¶
func (o *UpdateScreenshotsV2InternalServerError) ToJSONString() string
type UpdateScreenshotsV2NotFound ¶
type UpdateScreenshotsV2NotFound struct {
Payload *ugcclientmodels.ResponseError
}
UpdateScreenshotsV2NotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772603</td><td>Content not found</td></tr></table>
func NewUpdateScreenshotsV2NotFound ¶
func NewUpdateScreenshotsV2NotFound() *UpdateScreenshotsV2NotFound
NewUpdateScreenshotsV2NotFound creates a UpdateScreenshotsV2NotFound with default headers values
func (*UpdateScreenshotsV2NotFound) Error ¶
func (o *UpdateScreenshotsV2NotFound) Error() string
func (*UpdateScreenshotsV2NotFound) GetPayload ¶
func (o *UpdateScreenshotsV2NotFound) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateScreenshotsV2NotFound) ToJSONString ¶
func (o *UpdateScreenshotsV2NotFound) ToJSONString() string
type UpdateScreenshotsV2OK ¶
type UpdateScreenshotsV2OK struct {
Payload *ugcclientmodels.ModelsUpdateScreenshotResponse
}
UpdateScreenshotsV2OK handles this case with default header values.
Screenshot updated
func NewUpdateScreenshotsV2OK ¶
func NewUpdateScreenshotsV2OK() *UpdateScreenshotsV2OK
NewUpdateScreenshotsV2OK creates a UpdateScreenshotsV2OK with default headers values
func (*UpdateScreenshotsV2OK) Error ¶
func (o *UpdateScreenshotsV2OK) Error() string
func (*UpdateScreenshotsV2OK) GetPayload ¶
func (o *UpdateScreenshotsV2OK) GetPayload() *ugcclientmodels.ModelsUpdateScreenshotResponse
func (*UpdateScreenshotsV2OK) ToJSONString ¶
func (o *UpdateScreenshotsV2OK) ToJSONString() string
type UpdateScreenshotsV2Params ¶
type UpdateScreenshotsV2Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *ugcclientmodels.ModelsUpdateScreenshotRequest /*ContentID content ID */ ContentID string /*Namespace namespace of the game */ Namespace string /*UserID user ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
UpdateScreenshotsV2Params contains all the parameters to send to the API endpoint for the update screenshots v2 operation typically these are written to a http.Request
func NewUpdateScreenshotsV2Params ¶
func NewUpdateScreenshotsV2Params() *UpdateScreenshotsV2Params
NewUpdateScreenshotsV2Params creates a new UpdateScreenshotsV2Params object with the default values initialized.
func NewUpdateScreenshotsV2ParamsWithContext ¶
func NewUpdateScreenshotsV2ParamsWithContext(ctx context.Context) *UpdateScreenshotsV2Params
NewUpdateScreenshotsV2ParamsWithContext creates a new UpdateScreenshotsV2Params object with the default values initialized, and the ability to set a context for a request
func NewUpdateScreenshotsV2ParamsWithHTTPClient ¶
func NewUpdateScreenshotsV2ParamsWithHTTPClient(client *http.Client) *UpdateScreenshotsV2Params
NewUpdateScreenshotsV2ParamsWithHTTPClient creates a new UpdateScreenshotsV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateScreenshotsV2ParamsWithTimeout ¶
func NewUpdateScreenshotsV2ParamsWithTimeout(timeout time.Duration) *UpdateScreenshotsV2Params
NewUpdateScreenshotsV2ParamsWithTimeout creates a new UpdateScreenshotsV2Params object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateScreenshotsV2Params) SetAuthInfoWriter ¶
func (o *UpdateScreenshotsV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update screenshots v2 params
func (*UpdateScreenshotsV2Params) SetBody ¶
func (o *UpdateScreenshotsV2Params) SetBody(body *ugcclientmodels.ModelsUpdateScreenshotRequest)
SetBody adds the body to the update screenshots v2 params
func (*UpdateScreenshotsV2Params) SetContentID ¶
func (o *UpdateScreenshotsV2Params) SetContentID(contentID string)
SetContentID adds the contentId to the update screenshots v2 params
func (*UpdateScreenshotsV2Params) SetContext ¶
func (o *UpdateScreenshotsV2Params) SetContext(ctx context.Context)
SetContext adds the context to the update screenshots v2 params
func (*UpdateScreenshotsV2Params) SetFlightId ¶ added in v0.63.0
func (o *UpdateScreenshotsV2Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*UpdateScreenshotsV2Params) SetHTTPClient ¶
func (o *UpdateScreenshotsV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update screenshots v2 params
func (*UpdateScreenshotsV2Params) SetHTTPClientTransport ¶
func (o *UpdateScreenshotsV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update screenshots v2 params
func (*UpdateScreenshotsV2Params) SetNamespace ¶
func (o *UpdateScreenshotsV2Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the update screenshots v2 params
func (*UpdateScreenshotsV2Params) SetTimeout ¶
func (o *UpdateScreenshotsV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update screenshots v2 params
func (*UpdateScreenshotsV2Params) SetUserID ¶
func (o *UpdateScreenshotsV2Params) SetUserID(userID string)
SetUserID adds the userId to the update screenshots v2 params
func (*UpdateScreenshotsV2Params) WithBody ¶
func (o *UpdateScreenshotsV2Params) WithBody(body *ugcclientmodels.ModelsUpdateScreenshotRequest) *UpdateScreenshotsV2Params
WithBody adds the body to the update screenshots v2 params
func (*UpdateScreenshotsV2Params) WithContentID ¶
func (o *UpdateScreenshotsV2Params) WithContentID(contentID string) *UpdateScreenshotsV2Params
WithContentID adds the contentID to the update screenshots v2 params
func (*UpdateScreenshotsV2Params) WithContext ¶
func (o *UpdateScreenshotsV2Params) WithContext(ctx context.Context) *UpdateScreenshotsV2Params
WithContext adds the context to the update screenshots v2 params
func (*UpdateScreenshotsV2Params) WithHTTPClient ¶
func (o *UpdateScreenshotsV2Params) WithHTTPClient(client *http.Client) *UpdateScreenshotsV2Params
WithHTTPClient adds the HTTPClient to the update screenshots v2 params
func (*UpdateScreenshotsV2Params) WithNamespace ¶
func (o *UpdateScreenshotsV2Params) WithNamespace(namespace string) *UpdateScreenshotsV2Params
WithNamespace adds the namespace to the update screenshots v2 params
func (*UpdateScreenshotsV2Params) WithTimeout ¶
func (o *UpdateScreenshotsV2Params) WithTimeout(timeout time.Duration) *UpdateScreenshotsV2Params
WithTimeout adds the timeout to the update screenshots v2 params
func (*UpdateScreenshotsV2Params) WithUserID ¶
func (o *UpdateScreenshotsV2Params) WithUserID(userID string) *UpdateScreenshotsV2Params
WithUserID adds the userID to the update screenshots v2 params
func (*UpdateScreenshotsV2Params) WriteToRequest ¶
func (o *UpdateScreenshotsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateScreenshotsV2Reader ¶
type UpdateScreenshotsV2Reader struct {
// contains filtered or unexported fields
}
UpdateScreenshotsV2Reader is a Reader for the UpdateScreenshotsV2 structure.
func (*UpdateScreenshotsV2Reader) ReadResponse ¶
func (o *UpdateScreenshotsV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateScreenshotsV2Unauthorized ¶
type UpdateScreenshotsV2Unauthorized struct {
}UpdateScreenshotsV2Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewUpdateScreenshotsV2Unauthorized ¶
func NewUpdateScreenshotsV2Unauthorized() *UpdateScreenshotsV2Unauthorized
NewUpdateScreenshotsV2Unauthorized creates a UpdateScreenshotsV2Unauthorized with default headers values
func (*UpdateScreenshotsV2Unauthorized) Error ¶
func (o *UpdateScreenshotsV2Unauthorized) Error() string
func (*UpdateScreenshotsV2Unauthorized) GetPayload ¶
func (o *UpdateScreenshotsV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateScreenshotsV2Unauthorized) ToJSONString ¶
func (o *UpdateScreenshotsV2Unauthorized) ToJSONString() string
type UploadContentScreenshotV2BadRequest ¶
type UploadContentScreenshotV2BadRequest struct {
Payload *ugcclientmodels.ResponseError
}
UploadContentScreenshotV2BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772601</td><td>Malformed request</td></tr></table>
func NewUploadContentScreenshotV2BadRequest ¶
func NewUploadContentScreenshotV2BadRequest() *UploadContentScreenshotV2BadRequest
NewUploadContentScreenshotV2BadRequest creates a UploadContentScreenshotV2BadRequest with default headers values
func (*UploadContentScreenshotV2BadRequest) Error ¶
func (o *UploadContentScreenshotV2BadRequest) Error() string
func (*UploadContentScreenshotV2BadRequest) GetPayload ¶
func (o *UploadContentScreenshotV2BadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*UploadContentScreenshotV2BadRequest) ToJSONString ¶
func (o *UploadContentScreenshotV2BadRequest) ToJSONString() string
type UploadContentScreenshotV2Created ¶
type UploadContentScreenshotV2Created struct {
Payload *ugcclientmodels.ModelsCreateScreenshotResponse
}
UploadContentScreenshotV2Created handles this case with default header values.
Screenshot uploaded
func NewUploadContentScreenshotV2Created ¶
func NewUploadContentScreenshotV2Created() *UploadContentScreenshotV2Created
NewUploadContentScreenshotV2Created creates a UploadContentScreenshotV2Created with default headers values
func (*UploadContentScreenshotV2Created) Error ¶
func (o *UploadContentScreenshotV2Created) Error() string
func (*UploadContentScreenshotV2Created) GetPayload ¶
func (o *UploadContentScreenshotV2Created) GetPayload() *ugcclientmodels.ModelsCreateScreenshotResponse
func (*UploadContentScreenshotV2Created) ToJSONString ¶
func (o *UploadContentScreenshotV2Created) ToJSONString() string
type UploadContentScreenshotV2Forbidden ¶ added in v0.60.0
type UploadContentScreenshotV2Forbidden struct {
Payload *ugcclientmodels.ResponseError
}
UploadContentScreenshotV2Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772604</td><td>User has been banned to update content</td></tr></table>
func NewUploadContentScreenshotV2Forbidden ¶ added in v0.60.0
func NewUploadContentScreenshotV2Forbidden() *UploadContentScreenshotV2Forbidden
NewUploadContentScreenshotV2Forbidden creates a UploadContentScreenshotV2Forbidden with default headers values
func (*UploadContentScreenshotV2Forbidden) Error ¶ added in v0.60.0
func (o *UploadContentScreenshotV2Forbidden) Error() string
func (*UploadContentScreenshotV2Forbidden) GetPayload ¶ added in v0.60.0
func (o *UploadContentScreenshotV2Forbidden) GetPayload() *ugcclientmodels.ResponseError
func (*UploadContentScreenshotV2Forbidden) ToJSONString ¶ added in v0.60.0
func (o *UploadContentScreenshotV2Forbidden) ToJSONString() string
type UploadContentScreenshotV2InternalServerError ¶
type UploadContentScreenshotV2InternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
UploadContentScreenshotV2InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772602</td><td>Unable to check user ban status/Unable to get updated ugc content</td></tr><tr><td>772605</td><td>Unable to save ugc content: failed generate upload URL</td></tr></table>
func NewUploadContentScreenshotV2InternalServerError ¶
func NewUploadContentScreenshotV2InternalServerError() *UploadContentScreenshotV2InternalServerError
NewUploadContentScreenshotV2InternalServerError creates a UploadContentScreenshotV2InternalServerError with default headers values
func (*UploadContentScreenshotV2InternalServerError) Error ¶
func (o *UploadContentScreenshotV2InternalServerError) Error() string
func (*UploadContentScreenshotV2InternalServerError) GetPayload ¶
func (o *UploadContentScreenshotV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*UploadContentScreenshotV2InternalServerError) ToJSONString ¶
func (o *UploadContentScreenshotV2InternalServerError) ToJSONString() string
type UploadContentScreenshotV2Params ¶
type UploadContentScreenshotV2Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *ugcclientmodels.ModelsCreateScreenshotRequest /*ContentID content ID */ ContentID string /*Namespace namespace of the game */ Namespace string /*UserID user ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
UploadContentScreenshotV2Params contains all the parameters to send to the API endpoint for the upload content screenshot v2 operation typically these are written to a http.Request
func NewUploadContentScreenshotV2Params ¶
func NewUploadContentScreenshotV2Params() *UploadContentScreenshotV2Params
NewUploadContentScreenshotV2Params creates a new UploadContentScreenshotV2Params object with the default values initialized.
func NewUploadContentScreenshotV2ParamsWithContext ¶
func NewUploadContentScreenshotV2ParamsWithContext(ctx context.Context) *UploadContentScreenshotV2Params
NewUploadContentScreenshotV2ParamsWithContext creates a new UploadContentScreenshotV2Params object with the default values initialized, and the ability to set a context for a request
func NewUploadContentScreenshotV2ParamsWithHTTPClient ¶
func NewUploadContentScreenshotV2ParamsWithHTTPClient(client *http.Client) *UploadContentScreenshotV2Params
NewUploadContentScreenshotV2ParamsWithHTTPClient creates a new UploadContentScreenshotV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUploadContentScreenshotV2ParamsWithTimeout ¶
func NewUploadContentScreenshotV2ParamsWithTimeout(timeout time.Duration) *UploadContentScreenshotV2Params
NewUploadContentScreenshotV2ParamsWithTimeout creates a new UploadContentScreenshotV2Params object with the default values initialized, and the ability to set a timeout on a request
func (*UploadContentScreenshotV2Params) SetAuthInfoWriter ¶
func (o *UploadContentScreenshotV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the upload content screenshot v2 params
func (*UploadContentScreenshotV2Params) SetBody ¶
func (o *UploadContentScreenshotV2Params) SetBody(body *ugcclientmodels.ModelsCreateScreenshotRequest)
SetBody adds the body to the upload content screenshot v2 params
func (*UploadContentScreenshotV2Params) SetContentID ¶
func (o *UploadContentScreenshotV2Params) SetContentID(contentID string)
SetContentID adds the contentId to the upload content screenshot v2 params
func (*UploadContentScreenshotV2Params) SetContext ¶
func (o *UploadContentScreenshotV2Params) SetContext(ctx context.Context)
SetContext adds the context to the upload content screenshot v2 params
func (*UploadContentScreenshotV2Params) SetFlightId ¶ added in v0.63.0
func (o *UploadContentScreenshotV2Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*UploadContentScreenshotV2Params) SetHTTPClient ¶
func (o *UploadContentScreenshotV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upload content screenshot v2 params
func (*UploadContentScreenshotV2Params) SetHTTPClientTransport ¶
func (o *UploadContentScreenshotV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the upload content screenshot v2 params
func (*UploadContentScreenshotV2Params) SetNamespace ¶
func (o *UploadContentScreenshotV2Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the upload content screenshot v2 params
func (*UploadContentScreenshotV2Params) SetTimeout ¶
func (o *UploadContentScreenshotV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upload content screenshot v2 params
func (*UploadContentScreenshotV2Params) SetUserID ¶
func (o *UploadContentScreenshotV2Params) SetUserID(userID string)
SetUserID adds the userId to the upload content screenshot v2 params
func (*UploadContentScreenshotV2Params) WithBody ¶
func (o *UploadContentScreenshotV2Params) WithBody(body *ugcclientmodels.ModelsCreateScreenshotRequest) *UploadContentScreenshotV2Params
WithBody adds the body to the upload content screenshot v2 params
func (*UploadContentScreenshotV2Params) WithContentID ¶
func (o *UploadContentScreenshotV2Params) WithContentID(contentID string) *UploadContentScreenshotV2Params
WithContentID adds the contentID to the upload content screenshot v2 params
func (*UploadContentScreenshotV2Params) WithContext ¶
func (o *UploadContentScreenshotV2Params) WithContext(ctx context.Context) *UploadContentScreenshotV2Params
WithContext adds the context to the upload content screenshot v2 params
func (*UploadContentScreenshotV2Params) WithHTTPClient ¶
func (o *UploadContentScreenshotV2Params) WithHTTPClient(client *http.Client) *UploadContentScreenshotV2Params
WithHTTPClient adds the HTTPClient to the upload content screenshot v2 params
func (*UploadContentScreenshotV2Params) WithNamespace ¶
func (o *UploadContentScreenshotV2Params) WithNamespace(namespace string) *UploadContentScreenshotV2Params
WithNamespace adds the namespace to the upload content screenshot v2 params
func (*UploadContentScreenshotV2Params) WithTimeout ¶
func (o *UploadContentScreenshotV2Params) WithTimeout(timeout time.Duration) *UploadContentScreenshotV2Params
WithTimeout adds the timeout to the upload content screenshot v2 params
func (*UploadContentScreenshotV2Params) WithUserID ¶
func (o *UploadContentScreenshotV2Params) WithUserID(userID string) *UploadContentScreenshotV2Params
WithUserID adds the userID to the upload content screenshot v2 params
func (*UploadContentScreenshotV2Params) WriteToRequest ¶
func (o *UploadContentScreenshotV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UploadContentScreenshotV2Reader ¶
type UploadContentScreenshotV2Reader struct {
// contains filtered or unexported fields
}
UploadContentScreenshotV2Reader is a Reader for the UploadContentScreenshotV2 structure.
func (*UploadContentScreenshotV2Reader) ReadResponse ¶
func (o *UploadContentScreenshotV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UploadContentScreenshotV2Unauthorized ¶
type UploadContentScreenshotV2Unauthorized struct {
}UploadContentScreenshotV2Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewUploadContentScreenshotV2Unauthorized ¶
func NewUploadContentScreenshotV2Unauthorized() *UploadContentScreenshotV2Unauthorized
NewUploadContentScreenshotV2Unauthorized creates a UploadContentScreenshotV2Unauthorized with default headers values
func (*UploadContentScreenshotV2Unauthorized) Error ¶
func (o *UploadContentScreenshotV2Unauthorized) Error() string
func (*UploadContentScreenshotV2Unauthorized) GetPayload ¶
func (o *UploadContentScreenshotV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*UploadContentScreenshotV2Unauthorized) ToJSONString ¶
func (o *UploadContentScreenshotV2Unauthorized) ToJSONString() string
Source Files ¶
- delete_content_screenshot_v2_parameters.go
- delete_content_screenshot_v2_responses.go
- public_bulk_get_content_by_id_v2_parameters.go
- public_bulk_get_content_by_id_v2_responses.go
- public_content_v2_client.go
- public_create_content_v2_parameters.go
- public_create_content_v2_responses.go
- public_delete_content_by_share_code_v2_parameters.go
- public_delete_content_by_share_code_v2_responses.go
- public_delete_content_v2_parameters.go
- public_delete_content_v2_responses.go
- public_generate_content_upload_url_v2_parameters.go
- public_generate_content_upload_url_v2_responses.go
- public_get_content_bulk_by_share_codes_v2_parameters.go
- public_get_content_bulk_by_share_codes_v2_responses.go
- public_get_content_by_channel_id_v2_parameters.go
- public_get_content_by_channel_id_v2_responses.go
- public_get_content_by_id_v2_parameters.go
- public_get_content_by_id_v2_responses.go
- public_get_content_by_share_code_v2_parameters.go
- public_get_content_by_share_code_v2_responses.go
- public_get_content_by_user_id_v2_parameters.go
- public_get_content_by_user_id_v2_responses.go
- public_list_content_v2_parameters.go
- public_list_content_v2_responses.go
- public_update_content_by_share_code_v2_parameters.go
- public_update_content_by_share_code_v2_responses.go
- public_update_content_file_location_parameters.go
- public_update_content_file_location_responses.go
- public_update_content_v2_parameters.go
- public_update_content_v2_responses.go
- update_content_share_code_v2_parameters.go
- update_content_share_code_v2_responses.go
- update_screenshots_v2_parameters.go
- update_screenshots_v2_responses.go
- upload_content_screenshot_v2_parameters.go
- upload_content_screenshot_v2_responses.go