Class: Seahorse::Model::Shapes::List

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 = {}) ⇒ List

Returns a new instance of List


310
311
312
313
314
315
# File 'aws-sdk-core/lib/seahorse/model/shapes.rb', line 310

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

Instance Attribute Details

#maxInteger? (readonly)

Returns:


324
325
326
# File 'aws-sdk-core/lib/seahorse/model/shapes.rb', line 324

def max
  @max
end

#memberShape (readonly)

Returns:


318
319
320
# File 'aws-sdk-core/lib/seahorse/model/shapes.rb', line 318

def member
  @member
end

#minInteger? (readonly)

Returns:


321
322
323
# File 'aws-sdk-core/lib/seahorse/model/shapes.rb', line 321

def min
  @min
end