Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteChannel(params *DeleteChannelParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteChannelNoContent, *DeleteChannelUnauthorized, *DeleteChannelNotFound, ...)deprecated
- func (a *Client) DeleteChannelShort(params *DeleteChannelParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteChannelNoContent, error)
- func (a *Client) GetChannels(params *GetChannelsParams, authInfo runtime.ClientAuthInfoWriter) (*GetChannelsOK, *GetChannelsBadRequest, *GetChannelsUnauthorized, ...)deprecated
- func (a *Client) GetChannelsShort(params *GetChannelsParams, authInfo runtime.ClientAuthInfoWriter) (*GetChannelsOK, error)
- func (a *Client) PublicCreateChannel(params *PublicCreateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateChannelCreated, *PublicCreateChannelBadRequest, ...)deprecated
- func (a *Client) PublicCreateChannelShort(params *PublicCreateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateChannelCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateChannel(params *UpdateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateChannelOK, *UpdateChannelBadRequest, *UpdateChannelUnauthorized, ...)deprecated
- func (a *Client) UpdateChannelShort(params *UpdateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateChannelOK, error)
- type ClientService
- type DeleteChannelInternalServerError
- type DeleteChannelNoContent
- type DeleteChannelNotFound
- type DeleteChannelParams
- func (o *DeleteChannelParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteChannelParams) SetChannelID(channelID string)
- func (o *DeleteChannelParams) SetContext(ctx context.Context)
- func (o *DeleteChannelParams) SetFlightId(flightId string)
- func (o *DeleteChannelParams) SetHTTPClient(client *http.Client)
- func (o *DeleteChannelParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteChannelParams) SetNamespace(namespace string)
- func (o *DeleteChannelParams) SetTimeout(timeout time.Duration)
- func (o *DeleteChannelParams) SetUserID(userID string)
- func (o *DeleteChannelParams) WithChannelID(channelID string) *DeleteChannelParams
- func (o *DeleteChannelParams) WithContext(ctx context.Context) *DeleteChannelParams
- func (o *DeleteChannelParams) WithHTTPClient(client *http.Client) *DeleteChannelParams
- func (o *DeleteChannelParams) WithNamespace(namespace string) *DeleteChannelParams
- func (o *DeleteChannelParams) WithTimeout(timeout time.Duration) *DeleteChannelParams
- func (o *DeleteChannelParams) WithUserID(userID string) *DeleteChannelParams
- func (o *DeleteChannelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteChannelReader
- type DeleteChannelUnauthorized
- type GetChannelsBadRequest
- type GetChannelsInternalServerError
- type GetChannelsOK
- type GetChannelsParams
- func (o *GetChannelsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetChannelsParams) SetContext(ctx context.Context)
- func (o *GetChannelsParams) SetFlightId(flightId string)
- func (o *GetChannelsParams) SetHTTPClient(client *http.Client)
- func (o *GetChannelsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetChannelsParams) SetLimit(limit *int64)
- func (o *GetChannelsParams) SetName(name *string)
- func (o *GetChannelsParams) SetNamespace(namespace string)
- func (o *GetChannelsParams) SetOffset(offset *int64)
- func (o *GetChannelsParams) SetTimeout(timeout time.Duration)
- func (o *GetChannelsParams) SetUserID(userID string)
- func (o *GetChannelsParams) WithContext(ctx context.Context) *GetChannelsParams
- func (o *GetChannelsParams) WithHTTPClient(client *http.Client) *GetChannelsParams
- func (o *GetChannelsParams) WithLimit(limit *int64) *GetChannelsParams
- func (o *GetChannelsParams) WithName(name *string) *GetChannelsParams
- func (o *GetChannelsParams) WithNamespace(namespace string) *GetChannelsParams
- func (o *GetChannelsParams) WithOffset(offset *int64) *GetChannelsParams
- func (o *GetChannelsParams) WithTimeout(timeout time.Duration) *GetChannelsParams
- func (o *GetChannelsParams) WithUserID(userID string) *GetChannelsParams
- func (o *GetChannelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetChannelsReader
- type GetChannelsUnauthorized
- type PublicCreateChannelBadRequest
- type PublicCreateChannelCreated
- type PublicCreateChannelInternalServerError
- type PublicCreateChannelParams
- func NewPublicCreateChannelParams() *PublicCreateChannelParams
- func NewPublicCreateChannelParamsWithContext(ctx context.Context) *PublicCreateChannelParams
- func NewPublicCreateChannelParamsWithHTTPClient(client *http.Client) *PublicCreateChannelParams
- func NewPublicCreateChannelParamsWithTimeout(timeout time.Duration) *PublicCreateChannelParams
- func (o *PublicCreateChannelParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicCreateChannelParams) SetBody(body *ugcclientmodels.ModelsPublicChannelRequest)
- func (o *PublicCreateChannelParams) SetContext(ctx context.Context)
- func (o *PublicCreateChannelParams) SetFlightId(flightId string)
- func (o *PublicCreateChannelParams) SetHTTPClient(client *http.Client)
- func (o *PublicCreateChannelParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicCreateChannelParams) SetNamespace(namespace string)
- func (o *PublicCreateChannelParams) SetTimeout(timeout time.Duration)
- func (o *PublicCreateChannelParams) SetUserID(userID string)
- func (o *PublicCreateChannelParams) WithBody(body *ugcclientmodels.ModelsPublicChannelRequest) *PublicCreateChannelParams
- func (o *PublicCreateChannelParams) WithContext(ctx context.Context) *PublicCreateChannelParams
- func (o *PublicCreateChannelParams) WithHTTPClient(client *http.Client) *PublicCreateChannelParams
- func (o *PublicCreateChannelParams) WithNamespace(namespace string) *PublicCreateChannelParams
- func (o *PublicCreateChannelParams) WithTimeout(timeout time.Duration) *PublicCreateChannelParams
- func (o *PublicCreateChannelParams) WithUserID(userID string) *PublicCreateChannelParams
- func (o *PublicCreateChannelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicCreateChannelReader
- type PublicCreateChannelUnauthorized
- type UpdateChannelBadRequest
- type UpdateChannelInternalServerError
- type UpdateChannelNotFound
- type UpdateChannelOK
- type UpdateChannelParams
- func (o *UpdateChannelParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateChannelParams) SetBody(body *ugcclientmodels.ModelsUpdateChannelRequest)
- func (o *UpdateChannelParams) SetChannelID(channelID string)
- func (o *UpdateChannelParams) SetContext(ctx context.Context)
- func (o *UpdateChannelParams) SetFlightId(flightId string)
- func (o *UpdateChannelParams) SetHTTPClient(client *http.Client)
- func (o *UpdateChannelParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateChannelParams) SetNamespace(namespace string)
- func (o *UpdateChannelParams) SetTimeout(timeout time.Duration)
- func (o *UpdateChannelParams) SetUserID(userID string)
- func (o *UpdateChannelParams) WithBody(body *ugcclientmodels.ModelsUpdateChannelRequest) *UpdateChannelParams
- func (o *UpdateChannelParams) WithChannelID(channelID string) *UpdateChannelParams
- func (o *UpdateChannelParams) WithContext(ctx context.Context) *UpdateChannelParams
- func (o *UpdateChannelParams) WithHTTPClient(client *http.Client) *UpdateChannelParams
- func (o *UpdateChannelParams) WithNamespace(namespace string) *UpdateChannelParams
- func (o *UpdateChannelParams) WithTimeout(timeout time.Duration) *UpdateChannelParams
- func (o *UpdateChannelParams) WithUserID(userID string) *UpdateChannelParams
- func (o *UpdateChannelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateChannelReader
- type UpdateChannelUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for public channel API
func (*Client) DeleteChannel
deprecated
func (a *Client) DeleteChannel(params *DeleteChannelParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteChannelNoContent, *DeleteChannelUnauthorized, *DeleteChannelNotFound, *DeleteChannelInternalServerError, error)
Deprecated: 2022-08-10 - Use DeleteChannelShort instead.
DeleteChannel delete channel Delete user channel
func (*Client) DeleteChannelShort ¶
func (a *Client) DeleteChannelShort(params *DeleteChannelParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteChannelNoContent, error)
DeleteChannelShort delete channel Delete user channel
func (*Client) GetChannels
deprecated
func (a *Client) GetChannels(params *GetChannelsParams, authInfo runtime.ClientAuthInfoWriter) (*GetChannelsOK, *GetChannelsBadRequest, *GetChannelsUnauthorized, *GetChannelsInternalServerError, error)
Deprecated: 2022-08-10 - Use GetChannelsShort instead.
GetChannels get channels Get user channel paginated
func (*Client) GetChannelsShort ¶
func (a *Client) GetChannelsShort(params *GetChannelsParams, authInfo runtime.ClientAuthInfoWriter) (*GetChannelsOK, error)
GetChannelsShort get channels Get user channel paginated
func (*Client) PublicCreateChannel
deprecated
added in
v0.42.0
func (a *Client) PublicCreateChannel(params *PublicCreateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateChannelCreated, *PublicCreateChannelBadRequest, *PublicCreateChannelUnauthorized, *PublicCreateChannelInternalServerError, error)
Deprecated: 2022-08-10 - Use PublicCreateChannelShort instead.
PublicCreateChannel create channel Create user channel
func (*Client) PublicCreateChannelShort ¶ added in v0.42.0
func (a *Client) PublicCreateChannelShort(params *PublicCreateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateChannelCreated, error)
PublicCreateChannelShort create channel Create user channel
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateChannel
deprecated
func (a *Client) UpdateChannel(params *UpdateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateChannelOK, *UpdateChannelBadRequest, *UpdateChannelUnauthorized, *UpdateChannelNotFound, *UpdateChannelInternalServerError, error)
Deprecated: 2022-08-10 - Use UpdateChannelShort instead.
UpdateChannel update channel Update user channel
func (*Client) UpdateChannelShort ¶
func (a *Client) UpdateChannelShort(params *UpdateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateChannelOK, error)
UpdateChannelShort update channel Update user channel
type ClientService ¶
type ClientService interface { GetChannels(params *GetChannelsParams, authInfo runtime.ClientAuthInfoWriter) (*GetChannelsOK, *GetChannelsBadRequest, *GetChannelsUnauthorized, *GetChannelsInternalServerError, error) GetChannelsShort(params *GetChannelsParams, authInfo runtime.ClientAuthInfoWriter) (*GetChannelsOK, error) PublicCreateChannel(params *PublicCreateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateChannelCreated, *PublicCreateChannelBadRequest, *PublicCreateChannelUnauthorized, *PublicCreateChannelInternalServerError, error) PublicCreateChannelShort(params *PublicCreateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateChannelCreated, error) UpdateChannel(params *UpdateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateChannelOK, *UpdateChannelBadRequest, *UpdateChannelUnauthorized, *UpdateChannelNotFound, *UpdateChannelInternalServerError, error) UpdateChannelShort(params *UpdateChannelParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateChannelOK, error) DeleteChannel(params *DeleteChannelParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteChannelNoContent, *DeleteChannelUnauthorized, *DeleteChannelNotFound, *DeleteChannelInternalServerError, error) DeleteChannelShort(params *DeleteChannelParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteChannelNoContent, 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 public channel API client.
type DeleteChannelInternalServerError ¶
type DeleteChannelInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
DeleteChannelInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772501</td><td>Unable to delete channel</td></tr></table>
func NewDeleteChannelInternalServerError ¶
func NewDeleteChannelInternalServerError() *DeleteChannelInternalServerError
NewDeleteChannelInternalServerError creates a DeleteChannelInternalServerError with default headers values
func (*DeleteChannelInternalServerError) Error ¶
func (o *DeleteChannelInternalServerError) Error() string
func (*DeleteChannelInternalServerError) GetPayload ¶
func (o *DeleteChannelInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*DeleteChannelInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *DeleteChannelInternalServerError) ToJSONString() string
type DeleteChannelNoContent ¶
type DeleteChannelNoContent struct { }
DeleteChannelNoContent handles this case with default header values.
Channel deleted
func NewDeleteChannelNoContent ¶
func NewDeleteChannelNoContent() *DeleteChannelNoContent
NewDeleteChannelNoContent creates a DeleteChannelNoContent with default headers values
func (*DeleteChannelNoContent) Error ¶
func (o *DeleteChannelNoContent) Error() string
type DeleteChannelNotFound ¶
type DeleteChannelNotFound struct {
Payload *ugcclientmodels.ResponseError
}
DeleteChannelNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772502</td><td>Channel not found</td></tr></table>
func NewDeleteChannelNotFound ¶
func NewDeleteChannelNotFound() *DeleteChannelNotFound
NewDeleteChannelNotFound creates a DeleteChannelNotFound with default headers values
func (*DeleteChannelNotFound) Error ¶
func (o *DeleteChannelNotFound) Error() string
func (*DeleteChannelNotFound) GetPayload ¶
func (o *DeleteChannelNotFound) GetPayload() *ugcclientmodels.ResponseError
func (*DeleteChannelNotFound) ToJSONString ¶ added in v0.25.0
func (o *DeleteChannelNotFound) ToJSONString() string
type DeleteChannelParams ¶
type DeleteChannelParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ChannelID channelID */ ChannelID string /*Namespace namespace of the game */ Namespace string /*UserID userID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
DeleteChannelParams contains all the parameters to send to the API endpoint for the delete channel operation typically these are written to a http.Request
func NewDeleteChannelParams ¶
func NewDeleteChannelParams() *DeleteChannelParams
NewDeleteChannelParams creates a new DeleteChannelParams object with the default values initialized.
func NewDeleteChannelParamsWithContext ¶
func NewDeleteChannelParamsWithContext(ctx context.Context) *DeleteChannelParams
NewDeleteChannelParamsWithContext creates a new DeleteChannelParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteChannelParamsWithHTTPClient ¶
func NewDeleteChannelParamsWithHTTPClient(client *http.Client) *DeleteChannelParams
NewDeleteChannelParamsWithHTTPClient creates a new DeleteChannelParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteChannelParamsWithTimeout ¶
func NewDeleteChannelParamsWithTimeout(timeout time.Duration) *DeleteChannelParams
NewDeleteChannelParamsWithTimeout creates a new DeleteChannelParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteChannelParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *DeleteChannelParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete channel params
func (*DeleteChannelParams) SetChannelID ¶
func (o *DeleteChannelParams) SetChannelID(channelID string)
SetChannelID adds the channelId to the delete channel params
func (*DeleteChannelParams) SetContext ¶
func (o *DeleteChannelParams) SetContext(ctx context.Context)
SetContext adds the context to the delete channel params
func (*DeleteChannelParams) SetFlightId ¶ added in v0.63.0
func (o *DeleteChannelParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*DeleteChannelParams) SetHTTPClient ¶
func (o *DeleteChannelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete channel params
func (*DeleteChannelParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *DeleteChannelParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the delete channel params
func (*DeleteChannelParams) SetNamespace ¶
func (o *DeleteChannelParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete channel params
func (*DeleteChannelParams) SetTimeout ¶
func (o *DeleteChannelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete channel params
func (*DeleteChannelParams) SetUserID ¶
func (o *DeleteChannelParams) SetUserID(userID string)
SetUserID adds the userId to the delete channel params
func (*DeleteChannelParams) WithChannelID ¶
func (o *DeleteChannelParams) WithChannelID(channelID string) *DeleteChannelParams
WithChannelID adds the channelID to the delete channel params
func (*DeleteChannelParams) WithContext ¶
func (o *DeleteChannelParams) WithContext(ctx context.Context) *DeleteChannelParams
WithContext adds the context to the delete channel params
func (*DeleteChannelParams) WithHTTPClient ¶
func (o *DeleteChannelParams) WithHTTPClient(client *http.Client) *DeleteChannelParams
WithHTTPClient adds the HTTPClient to the delete channel params
func (*DeleteChannelParams) WithNamespace ¶
func (o *DeleteChannelParams) WithNamespace(namespace string) *DeleteChannelParams
WithNamespace adds the namespace to the delete channel params
func (*DeleteChannelParams) WithTimeout ¶
func (o *DeleteChannelParams) WithTimeout(timeout time.Duration) *DeleteChannelParams
WithTimeout adds the timeout to the delete channel params
func (*DeleteChannelParams) WithUserID ¶
func (o *DeleteChannelParams) WithUserID(userID string) *DeleteChannelParams
WithUserID adds the userID to the delete channel params
func (*DeleteChannelParams) WriteToRequest ¶
func (o *DeleteChannelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteChannelReader ¶
type DeleteChannelReader struct {
// contains filtered or unexported fields
}
DeleteChannelReader is a Reader for the DeleteChannel structure.
func (*DeleteChannelReader) ReadResponse ¶
func (o *DeleteChannelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteChannelUnauthorized ¶
type DeleteChannelUnauthorized struct {
}DeleteChannelUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewDeleteChannelUnauthorized ¶
func NewDeleteChannelUnauthorized() *DeleteChannelUnauthorized
NewDeleteChannelUnauthorized creates a DeleteChannelUnauthorized with default headers values
func (*DeleteChannelUnauthorized) Error ¶
func (o *DeleteChannelUnauthorized) Error() string
func (*DeleteChannelUnauthorized) GetPayload ¶
func (o *DeleteChannelUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*DeleteChannelUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *DeleteChannelUnauthorized) ToJSONString() string
type GetChannelsBadRequest ¶ added in v0.60.0
type GetChannelsBadRequest struct {
Payload *ugcclientmodels.ResponseError
}
GetChannelsBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770702</td><td>invalid paging parameter</td></tr></table>
func NewGetChannelsBadRequest ¶ added in v0.60.0
func NewGetChannelsBadRequest() *GetChannelsBadRequest
NewGetChannelsBadRequest creates a GetChannelsBadRequest with default headers values
func (*GetChannelsBadRequest) Error ¶ added in v0.60.0
func (o *GetChannelsBadRequest) Error() string
func (*GetChannelsBadRequest) GetPayload ¶ added in v0.60.0
func (o *GetChannelsBadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*GetChannelsBadRequest) ToJSONString ¶ added in v0.60.0
func (o *GetChannelsBadRequest) ToJSONString() string
type GetChannelsInternalServerError ¶
type GetChannelsInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
GetChannelsInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770700</td><td>Unable get user channels</td></tr></table>
func NewGetChannelsInternalServerError ¶
func NewGetChannelsInternalServerError() *GetChannelsInternalServerError
NewGetChannelsInternalServerError creates a GetChannelsInternalServerError with default headers values
func (*GetChannelsInternalServerError) Error ¶
func (o *GetChannelsInternalServerError) Error() string
func (*GetChannelsInternalServerError) GetPayload ¶
func (o *GetChannelsInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*GetChannelsInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *GetChannelsInternalServerError) ToJSONString() string
type GetChannelsOK ¶
type GetChannelsOK struct {
Payload *ugcclientmodels.ModelsPaginatedGetChannelResponse
}
GetChannelsOK handles this case with default header values.
Channel in namespace-level retrieved
func NewGetChannelsOK ¶
func NewGetChannelsOK() *GetChannelsOK
NewGetChannelsOK creates a GetChannelsOK with default headers values
func (*GetChannelsOK) Error ¶
func (o *GetChannelsOK) Error() string
func (*GetChannelsOK) GetPayload ¶
func (o *GetChannelsOK) GetPayload() *ugcclientmodels.ModelsPaginatedGetChannelResponse
func (*GetChannelsOK) ToJSONString ¶ added in v0.25.0
func (o *GetChannelsOK) ToJSONString() string
type GetChannelsParams ¶
type GetChannelsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*UserID userID */ 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 // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
GetChannelsParams contains all the parameters to send to the API endpoint for the get channels operation typically these are written to a http.Request
func NewGetChannelsParams ¶
func NewGetChannelsParams() *GetChannelsParams
NewGetChannelsParams creates a new GetChannelsParams object with the default values initialized.
func NewGetChannelsParamsWithContext ¶
func NewGetChannelsParamsWithContext(ctx context.Context) *GetChannelsParams
NewGetChannelsParamsWithContext creates a new GetChannelsParams object with the default values initialized, and the ability to set a context for a request
func NewGetChannelsParamsWithHTTPClient ¶
func NewGetChannelsParamsWithHTTPClient(client *http.Client) *GetChannelsParams
NewGetChannelsParamsWithHTTPClient creates a new GetChannelsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetChannelsParamsWithTimeout ¶
func NewGetChannelsParamsWithTimeout(timeout time.Duration) *GetChannelsParams
NewGetChannelsParamsWithTimeout creates a new GetChannelsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetChannelsParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetChannelsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get channels params
func (*GetChannelsParams) SetContext ¶
func (o *GetChannelsParams) SetContext(ctx context.Context)
SetContext adds the context to the get channels params
func (*GetChannelsParams) SetFlightId ¶ added in v0.63.0
func (o *GetChannelsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetChannelsParams) SetHTTPClient ¶
func (o *GetChannelsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get channels params
func (*GetChannelsParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetChannelsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get channels params
func (*GetChannelsParams) SetLimit ¶
func (o *GetChannelsParams) SetLimit(limit *int64)
SetLimit adds the limit to the get channels params
func (*GetChannelsParams) SetName ¶ added in v0.47.0
func (o *GetChannelsParams) SetName(name *string)
SetName adds the name to the get channels params
func (*GetChannelsParams) SetNamespace ¶
func (o *GetChannelsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get channels params
func (*GetChannelsParams) SetOffset ¶
func (o *GetChannelsParams) SetOffset(offset *int64)
SetOffset adds the offset to the get channels params
func (*GetChannelsParams) SetTimeout ¶
func (o *GetChannelsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get channels params
func (*GetChannelsParams) SetUserID ¶
func (o *GetChannelsParams) SetUserID(userID string)
SetUserID adds the userId to the get channels params
func (*GetChannelsParams) WithContext ¶
func (o *GetChannelsParams) WithContext(ctx context.Context) *GetChannelsParams
WithContext adds the context to the get channels params
func (*GetChannelsParams) WithHTTPClient ¶
func (o *GetChannelsParams) WithHTTPClient(client *http.Client) *GetChannelsParams
WithHTTPClient adds the HTTPClient to the get channels params
func (*GetChannelsParams) WithLimit ¶
func (o *GetChannelsParams) WithLimit(limit *int64) *GetChannelsParams
WithLimit adds the limit to the get channels params
func (*GetChannelsParams) WithName ¶ added in v0.47.0
func (o *GetChannelsParams) WithName(name *string) *GetChannelsParams
WithName adds the name to the get channels params
func (*GetChannelsParams) WithNamespace ¶
func (o *GetChannelsParams) WithNamespace(namespace string) *GetChannelsParams
WithNamespace adds the namespace to the get channels params
func (*GetChannelsParams) WithOffset ¶
func (o *GetChannelsParams) WithOffset(offset *int64) *GetChannelsParams
WithOffset adds the offset to the get channels params
func (*GetChannelsParams) WithTimeout ¶
func (o *GetChannelsParams) WithTimeout(timeout time.Duration) *GetChannelsParams
WithTimeout adds the timeout to the get channels params
func (*GetChannelsParams) WithUserID ¶
func (o *GetChannelsParams) WithUserID(userID string) *GetChannelsParams
WithUserID adds the userID to the get channels params
func (*GetChannelsParams) WriteToRequest ¶
func (o *GetChannelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetChannelsReader ¶
type GetChannelsReader struct {
// contains filtered or unexported fields
}
GetChannelsReader is a Reader for the GetChannels structure.
func (*GetChannelsReader) ReadResponse ¶
func (o *GetChannelsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetChannelsUnauthorized ¶
type GetChannelsUnauthorized struct {
}GetChannelsUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewGetChannelsUnauthorized ¶
func NewGetChannelsUnauthorized() *GetChannelsUnauthorized
NewGetChannelsUnauthorized creates a GetChannelsUnauthorized with default headers values
func (*GetChannelsUnauthorized) Error ¶
func (o *GetChannelsUnauthorized) Error() string
func (*GetChannelsUnauthorized) GetPayload ¶
func (o *GetChannelsUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*GetChannelsUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *GetChannelsUnauthorized) ToJSONString() string
type PublicCreateChannelBadRequest ¶ added in v0.42.0
type PublicCreateChannelBadRequest struct {
Payload *ugcclientmodels.ResponseError
}
PublicCreateChannelBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770500</td><td>Invalid request body</td></tr></table>
func NewPublicCreateChannelBadRequest ¶ added in v0.42.0
func NewPublicCreateChannelBadRequest() *PublicCreateChannelBadRequest
NewPublicCreateChannelBadRequest creates a PublicCreateChannelBadRequest with default headers values
func (*PublicCreateChannelBadRequest) Error ¶ added in v0.42.0
func (o *PublicCreateChannelBadRequest) Error() string
func (*PublicCreateChannelBadRequest) GetPayload ¶ added in v0.42.0
func (o *PublicCreateChannelBadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*PublicCreateChannelBadRequest) ToJSONString ¶ added in v0.42.0
func (o *PublicCreateChannelBadRequest) ToJSONString() string
type PublicCreateChannelCreated ¶ added in v0.42.0
type PublicCreateChannelCreated struct {
Payload *ugcclientmodels.ModelsChannelResponse
}
PublicCreateChannelCreated handles this case with default header values.
channel created
func NewPublicCreateChannelCreated ¶ added in v0.42.0
func NewPublicCreateChannelCreated() *PublicCreateChannelCreated
NewPublicCreateChannelCreated creates a PublicCreateChannelCreated with default headers values
func (*PublicCreateChannelCreated) Error ¶ added in v0.42.0
func (o *PublicCreateChannelCreated) Error() string
func (*PublicCreateChannelCreated) GetPayload ¶ added in v0.42.0
func (o *PublicCreateChannelCreated) GetPayload() *ugcclientmodels.ModelsChannelResponse
func (*PublicCreateChannelCreated) ToJSONString ¶ added in v0.42.0
func (o *PublicCreateChannelCreated) ToJSONString() string
type PublicCreateChannelInternalServerError ¶ added in v0.42.0
type PublicCreateChannelInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
PublicCreateChannelInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770502</td><td>Unable to save channel</td></tr></table>
func NewPublicCreateChannelInternalServerError ¶ added in v0.42.0
func NewPublicCreateChannelInternalServerError() *PublicCreateChannelInternalServerError
NewPublicCreateChannelInternalServerError creates a PublicCreateChannelInternalServerError with default headers values
func (*PublicCreateChannelInternalServerError) Error ¶ added in v0.42.0
func (o *PublicCreateChannelInternalServerError) Error() string
func (*PublicCreateChannelInternalServerError) GetPayload ¶ added in v0.42.0
func (o *PublicCreateChannelInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*PublicCreateChannelInternalServerError) ToJSONString ¶ added in v0.42.0
func (o *PublicCreateChannelInternalServerError) ToJSONString() string
type PublicCreateChannelParams ¶ added in v0.42.0
type PublicCreateChannelParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *ugcclientmodels.ModelsPublicChannelRequest /*Namespace namespace of the game */ Namespace string /*UserID userID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicCreateChannelParams contains all the parameters to send to the API endpoint for the public create channel operation typically these are written to a http.Request
func NewPublicCreateChannelParams ¶ added in v0.42.0
func NewPublicCreateChannelParams() *PublicCreateChannelParams
NewPublicCreateChannelParams creates a new PublicCreateChannelParams object with the default values initialized.
func NewPublicCreateChannelParamsWithContext ¶ added in v0.42.0
func NewPublicCreateChannelParamsWithContext(ctx context.Context) *PublicCreateChannelParams
NewPublicCreateChannelParamsWithContext creates a new PublicCreateChannelParams object with the default values initialized, and the ability to set a context for a request
func NewPublicCreateChannelParamsWithHTTPClient ¶ added in v0.42.0
func NewPublicCreateChannelParamsWithHTTPClient(client *http.Client) *PublicCreateChannelParams
NewPublicCreateChannelParamsWithHTTPClient creates a new PublicCreateChannelParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicCreateChannelParamsWithTimeout ¶ added in v0.42.0
func NewPublicCreateChannelParamsWithTimeout(timeout time.Duration) *PublicCreateChannelParams
NewPublicCreateChannelParamsWithTimeout creates a new PublicCreateChannelParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicCreateChannelParams) SetAuthInfoWriter ¶ added in v0.42.0
func (o *PublicCreateChannelParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public create channel params
func (*PublicCreateChannelParams) SetBody ¶ added in v0.42.0
func (o *PublicCreateChannelParams) SetBody(body *ugcclientmodels.ModelsPublicChannelRequest)
SetBody adds the body to the public create channel params
func (*PublicCreateChannelParams) SetContext ¶ added in v0.42.0
func (o *PublicCreateChannelParams) SetContext(ctx context.Context)
SetContext adds the context to the public create channel params
func (*PublicCreateChannelParams) SetFlightId ¶ added in v0.63.0
func (o *PublicCreateChannelParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicCreateChannelParams) SetHTTPClient ¶ added in v0.42.0
func (o *PublicCreateChannelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public create channel params
func (*PublicCreateChannelParams) SetHTTPClientTransport ¶ added in v0.42.0
func (o *PublicCreateChannelParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public create channel params
func (*PublicCreateChannelParams) SetNamespace ¶ added in v0.42.0
func (o *PublicCreateChannelParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public create channel params
func (*PublicCreateChannelParams) SetTimeout ¶ added in v0.42.0
func (o *PublicCreateChannelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public create channel params
func (*PublicCreateChannelParams) SetUserID ¶ added in v0.42.0
func (o *PublicCreateChannelParams) SetUserID(userID string)
SetUserID adds the userId to the public create channel params
func (*PublicCreateChannelParams) WithBody ¶ added in v0.42.0
func (o *PublicCreateChannelParams) WithBody(body *ugcclientmodels.ModelsPublicChannelRequest) *PublicCreateChannelParams
WithBody adds the body to the public create channel params
func (*PublicCreateChannelParams) WithContext ¶ added in v0.42.0
func (o *PublicCreateChannelParams) WithContext(ctx context.Context) *PublicCreateChannelParams
WithContext adds the context to the public create channel params
func (*PublicCreateChannelParams) WithHTTPClient ¶ added in v0.42.0
func (o *PublicCreateChannelParams) WithHTTPClient(client *http.Client) *PublicCreateChannelParams
WithHTTPClient adds the HTTPClient to the public create channel params
func (*PublicCreateChannelParams) WithNamespace ¶ added in v0.42.0
func (o *PublicCreateChannelParams) WithNamespace(namespace string) *PublicCreateChannelParams
WithNamespace adds the namespace to the public create channel params
func (*PublicCreateChannelParams) WithTimeout ¶ added in v0.42.0
func (o *PublicCreateChannelParams) WithTimeout(timeout time.Duration) *PublicCreateChannelParams
WithTimeout adds the timeout to the public create channel params
func (*PublicCreateChannelParams) WithUserID ¶ added in v0.42.0
func (o *PublicCreateChannelParams) WithUserID(userID string) *PublicCreateChannelParams
WithUserID adds the userID to the public create channel params
func (*PublicCreateChannelParams) WriteToRequest ¶ added in v0.42.0
func (o *PublicCreateChannelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicCreateChannelReader ¶ added in v0.42.0
type PublicCreateChannelReader struct {
// contains filtered or unexported fields
}
PublicCreateChannelReader is a Reader for the PublicCreateChannel structure.
func (*PublicCreateChannelReader) ReadResponse ¶ added in v0.42.0
func (o *PublicCreateChannelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicCreateChannelUnauthorized ¶ added in v0.42.0
type PublicCreateChannelUnauthorized struct {
}PublicCreateChannelUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPublicCreateChannelUnauthorized ¶ added in v0.42.0
func NewPublicCreateChannelUnauthorized() *PublicCreateChannelUnauthorized
NewPublicCreateChannelUnauthorized creates a PublicCreateChannelUnauthorized with default headers values
func (*PublicCreateChannelUnauthorized) Error ¶ added in v0.42.0
func (o *PublicCreateChannelUnauthorized) Error() string
func (*PublicCreateChannelUnauthorized) GetPayload ¶ added in v0.42.0
func (o *PublicCreateChannelUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*PublicCreateChannelUnauthorized) ToJSONString ¶ added in v0.42.0
func (o *PublicCreateChannelUnauthorized) ToJSONString() string
type UpdateChannelBadRequest ¶
type UpdateChannelBadRequest struct {
Payload *ugcclientmodels.ResponseError
}
UpdateChannelBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770600</td><td>Invalid request body</td></tr></table>
func NewUpdateChannelBadRequest ¶
func NewUpdateChannelBadRequest() *UpdateChannelBadRequest
NewUpdateChannelBadRequest creates a UpdateChannelBadRequest with default headers values
func (*UpdateChannelBadRequest) Error ¶
func (o *UpdateChannelBadRequest) Error() string
func (*UpdateChannelBadRequest) GetPayload ¶
func (o *UpdateChannelBadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateChannelBadRequest) ToJSONString ¶ added in v0.25.0
func (o *UpdateChannelBadRequest) ToJSONString() string
type UpdateChannelInternalServerError ¶
type UpdateChannelInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
UpdateChannelInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770602</td><td>Unable to save channel</td></tr></table>
func NewUpdateChannelInternalServerError ¶
func NewUpdateChannelInternalServerError() *UpdateChannelInternalServerError
NewUpdateChannelInternalServerError creates a UpdateChannelInternalServerError with default headers values
func (*UpdateChannelInternalServerError) Error ¶
func (o *UpdateChannelInternalServerError) Error() string
func (*UpdateChannelInternalServerError) GetPayload ¶
func (o *UpdateChannelInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateChannelInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *UpdateChannelInternalServerError) ToJSONString() string
type UpdateChannelNotFound ¶
type UpdateChannelNotFound struct {
Payload *ugcclientmodels.ResponseError
}
UpdateChannelNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770603</td><td>Channel was not found</td></tr></table>
func NewUpdateChannelNotFound ¶
func NewUpdateChannelNotFound() *UpdateChannelNotFound
NewUpdateChannelNotFound creates a UpdateChannelNotFound with default headers values
func (*UpdateChannelNotFound) Error ¶
func (o *UpdateChannelNotFound) Error() string
func (*UpdateChannelNotFound) GetPayload ¶
func (o *UpdateChannelNotFound) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateChannelNotFound) ToJSONString ¶ added in v0.25.0
func (o *UpdateChannelNotFound) ToJSONString() string
type UpdateChannelOK ¶
type UpdateChannelOK struct {
Payload *ugcclientmodels.ModelsChannelResponse
}
UpdateChannelOK handles this case with default header values.
Channel updated
func NewUpdateChannelOK ¶
func NewUpdateChannelOK() *UpdateChannelOK
NewUpdateChannelOK creates a UpdateChannelOK with default headers values
func (*UpdateChannelOK) Error ¶
func (o *UpdateChannelOK) Error() string
func (*UpdateChannelOK) GetPayload ¶
func (o *UpdateChannelOK) GetPayload() *ugcclientmodels.ModelsChannelResponse
func (*UpdateChannelOK) ToJSONString ¶ added in v0.25.0
func (o *UpdateChannelOK) ToJSONString() string
type UpdateChannelParams ¶
type UpdateChannelParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *ugcclientmodels.ModelsUpdateChannelRequest /*ChannelID channelID */ ChannelID string /*Namespace namespace of the game */ Namespace string /*UserID userID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
UpdateChannelParams contains all the parameters to send to the API endpoint for the update channel operation typically these are written to a http.Request
func NewUpdateChannelParams ¶
func NewUpdateChannelParams() *UpdateChannelParams
NewUpdateChannelParams creates a new UpdateChannelParams object with the default values initialized.
func NewUpdateChannelParamsWithContext ¶
func NewUpdateChannelParamsWithContext(ctx context.Context) *UpdateChannelParams
NewUpdateChannelParamsWithContext creates a new UpdateChannelParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateChannelParamsWithHTTPClient ¶
func NewUpdateChannelParamsWithHTTPClient(client *http.Client) *UpdateChannelParams
NewUpdateChannelParamsWithHTTPClient creates a new UpdateChannelParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateChannelParamsWithTimeout ¶
func NewUpdateChannelParamsWithTimeout(timeout time.Duration) *UpdateChannelParams
NewUpdateChannelParamsWithTimeout creates a new UpdateChannelParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateChannelParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *UpdateChannelParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update channel params
func (*UpdateChannelParams) SetBody ¶
func (o *UpdateChannelParams) SetBody(body *ugcclientmodels.ModelsUpdateChannelRequest)
SetBody adds the body to the update channel params
func (*UpdateChannelParams) SetChannelID ¶
func (o *UpdateChannelParams) SetChannelID(channelID string)
SetChannelID adds the channelId to the update channel params
func (*UpdateChannelParams) SetContext ¶
func (o *UpdateChannelParams) SetContext(ctx context.Context)
SetContext adds the context to the update channel params
func (*UpdateChannelParams) SetFlightId ¶ added in v0.63.0
func (o *UpdateChannelParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*UpdateChannelParams) SetHTTPClient ¶
func (o *UpdateChannelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update channel params
func (*UpdateChannelParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *UpdateChannelParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update channel params
func (*UpdateChannelParams) SetNamespace ¶
func (o *UpdateChannelParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the update channel params
func (*UpdateChannelParams) SetTimeout ¶
func (o *UpdateChannelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update channel params
func (*UpdateChannelParams) SetUserID ¶
func (o *UpdateChannelParams) SetUserID(userID string)
SetUserID adds the userId to the update channel params
func (*UpdateChannelParams) WithBody ¶
func (o *UpdateChannelParams) WithBody(body *ugcclientmodels.ModelsUpdateChannelRequest) *UpdateChannelParams
WithBody adds the body to the update channel params
func (*UpdateChannelParams) WithChannelID ¶
func (o *UpdateChannelParams) WithChannelID(channelID string) *UpdateChannelParams
WithChannelID adds the channelID to the update channel params
func (*UpdateChannelParams) WithContext ¶
func (o *UpdateChannelParams) WithContext(ctx context.Context) *UpdateChannelParams
WithContext adds the context to the update channel params
func (*UpdateChannelParams) WithHTTPClient ¶
func (o *UpdateChannelParams) WithHTTPClient(client *http.Client) *UpdateChannelParams
WithHTTPClient adds the HTTPClient to the update channel params
func (*UpdateChannelParams) WithNamespace ¶
func (o *UpdateChannelParams) WithNamespace(namespace string) *UpdateChannelParams
WithNamespace adds the namespace to the update channel params
func (*UpdateChannelParams) WithTimeout ¶
func (o *UpdateChannelParams) WithTimeout(timeout time.Duration) *UpdateChannelParams
WithTimeout adds the timeout to the update channel params
func (*UpdateChannelParams) WithUserID ¶
func (o *UpdateChannelParams) WithUserID(userID string) *UpdateChannelParams
WithUserID adds the userID to the update channel params
func (*UpdateChannelParams) WriteToRequest ¶
func (o *UpdateChannelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateChannelReader ¶
type UpdateChannelReader struct {
// contains filtered or unexported fields
}
UpdateChannelReader is a Reader for the UpdateChannel structure.
func (*UpdateChannelReader) ReadResponse ¶
func (o *UpdateChannelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateChannelUnauthorized ¶
type UpdateChannelUnauthorized struct {
}UpdateChannelUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewUpdateChannelUnauthorized ¶
func NewUpdateChannelUnauthorized() *UpdateChannelUnauthorized
NewUpdateChannelUnauthorized creates a UpdateChannelUnauthorized with default headers values
func (*UpdateChannelUnauthorized) Error ¶
func (o *UpdateChannelUnauthorized) Error() string
func (*UpdateChannelUnauthorized) GetPayload ¶
func (o *UpdateChannelUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateChannelUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *UpdateChannelUnauthorized) ToJSONString() string