Package odata.msgraph.client.entity
Class SettingStateDeviceSummary
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.SettingStateDeviceSummary
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class SettingStateDeviceSummary extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Device Compilance Policy and Configuration for a Setting State summary”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSettingStateDeviceSummary.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegercompliantDeviceCountprotected IntegerconflictDeviceCountprotected IntegererrorDeviceCountprotected StringinstancePathprotected IntegernonCompliantDeviceCountprotected IntegernotApplicableDeviceCountprotected IntegerremediatedDeviceCountprotected StringsettingNameprotected IntegerunknownDeviceCount-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSettingStateDeviceSummary()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SettingStateDeviceSummary.BuilderbuilderSettingStateDeviceSummary()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()“Device Compliant count for the setting”Optional<Integer>getConflictDeviceCount()“Device conflict error count for the setting”Optional<Integer>getErrorDeviceCount()“Device error count for the setting”Optional<String>getInstancePath()“Name of the InstancePath for the setting”Optional<Integer>getNonCompliantDeviceCount()“Device NonCompliant count for the setting”Optional<Integer>getNotApplicableDeviceCount()“Device Not Applicable count for the setting”Optional<Integer>getRemediatedDeviceCount()“Device Compliant count for the setting”Optional<String>getSettingName()“Name of the setting”Optional<Integer>getUnknownDeviceCount()“Device Unkown count for the setting”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()SettingStateDeviceSummarypatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)SettingStateDeviceSummaryput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()SettingStateDeviceSummarywithCompliantDeviceCount(Integer compliantDeviceCount)Returns an immutable copy ofthiswith just thecompliantDeviceCountfield changed.SettingStateDeviceSummarywithConflictDeviceCount(Integer conflictDeviceCount)Returns an immutable copy ofthiswith just theconflictDeviceCountfield changed.SettingStateDeviceSummarywithErrorDeviceCount(Integer errorDeviceCount)Returns an immutable copy ofthiswith just theerrorDeviceCountfield changed.SettingStateDeviceSummarywithInstancePath(String instancePath)Returns an immutable copy ofthiswith just theinstancePathfield changed.SettingStateDeviceSummarywithNonCompliantDeviceCount(Integer nonCompliantDeviceCount)Returns an immutable copy ofthiswith just thenonCompliantDeviceCountfield changed.SettingStateDeviceSummarywithNotApplicableDeviceCount(Integer notApplicableDeviceCount)Returns an immutable copy ofthiswith just thenotApplicableDeviceCountfield changed.SettingStateDeviceSummarywithRemediatedDeviceCount(Integer remediatedDeviceCount)Returns an immutable copy ofthiswith just theremediatedDeviceCountfield changed.SettingStateDeviceSummarywithSettingName(String settingName)Returns an immutable copy ofthiswith just thesettingNamefield changed.SettingStateDeviceSummarywithUnknownDeviceCount(Integer unknownDeviceCount)Returns an immutable copy ofthiswith just theunknownDeviceCountfield changed.SettingStateDeviceSummarywithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
compliantDeviceCount
protected Integer compliantDeviceCount
-
conflictDeviceCount
protected Integer conflictDeviceCount
-
errorDeviceCount
protected Integer errorDeviceCount
-
instancePath
protected String instancePath
-
nonCompliantDeviceCount
protected Integer nonCompliantDeviceCount
-
notApplicableDeviceCount
protected Integer notApplicableDeviceCount
-
remediatedDeviceCount
protected Integer remediatedDeviceCount
-
settingName
protected String settingName
-
unknownDeviceCount
protected Integer unknownDeviceCount
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderSettingStateDeviceSummary
public static SettingStateDeviceSummary.Builder builderSettingStateDeviceSummary()
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()
“Device Compliant count for the setting”- Returns:
- property compliantDeviceCount
-
withCompliantDeviceCount
public SettingStateDeviceSummary 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.“Device Compliant count for the setting”
- Parameters:
compliantDeviceCount- new value ofcompliantDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecompliantDeviceCountfield changed
-
getConflictDeviceCount
public Optional<Integer> getConflictDeviceCount()
“Device conflict error count for the setting”- Returns:
- property conflictDeviceCount
-
withConflictDeviceCount
public SettingStateDeviceSummary 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.“Device conflict error count for the setting”
- Parameters:
conflictDeviceCount- new value ofconflictDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theconflictDeviceCountfield changed
-
getErrorDeviceCount
public Optional<Integer> getErrorDeviceCount()
“Device error count for the setting”- Returns:
- property errorDeviceCount
-
withErrorDeviceCount
public SettingStateDeviceSummary 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.“Device error count for the setting”
- Parameters:
errorDeviceCount- new value oferrorDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theerrorDeviceCountfield changed
-
getInstancePath
public Optional<String> getInstancePath()
“Name of the InstancePath for the setting”- Returns:
- property instancePath
-
withInstancePath
public SettingStateDeviceSummary withInstancePath(String instancePath)
Returns an immutable copy ofthiswith just theinstancePathfield 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 the InstancePath for the setting”
- Parameters:
instancePath- new value ofinstancePathfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theinstancePathfield changed
-
getNonCompliantDeviceCount
public Optional<Integer> getNonCompliantDeviceCount()
“Device NonCompliant count for the setting”- Returns:
- property nonCompliantDeviceCount
-
withNonCompliantDeviceCount
public SettingStateDeviceSummary 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.“Device NonCompliant count for the setting”
- Parameters:
nonCompliantDeviceCount- new value ofnonCompliantDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenonCompliantDeviceCountfield changed
-
getNotApplicableDeviceCount
public Optional<Integer> getNotApplicableDeviceCount()
“Device Not Applicable count for the setting”- Returns:
- property notApplicableDeviceCount
-
withNotApplicableDeviceCount
public SettingStateDeviceSummary 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.“Device Not Applicable count for the setting”
- Parameters:
notApplicableDeviceCount- new value ofnotApplicableDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenotApplicableDeviceCountfield changed
-
getRemediatedDeviceCount
public Optional<Integer> getRemediatedDeviceCount()
“Device Compliant count for the setting”- Returns:
- property remediatedDeviceCount
-
withRemediatedDeviceCount
public SettingStateDeviceSummary 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.“Device Compliant count for the setting”
- Parameters:
remediatedDeviceCount- new value ofremediatedDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theremediatedDeviceCountfield changed
-
getSettingName
public Optional<String> getSettingName()
“Name of the setting”- Returns:
- property settingName
-
withSettingName
public SettingStateDeviceSummary 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 the setting”
- Parameters:
settingName- new value ofsettingNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesettingNamefield changed
-
getUnknownDeviceCount
public Optional<Integer> getUnknownDeviceCount()
“Device Unkown count for the setting”- Returns:
- property unknownDeviceCount
-
withUnknownDeviceCount
public SettingStateDeviceSummary 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.“Device Unkown count for the setting”
- Parameters:
unknownDeviceCount- new value ofunknownDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theunknownDeviceCountfield changed
-
withUnmappedField
public SettingStateDeviceSummary 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 SettingStateDeviceSummary patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public SettingStateDeviceSummary put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-