public abstract class FilesActivityEntry extends BaseFssApiResource
UTF_8| Modifier and Type | Method and Description |
|---|---|
static FilesActivityEntry |
create(FssApiVersion apiVersion,
Entry entry,
java.lang.String msg,
java.lang.Long timestamp,
java.lang.Integer nanos,
java.lang.Short tsExtra,
java.lang.Boolean isPruned)
Returns a versioned FilesActivityEntry that is compatible with the specified apiVersion.
|
Entry |
getEntry() |
static java.lang.Class<? extends FilesActivityEntry> |
getFssApiClass(FssApiVersion apiVersion)
Returns the
Class of the FilesActivityEntry that corresponds to the
specified apiVersion. |
java.lang.Boolean |
getIsPruned() |
java.lang.String |
getMsg() |
java.lang.Integer |
getNanos() |
java.lang.Long |
getTimestamp() |
java.lang.Short |
getTsExtra() |
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 FilesActivityEntry> getFssApiClass(FssApiVersion apiVersion) throws AwUnsupportedApiVersionException
Class of the FilesActivityEntry that corresponds to the
specified apiVersion.apiVersion - API version of the class to be returnedClass of the FilesActivityEntry that corresponds to the
specified apiVersionAwUnsupportedApiVersionExceptionpublic static FilesActivityEntry create(FssApiVersion apiVersion, Entry entry, java.lang.String msg, java.lang.Long timestamp, java.lang.Integer nanos, java.lang.Short tsExtra, java.lang.Boolean isPruned) throws AwUnsupportedApiVersionException
apiVersion - API version to be supported by the FilesActivityEntryentry - File/dir entry of the activitymsg - Message of the activitytimestamp - Timestamp of the activitynanos - Nanoseconds associated with the timestamptsExtra - The timestamp disambiguating shortAwUnsupportedApiVersionExceptionpublic Entry getEntry()
public java.lang.String getMsg()
public java.lang.Long getTimestamp()
public java.lang.Integer getNanos()
public java.lang.Short getTsExtra()
public java.lang.Boolean getIsPruned()
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