Class ManagedDevice
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.ManagedDevice
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class ManagedDevice extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Devices that are managed or pre-enrolled through Intune”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManagedDevice.Builder
-
Field Summary
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedManagedDevice()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManagedDevice.BuilderbuilderManagedDevice()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.ActionRequestNoReturnbypassActivationLock()com.github.davidmoten.odata.client.ActionRequestNoReturncleanWindowsDevice(Boolean keepUserData)com.github.davidmoten.odata.client.ActionRequestNoReturndeleteUserFromSharedAppleDevice(String userPrincipalName)com.github.davidmoten.odata.client.ActionRequestNoReturndisableLostMode()Optional<String>getActivationLockBypassCode()“The code that allows the Activation Lock on managed device to be bypassed.Optional<String>getAndroidSecurityPatchLevel()“Android security patch level.Optional<String>getAzureADDeviceId()“The unique identifier for the Azure Active Directory device.Optional<Boolean>getAzureADRegistered()“Whether the device is Azure Active Directory registered.com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<OffsetDateTime>getComplianceGracePeriodExpirationDateTime()“The DateTime when device compliance grace period expires.Optional<ComplianceState>getComplianceState()“Compliance state of the device.Optional<ConfigurationManagerClientEnabledFeatures>getConfigurationManagerClientEnabledFeatures()“ConfigrMgr client enabled features.com.github.davidmoten.odata.client.CollectionPage<DeviceActionResult>getDeviceActionResults()“List of ComplexType deviceActionResult objects.com.github.davidmoten.odata.client.CollectionPage<DeviceActionResult>getDeviceActionResults(com.github.davidmoten.odata.client.HttpRequestOptions options)“List of ComplexType deviceActionResult objects.DeviceCategoryRequestgetDeviceCategory()“Device category”Optional<String>getDeviceCategoryDisplayName()“Device category display name.DeviceCompliancePolicyStateCollectionRequestgetDeviceCompliancePolicyStates()“Device compliance policy states for this device.”DeviceConfigurationStateCollectionRequestgetDeviceConfigurationStates()“Device configuration states for this device.”Optional<DeviceEnrollmentType>getDeviceEnrollmentType()“Enrollment type of the device.Optional<DeviceHealthAttestationState>getDeviceHealthAttestationState()“The device health attestation state.Optional<String>getDeviceName()“Name of the device.Optional<DeviceRegistrationState>getDeviceRegistrationState()“Device registration state.Optional<Boolean>getEasActivated()“Whether the device is Exchange ActiveSync activated.Optional<OffsetDateTime>getEasActivationDateTime()“Exchange ActivationSync activation time of the device.Optional<String>getEasDeviceId()“Exchange ActiveSync Id of the device.Optional<String>getEmailAddress()“Email(s) for the user associated with the device.Optional<OffsetDateTime>getEnrolledDateTime()“Enrollment time of the device.Optional<String>getEthernetMacAddress()“Indicates Ethernet MAC Address of the device.Optional<DeviceManagementExchangeAccessState>getExchangeAccessState()“The Access State of the device in Exchange.Optional<DeviceManagementExchangeAccessStateReason>getExchangeAccessStateReason()“The reason for the device's access state in Exchange.Optional<OffsetDateTime>getExchangeLastSuccessfulSyncDateTime()“Last time the device contacted Exchange.Optional<Long>getFreeStorageSpaceInBytes()“Free Storage in Bytes.Optional<String>getIccid()“Integrated Circuit Card Identifier, it is A SIM card's unique identification number.Optional<String>getImei()“IMEI.Optional<Boolean>getIsEncrypted()“Device encryption status.Optional<Boolean>getIsSupervised()“Device supervised status.Optional<String>getJailBroken()“Whether the device is jail broken or rooted.Optional<OffsetDateTime>getLastSyncDateTime()“The date and time that the device last completed a successful sync with Intune.DeviceLogCollectionResponseCollectionRequestgetLogCollectionRequests()“List of log collection requests”Optional<String>getManagedDeviceName()“Automatically generated name to identify a device.Optional<ManagedDeviceOwnerType>getManagedDeviceOwnerType()“Ownership of the device.Optional<ManagementAgentType>getManagementAgent()“Management channel of the device.Optional<OffsetDateTime>getManagementCertificateExpirationDate()“Reports device management certificate expiration date.Optional<String>getManufacturer()“Manufacturer of the device.Optional<String>getMeid()“MEID.Optional<String>getModel()“Model of the device.Optional<String>getNotes()“Notes on the device created by IT Admin.Optional<String>getOperatingSystem()“Operating system of the device.Optional<String>getOsVersion()“Operating system version of the device.Optional<ManagedDevicePartnerReportedHealthState>getPartnerReportedThreatState()“Indicates the threat state of a device when a Mobile Threat Defense partner is in use by the account and device.Optional<String>getPhoneNumber()“Phone number of the device.Optional<Long>getPhysicalMemoryInBytes()“Total Memory in Bytes.Optional<String>getRemoteAssistanceSessionErrorDetails()“An error string that identifies issues when creating Remote Assistance session objects.Optional<String>getRemoteAssistanceSessionUrl()“Url that allows a Remote Assistance session to be established with the device.Optional<Boolean>getRequireUserEnrollmentApproval()“Reports if the managed iOS device is user approval enrollment.Optional<String>getSerialNumber()“SerialNumber.Optional<String>getSubscriberCarrier()“Subscriber Carrier.Optional<Long>getTotalStorageSpaceInBytes()“Total Storage in Bytes.Optional<String>getUdid()“Unique Device Identifier for iOS and macOS devices.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getUserDisplayName()“User display name.Optional<String>getUserId()“Unique Identifier for the user associated with the device.Optional<String>getUserPrincipalName()“Device user principal name.UserCollectionRequestgetUsers()“The primary users associated with the managed device.”Optional<String>getWiFiMacAddress()“Wi-Fi MAC.WindowsProtectionStateRequestgetWindowsProtectionState()“The device protection status.com.github.davidmoten.odata.client.ActionRequestNoReturnlocateDevice()com.github.davidmoten.odata.client.ActionRequestNoReturnlogoutSharedAppleDeviceActiveUser()StringodataTypeName()ManagedDevicepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)ManagedDeviceput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).com.github.davidmoten.odata.client.ActionRequestNoReturnrebootNow()com.github.davidmoten.odata.client.ActionRequestNoReturnrecoverPasscode()com.github.davidmoten.odata.client.ActionRequestNoReturnremoteLock()com.github.davidmoten.odata.client.ActionRequestNoReturnrequestRemoteAssistance()com.github.davidmoten.odata.client.ActionRequestNoReturnresetPasscode()com.github.davidmoten.odata.client.ActionRequestNoReturnretire()com.github.davidmoten.odata.client.ActionRequestNoReturnshutDown()com.github.davidmoten.odata.client.ActionRequestNoReturnsyncDevice()StringtoString()com.github.davidmoten.odata.client.ActionRequestNoReturnupdateWindowsDeviceAccount(UpdateWindowsDeviceAccountActionParameter updateWindowsDeviceAccountActionParameter)com.github.davidmoten.odata.client.ActionRequestNoReturnwindowsDefenderScan(Boolean quickScan)com.github.davidmoten.odata.client.ActionRequestNoReturnwindowsDefenderUpdateSignatures()com.github.davidmoten.odata.client.ActionRequestNoReturnwipe(Boolean keepEnrollmentData, Boolean keepUserData, String macOsUnlockCode, Boolean persistEsimDataPlan)ManagedDevicewithActivationLockBypassCode(String activationLockBypassCode)Returns an immutable copy ofthiswith just theactivationLockBypassCodefield changed.ManagedDevicewithAndroidSecurityPatchLevel(String androidSecurityPatchLevel)Returns an immutable copy ofthiswith just theandroidSecurityPatchLevelfield changed.ManagedDevicewithAzureADDeviceId(String azureADDeviceId)Returns an immutable copy ofthiswith just theazureADDeviceIdfield changed.ManagedDevicewithAzureADRegistered(Boolean azureADRegistered)Returns an immutable copy ofthiswith just theazureADRegisteredfield changed.ManagedDevicewithComplianceGracePeriodExpirationDateTime(OffsetDateTime complianceGracePeriodExpirationDateTime)Returns an immutable copy ofthiswith just thecomplianceGracePeriodExpirationDateTimefield changed.ManagedDevicewithComplianceState(ComplianceState complianceState)Returns an immutable copy ofthiswith just thecomplianceStatefield changed.ManagedDevicewithConfigurationManagerClientEnabledFeatures(ConfigurationManagerClientEnabledFeatures configurationManagerClientEnabledFeatures)Returns an immutable copy ofthiswith just theconfigurationManagerClientEnabledFeaturesfield changed.ManagedDevicewithDeviceActionResults(List<DeviceActionResult> deviceActionResults)Returns an immutable copy ofthiswith just thedeviceActionResultsfield changed.ManagedDevicewithDeviceCategory(DeviceCategory deviceCategory)Returns an immutable copy ofthiswith just thedeviceCategoryfield changed.ManagedDevicewithDeviceCategoryDisplayName(String deviceCategoryDisplayName)Returns an immutable copy ofthiswith just thedeviceCategoryDisplayNamefield changed.ManagedDevicewithDeviceCompliancePolicyStates(List<DeviceCompliancePolicyState> deviceCompliancePolicyStates)Returns an immutable copy ofthiswith just thedeviceCompliancePolicyStatesfield changed.ManagedDevicewithDeviceConfigurationStates(List<DeviceConfigurationState> deviceConfigurationStates)Returns an immutable copy ofthiswith just thedeviceConfigurationStatesfield changed.ManagedDevicewithDeviceEnrollmentType(DeviceEnrollmentType deviceEnrollmentType)Returns an immutable copy ofthiswith just thedeviceEnrollmentTypefield changed.ManagedDevicewithDeviceHealthAttestationState(DeviceHealthAttestationState deviceHealthAttestationState)Returns an immutable copy ofthiswith just thedeviceHealthAttestationStatefield changed.ManagedDevicewithDeviceName(String deviceName)Returns an immutable copy ofthiswith just thedeviceNamefield changed.ManagedDevicewithDeviceRegistrationState(DeviceRegistrationState deviceRegistrationState)Returns an immutable copy ofthiswith just thedeviceRegistrationStatefield changed.ManagedDevicewithEasActivated(Boolean easActivated)Returns an immutable copy ofthiswith just theeasActivatedfield changed.ManagedDevicewithEasActivationDateTime(OffsetDateTime easActivationDateTime)Returns an immutable copy ofthiswith just theeasActivationDateTimefield changed.ManagedDevicewithEasDeviceId(String easDeviceId)Returns an immutable copy ofthiswith just theeasDeviceIdfield changed.ManagedDevicewithEmailAddress(String emailAddress)Returns an immutable copy ofthiswith just theemailAddressfield changed.ManagedDevicewithEnrolledDateTime(OffsetDateTime enrolledDateTime)Returns an immutable copy ofthiswith just theenrolledDateTimefield changed.ManagedDevicewithEthernetMacAddress(String ethernetMacAddress)Returns an immutable copy ofthiswith just theethernetMacAddressfield changed.ManagedDevicewithExchangeAccessState(DeviceManagementExchangeAccessState exchangeAccessState)Returns an immutable copy ofthiswith just theexchangeAccessStatefield changed.ManagedDevicewithExchangeAccessStateReason(DeviceManagementExchangeAccessStateReason exchangeAccessStateReason)Returns an immutable copy ofthiswith just theexchangeAccessStateReasonfield changed.ManagedDevicewithExchangeLastSuccessfulSyncDateTime(OffsetDateTime exchangeLastSuccessfulSyncDateTime)Returns an immutable copy ofthiswith just theexchangeLastSuccessfulSyncDateTimefield changed.ManagedDevicewithFreeStorageSpaceInBytes(Long freeStorageSpaceInBytes)Returns an immutable copy ofthiswith just thefreeStorageSpaceInBytesfield changed.ManagedDevicewithIccid(String iccid)Returns an immutable copy ofthiswith just theiccidfield changed.ManagedDevicewithImei(String imei)Returns an immutable copy ofthiswith just theimeifield changed.ManagedDevicewithIsEncrypted(Boolean isEncrypted)Returns an immutable copy ofthiswith just theisEncryptedfield changed.ManagedDevicewithIsSupervised(Boolean isSupervised)Returns an immutable copy ofthiswith just theisSupervisedfield changed.ManagedDevicewithJailBroken(String jailBroken)Returns an immutable copy ofthiswith just thejailBrokenfield changed.ManagedDevicewithLastSyncDateTime(OffsetDateTime lastSyncDateTime)Returns an immutable copy ofthiswith just thelastSyncDateTimefield changed.ManagedDevicewithLogCollectionRequests(List<DeviceLogCollectionResponse> logCollectionRequests)Returns an immutable copy ofthiswith just thelogCollectionRequestsfield changed.ManagedDevicewithManagedDeviceName(String managedDeviceName)Returns an immutable copy ofthiswith just themanagedDeviceNamefield changed.ManagedDevicewithManagedDeviceOwnerType(ManagedDeviceOwnerType managedDeviceOwnerType)Returns an immutable copy ofthiswith just themanagedDeviceOwnerTypefield changed.ManagedDevicewithManagementAgent(ManagementAgentType managementAgent)Returns an immutable copy ofthiswith just themanagementAgentfield changed.ManagedDevicewithManagementCertificateExpirationDate(OffsetDateTime managementCertificateExpirationDate)Returns an immutable copy ofthiswith just themanagementCertificateExpirationDatefield changed.ManagedDevicewithManufacturer(String manufacturer)Returns an immutable copy ofthiswith just themanufacturerfield changed.ManagedDevicewithMeid(String meid)Returns an immutable copy ofthiswith just themeidfield changed.ManagedDevicewithModel(String model)Returns an immutable copy ofthiswith just themodelfield changed.ManagedDevicewithNotes(String notes)Returns an immutable copy ofthiswith just thenotesfield changed.ManagedDevicewithOperatingSystem(String operatingSystem)Returns an immutable copy ofthiswith just theoperatingSystemfield changed.ManagedDevicewithOsVersion(String osVersion)Returns an immutable copy ofthiswith just theosVersionfield changed.ManagedDevicewithPartnerReportedThreatState(ManagedDevicePartnerReportedHealthState partnerReportedThreatState)Returns an immutable copy ofthiswith just thepartnerReportedThreatStatefield changed.ManagedDevicewithPhoneNumber(String phoneNumber)Returns an immutable copy ofthiswith just thephoneNumberfield changed.ManagedDevicewithPhysicalMemoryInBytes(Long physicalMemoryInBytes)Returns an immutable copy ofthiswith just thephysicalMemoryInBytesfield changed.ManagedDevicewithRemoteAssistanceSessionErrorDetails(String remoteAssistanceSessionErrorDetails)Returns an immutable copy ofthiswith just theremoteAssistanceSessionErrorDetailsfield changed.ManagedDevicewithRemoteAssistanceSessionUrl(String remoteAssistanceSessionUrl)Returns an immutable copy ofthiswith just theremoteAssistanceSessionUrlfield changed.ManagedDevicewithRequireUserEnrollmentApproval(Boolean requireUserEnrollmentApproval)Returns an immutable copy ofthiswith just therequireUserEnrollmentApprovalfield changed.ManagedDevicewithSerialNumber(String serialNumber)Returns an immutable copy ofthiswith just theserialNumberfield changed.ManagedDevicewithSubscriberCarrier(String subscriberCarrier)Returns an immutable copy ofthiswith just thesubscriberCarrierfield changed.ManagedDevicewithTotalStorageSpaceInBytes(Long totalStorageSpaceInBytes)Returns an immutable copy ofthiswith just thetotalStorageSpaceInBytesfield changed.ManagedDevicewithUdid(String udid)Returns an immutable copy ofthiswith just theudidfield changed.ManagedDevicewithUnmappedField(String name, Object value)ManagedDevicewithUserDisplayName(String userDisplayName)Returns an immutable copy ofthiswith just theuserDisplayNamefield changed.ManagedDevicewithUserId(String userId)Returns an immutable copy ofthiswith just theuserIdfield changed.ManagedDevicewithUserPrincipalName(String userPrincipalName)Returns an immutable copy ofthiswith just theuserPrincipalNamefield changed.ManagedDevicewithWiFiMacAddress(String wiFiMacAddress)Returns an immutable copy ofthiswith just thewiFiMacAddressfield changed.ManagedDevicewithWindowsProtectionState(WindowsProtectionState windowsProtectionState)Returns an immutable copy ofthiswith just thewindowsProtectionStatefield changed.
-
-
-
Field Detail
-
activationLockBypassCode
protected String activationLockBypassCode
-
androidSecurityPatchLevel
protected String androidSecurityPatchLevel
-
azureADDeviceId
protected String azureADDeviceId
-
azureADRegistered
protected Boolean azureADRegistered
-
complianceGracePeriodExpirationDateTime
protected OffsetDateTime complianceGracePeriodExpirationDateTime
-
complianceState
protected ComplianceState complianceState
-
configurationManagerClientEnabledFeatures
protected ConfigurationManagerClientEnabledFeatures configurationManagerClientEnabledFeatures
-
deviceActionResults
protected List<DeviceActionResult> deviceActionResults
-
deviceActionResultsNextLink
protected String deviceActionResultsNextLink
-
deviceCategoryDisplayName
protected String deviceCategoryDisplayName
-
deviceEnrollmentType
protected DeviceEnrollmentType deviceEnrollmentType
-
deviceHealthAttestationState
protected DeviceHealthAttestationState deviceHealthAttestationState
-
deviceName
protected String deviceName
-
deviceRegistrationState
protected DeviceRegistrationState deviceRegistrationState
-
easActivated
protected Boolean easActivated
-
easActivationDateTime
protected OffsetDateTime easActivationDateTime
-
easDeviceId
protected String easDeviceId
-
emailAddress
protected String emailAddress
-
enrolledDateTime
protected OffsetDateTime enrolledDateTime
-
ethernetMacAddress
protected String ethernetMacAddress
-
exchangeAccessState
protected DeviceManagementExchangeAccessState exchangeAccessState
-
exchangeAccessStateReason
protected DeviceManagementExchangeAccessStateReason exchangeAccessStateReason
-
exchangeLastSuccessfulSyncDateTime
protected OffsetDateTime exchangeLastSuccessfulSyncDateTime
-
freeStorageSpaceInBytes
protected Long freeStorageSpaceInBytes
-
iccid
protected String iccid
-
imei
protected String imei
-
isEncrypted
protected Boolean isEncrypted
-
isSupervised
protected Boolean isSupervised
-
jailBroken
protected String jailBroken
-
lastSyncDateTime
protected OffsetDateTime lastSyncDateTime
-
managedDeviceName
protected String managedDeviceName
-
managedDeviceOwnerType
protected ManagedDeviceOwnerType managedDeviceOwnerType
-
managementAgent
protected ManagementAgentType managementAgent
-
managementCertificateExpirationDate
protected OffsetDateTime managementCertificateExpirationDate
-
manufacturer
protected String manufacturer
-
meid
protected String meid
-
model
protected String model
-
notes
protected String notes
-
operatingSystem
protected String operatingSystem
-
osVersion
protected String osVersion
-
partnerReportedThreatState
protected ManagedDevicePartnerReportedHealthState partnerReportedThreatState
-
phoneNumber
protected String phoneNumber
-
physicalMemoryInBytes
protected Long physicalMemoryInBytes
-
remoteAssistanceSessionErrorDetails
protected String remoteAssistanceSessionErrorDetails
-
remoteAssistanceSessionUrl
protected String remoteAssistanceSessionUrl
-
requireUserEnrollmentApproval
protected Boolean requireUserEnrollmentApproval
-
serialNumber
protected String serialNumber
-
subscriberCarrier
protected String subscriberCarrier
-
totalStorageSpaceInBytes
protected Long totalStorageSpaceInBytes
-
udid
protected String udid
-
userDisplayName
protected String userDisplayName
-
userId
protected String userId
-
userPrincipalName
protected String userPrincipalName
-
wiFiMacAddress
protected String wiFiMacAddress
-
deviceCompliancePolicyStates
protected List<DeviceCompliancePolicyState> deviceCompliancePolicyStates
-
deviceConfigurationStates
protected List<DeviceConfigurationState> deviceConfigurationStates
-
deviceCategory
protected DeviceCategory deviceCategory
-
logCollectionRequests
protected List<DeviceLogCollectionResponse> logCollectionRequests
-
windowsProtectionState
protected WindowsProtectionState windowsProtectionState
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderManagedDevice
public static ManagedDevice.Builder builderManagedDevice()
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
-
getActivationLockBypassCode
public Optional<String> getActivationLockBypassCode()
“The code that allows the Activation Lock on managed device to be bypassed. Default, is Null (Non-Default property) for this property when returned as part of managedDevice entity in LIST call. To retrieve actual values GET call needs to be made, with device id and included in select parameter. Supports: $select. $Search is not supported. Read-only. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property activationLockBypassCode
-
withActivationLockBypassCode
public ManagedDevice withActivationLockBypassCode(String activationLockBypassCode)
Returns an immutable copy ofthiswith just theactivationLockBypassCodefield 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 code that allows the Activation Lock on managed device to be bypassed. Default, is Null (Non-Default property) for this property when returned as part of managedDevice entity in LIST call. To retrieve actual values GET call needs to be made, with device id and included in select parameter. Supports: $select. $Search is not supported. Read-only. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
activationLockBypassCode- new value ofactivationLockBypassCodefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theactivationLockBypassCodefield changed
-
getAndroidSecurityPatchLevel
public Optional<String> getAndroidSecurityPatchLevel()
“Android security patch level. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property androidSecurityPatchLevel
-
withAndroidSecurityPatchLevel
public ManagedDevice withAndroidSecurityPatchLevel(String androidSecurityPatchLevel)
Returns an immutable copy ofthiswith just theandroidSecurityPatchLevelfield 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.“Android security patch level. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
androidSecurityPatchLevel- new value ofandroidSecurityPatchLevelfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theandroidSecurityPatchLevelfield changed
-
getAzureADDeviceId
public Optional<String> getAzureADDeviceId()
“The unique identifier for the Azure Active Directory device. Read only. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property azureADDeviceId
-
withAzureADDeviceId
public ManagedDevice withAzureADDeviceId(String azureADDeviceId)
Returns an immutable copy ofthiswith just theazureADDeviceIdfield 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 unique identifier for the Azure Active Directory device. Read only. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
azureADDeviceId- new value ofazureADDeviceIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theazureADDeviceIdfield changed
-
getAzureADRegistered
public Optional<Boolean> getAzureADRegistered()
“Whether the device is Azure Active Directory registered. This property is read- only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property azureADRegistered
-
withAzureADRegistered
public ManagedDevice withAzureADRegistered(Boolean azureADRegistered)
Returns an immutable copy ofthiswith just theazureADRegisteredfield 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.“Whether the device is Azure Active Directory registered. This property is read- only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
azureADRegistered- new value ofazureADRegisteredfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theazureADRegisteredfield changed
-
getComplianceGracePeriodExpirationDateTime
public Optional<OffsetDateTime> getComplianceGracePeriodExpirationDateTime()
“The DateTime when device compliance grace period expires. This property is read- only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property complianceGracePeriodExpirationDateTime
-
withComplianceGracePeriodExpirationDateTime
public ManagedDevice withComplianceGracePeriodExpirationDateTime(OffsetDateTime complianceGracePeriodExpirationDateTime)
Returns an immutable copy ofthiswith just thecomplianceGracePeriodExpirationDateTimefield 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 DateTime when device compliance grace period expires. This property is read- only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
complianceGracePeriodExpirationDateTime- new value ofcomplianceGracePeriodExpirationDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecomplianceGracePeriodExpirationDateTimefield changed
-
getComplianceState
public Optional<ComplianceState> getComplianceState()
“Compliance state of the device. Examples: Compliant, Conflict, Error, etc. Default is unknown. Supports $filter operator 'eq' and 'or'. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property complianceState
-
withComplianceState
public ManagedDevice withComplianceState(ComplianceState complianceState)
Returns an immutable copy ofthiswith just thecomplianceStatefield 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.“Compliance state of the device. Examples: Compliant, Conflict, Error, etc. Default is unknown. Supports $filter operator 'eq' and 'or'. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
complianceState- new value ofcomplianceStatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecomplianceStatefield changed
-
getConfigurationManagerClientEnabledFeatures
public Optional<ConfigurationManagerClientEnabledFeatures> getConfigurationManagerClientEnabledFeatures()
“ConfigrMgr client enabled features. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property configurationManagerClientEnabledFeatures
-
withConfigurationManagerClientEnabledFeatures
public ManagedDevice withConfigurationManagerClientEnabledFeatures(ConfigurationManagerClientEnabledFeatures configurationManagerClientEnabledFeatures)
Returns an immutable copy ofthiswith just theconfigurationManagerClientEnabledFeaturesfield 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.“ConfigrMgr client enabled features. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
configurationManagerClientEnabledFeatures- new value ofconfigurationManagerClientEnabledFeaturesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theconfigurationManagerClientEnabledFeaturesfield changed
-
getDeviceActionResults
public com.github.davidmoten.odata.client.CollectionPage<DeviceActionResult> getDeviceActionResults()
“List of ComplexType deviceActionResult objects. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property deviceActionResults
-
withDeviceActionResults
public ManagedDevice withDeviceActionResults(List<DeviceActionResult> deviceActionResults)
Returns an immutable copy ofthiswith just thedeviceActionResultsfield 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.“List of ComplexType deviceActionResult objects. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
deviceActionResults- new value ofdeviceActionResultsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceActionResultsfield changed
-
getDeviceActionResults
public com.github.davidmoten.odata.client.CollectionPage<DeviceActionResult> getDeviceActionResults(com.github.davidmoten.odata.client.HttpRequestOptions options)
“List of ComplexType deviceActionResult objects. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
options- specify connect and read timeouts- Returns:
- property deviceActionResults
-
getDeviceCategoryDisplayName
public Optional<String> getDeviceCategoryDisplayName()
“Device category display name. Default is an empty string. Supports $filter operator 'eq' and 'or'. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property deviceCategoryDisplayName
-
withDeviceCategoryDisplayName
public ManagedDevice withDeviceCategoryDisplayName(String deviceCategoryDisplayName)
Returns an immutable copy ofthiswith just thedeviceCategoryDisplayNamefield 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.“Device category display name. Default is an empty string. Supports $filter operator 'eq' and 'or'. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
deviceCategoryDisplayName- new value ofdeviceCategoryDisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceCategoryDisplayNamefield changed
-
getDeviceEnrollmentType
public Optional<DeviceEnrollmentType> getDeviceEnrollmentType()
“Enrollment type of the device. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property deviceEnrollmentType
-
withDeviceEnrollmentType
public ManagedDevice withDeviceEnrollmentType(DeviceEnrollmentType deviceEnrollmentType)
Returns an immutable copy ofthiswith just thedeviceEnrollmentTypefield 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.“Enrollment type of the device. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
deviceEnrollmentType- new value ofdeviceEnrollmentTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceEnrollmentTypefield changed
-
getDeviceHealthAttestationState
public Optional<DeviceHealthAttestationState> getDeviceHealthAttestationState()
“The device health attestation state. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property deviceHealthAttestationState
-
withDeviceHealthAttestationState
public ManagedDevice withDeviceHealthAttestationState(DeviceHealthAttestationState deviceHealthAttestationState)
Returns an immutable copy ofthiswith just thedeviceHealthAttestationStatefield 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 device health attestation state. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
deviceHealthAttestationState- new value ofdeviceHealthAttestationStatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceHealthAttestationStatefield changed
-
getDeviceName
public Optional<String> getDeviceName()
“Name of the device. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property deviceName
-
withDeviceName
public ManagedDevice 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.“Name of the device. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
deviceName- new value ofdeviceNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceNamefield changed
-
getDeviceRegistrationState
public Optional<DeviceRegistrationState> getDeviceRegistrationState()
“Device registration state. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property deviceRegistrationState
-
withDeviceRegistrationState
public ManagedDevice withDeviceRegistrationState(DeviceRegistrationState deviceRegistrationState)
Returns an immutable copy ofthiswith just thedeviceRegistrationStatefield 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.“Device registration state. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
deviceRegistrationState- new value ofdeviceRegistrationStatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceRegistrationStatefield changed
-
getEasActivated
public Optional<Boolean> getEasActivated()
“Whether the device is Exchange ActiveSync activated. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property easActivated
-
withEasActivated
public ManagedDevice withEasActivated(Boolean easActivated)
Returns an immutable copy ofthiswith just theeasActivatedfield 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.“Whether the device is Exchange ActiveSync activated. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
easActivated- new value ofeasActivatedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theeasActivatedfield changed
-
getEasActivationDateTime
public Optional<OffsetDateTime> getEasActivationDateTime()
“Exchange ActivationSync activation time of the device. This property is read- only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property easActivationDateTime
-
withEasActivationDateTime
public ManagedDevice withEasActivationDateTime(OffsetDateTime easActivationDateTime)
Returns an immutable copy ofthiswith just theeasActivationDateTimefield 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.“Exchange ActivationSync activation time of the device. This property is read- only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
easActivationDateTime- new value ofeasActivationDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theeasActivationDateTimefield changed
-
getEasDeviceId
public Optional<String> getEasDeviceId()
“Exchange ActiveSync Id of the device. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property easDeviceId
-
withEasDeviceId
public ManagedDevice withEasDeviceId(String easDeviceId)
Returns an immutable copy ofthiswith just theeasDeviceIdfield 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.“Exchange ActiveSync Id of the device. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
easDeviceId- new value ofeasDeviceIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theeasDeviceIdfield changed
-
getEmailAddress
public Optional<String> getEmailAddress()
“Email(s) for the user associated with the device. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property emailAddress
-
withEmailAddress
public ManagedDevice withEmailAddress(String emailAddress)
Returns an immutable copy ofthiswith just theemailAddressfield 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.“Email(s) for the user associated with the device. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
emailAddress- new value ofemailAddressfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theemailAddressfield changed
-
getEnrolledDateTime
public Optional<OffsetDateTime> getEnrolledDateTime()
“Enrollment time of the device. Supports $filter operator 'lt' and 'gt'. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property enrolledDateTime
-
withEnrolledDateTime
public ManagedDevice withEnrolledDateTime(OffsetDateTime enrolledDateTime)
Returns an immutable copy ofthiswith just theenrolledDateTimefield 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.“Enrollment time of the device. Supports $filter operator 'lt' and 'gt'. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
enrolledDateTime- new value ofenrolledDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theenrolledDateTimefield changed
-
getEthernetMacAddress
public Optional<String> getEthernetMacAddress()
“Indicates Ethernet MAC Address of the device. Default, is Null (Non-Default property) for this property when returned as part of managedDevice entity. Individual get call with select query options is needed to retrieve actual values. Example: deviceManagement/managedDevices({managedDeviceId})?$select= ethernetMacAddress Supports: $select. $Search is not supported. Read-only. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property ethernetMacAddress
-
withEthernetMacAddress
public ManagedDevice withEthernetMacAddress(String ethernetMacAddress)
Returns an immutable copy ofthiswith just theethernetMacAddressfield 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.“Indicates Ethernet MAC Address of the device. Default, is Null (Non-Default property) for this property when returned as part of managedDevice entity. Individual get call with select query options is needed to retrieve actual values. Example: deviceManagement/managedDevices({managedDeviceId})?$select= ethernetMacAddress Supports: $select. $Search is not supported. Read-only. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
ethernetMacAddress- new value ofethernetMacAddressfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theethernetMacAddressfield changed
-
getExchangeAccessState
public Optional<DeviceManagementExchangeAccessState> getExchangeAccessState()
“The Access State of the device in Exchange. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property exchangeAccessState
-
withExchangeAccessState
public ManagedDevice withExchangeAccessState(DeviceManagementExchangeAccessState exchangeAccessState)
Returns an immutable copy ofthiswith just theexchangeAccessStatefield 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 Access State of the device in Exchange. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
exchangeAccessState- new value ofexchangeAccessStatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theexchangeAccessStatefield changed
-
getExchangeAccessStateReason
public Optional<DeviceManagementExchangeAccessStateReason> getExchangeAccessStateReason()
“The reason for the device's access state in Exchange. This property is read-only .”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property exchangeAccessStateReason
-
withExchangeAccessStateReason
public ManagedDevice withExchangeAccessStateReason(DeviceManagementExchangeAccessStateReason exchangeAccessStateReason)
Returns an immutable copy ofthiswith just theexchangeAccessStateReasonfield 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 reason for the device's access state in Exchange. This property is read-only .”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
exchangeAccessStateReason- new value ofexchangeAccessStateReasonfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theexchangeAccessStateReasonfield changed
-
getExchangeLastSuccessfulSyncDateTime
public Optional<OffsetDateTime> getExchangeLastSuccessfulSyncDateTime()
“Last time the device contacted Exchange. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property exchangeLastSuccessfulSyncDateTime
-
withExchangeLastSuccessfulSyncDateTime
public ManagedDevice withExchangeLastSuccessfulSyncDateTime(OffsetDateTime exchangeLastSuccessfulSyncDateTime)
Returns an immutable copy ofthiswith just theexchangeLastSuccessfulSyncDateTimefield 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 time the device contacted Exchange. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
exchangeLastSuccessfulSyncDateTime- new value ofexchangeLastSuccessfulSyncDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theexchangeLastSuccessfulSyncDateTimefield changed
-
getFreeStorageSpaceInBytes
public Optional<Long> getFreeStorageSpaceInBytes()
“Free Storage in Bytes. Default value is 0. Read-only. This property is read-only .”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property freeStorageSpaceInBytes
-
withFreeStorageSpaceInBytes
public ManagedDevice withFreeStorageSpaceInBytes(Long freeStorageSpaceInBytes)
Returns an immutable copy ofthiswith just thefreeStorageSpaceInBytesfield 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.“Free Storage in Bytes. Default value is 0. Read-only. This property is read-only .”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
freeStorageSpaceInBytes- new value offreeStorageSpaceInBytesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefreeStorageSpaceInBytesfield changed
-
getIccid
public Optional<String> getIccid()
“Integrated Circuit Card Identifier, it is A SIM card's unique identification number. Default is an empty string. To retrieve actual values GET call needs to be made, with device id and included in select parameter. Supports: $select. $ Search is not supported. Read-only. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property iccid
-
withIccid
public ManagedDevice withIccid(String iccid)
Returns an immutable copy ofthiswith just theiccidfield 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.“Integrated Circuit Card Identifier, it is A SIM card's unique identification number. Default is an empty string. To retrieve actual values GET call needs to be made, with device id and included in select parameter. Supports: $select. $ Search is not supported. Read-only. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
iccid- new value oficcidfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theiccidfield changed
-
getImei
public Optional<String> getImei()
“IMEI. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property imei
-
withImei
public ManagedDevice withImei(String imei)
Returns an immutable copy ofthiswith just theimeifield 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.“IMEI. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
imei- new value ofimeifield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theimeifield changed
-
getIsEncrypted
public Optional<Boolean> getIsEncrypted()
“Device encryption status. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property isEncrypted
-
withIsEncrypted
public ManagedDevice withIsEncrypted(Boolean isEncrypted)
Returns an immutable copy ofthiswith just theisEncryptedfield 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.“Device encryption status. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
isEncrypted- new value ofisEncryptedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theisEncryptedfield changed
-
getIsSupervised
public Optional<Boolean> getIsSupervised()
“Device supervised status. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property isSupervised
-
withIsSupervised
public ManagedDevice withIsSupervised(Boolean isSupervised)
Returns an immutable copy ofthiswith just theisSupervisedfield 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.“Device supervised status. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
isSupervised- new value ofisSupervisedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theisSupervisedfield changed
-
getJailBroken
public Optional<String> getJailBroken()
“Whether the device is jail broken or rooted. Default is an empty string. Supports $filter operator 'eq' and 'or'. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property jailBroken
-
withJailBroken
public ManagedDevice withJailBroken(String jailBroken)
Returns an immutable copy ofthiswith just thejailBrokenfield 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.“Whether the device is jail broken or rooted. Default is an empty string. Supports $filter operator 'eq' and 'or'. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
jailBroken- new value ofjailBrokenfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thejailBrokenfield changed
-
getLastSyncDateTime
public Optional<OffsetDateTime> getLastSyncDateTime()
“The date and time that the device last completed a successful sync with Intune. Supports $filter operator 'lt' and 'gt'. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property lastSyncDateTime
-
withLastSyncDateTime
public ManagedDevice withLastSyncDateTime(OffsetDateTime lastSyncDateTime)
Returns an immutable copy ofthiswith just thelastSyncDateTimefield 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 date and time that the device last completed a successful sync with Intune. Supports $filter operator 'lt' and 'gt'. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
lastSyncDateTime- new value oflastSyncDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastSyncDateTimefield changed
-
getManagedDeviceName
public Optional<String> getManagedDeviceName()
“Automatically generated name to identify a device. Can be overwritten to a user friendly name.”- Returns:
- property managedDeviceName
-
withManagedDeviceName
public ManagedDevice withManagedDeviceName(String managedDeviceName)
Returns an immutable copy ofthiswith just themanagedDeviceNamefield 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.“Automatically generated name to identify a device. Can be overwritten to a user friendly name.”
- Parameters:
managedDeviceName- new value ofmanagedDeviceNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themanagedDeviceNamefield changed
-
getManagedDeviceOwnerType
public Optional<ManagedDeviceOwnerType> getManagedDeviceOwnerType()
“Ownership of the device. Can be 'company' or 'personal'”- Returns:
- property managedDeviceOwnerType
-
withManagedDeviceOwnerType
public ManagedDevice withManagedDeviceOwnerType(ManagedDeviceOwnerType managedDeviceOwnerType)
Returns an immutable copy ofthiswith just themanagedDeviceOwnerTypefield 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.“Ownership of the device. Can be 'company' or 'personal'”
- Parameters:
managedDeviceOwnerType- new value ofmanagedDeviceOwnerTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themanagedDeviceOwnerTypefield changed
-
getManagementAgent
public Optional<ManagementAgentType> getManagementAgent()
“Management channel of the device. Examples: Intune, EAS, etc. Default is unknown . Supports $filter operator 'eq' and 'or'. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property managementAgent
-
withManagementAgent
public ManagedDevice withManagementAgent(ManagementAgentType managementAgent)
Returns an immutable copy ofthiswith just themanagementAgentfield 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.“Management channel of the device. Examples: Intune, EAS, etc. Default is unknown . Supports $filter operator 'eq' and 'or'. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
managementAgent- new value ofmanagementAgentfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themanagementAgentfield changed
-
getManagementCertificateExpirationDate
public Optional<OffsetDateTime> getManagementCertificateExpirationDate()
“Reports device management certificate expiration date. This property is read- only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property managementCertificateExpirationDate
-
withManagementCertificateExpirationDate
public ManagedDevice withManagementCertificateExpirationDate(OffsetDateTime managementCertificateExpirationDate)
Returns an immutable copy ofthiswith just themanagementCertificateExpirationDatefield 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.“Reports device management certificate expiration date. This property is read- only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
managementCertificateExpirationDate- new value ofmanagementCertificateExpirationDatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themanagementCertificateExpirationDatefield changed
-
getManufacturer
public Optional<String> getManufacturer()
“Manufacturer of the device. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property manufacturer
-
withManufacturer
public ManagedDevice withManufacturer(String manufacturer)
Returns an immutable copy ofthiswith just themanufacturerfield 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.“Manufacturer of the device. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
manufacturer- new value ofmanufacturerfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themanufacturerfield changed
-
getMeid
public Optional<String> getMeid()
“MEID. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property meid
-
withMeid
public ManagedDevice withMeid(String meid)
Returns an immutable copy ofthiswith just themeidfield 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.“MEID. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
meid- new value ofmeidfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themeidfield changed
-
getModel
public Optional<String> getModel()
“Model of the device. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property model
-
withModel
public ManagedDevice withModel(String model)
Returns an immutable copy ofthiswith just themodelfield 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.“Model of the device. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
model- new value ofmodelfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themodelfield changed
-
getNotes
public Optional<String> getNotes()
“Notes on the device created by IT Admin. Default is null. To retrieve actual values GET call needs to be made, with device id and included in select parameter. Supports: $select. $Search is not supported.”- Returns:
- property notes
-
withNotes
public ManagedDevice withNotes(String notes)
Returns an immutable copy ofthiswith just thenotesfield 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.“Notes on the device created by IT Admin. Default is null. To retrieve actual values GET call needs to be made, with device id and included in select parameter. Supports: $select. $Search is not supported.”
- Parameters:
notes- new value ofnotesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenotesfield changed
-
getOperatingSystem
public Optional<String> getOperatingSystem()
“Operating system of the device. Windows, iOS, etc. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property operatingSystem
-
withOperatingSystem
public ManagedDevice withOperatingSystem(String operatingSystem)
Returns an immutable copy ofthiswith just theoperatingSystemfield 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.“Operating system of the device. Windows, iOS, etc. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
operatingSystem- new value ofoperatingSystemfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theoperatingSystemfield changed
-
getOsVersion
public Optional<String> getOsVersion()
“Operating system version of the device. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property osVersion
-
withOsVersion
public ManagedDevice withOsVersion(String osVersion)
Returns an immutable copy ofthiswith just theosVersionfield 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.“Operating system version of the device. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
osVersion- new value ofosVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theosVersionfield changed
-
getPartnerReportedThreatState
public Optional<ManagedDevicePartnerReportedHealthState> getPartnerReportedThreatState()
“Indicates the threat state of a device when a Mobile Threat Defense partner is in use by the account and device. Read Only. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property partnerReportedThreatState
-
withPartnerReportedThreatState
public ManagedDevice withPartnerReportedThreatState(ManagedDevicePartnerReportedHealthState partnerReportedThreatState)
Returns an immutable copy ofthiswith just thepartnerReportedThreatStatefield 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.“Indicates the threat state of a device when a Mobile Threat Defense partner is in use by the account and device. Read Only. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
partnerReportedThreatState- new value ofpartnerReportedThreatStatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepartnerReportedThreatStatefield changed
-
getPhoneNumber
public Optional<String> getPhoneNumber()
“Phone number of the device. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property phoneNumber
-
withPhoneNumber
public ManagedDevice withPhoneNumber(String phoneNumber)
Returns an immutable copy ofthiswith just thephoneNumberfield 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.“Phone number of the device. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
phoneNumber- new value ofphoneNumberfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thephoneNumberfield changed
-
getPhysicalMemoryInBytes
public Optional<Long> getPhysicalMemoryInBytes()
“Total Memory in Bytes. Default is 0. To retrieve actual values GET call needs to be made, with device id and included in select parameter. Supports: $select. Read-only. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property physicalMemoryInBytes
-
withPhysicalMemoryInBytes
public ManagedDevice withPhysicalMemoryInBytes(Long physicalMemoryInBytes)
Returns an immutable copy ofthiswith just thephysicalMemoryInBytesfield 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.“Total Memory in Bytes. Default is 0. To retrieve actual values GET call needs to be made, with device id and included in select parameter. Supports: $select. Read-only. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
physicalMemoryInBytes- new value ofphysicalMemoryInBytesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thephysicalMemoryInBytesfield changed
-
getRemoteAssistanceSessionErrorDetails
public Optional<String> getRemoteAssistanceSessionErrorDetails()
“An error string that identifies issues when creating Remote Assistance session objects. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property remoteAssistanceSessionErrorDetails
-
withRemoteAssistanceSessionErrorDetails
public ManagedDevice withRemoteAssistanceSessionErrorDetails(String remoteAssistanceSessionErrorDetails)
Returns an immutable copy ofthiswith just theremoteAssistanceSessionErrorDetailsfield 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.“An error string that identifies issues when creating Remote Assistance session objects. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
remoteAssistanceSessionErrorDetails- new value ofremoteAssistanceSessionErrorDetailsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theremoteAssistanceSessionErrorDetailsfield changed
-
getRemoteAssistanceSessionUrl
public Optional<String> getRemoteAssistanceSessionUrl()
“Url that allows a Remote Assistance session to be established with the device. Default is an empty string. To retrieve actual values GET call needs to be made, with device id and included in select parameter. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property remoteAssistanceSessionUrl
-
withRemoteAssistanceSessionUrl
public ManagedDevice withRemoteAssistanceSessionUrl(String remoteAssistanceSessionUrl)
Returns an immutable copy ofthiswith just theremoteAssistanceSessionUrlfield 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.“Url that allows a Remote Assistance session to be established with the device. Default is an empty string. To retrieve actual values GET call needs to be made, with device id and included in select parameter. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
remoteAssistanceSessionUrl- new value ofremoteAssistanceSessionUrlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theremoteAssistanceSessionUrlfield changed
-
getRequireUserEnrollmentApproval
public Optional<Boolean> getRequireUserEnrollmentApproval()
“Reports if the managed iOS device is user approval enrollment. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property requireUserEnrollmentApproval
-
withRequireUserEnrollmentApproval
public ManagedDevice withRequireUserEnrollmentApproval(Boolean requireUserEnrollmentApproval)
Returns an immutable copy ofthiswith just therequireUserEnrollmentApprovalfield 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.“Reports if the managed iOS device is user approval enrollment. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
requireUserEnrollmentApproval- new value ofrequireUserEnrollmentApprovalfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therequireUserEnrollmentApprovalfield changed
-
getSerialNumber
public Optional<String> getSerialNumber()
“SerialNumber. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property serialNumber
-
withSerialNumber
public ManagedDevice withSerialNumber(String serialNumber)
Returns an immutable copy ofthiswith just theserialNumberfield 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.“SerialNumber. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
serialNumber- new value ofserialNumberfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theserialNumberfield changed
-
getSubscriberCarrier
public Optional<String> getSubscriberCarrier()
“Subscriber Carrier. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property subscriberCarrier
-
withSubscriberCarrier
public ManagedDevice withSubscriberCarrier(String subscriberCarrier)
Returns an immutable copy ofthiswith just thesubscriberCarrierfield 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.“Subscriber Carrier. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
subscriberCarrier- new value ofsubscriberCarrierfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesubscriberCarrierfield changed
-
getTotalStorageSpaceInBytes
public Optional<Long> getTotalStorageSpaceInBytes()
“Total Storage in Bytes. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property totalStorageSpaceInBytes
-
withTotalStorageSpaceInBytes
public ManagedDevice withTotalStorageSpaceInBytes(Long totalStorageSpaceInBytes)
Returns an immutable copy ofthiswith just thetotalStorageSpaceInBytesfield 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.“Total Storage in Bytes. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
totalStorageSpaceInBytes- new value oftotalStorageSpaceInBytesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetotalStorageSpaceInBytesfield changed
-
getUdid
public Optional<String> getUdid()
“Unique Device Identifier for iOS and macOS devices. Default is an empty string. To retrieve actual values GET call needs to be made, with device id and included in select parameter. Supports: $select. $Search is not supported. Read-only. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property udid
-
withUdid
public ManagedDevice withUdid(String udid)
Returns an immutable copy ofthiswith just theudidfield 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.“Unique Device Identifier for iOS and macOS devices. Default is an empty string. To retrieve actual values GET call needs to be made, with device id and included in select parameter. Supports: $select. $Search is not supported. Read-only. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
udid- new value ofudidfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theudidfield changed
-
getUserDisplayName
public Optional<String> getUserDisplayName()
“User display name. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property userDisplayName
-
withUserDisplayName
public ManagedDevice 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.“User display name. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
userDisplayName- new value ofuserDisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserDisplayNamefield changed
-
getUserId
public Optional<String> getUserId()
“Unique Identifier for the user associated with the device. This property is read -only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property userId
-
withUserId
public ManagedDevice 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.“Unique Identifier for the user associated with the device. This property is read -only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
userId- new value ofuserIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserIdfield changed
-
getUserPrincipalName
public Optional<String> getUserPrincipalName()
“Device user principal name. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property userPrincipalName
-
withUserPrincipalName
public ManagedDevice 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.“Device user principal name. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
userPrincipalName- new value ofuserPrincipalNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserPrincipalNamefield changed
-
getWiFiMacAddress
public Optional<String> getWiFiMacAddress()
“Wi-Fi MAC. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property wiFiMacAddress
-
withWiFiMacAddress
public ManagedDevice withWiFiMacAddress(String wiFiMacAddress)
Returns an immutable copy ofthiswith just thewiFiMacAddressfield 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.“Wi-Fi MAC. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
wiFiMacAddress- new value ofwiFiMacAddressfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thewiFiMacAddressfield changed
-
withUnmappedField
public ManagedDevice withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getDeviceCompliancePolicyStates
public DeviceCompliancePolicyStateCollectionRequest getDeviceCompliancePolicyStates()
“Device compliance policy states for this device.”- Returns:
- navigational property deviceCompliancePolicyStates
-
getDeviceConfigurationStates
public DeviceConfigurationStateCollectionRequest getDeviceConfigurationStates()
“Device configuration states for this device.”- Returns:
- navigational property deviceConfigurationStates
-
getDeviceCategory
public DeviceCategoryRequest getDeviceCategory()
“Device category”- Returns:
- navigational property deviceCategory
-
getLogCollectionRequests
public DeviceLogCollectionResponseCollectionRequest getLogCollectionRequests()
“List of log collection requests”- Returns:
- navigational property logCollectionRequests
-
getUsers
public UserCollectionRequest getUsers()
“The primary users associated with the managed device.”- Returns:
- navigational property users
-
getWindowsProtectionState
public WindowsProtectionStateRequest getWindowsProtectionState()
“The device protection status. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- navigational property windowsProtectionState
-
withDeviceCompliancePolicyStates
public ManagedDevice withDeviceCompliancePolicyStates(List<DeviceCompliancePolicyState> deviceCompliancePolicyStates)
Returns an immutable copy ofthiswith just thedeviceCompliancePolicyStatesfield 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.“Device compliance policy states for this device.”
- Parameters:
deviceCompliancePolicyStates- new value ofdeviceCompliancePolicyStatesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceCompliancePolicyStatesfield changed
-
withDeviceConfigurationStates
public ManagedDevice withDeviceConfigurationStates(List<DeviceConfigurationState> deviceConfigurationStates)
Returns an immutable copy ofthiswith just thedeviceConfigurationStatesfield 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.“Device configuration states for this device.”
- Parameters:
deviceConfigurationStates- new value ofdeviceConfigurationStatesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceConfigurationStatesfield changed
-
withDeviceCategory
public ManagedDevice withDeviceCategory(DeviceCategory deviceCategory)
Returns an immutable copy ofthiswith just thedeviceCategoryfield 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.“Device category”
- Parameters:
deviceCategory- new value ofdeviceCategoryfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceCategoryfield changed
-
withLogCollectionRequests
public ManagedDevice withLogCollectionRequests(List<DeviceLogCollectionResponse> logCollectionRequests)
Returns an immutable copy ofthiswith just thelogCollectionRequestsfield 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.“List of log collection requests”
- Parameters:
logCollectionRequests- new value oflogCollectionRequestsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelogCollectionRequestsfield changed
-
withWindowsProtectionState
public ManagedDevice withWindowsProtectionState(WindowsProtectionState windowsProtectionState)
Returns an immutable copy ofthiswith just thewindowsProtectionStatefield 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 device protection status. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
windowsProtectionState- new value ofwindowsProtectionStatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thewindowsProtectionStatefield changed
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public ManagedDevice patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public ManagedDevice put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
bypassActivationLock
public com.github.davidmoten.odata.client.ActionRequestNoReturn bypassActivationLock()
-
cleanWindowsDevice
public com.github.davidmoten.odata.client.ActionRequestNoReturn cleanWindowsDevice(Boolean keepUserData)
-
deleteUserFromSharedAppleDevice
public com.github.davidmoten.odata.client.ActionRequestNoReturn deleteUserFromSharedAppleDevice(String userPrincipalName)
-
disableLostMode
public com.github.davidmoten.odata.client.ActionRequestNoReturn disableLostMode()
-
locateDevice
public com.github.davidmoten.odata.client.ActionRequestNoReturn locateDevice()
-
logoutSharedAppleDeviceActiveUser
public com.github.davidmoten.odata.client.ActionRequestNoReturn logoutSharedAppleDeviceActiveUser()
-
rebootNow
public com.github.davidmoten.odata.client.ActionRequestNoReturn rebootNow()
-
recoverPasscode
public com.github.davidmoten.odata.client.ActionRequestNoReturn recoverPasscode()
-
remoteLock
public com.github.davidmoten.odata.client.ActionRequestNoReturn remoteLock()
-
requestRemoteAssistance
public com.github.davidmoten.odata.client.ActionRequestNoReturn requestRemoteAssistance()
-
resetPasscode
public com.github.davidmoten.odata.client.ActionRequestNoReturn resetPasscode()
-
retire
public com.github.davidmoten.odata.client.ActionRequestNoReturn retire()
-
shutDown
public com.github.davidmoten.odata.client.ActionRequestNoReturn shutDown()
-
syncDevice
public com.github.davidmoten.odata.client.ActionRequestNoReturn syncDevice()
-
updateWindowsDeviceAccount
public com.github.davidmoten.odata.client.ActionRequestNoReturn updateWindowsDeviceAccount(UpdateWindowsDeviceAccountActionParameter updateWindowsDeviceAccountActionParameter)
-
windowsDefenderScan
public com.github.davidmoten.odata.client.ActionRequestNoReturn windowsDefenderScan(Boolean quickScan)
-
windowsDefenderUpdateSignatures
public com.github.davidmoten.odata.client.ActionRequestNoReturn windowsDefenderUpdateSignatures()
-
wipe
public com.github.davidmoten.odata.client.ActionRequestNoReturn wipe(Boolean keepEnrollmentData, Boolean keepUserData, String macOsUnlockCode, Boolean persistEsimDataPlan)
-
-