Package com.microsoft.graph.models
Class TeamsAppDefinition
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.TeamsAppDefinition
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class TeamsAppDefinition
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 TeamsAppDefinition
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the authorization property value.getBot()
Gets the bot property value.Gets the createdBy property value.Gets the description property value.Gets the displayName property value.The deserialization information for the current modelGets the lastModifiedDateTime property value.Gets the publishingState property value.Gets the shortDescription property value.Gets the teamsAppId property value.Gets the version property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the authorization property value.void
setBot
(TeamworkBot value) Sets the bot property value.void
setCreatedBy
(IdentitySet value) Sets the createdBy property value.void
setDescription
(String value) Sets the description property value.void
setDisplayName
(String value) Sets the displayName property value.void
Sets the lastModifiedDateTime property value.void
Sets the publishingState property value.void
setShortDescription
(String value) Sets the shortDescription property value.void
setTeamsAppId
(String value) Sets the teamsAppId property value.void
setVersion
(String value) Sets the version property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
TeamsAppDefinition
public TeamsAppDefinition()Instantiates a newTeamsAppDefinition
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static TeamsAppDefinition 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
TeamsAppDefinition
-
getAuthorization
Gets the authorization property value. Authorization requirements specified in the Teams app manifest.- Returns:
- a
TeamsAppAuthorization
-
getBot
Gets the bot property value. The details of the bot specified in the Teams app manifest.- Returns:
- a
TeamworkBot
-
getCreatedBy
Gets the createdBy property value. The createdBy property- Returns:
- a
IdentitySet
-
getDescription
Gets the description property value. Verbose description of the application.- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. The name of the app provided by the app developer.- 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>>
-
getLastModifiedDateTime
Gets the lastModifiedDateTime property value. The lastModifiedDateTime property- Returns:
- a
OffsetDateTime
-
getPublishingState
Gets the publishingState property value. The published status of a specific version of a Teams app. Possible values are:submittedThe specific version of the Teams app was submitted and is under review.publishedThe request to publish the specific version of the Teams app was approved by the admin and the app is published.rejectedThe admin rejected the request to publish the specific version of the Teams app.- Returns:
- a
TeamsAppPublishingState
-
getShortDescription
Gets the shortDescription property value. Short description of the application.- Returns:
- a
String
-
getTeamsAppId
Gets the teamsAppId property value. The ID from the Teams app manifest.- Returns:
- a
String
-
getVersion
Gets the version property value. The version number of the application.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAuthorization
Sets the authorization property value. Authorization requirements specified in the Teams app manifest.- Parameters:
value
- Value to set for the authorization property.
-
setBot
Sets the bot property value. The details of the bot specified in the Teams app manifest.- Parameters:
value
- Value to set for the bot property.
-
setCreatedBy
Sets the createdBy property value. The createdBy property- Parameters:
value
- Value to set for the createdBy property.
-
setDescription
Sets the description property value. Verbose description of the application.- Parameters:
value
- Value to set for the description property.
-
setDisplayName
Sets the displayName property value. The name of the app provided by the app developer.- Parameters:
value
- Value to set for the displayName property.
-
setLastModifiedDateTime
Sets the lastModifiedDateTime property value. The lastModifiedDateTime property- Parameters:
value
- Value to set for the lastModifiedDateTime property.
-
setPublishingState
Sets the publishingState property value. The published status of a specific version of a Teams app. Possible values are:submittedThe specific version of the Teams app was submitted and is under review.publishedThe request to publish the specific version of the Teams app was approved by the admin and the app is published.rejectedThe admin rejected the request to publish the specific version of the Teams app.- Parameters:
value
- Value to set for the publishingState property.
-
setShortDescription
Sets the shortDescription property value. Short description of the application.- Parameters:
value
- Value to set for the shortDescription property.
-
setTeamsAppId
Sets the teamsAppId property value. The ID from the Teams app manifest.- Parameters:
value
- Value to set for the teamsAppId property.
-
setVersion
Sets the version property value. The version number of the application.- Parameters:
value
- Value to set for the version property.
-