/* Options: Date: 2024-07-03 14:30:49 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: AddCompanyTrial.* //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="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.") var CompanyId:UUID? = null /** * Id of the trial type */ @ApiMember(Description="Id of the trial type", IsRequired=true) var TrialTypeId:Int? = null companion object { private val responseType = CompanyTrialQueryResponse::class.java } override fun getResponseType(): Any? = AddCompanyTrial.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 }