users

package
v0.0.0-...-6fcb5ef Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2020 License: MPL-2.0 Imports: 11 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 users API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new users API client.

func (*Client) DeleteUserFavoritesID

func (a *Client) DeleteUserFavoritesID(params *DeleteUserFavoritesIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserFavoritesIDOK, error)

DeleteUserFavoritesID Deletes the given series ID from the user’s favorite’s list and returns the updated list.

func (*Client) DeleteUserRatingsItemTypeItemID

func (a *Client) DeleteUserRatingsItemTypeItemID(params *DeleteUserRatingsItemTypeItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserRatingsItemTypeItemIDOK, error)

DeleteUserRatingsItemTypeItemID This route deletes a given rating of a given type.

func (*Client) GetUser

func (a *Client) GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserOK, error)

GetUser Returns basic information about the currently authenticated user.

func (*Client) GetUserFavorites

func (a *Client) GetUserFavorites(params *GetUserFavoritesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserFavoritesOK, error)

GetUserFavorites Returns an array of favorite series for a given user, will be a blank array if no favorites exist.

func (*Client) GetUserRatings

func (a *Client) GetUserRatings(params *GetUserRatingsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserRatingsOK, error)

GetUserRatings Returns an array of ratings for the given user.

func (*Client) GetUserRatingsQuery

func (a *Client) GetUserRatingsQuery(params *GetUserRatingsQueryParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserRatingsQueryOK, error)

GetUserRatingsQuery Returns an array of ratings for a given user that match the query.

func (*Client) GetUserRatingsQueryParams

func (a *Client) GetUserRatingsQueryParams(params *GetUserRatingsQueryParamsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserRatingsQueryParamsOK, error)

GetUserRatingsQueryParams Returns a list of query params for use in the `/user/ratings/query` route.

func (*Client) PutUserFavoritesID

func (a *Client) PutUserFavoritesID(params *PutUserFavoritesIDParams, authInfo runtime.ClientAuthInfoWriter) (*PutUserFavoritesIDOK, error)

PutUserFavoritesID Adds the supplied series ID to the user’s favorite’s list and returns the updated list.

func (*Client) PutUserRatingsItemTypeItemIDItemRating

PutUserRatingsItemTypeItemIDItemRating This route updates a given rating of a given type.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type DeleteUserFavoritesIDConflict

type DeleteUserFavoritesIDConflict struct {
	Payload *models.Conflict
}

DeleteUserFavoritesIDConflict handles this case with default header values.

Returned if requested record could not be deleted

func NewDeleteUserFavoritesIDConflict

func NewDeleteUserFavoritesIDConflict() *DeleteUserFavoritesIDConflict

NewDeleteUserFavoritesIDConflict creates a DeleteUserFavoritesIDConflict with default headers values

func (*DeleteUserFavoritesIDConflict) Error

func (*DeleteUserFavoritesIDConflict) GetPayload

type DeleteUserFavoritesIDNotFound

type DeleteUserFavoritesIDNotFound struct {
	Payload *models.NotFound
}

DeleteUserFavoritesIDNotFound handles this case with default header values.

Returned if no information exists for the current user

func NewDeleteUserFavoritesIDNotFound

func NewDeleteUserFavoritesIDNotFound() *DeleteUserFavoritesIDNotFound

NewDeleteUserFavoritesIDNotFound creates a DeleteUserFavoritesIDNotFound with default headers values

func (*DeleteUserFavoritesIDNotFound) Error

func (*DeleteUserFavoritesIDNotFound) GetPayload

type DeleteUserFavoritesIDOK

type DeleteUserFavoritesIDOK struct {
	Payload *models.UserFavoritesData
}

DeleteUserFavoritesIDOK handles this case with default header values.

List of user favorites.

func NewDeleteUserFavoritesIDOK

func NewDeleteUserFavoritesIDOK() *DeleteUserFavoritesIDOK

NewDeleteUserFavoritesIDOK creates a DeleteUserFavoritesIDOK with default headers values

func (*DeleteUserFavoritesIDOK) Error

func (o *DeleteUserFavoritesIDOK) Error() string

func (*DeleteUserFavoritesIDOK) GetPayload

type DeleteUserFavoritesIDParams

type DeleteUserFavoritesIDParams struct {

	/*ID
	  ID of the series

	*/
	ID int64

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

DeleteUserFavoritesIDParams contains all the parameters to send to the API endpoint for the delete user favorites ID operation typically these are written to a http.Request

func NewDeleteUserFavoritesIDParams

func NewDeleteUserFavoritesIDParams() *DeleteUserFavoritesIDParams

NewDeleteUserFavoritesIDParams creates a new DeleteUserFavoritesIDParams object with the default values initialized.

func NewDeleteUserFavoritesIDParamsWithContext

func NewDeleteUserFavoritesIDParamsWithContext(ctx context.Context) *DeleteUserFavoritesIDParams

NewDeleteUserFavoritesIDParamsWithContext creates a new DeleteUserFavoritesIDParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteUserFavoritesIDParamsWithHTTPClient

func NewDeleteUserFavoritesIDParamsWithHTTPClient(client *http.Client) *DeleteUserFavoritesIDParams

NewDeleteUserFavoritesIDParamsWithHTTPClient creates a new DeleteUserFavoritesIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteUserFavoritesIDParamsWithTimeout

func NewDeleteUserFavoritesIDParamsWithTimeout(timeout time.Duration) *DeleteUserFavoritesIDParams

NewDeleteUserFavoritesIDParamsWithTimeout creates a new DeleteUserFavoritesIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteUserFavoritesIDParams) SetContext

func (o *DeleteUserFavoritesIDParams) SetContext(ctx context.Context)

SetContext adds the context to the delete user favorites ID params

func (*DeleteUserFavoritesIDParams) SetHTTPClient

