Skip to content

Latest commit

 

History

History
470 lines (257 loc) · 12.7 KB

HistoryResource.md

File metadata and controls

470 lines (257 loc) · 12.7 KB

HistoryResource

Properties

Name Type Description Notes
Id Pointer to int32 [optional]
EpisodeId Pointer to int32 [optional]
SeriesId Pointer to int32 [optional]
SourceTitle Pointer to NullableString [optional]
Languages Pointer to []Language [optional]
Quality Pointer to QualityModel [optional]
CustomFormats Pointer to []CustomFormatResource [optional]
CustomFormatScore Pointer to int32 [optional]
QualityCutoffNotMet Pointer to bool [optional]
Date Pointer to time.Time [optional]
DownloadId Pointer to NullableString [optional]
EventType Pointer to EpisodeHistoryEventType [optional]
Data Pointer to map[string]string [optional]
Episode Pointer to EpisodeResource [optional]
Series Pointer to SeriesResource [optional]

Methods

NewHistoryResource

func NewHistoryResource() *HistoryResource

NewHistoryResource instantiates a new HistoryResource 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

NewHistoryResourceWithDefaults

func NewHistoryResourceWithDefaults() *HistoryResource

NewHistoryResourceWithDefaults instantiates a new HistoryResource 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 *HistoryResource) GetId() int32

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

GetIdOk

func (o *HistoryResource) GetIdOk() (*int32, 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 *HistoryResource) SetId(v int32)

SetId sets Id field to given value.

HasId

func (o *HistoryResource) HasId() bool

HasId returns a boolean if a field has been set.

GetEpisodeId

func (o *HistoryResource) GetEpisodeId() int32

GetEpisodeId returns the EpisodeId field if non-nil, zero value otherwise.

GetEpisodeIdOk

func (o *HistoryResource) GetEpisodeIdOk() (*int32, bool)

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

SetEpisodeId

func (o *HistoryResource) SetEpisodeId(v int32)

SetEpisodeId sets EpisodeId field to given value.

HasEpisodeId

func (o *HistoryResource) HasEpisodeId() bool

HasEpisodeId returns a boolean if a field has been set.

GetSeriesId

func (o *HistoryResource) GetSeriesId() int32

GetSeriesId returns the SeriesId field if non-nil, zero value otherwise.

GetSeriesIdOk

func (o *HistoryResource) GetSeriesIdOk() (*int32, bool)

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

SetSeriesId

func (o *HistoryResource) SetSeriesId(v int32)

SetSeriesId sets SeriesId field to given value.

HasSeriesId

func (o *HistoryResource) HasSeriesId() bool

HasSeriesId returns a boolean if a field has been set.

GetSourceTitle

func (o *HistoryResource) GetSourceTitle() string

GetSourceTitle returns the SourceTitle field if non-nil, zero value otherwise.

GetSourceTitleOk

func (o *HistoryResource) GetSourceTitleOk() (*string, bool)

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

SetSourceTitle

func (o *HistoryResource) SetSourceTitle(v string)

SetSourceTitle sets SourceTitle field to given value.

HasSourceTitle

func (o *HistoryResource) HasSourceTitle() bool

HasSourceTitle returns a boolean if a field has been set.

SetSourceTitleNil

func (o *HistoryResource) SetSourceTitleNil(b bool)

SetSourceTitleNil sets the value for SourceTitle to be an explicit nil

UnsetSourceTitle

func (o *HistoryResource) UnsetSourceTitle()

UnsetSourceTitle ensures that no value is present for SourceTitle, not even an explicit nil

GetLanguages

func (o *HistoryResource) GetLanguages() []Language

GetLanguages returns the Languages field if non-nil, zero value otherwise.

GetLanguagesOk

func (o *HistoryResource) GetLanguagesOk() (*[]Language, bool)

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

SetLanguages

func (o *HistoryResource) SetLanguages(v []Language)

SetLanguages sets Languages field to given value.

HasLanguages

func (o *HistoryResource) HasLanguages() bool

HasLanguages returns a boolean if a field has been set.

SetLanguagesNil

func (o *HistoryResource) SetLanguagesNil(b bool)

SetLanguagesNil sets the value for Languages to be an explicit nil

UnsetLanguages

func (o *HistoryResource) UnsetLanguages()

UnsetLanguages ensures that no value is present for Languages, not even an explicit nil

GetQuality

func (o *HistoryResource) GetQuality() QualityModel

GetQuality returns the Quality field if non-nil, zero value otherwise.

GetQualityOk

func (o *HistoryResource) GetQualityOk() (*QualityModel, bool)

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

SetQuality

func (o *HistoryResource) SetQuality(v QualityModel)

SetQuality sets Quality field to given value.

HasQuality

func (o *HistoryResource) HasQuality() bool

HasQuality returns a boolean if a field has been set.

GetCustomFormats

func (o *HistoryResource) GetCustomFormats() []CustomFormatResource

GetCustomFormats returns the CustomFormats field if non-nil, zero value otherwise.

GetCustomFormatsOk

func (o *HistoryResource) GetCustomFormatsOk() (*[]CustomFormatResource, bool)

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

SetCustomFormats

func (o *HistoryResource) SetCustomFormats(v []CustomFormatResource)

SetCustomFormats sets CustomFormats field to given value.

HasCustomFormats

