public class DeviceKey extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceKey.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
deviceId |
protected byte[] |
keyMaterial |
protected String |
keyType |
protected String |
odataType |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
DeviceKey() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceKey.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getDeviceId() |
Optional<byte[]> |
getKeyMaterial() |
Optional<String> |
getKeyType() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
DeviceKey |
withDeviceId(String deviceId) |
DeviceKey |
withKeyMaterial(byte[] keyMaterial) |
DeviceKey |
withKeyType(String keyType) |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String keyType
protected byte[] keyMaterial
protected String deviceId
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<byte[]> getKeyMaterial()
public DeviceKey withKeyMaterial(byte[] keyMaterial)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static DeviceKey.Builder builder()
Copyright © 2018–2020. All rights reserved.