public_content

package
v0.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for public content API

func (*Client) CreateContentDirect

  CreateContentDirect uploads content to a channel

  Required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENT [CREATE]</b>.\n
			All request body are required except preview and tags.

func (*Client) CreateContentDirectShort

func (a *Client) CreateContentDirectShort(params *CreateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*CreateContentDirectCreated, error)

func (*Client) CreateContentS3

  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

func (a *Client) CreateContentS3Short(params *CreateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*CreateContentS3Created, error)

func (*Client) DeleteContent

DeleteContent deletes content

Required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENT [DELETE]</b>.

func (*Client) DeleteContentScreenshot

DeleteContentScreenshot deletes screenshots content

Required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENT [DELETE]</b>.

func (*Client) DeleteContentScreenshotShort

func (a *Client) DeleteContentScreenshotShort(params *DeleteContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentScreenshotNoContent, error)

func (*Client) DeleteContentShort

func (a *Client) DeleteContentShort(params *DeleteContentParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteContentNoContent, error)

func (*Client) DownloadContentByShareCode

DownloadContentByShareCode gets content by sharecode

Requires valid user token

func (*Client) DownloadContentByShareCodeShort

func (a *Client) DownloadContentByShareCodeShort(params *DownloadContentByShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*DownloadContentByShareCodeOK, error)

func (*Client) PublicDownloadContentPreview

PublicDownloadContentPreview gets content preview

Requires valid user token

func (*Client) PublicGetUserContent

PublicGetUserContent gets user s generated contents

Required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENT [READ]</b>.

func (*Client) PublicGetUserContentShort

func (a *Client) PublicGetUserContentShort(params *PublicGetUserContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserContentOK, error)

func (*Client) PublicSearchContent

PublicSearchContent searches contents

Requires valid user token

func (*Client) PublicSearchContentShort

func (a *Client) PublicSearchContentShort(params *PublicSearchContentParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSearchContentOK, error)

func (*Client) SearchChannelSpecificContent

SearchChannelSpecificContent searches contents specific to a channel

Requires valid user token

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateContentDirect

  UpdateContentDirect updates content to a channel

  Required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE]</b>.\n
				All request body are required except preview and tags.

func (*Client) UpdateContentDirectShort

func (a *Client) UpdateContentDirectShort(params *UpdateContentDirectParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentDirectOK, error)

func (*Client) UpdateContentS3

  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

func (a *Client) UpdateContentS3Short(params *UpdateContentS3Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentS3OK, error)

func (*Client) UpdateScreenshots

  UpdateScreenshots updates screenshot of content

  Required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENT [UPDATE]</b>.\n
					Maximum description length: 1024.

func (*Client) UpdateScreenshotsShort

func (a *Client) UpdateScreenshotsShort(params *UpdateScreenshotsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateScreenshotsOK, error)

func (*Client) UploadContentScreenshot

  UploadContentScreenshot uploads screenshots for content

  Required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENT [CREATE]</b>.\n
				All request body are required except for contentType field.
				contentType values is used to enforce the Content-Type header needed by the client to upload the content using the presigned URL.
				If not specified, it will use fileExtension value.
				Supported file extensions: pjp, jpg, jpeg, jfif, bmp, png. \n
				Maximum description length: 1024.

func (*Client) UploadContentScreenshotShort

