Package odata.msgraph.client.beta.entity
Class SecurityBaselineStateSummary
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.SecurityBaselineStateSummary
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
SecurityBaselineCategoryStateSummary
public class SecurityBaselineStateSummary extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“The security baseline compliance state summary for the security baseline of the account.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSecurityBaselineStateSummary.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegerconflictCountprotected IntegererrorCountprotected IntegernotApplicableCountprotected IntegernotSecureCountprotected IntegersecureCountprotected IntegerunknownCount-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSecurityBaselineStateSummary()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SecurityBaselineStateSummary.BuilderbuilderSecurityBaselineStateSummary()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>getConflictCount()“Number of conflict devices”Optional<Integer>getErrorCount()“Number of error devices”Optional<Integer>getNotApplicableCount()“Number of not applicable devices”Optional<Integer>getNotSecureCount()“Number of not secure devices”Optional<Integer>getSecureCount()“Number of secure devices”Optional<Integer>getUnknownCount()“Number of unknown devices”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()SecurityBaselineStateSummarypatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)SecurityBaselineStateSummaryput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()SecurityBaselineStateSummarywithConflictCount(Integer conflictCount)Returns an immutable copy ofthiswith just theconflictCountfield changed.SecurityBaselineStateSummarywithErrorCount(Integer errorCount)Returns an immutable copy ofthiswith just theerrorCountfield changed.SecurityBaselineStateSummarywithNotApplicableCount(Integer notApplicableCount)Returns an immutable copy ofthiswith just thenotApplicableCountfield changed.SecurityBaselineStateSummarywithNotSecureCount(Integer notSecureCount)Returns an immutable copy ofthiswith just thenotSecureCountfield changed.SecurityBaselineStateSummarywithSecureCount(Integer secureCount)Returns an immutable copy ofthiswith just thesecureCountfield changed.SecurityBaselineStateSummarywithUnknownCount(Integer unknownCount)Returns an immutable copy ofthiswith just theunknownCountfield changed.SecurityBaselineStateSummarywithUnmappedField(String name, String value)
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderSecurityBaselineStateSummary
public static SecurityBaselineStateSummary.Builder builderSecurityBaselineStateSummary()
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
-
getConflictCount
public Optional<Integer> getConflictCount()
“Number of conflict devices”- Returns:
- property conflictCount
-
withConflictCount
public SecurityBaselineStateSummary 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 conflict devices”
- 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 SecurityBaselineStateSummary 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
-
getNotApplicableCount
public Optional<Integer> getNotApplicableCount()
“Number of not applicable devices”- Returns:
- property notApplicableCount
-
withNotApplicableCount
public SecurityBaselineStateSummary 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
-
getNotSecureCount
public Optional<Integer> getNotSecureCount()
“Number of not secure devices”- Returns:
- property notSecureCount
-
withNotSecureCount
public SecurityBaselineStateSummary withNotSecureCount(Integer notSecureCount)
Returns an immutable copy ofthiswith just thenotSecureCountfield 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 secure devices”
- Parameters:
notSecureCount- new value ofnotSecureCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenotSecureCountfield changed
-
getSecureCount
public Optional<Integer> getSecureCount()
“Number of secure devices”- Returns:
- property secureCount
-
withSecureCount
public SecurityBaselineStateSummary withSecureCount(Integer secureCount)
Returns an immutable copy ofthiswith just thesecureCountfield 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 secure devices”
- Parameters:
secureCount- new value ofsecureCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesecureCountfield changed
-
getUnknownCount
public Optional<Integer> getUnknownCount()
“Number of unknown devices”- Returns:
- property unknownCount
-
withUnknownCount
public SecurityBaselineStateSummary withUnknownCount(Integer unknownCount)
Returns an immutable copy ofthiswith just theunknownCountfield 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:
unknownCount- new value ofunknownCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theunknownCountfield changed
-
withUnmappedField
public SecurityBaselineStateSummary 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 SecurityBaselineStateSummary patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public SecurityBaselineStateSummary put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-