Class ConfigManagerPolicySummary
- java.lang.Object
-
- odata.msgraph.client.beta.complex.ConfigManagerPolicySummary
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class ConfigManagerPolicySummary extends Object implements com.github.davidmoten.odata.client.ODataType
“A ConfigManager policy summary.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConfigManagerPolicySummary.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegercompliantDeviceCountprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected IntegerenforcedDeviceCountprotected IntegerfailedDeviceCountprotected IntegernonCompliantDeviceCountprotected StringodataTypeprotected IntegerpendingDeviceCountprotected IntegertargetedDeviceCountprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedConfigManagerPolicySummary()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConfigManagerPolicySummary.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Integer>getCompliantDeviceCount()“The number of devices evaluated to be compliant by the policy.”Optional<Integer>getEnforcedDeviceCount()“The number of devices that have have been remediated by the policy.”Optional<Integer>getFailedDeviceCount()“The number of devices that failed to be evaluated by the policy.”Optional<Integer>getNonCompliantDeviceCount()“The number of devices evaluated to be noncompliant by the policy.”Optional<Integer>getPendingDeviceCount()“The number of devices that have acknowledged the policy but are pending evaluation.”Optional<Integer>getTargetedDeviceCount()“The number of devices targeted by the policy.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()ConfigManagerPolicySummarywithCompliantDeviceCount(Integer compliantDeviceCount)Returns an immutable copy ofthiswith just thecompliantDeviceCountfield changed.ConfigManagerPolicySummarywithEnforcedDeviceCount(Integer enforcedDeviceCount)Returns an immutable copy ofthiswith just theenforcedDeviceCountfield changed.ConfigManagerPolicySummarywithFailedDeviceCount(Integer failedDeviceCount)Returns an immutable copy ofthiswith just thefailedDeviceCountfield changed.ConfigManagerPolicySummarywithNonCompliantDeviceCount(Integer nonCompliantDeviceCount)Returns an immutable copy ofthiswith just thenonCompliantDeviceCountfield changed.ConfigManagerPolicySummarywithPendingDeviceCount(Integer pendingDeviceCount)Returns an immutable copy ofthiswith just thependingDeviceCountfield changed.ConfigManagerPolicySummarywithTargetedDeviceCount(Integer targetedDeviceCount)Returns an immutable copy ofthiswith just thetargetedDeviceCountfield changed.ConfigManagerPolicySummarywithUnmappedField(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
-
compliantDeviceCount
protected Integer compliantDeviceCount
-
enforcedDeviceCount
protected Integer enforcedDeviceCount
-
failedDeviceCount
protected Integer failedDeviceCount
-
nonCompliantDeviceCount
protected Integer nonCompliantDeviceCount
-
pendingDeviceCount
protected Integer pendingDeviceCount
-
targetedDeviceCount
protected Integer targetedDeviceCount
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getCompliantDeviceCount
public Optional<Integer> getCompliantDeviceCount()
“The number of devices evaluated to be compliant by the policy.”- Returns:
- property compliantDeviceCount
-
withCompliantDeviceCount
public ConfigManagerPolicySummary withCompliantDeviceCount(Integer compliantDeviceCount)
Returns an immutable copy ofthiswith just thecompliantDeviceCountfield 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 evaluated to be compliant by the policy.”
- Parameters:
compliantDeviceCount- new value ofcompliantDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecompliantDeviceCountfield changed
-
getEnforcedDeviceCount
public Optional<Integer> getEnforcedDeviceCount()
“The number of devices that have have been remediated by the policy.”- Returns:
- property enforcedDeviceCount
-
withEnforcedDeviceCount
public ConfigManagerPolicySummary withEnforcedDeviceCount(Integer enforcedDeviceCount)
Returns an immutable copy ofthiswith just theenforcedDeviceCountfield 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 that have have been remediated by the policy.”
- Parameters:
enforcedDeviceCount- new value ofenforcedDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theenforcedDeviceCountfield changed
-
getFailedDeviceCount
public Optional<Integer> getFailedDeviceCount()
“The number of devices that failed to be evaluated by the policy.”- Returns:
- property failedDeviceCount
-
withFailedDeviceCount
public ConfigManagerPolicySummary withFailedDeviceCount(Integer failedDeviceCount)
Returns an immutable copy ofthiswith just thefailedDeviceCountfield 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 that failed to be evaluated by the policy.”
- Parameters:
failedDeviceCount- new value offailedDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefailedDeviceCountfield changed
-
getNonCompliantDeviceCount
public Optional<Integer> getNonCompliantDeviceCount()
“The number of devices evaluated to be noncompliant by the policy.”- Returns:
- property nonCompliantDeviceCount
-
withNonCompliantDeviceCount
public ConfigManagerPolicySummary withNonCompliantDeviceCount(Integer nonCompliantDeviceCount)
Returns an immutable copy ofthiswith just thenonCompliantDeviceCountfield 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 evaluated to be noncompliant by the policy.”
- Parameters:
nonCompliantDeviceCount- new value ofnonCompliantDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenonCompliantDeviceCountfield changed
-
getPendingDeviceCount
public Optional<Integer> getPendingDeviceCount()
“The number of devices that have acknowledged the policy but are pending evaluation.”- Returns:
- property pendingDeviceCount
-
withPendingDeviceCount
public ConfigManagerPolicySummary withPendingDeviceCount(Integer pendingDeviceCount)
Returns an immutable copy ofthiswith just thependingDeviceCountfield 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 that have acknowledged the policy but are pending evaluation.”
- Parameters:
pendingDeviceCount- new value ofpendingDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thependingDeviceCountfield changed
-
getTargetedDeviceCount
public Optional<Integer> getTargetedDeviceCount()
“The number of devices targeted by the policy.”- Returns:
- property targetedDeviceCount
-
withTargetedDeviceCount
public ConfigManagerPolicySummary withTargetedDeviceCount(Integer targetedDeviceCount)
Returns an immutable copy ofthiswith just thetargetedDeviceCountfield 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 targeted by the policy.”
- Parameters:
targetedDeviceCount- new value oftargetedDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetargetedDeviceCountfield changed
-
withUnmappedField
public ConfigManagerPolicySummary 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 ConfigManagerPolicySummary.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
-
-