public class SecurityBaselineStateSummary extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
SecurityBaselineStateSummary.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
conflictCount |
protected Integer |
errorCount |
protected Integer |
notApplicableCount |
protected Integer |
notSecureCount |
protected Integer |
secureCount |
protected Integer |
unknownCount |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
SecurityBaselineStateSummary() |
| Modifier and Type | Method and Description |
|---|---|
static SecurityBaselineStateSummary.Builder |
builderSecurityBaselineStateSummary()
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.ChangedFields |
getChangedFields() |
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.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
SecurityBaselineStateSummary |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
SecurityBaselineStateSummary |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
SecurityBaselineStateSummary |
withConflictCount(Integer conflictCount)
Returns an immutable copy of
this with just the conflictCount
field changed. |
SecurityBaselineStateSummary |
withErrorCount(Integer errorCount)
Returns an immutable copy of
this with just the errorCount field
changed. |
SecurityBaselineStateSummary |
withNotApplicableCount(Integer notApplicableCount)
Returns an immutable copy of
this with just the notApplicableCount field changed. |
SecurityBaselineStateSummary |
withNotSecureCount(Integer notSecureCount)
Returns an immutable copy of
this with just the notSecureCount
field changed. |
SecurityBaselineStateSummary |
withSecureCount(Integer secureCount)
Returns an immutable copy of
this with just the secureCount
field changed. |
SecurityBaselineStateSummary |
withUnknownCount(Integer unknownCount)
Returns an immutable copy of
this with just the unknownCount
field changed. |
protected Integer secureCount
protected Integer notSecureCount
protected Integer unknownCount
protected Integer errorCount
protected Integer conflictCount
protected Integer notApplicableCount
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static SecurityBaselineStateSummary.Builder builderSecurityBaselineStateSummary()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<Integer> getSecureCount()
public SecurityBaselineStateSummary withSecureCount(Integer secureCount)
this with just the secureCount
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Number of secure devices”
secureCount - new value of secureCount field (as defined in service metadata)this with just the secureCount field changedpublic Optional<Integer> getNotSecureCount()
public SecurityBaselineStateSummary withNotSecureCount(Integer notSecureCount)
this with just the notSecureCount
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Number of not secure devices”
notSecureCount - new value of notSecureCount field (as defined in service metadata)this with just the notSecureCount field changedpublic Optional<Integer> getUnknownCount()
public SecurityBaselineStateSummary withUnknownCount(Integer unknownCount)
this with just the unknownCount
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Number of unknown devices”
unknownCount - new value of unknownCount field (as defined in service metadata)this with just the unknownCount field changedpublic Optional<Integer> getErrorCount()
public SecurityBaselineStateSummary withErrorCount(Integer errorCount)
this with just the errorCount field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Number of error devices”
errorCount - new value of errorCount field (as defined in service metadata)this with just the errorCount field changedpublic Optional<Integer> getConflictCount()
public SecurityBaselineStateSummary withConflictCount(Integer conflictCount)
this with just the conflictCount
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Number of conflict devices”
conflictCount - new value of conflictCount field (as defined in service metadata)this with just the conflictCount field changedpublic Optional<Integer> getNotApplicableCount()
public SecurityBaselineStateSummary withNotApplicableCount(Integer notApplicableCount)
this with just the notApplicableCount field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Number of not applicable devices”
notApplicableCount - new value of notApplicableCount field (as defined in service metadata)this with just the notApplicableCount field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic SecurityBaselineStateSummary patch()
this with changed fields reset.public SecurityBaselineStateSummary put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.