admin_channel

package
v0.59.2 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type 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 (*AdminCreateChannelBadRequest) GetPayload

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 (*AdminCreateChannelConflict) GetPayload added in v0.42.0

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 (*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 (*AdminCreateChannelInternalServerError) GetPayload

func (*AdminCreateChannelInternalServerError) ToJSONString added in v0.25.0

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

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

WithBody adds the body to the admin create channel params

func (*AdminCreateChannelParams) WithContext

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

WithTimeout adds the timeout to the admin create channel params

func (*AdminCreateChannelParams) WriteToRequest

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 {
	Payload *ugcclientmodels.ResponseError
}

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 (*AdminCreateChannelUnauthorized) GetPayload

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 (*AdminDeleteChannelInternalServerError) GetPayload

func (*AdminDeleteChannelInternalServerError) ToJSONString added in v0.25.0

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

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 (*AdminDeleteChannelNotFound) GetPayload

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

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

WithTimeout adds the timeout to the admin delete channel params

func (*AdminDeleteChannelParams) WithUserID

WithUserID adds the userID to the admin delete channel params

func (*AdminDeleteChannelParams) WriteToRequest

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 {
	Payload *ugcclientmodels.ResponseError
}

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 (*AdminDeleteChannelUnauthorized) GetPayload

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 (*AdminGetChannelInternalServerError) GetPayload

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 (*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 (*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

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

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 {
	Payload *ugcclientmodels.ResponseError
}

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 (*AdminGetChannelUnauthorized) GetPayload

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 (*AdminUpdateChannelBadRequest) GetPayload

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 (*AdminUpdateChannelInternalServerError) GetPayload

func (*AdminUpdateChannelInternalServerError) ToJSONString added in v0.25.0

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 (*AdminUpdateChannelNotFound) GetPayload

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 (*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

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

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

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

WithTimeout adds the timeout to the admin update channel params

func (*AdminUpdateChannelParams) WithUserID

WithUserID adds the userID to the admin update channel params

func (*AdminUpdateChannelParams) WriteToRequest

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 {
	Payload *ugcclientmodels.ResponseError
}

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 (*AdminUpdateChannelUnauthorized) GetPayload

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

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

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

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

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

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

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

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 (*SingleAdminDeleteChannelInternalServerError) GetPayload

func (*SingleAdminDeleteChannelInternalServerError) ToJSONString added in v0.25.0

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

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 (*SingleAdminDeleteChannelNotFound) GetPayload

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

WithChannelID adds the channelID to the single admin delete channel params

func (*SingleAdminDeleteChannelParams) WithContext

WithContext adds the context to the single admin delete channel params

func (*SingleAdminDeleteChannelParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the single admin delete channel params

func (*SingleAdminDeleteChannelParams) WithNamespace

WithNamespace adds the namespace to the single admin delete channel params

func (*SingleAdminDeleteChannelParams) WithTimeout

WithTimeout adds the timeout to the single admin delete channel params

func (*SingleAdminDeleteChannelParams) WriteToRequest

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 {
	Payload *ugcclientmodels.ResponseError
}

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 (*SingleAdminDeleteChannelUnauthorized) GetPayload

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 (*SingleAdminGetChannelInternalServerError) GetPayload

func (*SingleAdminGetChannelInternalServerError) ToJSONString added in v0.25.0

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 (*SingleAdminGetChannelNotFound) GetPayload

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 (*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

WithContext adds the context to the single admin get channel params

func (*SingleAdminGetChannelParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the single admin get channel params

func (*SingleAdminGetChannelParams) WithLimit

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

WithOffset adds the offset to the single admin get channel params

func (*SingleAdminGetChannelParams) WithTimeout

WithTimeout adds the timeout to the single admin get channel params

func (*SingleAdminGetChannelParams) WriteToRequest

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 {
	Payload *ugcclientmodels.ResponseError
}

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 (*SingleAdminGetChannelUnauthorized) GetPayload

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 (*SingleAdminUpdateChannelBadRequest) GetPayload

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 (*SingleAdminUpdateChannelInternalServerError) GetPayload

func (*SingleAdminUpdateChannelInternalServerError) ToJSONString added in v0.25.0

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 (*SingleAdminUpdateChannelNotFound) GetPayload

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 (*SingleAdminUpdateChannelOK) GetPayload

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

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

WithBody adds the body to the single admin update channel params

func (*SingleAdminUpdateChannelParams) WithChannelID

WithChannelID adds the channelID to the single admin update channel params

func (*SingleAdminUpdateChannelParams) WithContext

WithContext adds the context to the single admin update channel params

func (*SingleAdminUpdateChannelParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the single admin update channel params

func (*SingleAdminUpdateChannelParams) WithNamespace

WithNamespace adds the namespace to the single admin update channel params

func (*SingleAdminUpdateChannelParams) WithTimeout

WithTimeout adds the timeout to the single admin update channel params

func (*SingleAdminUpdateChannelParams) WriteToRequest

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 {
	Payload *ugcclientmodels.ResponseError
}

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 (*SingleAdminUpdateChannelUnauthorized) GetPayload

func (*SingleAdminUpdateChannelUnauthorized) ToJSONString added in v0.25.0

func (o *SingleAdminUpdateChannelUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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