nr_admin_channel

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2021 License: MIT Imports: 12 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 {
	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

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

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

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

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

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

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

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

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for nr admin channel API

func (*Client) AdminCreateChannel

AdminCreateChannel creates channel

Required permission <b>ADMIN:NAMESPACE:{namespace}:USER:{userId}:CHANNEL [CREATE]</b>

func (*Client) AdminCreateChannelShort added in v0.8.0

func (a *Client) AdminCreateChannelShort(params *AdminCreateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateChannelCreated, error)

func (*Client) AdminDeleteChannel

AdminDeleteChannel deletes channel

Required permission <b>ADMIN:NAMESPACE:{namespace}:USER:{userId}:CHANNEL [DELETE]</b>

func (*Client) AdminDeleteChannelShort added in v0.8.0

func (a *Client) AdminDeleteChannelShort(params *AdminDeleteChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteChannelNoContent, error)

func (*Client) AdminGetChannel

AdminGetChannel gets channels

Required permission <b>ADMIN:NAMESPACE:{namespace}:USER:{userId}:CHANNEL [READ]</b>

func (*Client) AdminGetChannelShort added in v0.8.0

func (a *Client) AdminGetChannelShort(params *AdminGetChannelParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChannelOK, error)

func (*Client) AdminUpdateChannel

AdminUpdateChannel updates channel

Required permission <b>ADMIN:NAMESPACE:{namespace}:USER:{userId}:CHANNEL [UPDATE]</b>

func (*Client) AdminUpdateChannelShort added in v0.8.0

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

SingleAdminDeleteChannel deletes channel

Required permission <b>ADMIN:NAMESPACE:{namespace}:USER:{userId}:CHANNEL [DELETE]</b>

func (*Client) SingleAdminDeleteChannelShort added in v0.8.0

func (a *Client) SingleAdminDeleteChannelShort(params *SingleAdminDeleteChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminDeleteChannelNoContent, error)

func (*Client) SingleAdminGetChannel

SingleAdminGetChannel gets channels

Required permission <b>ADMIN:NAMESPACE:{namespace}:USER:{userId}:CHANNEL [READ]</b>

func (*Client) SingleAdminGetChannelShort added in v0.8.0

func (a *Client) SingleAdminGetChannelShort(params *SingleAdminGetChannelParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminGetChannelOK, error)

func (*Client) SingleAdminUpdateChannel

SingleAdminUpdateChannel updates channel

Required permission <b>ADMIN:NAMESPACE:{namespace}:USER:{userId}:CHANNEL [UPDATE]</b>

func (*Client) SingleAdminUpdateChannelShort added in v0.8.0

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 nr 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Jump to

Keyboard shortcuts

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