public abstract class InviteResultEntry extends BaseFssApiResource
| Modifier and Type | Class and Description |
|---|---|
static class |
InviteResultEntry.V300 |
UTF_8| Modifier and Type | Method and Description |
|---|---|
static InviteResultEntry |
create(FssApiVersion apiVersion,
java.lang.String name,
java.lang.String uniqueId,
java.lang.String providerId,
ShareRole role,
java.lang.String errorMsg)
Returns a versioned InviteResultEntry that is compatible with the specified apiVersion.
|
java.lang.String |
getErrorMsg() |
static java.lang.Class<? extends InviteResultEntry> |
getFssApiClass(FssApiVersion apiVersion)
Returns the
Class of the InviteResultEntry that corresponds to the
specified apiVersion. |
java.lang.String |
getName() |
java.lang.String |
getProviderId() |
ShareRole |
getRole() |
java.lang.String |
getUniqueId() |
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 InviteResultEntry> getFssApiClass(FssApiVersion apiVersion) throws AwUnsupportedApiVersionException
Class of the InviteResultEntry that corresponds to the
specified apiVersion.apiVersion - API version of the class to be returnedClass of the InviteResultEntry that corresponds to the
specified apiVersionAwUnsupportedApiVersionExceptionpublic static InviteResultEntry create(FssApiVersion apiVersion, java.lang.String name, java.lang.String uniqueId, java.lang.String providerId, ShareRole role, java.lang.String errorMsg) throws AwUnsupportedApiVersionException
apiVersion - API version to be supported by the InviteResultEntryname - name of the memberuniqueId - uniqueId of the memberproviderId - providerId of the memberrole - Role of the membererrorMsg - Error message if the invite is failedAwUnsupportedApiVersionExceptionpublic java.lang.String getName()
public java.lang.String getUniqueId()
public java.lang.String getProviderId()
public ShareRole getRole()
public java.lang.String getErrorMsg()
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 occur