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