com.datastax.stargate.sdk.rest.test.domain.Address Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stargate-sdk Show documentation
Show all versions of stargate-sdk Show documentation
Connect to Stargate Data Gateway
package com.datastax.stargate.sdk.rest.test.domain;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@JsonIgnoreProperties
public class Address {
private String city;
private int zipCode;
public Address() {}
public Address(String city, int zip) {
this.city = city;
this.zipCode = zip;
}
/**
* Getter accessor for attribute 'city'.
*
* @return
* current value of 'city'
*/
public String getCity() {
return city;
}
/**
* Setter accessor for attribute 'city'.
* @param city
* new value for 'city '
*/
public void setCity(String city) {
this.city = city;
}
/**
* Getter accessor for attribute 'zipCode'.
*
* @return
* current value of 'zipCode'
*/
public int getZipCode() {
return zipCode;
}
/**
* Setter accessor for attribute 'zipCode'.
* @param zipCode
* new value for 'zipCode '
*/
public void setZipCode(int zipCode) {
this.zipCode = zipCode;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy