/* Options: Date: 2024-11-21 12:09:35 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetRebateCodeType.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/rebatecodes/types", Verbs="GET") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) @ValidateRequest(Validator="IsAuthenticated") public static class GetRebateCodeType implements IReturn { /** * RebateCodeId */ @ApiMember(Description="RebateCodeId") public Integer Id = null; public Integer getId() { return Id; } public GetRebateCodeType setId(Integer value) { this.Id = value; return this; } private static Object responseType = RebateCodeTypeQueryResponse.class; public Object getResponseType() { return responseType; } } public static class RebateCodeTypeQueryResponse { public ResponseStatus ResponseStatus = null; public ArrayList RebateCodeTypeItems = null; public ResponseStatus getResponseStatus() { return ResponseStatus; } public RebateCodeTypeQueryResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } public ArrayList getRebateCodeTypeItems() { return RebateCodeTypeItems; } public RebateCodeTypeQueryResponse setRebateCodeTypeItems(ArrayList value) { this.RebateCodeTypeItems = value; return this; } } public static class RebateCodeTypeResponse { public Integer Id = null; public String Name = null; public String Description = null; public Integer getId() { return Id; } public RebateCodeTypeResponse setId(Integer value) { this.Id = value; return this; } public String getName() { return Name; } public RebateCodeTypeResponse setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public RebateCodeTypeResponse setDescription(String value) { this.Description = value; return this; } } }