Documentation ¶
Index ¶
- type AdminCreateChannelBadRequest
- 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) SetBody(body *ugcclientmodels.ModelsChannelRequest)
- func (o *AdminCreateChannelParams) SetContext(ctx context.Context)
- func (o *AdminCreateChannelParams) SetHTTPClient(client *http.Client)
- 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) SetChannelID(channelID string)
- func (o *AdminDeleteChannelParams) SetContext(ctx context.Context)
- func (o *AdminDeleteChannelParams) SetHTTPClient(client *http.Client)
- 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) SetContext(ctx context.Context)
- func (o *AdminGetChannelParams) SetHTTPClient(client *http.Client)
- func (o *AdminGetChannelParams) SetLimit(limit *string)
- func (o *AdminGetChannelParams) SetNamespace(namespace string)
- func (o *AdminGetChannelParams) SetOffset(offset *string)
- 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 *string) *AdminGetChannelParams
- func (o *AdminGetChannelParams) WithNamespace(namespace string) *AdminGetChannelParams
- func (o *AdminGetChannelParams) WithOffset(offset *string) *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) SetBody(body *ugcclientmodels.ModelsChannelRequest)
- func (o *AdminUpdateChannelParams) SetChannelID(channelID string)
- func (o *AdminUpdateChannelParams) SetContext(ctx context.Context)
- func (o *AdminUpdateChannelParams) SetHTTPClient(client *http.Client)
- 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.ModelsChannelRequest) *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, ...)
- func (a *Client) AdminCreateChannelShort(params *AdminCreateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateChannelCreated, error)
- func (a *Client) AdminDeleteChannel(params *AdminDeleteChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteChannelNoContent, *AdminDeleteChannelUnauthorized, ...)
- func (a *Client) AdminDeleteChannelShort(params *AdminDeleteChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteChannelNoContent, error)
- func (a *Client) AdminGetChannel(params *AdminGetChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChannelOK, *AdminGetChannelUnauthorized, *AdminGetChannelNotFound, ...)
- func (a *Client) AdminGetChannelShort(params *AdminGetChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChannelOK, error)
- func (a *Client) AdminUpdateChannel(params *AdminUpdateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateChannelOK, *AdminUpdateChannelBadRequest, ...)
- 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, ...)
- func (a *Client) SingleAdminDeleteChannelShort(params *SingleAdminDeleteChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminDeleteChannelNoContent, error)
- func (a *Client) SingleAdminGetChannel(params *SingleAdminGetChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminGetChannelOK, *SingleAdminGetChannelUnauthorized, ...)
- func (a *Client) SingleAdminGetChannelShort(params *SingleAdminGetChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminGetChannelOK, error)
- func (a *Client) SingleAdminUpdateChannel(params *SingleAdminUpdateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminUpdateChannelOK, *SingleAdminUpdateChannelBadRequest, ...)
- 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) SetChannelID(channelID string)
- func (o *SingleAdminDeleteChannelParams) SetContext(ctx context.Context)
- func (o *SingleAdminDeleteChannelParams) SetHTTPClient(client *http.Client)
- 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) SetContext(ctx context.Context)
- func (o *SingleAdminGetChannelParams) SetHTTPClient(client *http.Client)
- func (o *SingleAdminGetChannelParams) SetLimit(limit *string)
- func (o *SingleAdminGetChannelParams) SetNamespace(namespace string)
- func (o *SingleAdminGetChannelParams) SetOffset(offset *string)
- 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 *string) *SingleAdminGetChannelParams
- func (o *SingleAdminGetChannelParams) WithNamespace(namespace string) *SingleAdminGetChannelParams
- func (o *SingleAdminGetChannelParams) WithOffset(offset *string) *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) SetBody(body *ugcclientmodels.ModelsChannelRequest)
- func (o *SingleAdminUpdateChannelParams) SetChannelID(channelID string)
- func (o *SingleAdminUpdateChannelParams) SetContext(ctx context.Context)
- func (o *SingleAdminUpdateChannelParams) SetHTTPClient(client *http.Client)
- func (o *SingleAdminUpdateChannelParams) SetNamespace(namespace string)
- func (o *SingleAdminUpdateChannelParams) SetTimeout(timeout time.Duration)
- func (o *SingleAdminUpdateChannelParams) WithBody(body *ugcclientmodels.ModelsChannelRequest) *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
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
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
type AdminCreateChannelParams ¶
type AdminCreateChannelParams struct { /*Body*/ Body *ugcclientmodels.ModelsChannelRequest /*Namespace namespace of the game */ Namespace string 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) 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) 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
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
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
type AdminDeleteChannelParams ¶
type AdminDeleteChannelParams struct { /*ChannelID channelID */ ChannelID string /*Namespace namespace of the game */ Namespace string /*UserID user ID */ UserID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
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) 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) 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
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
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
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
type AdminGetChannelParams ¶
type AdminGetChannelParams struct { /*Limit number of content per page */ Limit *string /*Namespace namespace of the game */ Namespace string /*Offset the offset number to retrieve */ Offset *string /*UserID user ID */ UserID string 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) 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) SetLimit ¶
func (o *AdminGetChannelParams) SetLimit(limit *string)
SetLimit adds the limit 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 *string)
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 *string) *AdminGetChannelParams
WithLimit adds the limit 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 *string) *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
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
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
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
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
type AdminUpdateChannelParams ¶
type AdminUpdateChannelParams struct { /*Body*/ Body *ugcclientmodels.ModelsChannelRequest /*ChannelID channelID */ ChannelID string /*Namespace namespace of the game */ Namespace string /*UserID user ID */ UserID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
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) SetBody ¶
func (o *AdminUpdateChannelParams) SetBody(body *ugcclientmodels.ModelsChannelRequest)
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) 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.ModelsChannelRequest) *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
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for admin channel API
func (*Client) AdminCreateChannel ¶
func (a *Client) AdminCreateChannel(params *AdminCreateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateChannelCreated, *AdminCreateChannelBadRequest, *AdminCreateChannelUnauthorized, *AdminCreateChannelInternalServerError, error)
AdminCreateChannel creates channel
Required permission <b>ADMIN:NAMESPACE:{namespace}:USER:{userId}:CHANNEL [CREATE]</b>
func (*Client) AdminCreateChannelShort ¶
func (a *Client) AdminCreateChannelShort(params *AdminCreateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateChannelCreated, error)
func (*Client) AdminDeleteChannel ¶
func (a *Client) AdminDeleteChannel(params *AdminDeleteChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteChannelNoContent, *AdminDeleteChannelUnauthorized, *AdminDeleteChannelNotFound, *AdminDeleteChannelInternalServerError, error)
AdminDeleteChannel deletes channel
Required permission <b>ADMIN:NAMESPACE:{namespace}:USER:{userId}:CHANNEL [DELETE]</b>
func (*Client) AdminDeleteChannelShort ¶
func (a *Client) AdminDeleteChannelShort(params *AdminDeleteChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteChannelNoContent, error)
func (*Client) AdminGetChannel ¶
func (a *Client) AdminGetChannel(params *AdminGetChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChannelOK, *AdminGetChannelUnauthorized, *AdminGetChannelNotFound, *AdminGetChannelInternalServerError, error)
AdminGetChannel gets channels
Required permission <b>ADMIN:NAMESPACE:{namespace}:USER:{userId}:CHANNEL [READ]</b>
func (*Client) AdminGetChannelShort ¶
func (a *Client) AdminGetChannelShort(params *AdminGetChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChannelOK, error)
func (*Client) AdminUpdateChannel ¶
func (a *Client) AdminUpdateChannel(params *AdminUpdateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateChannelOK, *AdminUpdateChannelBadRequest, *AdminUpdateChannelUnauthorized, *AdminUpdateChannelNotFound, *AdminUpdateChannelInternalServerError, error)
AdminUpdateChannel updates channel
Required permission <b>ADMIN:NAMESPACE:{namespace}:USER:{userId}:CHANNEL [UPDATE]</b>
func (*Client) AdminUpdateChannelShort ¶
func (a *Client) AdminUpdateChannelShort(params *AdminUpdateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateChannelOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) SingleAdminDeleteChannel ¶
func (a *Client) SingleAdminDeleteChannel(params *SingleAdminDeleteChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminDeleteChannelNoContent, *SingleAdminDeleteChannelUnauthorized, *SingleAdminDeleteChannelNotFound, *SingleAdminDeleteChannelInternalServerError, error)
SingleAdminDeleteChannel deletes channel
Required permission <b>ADMIN:NAMESPACE:{namespace}:USER:{userId}:CHANNEL [DELETE]</b>
func (*Client) SingleAdminDeleteChannelShort ¶
func (a *Client) SingleAdminDeleteChannelShort(params *SingleAdminDeleteChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminDeleteChannelNoContent, error)
func (*Client) SingleAdminGetChannel ¶
func (a *Client) SingleAdminGetChannel(params *SingleAdminGetChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminGetChannelOK, *SingleAdminGetChannelUnauthorized, *SingleAdminGetChannelNotFound, *SingleAdminGetChannelInternalServerError, error)
SingleAdminGetChannel gets channels
Required permission <b>ADMIN:NAMESPACE:{namespace}:USER:{userId}:CHANNEL [READ]</b>
func (*Client) SingleAdminGetChannelShort ¶
func (a *Client) SingleAdminGetChannelShort(params *SingleAdminGetChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminGetChannelOK, error)
func (*Client) SingleAdminUpdateChannel ¶
func (a *Client) SingleAdminUpdateChannel(params *SingleAdminUpdateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminUpdateChannelOK, *SingleAdminUpdateChannelBadRequest, *SingleAdminUpdateChannelUnauthorized, *SingleAdminUpdateChannelNotFound, *SingleAdminUpdateChannelInternalServerError, error)
SingleAdminUpdateChannel updates channel
Required permission <b>ADMIN:NAMESPACE:{namespace}:USER:{userId}:CHANNEL [UPDATE]</b>
func (*Client) SingleAdminUpdateChannelShort ¶
func (a *Client) SingleAdminUpdateChannelShort(params *SingleAdminUpdateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminUpdateChannelOK, error)
type ClientService ¶
type ClientService interface { AdminCreateChannel(params *AdminCreateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateChannelCreated, *AdminCreateChannelBadRequest, *AdminCreateChannelUnauthorized, *AdminCreateChannelInternalServerError, error) AdminCreateChannelShort(params *AdminCreateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateChannelCreated, error) AdminDeleteChannel(params *AdminDeleteChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteChannelNoContent, *AdminDeleteChannelUnauthorized, *AdminDeleteChannelNotFound, *AdminDeleteChannelInternalServerError, error) AdminDeleteChannelShort(params *AdminDeleteChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteChannelNoContent, 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) SingleAdminDeleteChannel(params *SingleAdminDeleteChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminDeleteChannelNoContent, *SingleAdminDeleteChannelUnauthorized, *SingleAdminDeleteChannelNotFound, *SingleAdminDeleteChannelInternalServerError, error) SingleAdminDeleteChannelShort(params *SingleAdminDeleteChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminDeleteChannelNoContent, error) SingleAdminGetChannel(params *SingleAdminGetChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminGetChannelOK, *SingleAdminGetChannelUnauthorized, *SingleAdminGetChannelNotFound, *SingleAdminGetChannelInternalServerError, error) SingleAdminGetChannelShort(params *SingleAdminGetChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminGetChannelOK, error) SingleAdminUpdateChannel(params *SingleAdminUpdateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminUpdateChannelOK, *SingleAdminUpdateChannelBadRequest, *SingleAdminUpdateChannelUnauthorized, *SingleAdminUpdateChannelNotFound, *SingleAdminUpdateChannelInternalServerError, error) SingleAdminUpdateChannelShort(params *SingleAdminUpdateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminUpdateChannelOK, 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
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
type SingleAdminDeleteChannelParams ¶
type SingleAdminDeleteChannelParams struct { /*ChannelID channelID */ ChannelID string /*Namespace namespace of the game */ Namespace string 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) 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) 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
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
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
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
type SingleAdminGetChannelParams ¶
type SingleAdminGetChannelParams struct { /*Limit number of content per page */ Limit *string /*Namespace namespace of the game */ Namespace string /*Offset the offset number to retrieve */ Offset *string 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) 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) SetLimit ¶
func (o *SingleAdminGetChannelParams) SetLimit(limit *string)
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 *string)
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 *string) *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 *string) *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
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
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
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
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
type SingleAdminUpdateChannelParams ¶
type SingleAdminUpdateChannelParams struct { /*Body*/ Body *ugcclientmodels.ModelsChannelRequest /*ChannelID channelID */ ChannelID string /*Namespace namespace of the game */ Namespace string 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) SetBody ¶
func (o *SingleAdminUpdateChannelParams) SetBody(body *ugcclientmodels.ModelsChannelRequest)
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) 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.ModelsChannelRequest) *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
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