diff --git a/src/ipam/docs/FixedAddress.md b/src/ipam/docs/FixedAddress.md index 432c3c3..d677d82 100644 --- a/src/ipam/docs/FixedAddress.md +++ b/src/ipam/docs/FixedAddress.md @@ -6,7 +6,7 @@ A __FixedAddress__ object (_dhcp/fixed_address_) reserves an address for a speci Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**address** | **str** | The reserved address. | +**address** | **str** | The reserved address. | [optional] **comment** | **str** | The description for the fixed address. May contain 0 to 1024 characters. Can include UTF-8. | [optional] **compartment_id** | **str** | The compartment associated with the object. If no compartment is associated with the object, the value defaults to empty. | [optional] [readonly] **created_at** | **datetime** | Time when the object has been created. | [optional] [readonly] diff --git a/src/ipam/models/fixed_address.py b/src/ipam/models/fixed_address.py index 94a1e1c..17d1990 100644 --- a/src/ipam/models/fixed_address.py +++ b/src/ipam/models/fixed_address.py @@ -30,7 +30,8 @@ class FixedAddress(BaseModel): """ A __FixedAddress__ object (_dhcp/fixed_address_) reserves an address for a specific client. It must have a _match_type_ and a valid corresponding _match_value_ so it can match that client. """ # noqa: E501 - address: StrictStr = Field(description="The reserved address.") + address: Optional[StrictStr] = Field(default=None, + description="The reserved address.") comment: Optional[StrictStr] = Field( default=None, description=