From 7ab50c9c02816088073b119a489d571528b1825e Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Mon, 19 Oct 2026 10:52:31 +0000 Subject: [PATCH] Regenerate client from commit 6bef60f of spec repo --- .generator/schemas/v2/openapi.yaml | 198 +++++++++++++++--- .../v2/model/elf_sourcemap_attributes.py | 16 +- .../v2/model/elf_sourcemap_map_kind.py | 35 ++++ .../v2/model/flutter_sourcemap_attributes.py | 16 +- .../v2/model/flutter_sourcemap_map_kind.py | 35 ++++ .../v2/model/il2_cpp_sourcemap_attributes.py | 21 +- .../v2/model/il2_cpp_sourcemap_map_kind.py | 35 ++++ .../v2/model/ios_sourcemap_attributes.py | 23 +- .../v2/model/ios_sourcemap_map_kind.py | 35 ++++ .../v2/model/js_sourcemap_attributes.py | 16 +- .../v2/model/js_sourcemap_map_kind.py | 35 ++++ .../v2/model/jvm_sourcemap_attributes.py | 16 +- .../v2/model/jvm_sourcemap_map_kind.py | 35 ++++ .../v2/model/list_sourcemaps_response.py | 4 + .../v2/model/ndk_sourcemap_attributes.py | 16 +- .../v2/model/ndk_sourcemap_map_kind.py | 35 ++++ .../portable_pdb_sourcemap_attributes.py | 79 +++++++ .../v2/model/portable_pdb_sourcemap_data.py | 54 +++++ .../model/portable_pdb_sourcemap_map_kind.py | 35 ++++ .../react_native_sourcemap_attributes.py | 16 +- .../model/react_native_sourcemap_map_kind.py | 35 ++++ .../v2/model/sourcemap_item.py | 4 + .../v2/model/sourcemaps_response.py | 4 + .../v2/model/wasm_sourcemap_attributes.py | 79 +++++++ .../v2/model/wasm_sourcemap_data.py | 54 +++++ .../v2/model/wasm_sourcemap_map_kind.py | 35 ++++ src/datadog_api_client/v2/models/__init__.py | 28 +++ 27 files changed, 930 insertions(+), 64 deletions(-) create mode 100644 src/datadog_api_client/v2/model/elf_sourcemap_map_kind.py create mode 100644 src/datadog_api_client/v2/model/flutter_sourcemap_map_kind.py create mode 100644 src/datadog_api_client/v2/model/il2_cpp_sourcemap_map_kind.py create mode 100644 src/datadog_api_client/v2/model/ios_sourcemap_map_kind.py create mode 100644 src/datadog_api_client/v2/model/js_sourcemap_map_kind.py create mode 100644 src/datadog_api_client/v2/model/jvm_sourcemap_map_kind.py create mode 100644 src/datadog_api_client/v2/model/ndk_sourcemap_map_kind.py create mode 100644 src/datadog_api_client/v2/model/portable_pdb_sourcemap_attributes.py create mode 100644 src/datadog_api_client/v2/model/portable_pdb_sourcemap_data.py create mode 100644 src/datadog_api_client/v2/model/portable_pdb_sourcemap_map_kind.py create mode 100644 src/datadog_api_client/v2/model/react_native_sourcemap_map_kind.py create mode 100644 src/datadog_api_client/v2/model/wasm_sourcemap_attributes.py create mode 100644 src/datadog_api_client/v2/model/wasm_sourcemap_data.py create mode 100644 src/datadog_api_client/v2/model/wasm_sourcemap_map_kind.py diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 00ba154a3a..2b4c8780d0 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -38001,9 +38001,7 @@ components: example: 550e8400-e29b-41d4-a716-446655440001 type: string mapkind: - description: The type of source map. - example: elf - type: string + $ref: "#/components/schemas/ELFSourcemapMapKind" origin: description: The origin of the ELF file. example: debian @@ -38042,6 +38040,14 @@ components: - type - attributes type: object + ELFSourcemapMapKind: + description: The type of source map. Always `elf` for ELF source maps. + enum: + - elf + example: elf + type: string + x-enum-varnames: + - ELF EPSS: description: Vulnerability EPSS severity. properties: @@ -52567,9 +52573,7 @@ components: format: date-time type: string mapkind: - description: The type of source map. - example: flutter - type: string + $ref: "#/components/schemas/FlutterSourcemapMapKind" service: description: The service name associated with the symbol file. example: my-flutter-app @@ -52608,6 +52612,14 @@ components: - type - attributes type: object + FlutterSourcemapMapKind: + description: The type of source map. Always `flutter` for Flutter source maps. + enum: + - flutter + example: flutter + type: string + x-enum-varnames: + - FLUTTER FormData: description: A form resource object. properties: @@ -58408,9 +58420,7 @@ components: format: date-time type: string mapkind: - description: The type of source map. - example: il2cpp - type: string + $ref: "#/components/schemas/IL2CPPSourcemapMapKind" size: description: The size of the mapping file in bytes. example: 4096 @@ -58437,6 +58447,14 @@ components: - type - attributes type: object + IL2CPPSourcemapMapKind: + description: The type of source map. Always `il2cpp` for IL2CPP source maps. + enum: + - il2cpp + example: il2cpp + type: string + x-enum-varnames: + - IL2CPP IOSSourcemapAttributes: description: Attributes of an iOS dSYM source map. properties: @@ -58446,9 +58464,7 @@ components: format: date-time type: string mapkind: - description: The type of source map. - example: ios - type: string + $ref: "#/components/schemas/IOSSourcemapMapKind" size: description: The size of the dSYM file in bytes. example: 4096 @@ -58479,6 +58495,14 @@ components: - type - attributes type: object + IOSSourcemapMapKind: + description: The type of source map. Always `ios` for iOS dSYM source maps. + enum: + - ios + example: ios + type: string + x-enum-varnames: + - IOS IPAllowlistAttributes: description: Attributes of the IP allowlist. properties: @@ -66172,9 +66196,7 @@ components: example: bundle.min.js type: string mapkind: - description: The type of source map. - example: js - type: string + $ref: "#/components/schemas/JSSourcemapMapKind" service: description: The service name associated with the source map. example: my-web-service @@ -66217,6 +66239,14 @@ components: - type - attributes type: object + JSSourcemapMapKind: + description: The type of source map. Always `js` for JavaScript source maps. + enum: + - js + example: js + type: string + x-enum-varnames: + - JS JVMSourcemapAttributes: description: Attributes of a JVM mapping file. properties: @@ -66230,9 +66260,7 @@ components: format: date-time type: string mapkind: - description: The type of source map. - example: jvm - type: string + $ref: "#/components/schemas/JVMSourcemapMapKind" service: description: The service name associated with the mapping file. example: my-android-app @@ -66275,6 +66303,14 @@ components: - type - attributes type: object + JVMSourcemapMapKind: + description: The type of source map. Always `jvm` for JVM source maps. + enum: + - jvm + example: jvm + type: string + x-enum-varnames: + - JVM JiraAccountAttributes: description: Attributes of a Jira account properties: @@ -81876,9 +81912,7 @@ components: example: libmyapp.so type: string mapkind: - description: The type of source map. - example: ndk - type: string + $ref: "#/components/schemas/NDKSourcemapMapKind" size: description: The size of the symbol file in bytes. example: 32768 @@ -81905,6 +81939,14 @@ components: - type - attributes type: object + NDKSourcemapMapKind: + description: The type of source map. Always `ndk` for Android NDK source maps. + enum: + - ndk + example: ndk + type: string + x-enum-varnames: + - NDK NetworkHealthInsight: description: A single network health insight describing a service-to-service connectivity issue. properties: @@ -95546,6 +95588,56 @@ components: description: Replay track identifier indicating which recording track the session belongs to. type: string type: object + PortablePdbSourcemapAttributes: + description: Attributes of a Portable PDB file. + properties: + build_id: + description: The build identifier. + example: 550e8400e29b41d4a71644665544000012345678 + type: string + created_at: + description: The timestamp when the symbol file was created. + example: "2024-01-01T00:00:00Z" + format: date-time + type: string + file_name: + description: The file name of the symbol file. + example: MyApplication.pdb + type: string + mapkind: + $ref: "#/components/schemas/PortablePdbSourcemapMapKind" + size: + description: The size of the symbol file in bytes. + example: 4096 + format: int64 + type: integer + required: + - mapkind + type: object + PortablePdbSourcemapData: + description: Portable PDB file data object. + properties: + attributes: + $ref: "#/components/schemas/PortablePdbSourcemapAttributes" + id: + description: The unique identifier of the source map. + example: "10" + type: string + type: + $ref: "#/components/schemas/SourcemapDataType" + required: + - id + - type + - attributes + type: object + PortablePdbSourcemapMapKind: + description: The type of source map. Always `portable_pdb` for Portable PDB files. + enum: + - portable_pdb + example: portable_pdb + type: string + x-enum-varnames: + - PORTABLE_PDB PostmortemAttachmentRequest: description: Request body for creating a postmortem attachment. properties: @@ -101722,9 +101814,7 @@ components: example: 550e8400-e29b-41d4-a716-446655440000 type: string mapkind: - description: The type of source map. - example: react - type: string + $ref: "#/components/schemas/ReactNativeSourcemapMapKind" platform: description: The platform the source map was built for (e.g., `ios`, `android`). example: ios @@ -101763,6 +101853,14 @@ components: - type - attributes type: object + ReactNativeSourcemapMapKind: + description: The type of source map. Always `react` for React Native source maps. + enum: + - react + example: react + type: string + x-enum-varnames: + - REACT ReadinessGate: additionalProperties: false description: Used to merge multiple branches into a single branch. @@ -122979,6 +123077,8 @@ components: - $ref: "#/components/schemas/ELFSourcemapData" - $ref: "#/components/schemas/NDKSourcemapData" - $ref: "#/components/schemas/IL2CPPSourcemapData" + - $ref: "#/components/schemas/WASMSourcemapData" + - $ref: "#/components/schemas/PortablePdbSourcemapData" SourcemapMapKind: description: The type of source map. enum: @@ -140085,6 +140185,56 @@ components: - X_CONTENT_TYPE_HEADER_MISSING - X_PATH_INJECTION - XSS + WASMSourcemapAttributes: + description: Attributes of a WebAssembly symbol file. + properties: + build_id: + description: The build identifier. + example: wasm-build-123 + type: string + created_at: + description: The timestamp when the symbol file was created. + example: "2024-01-01T00:00:00Z" + format: date-time + type: string + file_name: + description: The file name of the symbol file. + example: module.wasm + type: string + mapkind: + $ref: "#/components/schemas/WASMSourcemapMapKind" + size: + description: The size of the symbol file in bytes. + example: 4096 + format: int64 + type: integer + required: + - mapkind + type: object + WASMSourcemapData: + description: WebAssembly symbol file data object. + properties: + attributes: + $ref: "#/components/schemas/WASMSourcemapAttributes" + id: + description: The unique identifier of the source map. + example: "9" + type: string + type: + $ref: "#/components/schemas/SourcemapDataType" + required: + - id + - type + - attributes + type: object + WASMSourcemapMapKind: + description: The type of source map. Always `wasm` for WebAssembly symbol files. + enum: + - wasm + example: wasm + type: string + x-enum-varnames: + - WASM Watch: description: A single RUM replay session watch resource returned by create operations. properties: diff --git a/src/datadog_api_client/v2/model/elf_sourcemap_attributes.py b/src/datadog_api_client/v2/model/elf_sourcemap_attributes.py index 105e2ae94e..6ea22b5a9b 100644 --- a/src/datadog_api_client/v2/model/elf_sourcemap_attributes.py +++ b/src/datadog_api_client/v2/model/elf_sourcemap_attributes.py @@ -3,7 +3,7 @@ # Copyright 2019-Present Datadog, Inc. from __future__ import annotations -from typing import Union +from typing import Union, TYPE_CHECKING from datadog_api_client.model_utils import ( ModelNormal, @@ -14,9 +14,15 @@ ) +if TYPE_CHECKING: + from datadog_api_client.v2.model.elf_sourcemap_map_kind import ELFSourcemapMapKind + + class ELFSourcemapAttributes(ModelNormal): @cached_property def openapi_types(_): + from datadog_api_client.v2.model.elf_sourcemap_map_kind import ELFSourcemapMapKind + return { "arch": (str,), "created_at": (datetime,), @@ -24,7 +30,7 @@ def openapi_types(_): "file_name": (str,), "gnu_build_id": (str,), "go_build_id": (str,), - "mapkind": (str,), + "mapkind": (ELFSourcemapMapKind,), "origin": (str,), "origin_version": (str,), "size": (int,), @@ -48,7 +54,7 @@ def openapi_types(_): def __init__( self_, created_at: datetime, - mapkind: str, + mapkind: ELFSourcemapMapKind, size: int, arch: Union[str, UnsetType] = unset, file_hash: Union[str, UnsetType] = unset, @@ -81,8 +87,8 @@ def __init__( :param go_build_id: The Go build ID (UUID format). :type go_build_id: str, optional - :param mapkind: The type of source map. - :type mapkind: str + :param mapkind: The type of source map. Always ``elf`` for ELF source maps. + :type mapkind: ELFSourcemapMapKind :param origin: The origin of the ELF file. :type origin: str, optional diff --git a/src/datadog_api_client/v2/model/elf_sourcemap_map_kind.py b/src/datadog_api_client/v2/model/elf_sourcemap_map_kind.py new file mode 100644 index 0000000000..cab28a52d4 --- /dev/null +++ b/src/datadog_api_client/v2/model/elf_sourcemap_map_kind.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class ELFSourcemapMapKind(ModelSimple): + """ + The type of source map. Always `elf` for ELF source maps. + + :param value: If omitted defaults to "elf". Must be one of ["elf"]. + :type value: str + """ + + allowed_values = { + "elf", + } + ELF: ClassVar["ELFSourcemapMapKind"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +ELFSourcemapMapKind.ELF = ELFSourcemapMapKind("elf") diff --git a/src/datadog_api_client/v2/model/flutter_sourcemap_attributes.py b/src/datadog_api_client/v2/model/flutter_sourcemap_attributes.py index b23a37403c..0935957684 100644 --- a/src/datadog_api_client/v2/model/flutter_sourcemap_attributes.py +++ b/src/datadog_api_client/v2/model/flutter_sourcemap_attributes.py @@ -3,7 +3,7 @@ # Copyright 2019-Present Datadog, Inc. from __future__ import annotations -from typing import Union +from typing import Union, TYPE_CHECKING from datadog_api_client.model_utils import ( ModelNormal, @@ -14,13 +14,19 @@ ) +if TYPE_CHECKING: + from datadog_api_client.v2.model.flutter_sourcemap_map_kind import FlutterSourcemapMapKind + + class FlutterSourcemapAttributes(ModelNormal): @cached_property def openapi_types(_): + from datadog_api_client.v2.model.flutter_sourcemap_map_kind import FlutterSourcemapMapKind + return { "arch": (str,), "created_at": (datetime,), - "mapkind": (str,), + "mapkind": (FlutterSourcemapMapKind,), "service": (str,), "size": (int,), "variant": (str,), @@ -40,7 +46,7 @@ def openapi_types(_): def __init__( self_, created_at: datetime, - mapkind: str, + mapkind: FlutterSourcemapMapKind, size: int, arch: Union[str, UnsetType] = unset, service: Union[str, UnsetType] = unset, @@ -57,8 +63,8 @@ def __init__( :param created_at: The timestamp when the symbol file was created. :type created_at: datetime - :param mapkind: The type of source map. - :type mapkind: str + :param mapkind: The type of source map. Always ``flutter`` for Flutter source maps. + :type mapkind: FlutterSourcemapMapKind :param service: The service name associated with the symbol file. :type service: str, optional diff --git a/src/datadog_api_client/v2/model/flutter_sourcemap_map_kind.py b/src/datadog_api_client/v2/model/flutter_sourcemap_map_kind.py new file mode 100644 index 0000000000..abfdeac336 --- /dev/null +++ b/src/datadog_api_client/v2/model/flutter_sourcemap_map_kind.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class FlutterSourcemapMapKind(ModelSimple): + """ + The type of source map. Always `flutter` for Flutter source maps. + + :param value: If omitted defaults to "flutter". Must be one of ["flutter"]. + :type value: str + """ + + allowed_values = { + "flutter", + } + FLUTTER: ClassVar["FlutterSourcemapMapKind"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +FlutterSourcemapMapKind.FLUTTER = FlutterSourcemapMapKind("flutter") diff --git a/src/datadog_api_client/v2/model/il2_cpp_sourcemap_attributes.py b/src/datadog_api_client/v2/model/il2_cpp_sourcemap_attributes.py index 49af4799bf..093d02b3c0 100644 --- a/src/datadog_api_client/v2/model/il2_cpp_sourcemap_attributes.py +++ b/src/datadog_api_client/v2/model/il2_cpp_sourcemap_attributes.py @@ -3,7 +3,7 @@ # Copyright 2019-Present Datadog, Inc. from __future__ import annotations -from typing import Union +from typing import Union, TYPE_CHECKING from datadog_api_client.model_utils import ( ModelNormal, @@ -14,13 +14,19 @@ ) +if TYPE_CHECKING: + from datadog_api_client.v2.model.il2_cpp_sourcemap_map_kind import IL2CPPSourcemapMapKind + + class IL2CPPSourcemapAttributes(ModelNormal): @cached_property def openapi_types(_): + from datadog_api_client.v2.model.il2_cpp_sourcemap_map_kind import IL2CPPSourcemapMapKind + return { "build_id": (str,), "created_at": (datetime,), - "mapkind": (str,), + "mapkind": (IL2CPPSourcemapMapKind,), "size": (int,), } @@ -32,7 +38,12 @@ def openapi_types(_): } def __init__( - self_, created_at: datetime, mapkind: str, size: int, build_id: Union[str, UnsetType] = unset, **kwargs + self_, + created_at: datetime, + mapkind: IL2CPPSourcemapMapKind, + size: int, + build_id: Union[str, UnsetType] = unset, + **kwargs, ): """ Attributes of an IL2CPP mapping file. @@ -43,8 +54,8 @@ def __init__( :param created_at: The timestamp when the mapping file was created. :type created_at: datetime - :param mapkind: The type of source map. - :type mapkind: str + :param mapkind: The type of source map. Always ``il2cpp`` for IL2CPP source maps. + :type mapkind: IL2CPPSourcemapMapKind :param size: The size of the mapping file in bytes. :type size: int diff --git a/src/datadog_api_client/v2/model/il2_cpp_sourcemap_map_kind.py b/src/datadog_api_client/v2/model/il2_cpp_sourcemap_map_kind.py new file mode 100644 index 0000000000..3658ca52e7 --- /dev/null +++ b/src/datadog_api_client/v2/model/il2_cpp_sourcemap_map_kind.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class IL2CPPSourcemapMapKind(ModelSimple): + """ + The type of source map. Always `il2cpp` for IL2CPP source maps. + + :param value: If omitted defaults to "il2cpp". Must be one of ["il2cpp"]. + :type value: str + """ + + allowed_values = { + "il2cpp", + } + IL2CPP: ClassVar["IL2CPPSourcemapMapKind"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +IL2CPPSourcemapMapKind.IL2CPP = IL2CPPSourcemapMapKind("il2cpp") diff --git a/src/datadog_api_client/v2/model/ios_sourcemap_attributes.py b/src/datadog_api_client/v2/model/ios_sourcemap_attributes.py index 4c4835c978..94afd1b9fd 100644 --- a/src/datadog_api_client/v2/model/ios_sourcemap_attributes.py +++ b/src/datadog_api_client/v2/model/ios_sourcemap_attributes.py @@ -3,7 +3,7 @@ # Copyright 2019-Present Datadog, Inc. from __future__ import annotations -from typing import Union +from typing import Union, TYPE_CHECKING from datadog_api_client.model_utils import ( ModelNormal, @@ -14,12 +14,18 @@ ) +if TYPE_CHECKING: + from datadog_api_client.v2.model.ios_sourcemap_map_kind import IOSSourcemapMapKind + + class IOSSourcemapAttributes(ModelNormal): @cached_property def openapi_types(_): + from datadog_api_client.v2.model.ios_sourcemap_map_kind import IOSSourcemapMapKind + return { "created_at": (datetime,), - "mapkind": (str,), + "mapkind": (IOSSourcemapMapKind,), "size": (int,), "uuids": (str,), } @@ -31,15 +37,22 @@ def openapi_types(_): "uuids": "uuids", } - def __init__(self_, created_at: datetime, mapkind: str, size: int, uuids: Union[str, UnsetType] = unset, **kwargs): + def __init__( + self_, + created_at: datetime, + mapkind: IOSSourcemapMapKind, + size: int, + uuids: Union[str, UnsetType] = unset, + **kwargs, + ): """ Attributes of an iOS dSYM source map. :param created_at: The timestamp when the source map was created. :type created_at: datetime - :param mapkind: The type of source map. - :type mapkind: str + :param mapkind: The type of source map. Always ``ios`` for iOS dSYM source maps. + :type mapkind: IOSSourcemapMapKind :param size: The size of the dSYM file in bytes. :type size: int diff --git a/src/datadog_api_client/v2/model/ios_sourcemap_map_kind.py b/src/datadog_api_client/v2/model/ios_sourcemap_map_kind.py new file mode 100644 index 0000000000..4ecb0da918 --- /dev/null +++ b/src/datadog_api_client/v2/model/ios_sourcemap_map_kind.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class IOSSourcemapMapKind(ModelSimple): + """ + The type of source map. Always `ios` for iOS dSYM source maps. + + :param value: If omitted defaults to "ios". Must be one of ["ios"]. + :type value: str + """ + + allowed_values = { + "ios", + } + IOS: ClassVar["IOSSourcemapMapKind"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +IOSSourcemapMapKind.IOS = IOSSourcemapMapKind("ios") diff --git a/src/datadog_api_client/v2/model/js_sourcemap_attributes.py b/src/datadog_api_client/v2/model/js_sourcemap_attributes.py index fefdcd1e0b..2e3d9e5f15 100644 --- a/src/datadog_api_client/v2/model/js_sourcemap_attributes.py +++ b/src/datadog_api_client/v2/model/js_sourcemap_attributes.py @@ -3,7 +3,7 @@ # Copyright 2019-Present Datadog, Inc. from __future__ import annotations -from typing import Union +from typing import Union, TYPE_CHECKING from datadog_api_client.model_utils import ( ModelNormal, @@ -14,9 +14,15 @@ ) +if TYPE_CHECKING: + from datadog_api_client.v2.model.js_sourcemap_map_kind import JSSourcemapMapKind + + class JSSourcemapAttributes(ModelNormal): @cached_property def openapi_types(_): + from datadog_api_client.v2.model.js_sourcemap_map_kind import JSSourcemapMapKind + return { "absolute_path": (str,), "blob_storage_sourcemap_path": (str,), @@ -25,7 +31,7 @@ def openapi_types(_): "debug_id": (str,), "domain": (str,), "file_name": (str,), - "mapkind": (str,), + "mapkind": (JSSourcemapMapKind,), "service": (str,), "size": (int,), "variant": (str,), @@ -52,7 +58,7 @@ def openapi_types(_): def __init__( self_, created_at: datetime, - mapkind: str, + mapkind: JSSourcemapMapKind, size: int, absolute_path: Union[str, UnsetType] = unset, blob_storage_sourcemap_path: Union[str, UnsetType] = unset, @@ -91,8 +97,8 @@ def __init__( :param file_name: The file name of the minified JavaScript file. :type file_name: str, optional - :param mapkind: The type of source map. - :type mapkind: str + :param mapkind: The type of source map. Always ``js`` for JavaScript source maps. + :type mapkind: JSSourcemapMapKind :param service: The service name associated with the source map. :type service: str, optional diff --git a/src/datadog_api_client/v2/model/js_sourcemap_map_kind.py b/src/datadog_api_client/v2/model/js_sourcemap_map_kind.py new file mode 100644 index 0000000000..6c218e78fb --- /dev/null +++ b/src/datadog_api_client/v2/model/js_sourcemap_map_kind.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class JSSourcemapMapKind(ModelSimple): + """ + The type of source map. Always `js` for JavaScript source maps. + + :param value: If omitted defaults to "js". Must be one of ["js"]. + :type value: str + """ + + allowed_values = { + "js", + } + JS: ClassVar["JSSourcemapMapKind"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +JSSourcemapMapKind.JS = JSSourcemapMapKind("js") diff --git a/src/datadog_api_client/v2/model/jvm_sourcemap_attributes.py b/src/datadog_api_client/v2/model/jvm_sourcemap_attributes.py index 2065d10089..f4931525cb 100644 --- a/src/datadog_api_client/v2/model/jvm_sourcemap_attributes.py +++ b/src/datadog_api_client/v2/model/jvm_sourcemap_attributes.py @@ -3,7 +3,7 @@ # Copyright 2019-Present Datadog, Inc. from __future__ import annotations -from typing import Union +from typing import Union, TYPE_CHECKING from datadog_api_client.model_utils import ( ModelNormal, @@ -14,13 +14,19 @@ ) +if TYPE_CHECKING: + from datadog_api_client.v2.model.jvm_sourcemap_map_kind import JVMSourcemapMapKind + + class JVMSourcemapAttributes(ModelNormal): @cached_property def openapi_types(_): + from datadog_api_client.v2.model.jvm_sourcemap_map_kind import JVMSourcemapMapKind + return { "build_id": (str,), "created_at": (datetime,), - "mapkind": (str,), + "mapkind": (JVMSourcemapMapKind,), "service": (str,), "size": (int,), "variant": (str,), @@ -42,7 +48,7 @@ def openapi_types(_): def __init__( self_, created_at: datetime, - mapkind: str, + mapkind: JVMSourcemapMapKind, size: int, build_id: Union[str, UnsetType] = unset, service: Union[str, UnsetType] = unset, @@ -60,8 +66,8 @@ def __init__( :param created_at: The timestamp when the mapping file was created. :type created_at: datetime - :param mapkind: The type of source map. - :type mapkind: str + :param mapkind: The type of source map. Always ``jvm`` for JVM source maps. + :type mapkind: JVMSourcemapMapKind :param service: The service name associated with the mapping file. :type service: str, optional diff --git a/src/datadog_api_client/v2/model/jvm_sourcemap_map_kind.py b/src/datadog_api_client/v2/model/jvm_sourcemap_map_kind.py new file mode 100644 index 0000000000..d5e486e402 --- /dev/null +++ b/src/datadog_api_client/v2/model/jvm_sourcemap_map_kind.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class JVMSourcemapMapKind(ModelSimple): + """ + The type of source map. Always `jvm` for JVM source maps. + + :param value: If omitted defaults to "jvm". Must be one of ["jvm"]. + :type value: str + """ + + allowed_values = { + "jvm", + } + JVM: ClassVar["JVMSourcemapMapKind"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +JVMSourcemapMapKind.JVM = JVMSourcemapMapKind("jvm") diff --git a/src/datadog_api_client/v2/model/list_sourcemaps_response.py b/src/datadog_api_client/v2/model/list_sourcemaps_response.py index fac9983000..2f45ae329d 100644 --- a/src/datadog_api_client/v2/model/list_sourcemaps_response.py +++ b/src/datadog_api_client/v2/model/list_sourcemaps_response.py @@ -24,6 +24,8 @@ from datadog_api_client.v2.model.elf_sourcemap_data import ELFSourcemapData from datadog_api_client.v2.model.ndk_sourcemap_data import NDKSourcemapData from datadog_api_client.v2.model.il2_cpp_sourcemap_data import IL2CPPSourcemapData + from datadog_api_client.v2.model.wasm_sourcemap_data import WASMSourcemapData + from datadog_api_client.v2.model.portable_pdb_sourcemap_data import PortablePdbSourcemapData class ListSourcemapsResponse(ModelNormal): @@ -55,6 +57,8 @@ def __init__( ELFSourcemapData, NDKSourcemapData, IL2CPPSourcemapData, + WASMSourcemapData, + PortablePdbSourcemapData, ] ], meta: Union[SourcemapsListMeta, UnsetType] = unset, diff --git a/src/datadog_api_client/v2/model/ndk_sourcemap_attributes.py b/src/datadog_api_client/v2/model/ndk_sourcemap_attributes.py index 557c2ec3f5..efbae73ee5 100644 --- a/src/datadog_api_client/v2/model/ndk_sourcemap_attributes.py +++ b/src/datadog_api_client/v2/model/ndk_sourcemap_attributes.py @@ -3,7 +3,7 @@ # Copyright 2019-Present Datadog, Inc. from __future__ import annotations -from typing import Union +from typing import Union, TYPE_CHECKING from datadog_api_client.model_utils import ( ModelNormal, @@ -14,15 +14,21 @@ ) +if TYPE_CHECKING: + from datadog_api_client.v2.model.ndk_sourcemap_map_kind import NDKSourcemapMapKind + + class NDKSourcemapAttributes(ModelNormal): @cached_property def openapi_types(_): + from datadog_api_client.v2.model.ndk_sourcemap_map_kind import NDKSourcemapMapKind + return { "arch": (str,), "build_id": (str,), "created_at": (datetime,), "file_name": (str,), - "mapkind": (str,), + "mapkind": (NDKSourcemapMapKind,), "size": (int,), } @@ -38,7 +44,7 @@ def openapi_types(_): def __init__( self_, created_at: datetime, - mapkind: str, + mapkind: NDKSourcemapMapKind, size: int, arch: Union[str, UnsetType] = unset, build_id: Union[str, UnsetType] = unset, @@ -60,8 +66,8 @@ def __init__( :param file_name: The NDK library file name. :type file_name: str, optional - :param mapkind: The type of source map. - :type mapkind: str + :param mapkind: The type of source map. Always ``ndk`` for Android NDK source maps. + :type mapkind: NDKSourcemapMapKind :param size: The size of the symbol file in bytes. :type size: int diff --git a/src/datadog_api_client/v2/model/ndk_sourcemap_map_kind.py b/src/datadog_api_client/v2/model/ndk_sourcemap_map_kind.py new file mode 100644 index 0000000000..f7b3873d7f --- /dev/null +++ b/src/datadog_api_client/v2/model/ndk_sourcemap_map_kind.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class NDKSourcemapMapKind(ModelSimple): + """ + The type of source map. Always `ndk` for Android NDK source maps. + + :param value: If omitted defaults to "ndk". Must be one of ["ndk"]. + :type value: str + """ + + allowed_values = { + "ndk", + } + NDK: ClassVar["NDKSourcemapMapKind"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +NDKSourcemapMapKind.NDK = NDKSourcemapMapKind("ndk") diff --git a/src/datadog_api_client/v2/model/portable_pdb_sourcemap_attributes.py b/src/datadog_api_client/v2/model/portable_pdb_sourcemap_attributes.py new file mode 100644 index 0000000000..3295fb4dbc --- /dev/null +++ b/src/datadog_api_client/v2/model/portable_pdb_sourcemap_attributes.py @@ -0,0 +1,79 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + datetime, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.portable_pdb_sourcemap_map_kind import PortablePdbSourcemapMapKind + + +class PortablePdbSourcemapAttributes(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.portable_pdb_sourcemap_map_kind import PortablePdbSourcemapMapKind + + return { + "build_id": (str,), + "created_at": (datetime,), + "file_name": (str,), + "mapkind": (PortablePdbSourcemapMapKind,), + "size": (int,), + } + + attribute_map = { + "build_id": "build_id", + "created_at": "created_at", + "file_name": "file_name", + "mapkind": "mapkind", + "size": "size", + } + + def __init__( + self_, + mapkind: PortablePdbSourcemapMapKind, + build_id: Union[str, UnsetType] = unset, + created_at: Union[datetime, UnsetType] = unset, + file_name: Union[str, UnsetType] = unset, + size: Union[int, UnsetType] = unset, + **kwargs, + ): + """ + Attributes of a Portable PDB file. + + :param build_id: The build identifier. + :type build_id: str, optional + + :param created_at: The timestamp when the symbol file was created. + :type created_at: datetime, optional + + :param file_name: The file name of the symbol file. + :type file_name: str, optional + + :param mapkind: The type of source map. Always ``portable_pdb`` for Portable PDB files. + :type mapkind: PortablePdbSourcemapMapKind + + :param size: The size of the symbol file in bytes. + :type size: int, optional + """ + if build_id is not unset: + kwargs["build_id"] = build_id + if created_at is not unset: + kwargs["created_at"] = created_at + if file_name is not unset: + kwargs["file_name"] = file_name + if size is not unset: + kwargs["size"] = size + super().__init__(kwargs) + + self_.mapkind = mapkind diff --git a/src/datadog_api_client/v2/model/portable_pdb_sourcemap_data.py b/src/datadog_api_client/v2/model/portable_pdb_sourcemap_data.py new file mode 100644 index 0000000000..3bc2eeccab --- /dev/null +++ b/src/datadog_api_client/v2/model/portable_pdb_sourcemap_data.py @@ -0,0 +1,54 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.portable_pdb_sourcemap_attributes import PortablePdbSourcemapAttributes + from datadog_api_client.v2.model.sourcemap_data_type import SourcemapDataType + + +class PortablePdbSourcemapData(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.portable_pdb_sourcemap_attributes import PortablePdbSourcemapAttributes + from datadog_api_client.v2.model.sourcemap_data_type import SourcemapDataType + + return { + "attributes": (PortablePdbSourcemapAttributes,), + "id": (str,), + "type": (SourcemapDataType,), + } + + attribute_map = { + "attributes": "attributes", + "id": "id", + "type": "type", + } + + def __init__(self_, attributes: PortablePdbSourcemapAttributes, id: str, type: SourcemapDataType, **kwargs): + """ + Portable PDB file data object. + + :param attributes: Attributes of a Portable PDB file. + :type attributes: PortablePdbSourcemapAttributes + + :param id: The unique identifier of the source map. + :type id: str + + :param type: The resource type for source map objects. + :type type: SourcemapDataType + """ + super().__init__(kwargs) + + self_.attributes = attributes + self_.id = id + self_.type = type diff --git a/src/datadog_api_client/v2/model/portable_pdb_sourcemap_map_kind.py b/src/datadog_api_client/v2/model/portable_pdb_sourcemap_map_kind.py new file mode 100644 index 0000000000..b56d009047 --- /dev/null +++ b/src/datadog_api_client/v2/model/portable_pdb_sourcemap_map_kind.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class PortablePdbSourcemapMapKind(ModelSimple): + """ + The type of source map. Always `portable_pdb` for Portable PDB files. + + :param value: If omitted defaults to "portable_pdb". Must be one of ["portable_pdb"]. + :type value: str + """ + + allowed_values = { + "portable_pdb", + } + PORTABLE_PDB: ClassVar["PortablePdbSourcemapMapKind"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +PortablePdbSourcemapMapKind.PORTABLE_PDB = PortablePdbSourcemapMapKind("portable_pdb") diff --git a/src/datadog_api_client/v2/model/react_native_sourcemap_attributes.py b/src/datadog_api_client/v2/model/react_native_sourcemap_attributes.py index 4b385be9f8..65579f301e 100644 --- a/src/datadog_api_client/v2/model/react_native_sourcemap_attributes.py +++ b/src/datadog_api_client/v2/model/react_native_sourcemap_attributes.py @@ -3,7 +3,7 @@ # Copyright 2019-Present Datadog, Inc. from __future__ import annotations -from typing import Union +from typing import Union, TYPE_CHECKING from datadog_api_client.model_utils import ( ModelNormal, @@ -14,16 +14,22 @@ ) +if TYPE_CHECKING: + from datadog_api_client.v2.model.react_native_sourcemap_map_kind import ReactNativeSourcemapMapKind + + class ReactNativeSourcemapAttributes(ModelNormal): @cached_property def openapi_types(_): + from datadog_api_client.v2.model.react_native_sourcemap_map_kind import ReactNativeSourcemapMapKind + return { "build_number": (str,), "bundle_name": (str,), "bundle_version": (str,), "created_at": (datetime,), "debug_id": (str,), - "mapkind": (str,), + "mapkind": (ReactNativeSourcemapMapKind,), "platform": (str,), "service": (str,), "size": (int,), @@ -46,7 +52,7 @@ def openapi_types(_): def __init__( self_, created_at: datetime, - mapkind: str, + mapkind: ReactNativeSourcemapMapKind, size: int, build_number: Union[str, UnsetType] = unset, bundle_name: Union[str, UnsetType] = unset, @@ -75,8 +81,8 @@ def __init__( :param debug_id: The debug identifier (UUID format). :type debug_id: str, optional - :param mapkind: The type of source map. - :type mapkind: str + :param mapkind: The type of source map. Always ``react`` for React Native source maps. + :type mapkind: ReactNativeSourcemapMapKind :param platform: The platform the source map was built for (e.g., ``ios`` , ``android`` ). :type platform: str, optional diff --git a/src/datadog_api_client/v2/model/react_native_sourcemap_map_kind.py b/src/datadog_api_client/v2/model/react_native_sourcemap_map_kind.py new file mode 100644 index 0000000000..a2f9ab73bd --- /dev/null +++ b/src/datadog_api_client/v2/model/react_native_sourcemap_map_kind.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class ReactNativeSourcemapMapKind(ModelSimple): + """ + The type of source map. Always `react` for React Native source maps. + + :param value: If omitted defaults to "react". Must be one of ["react"]. + :type value: str + """ + + allowed_values = { + "react", + } + REACT: ClassVar["ReactNativeSourcemapMapKind"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +ReactNativeSourcemapMapKind.REACT = ReactNativeSourcemapMapKind("react") diff --git a/src/datadog_api_client/v2/model/sourcemap_item.py b/src/datadog_api_client/v2/model/sourcemap_item.py index f2e924a5d0..d100363915 100644 --- a/src/datadog_api_client/v2/model/sourcemap_item.py +++ b/src/datadog_api_client/v2/model/sourcemap_item.py @@ -43,6 +43,8 @@ def _composed_schemas(_): from datadog_api_client.v2.model.elf_sourcemap_data import ELFSourcemapData from datadog_api_client.v2.model.ndk_sourcemap_data import NDKSourcemapData from datadog_api_client.v2.model.il2_cpp_sourcemap_data import IL2CPPSourcemapData + from datadog_api_client.v2.model.wasm_sourcemap_data import WASMSourcemapData + from datadog_api_client.v2.model.portable_pdb_sourcemap_data import PortablePdbSourcemapData return { "oneOf": [ @@ -54,5 +56,7 @@ def _composed_schemas(_): ELFSourcemapData, NDKSourcemapData, IL2CPPSourcemapData, + WASMSourcemapData, + PortablePdbSourcemapData, ], } diff --git a/src/datadog_api_client/v2/model/sourcemaps_response.py b/src/datadog_api_client/v2/model/sourcemaps_response.py index e042b003dd..281db71b70 100644 --- a/src/datadog_api_client/v2/model/sourcemaps_response.py +++ b/src/datadog_api_client/v2/model/sourcemaps_response.py @@ -21,6 +21,8 @@ from datadog_api_client.v2.model.elf_sourcemap_data import ELFSourcemapData from datadog_api_client.v2.model.ndk_sourcemap_data import NDKSourcemapData from datadog_api_client.v2.model.il2_cpp_sourcemap_data import IL2CPPSourcemapData + from datadog_api_client.v2.model.wasm_sourcemap_data import WASMSourcemapData + from datadog_api_client.v2.model.portable_pdb_sourcemap_data import PortablePdbSourcemapData class SourcemapsResponse(ModelNormal): @@ -49,6 +51,8 @@ def __init__( ELFSourcemapData, NDKSourcemapData, IL2CPPSourcemapData, + WASMSourcemapData, + PortablePdbSourcemapData, ] ], **kwargs, diff --git a/src/datadog_api_client/v2/model/wasm_sourcemap_attributes.py b/src/datadog_api_client/v2/model/wasm_sourcemap_attributes.py new file mode 100644 index 0000000000..0ac2511558 --- /dev/null +++ b/src/datadog_api_client/v2/model/wasm_sourcemap_attributes.py @@ -0,0 +1,79 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + datetime, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.wasm_sourcemap_map_kind import WASMSourcemapMapKind + + +class WASMSourcemapAttributes(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.wasm_sourcemap_map_kind import WASMSourcemapMapKind + + return { + "build_id": (str,), + "created_at": (datetime,), + "file_name": (str,), + "mapkind": (WASMSourcemapMapKind,), + "size": (int,), + } + + attribute_map = { + "build_id": "build_id", + "created_at": "created_at", + "file_name": "file_name", + "mapkind": "mapkind", + "size": "size", + } + + def __init__( + self_, + mapkind: WASMSourcemapMapKind, + build_id: Union[str, UnsetType] = unset, + created_at: Union[datetime, UnsetType] = unset, + file_name: Union[str, UnsetType] = unset, + size: Union[int, UnsetType] = unset, + **kwargs, + ): + """ + Attributes of a WebAssembly symbol file. + + :param build_id: The build identifier. + :type build_id: str, optional + + :param created_at: The timestamp when the symbol file was created. + :type created_at: datetime, optional + + :param file_name: The file name of the symbol file. + :type file_name: str, optional + + :param mapkind: The type of source map. Always ``wasm`` for WebAssembly symbol files. + :type mapkind: WASMSourcemapMapKind + + :param size: The size of the symbol file in bytes. + :type size: int, optional + """ + if build_id is not unset: + kwargs["build_id"] = build_id + if created_at is not unset: + kwargs["created_at"] = created_at + if file_name is not unset: + kwargs["file_name"] = file_name + if size is not unset: + kwargs["size"] = size + super().__init__(kwargs) + + self_.mapkind = mapkind diff --git a/src/datadog_api_client/v2/model/wasm_sourcemap_data.py b/src/datadog_api_client/v2/model/wasm_sourcemap_data.py new file mode 100644 index 0000000000..2611e0cbf0 --- /dev/null +++ b/src/datadog_api_client/v2/model/wasm_sourcemap_data.py @@ -0,0 +1,54 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.wasm_sourcemap_attributes import WASMSourcemapAttributes + from datadog_api_client.v2.model.sourcemap_data_type import SourcemapDataType + + +class WASMSourcemapData(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.wasm_sourcemap_attributes import WASMSourcemapAttributes + from datadog_api_client.v2.model.sourcemap_data_type import SourcemapDataType + + return { + "attributes": (WASMSourcemapAttributes,), + "id": (str,), + "type": (SourcemapDataType,), + } + + attribute_map = { + "attributes": "attributes", + "id": "id", + "type": "type", + } + + def __init__(self_, attributes: WASMSourcemapAttributes, id: str, type: SourcemapDataType, **kwargs): + """ + WebAssembly symbol file data object. + + :param attributes: Attributes of a WebAssembly symbol file. + :type attributes: WASMSourcemapAttributes + + :param id: The unique identifier of the source map. + :type id: str + + :param type: The resource type for source map objects. + :type type: SourcemapDataType + """ + super().__init__(kwargs) + + self_.attributes = attributes + self_.id = id + self_.type = type diff --git a/src/datadog_api_client/v2/model/wasm_sourcemap_map_kind.py b/src/datadog_api_client/v2/model/wasm_sourcemap_map_kind.py new file mode 100644 index 0000000000..af9126236d --- /dev/null +++ b/src/datadog_api_client/v2/model/wasm_sourcemap_map_kind.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class WASMSourcemapMapKind(ModelSimple): + """ + The type of source map. Always `wasm` for WebAssembly symbol files. + + :param value: If omitted defaults to "wasm". Must be one of ["wasm"]. + :type value: str + """ + + allowed_values = { + "wasm", + } + WASM: ClassVar["WASMSourcemapMapKind"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +WASMSourcemapMapKind.WASM = WASMSourcemapMapKind("wasm") diff --git a/src/datadog_api_client/v2/models/__init__.py b/src/datadog_api_client/v2/models/__init__.py index 489700a6a2..cdc55a9c36 100644 --- a/src/datadog_api_client/v2/models/__init__.py +++ b/src/datadog_api_client/v2/models/__init__.py @@ -2901,6 +2901,7 @@ from datadog_api_client.v2.model.due_date_severity import DueDateSeverity from datadog_api_client.v2.model.elf_sourcemap_attributes import ELFSourcemapAttributes from datadog_api_client.v2.model.elf_sourcemap_data import ELFSourcemapData +from datadog_api_client.v2.model.elf_sourcemap_map_kind import ELFSourcemapMapKind from datadog_api_client.v2.model.epss import EPSS from datadog_api_client.v2.model.elastic_cloud_detailed_index_stats_integration_dataflow_request import ( ElasticCloudDetailedIndexStatsIntegrationDataflowRequest, @@ -4106,6 +4107,7 @@ from datadog_api_client.v2.model.fleet_tracers_response_meta import FleetTracersResponseMeta from datadog_api_client.v2.model.flutter_sourcemap_attributes import FlutterSourcemapAttributes from datadog_api_client.v2.model.flutter_sourcemap_data import FlutterSourcemapData +from datadog_api_client.v2.model.flutter_sourcemap_map_kind import FlutterSourcemapMapKind from datadog_api_client.v2.model.form_data import FormData from datadog_api_client.v2.model.form_data_attributes import FormDataAttributes from datadog_api_client.v2.model.form_data_definition import FormDataDefinition @@ -4610,8 +4612,10 @@ from datadog_api_client.v2.model.hourly_usage_type import HourlyUsageType from datadog_api_client.v2.model.il2_cpp_sourcemap_attributes import IL2CPPSourcemapAttributes from datadog_api_client.v2.model.il2_cpp_sourcemap_data import IL2CPPSourcemapData +from datadog_api_client.v2.model.il2_cpp_sourcemap_map_kind import IL2CPPSourcemapMapKind from datadog_api_client.v2.model.ios_sourcemap_attributes import IOSSourcemapAttributes from datadog_api_client.v2.model.ios_sourcemap_data import IOSSourcemapData +from datadog_api_client.v2.model.ios_sourcemap_map_kind import IOSSourcemapMapKind from datadog_api_client.v2.model.ip_allowlist_attributes import IPAllowlistAttributes from datadog_api_client.v2.model.ip_allowlist_data import IPAllowlistData from datadog_api_client.v2.model.ip_allowlist_entry import IPAllowlistEntry @@ -5293,8 +5297,10 @@ from datadog_api_client.v2.model.jsonapi_error_response import JSONAPIErrorResponse from datadog_api_client.v2.model.js_sourcemap_attributes import JSSourcemapAttributes from datadog_api_client.v2.model.js_sourcemap_data import JSSourcemapData +from datadog_api_client.v2.model.js_sourcemap_map_kind import JSSourcemapMapKind from datadog_api_client.v2.model.jvm_sourcemap_attributes import JVMSourcemapAttributes from datadog_api_client.v2.model.jvm_sourcemap_data import JVMSourcemapData +from datadog_api_client.v2.model.jvm_sourcemap_map_kind import JVMSourcemapMapKind from datadog_api_client.v2.model.jira_account_attributes import JiraAccountAttributes from datadog_api_client.v2.model.jira_account_data import JiraAccountData from datadog_api_client.v2.model.jira_account_relationship import JiraAccountRelationship @@ -6622,6 +6628,7 @@ from datadog_api_client.v2.model.mute_rules_response import MuteRulesResponse from datadog_api_client.v2.model.ndk_sourcemap_attributes import NDKSourcemapAttributes from datadog_api_client.v2.model.ndk_sourcemap_data import NDKSourcemapData +from datadog_api_client.v2.model.ndk_sourcemap_map_kind import NDKSourcemapMapKind from datadog_api_client.v2.model.network_health_insight import NetworkHealthInsight from datadog_api_client.v2.model.network_health_insight_attributes import NetworkHealthInsightAttributes from datadog_api_client.v2.model.network_health_insight_category import NetworkHealthInsightCategory @@ -8314,6 +8321,9 @@ from datadog_api_client.v2.model.playlists_session_array import PlaylistsSessionArray from datadog_api_client.v2.model.playlists_session_data import PlaylistsSessionData from datadog_api_client.v2.model.playlists_session_data_attributes import PlaylistsSessionDataAttributes +from datadog_api_client.v2.model.portable_pdb_sourcemap_attributes import PortablePdbSourcemapAttributes +from datadog_api_client.v2.model.portable_pdb_sourcemap_data import PortablePdbSourcemapData +from datadog_api_client.v2.model.portable_pdb_sourcemap_map_kind import PortablePdbSourcemapMapKind from datadog_api_client.v2.model.postmortem_attachment_request import PostmortemAttachmentRequest from datadog_api_client.v2.model.postmortem_attachment_request_attributes import PostmortemAttachmentRequestAttributes from datadog_api_client.v2.model.postmortem_attachment_request_data import PostmortemAttachmentRequestData @@ -8938,6 +8948,7 @@ from datadog_api_client.v2.model.raw_error_budget_remaining import RawErrorBudgetRemaining from datadog_api_client.v2.model.react_native_sourcemap_attributes import ReactNativeSourcemapAttributes from datadog_api_client.v2.model.react_native_sourcemap_data import ReactNativeSourcemapData +from datadog_api_client.v2.model.react_native_sourcemap_map_kind import ReactNativeSourcemapMapKind from datadog_api_client.v2.model.readiness_gate import ReadinessGate from datadog_api_client.v2.model.readiness_gate_threshold_type import ReadinessGateThresholdType from datadog_api_client.v2.model.recently_updated_entities_response import RecentlyUpdatedEntitiesResponse @@ -12717,6 +12728,9 @@ from datadog_api_client.v2.model.vulnerability_status import VulnerabilityStatus from datadog_api_client.v2.model.vulnerability_tool import VulnerabilityTool from datadog_api_client.v2.model.vulnerability_type import VulnerabilityType +from datadog_api_client.v2.model.wasm_sourcemap_attributes import WASMSourcemapAttributes +from datadog_api_client.v2.model.wasm_sourcemap_data import WASMSourcemapData +from datadog_api_client.v2.model.wasm_sourcemap_map_kind import WASMSourcemapMapKind from datadog_api_client.v2.model.watch import Watch from datadog_api_client.v2.model.watch_data import WatchData from datadog_api_client.v2.model.watch_data_attributes import WatchDataAttributes @@ -14973,6 +14987,7 @@ "DueDateSeverity", "ELFSourcemapAttributes", "ELFSourcemapData", + "ELFSourcemapMapKind", "EPSS", "ElasticCloudDetailedIndexStatsIntegrationDataflowRequest", "ElasticCloudDetailedIndexStatsIntegrationDataflowResponse", @@ -15664,6 +15679,7 @@ "FleetTracersResponseMeta", "FlutterSourcemapAttributes", "FlutterSourcemapData", + "FlutterSourcemapMapKind", "FormData", "FormDataAttributes", "FormDataDefinition", @@ -16046,8 +16062,10 @@ "HourlyUsageType", "IL2CPPSourcemapAttributes", "IL2CPPSourcemapData", + "IL2CPPSourcemapMapKind", "IOSSourcemapAttributes", "IOSSourcemapData", + "IOSSourcemapMapKind", "IPAllowlistAttributes", "IPAllowlistData", "IPAllowlistEntry", @@ -16543,8 +16561,10 @@ "JSONAPIErrorResponse", "JSSourcemapAttributes", "JSSourcemapData", + "JSSourcemapMapKind", "JVMSourcemapAttributes", "JVMSourcemapData", + "JVMSourcemapMapKind", "JiraAccountAttributes", "JiraAccountData", "JiraAccountRelationship", @@ -17516,6 +17536,7 @@ "MuteRulesResponse", "NDKSourcemapAttributes", "NDKSourcemapData", + "NDKSourcemapMapKind", "NetworkHealthInsight", "NetworkHealthInsightAttributes", "NetworkHealthInsightCategory", @@ -18392,6 +18413,9 @@ "PlaylistsSessionArray", "PlaylistsSessionData", "PlaylistsSessionDataAttributes", + "PortablePdbSourcemapAttributes", + "PortablePdbSourcemapData", + "PortablePdbSourcemapMapKind", "PostmortemAttachmentRequest", "PostmortemAttachmentRequestAttributes", "PostmortemAttachmentRequestData", @@ -18802,6 +18826,7 @@ "RawErrorBudgetRemaining", "ReactNativeSourcemapAttributes", "ReactNativeSourcemapData", + "ReactNativeSourcemapMapKind", "ReadinessGate", "ReadinessGateThresholdType", "RecentlyUpdatedEntitiesResponse", @@ -21259,6 +21284,9 @@ "VulnerabilityStatus", "VulnerabilityTool", "VulnerabilityType", + "WASMSourcemapAttributes", + "WASMSourcemapData", + "WASMSourcemapMapKind", "Watch", "WatchData", "WatchDataAttributes",