Class: Nis::Struct::AccountMetaDataPair

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

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Methods included from Util::Assignable

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

Instance Attribute Details

#accountAccountInfo

Returns the current value of account.

Returns:



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

def 
  @account
end

#metaAccountMetaData

Returns the current value of meta.

Returns:



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

def meta
  @meta
end

Class Method Details

.build(meta:, account:) ⇒ Object



9
10
11
12
13
14
# File 'lib/nis/struct/account_meta_data_pair.rb', line 9

def self.build(meta:, account:)
  new(
    meta: AccountMetaData.build(meta),
    account: AccountInfo.build()
  )
end