Package odata.msgraph.client.beta.entity
Class AdvancedThreatProtectionOnboardingStateSummary
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.AdvancedThreatProtectionOnboardingStateSummary
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class AdvancedThreatProtectionOnboardingStateSummary extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Windows defender advanced threat protection onboarding state summary across the account.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdvancedThreatProtectionOnboardingStateSummary.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegercompliantDeviceCountprotected IntegerconflictDeviceCountprotected IntegererrorDeviceCountprotected IntegernonCompliantDeviceCountprotected IntegernotApplicableDeviceCountprotected IntegernotAssignedDeviceCountprotected IntegerremediatedDeviceCountprotected IntegerunknownDeviceCount-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAdvancedThreatProtectionOnboardingStateSummary()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AdvancedThreatProtectionOnboardingStateSummary.BuilderbuilderAdvancedThreatProtectionOnboardingStateSummary()Returns a builder which is used to create a new instance of this class (given that this class is immutable).AdvancedThreatProtectionOnboardingDeviceSettingStateCollectionRequestgetAdvancedThreatProtectionOnboardingDeviceSettingStates()com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<Integer>getCompliantDeviceCount()“Number of compliant devices”Optional<Integer>getConflictDeviceCount()“Number of conflict devices”Optional<Integer>getErrorDeviceCount()“Number of error devices”Optional<Integer>getNonCompliantDeviceCount()“Number of NonCompliant devices”Optional<Integer>getNotApplicableDeviceCount()“Number of not applicable devices”Optional<Integer>getNotAssignedDeviceCount()“Number of not assigned devices”Optional<Integer>getRemediatedDeviceCount()“Number of remediated devices”Optional<Integer>getUnknownDeviceCount()“Number of unknown devices”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()AdvancedThreatProtectionOnboardingStateSummarypatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)AdvancedThreatProtectionOnboardingStateSummaryput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()AdvancedThreatProtectionOnboardingStateSummarywithCompliantDeviceCount(Integer compliantDeviceCount)Returns an immutable copy ofthiswith just thecompliantDeviceCountfield changed.AdvancedThreatProtectionOnboardingStateSummarywithConflictDeviceCount(Integer conflictDeviceCount)Returns an immutable copy ofthiswith just theconflictDeviceCountfield changed.AdvancedThreatProtectionOnboardingStateSummarywithErrorDeviceCount(Integer errorDeviceCount)Returns an immutable copy ofthiswith just theerrorDeviceCountfield changed.AdvancedThreatProtectionOnboardingStateSummarywithNonCompliantDeviceCount(Integer nonCompliantDeviceCount)Returns an immutable copy ofthiswith just thenonCompliantDeviceCountfield changed.AdvancedThreatProtectionOnboardingStateSummarywithNotApplicableDeviceCount(Integer notApplicableDeviceCount)Returns an immutable copy ofthiswith just thenotApplicableDeviceCountfield changed.AdvancedThreatProtectionOnboardingStateSummarywithNotAssignedDeviceCount(Integer notAssignedDeviceCount)Returns an immutable copy ofthiswith just thenotAssignedDeviceCountfield changed.AdvancedThreatProtectionOnboardingStateSummarywithRemediatedDeviceCount(Integer remediatedDeviceCount)Returns an immutable copy ofthiswith just theremediatedDeviceCountfield changed.AdvancedThreatProtectionOnboardingStateSummarywithUnknownDeviceCount(Integer unknownDeviceCount)Returns an immutable copy ofthiswith just theunknownDeviceCountfield changed.AdvancedThreatProtectionOnboardingStateSummarywithUnmappedField(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
-
notAssignedDeviceCount
protected Integer notAssignedDeviceCount
-
remediatedDeviceCount
protected Integer remediatedDeviceCount
-
unknownDeviceCount
protected Integer unknownDeviceCount
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderAdvancedThreatProtectionOnboardingStateSummary
public static AdvancedThreatProtectionOnboardingStateSummary.Builder builderAdvancedThreatProtectionOnboardingStateSummary()
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 AdvancedThreatProtectionOnboardingStateSummary 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 AdvancedThreatProtectionOnboardingStateSummary 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 AdvancedThreatProtectionOnboardingStateSummary 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 AdvancedThreatProtectionOnboardingStateSummary 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 AdvancedThreatProtectionOnboardingStateSummary 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
-
getNotAssignedDeviceCount
public Optional<Integer> getNotAssignedDeviceCount()
“Number of not assigned devices”- Returns:
- property notAssignedDeviceCount
-
withNotAssignedDeviceCount
public AdvancedThreatProtectionOnboardingStateSummary withNotAssignedDeviceCount(Integer notAssignedDeviceCount)
Returns an immutable copy ofthiswith just thenotAssignedDeviceCountfield 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 assigned devices”
- Parameters:
notAssignedDeviceCount- new value ofnotAssignedDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenotAssignedDeviceCountfield changed
-
getRemediatedDeviceCount
public Optional<Integer> getRemediatedDeviceCount()
“Number of remediated devices”- Returns:
- property remediatedDeviceCount
-
withRemediatedDeviceCount
public AdvancedThreatProtectionOnboardingStateSummary 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
-
getUnknownDeviceCount
public Optional<Integer> getUnknownDeviceCount()
“Number of unknown devices”- Returns:
- property unknownDeviceCount
-
withUnknownDeviceCount
public AdvancedThreatProtectionOnboardingStateSummary 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 AdvancedThreatProtectionOnboardingStateSummary withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getAdvancedThreatProtectionOnboardingDeviceSettingStates
public AdvancedThreatProtectionOnboardingDeviceSettingStateCollectionRequest getAdvancedThreatProtectionOnboardingDeviceSettingStates()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public AdvancedThreatProtectionOnboardingStateSummary patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public AdvancedThreatProtectionOnboardingStateSummary put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-