public class SecurityBaselineState extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
SecurityBaselineState.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
displayName |
protected String |
securityBaselineTemplateId |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
SecurityBaselineState() |
| Modifier and Type | Method and Description |
|---|---|
static SecurityBaselineState.Builder |
builderSecurityBaselineState()
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 display name of the security baseline”
|
Optional<String> |
getSecurityBaselineTemplateId()
“The security baseline template id”
|
SecurityBaselineSettingStateCollectionRequest |
getSettingStates()
“The security baseline state for different settings for a device”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
SecurityBaselineState |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
SecurityBaselineState |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
SecurityBaselineState |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
SecurityBaselineState |
withSecurityBaselineTemplateId(String securityBaselineTemplateId)
Returns an immutable copy of
this with just the securityBaselineTemplateId field changed. |
protected String securityBaselineTemplateId
protected String displayName
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static SecurityBaselineState.Builder builderSecurityBaselineState()
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<String> getSecurityBaselineTemplateId()
public SecurityBaselineState withSecurityBaselineTemplateId(String securityBaselineTemplateId)
this with just the securityBaselineTemplateId 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 security baseline template id”
securityBaselineTemplateId - new value of securityBaselineTemplateId field (as defined in service metadata)this with just the securityBaselineTemplateId field changedpublic Optional<String> getDisplayName()
public SecurityBaselineState 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 display name of the security baseline”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic SecurityBaselineSettingStateCollectionRequest getSettingStates()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic SecurityBaselineState patch()
this with changed fields reset.public SecurityBaselineState put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.