public_staging_content

package
v0.70.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MIT Imports: 16 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 staging content API

func (*Client) DeleteUserStagingContentByID deprecated

Deprecated: 2022-08-10 - Use DeleteUserStagingContentByIDShort instead.

DeleteUserStagingContentByID delete user staging content by id Delete user staging content by ID

func (*Client) DeleteUserStagingContentByIDShort

func (a *Client) DeleteUserStagingContentByIDShort(params *DeleteUserStagingContentByIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserStagingContentByIDNoContent, error)

DeleteUserStagingContentByIDShort delete user staging content by id Delete user staging content by ID

func (*Client) GetUserStagingContentByID deprecated

Deprecated: 2022-08-10 - Use GetUserStagingContentByIDShort instead.

GetUserStagingContentByID get user staging content by id Get user staging content by ID

func (*Client) GetUserStagingContentByIDShort

func (a *Client) GetUserStagingContentByIDShort(params *GetUserStagingContentByIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserStagingContentByIDOK, error)

GetUserStagingContentByIDShort get user staging content by id Get user staging content by ID

func (*Client) ListUserStagingContents deprecated

Deprecated: 2022-08-10 - Use ListUserStagingContentsShort instead.

ListUserStagingContents list user staging contents List user staging contents

func (*Client) ListUserStagingContentsShort

func (a *Client) ListUserStagingContentsShort(params *ListUserStagingContentsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserStagingContentsOK, error)

ListUserStagingContentsShort list user staging contents List user staging contents

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateStagingContent deprecated

Deprecated: 2022-08-10 - Use UpdateStagingContentShort instead.

UpdateStagingContent update staging content Update staging content

func (*Client) UpdateStagingContentShort

func (a *Client) UpdateStagingContentShort(params *UpdateStagingContentParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStagingContentOK, error)

UpdateStagingContentShort update staging content Update staging content

type ClientService

