Package odata.msgraph.client.beta.entity
Class WindowsManagementAppHealthState
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.WindowsManagementAppHealthState
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class WindowsManagementAppHealthState extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Windows management app health state entity.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsManagementAppHealthState.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringdeviceNameprotected StringdeviceOSVersionprotected HealthStatehealthStateprotected StringinstalledVersionprotected OffsetDateTimelastCheckInDateTime-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsManagementAppHealthState()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsManagementAppHealthState.BuilderbuilderWindowsManagementAppHealthState()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.ChangedFieldsgetChangedFields()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.UnmappedFieldsgetUnmappedFields()StringodataTypeName()WindowsManagementAppHealthStatepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)WindowsManagementAppHealthStateput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()WindowsManagementAppHealthStatewithDeviceName(String deviceName)Returns an immutable copy ofthiswith just thedeviceNamefield changed.WindowsManagementAppHealthStatewithDeviceOSVersion(String deviceOSVersion)Returns an immutable copy ofthiswith just thedeviceOSVersionfield changed.WindowsManagementAppHealthStatewithHealthState(HealthState healthState)Returns an immutable copy ofthiswith just thehealthStatefield changed.WindowsManagementAppHealthStatewithInstalledVersion(String installedVersion)Returns an immutable copy ofthiswith just theinstalledVersionfield changed.WindowsManagementAppHealthStatewithLastCheckInDateTime(OffsetDateTime lastCheckInDateTime)Returns an immutable copy ofthiswith just thelastCheckInDateTimefield changed.WindowsManagementAppHealthStatewithUnmappedField(String name, String value)
-
-
-
Field Detail
-
deviceName
protected String deviceName
-
deviceOSVersion
protected String deviceOSVersion
-
healthState
protected HealthState healthState
-
installedVersion
protected String installedVersion
-
lastCheckInDateTime
protected OffsetDateTime lastCheckInDateTime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderWindowsManagementAppHealthState
public static WindowsManagementAppHealthState.Builder builderWindowsManagementAppHealthState()
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 classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getDeviceName
public Optional<String> getDeviceName()
“Name of the device on which Windows management app is installed.”- Returns:
- property deviceName
-
withDeviceName
public WindowsManagementAppHealthState withDeviceName(String deviceName)
Returns an immutable copy ofthiswith just thedeviceNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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.”
- Parameters:
deviceName- new value ofdeviceNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceNamefield changed
-
getDeviceOSVersion
public Optional<String> getDeviceOSVersion()
“Windows 10 OS version of the device on which Windows management app is installed .”- Returns:
- property deviceOSVersion
-
withDeviceOSVersion
public WindowsManagementAppHealthState withDeviceOSVersion(String deviceOSVersion)
Returns an immutable copy ofthiswith just thedeviceOSVersionfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 .”
- Parameters:
deviceOSVersion- new value ofdeviceOSVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceOSVersionfield changed
-
getHealthState
public Optional<HealthState> getHealthState()
“Windows management app health state.”- Returns:
- property healthState
-
withHealthState
public WindowsManagementAppHealthState withHealthState(HealthState healthState)
Returns an immutable copy ofthiswith just thehealthStatefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Windows management app health state.”
- Parameters:
healthState- new value ofhealthStatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thehealthStatefield changed
-
getInstalledVersion
public Optional<String> getInstalledVersion()
“Windows management app installed version.”- Returns:
- property installedVersion
-
withInstalledVersion
public WindowsManagementAppHealthState withInstalledVersion(String installedVersion)
Returns an immutable copy ofthiswith just theinstalledVersionfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Windows management app installed version.”
- Parameters:
installedVersion- new value ofinstalledVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theinstalledVersionfield changed
-
getLastCheckInDateTime
public Optional<OffsetDateTime> getLastCheckInDateTime()
“Windows management app last check-in time.”- Returns:
- property lastCheckInDateTime
-
withLastCheckInDateTime
public WindowsManagementAppHealthState withLastCheckInDateTime(OffsetDateTime lastCheckInDateTime)
Returns an immutable copy ofthiswith just thelastCheckInDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Windows management app last check-in time.”
- Parameters:
lastCheckInDateTime- new value oflastCheckInDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastCheckInDateTimefield changed
-
withUnmappedField
public WindowsManagementAppHealthState withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public WindowsManagementAppHealthState patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public WindowsManagementAppHealthState put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-