Class: DatadogAPIClient::V2::Variant

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/variant.rb

Overview

A variant of a feature flag.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



42
43
44
# File 'lib/datadog_api_client/v2/models/variant.rb', line 42

def additional_properties
  @additional_properties
end

#created_atObject

The timestamp when the variant was created.



25
26
27
# File 'lib/datadog_api_client/v2/models/variant.rb', line 25

def created_at
  @created_at
end

#idObject

The unique identifier of the variant.



28
29
30
# File 'lib/datadog_api_client/v2/models/variant.rb', line 28

def id
  @id
end

#keyObject

The unique key of the variant.



31
32
33
# File 'lib/datadog_api_client/v2/models/variant.rb', line 31

def key
  @key
end

#nameObject

The name of the variant.



34
35
36
# File 'lib/datadog_api_client/v2/models/variant.rb', line 34

def name
  @name
end

#updated_atObject

The timestamp when the variant was last updated.



37
38
39
# File 'lib/datadog_api_client/v2/models/variant.rb', line 37

def updated_at
  @updated_at
end

#valueObject

The value of the variant as a string.



40
41
42
# File 'lib/datadog_api_client/v2/models/variant.rb', line 40

def value
  @value
end