public class TeamSharingPolicies extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TeamSharingPolicies.Serializer
For internal use only.
|
Modifier and Type | Field and Description |
---|---|
protected SharedFolderJoinPolicy |
sharedFolderJoinPolicy |
protected SharedFolderMemberPolicy |
sharedFolderMemberPolicy |
protected SharedLinkCreatePolicy |
sharedLinkCreatePolicy |
Constructor and Description |
---|
TeamSharingPolicies(SharedFolderMemberPolicy sharedFolderMemberPolicy,
SharedFolderJoinPolicy sharedFolderJoinPolicy,
SharedLinkCreatePolicy sharedLinkCreatePolicy)
Policies governing sharing within and outside of the team.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
SharedFolderJoinPolicy |
getSharedFolderJoinPolicy()
Which shared folders team members can join.
|
SharedFolderMemberPolicy |
getSharedFolderMemberPolicy()
Who can join folders shared by team members.
|
SharedLinkCreatePolicy |
getSharedLinkCreatePolicy()
What is the visibility of newly created shared links.
|
int |
hashCode() |
String |
toString() |
String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final SharedFolderMemberPolicy sharedFolderMemberPolicy
protected final SharedFolderJoinPolicy sharedFolderJoinPolicy
protected final SharedLinkCreatePolicy sharedLinkCreatePolicy
public TeamSharingPolicies(SharedFolderMemberPolicy sharedFolderMemberPolicy, SharedFolderJoinPolicy sharedFolderJoinPolicy, SharedLinkCreatePolicy sharedLinkCreatePolicy)
sharedFolderMemberPolicy
- Who can join folders shared by team
members. Must not be null
.sharedFolderJoinPolicy
- Which shared folders team members can
join. Must not be null
.sharedLinkCreatePolicy
- What is the visibility of newly created
shared links. Must not be null
.IllegalArgumentException
- If any argument does not meet its
preconditions.public SharedFolderMemberPolicy getSharedFolderMemberPolicy()
null
.public SharedFolderJoinPolicy getSharedFolderJoinPolicy()
null
.public SharedLinkCreatePolicy getSharedLinkCreatePolicy()
null
.public String toStringMultiline()
The returned String may contain newlines.