Documentation
¶
Index ¶
- type Client
- func (a *Client) GetFollowedContent(params *GetFollowedContentParams, authInfo runtime.ClientAuthInfoWriter) (*GetFollowedContentOK, *GetFollowedContentUnauthorized, ...)
- func (a *Client) GetFollowedContentShort(params *GetFollowedContentParams, authInfo runtime.ClientAuthInfoWriter) (*GetFollowedContentOK, error)
- func (a *Client) GetFollowedUsers(params *GetFollowedUsersParams, authInfo runtime.ClientAuthInfoWriter) (*GetFollowedUsersOK, *GetFollowedUsersUnauthorized, *GetFollowedUsersNotFound, ...)
- func (a *Client) GetFollowedUsersShort(params *GetFollowedUsersParams, authInfo runtime.ClientAuthInfoWriter) (*GetFollowedUsersOK, error)
- func (a *Client) GetPublicFollowers(params *GetPublicFollowersParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublicFollowersOK, *GetPublicFollowersUnauthorized, ...)
- func (a *Client) GetPublicFollowersShort(params *GetPublicFollowersParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublicFollowersOK, error)
- func (a *Client) GetPublicFollowing(params *GetPublicFollowingParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublicFollowingOK, *GetPublicFollowingUnauthorized, ...)
- func (a *Client) GetPublicFollowingShort(params *GetPublicFollowingParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublicFollowingOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateUserFollowStatus(params *UpdateUserFollowStatusParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserFollowStatusOK, *UpdateUserFollowStatusBadRequest, ...)
- func (a *Client) UpdateUserFollowStatusShort(params *UpdateUserFollowStatusParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserFollowStatusOK, error)
- type ClientService
- type GetFollowedContentInternalServerError
- type GetFollowedContentNotFound
- type GetFollowedContentOK
- type GetFollowedContentParams
- func NewGetFollowedContentParams() *GetFollowedContentParams
- func NewGetFollowedContentParamsWithContext(ctx context.Context) *GetFollowedContentParams
- func NewGetFollowedContentParamsWithHTTPClient(client *http.Client) *GetFollowedContentParams
- func NewGetFollowedContentParamsWithTimeout(timeout time.Duration) *GetFollowedContentParams
- func (o *GetFollowedContentParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetFollowedContentParams) SetContext(ctx context.Context)
- func (o *GetFollowedContentParams) SetHTTPClient(client *http.Client)
- func (o *GetFollowedContentParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetFollowedContentParams) SetLimit(limit *int64)
- func (o *GetFollowedContentParams) SetNamespace(namespace string)
- func (o *GetFollowedContentParams) SetOffset(offset *int64)
- func (o *GetFollowedContentParams) SetTimeout(timeout time.Duration)
- func (o *GetFollowedContentParams) WithContext(ctx context.Context) *GetFollowedContentParams
- func (o *GetFollowedContentParams) WithHTTPClient(client *http.Client) *GetFollowedContentParams
- func (o *GetFollowedContentParams) WithLimit(limit *int64) *GetFollowedContentParams
- func (o *GetFollowedContentParams) WithNamespace(namespace string) *GetFollowedContentParams
- func (o *GetFollowedContentParams) WithOffset(offset *int64) *GetFollowedContentParams
- func (o *GetFollowedContentParams) WithTimeout(timeout time.Duration) *GetFollowedContentParams
- func (o *GetFollowedContentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFollowedContentReader
- type GetFollowedContentUnauthorized
- type GetFollowedUsersInternalServerError
- type GetFollowedUsersNotFound
- type GetFollowedUsersOK
- type GetFollowedUsersParams
- func NewGetFollowedUsersParams() *GetFollowedUsersParams
- func NewGetFollowedUsersParamsWithContext(ctx context.Context) *GetFollowedUsersParams
- func NewGetFollowedUsersParamsWithHTTPClient(client *http.Client) *GetFollowedUsersParams
- func NewGetFollowedUsersParamsWithTimeout(timeout time.Duration) *GetFollowedUsersParams
- func (o *GetFollowedUsersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetFollowedUsersParams) SetContext(ctx context.Context)
- func (o *GetFollowedUsersParams) SetHTTPClient(client *http.Client)
- func (o *GetFollowedUsersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetFollowedUsersParams) SetLimit(limit *int64)
- func (o *GetFollowedUsersParams) SetNamespace(namespace string)
- func (o *GetFollowedUsersParams) SetOffset(offset *int64)
- func (o *GetFollowedUsersParams) SetTimeout(timeout time.Duration)
- func (o *GetFollowedUsersParams) WithContext(ctx context.Context) *GetFollowedUsersParams
- func (o *GetFollowedUsersParams) WithHTTPClient(client *http.Client) *GetFollowedUsersParams
- func (o *GetFollowedUsersParams) WithLimit(limit *int64) *GetFollowedUsersParams
- func (o *GetFollowedUsersParams) WithNamespace(namespace string) *GetFollowedUsersParams
- func (o *GetFollowedUsersParams) WithOffset(offset *int64) *GetFollowedUsersParams
- func (o *GetFollowedUsersParams) WithTimeout(timeout time.Duration) *GetFollowedUsersParams
- func (o *GetFollowedUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFollowedUsersReader
- type GetFollowedUsersUnauthorized
- type GetPublicFollowersInternalServerError
- type GetPublicFollowersNotFound
- type GetPublicFollowersOK
- type GetPublicFollowersParams
- func NewGetPublicFollowersParams() *GetPublicFollowersParams
- func NewGetPublicFollowersParamsWithContext(ctx context.Context) *GetPublicFollowersParams
- func NewGetPublicFollowersParamsWithHTTPClient(client *http.Client) *GetPublicFollowersParams
- func NewGetPublicFollowersParamsWithTimeout(timeout time.Duration) *GetPublicFollowersParams
- func (o *GetPublicFollowersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetPublicFollowersParams) SetContext(ctx context.Context)
- func (o *GetPublicFollowersParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicFollowersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetPublicFollowersParams) SetLimit(limit *string)
- func (o *GetPublicFollowersParams) SetNamespace(namespace string)
- func (o *GetPublicFollowersParams) SetOffset(offset *string)
- func (o *GetPublicFollowersParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicFollowersParams) SetUserID(userID string)
- func (o *GetPublicFollowersParams) WithContext(ctx context.Context) *GetPublicFollowersParams
- func (o *GetPublicFollowersParams) WithHTTPClient(client *http.Client) *GetPublicFollowersParams
- func (o *GetPublicFollowersParams) WithLimit(limit *string) *GetPublicFollowersParams
- func (o *GetPublicFollowersParams) WithNamespace(namespace string) *GetPublicFollowersParams
- func (o *GetPublicFollowersParams) WithOffset(offset *string) *GetPublicFollowersParams
- func (o *GetPublicFollowersParams) WithTimeout(timeout time.Duration) *GetPublicFollowersParams
- func (o *GetPublicFollowersParams) WithUserID(userID string) *GetPublicFollowersParams
- func (o *GetPublicFollowersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicFollowersReader
- type GetPublicFollowersUnauthorized
- type GetPublicFollowingInternalServerError
- type GetPublicFollowingNotFound
- type GetPublicFollowingOK
- type GetPublicFollowingParams
- func NewGetPublicFollowingParams() *GetPublicFollowingParams
- func NewGetPublicFollowingParamsWithContext(ctx context.Context) *GetPublicFollowingParams
- func NewGetPublicFollowingParamsWithHTTPClient(client *http.Client) *GetPublicFollowingParams
- func NewGetPublicFollowingParamsWithTimeout(timeout time.Duration) *GetPublicFollowingParams
- func (o *GetPublicFollowingParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetPublicFollowingParams) SetContext(ctx context.Context)
- func (o *GetPublicFollowingParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicFollowingParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetPublicFollowingParams) SetLimit(limit *string)
- func (o *GetPublicFollowingParams) SetNamespace(namespace string)
- func (o *GetPublicFollowingParams) SetOffset(offset *string)
- func (o *GetPublicFollowingParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicFollowingParams) SetUserID(userID string)
- func (o *GetPublicFollowingParams) WithContext(ctx context.Context) *GetPublicFollowingParams
- func (o *GetPublicFollowingParams) WithHTTPClient(client *http.Client) *GetPublicFollowingParams
- func (o *GetPublicFollowingParams) WithLimit(limit *string) *GetPublicFollowingParams
- func (o *GetPublicFollowingParams) WithNamespace(namespace string) *GetPublicFollowingParams
- func (o *GetPublicFollowingParams) WithOffset(offset *string) *GetPublicFollowingParams
- func (o *GetPublicFollowingParams) WithTimeout(timeout time.Duration) *GetPublicFollowingParams
- func (o *GetPublicFollowingParams) WithUserID(userID string) *GetPublicFollowingParams
- func (o *GetPublicFollowingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicFollowingReader
- type GetPublicFollowingUnauthorized
- type UpdateUserFollowStatusBadRequest
- type UpdateUserFollowStatusInternalServerError
- type UpdateUserFollowStatusNotFound
- type UpdateUserFollowStatusOK
- type UpdateUserFollowStatusParams
- func NewUpdateUserFollowStatusParams() *UpdateUserFollowStatusParams
- func NewUpdateUserFollowStatusParamsWithContext(ctx context.Context) *UpdateUserFollowStatusParams
- func NewUpdateUserFollowStatusParamsWithHTTPClient(client *http.Client) *UpdateUserFollowStatusParams
- func NewUpdateUserFollowStatusParamsWithTimeout(timeout time.Duration) *UpdateUserFollowStatusParams
- func (o *UpdateUserFollowStatusParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateUserFollowStatusParams) SetBody(body *ugcclientmodels.ModelsUserFollowRequest)
- func (o *UpdateUserFollowStatusParams) SetContext(ctx context.Context)
- func (o *UpdateUserFollowStatusParams) SetHTTPClient(client *http.Client)
- func (o *UpdateUserFollowStatusParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateUserFollowStatusParams) SetNamespace(namespace string)
- func (o *UpdateUserFollowStatusParams) SetTimeout(timeout time.Duration)
- func (o *UpdateUserFollowStatusParams) SetUserID(userID string)
- func (o *UpdateUserFollowStatusParams) WithBody(body *ugcclientmodels.ModelsUserFollowRequest) *UpdateUserFollowStatusParams
- func (o *UpdateUserFollowStatusParams) WithContext(ctx context.Context) *UpdateUserFollowStatusParams
- func (o *UpdateUserFollowStatusParams) WithHTTPClient(client *http.Client) *UpdateUserFollowStatusParams
- func (o *UpdateUserFollowStatusParams) WithNamespace(namespace string) *UpdateUserFollowStatusParams
- func (o *UpdateUserFollowStatusParams) WithTimeout(timeout time.Duration) *UpdateUserFollowStatusParams
- func (o *UpdateUserFollowStatusParams) WithUserID(userID string) *UpdateUserFollowStatusParams
- func (o *UpdateUserFollowStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateUserFollowStatusReader
- type UpdateUserFollowStatusUnauthorized
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 follow API
func (*Client) GetFollowedContent ¶
func (a *Client) GetFollowedContent(params *GetFollowedContentParams, authInfo runtime.ClientAuthInfoWriter) (*GetFollowedContentOK, *GetFollowedContentUnauthorized, *GetFollowedContentNotFound, *GetFollowedContentInternalServerError, error)
GetFollowedContent gets contents from followed creators
Requires valid user token
func (*Client) GetFollowedContentShort ¶
func (a *Client) GetFollowedContentShort(params *GetFollowedContentParams, authInfo runtime.ClientAuthInfoWriter) (*GetFollowedContentOK, error)
func (*Client) GetFollowedUsers ¶
func (a *Client) GetFollowedUsers(params *GetFollowedUsersParams, authInfo runtime.ClientAuthInfoWriter) (*GetFollowedUsersOK, *GetFollowedUsersUnauthorized, *GetFollowedUsersNotFound, *GetFollowedUsersInternalServerError, error)
GetFollowedUsers gets followed creators
Requires valid user token
func (*Client) GetFollowedUsersShort ¶
func (a *Client) GetFollowedUsersShort(params *GetFollowedUsersParams, authInfo runtime.ClientAuthInfoWriter) (*GetFollowedUsersOK, error)
func (*Client) GetPublicFollowers ¶ added in v0.16.0
func (a *Client) GetPublicFollowers(params *GetPublicFollowersParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublicFollowersOK, *GetPublicFollowersUnauthorized, *GetPublicFollowersNotFound, *GetPublicFollowersInternalServerError, error)
GetPublicFollowers gets list of followers
func (*Client) GetPublicFollowersShort ¶ added in v0.16.0
func (a *Client) GetPublicFollowersShort(params *GetPublicFollowersParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublicFollowersOK, error)
func (*Client) GetPublicFollowing ¶ added in v0.16.0
func (a *Client) GetPublicFollowing(params *GetPublicFollowingParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublicFollowingOK, *GetPublicFollowingUnauthorized, *GetPublicFollowingNotFound, *GetPublicFollowingInternalServerError, error)
GetPublicFollowing gets list of following
func (*Client) GetPublicFollowingShort ¶ added in v0.16.0
func (a *Client) GetPublicFollowingShort(params *GetPublicFollowingParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublicFollowingOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateUserFollowStatus ¶
func (a *Client) UpdateUserFollowStatus(params *UpdateUserFollowStatusParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserFollowStatusOK, *UpdateUserFollowStatusBadRequest, *UpdateUserFollowStatusUnauthorized, *UpdateUserFollowStatusNotFound, *UpdateUserFollowStatusInternalServerError, error)
UpdateUserFollowStatus updates follow unfollow status to a user
Requires valid user token
func (*Client) UpdateUserFollowStatusShort ¶
func (a *Client) UpdateUserFollowStatusShort(params *UpdateUserFollowStatusParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserFollowStatusOK, error)
type ClientService ¶
type ClientService interface { GetFollowedContent(params *GetFollowedContentParams, authInfo runtime.ClientAuthInfoWriter) (*GetFollowedContentOK, *GetFollowedContentUnauthorized, *GetFollowedContentNotFound, *GetFollowedContentInternalServerError, error) GetFollowedContentShort(params *GetFollowedContentParams, authInfo runtime.ClientAuthInfoWriter) (*GetFollowedContentOK, error) GetFollowedUsers(params *GetFollowedUsersParams, authInfo runtime.ClientAuthInfoWriter) (*GetFollowedUsersOK, *GetFollowedUsersUnauthorized, *GetFollowedUsersNotFound, *GetFollowedUsersInternalServerError, error) GetFollowedUsersShort(params *GetFollowedUsersParams, authInfo runtime.ClientAuthInfoWriter) (*GetFollowedUsersOK, error) GetPublicFollowers(params *GetPublicFollowersParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublicFollowersOK, *GetPublicFollowersUnauthorized, *GetPublicFollowersNotFound, *GetPublicFollowersInternalServerError, error) GetPublicFollowersShort(params *GetPublicFollowersParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublicFollowersOK, error) GetPublicFollowing(params *GetPublicFollowingParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublicFollowingOK, *GetPublicFollowingUnauthorized, *GetPublicFollowingNotFound, *GetPublicFollowingInternalServerError, error) GetPublicFollowingShort(params *GetPublicFollowingParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublicFollowingOK, error) UpdateUserFollowStatus(params *UpdateUserFollowStatusParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserFollowStatusOK, *UpdateUserFollowStatusBadRequest, *UpdateUserFollowStatusUnauthorized, *UpdateUserFollowStatusNotFound, *UpdateUserFollowStatusInternalServerError, error) UpdateUserFollowStatusShort(params *UpdateUserFollowStatusParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserFollowStatusOK, 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 follow API client.
type GetFollowedContentInternalServerError ¶
type GetFollowedContentInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
GetFollowedContentInternalServerError handles this case with default header values.
Internal Server Error
func NewGetFollowedContentInternalServerError ¶
func NewGetFollowedContentInternalServerError() *GetFollowedContentInternalServerError
NewGetFollowedContentInternalServerError creates a GetFollowedContentInternalServerError with default headers values
func (*GetFollowedContentInternalServerError) Error ¶
func (o *GetFollowedContentInternalServerError) Error() string
func (*GetFollowedContentInternalServerError) GetPayload ¶
func (o *GetFollowedContentInternalServerError) GetPayload() *ugcclientmodels.ResponseError
type GetFollowedContentNotFound ¶
type GetFollowedContentNotFound struct {
Payload *ugcclientmodels.ResponseError
}
GetFollowedContentNotFound handles this case with default header values.
Not Found
func NewGetFollowedContentNotFound ¶
func NewGetFollowedContentNotFound() *GetFollowedContentNotFound
NewGetFollowedContentNotFound creates a GetFollowedContentNotFound with default headers values
func (*GetFollowedContentNotFound) Error ¶
func (o *GetFollowedContentNotFound) Error() string
func (*GetFollowedContentNotFound) GetPayload ¶
func (o *GetFollowedContentNotFound) GetPayload() *ugcclientmodels.ResponseError
type GetFollowedContentOK ¶
type GetFollowedContentOK struct {
Payload *ugcclientmodels.ModelsPaginatedContentDownloadResponse
}
GetFollowedContentOK handles this case with default header values.
OK
func NewGetFollowedContentOK ¶
func NewGetFollowedContentOK() *GetFollowedContentOK
NewGetFollowedContentOK creates a GetFollowedContentOK with default headers values
func (*GetFollowedContentOK) Error ¶
func (o *GetFollowedContentOK) Error() string
func (*GetFollowedContentOK) GetPayload ¶
func (o *GetFollowedContentOK) GetPayload() *ugcclientmodels.ModelsPaginatedContentDownloadResponse
type GetFollowedContentParams ¶
type GetFollowedContentParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Limit number of content per page */ Limit *int64 /*Namespace namespace of the game */ Namespace string /*Offset the offset number to retrieve */ Offset *int64 AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFollowedContentParams contains all the parameters to send to the API endpoint for the get followed content operation typically these are written to a http.Request
func NewGetFollowedContentParams ¶
func NewGetFollowedContentParams() *GetFollowedContentParams
NewGetFollowedContentParams creates a new GetFollowedContentParams object with the default values initialized.
func NewGetFollowedContentParamsWithContext ¶
func NewGetFollowedContentParamsWithContext(ctx context.Context) *GetFollowedContentParams
NewGetFollowedContentParamsWithContext creates a new GetFollowedContentParams object with the default values initialized, and the ability to set a context for a request
func NewGetFollowedContentParamsWithHTTPClient ¶
func NewGetFollowedContentParamsWithHTTPClient(client *http.Client) *GetFollowedContentParams
NewGetFollowedContentParamsWithHTTPClient creates a new GetFollowedContentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetFollowedContentParamsWithTimeout ¶
func NewGetFollowedContentParamsWithTimeout(timeout time.Duration) *GetFollowedContentParams
NewGetFollowedContentParamsWithTimeout creates a new GetFollowedContentParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetFollowedContentParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetFollowedContentParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get followed content params
func (*GetFollowedContentParams) SetContext ¶
func (o *GetFollowedContentParams) SetContext(ctx context.Context)
SetContext adds the context to the get followed content params
func (*GetFollowedContentParams) SetHTTPClient ¶
func (o *GetFollowedContentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get followed content params
func (*GetFollowedContentParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetFollowedContentParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get followed content params
func (*GetFollowedContentParams) SetLimit ¶
func (o *GetFollowedContentParams) SetLimit(limit *int64)
SetLimit adds the limit to the get followed content params
func (*GetFollowedContentParams) SetNamespace ¶
func (o *GetFollowedContentParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get followed content params
func (*GetFollowedContentParams) SetOffset ¶
func (o *GetFollowedContentParams) SetOffset(offset *int64)
SetOffset adds the offset to the get followed content params
func (*GetFollowedContentParams) SetTimeout ¶
func (o *GetFollowedContentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get followed content params
func (*GetFollowedContentParams) WithContext ¶
func (o *GetFollowedContentParams) WithContext(ctx context.Context) *GetFollowedContentParams
WithContext adds the context to the get followed content params
func (*GetFollowedContentParams) WithHTTPClient ¶
func (o *GetFollowedContentParams) WithHTTPClient(client *http.Client) *GetFollowedContentParams
WithHTTPClient adds the HTTPClient to the get followed content params
func (*GetFollowedContentParams) WithLimit ¶
func (o *GetFollowedContentParams) WithLimit(limit *int64) *GetFollowedContentParams
WithLimit adds the limit to the get followed content params
func (*GetFollowedContentParams) WithNamespace ¶
func (o *GetFollowedContentParams) WithNamespace(namespace string) *GetFollowedContentParams
WithNamespace adds the namespace to the get followed content params
func (*GetFollowedContentParams) WithOffset ¶
func (o *GetFollowedContentParams) WithOffset(offset *int64) *GetFollowedContentParams
WithOffset adds the offset to the get followed content params
func (*GetFollowedContentParams) WithTimeout ¶
func (o *GetFollowedContentParams) WithTimeout(timeout time.Duration) *GetFollowedContentParams
WithTimeout adds the timeout to the get followed content params
func (*GetFollowedContentParams) WriteToRequest ¶
func (o *GetFollowedContentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFollowedContentReader ¶
type GetFollowedContentReader struct {
// contains filtered or unexported fields
}
GetFollowedContentReader is a Reader for the GetFollowedContent structure.
func (*GetFollowedContentReader) ReadResponse ¶
func (o *GetFollowedContentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFollowedContentUnauthorized ¶
type GetFollowedContentUnauthorized struct {
}GetFollowedContentUnauthorized handles this case with default header values.
Unauthorized
func NewGetFollowedContentUnauthorized ¶
func NewGetFollowedContentUnauthorized() *GetFollowedContentUnauthorized
NewGetFollowedContentUnauthorized creates a GetFollowedContentUnauthorized with default headers values
func (*GetFollowedContentUnauthorized) Error ¶
func (o *GetFollowedContentUnauthorized) Error() string
func (*GetFollowedContentUnauthorized) GetPayload ¶
func (o *GetFollowedContentUnauthorized) GetPayload() *ugcclientmodels.ResponseError
type GetFollowedUsersInternalServerError ¶
type GetFollowedUsersInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
GetFollowedUsersInternalServerError handles this case with default header values.
Internal Server Error
func NewGetFollowedUsersInternalServerError ¶
func NewGetFollowedUsersInternalServerError() *GetFollowedUsersInternalServerError
NewGetFollowedUsersInternalServerError creates a GetFollowedUsersInternalServerError with default headers values
func (*GetFollowedUsersInternalServerError) Error ¶
func (o *GetFollowedUsersInternalServerError) Error() string
func (*GetFollowedUsersInternalServerError) GetPayload ¶
func (o *GetFollowedUsersInternalServerError) GetPayload() *ugcclientmodels.ResponseError
type GetFollowedUsersNotFound ¶
type GetFollowedUsersNotFound struct {
Payload *ugcclientmodels.ResponseError
}
GetFollowedUsersNotFound handles this case with default header values.
Not Found
func NewGetFollowedUsersNotFound ¶
func NewGetFollowedUsersNotFound() *GetFollowedUsersNotFound
NewGetFollowedUsersNotFound creates a GetFollowedUsersNotFound with default headers values
func (*GetFollowedUsersNotFound) Error ¶
func (o *GetFollowedUsersNotFound) Error() string
func (*GetFollowedUsersNotFound) GetPayload ¶
func (o *GetFollowedUsersNotFound) GetPayload() *ugcclientmodels.ResponseError
type GetFollowedUsersOK ¶
type GetFollowedUsersOK struct {
Payload *ugcclientmodels.ModelsPaginatedCreatorOverviewResponse
}
GetFollowedUsersOK handles this case with default header values.
OK
func NewGetFollowedUsersOK ¶
func NewGetFollowedUsersOK() *GetFollowedUsersOK
NewGetFollowedUsersOK creates a GetFollowedUsersOK with default headers values
func (*GetFollowedUsersOK) Error ¶
func (o *GetFollowedUsersOK) Error() string
func (*GetFollowedUsersOK) GetPayload ¶
func (o *GetFollowedUsersOK) GetPayload() *ugcclientmodels.ModelsPaginatedCreatorOverviewResponse
type GetFollowedUsersParams ¶
type GetFollowedUsersParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Limit number of user per page */ Limit *int64 /*Namespace namespace of the game */ Namespace string /*Offset the offset number to retrieve */ Offset *int64 AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFollowedUsersParams contains all the parameters to send to the API endpoint for the get followed users operation typically these are written to a http.Request
func NewGetFollowedUsersParams ¶
func NewGetFollowedUsersParams() *GetFollowedUsersParams
NewGetFollowedUsersParams creates a new GetFollowedUsersParams object with the default values initialized.
func NewGetFollowedUsersParamsWithContext ¶
func NewGetFollowedUsersParamsWithContext(ctx context.Context) *GetFollowedUsersParams
NewGetFollowedUsersParamsWithContext creates a new GetFollowedUsersParams object with the default values initialized, and the ability to set a context for a request
func NewGetFollowedUsersParamsWithHTTPClient ¶
func NewGetFollowedUsersParamsWithHTTPClient(client *http.Client) *GetFollowedUsersParams
NewGetFollowedUsersParamsWithHTTPClient creates a new GetFollowedUsersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetFollowedUsersParamsWithTimeout ¶
func NewGetFollowedUsersParamsWithTimeout(timeout time.Duration) *GetFollowedUsersParams
NewGetFollowedUsersParamsWithTimeout creates a new GetFollowedUsersParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetFollowedUsersParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetFollowedUsersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get followed users params
func (*GetFollowedUsersParams) SetContext ¶
func (o *GetFollowedUsersParams) SetContext(ctx context.Context)
SetContext adds the context to the get followed users params
func (*GetFollowedUsersParams) SetHTTPClient ¶
func (o *GetFollowedUsersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get followed users params
func (*GetFollowedUsersParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetFollowedUsersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get followed users params
func (*GetFollowedUsersParams) SetLimit ¶
func (o *GetFollowedUsersParams) SetLimit(limit *int64)
SetLimit adds the limit to the get followed users params
func (*GetFollowedUsersParams) SetNamespace ¶
func (o *GetFollowedUsersParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get followed users params
func (*GetFollowedUsersParams) SetOffset ¶
func (o *GetFollowedUsersParams) SetOffset(offset *int64)
SetOffset adds the offset to the get followed users params
func (*GetFollowedUsersParams) SetTimeout ¶
func (o *GetFollowedUsersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get followed users params
func (*GetFollowedUsersParams) WithContext ¶
func (o *GetFollowedUsersParams) WithContext(ctx context.Context) *GetFollowedUsersParams
WithContext adds the context to the get followed users params
func (*GetFollowedUsersParams) WithHTTPClient ¶
func (o *GetFollowedUsersParams) WithHTTPClient(client *http.Client) *GetFollowedUsersParams
WithHTTPClient adds the HTTPClient to the get followed users params
func (*GetFollowedUsersParams) WithLimit ¶
func (o *GetFollowedUsersParams) WithLimit(limit *int64) *GetFollowedUsersParams
WithLimit adds the limit to the get followed users params
func (*GetFollowedUsersParams) WithNamespace ¶
func (o *GetFollowedUsersParams) WithNamespace(namespace string) *GetFollowedUsersParams
WithNamespace adds the namespace to the get followed users params
func (*GetFollowedUsersParams) WithOffset ¶
func (o *GetFollowedUsersParams) WithOffset(offset *int64) *GetFollowedUsersParams
WithOffset adds the offset to the get followed users params
func (*GetFollowedUsersParams) WithTimeout ¶
func (o *GetFollowedUsersParams) WithTimeout(timeout time.Duration) *GetFollowedUsersParams
WithTimeout adds the timeout to the get followed users params
func (*GetFollowedUsersParams) WriteToRequest ¶
func (o *GetFollowedUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFollowedUsersReader ¶
type GetFollowedUsersReader struct {
// contains filtered or unexported fields
}
GetFollowedUsersReader is a Reader for the GetFollowedUsers structure.
func (*GetFollowedUsersReader) ReadResponse ¶
func (o *GetFollowedUsersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFollowedUsersUnauthorized ¶
type GetFollowedUsersUnauthorized struct {
}GetFollowedUsersUnauthorized handles this case with default header values.
Unauthorized
func NewGetFollowedUsersUnauthorized ¶
func NewGetFollowedUsersUnauthorized() *GetFollowedUsersUnauthorized
NewGetFollowedUsersUnauthorized creates a GetFollowedUsersUnauthorized with default headers values
func (*GetFollowedUsersUnauthorized) Error ¶
func (o *GetFollowedUsersUnauthorized) Error() string
func (*GetFollowedUsersUnauthorized) GetPayload ¶
func (o *GetFollowedUsersUnauthorized) GetPayload() *ugcclientmodels.ResponseError
type GetPublicFollowersInternalServerError ¶ added in v0.16.0
type GetPublicFollowersInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
GetPublicFollowersInternalServerError handles this case with default header values.
Internal Server Error
func NewGetPublicFollowersInternalServerError ¶ added in v0.16.0
func NewGetPublicFollowersInternalServerError() *GetPublicFollowersInternalServerError
NewGetPublicFollowersInternalServerError creates a GetPublicFollowersInternalServerError with default headers values
func (*GetPublicFollowersInternalServerError) Error ¶ added in v0.16.0
func (o *GetPublicFollowersInternalServerError) Error() string
func (*GetPublicFollowersInternalServerError) GetPayload ¶ added in v0.16.0
func (o *GetPublicFollowersInternalServerError) GetPayload() *ugcclientmodels.ResponseError
type GetPublicFollowersNotFound ¶ added in v0.16.0
type GetPublicFollowersNotFound struct {
Payload *ugcclientmodels.ResponseError
}
GetPublicFollowersNotFound handles this case with default header values.
Not Found
func NewGetPublicFollowersNotFound ¶ added in v0.16.0
func NewGetPublicFollowersNotFound() *GetPublicFollowersNotFound
NewGetPublicFollowersNotFound creates a GetPublicFollowersNotFound with default headers values
func (*GetPublicFollowersNotFound) Error ¶ added in v0.16.0
func (o *GetPublicFollowersNotFound) Error() string
func (*GetPublicFollowersNotFound) GetPayload ¶ added in v0.16.0
func (o *GetPublicFollowersNotFound) GetPayload() *ugcclientmodels.ResponseError
type GetPublicFollowersOK ¶ added in v0.16.0
type GetPublicFollowersOK struct {
Payload *ugcclientmodels.ModelsPaginatedCreatorOverviewResponse
}
GetPublicFollowersOK handles this case with default header values.
OK
func NewGetPublicFollowersOK ¶ added in v0.16.0
func NewGetPublicFollowersOK() *GetPublicFollowersOK
NewGetPublicFollowersOK creates a GetPublicFollowersOK with default headers values
func (*GetPublicFollowersOK) Error ¶ added in v0.16.0
func (o *GetPublicFollowersOK) Error() string
func (*GetPublicFollowersOK) GetPayload ¶ added in v0.16.0
func (o *GetPublicFollowersOK) GetPayload() *ugcclientmodels.ModelsPaginatedCreatorOverviewResponse
type GetPublicFollowersParams ¶ added in v0.16.0
type GetPublicFollowersParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Limit number of user per page */ Limit *string /*Namespace namespace of the game */ Namespace string /*Offset the offset number to retrieve */ Offset *string /*UserID user ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPublicFollowersParams contains all the parameters to send to the API endpoint for the get public followers operation typically these are written to a http.Request
func NewGetPublicFollowersParams ¶ added in v0.16.0
func NewGetPublicFollowersParams() *GetPublicFollowersParams
NewGetPublicFollowersParams creates a new GetPublicFollowersParams object with the default values initialized.
func NewGetPublicFollowersParamsWithContext ¶ added in v0.16.0
func NewGetPublicFollowersParamsWithContext(ctx context.Context) *GetPublicFollowersParams
NewGetPublicFollowersParamsWithContext creates a new GetPublicFollowersParams object with the default values initialized, and the ability to set a context for a request
func NewGetPublicFollowersParamsWithHTTPClient ¶ added in v0.16.0
func NewGetPublicFollowersParamsWithHTTPClient(client *http.Client) *GetPublicFollowersParams
NewGetPublicFollowersParamsWithHTTPClient creates a new GetPublicFollowersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPublicFollowersParamsWithTimeout ¶ added in v0.16.0
func NewGetPublicFollowersParamsWithTimeout(timeout time.Duration) *GetPublicFollowersParams
NewGetPublicFollowersParamsWithTimeout creates a new GetPublicFollowersParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPublicFollowersParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetPublicFollowersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get public followers params
func (*GetPublicFollowersParams) SetContext ¶ added in v0.16.0
func (o *GetPublicFollowersParams) SetContext(ctx context.Context)
SetContext adds the context to the get public followers params
func (*GetPublicFollowersParams) SetHTTPClient ¶ added in v0.16.0
func (o *GetPublicFollowersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get public followers params
func (*GetPublicFollowersParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetPublicFollowersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get public followers params
func (*GetPublicFollowersParams) SetLimit ¶ added in v0.16.0
func (o *GetPublicFollowersParams) SetLimit(limit *string)
SetLimit adds the limit to the get public followers params
func (*GetPublicFollowersParams) SetNamespace ¶ added in v0.16.0
func (o *GetPublicFollowersParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get public followers params
func (*GetPublicFollowersParams) SetOffset ¶ added in v0.16.0
func (o *GetPublicFollowersParams) SetOffset(offset *string)
SetOffset adds the offset to the get public followers params
func (*GetPublicFollowersParams) SetTimeout ¶ added in v0.16.0
func (o *GetPublicFollowersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get public followers params
func (*GetPublicFollowersParams) SetUserID ¶ added in v0.16.0
func (o *GetPublicFollowersParams) SetUserID(userID string)
SetUserID adds the userId to the get public followers params
func (*GetPublicFollowersParams) WithContext ¶ added in v0.16.0
func (o *GetPublicFollowersParams) WithContext(ctx context.Context) *GetPublicFollowersParams
WithContext adds the context to the get public followers params
func (*GetPublicFollowersParams) WithHTTPClient ¶ added in v0.16.0
func (o *GetPublicFollowersParams) WithHTTPClient(client *http.Client) *GetPublicFollowersParams
WithHTTPClient adds the HTTPClient to the get public followers params
func (*GetPublicFollowersParams) WithLimit ¶ added in v0.16.0
func (o *GetPublicFollowersParams) WithLimit(limit *string) *GetPublicFollowersParams
WithLimit adds the limit to the get public followers params
func (*GetPublicFollowersParams) WithNamespace ¶ added in v0.16.0
func (o *GetPublicFollowersParams) WithNamespace(namespace string) *GetPublicFollowersParams
WithNamespace adds the namespace to the get public followers params
func (*GetPublicFollowersParams) WithOffset ¶ added in v0.16.0
func (o *GetPublicFollowersParams) WithOffset(offset *string) *GetPublicFollowersParams
WithOffset adds the offset to the get public followers params
func (*GetPublicFollowersParams) WithTimeout ¶ added in v0.16.0
func (o *GetPublicFollowersParams) WithTimeout(timeout time.Duration) *GetPublicFollowersParams
WithTimeout adds the timeout to the get public followers params
func (*GetPublicFollowersParams) WithUserID ¶ added in v0.16.0
func (o *GetPublicFollowersParams) WithUserID(userID string) *GetPublicFollowersParams
WithUserID adds the userID to the get public followers params
func (*GetPublicFollowersParams) WriteToRequest ¶ added in v0.16.0
func (o *GetPublicFollowersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPublicFollowersReader ¶ added in v0.16.0
type GetPublicFollowersReader struct {
// contains filtered or unexported fields
}
GetPublicFollowersReader is a Reader for the GetPublicFollowers structure.
func (*GetPublicFollowersReader) ReadResponse ¶ added in v0.16.0
func (o *GetPublicFollowersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPublicFollowersUnauthorized ¶ added in v0.16.0
type GetPublicFollowersUnauthorized struct {
}GetPublicFollowersUnauthorized handles this case with default header values.
Unauthorized
func NewGetPublicFollowersUnauthorized ¶ added in v0.16.0
func NewGetPublicFollowersUnauthorized() *GetPublicFollowersUnauthorized
NewGetPublicFollowersUnauthorized creates a GetPublicFollowersUnauthorized with default headers values
func (*GetPublicFollowersUnauthorized) Error ¶ added in v0.16.0
func (o *GetPublicFollowersUnauthorized) Error() string
func (*GetPublicFollowersUnauthorized) GetPayload ¶ added in v0.16.0
func (o *GetPublicFollowersUnauthorized) GetPayload() *ugcclientmodels.ResponseError
type GetPublicFollowingInternalServerError ¶ added in v0.16.0
type GetPublicFollowingInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
GetPublicFollowingInternalServerError handles this case with default header values.
Internal Server Error
func NewGetPublicFollowingInternalServerError ¶ added in v0.16.0
func NewGetPublicFollowingInternalServerError() *GetPublicFollowingInternalServerError
NewGetPublicFollowingInternalServerError creates a GetPublicFollowingInternalServerError with default headers values
func (*GetPublicFollowingInternalServerError) Error ¶ added in v0.16.0
func (o *GetPublicFollowingInternalServerError) Error() string
func (*GetPublicFollowingInternalServerError) GetPayload ¶ added in v0.16.0
func (o *GetPublicFollowingInternalServerError) GetPayload() *ugcclientmodels.ResponseError
type GetPublicFollowingNotFound ¶ added in v0.16.0
type GetPublicFollowingNotFound struct {
Payload *ugcclientmodels.ResponseError
}
GetPublicFollowingNotFound handles this case with default header values.
Not Found
func NewGetPublicFollowingNotFound ¶ added in v0.16.0
func NewGetPublicFollowingNotFound() *GetPublicFollowingNotFound
NewGetPublicFollowingNotFound creates a GetPublicFollowingNotFound with default headers values
func (*GetPublicFollowingNotFound) Error ¶ added in v0.16.0
func (o *GetPublicFollowingNotFound) Error() string
func (*GetPublicFollowingNotFound) GetPayload ¶ added in v0.16.0
func (o *GetPublicFollowingNotFound) GetPayload() *ugcclientmodels.ResponseError
type GetPublicFollowingOK ¶ added in v0.16.0
type GetPublicFollowingOK struct {
Payload *ugcclientmodels.ModelsPaginatedCreatorOverviewResponse
}
GetPublicFollowingOK handles this case with default header values.
OK
func NewGetPublicFollowingOK ¶ added in v0.16.0
func NewGetPublicFollowingOK() *GetPublicFollowingOK
NewGetPublicFollowingOK creates a GetPublicFollowingOK with default headers values
func (*GetPublicFollowingOK) Error ¶ added in v0.16.0
func (o *GetPublicFollowingOK) Error() string
func (*GetPublicFollowingOK) GetPayload ¶ added in v0.16.0
func (o *GetPublicFollowingOK) GetPayload() *ugcclientmodels.ModelsPaginatedCreatorOverviewResponse
type GetPublicFollowingParams ¶ added in v0.16.0
type GetPublicFollowingParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Limit number of user per page */ Limit *string /*Namespace namespace of the game */ Namespace string /*Offset the offset number to retrieve */ Offset *string /*UserID user ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPublicFollowingParams contains all the parameters to send to the API endpoint for the get public following operation typically these are written to a http.Request
func NewGetPublicFollowingParams ¶ added in v0.16.0
func NewGetPublicFollowingParams() *GetPublicFollowingParams
NewGetPublicFollowingParams creates a new GetPublicFollowingParams object with the default values initialized.
func NewGetPublicFollowingParamsWithContext ¶ added in v0.16.0
func NewGetPublicFollowingParamsWithContext(ctx context.Context) *GetPublicFollowingParams
NewGetPublicFollowingParamsWithContext creates a new GetPublicFollowingParams object with the default values initialized, and the ability to set a context for a request
func NewGetPublicFollowingParamsWithHTTPClient ¶ added in v0.16.0
func NewGetPublicFollowingParamsWithHTTPClient(client *http.Client) *GetPublicFollowingParams
NewGetPublicFollowingParamsWithHTTPClient creates a new GetPublicFollowingParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPublicFollowingParamsWithTimeout ¶ added in v0.16.0
func NewGetPublicFollowingParamsWithTimeout(timeout time.Duration) *GetPublicFollowingParams
NewGetPublicFollowingParamsWithTimeout creates a new GetPublicFollowingParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPublicFollowingParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetPublicFollowingParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get public following params
func (*GetPublicFollowingParams) SetContext ¶ added in v0.16.0
func (o *GetPublicFollowingParams) SetContext(ctx context.Context)
SetContext adds the context to the get public following params
func (*GetPublicFollowingParams) SetHTTPClient ¶ added in v0.16.0
func (o *GetPublicFollowingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get public following params
func (*GetPublicFollowingParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetPublicFollowingParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get public following params
func (*GetPublicFollowingParams) SetLimit ¶ added in v0.16.0
func (o *GetPublicFollowingParams) SetLimit(limit *string)
SetLimit adds the limit to the get public following params
func (*GetPublicFollowingParams) SetNamespace ¶ added in v0.16.0
func (o *GetPublicFollowingParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get public following params
func (*GetPublicFollowingParams) SetOffset ¶ added in v0.16.0
func (o *GetPublicFollowingParams) SetOffset(offset *string)
SetOffset adds the offset to the get public following params
func (*GetPublicFollowingParams) SetTimeout ¶ added in v0.16.0
func (o *GetPublicFollowingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get public following params
func (*GetPublicFollowingParams) SetUserID ¶ added in v0.16.0
func (o *GetPublicFollowingParams) SetUserID(userID string)
SetUserID adds the userId to the get public following params
func (*GetPublicFollowingParams) WithContext ¶ added in v0.16.0
func (o *GetPublicFollowingParams) WithContext(ctx context.Context) *GetPublicFollowingParams
WithContext adds the context to the get public following params
func (*GetPublicFollowingParams) WithHTTPClient ¶ added in v0.16.0
func (o *GetPublicFollowingParams) WithHTTPClient(client *http.Client) *GetPublicFollowingParams
WithHTTPClient adds the HTTPClient to the get public following params
func (*GetPublicFollowingParams) WithLimit ¶ added in v0.16.0
func (o *GetPublicFollowingParams) WithLimit(limit *string) *GetPublicFollowingParams
WithLimit adds the limit to the get public following params
func (*GetPublicFollowingParams) WithNamespace ¶ added in v0.16.0
func (o *GetPublicFollowingParams) WithNamespace(namespace string) *GetPublicFollowingParams
WithNamespace adds the namespace to the get public following params
func (*GetPublicFollowingParams) WithOffset ¶ added in v0.16.0
func (o *GetPublicFollowingParams) WithOffset(offset *string) *GetPublicFollowingParams
WithOffset adds the offset to the get public following params
func (*GetPublicFollowingParams) WithTimeout ¶ added in v0.16.0
func (o *GetPublicFollowingParams) WithTimeout(timeout time.Duration) *GetPublicFollowingParams
WithTimeout adds the timeout to the get public following params
func (*GetPublicFollowingParams) WithUserID ¶ added in v0.16.0
func (o *GetPublicFollowingParams) WithUserID(userID string) *GetPublicFollowingParams
WithUserID adds the userID to the get public following params
func (*GetPublicFollowingParams) WriteToRequest ¶ added in v0.16.0
func (o *GetPublicFollowingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPublicFollowingReader ¶ added in v0.16.0
type GetPublicFollowingReader struct {
// contains filtered or unexported fields
}
GetPublicFollowingReader is a Reader for the GetPublicFollowing structure.
func (*GetPublicFollowingReader) ReadResponse ¶ added in v0.16.0
func (o *GetPublicFollowingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPublicFollowingUnauthorized ¶ added in v0.16.0
type GetPublicFollowingUnauthorized struct {
}GetPublicFollowingUnauthorized handles this case with default header values.
Unauthorized
func NewGetPublicFollowingUnauthorized ¶ added in v0.16.0
func NewGetPublicFollowingUnauthorized() *GetPublicFollowingUnauthorized
NewGetPublicFollowingUnauthorized creates a GetPublicFollowingUnauthorized with default headers values
func (*GetPublicFollowingUnauthorized) Error ¶ added in v0.16.0
func (o *GetPublicFollowingUnauthorized) Error() string
func (*GetPublicFollowingUnauthorized) GetPayload ¶ added in v0.16.0
func (o *GetPublicFollowingUnauthorized) GetPayload() *ugcclientmodels.ResponseError
type UpdateUserFollowStatusBadRequest ¶
type UpdateUserFollowStatusBadRequest struct {
Payload *ugcclientmodels.ResponseError
}
UpdateUserFollowStatusBadRequest handles this case with default header values.
Bad Request
func NewUpdateUserFollowStatusBadRequest ¶
func NewUpdateUserFollowStatusBadRequest() *UpdateUserFollowStatusBadRequest
NewUpdateUserFollowStatusBadRequest creates a UpdateUserFollowStatusBadRequest with default headers values
func (*UpdateUserFollowStatusBadRequest) Error ¶
func (o *UpdateUserFollowStatusBadRequest) Error() string
func (*UpdateUserFollowStatusBadRequest) GetPayload ¶
func (o *UpdateUserFollowStatusBadRequest) GetPayload() *ugcclientmodels.ResponseError
type UpdateUserFollowStatusInternalServerError ¶
type UpdateUserFollowStatusInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
UpdateUserFollowStatusInternalServerError handles this case with default header values.
Internal Server Error
func NewUpdateUserFollowStatusInternalServerError ¶
func NewUpdateUserFollowStatusInternalServerError() *UpdateUserFollowStatusInternalServerError
NewUpdateUserFollowStatusInternalServerError creates a UpdateUserFollowStatusInternalServerError with default headers values
func (*UpdateUserFollowStatusInternalServerError) Error ¶
func (o *UpdateUserFollowStatusInternalServerError) Error() string
func (*UpdateUserFollowStatusInternalServerError) GetPayload ¶
func (o *UpdateUserFollowStatusInternalServerError) GetPayload() *ugcclientmodels.ResponseError
type UpdateUserFollowStatusNotFound ¶
type UpdateUserFollowStatusNotFound struct {
Payload *ugcclientmodels.ResponseError
}
UpdateUserFollowStatusNotFound handles this case with default header values.
Not Found
func NewUpdateUserFollowStatusNotFound ¶
func NewUpdateUserFollowStatusNotFound() *UpdateUserFollowStatusNotFound
NewUpdateUserFollowStatusNotFound creates a UpdateUserFollowStatusNotFound with default headers values
func (*UpdateUserFollowStatusNotFound) Error ¶
func (o *UpdateUserFollowStatusNotFound) Error() string
func (*UpdateUserFollowStatusNotFound) GetPayload ¶
func (o *UpdateUserFollowStatusNotFound) GetPayload() *ugcclientmodels.ResponseError
type UpdateUserFollowStatusOK ¶
type UpdateUserFollowStatusOK struct {
Payload *ugcclientmodels.ModelsUserFollowResponse
}
UpdateUserFollowStatusOK handles this case with default header values.
OK
func NewUpdateUserFollowStatusOK ¶
func NewUpdateUserFollowStatusOK() *UpdateUserFollowStatusOK
NewUpdateUserFollowStatusOK creates a UpdateUserFollowStatusOK with default headers values
func (*UpdateUserFollowStatusOK) Error ¶
func (o *UpdateUserFollowStatusOK) Error() string
func (*UpdateUserFollowStatusOK) GetPayload ¶
func (o *UpdateUserFollowStatusOK) GetPayload() *ugcclientmodels.ModelsUserFollowResponse
type UpdateUserFollowStatusParams ¶
type UpdateUserFollowStatusParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *ugcclientmodels.ModelsUserFollowRequest /*Namespace namespace of the game */ Namespace string /*UserID user ID to be followed */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateUserFollowStatusParams contains all the parameters to send to the API endpoint for the update user follow status operation typically these are written to a http.Request
func NewUpdateUserFollowStatusParams ¶
func NewUpdateUserFollowStatusParams() *UpdateUserFollowStatusParams
NewUpdateUserFollowStatusParams creates a new UpdateUserFollowStatusParams object with the default values initialized.
func NewUpdateUserFollowStatusParamsWithContext ¶
func NewUpdateUserFollowStatusParamsWithContext(ctx context.Context) *UpdateUserFollowStatusParams
NewUpdateUserFollowStatusParamsWithContext creates a new UpdateUserFollowStatusParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateUserFollowStatusParamsWithHTTPClient ¶
func NewUpdateUserFollowStatusParamsWithHTTPClient(client *http.Client) *UpdateUserFollowStatusParams
NewUpdateUserFollowStatusParamsWithHTTPClient creates a new UpdateUserFollowStatusParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateUserFollowStatusParamsWithTimeout ¶
func NewUpdateUserFollowStatusParamsWithTimeout(timeout time.Duration) *UpdateUserFollowStatusParams
NewUpdateUserFollowStatusParamsWithTimeout creates a new UpdateUserFollowStatusParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateUserFollowStatusParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *UpdateUserFollowStatusParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update user follow status params
func (*UpdateUserFollowStatusParams) SetBody ¶
func (o *UpdateUserFollowStatusParams) SetBody(body *ugcclientmodels.ModelsUserFollowRequest)
SetBody adds the body to the update user follow status params
func (*UpdateUserFollowStatusParams) SetContext ¶
func (o *UpdateUserFollowStatusParams) SetContext(ctx context.Context)
SetContext adds the context to the update user follow status params
func (*UpdateUserFollowStatusParams) SetHTTPClient ¶
func (o *UpdateUserFollowStatusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update user follow status params
func (*UpdateUserFollowStatusParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *UpdateUserFollowStatusParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update user follow status params
func (*UpdateUserFollowStatusParams) SetNamespace ¶
func (o *UpdateUserFollowStatusParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the update user follow status params
func (*UpdateUserFollowStatusParams) SetTimeout ¶
func (o *UpdateUserFollowStatusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update user follow status params
func (*UpdateUserFollowStatusParams) SetUserID ¶
func (o *UpdateUserFollowStatusParams) SetUserID(userID string)
SetUserID adds the userId to the update user follow status params
func (*UpdateUserFollowStatusParams) WithBody ¶
func (o *UpdateUserFollowStatusParams) WithBody(body *ugcclientmodels.ModelsUserFollowRequest) *UpdateUserFollowStatusParams
WithBody adds the body to the update user follow status params
func (*UpdateUserFollowStatusParams) WithContext ¶
func (o *UpdateUserFollowStatusParams) WithContext(ctx context.Context) *UpdateUserFollowStatusParams
WithContext adds the context to the update user follow status params
func (*UpdateUserFollowStatusParams) WithHTTPClient ¶
func (o *UpdateUserFollowStatusParams) WithHTTPClient(client *http.Client) *UpdateUserFollowStatusParams
WithHTTPClient adds the HTTPClient to the update user follow status params
func (*UpdateUserFollowStatusParams) WithNamespace ¶
func (o *UpdateUserFollowStatusParams) WithNamespace(namespace string) *UpdateUserFollowStatusParams
WithNamespace adds the namespace to the update user follow status params
func (*UpdateUserFollowStatusParams) WithTimeout ¶
func (o *UpdateUserFollowStatusParams) WithTimeout(timeout time.Duration) *UpdateUserFollowStatusParams
WithTimeout adds the timeout to the update user follow status params
func (*UpdateUserFollowStatusParams) WithUserID ¶
func (o *UpdateUserFollowStatusParams) WithUserID(userID string) *UpdateUserFollowStatusParams
WithUserID adds the userID to the update user follow status params
func (*UpdateUserFollowStatusParams) WriteToRequest ¶
func (o *UpdateUserFollowStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateUserFollowStatusReader ¶
type UpdateUserFollowStatusReader struct {
// contains filtered or unexported fields
}
UpdateUserFollowStatusReader is a Reader for the UpdateUserFollowStatus structure.
func (*UpdateUserFollowStatusReader) ReadResponse ¶
func (o *UpdateUserFollowStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateUserFollowStatusUnauthorized ¶
type UpdateUserFollowStatusUnauthorized struct {
}UpdateUserFollowStatusUnauthorized handles this case with default header values.
Unauthorized
func NewUpdateUserFollowStatusUnauthorized ¶
func NewUpdateUserFollowStatusUnauthorized() *UpdateUserFollowStatusUnauthorized
NewUpdateUserFollowStatusUnauthorized creates a UpdateUserFollowStatusUnauthorized with default headers values
func (*UpdateUserFollowStatusUnauthorized) Error ¶
func (o *UpdateUserFollowStatusUnauthorized) Error() string
func (*UpdateUserFollowStatusUnauthorized) GetPayload ¶
func (o *UpdateUserFollowStatusUnauthorized) GetPayload() *ugcclientmodels.ResponseError
Source Files
¶
- get_followed_content_parameters.go
- get_followed_content_responses.go
- get_followed_users_parameters.go
- get_followed_users_responses.go
- get_public_followers_parameters.go
- get_public_followers_responses.go
- get_public_following_parameters.go
- get_public_following_responses.go
- public_follow_client.go
- update_user_follow_status_parameters.go
- update_user_follow_status_responses.go