public class MetadataCascadePolicy extends SerializableObject
| Modifier and Type | Class and Description |
|---|---|
static class |
MetadataCascadePolicy.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
id
The ID of the metadata cascade policy object.
|
protected MetadataCascadePolicyOwnerEnterpriseField |
ownerEnterprise
The enterprise that owns this policy.
|
protected MetadataCascadePolicyParentField |
parent
Represent the folder the policy is applied to.
|
protected String |
scope
The scope of the metadata cascade policy can either be `global` or `enterprise_*`.
|
protected String |
templateKey
The key of the template that is cascaded down to the folder's children.
|
protected EnumWrapper<MetadataCascadePolicyTypeField> |
type
The value will always be `metadata_cascade_policy`.
|
explicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
protected |
MetadataCascadePolicy(MetadataCascadePolicy.Builder builder) |
|
MetadataCascadePolicy(String id) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getId() |
MetadataCascadePolicyOwnerEnterpriseField |
getOwnerEnterprise() |
MetadataCascadePolicyParentField |
getParent() |
String |
getScope() |
String |
getTemplateKey() |
EnumWrapper<MetadataCascadePolicyTypeField> |
getType() |
int |
hashCode() |
String |
toString() |
getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected EnumWrapper<MetadataCascadePolicyTypeField> type
protected MetadataCascadePolicyOwnerEnterpriseField ownerEnterprise
protected MetadataCascadePolicyParentField parent
protected String scope
protected 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 MetadataCascadePolicy(String id)
protected MetadataCascadePolicy(MetadataCascadePolicy.Builder builder)
public EnumWrapper<MetadataCascadePolicyTypeField> getType()
public MetadataCascadePolicyOwnerEnterpriseField getOwnerEnterprise()
public MetadataCascadePolicyParentField getParent()
public String getTemplateKey()