
com.contentful.java.cda.CDASpace 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 java.util.List;
/** Represents a single space. */
public class CDASpace extends CDAResource {
String name;
List locales;
CDALocale defaultLocale;
/** Name */
public String name() {
return name;
}
/** Locales List */
public List locales() {
return locales;
}
/** Default Locale */
public CDALocale defaultLocale() {
return defaultLocale;
}
/**
* Create a String from this object.
* @return a String containing the id and name of this space
*/
@Override public String toString() {
return "CDASpace{" +
"id='" + id() + '\'' +
", name='" + name + '\'' +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy