/* Options: Date: 2025-12-06 05:20:57 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: AddLocationDevice.* //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/devices/add", Verbs="POST") public static class AddLocationDevice implements IReturn { public String id = null; public Device device = null; public String getId() { return id; } public AddLocationDevice setId(String value) { this.id = value; return this; } public Device getDevice() { return device; } public AddLocationDevice setDevice(Device value) { this.device = 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 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 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; } } }