> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SuperOffice.WebApi.Data.CopilotDataSourceSetting

# <a id="SuperOffice_WebApi_Data_CopilotDataSourceSetting" /> Class CopilotDataSourceSetting

Namespace: [SuperOffice.WebApi.Data](SuperOffice.WebApi.Data.md)\
Assembly: SuperOffice.WebApi.dll

Carrier object for CopilotDataSourceSetting.
Setting for a Copilot data source (key + value)

```csharp theme={null}
public class CopilotDataSourceSetting : Carrier
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[Carrier](SuperOffice.WebApi.Data.Carrier.md) ←
[CopilotDataSourceSetting](SuperOffice.WebApi.Data.CopilotDataSourceSetting.md)

#### Inherited Members

[Carrier.TableRight](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_TableRight),
[Carrier.FieldProperties](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_FieldProperties),
[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Constructors

### <a id="SuperOffice_WebApi_Data_CopilotDataSourceSetting__ctor" /> CopilotDataSourceSetting()

Default constructor - defaults any enum props to 0.

```csharp theme={null}
public CopilotDataSourceSetting()
```

## Properties

### <a id="SuperOffice_WebApi_Data_CopilotDataSourceSetting_CopilotDataSourceId" /> CopilotDataSourceId

The associated copilot data source

```csharp theme={null}
public virtual int CopilotDataSourceId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_CopilotDataSourceSetting_CopilotDataSourceSettingId" /> CopilotDataSourceSettingId

Primary key

```csharp theme={null}
public virtual int CopilotDataSourceSettingId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_CopilotDataSourceSetting_Key" /> Key

The key of data source setting

```csharp theme={null}
public virtual string Key { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_CopilotDataSourceSetting_Value" /> Value

The value of data source setting

```csharp theme={null}
public virtual string Value { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

## See Also

[AIAgent](SuperOffice.WebApi.Agents.AIAgent.md)


## Related topics

- [SuperOffice.WebApi.Data.CopilotDataSourceEntity](/en/api/reference/webapi/SuperOffice.WebApi.Data.CopilotDataSourceEntity.md)
- [SuperOffice.WebApi.Data.CopilotDataSourceType](/en/api/reference/webapi/SuperOffice.WebApi.Data.CopilotDataSourceType.md)
- [SuperOffice.WebApi.Data.CopilotEntity](/en/api/reference/webapi/SuperOffice.WebApi.Data.CopilotEntity.md)
- [SuperOffice.WebApi.Agents.AIAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.AIAgent.md)
- [copilot_data_source_setting table](/en/database/tables/copilot-data-source-setting.md)
- [Put Copilot Data Source Entity](/en/api/reference/restful/rest/copilotdatasource/put-copilot-data-source-entity.md)
