public class ImportedDeviceIdentity extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
ImportedDeviceIdentity.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected OffsetDateTime |
createdDateTime |
protected String |
description |
protected EnrollmentState |
enrollmentState |
protected String |
importedDeviceIdentifier |
protected ImportedDeviceIdentityType |
importedDeviceIdentityType |
protected OffsetDateTime |
lastContactedDateTime |
protected OffsetDateTime |
lastModifiedDateTime |
protected Platform |
platform |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
ImportedDeviceIdentity() |
| Modifier and Type | Method and Description |
|---|---|
static ImportedDeviceIdentity.Builder |
builderImportedDeviceIdentity()
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<EnrollmentState> |
getEnrollmentState()
“The state of the device in Intune”
|
Optional<String> |
getImportedDeviceIdentifier()
“Imported Device Identifier”
|
Optional<ImportedDeviceIdentityType> |
getImportedDeviceIdentityType()
“Type of Imported Device Identity”
|
Optional<OffsetDateTime> |
getLastContactedDateTime()
“Last Contacted Date Time of the device”
|
Optional<OffsetDateTime> |
getLastModifiedDateTime()
“Last Modified DateTime of the description”
|
Optional<Platform> |
getPlatform()
“The platform of the Device.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
ImportedDeviceIdentity |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
ImportedDeviceIdentity |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
ImportedDeviceIdentity |
withCreatedDateTime(OffsetDateTime createdDateTime)
Returns an immutable copy of
this with just the createdDateTime
field changed. |
ImportedDeviceIdentity |
withDescription(String description)
Returns an immutable copy of
this with just the description
field changed. |
ImportedDeviceIdentity |
withEnrollmentState(EnrollmentState enrollmentState)
Returns an immutable copy of
this with just the enrollmentState
field changed. |
ImportedDeviceIdentity |
withImportedDeviceIdentifier(String importedDeviceIdentifier)
Returns an immutable copy of
this with just the importedDeviceIdentifier field changed. |
ImportedDeviceIdentity |
withImportedDeviceIdentityType(ImportedDeviceIdentityType importedDeviceIdentityType)
Returns an immutable copy of
this with just the importedDeviceIdentityType field changed. |
ImportedDeviceIdentity |
withLastContactedDateTime(OffsetDateTime lastContactedDateTime)
Returns an immutable copy of
this with just the lastContactedDateTime field changed. |
ImportedDeviceIdentity |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy of
this with just the lastModifiedDateTime field changed. |
ImportedDeviceIdentity |
withPlatform(Platform platform)
Returns an immutable copy of
this with just the platform field
changed. |
protected String importedDeviceIdentifier
protected ImportedDeviceIdentityType importedDeviceIdentityType
protected OffsetDateTime lastModifiedDateTime
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 ImportedDeviceIdentity.Builder builderImportedDeviceIdentity()
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> getImportedDeviceIdentifier()
public ImportedDeviceIdentity withImportedDeviceIdentifier(String importedDeviceIdentifier)
this with just the importedDeviceIdentifier 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.
“Imported Device Identifier”
importedDeviceIdentifier - new value of importedDeviceIdentifier field (as defined in service metadata)this with just the importedDeviceIdentifier field changedpublic Optional<ImportedDeviceIdentityType> getImportedDeviceIdentityType()
public ImportedDeviceIdentity withImportedDeviceIdentityType(ImportedDeviceIdentityType importedDeviceIdentityType)
this with just the importedDeviceIdentityType 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.
“Type of Imported Device Identity”
importedDeviceIdentityType - new value of importedDeviceIdentityType field (as defined in service metadata)this with just the importedDeviceIdentityType field changedpublic Optional<OffsetDateTime> getLastModifiedDateTime()
public ImportedDeviceIdentity withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
this with just the lastModifiedDateTime 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 Modified DateTime of the description”
lastModifiedDateTime - new value of lastModifiedDateTime field (as defined in service metadata)this with just the lastModifiedDateTime field changedpublic Optional<OffsetDateTime> getCreatedDateTime()
public ImportedDeviceIdentity 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 ImportedDeviceIdentity 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 ImportedDeviceIdentity 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 ImportedDeviceIdentity 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 ImportedDeviceIdentity 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 ImportedDeviceIdentity patch()
this with changed fields reset.public ImportedDeviceIdentity put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.