/* Options: Date: 2025-12-06 06:01:05 Version: 8.70 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.sbbet.ath.cx //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: OpenLocation.* //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 { @Route(Path="/cmd/locations", Verbs="POST") public static class OpenLocation implements IReturn { public String id = null; public String name = null; public RefEx organization = null; public Ref region = null; public Ref group = null; public Address address = null; public ArrayList devices = null; public ArrayList productInstances = null; public Locale locale = null; public HashMap integrationsData = null; public String getId() { return id; } public OpenLocation setId(String value) { this.id = value; return this; } public String getName() { return name; } public OpenLocation setName(String value) { this.name = value; return this; } public RefEx getOrganization() { return organization; } public OpenLocation setOrganization(RefEx value) { this.organization = value; return this; } public Ref getRegion() { return region; } public OpenLocation setRegion(Ref value) { this.region = value; return this; } public Ref getGroup() { return group; } public OpenLocation setGroup(Ref value) { this.group = value; return this; } public Address getAddress() { return address; } public OpenLocation setAddress(Address value) { this.address = value; return this; } public ArrayList getDevices() { return devices; } public OpenLocation setDevices(ArrayList value) { this.devices = value; return this; } public ArrayList getProductInstances() { return productInstances; } public OpenLocation setProductInstances(ArrayList value) { this.productInstances = value; return this; } public Locale getLocale() { return locale; } public OpenLocation setLocale(Locale value) { this.locale = value; return this; } public HashMap getIntegrationsData() { return integrationsData; } public OpenLocation setIntegrationsData(HashMap value) { this.integrationsData = value; return this; } private static Object responseType = ResponseStatus.class; public Object getResponseType() { return responseType; } } @DataContract public static class ResponseStatus { @DataMember(Order=1) public String errorCode = null; @DataMember(Order=2) public String message = null; @DataMember(Order=3) public String stackTrace = null; @DataMember(Order=4) public ArrayList errors = null; @DataMember(Order=5) public HashMap meta = null; public String getErrorCode() { return errorCode; } public ResponseStatus setErrorCode(String value) { this.errorCode = value; return this; } public String getMessage() { return message; } public ResponseStatus setMessage(String value) { this.message = value; return this; } public String getStackTrace() { return stackTrace; } public ResponseStatus setStackTrace(String value) { this.stackTrace = value; return this; } public ArrayList getErrors() { return errors; } public ResponseStatus setErrors(ArrayList value) { this.errors = value; return this; } public HashMap getMeta() { return meta; } public ResponseStatus setMeta(HashMap value) { this.meta = value; return this; } } public static class Ref { public String id = null; public String val = null; public String getId() { return id; } public Ref setId(String value) { this.id = value; return this; } public String getVal() { return val; } public Ref setVal(String value) { this.val = value; return this; } } public static class RefEx extends Ref { public RecordDictionary data = null; public RecordDictionary getData() { return data; } public RefEx setData(RecordDictionary value) { this.data = value; return this; } } public static class Address { public String street = null; public String city = null; public String state = null; public String postalCode = null; public Ref country = null; public GPSCoordinates gps = null; public RecordDictionary data = null; public String getStreet() { return street; } public Address setStreet(String value) { this.street = value; return this; } public String getCity() { return city; } public Address setCity(String value) { this.city = value; return this; } public String getState() { return state; } public Address setState(String value) { this.state = value; return this; } public String getPostalCode() { return postalCode; } public Address setPostalCode(String value) { this.postalCode = value; return this; } public Ref getCountry() { return country; } public Address setCountry(Ref value) { this.country = value; return this; } public GPSCoordinates getGps() { return gps; } public Address setGps(GPSCoordinates value) { this.gps = value; return this; } public RecordDictionary getData() { return data; } public Address setData(RecordDictionary value) { this.data = value; return this; } } public static class Device { public String id = null; public String name = null; public Boolean isActive = null; public DeviceType type = null; public RecordDictionary integrationsData = null; public String getId() { return id; } public Device setId(String value) { this.id = value; return this; } public String getName() { return name; } public Device setName(String value) { this.name = value; return this; } public Boolean getIsActive() { return isActive; } public Device setIsActive(Boolean value) { this.isActive = value; return this; } public DeviceType getType() { return type; } public Device setType(DeviceType value) { this.type = value; return this; } public RecordDictionary getIntegrationsData() { return integrationsData; } public Device setIntegrationsData(RecordDictionary value) { this.integrationsData = value; return this; } } public static class ProductInstanceRef { public String id = null; public String name = null; public String title = null; public ProductReference product = null; public String getId() { return id; } public ProductInstanceRef setId(String value) { this.id = value; return this; } public String getName() { return name; } public ProductInstanceRef setName(String value) { this.name = value; return this; } public String getTitle() { return title; } public ProductInstanceRef setTitle(String value) { this.title = value; return this; } public ProductReference getProduct() { return product; } public ProductInstanceRef setProduct(ProductReference value) { this.product = value; return this; } } public static class Locale { public Ref timeZone = null; public Ref currency = null; public Ref language = null; public Ref getTimeZone() { return timeZone; } public Locale setTimeZone(Ref value) { this.timeZone = value; return this; } public Ref getCurrency() { return currency; } public Locale setCurrency(Ref value) { this.currency = value; return this; } public Ref getLanguage() { return language; } public Locale setLanguage(Ref value) { this.language = value; return this; } } public static class RecordDictionary extends HashMap { } public static class ProductReference { public String id = null; public String value = null; public String category = null; public Ref productProvider = null; public String getId() { return id; } public ProductReference setId(String value) { this.id = value; return this; } public String getValue() { return value; } public ProductReference setValue(String value) { this.value = value; return this; } public String getCategory() { return category; } public ProductReference setCategory(String value) { this.category = value; return this; } public Ref getProductProvider() { return productProvider; } public ProductReference setProductProvider(Ref value) { this.productProvider = value; return this; } } public static class Device { public String id = null; public String name = null; public Boolean isActive = null; public DeviceType type = null; public RefEx location = null; public Ref locationGroup = null; public RefEx organization = null; public RecordDictionary integrationsData = null; public String getId() { return id; } public Device setId(String value) { this.id = value; return this; } public String getName() { return name; } public Device setName(String value) { this.name = value; return this; } public Boolean getIsActive() { return isActive; } public Device setIsActive(Boolean value) { this.isActive = value; return this; } public DeviceType getType() { return type; } public Device setType(DeviceType value) { this.type = value; return this; } public RefEx getLocation() { return location; } public Device setLocation(RefEx value) { this.location = value; return this; } public Ref getLocationGroup() { return locationGroup; } public Device setLocationGroup(Ref value) { this.locationGroup = value; return this; } public RefEx getOrganization() { return organization; } public Device setOrganization(RefEx value) { this.organization = value; return this; } public RecordDictionary getIntegrationsData() { return integrationsData; } public Device setIntegrationsData(RecordDictionary value) { this.integrationsData = value; return this; } } public static class GPSCoordinates { public Double lat = null; public Double lng = null; public Double getLat() { return lat; } public GPSCoordinates setLat(Double value) { this.lat = value; return this; } public Double getLng() { return lng; } public GPSCoordinates setLng(Double value) { this.lng = value; return this; } } }