Package odata.msgraph.client.beta.entity
Class WindowsInformationProtectionWipeAction
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.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.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsInformationProtectionWipeAction.Builder
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimelastCheckInDateTimeprotected ActionStatestatusprotected StringtargetedDeviceMacAddressprotected StringtargetedDeviceNameprotected StringtargetedDeviceRegistrationIdprotected StringtargetedUserId-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsInformationProtectionWipeAction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsInformationProtectionWipeAction.BuilderbuilderWindowsInformationProtectionWipeAction()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.ChangedFieldsgetChangedFields()Optional<OffsetDateTime>getLastCheckInDateTime()“Last checkin time of the device that was targeted by this wipe action.”Optional<ActionState>getStatus()“Wipe action status.”Optional<String>getTargetedDeviceMacAddress()“Targeted device Mac address.”Optional<String>getTargetedDeviceName()“Targeted device name.”Optional<String>getTargetedDeviceRegistrationId()“The DeviceRegistrationId being targeted by this wipe action.”Optional<String>getTargetedUserId()“The UserId being targeted by this wipe action.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()WindowsInformationProtectionWipeActionpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)WindowsInformationProtectionWipeActionput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()WindowsInformationProtectionWipeActionwithLastCheckInDateTime(OffsetDateTime lastCheckInDateTime)Returns an immutable copy ofthiswith just thelastCheckInDateTimefield changed.WindowsInformationProtectionWipeActionwithStatus(ActionState status)Returns an immutable copy ofthiswith just thestatusfield changed.WindowsInformationProtectionWipeActionwithTargetedDeviceMacAddress(String targetedDeviceMacAddress)Returns an immutable copy ofthiswith just thetargetedDeviceMacAddressfield changed.WindowsInformationProtectionWipeActionwithTargetedDeviceName(String targetedDeviceName)Returns an immutable copy ofthiswith just thetargetedDeviceNamefield changed.WindowsInformationProtectionWipeActionwithTargetedDeviceRegistrationId(String targetedDeviceRegistrationId)Returns an immutable copy ofthiswith just thetargetedDeviceRegistrationIdfield changed.WindowsInformationProtectionWipeActionwithTargetedUserId(String targetedUserId)Returns an immutable copy ofthiswith just thetargetedUserIdfield changed.WindowsInformationProtectionWipeActionwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
lastCheckInDateTime
protected OffsetDateTime lastCheckInDateTime
-
status
protected ActionState status
-
targetedDeviceMacAddress
protected String targetedDeviceMacAddress
-
targetedDeviceName
protected String targetedDeviceName
-
targetedDeviceRegistrationId
protected String targetedDeviceRegistrationId
-
targetedUserId
protected String targetedUserId
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
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:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
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 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 of the device that was targeted by this wipe action.”
- Parameters:
lastCheckInDateTime- new value oflastCheckInDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastCheckInDateTimefield changed
-
getStatus
public Optional<ActionState> getStatus()
“Wipe action status.”- Returns:
- property status
-
withStatus
public WindowsInformationProtectionWipeAction withStatus(ActionState status)
Returns an immutable copy ofthiswith just thestatusfield 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.“Wipe action status.”
- Parameters:
status- new value ofstatusfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestatusfield changed
-
getTargetedDeviceMacAddress
public Optional<String> getTargetedDeviceMacAddress()
“Targeted device Mac address.”- Returns:
- property targetedDeviceMacAddress
-
withTargetedDeviceMacAddress
public WindowsInformationProtectionWipeAction withTargetedDeviceMacAddress(String targetedDeviceMacAddress)
Returns an immutable copy ofthiswith just thetargetedDeviceMacAddressfield 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.“Targeted device Mac address.”
- Parameters:
targetedDeviceMacAddress- new value oftargetedDeviceMacAddressfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetargetedDeviceMacAddressfield changed
-
getTargetedDeviceName
public Optional<String> getTargetedDeviceName()
“Targeted device name.”- Returns:
- property targetedDeviceName
-
withTargetedDeviceName
public WindowsInformationProtectionWipeAction withTargetedDeviceName(String targetedDeviceName)
Returns an immutable copy ofthiswith just thetargetedDeviceNamefield 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.“Targeted device name.”
- Parameters:
targetedDeviceName- new value oftargetedDeviceNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetargetedDeviceNamefield 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 ofthiswith just thetargetedDeviceRegistrationIdfield 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 DeviceRegistrationId being targeted by this wipe action.”
- Parameters:
targetedDeviceRegistrationId- new value oftargetedDeviceRegistrationIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetargetedDeviceRegistrationIdfield 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 ofthiswith just thetargetedUserIdfield 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 UserId being targeted by this wipe action.”
- Parameters:
targetedUserId- new value oftargetedUserIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetargetedUserIdfield changed
-
withUnmappedField
public WindowsInformationProtectionWipeAction withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public WindowsInformationProtectionWipeAction patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public WindowsInformationProtectionWipeAction put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-