JobPropertiesParser Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. service. registry. serializers. JobPropertiesParser
- com.
public class JobPropertiesParser
Constructor Summary
Constructor | Description |
---|---|
JobPropertiesParser() |
Empty constructor: Used only to keep GSON happy. |
JobPropertiesParser(String json) |
Constructor for a JobPropertiesParser object that is built from the provided Json |
Method Summary
Modifier and Type | Method and Description |
---|---|
Date |
getEndTimeUtc()
Getter for endTimeUtc |
Date |
getStartTimeUtc()
Getter for startTimeUtc |
void |
setEndTimeUtc(Date endTimeUtc)
Setter for EndTimeUtc |
void |
setStartTimeUtc(Date startTimeUtc)
Setter for StartTimeUtc |
String |
toJson()
Converts this into json and returns it |
Constructor Details
JobPropertiesParser
public JobPropertiesParser()
Empty constructor: Used only to keep GSON happy.
JobPropertiesParser
public JobPropertiesParser(String json)
Constructor for a JobPropertiesParser object that is built from the provided Json
Parameters:
Throws:
Method Details
getEndTimeUtc
public Date getEndTimeUtc()
Getter for endTimeUtc
Returns:
getStartTimeUtc
public Date getStartTimeUtc()
Getter for startTimeUtc
Returns:
setEndTimeUtc
public void setEndTimeUtc(Date endTimeUtc)
Setter for EndTimeUtc
Parameters:
setStartTimeUtc
public void setStartTimeUtc(Date startTimeUtc)
Setter for StartTimeUtc
Parameters:
toJson
public String toJson()
Converts this into json and returns it
Returns:
Applies to
Azure SDK for Java