public class TeamSharingPolicies
extends java.lang.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(java.lang.Object obj) |
SharedFolderJoinPolicy |
getSharedFolderJoinPolicy()
Which shared folders team members can join.
|
SharedFolderMemberPolicy |
getSharedFolderMemberPolicy()
Who can join folders shared by team members.
|
SharedLinkCreatePolicy |
getSharedLinkCreatePolicy()
Who can view shared links owned by team members.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.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
- Who can view shared links owned by team
members. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public SharedFolderMemberPolicy getSharedFolderMemberPolicy()
null
.public SharedFolderJoinPolicy getSharedFolderJoinPolicy()
null
.public SharedLinkCreatePolicy getSharedLinkCreatePolicy()
null
.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.