public class BoxFolderLock.Info extends BoxResource.Info
| Constructor and Description |
|---|
Info()
Constructs an empty Info object.
|
Info(String json)
Constructs an Info object by parsing information from a JSON string.
|
| Modifier and Type | Method and Description |
|---|---|
Date |
getCreatedAt()
Gets the date the folder lock object was created.
|
BoxUser.Info |
getCreatedBy()
Gets the user or group that created the lock.
|
BoxFolder.Info |
getFolder()
Gets the folder that the lock applies to.
|
Map<String,Boolean> |
getLockedOperations()
Gets the operations that have been locked.
|
String |
getLockType()
Gets the lock type, always freeze.
|
BoxResource |
getResource()
Gets the resource associated with this Info.
|
protected void |
parseJSONMember(JsonObject.Member member)
Invoked with a JSON member whenever this object is updated or created from a JSON object.
|
getIDclearPendingChanges, getJson, getPendingChanges, getPendingChangesAsJsonObject, getPendingJSONObjectpublic Info()
public BoxResource getResource()
BoxResource.InfogetResource in class BoxResource.Infopublic BoxFolder.Info getFolder()
public BoxUser.Info getCreatedBy()
public Date getCreatedAt()
public String getLockType()
public Map<String,Boolean> getLockedOperations()
protected void parseJSONMember(JsonObject.Member member)
Subclasses should override this method in order to parse any JSON members it knows about. This method is a no-op by default.
member - the JSON member to be parsed.