Class MicrosoftGraphManagedDevice
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphManagedDevice
-
public final class MicrosoftGraphManagedDevice extends MicrosoftGraphEntity
Devices that are managed or pre-enrolled through Intune.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphManagedDevice()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
activationLockBypassCode()
Get the activationLockBypassCode property: Code that allows the Activation Lock on a device to be bypassed.Map<String,Object>
additionalProperties()
Get the additionalProperties property: Devices that are managed or pre-enrolled through Intune.String
androidSecurityPatchLevel()
Get the androidSecurityPatchLevel property: Android security patch level.String
azureADDeviceId()
Get the azureADDeviceId property: The unique identifier for the Azure Active Directory device.Boolean
azureADRegistered()
Get the azureADRegistered property: Whether the device is Azure Active Directory registered.OffsetDateTime
complianceGracePeriodExpirationDateTime()
Get the complianceGracePeriodExpirationDateTime property: The DateTime when device compliance grace period expires.MicrosoftGraphComplianceState
complianceState()
Get the complianceState property: The complianceState property.MicrosoftGraphConfigurationManagerClientEnabledFeatures
configurationManagerClientEnabledFeatures()
Get the configurationManagerClientEnabledFeatures property: configuration Manager client enabled features.List<MicrosoftGraphDeviceActionResult>
deviceActionResults()
Get the deviceActionResults property: List of ComplexType deviceActionResult objects.MicrosoftGraphDeviceCategory
deviceCategory()
Get the deviceCategory property: Device categories provides a way to organize your devices.String
deviceCategoryDisplayName()
Get the deviceCategoryDisplayName property: Device category display name.List<MicrosoftGraphDeviceCompliancePolicyState>
deviceCompliancePolicyStates()
Get the deviceCompliancePolicyStates property: Device compliance policy states for this device.List<MicrosoftGraphDeviceConfigurationState>
deviceConfigurationStates()
Get the deviceConfigurationStates property: Device configuration states for this device.MicrosoftGraphDeviceEnrollmentType
deviceEnrollmentType()
Get the deviceEnrollmentType property: The deviceEnrollmentType property.MicrosoftGraphDeviceHealthAttestationState
deviceHealthAttestationState()
Get the deviceHealthAttestationState property: deviceHealthAttestationState.String
deviceName()
Get the deviceName property: Name of the device.MicrosoftGraphDeviceRegistrationState
deviceRegistrationState()
Get the deviceRegistrationState property: The deviceRegistrationState property.Boolean
easActivated()
Get the easActivated property: Whether the device is Exchange ActiveSync activated.OffsetDateTime
easActivationDateTime()
Get the easActivationDateTime property: Exchange ActivationSync activation time of the device.String
easDeviceId()
Get the easDeviceId property: Exchange ActiveSync Id of the device.String
emailAddress()
Get the emailAddress property: Email(s) for the user associated with the device.OffsetDateTime
enrolledDateTime()
Get the enrolledDateTime property: Enrollment time of the device.MicrosoftGraphDeviceManagementExchangeAccessState
exchangeAccessState()
Get the exchangeAccessState property: The exchangeAccessState property.MicrosoftGraphDeviceManagementExchangeAccessStateReason
exchangeAccessStateReason()
Get the exchangeAccessStateReason property: The exchangeAccessStateReason property.OffsetDateTime
exchangeLastSuccessfulSyncDateTime()
Get the exchangeLastSuccessfulSyncDateTime property: Last time the device contacted Exchange.Long
freeStorageSpaceInBytes()
Get the freeStorageSpaceInBytes property: Free Storage in Bytes.String
imei()
Get the imei property: IMEI.Boolean
isEncrypted()
Get the isEncrypted property: Device encryption status.Boolean
isSupervised()
Get the isSupervised property: Device supervised status.String
jailBroken()
Get the jailBroken property: whether the device is jail broken or rooted.OffsetDateTime
lastSyncDateTime()
Get the lastSyncDateTime property: The date and time that the device last completed a successful sync with Intune.String
managedDeviceName()
Get the managedDeviceName property: Automatically generated name to identify a device.MicrosoftGraphManagedDeviceOwnerType
managedDeviceOwnerType()
Get the managedDeviceOwnerType property: The managedDeviceOwnerType property.MicrosoftGraphManagementAgentType
managementAgent()
Get the managementAgent property: The managementAgent property.String
manufacturer()
Get the manufacturer property: Manufacturer of the device.String
meid()
Get the meid property: MEID.String
model()
Get the model property: Model of the device.String
operatingSystem()
Get the operatingSystem property: Operating system of the device.String
osVersion()
Get the osVersion property: Operating system version of the device.MicrosoftGraphManagedDevicePartnerReportedHealthState
partnerReportedThreatState()
Get the partnerReportedThreatState property: The partnerReportedThreatState property.String
phoneNumber()
Get the phoneNumber property: Phone number of the device.String
remoteAssistanceSessionErrorDetails()
Get the remoteAssistanceSessionErrorDetails property: An error string that identifies issues when creating Remote Assistance session objects.String
remoteAssistanceSessionUrl()
Get the remoteAssistanceSessionUrl property: Url that allows a Remote Assistance session to be established with the device.String
serialNumber()
Get the serialNumber property: SerialNumber.String
subscriberCarrier()
Get the subscriberCarrier property: Subscriber Carrier.Long
totalStorageSpaceInBytes()
Get the totalStorageSpaceInBytes property: Total Storage in Bytes.String
userDisplayName()
Get the userDisplayName property: User display name.String
userId()
Get the userId property: Unique Identifier for the user associated with the device.String
userPrincipalName()
Get the userPrincipalName property: Device user principal name.void
validate()
Validates the instance.String
wiFiMacAddress()
Get the wiFiMacAddress property: Wi-Fi MAC.MicrosoftGraphManagedDevice
withActivationLockBypassCode(String activationLockBypassCode)
Set the activationLockBypassCode property: Code that allows the Activation Lock on a device to be bypassed.MicrosoftGraphManagedDevice
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Devices that are managed or pre-enrolled through Intune.MicrosoftGraphManagedDevice
withAndroidSecurityPatchLevel(String androidSecurityPatchLevel)
Set the androidSecurityPatchLevel property: Android security patch level.MicrosoftGraphManagedDevice
withAzureADDeviceId(String azureADDeviceId)
Set the azureADDeviceId property: The unique identifier for the Azure Active Directory device.MicrosoftGraphManagedDevice
withAzureADRegistered(Boolean azureADRegistered)
Set the azureADRegistered property: Whether the device is Azure Active Directory registered.MicrosoftGraphManagedDevice
withComplianceGracePeriodExpirationDateTime(OffsetDateTime complianceGracePeriodExpirationDateTime)
Set the complianceGracePeriodExpirationDateTime property: The DateTime when device compliance grace period expires.MicrosoftGraphManagedDevice
withComplianceState(MicrosoftGraphComplianceState complianceState)
Set the complianceState property: The complianceState property.MicrosoftGraphManagedDevice
withConfigurationManagerClientEnabledFeatures(MicrosoftGraphConfigurationManagerClientEnabledFeatures configurationManagerClientEnabledFeatures)
Set the configurationManagerClientEnabledFeatures property: configuration Manager client enabled features.MicrosoftGraphManagedDevice
withDeviceActionResults(List<MicrosoftGraphDeviceActionResult> deviceActionResults)
Set the deviceActionResults property: List of ComplexType deviceActionResult objects.MicrosoftGraphManagedDevice
withDeviceCategory(MicrosoftGraphDeviceCategory deviceCategory)
Set the deviceCategory property: Device categories provides a way to organize your devices.MicrosoftGraphManagedDevice
withDeviceCategoryDisplayName(String deviceCategoryDisplayName)
Set the deviceCategoryDisplayName property: Device category display name.MicrosoftGraphManagedDevice
withDeviceCompliancePolicyStates(List<MicrosoftGraphDeviceCompliancePolicyState> deviceCompliancePolicyStates)
Set the deviceCompliancePolicyStates property: Device compliance policy states for this device.MicrosoftGraphManagedDevice
withDeviceConfigurationStates(List<MicrosoftGraphDeviceConfigurationState> deviceConfigurationStates)
Set the deviceConfigurationStates property: Device configuration states for this device.MicrosoftGraphManagedDevice
withDeviceEnrollmentType(MicrosoftGraphDeviceEnrollmentType deviceEnrollmentType)
Set the deviceEnrollmentType property: The deviceEnrollmentType property.MicrosoftGraphManagedDevice
withDeviceHealthAttestationState(MicrosoftGraphDeviceHealthAttestationState deviceHealthAttestationState)
Set the deviceHealthAttestationState property: deviceHealthAttestationState.MicrosoftGraphManagedDevice
withDeviceName(String deviceName)
Set the deviceName property: Name of the device.MicrosoftGraphManagedDevice
withDeviceRegistrationState(MicrosoftGraphDeviceRegistrationState deviceRegistrationState)
Set the deviceRegistrationState property: The deviceRegistrationState property.MicrosoftGraphManagedDevice
withEasActivated(Boolean easActivated)
Set the easActivated property: Whether the device is Exchange ActiveSync activated.MicrosoftGraphManagedDevice
withEasActivationDateTime(OffsetDateTime easActivationDateTime)
Set the easActivationDateTime property: Exchange ActivationSync activation time of the device.MicrosoftGraphManagedDevice
withEasDeviceId(String easDeviceId)
Set the easDeviceId property: Exchange ActiveSync Id of the device.MicrosoftGraphManagedDevice
withEmailAddress(String emailAddress)
Set the emailAddress property: Email(s) for the user associated with the device.MicrosoftGraphManagedDevice
withEnrolledDateTime(OffsetDateTime enrolledDateTime)
Set the enrolledDateTime property: Enrollment time of the device.MicrosoftGraphManagedDevice
withExchangeAccessState(MicrosoftGraphDeviceManagementExchangeAccessState exchangeAccessState)
Set the exchangeAccessState property: The exchangeAccessState property.MicrosoftGraphManagedDevice
withExchangeAccessStateReason(MicrosoftGraphDeviceManagementExchangeAccessStateReason exchangeAccessStateReason)
Set the exchangeAccessStateReason property: The exchangeAccessStateReason property.MicrosoftGraphManagedDevice
withExchangeLastSuccessfulSyncDateTime(OffsetDateTime exchangeLastSuccessfulSyncDateTime)
Set the exchangeLastSuccessfulSyncDateTime property: Last time the device contacted Exchange.MicrosoftGraphManagedDevice
withFreeStorageSpaceInBytes(Long freeStorageSpaceInBytes)
Set the freeStorageSpaceInBytes property: Free Storage in Bytes.MicrosoftGraphManagedDevice
withId(String id)
Set the id property: Read-only.MicrosoftGraphManagedDevice
withImei(String imei)
Set the imei property: IMEI.MicrosoftGraphManagedDevice
withIsEncrypted(Boolean isEncrypted)
Set the isEncrypted property: Device encryption status.MicrosoftGraphManagedDevice
withIsSupervised(Boolean isSupervised)
Set the isSupervised property: Device supervised status.MicrosoftGraphManagedDevice
withJailBroken(String jailBroken)
Set the jailBroken property: whether the device is jail broken or rooted.MicrosoftGraphManagedDevice
withLastSyncDateTime(OffsetDateTime lastSyncDateTime)
Set the lastSyncDateTime property: The date and time that the device last completed a successful sync with Intune.MicrosoftGraphManagedDevice
withManagedDeviceName(String managedDeviceName)
Set the managedDeviceName property: Automatically generated name to identify a device.MicrosoftGraphManagedDevice
withManagedDeviceOwnerType(MicrosoftGraphManagedDeviceOwnerType managedDeviceOwnerType)
Set the managedDeviceOwnerType property: The managedDeviceOwnerType property.MicrosoftGraphManagedDevice
withManagementAgent(MicrosoftGraphManagementAgentType managementAgent)
Set the managementAgent property: The managementAgent property.MicrosoftGraphManagedDevice
withManufacturer(String manufacturer)
Set the manufacturer property: Manufacturer of the device.MicrosoftGraphManagedDevice
withMeid(String meid)
Set the meid property: MEID.MicrosoftGraphManagedDevice
withModel(String model)
Set the model property: Model of the device.MicrosoftGraphManagedDevice
withOperatingSystem(String operatingSystem)
Set the operatingSystem property: Operating system of the device.MicrosoftGraphManagedDevice
withOsVersion(String osVersion)
Set the osVersion property: Operating system version of the device.MicrosoftGraphManagedDevice
withPartnerReportedThreatState(MicrosoftGraphManagedDevicePartnerReportedHealthState partnerReportedThreatState)
Set the partnerReportedThreatState property: The partnerReportedThreatState property.MicrosoftGraphManagedDevice
withPhoneNumber(String phoneNumber)
Set the phoneNumber property: Phone number of the device.MicrosoftGraphManagedDevice
withRemoteAssistanceSessionErrorDetails(String remoteAssistanceSessionErrorDetails)
Set the remoteAssistanceSessionErrorDetails property: An error string that identifies issues when creating Remote Assistance session objects.MicrosoftGraphManagedDevice
withRemoteAssistanceSessionUrl(String remoteAssistanceSessionUrl)
Set the remoteAssistanceSessionUrl property: Url that allows a Remote Assistance session to be established with the device.MicrosoftGraphManagedDevice
withSerialNumber(String serialNumber)
Set the serialNumber property: SerialNumber.MicrosoftGraphManagedDevice
withSubscriberCarrier(String subscriberCarrier)
Set the subscriberCarrier property: Subscriber Carrier.MicrosoftGraphManagedDevice
withTotalStorageSpaceInBytes(Long totalStorageSpaceInBytes)
Set the totalStorageSpaceInBytes property: Total Storage in Bytes.MicrosoftGraphManagedDevice
withUserDisplayName(String userDisplayName)
Set the userDisplayName property: User display name.MicrosoftGraphManagedDevice
withUserId(String userId)
Set the userId property: Unique Identifier for the user associated with the device.MicrosoftGraphManagedDevice
withUserPrincipalName(String userPrincipalName)
Set the userPrincipalName property: Device user principal name.MicrosoftGraphManagedDevice
withWiFiMacAddress(String wiFiMacAddress)
Set the wiFiMacAddress property: Wi-Fi MAC.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
activationLockBypassCode
public String activationLockBypassCode()
Get the activationLockBypassCode property: Code that allows the Activation Lock on a device to be bypassed.- Returns:
- the activationLockBypassCode value.
-
withActivationLockBypassCode
public MicrosoftGraphManagedDevice withActivationLockBypassCode(String activationLockBypassCode)
Set the activationLockBypassCode property: Code that allows the Activation Lock on a device to be bypassed.- Parameters:
activationLockBypassCode
- the activationLockBypassCode value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
androidSecurityPatchLevel
public String androidSecurityPatchLevel()
Get the androidSecurityPatchLevel property: Android security patch level.- Returns:
- the androidSecurityPatchLevel value.
-
withAndroidSecurityPatchLevel
public MicrosoftGraphManagedDevice withAndroidSecurityPatchLevel(String androidSecurityPatchLevel)
Set the androidSecurityPatchLevel property: Android security patch level.- Parameters:
androidSecurityPatchLevel
- the androidSecurityPatchLevel value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
azureADDeviceId
public String azureADDeviceId()
Get the azureADDeviceId property: The unique identifier for the Azure Active Directory device. Read only.- Returns:
- the azureADDeviceId value.
-
withAzureADDeviceId
public MicrosoftGraphManagedDevice withAzureADDeviceId(String azureADDeviceId)
Set the azureADDeviceId property: The unique identifier for the Azure Active Directory device. Read only.- Parameters:
azureADDeviceId
- the azureADDeviceId value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
azureADRegistered
public Boolean azureADRegistered()
Get the azureADRegistered property: Whether the device is Azure Active Directory registered.- Returns:
- the azureADRegistered value.
-
withAzureADRegistered
public MicrosoftGraphManagedDevice withAzureADRegistered(Boolean azureADRegistered)
Set the azureADRegistered property: Whether the device is Azure Active Directory registered.- Parameters:
azureADRegistered
- the azureADRegistered value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
complianceGracePeriodExpirationDateTime
public OffsetDateTime complianceGracePeriodExpirationDateTime()
Get the complianceGracePeriodExpirationDateTime property: The DateTime when device compliance grace period expires.- Returns:
- the complianceGracePeriodExpirationDateTime value.
-
withComplianceGracePeriodExpirationDateTime
public MicrosoftGraphManagedDevice withComplianceGracePeriodExpirationDateTime(OffsetDateTime complianceGracePeriodExpirationDateTime)
Set the complianceGracePeriodExpirationDateTime property: The DateTime when device compliance grace period expires.- Parameters:
complianceGracePeriodExpirationDateTime
- the complianceGracePeriodExpirationDateTime value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
complianceState
public MicrosoftGraphComplianceState complianceState()
Get the complianceState property: The complianceState property.- Returns:
- the complianceState value.
-
withComplianceState
public MicrosoftGraphManagedDevice withComplianceState(MicrosoftGraphComplianceState complianceState)
Set the complianceState property: The complianceState property.- Parameters:
complianceState
- the complianceState value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
configurationManagerClientEnabledFeatures
public MicrosoftGraphConfigurationManagerClientEnabledFeatures configurationManagerClientEnabledFeatures()
Get the configurationManagerClientEnabledFeatures property: configuration Manager client enabled features.- Returns:
- the configurationManagerClientEnabledFeatures value.
-
withConfigurationManagerClientEnabledFeatures
public MicrosoftGraphManagedDevice withConfigurationManagerClientEnabledFeatures(MicrosoftGraphConfigurationManagerClientEnabledFeatures configurationManagerClientEnabledFeatures)
Set the configurationManagerClientEnabledFeatures property: configuration Manager client enabled features.- Parameters:
configurationManagerClientEnabledFeatures
- the configurationManagerClientEnabledFeatures value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
deviceActionResults
public List<MicrosoftGraphDeviceActionResult> deviceActionResults()
Get the deviceActionResults property: List of ComplexType deviceActionResult objects.- Returns:
- the deviceActionResults value.
-
withDeviceActionResults
public MicrosoftGraphManagedDevice withDeviceActionResults(List<MicrosoftGraphDeviceActionResult> deviceActionResults)
Set the deviceActionResults property: List of ComplexType deviceActionResult objects.- Parameters:
deviceActionResults
- the deviceActionResults value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
deviceCategoryDisplayName
public String deviceCategoryDisplayName()
Get the deviceCategoryDisplayName property: Device category display name.- Returns:
- the deviceCategoryDisplayName value.
-
withDeviceCategoryDisplayName
public MicrosoftGraphManagedDevice withDeviceCategoryDisplayName(String deviceCategoryDisplayName)
Set the deviceCategoryDisplayName property: Device category display name.- Parameters:
deviceCategoryDisplayName
- the deviceCategoryDisplayName value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
deviceEnrollmentType
public MicrosoftGraphDeviceEnrollmentType deviceEnrollmentType()
Get the deviceEnrollmentType property: The deviceEnrollmentType property.- Returns:
- the deviceEnrollmentType value.
-
withDeviceEnrollmentType
public MicrosoftGraphManagedDevice withDeviceEnrollmentType(MicrosoftGraphDeviceEnrollmentType deviceEnrollmentType)
Set the deviceEnrollmentType property: The deviceEnrollmentType property.- Parameters:
deviceEnrollmentType
- the deviceEnrollmentType value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
deviceHealthAttestationState
public MicrosoftGraphDeviceHealthAttestationState deviceHealthAttestationState()
Get the deviceHealthAttestationState property: deviceHealthAttestationState.- Returns:
- the deviceHealthAttestationState value.
-
withDeviceHealthAttestationState
public MicrosoftGraphManagedDevice withDeviceHealthAttestationState(MicrosoftGraphDeviceHealthAttestationState deviceHealthAttestationState)
Set the deviceHealthAttestationState property: deviceHealthAttestationState.- Parameters:
deviceHealthAttestationState
- the deviceHealthAttestationState value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
deviceName
public String deviceName()
Get the deviceName property: Name of the device.- Returns:
- the deviceName value.
-
withDeviceName
public MicrosoftGraphManagedDevice withDeviceName(String deviceName)
Set the deviceName property: Name of the device.- Parameters:
deviceName
- the deviceName value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
deviceRegistrationState
public MicrosoftGraphDeviceRegistrationState deviceRegistrationState()
Get the deviceRegistrationState property: The deviceRegistrationState property.- Returns:
- the deviceRegistrationState value.
-
withDeviceRegistrationState
public MicrosoftGraphManagedDevice withDeviceRegistrationState(MicrosoftGraphDeviceRegistrationState deviceRegistrationState)
Set the deviceRegistrationState property: The deviceRegistrationState property.- Parameters:
deviceRegistrationState
- the deviceRegistrationState value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
easActivated
public Boolean easActivated()
Get the easActivated property: Whether the device is Exchange ActiveSync activated.- Returns:
- the easActivated value.
-
withEasActivated
public MicrosoftGraphManagedDevice withEasActivated(Boolean easActivated)
Set the easActivated property: Whether the device is Exchange ActiveSync activated.- Parameters:
easActivated
- the easActivated value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
easActivationDateTime
public OffsetDateTime easActivationDateTime()
Get the easActivationDateTime property: Exchange ActivationSync activation time of the device.- Returns:
- the easActivationDateTime value.
-
withEasActivationDateTime
public MicrosoftGraphManagedDevice withEasActivationDateTime(OffsetDateTime easActivationDateTime)
Set the easActivationDateTime property: Exchange ActivationSync activation time of the device.- Parameters:
easActivationDateTime
- the easActivationDateTime value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
easDeviceId
public String easDeviceId()
Get the easDeviceId property: Exchange ActiveSync Id of the device.- Returns:
- the easDeviceId value.
-
withEasDeviceId
public MicrosoftGraphManagedDevice withEasDeviceId(String easDeviceId)
Set the easDeviceId property: Exchange ActiveSync Id of the device.- Parameters:
easDeviceId
- the easDeviceId value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
emailAddress
public String emailAddress()
Get the emailAddress property: Email(s) for the user associated with the device.- Returns:
- the emailAddress value.
-
withEmailAddress
public MicrosoftGraphManagedDevice withEmailAddress(String emailAddress)
Set the emailAddress property: Email(s) for the user associated with the device.- Parameters:
emailAddress
- the emailAddress value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
enrolledDateTime
public OffsetDateTime enrolledDateTime()
Get the enrolledDateTime property: Enrollment time of the device.- Returns:
- the enrolledDateTime value.
-
withEnrolledDateTime
public MicrosoftGraphManagedDevice withEnrolledDateTime(OffsetDateTime enrolledDateTime)
Set the enrolledDateTime property: Enrollment time of the device.- Parameters:
enrolledDateTime
- the enrolledDateTime value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
exchangeAccessState
public MicrosoftGraphDeviceManagementExchangeAccessState exchangeAccessState()
Get the exchangeAccessState property: The exchangeAccessState property.- Returns:
- the exchangeAccessState value.
-
withExchangeAccessState
public MicrosoftGraphManagedDevice withExchangeAccessState(MicrosoftGraphDeviceManagementExchangeAccessState exchangeAccessState)
Set the exchangeAccessState property: The exchangeAccessState property.- Parameters:
exchangeAccessState
- the exchangeAccessState value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
exchangeAccessStateReason
public MicrosoftGraphDeviceManagementExchangeAccessStateReason exchangeAccessStateReason()
Get the exchangeAccessStateReason property: The exchangeAccessStateReason property.- Returns:
- the exchangeAccessStateReason value.
-
withExchangeAccessStateReason
public MicrosoftGraphManagedDevice withExchangeAccessStateReason(MicrosoftGraphDeviceManagementExchangeAccessStateReason exchangeAccessStateReason)
Set the exchangeAccessStateReason property: The exchangeAccessStateReason property.- Parameters:
exchangeAccessStateReason
- the exchangeAccessStateReason value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
exchangeLastSuccessfulSyncDateTime
public OffsetDateTime exchangeLastSuccessfulSyncDateTime()
Get the exchangeLastSuccessfulSyncDateTime property: Last time the device contacted Exchange.- Returns:
- the exchangeLastSuccessfulSyncDateTime value.
-
withExchangeLastSuccessfulSyncDateTime
public MicrosoftGraphManagedDevice withExchangeLastSuccessfulSyncDateTime(OffsetDateTime exchangeLastSuccessfulSyncDateTime)
Set the exchangeLastSuccessfulSyncDateTime property: Last time the device contacted Exchange.- Parameters:
exchangeLastSuccessfulSyncDateTime
- the exchangeLastSuccessfulSyncDateTime value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
freeStorageSpaceInBytes
public Long freeStorageSpaceInBytes()
Get the freeStorageSpaceInBytes property: Free Storage in Bytes.- Returns:
- the freeStorageSpaceInBytes value.
-
withFreeStorageSpaceInBytes
public MicrosoftGraphManagedDevice withFreeStorageSpaceInBytes(Long freeStorageSpaceInBytes)
Set the freeStorageSpaceInBytes property: Free Storage in Bytes.- Parameters:
freeStorageSpaceInBytes
- the freeStorageSpaceInBytes value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
imei
public String imei()
Get the imei property: IMEI.- Returns:
- the imei value.
-
withImei
public MicrosoftGraphManagedDevice withImei(String imei)
Set the imei property: IMEI.- Parameters:
imei
- the imei value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
isEncrypted
public Boolean isEncrypted()
Get the isEncrypted property: Device encryption status.- Returns:
- the isEncrypted value.
-
withIsEncrypted
public MicrosoftGraphManagedDevice withIsEncrypted(Boolean isEncrypted)
Set the isEncrypted property: Device encryption status.- Parameters:
isEncrypted
- the isEncrypted value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
isSupervised
public Boolean isSupervised()
Get the isSupervised property: Device supervised status.- Returns:
- the isSupervised value.
-
withIsSupervised
public MicrosoftGraphManagedDevice withIsSupervised(Boolean isSupervised)
Set the isSupervised property: Device supervised status.- Parameters:
isSupervised
- the isSupervised value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
jailBroken
public String jailBroken()
Get the jailBroken property: whether the device is jail broken or rooted.- Returns:
- the jailBroken value.
-
withJailBroken
public MicrosoftGraphManagedDevice withJailBroken(String jailBroken)
Set the jailBroken property: whether the device is jail broken or rooted.- Parameters:
jailBroken
- the jailBroken value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
lastSyncDateTime
public OffsetDateTime lastSyncDateTime()
Get the lastSyncDateTime property: The date and time that the device last completed a successful sync with Intune.- Returns:
- the lastSyncDateTime value.
-
withLastSyncDateTime
public MicrosoftGraphManagedDevice withLastSyncDateTime(OffsetDateTime lastSyncDateTime)
Set the lastSyncDateTime property: The date and time that the device last completed a successful sync with Intune.- Parameters:
lastSyncDateTime
- the lastSyncDateTime value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
managedDeviceName
public String managedDeviceName()
Get the managedDeviceName property: Automatically generated name to identify a device. Can be overwritten to a user friendly name.- Returns:
- the managedDeviceName value.
-
withManagedDeviceName
public MicrosoftGraphManagedDevice withManagedDeviceName(String managedDeviceName)
Set the managedDeviceName property: Automatically generated name to identify a device. Can be overwritten to a user friendly name.- Parameters:
managedDeviceName
- the managedDeviceName value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
managedDeviceOwnerType
public MicrosoftGraphManagedDeviceOwnerType managedDeviceOwnerType()
Get the managedDeviceOwnerType property: The managedDeviceOwnerType property.- Returns:
- the managedDeviceOwnerType value.
-
withManagedDeviceOwnerType
public MicrosoftGraphManagedDevice withManagedDeviceOwnerType(MicrosoftGraphManagedDeviceOwnerType managedDeviceOwnerType)
Set the managedDeviceOwnerType property: The managedDeviceOwnerType property.- Parameters:
managedDeviceOwnerType
- the managedDeviceOwnerType value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
managementAgent
public MicrosoftGraphManagementAgentType managementAgent()
Get the managementAgent property: The managementAgent property.- Returns:
- the managementAgent value.
-
withManagementAgent
public MicrosoftGraphManagedDevice withManagementAgent(MicrosoftGraphManagementAgentType managementAgent)
Set the managementAgent property: The managementAgent property.- Parameters:
managementAgent
- the managementAgent value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
manufacturer
public String manufacturer()
Get the manufacturer property: Manufacturer of the device.- Returns:
- the manufacturer value.
-
withManufacturer
public MicrosoftGraphManagedDevice withManufacturer(String manufacturer)
Set the manufacturer property: Manufacturer of the device.- Parameters:
manufacturer
- the manufacturer value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
meid
public String meid()
Get the meid property: MEID.- Returns:
- the meid value.
-
withMeid
public MicrosoftGraphManagedDevice withMeid(String meid)
Set the meid property: MEID.- Parameters:
meid
- the meid value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
model
public String model()
Get the model property: Model of the device.- Returns:
- the model value.
-
withModel
public MicrosoftGraphManagedDevice withModel(String model)
Set the model property: Model of the device.- Parameters:
model
- the model value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
operatingSystem
public String operatingSystem()
Get the operatingSystem property: Operating system of the device. Windows, iOS, etc.- Returns:
- the operatingSystem value.
-
withOperatingSystem
public MicrosoftGraphManagedDevice withOperatingSystem(String operatingSystem)
Set the operatingSystem property: Operating system of the device. Windows, iOS, etc.- Parameters:
operatingSystem
- the operatingSystem value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
osVersion
public String osVersion()
Get the osVersion property: Operating system version of the device.- Returns:
- the osVersion value.
-
withOsVersion
public MicrosoftGraphManagedDevice withOsVersion(String osVersion)
Set the osVersion property: Operating system version of the device.- Parameters:
osVersion
- the osVersion value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
partnerReportedThreatState
public MicrosoftGraphManagedDevicePartnerReportedHealthState partnerReportedThreatState()
Get the partnerReportedThreatState property: The partnerReportedThreatState property.- Returns:
- the partnerReportedThreatState value.
-
withPartnerReportedThreatState
public MicrosoftGraphManagedDevice withPartnerReportedThreatState(MicrosoftGraphManagedDevicePartnerReportedHealthState partnerReportedThreatState)
Set the partnerReportedThreatState property: The partnerReportedThreatState property.- Parameters:
partnerReportedThreatState
- the partnerReportedThreatState value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
phoneNumber
public String phoneNumber()
Get the phoneNumber property: Phone number of the device.- Returns:
- the phoneNumber value.
-
withPhoneNumber
public MicrosoftGraphManagedDevice withPhoneNumber(String phoneNumber)
Set the phoneNumber property: Phone number of the device.- Parameters:
phoneNumber
- the phoneNumber value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
remoteAssistanceSessionErrorDetails
public String remoteAssistanceSessionErrorDetails()
Get the remoteAssistanceSessionErrorDetails property: An error string that identifies issues when creating Remote Assistance session objects.- Returns:
- the remoteAssistanceSessionErrorDetails value.
-
withRemoteAssistanceSessionErrorDetails
public MicrosoftGraphManagedDevice withRemoteAssistanceSessionErrorDetails(String remoteAssistanceSessionErrorDetails)
Set the remoteAssistanceSessionErrorDetails property: An error string that identifies issues when creating Remote Assistance session objects.- Parameters:
remoteAssistanceSessionErrorDetails
- the remoteAssistanceSessionErrorDetails value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
remoteAssistanceSessionUrl
public String remoteAssistanceSessionUrl()
Get the remoteAssistanceSessionUrl property: Url that allows a Remote Assistance session to be established with the device.- Returns:
- the remoteAssistanceSessionUrl value.
-
withRemoteAssistanceSessionUrl
public MicrosoftGraphManagedDevice withRemoteAssistanceSessionUrl(String remoteAssistanceSessionUrl)
Set the remoteAssistanceSessionUrl property: Url that allows a Remote Assistance session to be established with the device.- Parameters:
remoteAssistanceSessionUrl
- the remoteAssistanceSessionUrl value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
serialNumber
public String serialNumber()
Get the serialNumber property: SerialNumber.- Returns:
- the serialNumber value.
-
withSerialNumber
public MicrosoftGraphManagedDevice withSerialNumber(String serialNumber)
Set the serialNumber property: SerialNumber.- Parameters:
serialNumber
- the serialNumber value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
subscriberCarrier
public String subscriberCarrier()
Get the subscriberCarrier property: Subscriber Carrier.- Returns:
- the subscriberCarrier value.
-
withSubscriberCarrier
public MicrosoftGraphManagedDevice withSubscriberCarrier(String subscriberCarrier)
Set the subscriberCarrier property: Subscriber Carrier.- Parameters:
subscriberCarrier
- the subscriberCarrier value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
totalStorageSpaceInBytes
public Long totalStorageSpaceInBytes()
Get the totalStorageSpaceInBytes property: Total Storage in Bytes.- Returns:
- the totalStorageSpaceInBytes value.
-
withTotalStorageSpaceInBytes
public MicrosoftGraphManagedDevice withTotalStorageSpaceInBytes(Long totalStorageSpaceInBytes)
Set the totalStorageSpaceInBytes property: Total Storage in Bytes.- Parameters:
totalStorageSpaceInBytes
- the totalStorageSpaceInBytes value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
userDisplayName
public String userDisplayName()
Get the userDisplayName property: User display name.- Returns:
- the userDisplayName value.
-
withUserDisplayName
public MicrosoftGraphManagedDevice withUserDisplayName(String userDisplayName)
Set the userDisplayName property: User display name.- Parameters:
userDisplayName
- the userDisplayName value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
userId
public String userId()
Get the userId property: Unique Identifier for the user associated with the device.- Returns:
- the userId value.
-
withUserId
public MicrosoftGraphManagedDevice withUserId(String userId)
Set the userId property: Unique Identifier for the user associated with the device.- Parameters:
userId
- the userId value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
userPrincipalName
public String userPrincipalName()
Get the userPrincipalName property: Device user principal name.- Returns:
- the userPrincipalName value.
-
withUserPrincipalName
public MicrosoftGraphManagedDevice withUserPrincipalName(String userPrincipalName)
Set the userPrincipalName property: Device user principal name.- Parameters:
userPrincipalName
- the userPrincipalName value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
wiFiMacAddress
public String wiFiMacAddress()
Get the wiFiMacAddress property: Wi-Fi MAC.- Returns:
- the wiFiMacAddress value.
-
withWiFiMacAddress
public MicrosoftGraphManagedDevice withWiFiMacAddress(String wiFiMacAddress)
Set the wiFiMacAddress property: Wi-Fi MAC.- Parameters:
wiFiMacAddress
- the wiFiMacAddress value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
deviceCompliancePolicyStates
public List<MicrosoftGraphDeviceCompliancePolicyState> deviceCompliancePolicyStates()
Get the deviceCompliancePolicyStates property: Device compliance policy states for this device.- Returns:
- the deviceCompliancePolicyStates value.
-
withDeviceCompliancePolicyStates
public MicrosoftGraphManagedDevice withDeviceCompliancePolicyStates(List<MicrosoftGraphDeviceCompliancePolicyState> deviceCompliancePolicyStates)
Set the deviceCompliancePolicyStates property: Device compliance policy states for this device.- Parameters:
deviceCompliancePolicyStates
- the deviceCompliancePolicyStates value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
deviceConfigurationStates
public List<MicrosoftGraphDeviceConfigurationState> deviceConfigurationStates()
Get the deviceConfigurationStates property: Device configuration states for this device.- Returns:
- the deviceConfigurationStates value.
-
withDeviceConfigurationStates
public MicrosoftGraphManagedDevice withDeviceConfigurationStates(List<MicrosoftGraphDeviceConfigurationState> deviceConfigurationStates)
Set the deviceConfigurationStates property: Device configuration states for this device.- Parameters:
deviceConfigurationStates
- the deviceConfigurationStates value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
deviceCategory
public MicrosoftGraphDeviceCategory deviceCategory()
Get the deviceCategory property: Device categories provides a way to organize your devices. Using device categories, company administrators can define their own categories that make sense to their company. These categories can then be applied to a device in the Intune Azure console or selected by a user during device enrollment. You can filter reports and create dynamic Azure Active Directory device groups based on device categories.- Returns:
- the deviceCategory value.
-
withDeviceCategory
public MicrosoftGraphManagedDevice withDeviceCategory(MicrosoftGraphDeviceCategory deviceCategory)
Set the deviceCategory property: Device categories provides a way to organize your devices. Using device categories, company administrators can define their own categories that make sense to their company. These categories can then be applied to a device in the Intune Azure console or selected by a user during device enrollment. You can filter reports and create dynamic Azure Active Directory device groups based on device categories.- Parameters:
deviceCategory
- the deviceCategory value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: Devices that are managed or pre-enrolled through Intune.- Overrides:
additionalProperties
in classMicrosoftGraphEntity
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphManagedDevice withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Devices that are managed or pre-enrolled through Intune.- Overrides:
withAdditionalProperties
in classMicrosoftGraphEntity
- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphManagedDevice object itself.
-
withId
public MicrosoftGraphManagedDevice withId(String id)
Set the id property: Read-only.- Overrides:
withId
in classMicrosoftGraphEntity
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphEntity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-