package com.github.sullis.email.markup.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.String; import lombok.Data; import me.geso.tinyvalidator.constraints.NotNull; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.0.1-dev * User agent: apibuilder app.apibuilder.io/sullis/email-markup/0.0.1-dev/java_aws_lambda_pojo_client * * WARNING: not all features (notably unions) and data types work with the java generator yet. * Java POJO generator is designed to be used with AWS Lambdas. * If you are considering using this library, would like to request/discuss features, or would like to share how you're using it, please contact daniel.kirby@gilt.com * */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class Address { @NotNull protected String addressCountry; @NotNull protected String addressLocality; @NotNull protected String addressRegion; @NotNull protected String postalCode; @NotNull protected String postOfficeBoxNumber; @NotNull protected String streetAddress; public Address(String addressCountry, String addressLocality, String addressRegion, String postalCode, String postOfficeBoxNumber, String streetAddress) { this.addressCountry = addressCountry; this.addressLocality = addressLocality; this.addressRegion = addressRegion; this.postalCode = postalCode; this.postOfficeBoxNumber = postOfficeBoxNumber; this.streetAddress = streetAddress; } public Address() { } public String getAddressCountry() { return addressCountry; } public void setAddressCountry(String addressCountry) { this.addressCountry = addressCountry; } public String getAddressLocality() { return addressLocality; } public void setAddressLocality(String addressLocality) { this.addressLocality = addressLocality; } public String getAddressRegion() { return addressRegion; } public void setAddressRegion(String addressRegion) { this.addressRegion = addressRegion; } public String getPostalCode() { return postalCode; } public void setPostalCode(String postalCode) { this.postalCode = postalCode; } public String getPostOfficeBoxNumber() { return postOfficeBoxNumber; } public void setPostOfficeBoxNumber(String postOfficeBoxNumber) { this.postOfficeBoxNumber = postOfficeBoxNumber; } public String getStreetAddress() { return streetAddress; } public void setStreetAddress(String streetAddress) { this.streetAddress = streetAddress; } }