com.softlayer.api.service.locale.StateProvince Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of softlayer-api-client Show documentation
Show all versions of softlayer-api-client Show documentation
API client for accessing the SoftLayer API
The newest version!
package com.softlayer.api.service.locale;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
/**
* This object represents a state or province for a country.
*
* @see SoftLayer_Locale_StateProvince
*/
@ApiType("SoftLayer_Locale_StateProvince")
public class StateProvince extends Entity {
@ApiProperty(canBeNullOrNotSet = true)
protected String longName;
public String getLongName() {
return longName;
}
public void setLongName(String longName) {
longNameSpecified = true;
this.longName = longName;
}
protected boolean longNameSpecified;
public boolean isLongNameSpecified() {
return longNameSpecified;
}
public void unsetLongName() {
longName = null;
longNameSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String shortName;
public String getShortName() {
return shortName;
}
public void setShortName(String shortName) {
shortNameSpecified = true;
this.shortName = shortName;
}
protected boolean shortNameSpecified;
public boolean isShortNameSpecified() {
return shortNameSpecified;
}
public void unsetShortName() {
shortName = null;
shortNameSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public Mask longName() {
withLocalProperty("longName");
return this;
}
public Mask shortName() {
withLocalProperty("shortName");
return this;
}
}
}