public class ImportedAppleDeviceIdentity extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
ImportedAppleDeviceIdentity.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected OffsetDateTime |
createdDateTime |
protected String |
description |
protected DiscoverySource |
discoverySource |
protected EnrollmentState |
enrollmentState |
protected Boolean |
isDeleted |
protected Boolean |
isSupervised |
protected OffsetDateTime |
lastContactedDateTime |
protected Platform |
platform |
protected OffsetDateTime |
requestedEnrollmentProfileAssignmentDateTime |
protected String |
requestedEnrollmentProfileId |
protected String |
serialNumber |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
ImportedAppleDeviceIdentity() |
| Modifier and Type | Method and Description |
|---|---|
static ImportedAppleDeviceIdentity.Builder |
builderImportedAppleDeviceIdentity()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<OffsetDateTime> |
getCreatedDateTime()
“Created Date Time of the device”
|
Optional<String> |
getDescription()
“The description of the device”
|
Optional<DiscoverySource> |
getDiscoverySource()
“Apple device discovery source.”
|
Optional<EnrollmentState> |
getEnrollmentState()
“The state of the device in Intune”
|
Optional<Boolean> |
getIsDeleted()
“Indicates if the device is deleted from Apple Business Manager”
|
Optional<Boolean> |
getIsSupervised()
“Indicates if the Apple device is supervised.
|
Optional<OffsetDateTime> |
getLastContactedDateTime()
“Last Contacted Date Time of the device”
|
Optional<Platform> |
getPlatform()
“The platform of the Device.”
|
Optional<OffsetDateTime> |
getRequestedEnrollmentProfileAssignmentDateTime()
“The time enrollment profile was assigned to the device”
|
Optional<String> |
getRequestedEnrollmentProfileId()
“Enrollment profile Id admin intends to apply to the device during next
enrollment”
|
Optional<String> |
getSerialNumber()
“Device serial number”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
ImportedAppleDeviceIdentity |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
ImportedAppleDeviceIdentity |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
ImportedAppleDeviceIdentity |
withCreatedDateTime(OffsetDateTime createdDateTime)
Returns an immutable copy of
this with just the createdDateTime
field changed. |
ImportedAppleDeviceIdentity |
withDescription(String description)
Returns an immutable copy of
this with just the description
field changed. |
ImportedAppleDeviceIdentity |
withDiscoverySource(DiscoverySource discoverySource)
Returns an immutable copy of
this with just the discoverySource
field changed. |
ImportedAppleDeviceIdentity |
withEnrollmentState(EnrollmentState enrollmentState)
Returns an immutable copy of
this with just the enrollmentState
field changed. |
ImportedAppleDeviceIdentity |
withIsDeleted(Boolean isDeleted)
Returns an immutable copy of
this with just the isDeleted field
changed. |
ImportedAppleDeviceIdentity |
withIsSupervised(Boolean isSupervised)
Returns an immutable copy of
this with just the isSupervised
field changed. |
ImportedAppleDeviceIdentity |
withLastContactedDateTime(OffsetDateTime lastContactedDateTime)
Returns an immutable copy of
this with just the lastContactedDateTime field changed. |
ImportedAppleDeviceIdentity |
withPlatform(Platform platform)
Returns an immutable copy of
this with just the platform field
changed. |
ImportedAppleDeviceIdentity |
withRequestedEnrollmentProfileAssignmentDateTime(OffsetDateTime requestedEnrollmentProfileAssignmentDateTime)
Returns an immutable copy of
this with just the requestedEnrollmentProfileAssignmentDateTime field changed. |
ImportedAppleDeviceIdentity |
withRequestedEnrollmentProfileId(String requestedEnrollmentProfileId)
Returns an immutable copy of
this with just the requestedEnrollmentProfileId field changed. |
ImportedAppleDeviceIdentity |
withSerialNumber(String serialNumber)
Returns an immutable copy of
this with just the serialNumber
field changed. |
protected String serialNumber
protected String requestedEnrollmentProfileId
protected OffsetDateTime requestedEnrollmentProfileAssignmentDateTime
protected Boolean isSupervised
protected DiscoverySource discoverySource
protected Boolean isDeleted
protected OffsetDateTime createdDateTime
protected OffsetDateTime lastContactedDateTime
protected String description
protected EnrollmentState enrollmentState
protected Platform platform
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static ImportedAppleDeviceIdentity.Builder builderImportedAppleDeviceIdentity()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<String> getSerialNumber()
public ImportedAppleDeviceIdentity withSerialNumber(String serialNumber)
this with just the serialNumber
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Device serial number”
serialNumber - new value of serialNumber field (as defined in service metadata)this with just the serialNumber field changedpublic Optional<String> getRequestedEnrollmentProfileId()
public ImportedAppleDeviceIdentity withRequestedEnrollmentProfileId(String requestedEnrollmentProfileId)
this with just the requestedEnrollmentProfileId field changed. Field description below. The field
name is also added to an internal map of changed fields in the returned object
so that when this.patch() is called (if available)on the returned object
only the changed fields are submitted.
“Enrollment profile Id admin intends to apply to the device during next enrollment”
requestedEnrollmentProfileId - new value of requestedEnrollmentProfileId field (as defined in service metadata)this with just the requestedEnrollmentProfileId field changedpublic Optional<OffsetDateTime> getRequestedEnrollmentProfileAssignmentDateTime()
public ImportedAppleDeviceIdentity withRequestedEnrollmentProfileAssignmentDateTime(OffsetDateTime requestedEnrollmentProfileAssignmentDateTime)
this with just the requestedEnrollmentProfileAssignmentDateTime field changed. Field description
below. The field name is also added to an internal map of changed fields in the
returned object so that when this.patch() is called (if available)on the
returned object only the changed fields are submitted.
“The time enrollment profile was assigned to the device”
requestedEnrollmentProfileAssignmentDateTime - new value of requestedEnrollmentProfileAssignmentDateTime field (as defined in service metadata)this with just the requestedEnrollmentProfileAssignmentDateTime field changedpublic Optional<Boolean> getIsSupervised()
public ImportedAppleDeviceIdentity withIsSupervised(Boolean isSupervised)
this with just the isSupervised
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Indicates if the Apple device is supervised. More information is at: https:// support.apple.com/en-us/HT202837”
isSupervised - new value of isSupervised field (as defined in service metadata)this with just the isSupervised field changedpublic Optional<DiscoverySource> getDiscoverySource()
public ImportedAppleDeviceIdentity withDiscoverySource(DiscoverySource discoverySource)
this with just the discoverySource
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Apple device discovery source.”
discoverySource - new value of discoverySource field (as defined in service metadata)this with just the discoverySource field changedpublic Optional<Boolean> getIsDeleted()
public ImportedAppleDeviceIdentity withIsDeleted(Boolean isDeleted)
this with just the isDeleted field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Indicates if the device is deleted from Apple Business Manager”
isDeleted - new value of isDeleted field (as defined in service metadata)this with just the isDeleted field changedpublic Optional<OffsetDateTime> getCreatedDateTime()
public ImportedAppleDeviceIdentity withCreatedDateTime(OffsetDateTime createdDateTime)
this with just the createdDateTime
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Created Date Time of the device”
createdDateTime - new value of createdDateTime field (as defined in service metadata)this with just the createdDateTime field changedpublic Optional<OffsetDateTime> getLastContactedDateTime()
public ImportedAppleDeviceIdentity withLastContactedDateTime(OffsetDateTime lastContactedDateTime)
this with just the lastContactedDateTime field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Last Contacted Date Time of the device”
lastContactedDateTime - new value of lastContactedDateTime field (as defined in service metadata)this with just the lastContactedDateTime field changedpublic Optional<String> getDescription()
public ImportedAppleDeviceIdentity withDescription(String description)
this with just the description
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“The description of the device”
description - new value of description field (as defined in service metadata)this with just the description field changedpublic Optional<EnrollmentState> getEnrollmentState()
public ImportedAppleDeviceIdentity withEnrollmentState(EnrollmentState enrollmentState)
this with just the enrollmentState
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“The state of the device in Intune”
enrollmentState - new value of enrollmentState field (as defined in service metadata)this with just the enrollmentState field changedpublic Optional<Platform> getPlatform()
public ImportedAppleDeviceIdentity withPlatform(Platform platform)
this with just the platform field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“The platform of the Device.”
platform - new value of platform field (as defined in service metadata)this with just the platform field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic ImportedAppleDeviceIdentity patch()
this with changed fields reset.public ImportedAppleDeviceIdentity put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.