class Comet::ServerConfigOptions

def to_hash

Returns:
  • (Hash) - The complete object as a Ruby hash
def to_hash
  ret = {}
  ret['AdminUsers'] = @admin_users
  ret['AuthenticationRole'] = @authentication_role
  ret['Branding'] = @branding
  ret['ConstellationRole'] = @constellation_role
  unless @constellation_role__legacy.nil?
    ret['OverseerRole'] = @constellation_role__legacy
  end
  ret['Email'] = @email
  unless @experimental_options.nil?
    ret['ExperimentalOptions'] = @experimental_options
  end
  ret['ExternalAdminUserSources'] = @external_admin_user_sources
  ret['IPRateLimit'] = @iprate_limit
  ret['License'] = @license
  ret['ListenAddresses'] = @listen_addresses
  ret['Organizations'] = @organizations
  ret['PSAConfigs'] = @psaconfigs
  ret['SelfBackup'] = @self_backup
  ret['SessionSettings'] = @session_settings
  ret['SoftwareBuildRole'] = @software_build_role
  ret['StorageRole'] = @storage_role
  ret['TrustXForwardedFor'] = @trust_xforwarded_for
  ret['WebhookOptions'] = @webhook_options
  ret['AuditFileOptions'] = @audit_file_options
  @unknown_json_fields.each do |k, v|
    ret[k] = v
  end
  ret
end