Class: Org::Familysearch::Ws::Identity::V1::Schema::Identity

Inherits:
V1::BasicElement show all
Defined in:
lib/ruby-fs-stack/enunciate/identity.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 Identity from a (parsed) JSON hash



1266
1267
1268
1269
1270
1271
1272
1273
1274
# File 'lib/ruby-fs-stack/enunciate/identity.rb', line 1266

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 Identity with a json hash



1261
1262
1263
# File 'lib/ruby-fs-stack/enunciate/identity.rb', line 1261

def init_jaxb_json_hash(_o)
  super _o
end

#to_jaxb_json_hashObject

the json hash for this Identity



1255
1256
1257
1258
# File 'lib/ruby-fs-stack/enunciate/identity.rb', line 1255

def to_jaxb_json_hash
  _h = super
  return _h
end