Skip to content

Latest commit

 

History

History
186 lines (101 loc) · 4.56 KB

Collection.md

File metadata and controls

186 lines (101 loc) · 4.56 KB

Collection

Properties

Name Type Description Notes
Id Pointer to float32 [optional]
Name Pointer to string [optional]
Overview Pointer to string [optional]
PosterPath Pointer to string [optional]
BackdropPath Pointer to string [optional]
Parts Pointer to []MovieResult [optional]

Methods

NewCollection

func NewCollection() *Collection

NewCollection instantiates a new Collection 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

NewCollectionWithDefaults

func NewCollectionWithDefaults() *Collection

NewCollectionWithDefaults instantiates a new Collection 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

GetId

func (o *Collection) GetId() float32

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *Collection) GetIdOk() (*float32, bool)

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

SetId

func (o *Collection) SetId(v float32)

SetId sets Id field to given value.

HasId

func (o *Collection) HasId() bool

HasId returns a boolean if a field has been set.

GetName

func (o *Collection) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *Collection) GetNameOk() (*string, bool)

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

SetName

func (o *Collection) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *Collection) HasName() bool

HasName returns a boolean if a field has been set.

GetOverview

func (o *Collection) GetOverview() string

GetOverview returns the Overview field if non-nil, zero value otherwise.

GetOverviewOk

func (o *Collection) GetOverviewOk() (*string, bool)

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

SetOverview

func (o *Collection) SetOverview(v string)

SetOverview sets Overview field to given value.

HasOverview

func (o *Collection) HasOverview() bool

HasOverview returns a boolean if a field has been set.

GetPosterPath

func (o *Collection) GetPosterPath() string

GetPosterPath returns the PosterPath field if non-nil, zero value otherwise.

GetPosterPathOk

func (o *Collection) GetPosterPathOk() (*string, bool)

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

SetPosterPath

func (o *Collection) SetPosterPath(v string)

SetPosterPath sets PosterPath field to given value.

HasPosterPath

func (o *Collection) HasPosterPath() bool

HasPosterPath returns a boolean if a field has been set.

GetBackdropPath

func (o *Collection) GetBackdropPath() string

GetBackdropPath returns the BackdropPath field if non-nil, zero value otherwise.

GetBackdropPathOk

func (o *Collection) GetBackdropPathOk() (*string, bool)

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

SetBackdropPath

func (o *Collection) SetBackdropPath(v string)

SetBackdropPath sets BackdropPath field to given value.

HasBackdropPath

func (o *Collection) HasBackdropPath() bool

HasBackdropPath returns a boolean if a field has been set.

GetParts

func (o *Collection) GetParts() []MovieResult

GetParts returns the Parts field if non-nil, zero value otherwise.

GetPartsOk

func (o *Collection) GetPartsOk() (*[]MovieResult, bool)

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

SetParts

func (o *Collection) SetParts(v []MovieResult)

SetParts sets Parts field to given value.

HasParts

func (o *Collection) HasParts() bool

HasParts returns a boolean if a field has been set.

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