docs/v1/FormulaAndFunctionQueryDefinition.md in datadog_api_client-1.3.0 vs docs/v1/FormulaAndFunctionQueryDefinition.md in datadog_api_client-1.4.0

- old
+ new

@@ -12,10 +12,12 @@ require 'datadog_api_client/v1' DatadogAPIClient::V1::FormulaAndFunctionQueryDefinition.openapi_one_of # => # [ +# :'FormulaAndFunctionApmDependencyStatsQueryDefinition', +# :'FormulaAndFunctionApmResourceStatsQueryDefinition', # :'FormulaAndFunctionEventQueryDefinition', # :'FormulaAndFunctionMetricQueryDefinition', # :'FormulaAndFunctionProcessQueryDefinition' # ] ``` @@ -28,11 +30,11 @@ ```ruby require 'datadog_api_client/v1' DatadogAPIClient::V1::FormulaAndFunctionQueryDefinition.build(data) -# => #<FormulaAndFunctionEventQueryDefinition:0x00007fdd4aab02a0> +# => #<FormulaAndFunctionApmDependencyStatsQueryDefinition:0x00007fdd4aab02a0> DatadogAPIClient::V1::FormulaAndFunctionQueryDefinition.build(data_that_doesnt_match) # => nil ``` @@ -42,9 +44,11 @@ | ---- | ---- | ----------- | | **data** | **Mixed** | data to be matched against the list of oneOf items | #### Return type +- `FormulaAndFunctionApmDependencyStatsQueryDefinition` +- `FormulaAndFunctionApmResourceStatsQueryDefinition` - `FormulaAndFunctionEventQueryDefinition` - `FormulaAndFunctionMetricQueryDefinition` - `FormulaAndFunctionProcessQueryDefinition` - `nil` (if no type matches)