Skip to content

Commit

Permalink
Regenerate client from commit 9015efdd of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Nov 21, 2022
1 parent d53dee5 commit 68cc518
Show file tree
Hide file tree
Showing 6 changed files with 167 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.4",
"regenerated": "2022-11-18 19:10:50.308432",
"spec_repo_commit": "0099d2ec"
"regenerated": "2022-11-21 18:48:16.085581",
"spec_repo_commit": "9015efdd"
},
"v2": {
"apigentools_version": "1.6.4",
"regenerated": "2022-11-18 19:10:50.320757",
"spec_repo_commit": "0099d2ec"
"regenerated": "2022-11-21 18:48:16.097311",
"spec_repo_commit": "9015efdd"
}
}
}
23 changes: 23 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15339,6 +15339,11 @@ components:
(and were NOT running the Datadog Agent).'
format: int64
type: integer
opentelemetry_apm_host_count:
description: Contains the total number of hosts using APM reported by Datadog
exporter for the OpenTelemetry Collector.
format: int64
type: integer
opentelemetry_host_count:
description: Contains the total number of hosts reported by Datadog exporter
for the OpenTelemetry Collector.
Expand Down Expand Up @@ -16312,6 +16317,12 @@ components:
date for all organizations.
format: int64
type: integer
opentelemetry_apm_host_top99p:
description: Shows the 99th percentile of APM hosts reported by the Datadog
exporter for the OpenTelemetry Collector over all hours in the current
date for all organizations.
format: int64
type: integer
opentelemetry_host_top99p:
description: Shows the 99th percentile of all hosts reported by the Datadog
exporter for the OpenTelemetry Collector over all hours in the current
Expand Down Expand Up @@ -16674,6 +16685,12 @@ components:
date for the given org.
format: int64
type: integer
opentelemetry_apm_host_top99p:
description: Shows the 99th percentile of APM hosts reported by the Datadog
exporter for the OpenTelemetry Collector over all hours in the current
date for the given org.
format: int64
type: integer
opentelemetry_host_top99p:
description: Shows the 99th percentile of all hosts reported by the Datadog
exporter for the OpenTelemetry Collector over all hours in the current
Expand Down Expand Up @@ -17063,6 +17080,12 @@ components:
months for all organizations.
format: int64
type: integer
opentelemetry_apm_host_top99p_sum:
description: Shows the 99th percentile of APM hosts reported by the Datadog
exporter for the OpenTelemetry Collector over all hours in the current
months for all organizations.
format: int64
type: integer
opentelemetry_host_top99p_sum:
description: Shows the 99th percentile of all hosts reported by the Datadog
exporter for the OpenTelemetry Collector over all hours in the current
Expand Down
35 changes: 35 additions & 0 deletions api/datadogV1/model_usage_host_hour.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ type UsageHostHour struct {
// Contains the total number of hosts that reported through the Azure App Services integration
// (and were NOT running the Datadog Agent).
InfraAzureAppService *int64 `json:"infra_azure_app_service,omitempty"`
// Contains the total number of hosts using APM reported by Datadog exporter for the OpenTelemetry Collector.
OpentelemetryApmHostCount *int64 `json:"opentelemetry_apm_host_count,omitempty"`
// Contains the total number of hosts reported by Datadog exporter for the OpenTelemetry Collector.
OpentelemetryHostCount *int64 `json:"opentelemetry_host_count,omitempty"`
// The organization name.
Expand Down Expand Up @@ -410,6 +412,34 @@ func (o *UsageHostHour) SetInfraAzureAppService(v int64) {
o.InfraAzureAppService = &v
}

// GetOpentelemetryApmHostCount returns the OpentelemetryApmHostCount field value if set, zero value otherwise.
func (o *UsageHostHour) GetOpentelemetryApmHostCount() int64 {
if o == nil || o.OpentelemetryApmHostCount == nil {
var ret int64
return ret
}
return *o.OpentelemetryApmHostCount
}

// GetOpentelemetryApmHostCountOk returns a tuple with the OpentelemetryApmHostCount field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UsageHostHour) GetOpentelemetryApmHostCountOk() (*int64, bool) {
if o == nil || o.OpentelemetryApmHostCount == nil {
return nil, false
}
return o.OpentelemetryApmHostCount, true
}

