Class: Org::Familysearch::Ws::Familytree::V1::Schema::FamilyTree

Inherits:
V1::BasicElement show all
Defined in:
lib/ruby-fs-stack/enunciate/familytree.rb

Instance Attribute Summary

Attributes inherited from V1::BasicElement

#deprecated, #errors, #properties, #statusCode, #statusMessage, #version

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from V1::BasicElement

#to_json

Class Method Details

.from_json(o) ⇒ Object

constructs a FamilyTree from a (parsed) JSON hash



8278
8279
8280
8281
8282
8283
8284
8285
8286
# File 'lib/ruby-fs-stack/enunciate/familytree.rb', line 8278

def self.from_json(o)
  if o.nil?
    return nil
  else
    inst = new
    inst.init_jaxb_json_hash o
    return inst
  end
end

Instance Method Details

#init_jaxb_json_hash(_o) ⇒ Object

initializes this FamilyTree with a json hash



8273
8274
8275
# File 'lib/ruby-fs-stack/enunciate/familytree.rb', line 8273

def init_jaxb_json_hash(_o)
  super _o
end

#to_jaxb_json_hashObject

the json hash for this FamilyTree



8267
8268
8269
8270
# File 'lib/ruby-fs-stack/enunciate/familytree.rb', line 8267

def to_jaxb_json_hash
  _h = super
  return _h
end