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

com.contentful.java.cda.CDASpace Maven / Gradle / Ivy

There is a newer version: 9.1.0
Show newest version
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