Skip to content

Commit b9ebd72

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 64bf902 of spec repo
1 parent 6ba7e3d commit b9ebd72

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31529,7 +31529,7 @@ components:
3152931529
attributes:
3153031530
$ref: "#/components/schemas/IPAllowlistAttributes"
3153131531
id:
31532-
description: The unique identifier of the org.
31532+
description: The unique identifier of the organization.
3153331533
type: string
3153431534
type:
3153531535
$ref: "#/components/schemas/IPAllowlistType"
@@ -31555,6 +31555,9 @@ components:
3155531555
format: date-time
3155631556
readOnly: true
3155731557
type: string
31558+
label:
31559+
description: A label for the IP allowlist entry.
31560+
type: string
3155831561
modified_at:
3155931562
description: Time of last entry modification.
3156031563
format: date-time

lib/datadog_api_client/v2/models/ip_allowlist_data.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class IPAllowlistData
2424
# Attributes of the IP allowlist.
2525
attr_accessor :attributes
2626

27-
# The unique identifier of the org.
27+
# The unique identifier of the organization.
2828
attr_accessor :id
2929

3030
# IP allowlist type.

lib/datadog_api_client/v2/models/ip_allowlist_entry_attributes.rb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ class IPAllowlistEntryAttributes
2727
# Creation time of the entry.
2828
attr_accessor :created_at
2929

30+
# A label for the IP allowlist entry.
31+
attr_accessor :label
32+
3033
# Time of last entry modification.
3134
attr_accessor :modified_at
3235

@@ -41,6 +44,7 @@ def self.attribute_map
4144
{
4245
:'cidr_block' => :'cidr_block',
4346
:'created_at' => :'created_at',
47+
:'label' => :'label',
4448
:'modified_at' => :'modified_at',
4549
:'note' => :'note'
4650
}
@@ -52,6 +56,7 @@ def self.openapi_types
5256
{
5357
:'cidr_block' => :'String',
5458
:'created_at' => :'Time',
59+
:'label' => :'String',
5560
:'modified_at' => :'Time',
5661
:'note' => :'String'
5762
}
@@ -83,6 +88,10 @@ def initialize(attributes = {})
8388
self.created_at = attributes[:'created_at']
8489
end
8590

91+
if attributes.key?(:'label')
92+
self.label = attributes[:'label']
93+
end
94+
8695
if attributes.key?(:'modified_at')
8796
self.modified_at = attributes[:'modified_at']
8897
end
@@ -120,6 +129,7 @@ def ==(o)
120129
self.class == o.class &&
121130
cidr_block == o.cidr_block &&
122131
created_at == o.created_at &&
132+
label == o.label &&
123133
modified_at == o.modified_at &&
124134
note == o.note &&
125135
additional_properties == o.additional_properties
@@ -129,7 +139,7 @@ def ==(o)
129139
# @return [Integer] Hash code
130140
# @!visibility private
131141
def hash
132-
[cidr_block, created_at, modified_at, note, additional_properties].hash
142+
[cidr_block, created_at, label, modified_at, note, additional_properties].hash
133143
end
134144
end
135145
end

0 commit comments

Comments
 (0)