Package com.microsoft.graph.models
Class SensitivityLabel
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.SensitivityLabel
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class SensitivityLabel
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SensitivityLabelcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the actionSource property value.Gets the autoTooltip property value.Gets the description property value.Gets the displayName property value.The deserialization information for the current modelGets the isDefault property value.Gets the isEndpointProtectionEnabled property value.Gets the isScopedToUser property value.Gets the locale property value.getName()Gets the name property value.Gets the priority property value.Gets the rights property value.Gets the sublabels property value.Gets the toolTip property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetActionSource(LabelActionSource value) Sets the actionSource property value.voidsetAutoTooltip(String value) Sets the autoTooltip property value.voidsetDescription(String value) Sets the description property value.voidsetDisplayName(String value) Sets the displayName property value.voidsetIsDefault(Boolean value) Sets the isDefault property value.voidSets the isEndpointProtectionEnabled property value.voidsetIsScopedToUser(Boolean value) Sets the isScopedToUser property value.voidSets the locale property value.voidSets the name property value.voidsetPriority(Integer value) Sets the priority property value.voidsetRights(UsageRightsIncluded value) Sets the rights property value.voidsetSublabels(List<SensitivityLabel> value) Sets the sublabels property value.voidsetToolTip(String value) Sets the toolTip property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
SensitivityLabel
public SensitivityLabel()Instantiates a newSensitivityLabeland sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static SensitivityLabel createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode- The parse node to use to read the discriminator value and create the object- Returns:
- a
SensitivityLabel
-
getActionSource
Gets the actionSource property value. The actionSource property- Returns:
- a
LabelActionSource
-
getAutoTooltip
Gets the autoTooltip property value. The autoTooltip property- Returns:
- a
String
-
getDescription
Gets the description property value. The description property- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. The displayName property- Returns:
- a
String
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classEntity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getIsDefault
Gets the isDefault property value. The isDefault property- Returns:
- a
Boolean
-
getIsEndpointProtectionEnabled
Gets the isEndpointProtectionEnabled property value. The isEndpointProtectionEnabled property- Returns:
- a
Boolean
-
getIsScopedToUser
Gets the isScopedToUser property value. The isScopedToUser property- Returns:
- a
Boolean
-
getLocale
Gets the locale property value. The locale property- Returns:
- a
String
-
getName
Gets the name property value. The name property- Returns:
- a
String
-
getPriority
Gets the priority property value. The priority property- Returns:
- a
Integer
-
getRights
Gets the rights property value. The rights property- Returns:
- a
UsageRightsIncluded
-
getSublabels
Gets the sublabels property value. The sublabels property- Returns:
- a
List<SensitivityLabel>
-
getToolTip
Gets the toolTip property value. The toolTip property- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setActionSource
Sets the actionSource property value. The actionSource property- Parameters:
value- Value to set for the actionSource property.
-
setAutoTooltip
Sets the autoTooltip property value. The autoTooltip property- Parameters:
value- Value to set for the autoTooltip property.
-
setDescription
Sets the description property value. The description property- Parameters:
value- Value to set for the description property.
-
setDisplayName
Sets the displayName property value. The displayName property- Parameters:
value- Value to set for the displayName property.
-
setIsDefault
Sets the isDefault property value. The isDefault property- Parameters:
value- Value to set for the isDefault property.
-
setIsEndpointProtectionEnabled
Sets the isEndpointProtectionEnabled property value. The isEndpointProtectionEnabled property- Parameters:
value- Value to set for the isEndpointProtectionEnabled property.
-
setIsScopedToUser
Sets the isScopedToUser property value. The isScopedToUser property- Parameters:
value- Value to set for the isScopedToUser property.
-
setLocale
Sets the locale property value. The locale property- Parameters:
value- Value to set for the locale property.
-
setName
Sets the name property value. The name property- Parameters:
value- Value to set for the name property.
-
setPriority
Sets the priority property value. The priority property- Parameters:
value- Value to set for the priority property.
-
setRights
Sets the rights property value. The rights property- Parameters:
value- Value to set for the rights property.
-
setSublabels
Sets the sublabels property value. The sublabels property- Parameters:
value- Value to set for the sublabels property.
-
setToolTip
Sets the toolTip property value. The toolTip property- Parameters:
value- Value to set for the toolTip property.
-