@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2020-10-06T09:15:54.528Z[UTC]") public class Address extends Object
Constructor and Description |
---|
Address() |
Modifier and Type | Method and Description |
---|---|
Address |
buildingNumber(String buildingNumber) |
Address |
country(String country) |
boolean |
equals(Object o) |
String |
getBuildingNumber()
Get buildingNumber
|
@NotNull @Pattern(regexp="[A-Z]{2}") String |
getCountry()
Get country
|
String |
getPostCode()
Get postCode
|
@Size(max=70) String |
getStreetName()
Get streetName
|
String |
getTownName()
Get townName
|
int |
hashCode() |
Address |
postCode(String postCode) |
void |
setBuildingNumber(String buildingNumber) |
void |
setCountry(String country) |
void |
setPostCode(String postCode) |
void |
setStreetName(String streetName) |
void |
setTownName(String townName) |
Address |
streetName(String streetName) |
String |
toString() |
Address |
townName(String townName) |
@Size(max=70) public @Size(max=70) String getStreetName()
public void setStreetName(String streetName)
public String getBuildingNumber()
public void setBuildingNumber(String buildingNumber)
public String getTownName()
public void setTownName(String townName)
public String getPostCode()
public void setPostCode(String postCode)
@NotNull @Pattern(regexp="[A-Z]{2}") public @NotNull @Pattern(regexp="[A-Z]{2}") String getCountry()
public void setCountry(String country)
Copyright © 2020. All rights reserved.