Skip to content

Commit 4e7f192

Browse files
committed
enable additionalProperties by default and check when false (#1959)
* enable additionalProperties and check when false --------- Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com> 1344ef5
1 parent d7b3174 commit 4e7f192

File tree

2,493 files changed

+161896
-107292
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,493 files changed

+161896
-107292
lines changed

DatadogAPIClient.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ <h3 class="signature first" id="configure-class_method">
250250
</div>
251251

252252
<div id="footer">
253-
Generated on Mon Aug 19 21:06:27 2024 by
253+
Generated on Tue Aug 20 17:25:13 2024 by
254254
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
255255
0.9.36 (ruby-2.7.8).
256256
</div>

DatadogAPIClient/APIClient.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2895,7 +2895,7 @@ <h3 class="signature " id="user_agent=-instance_method">
28952895
</div>
28962896

28972897
<div id="footer">
2898-
Generated on Mon Aug 19 21:07:22 2024 by
2898+
Generated on Tue Aug 20 17:26:08 2024 by
28992899
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
29002900
0.9.36 (ruby-2.7.8).
29012901
</div>

DatadogAPIClient/APIError.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ <h3 class="signature " id="to_s-instance_method">
583583
</div>
584584

585585
<div id="footer">
586-
Generated on Mon Aug 19 21:07:22 2024 by
586+
Generated on Tue Aug 20 17:26:08 2024 by
587587
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
588588
0.9.36 (ruby-2.7.8).
589589
</div>

DatadogAPIClient/Configuration.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4168,7 +4168,7 @@ <h3 class="signature " id="server_url-instance_method">
41684168
</div>
41694169

41704170
<div id="footer">
4171-
Generated on Mon Aug 19 21:07:22 2024 by
4171+
Generated on Tue Aug 20 17:26:09 2024 by
41724172
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
41734173
0.9.36 (ruby-2.7.8).
41744174
</div>

DatadogAPIClient/DatadogAPIClientInflector.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5179,7 +5179,7 @@ <h3 class="signature " id="overrides-instance_method">
51795179
</div>
51805180

51815181
<div id="footer">
5182-
Generated on Mon Aug 19 21:07:22 2024 by
5182+
Generated on Tue Aug 20 17:26:08 2024 by
51835183
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
51845184
0.9.36 (ruby-2.7.8).
51855185
</div>

DatadogAPIClient/EnumAttributeValidator.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ <h3 class="signature first" id="valid?-instance_method">
439439
</div>
440440

441441
<div id="footer">
442-
Generated on Mon Aug 19 21:07:21 2024 by
442+
Generated on Tue Aug 20 17:26:07 2024 by
443443
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
444444
0.9.36 (ruby-2.7.8).
445445
</div>

DatadogAPIClient/UnparsedObject.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ <h3 class="signature first" id="to_hash-instance_method">
327327
</div>
328328

329329
<div id="footer">
330-
Generated on Mon Aug 19 21:07:22 2024 by
330+
Generated on Tue Aug 20 17:26:09 2024 by
331331
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
332332
0.9.36 (ruby-2.7.8).
333333
</div>

DatadogAPIClient/V1.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ <h3 class="signature first" id="configure-class_method">
222222
</div>
223223

224224
<div id="footer">
225-
Generated on Mon Aug 19 21:06:27 2024 by
225+
Generated on Tue Aug 20 17:25:13 2024 by
226226
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
227227
0.9.36 (ruby-2.7.8).
228228
</div>

DatadogAPIClient/V1/APIErrorResponse.html

Lines changed: 69 additions & 101 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,32 @@ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collaps
144144
<span class="summary_desc"><div class='inline'><p>whether the object has unparsed attributes.</p>
145145
</div></span>
146146

147+
</li>
148+
149+
150+
<li class="public ">
151+
<span class="summary_signature">
152+
153+
<a href="#additional_properties-instance_method" title="#additional_properties (instance method)">#<strong>additional_properties</strong> &#x21d2; Object </a>
154+
155+
156+
157+
</span>
158+
159+
160+
161+
162+
163+
164+
165+
166+
167+
168+
169+
170+
<span class="summary_desc"><div class='inline'><p>Returns the value of attribute additional_properties.</p>
171+
</div></span>
172+
147173
</li>
148174

149175

@@ -400,29 +426,6 @@ <h2>
400426
<span class="summary_desc"><div class='inline'><p>to_body is an alias to to_hash (backward compatibility).</p>
401427
</div></span>
402428

403-
</li>
404-
405-
406-
<li class="public ">
407-
<span class="summary_signature">
408-
409-
<a href="#to_hash-instance_method" title="#to_hash (instance method)">#<strong>to_hash</strong> &#x21d2; Hash </a>
410-
411-
412-
413-
</span>
414-
415-
416-
417-
418-
419-
420-
421-
422-
423-
<span class="summary_desc"><div class='inline'><p>Returns the object in the form of hash.</p>
424-
</div></span>
425-
426429
</li>
427430

428431

@@ -510,6 +513,48 @@ <h3 class="signature first" id="_unparsed-instance_method">
510513
</div>
511514

512515

516+
<span id="additional_properties=-instance_method"></span>
517+
<div class="method_details ">
518+
<h3 class="signature " id="additional_properties-instance_method">
519+
520+
#<strong>additional_properties</strong> &#x21d2; <tt>Object</tt>
521+
522+
523+
524+
525+
526+
</h3><div class="docstring">
527+
<div class="discussion">
528+
<p>Returns the value of attribute additional_properties.</p>
529+
530+
531+
</div>
532+
</div>
533+
<div class="tags">
534+
535+
536+
</div><table class="source_code">
537+
<tr>
538+
<td>
539+
<pre class="lines">
540+
541+
542+
27
543+
28
544+
29</pre>
545+
</td>
546+
<td>
547+
<pre class="code"><span class="info file"># File 'lib/datadog_api_client/v1/models/api_error_response.rb', line 27</span>
548+
549+
<span class='kw'>def</span> <span class='id identifier rubyid_additional_properties'>additional_properties</span>
550+
<span class='ivar'>@additional_properties</span>
551+
<span class='kw'>end</span></pre>
552+
</td>
553+
</tr>
554+
</table>
555+
</div>
556+
557+
513558
<span id="errors=-instance_method"></span>
514559
<div class="method_details ">
515560
<h3 class="signature " id="errors-instance_method">
@@ -1300,83 +1345,6 @@ <h3 class="signature " id="to_body-instance_method">
13001345
</td>
13011346
</tr>
13021347
</table>
1303-
</div>
1304-
1305-
<div class="method_details ">
1306-
<h3 class="signature " id="to_hash-instance_method">
1307-
1308-
#<strong>to_hash</strong> &#x21d2; <tt>Hash</tt>
1309-
1310-
1311-
1312-
1313-
1314-
</h3><div class="docstring">
1315-
<div class="discussion">
1316-
<p>Returns the object in the form of hash</p>
1317-
1318-
1319-
</div>
1320-
</div>
1321-
<div class="tags">
1322-
1323-
<p class="tag_title">Returns:</p>
1324-
<ul class="return">
1325-
1326-
<li>
1327-
1328-
1329-
<span class='type'>(<tt>Hash</tt>)</span>
1330-
1331-
1332-
1333-
&mdash;
1334-
<div class='inline'><p>Returns the object in the form of hash</p>
1335-
</div>
1336-
1337-
</li>
1338-
1339-
</ul>
1340-
1341-
</div><table class="source_code">
1342-
<tr>
1343-
<td>
1344-
<pre class="lines">
1345-
1346-
1347-
206
1348-
207
1349-
208
1350-
209
1351-
210
1352-
211
1353-
212
1354-
213
1355-
214
1356-
215
1357-
216
1358-
217
1359-
218</pre>
1360-
</td>
1361-
<td>
1362-
<pre class="code"><span class="info file"># File 'lib/datadog_api_client/v1/models/api_error_response.rb', line 206</span>
1363-
1364-
<span class='kw'>def</span> <span class='id identifier rubyid_to_hash'>to_hash</span>
1365-
<span class='id identifier rubyid_hash'>hash</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
1366-
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_attribute_map'>attribute_map</span><span class='period'>.</span><span class='id identifier rubyid_each_pair'>each_pair</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_attr'>attr</span><span class='comma'>,</span> <span class='id identifier rubyid_param'>param</span><span class='op'>|</span>
1367-
<span class='id identifier rubyid_value'>value</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='id identifier rubyid_attr'>attr</span><span class='rparen'>)</span>
1368-
<span class='kw'>if</span> <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
1369-
<span class='id identifier rubyid_is_nullable'>is_nullable</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_openapi_nullable'>openapi_nullable</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='id identifier rubyid_attr'>attr</span><span class='rparen'>)</span>
1370-
<span class='kw'>next</span> <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_is_nullable'>is_nullable</span> <span class='op'>||</span> <span class='lparen'>(</span><span class='id identifier rubyid_is_nullable'>is_nullable</span> <span class='op'>&amp;&amp;</span> <span class='op'>!</span><span class='id identifier rubyid_instance_variable_defined?'>instance_variable_defined?</span><span class='lparen'>(</span><span class='symbol'>:&quot;@</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_attr'>attr</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='rparen'>)</span>
1371-
<span class='kw'>end</span>
1372-
1373-
<span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='id identifier rubyid_param'>param</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid__to_hash'>_to_hash</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
1374-
<span class='kw'>end</span>
1375-
<span class='id identifier rubyid_hash'>hash</span>
1376-
<span class='kw'>end</span></pre>
1377-
</td>
1378-
</tr>
1379-
</table>
13801348
</div>
13811349

13821350
<div class="method_details ">
@@ -1441,7 +1409,7 @@ <h3 class="signature " id="to_s-instance_method">
14411409
</div>
14421410

14431411
<div id="footer">
1444-
Generated on Mon Aug 19 21:06:42 2024 by
1412+
Generated on Tue Aug 20 17:25:27 2024 by
14451413
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
14461414
0.9.36 (ruby-2.7.8).
14471415
</div>

0 commit comments

Comments
 (0)