Class SensitivityLabelAssignment

java.lang.Object
com.microsoft.graph.models.SensitivityLabelAssignment
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class SensitivityLabelAssignment extends Object implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Sensitivity Label Assignment.
  • Field Details

    • oDataType

      @SerializedName("@odata.type") @Expose @Nullable public String oDataType
      the OData type of the object as returned by the service
    • assignmentMethod

      @SerializedName(value="assignmentMethod", alternate="AssignmentMethod") @Expose @Nullable public SensitivityLabelAssignmentMethod assignmentMethod
      The Assignment Method. Indicates whether the label assignment is done automatically, as a standard, or a privileged operation. The possible values are: standard, privileged, auto, unknownFutureValue.
    • sensitivityLabelId

      @SerializedName(value="sensitivityLabelId", alternate="SensitivityLabelId") @Expose @Nullable public String sensitivityLabelId
      The Sensitivity Label Id. The unique identifier for the sensitivity label assigned to the file.
    • tenantId

      @SerializedName(value="tenantId", alternate="TenantId") @Expose @Nullable public String tenantId
      The Tenant Id. The unique identifier for the tenant that hosts the file when this label is applied.
  • Constructor Details

    • SensitivityLabelAssignment

      public SensitivityLabelAssignment()
  • Method Details

    • additionalDataManager

      @Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()
      Specified by:
      additionalDataManager in interface com.microsoft.graph.serializer.IJsonBackedObject
    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to