/* Options: Date: 2026-06-06 01:23:42 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://link.dc8.unico3.cloud //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: Impianto.* //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="/assistenza/impianti", Verbs="PUT") // @Route(Path="/assistenza/impianti/id/{Id}", Verbs="PUT,GET") // @Route(Path="/assistenza/impianti/codice/{Codice}", Verbs="PUT,GET") // @Route(Path="/assistenza/impianti/codiceexport/{CodiceExport}", Verbs="PUT,GET") public static class Impianto implements IReturn { public Integer Id = null; public Integer Codice = null; public String CodiceExport = null; public String Nominativo = null; public TipoTelefono TipoTelefono1 = null; public TipoTelefono TipoTelefono2 = null; public TipoTelefono TipoTelefono3 = null; public String Telefono1 = null; public String Telefono2 = null; public String Telefono3 = null; public String Indirizzo = null; public String NumeroCivico = null; public FK_Comune Comune = null; public FK_Zona Zona = null; public String Palazzo = null; public String Scala = null; public String Piano = null; public String Interno = null; public String Citofono = null; public String Gruppo = null; public String Suffisso = null; public FK_TipologiaImpianto Tipologia = null; public FK_CAT CAT = null; public FK_Combustibile Combustibile = null; public Integer getId() { return Id; } public Impianto setId(Integer value) { this.Id = value; return this; } public Integer getCodice() { return Codice; } public Impianto setCodice(Integer value) { this.Codice = value; return this; } public String getCodiceExport() { return CodiceExport; } public Impianto setCodiceExport(String value) { this.CodiceExport = value; return this; } public String getNominativo() { return Nominativo; } public Impianto setNominativo(String value) { this.Nominativo = value; return this; } public TipoTelefono getTipoTelefono1() { return TipoTelefono1; } public Impianto setTipoTelefono1(TipoTelefono value) { this.TipoTelefono1 = value; return this; } public TipoTelefono getTipoTelefono2() { return TipoTelefono2; } public Impianto setTipoTelefono2(TipoTelefono value) { this.TipoTelefono2 = value; return this; } public TipoTelefono getTipoTelefono3() { return TipoTelefono3; } public Impianto setTipoTelefono3(TipoTelefono value) { this.TipoTelefono3 = value; return this; } public String getTelefono1() { return Telefono1; } public Impianto setTelefono1(String value) { this.Telefono1 = value; return this; } public String getTelefono2() { return Telefono2; } public Impianto setTelefono2(String value) { this.Telefono2 = value; return this; } public String getTelefono3() { return Telefono3; } public Impianto setTelefono3(String value) { this.Telefono3 = value; return this; } public String getIndirizzo() { return Indirizzo; } public Impianto setIndirizzo(String value) { this.Indirizzo = value; return this; } public String getNumeroCivico() { return NumeroCivico; } public Impianto setNumeroCivico(String value) { this.NumeroCivico = value; return this; } public FK_Comune getComune() { return Comune; } public Impianto setComune(FK_Comune value) { this.Comune = value; return this; } public FK_Zona getZona() { return Zona; } public Impianto setZona(FK_Zona value) { this.Zona = value; return this; } public String getPalazzo() { return Palazzo; } public Impianto setPalazzo(String value) { this.Palazzo = value; return this; } public String getScala() { return Scala; } public Impianto setScala(String value) { this.Scala = value; return this; } public String getPiano() { return Piano; } public Impianto setPiano(String value) { this.Piano = value; return this; } public String getInterno() { return Interno; } public Impianto setInterno(String value) { this.Interno = value; return this; } public String getCitofono() { return Citofono; } public Impianto setCitofono(String value) { this.Citofono = value; return this; } public String getGruppo() { return Gruppo; } public Impianto setGruppo(String value) { this.Gruppo = value; return this; } public String getSuffisso() { return Suffisso; } public Impianto setSuffisso(String value) { this.Suffisso = value; return this; } public FK_TipologiaImpianto getTipologia() { return Tipologia; } public Impianto setTipologia(FK_TipologiaImpianto value) { this.Tipologia = value; return this; } public FK_CAT getCat() { return CAT; } public Impianto setCat(FK_CAT value) { this.CAT = value; return this; } public FK_Combustibile getCombustibile() { return Combustibile; } public Impianto setCombustibile(FK_Combustibile value) { this.Combustibile = value; return this; } private static Object responseType = Impianto.class; public Object getResponseType() { return responseType; } } public static enum TipoTelefono { Fisso, Fax, Cellulare, Sms; } public static class FK_Comune extends FK { public String CAP = null; public String Denominazione = null; public String Provincia = null; public String CodiceISTAT = null; public String getCap() { return CAP; } public FK_Comune setCap(String value) { this.CAP = value; return this; } public String getDenominazione() { return Denominazione; } public FK_Comune setDenominazione(String value) { this.Denominazione = value; return this; } public String getProvincia() { return Provincia; } public FK_Comune setProvincia(String value) { this.Provincia = value; return this; } public String getCodiceISTAT() { return CodiceISTAT; } public FK_Comune setCodiceISTAT(String value) { this.CodiceISTAT = value; return this; } } public static class FK_Zona extends FK implements IUniqueSigla, IUniqueDescrizione { public String Sigla = null; public String Descrizione = null; public String getSigla() { return Sigla; } public FK_Zona setSigla(String value) { this.Sigla = value; return this; } public String getDescrizione() { return Descrizione; } public FK_Zona setDescrizione(String value) { this.Descrizione = value; return this; } } public static class FK_TipologiaImpianto extends FK implements IUniqueDescrizione, IUniqueCodiceExport { public String CodiceExport = null; public String Descrizione = null; public String getCodiceExport() { return CodiceExport; } public FK_TipologiaImpianto setCodiceExport(String value) { this.CodiceExport = value; return this; } public String getDescrizione() { return Descrizione; } public FK_TipologiaImpianto setDescrizione(String value) { this.Descrizione = value; return this; } } public static class FK_CAT extends FK implements IUniqueCodice { public String Codice = null; public String getCodice() { return Codice; } public FK_CAT setCodice(String value) { this.Codice = value; return this; } } public static class FK_Combustibile extends FK implements IUniqueDescrizione, IUniqueCodiceExport { public String CodiceExport = null; public String Descrizione = null; public String getCodiceExport() { return CodiceExport; } public FK_Combustibile setCodiceExport(String value) { this.CodiceExport = value; return this; } public String getDescrizione() { return Descrizione; } public FK_Combustibile setDescrizione(String value) { this.Descrizione = value; return this; } } public static class FK { public Integer Id = null; public Integer getId() { return Id; } public FK setId(Integer value) { this.Id = value; return this; } } public static interface IUniqueSigla implements IForeignKey { public String Sigla = null; } public static interface IForeignKey { public Integer Id = null; } public static interface IUniqueDescrizione implements IForeignKey { public String Descrizione = null; } public static interface IUniqueCodiceExport implements IForeignKey { public String CodiceExport = null; } public static interface IUniqueCodice implements IForeignKey { public String Codice = null; } }