public class ComanagementEligibleDeviceEntity extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
ComanagementEligibleDeviceEntity.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected DeviceRegistrationState |
clientRegistrationStatus |
protected CoManagementEligibleType |
coManageEligibleStatus |
protected String |
deviceId |
protected String |
deviceName |
protected String |
deviceType |
protected Integer |
entitySource |
protected ManagementAgentType |
managementAgents |
protected ManagementState |
managementState |
protected String |
manufacturer |
protected String |
mdmStatus |
protected String |
model |
protected String |
osDescription |
protected String |
osVersion |
protected OwnerType |
ownerType |
protected String |
referenceId |
protected String |
serialNumber |
protected String |
upn |
protected String |
userEmail |
protected String |
userId |
protected String |
userName |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
ComanagementEligibleDeviceEntity() |
| Modifier and Type | Method and Description |
|---|---|
static ComanagementEligibleDeviceEntity.Builder |
builderComanagementEligibleDeviceEntity()
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<DeviceRegistrationState> |
getClientRegistrationStatus()
“ClientRegistrationStatus”
|
Optional<CoManagementEligibleType> |
getCoManageEligibleStatus()
“CoManageEligibleStatus”
|
Optional<String> |
getDeviceId()
“DeviceId”
|
Optional<String> |
getDeviceName()
“DeviceName”
|
Optional<String> |
getDeviceType()
“DeviceType”
|
Optional<Integer> |
getEntitySource()
“EntitySource”
|
Optional<ManagementAgentType> |
getManagementAgents()
“ManagementAgents”
|
Optional<ManagementState> |
getManagementState()
“ManagementState”
|
Optional<String> |
getManufacturer()
“Manufacturer”
|
Optional<String> |
getMdmStatus()
“MDMStatus”
|
Optional<String> |
getModel()
“Model”
|
Optional<String> |
getOsDescription()
“OSDescription”
|
Optional<String> |
getOsVersion()
“OSVersion”
|
Optional<OwnerType> |
getOwnerType()
“OwnerType”
|
Optional<String> |
getReferenceId()
“ReferenceId”
|
Optional<String> |
getSerialNumber()
“SerialNumber”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getUpn()
“UPN”
|
Optional<String> |
getUserEmail()
“UserEmail”
|
Optional<String> |
getUserId()
“UserId”
|
Optional<String> |
getUserName()
“UserName”
|
String |
odataTypeName() |
ComanagementEligibleDeviceEntity |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
ComanagementEligibleDeviceEntity |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
ComanagementEligibleDeviceEntity |
withClientRegistrationStatus(DeviceRegistrationState clientRegistrationStatus)
Returns an immutable copy of
this with just the clientRegistrationStatus field changed. |
ComanagementEligibleDeviceEntity |
withCoManageEligibleStatus(CoManagementEligibleType coManageEligibleStatus)
Returns an immutable copy of
this with just the coManageEligibleStatus field changed. |
ComanagementEligibleDeviceEntity |
withDeviceId(String deviceId)
Returns an immutable copy of
this with just the deviceId field
changed. |
ComanagementEligibleDeviceEntity |
withDeviceName(String deviceName)
Returns an immutable copy of
this with just the deviceName field
changed. |
ComanagementEligibleDeviceEntity |
withDeviceType(String deviceType)
Returns an immutable copy of
this with just the deviceType field
changed. |
ComanagementEligibleDeviceEntity |
withEntitySource(Integer entitySource)
Returns an immutable copy of
this with just the entitySource
field changed. |
ComanagementEligibleDeviceEntity |
withManagementAgents(ManagementAgentType managementAgents)
Returns an immutable copy of
this with just the managementAgents
field changed. |
ComanagementEligibleDeviceEntity |
withManagementState(ManagementState managementState)
Returns an immutable copy of
this with just the managementState
field changed. |
ComanagementEligibleDeviceEntity |
withManufacturer(String manufacturer)
Returns an immutable copy of
this with just the manufacturer
field changed. |
ComanagementEligibleDeviceEntity |
withMdmStatus(String mdmStatus)
Returns an immutable copy of
this with just the mdmStatus field
changed. |
ComanagementEligibleDeviceEntity |
withModel(String model)
Returns an immutable copy of
this with just the model field
changed. |
ComanagementEligibleDeviceEntity |
withOsDescription(String osDescription)
Returns an immutable copy of
this with just the osDescription
field changed. |
ComanagementEligibleDeviceEntity |
withOsVersion(String osVersion)
Returns an immutable copy of
this with just the osVersion field
changed. |
ComanagementEligibleDeviceEntity |
withOwnerType(OwnerType ownerType)
Returns an immutable copy of
this with just the ownerType field
changed. |
ComanagementEligibleDeviceEntity |
withReferenceId(String referenceId)
Returns an immutable copy of
this with just the referenceId
field changed. |
ComanagementEligibleDeviceEntity |
withSerialNumber(String serialNumber)
Returns an immutable copy of
this with just the serialNumber
field changed. |
ComanagementEligibleDeviceEntity |
withUpn(String upn)
Returns an immutable copy of
this with just the upn field
changed. |
ComanagementEligibleDeviceEntity |
withUserEmail(String userEmail)
Returns an immutable copy of
this with just the userEmail field
changed. |
ComanagementEligibleDeviceEntity |
withUserId(String userId)
Returns an immutable copy of
this with just the userId field
changed. |
ComanagementEligibleDeviceEntity |
withUserName(String userName)
Returns an immutable copy of
this with just the userName field
changed. |
protected String deviceId
protected String deviceName
protected String deviceType
protected DeviceRegistrationState clientRegistrationStatus
protected OwnerType ownerType
protected ManagementAgentType managementAgents
protected ManagementState managementState
protected String referenceId
protected String mdmStatus
protected String osVersion
protected String serialNumber
protected String manufacturer
protected String model
protected String osDescription
protected Integer entitySource
protected String userId
protected String upn
protected String userEmail
protected String userName
protected CoManagementEligibleType coManageEligibleStatus
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static ComanagementEligibleDeviceEntity.Builder builderComanagementEligibleDeviceEntity()
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 ComanagementEligibleDeviceEntity withDeviceId(String deviceId)
this with just the deviceId 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.
“DeviceId”
deviceId - new value of deviceId field (as defined in service metadata)this with just the deviceId field changedpublic ComanagementEligibleDeviceEntity withDeviceName(String deviceName)
this with just the deviceName 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.
“DeviceName”
deviceName - new value of deviceName field (as defined in service metadata)this with just the deviceName field changedpublic ComanagementEligibleDeviceEntity withDeviceType(String deviceType)
this with just the deviceType 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.
“DeviceType”
deviceType - new value of deviceType field (as defined in service metadata)this with just the deviceType field changedpublic Optional<DeviceRegistrationState> getClientRegistrationStatus()
public ComanagementEligibleDeviceEntity withClientRegistrationStatus(DeviceRegistrationState clientRegistrationStatus)
this with just the clientRegistrationStatus 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.
“ClientRegistrationStatus”
clientRegistrationStatus - new value of clientRegistrationStatus field (as defined in service metadata)this with just the clientRegistrationStatus field changedpublic ComanagementEligibleDeviceEntity withOwnerType(OwnerType ownerType)
this with just the ownerType 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.
“OwnerType”
ownerType - new value of ownerType field (as defined in service metadata)this with just the ownerType field changedpublic Optional<ManagementAgentType> getManagementAgents()
public ComanagementEligibleDeviceEntity withManagementAgents(ManagementAgentType managementAgents)
this with just the managementAgents
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.
“ManagementAgents”
managementAgents - new value of managementAgents field (as defined in service metadata)this with just the managementAgents field changedpublic Optional<ManagementState> getManagementState()
public ComanagementEligibleDeviceEntity withManagementState(ManagementState managementState)
this with just the managementState
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.
“ManagementState”
managementState - new value of managementState field (as defined in service metadata)this with just the managementState field changedpublic ComanagementEligibleDeviceEntity withReferenceId(String referenceId)
this with just the referenceId
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.
“ReferenceId”
referenceId - new value of referenceId field (as defined in service metadata)this with just the referenceId field changedpublic ComanagementEligibleDeviceEntity withMdmStatus(String mdmStatus)
this with just the mdmStatus 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.
“MDMStatus”
mdmStatus - new value of mdmStatus field (as defined in service metadata)this with just the mdmStatus field changedpublic ComanagementEligibleDeviceEntity withOsVersion(String osVersion)
this with just the osVersion 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.
“OSVersion”
osVersion - new value of osVersion field (as defined in service metadata)this with just the osVersion field changedpublic Optional<String> getSerialNumber()
public ComanagementEligibleDeviceEntity 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.
“SerialNumber”
serialNumber - new value of serialNumber field (as defined in service metadata)this with just the serialNumber field changedpublic Optional<String> getManufacturer()
public ComanagementEligibleDeviceEntity withManufacturer(String manufacturer)
this with just the manufacturer
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.
“Manufacturer”
manufacturer - new value of manufacturer field (as defined in service metadata)this with just the manufacturer field changedpublic ComanagementEligibleDeviceEntity withModel(String model)
this with just the model 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.
“Model”
model - new value of model field (as defined in service metadata)this with just the model field changedpublic Optional<String> getOsDescription()
public ComanagementEligibleDeviceEntity withOsDescription(String osDescription)
this with just the osDescription
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.
“OSDescription”
osDescription - new value of osDescription field (as defined in service metadata)this with just the osDescription field changedpublic Optional<Integer> getEntitySource()
public ComanagementEligibleDeviceEntity withEntitySource(Integer entitySource)
this with just the entitySource
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.
“EntitySource”
entitySource - new value of entitySource field (as defined in service metadata)this with just the entitySource field changedpublic ComanagementEligibleDeviceEntity withUserId(String userId)
this with just the userId 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.
“UserId”
userId - new value of userId field (as defined in service metadata)this with just the userId field changedpublic ComanagementEligibleDeviceEntity withUpn(String upn)
this with just the upn 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.
“UPN”
upn - new value of upn field (as defined in service metadata)this with just the upn field changedpublic ComanagementEligibleDeviceEntity withUserEmail(String userEmail)
this with just the userEmail 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.
“UserEmail”
userEmail - new value of userEmail field (as defined in service metadata)this with just the userEmail field changedpublic ComanagementEligibleDeviceEntity withUserName(String userName)
this with just the userName 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.
“UserName”
userName - new value of userName field (as defined in service metadata)this with just the userName field changedpublic Optional<CoManagementEligibleType> getCoManageEligibleStatus()
public ComanagementEligibleDeviceEntity withCoManageEligibleStatus(CoManagementEligibleType coManageEligibleStatus)
this with just the coManageEligibleStatus 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.
“CoManageEligibleStatus”
coManageEligibleStatus - new value of coManageEligibleStatus field (as defined in service metadata)this with just the coManageEligibleStatus field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic ComanagementEligibleDeviceEntity patch()
this with changed fields reset.public ComanagementEligibleDeviceEntity put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.