25 lines
469 B
C#
25 lines
469 B
C#
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace EnvelopeGenerator.Application.Common.Dto.Messaging;
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
[ApiExplorerSettings(IgnoreApi = true)]
|
|
public record SmsResponse
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public required bool Ok { get; init; }
|
|
|
|
/// <summary>
|
|
/// Returns !Ok
|
|
/// </summary>
|
|
public bool Failed => !Ok;
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public dynamic? Errors { get; init; }
|
|
} |