From bbde3695de7a96c0b30f6ca71c0290a8fc4724d9 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Thu, 18 Feb 2021 19:32:16 +0000 Subject: [PATCH] Regenerate client from commit 12104ad of spec repo --- .apigentools-info | 8 ++++---- data/v1/openapi.yaml | 3 +++ docs/v1/UsageAttributionBody.md | 2 ++ .../v1/models/usage_attribution_body.rb | 12 +++++++++++- 4 files changed, 20 insertions(+), 5 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index f935b3010256..62d86c05837d 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.4.1.dev2", - "regenerated": "2021-02-17 20:11:18.892035", - "spec_repo_commit": "0eff793" + "regenerated": "2021-02-18 19:32:04.172832", + "spec_repo_commit": "12104ad" }, "v2": { "apigentools_version": "1.4.1.dev2", - "regenerated": "2021-02-17 20:11:30.035220", - "spec_repo_commit": "0eff793" + "regenerated": "2021-02-18 19:32:14.887673", + "spec_repo_commit": "12104ad" } } } \ No newline at end of file diff --git a/data/v1/openapi.yaml b/data/v1/openapi.yaml index f4acf6de7abe..d84c7347e925 100644 --- a/data/v1/openapi.yaml +++ b/data/v1/openapi.yaml @@ -8139,6 +8139,9 @@ components: description: 'Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM].' format: date-time type: string + org_name: + description: The name of the organization. + type: string public_id: description: The organization public ID. type: string diff --git a/docs/v1/UsageAttributionBody.md b/docs/v1/UsageAttributionBody.md index 61830403c681..cc3eb491d6ba 100644 --- a/docs/v1/UsageAttributionBody.md +++ b/docs/v1/UsageAttributionBody.md @@ -5,6 +5,7 @@ | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **month** | **Time** | Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM]. | [optional] | +| **org_name** | **String** | The name of the organization. | [optional] | | **public_id** | **String** | The organization public ID. | [optional] | | **tags** | **Hash<String, Array<String>>** | Usage Summary by tag name. | [optional] | | **updated_at** | **String** | Shows the the most recent hour in the current months for all organizations for which all usages were calculated. | [optional] | @@ -17,6 +18,7 @@ require 'datadog_api_client/v1' instance = DatadogAPIClient::V1::UsageAttributionBody.new( month: null, + org_name: null, public_id: null, tags: null, updated_at: null, diff --git a/lib/datadog_api_client/v1/models/usage_attribution_body.rb b/lib/datadog_api_client/v1/models/usage_attribution_body.rb index 0e6d77685285..acb3e1d3606d 100644 --- a/lib/datadog_api_client/v1/models/usage_attribution_body.rb +++ b/lib/datadog_api_client/v1/models/usage_attribution_body.rb @@ -22,6 +22,9 @@ class UsageAttributionBody # Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM]. attr_accessor :month + # The name of the organization. + attr_accessor :org_name + # The organization public ID. attr_accessor :public_id @@ -37,6 +40,7 @@ class UsageAttributionBody def self.attribute_map { :'month' => :'month', + :'org_name' => :'org_name', :'public_id' => :'public_id', :'tags' => :'tags', :'updated_at' => :'updated_at', @@ -53,6 +57,7 @@ def self.acceptable_attributes def self.openapi_types { :'month' => :'Time', + :'org_name' => :'String', :'public_id' => :'String', :'tags' => :'Hash>', :'updated_at' => :'String', @@ -85,6 +90,10 @@ def initialize(attributes = {}) self.month = attributes[:'month'] end + if attributes.key?(:'org_name') + self.org_name = attributes[:'org_name'] + end + if attributes.key?(:'public_id') self.public_id = attributes[:'public_id'] end @@ -123,6 +132,7 @@ def ==(o) return true if self.equal?(o) self.class == o.class && month == o.month && + org_name == o.org_name && public_id == o.public_id && tags == o.tags && updated_at == o.updated_at && @@ -138,7 +148,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [month, public_id, tags, updated_at, values].hash + [month, org_name, public_id, tags, updated_at, values].hash end # Builds the object from hash