Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.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"
}
}
}
4 changes: 4 additions & 0 deletions data/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions docs/v2/UserAttributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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] |
Expand All @@ -25,6 +26,7 @@ instance = DatadogAPIClient::V2::UserAttributes.new(
email: null,
handle: null,
icon: null,
modified_at: null,
name: null,
status: null,
title: null,
Expand Down
12 changes: 11 additions & 1 deletion lib/datadog_api_client/v2/models/user_attributes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -54,6 +57,7 @@ def self.attribute_map
:'email' => :'email',
:'handle' => :'handle',
:'icon' => :'icon',
:'modified_at' => :'modified_at',
:'name' => :'name',
:'status' => :'status',
:'title' => :'title',
Expand All @@ -74,6 +78,7 @@ def self.openapi_types
:'email' => :'String',
:'handle' => :'String',
:'icon' => :'String',
:'modified_at' => :'Time',
:'name' => :'String',
:'status' => :'String',
:'title' => :'String',
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 &&
Expand All @@ -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
Expand Down