diff options
Diffstat (limited to 'base/src/main/java/com/smartdevicelink/proxy/rpc/VehicleType.java')
-rw-r--r-- | base/src/main/java/com/smartdevicelink/proxy/rpc/VehicleType.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/base/src/main/java/com/smartdevicelink/proxy/rpc/VehicleType.java b/base/src/main/java/com/smartdevicelink/proxy/rpc/VehicleType.java index a05216661..8841126c3 100644 --- a/base/src/main/java/com/smartdevicelink/proxy/rpc/VehicleType.java +++ b/base/src/main/java/com/smartdevicelink/proxy/rpc/VehicleType.java @@ -33,6 +33,7 @@ package com.smartdevicelink.proxy.rpc; import com.smartdevicelink.proxy.RPCStruct;
+import java.util.HashMap;
import java.util.Hashtable;
/**
@@ -111,6 +112,18 @@ public class VehicleType extends RPCStruct { }
/**
+ * <p>
+ * Constructs a new VehicleType object indicated by the Hashtable
+ * parameter
+ * </p>
+ *
+ * @param hash The Hashtable to use
+ */
+ public VehicleType(HashMap<String, Object> hash) {
+ super(new Hashtable<>(hash));
+ }
+
+ /**
* get the make of the vehicle
*
* @return the make of the vehicle
|