Documentation ¶
Index ¶
- type Client
- func (a *Client) PublicListContentLikeV2(params *PublicListContentLikeV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicListContentLikeV2OK, *PublicListContentLikeV2BadRequest, ...)deprecated
- func (a *Client) PublicListContentLikeV2Short(params *PublicListContentLikeV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicListContentLikeV2OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateContentLikeStatusV2(params *UpdateContentLikeStatusV2Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentLikeStatusV2OK, *UpdateContentLikeStatusV2BadRequest, ...)deprecated
- func (a *Client) UpdateContentLikeStatusV2Short(params *UpdateContentLikeStatusV2Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentLikeStatusV2OK, error)
- type ClientService
- type PublicListContentLikeV2BadRequest
- type PublicListContentLikeV2InternalServerError
- type PublicListContentLikeV2OK
- type PublicListContentLikeV2Params
- func NewPublicListContentLikeV2Params() *PublicListContentLikeV2Params
- func NewPublicListContentLikeV2ParamsWithContext(ctx context.Context) *PublicListContentLikeV2Params
- func NewPublicListContentLikeV2ParamsWithHTTPClient(client *http.Client) *PublicListContentLikeV2Params
- func NewPublicListContentLikeV2ParamsWithTimeout(timeout time.Duration) *PublicListContentLikeV2Params
- func (o *PublicListContentLikeV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicListContentLikeV2Params) SetContentID(contentID string)
- func (o *PublicListContentLikeV2Params) SetContext(ctx context.Context)
- func (o *PublicListContentLikeV2Params) SetHTTPClient(client *http.Client)
- func (o *PublicListContentLikeV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicListContentLikeV2Params) SetLimit(limit *int64)
- func (o *PublicListContentLikeV2Params) SetNamespace(namespace string)
- func (o *PublicListContentLikeV2Params) SetOffset(offset *int64)
- func (o *PublicListContentLikeV2Params) SetSortBy(sortBy *string)
- func (o *PublicListContentLikeV2Params) SetTimeout(timeout time.Duration)
- func (o *PublicListContentLikeV2Params) WithContentID(contentID string) *PublicListContentLikeV2Params
- func (o *PublicListContentLikeV2Params) WithContext(ctx context.Context) *PublicListContentLikeV2Params
- func (o *PublicListContentLikeV2Params) WithHTTPClient(client *http.Client) *PublicListContentLikeV2Params
- func (o *PublicListContentLikeV2Params) WithLimit(limit *int64) *PublicListContentLikeV2Params
- func (o *PublicListContentLikeV2Params) WithNamespace(namespace string) *PublicListContentLikeV2Params
- func (o *PublicListContentLikeV2Params) WithOffset(offset *int64) *PublicListContentLikeV2Params
- func (o *PublicListContentLikeV2Params) WithSortBy(sortBy *string) *PublicListContentLikeV2Params
- func (o *PublicListContentLikeV2Params) WithTimeout(timeout time.Duration) *PublicListContentLikeV2Params
- func (o *PublicListContentLikeV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicListContentLikeV2Reader
- type PublicListContentLikeV2Unauthorized
- type UpdateContentLikeStatusV2BadRequest
- type UpdateContentLikeStatusV2InternalServerError
- type UpdateContentLikeStatusV2OK
- type UpdateContentLikeStatusV2Params
- func NewUpdateContentLikeStatusV2Params() *UpdateContentLikeStatusV2Params
- func NewUpdateContentLikeStatusV2ParamsWithContext(ctx context.Context) *UpdateContentLikeStatusV2Params
- func NewUpdateContentLikeStatusV2ParamsWithHTTPClient(client *http.Client) *UpdateContentLikeStatusV2Params
- func NewUpdateContentLikeStatusV2ParamsWithTimeout(timeout time.Duration) *UpdateContentLikeStatusV2Params
- func (o *UpdateContentLikeStatusV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateContentLikeStatusV2Params) SetBody(body *ugcclientmodels.ModelsContentLikeRequest)
- func (o *UpdateContentLikeStatusV2Params) SetContentID(contentID string)
- func (o *UpdateContentLikeStatusV2Params) SetContext(ctx context.Context)
- func (o *UpdateContentLikeStatusV2Params) SetHTTPClient(client *http.Client)
- func (o *UpdateContentLikeStatusV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateContentLikeStatusV2Params) SetNamespace(namespace string)
- func (o *UpdateContentLikeStatusV2Params) SetTimeout(timeout time.Duration)
- func (o *UpdateContentLikeStatusV2Params) WithBody(body *ugcclientmodels.ModelsContentLikeRequest) *UpdateContentLikeStatusV2Params
- func (o *UpdateContentLikeStatusV2Params) WithContentID(contentID string) *UpdateContentLikeStatusV2Params
- func (o *UpdateContentLikeStatusV2Params) WithContext(ctx context.Context) *UpdateContentLikeStatusV2Params
- func (o *UpdateContentLikeStatusV2Params) WithHTTPClient(client *http.Client) *UpdateContentLikeStatusV2Params
- func (o *UpdateContentLikeStatusV2Params) WithNamespace(namespace string) *UpdateContentLikeStatusV2Params
- func (o *UpdateContentLikeStatusV2Params) WithTimeout(timeout time.Duration) *UpdateContentLikeStatusV2Params
- func (o *UpdateContentLikeStatusV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateContentLikeStatusV2Reader
- type UpdateContentLikeStatusV2Unauthorized
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 v2 API
func (*Client) PublicListContentLikeV2
deprecated
func (a *Client) PublicListContentLikeV2(params *PublicListContentLikeV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicListContentLikeV2OK, *PublicListContentLikeV2BadRequest, *PublicListContentLikeV2Unauthorized, *PublicListContentLikeV2InternalServerError, error)
Deprecated: 2022-08-10 - Use PublicListContentLikeV2Short instead.
PublicListContentLikeV2 retrieve list of user that like specified content. This endpoint will only display the list of users who performed like from v2 endpoint.
func (*Client) PublicListContentLikeV2Short ¶
func (a *Client) PublicListContentLikeV2Short(params *PublicListContentLikeV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicListContentLikeV2OK, error)
PublicListContentLikeV2Short retrieve list of user that like specified content. This endpoint will only display the list of users who performed like from v2 endpoint.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateContentLikeStatusV2
deprecated
func (a *Client) UpdateContentLikeStatusV2(params *UpdateContentLikeStatusV2Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentLikeStatusV2OK, *UpdateContentLikeStatusV2BadRequest, *UpdateContentLikeStatusV2Unauthorized, *UpdateContentLikeStatusV2InternalServerError, error)
Deprecated: 2022-08-10 - Use UpdateContentLikeStatusV2Short instead.
UpdateContentLikeStatusV2 update like/unlike status to a content Requires valid user token
func (*Client) UpdateContentLikeStatusV2Short ¶
func (a *Client) UpdateContentLikeStatusV2Short(params *UpdateContentLikeStatusV2Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentLikeStatusV2OK, error)
UpdateContentLikeStatusV2Short update like/unlike status to a content Requires valid user token
type ClientService ¶
type ClientService interface { PublicListContentLikeV2(params *PublicListContentLikeV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicListContentLikeV2OK, *PublicListContentLikeV2BadRequest, *PublicListContentLikeV2Unauthorized, *PublicListContentLikeV2InternalServerError, error) PublicListContentLikeV2Short(params *PublicListContentLikeV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicListContentLikeV2OK, error) UpdateContentLikeStatusV2(params *UpdateContentLikeStatusV2Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentLikeStatusV2OK, *UpdateContentLikeStatusV2BadRequest, *UpdateContentLikeStatusV2Unauthorized, *UpdateContentLikeStatusV2InternalServerError, error) UpdateContentLikeStatusV2Short(params *UpdateContentLikeStatusV2Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateContentLikeStatusV2OK, 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 v2 API client.
type PublicListContentLikeV2BadRequest ¶
type PublicListContentLikeV2BadRequest struct {
Payload *ugcclientmodels.ResponseError
}
PublicListContentLikeV2BadRequest handles this case with default header values.
Bad Request
func NewPublicListContentLikeV2BadRequest ¶
func NewPublicListContentLikeV2BadRequest() *PublicListContentLikeV2BadRequest
NewPublicListContentLikeV2BadRequest creates a PublicListContentLikeV2BadRequest with default headers values
func (*PublicListContentLikeV2BadRequest) Error ¶
func (o *PublicListContentLikeV2BadRequest) Error() string
func (*PublicListContentLikeV2BadRequest) GetPayload ¶
func (o *PublicListContentLikeV2BadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*PublicListContentLikeV2BadRequest) ToJSONString ¶
func (o *PublicListContentLikeV2BadRequest) ToJSONString() string
type PublicListContentLikeV2InternalServerError ¶
type PublicListContentLikeV2InternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
PublicListContentLikeV2InternalServerError handles this case with default header values.
Internal Server Error
func NewPublicListContentLikeV2InternalServerError ¶
func NewPublicListContentLikeV2InternalServerError() *PublicListContentLikeV2InternalServerError
NewPublicListContentLikeV2InternalServerError creates a PublicListContentLikeV2InternalServerError with default headers values
func (*PublicListContentLikeV2InternalServerError) Error ¶
func (o *PublicListContentLikeV2InternalServerError) Error() string
func (*PublicListContentLikeV2InternalServerError) GetPayload ¶
func (o *PublicListContentLikeV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*PublicListContentLikeV2InternalServerError) ToJSONString ¶
func (o *PublicListContentLikeV2InternalServerError) ToJSONString() string
type PublicListContentLikeV2OK ¶
type PublicListContentLikeV2OK struct {
Payload *ugcclientmodels.ModelsPaginatedContentLikersResponse
}
PublicListContentLikeV2OK handles this case with default header values.
OK
func NewPublicListContentLikeV2OK ¶
func NewPublicListContentLikeV2OK() *PublicListContentLikeV2OK
NewPublicListContentLikeV2OK creates a PublicListContentLikeV2OK with default headers values
func (*PublicListContentLikeV2OK) Error ¶
func (o *PublicListContentLikeV2OK) Error() string
func (*PublicListContentLikeV2OK) GetPayload ¶
func (o *PublicListContentLikeV2OK) GetPayload() *ugcclientmodels.ModelsPaginatedContentLikersResponse
func (*PublicListContentLikeV2OK) ToJSONString ¶
func (o *PublicListContentLikeV2OK) ToJSONString() string
type PublicListContentLikeV2Params ¶
type PublicListContentLikeV2Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ContentID content ID */ ContentID string /*Namespace namespace of the game */ Namespace string /*Limit maximum result of data */ Limit *int64 /*Offset offset */ Offset *int64 /*SortBy default value: createdTime:desc. available value: <ul> <li>createdTime, createdTime:desc, createdTime:asc</li> </ul> */ SortBy *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicListContentLikeV2Params contains all the parameters to send to the API endpoint for the public list content like v2 operation typically these are written to a http.Request
func NewPublicListContentLikeV2Params ¶
func NewPublicListContentLikeV2Params() *PublicListContentLikeV2Params
NewPublicListContentLikeV2Params creates a new PublicListContentLikeV2Params object with the default values initialized.
func NewPublicListContentLikeV2ParamsWithContext ¶
func NewPublicListContentLikeV2ParamsWithContext(ctx context.Context) *PublicListContentLikeV2Params
NewPublicListContentLikeV2ParamsWithContext creates a new PublicListContentLikeV2Params object with the default values initialized, and the ability to set a context for a request
func NewPublicListContentLikeV2ParamsWithHTTPClient ¶
func NewPublicListContentLikeV2ParamsWithHTTPClient(client *http.Client) *PublicListContentLikeV2Params
NewPublicListContentLikeV2ParamsWithHTTPClient creates a new PublicListContentLikeV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicListContentLikeV2ParamsWithTimeout ¶
func NewPublicListContentLikeV2ParamsWithTimeout(timeout time.Duration) *PublicListContentLikeV2Params
NewPublicListContentLikeV2ParamsWithTimeout creates a new PublicListContentLikeV2Params object with the default values initialized, and the ability to set a timeout on a request
func (*PublicListContentLikeV2Params) SetAuthInfoWriter ¶
func (o *PublicListContentLikeV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public list content like v2 params
func (*PublicListContentLikeV2Params) SetContentID ¶
func (o *PublicListContentLikeV2Params) SetContentID(contentID string)
SetContentID adds the contentId to the public list content like v2 params
func (*PublicListContentLikeV2Params) SetContext ¶
func (o *PublicListContentLikeV2Params) SetContext(ctx context.Context)
SetContext adds the context to the public list content like v2 params
func (*PublicListContentLikeV2Params) SetHTTPClient ¶
func (o *PublicListContentLikeV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public list content like v2 params
func (*PublicListContentLikeV2Params) SetHTTPClientTransport ¶
func (o *PublicListContentLikeV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public list content like v2 params
func (*PublicListContentLikeV2Params) SetLimit ¶
func (o *PublicListContentLikeV2Params) SetLimit(limit *int64)
SetLimit adds the limit to the public list content like v2 params
func (*PublicListContentLikeV2Params) SetNamespace ¶
func (o *PublicListContentLikeV2Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the public list content like v2 params
func (*PublicListContentLikeV2Params) SetOffset ¶
func (o *PublicListContentLikeV2Params) SetOffset(offset *int64)
SetOffset adds the offset to the public list content like v2 params
func (*PublicListContentLikeV2Params) SetSortBy ¶
func (o *PublicListContentLikeV2Params) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the public list content like v2 params
func (*PublicListContentLikeV2Params) SetTimeout ¶
func (o *PublicListContentLikeV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public list content like v2 params
func (*PublicListContentLikeV2Params) WithContentID ¶
func (o *PublicListContentLikeV2Params) WithContentID(contentID string) *PublicListContentLikeV2Params
WithContentID adds the contentID to the public list content like v2 params
func (*PublicListContentLikeV2Params) WithContext ¶
func (o *PublicListContentLikeV2Params) WithContext(ctx context.Context) *PublicListContentLikeV2Params
WithContext adds the context to the public list content like v2 params
func (*PublicListContentLikeV2Params) WithHTTPClient ¶
func (o *PublicListContentLikeV2Params) WithHTTPClient(client *http.Client) *PublicListContentLikeV2Params
WithHTTPClient adds the HTTPClient to the public list content like v2 params
func (*PublicListContentLikeV2Params) WithLimit ¶
func (o *PublicListContentLikeV2Params) WithLimit(limit *int64) *PublicListContentLikeV2Params
WithLimit adds the limit to the public list content like v2 params
func (*PublicListContentLikeV2Params) WithNamespace ¶
func (o *PublicListContentLikeV2Params) WithNamespace(namespace string) *PublicListContentLikeV2Params
WithNamespace adds the namespace to the public list content like v2 params
func (*PublicListContentLikeV2Params) WithOffset ¶
func (o *PublicListContentLikeV2Params) WithOffset(offset *int64) *PublicListContentLikeV2Params
WithOffset adds the offset to the public list content like v2 params
func (*PublicListContentLikeV2Params) WithSortBy ¶
func (o *PublicListContentLikeV2Params) WithSortBy(sortBy *string) *PublicListContentLikeV2Params
WithSortBy adds the sortBy to the public list content like v2 params
func (*PublicListContentLikeV2Params) WithTimeout ¶
func (o *PublicListContentLikeV2Params) WithTimeout(timeout time.Duration) *PublicListContentLikeV2Params
WithTimeout adds the timeout to the public list content like v2 params
func (*PublicListContentLikeV2Params) WriteToRequest ¶
func (o *PublicListContentLikeV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicListContentLikeV2Reader ¶
type PublicListContentLikeV2Reader struct {
// contains filtered or unexported fields
}
PublicListContentLikeV2Reader is a Reader for the PublicListContentLikeV2 structure.
func (*PublicListContentLikeV2Reader) ReadResponse ¶
func (o *PublicListContentLikeV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicListContentLikeV2Unauthorized ¶
type PublicListContentLikeV2Unauthorized struct {
}PublicListContentLikeV2Unauthorized handles this case with default header values.
Unauthorized
func NewPublicListContentLikeV2Unauthorized ¶
func NewPublicListContentLikeV2Unauthorized() *PublicListContentLikeV2Unauthorized
NewPublicListContentLikeV2Unauthorized creates a PublicListContentLikeV2Unauthorized with default headers values
func (*PublicListContentLikeV2Unauthorized) Error ¶
func (o *PublicListContentLikeV2Unauthorized) Error() string
func (*PublicListContentLikeV2Unauthorized) GetPayload ¶
func (o *PublicListContentLikeV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*PublicListContentLikeV2Unauthorized) ToJSONString ¶
func (o *PublicListContentLikeV2Unauthorized) ToJSONString() string
type UpdateContentLikeStatusV2BadRequest ¶
type UpdateContentLikeStatusV2BadRequest struct {
Payload *ugcclientmodels.ResponseError
}
UpdateContentLikeStatusV2BadRequest handles this case with default header values.
Bad Request
func NewUpdateContentLikeStatusV2BadRequest ¶
func NewUpdateContentLikeStatusV2BadRequest() *UpdateContentLikeStatusV2BadRequest
NewUpdateContentLikeStatusV2BadRequest creates a UpdateContentLikeStatusV2BadRequest with default headers values
func (*UpdateContentLikeStatusV2BadRequest) Error ¶
func (o *UpdateContentLikeStatusV2BadRequest) Error() string
func (*UpdateContentLikeStatusV2BadRequest) GetPayload ¶
func (o *UpdateContentLikeStatusV2BadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateContentLikeStatusV2BadRequest) ToJSONString ¶
func (o *UpdateContentLikeStatusV2BadRequest) ToJSONString() string
type UpdateContentLikeStatusV2InternalServerError ¶
type UpdateContentLikeStatusV2InternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
UpdateContentLikeStatusV2InternalServerError handles this case with default header values.
Internal Server Error
func NewUpdateContentLikeStatusV2InternalServerError ¶
func NewUpdateContentLikeStatusV2InternalServerError() *UpdateContentLikeStatusV2InternalServerError
NewUpdateContentLikeStatusV2InternalServerError creates a UpdateContentLikeStatusV2InternalServerError with default headers values
func (*UpdateContentLikeStatusV2InternalServerError) Error ¶
func (o *UpdateContentLikeStatusV2InternalServerError) Error() string
func (*UpdateContentLikeStatusV2InternalServerError) GetPayload ¶
func (o *UpdateContentLikeStatusV2InternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateContentLikeStatusV2InternalServerError) ToJSONString ¶
func (o *UpdateContentLikeStatusV2InternalServerError) ToJSONString() string
type UpdateContentLikeStatusV2OK ¶
type UpdateContentLikeStatusV2OK struct {
Payload *ugcclientmodels.ModelsContentLikeResponse
}
UpdateContentLikeStatusV2OK handles this case with default header values.
OK
func NewUpdateContentLikeStatusV2OK ¶
func NewUpdateContentLikeStatusV2OK() *UpdateContentLikeStatusV2OK
NewUpdateContentLikeStatusV2OK creates a UpdateContentLikeStatusV2OK with default headers values
func (*UpdateContentLikeStatusV2OK) Error ¶
func (o *UpdateContentLikeStatusV2OK) Error() string
func (*UpdateContentLikeStatusV2OK) GetPayload ¶
func (o *UpdateContentLikeStatusV2OK) GetPayload() *ugcclientmodels.ModelsContentLikeResponse
func (*UpdateContentLikeStatusV2OK) ToJSONString ¶
func (o *UpdateContentLikeStatusV2OK) ToJSONString() string
type UpdateContentLikeStatusV2Params ¶
type UpdateContentLikeStatusV2Params 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 }
UpdateContentLikeStatusV2Params contains all the parameters to send to the API endpoint for the update content like status v2 operation typically these are written to a http.Request
func NewUpdateContentLikeStatusV2Params ¶
func NewUpdateContentLikeStatusV2Params() *UpdateContentLikeStatusV2Params
NewUpdateContentLikeStatusV2Params creates a new UpdateContentLikeStatusV2Params object with the default values initialized.
func NewUpdateContentLikeStatusV2ParamsWithContext ¶
func NewUpdateContentLikeStatusV2ParamsWithContext(ctx context.Context) *UpdateContentLikeStatusV2Params
NewUpdateContentLikeStatusV2ParamsWithContext creates a new UpdateContentLikeStatusV2Params object with the default values initialized, and the ability to set a context for a request
func NewUpdateContentLikeStatusV2ParamsWithHTTPClient ¶
func NewUpdateContentLikeStatusV2ParamsWithHTTPClient(client *http.Client) *UpdateContentLikeStatusV2Params
NewUpdateContentLikeStatusV2ParamsWithHTTPClient creates a new UpdateContentLikeStatusV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateContentLikeStatusV2ParamsWithTimeout ¶
func NewUpdateContentLikeStatusV2ParamsWithTimeout(timeout time.Duration) *UpdateContentLikeStatusV2Params
NewUpdateContentLikeStatusV2ParamsWithTimeout creates a new UpdateContentLikeStatusV2Params object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateContentLikeStatusV2Params) SetAuthInfoWriter ¶
func (o *UpdateContentLikeStatusV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update content like status v2 params
func (*UpdateContentLikeStatusV2Params) SetBody ¶
func (o *UpdateContentLikeStatusV2Params) SetBody(body *ugcclientmodels.ModelsContentLikeRequest)
SetBody adds the body to the update content like status v2 params
func (*UpdateContentLikeStatusV2Params) SetContentID ¶
func (o *UpdateContentLikeStatusV2Params) SetContentID(contentID string)
SetContentID adds the contentId to the update content like status v2 params
func (*UpdateContentLikeStatusV2Params) SetContext ¶
func (o *UpdateContentLikeStatusV2Params) SetContext(ctx context.Context)
SetContext adds the context to the update content like status v2 params
func (*UpdateContentLikeStatusV2Params) SetHTTPClient ¶
func (o *UpdateContentLikeStatusV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update content like status v2 params
func (*UpdateContentLikeStatusV2Params) SetHTTPClientTransport ¶
func (o *UpdateContentLikeStatusV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update content like status v2 params
func (*UpdateContentLikeStatusV2Params) SetNamespace ¶
func (o *UpdateContentLikeStatusV2Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the update content like status v2 params
func (*UpdateContentLikeStatusV2Params) SetTimeout ¶
func (o *UpdateContentLikeStatusV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update content like status v2 params
func (*UpdateContentLikeStatusV2Params) WithBody ¶
func (o *UpdateContentLikeStatusV2Params) WithBody(body *ugcclientmodels.ModelsContentLikeRequest) *UpdateContentLikeStatusV2Params
WithBody adds the body to the update content like status v2 params
func (*UpdateContentLikeStatusV2Params) WithContentID ¶
func (o *UpdateContentLikeStatusV2Params) WithContentID(contentID string) *UpdateContentLikeStatusV2Params
WithContentID adds the contentID to the update content like status v2 params
func (*UpdateContentLikeStatusV2Params) WithContext ¶
func (o *UpdateContentLikeStatusV2Params) WithContext(ctx context.Context) *UpdateContentLikeStatusV2Params
WithContext adds the context to the update content like status v2 params
func (*UpdateContentLikeStatusV2Params) WithHTTPClient ¶
func (o *UpdateContentLikeStatusV2Params) WithHTTPClient(client *http.Client) *UpdateContentLikeStatusV2Params
WithHTTPClient adds the HTTPClient to the update content like status v2 params
func (*UpdateContentLikeStatusV2Params) WithNamespace ¶
func (o *UpdateContentLikeStatusV2Params) WithNamespace(namespace string) *UpdateContentLikeStatusV2Params
WithNamespace adds the namespace to the update content like status v2 params
func (*UpdateContentLikeStatusV2Params) WithTimeout ¶
func (o *UpdateContentLikeStatusV2Params) WithTimeout(timeout time.Duration) *UpdateContentLikeStatusV2Params
WithTimeout adds the timeout to the update content like status v2 params
func (*UpdateContentLikeStatusV2Params) WriteToRequest ¶
func (o *UpdateContentLikeStatusV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateContentLikeStatusV2Reader ¶
type UpdateContentLikeStatusV2Reader struct {
// contains filtered or unexported fields
}
UpdateContentLikeStatusV2Reader is a Reader for the UpdateContentLikeStatusV2 structure.
func (*UpdateContentLikeStatusV2Reader) ReadResponse ¶
func (o *UpdateContentLikeStatusV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateContentLikeStatusV2Unauthorized ¶
type UpdateContentLikeStatusV2Unauthorized struct {
}UpdateContentLikeStatusV2Unauthorized handles this case with default header values.
Unauthorized
func NewUpdateContentLikeStatusV2Unauthorized ¶
func NewUpdateContentLikeStatusV2Unauthorized() *UpdateContentLikeStatusV2Unauthorized
NewUpdateContentLikeStatusV2Unauthorized creates a UpdateContentLikeStatusV2Unauthorized with default headers values
func (*UpdateContentLikeStatusV2Unauthorized) Error ¶
func (o *UpdateContentLikeStatusV2Unauthorized) Error() string
func (*UpdateContentLikeStatusV2Unauthorized) GetPayload ¶
func (o *UpdateContentLikeStatusV2Unauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateContentLikeStatusV2Unauthorized) ToJSONString ¶
func (o *UpdateContentLikeStatusV2Unauthorized) ToJSONString() string