Package odata.msgraph.client.entity
Class DeviceConfigurationDeviceStateSummary
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.DeviceConfigurationDeviceStateSummary
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class DeviceConfigurationDeviceStateSummary extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceConfigurationDeviceStateSummary.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegercompliantDeviceCountprotected IntegerconflictDeviceCountprotected IntegererrorDeviceCountprotected IntegernonCompliantDeviceCountprotected IntegernotApplicableDeviceCountprotected IntegerremediatedDeviceCountprotected IntegerunknownDeviceCount-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceConfigurationDeviceStateSummary()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceConfigurationDeviceStateSummary.BuilderbuilderDeviceConfigurationDeviceStateSummary()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>getConflictDeviceCount()“Number of conflict devices”Optional<Integer>getErrorDeviceCount()“Number of error devices”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()DeviceConfigurationDeviceStateSummarypatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DeviceConfigurationDeviceStateSummaryput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()DeviceConfigurationDeviceStateSummarywithCompliantDeviceCount(Integer compliantDeviceCount)Returns an immutable copy ofthiswith just thecompliantDeviceCountfield changed.DeviceConfigurationDeviceStateSummarywithConflictDeviceCount(Integer conflictDeviceCount)Returns an immutable copy ofthiswith just theconflictDeviceCountfield changed.DeviceConfigurationDeviceStateSummarywithErrorDeviceCount(Integer errorDeviceCount)Returns an immutable copy ofthiswith just theerrorDeviceCountfield changed.DeviceConfigurationDeviceStateSummarywithNonCompliantDeviceCount(Integer nonCompliantDeviceCount)Returns an immutable copy ofthiswith just thenonCompliantDeviceCountfield changed.DeviceConfigurationDeviceStateSummarywithNotApplicableDeviceCount(Integer notApplicableDeviceCount)Returns an immutable copy ofthiswith just thenotApplicableDeviceCountfield changed.DeviceConfigurationDeviceStateSummarywithRemediatedDeviceCount(Integer remediatedDeviceCount)Returns an immutable copy ofthiswith just theremediatedDeviceCountfield changed.DeviceConfigurationDeviceStateSummarywithUnknownDeviceCount(Integer unknownDeviceCount)Returns an immutable copy ofthiswith just theunknownDeviceCountfield changed.DeviceConfigurationDeviceStateSummarywithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
compliantDeviceCount
protected Integer compliantDeviceCount
-
conflictDeviceCount
protected Integer conflictDeviceCount
-
errorDeviceCount
protected Integer errorDeviceCount
-
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
-
builderDeviceConfigurationDeviceStateSummary
public static DeviceConfigurationDeviceStateSummary.Builder builderDeviceConfigurationDeviceStateSummary()
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 DeviceConfigurationDeviceStateSummary 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
-
getConflictDeviceCount
public Optional<Integer> getConflictDeviceCount()
“Number of conflict devices”- Returns:
- property conflictDeviceCount
-
withConflictDeviceCount
public DeviceConfigurationDeviceStateSummary 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 DeviceConfigurationDeviceStateSummary 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
-
getNonCompliantDeviceCount
public Optional<Integer> getNonCompliantDeviceCount()
“Number of NonCompliant devices”- Returns:
- property nonCompliantDeviceCount
-
withNonCompliantDeviceCount
public DeviceConfigurationDeviceStateSummary 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 DeviceConfigurationDeviceStateSummary 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 DeviceConfigurationDeviceStateSummary 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 DeviceConfigurationDeviceStateSummary 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 DeviceConfigurationDeviceStateSummary withUnmappedField(String name, Object 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 DeviceConfigurationDeviceStateSummary patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public DeviceConfigurationDeviceStateSummary put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-