Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateContentDirect(params *CreateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*CreateContentDirectCreated, *CreateContentDirectBadRequest, ...)deprecated
- func (a *Client) CreateContentDirectShort(params *CreateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*CreateContentDirectCreated, error)
- func (a *Client) CreateContentS3(params *CreateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*CreateContentS3Created, *CreateContentS3BadRequest, ...)deprecated
- func (a *Client) CreateContentS3Short(params *CreateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*CreateContentS3Created, error)
- func (a *Client) DeleteContent(params *DeleteContentParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentNoContent, *DeleteContentUnauthorized, *DeleteContentNotFound, ...)deprecated
- func (a *Client) DeleteContentScreenshot(params *DeleteContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentScreenshotNoContent, *DeleteContentScreenshotBadRequest, ...)deprecated
- func (a *Client) DeleteContentScreenshotShort(params *DeleteContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentScreenshotNoContent, error)
- func (a *Client) DeleteContentShort(params *DeleteContentParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentNoContent, error)
- func (a *Client) PublicDeleteContentByShareCode(params *PublicDeleteContentByShareCodeParams, ...) (*PublicDeleteContentByShareCodeNoContent, ...)deprecated
- func (a *Client) PublicDeleteContentByShareCodeShort(params *PublicDeleteContentByShareCodeParams, ...) (*PublicDeleteContentByShareCodeNoContent, error)
- func (a *Client) PublicDownloadContentByContentID(params *PublicDownloadContentByContentIDParams, ...) (*PublicDownloadContentByContentIDOK, ...)deprecated
- func (a *Client) PublicDownloadContentByContentIDShort(params *PublicDownloadContentByContentIDParams, ...) (*PublicDownloadContentByContentIDOK, error)
- func (a *Client) PublicDownloadContentByShareCode(params *PublicDownloadContentByShareCodeParams, ...) (*PublicDownloadContentByShareCodeOK, ...)deprecated
- func (a *Client) PublicDownloadContentByShareCodeShort(params *PublicDownloadContentByShareCodeParams, ...) (*PublicDownloadContentByShareCodeOK, error)
- func (a *Client) PublicDownloadContentPreview(params *PublicDownloadContentPreviewParams, ...) (*PublicDownloadContentPreviewOK, *PublicDownloadContentPreviewUnauthorized, ...)deprecated
- func (a *Client) PublicDownloadContentPreviewShort(params *PublicDownloadContentPreviewParams, ...) (*PublicDownloadContentPreviewOK, error)
- func (a *Client) PublicGetContentBulk(params *PublicGetContentBulkParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentBulkOK, *PublicGetContentBulkBadRequest, ...)deprecated
- func (a *Client) PublicGetContentBulkByShareCodes(params *PublicGetContentBulkByShareCodesParams, ...) (*PublicGetContentBulkByShareCodesOK, ...)deprecated
- func (a *Client) PublicGetContentBulkByShareCodesShort(params *PublicGetContentBulkByShareCodesParams, ...) (*PublicGetContentBulkByShareCodesOK, error)
- func (a *Client) PublicGetContentBulkShort(params *PublicGetContentBulkParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentBulkOK, error)
- func (a *Client) PublicGetUserContent(params *PublicGetUserContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserContentOK, *PublicGetUserContentBadRequest, ...)deprecated
- func (a *Client) PublicGetUserContentShort(params *PublicGetUserContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserContentOK, error)
- func (a *Client) PublicSearchContent(params *PublicSearchContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSearchContentOK, *PublicSearchContentBadRequest, ...)deprecated
- func (a *Client) PublicSearchContentShort(params *PublicSearchContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSearchContentOK, error)
- func (a *Client) PublicUpdateContentByShareCode(params *PublicUpdateContentByShareCodeParams, ...) (*PublicUpdateContentByShareCodeOK, *PublicUpdateContentByShareCodeBadRequest, ...)deprecated
- func (a *Client) PublicUpdateContentByShareCodeShort(params *PublicUpdateContentByShareCodeParams, ...) (*PublicUpdateContentByShareCodeOK, error)
- func (a *Client) SearchChannelSpecificContent(params *SearchChannelSpecificContentParams, ...) (*SearchChannelSpecificContentOK, *SearchChannelSpecificContentBadRequest, ...)deprecated
- func (a *Client) SearchChannelSpecificContentShort(params *SearchChannelSpecificContentParams, ...) (*SearchChannelSpecificContentOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateContentDirect(params *UpdateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentDirectOK, *UpdateContentDirectBadRequest, ...)deprecated
- func (a *Client) UpdateContentDirectShort(params *UpdateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentDirectOK, error)
- func (a *Client) UpdateContentS3(params *UpdateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentS3OK, *UpdateContentS3BadRequest, *UpdateContentS3Unauthorized, ...)deprecated
- func (a *Client) UpdateContentS3Short(params *UpdateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentS3OK, error)
- func (a *Client) UpdateContentShareCode(params *UpdateContentShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentShareCodeOK, *UpdateContentShareCodeBadRequest, ...)deprecated
- func (a *Client) UpdateContentShareCodeShort(params *UpdateContentShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentShareCodeOK, error)
- func (a *Client) UpdateScreenshots(params *UpdateScreenshotsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateScreenshotsOK, *UpdateScreenshotsBadRequest, ...)deprecated
- func (a *Client) UpdateScreenshotsShort(params *UpdateScreenshotsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateScreenshotsOK, error)
- func (a *Client) UploadContentScreenshot(params *UploadContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*UploadContentScreenshotCreated, *UploadContentScreenshotBadRequest, ...)deprecated
- func (a *Client) UploadContentScreenshotShort(params *UploadContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*UploadContentScreenshotCreated, error)
- type ClientService
- type CreateContentDirectBadRequest
- type CreateContentDirectCreated
- type CreateContentDirectForbidden
- type CreateContentDirectInternalServerError
- type CreateContentDirectParams
- func NewCreateContentDirectParams() *CreateContentDirectParams
- func NewCreateContentDirectParamsWithContext(ctx context.Context) *CreateContentDirectParams
- func NewCreateContentDirectParamsWithHTTPClient(client *http.Client) *CreateContentDirectParams
- func NewCreateContentDirectParamsWithTimeout(timeout time.Duration) *CreateContentDirectParams
- func (o *CreateContentDirectParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CreateContentDirectParams) SetBody(body *ugcclientmodels.ModelsCreateContentRequest)
- func (o *CreateContentDirectParams) SetChannelID(channelID string)
- func (o *CreateContentDirectParams) SetContext(ctx context.Context)
- func (o *CreateContentDirectParams) SetFlightId(flightId string)
- func (o *CreateContentDirectParams) SetHTTPClient(client *http.Client)
- func (o *CreateContentDirectParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CreateContentDirectParams) SetNamespace(namespace string)
- func (o *CreateContentDirectParams) SetTimeout(timeout time.Duration)
- func (o *CreateContentDirectParams) SetUserID(userID string)
- func (o *CreateContentDirectParams) WithBody(body *ugcclientmodels.ModelsCreateContentRequest) *CreateContentDirectParams
- func (o *CreateContentDirectParams) WithChannelID(channelID string) *CreateContentDirectParams
- func (o *CreateContentDirectParams) WithContext(ctx context.Context) *CreateContentDirectParams
- func (o *CreateContentDirectParams) WithHTTPClient(client *http.Client) *CreateContentDirectParams
- func (o *CreateContentDirectParams) WithNamespace(namespace string) *CreateContentDirectParams
- func (o *CreateContentDirectParams) WithTimeout(timeout time.Duration) *CreateContentDirectParams
- func (o *CreateContentDirectParams) WithUserID(userID string) *CreateContentDirectParams
- func (o *CreateContentDirectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateContentDirectReader
- type CreateContentDirectUnauthorized
- type CreateContentS3BadRequest
- type CreateContentS3Created
- type CreateContentS3Forbidden
- type CreateContentS3InternalServerError
- type CreateContentS3Params
- func NewCreateContentS3Params() *CreateContentS3Params
- func NewCreateContentS3ParamsWithContext(ctx context.Context) *CreateContentS3Params
- func NewCreateContentS3ParamsWithHTTPClient(client *http.Client) *CreateContentS3Params
- func NewCreateContentS3ParamsWithTimeout(timeout time.Duration) *CreateContentS3Params
- func (o *CreateContentS3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CreateContentS3Params) SetBody(body *ugcclientmodels.ModelsPublicCreateContentRequestS3)
- func (o *CreateContentS3Params) SetChannelID(channelID string)
- func (o *CreateContentS3Params) SetContext(ctx context.Context)
- func (o *CreateContentS3Params) SetFlightId(flightId string)
- func (o *CreateContentS3Params) SetHTTPClient(client *http.Client)
- func (o *CreateContentS3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CreateContentS3Params) SetNamespace(namespace string)
- func (o *CreateContentS3Params) SetTimeout(timeout time.Duration)
- func (o *CreateContentS3Params) SetUserID(userID string)
- func (o *CreateContentS3Params) WithBody(body *ugcclientmodels.ModelsPublicCreateContentRequestS3) *CreateContentS3Params
- func (o *CreateContentS3Params) WithChannelID(channelID string) *CreateContentS3Params
- func (o *CreateContentS3Params) WithContext(ctx context.Context) *CreateContentS3Params
- func (o *CreateContentS3Params) WithHTTPClient(client *http.Client) *CreateContentS3Params
- func (o *CreateContentS3Params) WithNamespace(namespace string) *CreateContentS3Params
- func (o *CreateContentS3Params) WithTimeout(timeout time.Duration) *CreateContentS3Params
- func (o *CreateContentS3Params) WithUserID(userID string) *CreateContentS3Params
- func (o *CreateContentS3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateContentS3Reader
- type CreateContentS3Unauthorized
- type DeleteContentInternalServerError
- type DeleteContentNoContent
- type DeleteContentNotFound
- type DeleteContentParams
- func (o *DeleteContentParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteContentParams) SetChannelID(channelID string)
- func (o *DeleteContentParams) SetContentID(contentID string)
- func (o *DeleteContentParams) SetContext(ctx context.Context)
- func (o *DeleteContentParams) SetFlightId(flightId string)
- func (o *DeleteContentParams) SetHTTPClient(client *http.Client)
- func (o *DeleteContentParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteContentParams) SetNamespace(namespace string)
- func (o *DeleteContentParams) SetTimeout(timeout time.Duration)
- func (o *DeleteContentParams) SetUserID(userID string)
- func (o *DeleteContentParams) WithChannelID(channelID string) *DeleteContentParams
- func (o *DeleteContentParams) WithContentID(contentID string) *DeleteContentParams
- func (o *DeleteContentParams) WithContext(ctx context.Context) *DeleteContentParams
- func (o *DeleteContentParams) WithHTTPClient(client *http.Client) *DeleteContentParams
- func (o *DeleteContentParams) WithNamespace(namespace string) *DeleteContentParams
- func (o *DeleteContentParams) WithTimeout(timeout time.Duration) *DeleteContentParams
- func (o *DeleteContentParams) WithUserID(userID string) *DeleteContentParams
- func (o *DeleteContentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteContentReader
- type DeleteContentScreenshotBadRequest
- type DeleteContentScreenshotForbidden
- type DeleteContentScreenshotInternalServerError
- type DeleteContentScreenshotNoContent
- type DeleteContentScreenshotNotFound
- type DeleteContentScreenshotParams
- func NewDeleteContentScreenshotParams() *DeleteContentScreenshotParams
- func NewDeleteContentScreenshotParamsWithContext(ctx context.Context) *DeleteContentScreenshotParams
- func NewDeleteContentScreenshotParamsWithHTTPClient(client *http.Client) *DeleteContentScreenshotParams
- func NewDeleteContentScreenshotParamsWithTimeout(timeout time.Duration) *DeleteContentScreenshotParams
- func (o *DeleteContentScreenshotParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteContentScreenshotParams) SetContentID(contentID string)
- func (o *DeleteContentScreenshotParams) SetContext(ctx context.Context)
- func (o *DeleteContentScreenshotParams) SetFlightId(flightId string)
- func (o *DeleteContentScreenshotParams) SetHTTPClient(client *http.Client)
- func (o *DeleteContentScreenshotParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteContentScreenshotParams) SetNamespace(namespace string)
- func (o *DeleteContentScreenshotParams) SetScreenshotID(screenshotID string)
- func (o *DeleteContentScreenshotParams) SetTimeout(timeout time.Duration)
- func (o *DeleteContentScreenshotParams) SetUserID(userID string)
- func (o *DeleteContentScreenshotParams) WithContentID(contentID string) *DeleteContentScreenshotParams
- func (o *DeleteContentScreenshotParams) WithContext(ctx context.Context) *DeleteContentScreenshotParams
- func (o *DeleteContentScreenshotParams) WithHTTPClient(client *http.Client) *DeleteContentScreenshotParams
- func (o *DeleteContentScreenshotParams) WithNamespace(namespace string) *DeleteContentScreenshotParams
- func (o *DeleteContentScreenshotParams) WithScreenshotID(screenshotID string) *DeleteContentScreenshotParams
- func (o *DeleteContentScreenshotParams) WithTimeout(timeout time.Duration) *DeleteContentScreenshotParams
- func (o *DeleteContentScreenshotParams) WithUserID(userID string) *DeleteContentScreenshotParams
- func (o *DeleteContentScreenshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteContentScreenshotReader
- type DeleteContentScreenshotUnauthorized
- type DeleteContentUnauthorized
- type PublicDeleteContentByShareCodeInternalServerError
- type PublicDeleteContentByShareCodeNoContent
- type PublicDeleteContentByShareCodeNotFound
- type PublicDeleteContentByShareCodeParams
- func NewPublicDeleteContentByShareCodeParams() *PublicDeleteContentByShareCodeParams
- func NewPublicDeleteContentByShareCodeParamsWithContext(ctx context.Context) *PublicDeleteContentByShareCodeParams
- func NewPublicDeleteContentByShareCodeParamsWithHTTPClient(client *http.Client) *PublicDeleteContentByShareCodeParams
- func NewPublicDeleteContentByShareCodeParamsWithTimeout(timeout time.Duration) *PublicDeleteContentByShareCodeParams
- func (o *PublicDeleteContentByShareCodeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicDeleteContentByShareCodeParams) SetChannelID(channelID string)
- func (o *PublicDeleteContentByShareCodeParams) SetContext(ctx context.Context)
- func (o *PublicDeleteContentByShareCodeParams) SetFlightId(flightId string)
- func (o *PublicDeleteContentByShareCodeParams) SetHTTPClient(client *http.Client)
- func (o *PublicDeleteContentByShareCodeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicDeleteContentByShareCodeParams) SetNamespace(namespace string)
- func (o *PublicDeleteContentByShareCodeParams) SetShareCode(shareCode string)
- func (o *PublicDeleteContentByShareCodeParams) SetTimeout(timeout time.Duration)
- func (o *PublicDeleteContentByShareCodeParams) SetUserID(userID string)
- func (o *PublicDeleteContentByShareCodeParams) WithChannelID(channelID string) *PublicDeleteContentByShareCodeParams
- func (o *PublicDeleteContentByShareCodeParams) WithContext(ctx context.Context) *PublicDeleteContentByShareCodeParams
- func (o *PublicDeleteContentByShareCodeParams) WithHTTPClient(client *http.Client) *PublicDeleteContentByShareCodeParams
- func (o *PublicDeleteContentByShareCodeParams) WithNamespace(namespace string) *PublicDeleteContentByShareCodeParams
- func (o *PublicDeleteContentByShareCodeParams) WithShareCode(shareCode string) *PublicDeleteContentByShareCodeParams
- func (o *PublicDeleteContentByShareCodeParams) WithTimeout(timeout time.Duration) *PublicDeleteContentByShareCodeParams
- func (o *PublicDeleteContentByShareCodeParams) WithUserID(userID string) *PublicDeleteContentByShareCodeParams
- func (o *PublicDeleteContentByShareCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicDeleteContentByShareCodeReader
- type PublicDeleteContentByShareCodeUnauthorized
- type PublicDownloadContentByContentIDInternalServerError
- type PublicDownloadContentByContentIDNotFound
- type PublicDownloadContentByContentIDOK
- type PublicDownloadContentByContentIDParams
- func NewPublicDownloadContentByContentIDParams() *PublicDownloadContentByContentIDParams
- func NewPublicDownloadContentByContentIDParamsWithContext(ctx context.Context) *PublicDownloadContentByContentIDParams
- func NewPublicDownloadContentByContentIDParamsWithHTTPClient(client *http.Client) *PublicDownloadContentByContentIDParams
- func NewPublicDownloadContentByContentIDParamsWithTimeout(timeout time.Duration) *PublicDownloadContentByContentIDParams
- func (o *PublicDownloadContentByContentIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicDownloadContentByContentIDParams) SetContentID(contentID string)
- func (o *PublicDownloadContentByContentIDParams) SetContext(ctx context.Context)
- func (o *PublicDownloadContentByContentIDParams) SetFlightId(flightId string)
- func (o *PublicDownloadContentByContentIDParams) SetHTTPClient(client *http.Client)
- func (o *PublicDownloadContentByContentIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicDownloadContentByContentIDParams) SetNamespace(namespace string)
- func (o *PublicDownloadContentByContentIDParams) SetTimeout(timeout time.Duration)
- func (o *PublicDownloadContentByContentIDParams) WithContentID(contentID string) *PublicDownloadContentByContentIDParams
- func (o *PublicDownloadContentByContentIDParams) WithContext(ctx context.Context) *PublicDownloadContentByContentIDParams
- func (o *PublicDownloadContentByContentIDParams) WithHTTPClient(client *http.Client) *PublicDownloadContentByContentIDParams
- func (o *PublicDownloadContentByContentIDParams) WithNamespace(namespace string) *PublicDownloadContentByContentIDParams
- func (o *PublicDownloadContentByContentIDParams) WithTimeout(timeout time.Duration) *PublicDownloadContentByContentIDParams
- func (o *PublicDownloadContentByContentIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicDownloadContentByContentIDReader
- type PublicDownloadContentByContentIDUnauthorized
- type PublicDownloadContentByShareCodeInternalServerError
- type PublicDownloadContentByShareCodeNotFound
- type PublicDownloadContentByShareCodeOK
- type PublicDownloadContentByShareCodeParams
- func NewPublicDownloadContentByShareCodeParams() *PublicDownloadContentByShareCodeParams
- func NewPublicDownloadContentByShareCodeParamsWithContext(ctx context.Context) *PublicDownloadContentByShareCodeParams
- func NewPublicDownloadContentByShareCodeParamsWithHTTPClient(client *http.Client) *PublicDownloadContentByShareCodeParams
- func NewPublicDownloadContentByShareCodeParamsWithTimeout(timeout time.Duration) *PublicDownloadContentByShareCodeParams
- func (o *PublicDownloadContentByShareCodeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicDownloadContentByShareCodeParams) SetContext(ctx context.Context)
- func (o *PublicDownloadContentByShareCodeParams) SetFlightId(flightId string)
- func (o *PublicDownloadContentByShareCodeParams) SetHTTPClient(client *http.Client)
- func (o *PublicDownloadContentByShareCodeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicDownloadContentByShareCodeParams) SetNamespace(namespace string)
- func (o *PublicDownloadContentByShareCodeParams) SetShareCode(shareCode string)
- func (o *PublicDownloadContentByShareCodeParams) SetTimeout(timeout time.Duration)
- func (o *PublicDownloadContentByShareCodeParams) WithContext(ctx context.Context) *PublicDownloadContentByShareCodeParams
- func (o *PublicDownloadContentByShareCodeParams) WithHTTPClient(client *http.Client) *PublicDownloadContentByShareCodeParams
- func (o *PublicDownloadContentByShareCodeParams) WithNamespace(namespace string) *PublicDownloadContentByShareCodeParams
- func (o *PublicDownloadContentByShareCodeParams) WithShareCode(shareCode string) *PublicDownloadContentByShareCodeParams
- func (o *PublicDownloadContentByShareCodeParams) WithTimeout(timeout time.Duration) *PublicDownloadContentByShareCodeParams
- func (o *PublicDownloadContentByShareCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicDownloadContentByShareCodeReader
- type PublicDownloadContentByShareCodeUnauthorized
- type PublicDownloadContentPreviewInternalServerError
- type PublicDownloadContentPreviewNotFound
- type PublicDownloadContentPreviewOK
- type PublicDownloadContentPreviewParams
- func NewPublicDownloadContentPreviewParams() *PublicDownloadContentPreviewParams
- func NewPublicDownloadContentPreviewParamsWithContext(ctx context.Context) *PublicDownloadContentPreviewParams
- func NewPublicDownloadContentPreviewParamsWithHTTPClient(client *http.Client) *PublicDownloadContentPreviewParams
- func NewPublicDownloadContentPreviewParamsWithTimeout(timeout time.Duration) *PublicDownloadContentPreviewParams
- func (o *PublicDownloadContentPreviewParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicDownloadContentPreviewParams) SetContentID(contentID string)
- func (o *PublicDownloadContentPreviewParams) SetContext(ctx context.Context)
- func (o *PublicDownloadContentPreviewParams) SetFlightId(flightId string)
- func (o *PublicDownloadContentPreviewParams) SetHTTPClient(client *http.Client)
- func (o *PublicDownloadContentPreviewParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicDownloadContentPreviewParams) SetNamespace(namespace string)
- func (o *PublicDownloadContentPreviewParams) SetTimeout(timeout time.Duration)
- func (o *PublicDownloadContentPreviewParams) WithContentID(contentID string) *PublicDownloadContentPreviewParams
- func (o *PublicDownloadContentPreviewParams) WithContext(ctx context.Context) *PublicDownloadContentPreviewParams
- func (o *PublicDownloadContentPreviewParams) WithHTTPClient(client *http.Client) *PublicDownloadContentPreviewParams
- func (o *PublicDownloadContentPreviewParams) WithNamespace(namespace string) *PublicDownloadContentPreviewParams
- func (o *PublicDownloadContentPreviewParams) WithTimeout(timeout time.Duration) *PublicDownloadContentPreviewParams
- func (o *PublicDownloadContentPreviewParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicDownloadContentPreviewReader
- type PublicDownloadContentPreviewUnauthorized
- type PublicGetContentBulkBadRequest
- type PublicGetContentBulkByShareCodesBadRequest
- type PublicGetContentBulkByShareCodesForbidden
- type PublicGetContentBulkByShareCodesInternalServerError
- type PublicGetContentBulkByShareCodesOK
- type PublicGetContentBulkByShareCodesParams
- func NewPublicGetContentBulkByShareCodesParams() *PublicGetContentBulkByShareCodesParams
- func NewPublicGetContentBulkByShareCodesParamsWithContext(ctx context.Context) *PublicGetContentBulkByShareCodesParams
- func NewPublicGetContentBulkByShareCodesParamsWithHTTPClient(client *http.Client) *PublicGetContentBulkByShareCodesParams
- func NewPublicGetContentBulkByShareCodesParamsWithTimeout(timeout time.Duration) *PublicGetContentBulkByShareCodesParams
- func (o *PublicGetContentBulkByShareCodesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetContentBulkByShareCodesParams) SetBody(body *ugcclientmodels.ModelsGetContentBulkByShareCodesRequest)
- func (o *PublicGetContentBulkByShareCodesParams) SetContext(ctx context.Context)
- func (o *PublicGetContentBulkByShareCodesParams) SetFlightId(flightId string)
- func (o *PublicGetContentBulkByShareCodesParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetContentBulkByShareCodesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetContentBulkByShareCodesParams) SetNamespace(namespace string)
- func (o *PublicGetContentBulkByShareCodesParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetContentBulkByShareCodesParams) WithBody(body *ugcclientmodels.ModelsGetContentBulkByShareCodesRequest) *PublicGetContentBulkByShareCodesParams
- func (o *PublicGetContentBulkByShareCodesParams) WithContext(ctx context.Context) *PublicGetContentBulkByShareCodesParams
- func (o *PublicGetContentBulkByShareCodesParams) WithHTTPClient(client *http.Client) *PublicGetContentBulkByShareCodesParams
- func (o *PublicGetContentBulkByShareCodesParams) WithNamespace(namespace string) *PublicGetContentBulkByShareCodesParams
- func (o *PublicGetContentBulkByShareCodesParams) WithTimeout(timeout time.Duration) *PublicGetContentBulkByShareCodesParams
- func (o *PublicGetContentBulkByShareCodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetContentBulkByShareCodesReader
- type PublicGetContentBulkByShareCodesUnauthorized
- type PublicGetContentBulkInternalServerError
- type PublicGetContentBulkOK
- type PublicGetContentBulkParams
- func NewPublicGetContentBulkParams() *PublicGetContentBulkParams
- func NewPublicGetContentBulkParamsWithContext(ctx context.Context) *PublicGetContentBulkParams
- func NewPublicGetContentBulkParamsWithHTTPClient(client *http.Client) *PublicGetContentBulkParams
- func NewPublicGetContentBulkParamsWithTimeout(timeout time.Duration) *PublicGetContentBulkParams
- func (o *PublicGetContentBulkParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetContentBulkParams) SetBody(body *ugcclientmodels.ModelsPublicGetContentBulkRequest)
- func (o *PublicGetContentBulkParams) SetContext(ctx context.Context)
- func (o *PublicGetContentBulkParams) SetFlightId(flightId string)
- func (o *PublicGetContentBulkParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetContentBulkParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetContentBulkParams) SetNamespace(namespace string)
- func (o *PublicGetContentBulkParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetContentBulkParams) WithBody(body *ugcclientmodels.ModelsPublicGetContentBulkRequest) *PublicGetContentBulkParams
- func (o *PublicGetContentBulkParams) WithContext(ctx context.Context) *PublicGetContentBulkParams
- func (o *PublicGetContentBulkParams) WithHTTPClient(client *http.Client) *PublicGetContentBulkParams
- func (o *PublicGetContentBulkParams) WithNamespace(namespace string) *PublicGetContentBulkParams
- func (o *PublicGetContentBulkParams) WithTimeout(timeout time.Duration) *PublicGetContentBulkParams
- func (o *PublicGetContentBulkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetContentBulkReader
- type PublicGetContentBulkUnauthorized
- type PublicGetUserContentBadRequest
- type PublicGetUserContentInternalServerError
- type PublicGetUserContentOK
- type PublicGetUserContentParams
- func NewPublicGetUserContentParams() *PublicGetUserContentParams
- func NewPublicGetUserContentParamsWithContext(ctx context.Context) *PublicGetUserContentParams
- func NewPublicGetUserContentParamsWithHTTPClient(client *http.Client) *PublicGetUserContentParams
- func NewPublicGetUserContentParamsWithTimeout(timeout time.Duration) *PublicGetUserContentParams
- func (o *PublicGetUserContentParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetUserContentParams) SetContext(ctx context.Context)
- func (o *PublicGetUserContentParams) SetFlightId(flightId string)
- func (o *PublicGetUserContentParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetUserContentParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetUserContentParams) SetLimit(limit *int64)
- func (o *PublicGetUserContentParams) SetNamespace(namespace string)
- func (o *PublicGetUserContentParams) SetOffset(offset *int64)
- func (o *PublicGetUserContentParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetUserContentParams) SetUserID(userID string)
- func (o *PublicGetUserContentParams) WithContext(ctx context.Context) *PublicGetUserContentParams
- func (o *PublicGetUserContentParams) WithHTTPClient(client *http.Client) *PublicGetUserContentParams
- func (o *PublicGetUserContentParams) WithLimit(limit *int64) *PublicGetUserContentParams
- func (o *PublicGetUserContentParams) WithNamespace(namespace string) *PublicGetUserContentParams
- func (o *PublicGetUserContentParams) WithOffset(offset *int64) *PublicGetUserContentParams
- func (o *PublicGetUserContentParams) WithTimeout(timeout time.Duration) *PublicGetUserContentParams
- func (o *PublicGetUserContentParams) WithUserID(userID string) *PublicGetUserContentParams
- func (o *PublicGetUserContentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetUserContentReader
- type PublicGetUserContentUnauthorized
- type PublicSearchContentBadRequest
- type PublicSearchContentInternalServerError
- type PublicSearchContentOK
- type PublicSearchContentParams
- func NewPublicSearchContentParams() *PublicSearchContentParams
- func NewPublicSearchContentParamsWithContext(ctx context.Context) *PublicSearchContentParams
- func NewPublicSearchContentParamsWithHTTPClient(client *http.Client) *PublicSearchContentParams
- func NewPublicSearchContentParamsWithTimeout(timeout time.Duration) *PublicSearchContentParams
- func (o *PublicSearchContentParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicSearchContentParams) SetContext(ctx context.Context)
- func (o *PublicSearchContentParams) SetCreator(creator *string)
- func (o *PublicSearchContentParams) SetFlightId(flightId string)
- func (o *PublicSearchContentParams) SetHTTPClient(client *http.Client)
- func (o *PublicSearchContentParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicSearchContentParams) SetIshidden(ishidden *string)
- func (o *PublicSearchContentParams) SetIsofficial(isofficial *string)
- func (o *PublicSearchContentParams) SetLimit(limit *int64)
- func (o *PublicSearchContentParams) SetName(name *string)
- func (o *PublicSearchContentParams) SetNamespace(namespace string)
- func (o *PublicSearchContentParams) SetOffset(offset *int64)
- func (o *PublicSearchContentParams) SetOrderby(orderby *string)
- func (o *PublicSearchContentParams) SetSortby(sortby *string)
- func (o *PublicSearchContentParams) SetSubtype(subtype *string)
- func (o *PublicSearchContentParams) SetTags(tags []string)
- func (o *PublicSearchContentParams) SetTimeout(timeout time.Duration)
- func (o *PublicSearchContentParams) SetType(typeVar *string)
- func (o *PublicSearchContentParams) SetUserID(userID *string)
- func (o *PublicSearchContentParams) WithContext(ctx context.Context) *PublicSearchContentParams
- func (o *PublicSearchContentParams) WithCreator(creator *string) *PublicSearchContentParams
- func (o *PublicSearchContentParams) WithHTTPClient(client *http.Client) *PublicSearchContentParams
- func (o *PublicSearchContentParams) WithIshidden(ishidden *string) *PublicSearchContentParams
- func (o *PublicSearchContentParams) WithIsofficial(isofficial *string) *PublicSearchContentParams
- func (o *PublicSearchContentParams) WithLimit(limit *int64) *PublicSearchContentParams
- func (o *PublicSearchContentParams) WithName(name *string) *PublicSearchContentParams
- func (o *PublicSearchContentParams) WithNamespace(namespace string) *PublicSearchContentParams
- func (o *PublicSearchContentParams) WithOffset(offset *int64) *PublicSearchContentParams
- func (o *PublicSearchContentParams) WithOrderby(orderby *string) *PublicSearchContentParams
- func (o *PublicSearchContentParams) WithSortby(sortby *string) *PublicSearchContentParams
- func (o *PublicSearchContentParams) WithSubtype(subtype *string) *PublicSearchContentParams
- func (o *PublicSearchContentParams) WithTags(tags []string) *PublicSearchContentParams
- func (o *PublicSearchContentParams) WithTimeout(timeout time.Duration) *PublicSearchContentParams
- func (o *PublicSearchContentParams) WithType(typeVar *string) *PublicSearchContentParams
- func (o *PublicSearchContentParams) WithUserID(userID *string) *PublicSearchContentParams
- func (o *PublicSearchContentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicSearchContentReader
- type PublicSearchContentUnauthorized
- type PublicUpdateContentByShareCodeBadRequest
- type PublicUpdateContentByShareCodeConflict
- type PublicUpdateContentByShareCodeForbidden
- type PublicUpdateContentByShareCodeInternalServerError
- type PublicUpdateContentByShareCodeNotFound
- type PublicUpdateContentByShareCodeOK
- type PublicUpdateContentByShareCodeParams
- func NewPublicUpdateContentByShareCodeParams() *PublicUpdateContentByShareCodeParams
- func NewPublicUpdateContentByShareCodeParamsWithContext(ctx context.Context) *PublicUpdateContentByShareCodeParams
- func NewPublicUpdateContentByShareCodeParamsWithHTTPClient(client *http.Client) *PublicUpdateContentByShareCodeParams
- func NewPublicUpdateContentByShareCodeParamsWithTimeout(timeout time.Duration) *PublicUpdateContentByShareCodeParams
- func (o *PublicUpdateContentByShareCodeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicUpdateContentByShareCodeParams) SetBody(body *ugcclientmodels.ModelsUpdateContentRequest)
- func (o *PublicUpdateContentByShareCodeParams) SetChannelID(channelID string)
- func (o *PublicUpdateContentByShareCodeParams) SetContext(ctx context.Context)
- func (o *PublicUpdateContentByShareCodeParams) SetFlightId(flightId string)
- func (o *PublicUpdateContentByShareCodeParams) SetHTTPClient(client *http.Client)
- func (o *PublicUpdateContentByShareCodeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicUpdateContentByShareCodeParams) SetNamespace(namespace string)
- func (o *PublicUpdateContentByShareCodeParams) SetShareCode(shareCode string)
- func (o *PublicUpdateContentByShareCodeParams) SetTimeout(timeout time.Duration)
- func (o *PublicUpdateContentByShareCodeParams) SetUserID(userID string)
- func (o *PublicUpdateContentByShareCodeParams) WithBody(body *ugcclientmodels.ModelsUpdateContentRequest) *PublicUpdateContentByShareCodeParams
- func (o *PublicUpdateContentByShareCodeParams) WithChannelID(channelID string) *PublicUpdateContentByShareCodeParams
- func (o *PublicUpdateContentByShareCodeParams) WithContext(ctx context.Context) *PublicUpdateContentByShareCodeParams
- func (o *PublicUpdateContentByShareCodeParams) WithHTTPClient(client *http.Client) *PublicUpdateContentByShareCodeParams
- func (o *PublicUpdateContentByShareCodeParams) WithNamespace(namespace string) *PublicUpdateContentByShareCodeParams
- func (o *PublicUpdateContentByShareCodeParams) WithShareCode(shareCode string) *PublicUpdateContentByShareCodeParams
- func (o *PublicUpdateContentByShareCodeParams) WithTimeout(timeout time.Duration) *PublicUpdateContentByShareCodeParams
- func (o *PublicUpdateContentByShareCodeParams) WithUserID(userID string) *PublicUpdateContentByShareCodeParams
- func (o *PublicUpdateContentByShareCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicUpdateContentByShareCodeReader
- type PublicUpdateContentByShareCodeUnauthorized
- type SearchChannelSpecificContentBadRequest
- type SearchChannelSpecificContentInternalServerError
- type SearchChannelSpecificContentOK
- type SearchChannelSpecificContentParams
- func NewSearchChannelSpecificContentParams() *SearchChannelSpecificContentParams
- func NewSearchChannelSpecificContentParamsWithContext(ctx context.Context) *SearchChannelSpecificContentParams
- func NewSearchChannelSpecificContentParamsWithHTTPClient(client *http.Client) *SearchChannelSpecificContentParams
- func NewSearchChannelSpecificContentParamsWithTimeout(timeout time.Duration) *SearchChannelSpecificContentParams
- func (o *SearchChannelSpecificContentParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *SearchChannelSpecificContentParams) SetChannelID(channelID string)
- func (o *SearchChannelSpecificContentParams) SetContext(ctx context.Context)
- func (o *SearchChannelSpecificContentParams) SetCreator(creator *string)
- func (o *SearchChannelSpecificContentParams) SetFlightId(flightId string)
- func (o *SearchChannelSpecificContentParams) SetHTTPClient(client *http.Client)
- func (o *SearchChannelSpecificContentParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *SearchChannelSpecificContentParams) SetIshidden(ishidden *string)
- func (o *SearchChannelSpecificContentParams) SetIsofficial(isofficial *string)
- func (o *SearchChannelSpecificContentParams) SetLimit(limit *int64)
- func (o *SearchChannelSpecificContentParams) SetName(name *string)
- func (o *SearchChannelSpecificContentParams) SetNamespace(namespace string)
- func (o *SearchChannelSpecificContentParams) SetOffset(offset *int64)
- func (o *SearchChannelSpecificContentParams) SetOrderby(orderby *string)
- func (o *SearchChannelSpecificContentParams) SetSortby(sortby *string)
- func (o *SearchChannelSpecificContentParams) SetSubtype(subtype *string)
- func (o *SearchChannelSpecificContentParams) SetTags(tags []string)
- func (o *SearchChannelSpecificContentParams) SetTimeout(timeout time.Duration)
- func (o *SearchChannelSpecificContentParams) SetType(typeVar *string)
- func (o *SearchChannelSpecificContentParams) SetUserID(userID *string)
- func (o *SearchChannelSpecificContentParams) WithChannelID(channelID string) *SearchChannelSpecificContentParams
- func (o *SearchChannelSpecificContentParams) WithContext(ctx context.Context) *SearchChannelSpecificContentParams
- func (o *SearchChannelSpecificContentParams) WithCreator(creator *string) *SearchChannelSpecificContentParams
- func (o *SearchChannelSpecificContentParams) WithHTTPClient(client *http.Client) *SearchChannelSpecificContentParams
- func (o *SearchChannelSpecificContentParams) WithIshidden(ishidden *string) *SearchChannelSpecificContentParams
- func (o *SearchChannelSpecificContentParams) WithIsofficial(isofficial *string) *SearchChannelSpecificContentParams
- func (o *SearchChannelSpecificContentParams) WithLimit(limit *int64) *SearchChannelSpecificContentParams
- func (o *SearchChannelSpecificContentParams) WithName(name *string) *SearchChannelSpecificContentParams
- func (o *SearchChannelSpecificContentParams) WithNamespace(namespace string) *SearchChannelSpecificContentParams
- func (o *SearchChannelSpecificContentParams) WithOffset(offset *int64) *SearchChannelSpecificContentParams
- func (o *SearchChannelSpecificContentParams) WithOrderby(orderby *string) *SearchChannelSpecificContentParams
- func (o *SearchChannelSpecificContentParams) WithSortby(sortby *string) *SearchChannelSpecificContentParams
- func (o *SearchChannelSpecificContentParams) WithSubtype(subtype *string) *SearchChannelSpecificContentParams
- func (o *SearchChannelSpecificContentParams) WithTags(tags []string) *SearchChannelSpecificContentParams
- func (o *SearchChannelSpecificContentParams) WithTimeout(timeout time.Duration) *SearchChannelSpecificContentParams
- func (o *SearchChannelSpecificContentParams) WithType(typeVar *string) *SearchChannelSpecificContentParams
- func (o *SearchChannelSpecificContentParams) WithUserID(userID *string) *SearchChannelSpecificContentParams
- func (o *SearchChannelSpecificContentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchChannelSpecificContentReader
- type SearchChannelSpecificContentUnauthorized
- type UpdateContentDirectBadRequest
- type UpdateContentDirectForbidden
- type UpdateContentDirectInternalServerError
- type UpdateContentDirectNotFound
- type UpdateContentDirectOK
- type UpdateContentDirectParams
- func NewUpdateContentDirectParams() *UpdateContentDirectParams
- func NewUpdateContentDirectParamsWithContext(ctx context.Context) *UpdateContentDirectParams
- func NewUpdateContentDirectParamsWithHTTPClient(client *http.Client) *UpdateContentDirectParams
- func NewUpdateContentDirectParamsWithTimeout(timeout time.Duration) *UpdateContentDirectParams
- func (o *UpdateContentDirectParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateContentDirectParams) SetBody(body *ugcclientmodels.ModelsCreateContentRequest)
- func (o *UpdateContentDirectParams) SetChannelID(channelID string)
- func (o *UpdateContentDirectParams) SetContentID(contentID string)
- func (o *UpdateContentDirectParams) SetContext(ctx context.Context)
- func (o *UpdateContentDirectParams) SetFlightId(flightId string)
- func (o *UpdateContentDirectParams) SetHTTPClient(client *http.Client)
- func (o *UpdateContentDirectParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateContentDirectParams) SetNamespace(namespace string)
- func (o *UpdateContentDirectParams) SetTimeout(timeout time.Duration)
- func (o *UpdateContentDirectParams) SetUserID(userID string)
- func (o *UpdateContentDirectParams) WithBody(body *ugcclientmodels.ModelsCreateContentRequest) *UpdateContentDirectParams
- func (o *UpdateContentDirectParams) WithChannelID(channelID string) *UpdateContentDirectParams
- func (o *UpdateContentDirectParams) WithContentID(contentID string) *UpdateContentDirectParams
- func (o *UpdateContentDirectParams) WithContext(ctx context.Context) *UpdateContentDirectParams
- func (o *UpdateContentDirectParams) WithHTTPClient(client *http.Client) *UpdateContentDirectParams
- func (o *UpdateContentDirectParams) WithNamespace(namespace string) *UpdateContentDirectParams
- func (o *UpdateContentDirectParams) WithTimeout(timeout time.Duration) *UpdateContentDirectParams
- func (o *UpdateContentDirectParams) WithUserID(userID string) *UpdateContentDirectParams
- func (o *UpdateContentDirectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateContentDirectReader
- type UpdateContentDirectUnauthorized
- type UpdateContentS3BadRequest
- type UpdateContentS3Forbidden
- type UpdateContentS3InternalServerError
- type UpdateContentS3NotFound
- type UpdateContentS3OK
- type UpdateContentS3Params
- func NewUpdateContentS3Params() *UpdateContentS3Params
- func NewUpdateContentS3ParamsWithContext(ctx context.Context) *UpdateContentS3Params
- func NewUpdateContentS3ParamsWithHTTPClient(client *http.Client) *UpdateContentS3Params
- func NewUpdateContentS3ParamsWithTimeout(timeout time.Duration) *UpdateContentS3Params
- func (o *UpdateContentS3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateContentS3Params) SetBody(body *ugcclientmodels.ModelsUpdateContentRequest)
- func (o *UpdateContentS3Params) SetChannelID(channelID string)
- func (o *UpdateContentS3Params) SetContentID(contentID string)
- func (o *UpdateContentS3Params) SetContext(ctx context.Context)
- func (o *UpdateContentS3Params) SetFlightId(flightId string)
- func (o *UpdateContentS3Params) SetHTTPClient(client *http.Client)
- func (o *UpdateContentS3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateContentS3Params) SetNamespace(namespace string)
- func (o *UpdateContentS3Params) SetTimeout(timeout time.Duration)
- func (o *UpdateContentS3Params) SetUserID(userID string)
- func (o *UpdateContentS3Params) WithBody(body *ugcclientmodels.ModelsUpdateContentRequest) *UpdateContentS3Params
- func (o *UpdateContentS3Params) WithChannelID(channelID string) *UpdateContentS3Params
- func (o *UpdateContentS3Params) WithContentID(contentID string) *UpdateContentS3Params
- func (o *UpdateContentS3Params) WithContext(ctx context.Context) *UpdateContentS3Params
- func (o *UpdateContentS3Params) WithHTTPClient(client *http.Client) *UpdateContentS3Params
- func (o *UpdateContentS3Params) WithNamespace(namespace string) *UpdateContentS3Params
- func (o *UpdateContentS3Params) WithTimeout(timeout time.Duration) *UpdateContentS3Params
- func (o *UpdateContentS3Params) WithUserID(userID string) *UpdateContentS3Params
- func (o *UpdateContentS3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateContentS3Reader
- type UpdateContentS3Unauthorized
- type UpdateContentShareCodeBadRequest
- type UpdateContentShareCodeConflict
- type UpdateContentShareCodeForbidden
- type UpdateContentShareCodeInternalServerError
- type UpdateContentShareCodeNotFound
- type UpdateContentShareCodeOK
- type UpdateContentShareCodeParams
- func NewUpdateContentShareCodeParams() *UpdateContentShareCodeParams
- func NewUpdateContentShareCodeParamsWithContext(ctx context.Context) *UpdateContentShareCodeParams
- func NewUpdateContentShareCodeParamsWithHTTPClient(client *http.Client) *UpdateContentShareCodeParams
- func NewUpdateContentShareCodeParamsWithTimeout(timeout time.Duration) *UpdateContentShareCodeParams
- func (o *UpdateContentShareCodeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateContentShareCodeParams) SetBody(body *ugcclientmodels.ModelsUpdateContentShareCodeRequest)
- func (o *UpdateContentShareCodeParams) SetChannelID(channelID string)
- func (o *UpdateContentShareCodeParams) SetContentID(contentID string)
- func (o *UpdateContentShareCodeParams) SetContext(ctx context.Context)
- func (o *UpdateContentShareCodeParams) SetFlightId(flightId string)
- func (o *UpdateContentShareCodeParams) SetHTTPClient(client *http.Client)
- func (o *UpdateContentShareCodeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateContentShareCodeParams) SetNamespace(namespace string)
- func (o *UpdateContentShareCodeParams) SetTimeout(timeout time.Duration)
- func (o *UpdateContentShareCodeParams) SetUserID(userID string)
- func (o *UpdateContentShareCodeParams) WithBody(body *ugcclientmodels.ModelsUpdateContentShareCodeRequest) *UpdateContentShareCodeParams
- func (o *UpdateContentShareCodeParams) WithChannelID(channelID string) *UpdateContentShareCodeParams
- func (o *UpdateContentShareCodeParams) WithContentID(contentID string) *UpdateContentShareCodeParams
- func (o *UpdateContentShareCodeParams) WithContext(ctx context.Context) *UpdateContentShareCodeParams
- func (o *UpdateContentShareCodeParams) WithHTTPClient(client *http.Client) *UpdateContentShareCodeParams
- func (o *UpdateContentShareCodeParams) WithNamespace(namespace string) *UpdateContentShareCodeParams
- func (o *UpdateContentShareCodeParams) WithTimeout(timeout time.Duration) *UpdateContentShareCodeParams
- func (o *UpdateContentShareCodeParams) WithUserID(userID string) *UpdateContentShareCodeParams
- func (o *UpdateContentShareCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateContentShareCodeReader
- type UpdateContentShareCodeUnauthorized
- type UpdateScreenshotsBadRequest
- type UpdateScreenshotsForbidden
- type UpdateScreenshotsInternalServerError
- type UpdateScreenshotsNotFound
- type UpdateScreenshotsOK
- type UpdateScreenshotsParams
- func NewUpdateScreenshotsParams() *UpdateScreenshotsParams
- func NewUpdateScreenshotsParamsWithContext(ctx context.Context) *UpdateScreenshotsParams
- func NewUpdateScreenshotsParamsWithHTTPClient(client *http.Client) *UpdateScreenshotsParams
- func NewUpdateScreenshotsParamsWithTimeout(timeout time.Duration) *UpdateScreenshotsParams
- func (o *UpdateScreenshotsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateScreenshotsParams) SetBody(body *ugcclientmodels.ModelsUpdateScreenshotRequest)
- func (o *UpdateScreenshotsParams) SetContentID(contentID string)
- func (o *UpdateScreenshotsParams) SetContext(ctx context.Context)
- func (o *UpdateScreenshotsParams) SetFlightId(flightId string)
- func (o *UpdateScreenshotsParams) SetHTTPClient(client *http.Client)
- func (o *UpdateScreenshotsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateScreenshotsParams) SetNamespace(namespace string)
- func (o *UpdateScreenshotsParams) SetTimeout(timeout time.Duration)
- func (o *UpdateScreenshotsParams) SetUserID(userID string)
- func (o *UpdateScreenshotsParams) WithBody(body *ugcclientmodels.ModelsUpdateScreenshotRequest) *UpdateScreenshotsParams
- func (o *UpdateScreenshotsParams) WithContentID(contentID string) *UpdateScreenshotsParams
- func (o *UpdateScreenshotsParams) WithContext(ctx context.Context) *UpdateScreenshotsParams
- func (o *UpdateScreenshotsParams) WithHTTPClient(client *http.Client) *UpdateScreenshotsParams
- func (o *UpdateScreenshotsParams) WithNamespace(namespace string) *UpdateScreenshotsParams
- func (o *UpdateScreenshotsParams) WithTimeout(timeout time.Duration) *UpdateScreenshotsParams
- func (o *UpdateScreenshotsParams) WithUserID(userID string) *UpdateScreenshotsParams
- func (o *UpdateScreenshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateScreenshotsReader
- type UpdateScreenshotsUnauthorized
- type UploadContentScreenshotBadRequest
- type UploadContentScreenshotCreated
- type UploadContentScreenshotForbidden
- type UploadContentScreenshotInternalServerError
- type UploadContentScreenshotNotFound
- type UploadContentScreenshotParams
- func NewUploadContentScreenshotParams() *UploadContentScreenshotParams
- func NewUploadContentScreenshotParamsWithContext(ctx context.Context) *UploadContentScreenshotParams
- func NewUploadContentScreenshotParamsWithHTTPClient(client *http.Client) *UploadContentScreenshotParams
- func NewUploadContentScreenshotParamsWithTimeout(timeout time.Duration) *UploadContentScreenshotParams
- func (o *UploadContentScreenshotParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UploadContentScreenshotParams) SetBody(body *ugcclientmodels.ModelsCreateScreenshotRequest)
- func (o *UploadContentScreenshotParams) SetContentID(contentID string)
- func (o *UploadContentScreenshotParams) SetContext(ctx context.Context)
- func (o *UploadContentScreenshotParams) SetFlightId(flightId string)
- func (o *UploadContentScreenshotParams) SetHTTPClient(client *http.Client)
- func (o *UploadContentScreenshotParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UploadContentScreenshotParams) SetNamespace(namespace string)
- func (o *UploadContentScreenshotParams) SetTimeout(timeout time.Duration)
- func (o *UploadContentScreenshotParams) SetUserID(userID string)
- func (o *UploadContentScreenshotParams) WithBody(body *ugcclientmodels.ModelsCreateScreenshotRequest) *UploadContentScreenshotParams
- func (o *UploadContentScreenshotParams) WithContentID(contentID string) *UploadContentScreenshotParams
- func (o *UploadContentScreenshotParams) WithContext(ctx context.Context) *UploadContentScreenshotParams
- func (o *UploadContentScreenshotParams) WithHTTPClient(client *http.Client) *UploadContentScreenshotParams
- func (o *UploadContentScreenshotParams) WithNamespace(namespace string) *UploadContentScreenshotParams
- func (o *UploadContentScreenshotParams) WithTimeout(timeout time.Duration) *UploadContentScreenshotParams
- func (o *UploadContentScreenshotParams) WithUserID(userID string) *UploadContentScreenshotParams
- func (o *UploadContentScreenshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UploadContentScreenshotReader
- type UploadContentScreenshotUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for public content legacy API
func (*Client) CreateContentDirect
deprecated
func (a *Client) CreateContentDirect(params *CreateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*CreateContentDirectCreated, *CreateContentDirectBadRequest, *CreateContentDirectUnauthorized, *CreateContentDirectForbidden, *CreateContentDirectInternalServerError, error)
Deprecated: 2022-08-10 - Use CreateContentDirectShort instead.
CreateContentDirect upload content to a channel Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [CREATE].
All request body are required except preview, tags and customAttributes.
func (*Client) CreateContentDirectShort ¶
func (a *Client) CreateContentDirectShort(params *CreateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*CreateContentDirectCreated, error)
CreateContentDirectShort upload content to a channel Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [CREATE].
All request body are required except preview, tags and customAttributes.
func (*Client) CreateContentS3
deprecated
func (a *Client) CreateContentS3(params *CreateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*CreateContentS3Created, *CreateContentS3BadRequest, *CreateContentS3Unauthorized, *CreateContentS3Forbidden, *CreateContentS3InternalServerError, error)
Deprecated: 2022-08-10 - Use CreateContentS3Short instead.
CreateContentS3 upload content to s3 bucket Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [CREATE].
All request body are required except payload, preview, tags, contentType and customAttributes. contentType values is used to enforce the Content-Type header needed by the client to upload the content using the S3 presigned URL. If not specified, it will use fileExtension value.
NOTE: Preview is Legacy Code, please use Screenshot for better solution to display preview of a content
func (*Client) CreateContentS3Short ¶
func (a *Client) CreateContentS3Short(params *CreateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*CreateContentS3Created, error)
CreateContentS3Short upload content to s3 bucket Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [CREATE].
All request body are required except payload, preview, tags, contentType and customAttributes. contentType values is used to enforce the Content-Type header needed by the client to upload the content using the S3 presigned URL. If not specified, it will use fileExtension value.
NOTE: Preview is Legacy Code, please use Screenshot for better solution to display preview of a content
func (*Client) DeleteContent
deprecated
func (a *Client) DeleteContent(params *DeleteContentParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentNoContent, *DeleteContentUnauthorized, *DeleteContentNotFound, *DeleteContentInternalServerError, error)
Deprecated: 2022-08-10 - Use DeleteContentShort instead.
DeleteContent delete content Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [DELETE].
func (*Client) DeleteContentScreenshot
deprecated
func (a *Client) DeleteContentScreenshot(params *DeleteContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentScreenshotNoContent, *DeleteContentScreenshotBadRequest, *DeleteContentScreenshotUnauthorized, *DeleteContentScreenshotForbidden, *DeleteContentScreenshotNotFound, *DeleteContentScreenshotInternalServerError, error)
Deprecated: 2022-08-10 - Use DeleteContentScreenshotShort instead.
DeleteContentScreenshot delete content's screenshot Delete existing screenshot from a content
func (*Client) DeleteContentScreenshotShort ¶
func (a *Client) DeleteContentScreenshotShort(params *DeleteContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentScreenshotNoContent, error)
DeleteContentScreenshotShort delete content's screenshot Delete existing screenshot from a content
func (*Client) DeleteContentShort ¶
func (a *Client) DeleteContentShort(params *DeleteContentParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentNoContent, error)
DeleteContentShort delete content Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [DELETE].
func (*Client) PublicDeleteContentByShareCode
deprecated
added in
v0.58.0
func (a *Client) PublicDeleteContentByShareCode(params *PublicDeleteContentByShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDeleteContentByShareCodeNoContent, *PublicDeleteContentByShareCodeUnauthorized, *PublicDeleteContentByShareCodeNotFound, *PublicDeleteContentByShareCodeInternalServerError, error)
Deprecated: 2022-08-10 - Use PublicDeleteContentByShareCodeShort instead.
PublicDeleteContentByShareCode delete content by share code Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [DELETE].
func (*Client) PublicDeleteContentByShareCodeShort ¶ added in v0.58.0
func (a *Client) PublicDeleteContentByShareCodeShort(params *PublicDeleteContentByShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDeleteContentByShareCodeNoContent, error)
PublicDeleteContentByShareCodeShort delete content by share code Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [DELETE].
func (*Client) PublicDownloadContentByContentID
deprecated
func (a *Client) PublicDownloadContentByContentID(params *PublicDownloadContentByContentIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDownloadContentByContentIDOK, *PublicDownloadContentByContentIDUnauthorized, *PublicDownloadContentByContentIDNotFound, *PublicDownloadContentByContentIDInternalServerError, error)
Deprecated: 2022-08-10 - Use PublicDownloadContentByContentIDShort instead.
PublicDownloadContentByContentID get user specific content Public user can access without token or if token specified, requires valid user token
func (*Client) PublicDownloadContentByContentIDShort ¶
func (a *Client) PublicDownloadContentByContentIDShort(params *PublicDownloadContentByContentIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDownloadContentByContentIDOK, error)
PublicDownloadContentByContentIDShort get user specific content Public user can access without token or if token specified, requires valid user token
func (*Client) PublicDownloadContentByShareCode
deprecated
func (a *Client) PublicDownloadContentByShareCode(params *PublicDownloadContentByShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDownloadContentByShareCodeOK, *PublicDownloadContentByShareCodeUnauthorized, *PublicDownloadContentByShareCodeNotFound, *PublicDownloadContentByShareCodeInternalServerError, error)
Deprecated: 2022-08-10 - Use PublicDownloadContentByShareCodeShort instead.
PublicDownloadContentByShareCode get content by sharecode Public user can access without token or if token specified, requires valid user token
func (*Client) PublicDownloadContentByShareCodeShort ¶
func (a *Client) PublicDownloadContentByShareCodeShort(params *PublicDownloadContentByShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDownloadContentByShareCodeOK, error)
PublicDownloadContentByShareCodeShort get content by sharecode Public user can access without token or if token specified, requires valid user token
func (*Client) PublicDownloadContentPreview
deprecated
func (a *Client) PublicDownloadContentPreview(params *PublicDownloadContentPreviewParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDownloadContentPreviewOK, *PublicDownloadContentPreviewUnauthorized, *PublicDownloadContentPreviewNotFound, *PublicDownloadContentPreviewInternalServerError, error)
Deprecated: 2022-08-10 - Use PublicDownloadContentPreviewShort instead.
PublicDownloadContentPreview get content preview ¶
Requires valid user token
NOTE: Preview is Legacy Code, please use Screenshot for better solution to display preview of a content
func (*Client) PublicDownloadContentPreviewShort ¶
func (a *Client) PublicDownloadContentPreviewShort(params *PublicDownloadContentPreviewParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDownloadContentPreviewOK, error)
PublicDownloadContentPreviewShort get content preview
Requires valid user token
NOTE: Preview is Legacy Code, please use Screenshot for better solution to display preview of a content
func (*Client) PublicGetContentBulk
deprecated
func (a *Client) PublicGetContentBulk(params *PublicGetContentBulkParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentBulkOK, *PublicGetContentBulkBadRequest, *PublicGetContentBulkUnauthorized, *PublicGetContentBulkInternalServerError, error)
Deprecated: 2022-08-10 - Use PublicGetContentBulkShort instead.
PublicGetContentBulk get contents by content ids Maximum requested Ids: 100. Public user can access without token or if token specified, requires valid user token
func (*Client) PublicGetContentBulkByShareCodes
deprecated
added in
v0.59.0
func (a *Client) PublicGetContentBulkByShareCodes(params *PublicGetContentBulkByShareCodesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentBulkByShareCodesOK, *PublicGetContentBulkByShareCodesBadRequest, *PublicGetContentBulkByShareCodesUnauthorized, *PublicGetContentBulkByShareCodesForbidden, *PublicGetContentBulkByShareCodesInternalServerError, error)
Deprecated: 2022-08-10 - Use PublicGetContentBulkByShareCodesShort instead.
PublicGetContentBulkByShareCodes bulk get content by content sharecodes Require valid user token. Maximum sharecodes per request 100
func (*Client) PublicGetContentBulkByShareCodesShort ¶ added in v0.59.0
func (a *Client) PublicGetContentBulkByShareCodesShort(params *PublicGetContentBulkByShareCodesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentBulkByShareCodesOK, error)
PublicGetContentBulkByShareCodesShort bulk get content by content sharecodes Require valid user token. Maximum sharecodes per request 100
func (*Client) PublicGetContentBulkShort ¶
func (a *Client) PublicGetContentBulkShort(params *PublicGetContentBulkParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentBulkOK, error)
PublicGetContentBulkShort get contents by content ids Maximum requested Ids: 100. Public user can access without token or if token specified, requires valid user token
func (*Client) PublicGetUserContent
deprecated
func (a *Client) PublicGetUserContent(params *PublicGetUserContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserContentOK, *PublicGetUserContentBadRequest, *PublicGetUserContentUnauthorized, *PublicGetUserContentInternalServerError, error)
Deprecated: 2022-08-10 - Use PublicGetUserContentShort instead.
PublicGetUserContent get user's generated contents Public user can access without token or if token specified, required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [READ].
func (*Client) PublicGetUserContentShort ¶
func (a *Client) PublicGetUserContentShort(params *PublicGetUserContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserContentOK, error)
PublicGetUserContentShort get user's generated contents Public user can access without token or if token specified, required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [READ].
func (*Client) PublicSearchContent
deprecated
func (a *Client) PublicSearchContent(params *PublicSearchContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSearchContentOK, *PublicSearchContentBadRequest, *PublicSearchContentUnauthorized, *PublicSearchContentInternalServerError, error)
Deprecated: 2022-08-10 - Use PublicSearchContentShort instead.
PublicSearchContent search contents Public user can access without token or if token specified, requires valid user token.
For advance tag filtering supports & as AND operator and | as OR operator and parentheses () for priority. e.g:
`tags=red`
`tags=red&animal;`
`tags=red|animal`
`tags=red&animal;|wild`
`tags=red&(animal|wild)`
The precedence of logical operator is AND > OR, so if no parentheses, AND logical operator will be executed first.
Allowed character for operand: alphanumeric, underscore `_` and dash `-`
Allowed character for operator: `&` `|` `(` `)`
Please note that value of tags query param should be URL encoded
func (*Client) PublicSearchContentShort ¶
func (a *Client) PublicSearchContentShort(params *PublicSearchContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSearchContentOK, error)
PublicSearchContentShort search contents Public user can access without token or if token specified, requires valid user token.
For advance tag filtering supports & as AND operator and | as OR operator and parentheses () for priority. e.g:
`tags=red`
`tags=red&animal;`
`tags=red|animal`
`tags=red&animal;|wild`
`tags=red&(animal|wild)`
The precedence of logical operator is AND > OR, so if no parentheses, AND logical operator will be executed first.
Allowed character for operand: alphanumeric, underscore `_` and dash `-`
Allowed character for operator: `&` `|` `(` `)`
Please note that value of tags query param should be URL encoded
func (*Client) PublicUpdateContentByShareCode
deprecated
added in
v0.58.0
func (a *Client) PublicUpdateContentByShareCode(params *PublicUpdateContentByShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateContentByShareCodeOK, *PublicUpdateContentByShareCodeBadRequest, *PublicUpdateContentByShareCodeUnauthorized, *PublicUpdateContentByShareCodeForbidden, *PublicUpdateContentByShareCodeNotFound, *PublicUpdateContentByShareCodeConflict, *PublicUpdateContentByShareCodeInternalServerError, error)
Deprecated: 2022-08-10 - Use PublicUpdateContentByShareCodeShort instead.
PublicUpdateContentByShareCode update content to s3 bucket by share code Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE].
All request body are required except `payload`, `preview`, `tags`,`contentType`, `updateContentFile`, `customAttributes` and `shareCode`.
`contentType` values is used to enforce the Content-Type header needed by the client to upload the content using the S3 presigned URL.
If not specified, it will use `fileExtension` value.
To update content file, set `updateContentFile` to `true` and upload the file using URL in `payloadURL.url` in response body.
NOTE: Preview is Legacy Code, please use Screenshot for better solution to display preview of a content
func (*Client) PublicUpdateContentByShareCodeShort ¶ added in v0.58.0
func (a *Client) PublicUpdateContentByShareCodeShort(params *PublicUpdateContentByShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateContentByShareCodeOK, error)
PublicUpdateContentByShareCodeShort update content to s3 bucket by share code Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE].
All request body are required except `payload`, `preview`, `tags`,`contentType`, `updateContentFile`, `customAttributes` and `shareCode`.
`contentType` values is used to enforce the Content-Type header needed by the client to upload the content using the S3 presigned URL.
If not specified, it will use `fileExtension` value.
To update content file, set `updateContentFile` to `true` and upload the file using URL in `payloadURL.url` in response body.
NOTE: Preview is Legacy Code, please use Screenshot for better solution to display preview of a content
func (*Client) SearchChannelSpecificContent
deprecated
func (a *Client) SearchChannelSpecificContent(params *SearchChannelSpecificContentParams, authInfo runtime.ClientAuthInfoWriter) (*SearchChannelSpecificContentOK, *SearchChannelSpecificContentBadRequest, *SearchChannelSpecificContentUnauthorized, *SearchChannelSpecificContentInternalServerError, error)
Deprecated: 2022-08-10 - Use SearchChannelSpecificContentShort instead.
SearchChannelSpecificContent search contents specific to a channel Requires valid user token.
For advance tag filtering supports & as AND operator and | as OR operator and parentheses () for priority. e.g:
`tags=red`
`tags=red&animal;`
`tags=red|animal`
`tags=red&animal;|wild`
`tags=red&(animal|wild)`
The precedence of logical operator is AND > OR, so if no parentheses, AND logical operator will be executed first.
Allowed character for operand: alphanumeric, underscore `_` and dash `-`
Allowed character for operator: `&` `|` `(` `)`
Please note that value of tags query param should be URL encoded
func (*Client) SearchChannelSpecificContentShort ¶
func (a *Client) SearchChannelSpecificContentShort(params *SearchChannelSpecificContentParams, authInfo runtime.ClientAuthInfoWriter) (*SearchChannelSpecificContentOK, error)
SearchChannelSpecificContentShort search contents specific to a channel Requires valid user token.
For advance tag filtering supports & as AND operator and | as OR operator and parentheses () for priority. e.g:
`tags=red`
`tags=red&animal;`
`tags=red|animal`
`tags=red&animal;|wild`
`tags=red&(animal|wild)`
The precedence of logical operator is AND > OR, so if no parentheses, AND logical operator will be executed first.
Allowed character for operand: alphanumeric, underscore `_` and dash `-`
Allowed character for operator: `&` `|` `(` `)`
Please note that value of tags query param should be URL encoded
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateContentDirect
deprecated
func (a *Client) UpdateContentDirect(params *UpdateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentDirectOK, *UpdateContentDirectBadRequest, *UpdateContentDirectUnauthorized, *UpdateContentDirectForbidden, *UpdateContentDirectNotFound, *UpdateContentDirectInternalServerError, error)
Deprecated: 2022-08-10 - Use UpdateContentDirectShort instead.
UpdateContentDirect update content to a channel Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE].
All request body are required except preview, tags and customAttributes.
func (*Client) UpdateContentDirectShort ¶
func (a *Client) UpdateContentDirectShort(params *UpdateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentDirectOK, error)
UpdateContentDirectShort update content to a channel Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE].
All request body are required except preview, tags and customAttributes.
func (*Client) UpdateContentS3
deprecated
func (a *Client) UpdateContentS3(params *UpdateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentS3OK, *UpdateContentS3BadRequest, *UpdateContentS3Unauthorized, *UpdateContentS3Forbidden, *UpdateContentS3NotFound, *UpdateContentS3InternalServerError, error)
Deprecated: 2022-08-10 - Use UpdateContentS3Short instead.
UpdateContentS3 update content to s3 bucket Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE]. All request body are required except payload, preview, tags, contentType, updateContentFile and customAttributes. contentType values is used to enforce the Content-Type header needed by the client to upload the content using the S3 presigned URL. If not specified, it will use fileExtension value. To update content's file, set `updateContentFile` to `true` and upload the file using URL in `payloadURL.url` in response body.
NOTE: Preview is Legacy Code, please use Screenshot for better solution to display preview of a content
func (*Client) UpdateContentS3Short ¶
func (a *Client) UpdateContentS3Short(params *UpdateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentS3OK, error)
UpdateContentS3Short update content to s3 bucket Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE]. All request body are required except payload, preview, tags, contentType, updateContentFile and customAttributes. contentType values is used to enforce the Content-Type header needed by the client to upload the content using the S3 presigned URL. If not specified, it will use fileExtension value. To update content's file, set `updateContentFile` to `true` and upload the file using URL in `payloadURL.url` in response body.
NOTE: Preview is Legacy Code, please use Screenshot for better solution to display preview of a content
func (*Client) UpdateContentShareCode
deprecated
added in
v0.59.0
func (a *Client) UpdateContentShareCode(params *UpdateContentShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentShareCodeOK, *UpdateContentShareCodeBadRequest, *UpdateContentShareCodeUnauthorized, *UpdateContentShareCodeForbidden, *UpdateContentShareCodeNotFound, *UpdateContentShareCodeConflict, *UpdateContentShareCodeInternalServerError, error)
Deprecated: 2022-08-10 - Use UpdateContentShareCodeShort instead.
UpdateContentShareCode update content sharecode Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT:SHARECODE [UPDATE].
This endpoint is used to modify the shareCode of a content. However, this operation is restricted by default and requires the above permission to be granted to the User role.
`shareCode` format should follows: Max length: 7 Available characters: abcdefhkpqrstuxyz
func (*Client) UpdateContentShareCodeShort ¶ added in v0.59.0
func (a *Client) UpdateContentShareCodeShort(params *UpdateContentShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentShareCodeOK, error)
UpdateContentShareCodeShort update content sharecode Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENT:SHARECODE [UPDATE].
This endpoint is used to modify the shareCode of a content. However, this operation is restricted by default and requires the above permission to be granted to the User role.
`shareCode` format should follows: Max length: 7 Available characters: abcdefhkpqrstuxyz
func (*Client) UpdateScreenshots
deprecated
func (a *Client) UpdateScreenshots(params *UpdateScreenshotsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateScreenshotsOK, *UpdateScreenshotsBadRequest, *UpdateScreenshotsUnauthorized, *UpdateScreenshotsForbidden, *UpdateScreenshotsNotFound, *UpdateScreenshotsInternalServerError, error)
Deprecated: 2022-08-10 - Use UpdateScreenshotsShort instead.
UpdateScreenshots update screenshot of content Maximum description length: 1024
func (*Client) UpdateScreenshotsShort ¶
func (a *Client) UpdateScreenshotsShort(params *UpdateScreenshotsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateScreenshotsOK, error)
UpdateScreenshotsShort update screenshot of content Maximum description length: 1024
func (*Client) UploadContentScreenshot
deprecated
func (a *Client) UploadContentScreenshot(params *UploadContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*UploadContentScreenshotCreated, *UploadContentScreenshotBadRequest, *UploadContentScreenshotUnauthorized, *UploadContentScreenshotForbidden, *UploadContentScreenshotNotFound, *UploadContentScreenshotInternalServerError, error)
Deprecated: 2022-08-10 - Use UploadContentScreenshotShort instead.
UploadContentScreenshot upload screenshots for content All request body are required except for *contentType* field. *contentType* values is used to enforce the *Content-Type* header needed by the client to upload the content using the presigned URL. If not specified, it will use *fileExtension* value. Supported file extensions: *pjp*, *jpg*, *jpeg*, *jfif*, *bmp*, *png*. Maximum description length: 1024
func (*Client) UploadContentScreenshotShort ¶
func (a *Client) UploadContentScreenshotShort(params *UploadContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*UploadContentScreenshotCreated, error)
UploadContentScreenshotShort upload screenshots for content All request body are required except for *contentType* field. *contentType* values is used to enforce the *Content-Type* header needed by the client to upload the content using the presigned URL. If not specified, it will use *fileExtension* value. Supported file extensions: *pjp*, *jpg*, *jpeg*, *jfif*, *bmp*, *png*. Maximum description length: 1024
type ClientService ¶
type ClientService interface { SearchChannelSpecificContent(params *SearchChannelSpecificContentParams, authInfo runtime.ClientAuthInfoWriter) (*SearchChannelSpecificContentOK, *SearchChannelSpecificContentBadRequest, *SearchChannelSpecificContentUnauthorized, *SearchChannelSpecificContentInternalServerError, error) SearchChannelSpecificContentShort(params *SearchChannelSpecificContentParams, authInfo runtime.ClientAuthInfoWriter) (*SearchChannelSpecificContentOK, error) PublicSearchContent(params *PublicSearchContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSearchContentOK, *PublicSearchContentBadRequest, *PublicSearchContentUnauthorized, *PublicSearchContentInternalServerError, error) PublicSearchContentShort(params *PublicSearchContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSearchContentOK, error) PublicGetContentBulk(params *PublicGetContentBulkParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentBulkOK, *PublicGetContentBulkBadRequest, *PublicGetContentBulkUnauthorized, *PublicGetContentBulkInternalServerError, error) PublicGetContentBulkShort(params *PublicGetContentBulkParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentBulkOK, error) PublicDownloadContentByContentID(params *PublicDownloadContentByContentIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDownloadContentByContentIDOK, *PublicDownloadContentByContentIDUnauthorized, *PublicDownloadContentByContentIDNotFound, *PublicDownloadContentByContentIDInternalServerError, error) PublicDownloadContentByContentIDShort(params *PublicDownloadContentByContentIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDownloadContentByContentIDOK, error) PublicDownloadContentPreview(params *PublicDownloadContentPreviewParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDownloadContentPreviewOK, *PublicDownloadContentPreviewUnauthorized, *PublicDownloadContentPreviewNotFound, *PublicDownloadContentPreviewInternalServerError, error) PublicDownloadContentPreviewShort(params *PublicDownloadContentPreviewParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDownloadContentPreviewOK, error) CreateContentDirect(params *CreateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*CreateContentDirectCreated, *CreateContentDirectBadRequest, *CreateContentDirectUnauthorized, *CreateContentDirectForbidden, *CreateContentDirectInternalServerError, error) CreateContentDirectShort(params *CreateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*CreateContentDirectCreated, error) CreateContentS3(params *CreateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*CreateContentS3Created, *CreateContentS3BadRequest, *CreateContentS3Unauthorized, *CreateContentS3Forbidden, *CreateContentS3InternalServerError, error) CreateContentS3Short(params *CreateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*CreateContentS3Created, error) UpdateContentS3(params *UpdateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentS3OK, *UpdateContentS3BadRequest, *UpdateContentS3Unauthorized, *UpdateContentS3Forbidden, *UpdateContentS3NotFound, *UpdateContentS3InternalServerError, error) UpdateContentS3Short(params *UpdateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentS3OK, error) UpdateContentDirect(params *UpdateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentDirectOK, *UpdateContentDirectBadRequest, *UpdateContentDirectUnauthorized, *UpdateContentDirectForbidden, *UpdateContentDirectNotFound, *UpdateContentDirectInternalServerError, error) UpdateContentDirectShort(params *UpdateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentDirectOK, error) DeleteContent(params *DeleteContentParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentNoContent, *DeleteContentUnauthorized, *DeleteContentNotFound, *DeleteContentInternalServerError, error) DeleteContentShort(params *DeleteContentParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentNoContent, error) PublicGetUserContent(params *PublicGetUserContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserContentOK, *PublicGetUserContentBadRequest, *PublicGetUserContentUnauthorized, *PublicGetUserContentInternalServerError, error) PublicGetUserContentShort(params *PublicGetUserContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserContentOK, error) UpdateScreenshots(params *UpdateScreenshotsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateScreenshotsOK, *UpdateScreenshotsBadRequest, *UpdateScreenshotsUnauthorized, *UpdateScreenshotsForbidden, *UpdateScreenshotsNotFound, *UpdateScreenshotsInternalServerError, error) UpdateScreenshotsShort(params *UpdateScreenshotsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateScreenshotsOK, error) UploadContentScreenshot(params *UploadContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*UploadContentScreenshotCreated, *UploadContentScreenshotBadRequest, *UploadContentScreenshotUnauthorized, *UploadContentScreenshotForbidden, *UploadContentScreenshotNotFound, *UploadContentScreenshotInternalServerError, error) UploadContentScreenshotShort(params *UploadContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*UploadContentScreenshotCreated, error) DeleteContentScreenshot(params *DeleteContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentScreenshotNoContent, *DeleteContentScreenshotBadRequest, *DeleteContentScreenshotUnauthorized, *DeleteContentScreenshotForbidden, *DeleteContentScreenshotNotFound, *DeleteContentScreenshotInternalServerError, error) DeleteContentScreenshotShort(params *DeleteContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentScreenshotNoContent, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new public content legacy API client.
type CreateContentDirectBadRequest ¶
type CreateContentDirectBadRequest struct {
Payload *ugcclientmodels.ResponseError
}
CreateContentDirectBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770100</td><td>Malformed request/Invalid request body/channel do not exist</td></tr></table>
func NewCreateContentDirectBadRequest ¶
func NewCreateContentDirectBadRequest() *CreateContentDirectBadRequest
NewCreateContentDirectBadRequest creates a CreateContentDirectBadRequest with default headers values
func (*CreateContentDirectBadRequest) Error ¶
func (o *CreateContentDirectBadRequest) Error() string
func (*CreateContentDirectBadRequest) GetPayload ¶
func (o *CreateContentDirectBadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*CreateContentDirectBadRequest) ToJSONString ¶
func (o *CreateContentDirectBadRequest) ToJSONString() string
type CreateContentDirectCreated ¶
type CreateContentDirectCreated struct {
Payload *ugcclientmodels.ModelsCreateContentResponse
}
CreateContentDirectCreated handles this case with default header values.
Content uploaded
func NewCreateContentDirectCreated ¶
func NewCreateContentDirectCreated() *CreateContentDirectCreated
NewCreateContentDirectCreated creates a CreateContentDirectCreated with default headers values
func (*CreateContentDirectCreated) Error ¶
func (o *CreateContentDirectCreated) Error() string
func (*CreateContentDirectCreated) GetPayload ¶
func (o *CreateContentDirectCreated) GetPayload() *ugcclientmodels.ModelsCreateContentResponse
func (*CreateContentDirectCreated) ToJSONString ¶
func (o *CreateContentDirectCreated) ToJSONString() string
type CreateContentDirectForbidden ¶ added in v0.60.0
type CreateContentDirectForbidden struct {
Payload *ugcclientmodels.ResponseError
}
CreateContentDirectForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770104</td><td>User has been banned to create content</td></tr></table>
func NewCreateContentDirectForbidden ¶ added in v0.60.0
func NewCreateContentDirectForbidden() *CreateContentDirectForbidden
NewCreateContentDirectForbidden creates a CreateContentDirectForbidden with default headers values
func (*CreateContentDirectForbidden) Error ¶ added in v0.60.0
func (o *CreateContentDirectForbidden) Error() string
func (*CreateContentDirectForbidden) GetPayload ¶ added in v0.60.0
func (o *CreateContentDirectForbidden) GetPayload() *ugcclientmodels.ResponseError
func (*CreateContentDirectForbidden) ToJSONString ¶ added in v0.60.0
func (o *CreateContentDirectForbidden) ToJSONString() string
type CreateContentDirectInternalServerError ¶
type CreateContentDirectInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
CreateContentDirectInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770102</td><td>Unable to check user ban status/Unable to save ugc content: unable to get channel</td></tr><tr><td>770103</td><td>Unable to save ugc content: shareCode exceed the limit</td></tr></table>
func NewCreateContentDirectInternalServerError ¶
func NewCreateContentDirectInternalServerError() *CreateContentDirectInternalServerError
NewCreateContentDirectInternalServerError creates a CreateContentDirectInternalServerError with default headers values
func (*CreateContentDirectInternalServerError) Error ¶
func (o *CreateContentDirectInternalServerError) Error() string
func (*CreateContentDirectInternalServerError) GetPayload ¶
func (o *CreateContentDirectInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*CreateContentDirectInternalServerError) ToJSONString ¶
func (o *CreateContentDirectInternalServerError) ToJSONString() string
type CreateContentDirectParams ¶
type CreateContentDirectParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *ugcclientmodels.ModelsCreateContentRequest /*ChannelID channel ID */ ChannelID string /*Namespace namespace of the game */ Namespace string /*UserID user ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
CreateContentDirectParams contains all the parameters to send to the API endpoint for the create content direct operation typically these are written to a http.Request
func NewCreateContentDirectParams ¶
func NewCreateContentDirectParams() *CreateContentDirectParams
NewCreateContentDirectParams creates a new CreateContentDirectParams object with the default values initialized.
func NewCreateContentDirectParamsWithContext ¶
func NewCreateContentDirectParamsWithContext(ctx context.Context) *CreateContentDirectParams
NewCreateContentDirectParamsWithContext creates a new CreateContentDirectParams object with the default values initialized, and the ability to set a context for a request
func NewCreateContentDirectParamsWithHTTPClient ¶
func NewCreateContentDirectParamsWithHTTPClient(client *http.Client) *CreateContentDirectParams
NewCreateContentDirectParamsWithHTTPClient creates a new CreateContentDirectParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateContentDirectParamsWithTimeout ¶
func NewCreateContentDirectParamsWithTimeout(timeout time.Duration) *CreateContentDirectParams
NewCreateContentDirectParamsWithTimeout creates a new CreateContentDirectParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateContentDirectParams) SetAuthInfoWriter ¶
func (o *CreateContentDirectParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the create content direct params
func (*CreateContentDirectParams) SetBody ¶
func (o *CreateContentDirectParams) SetBody(body *ugcclientmodels.ModelsCreateContentRequest)
SetBody adds the body to the create content direct params
func (*CreateContentDirectParams) SetChannelID ¶
func (o *CreateContentDirectParams) SetChannelID(channelID string)
SetChannelID adds the channelId to the create content direct params
func (*CreateContentDirectParams) SetContext ¶
func (o *CreateContentDirectParams) SetContext(ctx context.Context)
SetContext adds the context to the create content direct params
func (*CreateContentDirectParams) SetFlightId ¶ added in v0.63.0
func (o *CreateContentDirectParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*CreateContentDirectParams) SetHTTPClient ¶
func (o *CreateContentDirectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create content direct params
func (*CreateContentDirectParams) SetHTTPClientTransport ¶
func (o *CreateContentDirectParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the create content direct params
func (*CreateContentDirectParams) SetNamespace ¶
func (o *CreateContentDirectParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the create content direct params
func (*CreateContentDirectParams) SetTimeout ¶
func (o *CreateContentDirectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create content direct params
func (*CreateContentDirectParams) SetUserID ¶
func (o *CreateContentDirectParams) SetUserID(userID string)
SetUserID adds the userId to the create content direct params
func (*CreateContentDirectParams) WithBody ¶
func (o *CreateContentDirectParams) WithBody(body *ugcclientmodels.ModelsCreateContentRequest) *CreateContentDirectParams
WithBody adds the body to the create content direct params
func (*CreateContentDirectParams) WithChannelID ¶
func (o *CreateContentDirectParams) WithChannelID(channelID string) *CreateContentDirectParams
WithChannelID adds the channelID to the create content direct params
func (*CreateContentDirectParams) WithContext ¶
func (o *CreateContentDirectParams) WithContext(ctx context.Context) *CreateContentDirectParams
WithContext adds the context to the create content direct params
func (*CreateContentDirectParams) WithHTTPClient ¶
func (o *CreateContentDirectParams) WithHTTPClient(client *http.Client) *CreateContentDirectParams
WithHTTPClient adds the HTTPClient to the create content direct params
func (*CreateContentDirectParams) WithNamespace ¶
func (o *CreateContentDirectParams) WithNamespace(namespace string) *CreateContentDirectParams
WithNamespace adds the namespace to the create content direct params
func (*CreateContentDirectParams) WithTimeout ¶
func (o *CreateContentDirectParams) WithTimeout(timeout time.Duration) *CreateContentDirectParams
WithTimeout adds the timeout to the create content direct params
func (*CreateContentDirectParams) WithUserID ¶
func (o *CreateContentDirectParams) WithUserID(userID string) *CreateContentDirectParams
WithUserID adds the userID to the create content direct params
func (*CreateContentDirectParams) WriteToRequest ¶
func (o *CreateContentDirectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateContentDirectReader ¶
type CreateContentDirectReader struct {
// contains filtered or unexported fields
}
CreateContentDirectReader is a Reader for the CreateContentDirect structure.
func (*CreateContentDirectReader) ReadResponse ¶
func (o *CreateContentDirectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateContentDirectUnauthorized ¶
type CreateContentDirectUnauthorized struct {
}CreateContentDirectUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewCreateContentDirectUnauthorized ¶
func NewCreateContentDirectUnauthorized() *CreateContentDirectUnauthorized
NewCreateContentDirectUnauthorized creates a CreateContentDirectUnauthorized with default headers values
func (*CreateContentDirectUnauthorized) Error ¶
func (o *CreateContentDirectUnauthorized) Error() string
func (*CreateContentDirectUnauthorized) GetPayload ¶
func (o *CreateContentDirectUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*CreateContentDirectUnauthorized) ToJSONString ¶
func (o *CreateContentDirectUnauthorized) ToJSONString() string
type CreateContentS3BadRequest ¶
type CreateContentS3BadRequest struct {
Payload *ugcclientmodels.ResponseError
}
CreateContentS3BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770100</td><td>Malformed request/Invalid request body/channel do not exist</td></tr><tr><td>770102</td><td>Unable to check user ban status/Unable to save ugc content: unable to get channel</td></tr></table>
func NewCreateContentS3BadRequest ¶
func NewCreateContentS3BadRequest() *CreateContentS3BadRequest
NewCreateContentS3BadRequest creates a CreateContentS3BadRequest with default headers values
func (*CreateContentS3BadRequest) Error ¶
func (o *CreateContentS3BadRequest) Error() string
func (*CreateContentS3BadRequest) GetPayload ¶
func (o *CreateContentS3BadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*CreateContentS3BadRequest) ToJSONString ¶
func (o *CreateContentS3BadRequest) ToJSONString() string
type CreateContentS3Created ¶
type CreateContentS3Created struct {
Payload *ugcclientmodels.ModelsCreateContentResponse
}
CreateContentS3Created handles this case with default header values.
Content uploaded to S3 bucket
func NewCreateContentS3Created ¶
func NewCreateContentS3Created() *CreateContentS3Created
NewCreateContentS3Created creates a CreateContentS3Created with default headers values
func (*CreateContentS3Created) Error ¶
func (o *CreateContentS3Created) Error() string
func (*CreateContentS3Created) GetPayload ¶
func (o *CreateContentS3Created) GetPayload() *ugcclientmodels.ModelsCreateContentResponse
func (*CreateContentS3Created) ToJSONString ¶
func (o *CreateContentS3Created) ToJSONString() string
type CreateContentS3Forbidden ¶ added in v0.60.0
type CreateContentS3Forbidden struct {
Payload *ugcclientmodels.ResponseError
}
CreateContentS3Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770104</td><td>User has been banned to create content</td></tr></table>
func NewCreateContentS3Forbidden ¶ added in v0.60.0
func NewCreateContentS3Forbidden() *CreateContentS3Forbidden
NewCreateContentS3Forbidden creates a CreateContentS3Forbidden with default headers values
func (*CreateContentS3Forbidden) Error ¶ added in v0.60.0
func (o *CreateContentS3Forbidden) Error() string
func (*CreateContentS3Forbidden) GetPayload ¶ added in v0.60.0
func (o *CreateContentS3Forbidden) GetPayload() *ugcclientmodels.ResponseError
func (*CreateContentS3Forbidden) ToJSONString ¶ added in v0.60.0
func (o *CreateContentS3Forbidden) ToJSONString() string
type CreateContentS3InternalServerError ¶
type CreateContentS3InternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
CreateContentS3InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770102</td><td>Unable to check user ban status/Unable to save ugc content: unable to get channel</td></tr><tr><td>770105</td><td>Unable to save ugc content: failed generate upload URL</td></tr><tr><td>770103</td><td>Unable to save ugc content: shareCode exceed the limit</td></tr></table>
func NewCreateContentS3InternalServerError ¶
func NewCreateContentS3InternalServerError() *CreateContentS3InternalServerError
NewCreateContentS3InternalServerError creates a CreateContentS3InternalServerError with default headers values
func (*CreateContentS3InternalServerError) Error ¶
func (o *CreateContentS3InternalServerError) Error() string
func (*CreateContentS3InternalServerError) GetPayload ¶
func (o *CreateContentS3InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*CreateContentS3InternalServerError) ToJSONString ¶
func (o *CreateContentS3InternalServerError) ToJSONString() string
type CreateContentS3Params ¶
type CreateContentS3Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *ugcclientmodels.ModelsPublicCreateContentRequestS3 /*ChannelID channel ID */ ChannelID string /*Namespace namespace of the game */ Namespace string /*UserID user ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
CreateContentS3Params contains all the parameters to send to the API endpoint for the create content s3 operation typically these are written to a http.Request
func NewCreateContentS3Params ¶
func NewCreateContentS3Params() *CreateContentS3Params
NewCreateContentS3Params creates a new CreateContentS3Params object with the default values initialized.
func NewCreateContentS3ParamsWithContext ¶
func NewCreateContentS3ParamsWithContext(ctx context.Context) *CreateContentS3Params
NewCreateContentS3ParamsWithContext creates a new CreateContentS3Params object with the default values initialized, and the ability to set a context for a request
func NewCreateContentS3ParamsWithHTTPClient ¶
func NewCreateContentS3ParamsWithHTTPClient(client *http.Client) *CreateContentS3Params
NewCreateContentS3ParamsWithHTTPClient creates a new CreateContentS3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateContentS3ParamsWithTimeout ¶
func NewCreateContentS3ParamsWithTimeout(timeout time.Duration) *CreateContentS3Params
NewCreateContentS3ParamsWithTimeout creates a new CreateContentS3Params object with the default values initialized, and the ability to set a timeout on a request
func (*CreateContentS3Params) SetAuthInfoWriter ¶
func (o *CreateContentS3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the create content s3 params
func (*CreateContentS3Params) SetBody ¶
func (o *CreateContentS3Params) SetBody(body *ugcclientmodels.ModelsPublicCreateContentRequestS3)
SetBody adds the body to the create content s3 params
func (*CreateContentS3Params) SetChannelID ¶
func (o *CreateContentS3Params) SetChannelID(channelID string)
SetChannelID adds the channelId to the create content s3 params
func (*CreateContentS3Params) SetContext ¶
func (o *CreateContentS3Params) SetContext(ctx context.Context)
SetContext adds the context to the create content s3 params
func (*CreateContentS3Params) SetFlightId ¶ added in v0.63.0
func (o *CreateContentS3Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*CreateContentS3Params) SetHTTPClient ¶
func (o *CreateContentS3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create content s3 params
func (*CreateContentS3Params) SetHTTPClientTransport ¶
func (o *CreateContentS3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the create content s3 params
func (*CreateContentS3Params) SetNamespace ¶
func (o *CreateContentS3Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the create content s3 params
func (*CreateContentS3Params) SetTimeout ¶
func (o *CreateContentS3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create content s3 params
func (*CreateContentS3Params) SetUserID ¶
func (o *CreateContentS3Params) SetUserID(userID string)
SetUserID adds the userId to the create content s3 params
func (*CreateContentS3Params) WithBody ¶
func (o *CreateContentS3Params) WithBody(body *ugcclientmodels.ModelsPublicCreateContentRequestS3) *CreateContentS3Params
WithBody adds the body to the create content s3 params
func (*CreateContentS3Params) WithChannelID ¶
func (o *CreateContentS3Params) WithChannelID(channelID string) *CreateContentS3Params
WithChannelID adds the channelID to the create content s3 params
func (*CreateContentS3Params) WithContext ¶
func (o *CreateContentS3Params) WithContext(ctx context.Context) *CreateContentS3Params
WithContext adds the context to the create content s3 params
func (*CreateContentS3Params) WithHTTPClient ¶
func (o *CreateContentS3Params) WithHTTPClient(client *http.Client) *CreateContentS3Params
WithHTTPClient adds the HTTPClient to the create content s3 params
func (*CreateContentS3Params) WithNamespace ¶
func (o *CreateContentS3Params) WithNamespace(namespace string) *CreateContentS3Params
WithNamespace adds the namespace to the create content s3 params
func (*CreateContentS3Params) WithTimeout ¶
func (o *CreateContentS3Params) WithTimeout(timeout time.Duration) *CreateContentS3Params
WithTimeout adds the timeout to the create content s3 params
func (*CreateContentS3Params) WithUserID ¶
func (o *CreateContentS3Params) WithUserID(userID string) *CreateContentS3Params
WithUserID adds the userID to the create content s3 params
func (*CreateContentS3Params) WriteToRequest ¶
func (o *CreateContentS3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateContentS3Reader ¶
type CreateContentS3Reader struct {
// contains filtered or unexported fields
}
CreateContentS3Reader is a Reader for the CreateContentS3 structure.
func (*CreateContentS3Reader) ReadResponse ¶
func (o *CreateContentS3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateContentS3Unauthorized ¶
type CreateContentS3Unauthorized struct {
}CreateContentS3Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewCreateContentS3Unauthorized ¶
func NewCreateContentS3Unauthorized() *CreateContentS3Unauthorized
NewCreateContentS3Unauthorized creates a CreateContentS3Unauthorized with default headers values
func (*CreateContentS3Unauthorized) Error ¶
func (o *CreateContentS3Unauthorized) Error() string
func (*CreateContentS3Unauthorized) GetPayload ¶
func (o *CreateContentS3Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*CreateContentS3Unauthorized) ToJSONString ¶
func (o *CreateContentS3Unauthorized) ToJSONString() string
type DeleteContentInternalServerError ¶
type DeleteContentInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
DeleteContentInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772701</td><td>Unable to delete content/Unable to update user liked count/Unable to delete like state/Unable to delete like state</td></tr></table>
func NewDeleteContentInternalServerError ¶
func NewDeleteContentInternalServerError() *DeleteContentInternalServerError
NewDeleteContentInternalServerError creates a DeleteContentInternalServerError with default headers values
func (*DeleteContentInternalServerError) Error ¶
func (o *DeleteContentInternalServerError) Error() string
func (*DeleteContentInternalServerError) GetPayload ¶
func (o *DeleteContentInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*DeleteContentInternalServerError) ToJSONString ¶
func (o *DeleteContentInternalServerError) ToJSONString() string
type DeleteContentNoContent ¶
type DeleteContentNoContent struct { }
DeleteContentNoContent handles this case with default header values.
Content deleted
func NewDeleteContentNoContent ¶
func NewDeleteContentNoContent() *DeleteContentNoContent
NewDeleteContentNoContent creates a DeleteContentNoContent with default headers values
func (*DeleteContentNoContent) Error ¶
func (o *DeleteContentNoContent) Error() string
type DeleteContentNotFound ¶
type DeleteContentNotFound struct {
Payload *ugcclientmodels.ResponseError
}
DeleteContentNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772702</td><td>Content not found</td></tr></table>
func NewDeleteContentNotFound ¶
func NewDeleteContentNotFound() *DeleteContentNotFound
NewDeleteContentNotFound creates a DeleteContentNotFound with default headers values
func (*DeleteContentNotFound) Error ¶
func (o *DeleteContentNotFound) Error() string
func (*DeleteContentNotFound) GetPayload ¶
func (o *DeleteContentNotFound) GetPayload() *ugcclientmodels.ResponseError
func (*DeleteContentNotFound) ToJSONString ¶
func (o *DeleteContentNotFound) ToJSONString() string
type DeleteContentParams ¶
type DeleteContentParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ChannelID channel ID */ ChannelID string /*ContentID content ID */ ContentID string /*Namespace namespace of the game */ Namespace string /*UserID user ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
DeleteContentParams contains all the parameters to send to the API endpoint for the delete content operation typically these are written to a http.Request
func NewDeleteContentParams ¶
func NewDeleteContentParams() *DeleteContentParams
NewDeleteContentParams creates a new DeleteContentParams object with the default values initialized.
func NewDeleteContentParamsWithContext ¶
func NewDeleteContentParamsWithContext(ctx context.Context) *DeleteContentParams
NewDeleteContentParamsWithContext creates a new DeleteContentParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteContentParamsWithHTTPClient ¶
func NewDeleteContentParamsWithHTTPClient(client *http.Client) *DeleteContentParams
NewDeleteContentParamsWithHTTPClient creates a new DeleteContentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteContentParamsWithTimeout ¶
func NewDeleteContentParamsWithTimeout(timeout time.Duration) *DeleteContentParams
NewDeleteContentParamsWithTimeout creates a new DeleteContentParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteContentParams) SetAuthInfoWriter ¶
func (o *DeleteContentParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete content params
func (*DeleteContentParams) SetChannelID ¶
func (o *DeleteContentParams) SetChannelID(channelID string)
SetChannelID adds the channelId to the delete content params
func (*DeleteContentParams) SetContentID ¶
func (o *DeleteContentParams) SetContentID(contentID string)
SetContentID adds the contentId to the delete content params
func (*DeleteContentParams) SetContext ¶
func (o *DeleteContentParams) SetContext(ctx context.Context)
SetContext adds the context to the delete content params
func (*DeleteContentParams) SetFlightId ¶ added in v0.63.0
func (o *DeleteContentParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*DeleteContentParams) SetHTTPClient ¶
func (o *DeleteContentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete content params
func (*DeleteContentParams) SetHTTPClientTransport ¶
func (o *DeleteContentParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the delete content params
func (*DeleteContentParams) SetNamespace ¶
func (o *DeleteContentParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete content params
func (*DeleteContentParams) SetTimeout ¶
func (o *DeleteContentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete content params
func (*DeleteContentParams) SetUserID ¶
func (o *DeleteContentParams) SetUserID(userID string)
SetUserID adds the userId to the delete content params
func (*DeleteContentParams) WithChannelID ¶
func (o *DeleteContentParams) WithChannelID(channelID string) *DeleteContentParams
WithChannelID adds the channelID to the delete content params
func (*DeleteContentParams) WithContentID ¶
func (o *DeleteContentParams) WithContentID(contentID string) *DeleteContentParams
WithContentID adds the contentID to the delete content params
func (*DeleteContentParams) WithContext ¶
func (o *DeleteContentParams) WithContext(ctx context.Context) *DeleteContentParams
WithContext adds the context to the delete content params
func (*DeleteContentParams) WithHTTPClient ¶
func (o *DeleteContentParams) WithHTTPClient(client *http.Client) *DeleteContentParams
WithHTTPClient adds the HTTPClient to the delete content params
func (*DeleteContentParams) WithNamespace ¶
func (o *DeleteContentParams) WithNamespace(namespace string) *DeleteContentParams
WithNamespace adds the namespace to the delete content params
func (*DeleteContentParams) WithTimeout ¶
func (o *DeleteContentParams) WithTimeout(timeout time.Duration) *DeleteContentParams
WithTimeout adds the timeout to the delete content params
func (*DeleteContentParams) WithUserID ¶
func (o *DeleteContentParams) WithUserID(userID string) *DeleteContentParams
WithUserID adds the userID to the delete content params
func (*DeleteContentParams) WriteToRequest ¶
func (o *DeleteContentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteContentReader ¶
type DeleteContentReader struct {
// contains filtered or unexported fields
}
DeleteContentReader is a Reader for the DeleteContent structure.
func (*DeleteContentReader) ReadResponse ¶
func (o *DeleteContentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteContentScreenshotBadRequest ¶
type DeleteContentScreenshotBadRequest struct {
Payload *ugcclientmodels.ResponseError
}
DeleteContentScreenshotBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772602</td><td>Unable to check user ban status/Unable to get updated ugc content</td></tr></table>
func NewDeleteContentScreenshotBadRequest ¶
func NewDeleteContentScreenshotBadRequest() *DeleteContentScreenshotBadRequest
NewDeleteContentScreenshotBadRequest creates a DeleteContentScreenshotBadRequest with default headers values
func (*DeleteContentScreenshotBadRequest) Error ¶
func (o *DeleteContentScreenshotBadRequest) Error() string
func (*DeleteContentScreenshotBadRequest) GetPayload ¶
func (o *DeleteContentScreenshotBadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*DeleteContentScreenshotBadRequest) ToJSONString ¶
func (o *DeleteContentScreenshotBadRequest) ToJSONString() string
type DeleteContentScreenshotForbidden ¶ added in v0.60.0
type DeleteContentScreenshotForbidden struct {
Payload *ugcclientmodels.ResponseError
}
DeleteContentScreenshotForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772604</td><td>User has been banned to update content</td></tr></table>
func NewDeleteContentScreenshotForbidden ¶ added in v0.60.0
func NewDeleteContentScreenshotForbidden() *DeleteContentScreenshotForbidden
NewDeleteContentScreenshotForbidden creates a DeleteContentScreenshotForbidden with default headers values
func (*DeleteContentScreenshotForbidden) Error ¶ added in v0.60.0
func (o *DeleteContentScreenshotForbidden) Error() string
func (*DeleteContentScreenshotForbidden) GetPayload ¶ added in v0.60.0
func (o *DeleteContentScreenshotForbidden) GetPayload() *ugcclientmodels.ResponseError
func (*DeleteContentScreenshotForbidden) ToJSONString ¶ added in v0.60.0
func (o *DeleteContentScreenshotForbidden) ToJSONString() string
type DeleteContentScreenshotInternalServerError ¶
type DeleteContentScreenshotInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
DeleteContentScreenshotInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772602</td><td>Unable to check user ban status/Unable to get updated ugc content</td></tr></table>
func NewDeleteContentScreenshotInternalServerError ¶
func NewDeleteContentScreenshotInternalServerError() *DeleteContentScreenshotInternalServerError
NewDeleteContentScreenshotInternalServerError creates a DeleteContentScreenshotInternalServerError with default headers values
func (*DeleteContentScreenshotInternalServerError) Error ¶
func (o *DeleteContentScreenshotInternalServerError) Error() string
func (*DeleteContentScreenshotInternalServerError) GetPayload ¶
func (o *DeleteContentScreenshotInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*DeleteContentScreenshotInternalServerError) ToJSONString ¶
func (o *DeleteContentScreenshotInternalServerError) ToJSONString() string
type DeleteContentScreenshotNoContent ¶
type DeleteContentScreenshotNoContent struct { }
DeleteContentScreenshotNoContent handles this case with default header values.
Screenshot deleted
func NewDeleteContentScreenshotNoContent ¶
func NewDeleteContentScreenshotNoContent() *DeleteContentScreenshotNoContent
NewDeleteContentScreenshotNoContent creates a DeleteContentScreenshotNoContent with default headers values
func (*DeleteContentScreenshotNoContent) Error ¶
func (o *DeleteContentScreenshotNoContent) Error() string
type DeleteContentScreenshotNotFound ¶
type DeleteContentScreenshotNotFound struct {
Payload *ugcclientmodels.ResponseError
}
DeleteContentScreenshotNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772603</td><td>Content not found</td></tr></table>
func NewDeleteContentScreenshotNotFound ¶
func NewDeleteContentScreenshotNotFound() *DeleteContentScreenshotNotFound
NewDeleteContentScreenshotNotFound creates a DeleteContentScreenshotNotFound with default headers values
func (*DeleteContentScreenshotNotFound) Error ¶
func (o *DeleteContentScreenshotNotFound) Error() string
func (*DeleteContentScreenshotNotFound) GetPayload ¶
func (o *DeleteContentScreenshotNotFound) GetPayload() *ugcclientmodels.ResponseError
func (*DeleteContentScreenshotNotFound) ToJSONString ¶
func (o *DeleteContentScreenshotNotFound) ToJSONString() string
type DeleteContentScreenshotParams ¶
type DeleteContentScreenshotParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ContentID content ID */ ContentID string /*Namespace namespace of the game */ Namespace string /*ScreenshotID screenshot ID */ ScreenshotID string /*UserID user ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
DeleteContentScreenshotParams contains all the parameters to send to the API endpoint for the delete content screenshot operation typically these are written to a http.Request
func NewDeleteContentScreenshotParams ¶
func NewDeleteContentScreenshotParams() *DeleteContentScreenshotParams
NewDeleteContentScreenshotParams creates a new DeleteContentScreenshotParams object with the default values initialized.
func NewDeleteContentScreenshotParamsWithContext ¶
func NewDeleteContentScreenshotParamsWithContext(ctx context.Context) *DeleteContentScreenshotParams
NewDeleteContentScreenshotParamsWithContext creates a new DeleteContentScreenshotParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteContentScreenshotParamsWithHTTPClient ¶
func NewDeleteContentScreenshotParamsWithHTTPClient(client *http.Client) *DeleteContentScreenshotParams
NewDeleteContentScreenshotParamsWithHTTPClient creates a new DeleteContentScreenshotParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteContentScreenshotParamsWithTimeout ¶
func NewDeleteContentScreenshotParamsWithTimeout(timeout time.Duration) *DeleteContentScreenshotParams
NewDeleteContentScreenshotParamsWithTimeout creates a new DeleteContentScreenshotParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteContentScreenshotParams) SetAuthInfoWriter ¶
func (o *DeleteContentScreenshotParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete content screenshot params
func (*DeleteContentScreenshotParams) SetContentID ¶
func (o *DeleteContentScreenshotParams) SetContentID(contentID string)
SetContentID adds the contentId to the delete content screenshot params
func (*DeleteContentScreenshotParams) SetContext ¶
func (o *DeleteContentScreenshotParams) SetContext(ctx context.Context)
SetContext adds the context to the delete content screenshot params
func (*DeleteContentScreenshotParams) SetFlightId ¶ added in v0.63.0
func (o *DeleteContentScreenshotParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*DeleteContentScreenshotParams) SetHTTPClient ¶
func (o *DeleteContentScreenshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete content screenshot params
func (*DeleteContentScreenshotParams) SetHTTPClientTransport ¶
func (o *DeleteContentScreenshotParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the delete content screenshot params
func (*DeleteContentScreenshotParams) SetNamespace ¶
func (o *DeleteContentScreenshotParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete content screenshot params
func (*DeleteContentScreenshotParams) SetScreenshotID ¶
func (o *DeleteContentScreenshotParams) SetScreenshotID(screenshotID string)
SetScreenshotID adds the screenshotId to the delete content screenshot params
func (*DeleteContentScreenshotParams) SetTimeout ¶
func (o *DeleteContentScreenshotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete content screenshot params
func (*DeleteContentScreenshotParams) SetUserID ¶
func (o *DeleteContentScreenshotParams) SetUserID(userID string)
SetUserID adds the userId to the delete content screenshot params
func (*DeleteContentScreenshotParams) WithContentID ¶
func (o *DeleteContentScreenshotParams) WithContentID(contentID string) *DeleteContentScreenshotParams
WithContentID adds the contentID to the delete content screenshot params
func (*DeleteContentScreenshotParams) WithContext ¶
func (o *DeleteContentScreenshotParams) WithContext(ctx context.Context) *DeleteContentScreenshotParams
WithContext adds the context to the delete content screenshot params
func (*DeleteContentScreenshotParams) WithHTTPClient ¶
func (o *DeleteContentScreenshotParams) WithHTTPClient(client *http.Client) *DeleteContentScreenshotParams
WithHTTPClient adds the HTTPClient to the delete content screenshot params
func (*DeleteContentScreenshotParams) WithNamespace ¶
func (o *DeleteContentScreenshotParams) WithNamespace(namespace string) *DeleteContentScreenshotParams
WithNamespace adds the namespace to the delete content screenshot params
func (*DeleteContentScreenshotParams) WithScreenshotID ¶
func (o *DeleteContentScreenshotParams) WithScreenshotID(screenshotID string) *DeleteContentScreenshotParams
WithScreenshotID adds the screenshotID to the delete content screenshot params
func (*DeleteContentScreenshotParams) WithTimeout ¶
func (o *DeleteContentScreenshotParams) WithTimeout(timeout time.Duration) *DeleteContentScreenshotParams
WithTimeout adds the timeout to the delete content screenshot params
func (*DeleteContentScreenshotParams) WithUserID ¶
func (o *DeleteContentScreenshotParams) WithUserID(userID string) *DeleteContentScreenshotParams
WithUserID adds the userID to the delete content screenshot params
func (*DeleteContentScreenshotParams) WriteToRequest ¶
func (o *DeleteContentScreenshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteContentScreenshotReader ¶
type DeleteContentScreenshotReader struct {
// contains filtered or unexported fields
}
DeleteContentScreenshotReader is a Reader for the DeleteContentScreenshot structure.
func (*DeleteContentScreenshotReader) ReadResponse ¶
func (o *DeleteContentScreenshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteContentScreenshotUnauthorized ¶
type DeleteContentScreenshotUnauthorized struct {
}DeleteContentScreenshotUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewDeleteContentScreenshotUnauthorized ¶
func NewDeleteContentScreenshotUnauthorized() *DeleteContentScreenshotUnauthorized
NewDeleteContentScreenshotUnauthorized creates a DeleteContentScreenshotUnauthorized with default headers values
func (*DeleteContentScreenshotUnauthorized) Error ¶
func (o *DeleteContentScreenshotUnauthorized) Error() string
func (*DeleteContentScreenshotUnauthorized) GetPayload ¶
func (o *DeleteContentScreenshotUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*DeleteContentScreenshotUnauthorized) ToJSONString ¶
func (o *DeleteContentScreenshotUnauthorized) ToJSONString() string
type DeleteContentUnauthorized ¶
type DeleteContentUnauthorized struct {
}DeleteContentUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewDeleteContentUnauthorized ¶
func NewDeleteContentUnauthorized() *DeleteContentUnauthorized
NewDeleteContentUnauthorized creates a DeleteContentUnauthorized with default headers values
func (*DeleteContentUnauthorized) Error ¶
func (o *DeleteContentUnauthorized) Error() string
func (*DeleteContentUnauthorized) GetPayload ¶
func (o *DeleteContentUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*DeleteContentUnauthorized) ToJSONString ¶
func (o *DeleteContentUnauthorized) ToJSONString() string
type PublicDeleteContentByShareCodeInternalServerError ¶ added in v0.58.0
type PublicDeleteContentByShareCodeInternalServerError struct {
}PublicDeleteContentByShareCodeInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772701</td><td>Unable to delete content/Unable to update user liked count/Unable to delete like state/Unable to delete like state</td></tr></table>
func NewPublicDeleteContentByShareCodeInternalServerError ¶ added in v0.58.0
func NewPublicDeleteContentByShareCodeInternalServerError() *PublicDeleteContentByShareCodeInternalServerError
NewPublicDeleteContentByShareCodeInternalServerError creates a PublicDeleteContentByShareCodeInternalServerError with default headers values
func (*PublicDeleteContentByShareCodeInternalServerError) Error ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeInternalServerError) Error() string
func (*PublicDeleteContentByShareCodeInternalServerError) GetPayload ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*PublicDeleteContentByShareCodeInternalServerError) ToJSONString ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeInternalServerError) ToJSONString() string
type PublicDeleteContentByShareCodeNoContent ¶ added in v0.58.0
type PublicDeleteContentByShareCodeNoContent struct { }
PublicDeleteContentByShareCodeNoContent handles this case with default header values.
Content deleted
func NewPublicDeleteContentByShareCodeNoContent ¶ added in v0.58.0
func NewPublicDeleteContentByShareCodeNoContent() *PublicDeleteContentByShareCodeNoContent
NewPublicDeleteContentByShareCodeNoContent creates a PublicDeleteContentByShareCodeNoContent with default headers values
func (*PublicDeleteContentByShareCodeNoContent) Error ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeNoContent) Error() string
type PublicDeleteContentByShareCodeNotFound ¶ added in v0.58.0
type PublicDeleteContentByShareCodeNotFound struct {
}PublicDeleteContentByShareCodeNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772702</td><td>Content not found</td></tr></table>
func NewPublicDeleteContentByShareCodeNotFound ¶ added in v0.58.0
func NewPublicDeleteContentByShareCodeNotFound() *PublicDeleteContentByShareCodeNotFound
NewPublicDeleteContentByShareCodeNotFound creates a PublicDeleteContentByShareCodeNotFound with default headers values
func (*PublicDeleteContentByShareCodeNotFound) Error ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeNotFound) Error() string
func (*PublicDeleteContentByShareCodeNotFound) GetPayload ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeNotFound) GetPayload() *ugcclientmodels.ResponseError
func (*PublicDeleteContentByShareCodeNotFound) ToJSONString ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeNotFound) ToJSONString() string
type PublicDeleteContentByShareCodeParams ¶ added in v0.58.0
type PublicDeleteContentByShareCodeParams struct { utils.Retry ChannelID string Namespace string ShareCode string UserID string XFlightId *string // contains filtered or unexported fields }RetryPolicy *
PublicDeleteContentByShareCodeParams contains all the parameters to send to the API endpoint for the public delete content by share code operation typically these are written to a http.Request
func NewPublicDeleteContentByShareCodeParams ¶ added in v0.58.0
func NewPublicDeleteContentByShareCodeParams() *PublicDeleteContentByShareCodeParams
NewPublicDeleteContentByShareCodeParams creates a new PublicDeleteContentByShareCodeParams object with the default values initialized.
func NewPublicDeleteContentByShareCodeParamsWithContext ¶ added in v0.58.0
func NewPublicDeleteContentByShareCodeParamsWithContext(ctx context.Context) *PublicDeleteContentByShareCodeParams
NewPublicDeleteContentByShareCodeParamsWithContext creates a new PublicDeleteContentByShareCodeParams object with the default values initialized, and the ability to set a context for a request
func NewPublicDeleteContentByShareCodeParamsWithHTTPClient ¶ added in v0.58.0
func NewPublicDeleteContentByShareCodeParamsWithHTTPClient(client *http.Client) *PublicDeleteContentByShareCodeParams
NewPublicDeleteContentByShareCodeParamsWithHTTPClient creates a new PublicDeleteContentByShareCodeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicDeleteContentByShareCodeParamsWithTimeout ¶ added in v0.58.0
func NewPublicDeleteContentByShareCodeParamsWithTimeout(timeout time.Duration) *PublicDeleteContentByShareCodeParams
NewPublicDeleteContentByShareCodeParamsWithTimeout creates a new PublicDeleteContentByShareCodeParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicDeleteContentByShareCodeParams) SetAuthInfoWriter ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public delete content by share code params
func (*PublicDeleteContentByShareCodeParams) SetChannelID ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeParams) SetChannelID(channelID string)
SetChannelID adds the channelId to the public delete content by share code params
func (*PublicDeleteContentByShareCodeParams) SetContext ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeParams) SetContext(ctx context.Context)
SetContext adds the context to the public delete content by share code params
func (*PublicDeleteContentByShareCodeParams) SetFlightId ¶ added in v0.63.0
func (o *PublicDeleteContentByShareCodeParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicDeleteContentByShareCodeParams) SetHTTPClient ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public delete content by share code params
func (*PublicDeleteContentByShareCodeParams) SetHTTPClientTransport ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public delete content by share code params
func (*PublicDeleteContentByShareCodeParams) SetNamespace ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public delete content by share code params
func (*PublicDeleteContentByShareCodeParams) SetShareCode ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeParams) SetShareCode(shareCode string)
SetShareCode adds the shareCode to the public delete content by share code params
func (*PublicDeleteContentByShareCodeParams) SetTimeout ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public delete content by share code params
func (*PublicDeleteContentByShareCodeParams) SetUserID ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeParams) SetUserID(userID string)
SetUserID adds the userId to the public delete content by share code params
func (*PublicDeleteContentByShareCodeParams) WithChannelID ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeParams) WithChannelID(channelID string) *PublicDeleteContentByShareCodeParams
WithChannelID adds the channelID to the public delete content by share code params
func (*PublicDeleteContentByShareCodeParams) WithContext ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeParams) WithContext(ctx context.Context) *PublicDeleteContentByShareCodeParams
WithContext adds the context to the public delete content by share code params
func (*PublicDeleteContentByShareCodeParams) WithHTTPClient ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeParams) WithHTTPClient(client *http.Client) *PublicDeleteContentByShareCodeParams
WithHTTPClient adds the HTTPClient to the public delete content by share code params
func (*PublicDeleteContentByShareCodeParams) WithNamespace ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeParams) WithNamespace(namespace string) *PublicDeleteContentByShareCodeParams
WithNamespace adds the namespace to the public delete content by share code params
func (*PublicDeleteContentByShareCodeParams) WithShareCode ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeParams) WithShareCode(shareCode string) *PublicDeleteContentByShareCodeParams
WithShareCode adds the shareCode to the public delete content by share code params
func (*PublicDeleteContentByShareCodeParams) WithTimeout ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeParams) WithTimeout(timeout time.Duration) *PublicDeleteContentByShareCodeParams
WithTimeout adds the timeout to the public delete content by share code params
func (*PublicDeleteContentByShareCodeParams) WithUserID ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeParams) WithUserID(userID string) *PublicDeleteContentByShareCodeParams
WithUserID adds the userID to the public delete content by share code params
func (*PublicDeleteContentByShareCodeParams) WriteToRequest ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicDeleteContentByShareCodeReader ¶ added in v0.58.0
type PublicDeleteContentByShareCodeReader struct {
// contains filtered or unexported fields
}
PublicDeleteContentByShareCodeReader is a Reader for the PublicDeleteContentByShareCode structure.
func (*PublicDeleteContentByShareCodeReader) ReadResponse ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicDeleteContentByShareCodeUnauthorized ¶ added in v0.58.0
type PublicDeleteContentByShareCodeUnauthorized struct {
}PublicDeleteContentByShareCodeUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPublicDeleteContentByShareCodeUnauthorized ¶ added in v0.58.0
func NewPublicDeleteContentByShareCodeUnauthorized() *PublicDeleteContentByShareCodeUnauthorized
NewPublicDeleteContentByShareCodeUnauthorized creates a PublicDeleteContentByShareCodeUnauthorized with default headers values
func (*PublicDeleteContentByShareCodeUnauthorized) Error ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeUnauthorized) Error() string
func (*PublicDeleteContentByShareCodeUnauthorized) GetPayload ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*PublicDeleteContentByShareCodeUnauthorized) ToJSONString ¶ added in v0.58.0
func (o *PublicDeleteContentByShareCodeUnauthorized) ToJSONString() string
type PublicDownloadContentByContentIDInternalServerError ¶
type PublicDownloadContentByContentIDInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
PublicDownloadContentByContentIDInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773201</td><td>Unable to get ugc content/Unable to get creator/Unable to get included group</td></tr><tr><td>773203</td><td>Failed generate download URL</td></tr></table>
func NewPublicDownloadContentByContentIDInternalServerError ¶
func NewPublicDownloadContentByContentIDInternalServerError() *PublicDownloadContentByContentIDInternalServerError
NewPublicDownloadContentByContentIDInternalServerError creates a PublicDownloadContentByContentIDInternalServerError with default headers values
func (*PublicDownloadContentByContentIDInternalServerError) Error ¶
func (o *PublicDownloadContentByContentIDInternalServerError) Error() string
func (*PublicDownloadContentByContentIDInternalServerError) GetPayload ¶
func (o *PublicDownloadContentByContentIDInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*PublicDownloadContentByContentIDInternalServerError) ToJSONString ¶
func (o *PublicDownloadContentByContentIDInternalServerError) ToJSONString() string
type PublicDownloadContentByContentIDNotFound ¶
type PublicDownloadContentByContentIDNotFound struct {
Payload *ugcclientmodels.ResponseError
}
PublicDownloadContentByContentIDNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773200</td><td>ugc content not found</td></tr></table>
func NewPublicDownloadContentByContentIDNotFound ¶
func NewPublicDownloadContentByContentIDNotFound() *PublicDownloadContentByContentIDNotFound
NewPublicDownloadContentByContentIDNotFound creates a PublicDownloadContentByContentIDNotFound with default headers values
func (*PublicDownloadContentByContentIDNotFound) Error ¶
func (o *PublicDownloadContentByContentIDNotFound) Error() string
func (*PublicDownloadContentByContentIDNotFound) GetPayload ¶
func (o *PublicDownloadContentByContentIDNotFound) GetPayload() *ugcclientmodels.ResponseError
func (*PublicDownloadContentByContentIDNotFound) ToJSONString ¶
func (o *PublicDownloadContentByContentIDNotFound) ToJSONString() string
type PublicDownloadContentByContentIDOK ¶
type PublicDownloadContentByContentIDOK struct {
Payload *ugcclientmodels.ModelsContentDownloadResponse
}
PublicDownloadContentByContentIDOK handles this case with default header values.
Get user specific content
func NewPublicDownloadContentByContentIDOK ¶
func NewPublicDownloadContentByContentIDOK() *PublicDownloadContentByContentIDOK
NewPublicDownloadContentByContentIDOK creates a PublicDownloadContentByContentIDOK with default headers values
func (*PublicDownloadContentByContentIDOK) Error ¶
func (o *PublicDownloadContentByContentIDOK) Error() string
func (*PublicDownloadContentByContentIDOK) GetPayload ¶
func (o *PublicDownloadContentByContentIDOK) GetPayload() *ugcclientmodels.ModelsContentDownloadResponse
func (*PublicDownloadContentByContentIDOK) ToJSONString ¶
func (o *PublicDownloadContentByContentIDOK) ToJSONString() string
type PublicDownloadContentByContentIDParams ¶
type PublicDownloadContentByContentIDParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ContentID content ID */ ContentID string /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicDownloadContentByContentIDParams contains all the parameters to send to the API endpoint for the public download content by content id operation typically these are written to a http.Request
func NewPublicDownloadContentByContentIDParams ¶
func NewPublicDownloadContentByContentIDParams() *PublicDownloadContentByContentIDParams
NewPublicDownloadContentByContentIDParams creates a new PublicDownloadContentByContentIDParams object with the default values initialized.
func NewPublicDownloadContentByContentIDParamsWithContext ¶
func NewPublicDownloadContentByContentIDParamsWithContext(ctx context.Context) *PublicDownloadContentByContentIDParams
NewPublicDownloadContentByContentIDParamsWithContext creates a new PublicDownloadContentByContentIDParams object with the default values initialized, and the ability to set a context for a request
func NewPublicDownloadContentByContentIDParamsWithHTTPClient ¶
func NewPublicDownloadContentByContentIDParamsWithHTTPClient(client *http.Client) *PublicDownloadContentByContentIDParams
NewPublicDownloadContentByContentIDParamsWithHTTPClient creates a new PublicDownloadContentByContentIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicDownloadContentByContentIDParamsWithTimeout ¶
func NewPublicDownloadContentByContentIDParamsWithTimeout(timeout time.Duration) *PublicDownloadContentByContentIDParams
NewPublicDownloadContentByContentIDParamsWithTimeout creates a new PublicDownloadContentByContentIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicDownloadContentByContentIDParams) SetAuthInfoWriter ¶
func (o *PublicDownloadContentByContentIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public download content by content id params
func (*PublicDownloadContentByContentIDParams) SetContentID ¶
func (o *PublicDownloadContentByContentIDParams) SetContentID(contentID string)
SetContentID adds the contentId to the public download content by content id params
func (*PublicDownloadContentByContentIDParams) SetContext ¶
func (o *PublicDownloadContentByContentIDParams) SetContext(ctx context.Context)
SetContext adds the context to the public download content by content id params
func (*PublicDownloadContentByContentIDParams) SetFlightId ¶ added in v0.63.0
func (o *PublicDownloadContentByContentIDParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicDownloadContentByContentIDParams) SetHTTPClient ¶
func (o *PublicDownloadContentByContentIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public download content by content id params
func (*PublicDownloadContentByContentIDParams) SetHTTPClientTransport ¶
func (o *PublicDownloadContentByContentIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public download content by content id params
func (*PublicDownloadContentByContentIDParams) SetNamespace ¶
func (o *PublicDownloadContentByContentIDParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public download content by content id params
func (*PublicDownloadContentByContentIDParams) SetTimeout ¶
func (o *PublicDownloadContentByContentIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public download content by content id params
func (*PublicDownloadContentByContentIDParams) WithContentID ¶
func (o *PublicDownloadContentByContentIDParams) WithContentID(contentID string) *PublicDownloadContentByContentIDParams
WithContentID adds the contentID to the public download content by content id params
func (*PublicDownloadContentByContentIDParams) WithContext ¶
func (o *PublicDownloadContentByContentIDParams) WithContext(ctx context.Context) *PublicDownloadContentByContentIDParams
WithContext adds the context to the public download content by content id params
func (*PublicDownloadContentByContentIDParams) WithHTTPClient ¶
func (o *PublicDownloadContentByContentIDParams) WithHTTPClient(client *http.Client) *PublicDownloadContentByContentIDParams
WithHTTPClient adds the HTTPClient to the public download content by content id params
func (*PublicDownloadContentByContentIDParams) WithNamespace ¶
func (o *PublicDownloadContentByContentIDParams) WithNamespace(namespace string) *PublicDownloadContentByContentIDParams
WithNamespace adds the namespace to the public download content by content id params
func (*PublicDownloadContentByContentIDParams) WithTimeout ¶
func (o *PublicDownloadContentByContentIDParams) WithTimeout(timeout time.Duration) *PublicDownloadContentByContentIDParams
WithTimeout adds the timeout to the public download content by content id params
func (*PublicDownloadContentByContentIDParams) WriteToRequest ¶
func (o *PublicDownloadContentByContentIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicDownloadContentByContentIDReader ¶
type PublicDownloadContentByContentIDReader struct {
// contains filtered or unexported fields
}
PublicDownloadContentByContentIDReader is a Reader for the PublicDownloadContentByContentID structure.
func (*PublicDownloadContentByContentIDReader) ReadResponse ¶
func (o *PublicDownloadContentByContentIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicDownloadContentByContentIDUnauthorized ¶
type PublicDownloadContentByContentIDUnauthorized struct {
}PublicDownloadContentByContentIDUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPublicDownloadContentByContentIDUnauthorized ¶
func NewPublicDownloadContentByContentIDUnauthorized() *PublicDownloadContentByContentIDUnauthorized
NewPublicDownloadContentByContentIDUnauthorized creates a PublicDownloadContentByContentIDUnauthorized with default headers values
func (*PublicDownloadContentByContentIDUnauthorized) Error ¶
func (o *PublicDownloadContentByContentIDUnauthorized) Error() string
func (*PublicDownloadContentByContentIDUnauthorized) GetPayload ¶
func (o *PublicDownloadContentByContentIDUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*PublicDownloadContentByContentIDUnauthorized) ToJSONString ¶
func (o *PublicDownloadContentByContentIDUnauthorized) ToJSONString() string
type PublicDownloadContentByShareCodeInternalServerError ¶
type PublicDownloadContentByShareCodeInternalServerError struct {
}PublicDownloadContentByShareCodeInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770301</td><td>Unable to get ugc content/Unable to get creator</td></tr><tr><td>770303</td><td>Failed generate download URL</td></tr></table>
func NewPublicDownloadContentByShareCodeInternalServerError ¶
func NewPublicDownloadContentByShareCodeInternalServerError() *PublicDownloadContentByShareCodeInternalServerError
NewPublicDownloadContentByShareCodeInternalServerError creates a PublicDownloadContentByShareCodeInternalServerError with default headers values
func (*PublicDownloadContentByShareCodeInternalServerError) Error ¶
func (o *PublicDownloadContentByShareCodeInternalServerError) Error() string
func (*PublicDownloadContentByShareCodeInternalServerError) GetPayload ¶
func (o *PublicDownloadContentByShareCodeInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*PublicDownloadContentByShareCodeInternalServerError) ToJSONString ¶
func (o *PublicDownloadContentByShareCodeInternalServerError) ToJSONString() string
type PublicDownloadContentByShareCodeNotFound ¶
type PublicDownloadContentByShareCodeNotFound struct {
}PublicDownloadContentByShareCodeNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770300</td><td>ugc content not found</td></tr></table>
func NewPublicDownloadContentByShareCodeNotFound ¶
func NewPublicDownloadContentByShareCodeNotFound() *PublicDownloadContentByShareCodeNotFound
NewPublicDownloadContentByShareCodeNotFound creates a PublicDownloadContentByShareCodeNotFound with default headers values
func (*PublicDownloadContentByShareCodeNotFound) Error ¶
func (o *PublicDownloadContentByShareCodeNotFound) Error() string
func (*PublicDownloadContentByShareCodeNotFound) GetPayload ¶
func (o *PublicDownloadContentByShareCodeNotFound) GetPayload() *ugcclientmodels.ResponseError
func (*PublicDownloadContentByShareCodeNotFound) ToJSONString ¶
func (o *PublicDownloadContentByShareCodeNotFound) ToJSONString() string
type PublicDownloadContentByShareCodeOK ¶
type PublicDownloadContentByShareCodeOK struct {
}PublicDownloadContentByShareCodeOK handles this case with default header values.
Get content by sharecode
func NewPublicDownloadContentByShareCodeOK ¶
func NewPublicDownloadContentByShareCodeOK() *PublicDownloadContentByShareCodeOK
NewPublicDownloadContentByShareCodeOK creates a PublicDownloadContentByShareCodeOK with default headers values
func (*PublicDownloadContentByShareCodeOK) Error ¶
func (o *PublicDownloadContentByShareCodeOK) Error() string
func (*PublicDownloadContentByShareCodeOK) GetPayload ¶
func (o *PublicDownloadContentByShareCodeOK) GetPayload() *ugcclientmodels.ModelsContentDownloadResponse
func (*PublicDownloadContentByShareCodeOK) ToJSONString ¶
func (o *PublicDownloadContentByShareCodeOK) ToJSONString() string
type PublicDownloadContentByShareCodeParams ¶
type PublicDownloadContentByShareCodeParams struct { utils.Retry Namespace string ShareCode string XFlightId *string // contains filtered or unexported fields }RetryPolicy *
PublicDownloadContentByShareCodeParams contains all the parameters to send to the API endpoint for the public download content by share code operation typically these are written to a http.Request
func NewPublicDownloadContentByShareCodeParams ¶
func NewPublicDownloadContentByShareCodeParams() *PublicDownloadContentByShareCodeParams
NewPublicDownloadContentByShareCodeParams creates a new PublicDownloadContentByShareCodeParams object with the default values initialized.
func NewPublicDownloadContentByShareCodeParamsWithContext ¶
func NewPublicDownloadContentByShareCodeParamsWithContext(ctx context.Context) *PublicDownloadContentByShareCodeParams
NewPublicDownloadContentByShareCodeParamsWithContext creates a new PublicDownloadContentByShareCodeParams object with the default values initialized, and the ability to set a context for a request
func NewPublicDownloadContentByShareCodeParamsWithHTTPClient ¶
func NewPublicDownloadContentByShareCodeParamsWithHTTPClient(client *http.Client) *PublicDownloadContentByShareCodeParams
NewPublicDownloadContentByShareCodeParamsWithHTTPClient creates a new PublicDownloadContentByShareCodeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicDownloadContentByShareCodeParamsWithTimeout ¶
func NewPublicDownloadContentByShareCodeParamsWithTimeout(timeout time.Duration) *PublicDownloadContentByShareCodeParams
NewPublicDownloadContentByShareCodeParamsWithTimeout creates a new PublicDownloadContentByShareCodeParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicDownloadContentByShareCodeParams) SetAuthInfoWriter ¶
func (o *PublicDownloadContentByShareCodeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public download content by share code params
func (*PublicDownloadContentByShareCodeParams) SetContext ¶
func (o *PublicDownloadContentByShareCodeParams) SetContext(ctx context.Context)
SetContext adds the context to the public download content by share code params
func (*PublicDownloadContentByShareCodeParams) SetFlightId ¶ added in v0.63.0
func (o *PublicDownloadContentByShareCodeParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicDownloadContentByShareCodeParams) SetHTTPClient ¶
func (o *PublicDownloadContentByShareCodeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public download content by share code params
func (*PublicDownloadContentByShareCodeParams) SetHTTPClientTransport ¶
func (o *PublicDownloadContentByShareCodeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public download content by share code params
func (*PublicDownloadContentByShareCodeParams) SetNamespace ¶
func (o *PublicDownloadContentByShareCodeParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public download content by share code params
func (*PublicDownloadContentByShareCodeParams) SetShareCode ¶
func (o *PublicDownloadContentByShareCodeParams) SetShareCode(shareCode string)
SetShareCode adds the shareCode to the public download content by share code params
func (*PublicDownloadContentByShareCodeParams) SetTimeout ¶
func (o *PublicDownloadContentByShareCodeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public download content by share code params
func (*PublicDownloadContentByShareCodeParams) WithContext ¶
func (o *PublicDownloadContentByShareCodeParams) WithContext(ctx context.Context) *PublicDownloadContentByShareCodeParams
WithContext adds the context to the public download content by share code params
func (*PublicDownloadContentByShareCodeParams) WithHTTPClient ¶
func (o *PublicDownloadContentByShareCodeParams) WithHTTPClient(client *http.Client) *PublicDownloadContentByShareCodeParams
WithHTTPClient adds the HTTPClient to the public download content by share code params
func (*PublicDownloadContentByShareCodeParams) WithNamespace ¶
func (o *PublicDownloadContentByShareCodeParams) WithNamespace(namespace string) *PublicDownloadContentByShareCodeParams
WithNamespace adds the namespace to the public download content by share code params
func (*PublicDownloadContentByShareCodeParams) WithShareCode ¶
func (o *PublicDownloadContentByShareCodeParams) WithShareCode(shareCode string) *PublicDownloadContentByShareCodeParams
WithShareCode adds the shareCode to the public download content by share code params
func (*PublicDownloadContentByShareCodeParams) WithTimeout ¶
func (o *PublicDownloadContentByShareCodeParams) WithTimeout(timeout time.Duration) *PublicDownloadContentByShareCodeParams
WithTimeout adds the timeout to the public download content by share code params
func (*PublicDownloadContentByShareCodeParams) WriteToRequest ¶
func (o *PublicDownloadContentByShareCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicDownloadContentByShareCodeReader ¶
type PublicDownloadContentByShareCodeReader struct {
// contains filtered or unexported fields
}
PublicDownloadContentByShareCodeReader is a Reader for the PublicDownloadContentByShareCode structure.
func (*PublicDownloadContentByShareCodeReader) ReadResponse ¶
func (o *PublicDownloadContentByShareCodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicDownloadContentByShareCodeUnauthorized ¶
type PublicDownloadContentByShareCodeUnauthorized struct {
}PublicDownloadContentByShareCodeUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPublicDownloadContentByShareCodeUnauthorized ¶
func NewPublicDownloadContentByShareCodeUnauthorized() *PublicDownloadContentByShareCodeUnauthorized
NewPublicDownloadContentByShareCodeUnauthorized creates a PublicDownloadContentByShareCodeUnauthorized with default headers values
func (*PublicDownloadContentByShareCodeUnauthorized) Error ¶
func (o *PublicDownloadContentByShareCodeUnauthorized) Error() string
func (*PublicDownloadContentByShareCodeUnauthorized) GetPayload ¶
func (o *PublicDownloadContentByShareCodeUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*PublicDownloadContentByShareCodeUnauthorized) ToJSONString ¶
func (o *PublicDownloadContentByShareCodeUnauthorized) ToJSONString() string
type PublicDownloadContentPreviewInternalServerError ¶
type PublicDownloadContentPreviewInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
PublicDownloadContentPreviewInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773701</td><td>Unable to get ugc content</td></tr></table>
func NewPublicDownloadContentPreviewInternalServerError ¶
func NewPublicDownloadContentPreviewInternalServerError() *PublicDownloadContentPreviewInternalServerError
NewPublicDownloadContentPreviewInternalServerError creates a PublicDownloadContentPreviewInternalServerError with default headers values
func (*PublicDownloadContentPreviewInternalServerError) Error ¶
func (o *PublicDownloadContentPreviewInternalServerError) Error() string
func (*PublicDownloadContentPreviewInternalServerError) GetPayload ¶
func (o *PublicDownloadContentPreviewInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*PublicDownloadContentPreviewInternalServerError) ToJSONString ¶
func (o *PublicDownloadContentPreviewInternalServerError) ToJSONString() string
type PublicDownloadContentPreviewNotFound ¶
type PublicDownloadContentPreviewNotFound struct {
Payload *ugcclientmodels.ResponseError
}
PublicDownloadContentPreviewNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773702</td><td>ugc content not found</td></tr></table>
func NewPublicDownloadContentPreviewNotFound ¶
func NewPublicDownloadContentPreviewNotFound() *PublicDownloadContentPreviewNotFound
NewPublicDownloadContentPreviewNotFound creates a PublicDownloadContentPreviewNotFound with default headers values
func (*PublicDownloadContentPreviewNotFound) Error ¶
func (o *PublicDownloadContentPreviewNotFound) Error() string
func (*PublicDownloadContentPreviewNotFound) GetPayload ¶
func (o *PublicDownloadContentPreviewNotFound) GetPayload() *ugcclientmodels.ResponseError
func (*PublicDownloadContentPreviewNotFound) ToJSONString ¶
func (o *PublicDownloadContentPreviewNotFound) ToJSONString() string
type PublicDownloadContentPreviewOK ¶
type PublicDownloadContentPreviewOK struct {
Payload *ugcclientmodels.ModelsGetContentPreviewResponse
}
PublicDownloadContentPreviewOK handles this case with default header values.
Get content preview
func NewPublicDownloadContentPreviewOK ¶
func NewPublicDownloadContentPreviewOK() *PublicDownloadContentPreviewOK
NewPublicDownloadContentPreviewOK creates a PublicDownloadContentPreviewOK with default headers values
func (*PublicDownloadContentPreviewOK) Error ¶
func (o *PublicDownloadContentPreviewOK) Error() string
func (*PublicDownloadContentPreviewOK) GetPayload ¶
func (o *PublicDownloadContentPreviewOK) GetPayload() *ugcclientmodels.ModelsGetContentPreviewResponse
func (*PublicDownloadContentPreviewOK) ToJSONString ¶
func (o *PublicDownloadContentPreviewOK) ToJSONString() string
type PublicDownloadContentPreviewParams ¶
type PublicDownloadContentPreviewParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ContentID content ID */ ContentID string /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicDownloadContentPreviewParams contains all the parameters to send to the API endpoint for the public download content preview operation typically these are written to a http.Request
func NewPublicDownloadContentPreviewParams ¶
func NewPublicDownloadContentPreviewParams() *PublicDownloadContentPreviewParams
NewPublicDownloadContentPreviewParams creates a new PublicDownloadContentPreviewParams object with the default values initialized.
func NewPublicDownloadContentPreviewParamsWithContext ¶
func NewPublicDownloadContentPreviewParamsWithContext(ctx context.Context) *PublicDownloadContentPreviewParams
NewPublicDownloadContentPreviewParamsWithContext creates a new PublicDownloadContentPreviewParams object with the default values initialized, and the ability to set a context for a request
func NewPublicDownloadContentPreviewParamsWithHTTPClient ¶
func NewPublicDownloadContentPreviewParamsWithHTTPClient(client *http.Client) *PublicDownloadContentPreviewParams
NewPublicDownloadContentPreviewParamsWithHTTPClient creates a new PublicDownloadContentPreviewParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicDownloadContentPreviewParamsWithTimeout ¶
func NewPublicDownloadContentPreviewParamsWithTimeout(timeout time.Duration) *PublicDownloadContentPreviewParams
NewPublicDownloadContentPreviewParamsWithTimeout creates a new PublicDownloadContentPreviewParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicDownloadContentPreviewParams) SetAuthInfoWriter ¶
func (o *PublicDownloadContentPreviewParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public download content preview params
func (*PublicDownloadContentPreviewParams) SetContentID ¶
func (o *PublicDownloadContentPreviewParams) SetContentID(contentID string)
SetContentID adds the contentId to the public download content preview params
func (*PublicDownloadContentPreviewParams) SetContext ¶
func (o *PublicDownloadContentPreviewParams) SetContext(ctx context.Context)
SetContext adds the context to the public download content preview params
func (*PublicDownloadContentPreviewParams) SetFlightId ¶ added in v0.63.0
func (o *PublicDownloadContentPreviewParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicDownloadContentPreviewParams) SetHTTPClient ¶
func (o *PublicDownloadContentPreviewParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public download content preview params
func (*PublicDownloadContentPreviewParams) SetHTTPClientTransport ¶
func (o *PublicDownloadContentPreviewParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public download content preview params
func (*PublicDownloadContentPreviewParams) SetNamespace ¶
func (o *PublicDownloadContentPreviewParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public download content preview params
func (*PublicDownloadContentPreviewParams) SetTimeout ¶
func (o *PublicDownloadContentPreviewParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public download content preview params
func (*PublicDownloadContentPreviewParams) WithContentID ¶
func (o *PublicDownloadContentPreviewParams) WithContentID(contentID string) *PublicDownloadContentPreviewParams
WithContentID adds the contentID to the public download content preview params
func (*PublicDownloadContentPreviewParams) WithContext ¶
func (o *PublicDownloadContentPreviewParams) WithContext(ctx context.Context) *PublicDownloadContentPreviewParams
WithContext adds the context to the public download content preview params
func (*PublicDownloadContentPreviewParams) WithHTTPClient ¶
func (o *PublicDownloadContentPreviewParams) WithHTTPClient(client *http.Client) *PublicDownloadContentPreviewParams
WithHTTPClient adds the HTTPClient to the public download content preview params
func (*PublicDownloadContentPreviewParams) WithNamespace ¶
func (o *PublicDownloadContentPreviewParams) WithNamespace(namespace string) *PublicDownloadContentPreviewParams
WithNamespace adds the namespace to the public download content preview params
func (*PublicDownloadContentPreviewParams) WithTimeout ¶
func (o *PublicDownloadContentPreviewParams) WithTimeout(timeout time.Duration) *PublicDownloadContentPreviewParams
WithTimeout adds the timeout to the public download content preview params
func (*PublicDownloadContentPreviewParams) WriteToRequest ¶
func (o *PublicDownloadContentPreviewParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicDownloadContentPreviewReader ¶
type PublicDownloadContentPreviewReader struct {
// contains filtered or unexported fields
}
PublicDownloadContentPreviewReader is a Reader for the PublicDownloadContentPreview structure.
func (*PublicDownloadContentPreviewReader) ReadResponse ¶
func (o *PublicDownloadContentPreviewReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicDownloadContentPreviewUnauthorized ¶
type PublicDownloadContentPreviewUnauthorized struct {
}PublicDownloadContentPreviewUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPublicDownloadContentPreviewUnauthorized ¶
func NewPublicDownloadContentPreviewUnauthorized() *PublicDownloadContentPreviewUnauthorized
NewPublicDownloadContentPreviewUnauthorized creates a PublicDownloadContentPreviewUnauthorized with default headers values
func (*PublicDownloadContentPreviewUnauthorized) Error ¶
func (o *PublicDownloadContentPreviewUnauthorized) Error() string
func (*PublicDownloadContentPreviewUnauthorized) GetPayload ¶
func (o *PublicDownloadContentPreviewUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*PublicDownloadContentPreviewUnauthorized) ToJSONString ¶
func (o *PublicDownloadContentPreviewUnauthorized) ToJSONString() string
type PublicGetContentBulkBadRequest ¶
type PublicGetContentBulkBadRequest struct {
Payload *ugcclientmodels.ResponseError
}
PublicGetContentBulkBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773900</td><td>Malformed request/Invalid request body</td></tr></table>
func NewPublicGetContentBulkBadRequest ¶
func NewPublicGetContentBulkBadRequest() *PublicGetContentBulkBadRequest
NewPublicGetContentBulkBadRequest creates a PublicGetContentBulkBadRequest with default headers values
func (*PublicGetContentBulkBadRequest) Error ¶
func (o *PublicGetContentBulkBadRequest) Error() string
func (*PublicGetContentBulkBadRequest) GetPayload ¶
func (o *PublicGetContentBulkBadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGetContentBulkBadRequest) ToJSONString ¶
func (o *PublicGetContentBulkBadRequest) ToJSONString() string
type PublicGetContentBulkByShareCodesBadRequest ¶ added in v0.59.0
type PublicGetContentBulkByShareCodesBadRequest struct {
}PublicGetContentBulkByShareCodesBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773900</td><td>Malformed request/Invalid request body</td></tr></table>
func NewPublicGetContentBulkByShareCodesBadRequest ¶ added in v0.59.0
func NewPublicGetContentBulkByShareCodesBadRequest() *PublicGetContentBulkByShareCodesBadRequest
NewPublicGetContentBulkByShareCodesBadRequest creates a PublicGetContentBulkByShareCodesBadRequest with default headers values
func (*PublicGetContentBulkByShareCodesBadRequest) Error ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesBadRequest) Error() string
func (*PublicGetContentBulkByShareCodesBadRequest) GetPayload ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesBadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGetContentBulkByShareCodesBadRequest) ToJSONString ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesBadRequest) ToJSONString() string
type PublicGetContentBulkByShareCodesForbidden ¶ added in v0.59.0
type PublicGetContentBulkByShareCodesForbidden struct {
}PublicGetContentBulkByShareCodesForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewPublicGetContentBulkByShareCodesForbidden ¶ added in v0.59.0
func NewPublicGetContentBulkByShareCodesForbidden() *PublicGetContentBulkByShareCodesForbidden
NewPublicGetContentBulkByShareCodesForbidden creates a PublicGetContentBulkByShareCodesForbidden with default headers values
func (*PublicGetContentBulkByShareCodesForbidden) Error ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesForbidden) Error() string
func (*PublicGetContentBulkByShareCodesForbidden) GetPayload ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesForbidden) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGetContentBulkByShareCodesForbidden) ToJSONString ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesForbidden) ToJSONString() string
type PublicGetContentBulkByShareCodesInternalServerError ¶ added in v0.59.0
type PublicGetContentBulkByShareCodesInternalServerError struct {
}PublicGetContentBulkByShareCodesInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773901</td><td>Unable to get ugc content: database/Unable to get creator</td></tr><tr><td>773902</td><td>Failed generate download URL</td></tr></table>
func NewPublicGetContentBulkByShareCodesInternalServerError ¶ added in v0.59.0
func NewPublicGetContentBulkByShareCodesInternalServerError() *PublicGetContentBulkByShareCodesInternalServerError
NewPublicGetContentBulkByShareCodesInternalServerError creates a PublicGetContentBulkByShareCodesInternalServerError with default headers values
func (*PublicGetContentBulkByShareCodesInternalServerError) Error ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesInternalServerError) Error() string
func (*PublicGetContentBulkByShareCodesInternalServerError) GetPayload ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGetContentBulkByShareCodesInternalServerError) ToJSONString ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesInternalServerError) ToJSONString() string
type PublicGetContentBulkByShareCodesOK ¶ added in v0.59.0
type PublicGetContentBulkByShareCodesOK struct {
}PublicGetContentBulkByShareCodesOK handles this case with default header values.
Bulk get content by sharecodes
func NewPublicGetContentBulkByShareCodesOK ¶ added in v0.59.0
func NewPublicGetContentBulkByShareCodesOK() *PublicGetContentBulkByShareCodesOK
NewPublicGetContentBulkByShareCodesOK creates a PublicGetContentBulkByShareCodesOK with default headers values
func (*PublicGetContentBulkByShareCodesOK) Error ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesOK) Error() string
func (*PublicGetContentBulkByShareCodesOK) GetPayload ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesOK) GetPayload() []*ugcclientmodels.ModelsContentDownloadResponse
func (*PublicGetContentBulkByShareCodesOK) ToJSONString ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesOK) ToJSONString() string
type PublicGetContentBulkByShareCodesParams ¶ added in v0.59.0
type PublicGetContentBulkByShareCodesParams struct { utils.Retry Body *ugcclientmodels.ModelsGetContentBulkByShareCodesRequest Namespace string XFlightId *string // contains filtered or unexported fields }RetryPolicy *
PublicGetContentBulkByShareCodesParams contains all the parameters to send to the API endpoint for the public get content bulk by share codes operation typically these are written to a http.Request
func NewPublicGetContentBulkByShareCodesParams ¶ added in v0.59.0
func NewPublicGetContentBulkByShareCodesParams() *PublicGetContentBulkByShareCodesParams
NewPublicGetContentBulkByShareCodesParams creates a new PublicGetContentBulkByShareCodesParams object with the default values initialized.
func NewPublicGetContentBulkByShareCodesParamsWithContext ¶ added in v0.59.0
func NewPublicGetContentBulkByShareCodesParamsWithContext(ctx context.Context) *PublicGetContentBulkByShareCodesParams
NewPublicGetContentBulkByShareCodesParamsWithContext creates a new PublicGetContentBulkByShareCodesParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetContentBulkByShareCodesParamsWithHTTPClient ¶ added in v0.59.0
func NewPublicGetContentBulkByShareCodesParamsWithHTTPClient(client *http.Client) *PublicGetContentBulkByShareCodesParams
NewPublicGetContentBulkByShareCodesParamsWithHTTPClient creates a new PublicGetContentBulkByShareCodesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetContentBulkByShareCodesParamsWithTimeout ¶ added in v0.59.0
func NewPublicGetContentBulkByShareCodesParamsWithTimeout(timeout time.Duration) *PublicGetContentBulkByShareCodesParams
NewPublicGetContentBulkByShareCodesParamsWithTimeout creates a new PublicGetContentBulkByShareCodesParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetContentBulkByShareCodesParams) SetAuthInfoWriter ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get content bulk by share codes params
func (*PublicGetContentBulkByShareCodesParams) SetBody ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesParams) SetBody(body *ugcclientmodels.ModelsGetContentBulkByShareCodesRequest)
SetBody adds the body to the public get content bulk by share codes params
func (*PublicGetContentBulkByShareCodesParams) SetContext ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesParams) SetContext(ctx context.Context)
SetContext adds the context to the public get content bulk by share codes params
func (*PublicGetContentBulkByShareCodesParams) SetFlightId ¶ added in v0.63.0
func (o *PublicGetContentBulkByShareCodesParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicGetContentBulkByShareCodesParams) SetHTTPClient ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get content bulk by share codes params
func (*PublicGetContentBulkByShareCodesParams) SetHTTPClientTransport ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get content bulk by share codes params
func (*PublicGetContentBulkByShareCodesParams) SetNamespace ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get content bulk by share codes params
func (*PublicGetContentBulkByShareCodesParams) SetTimeout ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get content bulk by share codes params
func (*PublicGetContentBulkByShareCodesParams) WithBody ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesParams) WithBody(body *ugcclientmodels.ModelsGetContentBulkByShareCodesRequest) *PublicGetContentBulkByShareCodesParams
WithBody adds the body to the public get content bulk by share codes params
func (*PublicGetContentBulkByShareCodesParams) WithContext ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesParams) WithContext(ctx context.Context) *PublicGetContentBulkByShareCodesParams
WithContext adds the context to the public get content bulk by share codes params
func (*PublicGetContentBulkByShareCodesParams) WithHTTPClient ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesParams) WithHTTPClient(client *http.Client) *PublicGetContentBulkByShareCodesParams
WithHTTPClient adds the HTTPClient to the public get content bulk by share codes params
func (*PublicGetContentBulkByShareCodesParams) WithNamespace ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesParams) WithNamespace(namespace string) *PublicGetContentBulkByShareCodesParams
WithNamespace adds the namespace to the public get content bulk by share codes params
func (*PublicGetContentBulkByShareCodesParams) WithTimeout ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesParams) WithTimeout(timeout time.Duration) *PublicGetContentBulkByShareCodesParams
WithTimeout adds the timeout to the public get content bulk by share codes params
func (*PublicGetContentBulkByShareCodesParams) WriteToRequest ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetContentBulkByShareCodesReader ¶ added in v0.59.0
type PublicGetContentBulkByShareCodesReader struct {
// contains filtered or unexported fields
}
PublicGetContentBulkByShareCodesReader is a Reader for the PublicGetContentBulkByShareCodes structure.
func (*PublicGetContentBulkByShareCodesReader) ReadResponse ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetContentBulkByShareCodesUnauthorized ¶ added in v0.59.0
type PublicGetContentBulkByShareCodesUnauthorized struct {
}PublicGetContentBulkByShareCodesUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPublicGetContentBulkByShareCodesUnauthorized ¶ added in v0.59.0
func NewPublicGetContentBulkByShareCodesUnauthorized() *PublicGetContentBulkByShareCodesUnauthorized
NewPublicGetContentBulkByShareCodesUnauthorized creates a PublicGetContentBulkByShareCodesUnauthorized with default headers values
func (*PublicGetContentBulkByShareCodesUnauthorized) Error ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesUnauthorized) Error() string
func (*PublicGetContentBulkByShareCodesUnauthorized) GetPayload ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGetContentBulkByShareCodesUnauthorized) ToJSONString ¶ added in v0.59.0
func (o *PublicGetContentBulkByShareCodesUnauthorized) ToJSONString() string
type PublicGetContentBulkInternalServerError ¶
type PublicGetContentBulkInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
PublicGetContentBulkInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773901</td><td>Unable to get ugc content: database/Unable to get creator</td></tr><tr><td>773902</td><td>Failed generate download URL</td></tr></table>
func NewPublicGetContentBulkInternalServerError ¶
func NewPublicGetContentBulkInternalServerError() *PublicGetContentBulkInternalServerError
NewPublicGetContentBulkInternalServerError creates a PublicGetContentBulkInternalServerError with default headers values
func (*PublicGetContentBulkInternalServerError) Error ¶
func (o *PublicGetContentBulkInternalServerError) Error() string
func (*PublicGetContentBulkInternalServerError) GetPayload ¶
func (o *PublicGetContentBulkInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGetContentBulkInternalServerError) ToJSONString ¶
func (o *PublicGetContentBulkInternalServerError) ToJSONString() string
type PublicGetContentBulkOK ¶
type PublicGetContentBulkOK struct {
Payload []*ugcclientmodels.ModelsContentDownloadResponse
}
PublicGetContentBulkOK handles this case with default header values.
Get contents by content Ids
func NewPublicGetContentBulkOK ¶
func NewPublicGetContentBulkOK() *PublicGetContentBulkOK
NewPublicGetContentBulkOK creates a PublicGetContentBulkOK with default headers values
func (*PublicGetContentBulkOK) Error ¶
func (o *PublicGetContentBulkOK) Error() string
func (*PublicGetContentBulkOK) GetPayload ¶
func (o *PublicGetContentBulkOK) GetPayload() []*ugcclientmodels.ModelsContentDownloadResponse
func (*PublicGetContentBulkOK) ToJSONString ¶
func (o *PublicGetContentBulkOK) ToJSONString() string
type PublicGetContentBulkParams ¶
type PublicGetContentBulkParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *ugcclientmodels.ModelsPublicGetContentBulkRequest /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicGetContentBulkParams contains all the parameters to send to the API endpoint for the public get content bulk operation typically these are written to a http.Request
func NewPublicGetContentBulkParams ¶
func NewPublicGetContentBulkParams() *PublicGetContentBulkParams
NewPublicGetContentBulkParams creates a new PublicGetContentBulkParams object with the default values initialized.
func NewPublicGetContentBulkParamsWithContext ¶
func NewPublicGetContentBulkParamsWithContext(ctx context.Context) *PublicGetContentBulkParams
NewPublicGetContentBulkParamsWithContext creates a new PublicGetContentBulkParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetContentBulkParamsWithHTTPClient ¶
func NewPublicGetContentBulkParamsWithHTTPClient(client *http.Client) *PublicGetContentBulkParams
NewPublicGetContentBulkParamsWithHTTPClient creates a new PublicGetContentBulkParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetContentBulkParamsWithTimeout ¶
func NewPublicGetContentBulkParamsWithTimeout(timeout time.Duration) *PublicGetContentBulkParams
NewPublicGetContentBulkParamsWithTimeout creates a new PublicGetContentBulkParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetContentBulkParams) SetAuthInfoWriter ¶
func (o *PublicGetContentBulkParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get content bulk params
func (*PublicGetContentBulkParams) SetBody ¶
func (o *PublicGetContentBulkParams) SetBody(body *ugcclientmodels.ModelsPublicGetContentBulkRequest)
SetBody adds the body to the public get content bulk params
func (*PublicGetContentBulkParams) SetContext ¶
func (o *PublicGetContentBulkParams) SetContext(ctx context.Context)
SetContext adds the context to the public get content bulk params
func (*PublicGetContentBulkParams) SetFlightId ¶ added in v0.63.0
func (o *PublicGetContentBulkParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicGetContentBulkParams) SetHTTPClient ¶
func (o *PublicGetContentBulkParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get content bulk params
func (*PublicGetContentBulkParams) SetHTTPClientTransport ¶
func (o *PublicGetContentBulkParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get content bulk params
func (*PublicGetContentBulkParams) SetNamespace ¶
func (o *PublicGetContentBulkParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get content bulk params
func (*PublicGetContentBulkParams) SetTimeout ¶
func (o *PublicGetContentBulkParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get content bulk params
func (*PublicGetContentBulkParams) WithBody ¶
func (o *PublicGetContentBulkParams) WithBody(body *ugcclientmodels.ModelsPublicGetContentBulkRequest) *PublicGetContentBulkParams
WithBody adds the body to the public get content bulk params
func (*PublicGetContentBulkParams) WithContext ¶
func (o *PublicGetContentBulkParams) WithContext(ctx context.Context) *PublicGetContentBulkParams
WithContext adds the context to the public get content bulk params
func (*PublicGetContentBulkParams) WithHTTPClient ¶
func (o *PublicGetContentBulkParams) WithHTTPClient(client *http.Client) *PublicGetContentBulkParams
WithHTTPClient adds the HTTPClient to the public get content bulk params
func (*PublicGetContentBulkParams) WithNamespace ¶
func (o *PublicGetContentBulkParams) WithNamespace(namespace string) *PublicGetContentBulkParams
WithNamespace adds the namespace to the public get content bulk params
func (*PublicGetContentBulkParams) WithTimeout ¶
func (o *PublicGetContentBulkParams) WithTimeout(timeout time.Duration) *PublicGetContentBulkParams
WithTimeout adds the timeout to the public get content bulk params
func (*PublicGetContentBulkParams) WriteToRequest ¶
func (o *PublicGetContentBulkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetContentBulkReader ¶
type PublicGetContentBulkReader struct {
// contains filtered or unexported fields
}
PublicGetContentBulkReader is a Reader for the PublicGetContentBulk structure.
func (*PublicGetContentBulkReader) ReadResponse ¶
func (o *PublicGetContentBulkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetContentBulkUnauthorized ¶
type PublicGetContentBulkUnauthorized struct {
}PublicGetContentBulkUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPublicGetContentBulkUnauthorized ¶
func NewPublicGetContentBulkUnauthorized() *PublicGetContentBulkUnauthorized
NewPublicGetContentBulkUnauthorized creates a PublicGetContentBulkUnauthorized with default headers values
func (*PublicGetContentBulkUnauthorized) Error ¶
func (o *PublicGetContentBulkUnauthorized) Error() string
func (*PublicGetContentBulkUnauthorized) GetPayload ¶
func (o *PublicGetContentBulkUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGetContentBulkUnauthorized) ToJSONString ¶
func (o *PublicGetContentBulkUnauthorized) ToJSONString() string
type PublicGetUserContentBadRequest ¶ added in v0.60.0
type PublicGetUserContentBadRequest struct {
Payload *ugcclientmodels.ResponseError
}
PublicGetUserContentBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770900</td><td>invalid paging parameter</td></tr></table>
func NewPublicGetUserContentBadRequest ¶ added in v0.60.0
func NewPublicGetUserContentBadRequest() *PublicGetUserContentBadRequest
NewPublicGetUserContentBadRequest creates a PublicGetUserContentBadRequest with default headers values
func (*PublicGetUserContentBadRequest) Error ¶ added in v0.60.0
func (o *PublicGetUserContentBadRequest) Error() string
func (*PublicGetUserContentBadRequest) GetPayload ¶ added in v0.60.0
func (o *PublicGetUserContentBadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGetUserContentBadRequest) ToJSONString ¶ added in v0.60.0
func (o *PublicGetUserContentBadRequest) ToJSONString() string
type PublicGetUserContentInternalServerError ¶
type PublicGetUserContentInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
PublicGetUserContentInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770901</td><td>Unable to get ugc content: database error/Unable to get creator</td></tr><tr><td>770903</td><td>Failed generate download URL</td></tr></table>
func NewPublicGetUserContentInternalServerError ¶
func NewPublicGetUserContentInternalServerError() *PublicGetUserContentInternalServerError
NewPublicGetUserContentInternalServerError creates a PublicGetUserContentInternalServerError with default headers values
func (*PublicGetUserContentInternalServerError) Error ¶
func (o *PublicGetUserContentInternalServerError) Error() string
func (*PublicGetUserContentInternalServerError) GetPayload ¶
func (o *PublicGetUserContentInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGetUserContentInternalServerError) ToJSONString ¶
func (o *PublicGetUserContentInternalServerError) ToJSONString() string
type PublicGetUserContentOK ¶
type PublicGetUserContentOK struct {
Payload *ugcclientmodels.ModelsPaginatedContentDownloadResponse
}
PublicGetUserContentOK handles this case with default header values.
Get user's generated contents
func NewPublicGetUserContentOK ¶
func NewPublicGetUserContentOK() *PublicGetUserContentOK
NewPublicGetUserContentOK creates a PublicGetUserContentOK with default headers values
func (*PublicGetUserContentOK) Error ¶
func (o *PublicGetUserContentOK) Error() string
func (*PublicGetUserContentOK) GetPayload ¶
func (o *PublicGetUserContentOK) GetPayload() *ugcclientmodels.ModelsPaginatedContentDownloadResponse
func (*PublicGetUserContentOK) ToJSONString ¶
func (o *PublicGetUserContentOK) ToJSONString() string
type PublicGetUserContentParams ¶
type PublicGetUserContentParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*UserID user ID */ UserID string /*Limit number of content per page. max limit: -1 (-1 means unlimited). */ Limit *int64 /*Offset the offset number to retrieve */ Offset *int64 AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicGetUserContentParams contains all the parameters to send to the API endpoint for the public get user content operation typically these are written to a http.Request
func NewPublicGetUserContentParams ¶
func NewPublicGetUserContentParams() *PublicGetUserContentParams
NewPublicGetUserContentParams creates a new PublicGetUserContentParams object with the default values initialized.
func NewPublicGetUserContentParamsWithContext ¶
func NewPublicGetUserContentParamsWithContext(ctx context.Context) *PublicGetUserContentParams
NewPublicGetUserContentParamsWithContext creates a new PublicGetUserContentParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetUserContentParamsWithHTTPClient ¶
func NewPublicGetUserContentParamsWithHTTPClient(client *http.Client) *PublicGetUserContentParams
NewPublicGetUserContentParamsWithHTTPClient creates a new PublicGetUserContentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetUserContentParamsWithTimeout ¶
func NewPublicGetUserContentParamsWithTimeout(timeout time.Duration) *PublicGetUserContentParams
NewPublicGetUserContentParamsWithTimeout creates a new PublicGetUserContentParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetUserContentParams) SetAuthInfoWriter ¶
func (o *PublicGetUserContentParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get user content params
func (*PublicGetUserContentParams) SetContext ¶
func (o *PublicGetUserContentParams) SetContext(ctx context.Context)
SetContext adds the context to the public get user content params
func (*PublicGetUserContentParams) SetFlightId ¶ added in v0.63.0
func (o *PublicGetUserContentParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicGetUserContentParams) SetHTTPClient ¶
func (o *PublicGetUserContentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get user content params
func (*PublicGetUserContentParams) SetHTTPClientTransport ¶
func (o *PublicGetUserContentParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get user content params
func (*PublicGetUserContentParams) SetLimit ¶
func (o *PublicGetUserContentParams) SetLimit(limit *int64)
SetLimit adds the limit to the public get user content params
func (*PublicGetUserContentParams) SetNamespace ¶
func (o *PublicGetUserContentParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get user content params
func (*PublicGetUserContentParams) SetOffset ¶
func (o *PublicGetUserContentParams) SetOffset(offset *int64)
SetOffset adds the offset to the public get user content params
func (*PublicGetUserContentParams) SetTimeout ¶
func (o *PublicGetUserContentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get user content params
func (*PublicGetUserContentParams) SetUserID ¶
func (o *PublicGetUserContentParams) SetUserID(userID string)
SetUserID adds the userId to the public get user content params
func (*PublicGetUserContentParams) WithContext ¶
func (o *PublicGetUserContentParams) WithContext(ctx context.Context) *PublicGetUserContentParams
WithContext adds the context to the public get user content params
func (*PublicGetUserContentParams) WithHTTPClient ¶
func (o *PublicGetUserContentParams) WithHTTPClient(client *http.Client) *PublicGetUserContentParams
WithHTTPClient adds the HTTPClient to the public get user content params
func (*PublicGetUserContentParams) WithLimit ¶
func (o *PublicGetUserContentParams) WithLimit(limit *int64) *PublicGetUserContentParams
WithLimit adds the limit to the public get user content params
func (*PublicGetUserContentParams) WithNamespace ¶
func (o *PublicGetUserContentParams) WithNamespace(namespace string) *PublicGetUserContentParams
WithNamespace adds the namespace to the public get user content params
func (*PublicGetUserContentParams) WithOffset ¶
func (o *PublicGetUserContentParams) WithOffset(offset *int64) *PublicGetUserContentParams
WithOffset adds the offset to the public get user content params
func (*PublicGetUserContentParams) WithTimeout ¶
func (o *PublicGetUserContentParams) WithTimeout(timeout time.Duration) *PublicGetUserContentParams
WithTimeout adds the timeout to the public get user content params
func (*PublicGetUserContentParams) WithUserID ¶
func (o *PublicGetUserContentParams) WithUserID(userID string) *PublicGetUserContentParams
WithUserID adds the userID to the public get user content params
func (*PublicGetUserContentParams) WriteToRequest ¶
func (o *PublicGetUserContentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetUserContentReader ¶
type PublicGetUserContentReader struct {
// contains filtered or unexported fields
}
PublicGetUserContentReader is a Reader for the PublicGetUserContent structure.
func (*PublicGetUserContentReader) ReadResponse ¶
func (o *PublicGetUserContentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetUserContentUnauthorized ¶
type PublicGetUserContentUnauthorized struct {
}PublicGetUserContentUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPublicGetUserContentUnauthorized ¶
func NewPublicGetUserContentUnauthorized() *PublicGetUserContentUnauthorized
NewPublicGetUserContentUnauthorized creates a PublicGetUserContentUnauthorized with default headers values
func (*PublicGetUserContentUnauthorized) Error ¶
func (o *PublicGetUserContentUnauthorized) Error() string
func (*PublicGetUserContentUnauthorized) GetPayload ¶
func (o *PublicGetUserContentUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGetUserContentUnauthorized) ToJSONString ¶
func (o *PublicGetUserContentUnauthorized) ToJSONString() string
type PublicSearchContentBadRequest ¶ added in v0.60.0
type PublicSearchContentBadRequest struct {
Payload *ugcclientmodels.ResponseError
}
PublicSearchContentBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770800</td><td>invalid paging parameter/max allowed number of tags is {maxTags}/invalid official parameter/invalid ishidden parameter</td></tr></table>
func NewPublicSearchContentBadRequest ¶ added in v0.60.0
func NewPublicSearchContentBadRequest() *PublicSearchContentBadRequest
NewPublicSearchContentBadRequest creates a PublicSearchContentBadRequest with default headers values
func (*PublicSearchContentBadRequest) Error ¶ added in v0.60.0
func (o *PublicSearchContentBadRequest) Error() string
func (*PublicSearchContentBadRequest) GetPayload ¶ added in v0.60.0
func (o *PublicSearchContentBadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*PublicSearchContentBadRequest) ToJSONString ¶ added in v0.60.0
func (o *PublicSearchContentBadRequest) ToJSONString() string
type PublicSearchContentInternalServerError ¶
type PublicSearchContentInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
PublicSearchContentInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770801</td><td>Unable to get ugc content: database/Unable to get creator</td></tr><tr><td>770803</td><td>Failed generate download URL</td></tr></table>
func NewPublicSearchContentInternalServerError ¶
func NewPublicSearchContentInternalServerError() *PublicSearchContentInternalServerError
NewPublicSearchContentInternalServerError creates a PublicSearchContentInternalServerError with default headers values
func (*PublicSearchContentInternalServerError) Error ¶
func (o *PublicSearchContentInternalServerError) Error() string
func (*PublicSearchContentInternalServerError) GetPayload ¶
func (o *PublicSearchContentInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*PublicSearchContentInternalServerError) ToJSONString ¶
func (o *PublicSearchContentInternalServerError) ToJSONString() string
type PublicSearchContentOK ¶
type PublicSearchContentOK struct {
Payload *ugcclientmodels.ModelsPaginatedContentDownloadResponse
}
PublicSearchContentOK handles this case with default header values.
Search contents
func NewPublicSearchContentOK ¶
func NewPublicSearchContentOK() *PublicSearchContentOK
NewPublicSearchContentOK creates a PublicSearchContentOK with default headers values
func (*PublicSearchContentOK) Error ¶
func (o *PublicSearchContentOK) Error() string
func (*PublicSearchContentOK) GetPayload ¶
func (o *PublicSearchContentOK) GetPayload() *ugcclientmodels.ModelsPaginatedContentDownloadResponse
func (*PublicSearchContentOK) ToJSONString ¶
func (o *PublicSearchContentOK) ToJSONString() string
type PublicSearchContentParams ¶
type PublicSearchContentParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*Creator creator name */ Creator *string Ishidden *string /*Isofficial filter only official contents (boolean) */ Isofficial *string /*Limit number of content per page. max limit: -1 (-1 means unlimited). */ Limit *int64 /*Name content name */ Name *string /*Offset the offset number to retrieve */ Offset *int64 /*Orderby sorting order: asc, desc. default=desc */ Orderby *string /*Sortby sorting criteria: name,download,like,date,updatedTime. default=date */ Sortby *string /*Subtype content subtype */ Subtype *string /*Tags content tag. max number of tags: -1 tags (-1 means unlimited). */ Tags []string /*Type content type */ Type *string /*UserID user ID */ UserID *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicSearchContentParams contains all the parameters to send to the API endpoint for the public search content operation typically these are written to a http.Request
func NewPublicSearchContentParams ¶
func NewPublicSearchContentParams() *PublicSearchContentParams
NewPublicSearchContentParams creates a new PublicSearchContentParams object with the default values initialized.
func NewPublicSearchContentParamsWithContext ¶
func NewPublicSearchContentParamsWithContext(ctx context.Context) *PublicSearchContentParams
NewPublicSearchContentParamsWithContext creates a new PublicSearchContentParams object with the default values initialized, and the ability to set a context for a request
func NewPublicSearchContentParamsWithHTTPClient ¶
func NewPublicSearchContentParamsWithHTTPClient(client *http.Client) *PublicSearchContentParams
NewPublicSearchContentParamsWithHTTPClient creates a new PublicSearchContentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicSearchContentParamsWithTimeout ¶
func NewPublicSearchContentParamsWithTimeout(timeout time.Duration) *PublicSearchContentParams
NewPublicSearchContentParamsWithTimeout creates a new PublicSearchContentParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicSearchContentParams) SetAuthInfoWriter ¶
func (o *PublicSearchContentParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public search content params
func (*PublicSearchContentParams) SetContext ¶
func (o *PublicSearchContentParams) SetContext(ctx context.Context)
SetContext adds the context to the public search content params
func (*PublicSearchContentParams) SetCreator ¶
func (o *PublicSearchContentParams) SetCreator(creator *string)
SetCreator adds the creator to the public search content params
func (*PublicSearchContentParams) SetFlightId ¶ added in v0.63.0
func (o *PublicSearchContentParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicSearchContentParams) SetHTTPClient ¶
func (o *PublicSearchContentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public search content params
func (*PublicSearchContentParams) SetHTTPClientTransport ¶
func (o *PublicSearchContentParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public search content params
func (*PublicSearchContentParams) SetIshidden ¶
func (o *PublicSearchContentParams) SetIshidden(ishidden *string)
SetIshidden adds the ishidden to the public search content params
func (*PublicSearchContentParams) SetIsofficial ¶
func (o *PublicSearchContentParams) SetIsofficial(isofficial *string)
SetIsofficial adds the isofficial to the public search content params
func (*PublicSearchContentParams) SetLimit ¶
func (o *PublicSearchContentParams) SetLimit(limit *int64)
SetLimit adds the limit to the public search content params
func (*PublicSearchContentParams) SetName ¶
func (o *PublicSearchContentParams) SetName(name *string)
SetName adds the name to the public search content params
func (*PublicSearchContentParams) SetNamespace ¶
func (o *PublicSearchContentParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public search content params
func (*PublicSearchContentParams) SetOffset ¶
func (o *PublicSearchContentParams) SetOffset(offset *int64)
SetOffset adds the offset to the public search content params
func (*PublicSearchContentParams) SetOrderby ¶
func (o *PublicSearchContentParams) SetOrderby(orderby *string)
SetOrderby adds the orderby to the public search content params
func (*PublicSearchContentParams) SetSortby ¶
func (o *PublicSearchContentParams) SetSortby(sortby *string)
SetSortby adds the sortby to the public search content params
func (*PublicSearchContentParams) SetSubtype ¶
func (o *PublicSearchContentParams) SetSubtype(subtype *string)
SetSubtype adds the subtype to the public search content params
func (*PublicSearchContentParams) SetTags ¶
func (o *PublicSearchContentParams) SetTags(tags []string)
SetTags adds the tags to the public search content params
func (*PublicSearchContentParams) SetTimeout ¶
func (o *PublicSearchContentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public search content params
func (*PublicSearchContentParams) SetType ¶
func (o *PublicSearchContentParams) SetType(typeVar *string)
SetType adds the type to the public search content params
func (*PublicSearchContentParams) SetUserID ¶
func (o *PublicSearchContentParams) SetUserID(userID *string)
SetUserID adds the userId to the public search content params
func (*PublicSearchContentParams) WithContext ¶
func (o *PublicSearchContentParams) WithContext(ctx context.Context) *PublicSearchContentParams
WithContext adds the context to the public search content params
func (*PublicSearchContentParams) WithCreator ¶
func (o *PublicSearchContentParams) WithCreator(creator *string) *PublicSearchContentParams
WithCreator adds the creator to the public search content params
func (*PublicSearchContentParams) WithHTTPClient ¶
func (o *PublicSearchContentParams) WithHTTPClient(client *http.Client) *PublicSearchContentParams
WithHTTPClient adds the HTTPClient to the public search content params
func (*PublicSearchContentParams) WithIshidden ¶
func (o *PublicSearchContentParams) WithIshidden(ishidden *string) *PublicSearchContentParams
WithIshidden adds the ishidden to the public search content params
func (*PublicSearchContentParams) WithIsofficial ¶
func (o *PublicSearchContentParams) WithIsofficial(isofficial *string) *PublicSearchContentParams
WithIsofficial adds the isofficial to the public search content params
func (*PublicSearchContentParams) WithLimit ¶
func (o *PublicSearchContentParams) WithLimit(limit *int64) *PublicSearchContentParams
WithLimit adds the limit to the public search content params
func (*PublicSearchContentParams) WithName ¶
func (o *PublicSearchContentParams) WithName(name *string) *PublicSearchContentParams
WithName adds the name to the public search content params
func (*PublicSearchContentParams) WithNamespace ¶
func (o *PublicSearchContentParams) WithNamespace(namespace string) *PublicSearchContentParams
WithNamespace adds the namespace to the public search content params
func (*PublicSearchContentParams) WithOffset ¶
func (o *PublicSearchContentParams) WithOffset(offset *int64) *PublicSearchContentParams
WithOffset adds the offset to the public search content params
func (*PublicSearchContentParams) WithOrderby ¶
func (o *PublicSearchContentParams) WithOrderby(orderby *string) *PublicSearchContentParams
WithOrderby adds the orderby to the public search content params
func (*PublicSearchContentParams) WithSortby ¶
func (o *PublicSearchContentParams) WithSortby(sortby *string) *PublicSearchContentParams
WithSortby adds the sortby to the public search content params
func (*PublicSearchContentParams) WithSubtype ¶
func (o *PublicSearchContentParams) WithSubtype(subtype *string) *PublicSearchContentParams
WithSubtype adds the subtype to the public search content params
func (*PublicSearchContentParams) WithTags ¶
func (o *PublicSearchContentParams) WithTags(tags []string) *PublicSearchContentParams
WithTags adds the tags to the public search content params
func (*PublicSearchContentParams) WithTimeout ¶
func (o *PublicSearchContentParams) WithTimeout(timeout time.Duration) *PublicSearchContentParams
WithTimeout adds the timeout to the public search content params
func (*PublicSearchContentParams) WithType ¶
func (o *PublicSearchContentParams) WithType(typeVar *string) *PublicSearchContentParams
WithType adds the typeVar to the public search content params
func (*PublicSearchContentParams) WithUserID ¶
func (o *PublicSearchContentParams) WithUserID(userID *string) *PublicSearchContentParams
WithUserID adds the userID to the public search content params
func (*PublicSearchContentParams) WriteToRequest ¶
func (o *PublicSearchContentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicSearchContentReader ¶
type PublicSearchContentReader struct {
// contains filtered or unexported fields
}
PublicSearchContentReader is a Reader for the PublicSearchContent structure.
func (*PublicSearchContentReader) ReadResponse ¶
func (o *PublicSearchContentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicSearchContentUnauthorized ¶
type PublicSearchContentUnauthorized struct {
}PublicSearchContentUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPublicSearchContentUnauthorized ¶
func NewPublicSearchContentUnauthorized() *PublicSearchContentUnauthorized
NewPublicSearchContentUnauthorized creates a PublicSearchContentUnauthorized with default headers values
func (*PublicSearchContentUnauthorized) Error ¶
func (o *PublicSearchContentUnauthorized) Error() string
func (*PublicSearchContentUnauthorized) GetPayload ¶
func (o *PublicSearchContentUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*PublicSearchContentUnauthorized) ToJSONString ¶
func (o *PublicSearchContentUnauthorized) ToJSONString() string
type PublicUpdateContentByShareCodeBadRequest ¶ added in v0.58.0
type PublicUpdateContentByShareCodeBadRequest struct {
}PublicUpdateContentByShareCodeBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772601</td><td>Malformed request</td></tr></table>
func NewPublicUpdateContentByShareCodeBadRequest ¶ added in v0.58.0
func NewPublicUpdateContentByShareCodeBadRequest() *PublicUpdateContentByShareCodeBadRequest
NewPublicUpdateContentByShareCodeBadRequest creates a PublicUpdateContentByShareCodeBadRequest with default headers values
func (*PublicUpdateContentByShareCodeBadRequest) Error ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeBadRequest) Error() string
func (*PublicUpdateContentByShareCodeBadRequest) GetPayload ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeBadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*PublicUpdateContentByShareCodeBadRequest) ToJSONString ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeBadRequest) ToJSONString() string
type PublicUpdateContentByShareCodeConflict ¶ added in v0.58.0
type PublicUpdateContentByShareCodeConflict struct {
}PublicUpdateContentByShareCodeConflict handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772606</td><td>Share code already used</td></tr></table>
func NewPublicUpdateContentByShareCodeConflict ¶ added in v0.58.0
func NewPublicUpdateContentByShareCodeConflict() *PublicUpdateContentByShareCodeConflict
NewPublicUpdateContentByShareCodeConflict creates a PublicUpdateContentByShareCodeConflict with default headers values
func (*PublicUpdateContentByShareCodeConflict) Error ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeConflict) Error() string
func (*PublicUpdateContentByShareCodeConflict) GetPayload ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeConflict) GetPayload() *ugcclientmodels.ResponseError
func (*PublicUpdateContentByShareCodeConflict) ToJSONString ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeConflict) ToJSONString() string
type PublicUpdateContentByShareCodeForbidden ¶ added in v0.60.0
type PublicUpdateContentByShareCodeForbidden struct {
}PublicUpdateContentByShareCodeForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772604</td><td>User has been banned to update content</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewPublicUpdateContentByShareCodeForbidden ¶ added in v0.60.0
func NewPublicUpdateContentByShareCodeForbidden() *PublicUpdateContentByShareCodeForbidden
NewPublicUpdateContentByShareCodeForbidden creates a PublicUpdateContentByShareCodeForbidden with default headers values
func (*PublicUpdateContentByShareCodeForbidden) Error ¶ added in v0.60.0
func (o *PublicUpdateContentByShareCodeForbidden) Error() string
func (*PublicUpdateContentByShareCodeForbidden) GetPayload ¶ added in v0.60.0
func (o *PublicUpdateContentByShareCodeForbidden) GetPayload() *ugcclientmodels.ResponseError
func (*PublicUpdateContentByShareCodeForbidden) ToJSONString ¶ added in v0.60.0
func (o *PublicUpdateContentByShareCodeForbidden) ToJSONString() string
type PublicUpdateContentByShareCodeInternalServerError ¶ added in v0.58.0
type PublicUpdateContentByShareCodeInternalServerError struct {
}PublicUpdateContentByShareCodeInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772602</td><td>Unable to check user ban status/Unable to get updated ugc content</td></tr><tr><td>772605</td><td>Unable to save ugc content: failed generate upload URL</td></tr></table>
func NewPublicUpdateContentByShareCodeInternalServerError ¶ added in v0.58.0
func NewPublicUpdateContentByShareCodeInternalServerError() *PublicUpdateContentByShareCodeInternalServerError
NewPublicUpdateContentByShareCodeInternalServerError creates a PublicUpdateContentByShareCodeInternalServerError with default headers values
func (*PublicUpdateContentByShareCodeInternalServerError) Error ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeInternalServerError) Error() string
func (*PublicUpdateContentByShareCodeInternalServerError) GetPayload ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*PublicUpdateContentByShareCodeInternalServerError) ToJSONString ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeInternalServerError) ToJSONString() string
type PublicUpdateContentByShareCodeNotFound ¶ added in v0.58.0
type PublicUpdateContentByShareCodeNotFound struct {
}PublicUpdateContentByShareCodeNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772603</td><td>Content not found</td></tr></table>
func NewPublicUpdateContentByShareCodeNotFound ¶ added in v0.58.0
func NewPublicUpdateContentByShareCodeNotFound() *PublicUpdateContentByShareCodeNotFound
NewPublicUpdateContentByShareCodeNotFound creates a PublicUpdateContentByShareCodeNotFound with default headers values
func (*PublicUpdateContentByShareCodeNotFound) Error ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeNotFound) Error() string
func (*PublicUpdateContentByShareCodeNotFound) GetPayload ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeNotFound) GetPayload() *ugcclientmodels.ResponseError
func (*PublicUpdateContentByShareCodeNotFound) ToJSONString ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeNotFound) ToJSONString() string
type PublicUpdateContentByShareCodeOK ¶ added in v0.58.0
type PublicUpdateContentByShareCodeOK struct {
}PublicUpdateContentByShareCodeOK handles this case with default header values.
Content updated at s3
func NewPublicUpdateContentByShareCodeOK ¶ added in v0.58.0
func NewPublicUpdateContentByShareCodeOK() *PublicUpdateContentByShareCodeOK
NewPublicUpdateContentByShareCodeOK creates a PublicUpdateContentByShareCodeOK with default headers values
func (*PublicUpdateContentByShareCodeOK) Error ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeOK) Error() string
func (*PublicUpdateContentByShareCodeOK) GetPayload ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeOK) GetPayload() *ugcclientmodels.ModelsCreateContentResponse
func (*PublicUpdateContentByShareCodeOK) ToJSONString ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeOK) ToJSONString() string
type PublicUpdateContentByShareCodeParams ¶ added in v0.58.0
type PublicUpdateContentByShareCodeParams struct { utils.Retry Body *ugcclientmodels.ModelsUpdateContentRequest ChannelID string Namespace string ShareCode string UserID string XFlightId *string // contains filtered or unexported fields }RetryPolicy *
PublicUpdateContentByShareCodeParams contains all the parameters to send to the API endpoint for the public update content by share code operation typically these are written to a http.Request
func NewPublicUpdateContentByShareCodeParams ¶ added in v0.58.0
func NewPublicUpdateContentByShareCodeParams() *PublicUpdateContentByShareCodeParams
NewPublicUpdateContentByShareCodeParams creates a new PublicUpdateContentByShareCodeParams object with the default values initialized.
func NewPublicUpdateContentByShareCodeParamsWithContext ¶ added in v0.58.0
func NewPublicUpdateContentByShareCodeParamsWithContext(ctx context.Context) *PublicUpdateContentByShareCodeParams
NewPublicUpdateContentByShareCodeParamsWithContext creates a new PublicUpdateContentByShareCodeParams object with the default values initialized, and the ability to set a context for a request
func NewPublicUpdateContentByShareCodeParamsWithHTTPClient ¶ added in v0.58.0
func NewPublicUpdateContentByShareCodeParamsWithHTTPClient(client *http.Client) *PublicUpdateContentByShareCodeParams
NewPublicUpdateContentByShareCodeParamsWithHTTPClient creates a new PublicUpdateContentByShareCodeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicUpdateContentByShareCodeParamsWithTimeout ¶ added in v0.58.0
func NewPublicUpdateContentByShareCodeParamsWithTimeout(timeout time.Duration) *PublicUpdateContentByShareCodeParams
NewPublicUpdateContentByShareCodeParamsWithTimeout creates a new PublicUpdateContentByShareCodeParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicUpdateContentByShareCodeParams) SetAuthInfoWriter ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public update content by share code params
func (*PublicUpdateContentByShareCodeParams) SetBody ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeParams) SetBody(body *ugcclientmodels.ModelsUpdateContentRequest)
SetBody adds the body to the public update content by share code params
func (*PublicUpdateContentByShareCodeParams) SetChannelID ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeParams) SetChannelID(channelID string)
SetChannelID adds the channelId to the public update content by share code params
func (*PublicUpdateContentByShareCodeParams) SetContext ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeParams) SetContext(ctx context.Context)
SetContext adds the context to the public update content by share code params
func (*PublicUpdateContentByShareCodeParams) SetFlightId ¶ added in v0.63.0
func (o *PublicUpdateContentByShareCodeParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicUpdateContentByShareCodeParams) SetHTTPClient ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public update content by share code params
func (*PublicUpdateContentByShareCodeParams) SetHTTPClientTransport ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public update content by share code params
func (*PublicUpdateContentByShareCodeParams) SetNamespace ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public update content by share code params
func (*PublicUpdateContentByShareCodeParams) SetShareCode ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeParams) SetShareCode(shareCode string)
SetShareCode adds the shareCode to the public update content by share code params
func (*PublicUpdateContentByShareCodeParams) SetTimeout ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public update content by share code params
func (*PublicUpdateContentByShareCodeParams) SetUserID ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeParams) SetUserID(userID string)
SetUserID adds the userId to the public update content by share code params
func (*PublicUpdateContentByShareCodeParams) WithBody ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeParams) WithBody(body *ugcclientmodels.ModelsUpdateContentRequest) *PublicUpdateContentByShareCodeParams
WithBody adds the body to the public update content by share code params
func (*PublicUpdateContentByShareCodeParams) WithChannelID ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeParams) WithChannelID(channelID string) *PublicUpdateContentByShareCodeParams
WithChannelID adds the channelID to the public update content by share code params
func (*PublicUpdateContentByShareCodeParams) WithContext ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeParams) WithContext(ctx context.Context) *PublicUpdateContentByShareCodeParams
WithContext adds the context to the public update content by share code params
func (*PublicUpdateContentByShareCodeParams) WithHTTPClient ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeParams) WithHTTPClient(client *http.Client) *PublicUpdateContentByShareCodeParams
WithHTTPClient adds the HTTPClient to the public update content by share code params
func (*PublicUpdateContentByShareCodeParams) WithNamespace ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeParams) WithNamespace(namespace string) *PublicUpdateContentByShareCodeParams
WithNamespace adds the namespace to the public update content by share code params
func (*PublicUpdateContentByShareCodeParams) WithShareCode ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeParams) WithShareCode(shareCode string) *PublicUpdateContentByShareCodeParams
WithShareCode adds the shareCode to the public update content by share code params
func (*PublicUpdateContentByShareCodeParams) WithTimeout ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeParams) WithTimeout(timeout time.Duration) *PublicUpdateContentByShareCodeParams
WithTimeout adds the timeout to the public update content by share code params
func (*PublicUpdateContentByShareCodeParams) WithUserID ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeParams) WithUserID(userID string) *PublicUpdateContentByShareCodeParams
WithUserID adds the userID to the public update content by share code params
func (*PublicUpdateContentByShareCodeParams) WriteToRequest ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicUpdateContentByShareCodeReader ¶ added in v0.58.0
type PublicUpdateContentByShareCodeReader struct {
// contains filtered or unexported fields
}
PublicUpdateContentByShareCodeReader is a Reader for the PublicUpdateContentByShareCode structure.
func (*PublicUpdateContentByShareCodeReader) ReadResponse ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicUpdateContentByShareCodeUnauthorized ¶ added in v0.58.0
type PublicUpdateContentByShareCodeUnauthorized struct {
}PublicUpdateContentByShareCodeUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPublicUpdateContentByShareCodeUnauthorized ¶ added in v0.58.0
func NewPublicUpdateContentByShareCodeUnauthorized() *PublicUpdateContentByShareCodeUnauthorized
NewPublicUpdateContentByShareCodeUnauthorized creates a PublicUpdateContentByShareCodeUnauthorized with default headers values
func (*PublicUpdateContentByShareCodeUnauthorized) Error ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeUnauthorized) Error() string
func (*PublicUpdateContentByShareCodeUnauthorized) GetPayload ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*PublicUpdateContentByShareCodeUnauthorized) ToJSONString ¶ added in v0.58.0
func (o *PublicUpdateContentByShareCodeUnauthorized) ToJSONString() string
type SearchChannelSpecificContentBadRequest ¶ added in v0.60.0
type SearchChannelSpecificContentBadRequest struct {
Payload *ugcclientmodels.ResponseError
}
SearchChannelSpecificContentBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770800</td><td>invalid paging parameter/max allowed number of tags is {maxTags}/invalid official parameter/invalid ishidden parameter</td></tr></table>
func NewSearchChannelSpecificContentBadRequest ¶ added in v0.60.0
func NewSearchChannelSpecificContentBadRequest() *SearchChannelSpecificContentBadRequest
NewSearchChannelSpecificContentBadRequest creates a SearchChannelSpecificContentBadRequest with default headers values
func (*SearchChannelSpecificContentBadRequest) Error ¶ added in v0.60.0
func (o *SearchChannelSpecificContentBadRequest) Error() string
func (*SearchChannelSpecificContentBadRequest) GetPayload ¶ added in v0.60.0
func (o *SearchChannelSpecificContentBadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*SearchChannelSpecificContentBadRequest) ToJSONString ¶ added in v0.60.0
func (o *SearchChannelSpecificContentBadRequest) ToJSONString() string
type SearchChannelSpecificContentInternalServerError ¶
type SearchChannelSpecificContentInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
SearchChannelSpecificContentInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770801</td><td>Unable to get ugc content: database/Unable to get creator</td></tr><tr><td>770803</td><td>Failed generate download URL</td></tr></table>
func NewSearchChannelSpecificContentInternalServerError ¶
func NewSearchChannelSpecificContentInternalServerError() *SearchChannelSpecificContentInternalServerError
NewSearchChannelSpecificContentInternalServerError creates a SearchChannelSpecificContentInternalServerError with default headers values
func (*SearchChannelSpecificContentInternalServerError) Error ¶
func (o *SearchChannelSpecificContentInternalServerError) Error() string
func (*SearchChannelSpecificContentInternalServerError) GetPayload ¶
func (o *SearchChannelSpecificContentInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*SearchChannelSpecificContentInternalServerError) ToJSONString ¶
func (o *SearchChannelSpecificContentInternalServerError) ToJSONString() string
type SearchChannelSpecificContentOK ¶
type SearchChannelSpecificContentOK struct {
Payload *ugcclientmodels.ModelsPaginatedContentDownloadResponse
}
SearchChannelSpecificContentOK handles this case with default header values.
Search contents specific to a channel
func NewSearchChannelSpecificContentOK ¶
func NewSearchChannelSpecificContentOK() *SearchChannelSpecificContentOK
NewSearchChannelSpecificContentOK creates a SearchChannelSpecificContentOK with default headers values
func (*SearchChannelSpecificContentOK) Error ¶
func (o *SearchChannelSpecificContentOK) Error() string
func (*SearchChannelSpecificContentOK) GetPayload ¶
func (o *SearchChannelSpecificContentOK) GetPayload() *ugcclientmodels.ModelsPaginatedContentDownloadResponse
func (*SearchChannelSpecificContentOK) ToJSONString ¶
func (o *SearchChannelSpecificContentOK) ToJSONString() string
type SearchChannelSpecificContentParams ¶
type SearchChannelSpecificContentParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ChannelID channel ID */ ChannelID string /*Namespace namespace of the game */ Namespace string /*Creator creator name */ Creator *string Ishidden *string /*Isofficial filter only official contents (boolean) */ Isofficial *string /*Limit number of content per page. max limit: -1 (-1 means unlimited). */ Limit *int64 /*Name content name */ Name *string /*Offset the offset number to retrieve */ Offset *int64 /*Orderby sorting order: asc, desc. default=desc */ Orderby *string /*Sortby sorting criteria: name,download,like,date,updatedTime. default=date */ Sortby *string /*Subtype content subtype */ Subtype *string /*Tags content tag. max number of tags: -1 tags (-1 means unlimited). */ Tags []string /*Type content type */ Type *string /*UserID user ID */ UserID *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
SearchChannelSpecificContentParams contains all the parameters to send to the API endpoint for the search channel specific content operation typically these are written to a http.Request
func NewSearchChannelSpecificContentParams ¶
func NewSearchChannelSpecificContentParams() *SearchChannelSpecificContentParams
NewSearchChannelSpecificContentParams creates a new SearchChannelSpecificContentParams object with the default values initialized.
func NewSearchChannelSpecificContentParamsWithContext ¶
func NewSearchChannelSpecificContentParamsWithContext(ctx context.Context) *SearchChannelSpecificContentParams
NewSearchChannelSpecificContentParamsWithContext creates a new SearchChannelSpecificContentParams object with the default values initialized, and the ability to set a context for a request
func NewSearchChannelSpecificContentParamsWithHTTPClient ¶
func NewSearchChannelSpecificContentParamsWithHTTPClient(client *http.Client) *SearchChannelSpecificContentParams
NewSearchChannelSpecificContentParamsWithHTTPClient creates a new SearchChannelSpecificContentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSearchChannelSpecificContentParamsWithTimeout ¶
func NewSearchChannelSpecificContentParamsWithTimeout(timeout time.Duration) *SearchChannelSpecificContentParams
NewSearchChannelSpecificContentParamsWithTimeout creates a new SearchChannelSpecificContentParams object with the default values initialized, and the ability to set a timeout on a request
func (*SearchChannelSpecificContentParams) SetAuthInfoWriter ¶
func (o *SearchChannelSpecificContentParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the search channel specific content params
func (*SearchChannelSpecificContentParams) SetChannelID ¶
func (o *SearchChannelSpecificContentParams) SetChannelID(channelID string)
SetChannelID adds the channelId to the search channel specific content params
func (*SearchChannelSpecificContentParams) SetContext ¶
func (o *SearchChannelSpecificContentParams) SetContext(ctx context.Context)
SetContext adds the context to the search channel specific content params
func (*SearchChannelSpecificContentParams) SetCreator ¶
func (o *SearchChannelSpecificContentParams) SetCreator(creator *string)
SetCreator adds the creator to the search channel specific content params
func (*SearchChannelSpecificContentParams) SetFlightId ¶ added in v0.63.0
func (o *SearchChannelSpecificContentParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*SearchChannelSpecificContentParams) SetHTTPClient ¶
func (o *SearchChannelSpecificContentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search channel specific content params
func (*SearchChannelSpecificContentParams) SetHTTPClientTransport ¶
func (o *SearchChannelSpecificContentParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the search channel specific content params
func (*SearchChannelSpecificContentParams) SetIshidden ¶
func (o *SearchChannelSpecificContentParams) SetIshidden(ishidden *string)
SetIshidden adds the ishidden to the search channel specific content params
func (*SearchChannelSpecificContentParams) SetIsofficial ¶
func (o *SearchChannelSpecificContentParams) SetIsofficial(isofficial *string)
SetIsofficial adds the isofficial to the search channel specific content params
func (*SearchChannelSpecificContentParams) SetLimit ¶
func (o *SearchChannelSpecificContentParams) SetLimit(limit *int64)
SetLimit adds the limit to the search channel specific content params
func (*SearchChannelSpecificContentParams) SetName ¶
func (o *SearchChannelSpecificContentParams) SetName(name *string)
SetName adds the name to the search channel specific content params
func (*SearchChannelSpecificContentParams) SetNamespace ¶
func (o *SearchChannelSpecificContentParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the search channel specific content params
func (*SearchChannelSpecificContentParams) SetOffset ¶
func (o *SearchChannelSpecificContentParams) SetOffset(offset *int64)
SetOffset adds the offset to the search channel specific content params
func (*SearchChannelSpecificContentParams) SetOrderby ¶
func (o *SearchChannelSpecificContentParams) SetOrderby(orderby *string)
SetOrderby adds the orderby to the search channel specific content params
func (*SearchChannelSpecificContentParams) SetSortby ¶
func (o *SearchChannelSpecificContentParams) SetSortby(sortby *string)
SetSortby adds the sortby to the search channel specific content params
func (*SearchChannelSpecificContentParams) SetSubtype ¶
func (o *SearchChannelSpecificContentParams) SetSubtype(subtype *string)
SetSubtype adds the subtype to the search channel specific content params
func (*SearchChannelSpecificContentParams) SetTags ¶
func (o *SearchChannelSpecificContentParams) SetTags(tags []string)
SetTags adds the tags to the search channel specific content params
func (*SearchChannelSpecificContentParams) SetTimeout ¶
func (o *SearchChannelSpecificContentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search channel specific content params
func (*SearchChannelSpecificContentParams) SetType ¶
func (o *SearchChannelSpecificContentParams) SetType(typeVar *string)
SetType adds the type to the search channel specific content params
func (*SearchChannelSpecificContentParams) SetUserID ¶
func (o *SearchChannelSpecificContentParams) SetUserID(userID *string)
SetUserID adds the userId to the search channel specific content params
func (*SearchChannelSpecificContentParams) WithChannelID ¶
func (o *SearchChannelSpecificContentParams) WithChannelID(channelID string) *SearchChannelSpecificContentParams
WithChannelID adds the channelID to the search channel specific content params
func (*SearchChannelSpecificContentParams) WithContext ¶
func (o *SearchChannelSpecificContentParams) WithContext(ctx context.Context) *SearchChannelSpecificContentParams
WithContext adds the context to the search channel specific content params
func (*SearchChannelSpecificContentParams) WithCreator ¶
func (o *SearchChannelSpecificContentParams) WithCreator(creator *string) *SearchChannelSpecificContentParams
WithCreator adds the creator to the search channel specific content params
func (*SearchChannelSpecificContentParams) WithHTTPClient ¶
func (o *SearchChannelSpecificContentParams) WithHTTPClient(client *http.Client) *SearchChannelSpecificContentParams
WithHTTPClient adds the HTTPClient to the search channel specific content params
func (*SearchChannelSpecificContentParams) WithIshidden ¶
func (o *SearchChannelSpecificContentParams) WithIshidden(ishidden *string) *SearchChannelSpecificContentParams
WithIshidden adds the ishidden to the search channel specific content params
func (*SearchChannelSpecificContentParams) WithIsofficial ¶
func (o *SearchChannelSpecificContentParams) WithIsofficial(isofficial *string) *SearchChannelSpecificContentParams
WithIsofficial adds the isofficial to the search channel specific content params
func (*SearchChannelSpecificContentParams) WithLimit ¶
func (o *SearchChannelSpecificContentParams) WithLimit(limit *int64) *SearchChannelSpecificContentParams
WithLimit adds the limit to the search channel specific content params
func (*SearchChannelSpecificContentParams) WithName ¶
func (o *SearchChannelSpecificContentParams) WithName(name *string) *SearchChannelSpecificContentParams
WithName adds the name to the search channel specific content params
func (*SearchChannelSpecificContentParams) WithNamespace ¶
func (o *SearchChannelSpecificContentParams) WithNamespace(namespace string) *SearchChannelSpecificContentParams
WithNamespace adds the namespace to the search channel specific content params
func (*SearchChannelSpecificContentParams) WithOffset ¶
func (o *SearchChannelSpecificContentParams) WithOffset(offset *int64) *SearchChannelSpecificContentParams
WithOffset adds the offset to the search channel specific content params
func (*SearchChannelSpecificContentParams) WithOrderby ¶
func (o *SearchChannelSpecificContentParams) WithOrderby(orderby *string) *SearchChannelSpecificContentParams
WithOrderby adds the orderby to the search channel specific content params
func (*SearchChannelSpecificContentParams) WithSortby ¶
func (o *SearchChannelSpecificContentParams) WithSortby(sortby *string) *SearchChannelSpecificContentParams
WithSortby adds the sortby to the search channel specific content params
func (*SearchChannelSpecificContentParams) WithSubtype ¶
func (o *SearchChannelSpecificContentParams) WithSubtype(subtype *string) *SearchChannelSpecificContentParams
WithSubtype adds the subtype to the search channel specific content params
func (*SearchChannelSpecificContentParams) WithTags ¶
func (o *SearchChannelSpecificContentParams) WithTags(tags []string) *SearchChannelSpecificContentParams
WithTags adds the tags to the search channel specific content params
func (*SearchChannelSpecificContentParams) WithTimeout ¶
func (o *SearchChannelSpecificContentParams) WithTimeout(timeout time.Duration) *SearchChannelSpecificContentParams
WithTimeout adds the timeout to the search channel specific content params
func (*SearchChannelSpecificContentParams) WithType ¶
func (o *SearchChannelSpecificContentParams) WithType(typeVar *string) *SearchChannelSpecificContentParams
WithType adds the typeVar to the search channel specific content params
func (*SearchChannelSpecificContentParams) WithUserID ¶
func (o *SearchChannelSpecificContentParams) WithUserID(userID *string) *SearchChannelSpecificContentParams
WithUserID adds the userID to the search channel specific content params
func (*SearchChannelSpecificContentParams) WriteToRequest ¶
func (o *SearchChannelSpecificContentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchChannelSpecificContentReader ¶
type SearchChannelSpecificContentReader struct {
// contains filtered or unexported fields
}
SearchChannelSpecificContentReader is a Reader for the SearchChannelSpecificContent structure.
func (*SearchChannelSpecificContentReader) ReadResponse ¶
func (o *SearchChannelSpecificContentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SearchChannelSpecificContentUnauthorized ¶
type SearchChannelSpecificContentUnauthorized struct {
}SearchChannelSpecificContentUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewSearchChannelSpecificContentUnauthorized ¶
func NewSearchChannelSpecificContentUnauthorized() *SearchChannelSpecificContentUnauthorized
NewSearchChannelSpecificContentUnauthorized creates a SearchChannelSpecificContentUnauthorized with default headers values
func (*SearchChannelSpecificContentUnauthorized) Error ¶
func (o *SearchChannelSpecificContentUnauthorized) Error() string
func (*SearchChannelSpecificContentUnauthorized) GetPayload ¶
func (o *SearchChannelSpecificContentUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*SearchChannelSpecificContentUnauthorized) ToJSONString ¶
func (o *SearchChannelSpecificContentUnauthorized) ToJSONString() string
type UpdateContentDirectBadRequest ¶
type UpdateContentDirectBadRequest struct {
Payload *ugcclientmodels.ResponseError
}
UpdateContentDirectBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772601</td><td>Malformed request</td></tr></table>
func NewUpdateContentDirectBadRequest ¶
func NewUpdateContentDirectBadRequest() *UpdateContentDirectBadRequest
NewUpdateContentDirectBadRequest creates a UpdateContentDirectBadRequest with default headers values
func (*UpdateContentDirectBadRequest) Error ¶
func (o *UpdateContentDirectBadRequest) Error() string
func (*UpdateContentDirectBadRequest) GetPayload ¶
func (o *UpdateContentDirectBadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateContentDirectBadRequest) ToJSONString ¶
func (o *UpdateContentDirectBadRequest) ToJSONString() string
type UpdateContentDirectForbidden ¶ added in v0.60.0
type UpdateContentDirectForbidden struct {
Payload *ugcclientmodels.ResponseError
}
UpdateContentDirectForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772604</td><td>User has been banned to update content</td></tr></table>
func NewUpdateContentDirectForbidden ¶ added in v0.60.0
func NewUpdateContentDirectForbidden() *UpdateContentDirectForbidden
NewUpdateContentDirectForbidden creates a UpdateContentDirectForbidden with default headers values
func (*UpdateContentDirectForbidden) Error ¶ added in v0.60.0
func (o *UpdateContentDirectForbidden) Error() string
func (*UpdateContentDirectForbidden) GetPayload ¶ added in v0.60.0
func (o *UpdateContentDirectForbidden) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateContentDirectForbidden) ToJSONString ¶ added in v0.60.0
func (o *UpdateContentDirectForbidden) ToJSONString() string
type UpdateContentDirectInternalServerError ¶
type UpdateContentDirectInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
UpdateContentDirectInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772602</td><td>Unable to check user ban status/Unable to get updated ugc content</td></tr></table>
func NewUpdateContentDirectInternalServerError ¶
func NewUpdateContentDirectInternalServerError() *UpdateContentDirectInternalServerError
NewUpdateContentDirectInternalServerError creates a UpdateContentDirectInternalServerError with default headers values
func (*UpdateContentDirectInternalServerError) Error ¶
func (o *UpdateContentDirectInternalServerError) Error() string
func (*UpdateContentDirectInternalServerError) GetPayload ¶
func (o *UpdateContentDirectInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateContentDirectInternalServerError) ToJSONString ¶
func (o *UpdateContentDirectInternalServerError) ToJSONString() string
type UpdateContentDirectNotFound ¶
type UpdateContentDirectNotFound struct {
Payload *ugcclientmodels.ResponseError
}
UpdateContentDirectNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772603</td><td>Content not found</td></tr></table>
func NewUpdateContentDirectNotFound ¶
func NewUpdateContentDirectNotFound() *UpdateContentDirectNotFound
NewUpdateContentDirectNotFound creates a UpdateContentDirectNotFound with default headers values
func (*UpdateContentDirectNotFound) Error ¶
func (o *UpdateContentDirectNotFound) Error() string
func (*UpdateContentDirectNotFound) GetPayload ¶
func (o *UpdateContentDirectNotFound) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateContentDirectNotFound) ToJSONString ¶
func (o *UpdateContentDirectNotFound) ToJSONString() string
type UpdateContentDirectOK ¶
type UpdateContentDirectOK struct {
Payload *ugcclientmodels.ModelsCreateContentResponse
}
UpdateContentDirectOK handles this case with default header values.
Content updated
func NewUpdateContentDirectOK ¶
func NewUpdateContentDirectOK() *UpdateContentDirectOK
NewUpdateContentDirectOK creates a UpdateContentDirectOK with default headers values
func (*UpdateContentDirectOK) Error ¶
func (o *UpdateContentDirectOK) Error() string
func (*UpdateContentDirectOK) GetPayload ¶
func (o *UpdateContentDirectOK) GetPayload() *ugcclientmodels.ModelsCreateContentResponse
func (*UpdateContentDirectOK) ToJSONString ¶
func (o *UpdateContentDirectOK) ToJSONString() string
type UpdateContentDirectParams ¶
type UpdateContentDirectParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *ugcclientmodels.ModelsCreateContentRequest /*ChannelID channel ID */ ChannelID string /*ContentID content ID */ ContentID string /*Namespace namespace of the game */ Namespace string /*UserID user ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
UpdateContentDirectParams contains all the parameters to send to the API endpoint for the update content direct operation typically these are written to a http.Request
func NewUpdateContentDirectParams ¶
func NewUpdateContentDirectParams() *UpdateContentDirectParams
NewUpdateContentDirectParams creates a new UpdateContentDirectParams object with the default values initialized.
func NewUpdateContentDirectParamsWithContext ¶
func NewUpdateContentDirectParamsWithContext(ctx context.Context) *UpdateContentDirectParams
NewUpdateContentDirectParamsWithContext creates a new UpdateContentDirectParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateContentDirectParamsWithHTTPClient ¶
func NewUpdateContentDirectParamsWithHTTPClient(client *http.Client) *UpdateContentDirectParams
NewUpdateContentDirectParamsWithHTTPClient creates a new UpdateContentDirectParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateContentDirectParamsWithTimeout ¶
func NewUpdateContentDirectParamsWithTimeout(timeout time.Duration) *UpdateContentDirectParams
NewUpdateContentDirectParamsWithTimeout creates a new UpdateContentDirectParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateContentDirectParams) SetAuthInfoWriter ¶
func (o *UpdateContentDirectParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update content direct params
func (*UpdateContentDirectParams) SetBody ¶
func (o *UpdateContentDirectParams) SetBody(body *ugcclientmodels.ModelsCreateContentRequest)
SetBody adds the body to the update content direct params
func (*UpdateContentDirectParams) SetChannelID ¶
func (o *UpdateContentDirectParams) SetChannelID(channelID string)
SetChannelID adds the channelId to the update content direct params
func (*UpdateContentDirectParams) SetContentID ¶
func (o *UpdateContentDirectParams) SetContentID(contentID string)
SetContentID adds the contentId to the update content direct params
func (*UpdateContentDirectParams) SetContext ¶
func (o *UpdateContentDirectParams) SetContext(ctx context.Context)
SetContext adds the context to the update content direct params
func (*UpdateContentDirectParams) SetFlightId ¶ added in v0.63.0
func (o *UpdateContentDirectParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*UpdateContentDirectParams) SetHTTPClient ¶
func (o *UpdateContentDirectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update content direct params
func (*UpdateContentDirectParams) SetHTTPClientTransport ¶
func (o *UpdateContentDirectParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update content direct params
func (*UpdateContentDirectParams) SetNamespace ¶
func (o *UpdateContentDirectParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the update content direct params
func (*UpdateContentDirectParams) SetTimeout ¶
func (o *UpdateContentDirectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update content direct params
func (*UpdateContentDirectParams) SetUserID ¶
func (o *UpdateContentDirectParams) SetUserID(userID string)
SetUserID adds the userId to the update content direct params
func (*UpdateContentDirectParams) WithBody ¶
func (o *UpdateContentDirectParams) WithBody(body *ugcclientmodels.ModelsCreateContentRequest) *UpdateContentDirectParams
WithBody adds the body to the update content direct params
func (*UpdateContentDirectParams) WithChannelID ¶
func (o *UpdateContentDirectParams) WithChannelID(channelID string) *UpdateContentDirectParams
WithChannelID adds the channelID to the update content direct params
func (*UpdateContentDirectParams) WithContentID ¶
func (o *UpdateContentDirectParams) WithContentID(contentID string) *UpdateContentDirectParams
WithContentID adds the contentID to the update content direct params
func (*UpdateContentDirectParams) WithContext ¶
func (o *UpdateContentDirectParams) WithContext(ctx context.Context) *UpdateContentDirectParams
WithContext adds the context to the update content direct params
func (*UpdateContentDirectParams) WithHTTPClient ¶
func (o *UpdateContentDirectParams) WithHTTPClient(client *http.Client) *UpdateContentDirectParams
WithHTTPClient adds the HTTPClient to the update content direct params
func (*UpdateContentDirectParams) WithNamespace ¶
func (o *UpdateContentDirectParams) WithNamespace(namespace string) *UpdateContentDirectParams
WithNamespace adds the namespace to the update content direct params
func (*UpdateContentDirectParams) WithTimeout ¶
func (o *UpdateContentDirectParams) WithTimeout(timeout time.Duration) *UpdateContentDirectParams
WithTimeout adds the timeout to the update content direct params
func (*UpdateContentDirectParams) WithUserID ¶
func (o *UpdateContentDirectParams) WithUserID(userID string) *UpdateContentDirectParams
WithUserID adds the userID to the update content direct params
func (*UpdateContentDirectParams) WriteToRequest ¶
func (o *UpdateContentDirectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateContentDirectReader ¶
type UpdateContentDirectReader struct {
// contains filtered or unexported fields
}
UpdateContentDirectReader is a Reader for the UpdateContentDirect structure.
func (*UpdateContentDirectReader) ReadResponse ¶
func (o *UpdateContentDirectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateContentDirectUnauthorized ¶
type UpdateContentDirectUnauthorized struct {
}UpdateContentDirectUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewUpdateContentDirectUnauthorized ¶
func NewUpdateContentDirectUnauthorized() *UpdateContentDirectUnauthorized
NewUpdateContentDirectUnauthorized creates a UpdateContentDirectUnauthorized with default headers values
func (*UpdateContentDirectUnauthorized) Error ¶
func (o *UpdateContentDirectUnauthorized) Error() string
func (*UpdateContentDirectUnauthorized) GetPayload ¶
func (o *UpdateContentDirectUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateContentDirectUnauthorized) ToJSONString ¶
func (o *UpdateContentDirectUnauthorized) ToJSONString() string
type UpdateContentS3BadRequest ¶
type UpdateContentS3BadRequest struct {
Payload *ugcclientmodels.ResponseError
}
UpdateContentS3BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772601</td><td>Malformed request</td></tr><tr><td>772602</td><td>Unable to check user ban status/Unable to get updated ugc content</td></tr></table>
func NewUpdateContentS3BadRequest ¶
func NewUpdateContentS3BadRequest() *UpdateContentS3BadRequest
NewUpdateContentS3BadRequest creates a UpdateContentS3BadRequest with default headers values
func (*UpdateContentS3BadRequest) Error ¶
func (o *UpdateContentS3BadRequest) Error() string
func (*UpdateContentS3BadRequest) GetPayload ¶
func (o *UpdateContentS3BadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateContentS3BadRequest) ToJSONString ¶
func (o *UpdateContentS3BadRequest) ToJSONString() string
type UpdateContentS3Forbidden ¶ added in v0.60.0
type UpdateContentS3Forbidden struct {
Payload *ugcclientmodels.ResponseError
}
UpdateContentS3Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772604</td><td>User has been banned to update content</td></tr></table>
func NewUpdateContentS3Forbidden ¶ added in v0.60.0
func NewUpdateContentS3Forbidden() *UpdateContentS3Forbidden
NewUpdateContentS3Forbidden creates a UpdateContentS3Forbidden with default headers values
func (*UpdateContentS3Forbidden) Error ¶ added in v0.60.0
func (o *UpdateContentS3Forbidden) Error() string
func (*UpdateContentS3Forbidden) GetPayload ¶ added in v0.60.0
func (o *UpdateContentS3Forbidden) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateContentS3Forbidden) ToJSONString ¶ added in v0.60.0
func (o *UpdateContentS3Forbidden) ToJSONString() string
type UpdateContentS3InternalServerError ¶
type UpdateContentS3InternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
UpdateContentS3InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772602</td><td>Unable to check user ban status/Unable to get updated ugc content</td></tr><tr><td>772605</td><td>Unable to save ugc content: failed generate upload URL</td></tr></table>
func NewUpdateContentS3InternalServerError ¶
func NewUpdateContentS3InternalServerError() *UpdateContentS3InternalServerError
NewUpdateContentS3InternalServerError creates a UpdateContentS3InternalServerError with default headers values
func (*UpdateContentS3InternalServerError) Error ¶
func (o *UpdateContentS3InternalServerError) Error() string
func (*UpdateContentS3InternalServerError) GetPayload ¶
func (o *UpdateContentS3InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateContentS3InternalServerError) ToJSONString ¶
func (o *UpdateContentS3InternalServerError) ToJSONString() string
type UpdateContentS3NotFound ¶
type UpdateContentS3NotFound struct {
Payload *ugcclientmodels.ResponseError
}
UpdateContentS3NotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772603</td><td>Content not found</td></tr></table>
func NewUpdateContentS3NotFound ¶
func NewUpdateContentS3NotFound() *UpdateContentS3NotFound
NewUpdateContentS3NotFound creates a UpdateContentS3NotFound with default headers values
func (*UpdateContentS3NotFound) Error ¶
func (o *UpdateContentS3NotFound) Error() string
func (*UpdateContentS3NotFound) GetPayload ¶
func (o *UpdateContentS3NotFound) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateContentS3NotFound) ToJSONString ¶
func (o *UpdateContentS3NotFound) ToJSONString() string
type UpdateContentS3OK ¶
type UpdateContentS3OK struct {
Payload *ugcclientmodels.ModelsCreateContentResponse
}
UpdateContentS3OK handles this case with default header values.
Content updated at S3 bucket
func NewUpdateContentS3OK ¶
func NewUpdateContentS3OK() *UpdateContentS3OK
NewUpdateContentS3OK creates a UpdateContentS3OK with default headers values
func (*UpdateContentS3OK) Error ¶
func (o *UpdateContentS3OK) Error() string
func (*UpdateContentS3OK) GetPayload ¶
func (o *UpdateContentS3OK) GetPayload() *ugcclientmodels.ModelsCreateContentResponse
func (*UpdateContentS3OK) ToJSONString ¶
func (o *UpdateContentS3OK) ToJSONString() string
type UpdateContentS3Params ¶
type UpdateContentS3Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *ugcclientmodels.ModelsUpdateContentRequest /*ChannelID channel ID */ ChannelID string /*ContentID content ID */ ContentID string /*Namespace namespace of the game */ Namespace string /*UserID user ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
UpdateContentS3Params contains all the parameters to send to the API endpoint for the update content s3 operation typically these are written to a http.Request
func NewUpdateContentS3Params ¶
func NewUpdateContentS3Params() *UpdateContentS3Params
NewUpdateContentS3Params creates a new UpdateContentS3Params object with the default values initialized.
func NewUpdateContentS3ParamsWithContext ¶
func NewUpdateContentS3ParamsWithContext(ctx context.Context) *UpdateContentS3Params
NewUpdateContentS3ParamsWithContext creates a new UpdateContentS3Params object with the default values initialized, and the ability to set a context for a request
func NewUpdateContentS3ParamsWithHTTPClient ¶
func NewUpdateContentS3ParamsWithHTTPClient(client *http.Client) *UpdateContentS3Params
NewUpdateContentS3ParamsWithHTTPClient creates a new UpdateContentS3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateContentS3ParamsWithTimeout ¶
func NewUpdateContentS3ParamsWithTimeout(timeout time.Duration) *UpdateContentS3Params
NewUpdateContentS3ParamsWithTimeout creates a new UpdateContentS3Params object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateContentS3Params) SetAuthInfoWriter ¶
func (o *UpdateContentS3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update content s3 params
func (*UpdateContentS3Params) SetBody ¶
func (o *UpdateContentS3Params) SetBody(body *ugcclientmodels.ModelsUpdateContentRequest)
SetBody adds the body to the update content s3 params
func (*UpdateContentS3Params) SetChannelID ¶
func (o *UpdateContentS3Params) SetChannelID(channelID string)
SetChannelID adds the channelId to the update content s3 params
func (*UpdateContentS3Params) SetContentID ¶
func (o *UpdateContentS3Params) SetContentID(contentID string)
SetContentID adds the contentId to the update content s3 params
func (*UpdateContentS3Params) SetContext ¶
func (o *UpdateContentS3Params) SetContext(ctx context.Context)
SetContext adds the context to the update content s3 params
func (*UpdateContentS3Params) SetFlightId ¶ added in v0.63.0
func (o *UpdateContentS3Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*UpdateContentS3Params) SetHTTPClient ¶
func (o *UpdateContentS3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update content s3 params
func (*UpdateContentS3Params) SetHTTPClientTransport ¶
func (o *UpdateContentS3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update content s3 params
func (*UpdateContentS3Params) SetNamespace ¶
func (o *UpdateContentS3Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the update content s3 params
func (*UpdateContentS3Params) SetTimeout ¶
func (o *UpdateContentS3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update content s3 params
func (*UpdateContentS3Params) SetUserID ¶
func (o *UpdateContentS3Params) SetUserID(userID string)
SetUserID adds the userId to the update content s3 params
func (*UpdateContentS3Params) WithBody ¶
func (o *UpdateContentS3Params) WithBody(body *ugcclientmodels.ModelsUpdateContentRequest) *UpdateContentS3Params
WithBody adds the body to the update content s3 params
func (*UpdateContentS3Params) WithChannelID ¶
func (o *UpdateContentS3Params) WithChannelID(channelID string) *UpdateContentS3Params
WithChannelID adds the channelID to the update content s3 params
func (*UpdateContentS3Params) WithContentID ¶
func (o *UpdateContentS3Params) WithContentID(contentID string) *UpdateContentS3Params
WithContentID adds the contentID to the update content s3 params
func (*UpdateContentS3Params) WithContext ¶
func (o *UpdateContentS3Params) WithContext(ctx context.Context) *UpdateContentS3Params
WithContext adds the context to the update content s3 params
func (*UpdateContentS3Params) WithHTTPClient ¶
func (o *UpdateContentS3Params) WithHTTPClient(client *http.Client) *UpdateContentS3Params
WithHTTPClient adds the HTTPClient to the update content s3 params
func (*UpdateContentS3Params) WithNamespace ¶
func (o *UpdateContentS3Params) WithNamespace(namespace string) *UpdateContentS3Params
WithNamespace adds the namespace to the update content s3 params
func (*UpdateContentS3Params) WithTimeout ¶
func (o *UpdateContentS3Params) WithTimeout(timeout time.Duration) *UpdateContentS3Params
WithTimeout adds the timeout to the update content s3 params
func (*UpdateContentS3Params) WithUserID ¶
func (o *UpdateContentS3Params) WithUserID(userID string) *UpdateContentS3Params
WithUserID adds the userID to the update content s3 params
func (*UpdateContentS3Params) WriteToRequest ¶
func (o *UpdateContentS3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateContentS3Reader ¶
type UpdateContentS3Reader struct {
// contains filtered or unexported fields
}
UpdateContentS3Reader is a Reader for the UpdateContentS3 structure.
func (*UpdateContentS3Reader) ReadResponse ¶
func (o *UpdateContentS3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateContentS3Unauthorized ¶
type UpdateContentS3Unauthorized struct {
}UpdateContentS3Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewUpdateContentS3Unauthorized ¶
func NewUpdateContentS3Unauthorized() *UpdateContentS3Unauthorized
NewUpdateContentS3Unauthorized creates a UpdateContentS3Unauthorized with default headers values
func (*UpdateContentS3Unauthorized) Error ¶
func (o *UpdateContentS3Unauthorized) Error() string
func (*UpdateContentS3Unauthorized) GetPayload ¶
func (o *UpdateContentS3Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateContentS3Unauthorized) ToJSONString ¶
func (o *UpdateContentS3Unauthorized) ToJSONString() string
type UpdateContentShareCodeBadRequest ¶ added in v0.59.0
type UpdateContentShareCodeBadRequest struct {
}UpdateContentShareCodeBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772601</td><td>Malformed request</td></tr></table>
func NewUpdateContentShareCodeBadRequest ¶ added in v0.59.0
func NewUpdateContentShareCodeBadRequest() *UpdateContentShareCodeBadRequest
NewUpdateContentShareCodeBadRequest creates a UpdateContentShareCodeBadRequest with default headers values
func (*UpdateContentShareCodeBadRequest) Error ¶ added in v0.59.0
func (o *UpdateContentShareCodeBadRequest) Error() string
func (*UpdateContentShareCodeBadRequest) GetPayload ¶ added in v0.59.0
func (o *UpdateContentShareCodeBadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateContentShareCodeBadRequest) ToJSONString ¶ added in v0.59.0
func (o *UpdateContentShareCodeBadRequest) ToJSONString() string
type UpdateContentShareCodeConflict ¶ added in v0.59.0
type UpdateContentShareCodeConflict struct {
}UpdateContentShareCodeConflict handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772606</td><td>Share code already used</td></tr></table>
func NewUpdateContentShareCodeConflict ¶ added in v0.59.0
func NewUpdateContentShareCodeConflict() *UpdateContentShareCodeConflict
NewUpdateContentShareCodeConflict creates a UpdateContentShareCodeConflict with default headers values
func (*UpdateContentShareCodeConflict) Error ¶ added in v0.59.0
func (o *UpdateContentShareCodeConflict) Error() string
func (*UpdateContentShareCodeConflict) GetPayload ¶ added in v0.59.0
func (o *UpdateContentShareCodeConflict) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateContentShareCodeConflict) ToJSONString ¶ added in v0.59.0
func (o *UpdateContentShareCodeConflict) ToJSONString() string
type UpdateContentShareCodeForbidden ¶ added in v0.59.0
type UpdateContentShareCodeForbidden struct {
}UpdateContentShareCodeForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewUpdateContentShareCodeForbidden ¶ added in v0.59.0
func NewUpdateContentShareCodeForbidden() *UpdateContentShareCodeForbidden
NewUpdateContentShareCodeForbidden creates a UpdateContentShareCodeForbidden with default headers values
func (*UpdateContentShareCodeForbidden) Error ¶ added in v0.59.0
func (o *UpdateContentShareCodeForbidden) Error() string
func (*UpdateContentShareCodeForbidden) GetPayload ¶ added in v0.59.0
func (o *UpdateContentShareCodeForbidden) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateContentShareCodeForbidden) ToJSONString ¶ added in v0.59.0
func (o *UpdateContentShareCodeForbidden) ToJSONString() string
type UpdateContentShareCodeInternalServerError ¶ added in v0.59.0
type UpdateContentShareCodeInternalServerError struct {
}UpdateContentShareCodeInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772602</td><td>Unable to check user ban status/Unable to get updated ugc content</td></tr></table>
func NewUpdateContentShareCodeInternalServerError ¶ added in v0.59.0
func NewUpdateContentShareCodeInternalServerError() *UpdateContentShareCodeInternalServerError
NewUpdateContentShareCodeInternalServerError creates a UpdateContentShareCodeInternalServerError with default headers values
func (*UpdateContentShareCodeInternalServerError) Error ¶ added in v0.59.0
func (o *UpdateContentShareCodeInternalServerError) Error() string
func (*UpdateContentShareCodeInternalServerError) GetPayload ¶ added in v0.59.0
func (o *UpdateContentShareCodeInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateContentShareCodeInternalServerError) ToJSONString ¶ added in v0.59.0
func (o *UpdateContentShareCodeInternalServerError) ToJSONString() string
type UpdateContentShareCodeNotFound ¶ added in v0.59.0
type UpdateContentShareCodeNotFound struct {
}UpdateContentShareCodeNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772603</td><td>Content not found</td></tr></table>
func NewUpdateContentShareCodeNotFound ¶ added in v0.59.0
func NewUpdateContentShareCodeNotFound() *UpdateContentShareCodeNotFound
NewUpdateContentShareCodeNotFound creates a UpdateContentShareCodeNotFound with default headers values
func (*UpdateContentShareCodeNotFound) Error ¶ added in v0.59.0
func (o *UpdateContentShareCodeNotFound) Error() string
func (*UpdateContentShareCodeNotFound) GetPayload ¶ added in v0.59.0
func (o *UpdateContentShareCodeNotFound) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateContentShareCodeNotFound) ToJSONString ¶ added in v0.59.0
func (o *UpdateContentShareCodeNotFound) ToJSONString() string
type UpdateContentShareCodeOK ¶ added in v0.59.0
type UpdateContentShareCodeOK struct {
}UpdateContentShareCodeOK handles this case with default header values.
Content updated by sharecodes
func NewUpdateContentShareCodeOK ¶ added in v0.59.0
func NewUpdateContentShareCodeOK() *UpdateContentShareCodeOK
NewUpdateContentShareCodeOK creates a UpdateContentShareCodeOK with default headers values
func (*UpdateContentShareCodeOK) Error ¶ added in v0.59.0
func (o *UpdateContentShareCodeOK) Error() string
func (*UpdateContentShareCodeOK) GetPayload ¶ added in v0.59.0
func (o *UpdateContentShareCodeOK) GetPayload() *ugcclientmodels.ModelsCreateContentResponse
func (*UpdateContentShareCodeOK) ToJSONString ¶ added in v0.59.0
func (o *UpdateContentShareCodeOK) ToJSONString() string
type UpdateContentShareCodeParams ¶ added in v0.59.0
type UpdateContentShareCodeParams struct { utils.Retry Body *ugcclientmodels.ModelsUpdateContentShareCodeRequest ChannelID string ContentID string Namespace string UserID string XFlightId *string // contains filtered or unexported fields }RetryPolicy *
UpdateContentShareCodeParams contains all the parameters to send to the API endpoint for the update content share code operation typically these are written to a http.Request
func NewUpdateContentShareCodeParams ¶ added in v0.59.0
func NewUpdateContentShareCodeParams() *UpdateContentShareCodeParams
NewUpdateContentShareCodeParams creates a new UpdateContentShareCodeParams object with the default values initialized.
func NewUpdateContentShareCodeParamsWithContext ¶ added in v0.59.0
func NewUpdateContentShareCodeParamsWithContext(ctx context.Context) *UpdateContentShareCodeParams
NewUpdateContentShareCodeParamsWithContext creates a new UpdateContentShareCodeParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateContentShareCodeParamsWithHTTPClient ¶ added in v0.59.0
func NewUpdateContentShareCodeParamsWithHTTPClient(client *http.Client) *UpdateContentShareCodeParams
NewUpdateContentShareCodeParamsWithHTTPClient creates a new UpdateContentShareCodeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateContentShareCodeParamsWithTimeout ¶ added in v0.59.0
func NewUpdateContentShareCodeParamsWithTimeout(timeout time.Duration) *UpdateContentShareCodeParams
NewUpdateContentShareCodeParamsWithTimeout creates a new UpdateContentShareCodeParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateContentShareCodeParams) SetAuthInfoWriter ¶ added in v0.59.0
func (o *UpdateContentShareCodeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update content share code params
func (*UpdateContentShareCodeParams) SetBody ¶ added in v0.59.0
func (o *UpdateContentShareCodeParams) SetBody(body *ugcclientmodels.ModelsUpdateContentShareCodeRequest)
SetBody adds the body to the update content share code params
func (*UpdateContentShareCodeParams) SetChannelID ¶ added in v0.59.0
func (o *UpdateContentShareCodeParams) SetChannelID(channelID string)
SetChannelID adds the channelId to the update content share code params
func (*UpdateContentShareCodeParams) SetContentID ¶ added in v0.59.0
func (o *UpdateContentShareCodeParams) SetContentID(contentID string)
SetContentID adds the contentId to the update content share code params
func (*UpdateContentShareCodeParams) SetContext ¶ added in v0.59.0
func (o *UpdateContentShareCodeParams) SetContext(ctx context.Context)
SetContext adds the context to the update content share code params
func (*UpdateContentShareCodeParams) SetFlightId ¶ added in v0.63.0
func (o *UpdateContentShareCodeParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*UpdateContentShareCodeParams) SetHTTPClient ¶ added in v0.59.0
func (o *UpdateContentShareCodeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update content share code params
func (*UpdateContentShareCodeParams) SetHTTPClientTransport ¶ added in v0.59.0
func (o *UpdateContentShareCodeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update content share code params
func (*UpdateContentShareCodeParams) SetNamespace ¶ added in v0.59.0
func (o *UpdateContentShareCodeParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the update content share code params
func (*UpdateContentShareCodeParams) SetTimeout ¶ added in v0.59.0
func (o *UpdateContentShareCodeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update content share code params
func (*UpdateContentShareCodeParams) SetUserID ¶ added in v0.59.0
func (o *UpdateContentShareCodeParams) SetUserID(userID string)
SetUserID adds the userId to the update content share code params
func (*UpdateContentShareCodeParams) WithBody ¶ added in v0.59.0
func (o *UpdateContentShareCodeParams) WithBody(body *ugcclientmodels.ModelsUpdateContentShareCodeRequest) *UpdateContentShareCodeParams
WithBody adds the body to the update content share code params
func (*UpdateContentShareCodeParams) WithChannelID ¶ added in v0.59.0
func (o *UpdateContentShareCodeParams) WithChannelID(channelID string) *UpdateContentShareCodeParams
WithChannelID adds the channelID to the update content share code params
func (*UpdateContentShareCodeParams) WithContentID ¶ added in v0.59.0
func (o *UpdateContentShareCodeParams) WithContentID(contentID string) *UpdateContentShareCodeParams
WithContentID adds the contentID to the update content share code params
func (*UpdateContentShareCodeParams) WithContext ¶ added in v0.59.0
func (o *UpdateContentShareCodeParams) WithContext(ctx context.Context) *UpdateContentShareCodeParams
WithContext adds the context to the update content share code params
func (*UpdateContentShareCodeParams) WithHTTPClient ¶ added in v0.59.0
func (o *UpdateContentShareCodeParams) WithHTTPClient(client *http.Client) *UpdateContentShareCodeParams
WithHTTPClient adds the HTTPClient to the update content share code params
func (*UpdateContentShareCodeParams) WithNamespace ¶ added in v0.59.0
func (o *UpdateContentShareCodeParams) WithNamespace(namespace string) *UpdateContentShareCodeParams
WithNamespace adds the namespace to the update content share code params
func (*UpdateContentShareCodeParams) WithTimeout ¶ added in v0.59.0
func (o *UpdateContentShareCodeParams) WithTimeout(timeout time.Duration) *UpdateContentShareCodeParams
WithTimeout adds the timeout to the update content share code params
func (*UpdateContentShareCodeParams) WithUserID ¶ added in v0.59.0
func (o *UpdateContentShareCodeParams) WithUserID(userID string) *UpdateContentShareCodeParams
WithUserID adds the userID to the update content share code params
func (*UpdateContentShareCodeParams) WriteToRequest ¶ added in v0.59.0
func (o *UpdateContentShareCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateContentShareCodeReader ¶ added in v0.59.0
type UpdateContentShareCodeReader struct {
// contains filtered or unexported fields
}
UpdateContentShareCodeReader is a Reader for the UpdateContentShareCode structure.
func (*UpdateContentShareCodeReader) ReadResponse ¶ added in v0.59.0
func (o *UpdateContentShareCodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateContentShareCodeUnauthorized ¶ added in v0.59.0
type UpdateContentShareCodeUnauthorized struct {
}UpdateContentShareCodeUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewUpdateContentShareCodeUnauthorized ¶ added in v0.59.0
func NewUpdateContentShareCodeUnauthorized() *UpdateContentShareCodeUnauthorized
NewUpdateContentShareCodeUnauthorized creates a UpdateContentShareCodeUnauthorized with default headers values
func (*UpdateContentShareCodeUnauthorized) Error ¶ added in v0.59.0
func (o *UpdateContentShareCodeUnauthorized) Error() string
func (*UpdateContentShareCodeUnauthorized) GetPayload ¶ added in v0.59.0
func (o *UpdateContentShareCodeUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateContentShareCodeUnauthorized) ToJSONString ¶ added in v0.59.0
func (o *UpdateContentShareCodeUnauthorized) ToJSONString() string
type UpdateScreenshotsBadRequest ¶
type UpdateScreenshotsBadRequest struct {
Payload *ugcclientmodels.ResponseError
}
UpdateScreenshotsBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772601</td><td>Malformed request</td></tr></table>
func NewUpdateScreenshotsBadRequest ¶
func NewUpdateScreenshotsBadRequest() *UpdateScreenshotsBadRequest
NewUpdateScreenshotsBadRequest creates a UpdateScreenshotsBadRequest with default headers values
func (*UpdateScreenshotsBadRequest) Error ¶
func (o *UpdateScreenshotsBadRequest) Error() string
func (*UpdateScreenshotsBadRequest) GetPayload ¶
func (o *UpdateScreenshotsBadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateScreenshotsBadRequest) ToJSONString ¶
func (o *UpdateScreenshotsBadRequest) ToJSONString() string
type UpdateScreenshotsForbidden ¶ added in v0.60.0
type UpdateScreenshotsForbidden struct {
Payload *ugcclientmodels.ResponseError
}
UpdateScreenshotsForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772604</td><td>User has been banned to update content</td></tr></table>
func NewUpdateScreenshotsForbidden ¶ added in v0.60.0
func NewUpdateScreenshotsForbidden() *UpdateScreenshotsForbidden
NewUpdateScreenshotsForbidden creates a UpdateScreenshotsForbidden with default headers values
func (*UpdateScreenshotsForbidden) Error ¶ added in v0.60.0
func (o *UpdateScreenshotsForbidden) Error() string
func (*UpdateScreenshotsForbidden) GetPayload ¶ added in v0.60.0
func (o *UpdateScreenshotsForbidden) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateScreenshotsForbidden) ToJSONString ¶ added in v0.60.0
func (o *UpdateScreenshotsForbidden) ToJSONString() string
type UpdateScreenshotsInternalServerError ¶
type UpdateScreenshotsInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
UpdateScreenshotsInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772602</td><td>Unable to check user ban status/Unable to get updated ugc content</td></tr></table>
func NewUpdateScreenshotsInternalServerError ¶
func NewUpdateScreenshotsInternalServerError() *UpdateScreenshotsInternalServerError
NewUpdateScreenshotsInternalServerError creates a UpdateScreenshotsInternalServerError with default headers values
func (*UpdateScreenshotsInternalServerError) Error ¶
func (o *UpdateScreenshotsInternalServerError) Error() string
func (*UpdateScreenshotsInternalServerError) GetPayload ¶
func (o *UpdateScreenshotsInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateScreenshotsInternalServerError) ToJSONString ¶
func (o *UpdateScreenshotsInternalServerError) ToJSONString() string
type UpdateScreenshotsNotFound ¶
type UpdateScreenshotsNotFound struct {
Payload *ugcclientmodels.ResponseError
}
UpdateScreenshotsNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772603</td><td>Content not found</td></tr></table>
func NewUpdateScreenshotsNotFound ¶
func NewUpdateScreenshotsNotFound() *UpdateScreenshotsNotFound
NewUpdateScreenshotsNotFound creates a UpdateScreenshotsNotFound with default headers values
func (*UpdateScreenshotsNotFound) Error ¶
func (o *UpdateScreenshotsNotFound) Error() string
func (*UpdateScreenshotsNotFound) GetPayload ¶
func (o *UpdateScreenshotsNotFound) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateScreenshotsNotFound) ToJSONString ¶
func (o *UpdateScreenshotsNotFound) ToJSONString() string
type UpdateScreenshotsOK ¶
type UpdateScreenshotsOK struct {
Payload *ugcclientmodels.ModelsUpdateScreenshotResponse
}
UpdateScreenshotsOK handles this case with default header values.
Screenshot updated
func NewUpdateScreenshotsOK ¶
func NewUpdateScreenshotsOK() *UpdateScreenshotsOK
NewUpdateScreenshotsOK creates a UpdateScreenshotsOK with default headers values
func (*UpdateScreenshotsOK) Error ¶
func (o *UpdateScreenshotsOK) Error() string
func (*UpdateScreenshotsOK) GetPayload ¶
func (o *UpdateScreenshotsOK) GetPayload() *ugcclientmodels.ModelsUpdateScreenshotResponse
func (*UpdateScreenshotsOK) ToJSONString ¶
func (o *UpdateScreenshotsOK) ToJSONString() string
type UpdateScreenshotsParams ¶
type UpdateScreenshotsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *ugcclientmodels.ModelsUpdateScreenshotRequest /*ContentID content ID */ ContentID string /*Namespace namespace of the game */ Namespace string /*UserID user ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
UpdateScreenshotsParams contains all the parameters to send to the API endpoint for the update screenshots operation typically these are written to a http.Request
func NewUpdateScreenshotsParams ¶
func NewUpdateScreenshotsParams() *UpdateScreenshotsParams
NewUpdateScreenshotsParams creates a new UpdateScreenshotsParams object with the default values initialized.
func NewUpdateScreenshotsParamsWithContext ¶
func NewUpdateScreenshotsParamsWithContext(ctx context.Context) *UpdateScreenshotsParams
NewUpdateScreenshotsParamsWithContext creates a new UpdateScreenshotsParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateScreenshotsParamsWithHTTPClient ¶
func NewUpdateScreenshotsParamsWithHTTPClient(client *http.Client) *UpdateScreenshotsParams
NewUpdateScreenshotsParamsWithHTTPClient creates a new UpdateScreenshotsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateScreenshotsParamsWithTimeout ¶
func NewUpdateScreenshotsParamsWithTimeout(timeout time.Duration) *UpdateScreenshotsParams
NewUpdateScreenshotsParamsWithTimeout creates a new UpdateScreenshotsParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateScreenshotsParams) SetAuthInfoWriter ¶
func (o *UpdateScreenshotsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update screenshots params
func (*UpdateScreenshotsParams) SetBody ¶
func (o *UpdateScreenshotsParams) SetBody(body *ugcclientmodels.ModelsUpdateScreenshotRequest)
SetBody adds the body to the update screenshots params
func (*UpdateScreenshotsParams) SetContentID ¶
func (o *UpdateScreenshotsParams) SetContentID(contentID string)
SetContentID adds the contentId to the update screenshots params
func (*UpdateScreenshotsParams) SetContext ¶
func (o *UpdateScreenshotsParams) SetContext(ctx context.Context)
SetContext adds the context to the update screenshots params
func (*UpdateScreenshotsParams) SetFlightId ¶ added in v0.63.0
func (o *UpdateScreenshotsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*UpdateScreenshotsParams) SetHTTPClient ¶
func (o *UpdateScreenshotsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update screenshots params
func (*UpdateScreenshotsParams) SetHTTPClientTransport ¶
func (o *UpdateScreenshotsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update screenshots params
func (*UpdateScreenshotsParams) SetNamespace ¶
func (o *UpdateScreenshotsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the update screenshots params
func (*UpdateScreenshotsParams) SetTimeout ¶
func (o *UpdateScreenshotsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update screenshots params
func (*UpdateScreenshotsParams) SetUserID ¶
func (o *UpdateScreenshotsParams) SetUserID(userID string)
SetUserID adds the userId to the update screenshots params
func (*UpdateScreenshotsParams) WithBody ¶
func (o *UpdateScreenshotsParams) WithBody(body *ugcclientmodels.ModelsUpdateScreenshotRequest) *UpdateScreenshotsParams
WithBody adds the body to the update screenshots params
func (*UpdateScreenshotsParams) WithContentID ¶
func (o *UpdateScreenshotsParams) WithContentID(contentID string) *UpdateScreenshotsParams
WithContentID adds the contentID to the update screenshots params
func (*UpdateScreenshotsParams) WithContext ¶
func (o *UpdateScreenshotsParams) WithContext(ctx context.Context) *UpdateScreenshotsParams
WithContext adds the context to the update screenshots params
func (*UpdateScreenshotsParams) WithHTTPClient ¶
func (o *UpdateScreenshotsParams) WithHTTPClient(client *http.Client) *UpdateScreenshotsParams
WithHTTPClient adds the HTTPClient to the update screenshots params
func (*UpdateScreenshotsParams) WithNamespace ¶
func (o *UpdateScreenshotsParams) WithNamespace(namespace string) *UpdateScreenshotsParams
WithNamespace adds the namespace to the update screenshots params
func (*UpdateScreenshotsParams) WithTimeout ¶
func (o *UpdateScreenshotsParams) WithTimeout(timeout time.Duration) *UpdateScreenshotsParams
WithTimeout adds the timeout to the update screenshots params
func (*UpdateScreenshotsParams) WithUserID ¶
func (o *UpdateScreenshotsParams) WithUserID(userID string) *UpdateScreenshotsParams
WithUserID adds the userID to the update screenshots params
func (*UpdateScreenshotsParams) WriteToRequest ¶
func (o *UpdateScreenshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateScreenshotsReader ¶
type UpdateScreenshotsReader struct {
// contains filtered or unexported fields
}
UpdateScreenshotsReader is a Reader for the UpdateScreenshots structure.
func (*UpdateScreenshotsReader) ReadResponse ¶
func (o *UpdateScreenshotsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateScreenshotsUnauthorized ¶
type UpdateScreenshotsUnauthorized struct {
}UpdateScreenshotsUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewUpdateScreenshotsUnauthorized ¶
func NewUpdateScreenshotsUnauthorized() *UpdateScreenshotsUnauthorized
NewUpdateScreenshotsUnauthorized creates a UpdateScreenshotsUnauthorized with default headers values
func (*UpdateScreenshotsUnauthorized) Error ¶
func (o *UpdateScreenshotsUnauthorized) Error() string
func (*UpdateScreenshotsUnauthorized) GetPayload ¶
func (o *UpdateScreenshotsUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateScreenshotsUnauthorized) ToJSONString ¶
func (o *UpdateScreenshotsUnauthorized) ToJSONString() string
type UploadContentScreenshotBadRequest ¶
type UploadContentScreenshotBadRequest struct {
Payload *ugcclientmodels.ResponseError
}
UploadContentScreenshotBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772601</td><td>Malformed request</td></tr></table>
func NewUploadContentScreenshotBadRequest ¶
func NewUploadContentScreenshotBadRequest() *UploadContentScreenshotBadRequest
NewUploadContentScreenshotBadRequest creates a UploadContentScreenshotBadRequest with default headers values
func (*UploadContentScreenshotBadRequest) Error ¶
func (o *UploadContentScreenshotBadRequest) Error() string
func (*UploadContentScreenshotBadRequest) GetPayload ¶
func (o *UploadContentScreenshotBadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*UploadContentScreenshotBadRequest) ToJSONString ¶
func (o *UploadContentScreenshotBadRequest) ToJSONString() string
type UploadContentScreenshotCreated ¶
type UploadContentScreenshotCreated struct {
Payload *ugcclientmodels.ModelsCreateScreenshotResponse
}
UploadContentScreenshotCreated handles this case with default header values.
Screenshot uploaded
func NewUploadContentScreenshotCreated ¶
func NewUploadContentScreenshotCreated() *UploadContentScreenshotCreated
NewUploadContentScreenshotCreated creates a UploadContentScreenshotCreated with default headers values
func (*UploadContentScreenshotCreated) Error ¶
func (o *UploadContentScreenshotCreated) Error() string
func (*UploadContentScreenshotCreated) GetPayload ¶
func (o *UploadContentScreenshotCreated) GetPayload() *ugcclientmodels.ModelsCreateScreenshotResponse
func (*UploadContentScreenshotCreated) ToJSONString ¶
func (o *UploadContentScreenshotCreated) ToJSONString() string
type UploadContentScreenshotForbidden ¶ added in v0.60.0
type UploadContentScreenshotForbidden struct {
Payload *ugcclientmodels.ResponseError
}
UploadContentScreenshotForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772604</td><td>User has been banned to update content</td></tr></table>
func NewUploadContentScreenshotForbidden ¶ added in v0.60.0
func NewUploadContentScreenshotForbidden() *UploadContentScreenshotForbidden
NewUploadContentScreenshotForbidden creates a UploadContentScreenshotForbidden with default headers values
func (*UploadContentScreenshotForbidden) Error ¶ added in v0.60.0
func (o *UploadContentScreenshotForbidden) Error() string
func (*UploadContentScreenshotForbidden) GetPayload ¶ added in v0.60.0
func (o *UploadContentScreenshotForbidden) GetPayload() *ugcclientmodels.ResponseError
func (*UploadContentScreenshotForbidden) ToJSONString ¶ added in v0.60.0
func (o *UploadContentScreenshotForbidden) ToJSONString() string
type UploadContentScreenshotInternalServerError ¶
type UploadContentScreenshotInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
UploadContentScreenshotInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772602</td><td>Unable to check user ban status/Unable to get updated ugc content</td></tr><tr><td>772605</td><td>Unable to save ugc content: failed generate upload URL</td></tr></table>
func NewUploadContentScreenshotInternalServerError ¶
func NewUploadContentScreenshotInternalServerError() *UploadContentScreenshotInternalServerError
NewUploadContentScreenshotInternalServerError creates a UploadContentScreenshotInternalServerError with default headers values
func (*UploadContentScreenshotInternalServerError) Error ¶
func (o *UploadContentScreenshotInternalServerError) Error() string
func (*UploadContentScreenshotInternalServerError) GetPayload ¶
func (o *UploadContentScreenshotInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*UploadContentScreenshotInternalServerError) ToJSONString ¶
func (o *UploadContentScreenshotInternalServerError) ToJSONString() string
type UploadContentScreenshotNotFound ¶ added in v0.60.0
type UploadContentScreenshotNotFound struct {
Payload *ugcclientmodels.ResponseError
}
UploadContentScreenshotNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772603</td><td>Content not found</td></tr></table>
func NewUploadContentScreenshotNotFound ¶ added in v0.60.0
func NewUploadContentScreenshotNotFound() *UploadContentScreenshotNotFound
NewUploadContentScreenshotNotFound creates a UploadContentScreenshotNotFound with default headers values
func (*UploadContentScreenshotNotFound) Error ¶ added in v0.60.0
func (o *UploadContentScreenshotNotFound) Error() string
func (*UploadContentScreenshotNotFound) GetPayload ¶ added in v0.60.0
func (o *UploadContentScreenshotNotFound) GetPayload() *ugcclientmodels.ResponseError
func (*UploadContentScreenshotNotFound) ToJSONString ¶ added in v0.60.0
func (o *UploadContentScreenshotNotFound) ToJSONString() string
type UploadContentScreenshotParams ¶
type UploadContentScreenshotParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *ugcclientmodels.ModelsCreateScreenshotRequest /*ContentID content ID */ ContentID string /*Namespace namespace of the game */ Namespace string /*UserID user ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
UploadContentScreenshotParams contains all the parameters to send to the API endpoint for the upload content screenshot operation typically these are written to a http.Request
func NewUploadContentScreenshotParams ¶
func NewUploadContentScreenshotParams() *UploadContentScreenshotParams
NewUploadContentScreenshotParams creates a new UploadContentScreenshotParams object with the default values initialized.
func NewUploadContentScreenshotParamsWithContext ¶
func NewUploadContentScreenshotParamsWithContext(ctx context.Context) *UploadContentScreenshotParams
NewUploadContentScreenshotParamsWithContext creates a new UploadContentScreenshotParams object with the default values initialized, and the ability to set a context for a request
func NewUploadContentScreenshotParamsWithHTTPClient ¶
func NewUploadContentScreenshotParamsWithHTTPClient(client *http.Client) *UploadContentScreenshotParams
NewUploadContentScreenshotParamsWithHTTPClient creates a new UploadContentScreenshotParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUploadContentScreenshotParamsWithTimeout ¶
func NewUploadContentScreenshotParamsWithTimeout(timeout time.Duration) *UploadContentScreenshotParams
NewUploadContentScreenshotParamsWithTimeout creates a new UploadContentScreenshotParams object with the default values initialized, and the ability to set a timeout on a request
func (*UploadContentScreenshotParams) SetAuthInfoWriter ¶
func (o *UploadContentScreenshotParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the upload content screenshot params
func (*UploadContentScreenshotParams) SetBody ¶
func (o *UploadContentScreenshotParams) SetBody(body *ugcclientmodels.ModelsCreateScreenshotRequest)
SetBody adds the body to the upload content screenshot params
func (*UploadContentScreenshotParams) SetContentID ¶
func (o *UploadContentScreenshotParams) SetContentID(contentID string)
SetContentID adds the contentId to the upload content screenshot params
func (*UploadContentScreenshotParams) SetContext ¶
func (o *UploadContentScreenshotParams) SetContext(ctx context.Context)
SetContext adds the context to the upload content screenshot params
func (*UploadContentScreenshotParams) SetFlightId ¶ added in v0.63.0
func (o *UploadContentScreenshotParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*UploadContentScreenshotParams) SetHTTPClient ¶
func (o *UploadContentScreenshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upload content screenshot params
func (*UploadContentScreenshotParams) SetHTTPClientTransport ¶
func (o *UploadContentScreenshotParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the upload content screenshot params
func (*UploadContentScreenshotParams) SetNamespace ¶
func (o *UploadContentScreenshotParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the upload content screenshot params
func (*UploadContentScreenshotParams) SetTimeout ¶
func (o *UploadContentScreenshotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upload content screenshot params
func (*UploadContentScreenshotParams) SetUserID ¶
func (o *UploadContentScreenshotParams) SetUserID(userID string)
SetUserID adds the userId to the upload content screenshot params
func (*UploadContentScreenshotParams) WithBody ¶
func (o *UploadContentScreenshotParams) WithBody(body *ugcclientmodels.ModelsCreateScreenshotRequest) *UploadContentScreenshotParams
WithBody adds the body to the upload content screenshot params
func (*UploadContentScreenshotParams) WithContentID ¶
func (o *UploadContentScreenshotParams) WithContentID(contentID string) *UploadContentScreenshotParams
WithContentID adds the contentID to the upload content screenshot params
func (*UploadContentScreenshotParams) WithContext ¶
func (o *UploadContentScreenshotParams) WithContext(ctx context.Context) *UploadContentScreenshotParams
WithContext adds the context to the upload content screenshot params
func (*UploadContentScreenshotParams) WithHTTPClient ¶
func (o *UploadContentScreenshotParams) WithHTTPClient(client *http.Client) *UploadContentScreenshotParams
WithHTTPClient adds the HTTPClient to the upload content screenshot params
func (*UploadContentScreenshotParams) WithNamespace ¶
func (o *UploadContentScreenshotParams) WithNamespace(namespace string) *UploadContentScreenshotParams
WithNamespace adds the namespace to the upload content screenshot params
func (*UploadContentScreenshotParams) WithTimeout ¶
func (o *UploadContentScreenshotParams) WithTimeout(timeout time.Duration) *UploadContentScreenshotParams
WithTimeout adds the timeout to the upload content screenshot params
func (*UploadContentScreenshotParams) WithUserID ¶
func (o *UploadContentScreenshotParams) WithUserID(userID string) *UploadContentScreenshotParams
WithUserID adds the userID to the upload content screenshot params
func (*UploadContentScreenshotParams) WriteToRequest ¶
func (o *UploadContentScreenshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UploadContentScreenshotReader ¶
type UploadContentScreenshotReader struct {
// contains filtered or unexported fields
}
UploadContentScreenshotReader is a Reader for the UploadContentScreenshot structure.
func (*UploadContentScreenshotReader) ReadResponse ¶
func (o *UploadContentScreenshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UploadContentScreenshotUnauthorized ¶
type UploadContentScreenshotUnauthorized struct {
}UploadContentScreenshotUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewUploadContentScreenshotUnauthorized ¶
func NewUploadContentScreenshotUnauthorized() *UploadContentScreenshotUnauthorized
NewUploadContentScreenshotUnauthorized creates a UploadContentScreenshotUnauthorized with default headers values
func (*UploadContentScreenshotUnauthorized) Error ¶
func (o *UploadContentScreenshotUnauthorized) Error() string
func (*UploadContentScreenshotUnauthorized) GetPayload ¶
func (o *UploadContentScreenshotUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*UploadContentScreenshotUnauthorized) ToJSONString ¶
func (o *UploadContentScreenshotUnauthorized) ToJSONString() string
Source Files ¶
- create_content_direct_parameters.go
- create_content_direct_responses.go
- create_content_s3_parameters.go
- create_content_s3_responses.go
- delete_content_parameters.go
- delete_content_responses.go
- delete_content_screenshot_parameters.go
- delete_content_screenshot_responses.go
- public_content_legacy_client.go
- public_delete_content_by_share_code_parameters.go
- public_delete_content_by_share_code_responses.go
- public_download_content_by_content_id_parameters.go
- public_download_content_by_content_id_responses.go
- public_download_content_by_share_code_parameters.go
- public_download_content_by_share_code_responses.go
- public_download_content_preview_parameters.go
- public_download_content_preview_responses.go
- public_get_content_bulk_by_share_codes_parameters.go
- public_get_content_bulk_by_share_codes_responses.go
- public_get_content_bulk_parameters.go
- public_get_content_bulk_responses.go
- public_get_user_content_parameters.go
- public_get_user_content_responses.go
- public_search_content_parameters.go
- public_search_content_responses.go
- public_update_content_by_share_code_parameters.go
- public_update_content_by_share_code_responses.go
- search_channel_specific_content_parameters.go
- search_channel_specific_content_responses.go
- update_content_direct_parameters.go
- update_content_direct_responses.go
- update_content_s3_parameters.go
- update_content_s3_responses.go
- update_content_share_code_parameters.go
- update_content_share_code_responses.go
- update_screenshots_parameters.go
- update_screenshots_responses.go
- upload_content_screenshot_parameters.go
- upload_content_screenshot_responses.go