Skip to content

Commit 8875185

Browse files
authored
fix: adds account_id to domains model (#21)
1 parent e26c12b commit 8875185

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

hostingde/model/domain.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ class Domain(Model):
5151
id: Optional[str]
5252
name: str
5353
name_unicode: Optional[str]
54+
account_id: Optional[str]
5455
transfer_lock_enabled: bool
5556
auth_info: Optional[str]
5657
create_date: Optional[str]
@@ -70,6 +71,7 @@ def __init__(
7071
transfer_lock_enabled: bool = True,
7172
id: Optional[str] = None,
7273
name_unicode: Optional[str] = None,
74+
account_id: Optional[str] = None,
7375
status: Optional[DomainStatus] = None,
7476
auth_info: Optional[str] = None,
7577
contacts: Optional[List[DomainContactRef]] = None,
@@ -90,6 +92,7 @@ def __init__(
9092
not every TLD supports this feature.
9193
:param id: Domain ID
9294
:param name_unicode: Domain name in Unicode/international format
95+
:param account_id: The id of the account
9396
:param status: Domain status, 'ordered', 'active', 'restorable', 'failed'
9497
:param auth_info: The domain transfer authorisation code for this domain.
9598
Only contains a value if transferLockEnabled is not set.
@@ -111,6 +114,7 @@ def __init__(
111114
self.transfer_lock_enabled = transfer_lock_enabled
112115
self.id = id
113116
self.name_unicode = name_unicode
117+
self.account_id = account_id
114118
self.status = status
115119
self.auth_info = auth_info
116120
self.contacts = contacts or []

0 commit comments

Comments
 (0)