/* Options: Date: 2025-12-06 10:29:02 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://sfgboxapi.dev.scadsoftware.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ProductsAdd.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/products", Verbs="POST") @DataContract open class ProductsAdd : IReturn { @DataMember(Order=2) @Validate(Validator="NotNull") var tenantsId:Long? = null @DataMember(Order=3) @Validate(Validator="NotNull") var zonesId:Long? = null @DataMember(Order=4) @Validate(Validator="NotNull") var varietiesId:Long? = null @DataMember(Order=5) @Validate(Validator="NotNull") var description:String? = null companion object { private val responseType = ProductsAddResponse::class.java } override fun getResponseType(): Any? = ProductsAdd.responseType } open class ProductsAddResponse { @DataMember(Order=2) var tenantsId:Long? = null @DataMember(Order=3) var zonesId:Long? = null @DataMember(Order=4) var varietiesId:Long? = null @DataMember(Order=5) var description:String? = null @DataMember(Order=7) var responseStatus:ResponseStatus? = null }