public class WindowsInformationProtectionDeviceRegistration extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
WindowsInformationProtectionDeviceRegistration.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
deviceMacAddress |
protected String |
deviceName |
protected String |
deviceRegistrationId |
protected String |
deviceType |
protected OffsetDateTime |
lastCheckInDateTime |
protected String |
userId |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
WindowsInformationProtectionDeviceRegistration() |
| Modifier and Type | Method and Description |
|---|---|
static WindowsInformationProtectionDeviceRegistration.Builder |
builderWindowsInformationProtectionDeviceRegistration()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getDeviceMacAddress()
“Device Mac address.”
|
Optional<String> |
getDeviceName()
“Device name.”
|
Optional<String> |
getDeviceRegistrationId()
“Device identifier for this device registration record.”
|
Optional<String> |
getDeviceType()
“Device type, for example, Windows laptop VS Windows phone.”
|
Optional<OffsetDateTime> |
getLastCheckInDateTime()
“Last checkin time of the device.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getUserId()
“UserId associated with this device registration record.”
|
String |
odataTypeName() |
WindowsInformationProtectionDeviceRegistration |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
WindowsInformationProtectionDeviceRegistration |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
com.github.davidmoten.odata.client.ActionRequestNoReturn |
wipe() |
WindowsInformationProtectionDeviceRegistration |
withDeviceMacAddress(String deviceMacAddress)
Returns an immutable copy of
this with just the deviceMacAddress
field changed. |
WindowsInformationProtectionDeviceRegistration |
withDeviceName(String deviceName)
Returns an immutable copy of
this with just the deviceName field
changed. |
WindowsInformationProtectionDeviceRegistration |
withDeviceRegistrationId(String deviceRegistrationId)
Returns an immutable copy of
this with just the deviceRegistrationId field changed. |
WindowsInformationProtectionDeviceRegistration |
withDeviceType(String deviceType)
Returns an immutable copy of
this with just the deviceType field
changed. |
WindowsInformationProtectionDeviceRegistration |
withLastCheckInDateTime(OffsetDateTime lastCheckInDateTime)
Returns an immutable copy of
this with just the lastCheckInDateTime field changed. |
WindowsInformationProtectionDeviceRegistration |
withUserId(String userId)
Returns an immutable copy of
this with just the userId field
changed. |
protected String userId
protected String deviceRegistrationId
protected String deviceName
protected String deviceType
protected String deviceMacAddress
protected OffsetDateTime lastCheckInDateTime
protected WindowsInformationProtectionDeviceRegistration()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static WindowsInformationProtectionDeviceRegistration.Builder builderWindowsInformationProtectionDeviceRegistration()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<String> getUserId()
public WindowsInformationProtectionDeviceRegistration withUserId(String userId)
this with just the userId field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“UserId associated with this device registration record.”
userId - new value of userId field (as defined in service metadata)this with just the userId field changedpublic Optional<String> getDeviceRegistrationId()
public WindowsInformationProtectionDeviceRegistration withDeviceRegistrationId(String deviceRegistrationId)
this with just the deviceRegistrationId field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Device identifier for this device registration record.”
deviceRegistrationId - new value of deviceRegistrationId field (as defined in service metadata)this with just the deviceRegistrationId field changedpublic WindowsInformationProtectionDeviceRegistration withDeviceName(String deviceName)
this with just the deviceName field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Device name.”
deviceName - new value of deviceName field (as defined in service metadata)this with just the deviceName field changedpublic Optional<String> getDeviceType()
public WindowsInformationProtectionDeviceRegistration withDeviceType(String deviceType)
this with just the deviceType field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Device type, for example, Windows laptop VS Windows phone.”
deviceType - new value of deviceType field (as defined in service metadata)this with just the deviceType field changedpublic Optional<String> getDeviceMacAddress()
public WindowsInformationProtectionDeviceRegistration withDeviceMacAddress(String deviceMacAddress)
this with just the deviceMacAddress
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Device Mac address.”
deviceMacAddress - new value of deviceMacAddress field (as defined in service metadata)this with just the deviceMacAddress field changedpublic Optional<OffsetDateTime> getLastCheckInDateTime()
public WindowsInformationProtectionDeviceRegistration withLastCheckInDateTime(OffsetDateTime lastCheckInDateTime)
this with just the lastCheckInDateTime field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Last checkin time of the device.”
lastCheckInDateTime - new value of lastCheckInDateTime field (as defined in service metadata)this with just the lastCheckInDateTime field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic WindowsInformationProtectionDeviceRegistration patch()
this with changed fields reset.public WindowsInformationProtectionDeviceRegistration put()
this
with changed fields reset (they were ignored anyway).public com.github.davidmoten.odata.client.ActionRequestNoReturn wipe()
Copyright © 2018–2020. All rights reserved.