Skip to content
Open
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
9 changes: 0 additions & 9 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47813,19 +47813,10 @@ components:
example: "2023-01-01T00:00:00Z"
format: date-time
type: string
description:
description: The description of the environment.
example: "Test environment XYZ789"
nullable: true
type: string
is_production:
description: Indicates whether this is a production environment.
example: false
type: boolean
key:
description: The unique key of the environment.
example: "env-search-term"
type: string
name:
description: The name of the environment.
example: "env-search-term"
Expand Down
30 changes: 1 addition & 29 deletions lib/datadog_api_client/v2/models/environment_attributes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,9 @@ class EnvironmentAttributes
# The timestamp when the environment was created.
attr_accessor :created_at

# The description of the environment.
attr_accessor :description

# Indicates whether this is a production environment.
attr_accessor :is_production

# The unique key of the environment.
attr_accessor :key

# The name of the environment.
attr_reader :name

Expand All @@ -55,9 +49,7 @@ class EnvironmentAttributes
def self.attribute_map
{
:'created_at' => :'created_at',
:'description' => :'description',
:'is_production' => :'is_production',
:'key' => :'key',
:'name' => :'name',
:'observe_full_evaluation_data' => :'observe_full_evaluation_data',
:'queries' => :'queries',
Expand All @@ -71,9 +63,7 @@ def self.attribute_map
def self.openapi_types
{
:'created_at' => :'Time',
:'description' => :'String',
:'is_production' => :'Boolean',
:'key' => :'String',
:'name' => :'String',
:'observe_full_evaluation_data' => :'Boolean',
:'queries' => :'Array<String>',
Expand All @@ -82,14 +72,6 @@ def self.openapi_types
}
end

# List of attributes with nullable: true
# @!visibility private
def self.openapi_nullable
Set.new([
:'description',
])
end

# Initializes the object
# @param attributes [Hash] Model attributes in the form of hash
# @!visibility private
Expand All @@ -112,18 +94,10 @@ def initialize(attributes = {})
self.created_at = attributes[:'created_at']
end

if attributes.key?(:'description')
self.description = attributes[:'description']
end

if attributes.key?(:'is_production')
self.is_production = attributes[:'is_production']
end

if attributes.key?(:'key')
self.key = attributes[:'key']
end

if attributes.key?(:'name')
self.name = attributes[:'name']
end
Expand Down Expand Up @@ -203,9 +177,7 @@ def ==(o)
return true if self.equal?(o)
self.class == o.class &&
created_at == o.created_at &&
description == o.description &&
is_production == o.is_production &&
key == o.key &&
name == o.name &&
observe_full_evaluation_data == o.observe_full_evaluation_data &&
queries == o.queries &&
Expand All @@ -218,7 +190,7 @@ def ==(o)
# @return [Integer] Hash code
# @!visibility private
def hash
[created_at, description, is_production, key, name, observe_full_evaluation_data, queries, require_feature_flag_approval, updated_at, additional_properties].hash
[created_at, is_production, name, observe_full_evaluation_data, queries, require_feature_flag_approval, updated_at, additional_properties].hash
end
end
end
Loading