Skip to content

Commit cfe6f61

Browse files
Add support for formula and function in monitors (#719)
* Regenerate client from commit f7a8bd6 of spec repo * pre-commit fixes Co-authored-by: ci.datadog-api-spec <[email protected]> 764ba66
1 parent 512935d commit cfe6f61

15 files changed

+20200
-7350
lines changed

DatadogAPIClient/V1.html

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

DatadogAPIClient/V1/MonitorFormulaAndFunctionEventAggregation.html

Lines changed: 424 additions & 0 deletions
Large diffs are not rendered by default.

DatadogAPIClient/V1/MonitorFormulaAndFunctionEventQueryDefinition.html

Lines changed: 2371 additions & 0 deletions
Large diffs are not rendered by default.

DatadogAPIClient/V1/MonitorFormulaAndFunctionEventQueryDefinitionCompute.html

Lines changed: 2097 additions & 0 deletions
Large diffs are not rendered by default.

DatadogAPIClient/V1/MonitorFormulaAndFunctionEventQueryDefinitionSearch.html

Lines changed: 1933 additions & 0 deletions
Large diffs are not rendered by default.

DatadogAPIClient/V1/MonitorFormulaAndFunctionEventQueryGroupBy.html

Lines changed: 2097 additions & 0 deletions
Large diffs are not rendered by default.

DatadogAPIClient/V1/MonitorFormulaAndFunctionEventQueryGroupBySort.html

Lines changed: 2101 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 369 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,369 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>
7+
Class: DatadogAPIClient::V1::MonitorFormulaAndFunctionEventsDataSource
8+
9+
&mdash; datadog-api-client 1.6.1.dev.1 documentation
10+
11+
</title>
12+
13+
<link rel="stylesheet" href="../../css/style.css" type="text/css" />
14+
15+
<link rel="stylesheet" href="../../css/common.css" type="text/css" />
16+
17+
<script type="text/javascript">
18+
pathId = "DatadogAPIClient::V1::MonitorFormulaAndFunctionEventsDataSource";
19+
relpath = '../../';
20+
</script>
21+
22+
23+
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
24+
25+
<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
26+
27+
28+
</head>
29+
<body>
30+
<div class="nav_wrap">
31+
<iframe id="nav" src="../../class_list.html?1"></iframe>
32+
<div id="resizer"></div>
33+
</div>
34+
35+
<div id="main" tabindex="-1">
36+
<div id="header">
37+
<div id="menu">
38+
39+
<a href="../../_index.html">Index (M)</a> &raquo;
40+
<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>
41+
&raquo;
42+
<span class="title">MonitorFormulaAndFunctionEventsDataSource</span>
43+
44+
</div>
45+
46+
<div id="search">
47+
48+
<a class="full_list_link" id="class_list_link"
49+
href="../../class_list.html">
50+
51+
<svg width="24" height="24">
52+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55+
</svg>
56+
</a>
57+
58+
</div>
59+
<div class="clear"></div>
60+
</div>
61+
62+
<div id="content"><h1>Class: DatadogAPIClient::V1::MonitorFormulaAndFunctionEventsDataSource
63+
64+
65+
66+
</h1>
67+
<div class="box_info">
68+
69+
<dl>
70+
<dt>Inherits:</dt>
71+
<dd>
72+
<span class="inheritName">Object</span>
73+
74+
<ul class="fullTree">
75+
<li>Object</li>
76+
77+
<li class="next">DatadogAPIClient::V1::MonitorFormulaAndFunctionEventsDataSource</li>
78+
79+
</ul>
80+
<a href="#" class="inheritanceTree">show all</a>
81+
82+
</dd>
83+
</dl>
84+
85+
86+
87+
88+
89+
90+
91+
92+
93+
94+
95+
<dl>
96+
<dt>Defined in:</dt>
97+
<dd>lib/datadog_api_client/v1/models/monitor_formula_and_function_events_data_source.rb</dd>
98+
</dl>
99+
100+
</div>
101+
102+
103+
104+
<h2>
105+
Constant Summary
106+
<small><a href="#" class="constants_summary_toggle">collapse</a></small>
107+
</h2>
108+
109+
<dl class="constants">
110+
111+
<dt id="RUM-constant" class="">RUM =
112+
113+
</dt>
114+
<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>
115+
116+
</dl>
117+
118+
119+
120+
121+
122+
123+
124+
125+
126+
<h2>
127+
Class Method Summary
128+
<small><a href="#" class="summary_toggle">collapse</a></small>
129+
</h2>
130+
131+
<ul class="summary">
132+
133+
<li class="public ">
134+
<span class="summary_signature">
135+
136+
<a href="#build_from_hash-class_method" title="build_from_hash (class method)">.<strong>build_from_hash</strong>(value) &#x21d2; String </a>
137+
138+
139+
140+
</span>
141+
142+
143+
144+
145+
146+
147+
148+
149+
150+
<span class="summary_desc"><div class='inline'><p>Builds the enum from string.</p>
151+
</div></span>
152+
153+
</li>
154+
155+
156+
</ul>
157+
158+
<h2>
159+
Instance Method Summary
160+
<small><a href="#" class="summary_toggle">collapse</a></small>
161+
</h2>
162+
163+
<ul class="summary">
164+
165+
<li class="public ">
166+
<span class="summary_signature">
167+
168+
<a href="#build_from_hash-instance_method" title="#build_from_hash (instance method)">#<strong>build_from_hash</strong>(value) &#x21d2; String </a>
169+
170+
171+
172+
</span>
173+
174+
175+
176+
177+
178+
179+
180+
181+
182+
<span class="summary_desc"><div class='inline'><p>Builds the enum from string.</p>
183+
</div></span>
184+
185+
</li>
186+
187+
188+
</ul>
189+
190+
191+
192+
193+
<div id="class_method_details" class="method_details_list">
194+
<h2>Class Method Details</h2>
195+
196+
197+
<div class="method_details first">
198+
<h3 class="signature first" id="build_from_hash-class_method">
199+
200+
.<strong>build_from_hash</strong>(value) &#x21d2; <tt>String</tt>
201+
202+
203+
204+
205+
206+
</h3><div class="docstring">
207+
<div class="discussion">
208+
<p>Builds the enum from string</p>
209+
210+
211+
</div>
212+
</div>
213+
<div class="tags">
214+
<p class="tag_title">Parameters:</p>
215+
<ul class="param">
216+
217+
<li>
218+
219+
<span class='name'>The</span>
220+
221+
222+
<span class='type'>(<tt>String</tt>)</span>
223+
224+
225+
226+
&mdash;
227+
<div class='inline'><p>enum value in the form of the string</p>
228+
</div>
229+
230+
</li>
231+
232+
</ul>
233+
234+
<p class="tag_title">Returns:</p>
235+
<ul class="return">
236+
237+
<li>
238+
239+
240+
<span class='type'>(<tt>String</tt>)</span>
241+
242+
243+
244+
&mdash;
245+
<div class='inline'><p>The enum value</p>
246+
</div>
247+
248+
</li>
249+
250+
</ul>
251+
252+
</div><table class="source_code">
253+
<tr>
254+
<td>
255+
<pre class="lines">
256+
257+
258+
26
259+
27
260+
28</pre>
261+
</td>
262+
<td>
263+
<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>
264+
265+
<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>
266+
<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>
267+
<span class='kw'>end</span></pre>
268+
</td>
269+
</tr>
270+
</table>
271+
</div>
272+
273+
</div>
274+
275+
<div id="instance_method_details" class="method_details_list">
276+
<h2>Instance Method Details</h2>
277+
278+
279+
<div class="method_details first">
280+
<h3 class="signature first" id="build_from_hash-instance_method">
281+
282+
#<strong>build_from_hash</strong>(value) &#x21d2; <tt>String</tt>
283+
284+
285+
286+
287+
288+
</h3><div class="docstring">
289+
<div class="discussion">
290+
<p>Builds the enum from string</p>
291+
292+
293+
</div>
294+
</div>
295+
<div class="tags">
296+
<p class="tag_title">Parameters:</p>
297+
<ul class="param">
298+
299+
<li>
300+
301+
<span class='name'>The</span>
302+
303+
304+
<span class='type'>(<tt>String</tt>)</span>
305+
306+
307+
308+
&mdash;
309+
<div class='inline'><p>enum value in the form of the string</p>
310+
</div>
311+
312+
</li>
313+
314+
</ul>
315+
316+
<p class="tag_title">Returns:</p>
317+
<ul class="return">
318+
319+
<li>
320+
321+
322+
<span class='type'>(<tt>String</tt>)</span>
323+
324+
325+
326+
&mdash;
327+
<div class='inline'><p>The enum value</p>
328+
</div>
329+
330+
</li>
331+
332+
</ul>
333+
334+
</div><table class="source_code">
335+
<tr>
336+
<td>
337+
<pre class="lines">
338+
339+
340+
33
341+
34
342+
35
343+
36</pre>
344+
</td>
345+
<td>
346+
<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>
347+
348+
<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>
349+
<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>
350+
<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>
351+
<span class='kw'>end</span></pre>
352+
</td>
353+
</tr>
354+
</table>
355+
</div>
356+
357+
</div>
358+
359+
</div>
360+
361+
<div id="footer">
362+
Generated on Thu Feb 3 10:22:36 2022 by
363+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
364+
0.9.27 (ruby-2.7.5).
365+
</div>
366+
367+
</div>
368+
</body>
369+
</html>

0 commit comments

Comments
 (0)