Skip to content

Commit

Permalink
Add support for formula and function in monitors (#719)
Browse files Browse the repository at this point in the history
* Regenerate client from commit f7a8bd6 of spec repo

* pre-commit fixes

Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com> 764ba66
  • Loading branch information
1 parent 512935d commit cfe6f61
Show file tree
Hide file tree
Showing 15 changed files with 20,200 additions and 7,350 deletions.
8 changes: 4 additions & 4 deletions DatadogAPIClient/V1.html

Large diffs are not rendered by default.

424 changes: 424 additions & 0 deletions DatadogAPIClient/V1/MonitorFormulaAndFunctionEventAggregation.html

Large diffs are not rendered by default.

2,371 changes: 2,371 additions & 0 deletions DatadogAPIClient/V1/MonitorFormulaAndFunctionEventQueryDefinition.html

Large diffs are not rendered by default.

2,097 changes: 2,097 additions & 0 deletions DatadogAPIClient/V1/MonitorFormulaAndFunctionEventQueryDefinitionCompute.html

Large diffs are not rendered by default.

1,933 changes: 1,933 additions & 0 deletions DatadogAPIClient/V1/MonitorFormulaAndFunctionEventQueryDefinitionSearch.html

Large diffs are not rendered by default.

2,097 changes: 2,097 additions & 0 deletions DatadogAPIClient/V1/MonitorFormulaAndFunctionEventQueryGroupBy.html

Large diffs are not rendered by default.

2,101 changes: 2,101 additions & 0 deletions DatadogAPIClient/V1/MonitorFormulaAndFunctionEventQueryGroupBySort.html

Large diffs are not rendered by default.

369 changes: 369 additions & 0 deletions DatadogAPIClient/V1/MonitorFormulaAndFunctionEventsDataSource.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,369 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Class: DatadogAPIClient::V1::MonitorFormulaAndFunctionEventsDataSource

&mdash; datadog-api-client 1.6.1.dev.1 documentation

</title>

<link rel="stylesheet" href="../../css/style.css" type="text/css" />

<link rel="stylesheet" href="../../css/common.css" type="text/css" />

<script type="text/javascript">
pathId = "DatadogAPIClient::V1::MonitorFormulaAndFunctionEventsDataSource";
relpath = '../../';
</script>


<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>

<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>


</head>
<body>
<div class="nav_wrap">
<iframe id="nav" src="../../class_list.html?1"></iframe>
<div id="resizer"></div>
</div>

<div id="main" tabindex="-1">
<div id="header">
<div id="menu">

<a href="../../_index.html">Index (M)</a> &raquo;
<span class='title'><span class='object_link'><a href="../../DatadogAPIClient.html" title="DatadogAPIClient (module)">DatadogAPIClient</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../V1.html" title="DatadogAPIClient::V1 (module)">V1</a></span></span>
&raquo;
<span class="title">MonitorFormulaAndFunctionEventsDataSource</span>

</div>

<div id="search">

<a class="full_list_link" id="class_list_link"
href="../../class_list.html">

<svg width="24" height="24">
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
</svg>
</a>

</div>
<div class="clear"></div>
</div>

<div id="content"><h1>Class: DatadogAPIClient::V1::MonitorFormulaAndFunctionEventsDataSource



</h1>
<div class="box_info">

<dl>
<dt>Inherits:</dt>
<dd>
<span class="inheritName">Object</span>

<ul class="fullTree">
<li>Object</li>

<li class="next">DatadogAPIClient::V1::MonitorFormulaAndFunctionEventsDataSource</li>

</ul>
<a href="#" class="inheritanceTree">show all</a>

</dd>
</dl>











<dl>
<dt>Defined in:</dt>
<dd>lib/datadog_api_client/v1/models/monitor_formula_and_function_events_data_source.rb</dd>
</dl>

</div>



<h2>
Constant Summary
<small><a href="#" class="constants_summary_toggle">collapse</a></small>
</h2>

<dl class="constants">

<dt id="RUM-constant" class="">RUM =

</dt>
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>rum</span><span class='tstring_end'>&quot;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>

</dl>









<h2>
Class Method Summary
<small><a href="#" class="summary_toggle">collapse</a></small>
</h2>

<ul class="summary">

<li class="public ">
<span class="summary_signature">

<a href="#build_from_hash-class_method" title="build_from_hash (class method)">.<strong>build_from_hash</strong>(value) &#x21d2; String </a>



</span>









<span class="summary_desc"><div class='inline'><p>Builds the enum from string.</p>
</div></span>

</li>


</ul>

<h2>
Instance Method Summary
<small><a href="#" class="summary_toggle">collapse</a></small>
</h2>

<ul class="summary">

<li class="public ">
<span class="summary_signature">

<a href="#build_from_hash-instance_method" title="#build_from_hash (instance method)">#<strong>build_from_hash</strong>(value) &#x21d2; String </a>



</span>









<span class="summary_desc"><div class='inline'><p>Builds the enum from string.</p>
</div></span>

</li>


</ul>




<div id="class_method_details" class="method_details_list">
<h2>Class Method Details</h2>


<div class="method_details first">
<h3 class="signature first" id="build_from_hash-class_method">

.<strong>build_from_hash</strong>(value) &#x21d2; <tt>String</tt>





</h3><div class="docstring">
<div class="discussion">
<p>Builds the enum from string</p>


</div>
</div>
<div class="tags">
<p class="tag_title">Parameters:</p>
<ul class="param">

<li>

<span class='name'>The</span>


<span class='type'>(<tt>String</tt>)</span>



&mdash;
<div class='inline'><p>enum value in the form of the string</p>
</div>

</li>

</ul>

<p class="tag_title">Returns:</p>
<ul class="return">

<li>


<span class='type'>(<tt>String</tt>)</span>



&mdash;
<div class='inline'><p>The enum value</p>
</div>

</li>

</ul>

</div><table class="source_code">
<tr>
<td>
<pre class="lines">


26
27
28</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/datadog_api_client/v1/models/monitor_formula_and_function_events_data_source.rb', line 26</span>

<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_build_from_hash'>build_from_hash</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
<span class='id identifier rubyid_new'>new</span><span class='period'>.</span><span class='id identifier rubyid_build_from_hash'>build_from_hash</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>

</div>

<div id="instance_method_details" class="method_details_list">
<h2>Instance Method Details</h2>


<div class="method_details first">
<h3 class="signature first" id="build_from_hash-instance_method">

#<strong>build_from_hash</strong>(value) &#x21d2; <tt>String</tt>





</h3><div class="docstring">
<div class="discussion">
<p>Builds the enum from string</p>


</div>
</div>
<div class="tags">
<p class="tag_title">Parameters:</p>
<ul class="param">

<li>

<span class='name'>The</span>


<span class='type'>(<tt>String</tt>)</span>



&mdash;
<div class='inline'><p>enum value in the form of the string</p>
</div>

</li>

</ul>

<p class="tag_title">Returns:</p>
<ul class="return">

<li>


<span class='type'>(<tt>String</tt>)</span>



&mdash;
<div class='inline'><p>The enum value</p>
</div>

</li>

</ul>

</div><table class="source_code">
<tr>
<td>
<pre class="lines">


33
34
35
36</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/datadog_api_client/v1/models/monitor_formula_and_function_events_data_source.rb', line 33</span>

<span class='kw'>def</span> <span class='id identifier rubyid_build_from_hash'>build_from_hash</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
<span class='id identifier rubyid_constantValues'>constantValues</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="" title="DatadogAPIClient::V1::MonitorFormulaAndFunctionEventsDataSource (class)">MonitorFormulaAndFunctionEventsDataSource</a></span></span><span class='period'>.</span><span class='id identifier rubyid_constants'>constants</span><span class='period'>.</span><span class='id identifier rubyid_select'>select</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_c'>c</span><span class='op'>|</span> <span class='const'><span class='object_link'><a href="" title="DatadogAPIClient::V1::MonitorFormulaAndFunctionEventsDataSource (class)">MonitorFormulaAndFunctionEventsDataSource</a></span></span><span class='op'>::</span><span class='id identifier rubyid_const_get'>const_get</span><span class='lparen'>(</span><span class='id identifier rubyid_c'>c</span><span class='rparen'>)</span> <span class='op'>==</span> <span class='id identifier rubyid_value'>value</span> <span class='rbrace'>}</span>
<span class='id identifier rubyid_constantValues'>constantValues</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span> <span class='op'>?</span> <span class='const'><span class='object_link'><a href="../../DatadogAPIClient.html" title="DatadogAPIClient (module)">DatadogAPIClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../V1.html" title="DatadogAPIClient::V1 (module)">V1</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="UnparsedObject.html" title="DatadogAPIClient::V1::UnparsedObject (class)">UnparsedObject</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="UnparsedObject.html#initialize-instance_method" title="DatadogAPIClient::V1::UnparsedObject#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span> <span class='op'>:</span> <span class='id identifier rubyid_value'>value</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>

</div>

</div>

<div id="footer">
Generated on Thu Feb 3 10:22:36 2022 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.27 (ruby-2.7.5).
</div>

</div>
</body>
</html>
Loading

0 comments on commit cfe6f61

Please sign in to comment.