Package odata.msgraph.client.entity
Class Device
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.DirectoryObject
-
- odata.msgraph.client.entity.Device
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Device extends DirectoryObject implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.ChangeTracking
Supported = true
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDevice.Builder
-
Field Summary
-
Fields inherited from class odata.msgraph.client.entity.DirectoryObject
deletedDateTime
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDevice()
-
Method Summary
-
Methods inherited from class odata.msgraph.client.entity.DirectoryObject
builderDirectoryObject, checkMemberGroups, checkMemberObjects, getDeletedDateTime, getMemberGroups, getMemberObjects, restore, withDeletedDateTime
-
-
-
-
Field Detail
-
accountEnabled
protected Boolean accountEnabled
-
alternativeSecurityIds
protected List<AlternativeSecurityId> alternativeSecurityIds
-
alternativeSecurityIdsNextLink
protected String alternativeSecurityIdsNextLink
-
approximateLastSignInDateTime
protected OffsetDateTime approximateLastSignInDateTime
-
complianceExpirationDateTime
protected OffsetDateTime complianceExpirationDateTime
-
deviceCategory
protected String deviceCategory
-
deviceId
protected String deviceId
-
deviceMetadata
protected String deviceMetadata
-
deviceOwnership
protected String deviceOwnership
-
deviceVersion
protected Integer deviceVersion
-
displayName
protected String displayName
-
enrollmentProfileName
protected String enrollmentProfileName
-
isCompliant
protected Boolean isCompliant
-
isManaged
protected Boolean isManaged
-
mdmAppId
protected String mdmAppId
-
onPremisesLastSyncDateTime
protected OffsetDateTime onPremisesLastSyncDateTime
-
onPremisesSyncEnabled
protected Boolean onPremisesSyncEnabled
-
operatingSystem
protected String operatingSystem
-
operatingSystemVersion
protected String operatingSystemVersion
-
physicalIdsNextLink
protected String physicalIdsNextLink
-
profileType
protected String profileType
-
registrationDateTime
protected OffsetDateTime registrationDateTime
-
systemLabelsNextLink
protected String systemLabelsNextLink
-
trustType
protected String trustType
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDirectoryObject
-
builderDevice
public static Device.Builder builderDevice()
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 classDirectoryObject
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDirectoryObject
-
getAlternativeSecurityIds
public com.github.davidmoten.odata.client.CollectionPage<AlternativeSecurityId> getAlternativeSecurityIds()
-
withAlternativeSecurityIds
public Device withAlternativeSecurityIds(List<AlternativeSecurityId> alternativeSecurityIds)
-
getAlternativeSecurityIds
public com.github.davidmoten.odata.client.CollectionPage<AlternativeSecurityId> getAlternativeSecurityIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getApproximateLastSignInDateTime
public Optional<OffsetDateTime> getApproximateLastSignInDateTime()
-
withApproximateLastSignInDateTime
public Device withApproximateLastSignInDateTime(OffsetDateTime approximateLastSignInDateTime)
-
getComplianceExpirationDateTime
public Optional<OffsetDateTime> getComplianceExpirationDateTime()
-
withComplianceExpirationDateTime
public Device withComplianceExpirationDateTime(OffsetDateTime complianceExpirationDateTime)
-
getOnPremisesLastSyncDateTime
public Optional<OffsetDateTime> getOnPremisesLastSyncDateTime()
-
withOnPremisesLastSyncDateTime
public Device withOnPremisesLastSyncDateTime(OffsetDateTime onPremisesLastSyncDateTime)
-
getPhysicalIds
public com.github.davidmoten.odata.client.CollectionPage<String> getPhysicalIds()
-
getPhysicalIds
public com.github.davidmoten.odata.client.CollectionPage<String> getPhysicalIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getRegistrationDateTime
public Optional<OffsetDateTime> getRegistrationDateTime()
-
withRegistrationDateTime
public Device withRegistrationDateTime(OffsetDateTime registrationDateTime)
-
getSystemLabels
public com.github.davidmoten.odata.client.CollectionPage<String> getSystemLabels()
-
getSystemLabels
public com.github.davidmoten.odata.client.CollectionPage<String> getSystemLabels(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withUnmappedField
public Device withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classDirectoryObject
-
getMemberOf
public DirectoryObjectCollectionRequest getMemberOf()
-
getRegisteredOwners
public DirectoryObjectCollectionRequest getRegisteredOwners()
-
getRegisteredUsers
public DirectoryObjectCollectionRequest getRegisteredUsers()
-
getTransitiveMemberOf
public DirectoryObjectCollectionRequest getTransitiveMemberOf()
-
getExtensions
public ExtensionCollectionRequest getExtensions()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDirectoryObject
-
patch
public Device patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDirectoryObject- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public Device put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDirectoryObject- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classDirectoryObject
-
-