Package com.dropbox.core.v2.teamlog
Class PaperDocChangeSharingPolicyDetails
java.lang.Object
com.dropbox.core.v2.teamlog.PaperDocChangeSharingPolicyDetails
Changed sharing setting for Paper doc.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPaperDocChangeSharingPolicyDetails(String eventUuid) Changed sharing setting for Paper doc.PaperDocChangeSharingPolicyDetails(String eventUuid, String publicSharingPolicy, String teamSharingPolicy) Changed sharing setting for Paper doc. -
Method Summary
Modifier and TypeMethodDescriptionbooleanEvent unique identifier.Sharing policy with external users.Sharing policy with team.inthashCode()newBuilder(String eventUuid) Returns a new builder for creating an instance of this class.toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
eventUuid
-
publicSharingPolicy
-
teamSharingPolicy
-
-
Constructor Details
-
PaperDocChangeSharingPolicyDetails
public PaperDocChangeSharingPolicyDetails(@Nonnull String eventUuid, @Nullable String publicSharingPolicy, @Nullable String teamSharingPolicy) Changed sharing setting for Paper doc.Use
newBuilder(java.lang.String)to create instances of this class without specifying values for all optional fields.- Parameters:
eventUuid- Event unique identifier. Must not benull.publicSharingPolicy- Sharing policy with external users.teamSharingPolicy- Sharing policy with team.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
PaperDocChangeSharingPolicyDetails
Changed sharing setting for Paper doc.The default values for unset fields will be used.
- Parameters:
eventUuid- Event unique identifier. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getEventUuid
Event unique identifier.- Returns:
- value for this field, never
null.
-
getPublicSharingPolicy
Sharing policy with external users.- Returns:
- value for this field, or
nullif not present.
-
getTeamSharingPolicy
Sharing policy with team.- Returns:
- value for this field, or
nullif not present.
-
newBuilder
Returns a new builder for creating an instance of this class.- Parameters:
eventUuid- Event unique identifier. Must not benull.- Returns:
- builder for this class.
- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
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
-