public class CreateMetadataCascadePolicyRequestBody extends SerializableObject
| Modifier and Type | Field and Description |
|---|---|
protected String |
folderId
The ID of the folder to apply the policy to.
|
protected EnumWrapper<CreateMetadataCascadePolicyRequestBodyScopeField> |
scope
The scope of the targeted metadata template.
|
protected String |
templateKey
The key of the targeted metadata template.
|
explicitlySetNullableFields| Constructor and Description |
|---|
CreateMetadataCascadePolicyRequestBody(String folderId,
CreateMetadataCascadePolicyRequestBodyScopeField scope,
String templateKey) |
CreateMetadataCascadePolicyRequestBody(String folderId,
EnumWrapper<CreateMetadataCascadePolicyRequestBodyScopeField> scope,
String templateKey) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getFolderId() |
EnumWrapper<CreateMetadataCascadePolicyRequestBodyScopeField> |
getScope() |
String |
getTemplateKey() |
int |
hashCode() |
String |
toString() |
getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected final String folderId
protected final EnumWrapper<CreateMetadataCascadePolicyRequestBodyScopeField> scope
protected final String templateKey
In many cases the template key is automatically derived of its display name, for example `Contract Template` would become `contractTemplate`. In some cases the creator of the template will have provided its own template key.
Please [list the templates for an enterprise][list], or get all instances on a [file][file] or [folder][folder] to inspect a template's key.
[list]: https://developer.box.com/reference/get-metadata-templates-enterprise [file]: https://developer.box.com/reference/get-files-id-metadata [folder]: https://developer.box.com/reference/get-folders-id-metadata
public CreateMetadataCascadePolicyRequestBody(String folderId, CreateMetadataCascadePolicyRequestBodyScopeField scope, String templateKey)
public CreateMetadataCascadePolicyRequestBody(String folderId, EnumWrapper<CreateMetadataCascadePolicyRequestBodyScopeField> scope, String templateKey)
public String getFolderId()
public EnumWrapper<CreateMetadataCascadePolicyRequestBodyScopeField> getScope()
public String getTemplateKey()