Class ExternalConnection

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.externalconnectors.ExternalConnection
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class ExternalConnection extends Entity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • ExternalConnection

      public ExternalConnection()
      Instantiates a new ExternalConnection and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static ExternalConnection 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 ExternalConnection
    • getActivitySettings

      @Nullable public ActivitySettings getActivitySettings()
      Gets the activitySettings property value. Collects configurable settings related to activities involving connector content.
      Returns:
      a ActivitySettings
    • getConfiguration

      @Nullable public Configuration getConfiguration()
      Gets the configuration property value. Specifies additional application IDs that are allowed to manage the connection and to index content in the connection. Optional.
      Returns:
      a Configuration
    • getConnectorId

      @Nullable public String getConnectorId()
      Gets the connectorId property value. The Teams app ID. Optional.
      Returns:
      a String
    • getDescription

      @Nullable public String getDescription()
      Gets the description property value. Description of the connection displayed in the Microsoft 365 admin center. Optional.
      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>>
    • getGroups

      @Nullable public List<ExternalGroup> getGroups()
      Gets the groups property value. The groups property
      Returns:
      a List<ExternalGroup>
    • getItems

      @Nullable public List<ExternalItem> getItems()
      Gets the items property value. The items property
      Returns:
      a List<ExternalItem>
    • getName

      @Nullable public String getName()
      Gets the name property value. The display name of the connection to be displayed in the Microsoft 365 admin center. Maximum length of 128 characters. Required.
      Returns:
      a String
    • getOperations

      @Nullable public List<ConnectionOperation> getOperations()
      Gets the operations property value. The operations property
      Returns:
      a List<ConnectionOperation>
    • getSchema

      @Nullable public Schema getSchema()
      Gets the schema property value. The schema property
      Returns:
      a Schema
    • getSearchSettings

      @Nullable public SearchSettings getSearchSettings()
      Gets the searchSettings property value. The settings configuring the search experience for content in this connection, such as the display templates for search results.
      Returns:
      a SearchSettings
    • getState

      @Nullable public ConnectionState getState()
      Gets the state property value. Indicates the current state of the connection. Possible values are: draft, ready, obsolete, limitExceeded, unknownFutureValue.
      Returns:
      a ConnectionState
    • 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
    • setActivitySettings

      public void setActivitySettings(@Nullable ActivitySettings value)
      Sets the activitySettings property value. Collects configurable settings related to activities involving connector content.
      Parameters:
      value - Value to set for the activitySettings property.
    • setConfiguration

      public void setConfiguration(@Nullable Configuration value)
      Sets the configuration property value. Specifies additional application IDs that are allowed to manage the connection and to index content in the connection. Optional.
      Parameters:
      value - Value to set for the configuration property.
    • setConnectorId

      public void setConnectorId(@Nullable String value)
      Sets the connectorId property value. The Teams app ID. Optional.
      Parameters:
      value - Value to set for the connectorId property.
    • setDescription

      public void setDescription(@Nullable String value)
      Sets the description property value. Description of the connection displayed in the Microsoft 365 admin center. Optional.
      Parameters:
      value - Value to set for the description property.
    • setGroups

      public void setGroups(@Nullable List<ExternalGroup> value)
      Sets the groups property value. The groups property
      Parameters:
      value - Value to set for the groups property.
    • setItems

      public void setItems(@Nullable List<ExternalItem> value)
      Sets the items property value. The items property
      Parameters:
      value - Value to set for the items property.
    • setName

      public void setName(@Nullable String value)
      Sets the name property value. The display name of the connection to be displayed in the Microsoft 365 admin center. Maximum length of 128 characters. Required.
      Parameters:
      value - Value to set for the name property.
    • setOperations

      public void setOperations(@Nullable List<ConnectionOperation> value)
      Sets the operations property value. The operations property
      Parameters:
      value - Value to set for the operations property.
    • setSchema

      public void setSchema(@Nullable Schema value)
      Sets the schema property value. The schema property
      Parameters:
      value - Value to set for the schema property.
    • setSearchSettings

      public void setSearchSettings(@Nullable SearchSettings value)
      Sets the searchSettings property value. The settings configuring the search experience for content in this connection, such as the display templates for search results.
      Parameters:
      value - Value to set for the searchSettings property.
    • setState

      public void setState(@Nullable ConnectionState value)
      Sets the state property value. Indicates the current state of the connection. Possible values are: draft, ready, obsolete, limitExceeded, unknownFutureValue.
      Parameters:
      value - Value to set for the state property.