Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 1.72 KB

File metadata and controls

44 lines (35 loc) · 1.72 KB

HistoryResource

Properties

Name Type Description Notes
id int [optional]
album_id int [optional]
artist_id int [optional]
track_id int [optional]
source_title str [optional]
quality QualityModel [optional]
custom_formats List[CustomFormatResource] [optional]
custom_format_score int [optional]
quality_cutoff_not_met bool [optional]
var_date datetime [optional]
download_id str [optional]
event_type EntityHistoryEventType [optional]
data Dict[str, Optional[str]] [optional]
album AlbumResource [optional]
artist ArtistResource [optional]
track TrackResource [optional]

Example

from lidarr.models.history_resource import HistoryResource

# TODO update the JSON string below
json = "{}"
# create an instance of HistoryResource from a JSON string
history_resource_instance = HistoryResource.from_json(json)
# print the JSON string representation of the object
print(HistoryResource.to_json())

# convert the object into a dict
history_resource_dict = history_resource_instance.to_dict()
# create an instance of HistoryResource from a dict
history_resource_from_dict = HistoryResource.from_dict(history_resource_dict)

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