SpeakResponse
Namespace AgentPrism · Assembly
AgentPrism.Abstractions.dllThe result of speech synthesis.
public sealed record SpeakResponse : IEquatable<SpeakResponse>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()
Constructors
Section titled “Constructors”SpeakResponse()
Section titled “ SpeakResponse()”public SpeakResponse()Properties
Section titled “Properties”Alignment
Section titled “ Alignment”Character-level timing. null when not requested via
SpeakRequest.IncludeTimestamps, or when the provider does not support it.
public IReadOnlyList<SpeechAlignment>? Alignment { get; init; }Property Value
Section titled “Property Value”IReadOnlyList<SpeechAlignment>?
Attachment
Section titled “ Attachment”The saved attachment.
public required AttachmentDescriptor Attachment { get; init; }Property Value
Section titled “Property Value”Characters
Section titled “ Characters”The billed character count.
public required int Characters { get; init; }Property Value
Section titled “Property Value”The computed amount. null if pricing is undefined.
public decimal? Cost { get; init; }Property Value
Section titled “Property Value”Currency
Section titled “ Currency”The currency label.
public string? Currency { get; init; }Property Value
Section titled “Property Value”IsEstimated
Section titled “ IsEstimated”Whether the character count is estimated.
public required bool IsEstimated { 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(SpeakResponse?)
Section titled “ Equals(SpeakResponse?)”public bool Equals(SpeakResponse? other)Parameters
Section titled “Parameters”other SpeakResponse?
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 ==(SpeakResponse?, SpeakResponse?)
Section titled “ operator ==(SpeakResponse?, SpeakResponse?)”public static bool operator ==(SpeakResponse? left, SpeakResponse? right)Parameters
Section titled “Parameters”left SpeakResponse?
right SpeakResponse?
Returns
Section titled “Returns”operator !=(SpeakResponse?, SpeakResponse?)
Section titled “ operator !=(SpeakResponse?, SpeakResponse?)”public static bool operator !=(SpeakResponse? left, SpeakResponse? right)Parameters
Section titled “Parameters”left SpeakResponse?
right SpeakResponse?