Package com.microsoft.graph.models
Class TeamsApp
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.TeamsApp
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class TeamsApp
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TeamsApp
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the appDefinitions property value.Gets the displayName property value.Gets the distributionMethod property value.Gets the externalId property value.The deserialization information for the current modelvoid
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setAppDefinitions
(List<TeamsAppDefinition> value) Sets the appDefinitions property value.void
setDisplayName
(String value) Sets the displayName property value.void
Sets the distributionMethod property value.void
setExternalId
(String value) Sets the externalId property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
TeamsApp
public TeamsApp()Instantiates a newTeamsApp
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static TeamsApp 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
TeamsApp
-
getAppDefinitions
Gets the appDefinitions property value. The details for each version of the app.- Returns:
- a
List<TeamsAppDefinition>
-
getDisplayName
Gets the displayName property value. The name of the catalog app provided by the app developer in the Microsoft Teams zip app package.- Returns:
- a
String
-
getDistributionMethod
Gets the distributionMethod property value. The method of distribution for the app. Read-only.- Returns:
- a
TeamsAppDistributionMethod
-
getExternalId
Gets the externalId property value. The ID of the catalog provided by the app developer in the Microsoft Teams zip app package.- 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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAppDefinitions
Sets the appDefinitions property value. The details for each version of the app.- Parameters:
value
- Value to set for the appDefinitions property.
-
setDisplayName
Sets the displayName property value. The name of the catalog app provided by the app developer in the Microsoft Teams zip app package.- Parameters:
value
- Value to set for the displayName property.
-
setDistributionMethod
Sets the distributionMethod property value. The method of distribution for the app. Read-only.- Parameters:
value
- Value to set for the distributionMethod property.
-
setExternalId
Sets the externalId property value. The ID of the catalog provided by the app developer in the Microsoft Teams zip app package.- Parameters:
value
- Value to set for the externalId property.
-