SensitivityLabel
SensitivityLabel class
Represents the sensitivity label.
class SensitivityLabel;
Properties
| Property | Type | Description |
|---|---|---|
| id | string | Gets and sets the id of sensitivity label. |
| isEnabled | boolean | Indicates whether the sensitivity label is enabled |
| assignmentType | SensitivityLabelAssignmentType | Gets and sets the assignment method for the sensitivity label. |
| siteId | string | Represents the Azure Active Directory (Azure AD) site identifier corresponding to the sensitivity label policy which describes the sensitivity label. |
| contentMarkType | SensitivityLabelMarkType | Gets and sets the types of content marking that ought to be applied to a file. |
| isRemoved | boolean | Indicates whether the sensitivity label was removed. |
Methods
| Method | Description |
|---|---|
| getId() | @deprecated. Please use the ‘id’ property instead. Gets and sets the id of sensitivity label. |
| setId(string) | @deprecated. Please use the ‘id’ property instead. Gets and sets the id of sensitivity label. |
| isEnabled() | @deprecated. Please use the ‘isEnabled’ property instead. Indicates whether the sensitivity label is enabled |
| setIsEnabled(boolean) | @deprecated. Please use the ‘isEnabled’ property instead. Indicates whether the sensitivity label is enabled |
| getAssignmentType() | @deprecated. Please use the ‘assignmentType’ property instead. Gets and sets the assignment method for the sensitivity label. |
| setAssignmentType(SensitivityLabelAssignmentType) | @deprecated. Please use the ‘assignmentType’ property instead. Gets and sets the assignment method for the sensitivity label. |
| getSiteId() | @deprecated. Please use the ‘siteId’ property instead. Represents the Azure Active Directory (Azure AD) site identifier corresponding to the sensitivity label policy which describes the sensitivity label. |
| setSiteId(string) | @deprecated. Please use the ‘siteId’ property instead. Represents the Azure Active Directory (Azure AD) site identifier corresponding to the sensitivity label policy which describes the sensitivity label. |
| getContentMarkType() | @deprecated. Please use the ‘contentMarkType’ property instead. Gets and sets the types of content marking that ought to be applied to a file. |
| setContentMarkType(SensitivityLabelMarkType) | @deprecated. Please use the ‘contentMarkType’ property instead. Gets and sets the types of content marking that ought to be applied to a file. |
| isRemoved() | @deprecated. Please use the ‘isRemoved’ property instead. Indicates whether the sensitivity label was removed. |
| setIsRemoved(boolean) | @deprecated. Please use the ‘isRemoved’ property instead. Indicates whether the sensitivity label was removed. |
| isNull() | Checks whether the implementation object is null. |
id
Gets and sets the id of sensitivity label.
id : string;
isEnabled
Indicates whether the sensitivity label is enabled
isEnabled : boolean;
assignmentType
Gets and sets the assignment method for the sensitivity label.
assignmentType : SensitivityLabelAssignmentType;
siteId
Represents the Azure Active Directory (Azure AD) site identifier corresponding to the sensitivity label policy which describes the sensitivity label.
siteId : string;
contentMarkType
Gets and sets the types of content marking that ought to be applied to a file.
contentMarkType : SensitivityLabelMarkType;
isRemoved
Indicates whether the sensitivity label was removed.
isRemoved : boolean;
getId()
@deprecated. Please use the ‘id’ property instead. Gets and sets the id of sensitivity label.
getId() : string;
setId(string)
@deprecated. Please use the ‘id’ property instead. Gets and sets the id of sensitivity label.
setId(value: string) : void;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | string | The value to set. |
isEnabled()
@deprecated. Please use the ‘isEnabled’ property instead. Indicates whether the sensitivity label is enabled
isEnabled() : boolean;
setIsEnabled(boolean)
@deprecated. Please use the ‘isEnabled’ property instead. Indicates whether the sensitivity label is enabled
setIsEnabled(value: boolean) : void;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean | The value to set. |
getAssignmentType()
@deprecated. Please use the ‘assignmentType’ property instead. Gets and sets the assignment method for the sensitivity label.
getAssignmentType() : SensitivityLabelAssignmentType;
Returns
SensitivityLabelAssignmentType
setAssignmentType(SensitivityLabelAssignmentType)
@deprecated. Please use the ‘assignmentType’ property instead. Gets and sets the assignment method for the sensitivity label.
setAssignmentType(value: SensitivityLabelAssignmentType) : void;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | SensitivityLabelAssignmentType | The value to set. |
getSiteId()
@deprecated. Please use the ‘siteId’ property instead. Represents the Azure Active Directory (Azure AD) site identifier corresponding to the sensitivity label policy which describes the sensitivity label.
getSiteId() : string;
setSiteId(string)
@deprecated. Please use the ‘siteId’ property instead. Represents the Azure Active Directory (Azure AD) site identifier corresponding to the sensitivity label policy which describes the sensitivity label.
setSiteId(value: string) : void;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | string | The value to set. |
getContentMarkType()
@deprecated. Please use the ‘contentMarkType’ property instead. Gets and sets the types of content marking that ought to be applied to a file.
getContentMarkType() : SensitivityLabelMarkType;
Returns
setContentMarkType(SensitivityLabelMarkType)
@deprecated. Please use the ‘contentMarkType’ property instead. Gets and sets the types of content marking that ought to be applied to a file.
setContentMarkType(value: SensitivityLabelMarkType) : void;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | SensitivityLabelMarkType | The value to set. |
isRemoved()
@deprecated. Please use the ‘isRemoved’ property instead. Indicates whether the sensitivity label was removed.
isRemoved() : boolean;
setIsRemoved(boolean)
@deprecated. Please use the ‘isRemoved’ property instead. Indicates whether the sensitivity label was removed.
setIsRemoved(value: boolean) : void;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean | The value to set. |
isNull()
Checks whether the implementation object is null.
isNull() : boolean;