/* Options: Date: 2026-09-09 11:06:14 Version: 10.08 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://services.acct.2service.nl //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetParts.* //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.* @Route(Path="/dealers/all-parts", Verbs="GET") open class GetParts : AuthenticatedRequest(), IReturn> { /** * Number of parts to return. */ @ApiMember(Description="Number of parts to return.", IsRequired=true) open var PageSize:Int? = null /** * Page number. */ @ApiMember(Description="Page number.", IsRequired=true) open var Page:Int? = null companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = GetParts.responseType } open class OperationResult_1 : OperationResult() { /** * Result value */ @ApiMember(Description="Result value", ParameterType="model") open var Result:PartResults? = null } open class AuthenticatedRequest { /** * Session token received from successful authentication. */ @ApiMember(Description="Session token received from successful authentication.", IsRequired=true, ParameterType="query") open var SessionToken:String? = null } open class OperationResult { /** * Specifies if the operation was successful. */ @ApiMember(Description="Specifies if the operation was successful.", ParameterType="model") open var IsSuccessful:Boolean? = null /** * States error message in case of unsuccessful operation. */ @ApiMember(Description="States error message in case of unsuccessful operation.", ParameterType="model") open var ErrorMessage:String? = null }