public abstract class ShareInvitationAcceptRequest extends BaseFssApiResource
UTF_8| Modifier and Type | Method and Description |
|---|---|
static ShareInvitationAcceptRequest |
create(FssApiVersion apiVersion,
java.lang.String fsId,
java.lang.Boolean sync)
Returns a versioned ShareInvitationAcceptRequest that is compatible with the specified
apiVersion.
|
java.lang.String |
getFilesystemId()
Returns the path of the file to be created.
|
static java.lang.Class<? extends ShareInvitationAcceptRequest> |
getFssApiClass(FssApiVersion apiVersion)
Returns the
Class of the ShareInvitationAcceptRequest that corresponds to
the specified apiVersion. |
java.lang.Boolean |
isSync()
Returns whether the share should be synced or not
|
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 ShareInvitationAcceptRequest> getFssApiClass(FssApiVersion apiVersion) throws AwUnsupportedApiVersionException
Class of the ShareInvitationAcceptRequest that corresponds to
the specified apiVersion.apiVersion - API version of the class to be returnedClass of the ShareInvitationAcceptRequest that corresponds to
the specified apiVersionAwUnsupportedApiVersionExceptionpublic static ShareInvitationAcceptRequest create(FssApiVersion apiVersion, java.lang.String fsId, java.lang.Boolean sync) throws AwUnsupportedApiVersionException
apiVersion - API version to be supported by the ShareInvitationAcceptRequestfsId - filesystem id of the shared folder to acceptsync - whether or not to sync the folder after accepting itAwUnsupportedApiVersionExceptionpublic 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 getFilesystemId()
public java.lang.Boolean isSync()