diff --git a/src/ipam/docs/Address.md b/src/ipam/docs/Address.md index 72a6ecf..3918d2b 100644 --- a/src/ipam/docs/Address.md +++ b/src/ipam/docs/Address.md @@ -6,7 +6,7 @@ An __Address__ object (_ipam/address_) represents any single IP address within a Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**address** | **str** | The address in form \"a.b.c.d\". | +**address** | **str** | The address in form \"a.b.c.d\". | [optional] **comment** | **str** | The description for the address object. 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/address.py b/src/ipam/models/address.py index 90bab6b..bcbdc83 100644 --- a/src/ipam/models/address.py +++ b/src/ipam/models/address.py @@ -29,7 +29,8 @@ class Address(BaseModel): """ An __Address__ object (_ipam/address_) represents any single IP address within a given IP space. """ # noqa: E501 - address: StrictStr = Field(description="The address in form \"a.b.c.d\".") + address: Optional[StrictStr] = Field( + default=None, description="The address in form \"a.b.c.d\".") comment: Optional[StrictStr] = Field( default=None, description=