diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 03da13c5f2..46e00f97bb 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -47115,11 +47115,6 @@ components: IncidentUserDefinedFieldAttributesResponse: description: Attributes of an incident user-defined field. properties: - attached_to: - description: The resource type this field is attached to. Always "incidents". - example: "incidents" - readOnly: true - type: string category: $ref: "#/components/schemas/IncidentUserDefinedFieldCategory" collected: @@ -47164,12 +47159,6 @@ components: example: "1.5" nullable: true type: string - prerequisite: - description: Reserved for future use. Always null. - example: - nullable: true - readOnly: true - type: string required: description: When true, users must fill out this field on incidents. example: false @@ -47179,12 +47168,6 @@ components: example: false readOnly: true type: boolean - table_id: - description: Reserved for internal use. Always 0. - example: 0 - format: int64 - readOnly: true - type: integer tag_key: description: For metric tag-type fields only, the metric tag key that powers the autocomplete options. example: @@ -47205,7 +47188,6 @@ components: nullable: true type: array required: - - attached_to - category - collected - created @@ -47216,10 +47198,8 @@ components: - modified - name - ordinal - - prerequisite - required - reserved - - table_id - tag_key - type - valid_values @@ -139523,7 +139503,6 @@ paths: value: data: - attributes: - attached_to: "incidents" category: "what_happened" collected: "active" created: "2026-03-18T08:40:04.437887Z" @@ -139534,10 +139513,8 @@ paths: modified: "2026-03-18T08:40:04.437887Z" name: "root_cause" ordinal: "1.1" - prerequisite: required: false reserved: false - table_id: 0 tag_key: type: 1 valid_values: @@ -139642,7 +139619,6 @@ paths: value: data: attributes: - attached_to: "incidents" category: collected: created: "2026-03-18T08:40:05.185406Z" @@ -139653,10 +139629,8 @@ paths: modified: "2026-03-18T08:40:05.185406Z" name: "root_cause" ordinal: "9" - prerequisite: required: false reserved: false - table_id: 0 tag_key: type: 3 valid_values: @@ -139773,7 +139747,6 @@ paths: value: data: attributes: - attached_to: "incidents" category: "what_happened" collected: "active" created: "2026-03-18T08:40:04.437887Z" @@ -139784,10 +139757,8 @@ paths: modified: "2026-03-18T08:40:04.437887Z" name: "root_cause" ordinal: "1.1" - prerequisite: required: false reserved: false - table_id: 0 tag_key: type: 1 valid_values: @@ -139883,7 +139854,6 @@ paths: value: data: attributes: - attached_to: "incidents" category: "what_happened" collected: created: "2026-03-18T08:39:49.913895Z" @@ -139894,10 +139864,8 @@ paths: modified: "2026-03-18T08:39:49.922909Z" name: "root_cause" ordinal: "8" - prerequisite: required: false reserved: false - table_id: 0 tag_key: type: 3 valid_values: diff --git a/src/datadog_api_client/v2/model/incident_user_defined_field_attributes_response.py b/src/datadog_api_client/v2/model/incident_user_defined_field_attributes_response.py index 55e8556603..80c37c2774 100644 --- a/src/datadog_api_client/v2/model/incident_user_defined_field_attributes_response.py +++ b/src/datadog_api_client/v2/model/incident_user_defined_field_attributes_response.py @@ -38,7 +38,6 @@ def openapi_types(_): ) return { - "attached_to": (str,), "category": (IncidentUserDefinedFieldCategory,), "collected": (IncidentUserDefinedFieldCollected,), "created": (datetime,), @@ -49,17 +48,14 @@ def openapi_types(_): "modified": (datetime, none_type), "name": (str,), "ordinal": (str, none_type), - "prerequisite": (str, none_type), "required": (bool,), "reserved": (bool,), - "table_id": (int,), "tag_key": (str, none_type), "type": (int, none_type), "valid_values": ([IncidentUserDefinedFieldValidValue], none_type), } attribute_map = { - "attached_to": "attached_to", "category": "category", "collected": "collected", "created": "created", @@ -70,27 +66,21 @@ def openapi_types(_): "modified": "modified", "name": "name", "ordinal": "ordinal", - "prerequisite": "prerequisite", "required": "required", "reserved": "reserved", - "table_id": "table_id", "tag_key": "tag_key", "type": "type", "valid_values": "valid_values", } read_only_vars = { - "attached_to", "created", "deleted", "modified", - "prerequisite", "reserved", - "table_id", } def __init__( self_, - attached_to: str, category: Union[IncidentUserDefinedFieldCategory, none_type], collected: Union[IncidentUserDefinedFieldCollected, none_type], created: datetime, @@ -101,10 +91,8 @@ def __init__( modified: Union[datetime, none_type], name: str, ordinal: Union[str, none_type], - prerequisite: Union[str, none_type], required: bool, reserved: bool, - table_id: int, tag_key: Union[str, none_type], type: Union[int, none_type], valid_values: Union[List[IncidentUserDefinedFieldValidValue], none_type], @@ -113,9 +101,6 @@ def __init__( """ Attributes of an incident user-defined field. - :param attached_to: The resource type this field is attached to. Always "incidents". - :type attached_to: str - :param category: The section in which the field appears: "what_happened" or "why_it_happened". When null, the field appears in the Attributes section. :type category: IncidentUserDefinedFieldCategory, none_type @@ -146,18 +131,12 @@ def __init__( :param ordinal: A decimal string representing the field's display order in the UI. :type ordinal: str, none_type - :param prerequisite: Reserved for future use. Always null. - :type prerequisite: str, none_type - :param required: When true, users must fill out this field on incidents. :type required: bool :param reserved: When true, this field is reserved for system use and cannot be deleted. :type reserved: bool - :param table_id: Reserved for internal use. Always 0. - :type table_id: int - :param tag_key: For metric tag-type fields only, the metric tag key that powers the autocomplete options. :type tag_key: str, none_type @@ -169,7 +148,6 @@ def __init__( """ super().__init__(kwargs) - self_.attached_to = attached_to self_.category = category self_.collected = collected self_.created = created @@ -180,10 +158,8 @@ def __init__( self_.modified = modified self_.name = name self_.ordinal = ordinal - self_.prerequisite = prerequisite self_.required = required self_.reserved = reserved - self_.table_id = table_id self_.tag_key = tag_key self_.type = type self_.valid_values = valid_values