Package com.azure.digitaltwins.core
Class DigitalTwinPropertyMetadata
java.lang.Object
com.azure.digitaltwins.core.DigitalTwinPropertyMetadata
Contains metadata about changes on properties on a digital twin or component.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the date and time the property was last updated.Gets the date and time the value of the property was sourced.setLastUpdatedOn
(OffsetDateTime lastUpdatedOn) Sets the the date and time the property was last updated.setSourceTime
(OffsetDateTime sourceTime) Sets the date and time the value of the property was sourced.
-
Constructor Details
-
DigitalTwinPropertyMetadata
public DigitalTwinPropertyMetadata()
-
-
Method Details
-
getLastUpdatedOn
Gets the date and time the property was last updated.- Returns:
- The date and time the property was last updated.
-
setLastUpdatedOn
Sets the the date and time the property was last updated.- Parameters:
lastUpdatedOn
- The date and time the property was last updated.- Returns:
- The DigitalTwinPropertyMetadata object itself.
-
getSourceTime
Gets the date and time the value of the property was sourced.- Returns:
- The date and time the value of the property was last sourced.
-
setSourceTime
Sets the date and time the value of the property was sourced.- Parameters:
sourceTime
- The date and time the value of the property was last sourced.- Returns:
- The DigitalTwinPropertyMetadata object itself.
-