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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ExternalConnection
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the activitySettings property value.Gets the configuration property value.Gets the connectorId property value.Gets the description property value.The deserialization information for the current modelGets the groups property value.getItems()
Gets the items property value.getName()
Gets the name property value.Gets the operations property value.Gets the schema property value.Gets the searchSettings property value.getState()
Gets the state property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the activitySettings property value.void
setConfiguration
(Configuration value) Sets the configuration property value.void
setConnectorId
(String value) Sets the connectorId property value.void
setDescription
(String value) Sets the description property value.void
setGroups
(List<ExternalGroup> value) Sets the groups property value.void
setItems
(List<ExternalItem> value) Sets the items property value.void
Sets the name property value.void
setOperations
(List<ConnectionOperation> value) Sets the operations property value.void
Sets the schema property value.void
setSearchSettings
(SearchSettings value) Sets the searchSettings property value.void
setState
(ConnectionState value) Sets the state property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
ExternalConnection
public ExternalConnection()Instantiates a newExternalConnection
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
Gets the activitySettings property value. Collects configurable settings related to activities involving connector content.- Returns:
- a
ActivitySettings
-
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
Gets the connectorId property value. The Teams app ID. Optional.- Returns:
- a
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getGroups
Gets the groups property value. The groups property- Returns:
- a
List<ExternalGroup>
-
getItems
Gets the items property value. The items property- Returns:
- a
List<ExternalItem>
-
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
Gets the operations property value. The operations property- Returns:
- a
List<ConnectionOperation>
-
getSchema
Gets the schema property value. The schema property- Returns:
- a
Schema
-
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
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 -
setActivitySettings
Sets the activitySettings property value. Collects configurable settings related to activities involving connector content.- Parameters:
value
- Value to set for the activitySettings property.
-
setConfiguration
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
Sets the connectorId property value. The Teams app ID. Optional.- Parameters:
value
- Value to set for the connectorId property.
-
setDescription
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
Sets the groups property value. The groups property- Parameters:
value
- Value to set for the groups property.
-
setItems
Sets the items property value. The items property- Parameters:
value
- Value to set for the items property.
-
setName
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
Sets the operations property value. The operations property- Parameters:
value
- Value to set for the operations property.
-
setSchema
Sets the schema property value. The schema property- Parameters:
value
- Value to set for the schema property.
-
setSearchSettings
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
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.
-