Class: Org::Familysearch::Ws::Familytree::V2::Schema::UserTemple
- Defined in:
- lib/ruby-fs-stack/enunciate/familytree.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
The temple district id.
Class Method Summary collapse
-
.from_json(o) ⇒ Object
constructs a UserTemple from a (parsed) JSON hash.
Instance Method Summary collapse
-
#init_jaxb_json_hash(_o) ⇒ Object
initializes this UserTemple with a json hash.
-
#to_jaxb_json_hash ⇒ Object
the json hash for this UserTemple.
-
#to_json ⇒ Object
the json (string form) for this UserTemple.
Instance Attribute Details
#id ⇒ Object
The temple district id.
4695 4696 4697 |
# File 'lib/ruby-fs-stack/enunciate/familytree.rb', line 4695 def id @id end |
Class Method Details
.from_json(o) ⇒ Object
constructs a UserTemple from a (parsed) JSON hash
4715 4716 4717 4718 4719 4720 4721 4722 4723 |
# File 'lib/ruby-fs-stack/enunciate/familytree.rb', line 4715 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 UserTemple with a json hash
4710 4711 4712 |
# File 'lib/ruby-fs-stack/enunciate/familytree.rb', line 4710 def init_jaxb_json_hash(_o) @id = String.from_json(_o['id']) unless _o['id'].nil? end |
#to_jaxb_json_hash ⇒ Object
the json hash for this UserTemple
4698 4699 4700 4701 4702 |
# File 'lib/ruby-fs-stack/enunciate/familytree.rb', line 4698 def to_jaxb_json_hash _h = {} _h['id'] = id.to_jaxb_json_hash unless id.nil? return _h end |
#to_json ⇒ Object
the json (string form) for this UserTemple
4705 4706 4707 |
# File 'lib/ruby-fs-stack/enunciate/familytree.rb', line 4705 def to_json to_jaxb_json_hash.to_json end |