package com.hbc.api.fraud.v0.models; import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBAttribute; import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBDocument; 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.0-slava * User agent: apibuilder app.apibuilder.io/hbc/api-fraud/0.0.0-slava/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 * * General address model */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) @DynamoDBDocument public class Address { @NotNull protected String name; @NotNull protected String streetLineOne; protected String streetLineTwo; @NotNull protected String city; @NotNull protected String state; @NotNull protected String zip; @NotNull protected String country; public Address(String name, String streetLineOne, String streetLineTwo, String city, String state, String zip, String country) { this.name = name; this.streetLineOne = streetLineOne; this.streetLineTwo = streetLineTwo; this.city = city; this.state = state; this.zip = zip; this.country = country; } public Address() { } @DynamoDBAttribute public String getName() { return name; } public void setName(String name) { this.name = name; } @DynamoDBAttribute public String getStreetLineOne() { return streetLineOne; } public void setStreetLineOne(String streetLineOne) { this.streetLineOne = streetLineOne; } @DynamoDBAttribute public String getStreetLineTwo() { return streetLineTwo; } public void setStreetLineTwo(String streetLineTwo) { this.streetLineTwo = streetLineTwo; } @DynamoDBAttribute public String getCity() { return city; } public void setCity(String city) { this.city = city; } @DynamoDBAttribute public String getState() { return state; } public void setState(String state) { this.state = state; } @DynamoDBAttribute public String getZip() { return zip; } public void setZip(String zip) { this.zip = zip; } @DynamoDBAttribute public String getCountry() { return country; } public void setCountry(String country) { this.country = country; } }