You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::MarketplaceEntitlementService::Types::EntitlementValue

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-marketplaceentitlementservice/lib/aws-sdk-marketplaceentitlementservice/types.rb

Overview

The EntitlementValue represents the amount of capacity that the customer is entitled to for the product.

Instance Attribute Summary collapse

Instance Attribute Details

#boolean_valueBoolean

The BooleanValue field will be populated with a boolean value when the entitlement is a boolean type. Otherwise, the field will not be set.

Returns:

  • (Boolean)


86
87
88
89
90
91
92
# File 'gems/aws-sdk-marketplaceentitlementservice/lib/aws-sdk-marketplaceentitlementservice/types.rb', line 86

class EntitlementValue < Struct.new(
  :integer_value,
  :double_value,
  :boolean_value,
  :string_value)
  include Aws::Structure
end

#double_valueFloat

The DoubleValue field will be populated with a double value when the entitlement is a double type. Otherwise, the field will not be set.

Returns:

  • (Float)


86
87
88
89
90
91
92
# File 'gems/aws-sdk-marketplaceentitlementservice/lib/aws-sdk-marketplaceentitlementservice/types.rb', line 86

class EntitlementValue < Struct.new(
  :integer_value,
  :double_value,
  :boolean_value,
  :string_value)
  include Aws::Structure
end

#integer_valueInteger

The IntegerValue field will be populated with an integer value when the entitlement is an integer type. Otherwise, the field will not be set.

Returns:

  • (Integer)


86
87
88
89
90
91
92
# File 'gems/aws-sdk-marketplaceentitlementservice/lib/aws-sdk-marketplaceentitlementservice/types.rb', line 86

class EntitlementValue < Struct.new(
  :integer_value,
  :double_value,
  :boolean_value,
  :string_value)
  include Aws::Structure
end

#string_valueString

The StringValue field will be populated with a string value when the entitlement is a string type. Otherwise, the field will not be set.

Returns:

  • (String)


86
87
88
89
90
91
92
# File 'gems/aws-sdk-marketplaceentitlementservice/lib/aws-sdk-marketplaceentitlementservice/types.rb', line 86

class EntitlementValue < Struct.new(
  :integer_value,
  :double_value,
  :boolean_value,
  :string_value)
  include Aws::Structure
end