Skip to content

Commit

Permalink
Regenerate client from commit 38a1442 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Jan 21, 2022
1 parent 3297f6a commit a42da8f
Show file tree
Hide file tree
Showing 14 changed files with 880 additions and 57 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.1",
"regenerated": "2022-01-18 11:51:52.667238",
"spec_repo_commit": "5808ab7"
"regenerated": "2022-01-21 12:06:10.528104",
"spec_repo_commit": "38a1442"
},
"v2": {
"apigentools_version": "1.6.1",
"regenerated": "2022-01-18 11:51:52.680636",
"spec_repo_commit": "5808ab7"
"regenerated": "2022-01-21 12:06:10.541708",
"spec_repo_commit": "38a1442"
}
}
}
60 changes: 56 additions & 4 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13057,16 +13057,36 @@ components:
description: Cloud Security Posture Management usage for a given organization
for a given hour.
properties:
aas_host_count:
description: The number of Cloud Security Posture Management Azure app services
hosts during a given hour.
format: double
nullable: true
type: number
azure_host_count:
description: The number of Cloud Security Posture Management Azure hosts
during a given hour.
format: double
nullable: true
type: number
compliance_host_count:
description: The number of Cloud Security Posture Management hosts during
a given hour.
format: double
nullable: true
type: number
container_count:
description: The total number of Cloud Security Posture Management containers
during a given hour.
format: int64
type: integer
format: double
nullable: true
type: number
host_count:
description: The total number of Cloud Security Posture Management hosts
during a given hour.
format: int64
type: integer
format: double
nullable: true
type: number
hour:
description: The hour for the usage.
format: date-time
Expand Down Expand Up @@ -13939,6 +13959,16 @@ components:
hours in the current date for all organizations.
format: int64
type: integer
cspm_aas_host_top99p:
description: Shows the 99th percentile of all Cloud Security Posture Management
Azure app services hosts over all hours in the current date for all organizations.
format: int64
type: integer
cspm_azure_host_top99p:
description: Shows the 99th percentile of all Cloud Security Posture Management
Azure hosts over all hours in the current date for all organizations.
format: int64
type: integer
cspm_container_avg:
description: Shows the average number of Cloud Security Posture Management
containers over all hours in the current date for all organizations.
Expand Down Expand Up @@ -14219,6 +14249,17 @@ components:
hours in the current date for the given org.
format: int64
type: integer
cspm_aas_host_top99p:
description: Shows the 99th percentile of all Cloud Security Posture Management
Azure app services hosts over all hours in the current date for the given
org.
format: int64
type: integer
cspm_azure_host_top99p:
description: Shows the 99th percentile of all Cloud Security Posture Management
Azure hosts over all hours in the current date for the given org.
format: int64
type: integer
cspm_container_avg:
description: Shows the average number of Cloud Security Posture Management
containers over all hours in the current date for the given org.
Expand Down Expand Up @@ -14504,6 +14545,17 @@ components:
over all hours in the current months for all organizations.
format: int64
type: integer
cspm_aas_host_top99p_sum:
description: Shows the 99th percentile of all Cloud Security Posture Management
Azure app services hosts over all hours in the current months for all
organizations.
format: int64
type: integer
cspm_azure_host_top99p_sum:
description: Shows the 99th percentile of all Cloud Security Posture Management
Azure hosts over all hours in the current months for all organizations.
format: int64
type: integer
cspm_container_avg_sum:
description: Shows the average number of Cloud Security Posture Management
containers over all hours in the current months for all organizations.
Expand Down
164 changes: 151 additions & 13 deletions api/v1/datadog/docs/UsageCloudSecurityPostureManagementHour.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@

## Properties

