diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 75755ab7e7..c2f13accd8 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -31529,7 +31529,7 @@ components: attributes: $ref: "#/components/schemas/IPAllowlistAttributes" id: - description: The unique identifier of the org. + description: The unique identifier of the organization. type: string type: $ref: "#/components/schemas/IPAllowlistType" @@ -31555,6 +31555,9 @@ components: format: date-time readOnly: true type: string + label: + description: A label for the IP allowlist entry. + type: string modified_at: description: Time of last entry modification. format: date-time diff --git a/src/datadog_api_client/v2/model/ip_allowlist_data.py b/src/datadog_api_client/v2/model/ip_allowlist_data.py index d9e061a28f..bf91c90969 100644 --- a/src/datadog_api_client/v2/model/ip_allowlist_data.py +++ b/src/datadog_api_client/v2/model/ip_allowlist_data.py @@ -49,7 +49,7 @@ def __init__( :param attributes: Attributes of the IP allowlist. :type attributes: IPAllowlistAttributes, optional - :param id: The unique identifier of the org. + :param id: The unique identifier of the organization. :type id: str, optional :param type: IP allowlist type. diff --git a/src/datadog_api_client/v2/model/ip_allowlist_entry_attributes.py b/src/datadog_api_client/v2/model/ip_allowlist_entry_attributes.py index a3d6b4a99d..e5fdd4f78f 100644 --- a/src/datadog_api_client/v2/model/ip_allowlist_entry_attributes.py +++ b/src/datadog_api_client/v2/model/ip_allowlist_entry_attributes.py @@ -20,6 +20,7 @@ def openapi_types(_): return { "cidr_block": (str,), "created_at": (datetime,), + "label": (str,), "modified_at": (datetime,), "note": (str,), } @@ -27,6 +28,7 @@ def openapi_types(_): attribute_map = { "cidr_block": "cidr_block", "created_at": "created_at", + "label": "label", "modified_at": "modified_at", "note": "note", } @@ -39,6 +41,7 @@ def __init__( self_, cidr_block: Union[str, UnsetType] = unset, created_at: Union[datetime, UnsetType] = unset, + label: Union[str, UnsetType] = unset, modified_at: Union[datetime, UnsetType] = unset, note: Union[str, UnsetType] = unset, **kwargs, @@ -52,6 +55,9 @@ def __init__( :param created_at: Creation time of the entry. :type created_at: datetime, optional + :param label: A label for the IP allowlist entry. + :type label: str, optional + :param modified_at: Time of last entry modification. :type modified_at: datetime, optional @@ -62,6 +68,8 @@ def __init__( kwargs["cidr_block"] = cidr_block if created_at is not unset: kwargs["created_at"] = created_at + if label is not unset: + kwargs["label"] = label if modified_at is not unset: kwargs["modified_at"] = modified_at if note is not unset: