Documentation ¶
Index ¶
- type Client
- func (a *Client) GetLikedContent(params *GetLikedContentParams, authInfo runtime.ClientAuthInfoWriter) (*GetLikedContentOK, *GetLikedContentUnauthorized, *GetLikedContentNotFound, ...)
- func (a *Client) GetLikedContentShort(params *GetLikedContentParams, authInfo runtime.ClientAuthInfoWriter) (*GetLikedContentOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateContentLikeStatus(params *UpdateContentLikeStatusParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentLikeStatusOK, *UpdateContentLikeStatusBadRequest, ...)
- func (a *Client) UpdateContentLikeStatusShort(params *UpdateContentLikeStatusParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentLikeStatusOK, error)
- type ClientService
- type GetLikedContentInternalServerError
- type GetLikedContentNotFound
- type GetLikedContentOK
- type GetLikedContentParams
- func NewGetLikedContentParams() *GetLikedContentParams
- func NewGetLikedContentParamsWithContext(ctx context.Context) *GetLikedContentParams
- func NewGetLikedContentParamsWithHTTPClient(client *http.Client) *GetLikedContentParams
- func NewGetLikedContentParamsWithTimeout(timeout time.Duration) *GetLikedContentParams
- func (o *GetLikedContentParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetLikedContentParams) SetContext(ctx context.Context)
- func (o *GetLikedContentParams) SetHTTPClient(client *http.Client)
- func (o *GetLikedContentParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetLikedContentParams) SetIsofficial(isofficial *bool)
- func (o *GetLikedContentParams) SetLimit(limit *int64)
- func (o *GetLikedContentParams) SetName(name *string)
- func (o *GetLikedContentParams) SetNamespace(namespace string)
- func (o *GetLikedContentParams) SetOffset(offset *int64)
- func (o *GetLikedContentParams) SetOrderby(orderby *string)
- func (o *GetLikedContentParams) SetSortby(sortby *string)
- func (o *GetLikedContentParams) SetSubtype(subtype *string)
- func (o *GetLikedContentParams) SetTags(tags []string)
- func (o *GetLikedContentParams) SetTimeout(timeout time.Duration)
- func (o *GetLikedContentParams) SetType(typeVar *string)
- func (o *GetLikedContentParams) WithContext(ctx context.Context) *GetLikedContentParams
- func (o *GetLikedContentParams) WithHTTPClient(client *http.Client) *GetLikedContentParams
- func (o *GetLikedContentParams) WithIsofficial(isofficial *bool) *GetLikedContentParams
- func (o *GetLikedContentParams) WithLimit(limit *int64) *GetLikedContentParams
- func (o *GetLikedContentParams) WithName(name *string) *GetLikedContentParams
- func (o *GetLikedContentParams) WithNamespace(namespace string) *GetLikedContentParams
- func (o *GetLikedContentParams) WithOffset(offset *int64) *GetLikedContentParams
- func (o *GetLikedContentParams) WithOrderby(orderby *string) *GetLikedContentParams
- func (o *GetLikedContentParams) WithSortby(sortby *string) *GetLikedContentParams
- func (o *GetLikedContentParams) WithSubtype(subtype *string) *GetLikedContentParams
- func (o *GetLikedContentParams) WithTags(tags []string) *GetLikedContentParams
- func (o *GetLikedContentParams) WithTimeout(timeout time.Duration) *GetLikedContentParams
- func (o *GetLikedContentParams) WithType(typeVar *string) *GetLikedContentParams
- func (o *GetLikedContentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLikedContentReader
- type GetLikedContentUnauthorized
- type UpdateContentLikeStatusBadRequest
- type UpdateContentLikeStatusInternalServerError
- type UpdateContentLikeStatusOK
- type UpdateContentLikeStatusParams
- func NewUpdateContentLikeStatusParams() *UpdateContentLikeStatusParams
- func NewUpdateContentLikeStatusParamsWithContext(ctx context.Context) *UpdateContentLikeStatusParams
- func NewUpdateContentLikeStatusParamsWithHTTPClient(client *http.Client) *UpdateContentLikeStatusParams
- func NewUpdateContentLikeStatusParamsWithTimeout(timeout time.Duration) *UpdateContentLikeStatusParams
- func (o *UpdateContentLikeStatusParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateContentLikeStatusParams) SetBody(body *ugcclientmodels.ModelsContentLikeRequest)
- func (o *UpdateContentLikeStatusParams) SetContentID(contentID string)
- func (o *UpdateContentLikeStatusParams) SetContext(ctx context.Context)
- func (o *UpdateContentLikeStatusParams) SetHTTPClient(client *http.Client)
- func (o *UpdateContentLikeStatusParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateContentLikeStatusParams) SetNamespace(namespace string)
- func (o *UpdateContentLikeStatusParams) SetTimeout(timeout time.Duration)
- func (o *UpdateContentLikeStatusParams) WithBody(body *ugcclientmodels.ModelsContentLikeRequest) *UpdateContentLikeStatusParams
- func (o *UpdateContentLikeStatusParams) WithContentID(contentID string) *UpdateContentLikeStatusParams
- func (o *UpdateContentLikeStatusParams) WithContext(ctx context.Context) *UpdateContentLikeStatusParams
- func (o *UpdateContentLikeStatusParams) WithHTTPClient(client *http.Client) *UpdateContentLikeStatusParams
- func (o *UpdateContentLikeStatusParams) WithNamespace(namespace string) *UpdateContentLikeStatusParams
- func (o *UpdateContentLikeStatusParams) WithTimeout(timeout time.Duration) *UpdateContentLikeStatusParams
- func (o *UpdateContentLikeStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateContentLikeStatusReader
- type UpdateContentLikeStatusUnauthorized
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 like API
func (*Client) GetLikedContent ¶
func (a *Client) GetLikedContent(params *GetLikedContentParams, authInfo runtime.ClientAuthInfoWriter) (*GetLikedContentOK, *GetLikedContentUnauthorized, *GetLikedContentNotFound, *GetLikedContentInternalServerError, error)
GetLikedContent gets liked contents
Requires valid user token
func (*Client) GetLikedContentShort ¶
func (a *Client) GetLikedContentShort(params *GetLikedContentParams, authInfo runtime.ClientAuthInfoWriter) (*GetLikedContentOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateContentLikeStatus ¶
func (a *Client) UpdateContentLikeStatus(params *UpdateContentLikeStatusParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentLikeStatusOK, *UpdateContentLikeStatusBadRequest, *UpdateContentLikeStatusUnauthorized, *UpdateContentLikeStatusInternalServerError, error)
UpdateContentLikeStatus updates like unlike status to a content
Requires valid user token
func (*Client) UpdateContentLikeStatusShort ¶
func (a *Client) UpdateContentLikeStatusShort(params *UpdateContentLikeStatusParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentLikeStatusOK, error)
type ClientService ¶
type ClientService interface { GetLikedContent(params *GetLikedContentParams, authInfo runtime.ClientAuthInfoWriter) (*GetLikedContentOK, *GetLikedContentUnauthorized, *GetLikedContentNotFound, *GetLikedContentInternalServerError, error) GetLikedContentShort(params *GetLikedContentParams, authInfo runtime.ClientAuthInfoWriter) (*GetLikedContentOK, error) UpdateContentLikeStatus(params *UpdateContentLikeStatusParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentLikeStatusOK, *UpdateContentLikeStatusBadRequest, *UpdateContentLikeStatusUnauthorized, *UpdateContentLikeStatusInternalServerError, error) UpdateContentLikeStatusShort(params *UpdateContentLikeStatusParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentLikeStatusOK, 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 like API client.
type GetLikedContentInternalServerError ¶
type GetLikedContentInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
GetLikedContentInternalServerError handles this case with default header values.
Internal Server Error
func NewGetLikedContentInternalServerError ¶
func NewGetLikedContentInternalServerError() *GetLikedContentInternalServerError
NewGetLikedContentInternalServerError creates a GetLikedContentInternalServerError with default headers values
func (*GetLikedContentInternalServerError) Error ¶
func (o *GetLikedContentInternalServerError) Error() string
func (*GetLikedContentInternalServerError) GetPayload ¶
func (o *GetLikedContentInternalServerError) GetPayload() *ugcclientmodels.ResponseError
type GetLikedContentNotFound ¶
type GetLikedContentNotFound struct {
Payload *ugcclientmodels.ResponseError
}
GetLikedContentNotFound handles this case with default header values.
Not Found
func NewGetLikedContentNotFound ¶
func NewGetLikedContentNotFound() *GetLikedContentNotFound
NewGetLikedContentNotFound creates a GetLikedContentNotFound with default headers values
func (*GetLikedContentNotFound) Error ¶
func (o *GetLikedContentNotFound) Error() string
func (*GetLikedContentNotFound) GetPayload ¶
func (o *GetLikedContentNotFound) GetPayload() *ugcclientmodels.ResponseError
type GetLikedContentOK ¶
type GetLikedContentOK struct {
Payload *ugcclientmodels.ModelsPaginatedContentDownloadResponse
}
GetLikedContentOK handles this case with default header values.
OK
func NewGetLikedContentOK ¶
func NewGetLikedContentOK() *GetLikedContentOK
NewGetLikedContentOK creates a GetLikedContentOK with default headers values
func (*GetLikedContentOK) Error ¶
func (o *GetLikedContentOK) Error() string
func (*GetLikedContentOK) GetPayload ¶
func (o *GetLikedContentOK) GetPayload() *ugcclientmodels.ModelsPaginatedContentDownloadResponse
type GetLikedContentParams ¶
type GetLikedContentParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Isofficial filter content by official or community */ Isofficial *bool /*Limit number of content per page */ Limit *int64 /*Name content name */ Name *string /*Namespace namespace of the game */ Namespace string /*Offset the offset number to retrieve */ Offset *int64 /*Orderby sorting order: asc, desc. default=desc */ Orderby *string /*Sortby sorting criteria: name,download,like,date. default=date */ Sortby *string /*Subtype subtype */ Subtype *string /*Tags tags */ Tags []string /*Type type */ Type *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLikedContentParams contains all the parameters to send to the API endpoint for the get liked content operation typically these are written to a http.Request
func NewGetLikedContentParams ¶
func NewGetLikedContentParams() *GetLikedContentParams
NewGetLikedContentParams creates a new GetLikedContentParams object with the default values initialized.
func NewGetLikedContentParamsWithContext ¶
func NewGetLikedContentParamsWithContext(ctx context.Context) *GetLikedContentParams
NewGetLikedContentParamsWithContext creates a new GetLikedContentParams object with the default values initialized, and the ability to set a context for a request
func NewGetLikedContentParamsWithHTTPClient ¶
func NewGetLikedContentParamsWithHTTPClient(client *http.Client) *GetLikedContentParams
NewGetLikedContentParamsWithHTTPClient creates a new GetLikedContentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetLikedContentParamsWithTimeout ¶
func NewGetLikedContentParamsWithTimeout(timeout time.Duration) *GetLikedContentParams
NewGetLikedContentParamsWithTimeout creates a new GetLikedContentParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetLikedContentParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetLikedContentParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get liked content params
func (*GetLikedContentParams) SetContext ¶
func (o *GetLikedContentParams) SetContext(ctx context.Context)
SetContext adds the context to the get liked content params
func (*GetLikedContentParams) SetHTTPClient ¶
func (o *GetLikedContentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get liked content params
func (*GetLikedContentParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetLikedContentParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get liked content params
func (*GetLikedContentParams) SetIsofficial ¶ added in v0.23.0
func (o *GetLikedContentParams) SetIsofficial(isofficial *bool)
SetIsofficial adds the isofficial to the get liked content params
func (*GetLikedContentParams) SetLimit ¶
func (o *GetLikedContentParams) SetLimit(limit *int64)
SetLimit adds the limit to the get liked content params
func (*GetLikedContentParams) SetName ¶ added in v0.23.0
func (o *GetLikedContentParams) SetName(name *string)
SetName adds the name to the get liked content params
func (*GetLikedContentParams) SetNamespace ¶
func (o *GetLikedContentParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get liked content params
func (*GetLikedContentParams) SetOffset ¶
func (o *GetLikedContentParams) SetOffset(offset *int64)
SetOffset adds the offset to the get liked content params
func (*GetLikedContentParams) SetOrderby ¶ added in v0.23.0
func (o *GetLikedContentParams) SetOrderby(orderby *string)
SetOrderby adds the orderby to the get liked content params
func (*GetLikedContentParams) SetSortby ¶ added in v0.23.0
func (o *GetLikedContentParams) SetSortby(sortby *string)
SetSortby adds the sortby to the get liked content params
func (*GetLikedContentParams) SetSubtype ¶ added in v0.23.0
func (o *GetLikedContentParams) SetSubtype(subtype *string)
SetSubtype adds the subtype to the get liked content params
func (*GetLikedContentParams) SetTags ¶ added in v0.23.0
func (o *GetLikedContentParams) SetTags(tags []string)
SetTags adds the tags to the get liked content params
func (*GetLikedContentParams) SetTimeout ¶
func (o *GetLikedContentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get liked content params
func (*GetLikedContentParams) SetType ¶ added in v0.23.0
func (o *GetLikedContentParams) SetType(typeVar *string)
SetType adds the type to the get liked content params
func (*GetLikedContentParams) WithContext ¶
func (o *GetLikedContentParams) WithContext(ctx context.Context) *GetLikedContentParams
WithContext adds the context to the get liked content params
func (*GetLikedContentParams) WithHTTPClient ¶
func (o *GetLikedContentParams) WithHTTPClient(client *http.Client) *GetLikedContentParams
WithHTTPClient adds the HTTPClient to the get liked content params
func (*GetLikedContentParams) WithIsofficial ¶ added in v0.23.0
func (o *GetLikedContentParams) WithIsofficial(isofficial *bool) *GetLikedContentParams
WithIsofficial adds the isofficial to the get liked content params
func (*GetLikedContentParams) WithLimit ¶
func (o *GetLikedContentParams) WithLimit(limit *int64) *GetLikedContentParams
WithLimit adds the limit to the get liked content params
func (*GetLikedContentParams) WithName ¶ added in v0.23.0
func (o *GetLikedContentParams) WithName(name *string) *GetLikedContentParams
WithName adds the name to the get liked content params
func (*GetLikedContentParams) WithNamespace ¶
func (o *GetLikedContentParams) WithNamespace(namespace string) *GetLikedContentParams
WithNamespace adds the namespace to the get liked content params
func (*GetLikedContentParams) WithOffset ¶
func (o *GetLikedContentParams) WithOffset(offset *int64) *GetLikedContentParams
WithOffset adds the offset to the get liked content params
func (*GetLikedContentParams) WithOrderby ¶ added in v0.23.0
func (o *GetLikedContentParams) WithOrderby(orderby *string) *GetLikedContentParams
WithOrderby adds the orderby to the get liked content params
func (*GetLikedContentParams) WithSortby ¶ added in v0.23.0
func (o *GetLikedContentParams) WithSortby(sortby *string) *GetLikedContentParams
WithSortby adds the sortby to the get liked content params
func (*GetLikedContentParams) WithSubtype ¶ added in v0.23.0
func (o *GetLikedContentParams) WithSubtype(subtype *string) *GetLikedContentParams
WithSubtype adds the subtype to the get liked content params
func (*GetLikedContentParams) WithTags ¶ added in v0.23.0
func (o *GetLikedContentParams) WithTags(tags []string) *GetLikedContentParams
WithTags adds the tags to the get liked content params
func (*GetLikedContentParams) WithTimeout ¶
func (o *GetLikedContentParams) WithTimeout(timeout time.Duration) *GetLikedContentParams
WithTimeout adds the timeout to the get liked content params
func (*GetLikedContentParams) WithType ¶ added in v0.23.0
func (o *GetLikedContentParams) WithType(typeVar *string) *GetLikedContentParams
WithType adds the typeVar to the get liked content params
func (*GetLikedContentParams) WriteToRequest ¶
func (o *GetLikedContentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLikedContentReader ¶
type GetLikedContentReader struct {
// contains filtered or unexported fields
}
GetLikedContentReader is a Reader for the GetLikedContent structure.
func (*GetLikedContentReader) ReadResponse ¶
func (o *GetLikedContentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLikedContentUnauthorized ¶
type GetLikedContentUnauthorized struct {
}GetLikedContentUnauthorized handles this case with default header values.
Unauthorized
func NewGetLikedContentUnauthorized ¶
func NewGetLikedContentUnauthorized() *GetLikedContentUnauthorized
NewGetLikedContentUnauthorized creates a GetLikedContentUnauthorized with default headers values
func (*GetLikedContentUnauthorized) Error ¶
func (o *GetLikedContentUnauthorized) Error() string
func (*GetLikedContentUnauthorized) GetPayload ¶
func (o *GetLikedContentUnauthorized) GetPayload() *ugcclientmodels.ResponseError
type UpdateContentLikeStatusBadRequest ¶
type UpdateContentLikeStatusBadRequest struct {
Payload *ugcclientmodels.ResponseError
}
UpdateContentLikeStatusBadRequest handles this case with default header values.
Bad Request
func NewUpdateContentLikeStatusBadRequest ¶
func NewUpdateContentLikeStatusBadRequest() *UpdateContentLikeStatusBadRequest
NewUpdateContentLikeStatusBadRequest creates a UpdateContentLikeStatusBadRequest with default headers values
func (*UpdateContentLikeStatusBadRequest) Error ¶
func (o *UpdateContentLikeStatusBadRequest) Error() string
func (*UpdateContentLikeStatusBadRequest) GetPayload ¶
func (o *UpdateContentLikeStatusBadRequest) GetPayload() *ugcclientmodels.ResponseError
type UpdateContentLikeStatusInternalServerError ¶
type UpdateContentLikeStatusInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
UpdateContentLikeStatusInternalServerError handles this case with default header values.
Internal Server Error
func NewUpdateContentLikeStatusInternalServerError ¶
func NewUpdateContentLikeStatusInternalServerError() *UpdateContentLikeStatusInternalServerError
NewUpdateContentLikeStatusInternalServerError creates a UpdateContentLikeStatusInternalServerError with default headers values
func (*UpdateContentLikeStatusInternalServerError) Error ¶
func (o *UpdateContentLikeStatusInternalServerError) Error() string
func (*UpdateContentLikeStatusInternalServerError) GetPayload ¶
func (o *UpdateContentLikeStatusInternalServerError) GetPayload() *ugcclientmodels.ResponseError
type UpdateContentLikeStatusOK ¶
type UpdateContentLikeStatusOK struct {
Payload *ugcclientmodels.ModelsContentLikeResponse
}
UpdateContentLikeStatusOK handles this case with default header values.
OK
func NewUpdateContentLikeStatusOK ¶
func NewUpdateContentLikeStatusOK() *UpdateContentLikeStatusOK
NewUpdateContentLikeStatusOK creates a UpdateContentLikeStatusOK with default headers values
func (*UpdateContentLikeStatusOK) Error ¶
func (o *UpdateContentLikeStatusOK) Error() string
func (*UpdateContentLikeStatusOK) GetPayload ¶
func (o *UpdateContentLikeStatusOK) GetPayload() *ugcclientmodels.ModelsContentLikeResponse
type UpdateContentLikeStatusParams ¶
type UpdateContentLikeStatusParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *ugcclientmodels.ModelsContentLikeRequest /*ContentID content ID */ ContentID string /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateContentLikeStatusParams contains all the parameters to send to the API endpoint for the update content like status operation typically these are written to a http.Request
func NewUpdateContentLikeStatusParams ¶
func NewUpdateContentLikeStatusParams() *UpdateContentLikeStatusParams
NewUpdateContentLikeStatusParams creates a new UpdateContentLikeStatusParams object with the default values initialized.
func NewUpdateContentLikeStatusParamsWithContext ¶
func NewUpdateContentLikeStatusParamsWithContext(ctx context.Context) *UpdateContentLikeStatusParams
NewUpdateContentLikeStatusParamsWithContext creates a new UpdateContentLikeStatusParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateContentLikeStatusParamsWithHTTPClient ¶
func NewUpdateContentLikeStatusParamsWithHTTPClient(client *http.Client) *UpdateContentLikeStatusParams
NewUpdateContentLikeStatusParamsWithHTTPClient creates a new UpdateContentLikeStatusParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateContentLikeStatusParamsWithTimeout ¶
func NewUpdateContentLikeStatusParamsWithTimeout(timeout time.Duration) *UpdateContentLikeStatusParams
NewUpdateContentLikeStatusParamsWithTimeout creates a new UpdateContentLikeStatusParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateContentLikeStatusParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *UpdateContentLikeStatusParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update content like status params
func (*UpdateContentLikeStatusParams) SetBody ¶
func (o *UpdateContentLikeStatusParams) SetBody(body *ugcclientmodels.ModelsContentLikeRequest)
SetBody adds the body to the update content like status params
func (*UpdateContentLikeStatusParams) SetContentID ¶
func (o *UpdateContentLikeStatusParams) SetContentID(contentID string)
SetContentID adds the contentId to the update content like status params
func (*UpdateContentLikeStatusParams) SetContext ¶
func (o *UpdateContentLikeStatusParams) SetContext(ctx context.Context)
SetContext adds the context to the update content like status params
func (*UpdateContentLikeStatusParams) SetHTTPClient ¶
func (o *UpdateContentLikeStatusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update content like status params
func (*UpdateContentLikeStatusParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *UpdateContentLikeStatusParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update content like status params
func (*UpdateContentLikeStatusParams) SetNamespace ¶
func (o *UpdateContentLikeStatusParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the update content like status params
func (*UpdateContentLikeStatusParams) SetTimeout ¶
func (o *UpdateContentLikeStatusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update content like status params
func (*UpdateContentLikeStatusParams) WithBody ¶
func (o *UpdateContentLikeStatusParams) WithBody(body *ugcclientmodels.ModelsContentLikeRequest) *UpdateContentLikeStatusParams
WithBody adds the body to the update content like status params
func (*UpdateContentLikeStatusParams) WithContentID ¶
func (o *UpdateContentLikeStatusParams) WithContentID(contentID string) *UpdateContentLikeStatusParams
WithContentID adds the contentID to the update content like status params
func (*UpdateContentLikeStatusParams) WithContext ¶
func (o *UpdateContentLikeStatusParams) WithContext(ctx context.Context) *UpdateContentLikeStatusParams
WithContext adds the context to the update content like status params
func (*UpdateContentLikeStatusParams) WithHTTPClient ¶
func (o *UpdateContentLikeStatusParams) WithHTTPClient(client *http.Client) *UpdateContentLikeStatusParams
WithHTTPClient adds the HTTPClient to the update content like status params
func (*UpdateContentLikeStatusParams) WithNamespace ¶
func (o *UpdateContentLikeStatusParams) WithNamespace(namespace string) *UpdateContentLikeStatusParams
WithNamespace adds the namespace to the update content like status params
func (*UpdateContentLikeStatusParams) WithTimeout ¶
func (o *UpdateContentLikeStatusParams) WithTimeout(timeout time.Duration) *UpdateContentLikeStatusParams
WithTimeout adds the timeout to the update content like status params
func (*UpdateContentLikeStatusParams) WriteToRequest ¶
func (o *UpdateContentLikeStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateContentLikeStatusReader ¶
type UpdateContentLikeStatusReader struct {
// contains filtered or unexported fields
}
UpdateContentLikeStatusReader is a Reader for the UpdateContentLikeStatus structure.
func (*UpdateContentLikeStatusReader) ReadResponse ¶
func (o *UpdateContentLikeStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateContentLikeStatusUnauthorized ¶
type UpdateContentLikeStatusUnauthorized struct {
}UpdateContentLikeStatusUnauthorized handles this case with default header values.
Unauthorized
func NewUpdateContentLikeStatusUnauthorized ¶
func NewUpdateContentLikeStatusUnauthorized() *UpdateContentLikeStatusUnauthorized
NewUpdateContentLikeStatusUnauthorized creates a UpdateContentLikeStatusUnauthorized with default headers values
func (*UpdateContentLikeStatusUnauthorized) Error ¶
func (o *UpdateContentLikeStatusUnauthorized) Error() string
func (*UpdateContentLikeStatusUnauthorized) GetPayload ¶
func (o *UpdateContentLikeStatusUnauthorized) GetPayload() *ugcclientmodels.ResponseError