| Name | Type | Description | Notes |
| ------------------ | ------------------------ | ------------------------------------------------------------------------------------- | ---------- |
| **ContainerCount** | Pointer to **int64** | The total number of Cloud Security Posture Management containers during a given hour. | [optional] |
| **HostCount** | Pointer to **int64** | The total number of Cloud Security Posture Management hosts during a given hour. | [optional] |
| **Hour** | Pointer to **time.Time** | The hour for the usage. | [optional] |
| **OrgName** | Pointer to **string** | The organization name. | [optional] |
| **PublicId** | Pointer to **string** | The organization public ID. | [optional] |
| Name | Type | Description | Notes |
| ----------------------- | ------------------------------ | --------------------------------------------------------------------------------------------- | ---------- |
| **AasHostCount** | Pointer to **NullableFloat64** | The number of Cloud Security Posture Management Azure app services hosts during a given hour. | [optional] |
| **AzureHostCount** | Pointer to **NullableFloat64** | The number of Cloud Security Posture Management Azure hosts during a given hour. | [optional] |
| **ComplianceHostCount** | Pointer to **NullableFloat64** | The number of Cloud Security Posture Management hosts during a given hour. | [optional] |
| **ContainerCount** | Pointer to **NullableFloat64** | The total number of Cloud Security Posture Management containers during a given hour. | [optional] |
| **HostCount** | Pointer to **NullableFloat64** | The total number of Cloud Security Posture Management hosts during a given hour. | [optional] |
| **Hour** | Pointer to **time.Time** | The hour for the usage. | [optional] |
| **OrgName** | Pointer to **string** | The organization name. | [optional] |
| **PublicId** | Pointer to **string** | The organization public ID. | [optional] |

## Methods

Expand All @@ -29,22 +32,133 @@ NewUsageCloudSecurityPostureManagementHourWithDefaults instantiates a new UsageC
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set.

### GetAasHostCount

`func (o *UsageCloudSecurityPostureManagementHour) GetAasHostCount() float64`

GetAasHostCount returns the AasHostCount field if non-nil, zero value otherwise.

### GetAasHostCountOk

`func (o *UsageCloudSecurityPostureManagementHour) GetAasHostCountOk() (*float64, bool)`

GetAasHostCountOk returns a tuple with the AasHostCount field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetAasHostCount

`func (o *UsageCloudSecurityPostureManagementHour) SetAasHostCount(v float64)`

SetAasHostCount sets AasHostCount field to given value.

### HasAasHostCount

`func (o *UsageCloudSecurityPostureManagementHour) HasAasHostCount() bool`

HasAasHostCount returns a boolean if a field has been set.

### SetAasHostCountNil

`func (o *UsageCloudSecurityPostureManagementHour) SetAasHostCountNil(b bool)`

SetAasHostCountNil sets the value for AasHostCount to be an explicit nil

### UnsetAasHostCount

`func (o *UsageCloudSecurityPostureManagementHour) UnsetAasHostCount()`

UnsetAasHostCount ensures that no value is present for AasHostCount, not even an explicit nil

### GetAzureHostCount

`func (o *UsageCloudSecurityPostureManagementHour) GetAzureHostCount() float64`

GetAzureHostCount returns the AzureHostCount field if non-nil, zero value otherwise.

### GetAzureHostCountOk

`func (o *UsageCloudSecurityPostureManagementHour) GetAzureHostCountOk() (*float64, bool)`

GetAzureHostCountOk returns a tuple with the AzureHostCount field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetAzureHostCount

`func (o *UsageCloudSecurityPostureManagementHour) SetAzureHostCount(v float64)`

SetAzureHostCount sets AzureHostCount field to given value.

### HasAzureHostCount

`func (o *UsageCloudSecurityPostureManagementHour) HasAzureHostCount() bool`

HasAzureHostCount returns a boolean if a field has been set.

### SetAzureHostCountNil

`func (o *UsageCloudSecurityPostureManagementHour) SetAzureHostCountNil(b bool)`

SetAzureHostCountNil sets the value for AzureHostCount to be an explicit nil

### UnsetAzureHostCount

`func (o *UsageCloudSecurityPostureManagementHour) UnsetAzureHostCount()`

