/* Options: Date: 2026-04-04 02:54:55 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetStates.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class dtos { /** * Get states for the specified country */ @Route(Path="/states/{CountryId}") @Api(Description="Get states for the specified country") public static class GetStates implements IReturn { /** * Get states for the specified country id */ @ApiMember(Description="Get states for the specified country id", Name="CountryId") public UUID CountryId = null; public UUID getCountryId() { return CountryId; } public GetStates setCountryId(UUID value) { this.CountryId = value; return this; } private static Object responseType = GetStatesResponse.class; public Object getResponseType() { return responseType; } } @ApiResponse(Description="List of states") public static class GetStatesResponse { public ArrayList States = null; public ResponseStatus ResponseStatus = null; public ArrayList getStates() { return States; } public GetStatesResponse setStates(ArrayList value) { this.States = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public GetStatesResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class StateModel { public UUID StateId = null; public String Name = null; public String ShortName = null; public UUID getStateId() { return StateId; } public StateModel setStateId(UUID value) { this.StateId = value; return this; } public String getName() { return Name; } public StateModel setName(String value) { this.Name = value; return this; } public String getShortName() { return ShortName; } public StateModel setShortName(String value) { this.ShortName = value; return this; } } }