public class ComanagementEligibleDevice extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
ComanagementEligibleDevice.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected DeviceRegistrationState |
clientRegistrationStatus |
protected String |
deviceName |
protected DeviceType |
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 ComanagementEligibleType |
status |
protected String |
upn |
protected String |
userEmail |
protected String |
userId |
protected String |
userName |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
ComanagementEligibleDevice() |
| Modifier and Type | Method and Description |
|---|---|
static ComanagementEligibleDevice.Builder |
builderComanagementEligibleDevice()
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<String> |
getDeviceName()
“DeviceName”
|
Optional<DeviceType> |
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”
|
Optional<ComanagementEligibleType> |
getStatus()
“ComanagementEligibleStatus”
|
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() |
ComanagementEligibleDevice |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
ComanagementEligibleDevice |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
ComanagementEligibleDevice |
withClientRegistrationStatus(DeviceRegistrationState clientRegistrationStatus)
Returns an immutable copy of
this with just the clientRegistrationStatus field changed. |
ComanagementEligibleDevice |
withDeviceName(String deviceName)
Returns an immutable copy of
this with just the deviceName field
changed. |
ComanagementEligibleDevice |
withDeviceType(DeviceType deviceType)
Returns an immutable copy of
this with just the deviceType field
changed. |
ComanagementEligibleDevice |
withEntitySource(Integer entitySource)
Returns an immutable copy of
this with just the entitySource
field changed. |
ComanagementEligibleDevice |
withManagementAgents(ManagementAgentType managementAgents)
Returns an immutable copy of
this with just the managementAgents
field changed. |
ComanagementEligibleDevice |
withManagementState(ManagementState managementState)
Returns an immutable copy of
this with just the managementState
field changed. |
ComanagementEligibleDevice |
withManufacturer(String manufacturer)
Returns an immutable copy of
this with just the manufacturer
field changed. |
ComanagementEligibleDevice |
withMdmStatus(String mdmStatus)
Returns an immutable copy of
this with just the mdmStatus field
changed. |
ComanagementEligibleDevice |
withModel(String model)
Returns an immutable copy of
this with just the model field
changed. |
ComanagementEligibleDevice |
withOsDescription(String osDescription)
Returns an immutable copy of
this with just the osDescription
field changed. |
ComanagementEligibleDevice |
withOsVersion(String osVersion)
Returns an immutable copy of
this with just the osVersion field
changed. |
ComanagementEligibleDevice |
withOwnerType(OwnerType ownerType)
Returns an immutable copy of
this with just the ownerType field
changed. |
ComanagementEligibleDevice |
withReferenceId(String referenceId)
Returns an immutable copy of
this with just the referenceId
field changed. |
ComanagementEligibleDevice |
withSerialNumber(String serialNumber)
Returns an immutable copy of
this with just the serialNumber
field changed. |
ComanagementEligibleDevice |
withStatus(ComanagementEligibleType status)
Returns an immutable copy of
this with just the status field
changed. |
ComanagementEligibleDevice |
withUpn(String upn)
Returns an immutable copy of
this with just the upn field
changed. |
ComanagementEligibleDevice |
withUserEmail(String userEmail)
Returns an immutable copy of
this with just the userEmail field
changed. |
ComanagementEligibleDevice |
withUserId(String userId)
Returns an immutable copy of
this with just the userId field
changed. |
ComanagementEligibleDevice |
withUserName(String userName)
Returns an immutable copy of
this with just the userName field
changed. |
protected String deviceName
protected DeviceType 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 status
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static ComanagementEligibleDevice.Builder builderComanagementEligibleDevice()
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 ComanagementEligibleDevice 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 Optional<DeviceType> getDeviceType()
public ComanagementEligibleDevice withDeviceType(DeviceType 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 ComanagementEligibleDevice 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 ComanagementEligibleDevice 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 ComanagementEligibleDevice 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 ComanagementEligibleDevice 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 ComanagementEligibleDevice 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 ComanagementEligibleDevice 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 ComanagementEligibleDevice 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 ComanagementEligibleDevice 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 ComanagementEligibleDevice 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 ComanagementEligibleDevice 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 ComanagementEligibleDevice 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 ComanagementEligibleDevice 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 ComanagementEligibleDevice 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 ComanagementEligibleDevice 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 ComanagementEligibleDevice 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 ComanagementEligibleDevice 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> getStatus()
public ComanagementEligibleDevice withStatus(ComanagementEligibleType status)
this with just the status 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.
“ComanagementEligibleStatus”
status - new value of status field (as defined in service metadata)this with just the status field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic ComanagementEligibleDevice patch()
this with changed fields reset.public ComanagementEligibleDevice put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.