UnsetAzureHostCount ensures that no value is present for AzureHostCount, not even an explicit nil

### GetComplianceHostCount

`func (o *UsageCloudSecurityPostureManagementHour) GetComplianceHostCount() float64`

GetComplianceHostCount returns the ComplianceHostCount field if non-nil, zero value otherwise.

### GetComplianceHostCountOk

`func (o *UsageCloudSecurityPostureManagementHour) GetComplianceHostCountOk() (*float64, bool)`

GetComplianceHostCountOk returns a tuple with the ComplianceHostCount field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetComplianceHostCount

`func (o *UsageCloudSecurityPostureManagementHour) SetComplianceHostCount(v float64)`

SetComplianceHostCount sets ComplianceHostCount field to given value.

### HasComplianceHostCount

`func (o *UsageCloudSecurityPostureManagementHour) HasComplianceHostCount() bool`

HasComplianceHostCount returns a boolean if a field has been set.

### SetComplianceHostCountNil

`func (o *UsageCloudSecurityPostureManagementHour) SetComplianceHostCountNil(b bool)`

SetComplianceHostCountNil sets the value for ComplianceHostCount to be an explicit nil

### UnsetComplianceHostCount

`func (o *UsageCloudSecurityPostureManagementHour) UnsetComplianceHostCount()`

UnsetComplianceHostCount ensures that no value is present for ComplianceHostCount, not even an explicit nil

### GetContainerCount

`func (o *UsageCloudSecurityPostureManagementHour) GetContainerCount() int64`
`func (o *UsageCloudSecurityPostureManagementHour) GetContainerCount() float64`

GetContainerCount returns the ContainerCount field if non-nil, zero value otherwise.

### GetContainerCountOk

`func (o *UsageCloudSecurityPostureManagementHour) GetContainerCountOk() (*int64, bool)`
`func (o *UsageCloudSecurityPostureManagementHour) GetContainerCountOk() (*float64, bool)`

GetContainerCountOk returns a tuple with the ContainerCount field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetContainerCount

`func (o *UsageCloudSecurityPostureManagementHour) SetContainerCount(v int64)`
`func (o *UsageCloudSecurityPostureManagementHour) SetContainerCount(v float64)`

SetContainerCount sets ContainerCount field to given value.

Expand All @@ -54,22 +168,34 @@ SetContainerCount sets ContainerCount field to given value.

HasContainerCount returns a boolean if a field has been set.

### SetContainerCountNil

`func (o *UsageCloudSecurityPostureManagementHour) SetContainerCountNil(b bool)`

SetContainerCountNil sets the value for ContainerCount to be an explicit nil

### UnsetContainerCount

`func (o *UsageCloudSecurityPostureManagementHour) UnsetContainerCount()`

UnsetContainerCount ensures that no value is present for ContainerCount, not even an explicit nil

### GetHostCount

`func (o *UsageCloudSecurityPostureManagementHour) GetHostCount() int64`
`func (o *UsageCloudSecurityPostureManagementHour) GetHostCount() float64`

GetHostCount returns the HostCount field if non-nil, zero value otherwise.

### GetHostCountOk

`func (o *UsageCloudSecurityPostureManagementHour) GetHostCountOk() (*int64, bool)`
`func (o *UsageCloudSecurityPostureManagementHour) GetHostCountOk() (*float64, bool)`

GetHostCountOk returns a tuple with the HostCount field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetHostCount

`func (o *UsageCloudSecurityPostureManagementHour) SetHostCount(v int64)`
`func (o *UsageCloudSecurityPostureManagementHour) SetHostCount(v float64)`

SetHostCount sets HostCount field to given value.

Expand All @@ -79,6 +205,18 @@ SetHostCount sets HostCount field to given value.

HasHostCount returns a boolean if a field has been set.

### SetHostCountNil

`func (o *UsageCloudSecurityPostureManagementHour) SetHostCountNil(b bool)`

