/* Options: Date: 2025-05-04 14:05:47 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: False //ExportValueTypes: False IncludeTypes: TestSchedule.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.IO; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using Voice.Api.Scheduling; using Voice.Api.Customers; namespace Voice.Api.Customers { /// ///Test the customer's schedule /// [Route("/customers/{customerId}/test-schedule", "POST")] [Route("/endpoints/{endpointId}/test-schedule", "POST")] [Api(Description="Test the customer's schedule")] public partial class TestSchedule : IReturn { /// ///The ID of the customer whose schedule you want to test /// [ApiMember(Description="The ID of the customer whose schedule you want to test")] public virtual string CustomerId { get; set; } /// ///The ID of the endpoint whose schedule you want to test. /// [ApiMember(Description="The ID of the endpoint whose schedule you want to test.")] public virtual string EndpointId { get; set; } /// ///The schedule to use (leave null to use the current saved schedule) /// [ApiMember(Description="The schedule to use (leave null to use the current saved schedule)")] public virtual Schedule Schedule { get; set; } /// ///The ISO string of the date and time you want to test /// [ApiMember(Description="The ISO string of the date and time you want to test")] public virtual string DateTime { get; set; } } public partial class TestScheduleResponse { public virtual string StateName { get; set; } public virtual string TimeZoneId { get; set; } } } namespace Voice.Api.Scheduling { public partial class Schedule { public virtual string TimeZoneId { get; set; } public virtual bool Inherit { get; set; } public virtual bool ForceClosed { get; set; } public virtual List Rules { get; set; } public virtual string DefaultState { get; set; } } }