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


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

def mosaicId
  @mosaicId
end

#quantityInteger


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