/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the wisdom-2020-10-19.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ConnectWisdomService.Model { /// /// Configuration information for Amazon AppIntegrations to automatically ingest content. /// public partial class AppIntegrationsConfiguration { private string _appIntegrationArn; private List _objectFields = new List(); /// /// Gets and sets the property AppIntegrationArn. /// /// The Amazon Resource Name (ARN) of the AppIntegrations DataIntegration to use for ingesting /// content. /// ///
  • /// /// For /// Salesforce, your AppIntegrations DataIntegration must have an ObjectConfiguration /// if objectFields is not provided, including at least Id, ArticleNumber, /// VersionNumber, Title, PublishStatus, and IsDeleted /// as source fields. /// ///
  • /// /// For /// ServiceNow, your AppIntegrations DataIntegration must have an ObjectConfiguration /// if objectFields is not provided, including at least number, short_description, /// sys_mod_count, workflow_state, and active as /// source fields. /// ///
  • /// /// For /// Zendesk, your AppIntegrations DataIntegration must have an ObjectConfiguration /// if objectFields is not provided, including at least id, /// title, updated_at, and draft as source fields. /// /// ///
  • /// /// For /// SharePoint, your AppIntegrations DataIntegration must have a FileConfiguration, /// including only file extensions that are among docx, pdf, /// html, htm, and txt. /// ///
///
[AWSProperty(Required=true, Min=1, Max=2048)] public string AppIntegrationArn { get { return this._appIntegrationArn; } set { this._appIntegrationArn = value; } } // Check to see if AppIntegrationArn property is set internal bool IsSetAppIntegrationArn() { return this._appIntegrationArn != null; } /// /// Gets and sets the property ObjectFields. /// /// The fields from the source that are made available to your agents in Wisdom. Optional /// if ObjectConfiguration is included in the provided DataIntegration. /// ///
  • /// /// For /// Salesforce, you must include at least Id, ArticleNumber, /// VersionNumber, Title, PublishStatus, and IsDeleted. /// /// ///
  • /// /// For /// ServiceNow, you must include at least number, short_description, /// sys_mod_count, workflow_state, and active. /// /// ///
  • /// /// For /// Zendesk, you must include at least id, title, updated_at, /// and draft. /// ///
/// /// Make sure to include additional fields. These fields are indexed and used to source /// recommendations. /// ///
[AWSProperty(Min=1, Max=100)] public List ObjectFields { get { return this._objectFields; } set { this._objectFields = value; } } // Check to see if ObjectFields property is set internal bool IsSetObjectFields() { return this._objectFields != null && this._objectFields.Count > 0; } } }