class Comet::VMwareConnection

def to_hash

Returns:
  • (Hash) - The complete object as a Ruby hash
def to_hash
  ret = {}
  ret['ConnectionType'] = @connection_type
  ret['SSH'] = @ssh
  ret['VSphere'] = @vsphere
  @unknown_json_fields.each do |k, v|
    ret[k] = v
  end
  ret
end