/* Options: Date: 2026-09-09 11:02:03 Version: 10.08 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://services.acct.2service.nl //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetSearchParts.* //ExcludeTypes: //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.*; public class dtos { @Route(Path="/dealers/parts/search", Verbs="GET") public static class GetSearchParts extends AuthenticatedRequest implements IReturn> { /** * Keyword(s) */ @ApiMember(Description="Keyword(s)", IsRequired=true) public String SearchText = null; /** * Article type (1=part, 2=accessory, 3=tool, 4=device) */ @ApiMember(Description="Article type (1=part, 2=accessory, 3=tool, 4=device)", IsRequired=true) public Integer ArticleType = null; /** * Number of parts to return (max 100). */ @ApiMember(Description="Number of parts to return (max 100).", IsRequired=true) public Integer PageSize = null; /** * Page number. */ @ApiMember(Description="Page number.", IsRequired=true) public Integer Page = null; public String getSearchText() { return SearchText; } public GetSearchParts setSearchText(String value) { this.SearchText = value; return this; } public Integer getArticleType() { return ArticleType; } public GetSearchParts setArticleType(Integer value) { this.ArticleType = value; return this; } public Integer getPageSize() { return PageSize; } public GetSearchParts setPageSize(Integer value) { this.PageSize = value; return this; } public Integer getPage() { return Page; } public GetSearchParts setPage(Integer value) { this.Page = value; return this; } private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } public static class OperationResult_1 extends OperationResult { /** * Result value */ @ApiMember(Description="Result value", ParameterType="model") public PartResults Result = null; public PartResults getResult() { return Result; } public OperationResult_1 setResult(PartResults value) { this.Result = value; return this; } } public static class AuthenticatedRequest { /** * Session token received from successful authentication. */ @ApiMember(Description="Session token received from successful authentication.", IsRequired=true, ParameterType="query") public String SessionToken = null; public String getSessionToken() { return SessionToken; } public AuthenticatedRequest setSessionToken(String value) { this.SessionToken = value; return this; } } public static class OperationResult { /** * Specifies if the operation was successful. */ @ApiMember(Description="Specifies if the operation was successful.", ParameterType="model") public Boolean IsSuccessful = null; /** * States error message in case of unsuccessful operation. */ @ApiMember(Description="States error message in case of unsuccessful operation.", ParameterType="model") public String ErrorMessage = null; public Boolean getIsSuccessful() { return IsSuccessful; } public OperationResult setIsSuccessful(Boolean value) { this.IsSuccessful = value; return this; } public String getErrorMessage() { return ErrorMessage; } public OperationResult setErrorMessage(String value) { this.ErrorMessage = value; return this; } } }