public class BoxStoragePolicyAssignment.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 |
---|---|
String |
getAssignedToID() |
String |
getAssignedToType() |
BoxResource |
getResource()
Gets the resource associated with this Info.
|
String |
getStoragePolicyID() |
String |
getStoragePolicyType() |
void |
setStoragePolicyID(String storagePolicyID)
Sets the storage policy of the storage policy assignment.
|
getID
clearPendingChanges, getJson, getPendingChanges, getPendingChangesAsJsonObject, getPendingJSONObject
public Info()
public BoxResource getResource()
BoxResource.Info
getResource
in class BoxResource.Info
public String getAssignedToType()
public String getAssignedToID()
public String getStoragePolicyID()
public void setStoragePolicyID(String storagePolicyID)
storagePolicyID
- the Id of the storage policy you wish to assign.public String getStoragePolicyType()