Class: Org::Familysearch::Ws::Familytree::V2::Schema::FamilyTreeStatus
- Defined in:
- lib/ruby-fs-stack/enunciate/familytree.rb
Instance Attribute Summary collapse
-
#assertion ⇒ Object
The assertion to which this error applies.
-
#code ⇒ Object
(no documentation provided).
-
#details ⇒ Object
(no documentation provided).
-
#message ⇒ Object
(no documentation provided).
-
#person ⇒ Object
Reference to the person to which the error applies.
-
#persona ⇒ Object
Reference to the persona to which the error applies.
-
#subcode ⇒ Object
(no documentation provided).
Class Method Summary collapse
-
.from_json(o) ⇒ Object
constructs a FamilyTreeStatus from a (parsed) JSON hash.
Instance Method Summary collapse
-
#init_jaxb_json_hash(_o) ⇒ Object
initializes this FamilyTreeStatus with a json hash.
-
#to_jaxb_json_hash ⇒ Object
the json hash for this FamilyTreeStatus.
-
#to_json ⇒ Object
the json (string form) for this FamilyTreeStatus.
Instance Attribute Details
#assertion ⇒ Object
The assertion to which this error applies.
8327 8328 8329 |
# File 'lib/ruby-fs-stack/enunciate/familytree.rb', line 8327 def assertion @assertion end |
#code ⇒ Object
(no documentation provided)
8317 8318 8319 |
# File 'lib/ruby-fs-stack/enunciate/familytree.rb', line 8317 def code @code end |
#details ⇒ Object
(no documentation provided)
8329 8330 8331 |
# File 'lib/ruby-fs-stack/enunciate/familytree.rb', line 8329 def details @details end |
#message ⇒ Object
(no documentation provided)
8321 8322 8323 |
# File 'lib/ruby-fs-stack/enunciate/familytree.rb', line 8321 def @message end |
#person ⇒ Object
Reference to the person to which the error applies.
8323 8324 8325 |
# File 'lib/ruby-fs-stack/enunciate/familytree.rb', line 8323 def person @person end |
#persona ⇒ Object
Reference to the persona to which the error applies.
8325 8326 8327 |
# File 'lib/ruby-fs-stack/enunciate/familytree.rb', line 8325 def persona @persona end |
#subcode ⇒ Object
(no documentation provided)
8319 8320 8321 |
# File 'lib/ruby-fs-stack/enunciate/familytree.rb', line 8319 def subcode @subcode end |
Class Method Details
.from_json(o) ⇒ Object
constructs a FamilyTreeStatus from a (parsed) JSON hash
8361 8362 8363 8364 8365 8366 8367 8368 8369 |
# File 'lib/ruby-fs-stack/enunciate/familytree.rb', line 8361 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 FamilyTreeStatus with a json hash
8350 8351 8352 8353 8354 8355 8356 8357 8358 |
# File 'lib/ruby-fs-stack/enunciate/familytree.rb', line 8350 def init_jaxb_json_hash(_o) @code = Fixnum.from_json(_o['code']) unless _o['code'].nil? @subcode = Fixnum.from_json(_o['subcode']) unless _o['subcode'].nil? @message = String.from_json(_o['message']) unless _o['message'].nil? @person = Org::Familysearch::Ws::Familytree::V2::Schema::EntityReference.from_json(_o['person']) unless _o['person'].nil? @persona = Org::Familysearch::Ws::Familytree::V2::Schema::EntityReference.from_json(_o['persona']) unless _o['persona'].nil? @assertion = Org::Familysearch::Ws::Familytree::V2::Schema::EntityReference.from_json(_o['assertion']) unless _o['assertion'].nil? @details = String.from_json(_o['details']) unless _o['details'].nil? end |
#to_jaxb_json_hash ⇒ Object
the json hash for this FamilyTreeStatus
8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 |
# File 'lib/ruby-fs-stack/enunciate/familytree.rb', line 8332 def to_jaxb_json_hash _h = {} _h['code'] = code.to_jaxb_json_hash unless code.nil? _h['subcode'] = subcode.to_jaxb_json_hash unless subcode.nil? _h['message'] = .to_jaxb_json_hash unless .nil? _h['person'] = person.to_jaxb_json_hash unless person.nil? _h['persona'] = persona.to_jaxb_json_hash unless persona.nil? _h['assertion'] = assertion.to_jaxb_json_hash unless assertion.nil? _h['details'] = details.to_jaxb_json_hash unless details.nil? return _h end |
#to_json ⇒ Object
the json (string form) for this FamilyTreeStatus
8345 8346 8347 |
# File 'lib/ruby-fs-stack/enunciate/familytree.rb', line 8345 def to_json to_jaxb_json_hash.to_json end |