diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index c0368d657d..d18eb41dc4 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -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" diff --git a/src/datadog_api_client/v2/model/environment_attributes.py b/src/datadog_api_client/v2/model/environment_attributes.py index b363917a4e..959831dc88 100644 --- a/src/datadog_api_client/v2/model/environment_attributes.py +++ b/src/datadog_api_client/v2/model/environment_attributes.py @@ -9,7 +9,6 @@ ModelNormal, cached_property, datetime, - none_type, unset, UnsetType, ) @@ -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],), @@ -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", @@ -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, @@ -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 @@ -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: