Class: Nis::Struct::MosaicId

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

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Methods included from Util::Assignable

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

Instance Attribute Details

#nameString

Returns the current value of name.

Returns:

  • (String)

    the current value of name



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

def name
  @name
end

#namespaceIdString Also known as: namespace_id

Returns the current value of namespaceId.

Returns:

  • (String)

    the current value of namespaceId



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

def namespaceId
  @namespaceId
end

Class Method Details

.build(attrs) ⇒ Object



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

def self.build(attrs)
  new(attrs)
end