public class DeviceConfigurationTargetedUserAndDevice extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceConfigurationTargetedUserAndDevice.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
deviceId |
protected String |
deviceName |
protected OffsetDateTime |
lastCheckinDateTime |
protected String |
odataType |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
protected String |
userDisplayName |
protected String |
userId |
protected String |
userPrincipalName |
| Modifier | Constructor and Description |
|---|---|
protected |
DeviceConfigurationTargetedUserAndDevice() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceConfigurationTargetedUserAndDevice.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()
“The id of the device in the checkin.”
|
Optional<String> |
getDeviceName()
“The name of the device in the checkin.”
|
Optional<OffsetDateTime> |
getLastCheckinDateTime()
“Last checkin time for this user/device pair.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getUserDisplayName()
“The display name of the user in the checkin”
|
Optional<String> |
getUserId()
“The id of the user in the checkin.”
|
Optional<String> |
getUserPrincipalName()
“The UPN of the user in the checkin.”
|
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
DeviceConfigurationTargetedUserAndDevice |
withDeviceId(String deviceId)
Returns an immutable copy of
this with just the deviceId field
changed. |
DeviceConfigurationTargetedUserAndDevice |
withDeviceName(String deviceName)
Returns an immutable copy of
this with just the deviceName field
changed. |
DeviceConfigurationTargetedUserAndDevice |
withLastCheckinDateTime(OffsetDateTime lastCheckinDateTime)
Returns an immutable copy of
this with just the lastCheckinDateTime field changed. |
DeviceConfigurationTargetedUserAndDevice |
withUserDisplayName(String userDisplayName)
Returns an immutable copy of
this with just the userDisplayName
field changed. |
DeviceConfigurationTargetedUserAndDevice |
withUserId(String userId)
Returns an immutable copy of
this with just the userId field
changed. |
DeviceConfigurationTargetedUserAndDevice |
withUserPrincipalName(String userPrincipalName)
Returns an immutable copy of
this with just the userPrincipalName
field changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String deviceId
protected String deviceName
protected String userId
protected String userDisplayName
protected String userPrincipalName
protected OffsetDateTime lastCheckinDateTime
protected DeviceConfigurationTargetedUserAndDevice()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<String> getDeviceId()
public DeviceConfigurationTargetedUserAndDevice withDeviceId(String deviceId)
this with just the deviceId 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.
“The id of the device in the checkin.”
deviceId - new value of deviceId field (as defined in service metadata)this with just the deviceId field changedpublic Optional<String> getDeviceName()
public DeviceConfigurationTargetedUserAndDevice 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.
“The name of the device in the checkin.”
deviceName - new value of deviceName field (as defined in service metadata)this with just the deviceName field changedpublic Optional<String> getUserId()
public DeviceConfigurationTargetedUserAndDevice 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.
“The id of the user in the checkin.”
userId - new value of userId field (as defined in service metadata)this with just the userId field changedpublic Optional<String> getUserDisplayName()
public DeviceConfigurationTargetedUserAndDevice withUserDisplayName(String userDisplayName)
this with just the userDisplayName
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.
“The display name of the user in the checkin”
userDisplayName - new value of userDisplayName field (as defined in service metadata)this with just the userDisplayName field changedpublic Optional<String> getUserPrincipalName()
public DeviceConfigurationTargetedUserAndDevice withUserPrincipalName(String userPrincipalName)
this with just the userPrincipalName
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.
“The UPN of the user in the checkin.”
userPrincipalName - new value of userPrincipalName field (as defined in service metadata)this with just the userPrincipalName field changedpublic Optional<OffsetDateTime> getLastCheckinDateTime()
public DeviceConfigurationTargetedUserAndDevice 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 for this user/device pair.”
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.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static DeviceConfigurationTargetedUserAndDevice.Builder builder()
Copyright © 2018–2020. All rights reserved.