Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteUserFavoritesID(params *DeleteUserFavoritesIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserFavoritesIDOK, error)
- func (a *Client) DeleteUserRatingsItemTypeItemID(params *DeleteUserRatingsItemTypeItemIDParams, ...) (*DeleteUserRatingsItemTypeItemIDOK, error)
- func (a *Client) GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserOK, error)
- func (a *Client) GetUserFavorites(params *GetUserFavoritesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserFavoritesOK, error)
- func (a *Client) GetUserRatings(params *GetUserRatingsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserRatingsOK, error)
- func (a *Client) GetUserRatingsQuery(params *GetUserRatingsQueryParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserRatingsQueryOK, error)
- func (a *Client) GetUserRatingsQueryParams(params *GetUserRatingsQueryParamsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserRatingsQueryParamsOK, error)
- func (a *Client) PutUserFavoritesID(params *PutUserFavoritesIDParams, authInfo runtime.ClientAuthInfoWriter) (*PutUserFavoritesIDOK, error)
- func (a *Client) PutUserRatingsItemTypeItemIDItemRating(params *PutUserRatingsItemTypeItemIDItemRatingParams, ...) (*PutUserRatingsItemTypeItemIDItemRatingOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type DeleteUserFavoritesIDConflict
- type DeleteUserFavoritesIDNotFound
- type DeleteUserFavoritesIDOK
- type DeleteUserFavoritesIDParams
- func NewDeleteUserFavoritesIDParams() *DeleteUserFavoritesIDParams
- func NewDeleteUserFavoritesIDParamsWithContext(ctx context.Context) *DeleteUserFavoritesIDParams
- func NewDeleteUserFavoritesIDParamsWithHTTPClient(client *http.Client) *DeleteUserFavoritesIDParams
- func NewDeleteUserFavoritesIDParamsWithTimeout(timeout time.Duration) *DeleteUserFavoritesIDParams
- func (o *DeleteUserFavoritesIDParams) SetContext(ctx context.Context)
- func (o *DeleteUserFavoritesIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteUserFavoritesIDParams) SetID(id int64)
- func (o *DeleteUserFavoritesIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteUserFavoritesIDParams) WithContext(ctx context.Context) *DeleteUserFavoritesIDParams
- func (o *DeleteUserFavoritesIDParams) WithHTTPClient(client *http.Client) *DeleteUserFavoritesIDParams
- func (o *DeleteUserFavoritesIDParams) WithID(id int64) *DeleteUserFavoritesIDParams
- func (o *DeleteUserFavoritesIDParams) WithTimeout(timeout time.Duration) *DeleteUserFavoritesIDParams
- func (o *DeleteUserFavoritesIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteUserFavoritesIDReader
- type DeleteUserFavoritesIDUnauthorized
- type DeleteUserRatingsItemTypeItemIDNotFound
- type DeleteUserRatingsItemTypeItemIDOK
- type DeleteUserRatingsItemTypeItemIDParams
- func NewDeleteUserRatingsItemTypeItemIDParams() *DeleteUserRatingsItemTypeItemIDParams
- func NewDeleteUserRatingsItemTypeItemIDParamsWithContext(ctx context.Context) *DeleteUserRatingsItemTypeItemIDParams
- func NewDeleteUserRatingsItemTypeItemIDParamsWithHTTPClient(client *http.Client) *DeleteUserRatingsItemTypeItemIDParams
- func NewDeleteUserRatingsItemTypeItemIDParamsWithTimeout(timeout time.Duration) *DeleteUserRatingsItemTypeItemIDParams
- func (o *DeleteUserRatingsItemTypeItemIDParams) SetContext(ctx context.Context)
- func (o *DeleteUserRatingsItemTypeItemIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteUserRatingsItemTypeItemIDParams) SetItemID(itemID int64)
- func (o *DeleteUserRatingsItemTypeItemIDParams) SetItemType(itemType string)
- func (o *DeleteUserRatingsItemTypeItemIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteUserRatingsItemTypeItemIDParams) WithContext(ctx context.Context) *DeleteUserRatingsItemTypeItemIDParams
- func (o *DeleteUserRatingsItemTypeItemIDParams) WithHTTPClient(client *http.Client) *DeleteUserRatingsItemTypeItemIDParams
- func (o *DeleteUserRatingsItemTypeItemIDParams) WithItemID(itemID int64) *DeleteUserRatingsItemTypeItemIDParams
- func (o *DeleteUserRatingsItemTypeItemIDParams) WithItemType(itemType string) *DeleteUserRatingsItemTypeItemIDParams
- func (o *DeleteUserRatingsItemTypeItemIDParams) WithTimeout(timeout time.Duration) *DeleteUserRatingsItemTypeItemIDParams
- func (o *DeleteUserRatingsItemTypeItemIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteUserRatingsItemTypeItemIDReader
- type DeleteUserRatingsItemTypeItemIDUnauthorized
- type GetUserFavoritesNotFound
- type GetUserFavoritesOK
- type GetUserFavoritesParams
- func NewGetUserFavoritesParams() *GetUserFavoritesParams
- func NewGetUserFavoritesParamsWithContext(ctx context.Context) *GetUserFavoritesParams
- func NewGetUserFavoritesParamsWithHTTPClient(client *http.Client) *GetUserFavoritesParams
- func NewGetUserFavoritesParamsWithTimeout(timeout time.Duration) *GetUserFavoritesParams
- func (o *GetUserFavoritesParams) SetContext(ctx context.Context)
- func (o *GetUserFavoritesParams) SetHTTPClient(client *http.Client)
- func (o *GetUserFavoritesParams) SetTimeout(timeout time.Duration)
- func (o *GetUserFavoritesParams) WithContext(ctx context.Context) *GetUserFavoritesParams
- func (o *GetUserFavoritesParams) WithHTTPClient(client *http.Client) *GetUserFavoritesParams
- func (o *GetUserFavoritesParams) WithTimeout(timeout time.Duration) *GetUserFavoritesParams
- func (o *GetUserFavoritesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserFavoritesReader
- type GetUserFavoritesUnauthorized
- type GetUserNotFound
- type GetUserOK
- type GetUserParams
- func (o *GetUserParams) SetContext(ctx context.Context)
- func (o *GetUserParams) SetHTTPClient(client *http.Client)
- func (o *GetUserParams) SetTimeout(timeout time.Duration)
- func (o *GetUserParams) WithContext(ctx context.Context) *GetUserParams
- func (o *GetUserParams) WithHTTPClient(client *http.Client) *GetUserParams
- func (o *GetUserParams) WithTimeout(timeout time.Duration) *GetUserParams
- func (o *GetUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserRatingsNotFound
- type GetUserRatingsOK
- type GetUserRatingsParams
- func NewGetUserRatingsParams() *GetUserRatingsParams
- func NewGetUserRatingsParamsWithContext(ctx context.Context) *GetUserRatingsParams
- func NewGetUserRatingsParamsWithHTTPClient(client *http.Client) *GetUserRatingsParams
- func NewGetUserRatingsParamsWithTimeout(timeout time.Duration) *GetUserRatingsParams
- func (o *GetUserRatingsParams) SetContext(ctx context.Context)
- func (o *GetUserRatingsParams) SetHTTPClient(client *http.Client)
- func (o *GetUserRatingsParams) SetTimeout(timeout time.Duration)
- func (o *GetUserRatingsParams) WithContext(ctx context.Context) *GetUserRatingsParams
- func (o *GetUserRatingsParams) WithHTTPClient(client *http.Client) *GetUserRatingsParams
- func (o *GetUserRatingsParams) WithTimeout(timeout time.Duration) *GetUserRatingsParams
- func (o *GetUserRatingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserRatingsQueryNotFound
- type GetUserRatingsQueryOK
- type GetUserRatingsQueryParams
- func NewGetUserRatingsQueryParams() *GetUserRatingsQueryParams
- func NewGetUserRatingsQueryParamsWithContext(ctx context.Context) *GetUserRatingsQueryParams
- func NewGetUserRatingsQueryParamsWithHTTPClient(client *http.Client) *GetUserRatingsQueryParams
- func NewGetUserRatingsQueryParamsWithTimeout(timeout time.Duration) *GetUserRatingsQueryParams
- func (o *GetUserRatingsQueryParams) SetContext(ctx context.Context)
- func (o *GetUserRatingsQueryParams) SetHTTPClient(client *http.Client)
- func (o *GetUserRatingsQueryParams) SetItemType(itemType *string)
- func (o *GetUserRatingsQueryParams) SetTimeout(timeout time.Duration)
- func (o *GetUserRatingsQueryParams) WithContext(ctx context.Context) *GetUserRatingsQueryParams
- func (o *GetUserRatingsQueryParams) WithHTTPClient(client *http.Client) *GetUserRatingsQueryParams
- func (o *GetUserRatingsQueryParams) WithItemType(itemType *string) *GetUserRatingsQueryParams
- func (o *GetUserRatingsQueryParams) WithTimeout(timeout time.Duration) *GetUserRatingsQueryParams
- func (o *GetUserRatingsQueryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserRatingsQueryParamsNotFound
- type GetUserRatingsQueryParamsOK
- type GetUserRatingsQueryParamsParams
- func NewGetUserRatingsQueryParamsParams() *GetUserRatingsQueryParamsParams
- func NewGetUserRatingsQueryParamsParamsWithContext(ctx context.Context) *GetUserRatingsQueryParamsParams
- func NewGetUserRatingsQueryParamsParamsWithHTTPClient(client *http.Client) *GetUserRatingsQueryParamsParams
- func NewGetUserRatingsQueryParamsParamsWithTimeout(timeout time.Duration) *GetUserRatingsQueryParamsParams
- func (o *GetUserRatingsQueryParamsParams) SetContext(ctx context.Context)
- func (o *GetUserRatingsQueryParamsParams) SetHTTPClient(client *http.Client)
- func (o *GetUserRatingsQueryParamsParams) SetTimeout(timeout time.Duration)
- func (o *GetUserRatingsQueryParamsParams) WithContext(ctx context.Context) *GetUserRatingsQueryParamsParams
- func (o *GetUserRatingsQueryParamsParams) WithHTTPClient(client *http.Client) *GetUserRatingsQueryParamsParams
- func (o *GetUserRatingsQueryParamsParams) WithTimeout(timeout time.Duration) *GetUserRatingsQueryParamsParams
- func (o *GetUserRatingsQueryParamsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserRatingsQueryParamsReader
- type GetUserRatingsQueryParamsUnauthorized
- type GetUserRatingsQueryReader
- type GetUserRatingsQueryUnauthorized
- type GetUserRatingsReader
- type GetUserRatingsUnauthorized
- type GetUserReader
- type GetUserUnauthorized
- type PutUserFavoritesIDConflict
- type PutUserFavoritesIDNotFound
- type PutUserFavoritesIDOK
- type PutUserFavoritesIDParams
- func NewPutUserFavoritesIDParams() *PutUserFavoritesIDParams
- func NewPutUserFavoritesIDParamsWithContext(ctx context.Context) *PutUserFavoritesIDParams
- func NewPutUserFavoritesIDParamsWithHTTPClient(client *http.Client) *PutUserFavoritesIDParams
- func NewPutUserFavoritesIDParamsWithTimeout(timeout time.Duration) *PutUserFavoritesIDParams
- func (o *PutUserFavoritesIDParams) SetContext(ctx context.Context)
- func (o *PutUserFavoritesIDParams) SetHTTPClient(client *http.Client)
- func (o *PutUserFavoritesIDParams) SetID(id int64)
- func (o *PutUserFavoritesIDParams) SetTimeout(timeout time.Duration)
- func (o *PutUserFavoritesIDParams) WithContext(ctx context.Context) *PutUserFavoritesIDParams
- func (o *PutUserFavoritesIDParams) WithHTTPClient(client *http.Client) *PutUserFavoritesIDParams
- func (o *PutUserFavoritesIDParams) WithID(id int64) *PutUserFavoritesIDParams
- func (o *PutUserFavoritesIDParams) WithTimeout(timeout time.Duration) *PutUserFavoritesIDParams
- func (o *PutUserFavoritesIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutUserFavoritesIDReader
- type PutUserFavoritesIDUnauthorized
- type PutUserRatingsItemTypeItemIDItemRatingNotFound
- type PutUserRatingsItemTypeItemIDItemRatingOK
- type PutUserRatingsItemTypeItemIDItemRatingParams
- func NewPutUserRatingsItemTypeItemIDItemRatingParams() *PutUserRatingsItemTypeItemIDItemRatingParams
- func NewPutUserRatingsItemTypeItemIDItemRatingParamsWithContext(ctx context.Context) *PutUserRatingsItemTypeItemIDItemRatingParams
- func NewPutUserRatingsItemTypeItemIDItemRatingParamsWithHTTPClient(client *http.Client) *PutUserRatingsItemTypeItemIDItemRatingParams
- func NewPutUserRatingsItemTypeItemIDItemRatingParamsWithTimeout(timeout time.Duration) *PutUserRatingsItemTypeItemIDItemRatingParams
- func (o *PutUserRatingsItemTypeItemIDItemRatingParams) SetContext(ctx context.Context)
- func (o *PutUserRatingsItemTypeItemIDItemRatingParams) SetHTTPClient(client *http.Client)
- func (o *PutUserRatingsItemTypeItemIDItemRatingParams) SetItemID(itemID int64)
- func (o *PutUserRatingsItemTypeItemIDItemRatingParams) SetItemRating(itemRating int64)
- func (o *PutUserRatingsItemTypeItemIDItemRatingParams) SetItemType(itemType string)
- func (o *PutUserRatingsItemTypeItemIDItemRatingParams) SetTimeout(timeout time.Duration)
- func (o *PutUserRatingsItemTypeItemIDItemRatingParams) WithContext(ctx context.Context) *PutUserRatingsItemTypeItemIDItemRatingParams
- func (o *PutUserRatingsItemTypeItemIDItemRatingParams) WithHTTPClient(client *http.Client) *PutUserRatingsItemTypeItemIDItemRatingParams
- func (o *PutUserRatingsItemTypeItemIDItemRatingParams) WithItemID(itemID int64) *PutUserRatingsItemTypeItemIDItemRatingParams
- func (o *PutUserRatingsItemTypeItemIDItemRatingParams) WithItemRating(itemRating int64) *PutUserRatingsItemTypeItemIDItemRatingParams
- func (o *PutUserRatingsItemTypeItemIDItemRatingParams) WithItemType(itemType string) *PutUserRatingsItemTypeItemIDItemRatingParams
- func (o *PutUserRatingsItemTypeItemIDItemRatingParams) WithTimeout(timeout time.Duration) *PutUserRatingsItemTypeItemIDItemRatingParams
- func (o *PutUserRatingsItemTypeItemIDItemRatingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutUserRatingsItemTypeItemIDItemRatingReader
- type PutUserRatingsItemTypeItemIDItemRatingUnauthorized
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 ¶
func (a *Client) PutUserRatingsItemTypeItemIDItemRating(params *PutUserRatingsItemTypeItemIDItemRatingParams, authInfo runtime.ClientAuthInfoWriter) (*PutUserRatingsItemTypeItemIDItemRatingOK, error)
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 ¶
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 (o *DeleteUserFavoritesIDConflict) Error() string
func (*DeleteUserFavoritesIDConflict) GetPayload ¶
func (o *DeleteUserFavoritesIDConflict) GetPayload() *models.Conflict
type DeleteUserFavoritesIDNotFound ¶
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 (o *DeleteUserFavoritesIDNotFound) Error() string
func (*DeleteUserFavoritesIDNotFound) GetPayload ¶
func (o *DeleteUserFavoritesIDNotFound) GetPayload() *models.NotFound
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 ¶
func (o *DeleteUserFavoritesIDOK) GetPayload() *models.UserFavoritesData
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 ¶
func (o *DeleteUserFavoritesIDParams) WithContext(ctx context.Context) *DeleteUserFavoritesIDParams
WithContext adds the context to the delete user favorites ID params
func (*DeleteUserFavoritesIDParams) WithHTTPClient ¶
func (o *DeleteUserFavoritesIDParams) WithHTTPClient(client *http.Client) *DeleteUserFavoritesIDParams
WithHTTPClient adds the HTTPClient to the delete user favorites ID params
func (*DeleteUserFavoritesIDParams) WithID ¶
func (o *DeleteUserFavoritesIDParams) WithID(id int64) *DeleteUserFavoritesIDParams
WithID adds the id to the delete user favorites ID params
func (*DeleteUserFavoritesIDParams) WithTimeout ¶
func (o *DeleteUserFavoritesIDParams) WithTimeout(timeout time.Duration) *DeleteUserFavoritesIDParams
WithTimeout adds the timeout to the delete user favorites ID params
func (*DeleteUserFavoritesIDParams) WriteToRequest ¶
func (o *DeleteUserFavoritesIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *DeleteUserFavoritesIDUnauthorized) Error() string
func (*DeleteUserFavoritesIDUnauthorized) GetPayload ¶
func (o *DeleteUserFavoritesIDUnauthorized) GetPayload() *models.NotAuthorized
type DeleteUserRatingsItemTypeItemIDNotFound ¶
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 (o *DeleteUserRatingsItemTypeItemIDNotFound) Error() string
func (*DeleteUserRatingsItemTypeItemIDNotFound) GetPayload ¶
func (o *DeleteUserRatingsItemTypeItemIDNotFound) GetPayload() *models.NotFound
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 (o *DeleteUserRatingsItemTypeItemIDOK) Error() string
func (*DeleteUserRatingsItemTypeItemIDOK) GetPayload ¶
func (o *DeleteUserRatingsItemTypeItemIDOK) GetPayload() *models.UserRatingsDataNoLinksEmptyArray
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 ¶
func (o *DeleteUserRatingsItemTypeItemIDParams) SetContext(ctx context.Context)
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 ¶
func (o *DeleteUserRatingsItemTypeItemIDParams) WithContext(ctx context.Context) *DeleteUserRatingsItemTypeItemIDParams
WithContext adds the context to the delete user ratings item type item ID params
func (*DeleteUserRatingsItemTypeItemIDParams) WithHTTPClient ¶
func (o *DeleteUserRatingsItemTypeItemIDParams) WithHTTPClient(client *http.Client) *DeleteUserRatingsItemTypeItemIDParams
WithHTTPClient adds the HTTPClient to the delete user ratings item type item ID params
func (*DeleteUserRatingsItemTypeItemIDParams) WithItemID ¶
func (o *DeleteUserRatingsItemTypeItemIDParams) WithItemID(itemID int64) *DeleteUserRatingsItemTypeItemIDParams
WithItemID adds the itemID to the delete user ratings item type item ID params
func (*DeleteUserRatingsItemTypeItemIDParams) WithItemType ¶
func (o *DeleteUserRatingsItemTypeItemIDParams) WithItemType(itemType string) *DeleteUserRatingsItemTypeItemIDParams
WithItemType adds the itemType to the delete user ratings item type item ID params
func (*DeleteUserRatingsItemTypeItemIDParams) WithTimeout ¶
func (o *DeleteUserRatingsItemTypeItemIDParams) WithTimeout(timeout time.Duration) *DeleteUserRatingsItemTypeItemIDParams
WithTimeout adds the timeout to the delete user ratings item type item ID params
func (*DeleteUserRatingsItemTypeItemIDParams) WriteToRequest ¶
func (o *DeleteUserRatingsItemTypeItemIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *DeleteUserRatingsItemTypeItemIDUnauthorized) Error() string
func (*DeleteUserRatingsItemTypeItemIDUnauthorized) GetPayload ¶
func (o *DeleteUserRatingsItemTypeItemIDUnauthorized) GetPayload() *models.NotAuthorized
type GetUserFavoritesNotFound ¶
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 ¶
func (o *GetUserFavoritesParams) WithContext(ctx context.Context) *GetUserFavoritesParams
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 ¶
func (o *GetUserFavoritesParams) WithTimeout(timeout time.Duration) *GetUserFavoritesParams
WithTimeout adds the timeout to the get user favorites params
func (*GetUserFavoritesParams) WriteToRequest ¶
func (o *GetUserFavoritesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetUserFavoritesUnauthorized) Error() string
func (*GetUserFavoritesUnauthorized) GetPayload ¶
func (o *GetUserFavoritesUnauthorized) GetPayload() *models.NotAuthorized
type GetUserNotFound ¶
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 ¶
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) GetPayload ¶
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 ¶
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 ¶
func (o *GetUserRatingsParams) WithContext(ctx context.Context) *GetUserRatingsParams
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 ¶
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 (o *GetUserRatingsQueryNotFound) Error() string
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 ¶
func (o *GetUserRatingsQueryParams) WithContext(ctx context.Context) *GetUserRatingsQueryParams
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 ¶
func (o *GetUserRatingsQueryParams) WithTimeout(timeout time.Duration) *GetUserRatingsQueryParams
WithTimeout adds the timeout to the get user ratings query params
func (*GetUserRatingsQueryParams) WriteToRequest ¶
func (o *GetUserRatingsQueryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserRatingsQueryParamsNotFound ¶
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 (o *GetUserRatingsQueryParamsNotFound) Error() string
func (*GetUserRatingsQueryParamsNotFound) GetPayload ¶
func (o *GetUserRatingsQueryParamsNotFound) GetPayload() *models.NotFound
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 (o *GetUserRatingsQueryParamsOK) Error() string
func (*GetUserRatingsQueryParamsOK) GetPayload ¶
func (o *GetUserRatingsQueryParamsOK) GetPayload() *models.UserRatingsQueryParams
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 ¶
func (o *GetUserRatingsQueryParamsParams) WithContext(ctx context.Context) *GetUserRatingsQueryParamsParams
WithContext adds the context to the get user ratings query params params
func (*GetUserRatingsQueryParamsParams) WithHTTPClient ¶
func (o *GetUserRatingsQueryParamsParams) WithHTTPClient(client *http.Client) *GetUserRatingsQueryParamsParams
WithHTTPClient adds the HTTPClient to the get user ratings query params params
func (*GetUserRatingsQueryParamsParams) WithTimeout ¶
func (o *GetUserRatingsQueryParamsParams) WithTimeout(timeout time.Duration) *GetUserRatingsQueryParamsParams
WithTimeout adds the timeout to the get user ratings query params params
func (*GetUserRatingsQueryParamsParams) WriteToRequest ¶
func (o *GetUserRatingsQueryParamsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetUserRatingsQueryParamsUnauthorized) Error() string
func (*GetUserRatingsQueryParamsUnauthorized) GetPayload ¶
func (o *GetUserRatingsQueryParamsUnauthorized) GetPayload() *models.NotAuthorized
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 {
}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 (o *GetUserRatingsQueryUnauthorized) Error() string
func (*GetUserRatingsQueryUnauthorized) GetPayload ¶
func (o *GetUserRatingsQueryUnauthorized) GetPayload() *models.NotAuthorized
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 {
}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 (o *GetUserRatingsUnauthorized) Error() string
func (*GetUserRatingsUnauthorized) GetPayload ¶
func (o *GetUserRatingsUnauthorized) GetPayload() *models.NotAuthorized
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 {
}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 ¶
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 (o *PutUserFavoritesIDConflict) Error() string
func (*PutUserFavoritesIDConflict) GetPayload ¶
func (o *PutUserFavoritesIDConflict) GetPayload() *models.Conflict
type PutUserFavoritesIDNotFound ¶
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 (o *PutUserFavoritesIDNotFound) Error() string
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 ¶
func (o *PutUserFavoritesIDOK) GetPayload() *models.UserFavoritesData
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 ¶
func (o *PutUserFavoritesIDParams) WithContext(ctx context.Context) *PutUserFavoritesIDParams
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 ¶
func (o *PutUserFavoritesIDParams) WithID(id int64) *PutUserFavoritesIDParams
WithID adds the id to the put user favorites ID params
func (*PutUserFavoritesIDParams) WithTimeout ¶
func (o *PutUserFavoritesIDParams) WithTimeout(timeout time.Duration) *PutUserFavoritesIDParams
WithTimeout adds the timeout to the put user favorites ID params
func (*PutUserFavoritesIDParams) WriteToRequest ¶
func (o *PutUserFavoritesIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *PutUserFavoritesIDUnauthorized) Error() string
func (*PutUserFavoritesIDUnauthorized) GetPayload ¶
func (o *PutUserFavoritesIDUnauthorized) GetPayload() *models.NotAuthorized
type PutUserRatingsItemTypeItemIDItemRatingNotFound ¶
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 (o *PutUserRatingsItemTypeItemIDItemRatingNotFound) Error() string
func (*PutUserRatingsItemTypeItemIDItemRatingNotFound) GetPayload ¶
func (o *PutUserRatingsItemTypeItemIDItemRatingNotFound) GetPayload() *models.NotFound
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 (o *PutUserRatingsItemTypeItemIDItemRatingOK) Error() string
func (*PutUserRatingsItemTypeItemIDItemRatingOK) GetPayload ¶
func (o *PutUserRatingsItemTypeItemIDItemRatingOK) GetPayload() *models.UserRatingsDataNoLinks
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 ¶
func (o *PutUserRatingsItemTypeItemIDItemRatingParams) SetContext(ctx context.Context)
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 ¶
func (o *PutUserRatingsItemTypeItemIDItemRatingParams) SetItemID(itemID int64)
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 ¶
func (o *PutUserRatingsItemTypeItemIDItemRatingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put user ratings item type item ID item rating params
func (*PutUserRatingsItemTypeItemIDItemRatingParams) WithContext ¶
func (o *PutUserRatingsItemTypeItemIDItemRatingParams) WithContext(ctx context.Context) *PutUserRatingsItemTypeItemIDItemRatingParams
WithContext adds the context to the put user ratings item type item ID item rating params
func (*PutUserRatingsItemTypeItemIDItemRatingParams) WithHTTPClient ¶
func (o *PutUserRatingsItemTypeItemIDItemRatingParams) WithHTTPClient(client *http.Client) *PutUserRatingsItemTypeItemIDItemRatingParams
WithHTTPClient adds the HTTPClient to the put user ratings item type item ID item rating params
func (*PutUserRatingsItemTypeItemIDItemRatingParams) WithItemID ¶
func (o *PutUserRatingsItemTypeItemIDItemRatingParams) WithItemID(itemID int64) *PutUserRatingsItemTypeItemIDItemRatingParams
WithItemID adds the itemID to the put user ratings item type item ID item rating params
func (*PutUserRatingsItemTypeItemIDItemRatingParams) WithItemRating ¶
func (o *PutUserRatingsItemTypeItemIDItemRatingParams) WithItemRating(itemRating int64) *PutUserRatingsItemTypeItemIDItemRatingParams
WithItemRating adds the itemRating to the put user ratings item type item ID item rating params
func (*PutUserRatingsItemTypeItemIDItemRatingParams) WithItemType ¶
func (o *PutUserRatingsItemTypeItemIDItemRatingParams) WithItemType(itemType string) *PutUserRatingsItemTypeItemIDItemRatingParams
WithItemType adds the itemType to the put user ratings item type item ID item rating params
func (*PutUserRatingsItemTypeItemIDItemRatingParams) WithTimeout ¶
func (o *PutUserRatingsItemTypeItemIDItemRatingParams) WithTimeout(timeout time.Duration) *PutUserRatingsItemTypeItemIDItemRatingParams
WithTimeout adds the timeout to the put user ratings item type item ID item rating params
func (*PutUserRatingsItemTypeItemIDItemRatingParams) WriteToRequest ¶
func (o *PutUserRatingsItemTypeItemIDItemRatingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *PutUserRatingsItemTypeItemIDItemRatingUnauthorized) Error() string
func (*PutUserRatingsItemTypeItemIDItemRatingUnauthorized) GetPayload ¶
func (o *PutUserRatingsItemTypeItemIDItemRatingUnauthorized) GetPayload() *models.NotAuthorized
Source Files
¶
- delete_user_favorites_id_parameters.go
- delete_user_favorites_id_responses.go
- delete_user_ratings_item_type_item_id_parameters.go
- delete_user_ratings_item_type_item_id_responses.go
- get_user_favorites_parameters.go
- get_user_favorites_responses.go
- get_user_parameters.go
- get_user_ratings_parameters.go
- get_user_ratings_query_parameters.go
- get_user_ratings_query_params_parameters.go
- get_user_ratings_query_params_responses.go
- get_user_ratings_query_responses.go
- get_user_ratings_responses.go
- get_user_responses.go
- put_user_favorites_id_parameters.go
- put_user_favorites_id_responses.go
- put_user_ratings_item_type_item_id_item_rating_parameters.go
- put_user_ratings_item_type_item_id_item_rating_responses.go
- users_client.go