/* Options: Date: 2024-06-26 11:08:36 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CompanyTrialsQuery.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/trials/company/", Verbs="GET") @ValidateRequest(Validator="IsAuthenticated") open class CompanyTrialsQuery : IReturn, ICompany { /** * Enter the company and id you want to see the information for a resource, if blank company id and you are an admin, your company id will be used. If blank id, all resources will be shown */ @ApiMember(Description="Enter the company and id you want to see the information for a resource, if blank company id and you are an admin, your company id will be used. If blank id, all resources will be shown ", IsRequired=true, ParameterType="query") var CompanyId:UUID? = null /** * Trial Id */ @ApiMember(Description="Trial Id", IsRequired=true, ParameterType="query") var Id:Int? = null companion object { private val responseType = CompanyTrialQueryResponse::class.java } override fun getResponseType(): Any? = CompanyTrialsQuery.responseType } open class CompanyTrialQueryResponse { var TrialTypeId:Int? = null var TrialType:TrialQueryResponse? = null var Started:Date? = null var Created:Date? = null var ValidTo:Date? = null var Active:Boolean? = null } open interface ICompany { var CompanyId:UUID? } open class TrialQueryResponse { var Id:Int? = null var Name:String? = null var TrialDays:Int? = null }