func (o *DeleteUserFavoritesIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete user favorites ID params

func (*DeleteUserFavoritesIDParams) SetID

func (o *DeleteUserFavoritesIDParams) SetID(id int64)

SetID adds the id to the delete user favorites ID params

func (*DeleteUserFavoritesIDParams) SetTimeout

func (o *DeleteUserFavoritesIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete user favorites ID params

func (*DeleteUserFavoritesIDParams) WithContext

WithContext adds the context to the delete user favorites ID params

func (*DeleteUserFavoritesIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete user favorites ID params

func (*DeleteUserFavoritesIDParams) WithID

WithID adds the id to the delete user favorites ID params

func (*DeleteUserFavoritesIDParams) WithTimeout

WithTimeout adds the timeout to the delete user favorites ID params

func (*DeleteUserFavoritesIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteUserFavoritesIDReader

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

DeleteUserFavoritesIDReader is a Reader for the DeleteUserFavoritesID structure.

func (*DeleteUserFavoritesIDReader) ReadResponse

func (o *DeleteUserFavoritesIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteUserFavoritesIDUnauthorized

type DeleteUserFavoritesIDUnauthorized struct {
	Payload *models.NotAuthorized
}

DeleteUserFavoritesIDUnauthorized handles this case with default header values.

Returned if your JWT token is missing or expired

func NewDeleteUserFavoritesIDUnauthorized

func NewDeleteUserFavoritesIDUnauthorized() *DeleteUserFavoritesIDUnauthorized

NewDeleteUserFavoritesIDUnauthorized creates a DeleteUserFavoritesIDUnauthorized with default headers values

func (*DeleteUserFavoritesIDUnauthorized) Error

func (*DeleteUserFavoritesIDUnauthorized) GetPayload

type DeleteUserRatingsItemTypeItemIDNotFound

type DeleteUserRatingsItemTypeItemIDNotFound struct {
	Payload *models.NotFound
}

DeleteUserRatingsItemTypeItemIDNotFound handles this case with default header values.

Returned if no rating is found that matches your given parameters

func NewDeleteUserRatingsItemTypeItemIDNotFound

func NewDeleteUserRatingsItemTypeItemIDNotFound() *DeleteUserRatingsItemTypeItemIDNotFound

NewDeleteUserRatingsItemTypeItemIDNotFound creates a DeleteUserRatingsItemTypeItemIDNotFound with default headers values

func (*DeleteUserRatingsItemTypeItemIDNotFound) Error

func (*DeleteUserRatingsItemTypeItemIDNotFound) GetPayload

type DeleteUserRatingsItemTypeItemIDOK

type DeleteUserRatingsItemTypeItemIDOK struct {
	Payload *models.UserRatingsDataNoLinksEmptyArray
}

DeleteUserRatingsItemTypeItemIDOK handles this case with default header values.

Returns OK if the delete was successful

func NewDeleteUserRatingsItemTypeItemIDOK

func NewDeleteUserRatingsItemTypeItemIDOK() *DeleteUserRatingsItemTypeItemIDOK

NewDeleteUserRatingsItemTypeItemIDOK creates a DeleteUserRatingsItemTypeItemIDOK with default headers values

func (*DeleteUserRatingsItemTypeItemIDOK) Error

func (*DeleteUserRatingsItemTypeItemIDOK) GetPayload

type DeleteUserRatingsItemTypeItemIDParams

type DeleteUserRatingsItemTypeItemIDParams struct {

	/*ItemID
	  ID of the ratings record that you wish to modify

	*/
	ItemID int64
	/*ItemType
	  Item to update. Can be either 'series', 'episode', or 'image'

	*/
	ItemType string

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

DeleteUserRatingsItemTypeItemIDParams contains all the parameters to send to the API endpoint for the delete user ratings item type item ID operation typically these are written to a http.Request

func NewDeleteUserRatingsItemTypeItemIDParams

func NewDeleteUserRatingsItemTypeItemIDParams() *DeleteUserRatingsItemTypeItemIDParams

NewDeleteUserRatingsItemTypeItemIDParams creates a new DeleteUserRatingsItemTypeItemIDParams object with the default values initialized.

func NewDeleteUserRatingsItemTypeItemIDParamsWithContext

func NewDeleteUserRatingsItemTypeItemIDParamsWithContext(ctx context.Context) *DeleteUserRatingsItemTypeItemIDParams

NewDeleteUserRatingsItemTypeItemIDParamsWithContext creates a new DeleteUserRatingsItemTypeItemIDParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteUserRatingsItemTypeItemIDParamsWithHTTPClient

func NewDeleteUserRatingsItemTypeItemIDParamsWithHTTPClient(client *http.Client) *DeleteUserRatingsItemTypeItemIDParams

NewDeleteUserRatingsItemTypeItemIDParamsWithHTTPClient creates a new DeleteUserRatingsItemTypeItemIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteUserRatingsItemTypeItemIDParamsWithTimeout

func NewDeleteUserRatingsItemTypeItemIDParamsWithTimeout(timeout time.Duration) *DeleteUserRatingsItemTypeItemIDParams

NewDeleteUserRatingsItemTypeItemIDParamsWithTimeout creates a new DeleteUserRatingsItemTypeItemIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteUserRatingsItemTypeItemIDParams) SetContext

SetContext adds the context to the delete user ratings item type item ID params

func (*DeleteUserRatingsItemTypeItemIDParams) SetHTTPClient

func (o *DeleteUserRatingsItemTypeItemIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete user ratings item type item ID params

func (*DeleteUserRatingsItemTypeItemIDParams) SetItemID

func (o *DeleteUserRatingsItemTypeItemIDParams) SetItemID(itemID int64)

SetItemID adds the itemId to the delete user ratings item type item ID params

func (*DeleteUserRatingsItemTypeItemIDParams) SetItemType

func (o *DeleteUserRatingsItemTypeItemIDParams) SetItemType(itemType string)

SetItemType adds the itemType to the delete user ratings item type item ID params

func (*DeleteUserRatingsItemTypeItemIDParams) SetTimeout

func (o *DeleteUserRatingsItemTypeItemIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete user ratings item type item ID params

func (*DeleteUserRatingsItemTypeItemIDParams) WithContext

WithContext adds the context to the delete user ratings item type item ID params

func (*DeleteUserRatingsItemTypeItemIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete user ratings item type item ID params

func (*DeleteUserRatingsItemTypeItemIDParams) WithItemID

WithItemID adds the itemID to the delete user ratings item type item ID params

func (*DeleteUserRatingsItemTypeItemIDParams) WithItemType

WithItemType adds the itemType to the delete user ratings item type item ID params

func (*DeleteUserRatingsItemTypeItemIDParams) WithTimeout

WithTimeout adds the timeout to the delete user ratings item type item ID params

func (*DeleteUserRatingsItemTypeItemIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteUserRatingsItemTypeItemIDReader

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

DeleteUserRatingsItemTypeItemIDReader is a Reader for the DeleteUserRatingsItemTypeItemID structure.

func (*DeleteUserRatingsItemTypeItemIDReader) ReadResponse

func (o *DeleteUserRatingsItemTypeItemIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteUserRatingsItemTypeItemIDUnauthorized

type DeleteUserRatingsItemTypeItemIDUnauthorized struct {
	Payload *models.NotAuthorized
}

DeleteUserRatingsItemTypeItemIDUnauthorized handles this case with default header values.

Returned if your JWT token is missing or expired

func NewDeleteUserRatingsItemTypeItemIDUnauthorized

func NewDeleteUserRatingsItemTypeItemIDUnauthorized() *DeleteUserRatingsItemTypeItemIDUnauthorized

NewDeleteUserRatingsItemTypeItemIDUnauthorized creates a DeleteUserRatingsItemTypeItemIDUnauthorized with default headers values

func (*DeleteUserRatingsItemTypeItemIDUnauthorized) Error

func (*DeleteUserRatingsItemTypeItemIDUnauthorized) GetPayload

type GetUserFavoritesNotFound

type GetUserFavoritesNotFound struct {
	Payload *models.NotFound
}

GetUserFavoritesNotFound handles this case with default header values.

Returned if no information exists for the current user

func NewGetUserFavoritesNotFound

func NewGetUserFavoritesNotFound() *GetUserFavoritesNotFound

NewGetUserFavoritesNotFound creates a GetUserFavoritesNotFound with default headers values

func (*GetUserFavoritesNotFound) Error

func (o *GetUserFavoritesNotFound) Error() string

func (*GetUserFavoritesNotFound) GetPayload

func (o *GetUserFavoritesNotFound) GetPayload() *models.NotFound

type GetUserFavoritesOK

type GetUserFavoritesOK struct {
	Payload *models.UserFavoritesData
}

GetUserFavoritesOK handles this case with default header values.

User favorites.

func NewGetUserFavoritesOK

func NewGetUserFavoritesOK() *GetUserFavoritesOK

NewGetUserFavoritesOK creates a GetUserFavoritesOK with default headers values

func (*GetUserFavoritesOK) Error

func (o *GetUserFavoritesOK) Error() string

func (*GetUserFavoritesOK) GetPayload

func (o *GetUserFavoritesOK) GetPayload() *models.UserFavoritesData

type GetUserFavoritesParams

type GetUserFavoritesParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetUserFavoritesParams contains all the parameters to send to the API endpoint for the get user favorites operation typically these are written to a http.Request

func NewGetUserFavoritesParams

func NewGetUserFavoritesParams() *GetUserFavoritesParams

NewGetUserFavoritesParams creates a new GetUserFavoritesParams object with the default values initialized.

func NewGetUserFavoritesParamsWithContext

func NewGetUserFavoritesParamsWithContext(ctx context.Context) *GetUserFavoritesParams

NewGetUserFavoritesParamsWithContext creates a new GetUserFavoritesParams object with the default values initialized, and the ability to set a context for a request

func NewGetUserFavoritesParamsWithHTTPClient

func NewGetUserFavoritesParamsWithHTTPClient(client *http.Client) *GetUserFavoritesParams

NewGetUserFavoritesParamsWithHTTPClient creates a new GetUserFavoritesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetUserFavoritesParamsWithTimeout

func NewGetUserFavoritesParamsWithTimeout(timeout time.Duration) *GetUserFavoritesParams

NewGetUserFavoritesParamsWithTimeout creates a new GetUserFavoritesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetUserFavoritesParams) SetContext

func (o *GetUserFavoritesParams) SetContext(ctx context.Context)

SetContext adds the context to the get user favorites params

func (*GetUserFavoritesParams) SetHTTPClient

func (o *GetUserFavoritesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get user favorites params

func (*GetUserFavoritesParams) SetTimeout

func (o *GetUserFavoritesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get user favorites params

func (*GetUserFavoritesParams) WithContext

WithContext adds the context to the get user favorites params

func (*GetUserFavoritesParams) WithHTTPClient

func (o *GetUserFavoritesParams) WithHTTPClient(client *http.Client) *GetUserFavoritesParams

WithHTTPClient adds the HTTPClient to the get user favorites params

func (*GetUserFavoritesParams) WithTimeout

WithTimeout adds the timeout to the get user favorites params

func (*GetUserFavoritesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserFavoritesReader

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

GetUserFavoritesReader is a Reader for the GetUserFavorites structure.

func (*GetUserFavoritesReader) ReadResponse

func (o *GetUserFavoritesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetUserFavoritesUnauthorized

type GetUserFavoritesUnauthorized struct {
	Payload *models.NotAuthorized
}

GetUserFavoritesUnauthorized handles this case with default header values.

Returned if your JWT token is missing or expired

func NewGetUserFavoritesUnauthorized

func NewGetUserFavoritesUnauthorized() *GetUserFavoritesUnauthorized

NewGetUserFavoritesUnauthorized creates a GetUserFavoritesUnauthorized with default headers values

func (*GetUserFavoritesUnauthorized) Error

func (*GetUserFavoritesUnauthorized) GetPayload

type GetUserNotFound

type GetUserNotFound struct {
	Payload *models.NotFound
}

GetUserNotFound handles this case with default header values.

Returned if no information exists for the current user

func NewGetUserNotFound

func NewGetUserNotFound() *GetUserNotFound

NewGetUserNotFound creates a GetUserNotFound with default headers values

func (*GetUserNotFound) Error

func (o *GetUserNotFound) Error() string

func (*GetUserNotFound) GetPayload

func (o *GetUserNotFound) GetPayload() *models.NotFound

type GetUserOK

type GetUserOK struct {
	Payload *models.UserData
}

GetUserOK handles this case with default header values.

User information.

func NewGetUserOK

func NewGetUserOK() *GetUserOK

NewGetUserOK creates a GetUserOK with default headers values

func (*GetUserOK) Error

func (o *GetUserOK) Error() string

func (*GetUserOK) GetPayload

func (o *GetUserOK) GetPayload() *models.UserData

type GetUserParams

type GetUserParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetUserParams contains all the parameters to send to the API endpoint for the get user operation typically these are written to a http.Request

func NewGetUserParams

func NewGetUserParams() *GetUserParams

NewGetUserParams creates a new GetUserParams object with the default values initialized.

func NewGetUserParamsWithContext

func NewGetUserParamsWithContext(ctx context.Context) *GetUserParams

NewGetUserParamsWithContext creates a new GetUserParams object with the default values initialized, and the ability to set a context for a request

func NewGetUserParamsWithHTTPClient

func NewGetUserParamsWithHTTPClient(client *http.Client) *GetUserParams

NewGetUserParamsWithHTTPClient creates a new GetUserParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetUserParamsWithTimeout

func NewGetUserParamsWithTimeout(timeout time.Duration) *GetUserParams

NewGetUserParamsWithTimeout creates a new GetUserParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetUserParams) SetContext

func (o *GetUserParams) SetContext(ctx context.Context)

SetContext adds the context to the get user params

func (*GetUserParams) SetHTTPClient

func (o *GetUserParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get user params

func (*GetUserParams) SetTimeout

func (o *GetUserParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get user params

func (*GetUserParams) WithContext

func (o *GetUserParams) WithContext(ctx context.Context) *GetUserParams

WithContext adds the context to the get user params

func (*GetUserParams) WithHTTPClient

func (o *GetUserParams) WithHTTPClient(client *http.Client) *GetUserParams

WithHTTPClient adds the HTTPClient to the get user params

func (*GetUserParams) WithTimeout

func (o *GetUserParams) WithTimeout(timeout time.Duration) *GetUserParams

WithTimeout adds the timeout to the get user params

func (*GetUserParams) WriteToRequest

func (o *GetUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetUserRatingsNotFound

type GetUserRatingsNotFound struct {
	Payload *models.NotFound
}

GetUserRatingsNotFound handles this case with default header values.

Returned if no information exists for the current user

func NewGetUserRatingsNotFound

func NewGetUserRatingsNotFound() *GetUserRatingsNotFound

NewGetUserRatingsNotFound creates a GetUserRatingsNotFound with default headers values

func (*GetUserRatingsNotFound) Error

func (o *GetUserRatingsNotFound) Error() string

func (*GetUserRatingsNotFound) GetPayload

func (o *GetUserRatingsNotFound) GetPayload() *models.NotFound

type GetUserRatingsOK

type GetUserRatingsOK struct {
	Payload *models.UserRatingsData
}

GetUserRatingsOK handles this case with default header values.

Array of user ratings.

func NewGetUserRatingsOK

func NewGetUserRatingsOK() *GetUserRatingsOK

NewGetUserRatingsOK creates a GetUserRatingsOK with default headers values

func (*GetUserRatingsOK) Error

func (o *GetUserRatingsOK) Error() string

func (*GetUserRatingsOK) GetPayload

func (o *GetUserRatingsOK) GetPayload() *models.UserRatingsData

type GetUserRatingsParams

type GetUserRatingsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetUserRatingsParams contains all the parameters to send to the API endpoint for the get user ratings operation typically these are written to a http.Request

func NewGetUserRatingsParams

func NewGetUserRatingsParams() *GetUserRatingsParams

NewGetUserRatingsParams creates a new GetUserRatingsParams object with the default values initialized.

func NewGetUserRatingsParamsWithContext

func NewGetUserRatingsParamsWithContext(ctx context.Context) *GetUserRatingsParams

NewGetUserRatingsParamsWithContext creates a new GetUserRatingsParams object with the default values initialized, and the ability to set a context for a request

func NewGetUserRatingsParamsWithHTTPClient

func NewGetUserRatingsParamsWithHTTPClient(client *http.Client) *GetUserRatingsParams

NewGetUserRatingsParamsWithHTTPClient creates a new GetUserRatingsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetUserRatingsParamsWithTimeout

func NewGetUserRatingsParamsWithTimeout(timeout time.Duration) *GetUserRatingsParams

NewGetUserRatingsParamsWithTimeout creates a new GetUserRatingsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetUserRatingsParams) SetContext

func (o *GetUserRatingsParams) SetContext(ctx context.Context)

SetContext adds the context to the get user ratings params

func (*GetUserRatingsParams) SetHTTPClient

func (o *GetUserRatingsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get user ratings params

func (*GetUserRatingsParams) SetTimeout

func (o *GetUserRatingsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get user ratings params

func (*GetUserRatingsParams) WithContext

WithContext adds the context to the get user ratings params

func (*GetUserRatingsParams) WithHTTPClient

func (o *GetUserRatingsParams) WithHTTPClient(client *http.Client) *GetUserRatingsParams

WithHTTPClient adds the HTTPClient to the get user ratings params

func (*GetUserRatingsParams) WithTimeout

func (o *GetUserRatingsParams) WithTimeout(timeout time.Duration) *GetUserRatingsParams

WithTimeout adds the timeout to the get user ratings params

func (*GetUserRatingsParams) WriteToRequest

func (o *GetUserRatingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetUserRatingsQueryNotFound

type GetUserRatingsQueryNotFound struct {
	Payload *models.NotFound
}

GetUserRatingsQueryNotFound handles this case with default header values.

Returned if no information exists for the current user

func NewGetUserRatingsQueryNotFound

func NewGetUserRatingsQueryNotFound() *GetUserRatingsQueryNotFound

NewGetUserRatingsQueryNotFound creates a GetUserRatingsQueryNotFound with default headers values

func (*GetUserRatingsQueryNotFound) Error

func (*GetUserRatingsQueryNotFound) GetPayload

func (o *GetUserRatingsQueryNotFound) GetPayload() *models.NotFound

type GetUserRatingsQueryOK

type GetUserRatingsQueryOK struct {
	Payload *models.UserRatingsData
}

GetUserRatingsQueryOK handles this case with default header values.

List of user ratings that match the given query.

func NewGetUserRatingsQueryOK

func NewGetUserRatingsQueryOK() *GetUserRatingsQueryOK

NewGetUserRatingsQueryOK creates a GetUserRatingsQueryOK with default headers values

func (*GetUserRatingsQueryOK) Error

func (o *GetUserRatingsQueryOK) Error() string

func (*GetUserRatingsQueryOK) GetPayload

func (o *GetUserRatingsQueryOK) GetPayload() *models.UserRatingsData

type GetUserRatingsQueryParams

type GetUserRatingsQueryParams struct {

	/*ItemType
	  Item to query. Can be either 'series', 'episode', or 'banner'

	*/
	ItemType *string

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

GetUserRatingsQueryParams contains all the parameters to send to the API endpoint for the get user ratings query operation typically these are written to a http.Request

func NewGetUserRatingsQueryParams

func NewGetUserRatingsQueryParams() *GetUserRatingsQueryParams

NewGetUserRatingsQueryParams creates a new GetUserRatingsQueryParams object with the default values initialized.

func NewGetUserRatingsQueryParamsWithContext

func NewGetUserRatingsQueryParamsWithContext(ctx context.Context) *GetUserRatingsQueryParams

NewGetUserRatingsQueryParamsWithContext creates a new GetUserRatingsQueryParams object with the default values initialized, and the ability to set a context for a request

func NewGetUserRatingsQueryParamsWithHTTPClient

func NewGetUserRatingsQueryParamsWithHTTPClient(client *http.Client) *GetUserRatingsQueryParams

NewGetUserRatingsQueryParamsWithHTTPClient creates a new GetUserRatingsQueryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetUserRatingsQueryParamsWithTimeout

func NewGetUserRatingsQueryParamsWithTimeout(timeout time.Duration) *GetUserRatingsQueryParams

NewGetUserRatingsQueryParamsWithTimeout creates a new GetUserRatingsQueryParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetUserRatingsQueryParams) SetContext

func (o *GetUserRatingsQueryParams) SetContext(ctx context.Context)

SetContext adds the context to the get user ratings query params

func (*GetUserRatingsQueryParams) SetHTTPClient

func (o *GetUserRatingsQueryParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get user ratings query params

func (*GetUserRatingsQueryParams) SetItemType

func (o *GetUserRatingsQueryParams) SetItemType(itemType *string)

SetItemType adds the itemType to the get user ratings query params

func (*GetUserRatingsQueryParams) SetTimeout

func (o *GetUserRatingsQueryParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get user ratings query params

func (*GetUserRatingsQueryParams) WithContext

WithContext adds the context to the get user ratings query params

func (*GetUserRatingsQueryParams) WithHTTPClient

func (o *GetUserRatingsQueryParams) WithHTTPClient(client *http.Client) *GetUserRatingsQueryParams

WithHTTPClient adds the HTTPClient to the get user ratings query params

func (*GetUserRatingsQueryParams) WithItemType

func (o *GetUserRatingsQueryParams) WithItemType(itemType *string) *GetUserRatingsQueryParams

WithItemType adds the itemType to the get user ratings query params

func (*GetUserRatingsQueryParams) WithTimeout

WithTimeout adds the timeout to the get user ratings query params

func (*GetUserRatingsQueryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserRatingsQueryParamsNotFound

type GetUserRatingsQueryParamsNotFound struct {
	Payload *models.NotFound
}

GetUserRatingsQueryParamsNotFound handles this case with default header values.

Returned if no information exists for the current user

func NewGetUserRatingsQueryParamsNotFound

func NewGetUserRatingsQueryParamsNotFound() *GetUserRatingsQueryParamsNotFound

NewGetUserRatingsQueryParamsNotFound creates a GetUserRatingsQueryParamsNotFound with default headers values

func (*GetUserRatingsQueryParamsNotFound) Error

func (*GetUserRatingsQueryParamsNotFound) GetPayload

type GetUserRatingsQueryParamsOK

type GetUserRatingsQueryParamsOK struct {
	Payload *models.UserRatingsQueryParams
}

GetUserRatingsQueryParamsOK handles this case with default header values.

Parameters to use for querying.

func NewGetUserRatingsQueryParamsOK

func NewGetUserRatingsQueryParamsOK() *GetUserRatingsQueryParamsOK

NewGetUserRatingsQueryParamsOK creates a GetUserRatingsQueryParamsOK with default headers values

func (*GetUserRatingsQueryParamsOK) Error

func (*GetUserRatingsQueryParamsOK) GetPayload

type GetUserRatingsQueryParamsParams

type GetUserRatingsQueryParamsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetUserRatingsQueryParamsParams contains all the parameters to send to the API endpoint for the get user ratings query params operation typically these are written to a http.Request

func NewGetUserRatingsQueryParamsParams

func NewGetUserRatingsQueryParamsParams() *GetUserRatingsQueryParamsParams

NewGetUserRatingsQueryParamsParams creates a new GetUserRatingsQueryParamsParams object with the default values initialized.

func NewGetUserRatingsQueryParamsParamsWithContext

func NewGetUserRatingsQueryParamsParamsWithContext(ctx context.Context) *GetUserRatingsQueryParamsParams

NewGetUserRatingsQueryParamsParamsWithContext creates a new GetUserRatingsQueryParamsParams object with the default values initialized, and the ability to set a context for a request

func NewGetUserRatingsQueryParamsParamsWithHTTPClient

func NewGetUserRatingsQueryParamsParamsWithHTTPClient(client *http.Client) *GetUserRatingsQueryParamsParams

NewGetUserRatingsQueryParamsParamsWithHTTPClient creates a new GetUserRatingsQueryParamsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetUserRatingsQueryParamsParamsWithTimeout

func NewGetUserRatingsQueryParamsParamsWithTimeout(timeout time.Duration) *GetUserRatingsQueryParamsParams

NewGetUserRatingsQueryParamsParamsWithTimeout creates a new GetUserRatingsQueryParamsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetUserRatingsQueryParamsParams) SetContext

func (o *GetUserRatingsQueryParamsParams) SetContext(ctx context.Context)

SetContext adds the context to the get user ratings query params params

func (*GetUserRatingsQueryParamsParams) SetHTTPClient

func (o *GetUserRatingsQueryParamsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get user ratings query params params

func (*GetUserRatingsQueryParamsParams) SetTimeout

func (o *GetUserRatingsQueryParamsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get user ratings query params params

func (*GetUserRatingsQueryParamsParams) WithContext

WithContext adds the context to the get user ratings query params params

func (*GetUserRatingsQueryParamsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get user ratings query params params

func (*GetUserRatingsQueryParamsParams) WithTimeout

WithTimeout adds the timeout to the get user ratings query params params

func (*GetUserRatingsQueryParamsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserRatingsQueryParamsReader

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

GetUserRatingsQueryParamsReader is a Reader for the GetUserRatingsQueryParams structure.

func (*GetUserRatingsQueryParamsReader) ReadResponse

func (o *GetUserRatingsQueryParamsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetUserRatingsQueryParamsUnauthorized

type GetUserRatingsQueryParamsUnauthorized struct {
	Payload *models.NotAuthorized
}

GetUserRatingsQueryParamsUnauthorized handles this case with default header values.

Returned if your JWT token is missing or expired

func NewGetUserRatingsQueryParamsUnauthorized

func NewGetUserRatingsQueryParamsUnauthorized() *GetUserRatingsQueryParamsUnauthorized

NewGetUserRatingsQueryParamsUnauthorized creates a GetUserRatingsQueryParamsUnauthorized with default headers values

func (*GetUserRatingsQueryParamsUnauthorized) Error

func (*GetUserRatingsQueryParamsUnauthorized) GetPayload

type GetUserRatingsQueryReader

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

GetUserRatingsQueryReader is a Reader for the GetUserRatingsQuery structure.

func (*GetUserRatingsQueryReader) ReadResponse

func (o *GetUserRatingsQueryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetUserRatingsQueryUnauthorized

type GetUserRatingsQueryUnauthorized struct {
	Payload *models.NotAuthorized
}

GetUserRatingsQueryUnauthorized handles this case with default header values.

Returned if your JWT token is missing or expired

func NewGetUserRatingsQueryUnauthorized

func NewGetUserRatingsQueryUnauthorized() *GetUserRatingsQueryUnauthorized

NewGetUserRatingsQueryUnauthorized creates a GetUserRatingsQueryUnauthorized with default headers values

func (*GetUserRatingsQueryUnauthorized) Error

func (*GetUserRatingsQueryUnauthorized) GetPayload

type GetUserRatingsReader

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

GetUserRatingsReader is a Reader for the GetUserRatings structure.

func (*GetUserRatingsReader) ReadResponse

func (o *GetUserRatingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetUserRatingsUnauthorized

type GetUserRatingsUnauthorized struct {
	Payload *models.NotAuthorized
}

GetUserRatingsUnauthorized handles this case with default header values.

Returned if your JWT token is missing or expired

func NewGetUserRatingsUnauthorized

func NewGetUserRatingsUnauthorized() *GetUserRatingsUnauthorized

NewGetUserRatingsUnauthorized creates a GetUserRatingsUnauthorized with default headers values

func (*GetUserRatingsUnauthorized) Error

func (*GetUserRatingsUnauthorized) GetPayload

type GetUserReader

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

GetUserReader is a Reader for the GetUser structure.

func (*GetUserReader) ReadResponse

func (o *GetUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetUserUnauthorized

type GetUserUnauthorized struct {
	Payload *models.NotAuthorized
}

GetUserUnauthorized handles this case with default header values.

Returned if your JWT token is missing or expired

func NewGetUserUnauthorized

func NewGetUserUnauthorized() *GetUserUnauthorized

NewGetUserUnauthorized creates a GetUserUnauthorized with default headers values

func (*GetUserUnauthorized) Error

func (o *GetUserUnauthorized) Error() string

func (*GetUserUnauthorized) GetPayload

func (o *GetUserUnauthorized) GetPayload() *models.NotAuthorized

type PutUserFavoritesIDConflict

type PutUserFavoritesIDConflict struct {
	Payload *models.Conflict
}

PutUserFavoritesIDConflict handles this case with default header values.

Returned if requested record could not be updated

func NewPutUserFavoritesIDConflict

func NewPutUserFavoritesIDConflict() *PutUserFavoritesIDConflict

NewPutUserFavoritesIDConflict creates a PutUserFavoritesIDConflict with default headers values

func (*PutUserFavoritesIDConflict) Error

func (*PutUserFavoritesIDConflict) GetPayload

func (o *PutUserFavoritesIDConflict) GetPayload() *models.Conflict

type PutUserFavoritesIDNotFound

type PutUserFavoritesIDNotFound struct {
	Payload *models.NotFound
}

PutUserFavoritesIDNotFound handles this case with default header values.

Returned if no information exists for the current user

func NewPutUserFavoritesIDNotFound

func NewPutUserFavoritesIDNotFound() *PutUserFavoritesIDNotFound

NewPutUserFavoritesIDNotFound creates a PutUserFavoritesIDNotFound with default headers values

func (*PutUserFavoritesIDNotFound) Error

func (*PutUserFavoritesIDNotFound) GetPayload

func (o *PutUserFavoritesIDNotFound) GetPayload() *models.NotFound

type PutUserFavoritesIDOK

type PutUserFavoritesIDOK struct {
	Payload *models.UserFavoritesData
}

PutUserFavoritesIDOK handles this case with default header values.

List of user favorites.

func NewPutUserFavoritesIDOK

func NewPutUserFavoritesIDOK() *PutUserFavoritesIDOK

NewPutUserFavoritesIDOK creates a PutUserFavoritesIDOK with default headers values

func (*PutUserFavoritesIDOK) Error

func (o *PutUserFavoritesIDOK) Error() string

func (*PutUserFavoritesIDOK) GetPayload

type PutUserFavoritesIDParams

type PutUserFavoritesIDParams struct {

	/*ID
	  ID of the series

	*/
	ID int64

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

PutUserFavoritesIDParams contains all the parameters to send to the API endpoint for the put user favorites ID operation typically these are written to a http.Request

func NewPutUserFavoritesIDParams

func NewPutUserFavoritesIDParams() *PutUserFavoritesIDParams

NewPutUserFavoritesIDParams creates a new PutUserFavoritesIDParams object with the default values initialized.

func NewPutUserFavoritesIDParamsWithContext

func NewPutUserFavoritesIDParamsWithContext(ctx context.Context) *PutUserFavoritesIDParams

NewPutUserFavoritesIDParamsWithContext creates a new PutUserFavoritesIDParams object with the default values initialized, and the ability to set a context for a request

func NewPutUserFavoritesIDParamsWithHTTPClient

func NewPutUserFavoritesIDParamsWithHTTPClient(client *http.Client) *PutUserFavoritesIDParams

NewPutUserFavoritesIDParamsWithHTTPClient creates a new PutUserFavoritesIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPutUserFavoritesIDParamsWithTimeout

func NewPutUserFavoritesIDParamsWithTimeout(timeout time.Duration) *PutUserFavoritesIDParams

NewPutUserFavoritesIDParamsWithTimeout creates a new PutUserFavoritesIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*PutUserFavoritesIDParams) SetContext

func (o *PutUserFavoritesIDParams) SetContext(ctx context.Context)

SetContext adds the context to the put user favorites ID params

func (*PutUserFavoritesIDParams) SetHTTPClient

func (o *PutUserFavoritesIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put user favorites ID params

func (*PutUserFavoritesIDParams) SetID

func (o *PutUserFavoritesIDParams) SetID(id int64)

SetID adds the id to the put user favorites ID params

func (*PutUserFavoritesIDParams) SetTimeout

func (o *PutUserFavoritesIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put user favorites ID params

func (*PutUserFavoritesIDParams) WithContext

WithContext adds the context to the put user favorites ID params

func (*PutUserFavoritesIDParams) WithHTTPClient

func (o *PutUserFavoritesIDParams) WithHTTPClient(client *http.Client) *PutUserFavoritesIDParams

WithHTTPClient adds the HTTPClient to the put user favorites ID params

func (*PutUserFavoritesIDParams) WithID

WithID adds the id to the put user favorites ID params

func (*PutUserFavoritesIDParams) WithTimeout

WithTimeout adds the timeout to the put user favorites ID params

func (*PutUserFavoritesIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutUserFavoritesIDReader

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

PutUserFavoritesIDReader is a Reader for the PutUserFavoritesID structure.

func (*PutUserFavoritesIDReader) ReadResponse

func (o *PutUserFavoritesIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutUserFavoritesIDUnauthorized

type PutUserFavoritesIDUnauthorized struct {
	Payload *models.NotAuthorized
}

PutUserFavoritesIDUnauthorized handles this case with default header values.

Returned if your JWT token is missing or expired

func NewPutUserFavoritesIDUnauthorized

func NewPutUserFavoritesIDUnauthorized() *PutUserFavoritesIDUnauthorized

NewPutUserFavoritesIDUnauthorized creates a PutUserFavoritesIDUnauthorized with default headers values

func (*PutUserFavoritesIDUnauthorized) Error

func (*PutUserFavoritesIDUnauthorized) GetPayload

type PutUserRatingsItemTypeItemIDItemRatingNotFound

type PutUserRatingsItemTypeItemIDItemRatingNotFound struct {
	Payload *models.NotFound
}

PutUserRatingsItemTypeItemIDItemRatingNotFound handles this case with default header values.

Returned if no rating is found that matches your given parameters

func NewPutUserRatingsItemTypeItemIDItemRatingNotFound

func NewPutUserRatingsItemTypeItemIDItemRatingNotFound() *PutUserRatingsItemTypeItemIDItemRatingNotFound

NewPutUserRatingsItemTypeItemIDItemRatingNotFound creates a PutUserRatingsItemTypeItemIDItemRatingNotFound with default headers values

func (*PutUserRatingsItemTypeItemIDItemRatingNotFound) Error

func (*PutUserRatingsItemTypeItemIDItemRatingNotFound) GetPayload

type PutUserRatingsItemTypeItemIDItemRatingOK

type PutUserRatingsItemTypeItemIDItemRatingOK struct {
	Payload *models.UserRatingsDataNoLinks
}

PutUserRatingsItemTypeItemIDItemRatingOK handles this case with default header values.

Update OK if the update was successful

func NewPutUserRatingsItemTypeItemIDItemRatingOK

func NewPutUserRatingsItemTypeItemIDItemRatingOK() *PutUserRatingsItemTypeItemIDItemRatingOK

NewPutUserRatingsItemTypeItemIDItemRatingOK creates a PutUserRatingsItemTypeItemIDItemRatingOK with default headers values

func (*PutUserRatingsItemTypeItemIDItemRatingOK) Error

func (*PutUserRatingsItemTypeItemIDItemRatingOK) GetPayload

type PutUserRatingsItemTypeItemIDItemRatingParams

type PutUserRatingsItemTypeItemIDItemRatingParams struct {

	/*ItemID
	  ID of the ratings record that you wish to modify

	*/
	ItemID int64
	/*ItemRating
	  The updated rating number

	*/
	ItemRating int64
	/*ItemType
	  Item to update. Can be either 'series', 'episode', or 'image'

	*/
	ItemType string

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

PutUserRatingsItemTypeItemIDItemRatingParams contains all the parameters to send to the API endpoint for the put user ratings item type item ID item rating operation typically these are written to a http.Request

func NewPutUserRatingsItemTypeItemIDItemRatingParams

func NewPutUserRatingsItemTypeItemIDItemRatingParams() *PutUserRatingsItemTypeItemIDItemRatingParams

NewPutUserRatingsItemTypeItemIDItemRatingParams creates a new PutUserRatingsItemTypeItemIDItemRatingParams object with the default values initialized.

func NewPutUserRatingsItemTypeItemIDItemRatingParamsWithContext

func NewPutUserRatingsItemTypeItemIDItemRatingParamsWithContext(ctx context.Context) *PutUserRatingsItemTypeItemIDItemRatingParams

NewPutUserRatingsItemTypeItemIDItemRatingParamsWithContext creates a new PutUserRatingsItemTypeItemIDItemRatingParams object with the default values initialized, and the ability to set a context for a request

func NewPutUserRatingsItemTypeItemIDItemRatingParamsWithHTTPClient

func NewPutUserRatingsItemTypeItemIDItemRatingParamsWithHTTPClient(client *http.Client) *PutUserRatingsItemTypeItemIDItemRatingParams

NewPutUserRatingsItemTypeItemIDItemRatingParamsWithHTTPClient creates a new PutUserRatingsItemTypeItemIDItemRatingParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPutUserRatingsItemTypeItemIDItemRatingParamsWithTimeout

func NewPutUserRatingsItemTypeItemIDItemRatingParamsWithTimeout(timeout time.Duration) *PutUserRatingsItemTypeItemIDItemRatingParams

NewPutUserRatingsItemTypeItemIDItemRatingParamsWithTimeout creates a new PutUserRatingsItemTypeItemIDItemRatingParams object with the default values initialized, and the ability to set a timeout on a request

func (*PutUserRatingsItemTypeItemIDItemRatingParams) SetContext

SetContext adds the context to the put user ratings item type item ID item rating params

func (*PutUserRatingsItemTypeItemIDItemRatingParams) SetHTTPClient

func (o *PutUserRatingsItemTypeItemIDItemRatingParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put user ratings item type item ID item rating params

func (*PutUserRatingsItemTypeItemIDItemRatingParams) SetItemID

SetItemID adds the itemId to the put user ratings item type item ID item rating params

func (*PutUserRatingsItemTypeItemIDItemRatingParams) SetItemRating

func (o *PutUserRatingsItemTypeItemIDItemRatingParams) SetItemRating(itemRating int64)

SetItemRating adds the itemRating to the put user ratings item type item ID item rating params

func (*PutUserRatingsItemTypeItemIDItemRatingParams) SetItemType

func (o *PutUserRatingsItemTypeItemIDItemRatingParams) SetItemType(itemType string)

SetItemType adds the itemType to the put user ratings item type item ID item rating params

func (*PutUserRatingsItemTypeItemIDItemRatingParams) SetTimeout

SetTimeout adds the timeout to the put user ratings item type item ID item rating params

func (*PutUserRatingsItemTypeItemIDItemRatingParams) WithContext

WithContext adds the context to the put user ratings item type item ID item rating params

func (*PutUserRatingsItemTypeItemIDItemRatingParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put user ratings item type item ID item rating params

func (*PutUserRatingsItemTypeItemIDItemRatingParams) WithItemID

WithItemID adds the itemID to the put user ratings item type item ID item rating params

func (*PutUserRatingsItemTypeItemIDItemRatingParams) WithItemRating

WithItemRating adds the itemRating to the put user ratings item type item ID item rating params

func (*PutUserRatingsItemTypeItemIDItemRatingParams) WithItemType

WithItemType adds the itemType to the put user ratings item type item ID item rating params

func (*PutUserRatingsItemTypeItemIDItemRatingParams) WithTimeout

WithTimeout adds the timeout to the put user ratings item type item ID item rating params

func (*PutUserRatingsItemTypeItemIDItemRatingParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutUserRatingsItemTypeItemIDItemRatingReader

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

PutUserRatingsItemTypeItemIDItemRatingReader is a Reader for the PutUserRatingsItemTypeItemIDItemRating structure.

func (*PutUserRatingsItemTypeItemIDItemRatingReader) ReadResponse

func (o *PutUserRatingsItemTypeItemIDItemRatingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutUserRatingsItemTypeItemIDItemRatingUnauthorized

type PutUserRatingsItemTypeItemIDItemRatingUnauthorized struct {
	Payload *models.NotAuthorized
}

PutUserRatingsItemTypeItemIDItemRatingUnauthorized handles this case with default header values.

Returned if your JWT token is missing or expired

func NewPutUserRatingsItemTypeItemIDItemRatingUnauthorized

func NewPutUserRatingsItemTypeItemIDItemRatingUnauthorized() *PutUserRatingsItemTypeItemIDItemRatingUnauthorized

NewPutUserRatingsItemTypeItemIDItemRatingUnauthorized creates a PutUserRatingsItemTypeItemIDItemRatingUnauthorized with default headers values

func (*PutUserRatingsItemTypeItemIDItemRatingUnauthorized) Error

func (*PutUserRatingsItemTypeItemIDItemRatingUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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