From fdd9146f3d8a825490cc25adebc5e88301bee9e3 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Wed, 31 Mar 2021 10:25:54 +0000 Subject: [PATCH] Regenerate client from commit 5e32bc9 of spec repo --- .apigentools-info | 8 ++++---- data/v2/openapi.yaml | 4 ++++ docs/v2/UserAttributes.md | 2 ++ lib/datadog_api_client/v2/models/user_attributes.rb | 12 +++++++++++- 4 files changed, 21 insertions(+), 5 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 465c675d08e2..795ee9c66ec4 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.4.1.dev6", - "regenerated": "2021-03-30 06:59:39.463814", - "spec_repo_commit": "55a2c8a" + "regenerated": "2021-03-31 10:25:39.989085", + "spec_repo_commit": "5e32bc9" }, "v2": { "apigentools_version": "1.4.1.dev6", - "regenerated": "2021-03-30 06:59:54.781406", - "spec_repo_commit": "55a2c8a" + "regenerated": "2021-03-31 10:25:52.525728", + "spec_repo_commit": "5e32bc9" } } } \ No newline at end of file diff --git a/data/v2/openapi.yaml b/data/v2/openapi.yaml index e1d81f9633ef..d0b437415a32 100644 --- a/data/v2/openapi.yaml +++ b/data/v2/openapi.yaml @@ -4535,6 +4535,10 @@ components: icon: description: URL of the user's icon. type: string + modified_at: + description: Time that the user was last modified. + format: date-time + type: string name: description: Name of the user. type: string diff --git a/docs/v2/UserAttributes.md b/docs/v2/UserAttributes.md index 90ca41b1deb0..44ed5df87a36 100644 --- a/docs/v2/UserAttributes.md +++ b/docs/v2/UserAttributes.md @@ -9,6 +9,7 @@ | **email** | **String** | Email of the user. | [optional] | | **handle** | **String** | Handle of the user. | [optional] | | **icon** | **String** | URL of the user's icon. | [optional] | +| **modified_at** | **Time** | Time that the user was last modified. | [optional] | | **name** | **String** | Name of the user. | [optional] | | **status** | **String** | Status of the user. | [optional] | | **title** | **String** | Title of the user. | [optional] | @@ -25,6 +26,7 @@ instance = DatadogAPIClient::V2::UserAttributes.new( email: null, handle: null, icon: null, + modified_at: null, name: null, status: null, title: null, diff --git a/lib/datadog_api_client/v2/models/user_attributes.rb b/lib/datadog_api_client/v2/models/user_attributes.rb index d99461e7bbe7..2fc805db9481 100644 --- a/lib/datadog_api_client/v2/models/user_attributes.rb +++ b/lib/datadog_api_client/v2/models/user_attributes.rb @@ -34,6 +34,9 @@ class UserAttributes # URL of the user's icon. attr_accessor :icon + # Time that the user was last modified. + attr_accessor :modified_at + # Name of the user. attr_accessor :name @@ -54,6 +57,7 @@ def self.attribute_map :'email' => :'email', :'handle' => :'handle', :'icon' => :'icon', + :'modified_at' => :'modified_at', :'name' => :'name', :'status' => :'status', :'title' => :'title', @@ -74,6 +78,7 @@ def self.openapi_types :'email' => :'String', :'handle' => :'String', :'icon' => :'String', + :'modified_at' => :'Time', :'name' => :'String', :'status' => :'String', :'title' => :'String', @@ -122,6 +127,10 @@ def initialize(attributes = {}) self.icon = attributes[:'icon'] end + if attributes.key?(:'modified_at') + self.modified_at = attributes[:'modified_at'] + end + if attributes.key?(:'name') self.name = attributes[:'name'] end @@ -162,6 +171,7 @@ def ==(o) email == o.email && handle == o.handle && icon == o.icon && + modified_at == o.modified_at && name == o.name && status == o.status && title == o.title && @@ -177,7 +187,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [created_at, disabled, email, handle, icon, name, status, title, verified].hash + [created_at, disabled, email, handle, icon, modified_at, name, status, title, verified].hash end # Builds the object from hash