Class CopilotDataSourceEntity
Entity for Copilot data source
Carrier object for CopilotDataSourceEntity. Services for the CopilotDataSourceEntity Carrier is available from the AI Agent.Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.7.0.0")]
public class CopilotDataSourceEntity : Carrier
Examples
Get CopilotDataSourceEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new AIAgent();
var copilotDataSourceEntity = agent.GetCopilotDataSourceEntity( 123 );
}
Constructors
CopilotDataSourceEntity()
Default constructor
Declaration
public CopilotDataSourceEntity()
See Also
Properties
CopilotDataSourceId
Primary key
Declaration
[DataMember]
public virtual int CopilotDataSourceId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
See Also
CopilotDataSourceType
Type of copilot data source
Declaration
[DataMember]
public virtual CopilotDataSourceType CopilotDataSourceType { get; set; }
Property Value
| Type | Description |
|---|---|
| CopilotDataSourceType |
See Also
CopilotId
The associated copilot
Declaration
[DataMember]
public virtual int CopilotId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
See Also
Description
Description of data source
Declaration
[DataMember]
public virtual string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
Name
Name of data source
Declaration
[DataMember]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
Settings
Collection of data source settings
Declaration
[DataMember]
public virtual CopilotDataSourceSetting[] Settings { get; set; }
Property Value
| Type | Description |
|---|---|
| CopilotDataSourceSetting[] |
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | The carrier contents. |
See Also
ToString(string)
Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.
Declaration
public string ToString(string prefix)
Parameters
| Type | Name | Description |
|---|---|---|
| string | prefix | The line prefix (typically used for indenting) |
Returns
| Type | Description |
|---|---|
| string | The carrier contents. |