Package odata.msgraph.client.beta.entity
Class DeviceConfigurationUserStateSummary
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceConfigurationUserStateSummary
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class DeviceConfigurationUserStateSummary extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceConfigurationUserStateSummary.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegercompliantUserCountprotected IntegerconflictUserCountprotected IntegererrorUserCountprotected IntegernonCompliantUserCountprotected IntegernotApplicableUserCountprotected IntegerremediatedUserCountprotected IntegerunknownUserCount-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceConfigurationUserStateSummary()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceConfigurationUserStateSummary.BuilderbuilderDeviceConfigurationUserStateSummary()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>getCompliantUserCount()“Number of compliant users”Optional<Integer>getConflictUserCount()“Number of conflict users”Optional<Integer>getErrorUserCount()“Number of error users”Optional<Integer>getNonCompliantUserCount()“Number of NonCompliant users”Optional<Integer>getNotApplicableUserCount()“Number of not applicable users”Optional<Integer>getRemediatedUserCount()“Number of remediated users”Optional<Integer>getUnknownUserCount()“Number of unknown users”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()DeviceConfigurationUserStateSummarypatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DeviceConfigurationUserStateSummaryput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()DeviceConfigurationUserStateSummarywithCompliantUserCount(Integer compliantUserCount)Returns an immutable copy ofthiswith just thecompliantUserCountfield changed.DeviceConfigurationUserStateSummarywithConflictUserCount(Integer conflictUserCount)Returns an immutable copy ofthiswith just theconflictUserCountfield changed.DeviceConfigurationUserStateSummarywithErrorUserCount(Integer errorUserCount)Returns an immutable copy ofthiswith just theerrorUserCountfield changed.DeviceConfigurationUserStateSummarywithNonCompliantUserCount(Integer nonCompliantUserCount)Returns an immutable copy ofthiswith just thenonCompliantUserCountfield changed.DeviceConfigurationUserStateSummarywithNotApplicableUserCount(Integer notApplicableUserCount)Returns an immutable copy ofthiswith just thenotApplicableUserCountfield changed.DeviceConfigurationUserStateSummarywithRemediatedUserCount(Integer remediatedUserCount)Returns an immutable copy ofthiswith just theremediatedUserCountfield changed.DeviceConfigurationUserStateSummarywithUnknownUserCount(Integer unknownUserCount)Returns an immutable copy ofthiswith just theunknownUserCountfield changed.DeviceConfigurationUserStateSummarywithUnmappedField(String name, String value)
-
-
-
Field Detail
-
compliantUserCount
protected Integer compliantUserCount
-
conflictUserCount
protected Integer conflictUserCount
-
errorUserCount
protected Integer errorUserCount
-
nonCompliantUserCount
protected Integer nonCompliantUserCount
-
notApplicableUserCount
protected Integer notApplicableUserCount
-
remediatedUserCount
protected Integer remediatedUserCount
-
unknownUserCount
protected Integer unknownUserCount
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderDeviceConfigurationUserStateSummary
public static DeviceConfigurationUserStateSummary.Builder builderDeviceConfigurationUserStateSummary()
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
-
getCompliantUserCount
public Optional<Integer> getCompliantUserCount()
“Number of compliant users”- Returns:
- property compliantUserCount
-
withCompliantUserCount
public DeviceConfigurationUserStateSummary withCompliantUserCount(Integer compliantUserCount)
Returns an immutable copy ofthiswith just thecompliantUserCountfield 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 users”
- Parameters:
compliantUserCount- new value ofcompliantUserCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecompliantUserCountfield changed
-
getConflictUserCount
public Optional<Integer> getConflictUserCount()
“Number of conflict users”- Returns:
- property conflictUserCount
-
withConflictUserCount
public DeviceConfigurationUserStateSummary withConflictUserCount(Integer conflictUserCount)
Returns an immutable copy ofthiswith just theconflictUserCountfield 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 users”
- Parameters:
conflictUserCount- new value ofconflictUserCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theconflictUserCountfield changed
-
getErrorUserCount
public Optional<Integer> getErrorUserCount()
“Number of error users”- Returns:
- property errorUserCount
-
withErrorUserCount
public DeviceConfigurationUserStateSummary withErrorUserCount(Integer errorUserCount)
Returns an immutable copy ofthiswith just theerrorUserCountfield 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:
errorUserCount- new value oferrorUserCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theerrorUserCountfield changed
-
getNonCompliantUserCount
public Optional<Integer> getNonCompliantUserCount()
“Number of NonCompliant users”- Returns:
- property nonCompliantUserCount
-
withNonCompliantUserCount
public DeviceConfigurationUserStateSummary withNonCompliantUserCount(Integer nonCompliantUserCount)
Returns an immutable copy ofthiswith just thenonCompliantUserCountfield 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 users”
- Parameters:
nonCompliantUserCount- new value ofnonCompliantUserCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenonCompliantUserCountfield changed
-
getNotApplicableUserCount
public Optional<Integer> getNotApplicableUserCount()
“Number of not applicable users”- Returns:
- property notApplicableUserCount
-
withNotApplicableUserCount
public DeviceConfigurationUserStateSummary withNotApplicableUserCount(Integer notApplicableUserCount)
Returns an immutable copy ofthiswith just thenotApplicableUserCountfield 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:
notApplicableUserCount- new value ofnotApplicableUserCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenotApplicableUserCountfield changed
-
getRemediatedUserCount
public Optional<Integer> getRemediatedUserCount()
“Number of remediated users”- Returns:
- property remediatedUserCount
-
withRemediatedUserCount
public DeviceConfigurationUserStateSummary withRemediatedUserCount(Integer remediatedUserCount)
Returns an immutable copy ofthiswith just theremediatedUserCountfield 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 users”
- Parameters:
remediatedUserCount- new value ofremediatedUserCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theremediatedUserCountfield changed
-
getUnknownUserCount
public Optional<Integer> getUnknownUserCount()
“Number of unknown users”- Returns:
- property unknownUserCount
-
withUnknownUserCount
public DeviceConfigurationUserStateSummary withUnknownUserCount(Integer unknownUserCount)
Returns an immutable copy ofthiswith just theunknownUserCountfield 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 users”
- Parameters:
unknownUserCount- new value ofunknownUserCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theunknownUserCountfield changed
-
withUnmappedField
public DeviceConfigurationUserStateSummary 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 DeviceConfigurationUserStateSummary patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public DeviceConfigurationUserStateSummary put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-