Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteUserStagingContentByID(params *DeleteUserStagingContentByIDParams, ...) (*DeleteUserStagingContentByIDNoContent, ...)deprecated
- func (a *Client) DeleteUserStagingContentByIDShort(params *DeleteUserStagingContentByIDParams, ...) (*DeleteUserStagingContentByIDNoContent, error)
- func (a *Client) GetUserStagingContentByID(params *GetUserStagingContentByIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserStagingContentByIDOK, *GetUserStagingContentByIDUnauthorized, ...)deprecated
- func (a *Client) GetUserStagingContentByIDShort(params *GetUserStagingContentByIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserStagingContentByIDOK, error)
- func (a *Client) ListUserStagingContents(params *ListUserStagingContentsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserStagingContentsOK, *ListUserStagingContentsBadRequest, ...)deprecated
- func (a *Client) ListUserStagingContentsShort(params *ListUserStagingContentsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserStagingContentsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateStagingContent(params *UpdateStagingContentParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStagingContentOK, *UpdateStagingContentBadRequest, ...)deprecated
- func (a *Client) UpdateStagingContentShort(params *UpdateStagingContentParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStagingContentOK, error)
- type ClientService
- type DeleteUserStagingContentByIDForbidden
- type DeleteUserStagingContentByIDInternalServerError
- type DeleteUserStagingContentByIDNoContent
- type DeleteUserStagingContentByIDNotFound
- type DeleteUserStagingContentByIDParams
- func NewDeleteUserStagingContentByIDParams() *DeleteUserStagingContentByIDParams
- func NewDeleteUserStagingContentByIDParamsWithContext(ctx context.Context) *DeleteUserStagingContentByIDParams
- func NewDeleteUserStagingContentByIDParamsWithHTTPClient(client *http.Client) *DeleteUserStagingContentByIDParams
- func NewDeleteUserStagingContentByIDParamsWithTimeout(timeout time.Duration) *DeleteUserStagingContentByIDParams
- func (o *DeleteUserStagingContentByIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteUserStagingContentByIDParams) SetContentID(contentID string)
- func (o *DeleteUserStagingContentByIDParams) SetContext(ctx context.Context)
- func (o *DeleteUserStagingContentByIDParams) SetFlightId(flightId string)
- func (o *DeleteUserStagingContentByIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteUserStagingContentByIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteUserStagingContentByIDParams) SetNamespace(namespace string)
- func (o *DeleteUserStagingContentByIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteUserStagingContentByIDParams) SetUserID(userID string)
- func (o *DeleteUserStagingContentByIDParams) WithContentID(contentID string) *DeleteUserStagingContentByIDParams
- func (o *DeleteUserStagingContentByIDParams) WithContext(ctx context.Context) *DeleteUserStagingContentByIDParams
- func (o *DeleteUserStagingContentByIDParams) WithHTTPClient(client *http.Client) *DeleteUserStagingContentByIDParams
- func (o *DeleteUserStagingContentByIDParams) WithNamespace(namespace string) *DeleteUserStagingContentByIDParams
- func (o *DeleteUserStagingContentByIDParams) WithTimeout(timeout time.Duration) *DeleteUserStagingContentByIDParams
- func (o *DeleteUserStagingContentByIDParams) WithUserID(userID string) *DeleteUserStagingContentByIDParams
- func (o *DeleteUserStagingContentByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteUserStagingContentByIDReader
- type DeleteUserStagingContentByIDUnauthorized
- type GetUserStagingContentByIDForbidden
- type GetUserStagingContentByIDInternalServerError
- type GetUserStagingContentByIDNotFound
- type GetUserStagingContentByIDOK
- type GetUserStagingContentByIDParams
- func NewGetUserStagingContentByIDParams() *GetUserStagingContentByIDParams
- func NewGetUserStagingContentByIDParamsWithContext(ctx context.Context) *GetUserStagingContentByIDParams
- func NewGetUserStagingContentByIDParamsWithHTTPClient(client *http.Client) *GetUserStagingContentByIDParams
- func NewGetUserStagingContentByIDParamsWithTimeout(timeout time.Duration) *GetUserStagingContentByIDParams
- func (o *GetUserStagingContentByIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetUserStagingContentByIDParams) SetContentID(contentID string)
- func (o *GetUserStagingContentByIDParams) SetContext(ctx context.Context)
- func (o *GetUserStagingContentByIDParams) SetFlightId(flightId string)
- func (o *GetUserStagingContentByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetUserStagingContentByIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetUserStagingContentByIDParams) SetNamespace(namespace string)
- func (o *GetUserStagingContentByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetUserStagingContentByIDParams) SetUserID(userID string)
- func (o *GetUserStagingContentByIDParams) WithContentID(contentID string) *GetUserStagingContentByIDParams
- func (o *GetUserStagingContentByIDParams) WithContext(ctx context.Context) *GetUserStagingContentByIDParams
- func (o *GetUserStagingContentByIDParams) WithHTTPClient(client *http.Client) *GetUserStagingContentByIDParams
- func (o *GetUserStagingContentByIDParams) WithNamespace(namespace string) *GetUserStagingContentByIDParams
- func (o *GetUserStagingContentByIDParams) WithTimeout(timeout time.Duration) *GetUserStagingContentByIDParams
- func (o *GetUserStagingContentByIDParams) WithUserID(userID string) *GetUserStagingContentByIDParams
- func (o *GetUserStagingContentByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserStagingContentByIDReader
- type GetUserStagingContentByIDUnauthorized
- type ListUserStagingContentsBadRequest
- type ListUserStagingContentsForbidden
- type ListUserStagingContentsInternalServerError
- type ListUserStagingContentsOK
- type ListUserStagingContentsParams
- func NewListUserStagingContentsParams() *ListUserStagingContentsParams
- func NewListUserStagingContentsParamsWithContext(ctx context.Context) *ListUserStagingContentsParams
- func NewListUserStagingContentsParamsWithHTTPClient(client *http.Client) *ListUserStagingContentsParams
- func NewListUserStagingContentsParamsWithTimeout(timeout time.Duration) *ListUserStagingContentsParams
- func (o *ListUserStagingContentsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ListUserStagingContentsParams) SetContext(ctx context.Context)
- func (o *ListUserStagingContentsParams) SetFlightId(flightId string)
- func (o *ListUserStagingContentsParams) SetHTTPClient(client *http.Client)
- func (o *ListUserStagingContentsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ListUserStagingContentsParams) SetLimit(limit *int64)
- func (o *ListUserStagingContentsParams) SetNamespace(namespace string)
- func (o *ListUserStagingContentsParams) SetOffset(offset *int64)
- func (o *ListUserStagingContentsParams) SetSortBy(sortBy *string)
- func (o *ListUserStagingContentsParams) SetStatus(status *string)
- func (o *ListUserStagingContentsParams) SetTimeout(timeout time.Duration)
- func (o *ListUserStagingContentsParams) SetUserID(userID string)
- func (o *ListUserStagingContentsParams) WithContext(ctx context.Context) *ListUserStagingContentsParams
- func (o *ListUserStagingContentsParams) WithHTTPClient(client *http.Client) *ListUserStagingContentsParams
- func (o *ListUserStagingContentsParams) WithLimit(limit *int64) *ListUserStagingContentsParams
- func (o *ListUserStagingContentsParams) WithNamespace(namespace string) *ListUserStagingContentsParams
- func (o *ListUserStagingContentsParams) WithOffset(offset *int64) *ListUserStagingContentsParams
- func (o *ListUserStagingContentsParams) WithSortBy(sortBy *string) *ListUserStagingContentsParams
- func (o *ListUserStagingContentsParams) WithStatus(status *string) *ListUserStagingContentsParams
- func (o *ListUserStagingContentsParams) WithTimeout(timeout time.Duration) *ListUserStagingContentsParams
- func (o *ListUserStagingContentsParams) WithUserID(userID string) *ListUserStagingContentsParams
- func (o *ListUserStagingContentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListUserStagingContentsReader
- type ListUserStagingContentsUnauthorized
- type UpdateStagingContentBadRequest
- type UpdateStagingContentForbidden
- type UpdateStagingContentInternalServerError
- type UpdateStagingContentNotFound
- type UpdateStagingContentOK
- type UpdateStagingContentParams
- func NewUpdateStagingContentParams() *UpdateStagingContentParams
- func NewUpdateStagingContentParamsWithContext(ctx context.Context) *UpdateStagingContentParams
- func NewUpdateStagingContentParamsWithHTTPClient(client *http.Client) *UpdateStagingContentParams
- func NewUpdateStagingContentParamsWithTimeout(timeout time.Duration) *UpdateStagingContentParams
- func (o *UpdateStagingContentParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateStagingContentParams) SetBody(body *ugcclientmodels.ModelsUpdateStagingContentRequest)
- func (o *UpdateStagingContentParams) SetContentID(contentID string)
- func (o *UpdateStagingContentParams) SetContext(ctx context.Context)
- func (o *UpdateStagingContentParams) SetFlightId(flightId string)
- func (o *UpdateStagingContentParams) SetHTTPClient(client *http.Client)
- func (o *UpdateStagingContentParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateStagingContentParams) SetNamespace(namespace string)
- func (o *UpdateStagingContentParams) SetTimeout(timeout time.Duration)
- func (o *UpdateStagingContentParams) SetUserID(userID string)
- func (o *UpdateStagingContentParams) WithBody(body *ugcclientmodels.ModelsUpdateStagingContentRequest) *UpdateStagingContentParams
- func (o *UpdateStagingContentParams) WithContentID(contentID string) *UpdateStagingContentParams
- func (o *UpdateStagingContentParams) WithContext(ctx context.Context) *UpdateStagingContentParams
- func (o *UpdateStagingContentParams) WithHTTPClient(client *http.Client) *UpdateStagingContentParams
- func (o *UpdateStagingContentParams) WithNamespace(namespace string) *UpdateStagingContentParams
- func (o *UpdateStagingContentParams) WithTimeout(timeout time.Duration) *UpdateStagingContentParams
- func (o *UpdateStagingContentParams) WithUserID(userID string) *UpdateStagingContentParams
- func (o *UpdateStagingContentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateStagingContentReader
- type UpdateStagingContentUnauthorized
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
func (a *Client) DeleteUserStagingContentByID(params *DeleteUserStagingContentByIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserStagingContentByIDNoContent, *DeleteUserStagingContentByIDUnauthorized, *DeleteUserStagingContentByIDForbidden, *DeleteUserStagingContentByIDNotFound, *DeleteUserStagingContentByIDInternalServerError, error)
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
func (a *Client) GetUserStagingContentByID(params *GetUserStagingContentByIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserStagingContentByIDOK, *GetUserStagingContentByIDUnauthorized, *GetUserStagingContentByIDForbidden, *GetUserStagingContentByIDNotFound, *GetUserStagingContentByIDInternalServerError, error)
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
func (a *Client) ListUserStagingContents(params *ListUserStagingContentsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserStagingContentsOK, *ListUserStagingContentsBadRequest, *ListUserStagingContentsUnauthorized, *ListUserStagingContentsForbidden, *ListUserStagingContentsInternalServerError, error)
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
func (a *Client) UpdateStagingContent(params *UpdateStagingContentParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStagingContentOK, *UpdateStagingContentBadRequest, *UpdateStagingContentUnauthorized, *UpdateStagingContentForbidden, *UpdateStagingContentNotFound, *UpdateStagingContentInternalServerError, error)
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 (o *DeleteUserStagingContentByIDForbidden) Error() string
func (*DeleteUserStagingContentByIDForbidden) GetPayload ¶
func (o *DeleteUserStagingContentByIDForbidden) GetPayload() *ugcclientmodels.ResponseError
func (*DeleteUserStagingContentByIDForbidden) ToJSONString ¶
func (o *DeleteUserStagingContentByIDForbidden) ToJSONString() string
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 (o *DeleteUserStagingContentByIDInternalServerError) Error() string
func (*DeleteUserStagingContentByIDInternalServerError) GetPayload ¶
func (o *DeleteUserStagingContentByIDInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*DeleteUserStagingContentByIDInternalServerError) ToJSONString ¶
func (o *DeleteUserStagingContentByIDInternalServerError) ToJSONString() string
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 ¶
func (o *DeleteUserStagingContentByIDNoContent) Error() string
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 (o *DeleteUserStagingContentByIDNotFound) Error() string
func (*DeleteUserStagingContentByIDNotFound) GetPayload ¶
func (o *DeleteUserStagingContentByIDNotFound) GetPayload() *ugcclientmodels.ResponseError
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 ¶
func (o *DeleteUserStagingContentByIDParams) SetContext(ctx context.Context)
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 ¶
func (o *DeleteUserStagingContentByIDParams) WithContentID(contentID string) *DeleteUserStagingContentByIDParams
WithContentID adds the contentID to the delete user staging content by id params
func (*DeleteUserStagingContentByIDParams) WithContext ¶
func (o *DeleteUserStagingContentByIDParams) WithContext(ctx context.Context) *DeleteUserStagingContentByIDParams
WithContext adds the context to the delete user staging content by id params
func (*DeleteUserStagingContentByIDParams) WithHTTPClient ¶
func (o *DeleteUserStagingContentByIDParams) WithHTTPClient(client *http.Client) *DeleteUserStagingContentByIDParams
WithHTTPClient adds the HTTPClient to the delete user staging content by id params
func (*DeleteUserStagingContentByIDParams) WithNamespace ¶
func (o *DeleteUserStagingContentByIDParams) WithNamespace(namespace string) *DeleteUserStagingContentByIDParams
WithNamespace adds the namespace to the delete user staging content by id params
func (*DeleteUserStagingContentByIDParams) WithTimeout ¶
func (o *DeleteUserStagingContentByIDParams) WithTimeout(timeout time.Duration) *DeleteUserStagingContentByIDParams
WithTimeout adds the timeout to the delete user staging content by id params
func (*DeleteUserStagingContentByIDParams) WithUserID ¶
func (o *DeleteUserStagingContentByIDParams) WithUserID(userID string) *DeleteUserStagingContentByIDParams
WithUserID adds the userID to the delete user staging content by id params
func (*DeleteUserStagingContentByIDParams) WriteToRequest ¶
func (o *DeleteUserStagingContentByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *DeleteUserStagingContentByIDUnauthorized) Error() string
func (*DeleteUserStagingContentByIDUnauthorized) GetPayload ¶
func (o *DeleteUserStagingContentByIDUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*DeleteUserStagingContentByIDUnauthorized) ToJSONString ¶
func (o *DeleteUserStagingContentByIDUnauthorized) ToJSONString() string
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 (o *GetUserStagingContentByIDForbidden) Error() string
func (*GetUserStagingContentByIDForbidden) GetPayload ¶
func (o *GetUserStagingContentByIDForbidden) GetPayload() *ugcclientmodels.ResponseError
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 (o *GetUserStagingContentByIDInternalServerError) Error() string
func (*GetUserStagingContentByIDInternalServerError) GetPayload ¶
func (o *GetUserStagingContentByIDInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*GetUserStagingContentByIDInternalServerError) ToJSONString ¶
func (o *GetUserStagingContentByIDInternalServerError) ToJSONString() string
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 (o *GetUserStagingContentByIDNotFound) Error() string
func (*GetUserStagingContentByIDNotFound) GetPayload ¶
func (o *GetUserStagingContentByIDNotFound) GetPayload() *ugcclientmodels.ResponseError
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 (o *GetUserStagingContentByIDOK) Error() string
func (*GetUserStagingContentByIDOK) GetPayload ¶
func (o *GetUserStagingContentByIDOK) GetPayload() *ugcclientmodels.ModelsStagingContentResponse
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 ¶
func (o *GetUserStagingContentByIDParams) WithContentID(contentID string) *GetUserStagingContentByIDParams
WithContentID adds the contentID to the get user staging content by id params
func (*GetUserStagingContentByIDParams) WithContext ¶
func (o *GetUserStagingContentByIDParams) WithContext(ctx context.Context) *GetUserStagingContentByIDParams
WithContext adds the context to the get user staging content by id params
func (*GetUserStagingContentByIDParams) WithHTTPClient ¶
func (o *GetUserStagingContentByIDParams) WithHTTPClient(client *http.Client) *GetUserStagingContentByIDParams
WithHTTPClient adds the HTTPClient to the get user staging content by id params
func (*GetUserStagingContentByIDParams) WithNamespace ¶
func (o *GetUserStagingContentByIDParams) WithNamespace(namespace string) *GetUserStagingContentByIDParams
WithNamespace adds the namespace to the get user staging content by id params
func (*GetUserStagingContentByIDParams) WithTimeout ¶
func (o *GetUserStagingContentByIDParams) WithTimeout(timeout time.Duration) *GetUserStagingContentByIDParams
WithTimeout adds the timeout to the get user staging content by id params
func (*GetUserStagingContentByIDParams) WithUserID ¶
func (o *GetUserStagingContentByIDParams) WithUserID(userID string) *GetUserStagingContentByIDParams
WithUserID adds the userID to the get user staging content by id params
func (*GetUserStagingContentByIDParams) WriteToRequest ¶
func (o *GetUserStagingContentByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetUserStagingContentByIDUnauthorized) Error() string
func (*GetUserStagingContentByIDUnauthorized) GetPayload ¶
func (o *GetUserStagingContentByIDUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*GetUserStagingContentByIDUnauthorized) ToJSONString ¶
func (o *GetUserStagingContentByIDUnauthorized) ToJSONString() string
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 (o *ListUserStagingContentsBadRequest) Error() string
func (*ListUserStagingContentsBadRequest) GetPayload ¶
func (o *ListUserStagingContentsBadRequest) GetPayload() *ugcclientmodels.ResponseError
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 (o *ListUserStagingContentsForbidden) Error() string
func (*ListUserStagingContentsForbidden) GetPayload ¶
func (o *ListUserStagingContentsForbidden) GetPayload() *ugcclientmodels.ResponseError
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 (o *ListUserStagingContentsInternalServerError) Error() string
func (*ListUserStagingContentsInternalServerError) GetPayload ¶
func (o *ListUserStagingContentsInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*ListUserStagingContentsInternalServerError) ToJSONString ¶
func (o *ListUserStagingContentsInternalServerError) ToJSONString() string
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 (o *ListUserStagingContentsOK) GetPayload() *ugcclientmodels.ModelsPaginatedListStagingContentResponse
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 ¶
func (o *ListUserStagingContentsParams) WithContext(ctx context.Context) *ListUserStagingContentsParams
WithContext adds the context to the list user staging contents params
func (*ListUserStagingContentsParams) WithHTTPClient ¶
func (o *ListUserStagingContentsParams) WithHTTPClient(client *http.Client) *ListUserStagingContentsParams
WithHTTPClient adds the HTTPClient to the list user staging contents params
func (*ListUserStagingContentsParams) WithLimit ¶
func (o *ListUserStagingContentsParams) WithLimit(limit *int64) *ListUserStagingContentsParams
WithLimit adds the limit to the list user staging contents params
func (*ListUserStagingContentsParams) WithNamespace ¶
func (o *ListUserStagingContentsParams) WithNamespace(namespace string) *ListUserStagingContentsParams
WithNamespace adds the namespace to the list user staging contents params
func (*ListUserStagingContentsParams) WithOffset ¶
func (o *ListUserStagingContentsParams) WithOffset(offset *int64) *ListUserStagingContentsParams
WithOffset adds the offset to the list user staging contents params
func (*ListUserStagingContentsParams) WithSortBy ¶
func (o *ListUserStagingContentsParams) WithSortBy(sortBy *string) *ListUserStagingContentsParams
WithSortBy adds the sortBy to the list user staging contents params
func (*ListUserStagingContentsParams) WithStatus ¶
func (o *ListUserStagingContentsParams) WithStatus(status *string) *ListUserStagingContentsParams
WithStatus adds the status to the list user staging contents params
func (*ListUserStagingContentsParams) WithTimeout ¶
func (o *ListUserStagingContentsParams) WithTimeout(timeout time.Duration) *ListUserStagingContentsParams
WithTimeout adds the timeout to the list user staging contents params
func (*ListUserStagingContentsParams) WithUserID ¶
func (o *ListUserStagingContentsParams) WithUserID(userID string) *ListUserStagingContentsParams
WithUserID adds the userID to the list user staging contents params
func (*ListUserStagingContentsParams) WriteToRequest ¶
func (o *ListUserStagingContentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *ListUserStagingContentsUnauthorized) Error() string
func (*ListUserStagingContentsUnauthorized) GetPayload ¶
func (o *ListUserStagingContentsUnauthorized) GetPayload() *ugcclientmodels.ResponseError
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 (o *UpdateStagingContentBadRequest) Error() string
func (*UpdateStagingContentBadRequest) GetPayload ¶
func (o *UpdateStagingContentBadRequest) GetPayload() *ugcclientmodels.ResponseError
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 (o *UpdateStagingContentForbidden) Error() string
func (*UpdateStagingContentForbidden) GetPayload ¶
func (o *UpdateStagingContentForbidden) GetPayload() *ugcclientmodels.ResponseError
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 (o *UpdateStagingContentInternalServerError) Error() string
func (*UpdateStagingContentInternalServerError) GetPayload ¶
func (o *UpdateStagingContentInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateStagingContentInternalServerError) ToJSONString ¶
func (o *UpdateStagingContentInternalServerError) ToJSONString() string
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 (o *UpdateStagingContentNotFound) Error() string
func (*UpdateStagingContentNotFound) GetPayload ¶
func (o *UpdateStagingContentNotFound) GetPayload() *ugcclientmodels.ResponseError
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 (o *UpdateStagingContentOK) GetPayload() *ugcclientmodels.ModelsStagingContentResponse
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 ¶
func (o *UpdateStagingContentParams) SetBody(body *ugcclientmodels.ModelsUpdateStagingContentRequest)
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 ¶
func (o *UpdateStagingContentParams) WithBody(body *ugcclientmodels.ModelsUpdateStagingContentRequest) *UpdateStagingContentParams
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 ¶
func (o *UpdateStagingContentParams) WithContext(ctx context.Context) *UpdateStagingContentParams
WithContext adds the context to the update staging content params
func (*UpdateStagingContentParams) WithHTTPClient ¶
func (o *UpdateStagingContentParams) WithHTTPClient(client *http.Client) *UpdateStagingContentParams
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 ¶
func (o *UpdateStagingContentParams) WithTimeout(timeout time.Duration) *UpdateStagingContentParams
WithTimeout adds the timeout to the update staging content params
func (*UpdateStagingContentParams) WithUserID ¶
func (o *UpdateStagingContentParams) WithUserID(userID string) *UpdateStagingContentParams
WithUserID adds the userID to the update staging content params
func (*UpdateStagingContentParams) WriteToRequest ¶
func (o *UpdateStagingContentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *UpdateStagingContentUnauthorized) Error() string
func (*UpdateStagingContentUnauthorized) GetPayload ¶
func (o *UpdateStagingContentUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateStagingContentUnauthorized) ToJSONString ¶
func (o *UpdateStagingContentUnauthorized) ToJSONString() string
Source Files ¶
- delete_user_staging_content_by_id_parameters.go
- delete_user_staging_content_by_id_responses.go
- get_user_staging_content_by_id_parameters.go
- get_user_staging_content_by_id_responses.go
- list_user_staging_contents_parameters.go
- list_user_staging_contents_responses.go
- public_staging_content_client.go
- update_staging_content_parameters.go
- update_staging_content_responses.go