public class CMAPermissions extends Object
| Constructor and Description |
|---|
CMAPermissions() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getContentDelivery() |
Object |
getContentModel()
Return what the user can do with the content model aka content type.
|
Object |
getSettings() |
CMAPermissions |
setContentDelivery(Object contentDelivery)
Set the permission of content delivery changes.
|
CMAPermissions |
setContentModel(Object contentModel)
Set the permission to change the content model.
|
CMAPermissions |
setSettings(Object settings)
Update the space settings changing ability of the current role.
|
String |
toString() |
public Object getContentModel()
public CMAPermissions setContentModel(Object contentModel)
contentModel - only a string of `"all"` or an array like `["manage"]` is allowed.public Object getContentDelivery()
public CMAPermissions setContentDelivery(Object contentDelivery)
contentDelivery - of 'all' to affect all of the content delivery values.setContentModel(Object)public Object getSettings()
public CMAPermissions setSettings(Object settings)
settings - an object representing the permissions of changing the settings.Copyright © 2026 Contentful, GmbH.. All rights reserved.