Documentation ¶
Index ¶
- type AdminApproveStagingContentBadRequest
- type AdminApproveStagingContentForbidden
- type AdminApproveStagingContentInternalServerError
- type AdminApproveStagingContentNotFound
- type AdminApproveStagingContentOK
- type AdminApproveStagingContentParams
- func NewAdminApproveStagingContentParams() *AdminApproveStagingContentParams
- func NewAdminApproveStagingContentParamsWithContext(ctx context.Context) *AdminApproveStagingContentParams
- func NewAdminApproveStagingContentParamsWithHTTPClient(client *http.Client) *AdminApproveStagingContentParams
- func NewAdminApproveStagingContentParamsWithTimeout(timeout time.Duration) *AdminApproveStagingContentParams
- func (o *AdminApproveStagingContentParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminApproveStagingContentParams) SetBody(body *ugcclientmodels.ModelsApproveStagingContentRequest)
- func (o *AdminApproveStagingContentParams) SetContentID(contentID string)
- func (o *AdminApproveStagingContentParams) SetContext(ctx context.Context)
- func (o *AdminApproveStagingContentParams) SetFlightId(flightId string)
- func (o *AdminApproveStagingContentParams) SetHTTPClient(client *http.Client)
- func (o *AdminApproveStagingContentParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminApproveStagingContentParams) SetNamespace(namespace string)
- func (o *AdminApproveStagingContentParams) SetTimeout(timeout time.Duration)
- func (o *AdminApproveStagingContentParams) WithBody(body *ugcclientmodels.ModelsApproveStagingContentRequest) *AdminApproveStagingContentParams
- func (o *AdminApproveStagingContentParams) WithContentID(contentID string) *AdminApproveStagingContentParams
- func (o *AdminApproveStagingContentParams) WithContext(ctx context.Context) *AdminApproveStagingContentParams
- func (o *AdminApproveStagingContentParams) WithHTTPClient(client *http.Client) *AdminApproveStagingContentParams
- func (o *AdminApproveStagingContentParams) WithNamespace(namespace string) *AdminApproveStagingContentParams
- func (o *AdminApproveStagingContentParams) WithTimeout(timeout time.Duration) *AdminApproveStagingContentParams
- func (o *AdminApproveStagingContentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminApproveStagingContentReader
- type AdminApproveStagingContentUnauthorized
- type AdminGetStagingContentByIDForbidden
- type AdminGetStagingContentByIDInternalServerError
- type AdminGetStagingContentByIDNotFound
- type AdminGetStagingContentByIDOK
- type AdminGetStagingContentByIDParams
- func NewAdminGetStagingContentByIDParams() *AdminGetStagingContentByIDParams
- func NewAdminGetStagingContentByIDParamsWithContext(ctx context.Context) *AdminGetStagingContentByIDParams
- func NewAdminGetStagingContentByIDParamsWithHTTPClient(client *http.Client) *AdminGetStagingContentByIDParams
- func NewAdminGetStagingContentByIDParamsWithTimeout(timeout time.Duration) *AdminGetStagingContentByIDParams
- func (o *AdminGetStagingContentByIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetStagingContentByIDParams) SetContentID(contentID string)
- func (o *AdminGetStagingContentByIDParams) SetContext(ctx context.Context)
- func (o *AdminGetStagingContentByIDParams) SetFlightId(flightId string)
- func (o *AdminGetStagingContentByIDParams) SetHTTPClient(client *http.Client)
- func (o *AdminGetStagingContentByIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetStagingContentByIDParams) SetNamespace(namespace string)
- func (o *AdminGetStagingContentByIDParams) SetTimeout(timeout time.Duration)
- func (o *AdminGetStagingContentByIDParams) WithContentID(contentID string) *AdminGetStagingContentByIDParams
- func (o *AdminGetStagingContentByIDParams) WithContext(ctx context.Context) *AdminGetStagingContentByIDParams
- func (o *AdminGetStagingContentByIDParams) WithHTTPClient(client *http.Client) *AdminGetStagingContentByIDParams
- func (o *AdminGetStagingContentByIDParams) WithNamespace(namespace string) *AdminGetStagingContentByIDParams
- func (o *AdminGetStagingContentByIDParams) WithTimeout(timeout time.Duration) *AdminGetStagingContentByIDParams
- func (o *AdminGetStagingContentByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetStagingContentByIDReader
- type AdminGetStagingContentByIDUnauthorized
- type AdminListStagingContentsBadRequest
- type AdminListStagingContentsForbidden
- type AdminListStagingContentsInternalServerError
- type AdminListStagingContentsOK
- type AdminListStagingContentsParams
- func NewAdminListStagingContentsParams() *AdminListStagingContentsParams
- func NewAdminListStagingContentsParamsWithContext(ctx context.Context) *AdminListStagingContentsParams
- func NewAdminListStagingContentsParamsWithHTTPClient(client *http.Client) *AdminListStagingContentsParams
- func NewAdminListStagingContentsParamsWithTimeout(timeout time.Duration) *AdminListStagingContentsParams
- func (o *AdminListStagingContentsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminListStagingContentsParams) SetContext(ctx context.Context)
- func (o *AdminListStagingContentsParams) SetFlightId(flightId string)
- func (o *AdminListStagingContentsParams) SetHTTPClient(client *http.Client)
- func (o *AdminListStagingContentsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminListStagingContentsParams) SetLimit(limit *int64)
- func (o *AdminListStagingContentsParams) SetNamespace(namespace string)
- func (o *AdminListStagingContentsParams) SetOffset(offset *int64)
- func (o *AdminListStagingContentsParams) SetSortBy(sortBy *string)
- func (o *AdminListStagingContentsParams) SetStatus(status *string)
- func (o *AdminListStagingContentsParams) SetTimeout(timeout time.Duration)
- func (o *AdminListStagingContentsParams) WithContext(ctx context.Context) *AdminListStagingContentsParams
- func (o *AdminListStagingContentsParams) WithHTTPClient(client *http.Client) *AdminListStagingContentsParams
- func (o *AdminListStagingContentsParams) WithLimit(limit *int64) *AdminListStagingContentsParams
- func (o *AdminListStagingContentsParams) WithNamespace(namespace string) *AdminListStagingContentsParams
- func (o *AdminListStagingContentsParams) WithOffset(offset *int64) *AdminListStagingContentsParams
- func (o *AdminListStagingContentsParams) WithSortBy(sortBy *string) *AdminListStagingContentsParams
- func (o *AdminListStagingContentsParams) WithStatus(status *string) *AdminListStagingContentsParams
- func (o *AdminListStagingContentsParams) WithTimeout(timeout time.Duration) *AdminListStagingContentsParams
- func (o *AdminListStagingContentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminListStagingContentsReader
- type AdminListStagingContentsUnauthorized
- type AdminListUserStagingContentsBadRequest
- type AdminListUserStagingContentsForbidden
- type AdminListUserStagingContentsInternalServerError
- type AdminListUserStagingContentsOK
- type AdminListUserStagingContentsParams
- func NewAdminListUserStagingContentsParams() *AdminListUserStagingContentsParams
- func NewAdminListUserStagingContentsParamsWithContext(ctx context.Context) *AdminListUserStagingContentsParams
- func NewAdminListUserStagingContentsParamsWithHTTPClient(client *http.Client) *AdminListUserStagingContentsParams
- func NewAdminListUserStagingContentsParamsWithTimeout(timeout time.Duration) *AdminListUserStagingContentsParams
- func (o *AdminListUserStagingContentsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminListUserStagingContentsParams) SetContext(ctx context.Context)
- func (o *AdminListUserStagingContentsParams) SetFlightId(flightId string)
- func (o *AdminListUserStagingContentsParams) SetHTTPClient(client *http.Client)
- func (o *AdminListUserStagingContentsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminListUserStagingContentsParams) SetLimit(limit *int64)
- func (o *AdminListUserStagingContentsParams) SetNamespace(namespace string)
- func (o *AdminListUserStagingContentsParams) SetOffset(offset *int64)
- func (o *AdminListUserStagingContentsParams) SetSortBy(sortBy *string)
- func (o *AdminListUserStagingContentsParams) SetStatus(status *string)
- func (o *AdminListUserStagingContentsParams) SetTimeout(timeout time.Duration)
- func (o *AdminListUserStagingContentsParams) SetUserID(userID string)
- func (o *AdminListUserStagingContentsParams) WithContext(ctx context.Context) *AdminListUserStagingContentsParams
- func (o *AdminListUserStagingContentsParams) WithHTTPClient(client *http.Client) *AdminListUserStagingContentsParams
- func (o *AdminListUserStagingContentsParams) WithLimit(limit *int64) *AdminListUserStagingContentsParams
- func (o *AdminListUserStagingContentsParams) WithNamespace(namespace string) *AdminListUserStagingContentsParams
- func (o *AdminListUserStagingContentsParams) WithOffset(offset *int64) *AdminListUserStagingContentsParams
- func (o *AdminListUserStagingContentsParams) WithSortBy(sortBy *string) *AdminListUserStagingContentsParams
- func (o *AdminListUserStagingContentsParams) WithStatus(status *string) *AdminListUserStagingContentsParams
- func (o *AdminListUserStagingContentsParams) WithTimeout(timeout time.Duration) *AdminListUserStagingContentsParams
- func (o *AdminListUserStagingContentsParams) WithUserID(userID string) *AdminListUserStagingContentsParams
- func (o *AdminListUserStagingContentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminListUserStagingContentsReader
- type AdminListUserStagingContentsUnauthorized
- type Client
- func (a *Client) AdminApproveStagingContent(params *AdminApproveStagingContentParams, ...) (*AdminApproveStagingContentOK, *AdminApproveStagingContentBadRequest, ...)deprecated
- func (a *Client) AdminApproveStagingContentShort(params *AdminApproveStagingContentParams, ...) (*AdminApproveStagingContentOK, error)
- func (a *Client) AdminGetStagingContentByID(params *AdminGetStagingContentByIDParams, ...) (*AdminGetStagingContentByIDOK, *AdminGetStagingContentByIDUnauthorized, ...)deprecated
- func (a *Client) AdminGetStagingContentByIDShort(params *AdminGetStagingContentByIDParams, ...) (*AdminGetStagingContentByIDOK, error)
- func (a *Client) AdminListStagingContents(params *AdminListStagingContentsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListStagingContentsOK, *AdminListStagingContentsBadRequest, ...)deprecated
- func (a *Client) AdminListStagingContentsShort(params *AdminListStagingContentsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListStagingContentsOK, error)
- func (a *Client) AdminListUserStagingContents(params *AdminListUserStagingContentsParams, ...) (*AdminListUserStagingContentsOK, *AdminListUserStagingContentsBadRequest, ...)deprecated
- func (a *Client) AdminListUserStagingContentsShort(params *AdminListUserStagingContentsParams, ...) (*AdminListUserStagingContentsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminApproveStagingContentBadRequest ¶
type AdminApproveStagingContentBadRequest struct {
Payload *ugcclientmodels.ResponseError
}
AdminApproveStagingContentBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>774405</td><td>Invalid request body</td></tr></table>
func NewAdminApproveStagingContentBadRequest ¶
func NewAdminApproveStagingContentBadRequest() *AdminApproveStagingContentBadRequest
NewAdminApproveStagingContentBadRequest creates a AdminApproveStagingContentBadRequest with default headers values
func (*AdminApproveStagingContentBadRequest) Error ¶
func (o *AdminApproveStagingContentBadRequest) Error() string
func (*AdminApproveStagingContentBadRequest) GetPayload ¶
func (o *AdminApproveStagingContentBadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*AdminApproveStagingContentBadRequest) ToJSONString ¶
func (o *AdminApproveStagingContentBadRequest) ToJSONString() string
type AdminApproveStagingContentForbidden ¶
type AdminApproveStagingContentForbidden struct {
Payload *ugcclientmodels.ResponseError
}
AdminApproveStagingContentForbidden 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 NewAdminApproveStagingContentForbidden ¶
func NewAdminApproveStagingContentForbidden() *AdminApproveStagingContentForbidden
NewAdminApproveStagingContentForbidden creates a AdminApproveStagingContentForbidden with default headers values
func (*AdminApproveStagingContentForbidden) Error ¶
func (o *AdminApproveStagingContentForbidden) Error() string
func (*AdminApproveStagingContentForbidden) GetPayload ¶
func (o *AdminApproveStagingContentForbidden) GetPayload() *ugcclientmodels.ResponseError
func (*AdminApproveStagingContentForbidden) ToJSONString ¶
func (o *AdminApproveStagingContentForbidden) ToJSONString() string
type AdminApproveStagingContentInternalServerError ¶
type AdminApproveStagingContentInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
AdminApproveStagingContentInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>774407</td><td>unable to approve staging content</td></tr><tr><td>774408</td><td>nable to save ugc content: shareCode exceed the limit</td></tr></table>
func NewAdminApproveStagingContentInternalServerError ¶
func NewAdminApproveStagingContentInternalServerError() *AdminApproveStagingContentInternalServerError
NewAdminApproveStagingContentInternalServerError creates a AdminApproveStagingContentInternalServerError with default headers values
func (*AdminApproveStagingContentInternalServerError) Error ¶
func (o *AdminApproveStagingContentInternalServerError) Error() string
func (*AdminApproveStagingContentInternalServerError) GetPayload ¶
func (o *AdminApproveStagingContentInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminApproveStagingContentInternalServerError) ToJSONString ¶
func (o *AdminApproveStagingContentInternalServerError) ToJSONString() string
type AdminApproveStagingContentNotFound ¶
type AdminApproveStagingContentNotFound struct {
Payload *ugcclientmodels.ResponseError
}
AdminApproveStagingContentNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>774406</td><td>staging content not found</td></tr></table>
func NewAdminApproveStagingContentNotFound ¶
func NewAdminApproveStagingContentNotFound() *AdminApproveStagingContentNotFound
NewAdminApproveStagingContentNotFound creates a AdminApproveStagingContentNotFound with default headers values
func (*AdminApproveStagingContentNotFound) Error ¶
func (o *AdminApproveStagingContentNotFound) Error() string
func (*AdminApproveStagingContentNotFound) GetPayload ¶
func (o *AdminApproveStagingContentNotFound) GetPayload() *ugcclientmodels.ResponseError
func (*AdminApproveStagingContentNotFound) ToJSONString ¶
func (o *AdminApproveStagingContentNotFound) ToJSONString() string
type AdminApproveStagingContentOK ¶
type AdminApproveStagingContentOK struct {
Payload *ugcclientmodels.ModelsStagingContentResponse
}
AdminApproveStagingContentOK handles this case with default header values.
content approval created
func NewAdminApproveStagingContentOK ¶
func NewAdminApproveStagingContentOK() *AdminApproveStagingContentOK
NewAdminApproveStagingContentOK creates a AdminApproveStagingContentOK with default headers values
func (*AdminApproveStagingContentOK) Error ¶
func (o *AdminApproveStagingContentOK) Error() string
func (*AdminApproveStagingContentOK) GetPayload ¶
func (o *AdminApproveStagingContentOK) GetPayload() *ugcclientmodels.ModelsStagingContentResponse
func (*AdminApproveStagingContentOK) ToJSONString ¶
func (o *AdminApproveStagingContentOK) ToJSONString() string
type AdminApproveStagingContentParams ¶
type AdminApproveStagingContentParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *ugcclientmodels.ModelsApproveStagingContentRequest /*ContentID content ID */ ContentID string /*Namespace namespace of the game */ Namespace 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 }
AdminApproveStagingContentParams contains all the parameters to send to the API endpoint for the admin approve staging content operation typically these are written to a http.Request
func NewAdminApproveStagingContentParams ¶
func NewAdminApproveStagingContentParams() *AdminApproveStagingContentParams
NewAdminApproveStagingContentParams creates a new AdminApproveStagingContentParams object with the default values initialized.
func NewAdminApproveStagingContentParamsWithContext ¶
func NewAdminApproveStagingContentParamsWithContext(ctx context.Context) *AdminApproveStagingContentParams
NewAdminApproveStagingContentParamsWithContext creates a new AdminApproveStagingContentParams object with the default values initialized, and the ability to set a context for a request
func NewAdminApproveStagingContentParamsWithHTTPClient ¶
func NewAdminApproveStagingContentParamsWithHTTPClient(client *http.Client) *AdminApproveStagingContentParams
NewAdminApproveStagingContentParamsWithHTTPClient creates a new AdminApproveStagingContentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminApproveStagingContentParamsWithTimeout ¶
func NewAdminApproveStagingContentParamsWithTimeout(timeout time.Duration) *AdminApproveStagingContentParams
NewAdminApproveStagingContentParamsWithTimeout creates a new AdminApproveStagingContentParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminApproveStagingContentParams) SetAuthInfoWriter ¶
func (o *AdminApproveStagingContentParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin approve staging content params
func (*AdminApproveStagingContentParams) SetBody ¶
func (o *AdminApproveStagingContentParams) SetBody(body *ugcclientmodels.ModelsApproveStagingContentRequest)
SetBody adds the body to the admin approve staging content params
func (*AdminApproveStagingContentParams) SetContentID ¶
func (o *AdminApproveStagingContentParams) SetContentID(contentID string)
SetContentID adds the contentId to the admin approve staging content params
func (*AdminApproveStagingContentParams) SetContext ¶
func (o *AdminApproveStagingContentParams) SetContext(ctx context.Context)
SetContext adds the context to the admin approve staging content params
func (*AdminApproveStagingContentParams) SetFlightId ¶ added in v0.63.0
func (o *AdminApproveStagingContentParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminApproveStagingContentParams) SetHTTPClient ¶
func (o *AdminApproveStagingContentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin approve staging content params
func (*AdminApproveStagingContentParams) SetHTTPClientTransport ¶
func (o *AdminApproveStagingContentParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin approve staging content params
func (*AdminApproveStagingContentParams) SetNamespace ¶
func (o *AdminApproveStagingContentParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin approve staging content params
func (*AdminApproveStagingContentParams) SetTimeout ¶
func (o *AdminApproveStagingContentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin approve staging content params
func (*AdminApproveStagingContentParams) WithBody ¶
func (o *AdminApproveStagingContentParams) WithBody(body *ugcclientmodels.ModelsApproveStagingContentRequest) *AdminApproveStagingContentParams
WithBody adds the body to the admin approve staging content params
func (*AdminApproveStagingContentParams) WithContentID ¶
func (o *AdminApproveStagingContentParams) WithContentID(contentID string) *AdminApproveStagingContentParams
WithContentID adds the contentID to the admin approve staging content params
func (*AdminApproveStagingContentParams) WithContext ¶
func (o *AdminApproveStagingContentParams) WithContext(ctx context.Context) *AdminApproveStagingContentParams
WithContext adds the context to the admin approve staging content params
func (*AdminApproveStagingContentParams) WithHTTPClient ¶
func (o *AdminApproveStagingContentParams) WithHTTPClient(client *http.Client) *AdminApproveStagingContentParams
WithHTTPClient adds the HTTPClient to the admin approve staging content params
func (*AdminApproveStagingContentParams) WithNamespace ¶
func (o *AdminApproveStagingContentParams) WithNamespace(namespace string) *AdminApproveStagingContentParams
WithNamespace adds the namespace to the admin approve staging content params
func (*AdminApproveStagingContentParams) WithTimeout ¶
func (o *AdminApproveStagingContentParams) WithTimeout(timeout time.Duration) *AdminApproveStagingContentParams
WithTimeout adds the timeout to the admin approve staging content params
func (*AdminApproveStagingContentParams) WriteToRequest ¶
func (o *AdminApproveStagingContentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminApproveStagingContentReader ¶
type AdminApproveStagingContentReader struct {
// contains filtered or unexported fields
}
AdminApproveStagingContentReader is a Reader for the AdminApproveStagingContent structure.
func (*AdminApproveStagingContentReader) ReadResponse ¶
func (o *AdminApproveStagingContentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminApproveStagingContentUnauthorized ¶
type AdminApproveStagingContentUnauthorized struct {
}AdminApproveStagingContentUnauthorized 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 NewAdminApproveStagingContentUnauthorized ¶
func NewAdminApproveStagingContentUnauthorized() *AdminApproveStagingContentUnauthorized
NewAdminApproveStagingContentUnauthorized creates a AdminApproveStagingContentUnauthorized with default headers values
func (*AdminApproveStagingContentUnauthorized) Error ¶
func (o *AdminApproveStagingContentUnauthorized) Error() string
func (*AdminApproveStagingContentUnauthorized) GetPayload ¶
func (o *AdminApproveStagingContentUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*AdminApproveStagingContentUnauthorized) ToJSONString ¶
func (o *AdminApproveStagingContentUnauthorized) ToJSONString() string
type AdminGetStagingContentByIDForbidden ¶
type AdminGetStagingContentByIDForbidden struct {
Payload *ugcclientmodels.ResponseError
}
AdminGetStagingContentByIDForbidden 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 NewAdminGetStagingContentByIDForbidden ¶
func NewAdminGetStagingContentByIDForbidden() *AdminGetStagingContentByIDForbidden
NewAdminGetStagingContentByIDForbidden creates a AdminGetStagingContentByIDForbidden with default headers values
func (*AdminGetStagingContentByIDForbidden) Error ¶
func (o *AdminGetStagingContentByIDForbidden) Error() string
func (*AdminGetStagingContentByIDForbidden) GetPayload ¶
func (o *AdminGetStagingContentByIDForbidden) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGetStagingContentByIDForbidden) ToJSONString ¶
func (o *AdminGetStagingContentByIDForbidden) ToJSONString() string
type AdminGetStagingContentByIDInternalServerError ¶
type AdminGetStagingContentByIDInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
AdminGetStagingContentByIDInternalServerError 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 NewAdminGetStagingContentByIDInternalServerError ¶
func NewAdminGetStagingContentByIDInternalServerError() *AdminGetStagingContentByIDInternalServerError
NewAdminGetStagingContentByIDInternalServerError creates a AdminGetStagingContentByIDInternalServerError with default headers values
func (*AdminGetStagingContentByIDInternalServerError) Error ¶
func (o *AdminGetStagingContentByIDInternalServerError) Error() string
func (*AdminGetStagingContentByIDInternalServerError) GetPayload ¶
func (o *AdminGetStagingContentByIDInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGetStagingContentByIDInternalServerError) ToJSONString ¶
func (o *AdminGetStagingContentByIDInternalServerError) ToJSONString() string
type AdminGetStagingContentByIDNotFound ¶
type AdminGetStagingContentByIDNotFound struct {
Payload *ugcclientmodels.ResponseError
}
AdminGetStagingContentByIDNotFound 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 NewAdminGetStagingContentByIDNotFound ¶
func NewAdminGetStagingContentByIDNotFound() *AdminGetStagingContentByIDNotFound
NewAdminGetStagingContentByIDNotFound creates a AdminGetStagingContentByIDNotFound with default headers values
func (*AdminGetStagingContentByIDNotFound) Error ¶
func (o *AdminGetStagingContentByIDNotFound) Error() string
func (*AdminGetStagingContentByIDNotFound) GetPayload ¶
func (o *AdminGetStagingContentByIDNotFound) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGetStagingContentByIDNotFound) ToJSONString ¶
func (o *AdminGetStagingContentByIDNotFound) ToJSONString() string
type AdminGetStagingContentByIDOK ¶
type AdminGetStagingContentByIDOK struct {
Payload *ugcclientmodels.ModelsStagingContentResponse
}
AdminGetStagingContentByIDOK handles this case with default header values.
staging content
func NewAdminGetStagingContentByIDOK ¶
func NewAdminGetStagingContentByIDOK() *AdminGetStagingContentByIDOK
NewAdminGetStagingContentByIDOK creates a AdminGetStagingContentByIDOK with default headers values
func (*AdminGetStagingContentByIDOK) Error ¶
func (o *AdminGetStagingContentByIDOK) Error() string
func (*AdminGetStagingContentByIDOK) GetPayload ¶
func (o *AdminGetStagingContentByIDOK) GetPayload() *ugcclientmodels.ModelsStagingContentResponse
func (*AdminGetStagingContentByIDOK) ToJSONString ¶
func (o *AdminGetStagingContentByIDOK) ToJSONString() string
type AdminGetStagingContentByIDParams ¶
type AdminGetStagingContentByIDParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ContentID content ID */ ContentID string /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
AdminGetStagingContentByIDParams contains all the parameters to send to the API endpoint for the admin get staging content by id operation typically these are written to a http.Request
func NewAdminGetStagingContentByIDParams ¶
func NewAdminGetStagingContentByIDParams() *AdminGetStagingContentByIDParams
NewAdminGetStagingContentByIDParams creates a new AdminGetStagingContentByIDParams object with the default values initialized.
func NewAdminGetStagingContentByIDParamsWithContext ¶
func NewAdminGetStagingContentByIDParamsWithContext(ctx context.Context) *AdminGetStagingContentByIDParams
NewAdminGetStagingContentByIDParamsWithContext creates a new AdminGetStagingContentByIDParams object with the default values initialized, and the ability to set a context for a request
func NewAdminGetStagingContentByIDParamsWithHTTPClient ¶
func NewAdminGetStagingContentByIDParamsWithHTTPClient(client *http.Client) *AdminGetStagingContentByIDParams
NewAdminGetStagingContentByIDParamsWithHTTPClient creates a new AdminGetStagingContentByIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminGetStagingContentByIDParamsWithTimeout ¶
func NewAdminGetStagingContentByIDParamsWithTimeout(timeout time.Duration) *AdminGetStagingContentByIDParams
NewAdminGetStagingContentByIDParamsWithTimeout creates a new AdminGetStagingContentByIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminGetStagingContentByIDParams) SetAuthInfoWriter ¶
func (o *AdminGetStagingContentByIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin get staging content by id params
func (*AdminGetStagingContentByIDParams) SetContentID ¶
func (o *AdminGetStagingContentByIDParams) SetContentID(contentID string)
SetContentID adds the contentId to the admin get staging content by id params
func (*AdminGetStagingContentByIDParams) SetContext ¶
func (o *AdminGetStagingContentByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the admin get staging content by id params
func (*AdminGetStagingContentByIDParams) SetFlightId ¶ added in v0.63.0
func (o *AdminGetStagingContentByIDParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminGetStagingContentByIDParams) SetHTTPClient ¶
func (o *AdminGetStagingContentByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get staging content by id params
func (*AdminGetStagingContentByIDParams) SetHTTPClientTransport ¶
func (o *AdminGetStagingContentByIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin get staging content by id params
func (*AdminGetStagingContentByIDParams) SetNamespace ¶
func (o *AdminGetStagingContentByIDParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin get staging content by id params
func (*AdminGetStagingContentByIDParams) SetTimeout ¶
func (o *AdminGetStagingContentByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get staging content by id params
func (*AdminGetStagingContentByIDParams) WithContentID ¶
func (o *AdminGetStagingContentByIDParams) WithContentID(contentID string) *AdminGetStagingContentByIDParams
WithContentID adds the contentID to the admin get staging content by id params
func (*AdminGetStagingContentByIDParams) WithContext ¶
func (o *AdminGetStagingContentByIDParams) WithContext(ctx context.Context) *AdminGetStagingContentByIDParams
WithContext adds the context to the admin get staging content by id params
func (*AdminGetStagingContentByIDParams) WithHTTPClient ¶
func (o *AdminGetStagingContentByIDParams) WithHTTPClient(client *http.Client) *AdminGetStagingContentByIDParams
WithHTTPClient adds the HTTPClient to the admin get staging content by id params
func (*AdminGetStagingContentByIDParams) WithNamespace ¶
func (o *AdminGetStagingContentByIDParams) WithNamespace(namespace string) *AdminGetStagingContentByIDParams
WithNamespace adds the namespace to the admin get staging content by id params
func (*AdminGetStagingContentByIDParams) WithTimeout ¶
func (o *AdminGetStagingContentByIDParams) WithTimeout(timeout time.Duration) *AdminGetStagingContentByIDParams
WithTimeout adds the timeout to the admin get staging content by id params
func (*AdminGetStagingContentByIDParams) WriteToRequest ¶
func (o *AdminGetStagingContentByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetStagingContentByIDReader ¶
type AdminGetStagingContentByIDReader struct {
// contains filtered or unexported fields
}
AdminGetStagingContentByIDReader is a Reader for the AdminGetStagingContentByID structure.
func (*AdminGetStagingContentByIDReader) ReadResponse ¶
func (o *AdminGetStagingContentByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetStagingContentByIDUnauthorized ¶
type AdminGetStagingContentByIDUnauthorized struct {
}AdminGetStagingContentByIDUnauthorized 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 NewAdminGetStagingContentByIDUnauthorized ¶
func NewAdminGetStagingContentByIDUnauthorized() *AdminGetStagingContentByIDUnauthorized
NewAdminGetStagingContentByIDUnauthorized creates a AdminGetStagingContentByIDUnauthorized with default headers values
func (*AdminGetStagingContentByIDUnauthorized) Error ¶
func (o *AdminGetStagingContentByIDUnauthorized) Error() string
func (*AdminGetStagingContentByIDUnauthorized) GetPayload ¶
func (o *AdminGetStagingContentByIDUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGetStagingContentByIDUnauthorized) ToJSONString ¶
func (o *AdminGetStagingContentByIDUnauthorized) ToJSONString() string
type AdminListStagingContentsBadRequest ¶
type AdminListStagingContentsBadRequest struct {
Payload *ugcclientmodels.ResponseError
}
AdminListStagingContentsBadRequest 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 NewAdminListStagingContentsBadRequest ¶
func NewAdminListStagingContentsBadRequest() *AdminListStagingContentsBadRequest
NewAdminListStagingContentsBadRequest creates a AdminListStagingContentsBadRequest with default headers values
func (*AdminListStagingContentsBadRequest) Error ¶
func (o *AdminListStagingContentsBadRequest) Error() string
func (*AdminListStagingContentsBadRequest) GetPayload ¶
func (o *AdminListStagingContentsBadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*AdminListStagingContentsBadRequest) ToJSONString ¶
func (o *AdminListStagingContentsBadRequest) ToJSONString() string
type AdminListStagingContentsForbidden ¶
type AdminListStagingContentsForbidden struct {
Payload *ugcclientmodels.ResponseError
}
AdminListStagingContentsForbidden 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 NewAdminListStagingContentsForbidden ¶
func NewAdminListStagingContentsForbidden() *AdminListStagingContentsForbidden
NewAdminListStagingContentsForbidden creates a AdminListStagingContentsForbidden with default headers values
func (*AdminListStagingContentsForbidden) Error ¶
func (o *AdminListStagingContentsForbidden) Error() string
func (*AdminListStagingContentsForbidden) GetPayload ¶
func (o *AdminListStagingContentsForbidden) GetPayload() *ugcclientmodels.ResponseError
func (*AdminListStagingContentsForbidden) ToJSONString ¶
func (o *AdminListStagingContentsForbidden) ToJSONString() string
type AdminListStagingContentsInternalServerError ¶
type AdminListStagingContentsInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
AdminListStagingContentsInternalServerError 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 NewAdminListStagingContentsInternalServerError ¶
func NewAdminListStagingContentsInternalServerError() *AdminListStagingContentsInternalServerError
NewAdminListStagingContentsInternalServerError creates a AdminListStagingContentsInternalServerError with default headers values
func (*AdminListStagingContentsInternalServerError) Error ¶
func (o *AdminListStagingContentsInternalServerError) Error() string
func (*AdminListStagingContentsInternalServerError) GetPayload ¶
func (o *AdminListStagingContentsInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminListStagingContentsInternalServerError) ToJSONString ¶
func (o *AdminListStagingContentsInternalServerError) ToJSONString() string
type AdminListStagingContentsOK ¶
type AdminListStagingContentsOK struct {
Payload *ugcclientmodels.ModelsPaginatedListStagingContentResponse
}
AdminListStagingContentsOK handles this case with default header values.
list user's staging content
func NewAdminListStagingContentsOK ¶
func NewAdminListStagingContentsOK() *AdminListStagingContentsOK
NewAdminListStagingContentsOK creates a AdminListStagingContentsOK with default headers values
func (*AdminListStagingContentsOK) Error ¶
func (o *AdminListStagingContentsOK) Error() string
func (*AdminListStagingContentsOK) GetPayload ¶
func (o *AdminListStagingContentsOK) GetPayload() *ugcclientmodels.ModelsPaginatedListStagingContentResponse
func (*AdminListStagingContentsOK) ToJSONString ¶
func (o *AdminListStagingContentsOK) ToJSONString() string
type AdminListStagingContentsParams ¶
type AdminListStagingContentsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace 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 }
AdminListStagingContentsParams contains all the parameters to send to the API endpoint for the admin list staging contents operation typically these are written to a http.Request
func NewAdminListStagingContentsParams ¶
func NewAdminListStagingContentsParams() *AdminListStagingContentsParams
NewAdminListStagingContentsParams creates a new AdminListStagingContentsParams object with the default values initialized.
func NewAdminListStagingContentsParamsWithContext ¶
func NewAdminListStagingContentsParamsWithContext(ctx context.Context) *AdminListStagingContentsParams
NewAdminListStagingContentsParamsWithContext creates a new AdminListStagingContentsParams object with the default values initialized, and the ability to set a context for a request
func NewAdminListStagingContentsParamsWithHTTPClient ¶
func NewAdminListStagingContentsParamsWithHTTPClient(client *http.Client) *AdminListStagingContentsParams
NewAdminListStagingContentsParamsWithHTTPClient creates a new AdminListStagingContentsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminListStagingContentsParamsWithTimeout ¶
func NewAdminListStagingContentsParamsWithTimeout(timeout time.Duration) *AdminListStagingContentsParams
NewAdminListStagingContentsParamsWithTimeout creates a new AdminListStagingContentsParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminListStagingContentsParams) SetAuthInfoWriter ¶
func (o *AdminListStagingContentsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin list staging contents params
func (*AdminListStagingContentsParams) SetContext ¶
func (o *AdminListStagingContentsParams) SetContext(ctx context.Context)
SetContext adds the context to the admin list staging contents params
func (*AdminListStagingContentsParams) SetFlightId ¶ added in v0.63.0
func (o *AdminListStagingContentsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminListStagingContentsParams) SetHTTPClient ¶
func (o *AdminListStagingContentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin list staging contents params
func (*AdminListStagingContentsParams) SetHTTPClientTransport ¶
func (o *AdminListStagingContentsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin list staging contents params
func (*AdminListStagingContentsParams) SetLimit ¶
func (o *AdminListStagingContentsParams) SetLimit(limit *int64)
SetLimit adds the limit to the admin list staging contents params
func (*AdminListStagingContentsParams) SetNamespace ¶
func (o *AdminListStagingContentsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin list staging contents params
func (*AdminListStagingContentsParams) SetOffset ¶
func (o *AdminListStagingContentsParams) SetOffset(offset *int64)
SetOffset adds the offset to the admin list staging contents params
func (*AdminListStagingContentsParams) SetSortBy ¶
func (o *AdminListStagingContentsParams) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the admin list staging contents params
func (*AdminListStagingContentsParams) SetStatus ¶
func (o *AdminListStagingContentsParams) SetStatus(status *string)
SetStatus adds the status to the admin list staging contents params
func (*AdminListStagingContentsParams) SetTimeout ¶
func (o *AdminListStagingContentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin list staging contents params
func (*AdminListStagingContentsParams) WithContext ¶
func (o *AdminListStagingContentsParams) WithContext(ctx context.Context) *AdminListStagingContentsParams
WithContext adds the context to the admin list staging contents params
func (*AdminListStagingContentsParams) WithHTTPClient ¶
func (o *AdminListStagingContentsParams) WithHTTPClient(client *http.Client) *AdminListStagingContentsParams
WithHTTPClient adds the HTTPClient to the admin list staging contents params
func (*AdminListStagingContentsParams) WithLimit ¶
func (o *AdminListStagingContentsParams) WithLimit(limit *int64) *AdminListStagingContentsParams
WithLimit adds the limit to the admin list staging contents params
func (*AdminListStagingContentsParams) WithNamespace ¶
func (o *AdminListStagingContentsParams) WithNamespace(namespace string) *AdminListStagingContentsParams
WithNamespace adds the namespace to the admin list staging contents params
func (*AdminListStagingContentsParams) WithOffset ¶
func (o *AdminListStagingContentsParams) WithOffset(offset *int64) *AdminListStagingContentsParams
WithOffset adds the offset to the admin list staging contents params
func (*AdminListStagingContentsParams) WithSortBy ¶
func (o *AdminListStagingContentsParams) WithSortBy(sortBy *string) *AdminListStagingContentsParams
WithSortBy adds the sortBy to the admin list staging contents params
func (*AdminListStagingContentsParams) WithStatus ¶
func (o *AdminListStagingContentsParams) WithStatus(status *string) *AdminListStagingContentsParams
WithStatus adds the status to the admin list staging contents params
func (*AdminListStagingContentsParams) WithTimeout ¶
func (o *AdminListStagingContentsParams) WithTimeout(timeout time.Duration) *AdminListStagingContentsParams
WithTimeout adds the timeout to the admin list staging contents params
func (*AdminListStagingContentsParams) WriteToRequest ¶
func (o *AdminListStagingContentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminListStagingContentsReader ¶
type AdminListStagingContentsReader struct {
// contains filtered or unexported fields
}
AdminListStagingContentsReader is a Reader for the AdminListStagingContents structure.
func (*AdminListStagingContentsReader) ReadResponse ¶
func (o *AdminListStagingContentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminListStagingContentsUnauthorized ¶
type AdminListStagingContentsUnauthorized struct {
}AdminListStagingContentsUnauthorized 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 NewAdminListStagingContentsUnauthorized ¶
func NewAdminListStagingContentsUnauthorized() *AdminListStagingContentsUnauthorized
NewAdminListStagingContentsUnauthorized creates a AdminListStagingContentsUnauthorized with default headers values
func (*AdminListStagingContentsUnauthorized) Error ¶
func (o *AdminListStagingContentsUnauthorized) Error() string
func (*AdminListStagingContentsUnauthorized) GetPayload ¶
func (o *AdminListStagingContentsUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*AdminListStagingContentsUnauthorized) ToJSONString ¶
func (o *AdminListStagingContentsUnauthorized) ToJSONString() string
type AdminListUserStagingContentsBadRequest ¶
type AdminListUserStagingContentsBadRequest struct {
Payload *ugcclientmodels.ResponseError
}
AdminListUserStagingContentsBadRequest 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 NewAdminListUserStagingContentsBadRequest ¶
func NewAdminListUserStagingContentsBadRequest() *AdminListUserStagingContentsBadRequest
NewAdminListUserStagingContentsBadRequest creates a AdminListUserStagingContentsBadRequest with default headers values
func (*AdminListUserStagingContentsBadRequest) Error ¶
func (o *AdminListUserStagingContentsBadRequest) Error() string
func (*AdminListUserStagingContentsBadRequest) GetPayload ¶
func (o *AdminListUserStagingContentsBadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*AdminListUserStagingContentsBadRequest) ToJSONString ¶
func (o *AdminListUserStagingContentsBadRequest) ToJSONString() string
type AdminListUserStagingContentsForbidden ¶
type AdminListUserStagingContentsForbidden struct {
Payload *ugcclientmodels.ResponseError
}
AdminListUserStagingContentsForbidden 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 NewAdminListUserStagingContentsForbidden ¶
func NewAdminListUserStagingContentsForbidden() *AdminListUserStagingContentsForbidden
NewAdminListUserStagingContentsForbidden creates a AdminListUserStagingContentsForbidden with default headers values
func (*AdminListUserStagingContentsForbidden) Error ¶
func (o *AdminListUserStagingContentsForbidden) Error() string
func (*AdminListUserStagingContentsForbidden) GetPayload ¶
func (o *AdminListUserStagingContentsForbidden) GetPayload() *ugcclientmodels.ResponseError
func (*AdminListUserStagingContentsForbidden) ToJSONString ¶
func (o *AdminListUserStagingContentsForbidden) ToJSONString() string
type AdminListUserStagingContentsInternalServerError ¶
type AdminListUserStagingContentsInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
AdminListUserStagingContentsInternalServerError 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 NewAdminListUserStagingContentsInternalServerError ¶
func NewAdminListUserStagingContentsInternalServerError() *AdminListUserStagingContentsInternalServerError
NewAdminListUserStagingContentsInternalServerError creates a AdminListUserStagingContentsInternalServerError with default headers values
func (*AdminListUserStagingContentsInternalServerError) Error ¶
func (o *AdminListUserStagingContentsInternalServerError) Error() string
func (*AdminListUserStagingContentsInternalServerError) GetPayload ¶
func (o *AdminListUserStagingContentsInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminListUserStagingContentsInternalServerError) ToJSONString ¶
func (o *AdminListUserStagingContentsInternalServerError) ToJSONString() string
type AdminListUserStagingContentsOK ¶
type AdminListUserStagingContentsOK struct {
Payload *ugcclientmodels.ModelsPaginatedListStagingContentResponse
}
AdminListUserStagingContentsOK handles this case with default header values.
list user's staging content
func NewAdminListUserStagingContentsOK ¶
func NewAdminListUserStagingContentsOK() *AdminListUserStagingContentsOK
NewAdminListUserStagingContentsOK creates a AdminListUserStagingContentsOK with default headers values
func (*AdminListUserStagingContentsOK) Error ¶
func (o *AdminListUserStagingContentsOK) Error() string
func (*AdminListUserStagingContentsOK) GetPayload ¶
func (o *AdminListUserStagingContentsOK) GetPayload() *ugcclientmodels.ModelsPaginatedListStagingContentResponse
func (*AdminListUserStagingContentsOK) ToJSONString ¶
func (o *AdminListUserStagingContentsOK) ToJSONString() string
type AdminListUserStagingContentsParams ¶
type AdminListUserStagingContentsParams 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 }
AdminListUserStagingContentsParams contains all the parameters to send to the API endpoint for the admin list user staging contents operation typically these are written to a http.Request
func NewAdminListUserStagingContentsParams ¶
func NewAdminListUserStagingContentsParams() *AdminListUserStagingContentsParams
NewAdminListUserStagingContentsParams creates a new AdminListUserStagingContentsParams object with the default values initialized.
func NewAdminListUserStagingContentsParamsWithContext ¶
func NewAdminListUserStagingContentsParamsWithContext(ctx context.Context) *AdminListUserStagingContentsParams
NewAdminListUserStagingContentsParamsWithContext creates a new AdminListUserStagingContentsParams object with the default values initialized, and the ability to set a context for a request
func NewAdminListUserStagingContentsParamsWithHTTPClient ¶
func NewAdminListUserStagingContentsParamsWithHTTPClient(client *http.Client) *AdminListUserStagingContentsParams
NewAdminListUserStagingContentsParamsWithHTTPClient creates a new AdminListUserStagingContentsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminListUserStagingContentsParamsWithTimeout ¶
func NewAdminListUserStagingContentsParamsWithTimeout(timeout time.Duration) *AdminListUserStagingContentsParams
NewAdminListUserStagingContentsParamsWithTimeout creates a new AdminListUserStagingContentsParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminListUserStagingContentsParams) SetAuthInfoWriter ¶
func (o *AdminListUserStagingContentsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin list user staging contents params
func (*AdminListUserStagingContentsParams) SetContext ¶
func (o *AdminListUserStagingContentsParams) SetContext(ctx context.Context)
SetContext adds the context to the admin list user staging contents params
func (*AdminListUserStagingContentsParams) SetFlightId ¶ added in v0.63.0
func (o *AdminListUserStagingContentsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminListUserStagingContentsParams) SetHTTPClient ¶
func (o *AdminListUserStagingContentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin list user staging contents params
func (*AdminListUserStagingContentsParams) SetHTTPClientTransport ¶
func (o *AdminListUserStagingContentsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin list user staging contents params
func (*AdminListUserStagingContentsParams) SetLimit ¶
func (o *AdminListUserStagingContentsParams) SetLimit(limit *int64)
SetLimit adds the limit to the admin list user staging contents params
func (*AdminListUserStagingContentsParams) SetNamespace ¶
func (o *AdminListUserStagingContentsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin list user staging contents params
func (*AdminListUserStagingContentsParams) SetOffset ¶
func (o *AdminListUserStagingContentsParams) SetOffset(offset *int64)
SetOffset adds the offset to the admin list user staging contents params
func (*AdminListUserStagingContentsParams) SetSortBy ¶
func (o *AdminListUserStagingContentsParams) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the admin list user staging contents params
func (*AdminListUserStagingContentsParams) SetStatus ¶
func (o *AdminListUserStagingContentsParams) SetStatus(status *string)
SetStatus adds the status to the admin list user staging contents params
func (*AdminListUserStagingContentsParams) SetTimeout ¶
func (o *AdminListUserStagingContentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin list user staging contents params
func (*AdminListUserStagingContentsParams) SetUserID ¶
func (o *AdminListUserStagingContentsParams) SetUserID(userID string)
SetUserID adds the userId to the admin list user staging contents params
func (*AdminListUserStagingContentsParams) WithContext ¶
func (o *AdminListUserStagingContentsParams) WithContext(ctx context.Context) *AdminListUserStagingContentsParams
WithContext adds the context to the admin list user staging contents params
func (*AdminListUserStagingContentsParams) WithHTTPClient ¶
func (o *AdminListUserStagingContentsParams) WithHTTPClient(client *http.Client) *AdminListUserStagingContentsParams
WithHTTPClient adds the HTTPClient to the admin list user staging contents params
func (*AdminListUserStagingContentsParams) WithLimit ¶
func (o *AdminListUserStagingContentsParams) WithLimit(limit *int64) *AdminListUserStagingContentsParams
WithLimit adds the limit to the admin list user staging contents params
func (*AdminListUserStagingContentsParams) WithNamespace ¶
func (o *AdminListUserStagingContentsParams) WithNamespace(namespace string) *AdminListUserStagingContentsParams
WithNamespace adds the namespace to the admin list user staging contents params
func (*AdminListUserStagingContentsParams) WithOffset ¶
func (o *AdminListUserStagingContentsParams) WithOffset(offset *int64) *AdminListUserStagingContentsParams
WithOffset adds the offset to the admin list user staging contents params
func (*AdminListUserStagingContentsParams) WithSortBy ¶
func (o *AdminListUserStagingContentsParams) WithSortBy(sortBy *string) *AdminListUserStagingContentsParams
WithSortBy adds the sortBy to the admin list user staging contents params
func (*AdminListUserStagingContentsParams) WithStatus ¶
func (o *AdminListUserStagingContentsParams) WithStatus(status *string) *AdminListUserStagingContentsParams
WithStatus adds the status to the admin list user staging contents params
func (*AdminListUserStagingContentsParams) WithTimeout ¶
func (o *AdminListUserStagingContentsParams) WithTimeout(timeout time.Duration) *AdminListUserStagingContentsParams
WithTimeout adds the timeout to the admin list user staging contents params
func (*AdminListUserStagingContentsParams) WithUserID ¶
func (o *AdminListUserStagingContentsParams) WithUserID(userID string) *AdminListUserStagingContentsParams
WithUserID adds the userID to the admin list user staging contents params
func (*AdminListUserStagingContentsParams) WriteToRequest ¶
func (o *AdminListUserStagingContentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminListUserStagingContentsReader ¶
type AdminListUserStagingContentsReader struct {
// contains filtered or unexported fields
}
AdminListUserStagingContentsReader is a Reader for the AdminListUserStagingContents structure.
func (*AdminListUserStagingContentsReader) ReadResponse ¶
func (o *AdminListUserStagingContentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminListUserStagingContentsUnauthorized ¶
type AdminListUserStagingContentsUnauthorized struct {
}AdminListUserStagingContentsUnauthorized 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 NewAdminListUserStagingContentsUnauthorized ¶
func NewAdminListUserStagingContentsUnauthorized() *AdminListUserStagingContentsUnauthorized
NewAdminListUserStagingContentsUnauthorized creates a AdminListUserStagingContentsUnauthorized with default headers values
func (*AdminListUserStagingContentsUnauthorized) Error ¶
func (o *AdminListUserStagingContentsUnauthorized) Error() string
func (*AdminListUserStagingContentsUnauthorized) GetPayload ¶
func (o *AdminListUserStagingContentsUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*AdminListUserStagingContentsUnauthorized) ToJSONString ¶
func (o *AdminListUserStagingContentsUnauthorized) ToJSONString() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for admin staging content API
func (*Client) AdminApproveStagingContent
deprecated
func (a *Client) AdminApproveStagingContent(params *AdminApproveStagingContentParams, authInfo runtime.ClientAuthInfoWriter) (*AdminApproveStagingContentOK, *AdminApproveStagingContentBadRequest, *AdminApproveStagingContentUnauthorized, *AdminApproveStagingContentForbidden, *AdminApproveStagingContentNotFound, *AdminApproveStagingContentInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminApproveStagingContentShort instead.
AdminApproveStagingContent approve or reject content Approved content will shown to public player. Rejected content stays in staging area and couldn't be seen by other player
func (*Client) AdminApproveStagingContentShort ¶
func (a *Client) AdminApproveStagingContentShort(params *AdminApproveStagingContentParams, authInfo runtime.ClientAuthInfoWriter) (*AdminApproveStagingContentOK, error)
AdminApproveStagingContentShort approve or reject content Approved content will shown to public player. Rejected content stays in staging area and couldn't be seen by other player
func (*Client) AdminGetStagingContentByID
deprecated
func (a *Client) AdminGetStagingContentByID(params *AdminGetStagingContentByIDParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetStagingContentByIDOK, *AdminGetStagingContentByIDUnauthorized, *AdminGetStagingContentByIDForbidden, *AdminGetStagingContentByIDNotFound, *AdminGetStagingContentByIDInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminGetStagingContentByIDShort instead.
AdminGetStagingContentByID get staging content by id Get staging content by ID
func (*Client) AdminGetStagingContentByIDShort ¶
func (a *Client) AdminGetStagingContentByIDShort(params *AdminGetStagingContentByIDParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetStagingContentByIDOK, error)
AdminGetStagingContentByIDShort get staging content by id Get staging content by ID
func (*Client) AdminListStagingContents
deprecated
func (a *Client) AdminListStagingContents(params *AdminListStagingContentsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListStagingContentsOK, *AdminListStagingContentsBadRequest, *AdminListStagingContentsUnauthorized, *AdminListStagingContentsForbidden, *AdminListStagingContentsInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminListStagingContentsShort instead.
AdminListStagingContents list staging contents List content that need admin's approval
func (*Client) AdminListStagingContentsShort ¶
func (a *Client) AdminListStagingContentsShort(params *AdminListStagingContentsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListStagingContentsOK, error)
AdminListStagingContentsShort list staging contents List content that need admin's approval
func (*Client) AdminListUserStagingContents
deprecated
func (a *Client) AdminListUserStagingContents(params *AdminListUserStagingContentsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListUserStagingContentsOK, *AdminListUserStagingContentsBadRequest, *AdminListUserStagingContentsUnauthorized, *AdminListUserStagingContentsForbidden, *AdminListUserStagingContentsInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminListUserStagingContentsShort instead.
AdminListUserStagingContents list user staging contents List user content's that need admin approval
func (*Client) AdminListUserStagingContentsShort ¶
func (a *Client) AdminListUserStagingContentsShort(params *AdminListUserStagingContentsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListUserStagingContentsOK, error)
AdminListUserStagingContentsShort list user staging contents List user content's that need admin approval
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { AdminListStagingContents(params *AdminListStagingContentsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListStagingContentsOK, *AdminListStagingContentsBadRequest, *AdminListStagingContentsUnauthorized, *AdminListStagingContentsForbidden, *AdminListStagingContentsInternalServerError, error) AdminListStagingContentsShort(params *AdminListStagingContentsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListStagingContentsOK, error) AdminGetStagingContentByID(params *AdminGetStagingContentByIDParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetStagingContentByIDOK, *AdminGetStagingContentByIDUnauthorized, *AdminGetStagingContentByIDForbidden, *AdminGetStagingContentByIDNotFound, *AdminGetStagingContentByIDInternalServerError, error) AdminGetStagingContentByIDShort(params *AdminGetStagingContentByIDParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetStagingContentByIDOK, error) AdminApproveStagingContent(params *AdminApproveStagingContentParams, authInfo runtime.ClientAuthInfoWriter) (*AdminApproveStagingContentOK, *AdminApproveStagingContentBadRequest, *AdminApproveStagingContentUnauthorized, *AdminApproveStagingContentForbidden, *AdminApproveStagingContentNotFound, *AdminApproveStagingContentInternalServerError, error) AdminApproveStagingContentShort(params *AdminApproveStagingContentParams, authInfo runtime.ClientAuthInfoWriter) (*AdminApproveStagingContentOK, error) AdminListUserStagingContents(params *AdminListUserStagingContentsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListUserStagingContentsOK, *AdminListUserStagingContentsBadRequest, *AdminListUserStagingContentsUnauthorized, *AdminListUserStagingContentsForbidden, *AdminListUserStagingContentsInternalServerError, error) AdminListUserStagingContentsShort(params *AdminListUserStagingContentsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListUserStagingContentsOK, 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 admin staging content API client.
Source Files ¶
- admin_approve_staging_content_parameters.go
- admin_approve_staging_content_responses.go
- admin_get_staging_content_by_id_parameters.go
- admin_get_staging_content_by_id_responses.go
- admin_list_staging_contents_parameters.go
- admin_list_staging_contents_responses.go
- admin_list_user_staging_contents_parameters.go
- admin_list_user_staging_contents_responses.go
- admin_staging_content_client.go