public abstract class TeamFolderCreateRequest extends BaseFssApiResource
UTF_8| Modifier and Type | Method and Description |
|---|---|
static TeamFolderCreateRequest |
create(FssApiVersion apiVersion,
java.lang.String path,
java.lang.String label,
java.lang.String contact,
java.lang.Long quotaBytes)
Returns a versioned TeamCreateRequest that is compatible with the specified apiVersion.
|
java.lang.String |
getContact()
Returns the contact information for the team folder
|
static java.lang.Class<? extends TeamFolderCreateRequest> |
getFssApiClass(FssApiVersion apiVersion)
Returns the
Class of the TeamFolderCreateRequest that corresponds to the
specified apiVersion. |
java.lang.String |
getLabel()
Returns the label to give the team folder
|
java.lang.String |
getPath()
Returns the path to the folder to be team folder.
|
java.lang.Long |
getQuotaBytes()
Returns the quota for the team folder, in bytes
|
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 TeamFolderCreateRequest> getFssApiClass(FssApiVersion apiVersion) throws AwUnsupportedApiVersionException
Class of the TeamFolderCreateRequest that corresponds to the
specified apiVersion.apiVersion - API version of the class to be returnedClass of the TeamFolderCreateRequest that corresponds to the
specified apiVersionAwUnsupportedApiVersionExceptionpublic static TeamFolderCreateRequest create(FssApiVersion apiVersion, java.lang.String path, java.lang.String label, java.lang.String contact, java.lang.Long quotaBytes) throws AwUnsupportedApiVersionException
apiVersion - API version to be supported by the TeamFolderCreateRequestpath - Path to the folder to be team folderlabel - Label to give the team foldercontact - Contact informationquotaBytes - The quota for the folder, in bytesAwUnsupportedApiVersionExceptionpublic 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)public java.lang.String getPath()
public java.lang.String getLabel()
public java.lang.String getContact()
public java.lang.Long getQuotaBytes()