Package odata.msgraph.client.beta.entity
Class DeviceManagementIntentDeviceSettingStateSummary
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceManagementIntentDeviceSettingStateSummary
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class DeviceManagementIntentDeviceSettingStateSummary extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Entity that represents device setting state summary for an intent”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceManagementIntentDeviceSettingStateSummary.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegercompliantCountprotected IntegerconflictCountprotected IntegererrorCountprotected IntegernonCompliantCountprotected IntegernotApplicableCountprotected IntegerremediatedCountprotected StringsettingName-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceManagementIntentDeviceSettingStateSummary()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceManagementIntentDeviceSettingStateSummary.BuilderbuilderDeviceManagementIntentDeviceSettingStateSummary()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>getCompliantCount()“Number of compliant devices”Optional<Integer>getConflictCount()“Number of devices in conflict”Optional<Integer>getErrorCount()“Number of error devices”Optional<Integer>getNonCompliantCount()“Number of non compliant devices”Optional<Integer>getNotApplicableCount()“Number of not applicable devices”Optional<Integer>getRemediatedCount()“Number of remediated devices”Optional<String>getSettingName()“Name of a setting”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()DeviceManagementIntentDeviceSettingStateSummarypatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DeviceManagementIntentDeviceSettingStateSummaryput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()DeviceManagementIntentDeviceSettingStateSummarywithCompliantCount(Integer compliantCount)Returns an immutable copy ofthiswith just thecompliantCountfield changed.DeviceManagementIntentDeviceSettingStateSummarywithConflictCount(Integer conflictCount)Returns an immutable copy ofthiswith just theconflictCountfield changed.DeviceManagementIntentDeviceSettingStateSummarywithErrorCount(Integer errorCount)Returns an immutable copy ofthiswith just theerrorCountfield changed.DeviceManagementIntentDeviceSettingStateSummarywithNonCompliantCount(Integer nonCompliantCount)Returns an immutable copy ofthiswith just thenonCompliantCountfield changed.DeviceManagementIntentDeviceSettingStateSummarywithNotApplicableCount(Integer notApplicableCount)Returns an immutable copy ofthiswith just thenotApplicableCountfield changed.DeviceManagementIntentDeviceSettingStateSummarywithRemediatedCount(Integer remediatedCount)Returns an immutable copy ofthiswith just theremediatedCountfield changed.DeviceManagementIntentDeviceSettingStateSummarywithSettingName(String settingName)Returns an immutable copy ofthiswith just thesettingNamefield changed.DeviceManagementIntentDeviceSettingStateSummarywithUnmappedField(String name, String value)
-
-
-
Field Detail
-
compliantCount
protected Integer compliantCount
-
conflictCount
protected Integer conflictCount
-
errorCount
protected Integer errorCount
-
nonCompliantCount
protected Integer nonCompliantCount
-
notApplicableCount
protected Integer notApplicableCount
-
remediatedCount
protected Integer remediatedCount
-
settingName
protected String settingName
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderDeviceManagementIntentDeviceSettingStateSummary
public static DeviceManagementIntentDeviceSettingStateSummary.Builder builderDeviceManagementIntentDeviceSettingStateSummary()
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
-
getCompliantCount
public Optional<Integer> getCompliantCount()
“Number of compliant devices”- Returns:
- property compliantCount
-
withCompliantCount
public DeviceManagementIntentDeviceSettingStateSummary withCompliantCount(Integer compliantCount)
Returns an immutable copy ofthiswith just thecompliantCountfield 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:
compliantCount- new value ofcompliantCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecompliantCountfield changed
-
getConflictCount
public Optional<Integer> getConflictCount()
“Number of devices in conflict”- Returns:
- property conflictCount
-
withConflictCount
public DeviceManagementIntentDeviceSettingStateSummary 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 DeviceManagementIntentDeviceSettingStateSummary 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
-
getNonCompliantCount
public Optional<Integer> getNonCompliantCount()
“Number of non compliant devices”- Returns:
- property nonCompliantCount
-
withNonCompliantCount
public DeviceManagementIntentDeviceSettingStateSummary withNonCompliantCount(Integer nonCompliantCount)
Returns an immutable copy ofthiswith just thenonCompliantCountfield 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 non compliant devices”
- Parameters:
nonCompliantCount- new value ofnonCompliantCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenonCompliantCountfield changed
-
getNotApplicableCount
public Optional<Integer> getNotApplicableCount()
“Number of not applicable devices”- Returns:
- property notApplicableCount
-
withNotApplicableCount
public DeviceManagementIntentDeviceSettingStateSummary 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
-
getRemediatedCount
public Optional<Integer> getRemediatedCount()
“Number of remediated devices”- Returns:
- property remediatedCount
-
withRemediatedCount
public DeviceManagementIntentDeviceSettingStateSummary withRemediatedCount(Integer remediatedCount)
Returns an immutable copy ofthiswith just theremediatedCountfield 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:
remediatedCount- new value ofremediatedCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theremediatedCountfield changed
-
getSettingName
public Optional<String> getSettingName()
“Name of a setting”- Returns:
- property settingName
-
withSettingName
public DeviceManagementIntentDeviceSettingStateSummary withSettingName(String settingName)
Returns an immutable copy ofthiswith just thesettingNamefield 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.“Name of a setting”
- Parameters:
settingName- new value ofsettingNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesettingNamefield changed
-
withUnmappedField
public DeviceManagementIntentDeviceSettingStateSummary 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 DeviceManagementIntentDeviceSettingStateSummary patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public DeviceManagementIntentDeviceSettingStateSummary put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-