Package odata.msgraph.client.beta.entity
Class DeviceCompliancePolicyDeviceStateSummary
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceCompliancePolicyDeviceStateSummary
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class DeviceCompliancePolicyDeviceStateSummary extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceCompliancePolicyDeviceStateSummary.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegercompliantDeviceCountprotected IntegerconfigManagerCountprotected IntegerconflictDeviceCountprotected IntegererrorDeviceCountprotected IntegerinGracePeriodCountprotected IntegernonCompliantDeviceCountprotected IntegernotApplicableDeviceCountprotected IntegerremediatedDeviceCountprotected IntegerunknownDeviceCount-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceCompliancePolicyDeviceStateSummary()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceCompliancePolicyDeviceStateSummary.BuilderbuilderDeviceCompliancePolicyDeviceStateSummary()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<Integer>getCompliantDeviceCount()“Number of compliant devices”Optional<Integer>getConfigManagerCount()“Number of devices that have compliance managed by System Center Configuration Manager”Optional<Integer>getConflictDeviceCount()“Number of conflict devices”Optional<Integer>getErrorDeviceCount()“Number of error devices”Optional<Integer>getInGracePeriodCount()“Number of devices that are in grace period”Optional<Integer>getNonCompliantDeviceCount()“Number of NonCompliant devices”Optional<Integer>getNotApplicableDeviceCount()“Number of not applicable devices”Optional<Integer>getRemediatedDeviceCount()“Number of remediated devices”Optional<Integer>getUnknownDeviceCount()“Number of unknown devices”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()DeviceCompliancePolicyDeviceStateSummarypatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DeviceCompliancePolicyDeviceStateSummaryput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()DeviceCompliancePolicyDeviceStateSummarywithCompliantDeviceCount(Integer compliantDeviceCount)Returns an immutable copy ofthiswith just thecompliantDeviceCountfield changed.DeviceCompliancePolicyDeviceStateSummarywithConfigManagerCount(Integer configManagerCount)Returns an immutable copy ofthiswith just theconfigManagerCountfield changed.DeviceCompliancePolicyDeviceStateSummarywithConflictDeviceCount(Integer conflictDeviceCount)Returns an immutable copy ofthiswith just theconflictDeviceCountfield changed.DeviceCompliancePolicyDeviceStateSummarywithErrorDeviceCount(Integer errorDeviceCount)Returns an immutable copy ofthiswith just theerrorDeviceCountfield changed.DeviceCompliancePolicyDeviceStateSummarywithInGracePeriodCount(Integer inGracePeriodCount)Returns an immutable copy ofthiswith just theinGracePeriodCountfield changed.DeviceCompliancePolicyDeviceStateSummarywithNonCompliantDeviceCount(Integer nonCompliantDeviceCount)Returns an immutable copy ofthiswith just thenonCompliantDeviceCountfield changed.DeviceCompliancePolicyDeviceStateSummarywithNotApplicableDeviceCount(Integer notApplicableDeviceCount)Returns an immutable copy ofthiswith just thenotApplicableDeviceCountfield changed.DeviceCompliancePolicyDeviceStateSummarywithRemediatedDeviceCount(Integer remediatedDeviceCount)Returns an immutable copy ofthiswith just theremediatedDeviceCountfield changed.DeviceCompliancePolicyDeviceStateSummarywithUnknownDeviceCount(Integer unknownDeviceCount)Returns an immutable copy ofthiswith just theunknownDeviceCountfield changed.DeviceCompliancePolicyDeviceStateSummarywithUnmappedField(String name, String value)
-
-
-
Field Detail
-
compliantDeviceCount
protected Integer compliantDeviceCount
-
configManagerCount
protected Integer configManagerCount
-
conflictDeviceCount
protected Integer conflictDeviceCount
-
errorDeviceCount
protected Integer errorDeviceCount
-
inGracePeriodCount
protected Integer inGracePeriodCount
-
nonCompliantDeviceCount
protected Integer nonCompliantDeviceCount
-
notApplicableDeviceCount
protected Integer notApplicableDeviceCount
-
remediatedDeviceCount
protected Integer remediatedDeviceCount
-
unknownDeviceCount
protected Integer unknownDeviceCount
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderDeviceCompliancePolicyDeviceStateSummary
public static DeviceCompliancePolicyDeviceStateSummary.Builder builderDeviceCompliancePolicyDeviceStateSummary()
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
-
getCompliantDeviceCount
public Optional<Integer> getCompliantDeviceCount()
“Number of compliant devices”- Returns:
- property compliantDeviceCount
-
withCompliantDeviceCount
public DeviceCompliancePolicyDeviceStateSummary 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.“Number of compliant devices”
- Parameters:
compliantDeviceCount- new value ofcompliantDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecompliantDeviceCountfield changed
-
getConfigManagerCount
public Optional<Integer> getConfigManagerCount()
“Number of devices that have compliance managed by System Center Configuration Manager”- Returns:
- property configManagerCount
-
withConfigManagerCount
public DeviceCompliancePolicyDeviceStateSummary withConfigManagerCount(Integer configManagerCount)
Returns an immutable copy ofthiswith just theconfigManagerCountfield 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.“Number of devices that have compliance managed by System Center Configuration Manager”
- Parameters:
configManagerCount- new value ofconfigManagerCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theconfigManagerCountfield changed
-
getConflictDeviceCount
public Optional<Integer> getConflictDeviceCount()
“Number of conflict devices”- Returns:
- property conflictDeviceCount
-
withConflictDeviceCount
public DeviceCompliancePolicyDeviceStateSummary withConflictDeviceCount(Integer conflictDeviceCount)
Returns an immutable copy ofthiswith just theconflictDeviceCountfield 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.“Number of conflict devices”
- Parameters:
conflictDeviceCount- new value ofconflictDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theconflictDeviceCountfield changed
-
getErrorDeviceCount
public Optional<Integer> getErrorDeviceCount()
“Number of error devices”- Returns:
- property errorDeviceCount
-
withErrorDeviceCount
public DeviceCompliancePolicyDeviceStateSummary withErrorDeviceCount(Integer errorDeviceCount)
Returns an immutable copy ofthiswith just theerrorDeviceCountfield 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.“Number of error devices”
- Parameters:
errorDeviceCount- new value oferrorDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theerrorDeviceCountfield changed
-
getInGracePeriodCount
public Optional<Integer> getInGracePeriodCount()
“Number of devices that are in grace period”- Returns:
- property inGracePeriodCount
-
withInGracePeriodCount
public DeviceCompliancePolicyDeviceStateSummary withInGracePeriodCount(Integer inGracePeriodCount)
Returns an immutable copy ofthiswith just theinGracePeriodCountfield 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.“Number of devices that are in grace period”
- Parameters:
inGracePeriodCount- new value ofinGracePeriodCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theinGracePeriodCountfield changed
-
getNonCompliantDeviceCount
public Optional<Integer> getNonCompliantDeviceCount()
“Number of NonCompliant devices”- Returns:
- property nonCompliantDeviceCount
-
withNonCompliantDeviceCount
public DeviceCompliancePolicyDeviceStateSummary 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.“Number of NonCompliant devices”
- Parameters:
nonCompliantDeviceCount- new value ofnonCompliantDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenonCompliantDeviceCountfield changed
-
getNotApplicableDeviceCount
public Optional<Integer> getNotApplicableDeviceCount()
“Number of not applicable devices”- Returns:
- property notApplicableDeviceCount
-
withNotApplicableDeviceCount
public DeviceCompliancePolicyDeviceStateSummary withNotApplicableDeviceCount(Integer notApplicableDeviceCount)
Returns an immutable copy ofthiswith just thenotApplicableDeviceCountfield 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.“Number of not applicable devices”
- Parameters:
notApplicableDeviceCount- new value ofnotApplicableDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenotApplicableDeviceCountfield changed
-
getRemediatedDeviceCount
public Optional<Integer> getRemediatedDeviceCount()
“Number of remediated devices”- Returns:
- property remediatedDeviceCount
-
withRemediatedDeviceCount
public DeviceCompliancePolicyDeviceStateSummary 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.“Number of remediated devices”
- Parameters:
remediatedDeviceCount- new value ofremediatedDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theremediatedDeviceCountfield changed
-
getUnknownDeviceCount
public Optional<Integer> getUnknownDeviceCount()
“Number of unknown devices”- Returns:
- property unknownDeviceCount
-
withUnknownDeviceCount
public DeviceCompliancePolicyDeviceStateSummary withUnknownDeviceCount(Integer unknownDeviceCount)
Returns an immutable copy ofthiswith just theunknownDeviceCountfield 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.“Number of unknown devices”
- Parameters:
unknownDeviceCount- new value ofunknownDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theunknownDeviceCountfield changed
-
withUnmappedField
public DeviceCompliancePolicyDeviceStateSummary 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 DeviceCompliancePolicyDeviceStateSummary patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public DeviceCompliancePolicyDeviceStateSummary put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-