All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.smartystreets.api.us_zipcode.City Maven / Gradle / Ivy

There is a newer version: 3.18.3
Show newest version
package com.smartystreets.api.us_zipcode;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;

/**
 * Known in the SmartyStreets US ZIP Code API documentation as a city_state
 * @see "https://smartystreets.com/docs/cloud/us-zipcode-api#cities"
 */
public class City implements Serializable {
    //region [ Fields ]

    private String city;
    private boolean mailableCity;
    private String stateAbbreviation;
    private String state;

    //endregion

    //region [ Getters ]

    @JsonProperty("city")
    public String getCity() {
        return this.city;
    }

    @JsonProperty("mailable_city")
    public boolean getMailableCity() {
        return this.mailableCity;
    }

    @JsonProperty("state_abbreviation")
    public String getStateAbbreviation() {
        return this.stateAbbreviation;
    }

    @JsonProperty("state")
    public String getState() {
        return this.state;
    }

    //endregion
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy