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
9 changes: 0 additions & 9 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47813,19 +47813,10 @@ components:
example: "2023-01-01T00:00:00Z"
format: date-time
type: string
description:
description: The description of the environment.
example: "Test environment XYZ789"
nullable: true
type: string
is_production:
description: Indicates whether this is a production environment.
example: false
type: boolean
key:
description: The unique key of the environment.
example: "env-search-term"
type: string
name:
description: The name of the environment.
example: "env-search-term"
Expand Down
17 changes: 0 additions & 17 deletions src/datadog_api_client/v2/model/environment_attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
ModelNormal,
cached_property,
datetime,
none_type,
unset,
UnsetType,
)
Expand All @@ -26,9 +25,7 @@ class EnvironmentAttributes(ModelNormal):
def openapi_types(_):
return {
"created_at": (datetime,),
"description": (str, none_type),
"is_production": (bool,),
"key": (str,),
"name": (str,),
"observe_full_evaluation_data": (bool,),
"queries": ([str],),
Expand All @@ -38,9 +35,7 @@ def openapi_types(_):

attribute_map = {
"created_at": "created_at",
"description": "description",
"is_production": "is_production",
"key": "key",
"name": "name",
"observe_full_evaluation_data": "observe_full_evaluation_data",
"queries": "queries",
Expand All @@ -52,9 +47,7 @@ def __init__(
self_,
name: str,
created_at: Union[datetime, UnsetType] = unset,
description: Union[str, none_type, UnsetType] = unset,
is_production: Union[bool, UnsetType] = unset,
key: Union[str, UnsetType] = unset,
observe_full_evaluation_data: Union[bool, UnsetType] = unset,
queries: Union[List[str], UnsetType] = unset,
require_feature_flag_approval: Union[bool, UnsetType] = unset,
Expand All @@ -67,15 +60,9 @@ def __init__(
:param created_at: The timestamp when the environment was created.
:type created_at: datetime, optional

:param description: The description of the environment.
:type description: str, none_type, optional

:param is_production: Indicates whether this is a production environment.
:type is_production: bool, optional

:param key: The unique key of the environment.
:type key: str, optional

:param name: The name of the environment.
:type name: str

Expand All @@ -93,12 +80,8 @@ def __init__(
"""
if created_at is not unset:
kwargs["created_at"] = created_at
if description is not unset:
kwargs["description"] = description
if is_production is not unset:
kwargs["is_production"] = is_production
if key is not unset:
kwargs["key"] = key
if observe_full_evaluation_data is not unset:
kwargs["observe_full_evaluation_data"] = observe_full_evaluation_data
if queries is not unset:
Expand Down
Loading