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) 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) PublicGetContentBulkShort(params *PublicGetContentBulkParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentBulkOK, error)
- func (a *Client) PublicGetUserContent(params *PublicGetUserContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserContentOK, *PublicGetUserContentUnauthorized, ...)deprecated
- func (a *Client) PublicGetUserContentShort(params *PublicGetUserContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserContentOK, error)
- func (a *Client) PublicSearchContent(params *PublicSearchContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSearchContentOK, *PublicSearchContentUnauthorized, ...)deprecated
- func (a *Client) PublicSearchContentShort(params *PublicSearchContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSearchContentOK, error)
- func (a *Client) SearchChannelSpecificContent(params *SearchChannelSpecificContentParams, ...) (*SearchChannelSpecificContentOK, *SearchChannelSpecificContentUnauthorized, ...)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) 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 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) 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 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.ModelsCreateContentRequestS3)
- func (o *CreateContentS3Params) SetChannelID(channelID string)
- func (o *CreateContentS3Params) SetContext(ctx context.Context)
- 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.ModelsCreateContentRequestS3) *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) 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 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) 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 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) 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) 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) 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 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) 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 PublicGetUserContentInternalServerError
- type PublicGetUserContentNotFound
- 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) 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 PublicSearchContentInternalServerError
- type PublicSearchContentNotFound
- 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) SetHTTPClient(client *http.Client)
- func (o *PublicSearchContentParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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) 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 SearchChannelSpecificContentInternalServerError
- type SearchChannelSpecificContentNotFound
- 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) SetHTTPClient(client *http.Client)
- func (o *SearchChannelSpecificContentParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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) 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 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) 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 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.ModelsCreateContentRequestS3)
- func (o *UpdateContentS3Params) SetChannelID(channelID string)
- func (o *UpdateContentS3Params) SetContentID(contentID string)
- func (o *UpdateContentS3Params) SetContext(ctx context.Context)
- 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.ModelsCreateContentRequestS3) *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 UpdateScreenshotsBadRequest
- 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) 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 UploadContentScreenshotInternalServerError
- 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) 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 API
func (*Client) CreateContentDirect
deprecated
func (a *Client) CreateContentDirect(params *CreateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*CreateContentDirectCreated, *CreateContentDirectBadRequest, *CreateContentDirectUnauthorized, *CreateContentDirectInternalServerError, error)
Deprecated: Use CreateContentDirectShort instead.
CreateContentDirect uploads content to a channel Required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENT [CREATE]</b>.\n All request body are required except preview and tags.
func (*Client) CreateContentDirectShort ¶
func (a *Client) CreateContentDirectShort(params *CreateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*CreateContentDirectCreated, error)
CreateContentDirectShort uploads content to a channel Required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENT [CREATE]</b>.\n All request body are required except preview and tags.
func (*Client) CreateContentS3
deprecated
func (a *Client) CreateContentS3(params *CreateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*CreateContentS3Created, *CreateContentS3BadRequest, *CreateContentS3Unauthorized, *CreateContentS3InternalServerError, error)
Deprecated: Use CreateContentS3Short instead.
CreateContentS3 uploads content to s3 bucket Required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENT [CREATE]</b>.\n All request body are required except payload, preview, tags, and contentType. 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. <br><p><b>NOTE: Preview is Legacy Code, please use Screenshot for better solution to display preview of a content</b></p>
func (*Client) CreateContentS3Short ¶
func (a *Client) CreateContentS3Short(params *CreateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*CreateContentS3Created, error)
CreateContentS3Short uploads content to s3 bucket Required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENT [CREATE]</b>.\n All request body are required except payload, preview, tags, and contentType. 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. <br><p><b>NOTE: Preview is Legacy Code, please use Screenshot for better solution to display preview of a content</b></p>
func (*Client) DeleteContent
deprecated
func (a *Client) DeleteContent(params *DeleteContentParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentNoContent, *DeleteContentUnauthorized, *DeleteContentNotFound, *DeleteContentInternalServerError, error)
Deprecated: Use DeleteContentShort instead.
DeleteContent deletes content Required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENT [DELETE]</b>.
func (*Client) DeleteContentScreenshot
deprecated
func (a *Client) DeleteContentScreenshot(params *DeleteContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentScreenshotNoContent, *DeleteContentScreenshotBadRequest, *DeleteContentScreenshotUnauthorized, *DeleteContentScreenshotNotFound, *DeleteContentScreenshotInternalServerError, error)
Deprecated: Use DeleteContentScreenshotShort instead.
DeleteContentScreenshot deletes screenshots content Required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENT [DELETE]</b>.
func (*Client) DeleteContentScreenshotShort ¶
func (a *Client) DeleteContentScreenshotShort(params *DeleteContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentScreenshotNoContent, error)
DeleteContentScreenshotShort deletes screenshots content
Required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENT [DELETE]</b>.
func (*Client) DeleteContentShort ¶
func (a *Client) DeleteContentShort(params *DeleteContentParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentNoContent, error)
DeleteContentShort deletes content
Required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENT [DELETE]</b>.
func (*Client) PublicDownloadContentByContentID
deprecated
func (a *Client) PublicDownloadContentByContentID(params *PublicDownloadContentByContentIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDownloadContentByContentIDOK, *PublicDownloadContentByContentIDUnauthorized, *PublicDownloadContentByContentIDNotFound, *PublicDownloadContentByContentIDInternalServerError, error)
Deprecated: Use PublicDownloadContentByContentIDShort instead.
PublicDownloadContentByContentID gets 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 gets user specific content
Public user can access without token or if token specified, requires valid user token
func (*Client) PublicDownloadContentByShareCode
deprecated
added in
v0.25.0
func (a *Client) PublicDownloadContentByShareCode(params *PublicDownloadContentByShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDownloadContentByShareCodeOK, *PublicDownloadContentByShareCodeUnauthorized, *PublicDownloadContentByShareCodeNotFound, *PublicDownloadContentByShareCodeInternalServerError, error)
Deprecated: Use PublicDownloadContentByShareCodeShort instead.
PublicDownloadContentByShareCode gets content by sharecode Public user can access without token or if token specified, requires valid user token
func (*Client) PublicDownloadContentByShareCodeShort ¶ added in v0.25.0
func (a *Client) PublicDownloadContentByShareCodeShort(params *PublicDownloadContentByShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDownloadContentByShareCodeOK, error)
PublicDownloadContentByShareCodeShort gets 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: Use PublicDownloadContentPreviewShort instead.
PublicDownloadContentPreview gets content preview <p>Requires valid user token</p><p><b>NOTE: Preview is Legacy Code, please use Screenshot for better solution to display preview of a content</b></p>
func (*Client) PublicDownloadContentPreviewShort ¶
func (a *Client) PublicDownloadContentPreviewShort(params *PublicDownloadContentPreviewParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDownloadContentPreviewOK, error)
PublicDownloadContentPreviewShort gets content preview
<p>Requires valid user token</p><p><b>NOTE: Preview is Legacy Code, please use Screenshot for better solution to display preview of a content</b></p>
func (*Client) PublicGetContentBulk
deprecated
added in
v0.17.0
func (a *Client) PublicGetContentBulk(params *PublicGetContentBulkParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentBulkOK, *PublicGetContentBulkBadRequest, *PublicGetContentBulkUnauthorized, *PublicGetContentBulkInternalServerError, error)
Deprecated: Use PublicGetContentBulkShort instead.
PublicGetContentBulk gets contents by content ids Maximum requested Ids: 100. Public user can access without token or if token specified, requires valid user token
func (*Client) PublicGetContentBulkShort ¶ added in v0.17.0
func (a *Client) PublicGetContentBulkShort(params *PublicGetContentBulkParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentBulkOK, error)
PublicGetContentBulkShort gets 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, *PublicGetUserContentUnauthorized, *PublicGetUserContentNotFound, *PublicGetUserContentInternalServerError, error)
Deprecated: Use PublicGetUserContentShort instead.
PublicGetUserContent gets user s generated contents Public user can access without token or if token specified, required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENT [READ]</b>.
func (*Client) PublicGetUserContentShort ¶
func (a *Client) PublicGetUserContentShort(params *PublicGetUserContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserContentOK, error)
PublicGetUserContentShort gets user s generated contents
Public user can access without token or if token specified, required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENT [READ]</b>.
func (*Client) PublicSearchContent
deprecated
func (a *Client) PublicSearchContent(params *PublicSearchContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSearchContentOK, *PublicSearchContentUnauthorized, *PublicSearchContentNotFound, *PublicSearchContentInternalServerError, error)
Deprecated: Use PublicSearchContentShort instead.
PublicSearchContent searches 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:
<code>tags=red</code>
<code>tags=red&animal</code>
<code>tags=red|animal</code>
<code>tags=red&animal|wild</code>
<code>tags=red&(animal|wild)</code>
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 <code>_</code> and dash <code>-</code>
Allowed character for operator: <code>&</code> <code>|</code> <code>(</code> <code>)</code>
<b>Please note that value of tags query param should be URL encoded</b>
func (*Client) PublicSearchContentShort ¶
func (a *Client) PublicSearchContentShort(params *PublicSearchContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSearchContentOK, error)
PublicSearchContentShort searches 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:
<code>tags=red</code>
<code>tags=red&animal</code>
<code>tags=red|animal</code>
<code>tags=red&animal|wild</code>
<code>tags=red&(animal|wild)</code>
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 <code>_</code> and dash <code>-</code>
Allowed character for operator: <code>&</code> <code>|</code> <code>(</code> <code>)</code>
<b>Please note that value of tags query param should be URL encoded</b>
func (*Client) SearchChannelSpecificContent
deprecated
func (a *Client) SearchChannelSpecificContent(params *SearchChannelSpecificContentParams, authInfo runtime.ClientAuthInfoWriter) (*SearchChannelSpecificContentOK, *SearchChannelSpecificContentUnauthorized, *SearchChannelSpecificContentNotFound, *SearchChannelSpecificContentInternalServerError, error)
Deprecated: Use SearchChannelSpecificContentShort instead.
SearchChannelSpecificContent searches 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:
<code>tags=red</code>
<code>tags=red&animal</code>
<code>tags=red|animal</code>
<code>tags=red&animal|wild</code>
<code>tags=red&(animal|wild)</code>
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 <code>_</code> and dash <code>-</code>
Allowed character for operator: <code>&</code> <code>|</code> <code>(</code> <code>)</code>
<b>Please note that value of tags query param should be URL encoded</b>
func (*Client) SearchChannelSpecificContentShort ¶
func (a *Client) SearchChannelSpecificContentShort(params *SearchChannelSpecificContentParams, authInfo runtime.ClientAuthInfoWriter) (*SearchChannelSpecificContentOK, error)
SearchChannelSpecificContentShort searches 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:
<code>tags=red</code>
<code>tags=red&animal</code>
<code>tags=red|animal</code>
<code>tags=red&animal|wild</code>
<code>tags=red&(animal|wild)</code>
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 <code>_</code> and dash <code>-</code>
Allowed character for operator: <code>&</code> <code>|</code> <code>(</code> <code>)</code>
<b>Please note that value of tags query param should be URL encoded</b>
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, *UpdateContentDirectNotFound, *UpdateContentDirectInternalServerError, error)
Deprecated: Use UpdateContentDirectShort instead.
UpdateContentDirect updates content to a channel Required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE]</b>.\n All request body are required except preview and tags.
func (*Client) UpdateContentDirectShort ¶
func (a *Client) UpdateContentDirectShort(params *UpdateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentDirectOK, error)
UpdateContentDirectShort updates content to a channel Required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE]</b>.\n All request body are required except preview and tags.
func (*Client) UpdateContentS3
deprecated
func (a *Client) UpdateContentS3(params *UpdateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentS3OK, *UpdateContentS3BadRequest, *UpdateContentS3Unauthorized, *UpdateContentS3NotFound, *UpdateContentS3InternalServerError, error)
Deprecated: Use UpdateContentS3Short instead.
UpdateContentS3 updates content to s3 bucket Required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE]</b>.\n All request body are required except payload, preview, tags, and contentType. 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. <br><p><b>NOTE: Preview is Legacy Code, please use Screenshot for better solution to display preview of a content</b></p>
func (*Client) UpdateContentS3Short ¶
func (a *Client) UpdateContentS3Short(params *UpdateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentS3OK, error)
UpdateContentS3Short updates content to s3 bucket Required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE]</b>.\n All request body are required except payload, preview, tags, and contentType. 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. <br><p><b>NOTE: Preview is Legacy Code, please use Screenshot for better solution to display preview of a content</b></p>
func (*Client) UpdateScreenshots
deprecated
func (a *Client) UpdateScreenshots(params *UpdateScreenshotsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateScreenshotsOK, *UpdateScreenshotsBadRequest, *UpdateScreenshotsUnauthorized, *UpdateScreenshotsNotFound, *UpdateScreenshotsInternalServerError, error)
Deprecated: Use UpdateScreenshotsShort instead.
UpdateScreenshots updates screenshot of content Required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE]</b>.\n Maximum description length: 1024.
func (*Client) UpdateScreenshotsShort ¶
func (a *Client) UpdateScreenshotsShort(params *UpdateScreenshotsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateScreenshotsOK, error)
UpdateScreenshotsShort updates screenshot of content Required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE]</b>.\n Maximum description length: 1024.
func (*Client) UploadContentScreenshot
deprecated
func (a *Client) UploadContentScreenshot(params *UploadContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*UploadContentScreenshotCreated, *UploadContentScreenshotBadRequest, *UploadContentScreenshotUnauthorized, *UploadContentScreenshotInternalServerError, error)
Deprecated: Use UploadContentScreenshotShort instead.
UploadContentScreenshot uploads screenshots for content Required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENT [CREATE]</b>.\n 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. \n Maximum description length: 1024.
func (*Client) UploadContentScreenshotShort ¶
func (a *Client) UploadContentScreenshotShort(params *UploadContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*UploadContentScreenshotCreated, error)
UploadContentScreenshotShort uploads screenshots for content Required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENT [CREATE]</b>.\n 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. \n Maximum description length: 1024.
type ClientService ¶
type ClientService interface { CreateContentDirect(params *CreateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*CreateContentDirectCreated, *CreateContentDirectBadRequest, *CreateContentDirectUnauthorized, *CreateContentDirectInternalServerError, error) CreateContentDirectShort(params *CreateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*CreateContentDirectCreated, error) CreateContentS3(params *CreateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*CreateContentS3Created, *CreateContentS3BadRequest, *CreateContentS3Unauthorized, *CreateContentS3InternalServerError, error) CreateContentS3Short(params *CreateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*CreateContentS3Created, error) DeleteContent(params *DeleteContentParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentNoContent, *DeleteContentUnauthorized, *DeleteContentNotFound, *DeleteContentInternalServerError, error) DeleteContentShort(params *DeleteContentParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentNoContent, error) DeleteContentScreenshot(params *DeleteContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentScreenshotNoContent, *DeleteContentScreenshotBadRequest, *DeleteContentScreenshotUnauthorized, *DeleteContentScreenshotNotFound, *DeleteContentScreenshotInternalServerError, error) DeleteContentScreenshotShort(params *DeleteContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentScreenshotNoContent, 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) PublicGetContentBulk(params *PublicGetContentBulkParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentBulkOK, *PublicGetContentBulkBadRequest, *PublicGetContentBulkUnauthorized, *PublicGetContentBulkInternalServerError, error) PublicGetContentBulkShort(params *PublicGetContentBulkParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetContentBulkOK, error) PublicGetUserContent(params *PublicGetUserContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserContentOK, *PublicGetUserContentUnauthorized, *PublicGetUserContentNotFound, *PublicGetUserContentInternalServerError, error) PublicGetUserContentShort(params *PublicGetUserContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserContentOK, error) PublicSearchContent(params *PublicSearchContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSearchContentOK, *PublicSearchContentUnauthorized, *PublicSearchContentNotFound, *PublicSearchContentInternalServerError, error) PublicSearchContentShort(params *PublicSearchContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSearchContentOK, error) SearchChannelSpecificContent(params *SearchChannelSpecificContentParams, authInfo runtime.ClientAuthInfoWriter) (*SearchChannelSpecificContentOK, *SearchChannelSpecificContentUnauthorized, *SearchChannelSpecificContentNotFound, *SearchChannelSpecificContentInternalServerError, error) SearchChannelSpecificContentShort(params *SearchChannelSpecificContentParams, authInfo runtime.ClientAuthInfoWriter) (*SearchChannelSpecificContentOK, error) UpdateContentDirect(params *UpdateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentDirectOK, *UpdateContentDirectBadRequest, *UpdateContentDirectUnauthorized, *UpdateContentDirectNotFound, *UpdateContentDirectInternalServerError, error) UpdateContentDirectShort(params *UpdateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentDirectOK, error) UpdateContentS3(params *UpdateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentS3OK, *UpdateContentS3BadRequest, *UpdateContentS3Unauthorized, *UpdateContentS3NotFound, *UpdateContentS3InternalServerError, error) UpdateContentS3Short(params *UpdateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentS3OK, error) UpdateScreenshots(params *UpdateScreenshotsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateScreenshotsOK, *UpdateScreenshotsBadRequest, *UpdateScreenshotsUnauthorized, *UpdateScreenshotsNotFound, *UpdateScreenshotsInternalServerError, error) UpdateScreenshotsShort(params *UpdateScreenshotsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateScreenshotsOK, error) UploadContentScreenshot(params *UploadContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*UploadContentScreenshotCreated, *UploadContentScreenshotBadRequest, *UploadContentScreenshotUnauthorized, *UploadContentScreenshotInternalServerError, error) UploadContentScreenshotShort(params *UploadContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*UploadContentScreenshotCreated, 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 API client.
type CreateContentDirectBadRequest ¶
type CreateContentDirectBadRequest struct {
Payload *ugcclientmodels.ResponseError
}
CreateContentDirectBadRequest handles this case with default header values.
Bad Request
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 ¶ added in v0.25.0
func (o *CreateContentDirectBadRequest) ToJSONString() string
type CreateContentDirectCreated ¶
type CreateContentDirectCreated struct {
Payload *ugcclientmodels.ModelsCreateContentResponse
}
CreateContentDirectCreated handles this case with default header values.
Created
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 ¶ added in v0.25.0
func (o *CreateContentDirectCreated) ToJSONString() string
type CreateContentDirectInternalServerError ¶
type CreateContentDirectInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
CreateContentDirectInternalServerError handles this case with default header values.
Internal Server Error
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 ¶ added in v0.25.0
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 // 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 ¶ added in v0.17.0
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) SetHTTPClient ¶
func (o *CreateContentDirectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create content direct params
func (*CreateContentDirectParams) SetHTTPClientTransport ¶ added in v0.19.0
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.
Unauthorized
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 ¶ added in v0.25.0
func (o *CreateContentDirectUnauthorized) ToJSONString() string
type CreateContentS3BadRequest ¶
type CreateContentS3BadRequest struct {
Payload *ugcclientmodels.ResponseError
}
CreateContentS3BadRequest handles this case with default header values.
Bad Request
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 ¶ added in v0.25.0
func (o *CreateContentS3BadRequest) ToJSONString() string
type CreateContentS3Created ¶
type CreateContentS3Created struct {
Payload *ugcclientmodels.ModelsCreateContentResponse
}
CreateContentS3Created handles this case with default header values.
Created
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 ¶ added in v0.25.0
func (o *CreateContentS3Created) ToJSONString() string
type CreateContentS3InternalServerError ¶
type CreateContentS3InternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
CreateContentS3InternalServerError handles this case with default header values.
Internal Server Error
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 ¶ added in v0.25.0
func (o *CreateContentS3InternalServerError) ToJSONString() string
type CreateContentS3Params ¶
type CreateContentS3Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *ugcclientmodels.ModelsCreateContentRequestS3 /*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 // 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 ¶ added in v0.17.0
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.ModelsCreateContentRequestS3)
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) SetHTTPClient ¶
func (o *CreateContentS3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create content s3 params
func (*CreateContentS3Params) SetHTTPClientTransport ¶ added in v0.19.0
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.ModelsCreateContentRequestS3) *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.
Unauthorized
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 ¶ added in v0.25.0
func (o *CreateContentS3Unauthorized) ToJSONString() string
type DeleteContentInternalServerError ¶
type DeleteContentInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
DeleteContentInternalServerError handles this case with default header values.
Internal Server Error
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 ¶ added in v0.25.0
func (o *DeleteContentInternalServerError) ToJSONString() string
type DeleteContentNoContent ¶
type DeleteContentNoContent struct { }
DeleteContentNoContent handles this case with default header values.
No Content
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.
Not Found
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 ¶ added in v0.25.0
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 // 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 ¶ added in v0.17.0
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) SetHTTPClient ¶
func (o *DeleteContentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete content params
func (*DeleteContentParams) SetHTTPClientTransport ¶ added in v0.19.0
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.
Bad Request
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 ¶ added in v0.25.0
func (o *DeleteContentScreenshotBadRequest) ToJSONString() string
type DeleteContentScreenshotInternalServerError ¶
type DeleteContentScreenshotInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
DeleteContentScreenshotInternalServerError handles this case with default header values.
Internal Server Error
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 ¶ added in v0.25.0
func (o *DeleteContentScreenshotInternalServerError) ToJSONString() string
type DeleteContentScreenshotNoContent ¶
type DeleteContentScreenshotNoContent struct { }
DeleteContentScreenshotNoContent handles this case with default header values.
No Content
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.
Not Found
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 ¶ added in v0.25.0
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 // 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 ¶ added in v0.17.0
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) SetHTTPClient ¶
func (o *DeleteContentScreenshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete content screenshot params
func (*DeleteContentScreenshotParams) SetHTTPClientTransport ¶ added in v0.19.0
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.
Unauthorized
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 ¶ added in v0.25.0
func (o *DeleteContentScreenshotUnauthorized) ToJSONString() string
type DeleteContentUnauthorized ¶
type DeleteContentUnauthorized struct {
}DeleteContentUnauthorized handles this case with default header values.
Unauthorized
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 ¶ added in v0.25.0
func (o *DeleteContentUnauthorized) ToJSONString() string
type PublicDownloadContentByContentIDInternalServerError ¶
type PublicDownloadContentByContentIDInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
PublicDownloadContentByContentIDInternalServerError handles this case with default header values.
Internal Server Error
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 ¶ added in v0.25.0
func (o *PublicDownloadContentByContentIDInternalServerError) ToJSONString() string
type PublicDownloadContentByContentIDNotFound ¶
type PublicDownloadContentByContentIDNotFound struct {
Payload *ugcclientmodels.ResponseError
}
PublicDownloadContentByContentIDNotFound handles this case with default header values.
Not Found
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 ¶ added in v0.25.0
func (o *PublicDownloadContentByContentIDNotFound) ToJSONString() string
type PublicDownloadContentByContentIDOK ¶
type PublicDownloadContentByContentIDOK struct {
Payload *ugcclientmodels.ModelsContentDownloadResponse
}
PublicDownloadContentByContentIDOK handles this case with default header values.
OK
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 ¶ added in v0.25.0
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 // 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 ¶ added in v0.17.0
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) SetHTTPClient ¶
func (o *PublicDownloadContentByContentIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public download content by content ID params
func (*PublicDownloadContentByContentIDParams) SetHTTPClientTransport ¶ added in v0.19.0
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.
Unauthorized
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 ¶ added in v0.25.0
func (o *PublicDownloadContentByContentIDUnauthorized) ToJSONString() string
type PublicDownloadContentByShareCodeInternalServerError ¶ added in v0.25.0
type PublicDownloadContentByShareCodeInternalServerError struct {
}PublicDownloadContentByShareCodeInternalServerError handles this case with default header values.
Internal Server Error
func NewPublicDownloadContentByShareCodeInternalServerError ¶ added in v0.25.0
func NewPublicDownloadContentByShareCodeInternalServerError() *PublicDownloadContentByShareCodeInternalServerError
NewPublicDownloadContentByShareCodeInternalServerError creates a PublicDownloadContentByShareCodeInternalServerError with default headers values
func (*PublicDownloadContentByShareCodeInternalServerError) Error ¶ added in v0.25.0
func (o *PublicDownloadContentByShareCodeInternalServerError) Error() string
func (*PublicDownloadContentByShareCodeInternalServerError) GetPayload ¶ added in v0.25.0
func (o *PublicDownloadContentByShareCodeInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*PublicDownloadContentByShareCodeInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *PublicDownloadContentByShareCodeInternalServerError) ToJSONString() string
type PublicDownloadContentByShareCodeNotFound ¶ added in v0.25.0
type PublicDownloadContentByShareCodeNotFound struct {
}PublicDownloadContentByShareCodeNotFound handles this case with default header values.
Not Found
func NewPublicDownloadContentByShareCodeNotFound ¶ added in v0.25.0
func NewPublicDownloadContentByShareCodeNotFound() *PublicDownloadContentByShareCodeNotFound
NewPublicDownloadContentByShareCodeNotFound creates a PublicDownloadContentByShareCodeNotFound with default headers values
func (*PublicDownloadContentByShareCodeNotFound) Error ¶ added in v0.25.0
func (o *PublicDownloadContentByShareCodeNotFound) Error() string
func (*PublicDownloadContentByShareCodeNotFound) GetPayload ¶ added in v0.25.0
func (o *PublicDownloadContentByShareCodeNotFound) GetPayload() *ugcclientmodels.ResponseError
func (*PublicDownloadContentByShareCodeNotFound) ToJSONString ¶ added in v0.25.0
func (o *PublicDownloadContentByShareCodeNotFound) ToJSONString() string
type PublicDownloadContentByShareCodeOK ¶ added in v0.25.0
type PublicDownloadContentByShareCodeOK struct {
}PublicDownloadContentByShareCodeOK handles this case with default header values.
OK
func NewPublicDownloadContentByShareCodeOK ¶ added in v0.25.0
func NewPublicDownloadContentByShareCodeOK() *PublicDownloadContentByShareCodeOK
NewPublicDownloadContentByShareCodeOK creates a PublicDownloadContentByShareCodeOK with default headers values
func (*PublicDownloadContentByShareCodeOK) Error ¶ added in v0.25.0
func (o *PublicDownloadContentByShareCodeOK) Error() string
func (*PublicDownloadContentByShareCodeOK) GetPayload ¶ added in v0.25.0
func (o *PublicDownloadContentByShareCodeOK) GetPayload() *ugcclientmodels.ModelsContentDownloadResponse
func (*PublicDownloadContentByShareCodeOK) ToJSONString ¶ added in v0.25.0
func (o *PublicDownloadContentByShareCodeOK) ToJSONString() string
type PublicDownloadContentByShareCodeParams ¶ added in v0.25.0
type PublicDownloadContentByShareCodeParams struct { utils.Retry Namespace string ShareCode 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 ¶ added in v0.25.0
func NewPublicDownloadContentByShareCodeParams() *PublicDownloadContentByShareCodeParams
NewPublicDownloadContentByShareCodeParams creates a new PublicDownloadContentByShareCodeParams object with the default values initialized.
func NewPublicDownloadContentByShareCodeParamsWithContext ¶ added in v0.25.0
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 ¶ added in v0.25.0
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 ¶ added in v0.25.0
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 ¶ added in v0.25.0
func (o *PublicDownloadContentByShareCodeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public download content by share code params
func (*PublicDownloadContentByShareCodeParams) SetContext ¶ added in v0.25.0
func (o *PublicDownloadContentByShareCodeParams) SetContext(ctx context.Context)
SetContext adds the context to the public download content by share code params
func (*PublicDownloadContentByShareCodeParams) SetHTTPClient ¶ added in v0.25.0
func (o *PublicDownloadContentByShareCodeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public download content by share code params
func (*PublicDownloadContentByShareCodeParams) SetHTTPClientTransport ¶ added in v0.25.0
func (o *PublicDownloadContentByShareCodeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public download content by share code params
func (*PublicDownloadContentByShareCodeParams) SetNamespace ¶ added in v0.25.0
func (o *PublicDownloadContentByShareCodeParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public download content by share code params
func (*PublicDownloadContentByShareCodeParams) SetShareCode ¶ added in v0.25.0
func (o *PublicDownloadContentByShareCodeParams) SetShareCode(shareCode string)
SetShareCode adds the shareCode to the public download content by share code params
func (*PublicDownloadContentByShareCodeParams) SetTimeout ¶ added in v0.25.0
func (o *PublicDownloadContentByShareCodeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public download content by share code params
func (*PublicDownloadContentByShareCodeParams) WithContext ¶ added in v0.25.0
func (o *PublicDownloadContentByShareCodeParams) WithContext(ctx context.Context) *PublicDownloadContentByShareCodeParams
WithContext adds the context to the public download content by share code params
func (*PublicDownloadContentByShareCodeParams) WithHTTPClient ¶ added in v0.25.0
func (o *PublicDownloadContentByShareCodeParams) WithHTTPClient(client *http.Client) *PublicDownloadContentByShareCodeParams
WithHTTPClient adds the HTTPClient to the public download content by share code params
func (*PublicDownloadContentByShareCodeParams) WithNamespace ¶ added in v0.25.0
func (o *PublicDownloadContentByShareCodeParams) WithNamespace(namespace string) *PublicDownloadContentByShareCodeParams
WithNamespace adds the namespace to the public download content by share code params
func (*PublicDownloadContentByShareCodeParams) WithShareCode ¶ added in v0.25.0
func (o *PublicDownloadContentByShareCodeParams) WithShareCode(shareCode string) *PublicDownloadContentByShareCodeParams
WithShareCode adds the shareCode to the public download content by share code params
func (*PublicDownloadContentByShareCodeParams) WithTimeout ¶ added in v0.25.0
func (o *PublicDownloadContentByShareCodeParams) WithTimeout(timeout time.Duration) *PublicDownloadContentByShareCodeParams
WithTimeout adds the timeout to the public download content by share code params
func (*PublicDownloadContentByShareCodeParams) WriteToRequest ¶ added in v0.25.0
func (o *PublicDownloadContentByShareCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicDownloadContentByShareCodeReader ¶ added in v0.25.0
type PublicDownloadContentByShareCodeReader struct {
// contains filtered or unexported fields
}
PublicDownloadContentByShareCodeReader is a Reader for the PublicDownloadContentByShareCode structure.
func (*PublicDownloadContentByShareCodeReader) ReadResponse ¶ added in v0.25.0
func (o *PublicDownloadContentByShareCodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicDownloadContentByShareCodeUnauthorized ¶ added in v0.25.0
type PublicDownloadContentByShareCodeUnauthorized struct {
}PublicDownloadContentByShareCodeUnauthorized handles this case with default header values.
Unauthorized
func NewPublicDownloadContentByShareCodeUnauthorized ¶ added in v0.25.0
func NewPublicDownloadContentByShareCodeUnauthorized() *PublicDownloadContentByShareCodeUnauthorized
NewPublicDownloadContentByShareCodeUnauthorized creates a PublicDownloadContentByShareCodeUnauthorized with default headers values
func (*PublicDownloadContentByShareCodeUnauthorized) Error ¶ added in v0.25.0
func (o *PublicDownloadContentByShareCodeUnauthorized) Error() string
func (*PublicDownloadContentByShareCodeUnauthorized) GetPayload ¶ added in v0.25.0
func (o *PublicDownloadContentByShareCodeUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*PublicDownloadContentByShareCodeUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *PublicDownloadContentByShareCodeUnauthorized) ToJSONString() string
type PublicDownloadContentPreviewInternalServerError ¶
type PublicDownloadContentPreviewInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
PublicDownloadContentPreviewInternalServerError handles this case with default header values.
Internal Server Error
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 ¶ added in v0.25.0
func (o *PublicDownloadContentPreviewInternalServerError) ToJSONString() string
type PublicDownloadContentPreviewNotFound ¶
type PublicDownloadContentPreviewNotFound struct {
Payload *ugcclientmodels.ResponseError
}
PublicDownloadContentPreviewNotFound handles this case with default header values.
Not Found
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 ¶ added in v0.25.0
func (o *PublicDownloadContentPreviewNotFound) ToJSONString() string
type PublicDownloadContentPreviewOK ¶
type PublicDownloadContentPreviewOK struct {
Payload *ugcclientmodels.ModelsGetContentPreviewResponse
}
PublicDownloadContentPreviewOK handles this case with default header values.
OK
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 ¶ added in v0.25.0
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 // 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 ¶ added in v0.17.0
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) SetHTTPClient ¶
func (o *PublicDownloadContentPreviewParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public download content preview params
func (*PublicDownloadContentPreviewParams) SetHTTPClientTransport ¶ added in v0.19.0
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.
Unauthorized
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 ¶ added in v0.25.0
func (o *PublicDownloadContentPreviewUnauthorized) ToJSONString() string
type PublicGetContentBulkBadRequest ¶ added in v0.17.0
type PublicGetContentBulkBadRequest struct {
Payload *ugcclientmodels.ResponseError
}
PublicGetContentBulkBadRequest handles this case with default header values.
Bad Request
func NewPublicGetContentBulkBadRequest ¶ added in v0.17.0
func NewPublicGetContentBulkBadRequest() *PublicGetContentBulkBadRequest
NewPublicGetContentBulkBadRequest creates a PublicGetContentBulkBadRequest with default headers values
func (*PublicGetContentBulkBadRequest) Error ¶ added in v0.17.0
func (o *PublicGetContentBulkBadRequest) Error() string
func (*PublicGetContentBulkBadRequest) GetPayload ¶ added in v0.17.0
func (o *PublicGetContentBulkBadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGetContentBulkBadRequest) ToJSONString ¶ added in v0.25.0
func (o *PublicGetContentBulkBadRequest) ToJSONString() string
type PublicGetContentBulkInternalServerError ¶ added in v0.17.0
type PublicGetContentBulkInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
PublicGetContentBulkInternalServerError handles this case with default header values.
Internal Server Error
func NewPublicGetContentBulkInternalServerError ¶ added in v0.17.0
func NewPublicGetContentBulkInternalServerError() *PublicGetContentBulkInternalServerError
NewPublicGetContentBulkInternalServerError creates a PublicGetContentBulkInternalServerError with default headers values
func (*PublicGetContentBulkInternalServerError) Error ¶ added in v0.17.0
func (o *PublicGetContentBulkInternalServerError) Error() string
func (*PublicGetContentBulkInternalServerError) GetPayload ¶ added in v0.17.0
func (o *PublicGetContentBulkInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGetContentBulkInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *PublicGetContentBulkInternalServerError) ToJSONString() string
type PublicGetContentBulkOK ¶ added in v0.17.0
type PublicGetContentBulkOK struct {
Payload []*ugcclientmodels.ModelsContentDownloadResponse
}
PublicGetContentBulkOK handles this case with default header values.
OK
func NewPublicGetContentBulkOK ¶ added in v0.17.0
func NewPublicGetContentBulkOK() *PublicGetContentBulkOK
NewPublicGetContentBulkOK creates a PublicGetContentBulkOK with default headers values
func (*PublicGetContentBulkOK) Error ¶ added in v0.17.0
func (o *PublicGetContentBulkOK) Error() string
func (*PublicGetContentBulkOK) GetPayload ¶ added in v0.17.0
func (o *PublicGetContentBulkOK) GetPayload() []*ugcclientmodels.ModelsContentDownloadResponse
func (*PublicGetContentBulkOK) ToJSONString ¶ added in v0.25.0
func (o *PublicGetContentBulkOK) ToJSONString() string
type PublicGetContentBulkParams ¶ added in v0.17.0
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 // 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 ¶ added in v0.17.0
func NewPublicGetContentBulkParams() *PublicGetContentBulkParams
NewPublicGetContentBulkParams creates a new PublicGetContentBulkParams object with the default values initialized.
func NewPublicGetContentBulkParamsWithContext ¶ added in v0.17.0
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 ¶ added in v0.17.0
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 ¶ added in v0.17.0
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 ¶ added in v0.17.0
func (o *PublicGetContentBulkParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get content bulk params
func (*PublicGetContentBulkParams) SetBody ¶ added in v0.17.0
func (o *PublicGetContentBulkParams) SetBody(body *ugcclientmodels.ModelsPublicGetContentBulkRequest)
SetBody adds the body to the public get content bulk params
func (*PublicGetContentBulkParams) SetContext ¶ added in v0.17.0
func (o *PublicGetContentBulkParams) SetContext(ctx context.Context)
SetContext adds the context to the public get content bulk params
func (*PublicGetContentBulkParams) SetHTTPClient ¶ added in v0.17.0
func (o *PublicGetContentBulkParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get content bulk params
func (*PublicGetContentBulkParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PublicGetContentBulkParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get content bulk params
func (*PublicGetContentBulkParams) SetNamespace ¶ added in v0.17.0
func (o *PublicGetContentBulkParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get content bulk params
func (*PublicGetContentBulkParams) SetTimeout ¶ added in v0.17.0
func (o *PublicGetContentBulkParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get content bulk params
func (*PublicGetContentBulkParams) WithBody ¶ added in v0.17.0
func (o *PublicGetContentBulkParams) WithBody(body *ugcclientmodels.ModelsPublicGetContentBulkRequest) *PublicGetContentBulkParams
WithBody adds the body to the public get content bulk params
func (*PublicGetContentBulkParams) WithContext ¶ added in v0.17.0
func (o *PublicGetContentBulkParams) WithContext(ctx context.Context) *PublicGetContentBulkParams
WithContext adds the context to the public get content bulk params
func (*PublicGetContentBulkParams) WithHTTPClient ¶ added in v0.17.0
func (o *PublicGetContentBulkParams) WithHTTPClient(client *http.Client) *PublicGetContentBulkParams
WithHTTPClient adds the HTTPClient to the public get content bulk params
func (*PublicGetContentBulkParams) WithNamespace ¶ added in v0.17.0
func (o *PublicGetContentBulkParams) WithNamespace(namespace string) *PublicGetContentBulkParams
WithNamespace adds the namespace to the public get content bulk params
func (*PublicGetContentBulkParams) WithTimeout ¶ added in v0.17.0
func (o *PublicGetContentBulkParams) WithTimeout(timeout time.Duration) *PublicGetContentBulkParams
WithTimeout adds the timeout to the public get content bulk params
func (*PublicGetContentBulkParams) WriteToRequest ¶ added in v0.17.0
func (o *PublicGetContentBulkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetContentBulkReader ¶ added in v0.17.0
type PublicGetContentBulkReader struct {
// contains filtered or unexported fields
}
PublicGetContentBulkReader is a Reader for the PublicGetContentBulk structure.
func (*PublicGetContentBulkReader) ReadResponse ¶ added in v0.17.0
func (o *PublicGetContentBulkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetContentBulkUnauthorized ¶ added in v0.17.0
type PublicGetContentBulkUnauthorized struct {
}PublicGetContentBulkUnauthorized handles this case with default header values.
Unauthorized
func NewPublicGetContentBulkUnauthorized ¶ added in v0.17.0
func NewPublicGetContentBulkUnauthorized() *PublicGetContentBulkUnauthorized
NewPublicGetContentBulkUnauthorized creates a PublicGetContentBulkUnauthorized with default headers values
func (*PublicGetContentBulkUnauthorized) Error ¶ added in v0.17.0
func (o *PublicGetContentBulkUnauthorized) Error() string
func (*PublicGetContentBulkUnauthorized) GetPayload ¶ added in v0.17.0
func (o *PublicGetContentBulkUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGetContentBulkUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *PublicGetContentBulkUnauthorized) ToJSONString() string
type PublicGetUserContentInternalServerError ¶
type PublicGetUserContentInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
PublicGetUserContentInternalServerError handles this case with default header values.
Internal Server Error
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 ¶ added in v0.25.0
func (o *PublicGetUserContentInternalServerError) ToJSONString() string
type PublicGetUserContentNotFound ¶
type PublicGetUserContentNotFound struct {
Payload *ugcclientmodels.ResponseError
}
PublicGetUserContentNotFound handles this case with default header values.
Not Found
func NewPublicGetUserContentNotFound ¶
func NewPublicGetUserContentNotFound() *PublicGetUserContentNotFound
NewPublicGetUserContentNotFound creates a PublicGetUserContentNotFound with default headers values
func (*PublicGetUserContentNotFound) Error ¶
func (o *PublicGetUserContentNotFound) Error() string
func (*PublicGetUserContentNotFound) GetPayload ¶
func (o *PublicGetUserContentNotFound) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGetUserContentNotFound) ToJSONString ¶ added in v0.25.0
func (o *PublicGetUserContentNotFound) ToJSONString() string
type PublicGetUserContentOK ¶
type PublicGetUserContentOK struct {
Payload *ugcclientmodels.ModelsPaginatedContentDownloadResponse
}
PublicGetUserContentOK handles this case with default header values.
OK
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 ¶ added in v0.25.0
func (o *PublicGetUserContentOK) ToJSONString() string
type PublicGetUserContentParams ¶
type PublicGetUserContentParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Limit number of content per page */ Limit *int64 /*Namespace namespace of the game */ Namespace string /*Offset the offset number to retrieve */ Offset *int64 /*UserID user ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // 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 ¶ added in v0.17.0
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) SetHTTPClient ¶
func (o *PublicGetUserContentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get user content params
func (*PublicGetUserContentParams) SetHTTPClientTransport ¶ added in v0.19.0
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.
Unauthorized
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 ¶ added in v0.25.0
func (o *PublicGetUserContentUnauthorized) ToJSONString() string
type PublicSearchContentInternalServerError ¶
type PublicSearchContentInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
PublicSearchContentInternalServerError handles this case with default header values.
Internal Server Error
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 ¶ added in v0.25.0
func (o *PublicSearchContentInternalServerError) ToJSONString() string
type PublicSearchContentNotFound ¶
type PublicSearchContentNotFound struct {
Payload *ugcclientmodels.ResponseError
}
PublicSearchContentNotFound handles this case with default header values.
Not Found
func NewPublicSearchContentNotFound ¶
func NewPublicSearchContentNotFound() *PublicSearchContentNotFound
NewPublicSearchContentNotFound creates a PublicSearchContentNotFound with default headers values
func (*PublicSearchContentNotFound) Error ¶
func (o *PublicSearchContentNotFound) Error() string
func (*PublicSearchContentNotFound) GetPayload ¶
func (o *PublicSearchContentNotFound) GetPayload() *ugcclientmodels.ResponseError
func (*PublicSearchContentNotFound) ToJSONString ¶ added in v0.25.0
func (o *PublicSearchContentNotFound) ToJSONString() string
type PublicSearchContentOK ¶
type PublicSearchContentOK struct {
Payload *ugcclientmodels.ModelsPaginatedContentDownloadResponse
}
PublicSearchContentOK handles this case with default header values.
OK
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 ¶ added in v0.25.0
func (o *PublicSearchContentOK) ToJSONString() string
type PublicSearchContentParams ¶
type PublicSearchContentParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Creator creator name */ Creator *string /*Isofficial filter only official contents (boolean) */ Isofficial *string /*Limit number of content per page */ Limit *int64 /*Name content name */ Name *string /*Namespace namespace of the game */ Namespace 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. default=date */ Sortby *string /*Subtype content subtype */ Subtype *string /*Tags content tag */ Tags []string /*Type content type */ Type *string /*UserID user ID */ UserID *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // 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 ¶ added in v0.17.0
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) SetHTTPClient ¶
func (o *PublicSearchContentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public search content params
func (*PublicSearchContentParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PublicSearchContentParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport 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) 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.
Unauthorized
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 ¶ added in v0.25.0
func (o *PublicSearchContentUnauthorized) ToJSONString() string
type SearchChannelSpecificContentInternalServerError ¶
type SearchChannelSpecificContentInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
SearchChannelSpecificContentInternalServerError handles this case with default header values.
Internal Server Error
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 ¶ added in v0.25.0
func (o *SearchChannelSpecificContentInternalServerError) ToJSONString() string
type SearchChannelSpecificContentNotFound ¶
type SearchChannelSpecificContentNotFound struct {
Payload *ugcclientmodels.ResponseError
}
SearchChannelSpecificContentNotFound handles this case with default header values.
Not Found
func NewSearchChannelSpecificContentNotFound ¶
func NewSearchChannelSpecificContentNotFound() *SearchChannelSpecificContentNotFound
NewSearchChannelSpecificContentNotFound creates a SearchChannelSpecificContentNotFound with default headers values
func (*SearchChannelSpecificContentNotFound) Error ¶
func (o *SearchChannelSpecificContentNotFound) Error() string
func (*SearchChannelSpecificContentNotFound) GetPayload ¶
func (o *SearchChannelSpecificContentNotFound) GetPayload() *ugcclientmodels.ResponseError
func (*SearchChannelSpecificContentNotFound) ToJSONString ¶ added in v0.25.0
func (o *SearchChannelSpecificContentNotFound) ToJSONString() string
type SearchChannelSpecificContentOK ¶
type SearchChannelSpecificContentOK struct {
Payload *ugcclientmodels.ModelsPaginatedContentDownloadResponse
}
SearchChannelSpecificContentOK handles this case with default header values.
OK
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 ¶ added in v0.25.0
func (o *SearchChannelSpecificContentOK) ToJSONString() string
type SearchChannelSpecificContentParams ¶
type SearchChannelSpecificContentParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ChannelID channel ID */ ChannelID string /*Creator creator name */ Creator *string /*Isofficial filter only official contents (boolean) */ Isofficial *string /*Limit number of content per page */ Limit *int64 /*Name content name */ Name *string /*Namespace namespace of the game */ Namespace 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. default=date */ Sortby *string /*Subtype content subtype */ Subtype *string /*Tags content tag */ Tags []string /*Type content type */ Type *string /*UserID user ID */ UserID *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // 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 ¶ added in v0.17.0
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) SetHTTPClient ¶
func (o *SearchChannelSpecificContentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search channel specific content params
func (*SearchChannelSpecificContentParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *SearchChannelSpecificContentParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport 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) 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.
Unauthorized
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 ¶ added in v0.25.0
func (o *SearchChannelSpecificContentUnauthorized) ToJSONString() string
type UpdateContentDirectBadRequest ¶
type UpdateContentDirectBadRequest struct {
Payload *ugcclientmodels.ResponseError
}
UpdateContentDirectBadRequest handles this case with default header values.
Bad Request
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 ¶ added in v0.25.0
func (o *UpdateContentDirectBadRequest) ToJSONString() string
type UpdateContentDirectInternalServerError ¶
type UpdateContentDirectInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
UpdateContentDirectInternalServerError handles this case with default header values.
Internal Server Error
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 ¶ added in v0.25.0
func (o *UpdateContentDirectInternalServerError) ToJSONString() string
type UpdateContentDirectNotFound ¶
type UpdateContentDirectNotFound struct {
Payload *ugcclientmodels.ResponseError
}
UpdateContentDirectNotFound handles this case with default header values.
Not Found
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 ¶ added in v0.25.0
func (o *UpdateContentDirectNotFound) ToJSONString() string
type UpdateContentDirectOK ¶
type UpdateContentDirectOK struct {
Payload *ugcclientmodels.ModelsCreateContentResponse
}
UpdateContentDirectOK handles this case with default header values.
OK
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 ¶ added in v0.25.0
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 // 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 ¶ added in v0.17.0
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) SetHTTPClient ¶
func (o *UpdateContentDirectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update content direct params
func (*UpdateContentDirectParams) SetHTTPClientTransport ¶ added in v0.19.0
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.
Unauthorized
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 ¶ added in v0.25.0
func (o *UpdateContentDirectUnauthorized) ToJSONString() string
type UpdateContentS3BadRequest ¶
type UpdateContentS3BadRequest struct {
Payload *ugcclientmodels.ResponseError
}
UpdateContentS3BadRequest handles this case with default header values.
Bad Request
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 ¶ added in v0.25.0
func (o *UpdateContentS3BadRequest) ToJSONString() string
type UpdateContentS3InternalServerError ¶
type UpdateContentS3InternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
UpdateContentS3InternalServerError handles this case with default header values.
Internal Server Error
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 ¶ added in v0.25.0
func (o *UpdateContentS3InternalServerError) ToJSONString() string
type UpdateContentS3NotFound ¶
type UpdateContentS3NotFound struct {
Payload *ugcclientmodels.ResponseError
}
UpdateContentS3NotFound handles this case with default header values.
Not Found
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 ¶ added in v0.25.0
func (o *UpdateContentS3NotFound) ToJSONString() string
type UpdateContentS3OK ¶
type UpdateContentS3OK struct {
Payload *ugcclientmodels.ModelsCreateContentResponse
}
UpdateContentS3OK handles this case with default header values.
OK
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 ¶ added in v0.25.0
func (o *UpdateContentS3OK) ToJSONString() string
type UpdateContentS3Params ¶
type UpdateContentS3Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *ugcclientmodels.ModelsCreateContentRequestS3 /*ChannelID channel ID */ ChannelID string /*ContentID content ID */ ContentID string /*Namespace namespace of the game */ Namespace string /*UserID user ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
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 ¶ added in v0.17.0
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.ModelsCreateContentRequestS3)
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) SetHTTPClient ¶
func (o *UpdateContentS3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update content s3 params
func (*UpdateContentS3Params) SetHTTPClientTransport ¶ added in v0.19.0
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.ModelsCreateContentRequestS3) *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.
Unauthorized
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 ¶ added in v0.25.0
func (o *UpdateContentS3Unauthorized) ToJSONString() string
type UpdateScreenshotsBadRequest ¶
type UpdateScreenshotsBadRequest struct {
Payload *ugcclientmodels.ResponseError
}
UpdateScreenshotsBadRequest handles this case with default header values.
Bad Request
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 ¶ added in v0.25.0
func (o *UpdateScreenshotsBadRequest) ToJSONString() string
type UpdateScreenshotsInternalServerError ¶
type UpdateScreenshotsInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
UpdateScreenshotsInternalServerError handles this case with default header values.
Internal Server Error
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 ¶ added in v0.25.0
func (o *UpdateScreenshotsInternalServerError) ToJSONString() string
type UpdateScreenshotsNotFound ¶
type UpdateScreenshotsNotFound struct {
Payload *ugcclientmodels.ResponseError
}
UpdateScreenshotsNotFound handles this case with default header values.
Not Found
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 ¶ added in v0.25.0
func (o *UpdateScreenshotsNotFound) ToJSONString() string
type UpdateScreenshotsOK ¶
type UpdateScreenshotsOK struct {
Payload *ugcclientmodels.ModelsUpdateScreenshotResponse
}
UpdateScreenshotsOK handles this case with default header values.
OK
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 ¶ added in v0.25.0
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 // 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 ¶ added in v0.17.0
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) SetHTTPClient ¶
func (o *UpdateScreenshotsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update screenshots params
func (*UpdateScreenshotsParams) SetHTTPClientTransport ¶ added in v0.19.0
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.
Unauthorized
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 ¶ added in v0.25.0
func (o *UpdateScreenshotsUnauthorized) ToJSONString() string
type UploadContentScreenshotBadRequest ¶
type UploadContentScreenshotBadRequest struct {
Payload *ugcclientmodels.ResponseError
}
UploadContentScreenshotBadRequest handles this case with default header values.
Bad Request
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 ¶ added in v0.25.0
func (o *UploadContentScreenshotBadRequest) ToJSONString() string
type UploadContentScreenshotCreated ¶
type UploadContentScreenshotCreated struct {
Payload *ugcclientmodels.ModelsCreateScreenshotResponse
}
UploadContentScreenshotCreated handles this case with default header values.
Created
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 ¶ added in v0.25.0
func (o *UploadContentScreenshotCreated) ToJSONString() string
type UploadContentScreenshotInternalServerError ¶
type UploadContentScreenshotInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
UploadContentScreenshotInternalServerError handles this case with default header values.
Internal Server Error
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 ¶ added in v0.25.0
func (o *UploadContentScreenshotInternalServerError) 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 // 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 ¶ added in v0.17.0
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) SetHTTPClient ¶
func (o *UploadContentScreenshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upload content screenshot params
func (*UploadContentScreenshotParams) SetHTTPClientTransport ¶ added in v0.19.0
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.
Unauthorized
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 ¶ added in v0.25.0
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_client.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_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
- 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_screenshots_parameters.go
- update_screenshots_responses.go
- upload_content_screenshot_parameters.go
- upload_content_screenshot_responses.go