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
  • Constructor Details

    • TeamsAppDefinition

      public TeamsAppDefinition()
      Instantiates a new TeamsAppDefinition 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

      @Nullable public TeamsAppAuthorization getAuthorization()
      Gets the authorization property value. Authorization requirements specified in the Teams app manifest.
      Returns:
      a TeamsAppAuthorization
    • getBot

      @Nullable public TeamworkBot getBot()
      Gets the bot property value. The details of the bot specified in the Teams app manifest.
      Returns:
      a TeamworkBot
    • getCreatedBy

      @Nullable public IdentitySet getCreatedBy()
      Gets the createdBy property value. The createdBy property
      Returns:
      a IdentitySet
    • getDescription

      @Nullable public String getDescription()
      Gets the description property value. Verbose description of the application.
      Returns:
      a String
    • getDisplayName

      @Nullable public 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 interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getLastModifiedDateTime

      @Nullable public OffsetDateTime getLastModifiedDateTime()
      Gets the lastModifiedDateTime property value. The lastModifiedDateTime property
      Returns:
      a OffsetDateTime
    • getPublishingState

      @Nullable public TeamsAppPublishingState 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

      @Nullable public String getShortDescription()
      Gets the shortDescription property value. Short description of the application.
      Returns:
      a String
    • getTeamsAppId

      @Nullable public String getTeamsAppId()
      Gets the teamsAppId property value. The ID from the Teams app manifest.
      Returns:
      a String
    • getVersion

      @Nullable public 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
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAuthorization

      public void setAuthorization(@Nullable TeamsAppAuthorization value)
      Sets the authorization property value. Authorization requirements specified in the Teams app manifest.
      Parameters:
      value - Value to set for the authorization property.
    • setBot

      public void setBot(@Nullable TeamworkBot value)
      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

      public void setCreatedBy(@Nullable IdentitySet value)
      Sets the createdBy property value. The createdBy property
      Parameters:
      value - Value to set for the createdBy property.
    • setDescription

      public void setDescription(@Nullable String value)
      Sets the description property value. Verbose description of the application.
      Parameters:
      value - Value to set for the description property.
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      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

      public void setLastModifiedDateTime(@Nullable OffsetDateTime value)
      Sets the lastModifiedDateTime property value. The lastModifiedDateTime property
      Parameters:
      value - Value to set for the lastModifiedDateTime property.
    • setPublishingState

      public void setPublishingState(@Nullable TeamsAppPublishingState value)
      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

      public void setShortDescription(@Nullable String value)
      Sets the shortDescription property value. Short description of the application.
      Parameters:
      value - Value to set for the shortDescription property.
    • setTeamsAppId

      public void setTeamsAppId(@Nullable String value)
      Sets the teamsAppId property value. The ID from the Teams app manifest.
      Parameters:
      value - Value to set for the teamsAppId property.
    • setVersion

      public void setVersion(@Nullable String value)
      Sets the version property value. The version number of the application.
      Parameters:
      value - Value to set for the version property.