Class: Seahorse::Model::Shapes::Map

Inherits:
Shape
  • Object
show all
Defined in:
aws-sdk-core/lib/seahorse/model/shapes.rb

Instance Attribute Summary collapse

Attributes inherited from Shape

#definition, #documentation, #location, #location_name, #name, #shape_map, #type

Instance Method Summary collapse

Methods inherited from Shape

#metadata, new

Constructor Details

#initialize(definition, options = {}) ⇒ Map


330
331
332
333
334
335
336
# File 'aws-sdk-core/lib/seahorse/model/shapes.rb', line 330

def initialize(definition, options = {})
  super
  @min = definition['min']
  @max = definition['max']
  @key = shape_at('key')
  @value = shape_at('value')
end

Instance Attribute Details

#keyShape (readonly)


339
340
341
# File 'aws-sdk-core/lib/seahorse/model/shapes.rb', line 339

def key
  @key
end

#maxInteger? (readonly)


348
349
350
# File 'aws-sdk-core/lib/seahorse/model/shapes.rb', line 348

def max
  @max
end

#minInteger? (readonly)


345
346
347
# File 'aws-sdk-core/lib/seahorse/model/shapes.rb', line 345

def min
  @min
end

#valueShape (readonly)


342
343
344
# File 'aws-sdk-core/lib/seahorse/model/shapes.rb', line 342

def value
  @value
end