public_follow

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for public follow API

func (*Client) GetFollowedContent

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

GetFollowedUsers gets followed creators

Requires valid user token

func (*Client) GetFollowedUsersShort

func (a *Client) GetFollowedUsersShort(params *GetFollowedUsersParams, authInfo runtime.ClientAuthInfoWriter) (*GetFollowedUsersOK, error)

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateUserFollowStatus

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 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 (*GetFollowedContentInternalServerError) GetPayload

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 (*GetFollowedContentNotFound) GetPayload

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

type GetFollowedContentParams

type GetFollowedContentParams struct {

	/*Limit
	  number of content per page

	*/
	Limit *string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Offset
	  the offset number to retrieve

	*/
	Offset *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

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) 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) SetLimit

func (o *GetFollowedContentParams) SetLimit(limit *string)

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 *string)

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

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

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

WithOffset adds the offset to the get followed content params

func (*GetFollowedContentParams) WithTimeout

WithTimeout adds the timeout to the get followed content params

func (*GetFollowedContentParams) WriteToRequest

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 {
	Payload *ugcclientmodels.ResponseError
}

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 (*GetFollowedContentUnauthorized) GetPayload

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 (*GetFollowedUsersInternalServerError) GetPayload

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

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

type GetFollowedUsersParams

type GetFollowedUsersParams struct {

	/*Limit
	  number of content per page

	*/
	Limit *string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Offset
	  the offset number to retrieve

	*/
	Offset *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

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) 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) SetLimit

func (o *GetFollowedUsersParams) SetLimit(limit *string)

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 *string)

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

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

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 *string) *GetFollowedUsersParams

WithOffset adds the offset to the get followed users params

func (*GetFollowedUsersParams) WithTimeout

WithTimeout adds the timeout to the get followed users params

func (*GetFollowedUsersParams) WriteToRequest

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 {
	Payload *ugcclientmodels.ResponseError
}

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 (*GetFollowedUsersUnauthorized) GetPayload

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 (*UpdateUserFollowStatusBadRequest) GetPayload

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 (*UpdateUserFollowStatusInternalServerError) GetPayload

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 (*UpdateUserFollowStatusNotFound) GetPayload

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

type UpdateUserFollowStatusParams

type UpdateUserFollowStatusParams struct {

	/*Body*/
	Body *ugcclientmodels.ModelsUserFollowRequest
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  user ID to be followed

	*/
	UserID string

	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) SetBody

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

WithBody adds the body to the update user follow status params

func (*UpdateUserFollowStatusParams) WithContext

WithContext adds the context to the update user follow status params

func (*UpdateUserFollowStatusParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update user follow status params

func (*UpdateUserFollowStatusParams) WithNamespace

WithNamespace adds the namespace to the update user follow status params

func (*UpdateUserFollowStatusParams) WithTimeout

WithTimeout adds the timeout to the update user follow status params

func (*UpdateUserFollowStatusParams) WithUserID

WithUserID adds the userID to the update user follow status params

func (*UpdateUserFollowStatusParams) WriteToRequest

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 {
	Payload *ugcclientmodels.ResponseError
}

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 (*UpdateUserFollowStatusUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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