Class DeviceHealthScriptRemediationSummary
- java.lang.Object
-
- odata.msgraph.client.beta.complex.DeviceHealthScriptRemediationSummary
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class DeviceHealthScriptRemediationSummary extends Object implements com.github.davidmoten.odata.client.ODataType
“The number of device health scripts deployed and the number of devices the scripts remediated.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceHealthScriptRemediationSummary.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringodataTypeprotected IntegerremediatedDeviceCountprotected IntegerscriptCountprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceHealthScriptRemediationSummary()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceHealthScriptRemediationSummary.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Integer>getRemediatedDeviceCount()“The number of devices remediated by device health scripts.”Optional<Integer>getScriptCount()“The number of device health scripts deployed.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()DeviceHealthScriptRemediationSummarywithRemediatedDeviceCount(Integer remediatedDeviceCount)Returns an immutable copy ofthiswith just theremediatedDeviceCountfield changed.DeviceHealthScriptRemediationSummarywithScriptCount(Integer scriptCount)Returns an immutable copy ofthiswith just thescriptCountfield changed.DeviceHealthScriptRemediationSummarywithUnmappedField(String name, String value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
remediatedDeviceCount
protected Integer remediatedDeviceCount
-
scriptCount
protected Integer scriptCount
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getRemediatedDeviceCount
public Optional<Integer> getRemediatedDeviceCount()
“The number of devices remediated by device health scripts.”- Returns:
- property remediatedDeviceCount
-
withRemediatedDeviceCount
public DeviceHealthScriptRemediationSummary withRemediatedDeviceCount(Integer remediatedDeviceCount)
Returns an immutable copy ofthiswith just theremediatedDeviceCountfield 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.“The number of devices remediated by device health scripts.”
- Parameters:
remediatedDeviceCount- new value ofremediatedDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theremediatedDeviceCountfield changed
-
getScriptCount
public Optional<Integer> getScriptCount()
“The number of device health scripts deployed.”- Returns:
- property scriptCount
-
withScriptCount
public DeviceHealthScriptRemediationSummary withScriptCount(Integer scriptCount)
Returns an immutable copy ofthiswith just thescriptCountfield 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.“The number of device health scripts deployed.”
- Parameters:
scriptCount- new value ofscriptCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thescriptCountfield changed
-
withUnmappedField
public DeviceHealthScriptRemediationSummary withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static DeviceHealthScriptRemediationSummary.Builder builder()
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
-
-