public class ShareSyncMembershipRequest extends BaseFssApiResource
UTF_8| Modifier and Type | Method and Description |
|---|---|
static ShareSyncMembershipRequest |
create(FssApiVersion apiVersion,
java.lang.String path,
java.lang.Boolean increaseRole,
java.lang.Boolean inviteDeclined)
Returns a versioned ShareSyncMembershipRequest that is compatible with the specified
apiVersion.
|
static java.lang.Class<? extends ShareSyncMembershipRequest> |
getFssApiClass(FssApiVersion apiVersion)
Returns the
Class of the ShareSyncMembershipRequest that corresponds to the
specified apiVersion. |
java.lang.String |
getPath()
Returns the path of the share to sync membership.
|
java.lang.Boolean |
isIncreaseRole()
Returns whether the server should increase roles if applicable or not.
|
java.lang.Boolean |
isInviteDeclined()
Returns whether the server should invite users who had previously declined, left, cancelled,
or been kicked out.
|
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 ShareSyncMembershipRequest> getFssApiClass(FssApiVersion apiVersion) throws AwUnsupportedApiVersionException
Class of the ShareSyncMembershipRequest that corresponds to the
specified apiVersion.apiVersion - API version of the class to be returnedClass of the ShareSyncMembershipRequest that corresponds to the
specified apiVersionAwUnsupportedApiVersionExceptionpublic static ShareSyncMembershipRequest create(FssApiVersion apiVersion, java.lang.String path, java.lang.Boolean increaseRole, java.lang.Boolean inviteDeclined) throws AwUnsupportedApiVersionException
apiVersion - API version to be supported by the ShareSyncMembershipRequestpath - path of the shared folder to sync membershipincreaseRole - whether to increase the role of members of the shareinviteDeclined - whether to invite users who have previously declined, left, cancelled,
or been kicked outAwUnsupportedApiVersionExceptionpublic 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.Boolean isIncreaseRole()
public java.lang.Boolean isInviteDeclined()