// HasOpentelemetryApmHostCount returns a boolean if a field has been set.
func (o *UsageHostHour) HasOpentelemetryApmHostCount() bool {
return o != nil && o.OpentelemetryApmHostCount != nil
}

// SetOpentelemetryApmHostCount gets a reference to the given int64 and assigns it to the OpentelemetryApmHostCount field.
func (o *UsageHostHour) SetOpentelemetryApmHostCount(v int64) {
o.OpentelemetryApmHostCount = &v
}

// GetOpentelemetryHostCount returns the OpentelemetryHostCount field value if set, zero value otherwise.
func (o *UsageHostHour) GetOpentelemetryHostCount() int64 {
if o == nil || o.OpentelemetryHostCount == nil {
Expand Down Expand Up @@ -568,6 +598,9 @@ func (o UsageHostHour) MarshalJSON() ([]byte, error) {
if o.InfraAzureAppService != nil {
toSerialize["infra_azure_app_service"] = o.InfraAzureAppService
}
if o.OpentelemetryApmHostCount != nil {
toSerialize["opentelemetry_apm_host_count"] = o.OpentelemetryApmHostCount
}
if o.OpentelemetryHostCount != nil {
toSerialize["opentelemetry_host_count"] = o.OpentelemetryHostCount
}
Expand Down Expand Up @@ -603,6 +636,7 @@ func (o *UsageHostHour) UnmarshalJSON(bytes []byte) (err error) {
HostCount *int64 `json:"host_count,omitempty"`
Hour *time.Time `json:"hour,omitempty"`
InfraAzureAppService *int64 `json:"infra_azure_app_service,omitempty"`
OpentelemetryApmHostCount *int64 `json:"opentelemetry_apm_host_count,omitempty"`
OpentelemetryHostCount *int64 `json:"opentelemetry_host_count,omitempty"`
OrgName *string `json:"org_name,omitempty"`
PublicId *string `json:"public_id,omitempty"`
Expand All @@ -629,6 +663,7 @@ func (o *UsageHostHour) UnmarshalJSON(bytes []byte) (err error) {
o.HostCount = all.HostCount
o.Hour = all.Hour
o.InfraAzureAppService = all.InfraAzureAppService
o.OpentelemetryApmHostCount = all.OpentelemetryApmHostCount
o.OpentelemetryHostCount = all.OpentelemetryHostCount
o.OrgName = all.OrgName
o.PublicId = all.PublicId
Expand Down
35 changes: 35 additions & 0 deletions api/datadogV1/model_usage_summary_date.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ type UsageSummaryDate struct {
ObservabilityPipelinesBytesProcessedSum *int64 `json:"observability_pipelines_bytes_processed_sum,omitempty"`
// Sum of all online archived events over all hours in the current date for all organizations.
OnlineArchiveEventsCountSum *int64 `json:"online_archive_events_count_sum,omitempty"`
// Shows the 99th percentile of APM hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current date for all organizations.
OpentelemetryApmHostTop99p *int64 `json:"opentelemetry_apm_host_top99p,omitempty"`
// Shows the 99th percentile of all hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current date for all organizations.
OpentelemetryHostTop99p *int64 `json:"opentelemetry_host_top99p,omitempty"`
// Organizations associated with a user.
Expand Down Expand Up @@ -1687,6 +1689,34 @@ func (o *UsageSummaryDate) SetOnlineArchiveEventsCountSum(v int64) {
o.OnlineArchiveEventsCountSum = &v
}

// GetOpentelemetryApmHostTop99p returns the OpentelemetryApmHostTop99p field value if set, zero value otherwise.
func (o *UsageSummaryDate) GetOpentelemetryApmHostTop99p() int64 {
if o == nil || o.OpentelemetryApmHostTop99p == nil {
var ret int64
return ret
}
return *o.OpentelemetryApmHostTop99p
}

// GetOpentelemetryApmHostTop99pOk returns a tuple with the OpentelemetryApmHostTop99p field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UsageSummaryDate) GetOpentelemetryApmHostTop99pOk() (*int64, bool) {
if o == nil || o.OpentelemetryApmHostTop99p == nil {
return nil, false
}
return o.OpentelemetryApmHostTop99p, true
}

// HasOpentelemetryApmHostTop99p returns a boolean if a field has been set.
func (o *UsageSummaryDate) HasOpentelemetryApmHostTop99p() bool {
return o != nil && o.OpentelemetryApmHostTop99p != nil
}

// SetOpentelemetryApmHostTop99p gets a reference to the given int64 and assigns it to the OpentelemetryApmHostTop99p field.
func (o *UsageSummaryDate) SetOpentelemetryApmHostTop99p(v int64) {
o.OpentelemetryApmHostTop99p = &v
}

// GetOpentelemetryHostTop99p returns the OpentelemetryHostTop99p field value if set, zero value otherwise.
func (o *UsageSummaryDate) GetOpentelemetryHostTop99p() int64 {
if o == nil || o.OpentelemetryHostTop99p == nil {
Expand Down Expand Up @@ -2335,6 +2365,9 @@ func (o UsageSummaryDate) MarshalJSON() ([]byte, error) {
if o.OnlineArchiveEventsCountSum != nil {
toSerialize["online_archive_events_count_sum"] = o.OnlineArchiveEventsCountSum
}
if o.OpentelemetryApmHostTop99p != nil {
toSerialize["opentelemetry_apm_host_top99p"] = o.OpentelemetryApmHostTop99p
}
if o.OpentelemetryHostTop99p != nil {
toSerialize["opentelemetry_host_top99p"] = o.OpentelemetryHostTop99p
}
Expand Down Expand Up @@ -2451,6 +2484,7 @@ func (o *UsageSummaryDate) UnmarshalJSON(bytes []byte) (err error) {
NpmHostTop99p *int64 `json:"npm_host_top99p,omitempty"`
ObservabilityPipelinesBytesProcessedSum *int64 `json:"observability_pipelines_bytes_processed_sum,omitempty"`
OnlineArchiveEventsCountSum *int64 `json:"online_archive_events_count_sum,omitempty"`
OpentelemetryApmHostTop99p *int64 `json:"opentelemetry_apm_host_top99p,omitempty"`
OpentelemetryHostTop99p *int64 `json:"opentelemetry_host_top99p,omitempty"`
Orgs []UsageSummaryDateOrg `json:"orgs,omitempty"`
ProfilingHostTop99p *int64 `json:"profiling_host_top99p,omitempty"`
Expand Down Expand Up @@ -2532,6 +2566,7 @@ func (o *UsageSummaryDate) UnmarshalJSON(bytes []byte) (err error) {
o.NpmHostTop99p = all.NpmHostTop99p
o.ObservabilityPipelinesBytesProcessedSum = all.ObservabilityPipelinesBytesProcessedSum
o.OnlineArchiveEventsCountSum = all.OnlineArchiveEventsCountSum
o.OpentelemetryApmHostTop99p = all.OpentelemetryApmHostTop99p
o.OpentelemetryHostTop99p = all.OpentelemetryHostTop99p
o.Orgs = all.Orgs
o.ProfilingHostTop99p = all.ProfilingHostTop99p
Expand Down
35 changes: 35 additions & 0 deletions api/datadogV1/model_usage_summary_date_org.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ type UsageSummaryDateOrg struct {
ObservabilityPipelinesBytesProcessedSum *int64 `json:"observability_pipelines_bytes_processed_sum,omitempty"`
// Sum of all online archived events over all hours in the current date for the given org.
OnlineArchiveEventsCountSum *int64 `json:"online_archive_events_count_sum,omitempty"`
// Shows the 99th percentile of APM hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current date for the given org.
OpentelemetryApmHostTop99p *int64 `json:"opentelemetry_apm_host_top99p,omitempty"`
// Shows the 99th percentile of all hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current date for the given org.
OpentelemetryHostTop99p *int64 `json:"opentelemetry_host_top99p,omitempty"`
// Shows the 99th percentile of all profiled hosts over all hours in the current date for the given org.
Expand Down Expand Up @@ -1718,6 +1720,34 @@ func (o *UsageSummaryDateOrg) SetOnlineArchiveEventsCountSum(v int64) {
o.OnlineArchiveEventsCountSum = &v
}

// GetOpentelemetryApmHostTop99p returns the OpentelemetryApmHostTop99p field value if set, zero value otherwise.
func (o *UsageSummaryDateOrg) GetOpentelemetryApmHostTop99p() int64 {
if o == nil || o.OpentelemetryApmHostTop99p == nil {
var ret int64
return ret
}
return *o.OpentelemetryApmHostTop99p
}

// GetOpentelemetryApmHostTop99pOk returns a tuple with the OpentelemetryApmHostTop99p field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UsageSummaryDateOrg) GetOpentelemetryApmHostTop99pOk() (*int64, bool) {
if o == nil || o.OpentelemetryApmHostTop99p == nil {
return nil, false
}
return o.OpentelemetryApmHostTop99p, true
}

// HasOpentelemetryApmHostTop99p returns a boolean if a field has been set.
func (o *UsageSummaryDateOrg) HasOpentelemetryApmHostTop99p() bool {
return o != nil && o.OpentelemetryApmHostTop99p != nil
}

// SetOpentelemetryApmHostTop99p gets a reference to the given int64 and assigns it to the OpentelemetryApmHostTop99p field.
func (o *UsageSummaryDateOrg) SetOpentelemetryApmHostTop99p(v int64) {
o.OpentelemetryApmHostTop99p = &v
}

// GetOpentelemetryHostTop99p returns the OpentelemetryHostTop99p field value if set, zero value otherwise.
func (o *UsageSummaryDateOrg) GetOpentelemetryHostTop99p() int64 {
if o == nil || o.OpentelemetryHostTop99p == nil {
Expand Down Expand Up @@ -2393,6 +2423,9 @@ func (o UsageSummaryDateOrg) MarshalJSON() ([]byte, error) {
if o.OnlineArchiveEventsCountSum != nil {
toSerialize["online_archive_events_count_sum"] = o.OnlineArchiveEventsCountSum
}
if o.OpentelemetryApmHostTop99p != nil {
toSerialize["opentelemetry_apm_host_top99p"] = o.OpentelemetryApmHostTop99p
}
if o.OpentelemetryHostTop99p != nil {
toSerialize["opentelemetry_host_top99p"] = o.OpentelemetryHostTop99p
}
Expand Down Expand Up @@ -2513,6 +2546,7 @@ func (o *UsageSummaryDateOrg) UnmarshalJSON(bytes []byte) (err error) {
NpmHostTop99p *int64 `json:"npm_host_top99p,omitempty"`
ObservabilityPipelinesBytesProcessedSum *int64 `json:"observability_pipelines_bytes_processed_sum,omitempty"`
OnlineArchiveEventsCountSum *int64 `json:"online_archive_events_count_sum,omitempty"`
OpentelemetryApmHostTop99p *int64 `json:"opentelemetry_apm_host_top99p,omitempty"`
OpentelemetryHostTop99p *int64 `json:"opentelemetry_host_top99p,omitempty"`
ProfilingHostTop99p *int64 `json:"profiling_host_top99p,omitempty"`
PublicId *string `json:"public_id,omitempty"`
Expand Down Expand Up @@ -2596,6 +2630,7 @@ func (o *UsageSummaryDateOrg) UnmarshalJSON(bytes []byte) (err error) {
o.NpmHostTop99p = all.NpmHostTop99p
o.ObservabilityPipelinesBytesProcessedSum = all.ObservabilityPipelinesBytesProcessedSum
o.OnlineArchiveEventsCountSum = all.OnlineArchiveEventsCountSum
o.OpentelemetryApmHostTop99p = all.OpentelemetryApmHostTop99p
o.OpentelemetryHostTop99p = all.OpentelemetryHostTop99p
o.ProfilingHostTop99p = all.ProfilingHostTop99p
o.PublicId = all.PublicId
Expand Down
35 changes: 35 additions & 0 deletions api/datadogV1/model_usage_summary_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ type UsageSummaryResponse struct {
ObservabilityPipelinesBytesProcessedAggSum *int64 `json:"observability_pipelines_bytes_processed_agg_sum,omitempty"`
// Sum of all online archived events over all hours in the current months for all organizations.
OnlineArchiveEventsCountAggSum *int64 `json:"online_archive_events_count_agg_sum,omitempty"`
// Shows the 99th percentile of APM hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current months for all organizations.
OpentelemetryApmHostTop99pSum *int64 `json:"opentelemetry_apm_host_top99p_sum,omitempty"`
// Shows the 99th percentile of all hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current months for all organizations.
OpentelemetryHostTop99pSum *int64 `json:"opentelemetry_host_top99p_sum,omitempty"`
// Shows the average number of profiled containers over all hours in the current months for all organizations.
Expand Down Expand Up @@ -1845,6 +1847,34 @@ func (o *UsageSummaryResponse) SetOnlineArchiveEventsCountAggSum(v int64) {
o.OnlineArchiveEventsCountAggSum = &v
}

// GetOpentelemetryApmHostTop99pSum returns the OpentelemetryApmHostTop99pSum field value if set, zero value otherwise.
func (o *UsageSummaryResponse) GetOpentelemetryApmHostTop99pSum() int64 {
if o == nil || o.OpentelemetryApmHostTop99pSum == nil {
var ret int64
return ret
}
return *o.OpentelemetryApmHostTop99pSum
}

// GetOpentelemetryApmHostTop99pSumOk returns a tuple with the OpentelemetryApmHostTop99pSum field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UsageSummaryResponse) GetOpentelemetryApmHostTop99pSumOk() (*int64, bool) {
if o == nil || o.OpentelemetryApmHostTop99pSum == nil {
return nil, false
}
return o.OpentelemetryApmHostTop99pSum, true
}

// HasOpentelemetryApmHostTop99pSum returns a boolean if a field has been set.
func (o *UsageSummaryResponse) HasOpentelemetryApmHostTop99pSum() bool {
return o != nil && o.OpentelemetryApmHostTop99pSum != nil
}

// SetOpentelemetryApmHostTop99pSum gets a reference to the given int64 and assigns it to the OpentelemetryApmHostTop99pSum field.
func (o *UsageSummaryResponse) SetOpentelemetryApmHostTop99pSum(v int64) {
o.OpentelemetryApmHostTop99pSum = &v
}

// GetOpentelemetryHostTop99pSum returns the OpentelemetryHostTop99pSum field value if set, zero value otherwise.
func (o *UsageSummaryResponse) GetOpentelemetryHostTop99pSum() int64 {
if o == nil || o.OpentelemetryHostTop99pSum == nil {
Expand Down Expand Up @@ -2624,6 +2654,9 @@ func (o UsageSummaryResponse) MarshalJSON() ([]byte, error) {
if o.OnlineArchiveEventsCountAggSum != nil {
toSerialize["online_archive_events_count_agg_sum"] = o.OnlineArchiveEventsCountAggSum
}
if o.OpentelemetryApmHostTop99pSum != nil {
toSerialize["opentelemetry_apm_host_top99p_sum"] = o.OpentelemetryApmHostTop99pSum
}
if o.OpentelemetryHostTop99pSum != nil {
toSerialize["opentelemetry_host_top99p_sum"] = o.OpentelemetryHostTop99pSum
}
Expand Down Expand Up @@ -2761,6 +2794,7 @@ func (o *UsageSummaryResponse) UnmarshalJSON(bytes []byte) (err error) {
NpmHostTop99pSum *int64 `json:"npm_host_top99p_sum,omitempty"`
ObservabilityPipelinesBytesProcessedAggSum *int64 `json:"observability_pipelines_bytes_processed_agg_sum,omitempty"`
OnlineArchiveEventsCountAggSum *int64 `json:"online_archive_events_count_agg_sum,omitempty"`
OpentelemetryApmHostTop99pSum *int64 `json:"opentelemetry_apm_host_top99p_sum,omitempty"`
OpentelemetryHostTop99pSum *int64 `json:"opentelemetry_host_top99p_sum,omitempty"`
ProfilingContainerAgentCountAvg *int64 `json:"profiling_container_agent_count_avg,omitempty"`
ProfilingHostCountTop99pSum *int64 `json:"profiling_host_count_top99p_sum,omitempty"`
Expand Down Expand Up @@ -2858,6 +2892,7 @@ func (o *UsageSummaryResponse) UnmarshalJSON(bytes []byte) (err error) {
o.NpmHostTop99pSum = all.NpmHostTop99pSum
o.ObservabilityPipelinesBytesProcessedAggSum = all.ObservabilityPipelinesBytesProcessedAggSum
o.OnlineArchiveEventsCountAggSum = all.OnlineArchiveEventsCountAggSum
o.OpentelemetryApmHostTop99pSum = all.OpentelemetryApmHostTop99pSum
o.OpentelemetryHostTop99pSum = all.OpentelemetryHostTop99pSum
o.ProfilingContainerAgentCountAvg = all.ProfilingContainerAgentCountAvg
o.ProfilingHostCountTop99pSum = all.ProfilingHostCountTop99pSum
Expand Down

0 comments on commit 68cc518

Please sign in to comment.