public class EntrySharingInfo extends BaseFssApiResource
UTF_8| Modifier and Type | Method and Description |
|---|---|
static EntrySharingInfo |
create(FssApiVersion apiVersion,
java.lang.Boolean canUserManage,
java.lang.Boolean isMountPoint,
FilesystemType type,
java.lang.String label,
TeamFolderInfo teamFolderInfo,
java.lang.Boolean sync,
TeamFolderInfo teamFolderRequest,
java.lang.Boolean isLastTeamFolderManager,
java.lang.Long retentionTime,
java.lang.String retentionPolicy)
Returns a versioned EntrySharingInfo that is compatible with the specified apiVersion.
|
boolean |
equals(java.lang.Object o) |
java.lang.Boolean |
getCanUserManage()
Returns whether or not the user can manage the entry.
|
static java.lang.Class<? extends EntrySharingInfo> |
getFssApiClass(FssApiVersion apiVersion)
Returns the
Class of the EntrySharingInfo that corresponds to the specified
apiVersion. |
java.lang.Boolean |
getIsLastTeamFolderManager()
Returns whether or not the user is the last manager of the team folder.
|
java.lang.Boolean |
getIsMountPoint()
Returns whether or not the entry is a mount point.
|
java.lang.String |
getLabel()
Returns the label of the entry.
|
java.lang.String |
getRetentionPolicy()
Returns the type of retention policy of this filesystem
|
java.lang.Long |
getRetentionTime()
Returns the retention time of this filesystem
|
java.lang.Boolean |
getSync()
Returns whether filesystem is a syncing or non-syncing share
|
TeamFolderInfo |
getTeamFolderInfo()
Returns any team folder-related information (contact, quota), if applicable.
|
TeamFolderInfo |
getTeamFolderRequest()
Returns any team folder request related information (contact, quota), if applicable.
|
FilesystemType |
getType()
Returns the filesystem type of the entry.
|
int |
hashCode() |
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 EntrySharingInfo> getFssApiClass(FssApiVersion apiVersion) throws AwUnsupportedApiVersionException
Class of the EntrySharingInfo that corresponds to the specified
apiVersion.apiVersion - API version of the class to be returnedClass of the EntrySharingInfo that corresponds to the specified
apiVersionAwUnsupportedApiVersionExceptionpublic static EntrySharingInfo create(FssApiVersion apiVersion, java.lang.Boolean canUserManage, java.lang.Boolean isMountPoint, FilesystemType type, java.lang.String label, TeamFolderInfo teamFolderInfo, java.lang.Boolean sync, TeamFolderInfo teamFolderRequest, java.lang.Boolean isLastTeamFolderManager, java.lang.Long retentionTime, java.lang.String retentionPolicy) throws AwUnsupportedApiVersionException
apiVersion - API version to be supported by the EntrySharingInfocanUserManage - Whether or not the user is the owner of the entry.isMountPoint - Whether or not the entry is a mount point.sync - Whether or not the entry is syncing or under a syncing mountpoint.type - The filesystem type of the entrylabel - The label of the share.teamFolderInfo - Team folder information related to the share, if applicable.teamFolderRequest - Team folder request information related to the share, if applicable.isLastTeamFolderManager - Whether or not the requesting user is the last manager of the
team folder.AwUnsupportedApiVersionExceptionpublic java.lang.Boolean getCanUserManage()
public TeamFolderInfo getTeamFolderInfo()
public java.lang.Boolean getIsMountPoint()
public FilesystemType getType()
public java.lang.String getLabel()
public TeamFolderInfo getTeamFolderRequest()
public java.lang.Boolean getIsLastTeamFolderManager()
public java.lang.Boolean getSync()
public java.lang.Long getRetentionTime()
public java.lang.String getRetentionPolicy()
protected void validate(java.lang.String fieldName,
BaseFssApiResource parent)
throws AwJsonException
BaseFssApiResourceBaseFssApiResource.validateRequiredField(String, BaseFssApiResource, String) for foo, and
BaseFssApiResource.validateOptionalField(String, BaseFssApiResource) for bar.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 occurpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object