Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to int32 | [optional] | |
BookId | Pointer to int32 | [optional] | |
AuthorId | Pointer to int32 | [optional] | |
SourceTitle | Pointer to NullableString | [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 EntityHistoryEventType | [optional] | |
Data | Pointer to map[string]string | [optional] | |
Book | Pointer to BookResource | [optional] | |
Author | Pointer to AuthorResource | [optional] |
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
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
func (o *HistoryResource) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
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.
func (o *HistoryResource) SetId(v int32)
SetId sets Id field to given value.
func (o *HistoryResource) HasId() bool
HasId returns a boolean if a field has been set.
func (o *HistoryResource) GetBookId() int32
GetBookId returns the BookId field if non-nil, zero value otherwise.
func (o *HistoryResource) GetBookIdOk() (*int32, bool)
GetBookIdOk returns a tuple with the BookId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HistoryResource) SetBookId(v int32)
SetBookId sets BookId field to given value.
func (o *HistoryResource) HasBookId() bool
HasBookId returns a boolean if a field has been set.
func (o *HistoryResource) GetAuthorId() int32
GetAuthorId returns the AuthorId field if non-nil, zero value otherwise.
func (o *HistoryResource) GetAuthorIdOk() (*int32, bool)
GetAuthorIdOk returns a tuple with the AuthorId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HistoryResource) SetAuthorId(v int32)
SetAuthorId sets AuthorId field to given value.
func (o *HistoryResource) HasAuthorId() bool
HasAuthorId returns a boolean if a field has been set.
func (o *HistoryResource) GetSourceTitle() string
GetSourceTitle returns the SourceTitle field if non-nil, zero value otherwise.
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.
func (o *HistoryResource) SetSourceTitle(v string)
SetSourceTitle sets SourceTitle field to given value.
func (o *HistoryResource) HasSourceTitle() bool
HasSourceTitle returns a boolean if a field has been set.
func (o *HistoryResource) SetSourceTitleNil(b bool)
SetSourceTitleNil sets the value for SourceTitle to be an explicit nil
func (o *HistoryResource) UnsetSourceTitle()
UnsetSourceTitle ensures that no value is present for SourceTitle, not even an explicit nil
func (o *HistoryResource) GetQuality() QualityModel
GetQuality returns the Quality field if non-nil, zero value otherwise.
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.
func (o *HistoryResource) SetQuality(v QualityModel)
SetQuality sets Quality field to given value.
func (o *HistoryResource) HasQuality() bool
HasQuality returns a boolean if a field has been set.
func (o *HistoryResource) GetCustomFormats() []CustomFormatResource
GetCustomFormats returns the CustomFormats field if non-nil, zero value otherwise.
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.
func (o *HistoryResource) SetCustomFormats(v []CustomFormatResource)
SetCustomFormats sets CustomFormats field to given value.
func (o *HistoryResource) HasCustomFormats() bool
HasCustomFormats returns a boolean if a field has been set.
func (o *HistoryResource) SetCustomFormatsNil(b bool)
SetCustomFormatsNil sets the value for CustomFormats to be an explicit nil
func (o *HistoryResource) UnsetCustomFormats()
UnsetCustomFormats ensures that no value is present for CustomFormats, not even an explicit nil
func (o *HistoryResource) GetCustomFormatScore() int32
GetCustomFormatScore returns the CustomFormatScore field if non-nil, zero value otherwise.
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.
func (o *HistoryResource) SetCustomFormatScore(v int32)
SetCustomFormatScore sets CustomFormatScore field to given value.
func (o *HistoryResource) HasCustomFormatScore() bool
HasCustomFormatScore returns a boolean if a field has been set.
func (o *HistoryResource) GetQualityCutoffNotMet() bool
GetQualityCutoffNotMet returns the QualityCutoffNotMet field if non-nil, zero value otherwise.
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.
func (o *HistoryResource) SetQualityCutoffNotMet(v bool)
SetQualityCutoffNotMet sets QualityCutoffNotMet field to given value.
func (o *HistoryResource) HasQualityCutoffNotMet() bool
HasQualityCutoffNotMet returns a boolean if a field has been set.
func (o *HistoryResource) GetDate() time.Time
GetDate returns the Date field if non-nil, zero value otherwise.
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.
func (o *HistoryResource) SetDate(v time.Time)
SetDate sets Date field to given value.
func (o *HistoryResource) HasDate() bool
HasDate returns a boolean if a field has been set.
func (o *HistoryResource) GetDownloadId() string
GetDownloadId returns the DownloadId field if non-nil, zero value otherwise.
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.
func (o *HistoryResource) SetDownloadId(v string)
SetDownloadId sets DownloadId field to given value.
func (o *HistoryResource) HasDownloadId() bool
HasDownloadId returns a boolean if a field has been set.
func (o *HistoryResource) SetDownloadIdNil(b bool)
SetDownloadIdNil sets the value for DownloadId to be an explicit nil
func (o *HistoryResource) UnsetDownloadId()
UnsetDownloadId ensures that no value is present for DownloadId, not even an explicit nil
func (o *HistoryResource) GetEventType() EntityHistoryEventType
GetEventType returns the EventType field if non-nil, zero value otherwise.
func (o *HistoryResource) GetEventTypeOk() (*EntityHistoryEventType, 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.
func (o *HistoryResource) SetEventType(v EntityHistoryEventType)
SetEventType sets EventType field to given value.
func (o *HistoryResource) HasEventType() bool
HasEventType returns a boolean if a field has been set.
func (o *HistoryResource) GetData() map[string]string
GetData returns the Data field if non-nil, zero value otherwise.
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.
func (o *HistoryResource) SetData(v map[string]string)
SetData sets Data field to given value.
func (o *HistoryResource) HasData() bool
HasData returns a boolean if a field has been set.
func (o *HistoryResource) SetDataNil(b bool)
SetDataNil sets the value for Data to be an explicit nil
func (o *HistoryResource) UnsetData()
UnsetData ensures that no value is present for Data, not even an explicit nil
func (o *HistoryResource) GetBook() BookResource
GetBook returns the Book field if non-nil, zero value otherwise.
func (o *HistoryResource) GetBookOk() (*BookResource, bool)
GetBookOk returns a tuple with the Book field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HistoryResource) SetBook(v BookResource)
SetBook sets Book field to given value.
func (o *HistoryResource) HasBook() bool
HasBook returns a boolean if a field has been set.
func (o *HistoryResource) GetAuthor() AuthorResource
GetAuthor returns the Author field if non-nil, zero value otherwise.
func (o *HistoryResource) GetAuthorOk() (*AuthorResource, bool)
GetAuthorOk returns a tuple with the Author field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HistoryResource) SetAuthor(v AuthorResource)
SetAuthor sets Author field to given value.
func (o *HistoryResource) HasAuthor() bool
HasAuthor returns a boolean if a field has been set.