/* Options: Date: 2025-09-13 18:26:02 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bookmore.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: AddCompanyTrial.* //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="/trials/company/", Verbs="POST") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) @ValidateRequest(Validator="IsAuthenticated") open class AddCompanyTrial : IReturn, ICompany { /** * The company id, if empty will use the company id for the user you are logged in with. */ @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.") override var CompanyId:UUID? = null /** * Id of the trial type */ @ApiMember(Description="Id of the trial type", IsRequired=true) open var TrialTypeId:Int? = null companion object { private val responseType = CompanyTrialQueryResponse::class.java } override fun getResponseType(): Any? = AddCompanyTrial.responseType } open class CompanyTrialQueryResponse { open var TrialTypeId:Int? = null open var TrialType:TrialQueryResponse? = null open var Started:Date? = null open var Created:Date? = null open var ValidTo:Date? = null open var Active:Boolean? = null } interface ICompany { var CompanyId:UUID? } open class TrialQueryResponse { open var Id:Int? = null open var Name:String? = null open var TrialDays:Int? = null }