Documentation ¶
Index ¶
- type AdminCreateChannelBadRequest
- type AdminCreateChannelConflict
- type AdminCreateChannelCreated
- type AdminCreateChannelInternalServerError
- type AdminCreateChannelParams
- func NewAdminCreateChannelParams() *AdminCreateChannelParams
- func NewAdminCreateChannelParamsWithContext(ctx context.Context) *AdminCreateChannelParams
- func NewAdminCreateChannelParamsWithHTTPClient(client *http.Client) *AdminCreateChannelParams
- func NewAdminCreateChannelParamsWithTimeout(timeout time.Duration) *AdminCreateChannelParams
- func (o *AdminCreateChannelParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminCreateChannelParams) SetBody(body *ugcclientmodels.ModelsChannelRequest)
- func (o *AdminCreateChannelParams) SetContext(ctx context.Context)
- func (o *AdminCreateChannelParams) SetHTTPClient(client *http.Client)
- func (o *AdminCreateChannelParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminCreateChannelParams) SetNamespace(namespace string)
- func (o *AdminCreateChannelParams) SetTimeout(timeout time.Duration)
- func (o *AdminCreateChannelParams) WithBody(body *ugcclientmodels.ModelsChannelRequest) *AdminCreateChannelParams
- func (o *AdminCreateChannelParams) WithContext(ctx context.Context) *AdminCreateChannelParams
- func (o *AdminCreateChannelParams) WithHTTPClient(client *http.Client) *AdminCreateChannelParams
- func (o *AdminCreateChannelParams) WithNamespace(namespace string) *AdminCreateChannelParams
- func (o *AdminCreateChannelParams) WithTimeout(timeout time.Duration) *AdminCreateChannelParams
- func (o *AdminCreateChannelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminCreateChannelReader
- type AdminCreateChannelUnauthorized
- type AdminDeleteChannelInternalServerError
- type AdminDeleteChannelNoContent
- type AdminDeleteChannelNotFound
- type AdminDeleteChannelParams
- func NewAdminDeleteChannelParams() *AdminDeleteChannelParams
- func NewAdminDeleteChannelParamsWithContext(ctx context.Context) *AdminDeleteChannelParams
- func NewAdminDeleteChannelParamsWithHTTPClient(client *http.Client) *AdminDeleteChannelParams
- func NewAdminDeleteChannelParamsWithTimeout(timeout time.Duration) *AdminDeleteChannelParams
- func (o *AdminDeleteChannelParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminDeleteChannelParams) SetChannelID(channelID string)
- func (o *AdminDeleteChannelParams) SetContext(ctx context.Context)
- func (o *AdminDeleteChannelParams) SetHTTPClient(client *http.Client)
- func (o *AdminDeleteChannelParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminDeleteChannelParams) SetNamespace(namespace string)
- func (o *AdminDeleteChannelParams) SetTimeout(timeout time.Duration)
- func (o *AdminDeleteChannelParams) SetUserID(userID string)
- func (o *AdminDeleteChannelParams) WithChannelID(channelID string) *AdminDeleteChannelParams
- func (o *AdminDeleteChannelParams) WithContext(ctx context.Context) *AdminDeleteChannelParams
- func (o *AdminDeleteChannelParams) WithHTTPClient(client *http.Client) *AdminDeleteChannelParams
- func (o *AdminDeleteChannelParams) WithNamespace(namespace string) *AdminDeleteChannelParams
- func (o *AdminDeleteChannelParams) WithTimeout(timeout time.Duration) *AdminDeleteChannelParams
- func (o *AdminDeleteChannelParams) WithUserID(userID string) *AdminDeleteChannelParams
- func (o *AdminDeleteChannelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminDeleteChannelReader
- type AdminDeleteChannelUnauthorized
- type AdminGetChannelInternalServerError
- type AdminGetChannelNotFound
- type AdminGetChannelOK
- type AdminGetChannelParams
- func NewAdminGetChannelParams() *AdminGetChannelParams
- func NewAdminGetChannelParamsWithContext(ctx context.Context) *AdminGetChannelParams
- func NewAdminGetChannelParamsWithHTTPClient(client *http.Client) *AdminGetChannelParams
- func NewAdminGetChannelParamsWithTimeout(timeout time.Duration) *AdminGetChannelParams
- func (o *AdminGetChannelParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetChannelParams) SetContext(ctx context.Context)
- func (o *AdminGetChannelParams) SetHTTPClient(client *http.Client)
- func (o *AdminGetChannelParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetChannelParams) SetLimit(limit *int64)
- func (o *AdminGetChannelParams) SetName(name *string)
- func (o *AdminGetChannelParams) SetNamespace(namespace string)
- func (o *AdminGetChannelParams) SetOffset(offset *int64)
- func (o *AdminGetChannelParams) SetTimeout(timeout time.Duration)
- func (o *AdminGetChannelParams) SetUserID(userID string)
- func (o *AdminGetChannelParams) WithContext(ctx context.Context) *AdminGetChannelParams
- func (o *AdminGetChannelParams) WithHTTPClient(client *http.Client) *AdminGetChannelParams
- func (o *AdminGetChannelParams) WithLimit(limit *int64) *AdminGetChannelParams
- func (o *AdminGetChannelParams) WithName(name *string) *AdminGetChannelParams
- func (o *AdminGetChannelParams) WithNamespace(namespace string) *AdminGetChannelParams
- func (o *AdminGetChannelParams) WithOffset(offset *int64) *AdminGetChannelParams
- func (o *AdminGetChannelParams) WithTimeout(timeout time.Duration) *AdminGetChannelParams
- func (o *AdminGetChannelParams) WithUserID(userID string) *AdminGetChannelParams
- func (o *AdminGetChannelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetChannelReader
- type AdminGetChannelUnauthorized
- type AdminUpdateChannelBadRequest
- type AdminUpdateChannelInternalServerError
- type AdminUpdateChannelNotFound
- type AdminUpdateChannelOK
- type AdminUpdateChannelParams
- func NewAdminUpdateChannelParams() *AdminUpdateChannelParams
- func NewAdminUpdateChannelParamsWithContext(ctx context.Context) *AdminUpdateChannelParams
- func NewAdminUpdateChannelParamsWithHTTPClient(client *http.Client) *AdminUpdateChannelParams
- func NewAdminUpdateChannelParamsWithTimeout(timeout time.Duration) *AdminUpdateChannelParams
- func (o *AdminUpdateChannelParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminUpdateChannelParams) SetBody(body *ugcclientmodels.ModelsUpdateChannelRequest)
- func (o *AdminUpdateChannelParams) SetChannelID(channelID string)
- func (o *AdminUpdateChannelParams) SetContext(ctx context.Context)
- func (o *AdminUpdateChannelParams) SetHTTPClient(client *http.Client)
- func (o *AdminUpdateChannelParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminUpdateChannelParams) SetNamespace(namespace string)
- func (o *AdminUpdateChannelParams) SetTimeout(timeout time.Duration)
- func (o *AdminUpdateChannelParams) SetUserID(userID string)
- func (o *AdminUpdateChannelParams) WithBody(body *ugcclientmodels.ModelsUpdateChannelRequest) *AdminUpdateChannelParams
- func (o *AdminUpdateChannelParams) WithChannelID(channelID string) *AdminUpdateChannelParams
- func (o *AdminUpdateChannelParams) WithContext(ctx context.Context) *AdminUpdateChannelParams
- func (o *AdminUpdateChannelParams) WithHTTPClient(client *http.Client) *AdminUpdateChannelParams
- func (o *AdminUpdateChannelParams) WithNamespace(namespace string) *AdminUpdateChannelParams
- func (o *AdminUpdateChannelParams) WithTimeout(timeout time.Duration) *AdminUpdateChannelParams
- func (o *AdminUpdateChannelParams) WithUserID(userID string) *AdminUpdateChannelParams
- func (o *AdminUpdateChannelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminUpdateChannelReader
- type AdminUpdateChannelUnauthorized
- type Client
- func (a *Client) AdminCreateChannel(params *AdminCreateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateChannelCreated, *AdminCreateChannelBadRequest, ...)deprecated
- func (a *Client) AdminCreateChannelShort(params *AdminCreateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateChannelCreated, error)
- func (a *Client) AdminDeleteChannel(params *AdminDeleteChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteChannelNoContent, *AdminDeleteChannelUnauthorized, ...)deprecated
- func (a *Client) AdminDeleteChannelShort(params *AdminDeleteChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteChannelNoContent, error)
- func (a *Client) AdminGetChannel(params *AdminGetChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChannelOK, *AdminGetChannelUnauthorized, *AdminGetChannelNotFound, ...)deprecated
- func (a *Client) AdminGetChannelShort(params *AdminGetChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChannelOK, error)
- func (a *Client) AdminUpdateChannel(params *AdminUpdateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateChannelOK, *AdminUpdateChannelBadRequest, ...)deprecated
- func (a *Client) AdminUpdateChannelShort(params *AdminUpdateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateChannelOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SingleAdminDeleteChannel(params *SingleAdminDeleteChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminDeleteChannelNoContent, *SingleAdminDeleteChannelUnauthorized, ...)deprecated
- func (a *Client) SingleAdminDeleteChannelShort(params *SingleAdminDeleteChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminDeleteChannelNoContent, error)
- func (a *Client) SingleAdminGetChannel(params *SingleAdminGetChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminGetChannelOK, *SingleAdminGetChannelUnauthorized, ...)deprecated
- func (a *Client) SingleAdminGetChannelShort(params *SingleAdminGetChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminGetChannelOK, error)
- func (a *Client) SingleAdminUpdateChannel(params *SingleAdminUpdateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminUpdateChannelOK, *SingleAdminUpdateChannelBadRequest, ...)deprecated
- func (a *Client) SingleAdminUpdateChannelShort(params *SingleAdminUpdateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminUpdateChannelOK, error)
- type ClientService
- type SingleAdminDeleteChannelInternalServerError
- type SingleAdminDeleteChannelNoContent
- type SingleAdminDeleteChannelNotFound
- type SingleAdminDeleteChannelParams
- func NewSingleAdminDeleteChannelParams() *SingleAdminDeleteChannelParams
- func NewSingleAdminDeleteChannelParamsWithContext(ctx context.Context) *SingleAdminDeleteChannelParams
- func NewSingleAdminDeleteChannelParamsWithHTTPClient(client *http.Client) *SingleAdminDeleteChannelParams
- func NewSingleAdminDeleteChannelParamsWithTimeout(timeout time.Duration) *SingleAdminDeleteChannelParams
- func (o *SingleAdminDeleteChannelParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *SingleAdminDeleteChannelParams) SetChannelID(channelID string)
- func (o *SingleAdminDeleteChannelParams) SetContext(ctx context.Context)
- func (o *SingleAdminDeleteChannelParams) SetHTTPClient(client *http.Client)
- func (o *SingleAdminDeleteChannelParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *SingleAdminDeleteChannelParams) SetNamespace(namespace string)
- func (o *SingleAdminDeleteChannelParams) SetTimeout(timeout time.Duration)
- func (o *SingleAdminDeleteChannelParams) WithChannelID(channelID string) *SingleAdminDeleteChannelParams
- func (o *SingleAdminDeleteChannelParams) WithContext(ctx context.Context) *SingleAdminDeleteChannelParams
- func (o *SingleAdminDeleteChannelParams) WithHTTPClient(client *http.Client) *SingleAdminDeleteChannelParams
- func (o *SingleAdminDeleteChannelParams) WithNamespace(namespace string) *SingleAdminDeleteChannelParams
- func (o *SingleAdminDeleteChannelParams) WithTimeout(timeout time.Duration) *SingleAdminDeleteChannelParams
- func (o *SingleAdminDeleteChannelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SingleAdminDeleteChannelReader
- type SingleAdminDeleteChannelUnauthorized
- type SingleAdminGetChannelInternalServerError
- type SingleAdminGetChannelNotFound
- type SingleAdminGetChannelOK
- type SingleAdminGetChannelParams
- func NewSingleAdminGetChannelParams() *SingleAdminGetChannelParams
- func NewSingleAdminGetChannelParamsWithContext(ctx context.Context) *SingleAdminGetChannelParams
- func NewSingleAdminGetChannelParamsWithHTTPClient(client *http.Client) *SingleAdminGetChannelParams
- func NewSingleAdminGetChannelParamsWithTimeout(timeout time.Duration) *SingleAdminGetChannelParams
- func (o *SingleAdminGetChannelParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *SingleAdminGetChannelParams) SetContext(ctx context.Context)
- func (o *SingleAdminGetChannelParams) SetHTTPClient(client *http.Client)
- func (o *SingleAdminGetChannelParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *SingleAdminGetChannelParams) SetLimit(limit *int64)
- func (o *SingleAdminGetChannelParams) SetNamespace(namespace string)
- func (o *SingleAdminGetChannelParams) SetOffset(offset *int64)
- func (o *SingleAdminGetChannelParams) SetTimeout(timeout time.Duration)
- func (o *SingleAdminGetChannelParams) WithContext(ctx context.Context) *SingleAdminGetChannelParams
- func (o *SingleAdminGetChannelParams) WithHTTPClient(client *http.Client) *SingleAdminGetChannelParams
- func (o *SingleAdminGetChannelParams) WithLimit(limit *int64) *SingleAdminGetChannelParams
- func (o *SingleAdminGetChannelParams) WithNamespace(namespace string) *SingleAdminGetChannelParams
- func (o *SingleAdminGetChannelParams) WithOffset(offset *int64) *SingleAdminGetChannelParams
- func (o *SingleAdminGetChannelParams) WithTimeout(timeout time.Duration) *SingleAdminGetChannelParams
- func (o *SingleAdminGetChannelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SingleAdminGetChannelReader
- type SingleAdminGetChannelUnauthorized
- type SingleAdminUpdateChannelBadRequest
- type SingleAdminUpdateChannelInternalServerError
- type SingleAdminUpdateChannelNotFound
- type SingleAdminUpdateChannelOK
- type SingleAdminUpdateChannelParams
- func NewSingleAdminUpdateChannelParams() *SingleAdminUpdateChannelParams
- func NewSingleAdminUpdateChannelParamsWithContext(ctx context.Context) *SingleAdminUpdateChannelParams
- func NewSingleAdminUpdateChannelParamsWithHTTPClient(client *http.Client) *SingleAdminUpdateChannelParams
- func NewSingleAdminUpdateChannelParamsWithTimeout(timeout time.Duration) *SingleAdminUpdateChannelParams
- func (o *SingleAdminUpdateChannelParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *SingleAdminUpdateChannelParams) SetBody(body *ugcclientmodels.ModelsUpdateChannelRequest)
- func (o *SingleAdminUpdateChannelParams) SetChannelID(channelID string)
- func (o *SingleAdminUpdateChannelParams) SetContext(ctx context.Context)
- func (o *SingleAdminUpdateChannelParams) SetHTTPClient(client *http.Client)
- func (o *SingleAdminUpdateChannelParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *SingleAdminUpdateChannelParams) SetNamespace(namespace string)
- func (o *SingleAdminUpdateChannelParams) SetTimeout(timeout time.Duration)
- func (o *SingleAdminUpdateChannelParams) WithBody(body *ugcclientmodels.ModelsUpdateChannelRequest) *SingleAdminUpdateChannelParams
- func (o *SingleAdminUpdateChannelParams) WithChannelID(channelID string) *SingleAdminUpdateChannelParams
- func (o *SingleAdminUpdateChannelParams) WithContext(ctx context.Context) *SingleAdminUpdateChannelParams
- func (o *SingleAdminUpdateChannelParams) WithHTTPClient(client *http.Client) *SingleAdminUpdateChannelParams
- func (o *SingleAdminUpdateChannelParams) WithNamespace(namespace string) *SingleAdminUpdateChannelParams
- func (o *SingleAdminUpdateChannelParams) WithTimeout(timeout time.Duration) *SingleAdminUpdateChannelParams
- func (o *SingleAdminUpdateChannelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SingleAdminUpdateChannelReader
- type SingleAdminUpdateChannelUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminCreateChannelBadRequest ¶
type AdminCreateChannelBadRequest struct {
Payload *ugcclientmodels.ResponseError
}
AdminCreateChannelBadRequest handles this case with default header values.
Bad Request
func NewAdminCreateChannelBadRequest ¶
func NewAdminCreateChannelBadRequest() *AdminCreateChannelBadRequest
NewAdminCreateChannelBadRequest creates a AdminCreateChannelBadRequest with default headers values
func (*AdminCreateChannelBadRequest) Error ¶
func (o *AdminCreateChannelBadRequest) Error() string
func (*AdminCreateChannelBadRequest) GetPayload ¶
func (o *AdminCreateChannelBadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*AdminCreateChannelBadRequest) ToJSONString ¶ added in v0.25.0
func (o *AdminCreateChannelBadRequest) ToJSONString() string
type AdminCreateChannelConflict ¶ added in v0.42.0
type AdminCreateChannelConflict struct {
Payload *ugcclientmodels.ResponseError
}
AdminCreateChannelConflict handles this case with default header values.
Conflict
func NewAdminCreateChannelConflict ¶ added in v0.42.0
func NewAdminCreateChannelConflict() *AdminCreateChannelConflict
NewAdminCreateChannelConflict creates a AdminCreateChannelConflict with default headers values
func (*AdminCreateChannelConflict) Error ¶ added in v0.42.0
func (o *AdminCreateChannelConflict) Error() string
func (*AdminCreateChannelConflict) GetPayload ¶ added in v0.42.0
func (o *AdminCreateChannelConflict) GetPayload() *ugcclientmodels.ResponseError
func (*AdminCreateChannelConflict) ToJSONString ¶ added in v0.42.0
func (o *AdminCreateChannelConflict) ToJSONString() string
type AdminCreateChannelCreated ¶
type AdminCreateChannelCreated struct {
Payload *ugcclientmodels.ModelsChannelResponse
}
AdminCreateChannelCreated handles this case with default header values.
Created
func NewAdminCreateChannelCreated ¶
func NewAdminCreateChannelCreated() *AdminCreateChannelCreated
NewAdminCreateChannelCreated creates a AdminCreateChannelCreated with default headers values
func (*AdminCreateChannelCreated) Error ¶
func (o *AdminCreateChannelCreated) Error() string
func (*AdminCreateChannelCreated) GetPayload ¶
func (o *AdminCreateChannelCreated) GetPayload() *ugcclientmodels.ModelsChannelResponse
func (*AdminCreateChannelCreated) ToJSONString ¶ added in v0.25.0
func (o *AdminCreateChannelCreated) ToJSONString() string
type AdminCreateChannelInternalServerError ¶
type AdminCreateChannelInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
AdminCreateChannelInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminCreateChannelInternalServerError ¶
func NewAdminCreateChannelInternalServerError() *AdminCreateChannelInternalServerError
NewAdminCreateChannelInternalServerError creates a AdminCreateChannelInternalServerError with default headers values
func (*AdminCreateChannelInternalServerError) Error ¶
func (o *AdminCreateChannelInternalServerError) Error() string
func (*AdminCreateChannelInternalServerError) GetPayload ¶
func (o *AdminCreateChannelInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminCreateChannelInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *AdminCreateChannelInternalServerError) ToJSONString() string
type AdminCreateChannelParams ¶
type AdminCreateChannelParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *ugcclientmodels.ModelsChannelRequest /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminCreateChannelParams contains all the parameters to send to the API endpoint for the admin create channel operation typically these are written to a http.Request
func NewAdminCreateChannelParams ¶
func NewAdminCreateChannelParams() *AdminCreateChannelParams
NewAdminCreateChannelParams creates a new AdminCreateChannelParams object with the default values initialized.
func NewAdminCreateChannelParamsWithContext ¶
func NewAdminCreateChannelParamsWithContext(ctx context.Context) *AdminCreateChannelParams
NewAdminCreateChannelParamsWithContext creates a new AdminCreateChannelParams object with the default values initialized, and the ability to set a context for a request
func NewAdminCreateChannelParamsWithHTTPClient ¶
func NewAdminCreateChannelParamsWithHTTPClient(client *http.Client) *AdminCreateChannelParams
NewAdminCreateChannelParamsWithHTTPClient creates a new AdminCreateChannelParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminCreateChannelParamsWithTimeout ¶
func NewAdminCreateChannelParamsWithTimeout(timeout time.Duration) *AdminCreateChannelParams
NewAdminCreateChannelParamsWithTimeout creates a new AdminCreateChannelParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminCreateChannelParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *AdminCreateChannelParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin create channel params
func (*AdminCreateChannelParams) SetBody ¶
func (o *AdminCreateChannelParams) SetBody(body *ugcclientmodels.ModelsChannelRequest)
SetBody adds the body to the admin create channel params
func (*AdminCreateChannelParams) SetContext ¶
func (o *AdminCreateChannelParams) SetContext(ctx context.Context)
SetContext adds the context to the admin create channel params
func (*AdminCreateChannelParams) SetHTTPClient ¶
func (o *AdminCreateChannelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin create channel params
func (*AdminCreateChannelParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *AdminCreateChannelParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin create channel params
func (*AdminCreateChannelParams) SetNamespace ¶
func (o *AdminCreateChannelParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin create channel params
func (*AdminCreateChannelParams) SetTimeout ¶
func (o *AdminCreateChannelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin create channel params
func (*AdminCreateChannelParams) WithBody ¶
func (o *AdminCreateChannelParams) WithBody(body *ugcclientmodels.ModelsChannelRequest) *AdminCreateChannelParams
WithBody adds the body to the admin create channel params
func (*AdminCreateChannelParams) WithContext ¶
func (o *AdminCreateChannelParams) WithContext(ctx context.Context) *AdminCreateChannelParams
WithContext adds the context to the admin create channel params
func (*AdminCreateChannelParams) WithHTTPClient ¶
func (o *AdminCreateChannelParams) WithHTTPClient(client *http.Client) *AdminCreateChannelParams
WithHTTPClient adds the HTTPClient to the admin create channel params
func (*AdminCreateChannelParams) WithNamespace ¶
func (o *AdminCreateChannelParams) WithNamespace(namespace string) *AdminCreateChannelParams
WithNamespace adds the namespace to the admin create channel params
func (*AdminCreateChannelParams) WithTimeout ¶
func (o *AdminCreateChannelParams) WithTimeout(timeout time.Duration) *AdminCreateChannelParams
WithTimeout adds the timeout to the admin create channel params
func (*AdminCreateChannelParams) WriteToRequest ¶
func (o *AdminCreateChannelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminCreateChannelReader ¶
type AdminCreateChannelReader struct {
// contains filtered or unexported fields
}
AdminCreateChannelReader is a Reader for the AdminCreateChannel structure.
func (*AdminCreateChannelReader) ReadResponse ¶
func (o *AdminCreateChannelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminCreateChannelUnauthorized ¶
type AdminCreateChannelUnauthorized struct {
}AdminCreateChannelUnauthorized handles this case with default header values.
Unauthorized
func NewAdminCreateChannelUnauthorized ¶
func NewAdminCreateChannelUnauthorized() *AdminCreateChannelUnauthorized
NewAdminCreateChannelUnauthorized creates a AdminCreateChannelUnauthorized with default headers values
func (*AdminCreateChannelUnauthorized) Error ¶
func (o *AdminCreateChannelUnauthorized) Error() string
func (*AdminCreateChannelUnauthorized) GetPayload ¶
func (o *AdminCreateChannelUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*AdminCreateChannelUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *AdminCreateChannelUnauthorized) ToJSONString() string
type AdminDeleteChannelInternalServerError ¶
type AdminDeleteChannelInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
AdminDeleteChannelInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminDeleteChannelInternalServerError ¶
func NewAdminDeleteChannelInternalServerError() *AdminDeleteChannelInternalServerError
NewAdminDeleteChannelInternalServerError creates a AdminDeleteChannelInternalServerError with default headers values
func (*AdminDeleteChannelInternalServerError) Error ¶
func (o *AdminDeleteChannelInternalServerError) Error() string
func (*AdminDeleteChannelInternalServerError) GetPayload ¶
func (o *AdminDeleteChannelInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminDeleteChannelInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *AdminDeleteChannelInternalServerError) ToJSONString() string
type AdminDeleteChannelNoContent ¶
type AdminDeleteChannelNoContent struct { }
AdminDeleteChannelNoContent handles this case with default header values.
No Content
func NewAdminDeleteChannelNoContent ¶
func NewAdminDeleteChannelNoContent() *AdminDeleteChannelNoContent
NewAdminDeleteChannelNoContent creates a AdminDeleteChannelNoContent with default headers values
func (*AdminDeleteChannelNoContent) Error ¶
func (o *AdminDeleteChannelNoContent) Error() string
type AdminDeleteChannelNotFound ¶
type AdminDeleteChannelNotFound struct {
Payload *ugcclientmodels.ResponseError
}
AdminDeleteChannelNotFound handles this case with default header values.
Not Found
func NewAdminDeleteChannelNotFound ¶
func NewAdminDeleteChannelNotFound() *AdminDeleteChannelNotFound
NewAdminDeleteChannelNotFound creates a AdminDeleteChannelNotFound with default headers values
func (*AdminDeleteChannelNotFound) Error ¶
func (o *AdminDeleteChannelNotFound) Error() string
func (*AdminDeleteChannelNotFound) GetPayload ¶
func (o *AdminDeleteChannelNotFound) GetPayload() *ugcclientmodels.ResponseError
func (*AdminDeleteChannelNotFound) ToJSONString ¶ added in v0.25.0
func (o *AdminDeleteChannelNotFound) ToJSONString() string
type AdminDeleteChannelParams ¶
type AdminDeleteChannelParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ChannelID channelID */ ChannelID string /*Namespace namespace of the game */ Namespace string /*UserID user ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminDeleteChannelParams contains all the parameters to send to the API endpoint for the admin delete channel operation typically these are written to a http.Request
func NewAdminDeleteChannelParams ¶
func NewAdminDeleteChannelParams() *AdminDeleteChannelParams
NewAdminDeleteChannelParams creates a new AdminDeleteChannelParams object with the default values initialized.
func NewAdminDeleteChannelParamsWithContext ¶
func NewAdminDeleteChannelParamsWithContext(ctx context.Context) *AdminDeleteChannelParams
NewAdminDeleteChannelParamsWithContext creates a new AdminDeleteChannelParams object with the default values initialized, and the ability to set a context for a request
func NewAdminDeleteChannelParamsWithHTTPClient ¶
func NewAdminDeleteChannelParamsWithHTTPClient(client *http.Client) *AdminDeleteChannelParams
NewAdminDeleteChannelParamsWithHTTPClient creates a new AdminDeleteChannelParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminDeleteChannelParamsWithTimeout ¶
func NewAdminDeleteChannelParamsWithTimeout(timeout time.Duration) *AdminDeleteChannelParams
NewAdminDeleteChannelParamsWithTimeout creates a new AdminDeleteChannelParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminDeleteChannelParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *AdminDeleteChannelParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin delete channel params
func (*AdminDeleteChannelParams) SetChannelID ¶
func (o *AdminDeleteChannelParams) SetChannelID(channelID string)
SetChannelID adds the channelId to the admin delete channel params
func (*AdminDeleteChannelParams) SetContext ¶
func (o *AdminDeleteChannelParams) SetContext(ctx context.Context)
SetContext adds the context to the admin delete channel params
func (*AdminDeleteChannelParams) SetHTTPClient ¶
func (o *AdminDeleteChannelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin delete channel params
func (*AdminDeleteChannelParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *AdminDeleteChannelParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin delete channel params
func (*AdminDeleteChannelParams) SetNamespace ¶
func (o *AdminDeleteChannelParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin delete channel params
func (*AdminDeleteChannelParams) SetTimeout ¶
func (o *AdminDeleteChannelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin delete channel params
func (*AdminDeleteChannelParams) SetUserID ¶
func (o *AdminDeleteChannelParams) SetUserID(userID string)
SetUserID adds the userId to the admin delete channel params
func (*AdminDeleteChannelParams) WithChannelID ¶
func (o *AdminDeleteChannelParams) WithChannelID(channelID string) *AdminDeleteChannelParams
WithChannelID adds the channelID to the admin delete channel params
func (*AdminDeleteChannelParams) WithContext ¶
func (o *AdminDeleteChannelParams) WithContext(ctx context.Context) *AdminDeleteChannelParams
WithContext adds the context to the admin delete channel params
func (*AdminDeleteChannelParams) WithHTTPClient ¶
func (o *AdminDeleteChannelParams) WithHTTPClient(client *http.Client) *AdminDeleteChannelParams
WithHTTPClient adds the HTTPClient to the admin delete channel params
func (*AdminDeleteChannelParams) WithNamespace ¶
func (o *AdminDeleteChannelParams) WithNamespace(namespace string) *AdminDeleteChannelParams
WithNamespace adds the namespace to the admin delete channel params
func (*AdminDeleteChannelParams) WithTimeout ¶
func (o *AdminDeleteChannelParams) WithTimeout(timeout time.Duration) *AdminDeleteChannelParams
WithTimeout adds the timeout to the admin delete channel params
func (*AdminDeleteChannelParams) WithUserID ¶
func (o *AdminDeleteChannelParams) WithUserID(userID string) *AdminDeleteChannelParams
WithUserID adds the userID to the admin delete channel params
func (*AdminDeleteChannelParams) WriteToRequest ¶
func (o *AdminDeleteChannelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminDeleteChannelReader ¶
type AdminDeleteChannelReader struct {
// contains filtered or unexported fields
}
AdminDeleteChannelReader is a Reader for the AdminDeleteChannel structure.
func (*AdminDeleteChannelReader) ReadResponse ¶
func (o *AdminDeleteChannelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminDeleteChannelUnauthorized ¶
type AdminDeleteChannelUnauthorized struct {
}AdminDeleteChannelUnauthorized handles this case with default header values.
Unauthorized
func NewAdminDeleteChannelUnauthorized ¶
func NewAdminDeleteChannelUnauthorized() *AdminDeleteChannelUnauthorized
NewAdminDeleteChannelUnauthorized creates a AdminDeleteChannelUnauthorized with default headers values
func (*AdminDeleteChannelUnauthorized) Error ¶
func (o *AdminDeleteChannelUnauthorized) Error() string
func (*AdminDeleteChannelUnauthorized) GetPayload ¶
func (o *AdminDeleteChannelUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*AdminDeleteChannelUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *AdminDeleteChannelUnauthorized) ToJSONString() string
type AdminGetChannelInternalServerError ¶
type AdminGetChannelInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
AdminGetChannelInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminGetChannelInternalServerError ¶
func NewAdminGetChannelInternalServerError() *AdminGetChannelInternalServerError
NewAdminGetChannelInternalServerError creates a AdminGetChannelInternalServerError with default headers values
func (*AdminGetChannelInternalServerError) Error ¶
func (o *AdminGetChannelInternalServerError) Error() string
func (*AdminGetChannelInternalServerError) GetPayload ¶
func (o *AdminGetChannelInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGetChannelInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *AdminGetChannelInternalServerError) ToJSONString() string
type AdminGetChannelNotFound ¶
type AdminGetChannelNotFound struct {
Payload *ugcclientmodels.ResponseError
}
AdminGetChannelNotFound handles this case with default header values.
Not Found
func NewAdminGetChannelNotFound ¶
func NewAdminGetChannelNotFound() *AdminGetChannelNotFound
NewAdminGetChannelNotFound creates a AdminGetChannelNotFound with default headers values
func (*AdminGetChannelNotFound) Error ¶
func (o *AdminGetChannelNotFound) Error() string
func (*AdminGetChannelNotFound) GetPayload ¶
func (o *AdminGetChannelNotFound) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGetChannelNotFound) ToJSONString ¶ added in v0.25.0
func (o *AdminGetChannelNotFound) ToJSONString() string
type AdminGetChannelOK ¶
type AdminGetChannelOK struct {
Payload *ugcclientmodels.ModelsPaginatedGetChannelResponse
}
AdminGetChannelOK handles this case with default header values.
OK
func NewAdminGetChannelOK ¶
func NewAdminGetChannelOK() *AdminGetChannelOK
NewAdminGetChannelOK creates a AdminGetChannelOK with default headers values
func (*AdminGetChannelOK) Error ¶
func (o *AdminGetChannelOK) Error() string
func (*AdminGetChannelOK) GetPayload ¶
func (o *AdminGetChannelOK) GetPayload() *ugcclientmodels.ModelsPaginatedGetChannelResponse
func (*AdminGetChannelOK) ToJSONString ¶ added in v0.25.0
func (o *AdminGetChannelOK) ToJSONString() string
type AdminGetChannelParams ¶
type AdminGetChannelParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*UserID user ID */ UserID string /*Limit number of content per page */ Limit *int64 /*Name likes filter by channel name */ Name *string /*Offset the offset number to retrieve */ Offset *int64 AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminGetChannelParams contains all the parameters to send to the API endpoint for the admin get channel operation typically these are written to a http.Request
func NewAdminGetChannelParams ¶
func NewAdminGetChannelParams() *AdminGetChannelParams
NewAdminGetChannelParams creates a new AdminGetChannelParams object with the default values initialized.
func NewAdminGetChannelParamsWithContext ¶
func NewAdminGetChannelParamsWithContext(ctx context.Context) *AdminGetChannelParams
NewAdminGetChannelParamsWithContext creates a new AdminGetChannelParams object with the default values initialized, and the ability to set a context for a request
func NewAdminGetChannelParamsWithHTTPClient ¶
func NewAdminGetChannelParamsWithHTTPClient(client *http.Client) *AdminGetChannelParams
NewAdminGetChannelParamsWithHTTPClient creates a new AdminGetChannelParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminGetChannelParamsWithTimeout ¶
func NewAdminGetChannelParamsWithTimeout(timeout time.Duration) *AdminGetChannelParams
NewAdminGetChannelParamsWithTimeout creates a new AdminGetChannelParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminGetChannelParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *AdminGetChannelParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin get channel params
func (*AdminGetChannelParams) SetContext ¶
func (o *AdminGetChannelParams) SetContext(ctx context.Context)
SetContext adds the context to the admin get channel params
func (*AdminGetChannelParams) SetHTTPClient ¶
func (o *AdminGetChannelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get channel params
func (*AdminGetChannelParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *AdminGetChannelParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin get channel params
func (*AdminGetChannelParams) SetLimit ¶
func (o *AdminGetChannelParams) SetLimit(limit *int64)
SetLimit adds the limit to the admin get channel params
func (*AdminGetChannelParams) SetName ¶ added in v0.47.0
func (o *AdminGetChannelParams) SetName(name *string)
SetName adds the name to the admin get channel params
func (*AdminGetChannelParams) SetNamespace ¶
func (o *AdminGetChannelParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin get channel params
func (*AdminGetChannelParams) SetOffset ¶
func (o *AdminGetChannelParams) SetOffset(offset *int64)
SetOffset adds the offset to the admin get channel params
func (*AdminGetChannelParams) SetTimeout ¶
func (o *AdminGetChannelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get channel params
func (*AdminGetChannelParams) SetUserID ¶
func (o *AdminGetChannelParams) SetUserID(userID string)
SetUserID adds the userId to the admin get channel params
func (*AdminGetChannelParams) WithContext ¶
func (o *AdminGetChannelParams) WithContext(ctx context.Context) *AdminGetChannelParams
WithContext adds the context to the admin get channel params
func (*AdminGetChannelParams) WithHTTPClient ¶
func (o *AdminGetChannelParams) WithHTTPClient(client *http.Client) *AdminGetChannelParams
WithHTTPClient adds the HTTPClient to the admin get channel params
func (*AdminGetChannelParams) WithLimit ¶
func (o *AdminGetChannelParams) WithLimit(limit *int64) *AdminGetChannelParams
WithLimit adds the limit to the admin get channel params
func (*AdminGetChannelParams) WithName ¶ added in v0.47.0
func (o *AdminGetChannelParams) WithName(name *string) *AdminGetChannelParams
WithName adds the name to the admin get channel params
func (*AdminGetChannelParams) WithNamespace ¶
func (o *AdminGetChannelParams) WithNamespace(namespace string) *AdminGetChannelParams
WithNamespace adds the namespace to the admin get channel params
func (*AdminGetChannelParams) WithOffset ¶
func (o *AdminGetChannelParams) WithOffset(offset *int64) *AdminGetChannelParams
WithOffset adds the offset to the admin get channel params
func (*AdminGetChannelParams) WithTimeout ¶
func (o *AdminGetChannelParams) WithTimeout(timeout time.Duration) *AdminGetChannelParams
WithTimeout adds the timeout to the admin get channel params
func (*AdminGetChannelParams) WithUserID ¶
func (o *AdminGetChannelParams) WithUserID(userID string) *AdminGetChannelParams
WithUserID adds the userID to the admin get channel params
func (*AdminGetChannelParams) WriteToRequest ¶
func (o *AdminGetChannelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetChannelReader ¶
type AdminGetChannelReader struct {
// contains filtered or unexported fields
}
AdminGetChannelReader is a Reader for the AdminGetChannel structure.
func (*AdminGetChannelReader) ReadResponse ¶
func (o *AdminGetChannelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetChannelUnauthorized ¶
type AdminGetChannelUnauthorized struct {
}AdminGetChannelUnauthorized handles this case with default header values.
Unauthorized
func NewAdminGetChannelUnauthorized ¶
func NewAdminGetChannelUnauthorized() *AdminGetChannelUnauthorized
NewAdminGetChannelUnauthorized creates a AdminGetChannelUnauthorized with default headers values
func (*AdminGetChannelUnauthorized) Error ¶
func (o *AdminGetChannelUnauthorized) Error() string
func (*AdminGetChannelUnauthorized) GetPayload ¶
func (o *AdminGetChannelUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGetChannelUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *AdminGetChannelUnauthorized) ToJSONString() string
type AdminUpdateChannelBadRequest ¶
type AdminUpdateChannelBadRequest struct {
Payload *ugcclientmodels.ResponseError
}
AdminUpdateChannelBadRequest handles this case with default header values.
Bad Request
func NewAdminUpdateChannelBadRequest ¶
func NewAdminUpdateChannelBadRequest() *AdminUpdateChannelBadRequest
NewAdminUpdateChannelBadRequest creates a AdminUpdateChannelBadRequest with default headers values
func (*AdminUpdateChannelBadRequest) Error ¶
func (o *AdminUpdateChannelBadRequest) Error() string
func (*AdminUpdateChannelBadRequest) GetPayload ¶
func (o *AdminUpdateChannelBadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateChannelBadRequest) ToJSONString ¶ added in v0.25.0
func (o *AdminUpdateChannelBadRequest) ToJSONString() string
type AdminUpdateChannelInternalServerError ¶
type AdminUpdateChannelInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
AdminUpdateChannelInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminUpdateChannelInternalServerError ¶
func NewAdminUpdateChannelInternalServerError() *AdminUpdateChannelInternalServerError
NewAdminUpdateChannelInternalServerError creates a AdminUpdateChannelInternalServerError with default headers values
func (*AdminUpdateChannelInternalServerError) Error ¶
func (o *AdminUpdateChannelInternalServerError) Error() string
func (*AdminUpdateChannelInternalServerError) GetPayload ¶
func (o *AdminUpdateChannelInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateChannelInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *AdminUpdateChannelInternalServerError) ToJSONString() string
type AdminUpdateChannelNotFound ¶
type AdminUpdateChannelNotFound struct {
Payload *ugcclientmodels.ResponseError
}
AdminUpdateChannelNotFound handles this case with default header values.
Not Found
func NewAdminUpdateChannelNotFound ¶
func NewAdminUpdateChannelNotFound() *AdminUpdateChannelNotFound
NewAdminUpdateChannelNotFound creates a AdminUpdateChannelNotFound with default headers values
func (*AdminUpdateChannelNotFound) Error ¶
func (o *AdminUpdateChannelNotFound) Error() string
func (*AdminUpdateChannelNotFound) GetPayload ¶
func (o *AdminUpdateChannelNotFound) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateChannelNotFound) ToJSONString ¶ added in v0.25.0
func (o *AdminUpdateChannelNotFound) ToJSONString() string
type AdminUpdateChannelOK ¶
type AdminUpdateChannelOK struct {
Payload *ugcclientmodels.ModelsChannelResponse
}
AdminUpdateChannelOK handles this case with default header values.
OK
func NewAdminUpdateChannelOK ¶
func NewAdminUpdateChannelOK() *AdminUpdateChannelOK
NewAdminUpdateChannelOK creates a AdminUpdateChannelOK with default headers values
func (*AdminUpdateChannelOK) Error ¶
func (o *AdminUpdateChannelOK) Error() string
func (*AdminUpdateChannelOK) GetPayload ¶
func (o *AdminUpdateChannelOK) GetPayload() *ugcclientmodels.ModelsChannelResponse
func (*AdminUpdateChannelOK) ToJSONString ¶ added in v0.25.0
func (o *AdminUpdateChannelOK) ToJSONString() string
type AdminUpdateChannelParams ¶
type AdminUpdateChannelParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *ugcclientmodels.ModelsUpdateChannelRequest /*ChannelID channelID */ ChannelID string /*Namespace namespace of the game */ Namespace string /*UserID user ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminUpdateChannelParams contains all the parameters to send to the API endpoint for the admin update channel operation typically these are written to a http.Request
func NewAdminUpdateChannelParams ¶
func NewAdminUpdateChannelParams() *AdminUpdateChannelParams
NewAdminUpdateChannelParams creates a new AdminUpdateChannelParams object with the default values initialized.
func NewAdminUpdateChannelParamsWithContext ¶
func NewAdminUpdateChannelParamsWithContext(ctx context.Context) *AdminUpdateChannelParams
NewAdminUpdateChannelParamsWithContext creates a new AdminUpdateChannelParams object with the default values initialized, and the ability to set a context for a request
func NewAdminUpdateChannelParamsWithHTTPClient ¶
func NewAdminUpdateChannelParamsWithHTTPClient(client *http.Client) *AdminUpdateChannelParams
NewAdminUpdateChannelParamsWithHTTPClient creates a new AdminUpdateChannelParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminUpdateChannelParamsWithTimeout ¶
func NewAdminUpdateChannelParamsWithTimeout(timeout time.Duration) *AdminUpdateChannelParams
NewAdminUpdateChannelParamsWithTimeout creates a new AdminUpdateChannelParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminUpdateChannelParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *AdminUpdateChannelParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin update channel params
func (*AdminUpdateChannelParams) SetBody ¶
func (o *AdminUpdateChannelParams) SetBody(body *ugcclientmodels.ModelsUpdateChannelRequest)
SetBody adds the body to the admin update channel params
func (*AdminUpdateChannelParams) SetChannelID ¶
func (o *AdminUpdateChannelParams) SetChannelID(channelID string)
SetChannelID adds the channelId to the admin update channel params
func (*AdminUpdateChannelParams) SetContext ¶
func (o *AdminUpdateChannelParams) SetContext(ctx context.Context)
SetContext adds the context to the admin update channel params
func (*AdminUpdateChannelParams) SetHTTPClient ¶
func (o *AdminUpdateChannelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin update channel params
func (*AdminUpdateChannelParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *AdminUpdateChannelParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin update channel params
func (*AdminUpdateChannelParams) SetNamespace ¶
func (o *AdminUpdateChannelParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin update channel params
func (*AdminUpdateChannelParams) SetTimeout ¶
func (o *AdminUpdateChannelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin update channel params
func (*AdminUpdateChannelParams) SetUserID ¶
func (o *AdminUpdateChannelParams) SetUserID(userID string)
SetUserID adds the userId to the admin update channel params
func (*AdminUpdateChannelParams) WithBody ¶
func (o *AdminUpdateChannelParams) WithBody(body *ugcclientmodels.ModelsUpdateChannelRequest) *AdminUpdateChannelParams
WithBody adds the body to the admin update channel params
func (*AdminUpdateChannelParams) WithChannelID ¶
func (o *AdminUpdateChannelParams) WithChannelID(channelID string) *AdminUpdateChannelParams
WithChannelID adds the channelID to the admin update channel params
func (*AdminUpdateChannelParams) WithContext ¶
func (o *AdminUpdateChannelParams) WithContext(ctx context.Context) *AdminUpdateChannelParams
WithContext adds the context to the admin update channel params
func (*AdminUpdateChannelParams) WithHTTPClient ¶
func (o *AdminUpdateChannelParams) WithHTTPClient(client *http.Client) *AdminUpdateChannelParams
WithHTTPClient adds the HTTPClient to the admin update channel params
func (*AdminUpdateChannelParams) WithNamespace ¶
func (o *AdminUpdateChannelParams) WithNamespace(namespace string) *AdminUpdateChannelParams
WithNamespace adds the namespace to the admin update channel params
func (*AdminUpdateChannelParams) WithTimeout ¶
func (o *AdminUpdateChannelParams) WithTimeout(timeout time.Duration) *AdminUpdateChannelParams
WithTimeout adds the timeout to the admin update channel params
func (*AdminUpdateChannelParams) WithUserID ¶
func (o *AdminUpdateChannelParams) WithUserID(userID string) *AdminUpdateChannelParams
WithUserID adds the userID to the admin update channel params
func (*AdminUpdateChannelParams) WriteToRequest ¶
func (o *AdminUpdateChannelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminUpdateChannelReader ¶
type AdminUpdateChannelReader struct {
// contains filtered or unexported fields
}
AdminUpdateChannelReader is a Reader for the AdminUpdateChannel structure.
func (*AdminUpdateChannelReader) ReadResponse ¶
func (o *AdminUpdateChannelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminUpdateChannelUnauthorized ¶
type AdminUpdateChannelUnauthorized struct {
}AdminUpdateChannelUnauthorized handles this case with default header values.
Unauthorized
func NewAdminUpdateChannelUnauthorized ¶
func NewAdminUpdateChannelUnauthorized() *AdminUpdateChannelUnauthorized
NewAdminUpdateChannelUnauthorized creates a AdminUpdateChannelUnauthorized with default headers values
func (*AdminUpdateChannelUnauthorized) Error ¶
func (o *AdminUpdateChannelUnauthorized) Error() string
func (*AdminUpdateChannelUnauthorized) GetPayload ¶
func (o *AdminUpdateChannelUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateChannelUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *AdminUpdateChannelUnauthorized) ToJSONString() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for admin channel API
func (*Client) AdminCreateChannel
deprecated
func (a *Client) AdminCreateChannel(params *AdminCreateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateChannelCreated, *AdminCreateChannelBadRequest, *AdminCreateChannelUnauthorized, *AdminCreateChannelConflict, *AdminCreateChannelInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminCreateChannelShort instead.
AdminCreateChannel create channel Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CHANNEL [CREATE]
func (*Client) AdminCreateChannelShort ¶
func (a *Client) AdminCreateChannelShort(params *AdminCreateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateChannelCreated, error)
AdminCreateChannelShort create channel Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CHANNEL [CREATE]
func (*Client) AdminDeleteChannel
deprecated
func (a *Client) AdminDeleteChannel(params *AdminDeleteChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteChannelNoContent, *AdminDeleteChannelUnauthorized, *AdminDeleteChannelNotFound, *AdminDeleteChannelInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminDeleteChannelShort instead.
AdminDeleteChannel delete channel Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CHANNEL [DELETE]
func (*Client) AdminDeleteChannelShort ¶
func (a *Client) AdminDeleteChannelShort(params *AdminDeleteChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteChannelNoContent, error)
AdminDeleteChannelShort delete channel Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CHANNEL [DELETE]
func (*Client) AdminGetChannel
deprecated
func (a *Client) AdminGetChannel(params *AdminGetChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChannelOK, *AdminGetChannelUnauthorized, *AdminGetChannelNotFound, *AdminGetChannelInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminGetChannelShort instead.
AdminGetChannel get channels Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CHANNEL [READ]
func (*Client) AdminGetChannelShort ¶
func (a *Client) AdminGetChannelShort(params *AdminGetChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChannelOK, error)
AdminGetChannelShort get channels Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CHANNEL [READ]
func (*Client) AdminUpdateChannel
deprecated
func (a *Client) AdminUpdateChannel(params *AdminUpdateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateChannelOK, *AdminUpdateChannelBadRequest, *AdminUpdateChannelUnauthorized, *AdminUpdateChannelNotFound, *AdminUpdateChannelInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminUpdateChannelShort instead.
AdminUpdateChannel update channel Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CHANNEL [UPDATE]
func (*Client) AdminUpdateChannelShort ¶
func (a *Client) AdminUpdateChannelShort(params *AdminUpdateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateChannelOK, error)
AdminUpdateChannelShort update channel Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CHANNEL [UPDATE]
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) SingleAdminDeleteChannel
deprecated
func (a *Client) SingleAdminDeleteChannel(params *SingleAdminDeleteChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminDeleteChannelNoContent, *SingleAdminDeleteChannelUnauthorized, *SingleAdminDeleteChannelNotFound, *SingleAdminDeleteChannelInternalServerError, error)
Deprecated: 2022-08-10 - Use SingleAdminDeleteChannelShort instead.
SingleAdminDeleteChannel delete channel Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CHANNEL [DELETE]
func (*Client) SingleAdminDeleteChannelShort ¶
func (a *Client) SingleAdminDeleteChannelShort(params *SingleAdminDeleteChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminDeleteChannelNoContent, error)
SingleAdminDeleteChannelShort delete channel Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CHANNEL [DELETE]
func (*Client) SingleAdminGetChannel
deprecated
func (a *Client) SingleAdminGetChannel(params *SingleAdminGetChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminGetChannelOK, *SingleAdminGetChannelUnauthorized, *SingleAdminGetChannelNotFound, *SingleAdminGetChannelInternalServerError, error)
Deprecated: 2022-08-10 - Use SingleAdminGetChannelShort instead.
SingleAdminGetChannel get channels Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CHANNEL [READ]
func (*Client) SingleAdminGetChannelShort ¶
func (a *Client) SingleAdminGetChannelShort(params *SingleAdminGetChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminGetChannelOK, error)
SingleAdminGetChannelShort get channels Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CHANNEL [READ]
func (*Client) SingleAdminUpdateChannel
deprecated
func (a *Client) SingleAdminUpdateChannel(params *SingleAdminUpdateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminUpdateChannelOK, *SingleAdminUpdateChannelBadRequest, *SingleAdminUpdateChannelUnauthorized, *SingleAdminUpdateChannelNotFound, *SingleAdminUpdateChannelInternalServerError, error)
Deprecated: 2022-08-10 - Use SingleAdminUpdateChannelShort instead.
SingleAdminUpdateChannel update channel Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CHANNEL [UPDATE]
func (*Client) SingleAdminUpdateChannelShort ¶
func (a *Client) SingleAdminUpdateChannelShort(params *SingleAdminUpdateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminUpdateChannelOK, error)
SingleAdminUpdateChannelShort update channel Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CHANNEL [UPDATE]
type ClientService ¶
type ClientService interface { SingleAdminGetChannel(params *SingleAdminGetChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminGetChannelOK, *SingleAdminGetChannelUnauthorized, *SingleAdminGetChannelNotFound, *SingleAdminGetChannelInternalServerError, error) SingleAdminGetChannelShort(params *SingleAdminGetChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminGetChannelOK, error) AdminCreateChannel(params *AdminCreateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateChannelCreated, *AdminCreateChannelBadRequest, *AdminCreateChannelUnauthorized, *AdminCreateChannelConflict, *AdminCreateChannelInternalServerError, error) AdminCreateChannelShort(params *AdminCreateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateChannelCreated, error) SingleAdminUpdateChannel(params *SingleAdminUpdateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminUpdateChannelOK, *SingleAdminUpdateChannelBadRequest, *SingleAdminUpdateChannelUnauthorized, *SingleAdminUpdateChannelNotFound, *SingleAdminUpdateChannelInternalServerError, error) SingleAdminUpdateChannelShort(params *SingleAdminUpdateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminUpdateChannelOK, error) SingleAdminDeleteChannel(params *SingleAdminDeleteChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminDeleteChannelNoContent, *SingleAdminDeleteChannelUnauthorized, *SingleAdminDeleteChannelNotFound, *SingleAdminDeleteChannelInternalServerError, error) SingleAdminDeleteChannelShort(params *SingleAdminDeleteChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminDeleteChannelNoContent, error) AdminGetChannel(params *AdminGetChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChannelOK, *AdminGetChannelUnauthorized, *AdminGetChannelNotFound, *AdminGetChannelInternalServerError, error) AdminGetChannelShort(params *AdminGetChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChannelOK, error) AdminUpdateChannel(params *AdminUpdateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateChannelOK, *AdminUpdateChannelBadRequest, *AdminUpdateChannelUnauthorized, *AdminUpdateChannelNotFound, *AdminUpdateChannelInternalServerError, error) AdminUpdateChannelShort(params *AdminUpdateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateChannelOK, error) AdminDeleteChannel(params *AdminDeleteChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteChannelNoContent, *AdminDeleteChannelUnauthorized, *AdminDeleteChannelNotFound, *AdminDeleteChannelInternalServerError, error) AdminDeleteChannelShort(params *AdminDeleteChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteChannelNoContent, 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 channel API client.
type SingleAdminDeleteChannelInternalServerError ¶
type SingleAdminDeleteChannelInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
SingleAdminDeleteChannelInternalServerError handles this case with default header values.
Internal Server Error
func NewSingleAdminDeleteChannelInternalServerError ¶
func NewSingleAdminDeleteChannelInternalServerError() *SingleAdminDeleteChannelInternalServerError
NewSingleAdminDeleteChannelInternalServerError creates a SingleAdminDeleteChannelInternalServerError with default headers values
func (*SingleAdminDeleteChannelInternalServerError) Error ¶
func (o *SingleAdminDeleteChannelInternalServerError) Error() string
func (*SingleAdminDeleteChannelInternalServerError) GetPayload ¶
func (o *SingleAdminDeleteChannelInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*SingleAdminDeleteChannelInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *SingleAdminDeleteChannelInternalServerError) ToJSONString() string
type SingleAdminDeleteChannelNoContent ¶
type SingleAdminDeleteChannelNoContent struct { }
SingleAdminDeleteChannelNoContent handles this case with default header values.
No Content
func NewSingleAdminDeleteChannelNoContent ¶
func NewSingleAdminDeleteChannelNoContent() *SingleAdminDeleteChannelNoContent
NewSingleAdminDeleteChannelNoContent creates a SingleAdminDeleteChannelNoContent with default headers values
func (*SingleAdminDeleteChannelNoContent) Error ¶
func (o *SingleAdminDeleteChannelNoContent) Error() string
type SingleAdminDeleteChannelNotFound ¶
type SingleAdminDeleteChannelNotFound struct {
Payload *ugcclientmodels.ResponseError
}
SingleAdminDeleteChannelNotFound handles this case with default header values.
Not Found
func NewSingleAdminDeleteChannelNotFound ¶
func NewSingleAdminDeleteChannelNotFound() *SingleAdminDeleteChannelNotFound
NewSingleAdminDeleteChannelNotFound creates a SingleAdminDeleteChannelNotFound with default headers values
func (*SingleAdminDeleteChannelNotFound) Error ¶
func (o *SingleAdminDeleteChannelNotFound) Error() string
func (*SingleAdminDeleteChannelNotFound) GetPayload ¶
func (o *SingleAdminDeleteChannelNotFound) GetPayload() *ugcclientmodels.ResponseError
func (*SingleAdminDeleteChannelNotFound) ToJSONString ¶ added in v0.25.0
func (o *SingleAdminDeleteChannelNotFound) ToJSONString() string
type SingleAdminDeleteChannelParams ¶
type SingleAdminDeleteChannelParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ChannelID channelID */ ChannelID string /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SingleAdminDeleteChannelParams contains all the parameters to send to the API endpoint for the single admin delete channel operation typically these are written to a http.Request
func NewSingleAdminDeleteChannelParams ¶
func NewSingleAdminDeleteChannelParams() *SingleAdminDeleteChannelParams
NewSingleAdminDeleteChannelParams creates a new SingleAdminDeleteChannelParams object with the default values initialized.
func NewSingleAdminDeleteChannelParamsWithContext ¶
func NewSingleAdminDeleteChannelParamsWithContext(ctx context.Context) *SingleAdminDeleteChannelParams
NewSingleAdminDeleteChannelParamsWithContext creates a new SingleAdminDeleteChannelParams object with the default values initialized, and the ability to set a context for a request
func NewSingleAdminDeleteChannelParamsWithHTTPClient ¶
func NewSingleAdminDeleteChannelParamsWithHTTPClient(client *http.Client) *SingleAdminDeleteChannelParams
NewSingleAdminDeleteChannelParamsWithHTTPClient creates a new SingleAdminDeleteChannelParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSingleAdminDeleteChannelParamsWithTimeout ¶
func NewSingleAdminDeleteChannelParamsWithTimeout(timeout time.Duration) *SingleAdminDeleteChannelParams
NewSingleAdminDeleteChannelParamsWithTimeout creates a new SingleAdminDeleteChannelParams object with the default values initialized, and the ability to set a timeout on a request
func (*SingleAdminDeleteChannelParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *SingleAdminDeleteChannelParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the single admin delete channel params
func (*SingleAdminDeleteChannelParams) SetChannelID ¶
func (o *SingleAdminDeleteChannelParams) SetChannelID(channelID string)
SetChannelID adds the channelId to the single admin delete channel params
func (*SingleAdminDeleteChannelParams) SetContext ¶
func (o *SingleAdminDeleteChannelParams) SetContext(ctx context.Context)
SetContext adds the context to the single admin delete channel params
func (*SingleAdminDeleteChannelParams) SetHTTPClient ¶
func (o *SingleAdminDeleteChannelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the single admin delete channel params
func (*SingleAdminDeleteChannelParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *SingleAdminDeleteChannelParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the single admin delete channel params
func (*SingleAdminDeleteChannelParams) SetNamespace ¶
func (o *SingleAdminDeleteChannelParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the single admin delete channel params
func (*SingleAdminDeleteChannelParams) SetTimeout ¶
func (o *SingleAdminDeleteChannelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the single admin delete channel params
func (*SingleAdminDeleteChannelParams) WithChannelID ¶
func (o *SingleAdminDeleteChannelParams) WithChannelID(channelID string) *SingleAdminDeleteChannelParams
WithChannelID adds the channelID to the single admin delete channel params
func (*SingleAdminDeleteChannelParams) WithContext ¶
func (o *SingleAdminDeleteChannelParams) WithContext(ctx context.Context) *SingleAdminDeleteChannelParams
WithContext adds the context to the single admin delete channel params
func (*SingleAdminDeleteChannelParams) WithHTTPClient ¶
func (o *SingleAdminDeleteChannelParams) WithHTTPClient(client *http.Client) *SingleAdminDeleteChannelParams
WithHTTPClient adds the HTTPClient to the single admin delete channel params
func (*SingleAdminDeleteChannelParams) WithNamespace ¶
func (o *SingleAdminDeleteChannelParams) WithNamespace(namespace string) *SingleAdminDeleteChannelParams
WithNamespace adds the namespace to the single admin delete channel params
func (*SingleAdminDeleteChannelParams) WithTimeout ¶
func (o *SingleAdminDeleteChannelParams) WithTimeout(timeout time.Duration) *SingleAdminDeleteChannelParams
WithTimeout adds the timeout to the single admin delete channel params
func (*SingleAdminDeleteChannelParams) WriteToRequest ¶
func (o *SingleAdminDeleteChannelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SingleAdminDeleteChannelReader ¶
type SingleAdminDeleteChannelReader struct {
// contains filtered or unexported fields
}
SingleAdminDeleteChannelReader is a Reader for the SingleAdminDeleteChannel structure.
func (*SingleAdminDeleteChannelReader) ReadResponse ¶
func (o *SingleAdminDeleteChannelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SingleAdminDeleteChannelUnauthorized ¶
type SingleAdminDeleteChannelUnauthorized struct {
}SingleAdminDeleteChannelUnauthorized handles this case with default header values.
Unauthorized
func NewSingleAdminDeleteChannelUnauthorized ¶
func NewSingleAdminDeleteChannelUnauthorized() *SingleAdminDeleteChannelUnauthorized
NewSingleAdminDeleteChannelUnauthorized creates a SingleAdminDeleteChannelUnauthorized with default headers values
func (*SingleAdminDeleteChannelUnauthorized) Error ¶
func (o *SingleAdminDeleteChannelUnauthorized) Error() string
func (*SingleAdminDeleteChannelUnauthorized) GetPayload ¶
func (o *SingleAdminDeleteChannelUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*SingleAdminDeleteChannelUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *SingleAdminDeleteChannelUnauthorized) ToJSONString() string
type SingleAdminGetChannelInternalServerError ¶
type SingleAdminGetChannelInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
SingleAdminGetChannelInternalServerError handles this case with default header values.
Internal Server Error
func NewSingleAdminGetChannelInternalServerError ¶
func NewSingleAdminGetChannelInternalServerError() *SingleAdminGetChannelInternalServerError
NewSingleAdminGetChannelInternalServerError creates a SingleAdminGetChannelInternalServerError with default headers values
func (*SingleAdminGetChannelInternalServerError) Error ¶
func (o *SingleAdminGetChannelInternalServerError) Error() string
func (*SingleAdminGetChannelInternalServerError) GetPayload ¶
func (o *SingleAdminGetChannelInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*SingleAdminGetChannelInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *SingleAdminGetChannelInternalServerError) ToJSONString() string
type SingleAdminGetChannelNotFound ¶
type SingleAdminGetChannelNotFound struct {
Payload *ugcclientmodels.ResponseError
}
SingleAdminGetChannelNotFound handles this case with default header values.
Not Found
func NewSingleAdminGetChannelNotFound ¶
func NewSingleAdminGetChannelNotFound() *SingleAdminGetChannelNotFound
NewSingleAdminGetChannelNotFound creates a SingleAdminGetChannelNotFound with default headers values
func (*SingleAdminGetChannelNotFound) Error ¶
func (o *SingleAdminGetChannelNotFound) Error() string
func (*SingleAdminGetChannelNotFound) GetPayload ¶
func (o *SingleAdminGetChannelNotFound) GetPayload() *ugcclientmodels.ResponseError
func (*SingleAdminGetChannelNotFound) ToJSONString ¶ added in v0.25.0
func (o *SingleAdminGetChannelNotFound) ToJSONString() string
type SingleAdminGetChannelOK ¶
type SingleAdminGetChannelOK struct {
Payload *ugcclientmodels.ModelsPaginatedGetChannelResponse
}
SingleAdminGetChannelOK handles this case with default header values.
OK
func NewSingleAdminGetChannelOK ¶
func NewSingleAdminGetChannelOK() *SingleAdminGetChannelOK
NewSingleAdminGetChannelOK creates a SingleAdminGetChannelOK with default headers values
func (*SingleAdminGetChannelOK) Error ¶
func (o *SingleAdminGetChannelOK) Error() string
func (*SingleAdminGetChannelOK) GetPayload ¶
func (o *SingleAdminGetChannelOK) GetPayload() *ugcclientmodels.ModelsPaginatedGetChannelResponse
func (*SingleAdminGetChannelOK) ToJSONString ¶ added in v0.25.0
func (o *SingleAdminGetChannelOK) ToJSONString() string
type SingleAdminGetChannelParams ¶
type SingleAdminGetChannelParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*Limit number of content per page */ Limit *int64 /*Offset the offset number to retrieve */ Offset *int64 AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SingleAdminGetChannelParams contains all the parameters to send to the API endpoint for the single admin get channel operation typically these are written to a http.Request
func NewSingleAdminGetChannelParams ¶
func NewSingleAdminGetChannelParams() *SingleAdminGetChannelParams
NewSingleAdminGetChannelParams creates a new SingleAdminGetChannelParams object with the default values initialized.
func NewSingleAdminGetChannelParamsWithContext ¶
func NewSingleAdminGetChannelParamsWithContext(ctx context.Context) *SingleAdminGetChannelParams
NewSingleAdminGetChannelParamsWithContext creates a new SingleAdminGetChannelParams object with the default values initialized, and the ability to set a context for a request
func NewSingleAdminGetChannelParamsWithHTTPClient ¶
func NewSingleAdminGetChannelParamsWithHTTPClient(client *http.Client) *SingleAdminGetChannelParams
NewSingleAdminGetChannelParamsWithHTTPClient creates a new SingleAdminGetChannelParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSingleAdminGetChannelParamsWithTimeout ¶
func NewSingleAdminGetChannelParamsWithTimeout(timeout time.Duration) *SingleAdminGetChannelParams
NewSingleAdminGetChannelParamsWithTimeout creates a new SingleAdminGetChannelParams object with the default values initialized, and the ability to set a timeout on a request
func (*SingleAdminGetChannelParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *SingleAdminGetChannelParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the single admin get channel params
func (*SingleAdminGetChannelParams) SetContext ¶
func (o *SingleAdminGetChannelParams) SetContext(ctx context.Context)
SetContext adds the context to the single admin get channel params
func (*SingleAdminGetChannelParams) SetHTTPClient ¶
func (o *SingleAdminGetChannelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the single admin get channel params
func (*SingleAdminGetChannelParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *SingleAdminGetChannelParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the single admin get channel params
func (*SingleAdminGetChannelParams) SetLimit ¶
func (o *SingleAdminGetChannelParams) SetLimit(limit *int64)
SetLimit adds the limit to the single admin get channel params
func (*SingleAdminGetChannelParams) SetNamespace ¶
func (o *SingleAdminGetChannelParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the single admin get channel params
func (*SingleAdminGetChannelParams) SetOffset ¶
func (o *SingleAdminGetChannelParams) SetOffset(offset *int64)
SetOffset adds the offset to the single admin get channel params
func (*SingleAdminGetChannelParams) SetTimeout ¶
func (o *SingleAdminGetChannelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the single admin get channel params
func (*SingleAdminGetChannelParams) WithContext ¶
func (o *SingleAdminGetChannelParams) WithContext(ctx context.Context) *SingleAdminGetChannelParams
WithContext adds the context to the single admin get channel params
func (*SingleAdminGetChannelParams) WithHTTPClient ¶
func (o *SingleAdminGetChannelParams) WithHTTPClient(client *http.Client) *SingleAdminGetChannelParams
WithHTTPClient adds the HTTPClient to the single admin get channel params
func (*SingleAdminGetChannelParams) WithLimit ¶
func (o *SingleAdminGetChannelParams) WithLimit(limit *int64) *SingleAdminGetChannelParams
WithLimit adds the limit to the single admin get channel params
func (*SingleAdminGetChannelParams) WithNamespace ¶
func (o *SingleAdminGetChannelParams) WithNamespace(namespace string) *SingleAdminGetChannelParams
WithNamespace adds the namespace to the single admin get channel params
func (*SingleAdminGetChannelParams) WithOffset ¶
func (o *SingleAdminGetChannelParams) WithOffset(offset *int64) *SingleAdminGetChannelParams
WithOffset adds the offset to the single admin get channel params
func (*SingleAdminGetChannelParams) WithTimeout ¶
func (o *SingleAdminGetChannelParams) WithTimeout(timeout time.Duration) *SingleAdminGetChannelParams
WithTimeout adds the timeout to the single admin get channel params
func (*SingleAdminGetChannelParams) WriteToRequest ¶
func (o *SingleAdminGetChannelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SingleAdminGetChannelReader ¶
type SingleAdminGetChannelReader struct {
// contains filtered or unexported fields
}
SingleAdminGetChannelReader is a Reader for the SingleAdminGetChannel structure.
func (*SingleAdminGetChannelReader) ReadResponse ¶
func (o *SingleAdminGetChannelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SingleAdminGetChannelUnauthorized ¶
type SingleAdminGetChannelUnauthorized struct {
}SingleAdminGetChannelUnauthorized handles this case with default header values.
Unauthorized
func NewSingleAdminGetChannelUnauthorized ¶
func NewSingleAdminGetChannelUnauthorized() *SingleAdminGetChannelUnauthorized
NewSingleAdminGetChannelUnauthorized creates a SingleAdminGetChannelUnauthorized with default headers values
func (*SingleAdminGetChannelUnauthorized) Error ¶
func (o *SingleAdminGetChannelUnauthorized) Error() string
func (*SingleAdminGetChannelUnauthorized) GetPayload ¶
func (o *SingleAdminGetChannelUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*SingleAdminGetChannelUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *SingleAdminGetChannelUnauthorized) ToJSONString() string
type SingleAdminUpdateChannelBadRequest ¶
type SingleAdminUpdateChannelBadRequest struct {
Payload *ugcclientmodels.ResponseError
}
SingleAdminUpdateChannelBadRequest handles this case with default header values.
Bad Request
func NewSingleAdminUpdateChannelBadRequest ¶
func NewSingleAdminUpdateChannelBadRequest() *SingleAdminUpdateChannelBadRequest
NewSingleAdminUpdateChannelBadRequest creates a SingleAdminUpdateChannelBadRequest with default headers values
func (*SingleAdminUpdateChannelBadRequest) Error ¶
func (o *SingleAdminUpdateChannelBadRequest) Error() string
func (*SingleAdminUpdateChannelBadRequest) GetPayload ¶
func (o *SingleAdminUpdateChannelBadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*SingleAdminUpdateChannelBadRequest) ToJSONString ¶ added in v0.25.0
func (o *SingleAdminUpdateChannelBadRequest) ToJSONString() string
type SingleAdminUpdateChannelInternalServerError ¶
type SingleAdminUpdateChannelInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
SingleAdminUpdateChannelInternalServerError handles this case with default header values.
Internal Server Error
func NewSingleAdminUpdateChannelInternalServerError ¶
func NewSingleAdminUpdateChannelInternalServerError() *SingleAdminUpdateChannelInternalServerError
NewSingleAdminUpdateChannelInternalServerError creates a SingleAdminUpdateChannelInternalServerError with default headers values
func (*SingleAdminUpdateChannelInternalServerError) Error ¶
func (o *SingleAdminUpdateChannelInternalServerError) Error() string
func (*SingleAdminUpdateChannelInternalServerError) GetPayload ¶
func (o *SingleAdminUpdateChannelInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*SingleAdminUpdateChannelInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *SingleAdminUpdateChannelInternalServerError) ToJSONString() string
type SingleAdminUpdateChannelNotFound ¶
type SingleAdminUpdateChannelNotFound struct {
Payload *ugcclientmodels.ResponseError
}
SingleAdminUpdateChannelNotFound handles this case with default header values.
Not Found
func NewSingleAdminUpdateChannelNotFound ¶
func NewSingleAdminUpdateChannelNotFound() *SingleAdminUpdateChannelNotFound
NewSingleAdminUpdateChannelNotFound creates a SingleAdminUpdateChannelNotFound with default headers values
func (*SingleAdminUpdateChannelNotFound) Error ¶
func (o *SingleAdminUpdateChannelNotFound) Error() string
func (*SingleAdminUpdateChannelNotFound) GetPayload ¶
func (o *SingleAdminUpdateChannelNotFound) GetPayload() *ugcclientmodels.ResponseError
func (*SingleAdminUpdateChannelNotFound) ToJSONString ¶ added in v0.25.0
func (o *SingleAdminUpdateChannelNotFound) ToJSONString() string
type SingleAdminUpdateChannelOK ¶
type SingleAdminUpdateChannelOK struct {
Payload *ugcclientmodels.ModelsChannelResponse
}
SingleAdminUpdateChannelOK handles this case with default header values.
OK
func NewSingleAdminUpdateChannelOK ¶
func NewSingleAdminUpdateChannelOK() *SingleAdminUpdateChannelOK
NewSingleAdminUpdateChannelOK creates a SingleAdminUpdateChannelOK with default headers values
func (*SingleAdminUpdateChannelOK) Error ¶
func (o *SingleAdminUpdateChannelOK) Error() string
func (*SingleAdminUpdateChannelOK) GetPayload ¶
func (o *SingleAdminUpdateChannelOK) GetPayload() *ugcclientmodels.ModelsChannelResponse
func (*SingleAdminUpdateChannelOK) ToJSONString ¶ added in v0.25.0
func (o *SingleAdminUpdateChannelOK) ToJSONString() string
type SingleAdminUpdateChannelParams ¶
type SingleAdminUpdateChannelParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *ugcclientmodels.ModelsUpdateChannelRequest /*ChannelID channelID */ ChannelID string /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SingleAdminUpdateChannelParams contains all the parameters to send to the API endpoint for the single admin update channel operation typically these are written to a http.Request
func NewSingleAdminUpdateChannelParams ¶
func NewSingleAdminUpdateChannelParams() *SingleAdminUpdateChannelParams
NewSingleAdminUpdateChannelParams creates a new SingleAdminUpdateChannelParams object with the default values initialized.
func NewSingleAdminUpdateChannelParamsWithContext ¶
func NewSingleAdminUpdateChannelParamsWithContext(ctx context.Context) *SingleAdminUpdateChannelParams
NewSingleAdminUpdateChannelParamsWithContext creates a new SingleAdminUpdateChannelParams object with the default values initialized, and the ability to set a context for a request
func NewSingleAdminUpdateChannelParamsWithHTTPClient ¶
func NewSingleAdminUpdateChannelParamsWithHTTPClient(client *http.Client) *SingleAdminUpdateChannelParams
NewSingleAdminUpdateChannelParamsWithHTTPClient creates a new SingleAdminUpdateChannelParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSingleAdminUpdateChannelParamsWithTimeout ¶
func NewSingleAdminUpdateChannelParamsWithTimeout(timeout time.Duration) *SingleAdminUpdateChannelParams
NewSingleAdminUpdateChannelParamsWithTimeout creates a new SingleAdminUpdateChannelParams object with the default values initialized, and the ability to set a timeout on a request
func (*SingleAdminUpdateChannelParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *SingleAdminUpdateChannelParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the single admin update channel params
func (*SingleAdminUpdateChannelParams) SetBody ¶
func (o *SingleAdminUpdateChannelParams) SetBody(body *ugcclientmodels.ModelsUpdateChannelRequest)
SetBody adds the body to the single admin update channel params
func (*SingleAdminUpdateChannelParams) SetChannelID ¶
func (o *SingleAdminUpdateChannelParams) SetChannelID(channelID string)
SetChannelID adds the channelId to the single admin update channel params
func (*SingleAdminUpdateChannelParams) SetContext ¶
func (o *SingleAdminUpdateChannelParams) SetContext(ctx context.Context)
SetContext adds the context to the single admin update channel params
func (*SingleAdminUpdateChannelParams) SetHTTPClient ¶
func (o *SingleAdminUpdateChannelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the single admin update channel params
func (*SingleAdminUpdateChannelParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *SingleAdminUpdateChannelParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the single admin update channel params
func (*SingleAdminUpdateChannelParams) SetNamespace ¶
func (o *SingleAdminUpdateChannelParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the single admin update channel params
func (*SingleAdminUpdateChannelParams) SetTimeout ¶
func (o *SingleAdminUpdateChannelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the single admin update channel params
func (*SingleAdminUpdateChannelParams) WithBody ¶
func (o *SingleAdminUpdateChannelParams) WithBody(body *ugcclientmodels.ModelsUpdateChannelRequest) *SingleAdminUpdateChannelParams
WithBody adds the body to the single admin update channel params
func (*SingleAdminUpdateChannelParams) WithChannelID ¶
func (o *SingleAdminUpdateChannelParams) WithChannelID(channelID string) *SingleAdminUpdateChannelParams
WithChannelID adds the channelID to the single admin update channel params
func (*SingleAdminUpdateChannelParams) WithContext ¶
func (o *SingleAdminUpdateChannelParams) WithContext(ctx context.Context) *SingleAdminUpdateChannelParams
WithContext adds the context to the single admin update channel params
func (*SingleAdminUpdateChannelParams) WithHTTPClient ¶
func (o *SingleAdminUpdateChannelParams) WithHTTPClient(client *http.Client) *SingleAdminUpdateChannelParams
WithHTTPClient adds the HTTPClient to the single admin update channel params
func (*SingleAdminUpdateChannelParams) WithNamespace ¶
func (o *SingleAdminUpdateChannelParams) WithNamespace(namespace string) *SingleAdminUpdateChannelParams
WithNamespace adds the namespace to the single admin update channel params
func (*SingleAdminUpdateChannelParams) WithTimeout ¶
func (o *SingleAdminUpdateChannelParams) WithTimeout(timeout time.Duration) *SingleAdminUpdateChannelParams
WithTimeout adds the timeout to the single admin update channel params
func (*SingleAdminUpdateChannelParams) WriteToRequest ¶
func (o *SingleAdminUpdateChannelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SingleAdminUpdateChannelReader ¶
type SingleAdminUpdateChannelReader struct {
// contains filtered or unexported fields
}
SingleAdminUpdateChannelReader is a Reader for the SingleAdminUpdateChannel structure.
func (*SingleAdminUpdateChannelReader) ReadResponse ¶
func (o *SingleAdminUpdateChannelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SingleAdminUpdateChannelUnauthorized ¶
type SingleAdminUpdateChannelUnauthorized struct {
}SingleAdminUpdateChannelUnauthorized handles this case with default header values.
Unauthorized
func NewSingleAdminUpdateChannelUnauthorized ¶
func NewSingleAdminUpdateChannelUnauthorized() *SingleAdminUpdateChannelUnauthorized
NewSingleAdminUpdateChannelUnauthorized creates a SingleAdminUpdateChannelUnauthorized with default headers values
func (*SingleAdminUpdateChannelUnauthorized) Error ¶
func (o *SingleAdminUpdateChannelUnauthorized) Error() string
func (*SingleAdminUpdateChannelUnauthorized) GetPayload ¶
func (o *SingleAdminUpdateChannelUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*SingleAdminUpdateChannelUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *SingleAdminUpdateChannelUnauthorized) ToJSONString() string
Source Files ¶
- admin_channel_client.go
- admin_create_channel_parameters.go
- admin_create_channel_responses.go
- admin_delete_channel_parameters.go
- admin_delete_channel_responses.go
- admin_get_channel_parameters.go
- admin_get_channel_responses.go
- admin_update_channel_parameters.go
- admin_update_channel_responses.go
- single_admin_delete_channel_parameters.go
- single_admin_delete_channel_responses.go
- single_admin_get_channel_parameters.go
- single_admin_get_channel_responses.go
- single_admin_update_channel_parameters.go
- single_admin_update_channel_responses.go