Skip to content

Latest commit

 

History

History
160 lines (87 loc) · 4.05 KB

Ratings.md

File metadata and controls

160 lines (87 loc) · 4.05 KB

Ratings

Properties

Name Type Description Notes
Imdb Pointer to RatingChild [optional]
Tmdb Pointer to RatingChild [optional]
Metacritic Pointer to RatingChild [optional]
RottenTomatoes Pointer to RatingChild [optional]
Trakt Pointer to RatingChild [optional]

Methods

NewRatings

func NewRatings() *Ratings

NewRatings instantiates a new Ratings object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewRatingsWithDefaults

func NewRatingsWithDefaults() *Ratings

NewRatingsWithDefaults instantiates a new Ratings object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetImdb

func (o *Ratings) GetImdb() RatingChild

GetImdb returns the Imdb field if non-nil, zero value otherwise.

GetImdbOk

func (o *Ratings) GetImdbOk() (*RatingChild, bool)

GetImdbOk returns a tuple with the Imdb field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetImdb

func (o *Ratings) SetImdb(v RatingChild)

SetImdb sets Imdb field to given value.

HasImdb

func (o *Ratings) HasImdb() bool

HasImdb returns a boolean if a field has been set.

GetTmdb

func (o *Ratings) GetTmdb() RatingChild

GetTmdb returns the Tmdb field if non-nil, zero value otherwise.

GetTmdbOk

func (o *Ratings) GetTmdbOk() (*RatingChild, bool)

GetTmdbOk returns a tuple with the Tmdb field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTmdb

func (o *Ratings) SetTmdb(v RatingChild)

SetTmdb sets Tmdb field to given value.

HasTmdb

func (o *Ratings) HasTmdb() bool

HasTmdb returns a boolean if a field has been set.

GetMetacritic

func (o *Ratings) GetMetacritic() RatingChild

GetMetacritic returns the Metacritic field if non-nil, zero value otherwise.

GetMetacriticOk

func (o *Ratings) GetMetacriticOk() (*RatingChild, bool)

GetMetacriticOk returns a tuple with the Metacritic field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMetacritic

func (o *Ratings) SetMetacritic(v RatingChild)

SetMetacritic sets Metacritic field to given value.

HasMetacritic

func (o *Ratings) HasMetacritic() bool

HasMetacritic returns a boolean if a field has been set.

GetRottenTomatoes

func (o *Ratings) GetRottenTomatoes() RatingChild

GetRottenTomatoes returns the RottenTomatoes field if non-nil, zero value otherwise.

GetRottenTomatoesOk

func (o *Ratings) GetRottenTomatoesOk() (*RatingChild, bool)

GetRottenTomatoesOk returns a tuple with the RottenTomatoes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRottenTomatoes

func (o *Ratings) SetRottenTomatoes(v RatingChild)

SetRottenTomatoes sets RottenTomatoes field to given value.

HasRottenTomatoes

func (o *Ratings) HasRottenTomatoes() bool

HasRottenTomatoes returns a boolean if a field has been set.

GetTrakt

func (o *Ratings) GetTrakt() RatingChild

GetTrakt returns the Trakt field if non-nil, zero value otherwise.

GetTraktOk

func (o *Ratings) GetTraktOk() (*RatingChild, bool)

GetTraktOk returns a tuple with the Trakt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTrakt

func (o *Ratings) SetTrakt(v RatingChild)

SetTrakt sets Trakt field to given value.

HasTrakt

func (o *Ratings) HasTrakt() bool

HasTrakt returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]