public class WindowsManagementAppHealthState extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
WindowsManagementAppHealthState.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
deviceName |
protected String |
deviceOSVersion |
protected HealthState |
healthState |
protected String |
installedVersion |
protected OffsetDateTime |
lastCheckInDateTime |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
WindowsManagementAppHealthState() |
| Modifier and Type | Method and Description |
|---|---|
static WindowsManagementAppHealthState.Builder |
builderWindowsManagementAppHealthState()
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<String> |
getDeviceName()
“Name of the device on which Windows management app is installed.”
|
Optional<String> |
getDeviceOSVersion()
“Windows 10 OS version of the device on which Windows management app is installed
.”
|
Optional<HealthState> |
getHealthState()
“Windows management app health state.”
|
Optional<String> |
getInstalledVersion()
“Windows management app installed version.”
|
Optional<OffsetDateTime> |
getLastCheckInDateTime()
“Windows management app last check-in time.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
WindowsManagementAppHealthState |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
WindowsManagementAppHealthState |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
WindowsManagementAppHealthState |
withDeviceName(String deviceName)
Returns an immutable copy of
this with just the deviceName field
changed. |
WindowsManagementAppHealthState |
withDeviceOSVersion(String deviceOSVersion)
Returns an immutable copy of
this with just the deviceOSVersion
field changed. |
WindowsManagementAppHealthState |
withHealthState(HealthState healthState)
Returns an immutable copy of
this with just the healthState
field changed. |
WindowsManagementAppHealthState |
withInstalledVersion(String installedVersion)
Returns an immutable copy of
this with just the installedVersion
field changed. |
WindowsManagementAppHealthState |
withLastCheckInDateTime(OffsetDateTime lastCheckInDateTime)
Returns an immutable copy of
this with just the lastCheckInDateTime field changed. |
protected HealthState healthState
protected String installedVersion
protected OffsetDateTime lastCheckInDateTime
protected String deviceName
protected String deviceOSVersion
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static WindowsManagementAppHealthState.Builder builderWindowsManagementAppHealthState()
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<HealthState> getHealthState()
public WindowsManagementAppHealthState withHealthState(HealthState healthState)
this with just the healthState
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.
“Windows management app health state.”
healthState - new value of healthState field (as defined in service metadata)this with just the healthState field changedpublic Optional<String> getInstalledVersion()
public WindowsManagementAppHealthState withInstalledVersion(String installedVersion)
this with just the installedVersion
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.
“Windows management app installed version.”
installedVersion - new value of installedVersion field (as defined in service metadata)this with just the installedVersion field changedpublic Optional<OffsetDateTime> getLastCheckInDateTime()
public WindowsManagementAppHealthState withLastCheckInDateTime(OffsetDateTime lastCheckInDateTime)
this with just the lastCheckInDateTime 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.
“Windows management app last check-in time.”
lastCheckInDateTime - new value of lastCheckInDateTime field (as defined in service metadata)this with just the lastCheckInDateTime field changedpublic Optional<String> getDeviceName()
public WindowsManagementAppHealthState 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.
“Name of the device on which Windows management app is installed.”
deviceName - new value of deviceName field (as defined in service metadata)this with just the deviceName field changedpublic Optional<String> getDeviceOSVersion()
public WindowsManagementAppHealthState withDeviceOSVersion(String deviceOSVersion)
this with just the deviceOSVersion
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.
“Windows 10 OS version of the device on which Windows management app is installed .”
deviceOSVersion - new value of deviceOSVersion field (as defined in service metadata)this with just the deviceOSVersion field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic WindowsManagementAppHealthState patch()
this with changed fields reset.public WindowsManagementAppHealthState put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.