public class DeviceTwinProperties extends Object
| Constructor and Description |
|---|
DeviceTwinProperties() |
| Modifier and Type | Method and Description |
|---|---|
DeviceTwinMetadata |
metadata()
Get metadata information for the properties JSON document.
|
Double |
version()
Get version of device twin properties.
|
DeviceTwinProperties |
withMetadata(DeviceTwinMetadata metadata)
Set metadata information for the properties JSON document.
|
DeviceTwinProperties |
withVersion(Double version)
Set version of device twin properties.
|
public DeviceTwinMetadata metadata()
public DeviceTwinProperties withMetadata(DeviceTwinMetadata metadata)
metadata - the metadata value to setpublic Double version()
public DeviceTwinProperties withVersion(Double version)
version - the version value to set /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/