ConfigurationContentParser Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. deps. serializer. ConfigurationContentParser
- com.
public class ConfigurationContentParser
Constructor Summary
Constructor | Description |
---|---|
ConfigurationContentParser() |
Empty constructor: Used only to keep GSON happy. |
ConfigurationContentParser(String json) |
Constructor for an Configuration |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getDeviceContent()
Getter for device |
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> |
getModulesContent()
Getter for modules |
void |
setDeviceContent(Map<String,Object> deviceContent)
Setter for device |
void |
setModulesContent(Map<String,Map<String,Object>> modulesContent)
Setter for modules |
java.lang.String | toJson() |
com.google.gson.JsonElement | toJsonElement() |
Methods inherited from java.lang.Object
Constructor Details
ConfigurationContentParser
public ConfigurationContentParser()
Empty constructor: Used only to keep GSON happy.
ConfigurationContentParser
public ConfigurationContentParser(String json)
Constructor for an ConfigurationContentParser that is built using the provided json
Parameters:
Method Details
getDeviceContent
public Map
Getter for deviceContent
Returns:
getModulesContent
public Map
Getter for modulesContent
Returns:
setDeviceContent
public void setDeviceContent(Map
Setter for deviceContent
Parameters:
setModulesContent
public void setModulesContent(Map
Setter for modulesContent
Parameters:
toJson
public String toJson()
toJsonElement
public JsonElement toJsonElement()
Applies to
Azure SDK for Java