public class CMAApiKey extends CMAResource
| Constructor and Description |
|---|
CMAApiKey()
Create a new api key.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAccessToken() |
String |
getDescription() |
String |
getName() |
CMALink |
getPreviewApiKey() |
CMAApiKey |
setDescription(String description)
Update the description of this key.
|
CMAApiKey |
setName(String name)
Update the name of the key.
|
String |
toString() |
getId, getSpaceId, getSystem, getVersion, isArchived, isPublished, setId, setSpaceId, setSystem, setVersionpublic String getName()
public CMAApiKey setName(String name)
name - new name to be used.public String getDescription()
public CMAApiKey setDescription(String description)
description - to be changed to.public String getAccessToken()
public CMALink getPreviewApiKey()
public String toString()
toString in class CMAResourceCopyright © 2017 Contentful, GmbH.. All Rights Reserved.