Table of Contents

Class SupportAiConnectionEntity

Namespace
Tharga.Team.MongoDB
Assembly
Tharga.Team.MongoDB.dll

A team's AI connection, with the key only as Data Protection protected it.

public record SupportAiConnectionEntity : EntityBase, ISupportInitialize, IEquatable<PersistableEntityBase>, IEntity<ObjectId>, IEquatable<EntityBase<ObjectId>>, IEquatable<EntityBase>, IEquatable<SupportAiConnectionEntity>
Inheritance
PersistableEntityBase
EntityBase<ObjectId>
EntityBase
SupportAiConnectionEntity
Implements
IEquatable<PersistableEntityBase>
IEntity<ObjectId>
IEquatable<EntityBase<ObjectId>>
IEquatable<EntityBase>
Inherited Members
EntityBase.ToString()
EntityBase.GetHashCode()
EntityBase.Equals(EntityBase<ObjectId>)
EntityBase.Equals(EntityBase)
EntityBase.<Clone>$()
EntityBase.EqualityContract
EntityBase<ObjectId>.Equals(PersistableEntityBase)
EntityBase<ObjectId>.Id
PersistableEntityBase.NeedsCleaning()
PersistableEntityBase.BeginInit()
PersistableEntityBase.EndInit()
PersistableEntityBase.CatchAll

Properties

BaseAddress

public string BaseAddress { get; init; }

Property Value

string

ChangedAt

public DateTime ChangedAt { get; init; }

Property Value

DateTime

ChangedByIdentity

public string ChangedByIdentity { get; init; }

Property Value

string

ChangedByName

public string ChangedByName { get; init; }

Property Value

string

Kind

Stored by name, so a reordered enum cannot turn one team's choice into another.

[BsonRepresentation(BsonType.String)]
public SupportAiConnectionKind Kind { get; init; }

Property Value

SupportAiConnectionKind

Model

public string Model { get; init; }

Property Value

string

ProtectedApiKey

The key as Data Protection protected it. Never the key itself.

public string ProtectedApiKey { get; init; }

Property Value

string

TeamKey

The team; one document per team.

public required string TeamKey { get; init; }

Property Value

string