Class: Org::Familysearch::Ws::Familytree::V2::Schema::RelationshipQueryPathNode
- Inherits:
-
Object
- Object
- Org::Familysearch::Ws::Familytree::V2::Schema::RelationshipQueryPathNode
- Defined in:
- lib/ruby-fs-stack/enunciate/familytree.rb
Overview
Created by IntelliJ IDEA. User: kuehneds Date: Jan 28, 2010 Time: 2:49:26 PM To change this template use File | Settings | File Templates.
Instance Attribute Summary collapse
-
#gender ⇒ Object
(no documentation provided).
-
#id ⇒ Object
(no documentation provided).
Class Method Summary collapse
-
.from_json(o) ⇒ Object
constructs a RelationshipQueryPathNode from a (parsed) JSON hash.
Instance Method Summary collapse
-
#init_jaxb_json_hash(_o) ⇒ Object
initializes this RelationshipQueryPathNode with a json hash.
-
#to_jaxb_json_hash ⇒ Object
the json hash for this RelationshipQueryPathNode.
-
#to_json ⇒ Object
the json (string form) for this RelationshipQueryPathNode.
Instance Attribute Details
#gender ⇒ Object
(no documentation provided)
1636 1637 1638 |
# File 'lib/ruby-fs-stack/enunciate/familytree.rb', line 1636 def gender @gender end |
#id ⇒ Object
(no documentation provided)
1634 1635 1636 |
# File 'lib/ruby-fs-stack/enunciate/familytree.rb', line 1634 def id @id end |
Class Method Details
.from_json(o) ⇒ Object
constructs a RelationshipQueryPathNode from a (parsed) JSON hash
1658 1659 1660 1661 1662 1663 1664 1665 1666 |
# File 'lib/ruby-fs-stack/enunciate/familytree.rb', line 1658 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 RelationshipQueryPathNode with a json hash
1652 1653 1654 1655 |
# File 'lib/ruby-fs-stack/enunciate/familytree.rb', line 1652 def init_jaxb_json_hash(_o) @id = String.from_json(_o['id']) unless _o['id'].nil? @gender = String.from_json(_o['gender']) unless _o['gender'].nil? end |
#to_jaxb_json_hash ⇒ Object
the json hash for this RelationshipQueryPathNode
1639 1640 1641 1642 1643 1644 |
# File 'lib/ruby-fs-stack/enunciate/familytree.rb', line 1639 def to_jaxb_json_hash _h = {} _h['id'] = id.to_jaxb_json_hash unless id.nil? _h['gender'] = gender.to_jaxb_json_hash unless gender.nil? return _h end |
#to_json ⇒ Object
the json (string form) for this RelationshipQueryPathNode
1647 1648 1649 |
# File 'lib/ruby-fs-stack/enunciate/familytree.rb', line 1647 def to_json to_jaxb_json_hash.to_json end |