Package odata.msgraph.client.beta.entity
Class DeviceCompliancePolicySettingStateSummary
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceCompliancePolicySettingStateSummary
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class DeviceCompliancePolicySettingStateSummary extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Device Compilance Policy Setting State summary across the account.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceCompliancePolicySettingStateSummary.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegercompliantDeviceCountprotected IntegerconflictDeviceCountprotected IntegererrorDeviceCountprotected IntegernonCompliantDeviceCountprotected IntegernotApplicableDeviceCountprotected PolicyPlatformTypeplatformTypeprotected IntegerremediatedDeviceCountprotected Stringsettingprotected StringsettingNameprotected IntegerunknownDeviceCount-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceCompliancePolicySettingStateSummary()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceCompliancePolicySettingStateSummary.BuilderbuilderDeviceCompliancePolicySettingStateSummary()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()“Number of compliant devices”Optional<Integer>getConflictDeviceCount()“Number of conflict devices”DeviceComplianceSettingStateCollectionRequestgetDeviceComplianceSettingStates()Optional<Integer>getErrorDeviceCount()“Number of error devices”Optional<Integer>getNonCompliantDeviceCount()“Number of NonCompliant devices”Optional<Integer>getNotApplicableDeviceCount()“Number of not applicable devices”Optional<PolicyPlatformType>getPlatformType()“Setting platform”Optional<Integer>getRemediatedDeviceCount()“Number of remediated devices”Optional<String>getSetting()“The setting class name and property name.”Optional<String>getSettingName()“Name of the setting.”Optional<Integer>getUnknownDeviceCount()“Number of unknown devices”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()DeviceCompliancePolicySettingStateSummarypatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DeviceCompliancePolicySettingStateSummaryput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()DeviceCompliancePolicySettingStateSummarywithCompliantDeviceCount(Integer compliantDeviceCount)Returns an immutable copy ofthiswith just thecompliantDeviceCountfield changed.DeviceCompliancePolicySettingStateSummarywithConflictDeviceCount(Integer conflictDeviceCount)Returns an immutable copy ofthiswith just theconflictDeviceCountfield changed.DeviceCompliancePolicySettingStateSummarywithErrorDeviceCount(Integer errorDeviceCount)Returns an immutable copy ofthiswith just theerrorDeviceCountfield changed.DeviceCompliancePolicySettingStateSummarywithNonCompliantDeviceCount(Integer nonCompliantDeviceCount)Returns an immutable copy ofthiswith just thenonCompliantDeviceCountfield changed.DeviceCompliancePolicySettingStateSummarywithNotApplicableDeviceCount(Integer notApplicableDeviceCount)Returns an immutable copy ofthiswith just thenotApplicableDeviceCountfield changed.DeviceCompliancePolicySettingStateSummarywithPlatformType(PolicyPlatformType platformType)Returns an immutable copy ofthiswith just theplatformTypefield changed.DeviceCompliancePolicySettingStateSummarywithRemediatedDeviceCount(Integer remediatedDeviceCount)Returns an immutable copy ofthiswith just theremediatedDeviceCountfield changed.DeviceCompliancePolicySettingStateSummarywithSetting(String setting)Returns an immutable copy ofthiswith just thesettingfield changed.DeviceCompliancePolicySettingStateSummarywithSettingName(String settingName)Returns an immutable copy ofthiswith just thesettingNamefield changed.DeviceCompliancePolicySettingStateSummarywithUnknownDeviceCount(Integer unknownDeviceCount)Returns an immutable copy ofthiswith just theunknownDeviceCountfield changed.DeviceCompliancePolicySettingStateSummarywithUnmappedField(String name, String value)
-
-
-
Field Detail
-
compliantDeviceCount
protected Integer compliantDeviceCount
-
conflictDeviceCount
protected Integer conflictDeviceCount
-
errorDeviceCount
protected Integer errorDeviceCount
-
nonCompliantDeviceCount
protected Integer nonCompliantDeviceCount
-
notApplicableDeviceCount
protected Integer notApplicableDeviceCount
-
platformType
protected PolicyPlatformType platformType
-
remediatedDeviceCount
protected Integer remediatedDeviceCount
-
setting
protected String setting
-
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
-
builderDeviceCompliancePolicySettingStateSummary
public static DeviceCompliancePolicySettingStateSummary.Builder builderDeviceCompliancePolicySettingStateSummary()
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()
“Number of compliant devices”- Returns:
- property compliantDeviceCount
-
withCompliantDeviceCount
public DeviceCompliancePolicySettingStateSummary 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.“Number of compliant devices”
- Parameters:
compliantDeviceCount- new value ofcompliantDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecompliantDeviceCountfield changed
-
getConflictDeviceCount
public Optional<Integer> getConflictDeviceCount()
“Number of conflict devices”- Returns:
- property conflictDeviceCount
-
withConflictDeviceCount
public DeviceCompliancePolicySettingStateSummary 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.“Number of conflict devices”
- Parameters:
conflictDeviceCount- new value ofconflictDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theconflictDeviceCountfield changed
-
getErrorDeviceCount
public Optional<Integer> getErrorDeviceCount()
“Number of error devices”- Returns:
- property errorDeviceCount
-
withErrorDeviceCount
public DeviceCompliancePolicySettingStateSummary 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.“Number of error devices”
- Parameters:
errorDeviceCount- new value oferrorDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theerrorDeviceCountfield changed
-
getNonCompliantDeviceCount
public Optional<Integer> getNonCompliantDeviceCount()
“Number of NonCompliant devices”- Returns:
- property nonCompliantDeviceCount
-
withNonCompliantDeviceCount
public DeviceCompliancePolicySettingStateSummary 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.“Number of NonCompliant devices”
- Parameters:
nonCompliantDeviceCount- new value ofnonCompliantDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenonCompliantDeviceCountfield changed
-
getNotApplicableDeviceCount
public Optional<Integer> getNotApplicableDeviceCount()
“Number of not applicable devices”- Returns:
- property notApplicableDeviceCount
-
withNotApplicableDeviceCount
public DeviceCompliancePolicySettingStateSummary 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.“Number of not applicable devices”
- Parameters:
notApplicableDeviceCount- new value ofnotApplicableDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenotApplicableDeviceCountfield changed
-
getPlatformType
public Optional<PolicyPlatformType> getPlatformType()
“Setting platform”- Returns:
- property platformType
-
withPlatformType
public DeviceCompliancePolicySettingStateSummary withPlatformType(PolicyPlatformType platformType)
Returns an immutable copy ofthiswith just theplatformTypefield 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.“Setting platform”
- Parameters:
platformType- new value ofplatformTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theplatformTypefield changed
-
getRemediatedDeviceCount
public Optional<Integer> getRemediatedDeviceCount()
“Number of remediated devices”- Returns:
- property remediatedDeviceCount
-
withRemediatedDeviceCount
public DeviceCompliancePolicySettingStateSummary 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.“Number of remediated devices”
- Parameters:
remediatedDeviceCount- new value ofremediatedDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theremediatedDeviceCountfield changed
-
getSetting
public Optional<String> getSetting()
“The setting class name and property name.”- Returns:
- property setting
-
withSetting
public DeviceCompliancePolicySettingStateSummary withSetting(String setting)
Returns an immutable copy ofthiswith just thesettingfield 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.“The setting class name and property name.”
- Parameters:
setting- new value ofsettingfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesettingfield changed
-
getSettingName
public Optional<String> getSettingName()
“Name of the setting.”- Returns:
- property settingName
-
withSettingName
public DeviceCompliancePolicySettingStateSummary 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()
“Number of unknown devices”- Returns:
- property unknownDeviceCount
-
withUnknownDeviceCount
public DeviceCompliancePolicySettingStateSummary 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.“Number of unknown devices”
- Parameters:
unknownDeviceCount- new value ofunknownDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theunknownDeviceCountfield changed
-
withUnmappedField
public DeviceCompliancePolicySettingStateSummary withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getDeviceComplianceSettingStates
public DeviceComplianceSettingStateCollectionRequest getDeviceComplianceSettingStates()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public DeviceCompliancePolicySettingStateSummary patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public DeviceCompliancePolicySettingStateSummary put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-