ConfigurationParser Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. service. configurations. serializers. ConfigurationParser
- com.
public class ConfigurationParser
Constructor Summary
Constructor | Description |
---|---|
ConfigurationParser() |
Empty constructor: Used only to keep GSON happy. |
ConfigurationParser(String json) |
Constructor for an ExportImportDeviceParser that is built using the provided json |
Method Summary
Modifier and Type | Method and Description |
---|---|
Date |
getCreatedTimeUtc()
Getter for createdTimeUtc |
Date |
getLastUpdatedTimeUtc()
Getter for lastUpdatedTimeUtc |
void |
setCreatedTimeUtc(Date createdTimeUtc)
Setter for createdTimeUtc |
void |
setLastUpdatedTimeUtc(Date lastUpdatedTimeUtc)
Setter for lastUpdatedTimeUtc |
String |
toJson()
Converts this into json and returns it |
Constructor Details
ConfigurationParser
public ConfigurationParser()
Empty constructor: Used only to keep GSON happy.
ConfigurationParser
public ConfigurationParser(String json)
Constructor for an ExportImportDeviceParser that is built using the provided json
Parameters:
Method Details
getCreatedTimeUtc
public Date getCreatedTimeUtc()
Getter for createdTimeUtc
Returns:
getLastUpdatedTimeUtc
public Date getLastUpdatedTimeUtc()
Getter for lastUpdatedTimeUtc
Returns:
setCreatedTimeUtc
public void setCreatedTimeUtc(Date createdTimeUtc)
Setter for createdTimeUtc
Parameters:
setLastUpdatedTimeUtc
public void setLastUpdatedTimeUtc(Date lastUpdatedTimeUtc)
Setter for lastUpdatedTimeUtc
Parameters:
toJson
public String toJson()
Converts this into json and returns it
Returns:
Applies to
Azure SDK for Java