
com.contentful.java.cda.CDALocale Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
Java SDK for Contentful's Content Delivery API.
package com.contentful.java.cda;
import com.google.gson.annotations.SerializedName;
import java.io.Serializable;
/** Represents a single locale. */
public class CDALocale implements Serializable {
String code;
String name;
@SerializedName("default")
boolean defaultLocale;
/** Code */
public String code() {
return code;
}
/** Name */
public String name() {
return name;
}
/** Default */
public boolean isDefaultLocale() {
return defaultLocale;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy