class Comet::Office365Credential

def to_hash

Returns:
  • (Hash) - The complete object as a Ruby hash
def to_hash
  ret = {}
  ret['AppID'] = @app_id
  ret['TenantID'] = @tenant_id
  ret['Secret'] = @secret
  ret['AppCert'] = @app_cert
  ret['Region'] = @region
  @unknown_json_fields.each do |k, v|
    ret[k] = v
  end
  ret
end