Property Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. device. twin. Property
- com.
public class Property
Constructor Summary
Constructor | Description | |
---|---|---|
Property(String key, Object value) |
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean | getIsReported() |
String | getKey() |
Date | getLastUpdated() |
String | getLastUpdatedBy() |
String | getLastUpdatedByDigest() |
Integer | getLastUpdatedVersion() |
Object | getValue() |
Integer | getVersion() |
void | setValue(Object newValue) |
String |
toString()
Creates a pretty print JSON with the content of this class and subclasses. |
Constructor Details
Property
public Property(String key, Object value)
Parameters:
key
value
Method Details
getIsReported
public boolean getIsReported()
getKey
public String getKey()
getLastUpdated
public Date getLastUpdated()
getLastUpdatedBy
public String getLastUpdatedBy()
getLastUpdatedByDigest
public String getLastUpdatedByDigest()
getLastUpdatedVersion
public Integer getLastUpdatedVersion()
getValue
public Object getValue()
getVersion
public Integer getVersion()
setValue
public void setValue(Object newValue)
Parameters:
newValue
toString
public String toString()
Creates a pretty print JSON with the content of this class and subclasses.
Returns:
TheString
</code> with the pretty print JSON. </p>
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java