Class OptionalClaim

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

public class OptionalClaim extends Object implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Optional Claim.
  • Field Details

    • oDataType

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

      @SerializedName(value="additionalProperties", alternate="AdditionalProperties") @Expose @Nullable public List<String> additionalProperties
      The Additional Properties. Additional properties of the claim. If a property exists in this collection, it modifies the behavior of the optional claim specified in the name property.
    • essential

      @SerializedName(value="essential", alternate="Essential") @Expose @Nullable public Boolean essential
      The Essential. If the value is true, the claim specified by the client is necessary to ensure a smooth authorization experience for the specific task requested by the end user. The default value is false.
    • name

      @SerializedName(value="name", alternate="Name") @Expose @Nullable public String name
      The Name. The name of the optional claim.
    • source

      @SerializedName(value="source", alternate="Source") @Expose @Nullable public String source
      The Source. The source (directory object) of the claim. There are predefined claims and user-defined claims from extension properties. If the source value is null, the claim is a predefined optional claim. If the source value is user, the value in the name property is the extension property from the user object.
  • Constructor Details

    • OptionalClaim

      public OptionalClaim()
  • 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