Class: DatadogAPIClient::V2::VariantWeight
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::VariantWeight
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/variant_weight.rb
Overview
Variant weight details.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#created_at ⇒ Object
The timestamp when the variant weight was created.
-
#id ⇒ Object
Unique identifier of the variant weight assignment.
-
#updated_at ⇒ Object
The timestamp when the variant weight was last updated.
-
#value ⇒ Object
readonly
The percentage weight for the variant.
-
#variant ⇒ Object
A variant of a feature flag.
-
#variant_id ⇒ Object
readonly
The variant ID.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
42 43 44 |
# File 'lib/datadog_api_client/v2/models/variant_weight.rb', line 42 def additional_properties @additional_properties end |
#created_at ⇒ Object
The timestamp when the variant weight was created.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/variant_weight.rb', line 25 def created_at @created_at end |
#id ⇒ Object
Unique identifier of the variant weight assignment.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/variant_weight.rb', line 28 def id @id end |
#updated_at ⇒ Object
The timestamp when the variant weight was last updated.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/variant_weight.rb', line 31 def updated_at @updated_at end |
#value ⇒ Object
The percentage weight for the variant.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/variant_weight.rb', line 34 def value @value end |
#variant ⇒ Object
A variant of a feature flag.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/variant_weight.rb', line 37 def variant @variant end |
#variant_id ⇒ Object
The variant ID.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/variant_weight.rb', line 40 def variant_id @variant_id end |