Package com.contentful.java.cma.model
Class CMAUiExtension
- java.lang.Object
-
- com.contentful.java.cma.model.CMAResource
-
- com.contentful.java.cma.model.CMAUiExtension
-
public class CMAUiExtension extends CMAResource
CMAUiExtensionThis class will be used to represent a UI extension.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCMAUiExtension.ExtensionModel holding the actual information of the extension.
-
Constructor Summary
Constructors Constructor Description CMAUiExtension()Creates a new UI extension, specifying the type in the system property.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CMAUiExtension.ExtensiongetExtension()CMAUiExtensionsetId(java.lang.String id)Update the id of this UI extension.java.lang.StringtoString()-
Methods inherited from class com.contentful.java.cma.model.CMAResource
getEnvironmentId, getId, getSpaceId, getSystem, getVersion, getVisibility, isArchived, isPublished, setEnvironmentId, setSpaceId, setSystem, setVersion, setVisibility
-
-
-
-
Method Detail
-
setId
public CMAUiExtension setId(java.lang.String id)
Update the id of this UI extension.- Overrides:
setIdin classCMAResource- Parameters:
id- to be set.- Returns:
- this instance for chaining.
-
getExtension
public CMAUiExtension.Extension getExtension()
- Returns:
- the extension description part of the UI extension.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classCMAResource- Returns:
- a human readable string, representing the object.
-
-