func (o *HistoryResource) HasCustomFormats() bool

HasCustomFormats returns a boolean if a field has been set.

SetCustomFormatsNil

func (o *HistoryResource) SetCustomFormatsNil(b bool)

SetCustomFormatsNil sets the value for CustomFormats to be an explicit nil

UnsetCustomFormats

func (o *HistoryResource) UnsetCustomFormats()

UnsetCustomFormats ensures that no value is present for CustomFormats, not even an explicit nil

GetCustomFormatScore

func (o *HistoryResource) GetCustomFormatScore() int32

GetCustomFormatScore returns the CustomFormatScore field if non-nil, zero value otherwise.

GetCustomFormatScoreOk

func (o *HistoryResource) GetCustomFormatScoreOk() (*int32, bool)

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

SetCustomFormatScore

func (o *HistoryResource) SetCustomFormatScore(v int32)

SetCustomFormatScore sets CustomFormatScore field to given value.

HasCustomFormatScore

func (o *HistoryResource) HasCustomFormatScore() bool

HasCustomFormatScore returns a boolean if a field has been set.

GetQualityCutoffNotMet

func (o *HistoryResource) GetQualityCutoffNotMet() bool

GetQualityCutoffNotMet returns the QualityCutoffNotMet field if non-nil, zero value otherwise.

GetQualityCutoffNotMetOk

func (o *HistoryResource) GetQualityCutoffNotMetOk() (*bool, bool)

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

SetQualityCutoffNotMet

func (o *HistoryResource) SetQualityCutoffNotMet(v bool)

SetQualityCutoffNotMet sets QualityCutoffNotMet field to given value.

HasQualityCutoffNotMet

func (o *HistoryResource) HasQualityCutoffNotMet() bool

HasQualityCutoffNotMet returns a boolean if a field has been set.

GetDate

func (o *HistoryResource) GetDate() time.Time

GetDate returns the Date field if non-nil, zero value otherwise.

GetDateOk

func (o *HistoryResource) GetDateOk() (*time.Time, bool)

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

SetDate

func (o *HistoryResource) SetDate(v time.Time)

SetDate sets Date field to given value.

HasDate

func (o *HistoryResource) HasDate() bool

HasDate returns a boolean if a field has been set.

GetDownloadId

func (o *HistoryResource) GetDownloadId() string

GetDownloadId returns the DownloadId field if non-nil, zero value otherwise.

GetDownloadIdOk

func (o *HistoryResource) GetDownloadIdOk() (*string, bool)

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

SetDownloadId

func (o *HistoryResource) SetDownloadId(v string)

SetDownloadId sets DownloadId field to given value.

HasDownloadId

func (o *HistoryResource) HasDownloadId() bool

HasDownloadId returns a boolean if a field has been set.

SetDownloadIdNil

func (o *HistoryResource) SetDownloadIdNil(b bool)

SetDownloadIdNil sets the value for DownloadId to be an explicit nil

UnsetDownloadId

func (o *HistoryResource) UnsetDownloadId()

UnsetDownloadId ensures that no value is present for DownloadId, not even an explicit nil

GetEventType

func (o *HistoryResource) GetEventType() EpisodeHistoryEventType

GetEventType returns the EventType field if non-nil, zero value otherwise.

GetEventTypeOk

func (o *HistoryResource) GetEventTypeOk() (*EpisodeHistoryEventType, bool)

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

SetEventType

func (o *HistoryResource) SetEventType(v EpisodeHistoryEventType)

SetEventType sets EventType field to given value.

HasEventType

func (o *HistoryResource) HasEventType() bool

HasEventType returns a boolean if a field has been set.

GetData

func (o *HistoryResource) GetData() map[string]string

GetData returns the Data field if non-nil, zero value otherwise.

GetDataOk

func (o *HistoryResource) GetDataOk() (*map[string]string, bool)

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

SetData

func (o *HistoryResource) SetData(v map[string]string)

SetData sets Data field to given value.

HasData

func (o *HistoryResource) HasData() bool

HasData returns a boolean if a field has been set.

SetDataNil

func (o *HistoryResource) SetDataNil(b bool)

SetDataNil sets the value for Data to be an explicit nil

UnsetData

func (o *HistoryResource) UnsetData()

UnsetData ensures that no value is present for Data, not even an explicit nil

GetEpisode

func (o *HistoryResource) GetEpisode() EpisodeResource

GetEpisode returns the Episode field if non-nil, zero value otherwise.

GetEpisodeOk

func (o *HistoryResource) GetEpisodeOk() (*EpisodeResource, bool)

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

SetEpisode

func (o *HistoryResource) SetEpisode(v EpisodeResource)

SetEpisode sets Episode field to given value.

HasEpisode

func (o *HistoryResource) HasEpisode() bool

HasEpisode returns a boolean if a field has been set.

GetSeries

func (o *HistoryResource) GetSeries() SeriesResource

GetSeries returns the Series field if non-nil, zero value otherwise.

GetSeriesOk

func (o *HistoryResource) GetSeriesOk() (*SeriesResource, bool)

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

SetSeries

func (o *HistoryResource) SetSeries(v SeriesResource)

SetSeries sets Series field to given value.

HasSeries

func (o *HistoryResource) HasSeries() bool

HasSeries returns a boolean if a field has been set.

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