Class: Nis::Struct::Mosaic

Inherits:
Object
  • Object
show all
Includes:
Util::Assignable
Defined in:
lib/nis/struct/mosaic.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Methods included from Util::Assignable

#[], #initialize, #to_hash, #to_json

Instance Attribute Details

#mosaicIdNis::Struct::MosaicId Also known as: mosaic_id

Returns the current value of mosaicId.

Returns:



5
6
7
# File 'lib/nis/struct/mosaic.rb', line 5

def mosaicId
  @mosaicId
end

#quantityInteger

Returns the current value of quantity.

Returns:

  • (Integer)

    the current value of quantity



5
6
7
# File 'lib/nis/struct/mosaic.rb', line 5

def quantity
  @quantity
end

Class Method Details

.build(attrs) ⇒ Object



12
13
14
15
# File 'lib/nis/struct/mosaic.rb', line 12

def self.build(attrs)
  attrs[:mosaicId] = Nis::Struct::MosaicId.build attrs[:mosaicId]
  new(attrs)
end