class Comet::UpdateCampaignStatus

def to_hash

Returns:
  • (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
  ret['StartTime'] = @start_time
  ret['TargetVersion'] = @target_version
  ret['Devices'] = @devices
  @unknown_json_fields.each do |k, v|
    ret[k] = v
  end
  ret
end