Class: DatadogAPIClient::V2::CreateVariant

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

Overview

Request to create a variant.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



33
34
35
# File 'lib/datadog_api_client/v2/models/create_variant.rb', line 33

def additional_properties
  @additional_properties
end

#keyObject

The unique key of the variant.



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

def key
  @key
end

#nameObject

The name of the variant.



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

def name
  @name
end

#valueObject

The value of the variant as a string.



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

def value
  @value
end