func (a *Client) UploadContentScreenshotShort(params *UploadContentScreenshotParams, authInfo runtime.ClientAuthInfoWriter) (*UploadContentScreenshotCreated, error)

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)
	DownloadContentByShareCode(params *DownloadContentByShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*DownloadContentByShareCodeOK, *DownloadContentByShareCodeUnauthorized, *DownloadContentByShareCodeNotFound, *DownloadContentByShareCodeInternalServerError, error)
	DownloadContentByShareCodeShort(params *DownloadContentByShareCodeParams, authInfo runtime.ClientAuthInfoWriter) (*DownloadContentByShareCodeOK, 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 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 (*CreateContentDirectBadRequest) GetPayload

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 (*CreateContentDirectCreated) GetPayload

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 (*CreateContentDirectInternalServerError) GetPayload

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

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

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

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

WithTimeout adds the timeout to the create content direct params

func (*CreateContentDirectParams) WithUserID

WithUserID adds the userID to the create content direct params

func (*CreateContentDirectParams) WriteToRequest

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 {
	Payload *ugcclientmodels.ResponseError
}

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 (*CreateContentDirectUnauthorized) GetPayload

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

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

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 (*CreateContentS3InternalServerError) GetPayload

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

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

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

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 {
	Payload *ugcclientmodels.ResponseError
}

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 (*CreateContentS3Unauthorized) GetPayload

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 (*DeleteContentInternalServerError) GetPayload

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

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

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 (*DeleteContentScreenshotBadRequest) GetPayload

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 (*DeleteContentScreenshotInternalServerError) GetPayload

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

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 (*DeleteContentScreenshotNotFound) GetPayload

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

WithContentID adds the contentID to the delete content screenshot params

func (*DeleteContentScreenshotParams) WithContext

WithContext adds the context to the delete content screenshot params

func (*DeleteContentScreenshotParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete content screenshot params

func (*DeleteContentScreenshotParams) WithNamespace

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

WithTimeout adds the timeout to the delete content screenshot params

func (*DeleteContentScreenshotParams) WithUserID

WithUserID adds the userID to the delete content screenshot params

func (*DeleteContentScreenshotParams) WriteToRequest

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 {
	Payload *ugcclientmodels.ResponseError
}

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 (*DeleteContentScreenshotUnauthorized) GetPayload

type DeleteContentUnauthorized

type DeleteContentUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

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

type DownloadContentByShareCodeInternalServerError

type DownloadContentByShareCodeInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

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 (*DownloadContentByShareCodeInternalServerError) GetPayload

type DownloadContentByShareCodeNotFound

type DownloadContentByShareCodeNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

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 (*DownloadContentByShareCodeNotFound) GetPayload

type DownloadContentByShareCodeOK

type DownloadContentByShareCodeOK struct {
	Payload *ugcclientmodels.ModelsContentDownloadResponse
}

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 (*DownloadContentByShareCodeOK) GetPayload

type DownloadContentByShareCodeParams

type DownloadContentByShareCodeParams struct {

	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*ShareCode
	  content sharecode

	*/
	ShareCode string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

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

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

WithContext adds the context to the download content by share code params

func (*DownloadContentByShareCodeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the download content by share code params

func (*DownloadContentByShareCodeParams) WithNamespace

WithNamespace adds the namespace to the download content by share code params

func (*DownloadContentByShareCodeParams) WithShareCode

WithShareCode adds the shareCode to the download content by share code params

func (*DownloadContentByShareCodeParams) WithTimeout

WithTimeout adds the timeout to the download content by share code params

func (*DownloadContentByShareCodeParams) WriteToRequest

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 {
	Payload *ugcclientmodels.ResponseError
}

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 (*DownloadContentByShareCodeUnauthorized) GetPayload

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 (*PublicDownloadContentByContentIDInternalServerError) GetPayload

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 (*PublicDownloadContentByContentIDNotFound) GetPayload

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 (*PublicDownloadContentByContentIDOK) GetPayload

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

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

WithContentID adds the contentID to the public download content by content ID params

func (*PublicDownloadContentByContentIDParams) WithContext

WithContext adds the context to the public download content by content ID params

func (*PublicDownloadContentByContentIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public download content by content ID params

func (*PublicDownloadContentByContentIDParams) WithNamespace

WithNamespace adds the namespace to the public download content by content ID params

func (*PublicDownloadContentByContentIDParams) WithTimeout

WithTimeout adds the timeout to the public download content by content ID params

func (*PublicDownloadContentByContentIDParams) WriteToRequest

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 {
	Payload *ugcclientmodels.ResponseError
}

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 (*PublicDownloadContentByContentIDUnauthorized) GetPayload

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 (*PublicDownloadContentPreviewInternalServerError) GetPayload

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 (*PublicDownloadContentPreviewNotFound) GetPayload

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 (*PublicDownloadContentPreviewOK) GetPayload

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

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

WithContentID adds the contentID to the public download content preview params

func (*PublicDownloadContentPreviewParams) WithContext

WithContext adds the context to the public download content preview params

func (*PublicDownloadContentPreviewParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public download content preview params

func (*PublicDownloadContentPreviewParams) WithNamespace

WithNamespace adds the namespace to the public download content preview params

func (*PublicDownloadContentPreviewParams) WithTimeout

WithTimeout adds the timeout to the public download content preview params

func (*PublicDownloadContentPreviewParams) WriteToRequest

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 {
	Payload *ugcclientmodels.ResponseError
}

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 (*PublicDownloadContentPreviewUnauthorized) GetPayload

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 (*PublicGetUserContentInternalServerError) GetPayload

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 (*PublicGetUserContentNotFound) GetPayload

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

type PublicGetUserContentParams

type PublicGetUserContentParams struct {

	/*Limit
	  number of content per page

	*/
	Limit *int64
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Offset
	  the offset number to retrieve

	*/
	Offset *int64
	/*UserID
	  user ID

	*/
	UserID string

	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 *int64)

SetLimit adds the limit to the public get user content params

func (*PublicGetUserContentParams) SetNamespace

func (o *PublicGetUserContentParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get user content params

func (*PublicGetUserContentParams) SetOffset

func (o *PublicGetUserContentParams) SetOffset(offset *int64)

SetOffset adds the offset to the public get user content params

func (*PublicGetUserContentParams) SetTimeout

func (o *PublicGetUserContentParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the public get user content params

func (*PublicGetUserContentParams) SetUserID

func (o *PublicGetUserContentParams) SetUserID(userID string)

SetUserID adds the userId to the public get user content params

func (*PublicGetUserContentParams) WithContext

WithContext adds the context to the public get user content params

func (*PublicGetUserContentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get user content params

func (*PublicGetUserContentParams) WithLimit

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

WithOffset adds the offset to the public get user content params

func (*PublicGetUserContentParams) WithTimeout

WithTimeout adds the timeout to the public get user content params

func (*PublicGetUserContentParams) WithUserID

WithUserID adds the userID to the public get user content params

func (*PublicGetUserContentParams) WriteToRequest

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 {
	Payload *ugcclientmodels.ResponseError
}

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 (*PublicGetUserContentUnauthorized) GetPayload

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 (*PublicSearchContentInternalServerError) GetPayload

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 (*PublicSearchContentNotFound) GetPayload

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

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 *int64
	/*Name
	  content name

	*/
	Name *string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Offset
	  the offset number to retrieve

	*/
	Offset *int64
	/*Orderby
	  sorting order: asc, desc. default=desc

	*/
	Orderby *string
	/*Sortby
	  sorting criteria: name,download,like,date. default=date

	*/
	Sortby *string
	/*Subtype
	  content subtype

	*/
	Subtype *string
	/*Tags
	  content tag

	*/
	Tags *string
	/*Type
	  content type

	*/
	Type *string
	/*UserID
	  user ID

	*/
	UserID *string

	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 *int64)

SetLimit adds the limit to the public search content params

func (*PublicSearchContentParams) SetName

func (o *PublicSearchContentParams) SetName(name *string)

SetName adds the name to the public search content params

func (*PublicSearchContentParams) SetNamespace

func (o *PublicSearchContentParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public search content params

func (*PublicSearchContentParams) SetOffset

func (o *PublicSearchContentParams) SetOffset(offset *int64)

SetOffset adds the offset to the public search content params

func (*PublicSearchContentParams) SetOrderby

func (o *PublicSearchContentParams) SetOrderby(orderby *string)

SetOrderby adds the orderby to the public search content params

func (*PublicSearchContentParams) SetSortby

func (o *PublicSearchContentParams) SetSortby(sortby *string)

SetSortby adds the sortby to the public search content params

func (*PublicSearchContentParams) SetSubtype

func (o *PublicSearchContentParams) SetSubtype(subtype *string)

SetSubtype adds the subtype to the public search content params

func (*PublicSearchContentParams) SetTags

func (o *PublicSearchContentParams) SetTags(tags *string)

SetTags adds the tags to the public search content params

func (*PublicSearchContentParams) SetTimeout

func (o *PublicSearchContentParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the public search content params

func (*PublicSearchContentParams) SetType

func (o *PublicSearchContentParams) SetType(typeVar *string)

SetType adds the type to the public search content params

func (*PublicSearchContentParams) SetUserID

func (o *PublicSearchContentParams) SetUserID(userID *string)

SetUserID adds the userId to the public search content params

func (*PublicSearchContentParams) WithContext

WithContext adds the context to the public search content params

func (*PublicSearchContentParams) WithCreator

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

WithLimit adds the limit to the public search content params

func (*PublicSearchContentParams) WithName

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

WithOffset adds the offset to the public search content params

func (*PublicSearchContentParams) WithOrderby

WithOrderby adds the orderby to the public search content params

func (*PublicSearchContentParams) WithSortby

WithSortby adds the sortby to the public search content params

func (*PublicSearchContentParams) WithSubtype

WithSubtype adds the subtype to the public search content params

func (*PublicSearchContentParams) WithTags

WithTags adds the tags to the public search content params

func (*PublicSearchContentParams) WithTimeout

WithTimeout adds the timeout to the public search content params

func (*PublicSearchContentParams) WithType

WithType adds the typeVar to the public search content params

func (*PublicSearchContentParams) WithUserID

WithUserID adds the userID to the public search content params

func (*PublicSearchContentParams) WriteToRequest

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 {
	Payload *ugcclientmodels.ResponseError
}

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 (*PublicSearchContentUnauthorized) GetPayload

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 (*SearchChannelSpecificContentInternalServerError) GetPayload

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 (*SearchChannelSpecificContentNotFound) GetPayload

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 (*SearchChannelSpecificContentOK) GetPayload

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 *int64
	/*Name
	  content name

	*/
	Name *string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Offset
	  the offset number to retrieve

	*/
	Offset *int64
	/*Orderby
	  sorting order: asc, desc. default=desc

	*/
	Orderby *string
	/*Sortby
	  sorting criteria: name,download,like,date. default=date

	*/
	Sortby *string
	/*Subtype
	  content subtype

	*/
	Subtype *string
	/*Tags
	  content tag

	*/
	Tags *string
	/*Type
	  content type

	*/
	Type *string
	/*UserID
	  user ID

	*/
	UserID *string

	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

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 *int64)

SetLimit adds the limit to the search channel specific content params

func (*SearchChannelSpecificContentParams) SetName

func (o *SearchChannelSpecificContentParams) SetName(name *string)

SetName adds the name to the search channel specific content params

func (*SearchChannelSpecificContentParams) SetNamespace

func (o *SearchChannelSpecificContentParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the search channel specific content params

func (*SearchChannelSpecificContentParams) SetOffset

func (o *SearchChannelSpecificContentParams) SetOffset(offset *int64)

SetOffset adds the offset to the search channel specific content params

func (*SearchChannelSpecificContentParams) SetOrderby

func (o *SearchChannelSpecificContentParams) SetOrderby(orderby *string)

SetOrderby adds the orderby to the search channel specific content params

func (*SearchChannelSpecificContentParams) SetSortby

func (o *SearchChannelSpecificContentParams) SetSortby(sortby *string)

SetSortby adds the sortby to the search channel specific content params

func (*SearchChannelSpecificContentParams) SetSubtype

func (o *SearchChannelSpecificContentParams) SetSubtype(subtype *string)

SetSubtype adds the subtype to the search channel specific content params

func (*SearchChannelSpecificContentParams) SetTags

func (o *SearchChannelSpecificContentParams) SetTags(tags *string)

SetTags adds the tags to the search channel specific content params

func (*SearchChannelSpecificContentParams) SetTimeout

func (o *SearchChannelSpecificContentParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the search channel specific content params

func (*SearchChannelSpecificContentParams) SetType

func (o *SearchChannelSpecificContentParams) SetType(typeVar *string)

SetType adds the type to the search channel specific content params

func (*SearchChannelSpecificContentParams) SetUserID

func (o *SearchChannelSpecificContentParams) SetUserID(userID *string)

SetUserID adds the userId to the search channel specific content params

func (*SearchChannelSpecificContentParams) WithChannelID

WithChannelID adds the channelID to the search channel specific content params

func (*SearchChannelSpecificContentParams) WithContext

WithContext adds the context to the search channel specific content params

func (*SearchChannelSpecificContentParams) WithCreator

WithCreator adds the creator to the search channel specific content params

func (*SearchChannelSpecificContentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the search channel specific content params

func (*SearchChannelSpecificContentParams) WithIsofficial

WithIsofficial adds the isofficial to the search channel specific content params

func (*SearchChannelSpecificContentParams) WithLimit

WithLimit adds the limit to the search channel specific content params

func (*SearchChannelSpecificContentParams) WithName

WithName adds the name to the search channel specific content params

func (*SearchChannelSpecificContentParams) WithNamespace

WithNamespace adds the namespace to the search channel specific content params

func (*SearchChannelSpecificContentParams) WithOffset

WithOffset adds the offset to the search channel specific content params

func (*SearchChannelSpecificContentParams) WithOrderby

WithOrderby adds the orderby to the search channel specific content params

func (*SearchChannelSpecificContentParams) WithSortby

WithSortby adds the sortby to the search channel specific content params

func (*SearchChannelSpecificContentParams) WithSubtype

WithSubtype adds the subtype to the search channel specific content params

func (*SearchChannelSpecificContentParams) WithTags

WithTags adds the tags to the search channel specific content params

func (*SearchChannelSpecificContentParams) WithTimeout

WithTimeout adds the timeout to the search channel specific content params

func (*SearchChannelSpecificContentParams) WithType

WithType adds the typeVar to the search channel specific content params

func (*SearchChannelSpecificContentParams) WithUserID

WithUserID adds the userID to the search channel specific content params

func (*SearchChannelSpecificContentParams) WriteToRequest

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 {
	Payload *ugcclientmodels.ResponseError
}

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 (*SearchChannelSpecificContentUnauthorized) GetPayload

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 (*UpdateContentDirectBadRequest) GetPayload

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 (*UpdateContentDirectInternalServerError) GetPayload

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 (*UpdateContentDirectNotFound) GetPayload

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

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

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

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

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

WithTimeout adds the timeout to the update content direct params

func (*UpdateContentDirectParams) WithUserID

WithUserID adds the userID to the update content direct params

func (*UpdateContentDirectParams) WriteToRequest

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 {
	Payload *ugcclientmodels.ResponseError
}

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 (*UpdateContentDirectUnauthorized) GetPayload

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

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 (*UpdateContentS3InternalServerError) GetPayload

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

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

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

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

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

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 {
	Payload *ugcclientmodels.ResponseError
}

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 (*UpdateContentS3Unauthorized) GetPayload

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 (*UpdateScreenshotsBadRequest) GetPayload

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 (*UpdateScreenshotsInternalServerError) GetPayload

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

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

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

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

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

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

WithTimeout adds the timeout to the update screenshots params

func (*UpdateScreenshotsParams) WithUserID

WithUserID adds the userID to the update screenshots params

func (*UpdateScreenshotsParams) WriteToRequest

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 {
	Payload *ugcclientmodels.ResponseError
}

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 (*UpdateScreenshotsUnauthorized) GetPayload

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 (*UploadContentScreenshotBadRequest) GetPayload

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 (*UploadContentScreenshotCreated) GetPayload

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 (*UploadContentScreenshotInternalServerError) GetPayload

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

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

WithBody adds the body to the upload content screenshot params

func (*UploadContentScreenshotParams) WithContentID

WithContentID adds the contentID to the upload content screenshot params

func (*UploadContentScreenshotParams) WithContext

WithContext adds the context to the upload content screenshot params

func (*UploadContentScreenshotParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the upload content screenshot params

func (*UploadContentScreenshotParams) WithNamespace

WithNamespace adds the namespace to the upload content screenshot params

func (*UploadContentScreenshotParams) WithTimeout

WithTimeout adds the timeout to the upload content screenshot params

func (*UploadContentScreenshotParams) WithUserID

WithUserID adds the userID to the upload content screenshot params

func (*UploadContentScreenshotParams) WriteToRequest

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 {
	Payload *ugcclientmodels.ResponseError
}

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 (*UploadContentScreenshotUnauthorized) GetPayload

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL