Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateContentDirect(params *CreateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*CreateContentDirectCreated, *CreateContentDirectBadRequest, ...)
- func (a *Client) CreateContentDirectShort(params *CreateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*CreateContentDirectCreated, error)
- func (a *Client) CreateContentS3(params *CreateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*CreateContentS3Created, *CreateContentS3BadRequest, ...)
- func (a *Client) CreateContentS3Short(params *CreateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*CreateContentS3Created, error)
- func (a *Client) DeleteContent(params *DeleteContentParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentNoContent, *DeleteContentUnauthorized, *DeleteContentNotFound, ...)
- func (a *Client) DeleteContentScreenshot(params *DeleteContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentScreenshotNoContent, *DeleteContentScreenshotBadRequest, ...)
- 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) DownloadContentByShareCode(params *DownloadContentByShareCodeParams, ...) (*DownloadContentByShareCodeOK, *DownloadContentByShareCodeUnauthorized, ...)
- func (a *Client) DownloadContentByShareCodeShort(params *DownloadContentByShareCodeParams, ...) (*DownloadContentByShareCodeOK, error)
- func (a *Client) PublicDownloadContentByContentID(params *PublicDownloadContentByContentIDParams, ...) (*PublicDownloadContentByContentIDOK, ...)
- func (a *Client) PublicDownloadContentByContentIDShort(params *PublicDownloadContentByContentIDParams, ...) (*PublicDownloadContentByContentIDOK, error)
- func (a *Client) PublicDownloadContentPreview(params *PublicDownloadContentPreviewParams, ...) (*PublicDownloadContentPreviewOK, *PublicDownloadContentPreviewUnauthorized, ...)
- func (a *Client) PublicDownloadContentPreviewShort(params *PublicDownloadContentPreviewParams, ...) (*PublicDownloadContentPreviewOK, error)
- func (a *Client) PublicGetUserContent(params *PublicGetUserContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserContentOK, *PublicGetUserContentUnauthorized, ...)
- func (a *Client) PublicGetUserContentShort(params *PublicGetUserContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserContentOK, error)
- func (a *Client) PublicSearchContent(params *PublicSearchContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSearchContentOK, *PublicSearchContentUnauthorized, ...)
- func (a *Client) PublicSearchContentShort(params *PublicSearchContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSearchContentOK, error)
- func (a *Client) SearchChannelSpecificContent(params *SearchChannelSpecificContentParams, ...) (*SearchChannelSpecificContentOK, *SearchChannelSpecificContentUnauthorized, ...)
- 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, ...)
- func (a *Client) UpdateContentDirectShort(params *UpdateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentDirectOK, error)
- func (a *Client) UpdateContentS3(params *UpdateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentS3OK, *UpdateContentS3BadRequest, *UpdateContentS3Unauthorized, ...)
- func (a *Client) UpdateContentS3Short(params *UpdateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentS3OK, error)
- func (a *Client) UpdateScreenshots(params *UpdateScreenshotsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateScreenshotsOK, *UpdateScreenshotsBadRequest, ...)
- func (a *Client) UpdateScreenshotsShort(params *UpdateScreenshotsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateScreenshotsOK, error)
- func (a *Client) UploadContentScreenshot(params *UploadContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*UploadContentScreenshotCreated, *UploadContentScreenshotBadRequest, ...)
- 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) 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) 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) 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) 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) 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) 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) SetContentID(contentID string)
- func (o *DeleteContentScreenshotParams) SetContext(ctx context.Context)
- func (o *DeleteContentScreenshotParams) SetHTTPClient(client *http.Client)
- 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 DownloadContentByShareCodeInternalServerError
- type DownloadContentByShareCodeNotFound
- type DownloadContentByShareCodeOK
- type DownloadContentByShareCodeParams
- func NewDownloadContentByShareCodeParams() *DownloadContentByShareCodeParams
- func NewDownloadContentByShareCodeParamsWithContext(ctx context.Context) *DownloadContentByShareCodeParams
- func NewDownloadContentByShareCodeParamsWithHTTPClient(client *http.Client) *DownloadContentByShareCodeParams
- func NewDownloadContentByShareCodeParamsWithTimeout(timeout time.Duration) *DownloadContentByShareCodeParams
- func (o *DownloadContentByShareCodeParams) SetContext(ctx context.Context)
- func (o *DownloadContentByShareCodeParams) SetHTTPClient(client *http.Client)
- func (o *DownloadContentByShareCodeParams) SetNamespace(namespace string)
- func (o *DownloadContentByShareCodeParams) SetShareCode(shareCode string)
- func (o *DownloadContentByShareCodeParams) SetTimeout(timeout time.Duration)
- func (o *DownloadContentByShareCodeParams) WithContext(ctx context.Context) *DownloadContentByShareCodeParams
- func (o *DownloadContentByShareCodeParams) WithHTTPClient(client *http.Client) *DownloadContentByShareCodeParams
- func (o *DownloadContentByShareCodeParams) WithNamespace(namespace string) *DownloadContentByShareCodeParams
- func (o *DownloadContentByShareCodeParams) WithShareCode(shareCode string) *DownloadContentByShareCodeParams
- func (o *DownloadContentByShareCodeParams) WithTimeout(timeout time.Duration) *DownloadContentByShareCodeParams
- func (o *DownloadContentByShareCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DownloadContentByShareCodeReader
- type DownloadContentByShareCodeUnauthorized
- 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) SetContentID(contentID string)
- func (o *PublicDownloadContentByContentIDParams) SetContext(ctx context.Context)
- func (o *PublicDownloadContentByContentIDParams) SetHTTPClient(client *http.Client)
- 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 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) SetContentID(contentID string)
- func (o *PublicDownloadContentPreviewParams) SetContext(ctx context.Context)
- func (o *PublicDownloadContentPreviewParams) SetHTTPClient(client *http.Client)
- 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 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) SetContext(ctx context.Context)
- func (o *PublicGetUserContentParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetUserContentParams) SetLimit(limit *string)
- func (o *PublicGetUserContentParams) SetNamespace(namespace string)
- func (o *PublicGetUserContentParams) SetOffset(offset *string)
- 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 *string) *PublicGetUserContentParams
- func (o *PublicGetUserContentParams) WithNamespace(namespace string) *PublicGetUserContentParams
- func (o *PublicGetUserContentParams) WithOffset(offset *string) *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) SetContext(ctx context.Context)
- func (o *PublicSearchContentParams) SetCreator(creator *string)
- func (o *PublicSearchContentParams) SetHTTPClient(client *http.Client)
- func (o *PublicSearchContentParams) SetIsofficial(isofficial *string)
- func (o *PublicSearchContentParams) SetLimit(limit *string)
- func (o *PublicSearchContentParams) SetName(name *string)
- func (o *PublicSearchContentParams) SetNamespace(namespace string)
- func (o *PublicSearchContentParams) SetOffset(offset *string)
- 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 *string) *PublicSearchContentParams
- func (o *PublicSearchContentParams) WithName(name *string) *PublicSearchContentParams
- func (o *PublicSearchContentParams) WithNamespace(namespace string) *PublicSearchContentParams
- func (o *PublicSearchContentParams) WithOffset(offset *string) *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) 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) SetIsofficial(isofficial *string)
- func (o *SearchChannelSpecificContentParams) SetLimit(limit *string)
- func (o *SearchChannelSpecificContentParams) SetName(name *string)
- func (o *SearchChannelSpecificContentParams) SetNamespace(namespace string)
- func (o *SearchChannelSpecificContentParams) SetOffset(offset *string)
- 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 *string) *SearchChannelSpecificContentParams
- func (o *SearchChannelSpecificContentParams) WithName(name *string) *SearchChannelSpecificContentParams
- func (o *SearchChannelSpecificContentParams) WithNamespace(namespace string) *SearchChannelSpecificContentParams
- func (o *SearchChannelSpecificContentParams) WithOffset(offset *string) *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) 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) 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) 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) 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) 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) 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) 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) 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 nr public content API
func (*Client) CreateContentDirect ¶
func (a *Client) CreateContentDirect(params *CreateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*CreateContentDirectCreated, *CreateContentDirectBadRequest, *CreateContentDirectUnauthorized, *CreateContentDirectInternalServerError, error)
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 ¶ added in v0.8.0
func (a *Client) CreateContentDirectShort(params *CreateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*CreateContentDirectCreated, error)
func (*Client) CreateContentS3 ¶
func (a *Client) CreateContentS3(params *CreateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*CreateContentS3Created, *CreateContentS3BadRequest, *CreateContentS3Unauthorized, *CreateContentS3InternalServerError, error)
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.
func (*Client) CreateContentS3Short ¶ added in v0.8.0
func (a *Client) CreateContentS3Short(params *CreateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*CreateContentS3Created, error)
func (*Client) DeleteContent ¶
func (a *Client) DeleteContent(params *DeleteContentParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentNoContent, *DeleteContentUnauthorized, *DeleteContentNotFound, *DeleteContentInternalServerError, error)
DeleteContent deletes content
Required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENT [DELETE]</b>.
func (*Client) DeleteContentScreenshot ¶
func (a *Client) DeleteContentScreenshot(params *DeleteContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentScreenshotNoContent, *DeleteContentScreenshotBadRequest, *DeleteContentScreenshotUnauthorized, *DeleteContentScreenshotNotFound, *DeleteContentScreenshotInternalServerError, error)
DeleteContentScreenshot deletes screenshots content
Required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENT [DELETE]</b>.
func (*Client) DeleteContentScreenshotShort ¶ added in v0.8.0
func (a *Client) DeleteContentScreenshotShort(params *DeleteContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentScreenshotNoContent, error)
func (*Client) DeleteContentShort ¶ added in v0.8.0
func (a *Client) DeleteContentShort(params *DeleteContentParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentNoContent, error)
func (*Client) DownloadContentByShareCode ¶
func (a *Client) DownloadContentByShareCode(params *DownloadContentByShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*DownloadContentByShareCodeOK, *DownloadContentByShareCodeUnauthorized, *DownloadContentByShareCodeNotFound, *DownloadContentByShareCodeInternalServerError, error)
DownloadContentByShareCode gets content by sharecode
Requires valid user token
func (*Client) DownloadContentByShareCodeShort ¶ added in v0.8.0
func (a *Client) DownloadContentByShareCodeShort(params *DownloadContentByShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*DownloadContentByShareCodeOK, error)
func (*Client) PublicDownloadContentByContentID ¶
func (a *Client) PublicDownloadContentByContentID(params *PublicDownloadContentByContentIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDownloadContentByContentIDOK, *PublicDownloadContentByContentIDUnauthorized, *PublicDownloadContentByContentIDNotFound, *PublicDownloadContentByContentIDInternalServerError, error)
PublicDownloadContentByContentID gets user specific content
Requires valid user token
func (*Client) PublicDownloadContentByContentIDShort ¶ added in v0.8.0
func (a *Client) PublicDownloadContentByContentIDShort(params *PublicDownloadContentByContentIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDownloadContentByContentIDOK, error)
func (*Client) PublicDownloadContentPreview ¶
func (a *Client) PublicDownloadContentPreview(params *PublicDownloadContentPreviewParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDownloadContentPreviewOK, *PublicDownloadContentPreviewUnauthorized, *PublicDownloadContentPreviewNotFound, *PublicDownloadContentPreviewInternalServerError, error)
PublicDownloadContentPreview gets content preview
Requires valid user token
func (*Client) PublicDownloadContentPreviewShort ¶ added in v0.8.0
func (a *Client) PublicDownloadContentPreviewShort(params *PublicDownloadContentPreviewParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDownloadContentPreviewOK, error)
func (*Client) PublicGetUserContent ¶
func (a *Client) PublicGetUserContent(params *PublicGetUserContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserContentOK, *PublicGetUserContentUnauthorized, *PublicGetUserContentNotFound, *PublicGetUserContentInternalServerError, error)
PublicGetUserContent gets user s generated contents
Required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENT [READ]</b>.
func (*Client) PublicGetUserContentShort ¶ added in v0.8.0
func (a *Client) PublicGetUserContentShort(params *PublicGetUserContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserContentOK, error)
func (*Client) PublicSearchContent ¶
func (a *Client) PublicSearchContent(params *PublicSearchContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSearchContentOK, *PublicSearchContentUnauthorized, *PublicSearchContentNotFound, *PublicSearchContentInternalServerError, error)
PublicSearchContent searches contents
Requires valid user token
func (*Client) PublicSearchContentShort ¶ added in v0.8.0
func (a *Client) PublicSearchContentShort(params *PublicSearchContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSearchContentOK, error)
func (*Client) SearchChannelSpecificContent ¶
func (a *Client) SearchChannelSpecificContent(params *SearchChannelSpecificContentParams, authInfo runtime.ClientAuthInfoWriter) (*SearchChannelSpecificContentOK, *SearchChannelSpecificContentUnauthorized, *SearchChannelSpecificContentNotFound, *SearchChannelSpecificContentInternalServerError, error)
SearchChannelSpecificContent searches contents specific to a channel
Requires valid user token
func (*Client) SearchChannelSpecificContentShort ¶ added in v0.8.0
func (a *Client) SearchChannelSpecificContentShort(params *SearchChannelSpecificContentParams, authInfo runtime.ClientAuthInfoWriter) (*SearchChannelSpecificContentOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateContentDirect ¶
func (a *Client) UpdateContentDirect(params *UpdateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentDirectOK, *UpdateContentDirectBadRequest, *UpdateContentDirectUnauthorized, *UpdateContentDirectNotFound, *UpdateContentDirectInternalServerError, error)
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 ¶ added in v0.8.0
func (a *Client) UpdateContentDirectShort(params *UpdateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentDirectOK, error)
func (*Client) UpdateContentS3 ¶
func (a *Client) UpdateContentS3(params *UpdateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentS3OK, *UpdateContentS3BadRequest, *UpdateContentS3Unauthorized, *UpdateContentS3NotFound, *UpdateContentS3InternalServerError, error)
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.
func (*Client) UpdateContentS3Short ¶ added in v0.8.0
func (a *Client) UpdateContentS3Short(params *UpdateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentS3OK, error)
func (*Client) UpdateScreenshots ¶
func (a *Client) UpdateScreenshots(params *UpdateScreenshotsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateScreenshotsOK, *UpdateScreenshotsBadRequest, *UpdateScreenshotsUnauthorized, *UpdateScreenshotsNotFound, *UpdateScreenshotsInternalServerError, error)
UpdateScreenshots updates screenshot of content Required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE]</b>.\n Maximum description length: 1024.
func (*Client) UpdateScreenshotsShort ¶ added in v0.8.0
func (a *Client) UpdateScreenshotsShort(params *UpdateScreenshotsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateScreenshotsOK, error)
func (*Client) UploadContentScreenshot ¶
func (a *Client) UploadContentScreenshot(params *UploadContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*UploadContentScreenshotCreated, *UploadContentScreenshotBadRequest, *UploadContentScreenshotUnauthorized, *UploadContentScreenshotInternalServerError, error)
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 ¶ added in v0.8.0
func (a *Client) UploadContentScreenshotShort(params *UploadContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*UploadContentScreenshotCreated, error)
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) 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 nr 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
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
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
type CreateContentDirectParams ¶
type CreateContentDirectParams struct { /*Body*/ Body *ugcclientmodels.ModelsCreateContentRequest /*ChannelID channel ID */ ChannelID string /*Namespace namespace of the game */ Namespace string /*UserID user ID */ UserID string 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) 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) 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
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
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
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
type CreateContentS3Params ¶
type CreateContentS3Params struct { /*Body*/ Body *ugcclientmodels.ModelsCreateContentRequestS3 /*ChannelID channel ID */ ChannelID string /*Namespace namespace of the game */ Namespace string /*UserID user ID */ UserID string 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) 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) 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
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
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
type DeleteContentParams ¶
type DeleteContentParams struct { /*ChannelID channel ID */ ChannelID string /*ContentID content ID */ ContentID string /*Namespace namespace of the game */ Namespace string /*UserID user ID */ UserID string 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) 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) 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
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
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
type DeleteContentScreenshotParams ¶
type DeleteContentScreenshotParams struct { /*ContentID content ID */ ContentID string /*Namespace namespace of the game */ Namespace string /*ScreenshotID screenshot ID */ ScreenshotID string /*UserID user ID */ UserID string 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) 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) 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
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
type DownloadContentByShareCodeInternalServerError ¶
type DownloadContentByShareCodeInternalServerError struct {
}DownloadContentByShareCodeInternalServerError handles this case with default header values.
Internal Server Error
func NewDownloadContentByShareCodeInternalServerError ¶
func NewDownloadContentByShareCodeInternalServerError() *DownloadContentByShareCodeInternalServerError
NewDownloadContentByShareCodeInternalServerError creates a DownloadContentByShareCodeInternalServerError with default headers values
func (*DownloadContentByShareCodeInternalServerError) Error ¶
func (o *DownloadContentByShareCodeInternalServerError) Error() string
func (*DownloadContentByShareCodeInternalServerError) GetPayload ¶
func (o *DownloadContentByShareCodeInternalServerError) GetPayload() *ugcclientmodels.ResponseError
type DownloadContentByShareCodeNotFound ¶
type DownloadContentByShareCodeNotFound struct {
}DownloadContentByShareCodeNotFound handles this case with default header values.
Not Found
func NewDownloadContentByShareCodeNotFound ¶
func NewDownloadContentByShareCodeNotFound() *DownloadContentByShareCodeNotFound
NewDownloadContentByShareCodeNotFound creates a DownloadContentByShareCodeNotFound with default headers values
func (*DownloadContentByShareCodeNotFound) Error ¶
func (o *DownloadContentByShareCodeNotFound) Error() string
func (*DownloadContentByShareCodeNotFound) GetPayload ¶
func (o *DownloadContentByShareCodeNotFound) GetPayload() *ugcclientmodels.ResponseError
type DownloadContentByShareCodeOK ¶
type DownloadContentByShareCodeOK struct {
}DownloadContentByShareCodeOK handles this case with default header values.
OK
func NewDownloadContentByShareCodeOK ¶
func NewDownloadContentByShareCodeOK() *DownloadContentByShareCodeOK
NewDownloadContentByShareCodeOK creates a DownloadContentByShareCodeOK with default headers values
func (*DownloadContentByShareCodeOK) Error ¶
func (o *DownloadContentByShareCodeOK) Error() string
func (*DownloadContentByShareCodeOK) GetPayload ¶
func (o *DownloadContentByShareCodeOK) GetPayload() *ugcclientmodels.ModelsContentDownloadResponse
type DownloadContentByShareCodeParams ¶
type DownloadContentByShareCodeParams struct { string ShareCode string // contains filtered or unexported fields }Namespace
DownloadContentByShareCodeParams contains all the parameters to send to the API endpoint for the download content by share code operation typically these are written to a http.Request
func NewDownloadContentByShareCodeParams ¶
func NewDownloadContentByShareCodeParams() *DownloadContentByShareCodeParams
NewDownloadContentByShareCodeParams creates a new DownloadContentByShareCodeParams object with the default values initialized.
func NewDownloadContentByShareCodeParamsWithContext ¶
func NewDownloadContentByShareCodeParamsWithContext(ctx context.Context) *DownloadContentByShareCodeParams
NewDownloadContentByShareCodeParamsWithContext creates a new DownloadContentByShareCodeParams object with the default values initialized, and the ability to set a context for a request
func NewDownloadContentByShareCodeParamsWithHTTPClient ¶
func NewDownloadContentByShareCodeParamsWithHTTPClient(client *http.Client) *DownloadContentByShareCodeParams
NewDownloadContentByShareCodeParamsWithHTTPClient creates a new DownloadContentByShareCodeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDownloadContentByShareCodeParamsWithTimeout ¶
func NewDownloadContentByShareCodeParamsWithTimeout(timeout time.Duration) *DownloadContentByShareCodeParams
NewDownloadContentByShareCodeParamsWithTimeout creates a new DownloadContentByShareCodeParams object with the default values initialized, and the ability to set a timeout on a request
func (*DownloadContentByShareCodeParams) SetContext ¶
func (o *DownloadContentByShareCodeParams) SetContext(ctx context.Context)
SetContext adds the context to the download content by share code params
func (*DownloadContentByShareCodeParams) SetHTTPClient ¶
func (o *DownloadContentByShareCodeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the download content by share code params
func (*DownloadContentByShareCodeParams) SetNamespace ¶
func (o *DownloadContentByShareCodeParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the download content by share code params
func (*DownloadContentByShareCodeParams) SetShareCode ¶
func (o *DownloadContentByShareCodeParams) SetShareCode(shareCode string)
SetShareCode adds the shareCode to the download content by share code params
func (*DownloadContentByShareCodeParams) SetTimeout ¶
func (o *DownloadContentByShareCodeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the download content by share code params
func (*DownloadContentByShareCodeParams) WithContext ¶
func (o *DownloadContentByShareCodeParams) WithContext(ctx context.Context) *DownloadContentByShareCodeParams
WithContext adds the context to the download content by share code params
func (*DownloadContentByShareCodeParams) WithHTTPClient ¶
func (o *DownloadContentByShareCodeParams) WithHTTPClient(client *http.Client) *DownloadContentByShareCodeParams
WithHTTPClient adds the HTTPClient to the download content by share code params
func (*DownloadContentByShareCodeParams) WithNamespace ¶
func (o *DownloadContentByShareCodeParams) WithNamespace(namespace string) *DownloadContentByShareCodeParams
WithNamespace adds the namespace to the download content by share code params
func (*DownloadContentByShareCodeParams) WithShareCode ¶
func (o *DownloadContentByShareCodeParams) WithShareCode(shareCode string) *DownloadContentByShareCodeParams
WithShareCode adds the shareCode to the download content by share code params
func (*DownloadContentByShareCodeParams) WithTimeout ¶
func (o *DownloadContentByShareCodeParams) WithTimeout(timeout time.Duration) *DownloadContentByShareCodeParams
WithTimeout adds the timeout to the download content by share code params
func (*DownloadContentByShareCodeParams) WriteToRequest ¶
func (o *DownloadContentByShareCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DownloadContentByShareCodeReader ¶
type DownloadContentByShareCodeReader struct {
// contains filtered or unexported fields
}
DownloadContentByShareCodeReader is a Reader for the DownloadContentByShareCode structure.
func (*DownloadContentByShareCodeReader) ReadResponse ¶
func (o *DownloadContentByShareCodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DownloadContentByShareCodeUnauthorized ¶
type DownloadContentByShareCodeUnauthorized struct {
}DownloadContentByShareCodeUnauthorized handles this case with default header values.
Unauthorized
func NewDownloadContentByShareCodeUnauthorized ¶
func NewDownloadContentByShareCodeUnauthorized() *DownloadContentByShareCodeUnauthorized
NewDownloadContentByShareCodeUnauthorized creates a DownloadContentByShareCodeUnauthorized with default headers values
func (*DownloadContentByShareCodeUnauthorized) Error ¶
func (o *DownloadContentByShareCodeUnauthorized) Error() string
func (*DownloadContentByShareCodeUnauthorized) GetPayload ¶
func (o *DownloadContentByShareCodeUnauthorized) GetPayload() *ugcclientmodels.ResponseError
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
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
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
type PublicDownloadContentByContentIDParams ¶
type PublicDownloadContentByContentIDParams struct { /*ContentID content ID */ ContentID string /*Namespace namespace of the game */ Namespace string 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) 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) 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
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
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
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
type PublicDownloadContentPreviewParams ¶
type PublicDownloadContentPreviewParams struct { /*ContentID content ID */ ContentID string /*Namespace namespace of the game */ Namespace string 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) 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) 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
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
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
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
type PublicGetUserContentParams ¶
type PublicGetUserContentParams struct { /*Limit number of content per page */ Limit *string /*Namespace namespace of the game */ Namespace string /*Offset the offset number to retrieve */ Offset *string /*UserID user ID */ UserID string 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) 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) SetLimit ¶
func (o *PublicGetUserContentParams) SetLimit(limit *string)
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 *string)
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 *string) *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 *string) *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
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
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
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
type PublicSearchContentParams ¶
type PublicSearchContentParams struct { /*Creator creator name */ Creator *string /*Isofficial filter only official contents (boolean) */ Isofficial *string /*Limit number of content per page */ Limit *string /*Name content name */ Name *string /*Namespace namespace of the game */ Namespace string /*Offset the offset number to retrieve */ Offset *string /*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 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) 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) 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 *string)
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 *string)
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 *string) *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 *string) *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
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
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
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
type SearchChannelSpecificContentParams ¶
type SearchChannelSpecificContentParams struct { /*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 *string /*Name content name */ Name *string /*Namespace namespace of the game */ Namespace string /*Offset the offset number to retrieve */ Offset *string /*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 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) 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) 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 *string)
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 *string)
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 *string) *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 *string) *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
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
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
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
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
type UpdateContentDirectParams ¶
type UpdateContentDirectParams struct { /*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 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) 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) 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
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
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
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
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
type UpdateContentS3Params ¶
type UpdateContentS3Params struct { /*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 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) 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) 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
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
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
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
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
type UpdateScreenshotsParams ¶
type UpdateScreenshotsParams struct { /*Body*/ Body *ugcclientmodels.ModelsUpdateScreenshotRequest /*ContentID content ID */ ContentID string /*Namespace namespace of the game */ Namespace string /*UserID user ID */ UserID string 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) 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) 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
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
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
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
type UploadContentScreenshotParams ¶
type UploadContentScreenshotParams struct { /*Body*/ Body *ugcclientmodels.ModelsCreateScreenshotRequest /*ContentID content ID */ ContentID string /*Namespace namespace of the game */ Namespace string /*UserID user ID */ UserID string 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) 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) 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
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
- download_content_by_share_code_parameters.go
- download_content_by_share_code_responses.go
- nr_public_content_client.go
- public_download_content_by_content_id_parameters.go
- public_download_content_by_content_id_responses.go
- public_download_content_preview_parameters.go
- public_download_content_preview_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