class Comet::AdminWebAuthnRegistration
def to_hash
-
(Hash)
- The complete object as a Ruby hash
def to_hash ret = {} ret['Description'] = @description ret['RegisterTime'] = @register_time ret['Type'] = @type unless @is_legacy_u2f.nil? ret['IsLegacyU2F'] = @is_legacy_u2f end unless @id.nil? ret['ID'] = @id end unless @credential.nil? ret['Credential'] = @credential end @unknown_json_fields.each do |k, v| ret[k] = v end ret end