/* Options: Date: 2025-05-04 14:16:04 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: TestSchedule.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* /** * Test the customer's schedule */ @Route(Path="/customers/{customerId}/test-schedule", Verbs="POST") // @Route(Path="/endpoints/{endpointId}/test-schedule", Verbs="POST") @Api(Description="Test the customer's schedule") open 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") open var customerId:String? = null /** * The ID of the endpoint whose schedule you want to test. */ @ApiMember(Description="The ID of the endpoint whose schedule you want to test.") open var endpointId:String? = null /** * 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)") open var schedule:Schedule? = null /** * 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") open var dateTime:String? = null companion object { private val responseType = TestScheduleResponse::class.java } override fun getResponseType(): Any? = TestSchedule.responseType } open class TestScheduleResponse { open var stateName:String? = null open var timeZoneId:String? = null } open class Schedule { open var timeZoneId:String? = null open var inherit:Boolean? = null open var forceClosed:Boolean? = null open var rules:ArrayList? = null open var defaultState:String? = null }