class Comet::UpdateCampaignOptions
def to_hash
-
(Hash)
- The complete object as a Ruby hash
def to_hash ret = {} ret['Active'] = @active ret['UpgradeOlder'] = @upgrade_older ret['ReinstallCurrentVer'] = @reinstall_current_ver ret['DowngradeNewer'] = @downgrade_newer ret['ForceUpgradeRunning'] = @force_upgrade_running ret['ApplyDeviceFilter'] = @apply_device_filter ret['DeviceFilter'] = @device_filter @unknown_json_fields.each do |k, v| ret[k] = v end ret end