SetHostCountNil sets the value for HostCount to be an explicit nil

### UnsetHostCount

`func (o *UsageCloudSecurityPostureManagementHour) UnsetHostCount()`

UnsetHostCount ensures that no value is present for HostCount, not even an explicit nil

### GetHour

`func (o *UsageCloudSecurityPostureManagementHour) GetHour() time.Time`
Expand Down
52 changes: 52 additions & 0 deletions api/v1/datadog/docs/UsageSummaryDate.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
| **BrowserRumUnitsSum** | Pointer to **int64** | Shows the sum of all browser RUM units over all hours in the current date for all organizations. | [optional] |
| **ContainerAvg** | Pointer to **int64** | Shows the average of all distinct containers over all hours in the current date for all organizations. | [optional] |
| **ContainerHwm** | Pointer to **int64** | Shows the high-water mark of all distinct containers over all hours in the current date for all organizations. | [optional] |
| **CspmAasHostTop99p** | Pointer to **int64** | Shows the 99th percentile of all Cloud Security Posture Management Azure app services hosts over all hours in the current date for all organizations. | [optional] |
| **CspmAzureHostTop99p** | Pointer to **int64** | Shows the 99th percentile of all Cloud Security Posture Management Azure hosts over all hours in the current date for all organizations. | [optional] |
| **CspmContainerAvg** | Pointer to **int64** | Shows the average number of Cloud Security Posture Management containers over all hours in the current date for all organizations. | [optional] |
| **CspmContainerHwm** | Pointer to **int64** | Shows the high-water mark of Cloud Security Posture Management containers over all hours in the current date for all organizations. | [optional] |
| **CspmHostTop99p** | Pointer to **int64** | Shows the 99th percentile of all Cloud Security Posture Management hosts over all hours in the current date for all organizations. | [optional] |
Expand Down Expand Up @@ -454,6 +456,56 @@ SetContainerHwm sets ContainerHwm field to given value.

HasContainerHwm returns a boolean if a field has been set.

### GetCspmAasHostTop99p

`func (o *UsageSummaryDate) GetCspmAasHostTop99p() int64`

GetCspmAasHostTop99p returns the CspmAasHostTop99p field if non-nil, zero value otherwise.

### GetCspmAasHostTop99pOk

`func (o *UsageSummaryDate) GetCspmAasHostTop99pOk() (*int64, bool)`

GetCspmAasHostTop99pOk returns a tuple with the CspmAasHostTop99p field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetCspmAasHostTop99p

`func (o *UsageSummaryDate) SetCspmAasHostTop99p(v int64)`

SetCspmAasHostTop99p sets CspmAasHostTop99p field to given value.

### HasCspmAasHostTop99p

`func (o *UsageSummaryDate) HasCspmAasHostTop99p() bool`

HasCspmAasHostTop99p returns a boolean if a field has been set.

### GetCspmAzureHostTop99p

`func (o *UsageSummaryDate) GetCspmAzureHostTop99p() int64`

GetCspmAzureHostTop99p returns the CspmAzureHostTop99p field if non-nil, zero value otherwise.

### GetCspmAzureHostTop99pOk

`func (o *UsageSummaryDate) GetCspmAzureHostTop99pOk() (*int64, bool)`

GetCspmAzureHostTop99pOk returns a tuple with the CspmAzureHostTop99p field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetCspmAzureHostTop99p

`func (o *UsageSummaryDate) SetCspmAzureHostTop99p(v int64)`

SetCspmAzureHostTop99p sets CspmAzureHostTop99p field to given value.

### HasCspmAzureHostTop99p

`func (o *UsageSummaryDate) HasCspmAzureHostTop99p() bool`

HasCspmAzureHostTop99p returns a boolean if a field has been set.

### GetCspmContainerAvg

`func (o *UsageSummaryDate) GetCspmContainerAvg() int64`
Expand Down
Loading

0 comments on commit a42da8f

Please sign in to comment.