type ClientService interface {
	ListUserStagingContents(params *ListUserStagingContentsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserStagingContentsOK, *ListUserStagingContentsBadRequest, *ListUserStagingContentsUnauthorized, *ListUserStagingContentsForbidden, *ListUserStagingContentsInternalServerError, error)
	ListUserStagingContentsShort(params *ListUserStagingContentsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserStagingContentsOK, error)
	GetUserStagingContentByID(params *GetUserStagingContentByIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserStagingContentByIDOK, *GetUserStagingContentByIDUnauthorized, *GetUserStagingContentByIDForbidden, *GetUserStagingContentByIDNotFound, *GetUserStagingContentByIDInternalServerError, error)
	GetUserStagingContentByIDShort(params *GetUserStagingContentByIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserStagingContentByIDOK, error)
	UpdateStagingContent(params *UpdateStagingContentParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStagingContentOK, *UpdateStagingContentBadRequest, *UpdateStagingContentUnauthorized, *UpdateStagingContentForbidden, *UpdateStagingContentNotFound, *UpdateStagingContentInternalServerError, error)
	UpdateStagingContentShort(params *UpdateStagingContentParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStagingContentOK, error)
	DeleteUserStagingContentByID(params *DeleteUserStagingContentByIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserStagingContentByIDNoContent, *DeleteUserStagingContentByIDUnauthorized, *DeleteUserStagingContentByIDForbidden, *DeleteUserStagingContentByIDNotFound, *DeleteUserStagingContentByIDInternalServerError, error)
	DeleteUserStagingContentByIDShort(params *DeleteUserStagingContentByIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserStagingContentByIDNoContent, 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 staging content API client.

type DeleteUserStagingContentByIDForbidden

type DeleteUserStagingContentByIDForbidden struct {
	Payload *ugcclientmodels.ResponseError
}

DeleteUserStagingContentByIDForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewDeleteUserStagingContentByIDForbidden

func NewDeleteUserStagingContentByIDForbidden() *DeleteUserStagingContentByIDForbidden

NewDeleteUserStagingContentByIDForbidden creates a DeleteUserStagingContentByIDForbidden with default headers values

func (*DeleteUserStagingContentByIDForbidden) Error

func (*DeleteUserStagingContentByIDForbidden) GetPayload

func (*DeleteUserStagingContentByIDForbidden) ToJSONString

type DeleteUserStagingContentByIDInternalServerError

type DeleteUserStagingContentByIDInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

DeleteUserStagingContentByIDInternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>774418</td><td>unable to delete staging content</td></tr></table>

func NewDeleteUserStagingContentByIDInternalServerError

func NewDeleteUserStagingContentByIDInternalServerError() *DeleteUserStagingContentByIDInternalServerError

NewDeleteUserStagingContentByIDInternalServerError creates a DeleteUserStagingContentByIDInternalServerError with default headers values

func (*DeleteUserStagingContentByIDInternalServerError) Error

func (*DeleteUserStagingContentByIDInternalServerError) GetPayload

func (*DeleteUserStagingContentByIDInternalServerError) ToJSONString

type DeleteUserStagingContentByIDNoContent

type DeleteUserStagingContentByIDNoContent struct {
}

DeleteUserStagingContentByIDNoContent handles this case with default header values.

staging content deleted

func NewDeleteUserStagingContentByIDNoContent

func NewDeleteUserStagingContentByIDNoContent() *DeleteUserStagingContentByIDNoContent

NewDeleteUserStagingContentByIDNoContent creates a DeleteUserStagingContentByIDNoContent with default headers values

func (*DeleteUserStagingContentByIDNoContent) Error

type DeleteUserStagingContentByIDNotFound

type DeleteUserStagingContentByIDNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

DeleteUserStagingContentByIDNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>774417</td><td>staging content not found</td></tr></table>

func NewDeleteUserStagingContentByIDNotFound

func NewDeleteUserStagingContentByIDNotFound() *DeleteUserStagingContentByIDNotFound

NewDeleteUserStagingContentByIDNotFound creates a DeleteUserStagingContentByIDNotFound with default headers values

func (*DeleteUserStagingContentByIDNotFound) Error

func (*DeleteUserStagingContentByIDNotFound) GetPayload

func (*DeleteUserStagingContentByIDNotFound) ToJSONString

func (o *DeleteUserStagingContentByIDNotFound) ToJSONString() string

type DeleteUserStagingContentByIDParams

type DeleteUserStagingContentByIDParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ContentID
	  content ID

	*/
	ContentID string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  user ID

	*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

DeleteUserStagingContentByIDParams contains all the parameters to send to the API endpoint for the delete user staging content by id operation typically these are written to a http.Request

func NewDeleteUserStagingContentByIDParams

func NewDeleteUserStagingContentByIDParams() *DeleteUserStagingContentByIDParams

NewDeleteUserStagingContentByIDParams creates a new DeleteUserStagingContentByIDParams object with the default values initialized.

func NewDeleteUserStagingContentByIDParamsWithContext

func NewDeleteUserStagingContentByIDParamsWithContext(ctx context.Context) *DeleteUserStagingContentByIDParams

NewDeleteUserStagingContentByIDParamsWithContext creates a new DeleteUserStagingContentByIDParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteUserStagingContentByIDParamsWithHTTPClient

func NewDeleteUserStagingContentByIDParamsWithHTTPClient(client *http.Client) *DeleteUserStagingContentByIDParams

NewDeleteUserStagingContentByIDParamsWithHTTPClient creates a new DeleteUserStagingContentByIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteUserStagingContentByIDParamsWithTimeout

func NewDeleteUserStagingContentByIDParamsWithTimeout(timeout time.Duration) *DeleteUserStagingContentByIDParams

NewDeleteUserStagingContentByIDParamsWithTimeout creates a new DeleteUserStagingContentByIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteUserStagingContentByIDParams) SetAuthInfoWriter

func (o *DeleteUserStagingContentByIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the delete user staging content by id params

func (*DeleteUserStagingContentByIDParams) SetContentID

func (o *DeleteUserStagingContentByIDParams) SetContentID(contentID string)

SetContentID adds the contentId to the delete user staging content by id params

func (*DeleteUserStagingContentByIDParams) SetContext

SetContext adds the context to the delete user staging content by id params

func (*DeleteUserStagingContentByIDParams) SetFlightId added in v0.63.0

func (o *DeleteUserStagingContentByIDParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*DeleteUserStagingContentByIDParams) SetHTTPClient

func (o *DeleteUserStagingContentByIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete user staging content by id params

func (*DeleteUserStagingContentByIDParams) SetHTTPClientTransport

func (o *DeleteUserStagingContentByIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the delete user staging content by id params

func (*DeleteUserStagingContentByIDParams) SetNamespace

func (o *DeleteUserStagingContentByIDParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete user staging content by id params

func (*DeleteUserStagingContentByIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete user staging content by id params

func (*DeleteUserStagingContentByIDParams) SetUserID

func (o *DeleteUserStagingContentByIDParams) SetUserID(userID string)

SetUserID adds the userId to the delete user staging content by id params

func (*DeleteUserStagingContentByIDParams) WithContentID

WithContentID adds the contentID to the delete user staging content by id params

func (*DeleteUserStagingContentByIDParams) WithContext

WithContext adds the context to the delete user staging content by id params

func (*DeleteUserStagingContentByIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete user staging content by id params

func (*DeleteUserStagingContentByIDParams) WithNamespace

WithNamespace adds the namespace to the delete user staging content by id params

func (*DeleteUserStagingContentByIDParams) WithTimeout

WithTimeout adds the timeout to the delete user staging content by id params

func (*DeleteUserStagingContentByIDParams) WithUserID

WithUserID adds the userID to the delete user staging content by id params

func (*DeleteUserStagingContentByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteUserStagingContentByIDReader

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

DeleteUserStagingContentByIDReader is a Reader for the DeleteUserStagingContentByID structure.

func (*DeleteUserStagingContentByIDReader) ReadResponse

func (o *DeleteUserStagingContentByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteUserStagingContentByIDUnauthorized

type DeleteUserStagingContentByIDUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

DeleteUserStagingContentByIDUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewDeleteUserStagingContentByIDUnauthorized

func NewDeleteUserStagingContentByIDUnauthorized() *DeleteUserStagingContentByIDUnauthorized

NewDeleteUserStagingContentByIDUnauthorized creates a DeleteUserStagingContentByIDUnauthorized with default headers values

func (*DeleteUserStagingContentByIDUnauthorized) Error

func (*DeleteUserStagingContentByIDUnauthorized) GetPayload

func (*DeleteUserStagingContentByIDUnauthorized) ToJSONString

type GetUserStagingContentByIDForbidden

type GetUserStagingContentByIDForbidden struct {
	Payload *ugcclientmodels.ResponseError
}

GetUserStagingContentByIDForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewGetUserStagingContentByIDForbidden

func NewGetUserStagingContentByIDForbidden() *GetUserStagingContentByIDForbidden

NewGetUserStagingContentByIDForbidden creates a GetUserStagingContentByIDForbidden with default headers values

func (*GetUserStagingContentByIDForbidden) Error

func (*GetUserStagingContentByIDForbidden) GetPayload

func (*GetUserStagingContentByIDForbidden) ToJSONString

func (o *GetUserStagingContentByIDForbidden) ToJSONString() string

type GetUserStagingContentByIDInternalServerError

type GetUserStagingContentByIDInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

GetUserStagingContentByIDInternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>774402</td><td>unable to get staging content</td></tr><tr><td>774403</td><td>unable to generate presigned URL</td></tr></table>

func NewGetUserStagingContentByIDInternalServerError

func NewGetUserStagingContentByIDInternalServerError() *GetUserStagingContentByIDInternalServerError

NewGetUserStagingContentByIDInternalServerError creates a GetUserStagingContentByIDInternalServerError with default headers values

func (*GetUserStagingContentByIDInternalServerError) Error

func (*GetUserStagingContentByIDInternalServerError) GetPayload

func (*GetUserStagingContentByIDInternalServerError) ToJSONString

type GetUserStagingContentByIDNotFound

type GetUserStagingContentByIDNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

GetUserStagingContentByIDNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>774401</td><td>staging content not found</td></tr></table>

func NewGetUserStagingContentByIDNotFound

func NewGetUserStagingContentByIDNotFound() *GetUserStagingContentByIDNotFound

NewGetUserStagingContentByIDNotFound creates a GetUserStagingContentByIDNotFound with default headers values

func (*GetUserStagingContentByIDNotFound) Error

func (*GetUserStagingContentByIDNotFound) GetPayload

func (*GetUserStagingContentByIDNotFound) ToJSONString

func (o *GetUserStagingContentByIDNotFound) ToJSONString() string

type GetUserStagingContentByIDOK

type GetUserStagingContentByIDOK struct {
	Payload *ugcclientmodels.ModelsStagingContentResponse
}

GetUserStagingContentByIDOK handles this case with default header values.

staging content

func NewGetUserStagingContentByIDOK

func NewGetUserStagingContentByIDOK() *GetUserStagingContentByIDOK

NewGetUserStagingContentByIDOK creates a GetUserStagingContentByIDOK with default headers values

func (*GetUserStagingContentByIDOK) Error

func (*GetUserStagingContentByIDOK) GetPayload

func (*GetUserStagingContentByIDOK) ToJSONString

func (o *GetUserStagingContentByIDOK) ToJSONString() string

type GetUserStagingContentByIDParams

type GetUserStagingContentByIDParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ContentID
	  content ID

	*/
	ContentID string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  user ID

	*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

GetUserStagingContentByIDParams contains all the parameters to send to the API endpoint for the get user staging content by id operation typically these are written to a http.Request

func NewGetUserStagingContentByIDParams

func NewGetUserStagingContentByIDParams() *GetUserStagingContentByIDParams

NewGetUserStagingContentByIDParams creates a new GetUserStagingContentByIDParams object with the default values initialized.

func NewGetUserStagingContentByIDParamsWithContext

func NewGetUserStagingContentByIDParamsWithContext(ctx context.Context) *GetUserStagingContentByIDParams

NewGetUserStagingContentByIDParamsWithContext creates a new GetUserStagingContentByIDParams object with the default values initialized, and the ability to set a context for a request

func NewGetUserStagingContentByIDParamsWithHTTPClient

func NewGetUserStagingContentByIDParamsWithHTTPClient(client *http.Client) *GetUserStagingContentByIDParams

NewGetUserStagingContentByIDParamsWithHTTPClient creates a new GetUserStagingContentByIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetUserStagingContentByIDParamsWithTimeout

func NewGetUserStagingContentByIDParamsWithTimeout(timeout time.Duration) *GetUserStagingContentByIDParams

NewGetUserStagingContentByIDParamsWithTimeout creates a new GetUserStagingContentByIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetUserStagingContentByIDParams) SetAuthInfoWriter

func (o *GetUserStagingContentByIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get user staging content by id params

func (*GetUserStagingContentByIDParams) SetContentID

func (o *GetUserStagingContentByIDParams) SetContentID(contentID string)

SetContentID adds the contentId to the get user staging content by id params

func (*GetUserStagingContentByIDParams) SetContext

func (o *GetUserStagingContentByIDParams) SetContext(ctx context.Context)

SetContext adds the context to the get user staging content by id params

func (*GetUserStagingContentByIDParams) SetFlightId added in v0.63.0

func (o *GetUserStagingContentByIDParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetUserStagingContentByIDParams) SetHTTPClient

func (o *GetUserStagingContentByIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get user staging content by id params

func (*GetUserStagingContentByIDParams) SetHTTPClientTransport

func (o *GetUserStagingContentByIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get user staging content by id params

func (*GetUserStagingContentByIDParams) SetNamespace

func (o *GetUserStagingContentByIDParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get user staging content by id params

func (*GetUserStagingContentByIDParams) SetTimeout

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

SetTimeout adds the timeout to the get user staging content by id params

func (*GetUserStagingContentByIDParams) SetUserID

func (o *GetUserStagingContentByIDParams) SetUserID(userID string)

SetUserID adds the userId to the get user staging content by id params

func (*GetUserStagingContentByIDParams) WithContentID

WithContentID adds the contentID to the get user staging content by id params

func (*GetUserStagingContentByIDParams) WithContext

WithContext adds the context to the get user staging content by id params

func (*GetUserStagingContentByIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get user staging content by id params

func (*GetUserStagingContentByIDParams) WithNamespace

WithNamespace adds the namespace to the get user staging content by id params

func (*GetUserStagingContentByIDParams) WithTimeout

WithTimeout adds the timeout to the get user staging content by id params

func (*GetUserStagingContentByIDParams) WithUserID

WithUserID adds the userID to the get user staging content by id params

func (*GetUserStagingContentByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserStagingContentByIDReader

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

GetUserStagingContentByIDReader is a Reader for the GetUserStagingContentByID structure.

func (*GetUserStagingContentByIDReader) ReadResponse

func (o *GetUserStagingContentByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetUserStagingContentByIDUnauthorized

type GetUserStagingContentByIDUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

GetUserStagingContentByIDUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewGetUserStagingContentByIDUnauthorized

func NewGetUserStagingContentByIDUnauthorized() *GetUserStagingContentByIDUnauthorized

NewGetUserStagingContentByIDUnauthorized creates a GetUserStagingContentByIDUnauthorized with default headers values

func (*GetUserStagingContentByIDUnauthorized) Error

func (*GetUserStagingContentByIDUnauthorized) GetPayload

func (*GetUserStagingContentByIDUnauthorized) ToJSONString

type ListUserStagingContentsBadRequest

type ListUserStagingContentsBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

ListUserStagingContentsBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>774301</td><td>invalid paging parameter</td></tr></table>

func NewListUserStagingContentsBadRequest

func NewListUserStagingContentsBadRequest() *ListUserStagingContentsBadRequest

NewListUserStagingContentsBadRequest creates a ListUserStagingContentsBadRequest with default headers values

func (*ListUserStagingContentsBadRequest) Error

func (*ListUserStagingContentsBadRequest) GetPayload

func (*ListUserStagingContentsBadRequest) ToJSONString

func (o *ListUserStagingContentsBadRequest) ToJSONString() string

type ListUserStagingContentsForbidden

type ListUserStagingContentsForbidden struct {
	Payload *ugcclientmodels.ResponseError
}

ListUserStagingContentsForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewListUserStagingContentsForbidden

func NewListUserStagingContentsForbidden() *ListUserStagingContentsForbidden

NewListUserStagingContentsForbidden creates a ListUserStagingContentsForbidden with default headers values

func (*ListUserStagingContentsForbidden) Error

func (*ListUserStagingContentsForbidden) GetPayload

func (*ListUserStagingContentsForbidden) ToJSONString

func (o *ListUserStagingContentsForbidden) ToJSONString() string

type ListUserStagingContentsInternalServerError

type ListUserStagingContentsInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

ListUserStagingContentsInternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>774302</td><td>unable to get staging content</td></tr><tr><td>774303</td><td>unable to generate presigned URL</td></tr></table>

func NewListUserStagingContentsInternalServerError

func NewListUserStagingContentsInternalServerError() *ListUserStagingContentsInternalServerError

NewListUserStagingContentsInternalServerError creates a ListUserStagingContentsInternalServerError with default headers values

func (*ListUserStagingContentsInternalServerError) Error

func (*ListUserStagingContentsInternalServerError) GetPayload

func (*ListUserStagingContentsInternalServerError) ToJSONString

type ListUserStagingContentsOK

type ListUserStagingContentsOK struct {
	Payload *ugcclientmodels.ModelsPaginatedListStagingContentResponse
}

ListUserStagingContentsOK handles this case with default header values.

list user's staging content

func NewListUserStagingContentsOK

func NewListUserStagingContentsOK() *ListUserStagingContentsOK

NewListUserStagingContentsOK creates a ListUserStagingContentsOK with default headers values

func (*ListUserStagingContentsOK) Error

func (o *ListUserStagingContentsOK) Error() string

func (*ListUserStagingContentsOK) GetPayload

func (*ListUserStagingContentsOK) ToJSONString

func (o *ListUserStagingContentsOK) ToJSONString() string

type ListUserStagingContentsParams

type ListUserStagingContentsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  user ID

	*/
	UserID string
	/*Limit
	  number of configs per page

	*/
	Limit *int64
	/*Offset
	  offset number to retrieve

	*/
	Offset *int64
	/*SortBy
	    sort query result
	available value:
	- createdTime
	- createdTime:desc
	- createdTime:asc
	- updatedTime
	- updatedTime:desc
	- updatedTime:asc

	*/
	SortBy *string
	/*Status
	  filter by content status [*PENDING*, *REJECTED*]

	*/
	Status *string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

ListUserStagingContentsParams contains all the parameters to send to the API endpoint for the list user staging contents operation typically these are written to a http.Request

func NewListUserStagingContentsParams

func NewListUserStagingContentsParams() *ListUserStagingContentsParams

NewListUserStagingContentsParams creates a new ListUserStagingContentsParams object with the default values initialized.

func NewListUserStagingContentsParamsWithContext

func NewListUserStagingContentsParamsWithContext(ctx context.Context) *ListUserStagingContentsParams

NewListUserStagingContentsParamsWithContext creates a new ListUserStagingContentsParams object with the default values initialized, and the ability to set a context for a request

func NewListUserStagingContentsParamsWithHTTPClient

func NewListUserStagingContentsParamsWithHTTPClient(client *http.Client) *ListUserStagingContentsParams

NewListUserStagingContentsParamsWithHTTPClient creates a new ListUserStagingContentsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListUserStagingContentsParamsWithTimeout

func NewListUserStagingContentsParamsWithTimeout(timeout time.Duration) *ListUserStagingContentsParams

NewListUserStagingContentsParamsWithTimeout creates a new ListUserStagingContentsParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListUserStagingContentsParams) SetAuthInfoWriter

func (o *ListUserStagingContentsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the list user staging contents params

func (*ListUserStagingContentsParams) SetContext

func (o *ListUserStagingContentsParams) SetContext(ctx context.Context)

SetContext adds the context to the list user staging contents params

func (*ListUserStagingContentsParams) SetFlightId added in v0.63.0

func (o *ListUserStagingContentsParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*ListUserStagingContentsParams) SetHTTPClient

func (o *ListUserStagingContentsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list user staging contents params

func (*ListUserStagingContentsParams) SetHTTPClientTransport

func (o *ListUserStagingContentsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the list user staging contents params

func (*ListUserStagingContentsParams) SetLimit

func (o *ListUserStagingContentsParams) SetLimit(limit *int64)

SetLimit adds the limit to the list user staging contents params

func (*ListUserStagingContentsParams) SetNamespace

func (o *ListUserStagingContentsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the list user staging contents params

func (*ListUserStagingContentsParams) SetOffset

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

SetOffset adds the offset to the list user staging contents params

func (*ListUserStagingContentsParams) SetSortBy

func (o *ListUserStagingContentsParams) SetSortBy(sortBy *string)

SetSortBy adds the sortBy to the list user staging contents params

func (*ListUserStagingContentsParams) SetStatus

func (o *ListUserStagingContentsParams) SetStatus(status *string)

SetStatus adds the status to the list user staging contents params

func (*ListUserStagingContentsParams) SetTimeout

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

SetTimeout adds the timeout to the list user staging contents params

func (*ListUserStagingContentsParams) SetUserID

func (o *ListUserStagingContentsParams) SetUserID(userID string)

SetUserID adds the userId to the list user staging contents params

func (*ListUserStagingContentsParams) WithContext

WithContext adds the context to the list user staging contents params

func (*ListUserStagingContentsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list user staging contents params

func (*ListUserStagingContentsParams) WithLimit

WithLimit adds the limit to the list user staging contents params

func (*ListUserStagingContentsParams) WithNamespace

WithNamespace adds the namespace to the list user staging contents params

func (*ListUserStagingContentsParams) WithOffset

WithOffset adds the offset to the list user staging contents params

func (*ListUserStagingContentsParams) WithSortBy

WithSortBy adds the sortBy to the list user staging contents params

func (*ListUserStagingContentsParams) WithStatus

WithStatus adds the status to the list user staging contents params

func (*ListUserStagingContentsParams) WithTimeout

WithTimeout adds the timeout to the list user staging contents params

func (*ListUserStagingContentsParams) WithUserID

WithUserID adds the userID to the list user staging contents params

func (*ListUserStagingContentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListUserStagingContentsReader

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

ListUserStagingContentsReader is a Reader for the ListUserStagingContents structure.

func (*ListUserStagingContentsReader) ReadResponse

func (o *ListUserStagingContentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListUserStagingContentsUnauthorized

type ListUserStagingContentsUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

ListUserStagingContentsUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewListUserStagingContentsUnauthorized

func NewListUserStagingContentsUnauthorized() *ListUserStagingContentsUnauthorized

NewListUserStagingContentsUnauthorized creates a ListUserStagingContentsUnauthorized with default headers values

func (*ListUserStagingContentsUnauthorized) Error

func (*ListUserStagingContentsUnauthorized) GetPayload

func (*ListUserStagingContentsUnauthorized) ToJSONString

func (o *ListUserStagingContentsUnauthorized) ToJSONString() string

type UpdateStagingContentBadRequest

type UpdateStagingContentBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateStagingContentBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>774411</td><td>Invalid request body</td></tr></table>

func NewUpdateStagingContentBadRequest

func NewUpdateStagingContentBadRequest() *UpdateStagingContentBadRequest

NewUpdateStagingContentBadRequest creates a UpdateStagingContentBadRequest with default headers values

func (*UpdateStagingContentBadRequest) Error

func (*UpdateStagingContentBadRequest) GetPayload

func (*UpdateStagingContentBadRequest) ToJSONString

func (o *UpdateStagingContentBadRequest) ToJSONString() string

type UpdateStagingContentForbidden

type UpdateStagingContentForbidden struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateStagingContentForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>774412</td><td>user has been banned to update content</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewUpdateStagingContentForbidden

func NewUpdateStagingContentForbidden() *UpdateStagingContentForbidden

NewUpdateStagingContentForbidden creates a UpdateStagingContentForbidden with default headers values

func (*UpdateStagingContentForbidden) Error

func (*UpdateStagingContentForbidden) GetPayload

func (*UpdateStagingContentForbidden) ToJSONString

func (o *UpdateStagingContentForbidden) ToJSONString() string

type UpdateStagingContentInternalServerError

type UpdateStagingContentInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateStagingContentInternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>774414</td><td>unable to update staging content</td></tr><tr><td>774415</td><td>unable to generate presigned URL</td></tr></table>

func NewUpdateStagingContentInternalServerError

func NewUpdateStagingContentInternalServerError() *UpdateStagingContentInternalServerError

NewUpdateStagingContentInternalServerError creates a UpdateStagingContentInternalServerError with default headers values

func (*UpdateStagingContentInternalServerError) Error

func (*UpdateStagingContentInternalServerError) GetPayload

func (*UpdateStagingContentInternalServerError) ToJSONString

type UpdateStagingContentNotFound

type UpdateStagingContentNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateStagingContentNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>774413</td><td>staging content not found</td></tr></table>

func NewUpdateStagingContentNotFound

func NewUpdateStagingContentNotFound() *UpdateStagingContentNotFound

NewUpdateStagingContentNotFound creates a UpdateStagingContentNotFound with default headers values

func (*UpdateStagingContentNotFound) Error

func (*UpdateStagingContentNotFound) GetPayload

func (*UpdateStagingContentNotFound) ToJSONString

func (o *UpdateStagingContentNotFound) ToJSONString() string

type UpdateStagingContentOK

type UpdateStagingContentOK struct {
	Payload *ugcclientmodels.ModelsStagingContentResponse
}

UpdateStagingContentOK handles this case with default header values.

staging content updated

func NewUpdateStagingContentOK

func NewUpdateStagingContentOK() *UpdateStagingContentOK

NewUpdateStagingContentOK creates a UpdateStagingContentOK with default headers values

func (*UpdateStagingContentOK) Error

func (o *UpdateStagingContentOK) Error() string

func (*UpdateStagingContentOK) GetPayload

func (*UpdateStagingContentOK) ToJSONString

func (o *UpdateStagingContentOK) ToJSONString() string

type UpdateStagingContentParams

type UpdateStagingContentParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *ugcclientmodels.ModelsUpdateStagingContentRequest
	/*ContentID
	  content ID

	*/
	ContentID string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  user ID

	*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

UpdateStagingContentParams contains all the parameters to send to the API endpoint for the update staging content operation typically these are written to a http.Request

func NewUpdateStagingContentParams

func NewUpdateStagingContentParams() *UpdateStagingContentParams

NewUpdateStagingContentParams creates a new UpdateStagingContentParams object with the default values initialized.

func NewUpdateStagingContentParamsWithContext

func NewUpdateStagingContentParamsWithContext(ctx context.Context) *UpdateStagingContentParams

NewUpdateStagingContentParamsWithContext creates a new UpdateStagingContentParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateStagingContentParamsWithHTTPClient

func NewUpdateStagingContentParamsWithHTTPClient(client *http.Client) *UpdateStagingContentParams

NewUpdateStagingContentParamsWithHTTPClient creates a new UpdateStagingContentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateStagingContentParamsWithTimeout

func NewUpdateStagingContentParamsWithTimeout(timeout time.Duration) *UpdateStagingContentParams

NewUpdateStagingContentParamsWithTimeout creates a new UpdateStagingContentParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateStagingContentParams) SetAuthInfoWriter

func (o *UpdateStagingContentParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the update staging content params

func (*UpdateStagingContentParams) SetBody

SetBody adds the body to the update staging content params

func (*UpdateStagingContentParams) SetContentID

func (o *UpdateStagingContentParams) SetContentID(contentID string)

SetContentID adds the contentId to the update staging content params

func (*UpdateStagingContentParams) SetContext

func (o *UpdateStagingContentParams) SetContext(ctx context.Context)

SetContext adds the context to the update staging content params

func (*UpdateStagingContentParams) SetFlightId added in v0.63.0

func (o *UpdateStagingContentParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*UpdateStagingContentParams) SetHTTPClient

func (o *UpdateStagingContentParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update staging content params

func (*UpdateStagingContentParams) SetHTTPClientTransport

func (o *UpdateStagingContentParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the update staging content params

func (*UpdateStagingContentParams) SetNamespace

func (o *UpdateStagingContentParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update staging content params

func (*UpdateStagingContentParams) SetTimeout

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

SetTimeout adds the timeout to the update staging content params

func (*UpdateStagingContentParams) SetUserID

func (o *UpdateStagingContentParams) SetUserID(userID string)

SetUserID adds the userId to the update staging content params

func (*UpdateStagingContentParams) WithBody

WithBody adds the body to the update staging content params

func (*UpdateStagingContentParams) WithContentID

func (o *UpdateStagingContentParams) WithContentID(contentID string) *UpdateStagingContentParams

WithContentID adds the contentID to the update staging content params

func (*UpdateStagingContentParams) WithContext

WithContext adds the context to the update staging content params

func (*UpdateStagingContentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update staging content params

func (*UpdateStagingContentParams) WithNamespace

func (o *UpdateStagingContentParams) WithNamespace(namespace string) *UpdateStagingContentParams

WithNamespace adds the namespace to the update staging content params

func (*UpdateStagingContentParams) WithTimeout

WithTimeout adds the timeout to the update staging content params

func (*UpdateStagingContentParams) WithUserID

WithUserID adds the userID to the update staging content params

func (*UpdateStagingContentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateStagingContentReader

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

UpdateStagingContentReader is a Reader for the UpdateStagingContent structure.

func (*UpdateStagingContentReader) ReadResponse

func (o *UpdateStagingContentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateStagingContentUnauthorized

type UpdateStagingContentUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateStagingContentUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewUpdateStagingContentUnauthorized

func NewUpdateStagingContentUnauthorized() *UpdateStagingContentUnauthorized

NewUpdateStagingContentUnauthorized creates a UpdateStagingContentUnauthorized with default headers values

func (*UpdateStagingContentUnauthorized) Error

func (*UpdateStagingContentUnauthorized) GetPayload

func (*UpdateStagingContentUnauthorized) ToJSONString

func (o *UpdateStagingContentUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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