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
  • Constructor Details

    • SensitivityLabel

      public SensitivityLabel()
      Instantiates a new SensitivityLabel and 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

      @Nullable public LabelActionSource getActionSource()
      Gets the actionSource property value. The actionSource property
      Returns:
      a LabelActionSource
    • getAutoTooltip

      @Nullable public String getAutoTooltip()
      Gets the autoTooltip property value. The autoTooltip property
      Returns:
      a String
    • getDescription

      @Nullable public String getDescription()
      Gets the description property value. The description property
      Returns:
      a String
    • getDisplayName

      @Nullable public 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:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getIsDefault

      @Nullable public Boolean getIsDefault()
      Gets the isDefault property value. The isDefault property
      Returns:
      a Boolean
    • getIsEndpointProtectionEnabled

      @Nullable public Boolean getIsEndpointProtectionEnabled()
      Gets the isEndpointProtectionEnabled property value. The isEndpointProtectionEnabled property
      Returns:
      a Boolean
    • getIsScopedToUser

      @Nullable public Boolean getIsScopedToUser()
      Gets the isScopedToUser property value. The isScopedToUser property
      Returns:
      a Boolean
    • getLocale

      @Nullable public String getLocale()
      Gets the locale property value. The locale property
      Returns:
      a String
    • getName

      @Nullable public String getName()
      Gets the name property value. The name property
      Returns:
      a String
    • getPriority

      @Nullable public Integer getPriority()
      Gets the priority property value. The priority property
      Returns:
      a Integer
    • getRights

      @Nullable public UsageRightsIncluded getRights()
      Gets the rights property value. The rights property
      Returns:
      a UsageRightsIncluded
    • getSublabels

      @Nullable public List<SensitivityLabel> getSublabels()
      Gets the sublabels property value. The sublabels property
      Returns:
      a List<SensitivityLabel>
    • getToolTip

      @Nullable public String 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
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setActionSource

      public void setActionSource(@Nullable LabelActionSource value)
      Sets the actionSource property value. The actionSource property
      Parameters:
      value - Value to set for the actionSource property.
    • setAutoTooltip

      public void setAutoTooltip(@Nullable String value)
      Sets the autoTooltip property value. The autoTooltip property
      Parameters:
      value - Value to set for the autoTooltip property.
    • setDescription

      public void setDescription(@Nullable String value)
      Sets the description property value. The description property
      Parameters:
      value - Value to set for the description property.
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. The displayName property
      Parameters:
      value - Value to set for the displayName property.
    • setIsDefault

      public void setIsDefault(@Nullable Boolean value)
      Sets the isDefault property value. The isDefault property
      Parameters:
      value - Value to set for the isDefault property.
    • setIsEndpointProtectionEnabled

      public void setIsEndpointProtectionEnabled(@Nullable Boolean value)
      Sets the isEndpointProtectionEnabled property value. The isEndpointProtectionEnabled property
      Parameters:
      value - Value to set for the isEndpointProtectionEnabled property.
    • setIsScopedToUser

      public void setIsScopedToUser(@Nullable Boolean value)
      Sets the isScopedToUser property value. The isScopedToUser property
      Parameters:
      value - Value to set for the isScopedToUser property.
    • setLocale

      public void setLocale(@Nullable String value)
      Sets the locale property value. The locale property
      Parameters:
      value - Value to set for the locale property.
    • setName

      public void setName(@Nullable String value)
      Sets the name property value. The name property
      Parameters:
      value - Value to set for the name property.
    • setPriority

      public void setPriority(@Nullable Integer value)
      Sets the priority property value. The priority property
      Parameters:
      value - Value to set for the priority property.
    • setRights

      public void setRights(@Nullable UsageRightsIncluded value)
      Sets the rights property value. The rights property
      Parameters:
      value - Value to set for the rights property.
    • setSublabels

      public void setSublabels(@Nullable List<SensitivityLabel> value)
      Sets the sublabels property value. The sublabels property
      Parameters:
      value - Value to set for the sublabels property.
    • setToolTip

      public void setToolTip(@Nullable String value)
      Sets the toolTip property value. The toolTip property
      Parameters:
      value - Value to set for the toolTip property.