Package com.microsoft.graph.models
Class AppIdentity
java.lang.Object
com.microsoft.graph.models.AppIdentity
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class AppIdentity
extends Object
implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.store.BackedModel, com.microsoft.kiota.serialization.Parsable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.microsoft.kiota.store.BackingStoreStores model information. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AppIdentitycreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the AdditionalData property value.getAppId()Gets the appId property value.com.microsoft.kiota.store.BackingStoreGets the backingStore property value.Gets the displayName property value.The deserialization information for the current modelGets the @odata.type property value.Gets the servicePrincipalId property value.Gets the servicePrincipalName property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAdditionalData(Map<String, Object> value) Sets the AdditionalData property value.voidSets the appId property value.voidsetBackingStore(com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value.voidsetDisplayName(String value) Sets the displayName property value.voidsetOdataType(String value) Sets the @odata.type property value.voidsetServicePrincipalId(String value) Sets the servicePrincipalId property value.voidsetServicePrincipalName(String value) Sets the servicePrincipalName property value.
-
Field Details
-
backingStore
@Nonnull protected com.microsoft.kiota.store.BackingStore backingStoreStores model information.
-
-
Constructor Details
-
AppIdentity
public AppIdentity()Instantiates a newAppIdentityand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static AppIdentity 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
AppIdentity
-
getAdditionalData
Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -
getAppId
Gets the appId property value. Refers to the unique ID representing application in Microsoft Entra ID.- Returns:
- a
String
-
getBackingStore
@Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()Gets the backingStore property value. Stores model information.- Specified by:
getBackingStorein interfacecom.microsoft.kiota.store.BackedModel- Returns:
- a
BackingStore
-
getDisplayName
Gets the displayName property value. Refers to the application name displayed in the Microsoft Entra admin center.- Returns:
- a
String
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model -
getOdataType
Gets the @odata.type property value. The OdataType property- Returns:
- a
String
-
getServicePrincipalId
Gets the servicePrincipalId property value. Refers to the unique ID for the service principal in Microsoft Entra ID.- Returns:
- a
String
-
getServicePrincipalName
Gets the servicePrincipalName property value. Refers to the Service Principal Name is the Application name in the tenant.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Parameters:
writer- Serialization writer to use to serialize this model
-
setAdditionalData
Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.- Parameters:
value- Value to set for the AdditionalData property.
-
setAppId
Sets the appId property value. Refers to the unique ID representing application in Microsoft Entra ID.- Parameters:
value- Value to set for the appId property.
-
setBackingStore
public void setBackingStore(@Nonnull com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value. Stores model information.- Parameters:
value- Value to set for the backingStore property.
-
setDisplayName
Sets the displayName property value. Refers to the application name displayed in the Microsoft Entra admin center.- Parameters:
value- Value to set for the displayName property.
-
setOdataType
Sets the @odata.type property value. The OdataType property- Parameters:
value- Value to set for the @odata.type property.
-
setServicePrincipalId
Sets the servicePrincipalId property value. Refers to the unique ID for the service principal in Microsoft Entra ID.- Parameters:
value- Value to set for the servicePrincipalId property.
-
setServicePrincipalName
Sets the servicePrincipalName property value. Refers to the Service Principal Name is the Application name in the tenant.- Parameters:
value- Value to set for the servicePrincipalName property.
-