public class BoxGroup.Info extends BoxCollaborator.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 |
getDescription()
Gets the description for the group.
|
String |
getExternalSyncIdentifier()
Gets the external_sync_identifier for the group.
|
String |
getInvitabilityLevel()
Gets the invitability_level for the group.
|
String |
getMemberViewabilityLevel()
Gets the member_viewability_level for the group.
|
String |
getProvenance()
Gets the provenance for the group.
|
BoxGroup |
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.
|
void |
setDescription(String description)
Sets the description for the group.
|
void |
setExternalSyncIdentifier(String externalSyncIdentifier)
Sets the external_sync_identifier for the group.
|
void |
setInvitabilityLevel(String invitabilityLevel)
Sets the invitability_level for the group.
|
void |
setMemberViewabilityLevel(String memberViewabilityLevel)
Sets the member_viewability_level for the group.
|
void |
setProvenance(String provenance)
Sets the provenance for the group.
|
getCreatedAt, getGroupType, getLogin, getModifiedAt, getName, getType, setName
getID
clearPendingChanges, getJson, getPendingChanges, getPendingChangesAsJsonObject, getPendingJSONObject
public Info()
public BoxGroup getResource()
getResource
in class BoxResource.Info
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.
parseJSONMember
in class BoxCollaborator.Info
member
- the JSON member to be parsed.public String getDescription()
public void setDescription(String description)
description
- the description for the group.public String getExternalSyncIdentifier()
public void setExternalSyncIdentifier(String externalSyncIdentifier)
externalSyncIdentifier
- the external_sync_identifier for the group.public String getInvitabilityLevel()
public void setInvitabilityLevel(String invitabilityLevel)
invitabilityLevel
- the invitability_level for the group.public String getMemberViewabilityLevel()
public void setMemberViewabilityLevel(String memberViewabilityLevel)
memberViewabilityLevel
- the member_viewability_level for the group.public String getProvenance()
public void setProvenance(String provenance)
provenance
- the provenance for the group.