class Comet::LicenseLimits

def to_hash

Returns:
  • (Hash) - The complete object as a Ruby hash
def to_hash
  ret = {}
  unless @device_count.nil?
    ret['deviceCount'] = @device_count
  end
  unless @booster_count.nil?
    ret['boosterCount'] = @booster_count
  end
  @unknown_json_fields.each do |k, v|
    ret[k] = v
  end
  ret
end