Package com.microsoft.graph.models
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal com.microsoft.graph.serializer.AdditionalDataManager
void
setRawObject
(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON object
-
Field Details
-
oDataType
the OData type of the object as returned by the service -
additionalProperties
@SerializedName(value="additionalProperties", alternate="AdditionalProperties") @Expose @Nullable public List<String> additionalPropertiesThe 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 essentialThe 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
The Name. The name of the optional claim. -
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 interfacecom.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 interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-