Class: Seahorse::Model::Shapes::Integer

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

Direct Known Subclasses

Long

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

Returns a new instance of Integer


411
412
413
414
415
# File 'aws-sdk-core/lib/seahorse/model/shapes.rb', line 411

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

Instance Attribute Details

#maxInteger? (readonly)

Returns:


421
422
423
# File 'aws-sdk-core/lib/seahorse/model/shapes.rb', line 421

def max
  @max
end

#minInteger? (readonly)

Returns:


418
419
420
# File 'aws-sdk-core/lib/seahorse/model/shapes.rb', line 418

def min
  @min
end