diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 00ba154a3a71..2b4c8780d091 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/lib/datadog_api_client/inflector.rb b/lib/datadog_api_client/inflector.rb index 04fa388f4dce..47a3f51d853a 100644 --- a/lib/datadog_api_client/inflector.rb +++ b/lib/datadog_api_client/inflector.rb @@ -3362,6 +3362,7 @@ def overrides "v2.elastic_cloud_slm_stats_integration_dataflow_response" => "ElasticCloudSlmStatsIntegrationDataflowResponse", "v2.elf_sourcemap_attributes" => "ELFSourcemapAttributes", "v2.elf_sourcemap_data" => "ELFSourcemapData", + "v2.elf_sourcemap_map_kind" => "ELFSourcemapMapKind", "v2.entity_attributes" => "EntityAttributes", "v2.entity_context_entity" => "EntityContextEntity", "v2.entity_context_entity_attributes" => "EntityContextEntityAttributes", @@ -4012,6 +4013,7 @@ def overrides "v2.fleet_tracers_response_meta" => "FleetTracersResponseMeta", "v2.flutter_sourcemap_attributes" => "FlutterSourcemapAttributes", "v2.flutter_sourcemap_data" => "FlutterSourcemapData", + "v2.flutter_sourcemap_map_kind" => "FlutterSourcemapMapKind", "v2.form_data" => "FormData", "v2.form_data_attributes" => "FormDataAttributes", "v2.form_data_definition" => "FormDataDefinition", @@ -4402,6 +4404,7 @@ def overrides "v2.idp_metadata_form_data" => "IdPMetadataFormData", "v2.il2_cpp_sourcemap_attributes" => "IL2CPPSourcemapAttributes", "v2.il2_cpp_sourcemap_data" => "IL2CPPSourcemapData", + "v2.il2_cpp_sourcemap_map_kind" => "IL2CPPSourcemapMapKind", "v2.inbox_rule_action" => "InboxRuleAction", "v2.inbox_rule_attributes_create" => "InboxRuleAttributesCreate", "v2.inbox_rule_attributes_response" => "InboxRuleAttributesResponse", @@ -4811,6 +4814,7 @@ def overrides "v2.io_c_triage_write_response_data" => "IoCTriageWriteResponseData", "v2.ios_sourcemap_attributes" => "IOSSourcemapAttributes", "v2.ios_sourcemap_data" => "IOSSourcemapData", + "v2.ios_sourcemap_map_kind" => "IOSSourcemapMapKind", "v2.ip_allowlist_attributes" => "IPAllowlistAttributes", "v2.ip_allowlist_data" => "IPAllowlistData", "v2.ip_allowlist_entry" => "IPAllowlistEntry", @@ -4923,8 +4927,10 @@ def overrides "v2.json_patch_operation_op" => "JsonPatchOperationOp", "v2.js_sourcemap_attributes" => "JSSourcemapAttributes", "v2.js_sourcemap_data" => "JSSourcemapData", + "v2.js_sourcemap_map_kind" => "JSSourcemapMapKind", "v2.jvm_sourcemap_attributes" => "JVMSourcemapAttributes", "v2.jvm_sourcemap_data" => "JVMSourcemapData", + "v2.jvm_sourcemap_map_kind" => "JVMSourcemapMapKind", "v2.kind_attributes" => "KindAttributes", "v2.kind_data" => "KindData", "v2.kind_metadata" => "KindMetadata", @@ -5857,6 +5863,7 @@ def overrides "v2.mute_rule_update_request" => "MuteRuleUpdateRequest", "v2.ndk_sourcemap_attributes" => "NDKSourcemapAttributes", "v2.ndk_sourcemap_data" => "NDKSourcemapData", + "v2.ndk_sourcemap_map_kind" => "NDKSourcemapMapKind", "v2.network_health_insight" => "NetworkHealthInsight", "v2.network_health_insight_attributes" => "NetworkHealthInsightAttributes", "v2.network_health_insight_category" => "NetworkHealthInsightCategory", @@ -6726,6 +6733,9 @@ def overrides "v2.playlists_session_array" => "PlaylistsSessionArray", "v2.playlists_session_data" => "PlaylistsSessionData", "v2.playlists_session_data_attributes" => "PlaylistsSessionDataAttributes", + "v2.portable_pdb_sourcemap_attributes" => "PortablePdbSourcemapAttributes", + "v2.portable_pdb_sourcemap_data" => "PortablePdbSourcemapData", + "v2.portable_pdb_sourcemap_map_kind" => "PortablePdbSourcemapMapKind", "v2.postmortem_attachment_request" => "PostmortemAttachmentRequest", "v2.postmortem_attachment_request_attributes" => "PostmortemAttachmentRequestAttributes", "v2.postmortem_attachment_request_data" => "PostmortemAttachmentRequestData", @@ -7051,6 +7061,7 @@ def overrides "v2.raw_error_budget_remaining" => "RawErrorBudgetRemaining", "v2.react_native_sourcemap_attributes" => "ReactNativeSourcemapAttributes", "v2.react_native_sourcemap_data" => "ReactNativeSourcemapData", + "v2.react_native_sourcemap_map_kind" => "ReactNativeSourcemapMapKind", "v2.readiness_gate" => "ReadinessGate", "v2.readiness_gate_threshold_type" => "ReadinessGateThresholdType", "v2.recently_updated_entities_response" => "RecentlyUpdatedEntitiesResponse", @@ -9569,6 +9580,9 @@ def overrides "v2.vulnerability_status" => "VulnerabilityStatus", "v2.vulnerability_tool" => "VulnerabilityTool", "v2.vulnerability_type" => "VulnerabilityType", + "v2.wasm_sourcemap_attributes" => "WASMSourcemapAttributes", + "v2.wasm_sourcemap_data" => "WASMSourcemapData", + "v2.wasm_sourcemap_map_kind" => "WASMSourcemapMapKind", "v2.watch" => "Watch", "v2.watch_data" => "WatchData", "v2.watch_data_attributes" => "WatchDataAttributes", diff --git a/lib/datadog_api_client/v2/models/elf_sourcemap_attributes.rb b/lib/datadog_api_client/v2/models/elf_sourcemap_attributes.rb index b8d5728b015b..e7fde9bf10f3 100644 --- a/lib/datadog_api_client/v2/models/elf_sourcemap_attributes.rb +++ b/lib/datadog_api_client/v2/models/elf_sourcemap_attributes.rb @@ -39,7 +39,7 @@ class ELFSourcemapAttributes # The Go build ID (UUID format). attr_accessor :go_build_id - # The type of source map. + # The type of source map. Always `elf` for ELF source maps. attr_reader :mapkind # The origin of the ELF file. @@ -84,7 +84,7 @@ def self.openapi_types :'file_name' => :'String', :'gnu_build_id' => :'String', :'go_build_id' => :'String', - :'mapkind' => :'String', + :'mapkind' => :'ELFSourcemapMapKind', :'origin' => :'String', :'origin_version' => :'String', :'size' => :'Integer', diff --git a/lib/datadog_api_client/v2/models/elf_sourcemap_map_kind.rb b/lib/datadog_api_client/v2/models/elf_sourcemap_map_kind.rb new file mode 100644 index 000000000000..d5c9ceb44584 --- /dev/null +++ b/lib/datadog_api_client/v2/models/elf_sourcemap_map_kind.rb @@ -0,0 +1,26 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + 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 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # The type of source map. Always `elf` for ELF source maps. + class ELFSourcemapMapKind + include BaseEnumModel + + ELF = "elf".freeze + end +end diff --git a/lib/datadog_api_client/v2/models/flutter_sourcemap_attributes.rb b/lib/datadog_api_client/v2/models/flutter_sourcemap_attributes.rb index a8e9b2e4f896..9d57e3efcf85 100644 --- a/lib/datadog_api_client/v2/models/flutter_sourcemap_attributes.rb +++ b/lib/datadog_api_client/v2/models/flutter_sourcemap_attributes.rb @@ -27,7 +27,7 @@ class FlutterSourcemapAttributes # The timestamp when the symbol file was created. attr_reader :created_at - # The type of source map. + # The type of source map. Always `flutter` for Flutter source maps. attr_reader :mapkind # The service name associated with the symbol file. @@ -64,7 +64,7 @@ def self.openapi_types { :'arch' => :'String', :'created_at' => :'Time', - :'mapkind' => :'String', + :'mapkind' => :'FlutterSourcemapMapKind', :'service' => :'String', :'size' => :'Integer', :'variant' => :'String', diff --git a/lib/datadog_api_client/v2/models/flutter_sourcemap_map_kind.rb b/lib/datadog_api_client/v2/models/flutter_sourcemap_map_kind.rb new file mode 100644 index 000000000000..2a8aba04705a --- /dev/null +++ b/lib/datadog_api_client/v2/models/flutter_sourcemap_map_kind.rb @@ -0,0 +1,26 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + 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 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # The type of source map. Always `flutter` for Flutter source maps. + class FlutterSourcemapMapKind + include BaseEnumModel + + FLUTTER = "flutter".freeze + end +end diff --git a/lib/datadog_api_client/v2/models/il2_cpp_sourcemap_attributes.rb b/lib/datadog_api_client/v2/models/il2_cpp_sourcemap_attributes.rb index e70046e3dac8..f7c15efe8a6f 100644 --- a/lib/datadog_api_client/v2/models/il2_cpp_sourcemap_attributes.rb +++ b/lib/datadog_api_client/v2/models/il2_cpp_sourcemap_attributes.rb @@ -27,7 +27,7 @@ class IL2CPPSourcemapAttributes # The timestamp when the mapping file was created. attr_reader :created_at - # The type of source map. + # The type of source map. Always `il2cpp` for IL2CPP source maps. attr_reader :mapkind # The size of the mapping file in bytes. @@ -52,7 +52,7 @@ def self.openapi_types { :'build_id' => :'String', :'created_at' => :'Time', - :'mapkind' => :'String', + :'mapkind' => :'IL2CPPSourcemapMapKind', :'size' => :'Integer' } end diff --git a/lib/datadog_api_client/v2/models/il2_cpp_sourcemap_map_kind.rb b/lib/datadog_api_client/v2/models/il2_cpp_sourcemap_map_kind.rb new file mode 100644 index 000000000000..0b037f0883e9 --- /dev/null +++ b/lib/datadog_api_client/v2/models/il2_cpp_sourcemap_map_kind.rb @@ -0,0 +1,26 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + 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 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # The type of source map. Always `il2cpp` for IL2CPP source maps. + class IL2CPPSourcemapMapKind + include BaseEnumModel + + IL2CPP = "il2cpp".freeze + end +end diff --git a/lib/datadog_api_client/v2/models/ios_sourcemap_attributes.rb b/lib/datadog_api_client/v2/models/ios_sourcemap_attributes.rb index 70a0eecfb98a..5ae4a5a5d8ee 100644 --- a/lib/datadog_api_client/v2/models/ios_sourcemap_attributes.rb +++ b/lib/datadog_api_client/v2/models/ios_sourcemap_attributes.rb @@ -24,7 +24,7 @@ class IOSSourcemapAttributes # The timestamp when the source map was created. attr_reader :created_at - # The type of source map. + # The type of source map. Always `ios` for iOS dSYM source maps. attr_reader :mapkind # The size of the dSYM file in bytes. @@ -51,7 +51,7 @@ def self.attribute_map def self.openapi_types { :'created_at' => :'Time', - :'mapkind' => :'String', + :'mapkind' => :'IOSSourcemapMapKind', :'size' => :'Integer', :'uuids' => :'String' } diff --git a/lib/datadog_api_client/v2/models/ios_sourcemap_map_kind.rb b/lib/datadog_api_client/v2/models/ios_sourcemap_map_kind.rb new file mode 100644 index 000000000000..dde72e4aaf24 --- /dev/null +++ b/lib/datadog_api_client/v2/models/ios_sourcemap_map_kind.rb @@ -0,0 +1,26 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + 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 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # The type of source map. Always `ios` for iOS dSYM source maps. + class IOSSourcemapMapKind + include BaseEnumModel + + IOS = "ios".freeze + end +end diff --git a/lib/datadog_api_client/v2/models/js_sourcemap_attributes.rb b/lib/datadog_api_client/v2/models/js_sourcemap_attributes.rb index f942646a42f0..64ae95bc9e04 100644 --- a/lib/datadog_api_client/v2/models/js_sourcemap_attributes.rb +++ b/lib/datadog_api_client/v2/models/js_sourcemap_attributes.rb @@ -43,7 +43,7 @@ class JSSourcemapAttributes # The file name of the minified JavaScript file. attr_accessor :file_name - # The type of source map. + # The type of source map. Always `js` for JavaScript source maps. attr_reader :mapkind # The service name associated with the source map. @@ -94,7 +94,7 @@ def self.openapi_types :'debug_id' => :'String', :'domain' => :'String', :'file_name' => :'String', - :'mapkind' => :'String', + :'mapkind' => :'JSSourcemapMapKind', :'service' => :'String', :'size' => :'Integer', :'variant' => :'String', diff --git a/lib/datadog_api_client/v2/models/js_sourcemap_map_kind.rb b/lib/datadog_api_client/v2/models/js_sourcemap_map_kind.rb new file mode 100644 index 000000000000..007d4735b151 --- /dev/null +++ b/lib/datadog_api_client/v2/models/js_sourcemap_map_kind.rb @@ -0,0 +1,26 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + 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 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # The type of source map. Always `js` for JavaScript source maps. + class JSSourcemapMapKind + include BaseEnumModel + + JS = "js".freeze + end +end diff --git a/lib/datadog_api_client/v2/models/jvm_sourcemap_attributes.rb b/lib/datadog_api_client/v2/models/jvm_sourcemap_attributes.rb index a639077f875c..9c7547641b87 100644 --- a/lib/datadog_api_client/v2/models/jvm_sourcemap_attributes.rb +++ b/lib/datadog_api_client/v2/models/jvm_sourcemap_attributes.rb @@ -27,7 +27,7 @@ class JVMSourcemapAttributes # The timestamp when the mapping file was created. attr_reader :created_at - # The type of source map. + # The type of source map. Always `jvm` for JVM source maps. attr_reader :mapkind # The service name associated with the mapping file. @@ -68,7 +68,7 @@ def self.openapi_types { :'build_id' => :'String', :'created_at' => :'Time', - :'mapkind' => :'String', + :'mapkind' => :'JVMSourcemapMapKind', :'service' => :'String', :'size' => :'Integer', :'variant' => :'String', diff --git a/lib/datadog_api_client/v2/models/jvm_sourcemap_map_kind.rb b/lib/datadog_api_client/v2/models/jvm_sourcemap_map_kind.rb new file mode 100644 index 000000000000..c54852ae0765 --- /dev/null +++ b/lib/datadog_api_client/v2/models/jvm_sourcemap_map_kind.rb @@ -0,0 +1,26 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + 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 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # The type of source map. Always `jvm` for JVM source maps. + class JVMSourcemapMapKind + include BaseEnumModel + + JVM = "jvm".freeze + end +end diff --git a/lib/datadog_api_client/v2/models/ndk_sourcemap_attributes.rb b/lib/datadog_api_client/v2/models/ndk_sourcemap_attributes.rb index 9f8f4693fb04..30791a980c2b 100644 --- a/lib/datadog_api_client/v2/models/ndk_sourcemap_attributes.rb +++ b/lib/datadog_api_client/v2/models/ndk_sourcemap_attributes.rb @@ -33,7 +33,7 @@ class NDKSourcemapAttributes # The NDK library file name. attr_accessor :file_name - # The type of source map. + # The type of source map. Always `ndk` for Android NDK source maps. attr_reader :mapkind # The size of the symbol file in bytes. @@ -62,7 +62,7 @@ def self.openapi_types :'build_id' => :'String', :'created_at' => :'Time', :'file_name' => :'String', - :'mapkind' => :'String', + :'mapkind' => :'NDKSourcemapMapKind', :'size' => :'Integer' } end diff --git a/lib/datadog_api_client/v2/models/ndk_sourcemap_map_kind.rb b/lib/datadog_api_client/v2/models/ndk_sourcemap_map_kind.rb new file mode 100644 index 000000000000..c7ec9573ef78 --- /dev/null +++ b/lib/datadog_api_client/v2/models/ndk_sourcemap_map_kind.rb @@ -0,0 +1,26 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + 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 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # The type of source map. Always `ndk` for Android NDK source maps. + class NDKSourcemapMapKind + include BaseEnumModel + + NDK = "ndk".freeze + end +end diff --git a/lib/datadog_api_client/v2/models/portable_pdb_sourcemap_attributes.rb b/lib/datadog_api_client/v2/models/portable_pdb_sourcemap_attributes.rb new file mode 100644 index 000000000000..fad5119a494d --- /dev/null +++ b/lib/datadog_api_client/v2/models/portable_pdb_sourcemap_attributes.rb @@ -0,0 +1,163 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + 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 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # Attributes of a Portable PDB file. + class PortablePdbSourcemapAttributes + include BaseGenericModel + + # The build identifier. + attr_accessor :build_id + + # The timestamp when the symbol file was created. + attr_accessor :created_at + + # The file name of the symbol file. + attr_accessor :file_name + + # The type of source map. Always `portable_pdb` for Portable PDB files. + attr_reader :mapkind + + # The size of the symbol file in bytes. + attr_accessor :size + + attr_accessor :additional_properties + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'build_id' => :'build_id', + :'created_at' => :'created_at', + :'file_name' => :'file_name', + :'mapkind' => :'mapkind', + :'size' => :'size' + } + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'build_id' => :'String', + :'created_at' => :'Time', + :'file_name' => :'String', + :'mapkind' => :'PortablePdbSourcemapMapKind', + :'size' => :'Integer' + } + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::PortablePdbSourcemapAttributes` initialize method" + end + + self.additional_properties = {} + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + self.additional_properties[k.to_sym] = v + else + h[k.to_sym] = v + end + } + + if attributes.key?(:'build_id') + self.build_id = attributes[:'build_id'] + end + + if attributes.key?(:'created_at') + self.created_at = attributes[:'created_at'] + end + + if attributes.key?(:'file_name') + self.file_name = attributes[:'file_name'] + end + + if attributes.key?(:'mapkind') + self.mapkind = attributes[:'mapkind'] + end + + if attributes.key?(:'size') + self.size = attributes[:'size'] + end + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + # @!visibility private + def valid? + return false if @mapkind.nil? + true + end + + # Custom attribute writer method with validation + # @param mapkind [Object] Object to be assigned + # @!visibility private + def mapkind=(mapkind) + if mapkind.nil? + fail ArgumentError, 'invalid value for "mapkind", mapkind cannot be nil.' + end + @mapkind = mapkind + end + + # Returns the object in the form of hash, with additionalProperties support. + # @return [Hash] Returns the object in the form of hash + # @!visibility private + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + self.additional_properties.each_pair do |attr, value| + hash[attr] = value + end + hash + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + build_id == o.build_id && + created_at == o.created_at && + file_name == o.file_name && + mapkind == o.mapkind && + size == o.size && + additional_properties == o.additional_properties + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [build_id, created_at, file_name, mapkind, size, additional_properties].hash + end + end +end diff --git a/lib/datadog_api_client/v2/models/portable_pdb_sourcemap_data.rb b/lib/datadog_api_client/v2/models/portable_pdb_sourcemap_data.rb new file mode 100644 index 000000000000..49981a2b85ea --- /dev/null +++ b/lib/datadog_api_client/v2/models/portable_pdb_sourcemap_data.rb @@ -0,0 +1,165 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + 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 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # Portable PDB file data object. + class PortablePdbSourcemapData + include BaseGenericModel + + # Attributes of a Portable PDB file. + attr_reader :attributes + + # The unique identifier of the source map. + attr_reader :id + + # The resource type for source map objects. + attr_reader :type + + attr_accessor :additional_properties + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'attributes' => :'attributes', + :'id' => :'id', + :'type' => :'type' + } + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'attributes' => :'PortablePdbSourcemapAttributes', + :'id' => :'String', + :'type' => :'SourcemapDataType' + } + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::PortablePdbSourcemapData` initialize method" + end + + self.additional_properties = {} + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + self.additional_properties[k.to_sym] = v + else + h[k.to_sym] = v + end + } + + if attributes.key?(:'attributes') + self.attributes = attributes[:'attributes'] + end + + if attributes.key?(:'id') + self.id = attributes[:'id'] + end + + if attributes.key?(:'type') + self.type = attributes[:'type'] + end + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + # @!visibility private + def valid? + return false if @attributes.nil? + return false if @id.nil? + return false if @type.nil? + true + end + + # Custom attribute writer method with validation + # @param attributes [Object] Object to be assigned + # @!visibility private + def attributes=(attributes) + if attributes.nil? + fail ArgumentError, 'invalid value for "attributes", attributes cannot be nil.' + end + @attributes = attributes + end + + # Custom attribute writer method with validation + # @param id [Object] Object to be assigned + # @!visibility private + def id=(id) + if id.nil? + fail ArgumentError, 'invalid value for "id", id cannot be nil.' + end + @id = id + end + + # Custom attribute writer method with validation + # @param type [Object] Object to be assigned + # @!visibility private + def type=(type) + if type.nil? + fail ArgumentError, 'invalid value for "type", type cannot be nil.' + end + @type = type + end + + # Returns the object in the form of hash, with additionalProperties support. + # @return [Hash] Returns the object in the form of hash + # @!visibility private + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + self.additional_properties.each_pair do |attr, value| + hash[attr] = value + end + hash + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + attributes == o.attributes && + id == o.id && + type == o.type && + additional_properties == o.additional_properties + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [attributes, id, type, additional_properties].hash + end + end +end diff --git a/lib/datadog_api_client/v2/models/portable_pdb_sourcemap_map_kind.rb b/lib/datadog_api_client/v2/models/portable_pdb_sourcemap_map_kind.rb new file mode 100644 index 000000000000..75a06ecbd02f --- /dev/null +++ b/lib/datadog_api_client/v2/models/portable_pdb_sourcemap_map_kind.rb @@ -0,0 +1,26 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + 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 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # The type of source map. Always `portable_pdb` for Portable PDB files. + class PortablePdbSourcemapMapKind + include BaseEnumModel + + PORTABLE_PDB = "portable_pdb".freeze + end +end diff --git a/lib/datadog_api_client/v2/models/react_native_sourcemap_attributes.rb b/lib/datadog_api_client/v2/models/react_native_sourcemap_attributes.rb index 7eb3ff051768..0f47950598e9 100644 --- a/lib/datadog_api_client/v2/models/react_native_sourcemap_attributes.rb +++ b/lib/datadog_api_client/v2/models/react_native_sourcemap_attributes.rb @@ -36,7 +36,7 @@ class ReactNativeSourcemapAttributes # The debug identifier (UUID format). attr_accessor :debug_id - # The type of source map. + # The type of source map. Always `react` for React Native source maps. attr_reader :mapkind # The platform the source map was built for (e.g., `ios`, `android`). @@ -79,7 +79,7 @@ def self.openapi_types :'bundle_version' => :'String', :'created_at' => :'Time', :'debug_id' => :'String', - :'mapkind' => :'String', + :'mapkind' => :'ReactNativeSourcemapMapKind', :'platform' => :'String', :'service' => :'String', :'size' => :'Integer', diff --git a/lib/datadog_api_client/v2/models/react_native_sourcemap_map_kind.rb b/lib/datadog_api_client/v2/models/react_native_sourcemap_map_kind.rb new file mode 100644 index 000000000000..fe854bfc34c9 --- /dev/null +++ b/lib/datadog_api_client/v2/models/react_native_sourcemap_map_kind.rb @@ -0,0 +1,26 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + 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 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # The type of source map. Always `react` for React Native source maps. + class ReactNativeSourcemapMapKind + include BaseEnumModel + + REACT = "react".freeze + end +end diff --git a/lib/datadog_api_client/v2/models/sourcemap_item.rb b/lib/datadog_api_client/v2/models/sourcemap_item.rb index d4edd76e6370..4b941b4e0c8a 100644 --- a/lib/datadog_api_client/v2/models/sourcemap_item.rb +++ b/lib/datadog_api_client/v2/models/sourcemap_item.rb @@ -33,7 +33,9 @@ def openapi_one_of :'FlutterSourcemapData', :'ELFSourcemapData', :'NDKSourcemapData', - :'IL2CPPSourcemapData' + :'IL2CPPSourcemapData', + :'WASMSourcemapData', + :'PortablePdbSourcemapData' ] end # Builds the object diff --git a/lib/datadog_api_client/v2/models/wasm_sourcemap_attributes.rb b/lib/datadog_api_client/v2/models/wasm_sourcemap_attributes.rb new file mode 100644 index 000000000000..492389eed172 --- /dev/null +++ b/lib/datadog_api_client/v2/models/wasm_sourcemap_attributes.rb @@ -0,0 +1,163 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + 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 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # Attributes of a WebAssembly symbol file. + class WASMSourcemapAttributes + include BaseGenericModel + + # The build identifier. + attr_accessor :build_id + + # The timestamp when the symbol file was created. + attr_accessor :created_at + + # The file name of the symbol file. + attr_accessor :file_name + + # The type of source map. Always `wasm` for WebAssembly symbol files. + attr_reader :mapkind + + # The size of the symbol file in bytes. + attr_accessor :size + + attr_accessor :additional_properties + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'build_id' => :'build_id', + :'created_at' => :'created_at', + :'file_name' => :'file_name', + :'mapkind' => :'mapkind', + :'size' => :'size' + } + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'build_id' => :'String', + :'created_at' => :'Time', + :'file_name' => :'String', + :'mapkind' => :'WASMSourcemapMapKind', + :'size' => :'Integer' + } + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::WASMSourcemapAttributes` initialize method" + end + + self.additional_properties = {} + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + self.additional_properties[k.to_sym] = v + else + h[k.to_sym] = v + end + } + + if attributes.key?(:'build_id') + self.build_id = attributes[:'build_id'] + end + + if attributes.key?(:'created_at') + self.created_at = attributes[:'created_at'] + end + + if attributes.key?(:'file_name') + self.file_name = attributes[:'file_name'] + end + + if attributes.key?(:'mapkind') + self.mapkind = attributes[:'mapkind'] + end + + if attributes.key?(:'size') + self.size = attributes[:'size'] + end + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + # @!visibility private + def valid? + return false if @mapkind.nil? + true + end + + # Custom attribute writer method with validation + # @param mapkind [Object] Object to be assigned + # @!visibility private + def mapkind=(mapkind) + if mapkind.nil? + fail ArgumentError, 'invalid value for "mapkind", mapkind cannot be nil.' + end + @mapkind = mapkind + end + + # Returns the object in the form of hash, with additionalProperties support. + # @return [Hash] Returns the object in the form of hash + # @!visibility private + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + self.additional_properties.each_pair do |attr, value| + hash[attr] = value + end + hash + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + build_id == o.build_id && + created_at == o.created_at && + file_name == o.file_name && + mapkind == o.mapkind && + size == o.size && + additional_properties == o.additional_properties + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [build_id, created_at, file_name, mapkind, size, additional_properties].hash + end + end +end diff --git a/lib/datadog_api_client/v2/models/wasm_sourcemap_data.rb b/lib/datadog_api_client/v2/models/wasm_sourcemap_data.rb new file mode 100644 index 000000000000..40f2a8437168 --- /dev/null +++ b/lib/datadog_api_client/v2/models/wasm_sourcemap_data.rb @@ -0,0 +1,165 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + 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 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # WebAssembly symbol file data object. + class WASMSourcemapData + include BaseGenericModel + + # Attributes of a WebAssembly symbol file. + attr_reader :attributes + + # The unique identifier of the source map. + attr_reader :id + + # The resource type for source map objects. + attr_reader :type + + attr_accessor :additional_properties + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'attributes' => :'attributes', + :'id' => :'id', + :'type' => :'type' + } + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'attributes' => :'WASMSourcemapAttributes', + :'id' => :'String', + :'type' => :'SourcemapDataType' + } + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::WASMSourcemapData` initialize method" + end + + self.additional_properties = {} + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + self.additional_properties[k.to_sym] = v + else + h[k.to_sym] = v + end + } + + if attributes.key?(:'attributes') + self.attributes = attributes[:'attributes'] + end + + if attributes.key?(:'id') + self.id = attributes[:'id'] + end + + if attributes.key?(:'type') + self.type = attributes[:'type'] + end + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + # @!visibility private + def valid? + return false if @attributes.nil? + return false if @id.nil? + return false if @type.nil? + true + end + + # Custom attribute writer method with validation + # @param attributes [Object] Object to be assigned + # @!visibility private + def attributes=(attributes) + if attributes.nil? + fail ArgumentError, 'invalid value for "attributes", attributes cannot be nil.' + end + @attributes = attributes + end + + # Custom attribute writer method with validation + # @param id [Object] Object to be assigned + # @!visibility private + def id=(id) + if id.nil? + fail ArgumentError, 'invalid value for "id", id cannot be nil.' + end + @id = id + end + + # Custom attribute writer method with validation + # @param type [Object] Object to be assigned + # @!visibility private + def type=(type) + if type.nil? + fail ArgumentError, 'invalid value for "type", type cannot be nil.' + end + @type = type + end + + # Returns the object in the form of hash, with additionalProperties support. + # @return [Hash] Returns the object in the form of hash + # @!visibility private + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + self.additional_properties.each_pair do |attr, value| + hash[attr] = value + end + hash + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + attributes == o.attributes && + id == o.id && + type == o.type && + additional_properties == o.additional_properties + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [attributes, id, type, additional_properties].hash + end + end +end diff --git a/lib/datadog_api_client/v2/models/wasm_sourcemap_map_kind.rb b/lib/datadog_api_client/v2/models/wasm_sourcemap_map_kind.rb new file mode 100644 index 000000000000..45053f239e7c --- /dev/null +++ b/lib/datadog_api_client/v2/models/wasm_sourcemap_map_kind.rb @@ -0,0 +1,26 @@ +=begin +#Datadog API V2 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + 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 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V2 + # The type of source map. Always `wasm` for WebAssembly symbol files. + class WASMSourcemapMapKind + include BaseEnumModel + + WASM = "wasm".freeze + end +end