public class SensitivityPolicySettings extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
SensitivityPolicySettings.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected SensitivityLabelTarget |
applicableTo |
protected Boolean |
downgradeSensitivityRequiresJustification |
protected String |
helpWebUrl |
protected Boolean |
isMandatory |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
SensitivityPolicySettings() |
| Modifier and Type | Method and Description |
|---|---|
static SensitivityPolicySettings.Builder |
builderSensitivityPolicySettings()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<SensitivityLabelTarget> |
getApplicableTo() |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<Boolean> |
getDowngradeSensitivityRequiresJustification() |
Optional<String> |
getHelpWebUrl() |
Optional<Boolean> |
getIsMandatory() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
SensitivityPolicySettings |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
SensitivityPolicySettings |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
SensitivityPolicySettings |
withApplicableTo(SensitivityLabelTarget applicableTo) |
SensitivityPolicySettings |
withDowngradeSensitivityRequiresJustification(Boolean downgradeSensitivityRequiresJustification) |
SensitivityPolicySettings |
withHelpWebUrl(String helpWebUrl) |
SensitivityPolicySettings |
withIsMandatory(Boolean isMandatory) |
protected Boolean isMandatory
protected String helpWebUrl
protected Boolean downgradeSensitivityRequiresJustification
protected SensitivityLabelTarget applicableTo
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static SensitivityPolicySettings.Builder builderSensitivityPolicySettings()
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 SensitivityPolicySettings withIsMandatory(Boolean isMandatory)
public SensitivityPolicySettings withHelpWebUrl(String helpWebUrl)
public Optional<Boolean> getDowngradeSensitivityRequiresJustification()
public SensitivityPolicySettings withDowngradeSensitivityRequiresJustification(Boolean downgradeSensitivityRequiresJustification)
public Optional<SensitivityLabelTarget> getApplicableTo()
public SensitivityPolicySettings withApplicableTo(SensitivityLabelTarget applicableTo)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic SensitivityPolicySettings patch()
this with changed fields reset.public SensitivityPolicySettings put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.