public class SecurityBaselineCategoryStateSummary extends SecurityBaselineStateSummary implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
SecurityBaselineCategoryStateSummary.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
displayName |
conflictCount, errorCount, notApplicableCount, notSecureCount, secureCount, unknownCountchangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
SecurityBaselineCategoryStateSummary() |
| Modifier and Type | Method and Description |
|---|---|
static SecurityBaselineCategoryStateSummary.Builder |
builderSecurityBaselineCategoryStateSummary()
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<String> |
getDisplayName()
“The category name”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
SecurityBaselineCategoryStateSummary |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
SecurityBaselineCategoryStateSummary |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
SecurityBaselineCategoryStateSummary |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
builderSecurityBaselineStateSummary, getConflictCount, getErrorCount, getNotApplicableCount, getNotSecureCount, getSecureCount, getUnknownCount, withConflictCount, withErrorCount, withNotApplicableCount, withNotSecureCount, withSecureCount, withUnknownCountprotected String displayName
protected SecurityBaselineCategoryStateSummary()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class SecurityBaselineStateSummarypublic static SecurityBaselineCategoryStateSummary.Builder builderSecurityBaselineCategoryStateSummary()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class SecurityBaselineStateSummarypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class SecurityBaselineStateSummarypublic Optional<String> getDisplayName()
public SecurityBaselineCategoryStateSummary withDisplayName(String displayName)
this with just the displayName
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.
“The category name”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class SecurityBaselineStateSummarypublic SecurityBaselineCategoryStateSummary patch()
this with changed fields reset.patch in class SecurityBaselineStateSummarythis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic SecurityBaselineCategoryStateSummary put()
this
with changed fields reset (they were ignored anyway).put in class SecurityBaselineStateSummarythis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class SecurityBaselineStateSummaryCopyright © 2018–2020. All rights reserved.