Package odata.msgraph.client.beta.entity
Class ImportedAppleDeviceIdentity
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.ImportedAppleDeviceIdentity
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
ImportedAppleDeviceIdentityResult
public class ImportedAppleDeviceIdentity extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“The importedAppleDeviceIdentity resource represents the imported device identity of an Apple device .”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImportedAppleDeviceIdentity.Builder
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimecreatedDateTimeprotected Stringdescriptionprotected DiscoverySourcediscoverySourceprotected EnrollmentStateenrollmentStateprotected BooleanisDeletedprotected BooleanisSupervisedprotected OffsetDateTimelastContactedDateTimeprotected Platformplatformprotected OffsetDateTimerequestedEnrollmentProfileAssignmentDateTimeprotected StringrequestedEnrollmentProfileIdprotected StringserialNumber-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedImportedAppleDeviceIdentity()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImportedAppleDeviceIdentity.BuilderbuilderImportedAppleDeviceIdentity()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<OffsetDateTime>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.UnmappedFieldsgetUnmappedFields()StringodataTypeName()ImportedAppleDeviceIdentitypatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)ImportedAppleDeviceIdentityput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()ImportedAppleDeviceIdentitywithCreatedDateTime(OffsetDateTime createdDateTime)Returns an immutable copy ofthiswith just thecreatedDateTimefield changed.ImportedAppleDeviceIdentitywithDescription(String description)Returns an immutable copy ofthiswith just thedescriptionfield changed.ImportedAppleDeviceIdentitywithDiscoverySource(DiscoverySource discoverySource)Returns an immutable copy ofthiswith just thediscoverySourcefield changed.ImportedAppleDeviceIdentitywithEnrollmentState(EnrollmentState enrollmentState)Returns an immutable copy ofthiswith just theenrollmentStatefield changed.ImportedAppleDeviceIdentitywithIsDeleted(Boolean isDeleted)Returns an immutable copy ofthiswith just theisDeletedfield changed.ImportedAppleDeviceIdentitywithIsSupervised(Boolean isSupervised)Returns an immutable copy ofthiswith just theisSupervisedfield changed.ImportedAppleDeviceIdentitywithLastContactedDateTime(OffsetDateTime lastContactedDateTime)Returns an immutable copy ofthiswith just thelastContactedDateTimefield changed.ImportedAppleDeviceIdentitywithPlatform(Platform platform)Returns an immutable copy ofthiswith just theplatformfield changed.ImportedAppleDeviceIdentitywithRequestedEnrollmentProfileAssignmentDateTime(OffsetDateTime requestedEnrollmentProfileAssignmentDateTime)Returns an immutable copy ofthiswith just therequestedEnrollmentProfileAssignmentDateTimefield changed.ImportedAppleDeviceIdentitywithRequestedEnrollmentProfileId(String requestedEnrollmentProfileId)Returns an immutable copy ofthiswith just therequestedEnrollmentProfileIdfield changed.ImportedAppleDeviceIdentitywithSerialNumber(String serialNumber)Returns an immutable copy ofthiswith just theserialNumberfield changed.ImportedAppleDeviceIdentitywithUnmappedField(String name, String value)
-
-
-
Field Detail
-
createdDateTime
protected OffsetDateTime createdDateTime
-
description
protected String description
-
discoverySource
protected DiscoverySource discoverySource
-
enrollmentState
protected EnrollmentState enrollmentState
-
isDeleted
protected Boolean isDeleted
-
isSupervised
protected Boolean isSupervised
-
lastContactedDateTime
protected OffsetDateTime lastContactedDateTime
-
platform
protected Platform platform
-
requestedEnrollmentProfileAssignmentDateTime
protected OffsetDateTime requestedEnrollmentProfileAssignmentDateTime
-
requestedEnrollmentProfileId
protected String requestedEnrollmentProfileId
-
serialNumber
protected String serialNumber
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderImportedAppleDeviceIdentity
public static ImportedAppleDeviceIdentity.Builder builderImportedAppleDeviceIdentity()
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
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
“Created Date Time of the device”- Returns:
- property createdDateTime
-
withCreatedDateTime
public ImportedAppleDeviceIdentity withCreatedDateTime(OffsetDateTime createdDateTime)
Returns an immutable copy ofthiswith just thecreatedDateTimefield 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.“Created Date Time of the device”
- Parameters:
createdDateTime- new value ofcreatedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecreatedDateTimefield changed
-
getDescription
public Optional<String> getDescription()
“The description of the device”- Returns:
- property description
-
withDescription
public ImportedAppleDeviceIdentity withDescription(String description)
Returns an immutable copy ofthiswith just thedescriptionfield 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 description of the device”
- Parameters:
description- new value ofdescriptionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedescriptionfield changed
-
getDiscoverySource
public Optional<DiscoverySource> getDiscoverySource()
“Apple device discovery source.”- Returns:
- property discoverySource
-
withDiscoverySource
public ImportedAppleDeviceIdentity withDiscoverySource(DiscoverySource discoverySource)
Returns an immutable copy ofthiswith just thediscoverySourcefield 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.“Apple device discovery source.”
- Parameters:
discoverySource- new value ofdiscoverySourcefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thediscoverySourcefield changed
-
getEnrollmentState
public Optional<EnrollmentState> getEnrollmentState()
“The state of the device in Intune”- Returns:
- property enrollmentState
-
withEnrollmentState
public ImportedAppleDeviceIdentity withEnrollmentState(EnrollmentState enrollmentState)
Returns an immutable copy ofthiswith just theenrollmentStatefield 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 state of the device in Intune”
- Parameters:
enrollmentState- new value ofenrollmentStatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theenrollmentStatefield changed
-
getIsDeleted
public Optional<Boolean> getIsDeleted()
“Indicates if the device is deleted from Apple Business Manager”- Returns:
- property isDeleted
-
withIsDeleted
public ImportedAppleDeviceIdentity withIsDeleted(Boolean isDeleted)
Returns an immutable copy ofthiswith just theisDeletedfield 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 if the device is deleted from Apple Business Manager”
- Parameters:
isDeleted- new value ofisDeletedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theisDeletedfield changed
-
getIsSupervised
public Optional<Boolean> getIsSupervised()
“Indicates if the Apple device is supervised. More information is at: https:// support.apple.com/en-us/HT202837”- Returns:
- property isSupervised
-
withIsSupervised
public ImportedAppleDeviceIdentity 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.“Indicates if the Apple device is supervised. More information is at: https:// support.apple.com/en-us/HT202837”
- Parameters:
isSupervised- new value ofisSupervisedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theisSupervisedfield changed
-
getLastContactedDateTime
public Optional<OffsetDateTime> getLastContactedDateTime()
“Last Contacted Date Time of the device”- Returns:
- property lastContactedDateTime
-
withLastContactedDateTime
public ImportedAppleDeviceIdentity withLastContactedDateTime(OffsetDateTime lastContactedDateTime)
Returns an immutable copy ofthiswith just thelastContactedDateTimefield 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 Contacted Date Time of the device”
- Parameters:
lastContactedDateTime- new value oflastContactedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastContactedDateTimefield changed
-
getPlatform
public Optional<Platform> getPlatform()
“The platform of the Device.”- Returns:
- property platform
-
withPlatform
public ImportedAppleDeviceIdentity withPlatform(Platform platform)
Returns an immutable copy ofthiswith just theplatformfield 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 platform of the Device.”
- Parameters:
platform- new value ofplatformfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theplatformfield changed
-
getRequestedEnrollmentProfileAssignmentDateTime
public Optional<OffsetDateTime> getRequestedEnrollmentProfileAssignmentDateTime()
“The time enrollment profile was assigned to the device”- Returns:
- property requestedEnrollmentProfileAssignmentDateTime
-
withRequestedEnrollmentProfileAssignmentDateTime
public ImportedAppleDeviceIdentity withRequestedEnrollmentProfileAssignmentDateTime(OffsetDateTime requestedEnrollmentProfileAssignmentDateTime)
Returns an immutable copy ofthiswith just therequestedEnrollmentProfileAssignmentDateTimefield 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 time enrollment profile was assigned to the device”
- Parameters:
requestedEnrollmentProfileAssignmentDateTime- new value ofrequestedEnrollmentProfileAssignmentDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therequestedEnrollmentProfileAssignmentDateTimefield changed
-
getRequestedEnrollmentProfileId
public Optional<String> getRequestedEnrollmentProfileId()
“Enrollment profile Id admin intends to apply to the device during next enrollment”- Returns:
- property requestedEnrollmentProfileId
-
withRequestedEnrollmentProfileId
public ImportedAppleDeviceIdentity withRequestedEnrollmentProfileId(String requestedEnrollmentProfileId)
Returns an immutable copy ofthiswith just therequestedEnrollmentProfileIdfield 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 profile Id admin intends to apply to the device during next enrollment”
- Parameters:
requestedEnrollmentProfileId- new value ofrequestedEnrollmentProfileIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therequestedEnrollmentProfileIdfield changed
-
getSerialNumber
public Optional<String> getSerialNumber()
“Device serial number”- Returns:
- property serialNumber
-
withSerialNumber
public ImportedAppleDeviceIdentity 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.“Device serial number”
- Parameters:
serialNumber- new value ofserialNumberfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theserialNumberfield changed
-
withUnmappedField
public ImportedAppleDeviceIdentity withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public ImportedAppleDeviceIdentity patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public ImportedAppleDeviceIdentity put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-