Package odata.msgraph.client.beta.entity
Class SensitivityPolicySettings
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.SensitivityPolicySettings
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class SensitivityPolicySettings extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSensitivityPolicySettings.Builder
-
Field Summary
Fields Modifier and Type Field Description protected SensitivityLabelTargetapplicableToprotected BooleandowngradeSensitivityRequiresJustificationprotected StringhelpWebUrlprotected BooleanisMandatory-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSensitivityPolicySettings()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SensitivityPolicySettings.BuilderbuilderSensitivityPolicySettings()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.ChangedFieldsgetChangedFields()Optional<Boolean>getDowngradeSensitivityRequiresJustification()Optional<String>getHelpWebUrl()Optional<Boolean>getIsMandatory()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()SensitivityPolicySettingspatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)SensitivityPolicySettingsput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()SensitivityPolicySettingswithApplicableTo(SensitivityLabelTarget applicableTo)SensitivityPolicySettingswithDowngradeSensitivityRequiresJustification(Boolean downgradeSensitivityRequiresJustification)SensitivityPolicySettingswithHelpWebUrl(String helpWebUrl)SensitivityPolicySettingswithIsMandatory(Boolean isMandatory)SensitivityPolicySettingswithUnmappedField(String name, String value)
-
-
-
Field Detail
-
applicableTo
protected SensitivityLabelTarget applicableTo
-
downgradeSensitivityRequiresJustification
protected Boolean downgradeSensitivityRequiresJustification
-
helpWebUrl
protected String helpWebUrl
-
isMandatory
protected Boolean isMandatory
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderSensitivityPolicySettings
public static SensitivityPolicySettings.Builder builderSensitivityPolicySettings()
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
-
getApplicableTo
public Optional<SensitivityLabelTarget> getApplicableTo()
-
withApplicableTo
public SensitivityPolicySettings withApplicableTo(SensitivityLabelTarget applicableTo)
-
getDowngradeSensitivityRequiresJustification
public Optional<Boolean> getDowngradeSensitivityRequiresJustification()
-
withDowngradeSensitivityRequiresJustification
public SensitivityPolicySettings withDowngradeSensitivityRequiresJustification(Boolean downgradeSensitivityRequiresJustification)
-
withHelpWebUrl
public SensitivityPolicySettings withHelpWebUrl(String helpWebUrl)
-
withIsMandatory
public SensitivityPolicySettings withIsMandatory(Boolean isMandatory)
-
withUnmappedField
public SensitivityPolicySettings 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 SensitivityPolicySettings patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public SensitivityPolicySettings put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-