Class 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.”
    • 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
      • userDisplayName

        protected String userDisplayName
      • userId

        protected String userId
      • userPrincipalName

        protected String userPrincipalName
    • Constructor Detail

      • DeviceConfigurationTargetedUserAndDevice

        protected DeviceConfigurationTargetedUserAndDevice()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.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 of 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.”

        Parameters:
        deviceId - new value of deviceId field (as defined in service metadata)
        Returns:
        immutable copy of this with just the deviceId field 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 of 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.”

        Parameters:
        deviceName - new value of deviceName field (as defined in service metadata)
        Returns:
        immutable copy of this with just the deviceName field 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 of 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.”

        Parameters:
        lastCheckinDateTime - new value of lastCheckinDateTime field (as defined in service metadata)
        Returns:
        immutable copy of this with just the lastCheckinDateTime field 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 of 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”

        Parameters:
        userDisplayName - new value of userDisplayName field (as defined in service metadata)
        Returns:
        immutable copy of this with just the userDisplayName field 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 of 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.”

        Parameters:
        userId - new value of userId field (as defined in service metadata)
        Returns:
        immutable copy of this with just the userId field 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 of 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.”

        Parameters:
        userPrincipalName - new value of userPrincipalName field (as defined in service metadata)
        Returns:
        immutable copy of this with just the userPrincipalName field changed
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType