Class: Org::Familysearch::Ws::Familytree::V2::Schema::RelationshipQueryCommonAncestor
- Inherits:
-
Object
- Object
- Org::Familysearch::Ws::Familytree::V2::Schema::RelationshipQueryCommonAncestor
- Defined in:
- lib/ruby-fs-stack/enunciate/familytree.rb
Overview
Created by IntelliJ IDEA. User: kuehneds Date: Feb 3, 2010 Time: 10:51:07 AM To change this template use File | Settings | File Templates.
Instance Attribute Summary collapse
-
#id ⇒ Object
(no documentation provided).
Class Method Summary collapse
-
.from_json(o) ⇒ Object
constructs a RelationshipQueryCommonAncestor from a (parsed) JSON hash.
Instance Method Summary collapse
-
#init_jaxb_json_hash(_o) ⇒ Object
initializes this RelationshipQueryCommonAncestor with a json hash.
-
#to_jaxb_json_hash ⇒ Object
the json hash for this RelationshipQueryCommonAncestor.
-
#to_json ⇒ Object
the json (string form) for this RelationshipQueryCommonAncestor.
Instance Attribute Details
#id ⇒ Object
(no documentation provided)
2368 2369 2370 |
# File 'lib/ruby-fs-stack/enunciate/familytree.rb', line 2368 def id @id end |
Class Method Details
.from_json(o) ⇒ Object
constructs a RelationshipQueryCommonAncestor from a (parsed) JSON hash
2388 2389 2390 2391 2392 2393 2394 2395 2396 |
# File 'lib/ruby-fs-stack/enunciate/familytree.rb', line 2388 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 RelationshipQueryCommonAncestor with a json hash
2383 2384 2385 |
# File 'lib/ruby-fs-stack/enunciate/familytree.rb', line 2383 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 RelationshipQueryCommonAncestor
2371 2372 2373 2374 2375 |
# File 'lib/ruby-fs-stack/enunciate/familytree.rb', line 2371 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 RelationshipQueryCommonAncestor
2378 2379 2380 |
# File 'lib/ruby-fs-stack/enunciate/familytree.rb', line 2378 def to_json to_jaxb_json_hash.to_json end |