/* Options: Date: 2026-01-13 14:48:24 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: GetAIUsage.* //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.* @Route(Path="/ai/usage") open class GetAIUsage : IReturn, IGet { /** * Filter by account ID. If not specified will return entries for all customers in all accounts in the date range */ @ApiMember(Description="Filter by account ID. If not specified will return entries for all customers in all accounts in the date range") open var accountId:String? = null /** * Filter by customer ID. If not specified, will return all customers for the accounts considered */ @ApiMember(Description="Filter by customer ID. If not specified, will return all customers for the accounts considered") open var customerId:String? = null /** * The start of the date range to consider */ @ApiMember(Description="The start of the date range to consider") open var startDate:String? = null /** * The end of the date range to consider */ @ApiMember(Description="The end of the date range to consider") open var endDate:String? = null companion object { private val responseType = AIUsage::class.java } override fun getResponseType(): Any? = GetAIUsage.responseType } open class AIUsage { open var accountUsage:ArrayList? = null open var customerUsage:ArrayList? = null } open class AIAccountUsage { /** * The account ID this customer belongs to */ @ApiMember(Description="The account ID this customer belongs to") open var accountId:String? = null /** * The total number of AI minutes used in the date range */ @ApiMember(Description="The total number of AI minutes used in the date range") open var aiMinutes:Int? = null } open class AICustomerUsage { /** * The account ID this customer belongs to */ @ApiMember(Description="The account ID this customer belongs to") open var accountId:String? = null /** * The customer ID for this uage */ @ApiMember(Description="The customer ID for this uage") open var customerId:String? = null /** * The total number of AI minutes used in the date range */ @ApiMember(Description="The total number of AI minutes used in the date range") open var aiMinutes:Int? = null }