Class DeviceConfigurationTargetedUserAndDevice
- java.lang.Object
-
- odata.msgraph.client.beta.complex.DeviceConfigurationTargetedUserAndDevice
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class DeviceConfigurationTargetedUserAndDevice extends Object implements com.github.davidmoten.odata.client.ODataType
“Conflict summary for a set of device configuration policies.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceConfigurationTargetedUserAndDevice.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringdeviceIdprotected StringdeviceNameprotected OffsetDateTimelastCheckinDateTimeprotected StringodataTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFieldsprotected StringuserDisplayNameprotected StringuserIdprotected StringuserPrincipalName
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceConfigurationTargetedUserAndDevice()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceConfigurationTargetedUserAndDevice.Builderbuilder()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.UnmappedFieldsgetUnmappedFields()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.”StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()DeviceConfigurationTargetedUserAndDevicewithDeviceId(String deviceId)Returns an immutable copy ofthiswith just thedeviceIdfield changed.DeviceConfigurationTargetedUserAndDevicewithDeviceName(String deviceName)Returns an immutable copy ofthiswith just thedeviceNamefield changed.DeviceConfigurationTargetedUserAndDevicewithLastCheckinDateTime(OffsetDateTime lastCheckinDateTime)Returns an immutable copy ofthiswith just thelastCheckinDateTimefield changed.DeviceConfigurationTargetedUserAndDevicewithUnmappedField(String name, String value)DeviceConfigurationTargetedUserAndDevicewithUserDisplayName(String userDisplayName)Returns an immutable copy ofthiswith just theuserDisplayNamefield changed.DeviceConfigurationTargetedUserAndDevicewithUserId(String userId)Returns an immutable copy ofthiswith just theuserIdfield changed.DeviceConfigurationTargetedUserAndDevicewithUserPrincipalName(String userPrincipalName)Returns an immutable copy ofthiswith just theuserPrincipalNamefield changed.
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
deviceId
protected String deviceId
-
deviceName
protected String deviceName
-
lastCheckinDateTime
protected OffsetDateTime lastCheckinDateTime
-
userDisplayName
protected String userDisplayName
-
userId
protected String userId
-
userPrincipalName
protected String userPrincipalName
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getDeviceId
public Optional<String> getDeviceId()
“The id of the device in the checkin.”- Returns:
- property deviceId
-
withDeviceId
public DeviceConfigurationTargetedUserAndDevice withDeviceId(String deviceId)
Returns an immutable copy ofthiswith just thedeviceIdfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The id of the device in the checkin.”
- Parameters:
deviceId- new value ofdeviceIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceIdfield changed
-
getDeviceName
public Optional<String> getDeviceName()
“The name of the device in the checkin.”- Returns:
- property deviceName
-
withDeviceName
public DeviceConfigurationTargetedUserAndDevice withDeviceName(String deviceName)
Returns an immutable copy ofthiswith just thedeviceNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The name of the device in the checkin.”
- Parameters:
deviceName- new value ofdeviceNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceNamefield changed
-
getLastCheckinDateTime
public Optional<OffsetDateTime> getLastCheckinDateTime()
“Last checkin time for this user/device pair.”- Returns:
- property lastCheckinDateTime
-
withLastCheckinDateTime
public DeviceConfigurationTargetedUserAndDevice withLastCheckinDateTime(OffsetDateTime lastCheckinDateTime)
Returns an immutable copy ofthiswith just thelastCheckinDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Last checkin time for this user/device pair.”
- Parameters:
lastCheckinDateTime- new value oflastCheckinDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastCheckinDateTimefield changed
-
getUserDisplayName
public Optional<String> getUserDisplayName()
“The display name of the user in the checkin”- Returns:
- property userDisplayName
-
withUserDisplayName
public DeviceConfigurationTargetedUserAndDevice withUserDisplayName(String userDisplayName)
Returns an immutable copy ofthiswith just theuserDisplayNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The display name of the user in the checkin”
- Parameters:
userDisplayName- new value ofuserDisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserDisplayNamefield changed
-
getUserId
public Optional<String> getUserId()
“The id of the user in the checkin.”- Returns:
- property userId
-
withUserId
public DeviceConfigurationTargetedUserAndDevice withUserId(String userId)
Returns an immutable copy ofthiswith just theuserIdfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The id of the user in the checkin.”
- Parameters:
userId- new value ofuserIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserIdfield changed
-
getUserPrincipalName
public Optional<String> getUserPrincipalName()
“The UPN of the user in the checkin.”- Returns:
- property userPrincipalName
-
withUserPrincipalName
public DeviceConfigurationTargetedUserAndDevice withUserPrincipalName(String userPrincipalName)
Returns an immutable copy ofthiswith just theuserPrincipalNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The UPN of the user in the checkin.”
- Parameters:
userPrincipalName- new value ofuserPrincipalNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserPrincipalNamefield changed
-
withUnmappedField
public DeviceConfigurationTargetedUserAndDevice withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static DeviceConfigurationTargetedUserAndDevice.Builder builder()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
-