Class: Org::Familysearch::Ws::Identity::V2a::Schema::IdentityStatus
- Defined in:
- lib/ruby-fs-stack/enunciate/identity.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
(no documentation provided).
-
#details ⇒ Object
(no documentation provided).
-
#message ⇒ Object
(no documentation provided).
-
#subcode ⇒ Object
(no documentation provided).
Class Method Summary collapse
-
.from_json(o) ⇒ Object
constructs a IdentityStatus from a (parsed) JSON hash.
Instance Method Summary collapse
-
#init_jaxb_json_hash(_o) ⇒ Object
initializes this IdentityStatus with a json hash.
-
#to_jaxb_json_hash ⇒ Object
the json hash for this IdentityStatus.
-
#to_json ⇒ Object
the json (string form) for this IdentityStatus.
Instance Attribute Details
#code ⇒ Object
(no documentation provided)
1183 1184 1185 |
# File 'lib/ruby-fs-stack/enunciate/identity.rb', line 1183 def code @code end |
#details ⇒ Object
(no documentation provided)
1189 1190 1191 |
# File 'lib/ruby-fs-stack/enunciate/identity.rb', line 1189 def details @details end |
#message ⇒ Object
(no documentation provided)
1187 1188 1189 |
# File 'lib/ruby-fs-stack/enunciate/identity.rb', line 1187 def @message end |
#subcode ⇒ Object
(no documentation provided)
1185 1186 1187 |
# File 'lib/ruby-fs-stack/enunciate/identity.rb', line 1185 def subcode @subcode end |
Class Method Details
.from_json(o) ⇒ Object
constructs a IdentityStatus from a (parsed) JSON hash
1215 1216 1217 1218 1219 1220 1221 1222 1223 |
# File 'lib/ruby-fs-stack/enunciate/identity.rb', line 1215 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 IdentityStatus with a json hash
1207 1208 1209 1210 1211 1212 |
# File 'lib/ruby-fs-stack/enunciate/identity.rb', line 1207 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? @details = String.from_json(_o['details']) unless _o['details'].nil? end |
#to_jaxb_json_hash ⇒ Object
the json hash for this IdentityStatus
1192 1193 1194 1195 1196 1197 1198 1199 |
# File 'lib/ruby-fs-stack/enunciate/identity.rb', line 1192 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['details'] = details.to_jaxb_json_hash unless details.nil? return _h end |
#to_json ⇒ Object
the json (string form) for this IdentityStatus
1202 1203 1204 |
# File 'lib/ruby-fs-stack/enunciate/identity.rb', line 1202 def to_json to_jaxb_json_hash.to_json end |