public class SensitivityLabel extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
SensitivityLabel.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected SensitivityLabelTarget |
applicableTo |
protected ApplicationMode |
applicationMode |
protected List<LabelPolicy> |
assignedPolicies |
protected String |
assignedPoliciesNextLink |
protected AutoLabeling |
autoLabeling |
protected String |
description |
protected String |
displayName |
protected Boolean |
isDefault |
protected Boolean |
isEndpointProtectionEnabled |
protected List<LabelActionBase> |
labelActions |
protected String |
labelActionsNextLink |
protected String |
name |
protected Integer |
priority |
protected String |
toolTip |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
SensitivityLabel() |
| Modifier and Type | Method and Description |
|---|---|
static SensitivityLabel.Builder |
builderSensitivityLabel()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<SensitivityLabelTarget> |
getApplicableTo() |
Optional<ApplicationMode> |
getApplicationMode() |
com.github.davidmoten.odata.client.CollectionPage<LabelPolicy> |
getAssignedPolicies() |
com.github.davidmoten.odata.client.CollectionPage<LabelPolicy> |
getAssignedPolicies(com.github.davidmoten.odata.client.HttpRequestOptions options) |
Optional<AutoLabeling> |
getAutoLabeling() |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getDescription() |
Optional<String> |
getDisplayName() |
Optional<Boolean> |
getIsDefault() |
Optional<Boolean> |
getIsEndpointProtectionEnabled() |
com.github.davidmoten.odata.client.CollectionPage<LabelActionBase> |
getLabelActions() |
com.github.davidmoten.odata.client.CollectionPage<LabelActionBase> |
getLabelActions(com.github.davidmoten.odata.client.HttpRequestOptions options) |
Optional<String> |
getName() |
Optional<Integer> |
getPriority() |
SensitivityLabelCollectionRequest |
getSublabels() |
Optional<String> |
getToolTip() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
SensitivityLabel |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
SensitivityLabel |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
SensitivityLabel |
withApplicableTo(SensitivityLabelTarget applicableTo) |
SensitivityLabel |
withApplicationMode(ApplicationMode applicationMode) |
SensitivityLabel |
withAutoLabeling(AutoLabeling autoLabeling) |
SensitivityLabel |
withDescription(String description) |
SensitivityLabel |
withDisplayName(String displayName) |
SensitivityLabel |
withIsDefault(Boolean isDefault) |
SensitivityLabel |
withIsEndpointProtectionEnabled(Boolean isEndpointProtectionEnabled) |
SensitivityLabel |
withName(String name) |
SensitivityLabel |
withPriority(Integer priority) |
SensitivityLabel |
withToolTip(String toolTip) |
protected String name
protected String displayName
protected String description
protected String toolTip
protected Boolean isEndpointProtectionEnabled
protected Boolean isDefault
protected ApplicationMode applicationMode
protected List<LabelActionBase> labelActions
protected String labelActionsNextLink
protected List<LabelPolicy> assignedPolicies
protected String assignedPoliciesNextLink
protected Integer priority
protected AutoLabeling autoLabeling
protected SensitivityLabelTarget applicableTo
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static SensitivityLabel.Builder builderSensitivityLabel()
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 SensitivityLabel withName(String name)
public SensitivityLabel withDisplayName(String displayName)
public SensitivityLabel withDescription(String description)
public SensitivityLabel withToolTip(String toolTip)
public SensitivityLabel withIsEndpointProtectionEnabled(Boolean isEndpointProtectionEnabled)
public SensitivityLabel withIsDefault(Boolean isDefault)
public Optional<ApplicationMode> getApplicationMode()
public SensitivityLabel withApplicationMode(ApplicationMode applicationMode)
public com.github.davidmoten.odata.client.CollectionPage<LabelActionBase> getLabelActions()
public com.github.davidmoten.odata.client.CollectionPage<LabelActionBase> getLabelActions(com.github.davidmoten.odata.client.HttpRequestOptions options)
public com.github.davidmoten.odata.client.CollectionPage<LabelPolicy> getAssignedPolicies()
public com.github.davidmoten.odata.client.CollectionPage<LabelPolicy> getAssignedPolicies(com.github.davidmoten.odata.client.HttpRequestOptions options)
public SensitivityLabel withPriority(Integer priority)
public Optional<AutoLabeling> getAutoLabeling()
public SensitivityLabel withAutoLabeling(AutoLabeling autoLabeling)
public Optional<SensitivityLabelTarget> getApplicableTo()
public SensitivityLabel withApplicableTo(SensitivityLabelTarget applicableTo)
public SensitivityLabelCollectionRequest getSublabels()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic SensitivityLabel patch()
this with changed fields reset.public SensitivityLabel put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.