| Name |
Type |
Description |
Notes |
| id |
UUID |
|
|
| tenant_id |
UUID |
|
|
| subject_id |
str |
|
|
| purpose |
str |
|
|
| granted |
bool |
|
|
| granted_at |
datetime |
|
|
| revoked_at |
datetime |
|
[optional] |
| expires_at |
datetime |
|
[optional] |
| metadata |
Dict[str, object] |
|
[optional] |
from stratum.models.consent_record import ConsentRecord
# TODO update the JSON string below
json = "{}"
# create an instance of ConsentRecord from a JSON string
consent_record_instance = ConsentRecord.from_json(json)
# print the JSON string representation of the object
print(ConsentRecord.to_json())
# convert the object into a dict
consent_record_dict = consent_record_instance.to_dict()
# create an instance of ConsentRecord from a dict
consent_record_from_dict = ConsentRecord.from_dict(consent_record_dict)
[Back to Model list] [Back to API list] [Back to README]