Package com.dropbox.core.v2.paper
Class SharingPolicy
java.lang.Object
com.dropbox.core.v2.paper.SharingPolicy
Sharing policy of Paper doc.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final SharingPublicPolicyTypeprotected final SharingTeamPolicyType -
Constructor Summary
ConstructorsConstructorDescriptionSharing policy of Paper doc.SharingPolicy(SharingPublicPolicyType publicSharingPolicy, SharingTeamPolicyType teamSharingPolicy) Sharing policy of Paper doc. -
Method Summary
Modifier and TypeMethodDescriptionbooleanThis value applies to the non-team members.This value applies to the team members only.inthashCode()static SharingPolicy.BuilderReturns a new builder for creating an instance of this class.toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
publicSharingPolicy
-
teamSharingPolicy
-
-
Constructor Details
-
SharingPolicy
public SharingPolicy(@Nullable SharingPublicPolicyType publicSharingPolicy, @Nullable SharingTeamPolicyType teamSharingPolicy) Sharing policy of Paper doc.Use
newBuilder()to create instances of this class without specifying values for all optional fields.- Parameters:
publicSharingPolicy- This value applies to the non-team members.teamSharingPolicy- This value applies to the team members only. The value is null for all personal accounts.
-
SharingPolicy
public SharingPolicy()Sharing policy of Paper doc.The default values for unset fields will be used.
-
-
Method Details
-
getPublicSharingPolicy
This value applies to the non-team members.- Returns:
- value for this field, or
nullif not present.
-
getTeamSharingPolicy
This value applies to the team members only. The value is null for all personal accounts.- Returns:
- value for this field, or
nullif not present.
-
newBuilder
Returns a new builder for creating an instance of this class.- Returns:
- builder for this class.
-
hashCode
public int hashCode() -
equals
-
toString
-
toStringMultiline
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Returns:
- Formatted, multiline String representation of this object
-