VoiceDescriptor
Namespace AgentPrism · Assembly
AgentPrism.Abstractions.dllThe definition of an available voice.
public sealed record VoiceDescriptor : IEquatable<VoiceDescriptor>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”The provider’s preview_url field is deliberately not carried:
playing it in the UI would connect the browser to the provider’s address.
Adding it later is not a breaking change; removing it would be.
Constructors
Section titled “Constructors”VoiceDescriptor()
Section titled “ VoiceDescriptor()”public VoiceDescriptor()Properties
Section titled “Properties”Category
Section titled “ Category”The category given by the provider (for example, premade).
public string? Category { get; init; }Property Value
Section titled “Property Value”The human-readable name.
public required string Name { get; init; }Property Value
Section titled “Property Value”VoiceId
Section titled “ VoiceId”The voice identifier. Used in agent definitions and requests.
public required string VoiceId { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(VoiceDescriptor?)
Section titled “ Equals(VoiceDescriptor?)”public bool Equals(VoiceDescriptor? other)Parameters
Section titled “Parameters”other VoiceDescriptor?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(VoiceDescriptor?, VoiceDescriptor?)
Section titled “ operator ==(VoiceDescriptor?, VoiceDescriptor?)”public static bool operator ==(VoiceDescriptor? left, VoiceDescriptor? right)Parameters
Section titled “Parameters”left VoiceDescriptor?
right VoiceDescriptor?
Returns
Section titled “Returns”operator !=(VoiceDescriptor?, VoiceDescriptor?)
Section titled “ operator !=(VoiceDescriptor?, VoiceDescriptor?)”public static bool operator !=(VoiceDescriptor? left, VoiceDescriptor? right)Parameters
Section titled “Parameters”left VoiceDescriptor?
right VoiceDescriptor?