Skip to content

Commit

Permalink
Removed absolute name as a reuqired from dns_host
Browse files Browse the repository at this point in the history
  • Loading branch information
unasra committed Jan 30, 2025
1 parent 7cd9ed4 commit 06f2190
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/dns_config/docs/Host.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ A DNS Host (_dns/host_) object associates DNS configuraton with hosts. Automat

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**absolute_name** | **str** | Host FQDN. | [optional] [readonly]
**absolute_name** | **str** | Host FQDN. | [optional]
**address** | **str** | Host's primary IP Address. | [optional] [readonly]
**anycast_addresses** | **List[str]** | Anycast address configured to the host. Order is not significant. | [optional] [readonly]
**associated_server** | [**HostAssociatedServer**](HostAssociatedServer.md) | Host associated server configuration. | [optional]
Expand Down
2 changes: 0 additions & 2 deletions src/dns_config/models/host.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,9 @@ def to_dict(self) -> Dict[str, Any]:
* OpenAPI `readOnly` fields are excluded.
* OpenAPI `readOnly` fields are excluded.
* OpenAPI `readOnly` fields are excluded.
* OpenAPI `readOnly` fields are excluded.
* Fields in `self.additional_properties` are added to the output dict.
"""
excluded_fields: Set[str] = set([
"absolute_name",
"address",
"anycast_addresses",
"comment",
Expand Down

0 comments on commit 06f2190

Please sign in to comment.