/* Options:
Date: 2025-07-18 06:11:55
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: ListCalls.*
//ExcludeTypes: 
//InitializeCollections: False
//TreatTypesAsStrings: 
//DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.*
*/

import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
import com.google.gson.annotations.*
import com.google.gson.reflect.*


/**
* Retrieve all calls
*/
@Route(Path="/billing/calls", Verbs="GET")
@Api(Description="Retrieve all calls")
open class ListCalls : IReturn<ArrayList<CallInfo>>
{
    /**
    * The account ID you are listing for
    */
    @ApiMember(Description="The account ID you are listing for")
    open var accountId:String? = null

    /**
    * The start date to retrieve calls for (YYYY-MM-DD)
    */
    @ApiMember(Description="The start date to retrieve calls for (YYYY-MM-DD)")
    open var startDate:String? = null

    /**
    * The end date to retrieve calls for (YYYY-MM-DD)
    */
    @ApiMember(Description="The end date to retrieve calls for (YYYY-MM-DD)")
    open var endDate:String? = null
    companion object { private val responseType = object : TypeToken<ArrayList<CallInfo>>(){}.type }
    override fun getResponseType(): Any? = ListCalls.responseType
}