@Root(strict = false) @Namespace(reference = "http://syncany.org/ws/1") public class BadRequestResponse extends Response { public BadRequestResponse() { super(400, -1, null); // Required } public BadRequestResponse(int requestId, String message) { super(400, requestId, message); } }
@Root(strict = false) @Namespace(reference = "http://syncany.org/ws/1") public class AlreadySyncingResponse extends Response { public AlreadySyncingResponse() { super(400, -1, null); // Required } public AlreadySyncingResponse(int requestId, String message) { super(400, requestId, message); } }
@Root(name="pluginListResponse") @Namespace(reference="http://syncany.org/plugins/1/list") public class PluginListResponse { @Element(name = "code", required = true)
@Root @Namespace(prefix = "D", reference = "DAV:") public class Protected { }
/** * <p>Java class for anonymous complex type.</p> * * <p>The following schema fragment specifies the expected content contained within this class.</p> * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @Root @Namespace(prefix = "D", reference = "DAV:") public class Authenticated { }
/** * <p>Java class for anonymous complex type.</p> * * <p>The following schema fragment specifies the expected content contained within this class.</p> * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @Root(name = "read") @Namespace(prefix = "D", reference = "DAV:") public class Read implements SimplePrivilege { }
/** * <p>Java class for anonymous complex type.</p> * * <p>The following schema fragment specifies the expected content contained within this class.</p> * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @Root(name = "allprop") @Namespace(prefix = "D", reference = "DAV:") public class Allprop { }
/** * <p>Java class for anonymous complex type.</p> * * <p>The following schema fragment specifies the expected content contained within this class.</p> * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @Root(name = "write-acl") @Namespace(prefix = "D", reference = "DAV:") public class WriteAcl implements SimplePrivilege { }
/** * <p>Java class for anonymous complex type.</p> * * <p>The following schema fragment specifies the expected content contained within this class.</p> * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @Root @Namespace(prefix = "D", reference = "DAV:") public class Shared { }
/** * <p>Java class for anonymous complex type.</p> * * <p>The following schema fragment specifies the expected content contained within this class.</p> * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @Root @Namespace(prefix = "D", reference = "DAV:") public class Collection { }
/** * <p>Java class for anonymous complex type.</p> * * <p>The following schema fragment specifies the expected content contained within this class.</p> * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @Root @Namespace(prefix = "D", reference = "DAV:") public class Omit { }
/** * <p>Java class for anonymous complex type.</p> * * <p>The following schema fragment specifies the expected content contained within this class.</p> * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @Root(name = "write-properties") @Namespace(prefix = "D", reference = "DAV:") public class WriteProperties implements SimplePrivilege { }
/** * <p>Java class for anonymous complex type.</p> * * <p>The following schema fragment specifies the expected content contained within this class.</p> * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @Root @Namespace(prefix = "D", reference = "DAV:") public class Unauthenticated { }
/** * <p>Java class for anonymous complex type.</p> * * <p>The following schema fragment specifies the expected content contained within this class.</p> * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @Root(name = "write-content") @Namespace(prefix = "D", reference = "DAV:") public class WriteContent implements SimplePrivilege { }
/** * <p>Java class for anonymous complex type.</p> * * <p>The following schema fragment specifies the expected content contained within this class.</p> * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @Root @Namespace(prefix = "D", reference = "DAV:") public class Exclusive { }
@Root @Namespace(prefix = "D", reference = "DAV:") public class Inherited { @Element private String href; public String getHref() { return href; } public void setHref(String href) { this.href = href; } }
@Root(name = "infNFeSupl") @Namespace(reference = "http://www.portalfiscal.inf.br/nfe") public class NFNotaInfoSuplementar extends DFBase { private static final long serialVersionUID = -7212144193264841151L; @Element(data = true, name = "qrCode", required = true) private String qrCode; public void setQrCode(final String qrCode) { StringValidador.tamanho100a600(qrCode, "QR Code"); this.qrCode = qrCode; } public String getQrCode() { return this.qrCode; } }
@Root(name = "ConsCad") @Namespace(reference = "http://www.portalfiscal.inf.br/nfe") public class NFConsultaCadastro extends DFBase { private static final long serialVersionUID = 2326624765798718455L; @Attribute(name = "versao", required = true) private String versao; @Element(name = "infCons", required = true) private NFInfoConsultaCadastro consultaCadastro; public NFInfoConsultaCadastro getConsultaCadastro() { return this.consultaCadastro; } public String getVersao() { return this.versao; } public void setConsultaCadastro(final NFInfoConsultaCadastro consultaCadastro) { this.consultaCadastro = consultaCadastro; } public void setVersao(final String versao) { this.versao = versao; } }
@Root(name = "CTe") @Namespace(reference = "http://www.portalfiscal.inf.br/nfe") public class CTe extends DFBase { private static final long serialVersionUID = 3664459758546162479L; @Element(name = "infCte", required = true) private CTInfo infCte; @Element(name = "Signature", required = false) private NFSignature assinatura; public CTInfo getInfCte() { return this.infCte; } public void setInfCte(final CTInfo infCte) { this.infCte = infCte; } public NFSignature getAssinatura() { return this.assinatura; } public void setAssinatura(final NFSignature assinatura) { this.assinatura = assinatura; } }
@Root(name = "ConsCad") @Namespace(reference = "http://www.portalfiscal.inf.br/nfe") public class NFConsultaCadastro extends DFBase { private static final long serialVersionUID = 2326624765798718455L; @Attribute(name = "versao", required = true) private String versao; @Element(name = "infCons", required = true) private NFInfoConsultaCadastro consultaCadastro; public NFInfoConsultaCadastro getConsultaCadastro() { return this.consultaCadastro; } public String getVersao() { return this.versao; } public void setConsultaCadastro(final NFInfoConsultaCadastro consultaCadastro) { this.consultaCadastro = consultaCadastro; } public void setVersao(final String versao) { this.versao = versao; } }