Class: DatadogAPIClient::V2::VariantWeight

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

Overview

Variant weight details.

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_weight.rb', line 42

def additional_properties
  @additional_properties
end

#created_atObject

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

#idObject

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_atObject

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

#valueObject

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

#variantObject

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_idObject

The variant ID.



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

def variant_id
  @variant_id
end