![JAR search and dependency download from the Maven repository](/logo.png)
com.softlayer.api.service.Locale 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
package com.softlayer.api.service;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
/**
* Every SoftLayer_User_Customer is associated with a locale. SoftLayer_Locale holds user's language and region information.
*
* @see SoftLayer_Locale
*/
@ApiType("SoftLayer_Locale")
public class Locale extends Entity {
@ApiProperty(canBeNullOrNotSet = true)
protected String friendlyName;
public String getFriendlyName() {
return friendlyName;
}
public void setFriendlyName(String friendlyName) {
friendlyNameSpecified = true;
this.friendlyName = friendlyName;
}
protected boolean friendlyNameSpecified;
public boolean isFriendlyNameSpecified() {
return friendlyNameSpecified;
}
public void unsetFriendlyName() {
friendlyName = null;
friendlyNameSpecified = false;
}
/**
* Internal identification number of a locale
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long id;
public Long getId() {
return id;
}
public void setId(Long id) {
idSpecified = true;
this.id = id;
}
protected boolean idSpecified;
public boolean isIdSpecified() {
return idSpecified;
}
public void unsetId() {
id = null;
idSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String languageTag;
public String getLanguageTag() {
return languageTag;
}
public void setLanguageTag(String languageTag) {
languageTagSpecified = true;
this.languageTag = languageTag;
}
protected boolean languageTagSpecified;
public boolean isLanguageTagSpecified() {
return languageTagSpecified;
}
public void unsetLanguageTag() {
languageTag = null;
languageTagSpecified = false;
}
/**
* Locale name
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String name;
public String getName() {
return name;
}
public void setName(String name) {
nameSpecified = true;
this.name = name;
}
protected boolean nameSpecified;
public boolean isNameSpecified() {
return nameSpecified;
}
public void unsetName() {
name = null;
nameSpecified = false;
}
public static class Mask extends Entity.Mask {
public Mask friendlyName() {
withLocalProperty("friendlyName");
return this;
}
public Mask id() {
withLocalProperty("id");
return this;
}
public Mask languageTag() {
withLocalProperty("languageTag");
return this;
}
public Mask name() {
withLocalProperty("name");
return this;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy