Package odata.msgraph.client.beta.entity
Class DeviceManagementIntentUserStateSummary
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceManagementIntentUserStateSummary
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class DeviceManagementIntentUserStateSummary extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Entity that represents user state summary for an intent”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceManagementIntentUserStateSummary.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegerconflictCountprotected IntegererrorCountprotected IntegerfailedCountprotected IntegernotApplicableCountprotected IntegersuccessCount-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceManagementIntentUserStateSummary()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceManagementIntentUserStateSummary.BuilderbuilderDeviceManagementIntentUserStateSummary()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 users in conflict”Optional<Integer>getErrorCount()“Number of error users”Optional<Integer>getFailedCount()“Number of failed users”Optional<Integer>getNotApplicableCount()“Number of not applicable users”Optional<Integer>getSuccessCount()“Number of succeeded users”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()DeviceManagementIntentUserStateSummarypatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DeviceManagementIntentUserStateSummaryput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()DeviceManagementIntentUserStateSummarywithConflictCount(Integer conflictCount)Returns an immutable copy ofthiswith just theconflictCountfield changed.DeviceManagementIntentUserStateSummarywithErrorCount(Integer errorCount)Returns an immutable copy ofthiswith just theerrorCountfield changed.DeviceManagementIntentUserStateSummarywithFailedCount(Integer failedCount)Returns an immutable copy ofthiswith just thefailedCountfield changed.DeviceManagementIntentUserStateSummarywithNotApplicableCount(Integer notApplicableCount)Returns an immutable copy ofthiswith just thenotApplicableCountfield changed.DeviceManagementIntentUserStateSummarywithSuccessCount(Integer successCount)Returns an immutable copy ofthiswith just thesuccessCountfield changed.DeviceManagementIntentUserStateSummarywithUnmappedField(String name, String value)
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderDeviceManagementIntentUserStateSummary
public static DeviceManagementIntentUserStateSummary.Builder builderDeviceManagementIntentUserStateSummary()
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 users in conflict”- Returns:
- property conflictCount
-
withConflictCount
public DeviceManagementIntentUserStateSummary 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 users 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 users”- Returns:
- property errorCount
-
withErrorCount
public DeviceManagementIntentUserStateSummary 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 users”
- 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 users”- Returns:
- property failedCount
-
withFailedCount
public DeviceManagementIntentUserStateSummary 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 users”
- 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 users”- Returns:
- property notApplicableCount
-
withNotApplicableCount
public DeviceManagementIntentUserStateSummary 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 users”
- Parameters:
notApplicableCount- new value ofnotApplicableCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenotApplicableCountfield changed
-
getSuccessCount
public Optional<Integer> getSuccessCount()
“Number of succeeded users”- Returns:
- property successCount
-
withSuccessCount
public DeviceManagementIntentUserStateSummary 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 users”
- Parameters:
successCount- new value ofsuccessCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesuccessCountfield changed
-
withUnmappedField
public DeviceManagementIntentUserStateSummary 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 DeviceManagementIntentUserStateSummary patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public DeviceManagementIntentUserStateSummary put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-