Package com.contentful.java.cma.model
Class CMAPreviewApiKey
- java.lang.Object
-
- com.contentful.java.cma.model.CMAResource
-
- com.contentful.java.cma.model.CMAPreviewApiKey
-
public class CMAPreviewApiKey extends CMAResource
Class representing api keys created.
-
-
Constructor Summary
Constructors Constructor Description CMAPreviewApiKey()Create a new api key.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAccessToken()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
-
getAccessToken
public java.lang.String getAccessToken()
- Returns:
- readonly api access token for this key.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classCMAResource- Returns:
- a human readable string, representing the object.
-
-