Skip to content

Commit

Permalink
Add missing type field for OnDemandConcurrencyCap response (#2101)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com> 19c66cc
  • Loading branch information
1 parent 8ae0c64 commit 275ca7c
Show file tree
Hide file tree
Showing 6 changed files with 2,445 additions and 2,077 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28406,15 +28406,27 @@ <h2 class="toggleButton" title="Click to hide Index section">Index ▾</h2>
<dd>&nbsp; &nbsp; <a href="#OnDemandConcurrencyCap.GetAttributesOk">func (o *OnDemandConcurrencyCap) GetAttributesOk() (*OnDemandConcurrencyCapAttributes, bool)</a></dd>


<dd>&nbsp; &nbsp; <a href="#OnDemandConcurrencyCap.GetType">func (o *OnDemandConcurrencyCap) GetType() OnDemandConcurrencyCapType</a></dd>


<dd>&nbsp; &nbsp; <a href="#OnDemandConcurrencyCap.GetTypeOk">func (o *OnDemandConcurrencyCap) GetTypeOk() (*OnDemandConcurrencyCapType, bool)</a></dd>


<dd>&nbsp; &nbsp; <a href="#OnDemandConcurrencyCap.HasAttributes">func (o *OnDemandConcurrencyCap) HasAttributes() bool</a></dd>


<dd>&nbsp; &nbsp; <a href="#OnDemandConcurrencyCap.HasType">func (o *OnDemandConcurrencyCap) HasType() bool</a></dd>


<dd>&nbsp; &nbsp; <a href="#OnDemandConcurrencyCap.MarshalJSON">func (o OnDemandConcurrencyCap) MarshalJSON() ([]byte, error)</a></dd>


<dd>&nbsp; &nbsp; <a href="#OnDemandConcurrencyCap.SetAttributes">func (o *OnDemandConcurrencyCap) SetAttributes(v OnDemandConcurrencyCapAttributes)</a></dd>


<dd>&nbsp; &nbsp; <a href="#OnDemandConcurrencyCap.SetType">func (o *OnDemandConcurrencyCap) SetType(v OnDemandConcurrencyCapType)</a></dd>


<dd>&nbsp; &nbsp; <a href="#OnDemandConcurrencyCap.UnmarshalJSON">func (o *OnDemandConcurrencyCap) UnmarshalJSON(bytes []byte) (err error)</a></dd>


Expand Down Expand Up @@ -28477,6 +28489,26 @@ <h2 class="toggleButton" title="Click to hide Index section">Index ▾</h2>



<dd><a href="#OnDemandConcurrencyCapType">type OnDemandConcurrencyCapType</a></dd>


<dd>&nbsp; &nbsp; <a href="#NewOnDemandConcurrencyCapTypeFromValue">func NewOnDemandConcurrencyCapTypeFromValue(v string) (*OnDemandConcurrencyCapType, error)</a></dd>



<dd>&nbsp; &nbsp; <a href="#OnDemandConcurrencyCapType.GetAllowedValues">func (v *OnDemandConcurrencyCapType) GetAllowedValues() []OnDemandConcurrencyCapType</a></dd>


<dd>&nbsp; &nbsp; <a href="#OnDemandConcurrencyCapType.IsValid">func (v OnDemandConcurrencyCapType) IsValid() bool</a></dd>


<dd>&nbsp; &nbsp; <a href="#OnDemandConcurrencyCapType.Ptr">func (v OnDemandConcurrencyCapType) Ptr() *OnDemandConcurrencyCapType</a></dd>


<dd>&nbsp; &nbsp; <a href="#OnDemandConcurrencyCapType.UnmarshalJSON">func (v *OnDemandConcurrencyCapType) UnmarshalJSON(src []byte) error</a></dd>



<dd><a href="#OpsgenieIntegrationApi">type OpsgenieIntegrationApi</a></dd>


Expand Down Expand Up @@ -50481,6 +50513,8 @@ <h3>Package files</h3>

<a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_on_demand_concurrency_cap_response.go">model_on_demand_concurrency_cap_response.go</a>

<a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_on_demand_concurrency_cap_type.go">model_on_demand_concurrency_cap_type.go</a>

<a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_opsgenie_service_create_attributes.go">model_opsgenie_service_create_attributes.go</a>

<a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_opsgenie_service_create_data.go">model_opsgenie_service_create_data.go</a>
Expand Down Expand Up @@ -183282,6 +183316,8 @@ <h2 id="OnDemandConcurrencyCap">type <a href="https://github.com/DataDog/datadog
<pre>type OnDemandConcurrencyCap struct {
<span class="comment">// On-demand concurrency cap attributes.</span>
<span id="OnDemandConcurrencyCap.Attributes"></span> Attributes *<a href="#OnDemandConcurrencyCapAttributes">OnDemandConcurrencyCapAttributes</a> `json:&#34;attributes,omitempty&#34;`
<span class="comment">// On-demand concurrency cap type.</span>
<span id="OnDemandConcurrencyCap.Type"></span> Type *<a href="#OnDemandConcurrencyCapType">OnDemandConcurrencyCapType</a> `json:&#34;type,omitempty&#34;`
<span id="OnDemandConcurrencyCap.UnparsedObject"></span> <span class="comment">// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct</span>
UnparsedObject map[<a href="https://pkg.go.dev/builtin/#string">string</a>]interface{} `json:&#34;-&#34;`
<span id="OnDemandConcurrencyCap.AdditionalProperties"></span> AdditionalProperties map[<a href="https://pkg.go.dev/builtin/#string">string</a>]interface{}
Expand All @@ -183298,7 +183334,7 @@ <h2 id="OnDemandConcurrencyCap">type <a href="https://github.com/DataDog/datadog



<h3 id="NewOnDemandConcurrencyCap">func <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_on_demand_concurrency_cap.go#L26">NewOnDemandConcurrencyCap</a>
<h3 id="NewOnDemandConcurrencyCap">func <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_on_demand_concurrency_cap.go#L28">NewOnDemandConcurrencyCap</a>
<a class="permalink" href="#NewOnDemandConcurrencyCap">&#xb6;</a>


Expand All @@ -183313,7 +183349,7 @@ <h3 id="NewOnDemandConcurrencyCap">func <a href="https://github.com/DataDog/data



<h3 id="NewOnDemandConcurrencyCapWithDefaults">func <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_on_demand_concurrency_cap.go#L34">NewOnDemandConcurrencyCapWithDefaults</a>
<h3 id="NewOnDemandConcurrencyCapWithDefaults">func <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_on_demand_concurrency_cap.go#L36">NewOnDemandConcurrencyCapWithDefaults</a>
<a class="permalink" href="#NewOnDemandConcurrencyCapWithDefaults">&#xb6;</a>


Expand All @@ -183329,7 +183365,7 @@ <h3 id="NewOnDemandConcurrencyCapWithDefaults">func <a href="https://github.com/



<h3 id="OnDemandConcurrencyCap.GetAttributes">func (*OnDemandConcurrencyCap) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_on_demand_concurrency_cap.go#L40">GetAttributes</a>
<h3 id="OnDemandConcurrencyCap.GetAttributes">func (*OnDemandConcurrencyCap) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_on_demand_concurrency_cap.go#L42">GetAttributes</a>
<a class="permalink" href="#OnDemandConcurrencyCap.GetAttributes">&#xb6;</a>


Expand All @@ -183342,7 +183378,7 @@ <h3 id="OnDemandConcurrencyCap.GetAttributes">func (*OnDemandConcurrencyCap) <a



<h3 id="OnDemandConcurrencyCap.GetAttributesOk">func (*OnDemandConcurrencyCap) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_on_demand_concurrency_cap.go#L50">GetAttributesOk</a>
<h3 id="OnDemandConcurrencyCap.GetAttributesOk">func (*OnDemandConcurrencyCap) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_on_demand_concurrency_cap.go#L52">GetAttributesOk</a>
<a class="permalink" href="#OnDemandConcurrencyCap.GetAttributesOk">&#xb6;</a>


Expand All @@ -183356,7 +183392,34 @@ <h3 id="OnDemandConcurrencyCap.GetAttributesOk">func (*OnDemandConcurrencyCap) <



<h3 id="OnDemandConcurrencyCap.HasAttributes">func (*OnDemandConcurrencyCap) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_on_demand_concurrency_cap.go#L58">HasAttributes</a>
<h3 id="OnDemandConcurrencyCap.GetType">func (*OnDemandConcurrencyCap) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_on_demand_concurrency_cap.go#L70">GetType</a>
<a class="permalink" href="#OnDemandConcurrencyCap.GetType">&#xb6;</a>


</h3>
<pre>func (o *<a href="#OnDemandConcurrencyCap">OnDemandConcurrencyCap</a>) GetType() <a href="#OnDemandConcurrencyCapType">OnDemandConcurrencyCapType</a></pre>
<p>GetType returns the Type field value if set, zero value otherwise.






<h3 id="OnDemandConcurrencyCap.GetTypeOk">func (*OnDemandConcurrencyCap) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_on_demand_concurrency_cap.go#L80">GetTypeOk</a>
<a class="permalink" href="#OnDemandConcurrencyCap.GetTypeOk">&#xb6;</a>


</h3>
<pre>func (o *<a href="#OnDemandConcurrencyCap">OnDemandConcurrencyCap</a>) GetTypeOk() (*<a href="#OnDemandConcurrencyCapType">OnDemandConcurrencyCapType</a>, <a href="https://pkg.go.dev/builtin/#bool">bool</a>)</pre>
<p>GetTypeOk returns a tuple with the Type field value if set, nil otherwise
and a boolean to check if the value has been set.






<h3 id="OnDemandConcurrencyCap.HasAttributes">func (*OnDemandConcurrencyCap) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_on_demand_concurrency_cap.go#L60">HasAttributes</a>
<a class="permalink" href="#OnDemandConcurrencyCap.HasAttributes">&#xb6;</a>


Expand All @@ -183369,7 +183432,20 @@ <h3 id="OnDemandConcurrencyCap.HasAttributes">func (*OnDemandConcurrencyCap) <a



<h3 id="OnDemandConcurrencyCap.MarshalJSON">func (OnDemandConcurrencyCap) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_on_demand_concurrency_cap.go#L68">MarshalJSON</a>
<h3 id="OnDemandConcurrencyCap.HasType">func (*OnDemandConcurrencyCap) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_on_demand_concurrency_cap.go#L88">HasType</a>
<a class="permalink" href="#OnDemandConcurrencyCap.HasType">&#xb6;</a>


</h3>
<pre>func (o *<a href="#OnDemandConcurrencyCap">OnDemandConcurrencyCap</a>) HasType() <a href="https://pkg.go.dev/builtin/#bool">bool</a></pre>
<p>HasType returns a boolean if a field has been set.






<h3 id="OnDemandConcurrencyCap.MarshalJSON">func (OnDemandConcurrencyCap) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_on_demand_concurrency_cap.go#L98">MarshalJSON</a>
<a class="permalink" href="#OnDemandConcurrencyCap.MarshalJSON">&#xb6;</a>


Expand All @@ -183382,7 +183458,7 @@ <h3 id="OnDemandConcurrencyCap.MarshalJSON">func (OnDemandConcurrencyCap) <a hre



<h3 id="OnDemandConcurrencyCap.SetAttributes">func (*OnDemandConcurrencyCap) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_on_demand_concurrency_cap.go#L63">SetAttributes</a>
<h3 id="OnDemandConcurrencyCap.SetAttributes">func (*OnDemandConcurrencyCap) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_on_demand_concurrency_cap.go#L65">SetAttributes</a>
<a class="permalink" href="#OnDemandConcurrencyCap.SetAttributes">&#xb6;</a>


Expand All @@ -183395,7 +183471,20 @@ <h3 id="OnDemandConcurrencyCap.SetAttributes">func (*OnDemandConcurrencyCap) <a



<h3 id="OnDemandConcurrencyCap.UnmarshalJSON">func (*OnDemandConcurrencyCap) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_on_demand_concurrency_cap.go#L84">UnmarshalJSON</a>
<h3 id="OnDemandConcurrencyCap.SetType">func (*OnDemandConcurrencyCap) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_on_demand_concurrency_cap.go#L93">SetType</a>
<a class="permalink" href="#OnDemandConcurrencyCap.SetType">&#xb6;</a>


</h3>
<pre>func (o *<a href="#OnDemandConcurrencyCap">OnDemandConcurrencyCap</a>) SetType(v <a href="#OnDemandConcurrencyCapType">OnDemandConcurrencyCapType</a>)</pre>
<p>SetType gets a reference to the given OnDemandConcurrencyCapType and assigns it to the Type field.






<h3 id="OnDemandConcurrencyCap.UnmarshalJSON">func (*OnDemandConcurrencyCap) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_on_demand_concurrency_cap.go#L117">UnmarshalJSON</a>
<a class="permalink" href="#OnDemandConcurrencyCap.UnmarshalJSON">&#xb6;</a>


Expand Down Expand Up @@ -183686,6 +183775,100 @@ <h3 id="OnDemandConcurrencyCapResponse.UnmarshalJSON">func (*OnDemandConcurrency



<h2 id="OnDemandConcurrencyCapType">type <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_on_demand_concurrency_cap_type.go#L14">OnDemandConcurrencyCapType</a>
<a class="permalink" href="#OnDemandConcurrencyCapType">&#xb6;</a>


</h2>
<p>OnDemandConcurrencyCapType On-demand concurrency cap type.

<pre>type OnDemandConcurrencyCapType <a href="https://pkg.go.dev/builtin/#string">string</a></pre>


<p>List of OnDemandConcurrencyCapType.

<pre>const (
<span id="ONDEMANDCONCURRENCYCAPTYPE_ON_DEMAND_CONCURRENCY_CAP">ONDEMANDCONCURRENCYCAPTYPE_ON_DEMAND_CONCURRENCY_CAP</span> <a href="#OnDemandConcurrencyCapType">OnDemandConcurrencyCapType</a> = &#34;on_demand_concurrency_cap&#34;
)</pre>










<h3 id="NewOnDemandConcurrencyCapTypeFromValue">func <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_on_demand_concurrency_cap_type.go#L43">NewOnDemandConcurrencyCapTypeFromValue</a>
<a class="permalink" href="#NewOnDemandConcurrencyCapTypeFromValue">&#xb6;</a>


</h3>
<pre>func NewOnDemandConcurrencyCapTypeFromValue(v <a href="https://pkg.go.dev/builtin/#string">string</a>) (*<a href="#OnDemandConcurrencyCapType">OnDemandConcurrencyCapType</a>, <a href="https://pkg.go.dev/builtin/#error">error</a>)</pre>
<p>NewOnDemandConcurrencyCapTypeFromValue returns a pointer to a valid OnDemandConcurrencyCapType
for the value passed as argument, or an error if the value passed is not allowed by the enum.







<h3 id="OnDemandConcurrencyCapType.GetAllowedValues">func (*OnDemandConcurrencyCapType) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_on_demand_concurrency_cap_type.go#L26">GetAllowedValues</a>
<a class="permalink" href="#OnDemandConcurrencyCapType.GetAllowedValues">&#xb6;</a>


</h3>
<pre>func (v *<a href="#OnDemandConcurrencyCapType">OnDemandConcurrencyCapType</a>) GetAllowedValues() []<a href="#OnDemandConcurrencyCapType">OnDemandConcurrencyCapType</a></pre>
<p>GetAllowedValues reeturns the list of possible values.






<h3 id="OnDemandConcurrencyCapType.IsValid">func (OnDemandConcurrencyCapType) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_on_demand_concurrency_cap_type.go#L52">IsValid</a>
<a class="permalink" href="#OnDemandConcurrencyCapType.IsValid">&#xb6;</a>


</h3>
<pre>func (v <a href="#OnDemandConcurrencyCapType">OnDemandConcurrencyCapType</a>) IsValid() <a href="https://pkg.go.dev/builtin/#bool">bool</a></pre>
<p>IsValid return true if the value is valid for the enum, false otherwise.






<h3 id="OnDemandConcurrencyCapType.Ptr">func (OnDemandConcurrencyCapType) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_on_demand_concurrency_cap_type.go#L62">Ptr</a>
<a class="permalink" href="#OnDemandConcurrencyCapType.Ptr">&#xb6;</a>


</h3>
<pre>func (v <a href="#OnDemandConcurrencyCapType">OnDemandConcurrencyCapType</a>) Ptr() *<a href="#OnDemandConcurrencyCapType">OnDemandConcurrencyCapType</a></pre>
<p>Ptr returns reference to OnDemandConcurrencyCapType value.






<h3 id="OnDemandConcurrencyCapType.UnmarshalJSON">func (*OnDemandConcurrencyCapType) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_on_demand_concurrency_cap_type.go#L31">UnmarshalJSON</a>
<a class="permalink" href="#OnDemandConcurrencyCapType.UnmarshalJSON">&#xb6;</a>


</h3>
<pre>func (v *<a href="#OnDemandConcurrencyCapType">OnDemandConcurrencyCapType</a>) UnmarshalJSON(src []<a href="https://pkg.go.dev/builtin/#byte">byte</a>) <a href="https://pkg.go.dev/builtin/#error">error</a></pre>
<p>UnmarshalJSON deserializes the given payload.








<h2 id="OpsgenieIntegrationApi">type <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_opsgenie_integration.go#L17">OpsgenieIntegrationApi</a>
<a class="permalink" href="#OpsgenieIntegrationApi">&#xb6;</a>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ <h2>
<td></td>
<td align="right">14565</td>
<td></td>
<td align="left">2023-07-26 14:51:10.149873232 +0000 UTC</td>
<td align="left">2023-07-26 15:21:00.233395891 +0000 UTC</td>
</tr>

<tr>
Expand All @@ -88,7 +88,7 @@ <h2>
<td></td>
<td align="right">17483</td>
<td></td>
<td align="left">2023-07-26 14:51:10.149873232 +0000 UTC</td>
<td align="left">2023-07-26 15:21:00.233395891 +0000 UTC</td>
</tr>

<tr>
Expand All @@ -97,7 +97,7 @@ <h2>
<td></td>
<td align="right">405</td>
<td></td>
<td align="left">2023-07-26 14:51:10.149873232 +0000 UTC</td>
<td align="left">2023-07-26 15:21:00.233395891 +0000 UTC</td>
</tr>

<tr>
Expand All @@ -106,7 +106,7 @@ <h2>
<td></td>
<td align="right">13038</td>
<td></td>
<td align="left">2023-07-26 14:51:10.153873216 +0000 UTC</td>
<td align="left">2023-07-26 15:21:00.233395891 +0000 UTC</td>
</tr>

<tr>
Expand All @@ -115,7 +115,7 @@ <h2>
<td></td>
<td align="right">589</td>
<td></td>
<td align="left">2023-07-26 14:51:10.153873216 +0000 UTC</td>
<td align="left">2023-07-26 15:21:00.233395891 +0000 UTC</td>
</tr>


Expand Down
Loading

0 comments on commit 275ca7c

Please sign in to comment.