Package odata.msgraph.client.beta.entity
Class DeviceManagementIntentDeviceStateSummary
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceManagementIntentDeviceStateSummary
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class DeviceManagementIntentDeviceStateSummary extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Entity that represents device state summary for an intent”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceManagementIntentDeviceStateSummary.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegerconflictCountprotected IntegererrorCountprotected IntegerfailedCountprotected IntegernotApplicableCountprotected IntegernotApplicablePlatformCountprotected IntegersuccessCount-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceManagementIntentDeviceStateSummary()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceManagementIntentDeviceStateSummary.BuilderbuilderDeviceManagementIntentDeviceStateSummary()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>getConflictCount()“Number of devices in conflict”Optional<Integer>getErrorCount()“Number of error devices”Optional<Integer>getFailedCount()“Number of failed devices”Optional<Integer>getNotApplicableCount()“Number of not applicable devices”Optional<Integer>getNotApplicablePlatformCount()“Number of not applicable devices due to mismatch platform and policy”Optional<Integer>getSuccessCount()“Number of succeeded devices”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()DeviceManagementIntentDeviceStateSummarypatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DeviceManagementIntentDeviceStateSummaryput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()DeviceManagementIntentDeviceStateSummarywithConflictCount(Integer conflictCount)Returns an immutable copy ofthiswith just theconflictCountfield changed.DeviceManagementIntentDeviceStateSummarywithErrorCount(Integer errorCount)Returns an immutable copy ofthiswith just theerrorCountfield changed.DeviceManagementIntentDeviceStateSummarywithFailedCount(Integer failedCount)Returns an immutable copy ofthiswith just thefailedCountfield changed.DeviceManagementIntentDeviceStateSummarywithNotApplicableCount(Integer notApplicableCount)Returns an immutable copy ofthiswith just thenotApplicableCountfield changed.DeviceManagementIntentDeviceStateSummarywithNotApplicablePlatformCount(Integer notApplicablePlatformCount)Returns an immutable copy ofthiswith just thenotApplicablePlatformCountfield changed.DeviceManagementIntentDeviceStateSummarywithSuccessCount(Integer successCount)Returns an immutable copy ofthiswith just thesuccessCountfield changed.DeviceManagementIntentDeviceStateSummarywithUnmappedField(String name, String value)
-
-
-
Field Detail
-
conflictCount
protected Integer conflictCount
-
errorCount
protected Integer errorCount
-
failedCount
protected Integer failedCount
-
notApplicableCount
protected Integer notApplicableCount
-
notApplicablePlatformCount
protected Integer notApplicablePlatformCount
-
successCount
protected Integer successCount
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderDeviceManagementIntentDeviceStateSummary
public static DeviceManagementIntentDeviceStateSummary.Builder builderDeviceManagementIntentDeviceStateSummary()
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
-
getConflictCount
public Optional<Integer> getConflictCount()
“Number of devices in conflict”- Returns:
- property conflictCount
-
withConflictCount
public DeviceManagementIntentDeviceStateSummary withConflictCount(Integer conflictCount)
Returns an immutable copy ofthiswith just theconflictCountfield 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 in conflict”
- Parameters:
conflictCount- new value ofconflictCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theconflictCountfield changed
-
getErrorCount
public Optional<Integer> getErrorCount()
“Number of error devices”- Returns:
- property errorCount
-
withErrorCount
public DeviceManagementIntentDeviceStateSummary withErrorCount(Integer errorCount)
Returns an immutable copy ofthiswith just theerrorCountfield 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:
errorCount- new value oferrorCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theerrorCountfield changed
-
getFailedCount
public Optional<Integer> getFailedCount()
“Number of failed devices”- Returns:
- property failedCount
-
withFailedCount
public DeviceManagementIntentDeviceStateSummary withFailedCount(Integer failedCount)
Returns an immutable copy ofthiswith just thefailedCountfield 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 failed devices”
- Parameters:
failedCount- new value offailedCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefailedCountfield changed
-
getNotApplicableCount
public Optional<Integer> getNotApplicableCount()
“Number of not applicable devices”- Returns:
- property notApplicableCount
-
withNotApplicableCount
public DeviceManagementIntentDeviceStateSummary withNotApplicableCount(Integer notApplicableCount)
Returns an immutable copy ofthiswith just thenotApplicableCountfield 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:
notApplicableCount- new value ofnotApplicableCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenotApplicableCountfield changed
-
getNotApplicablePlatformCount
public Optional<Integer> getNotApplicablePlatformCount()
“Number of not applicable devices due to mismatch platform and policy”- Returns:
- property notApplicablePlatformCount
-
withNotApplicablePlatformCount
public DeviceManagementIntentDeviceStateSummary withNotApplicablePlatformCount(Integer notApplicablePlatformCount)
Returns an immutable copy ofthiswith just thenotApplicablePlatformCountfield 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 due to mismatch platform and policy”
- Parameters:
notApplicablePlatformCount- new value ofnotApplicablePlatformCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenotApplicablePlatformCountfield changed
-
getSuccessCount
public Optional<Integer> getSuccessCount()
“Number of succeeded devices”- Returns:
- property successCount
-
withSuccessCount
public DeviceManagementIntentDeviceStateSummary withSuccessCount(Integer successCount)
Returns an immutable copy ofthiswith just thesuccessCountfield 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 succeeded devices”
- Parameters:
successCount- new value ofsuccessCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesuccessCountfield changed
-
withUnmappedField
public DeviceManagementIntentDeviceStateSummary 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 DeviceManagementIntentDeviceStateSummary patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public DeviceManagementIntentDeviceStateSummary put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-