Package odata.msgraph.client.beta.entity
Class SensitivityLabel
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.SensitivityLabel
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class SensitivityLabel extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSensitivityLabel.Builder
-
Field Summary
Fields Modifier and Type Field Description protected SensitivityLabelTargetapplicableToprotected ApplicationModeapplicationModeprotected List<LabelPolicy>assignedPoliciesprotected StringassignedPoliciesNextLinkprotected AutoLabelingautoLabelingprotected Stringdescriptionprotected StringdisplayNameprotected BooleanisDefaultprotected BooleanisEndpointProtectionEnabledprotected List<LabelActionBase>labelActionsprotected StringlabelActionsNextLinkprotected Stringnameprotected Integerpriorityprotected StringtoolTip-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSensitivityLabel()
-
Method Summary
-
-
-
Field Detail
-
applicableTo
protected SensitivityLabelTarget applicableTo
-
applicationMode
protected ApplicationMode applicationMode
-
assignedPolicies
protected List<LabelPolicy> assignedPolicies
-
assignedPoliciesNextLink
protected String assignedPoliciesNextLink
-
autoLabeling
protected AutoLabeling autoLabeling
-
description
protected String description
-
displayName
protected String displayName
-
isDefault
protected Boolean isDefault
-
isEndpointProtectionEnabled
protected Boolean isEndpointProtectionEnabled
-
labelActions
protected List<LabelActionBase> labelActions
-
labelActionsNextLink
protected String labelActionsNextLink
-
name
protected String name
-
priority
protected Integer priority
-
toolTip
protected String toolTip
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderSensitivityLabel
public static SensitivityLabel.Builder builderSensitivityLabel()
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 SensitivityLabel withApplicableTo(SensitivityLabelTarget applicableTo)
-
getApplicationMode
public Optional<ApplicationMode> getApplicationMode()
-
withApplicationMode
public SensitivityLabel withApplicationMode(ApplicationMode applicationMode)
-
getAssignedPolicies
public com.github.davidmoten.odata.client.CollectionPage<LabelPolicy> getAssignedPolicies()
-
withAssignedPolicies
public SensitivityLabel withAssignedPolicies(List<LabelPolicy> assignedPolicies)
-
getAssignedPolicies
public com.github.davidmoten.odata.client.CollectionPage<LabelPolicy> getAssignedPolicies(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getAutoLabeling
public Optional<AutoLabeling> getAutoLabeling()
-
withAutoLabeling
public SensitivityLabel withAutoLabeling(AutoLabeling autoLabeling)
-
withDescription
public SensitivityLabel withDescription(String description)
-
withDisplayName
public SensitivityLabel withDisplayName(String displayName)
-
withIsDefault
public SensitivityLabel withIsDefault(Boolean isDefault)
-
withIsEndpointProtectionEnabled
public SensitivityLabel withIsEndpointProtectionEnabled(Boolean isEndpointProtectionEnabled)
-
getLabelActions
public com.github.davidmoten.odata.client.CollectionPage<LabelActionBase> getLabelActions()
-
withLabelActions
public SensitivityLabel withLabelActions(List<LabelActionBase> labelActions)
-
getLabelActions
public com.github.davidmoten.odata.client.CollectionPage<LabelActionBase> getLabelActions(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withName
public SensitivityLabel withName(String name)
-
withPriority
public SensitivityLabel withPriority(Integer priority)
-
withToolTip
public SensitivityLabel withToolTip(String toolTip)
-
withUnmappedField
public SensitivityLabel withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getSublabels
public SensitivityLabelCollectionRequest getSublabels()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public SensitivityLabel patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public SensitivityLabel put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-