Class WindowsInformationProtectionWipeAction

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType

    public class WindowsInformationProtectionWipeAction
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Represents wipe requests issued by tenant admin for Bring-Your-Own-Device(BYOD) Windows devices.”
    • Field Detail

      • targetedDeviceMacAddress

        protected String targetedDeviceMacAddress
      • targetedDeviceName

        protected String targetedDeviceName
      • targetedDeviceRegistrationId

        protected String targetedDeviceRegistrationId
      • targetedUserId

        protected String targetedUserId
    • Constructor Detail

      • WindowsInformationProtectionWipeAction

        protected WindowsInformationProtectionWipeAction()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class Entity
      • builderWindowsInformationProtectionWipeAction

        public static WindowsInformationProtectionWipeAction.Builder builderWindowsInformationProtectionWipeAction()
        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
      • getChangedFields

        public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
        Specified by:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class Entity
      • postInject

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

        public Optional<OffsetDateTime> getLastCheckInDateTime()
        “Last checkin time of the device that was targeted by this wipe action.”
        Returns:
        property lastCheckInDateTime
      • withLastCheckInDateTime

        public WindowsInformationProtectionWipeAction 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 of the device that was targeted by this wipe action.”

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

        public Optional<ActionState> getStatus()
        “Wipe action status.”
        Returns:
        property status
      • withStatus

        public WindowsInformationProtectionWipeAction withStatus​(ActionState status)
        Returns an immutable copy of this with just the status 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.

        “Wipe action status.”

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

        public Optional<String> getTargetedDeviceMacAddress()
        “Targeted device Mac address.”
        Returns:
        property targetedDeviceMacAddress
      • withTargetedDeviceMacAddress

        public WindowsInformationProtectionWipeAction withTargetedDeviceMacAddress​(String targetedDeviceMacAddress)
        Returns an immutable copy of this with just the targetedDeviceMacAddress 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.

        “Targeted device Mac address.”

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

        public Optional<String> getTargetedDeviceName()
        “Targeted device name.”
        Returns:
        property targetedDeviceName
      • withTargetedDeviceName

        public WindowsInformationProtectionWipeAction withTargetedDeviceName​(String targetedDeviceName)
        Returns an immutable copy of this with just the targetedDeviceName 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.

        “Targeted device name.”

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

        public Optional<String> getTargetedDeviceRegistrationId()
        “The DeviceRegistrationId being targeted by this wipe action.”
        Returns:
        property targetedDeviceRegistrationId
      • withTargetedDeviceRegistrationId

        public WindowsInformationProtectionWipeAction withTargetedDeviceRegistrationId​(String targetedDeviceRegistrationId)
        Returns an immutable copy of this with just the targetedDeviceRegistrationId 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 DeviceRegistrationId being targeted by this wipe action.”

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

        public Optional<String> getTargetedUserId()
        “The UserId being targeted by this wipe action.”
        Returns:
        property targetedUserId
      • withTargetedUserId

        public WindowsInformationProtectionWipeAction withTargetedUserId​(String targetedUserId)
        Returns an immutable copy of this with just the targetedUserId 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 UserId being targeted by this wipe action.”

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

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class Entity
      • patch

        public WindowsInformationProtectionWipeAction patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class Entity
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected
      • put

        public WindowsInformationProtectionWipeAction put()
        Submits all fields for update and returns an immutable copy of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class Entity
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected