public class TeamFolderSettings extends BaseFssApiResource
UTF_8| Modifier and Type | Method and Description |
|---|---|
static TeamFolderSettings |
create(FssApiVersion apiVersion,
java.lang.Boolean enabled,
java.lang.Long teamFolderQuotaThreshold)
Returns a versioned TeamFolderSettings that is compatible with the specified apiVersion.
|
java.lang.Boolean |
getEnabled()
Returns whether or not team folders are enabled for the user.
|
static java.lang.Class<? extends TeamFolderSettings> |
getFssApiClass(FssApiVersion apiVersion)
Returns the
Class of the TeamFolderSettings that corresponds to the
specified apiVersion. |
java.lang.Long |
getTeamFolderQuotaThreshold()
Returns the team folder quota threshold for the user.
|
protected void |
validate(java.lang.String fieldName,
BaseFssApiResource parent)
Validates this object.
|
badValue, badValue, fromJson, toJson, toJson, toString, validate, validateFieldInRange, validateFieldInRange, validateFieldIsNull, validateFieldNotNull, validateLocale, validateOptionalField, validateOptionalFieldList, validateRequiredField, validateRequiredFieldList, writeToOutputStreampublic static java.lang.Class<? extends TeamFolderSettings> getFssApiClass(FssApiVersion apiVersion)
Class of the TeamFolderSettings that corresponds to the
specified apiVersion.apiVersion - API version of the class to be returnedClass of the TeamFolderSettings that corresponds to the
specified apiVersionpublic static TeamFolderSettings create(FssApiVersion apiVersion, java.lang.Boolean enabled, java.lang.Long teamFolderQuotaThreshold) throws AwUnsupportedApiVersionException
apiVersion - API version to be supported by the TeamFolderSettingsenabled - Whether team folders are enabled for the user.teamFolderQuotaThreshold - The quota threshold for the user.AwUnsupportedApiVersionExceptionpublic java.lang.Boolean getEnabled()
public java.lang.Long getTeamFolderQuotaThreshold()
protected void validate(java.lang.String fieldName,
BaseFssApiResource parent)
throws AwJsonException
validate in class BaseFssApiResourcefieldName - name of this object in the parent (containing) object. If this object is a
top-level object (not contained within another object), then enter null for this
parameterparent - parent (containing) object that contains the object specified in the fieldName
parameter. If this object is a top-level object (not contained within another
object), then enter null for this parameterAwJsonException - if any validation errors occurBaseFssApiResource.validate(String, BaseFssApiResource)