Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/datadog_api_client/v2/model/ip_allowlist_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@ def openapi_types(_):
return {
"cidr_block": (str,),
"created_at": (datetime,),
"label": (str,),
"modified_at": (datetime,),
"note": (str,),
}

attribute_map = {
"cidr_block": "cidr_block",
"created_at": "created_at",
"label": "label",
"modified_at": "modified_at",
"note": "note",
}
Expand All @@ -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,
Expand All @@ -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

Expand All @@ -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:
Expand Down
Loading