Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 1.57 KB

File metadata and controls

40 lines (31 loc) · 1.57 KB

MediaRequest

Properties

Name Type Description Notes
id float [readonly]
status float Status of the request. 1 = PENDING APPROVAL, 2 = APPROVED, 3 = DECLINED [readonly]
media MediaInfo [optional]
created_at str [optional] [readonly]
updated_at str [optional] [readonly]
requested_by User [optional]
modified_by MediaRequestModifiedBy [optional]
is4k bool [optional]
server_id float [optional]
profile_id float [optional]
root_folder str [optional]
ignore_quota bool If true, this request will not count against the user's quota. Requires MANAGE_REQUESTS permission. [optional]

Example

from seerr.models.media_request import MediaRequest

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

# convert the object into a dict
media_request_dict = media_request_instance.to_dict()
# create an instance of MediaRequest from a dict
media_request_from_dict = MediaRequest.from_dict(media_request_dict)

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