Package com.contentful.java.cma.model
Class CMAOrganization
- java.lang.Object
-
- com.contentful.java.cma.model.CMAResource
-
- com.contentful.java.cma.model.CMAOrganization
-
public class CMAOrganization extends CMAResource
Model class representing one organization.
-
-
Constructor Summary
Constructors Constructor Description CMAOrganization()Creates a new organization.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()CMAOrganizationsetName(java.lang.String name)Update the name of the organization.java.lang.StringtoString()-
Methods inherited from class com.contentful.java.cma.model.CMAResource
getEnvironmentId, getId, getSpaceId, getSystem, getVersion, getVisibility, isArchived, isPublished, setEnvironmentId, setId, setSpaceId, setSystem, setVersion, setVisibility
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Returns:
- the name of this organization.
-
setName
public CMAOrganization setName(java.lang.String name)
Update the name of the organization.- Parameters:
name- new name to be set- Returns:
- this instance for chaining.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classCMAResource- Returns:
- a human readable string, representing the object.
-
-