Package com.dropbox.core.v2.teamlog
Class PaperDocChangeSharingPolicyDetails
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.PaperDocChangeSharingPolicyDetails
-
public class PaperDocChangeSharingPolicyDetails extends java.lang.Object
Changed sharing setting for Paper doc.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PaperDocChangeSharingPolicyDetails.Builder
Builder forPaperDocChangeSharingPolicyDetails
.
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
eventUuid
protected java.lang.String
publicSharingPolicy
protected java.lang.String
teamSharingPolicy
-
Constructor Summary
Constructors Constructor Description PaperDocChangeSharingPolicyDetails(java.lang.String eventUuid)
Changed sharing setting for Paper doc.PaperDocChangeSharingPolicyDetails(java.lang.String eventUuid, java.lang.String publicSharingPolicy, java.lang.String teamSharingPolicy)
Changed sharing setting for Paper doc.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getEventUuid()
Event unique identifier.java.lang.String
getPublicSharingPolicy()
Sharing policy with external users.java.lang.String
getTeamSharingPolicy()
Sharing policy with team.int
hashCode()
static PaperDocChangeSharingPolicyDetails.Builder
newBuilder(java.lang.String eventUuid)
Returns a new builder for creating an instance of this class.java.lang.String
toString()
java.lang.String
toStringMultiline()
Returns a String representation of this object formatted for easier readability.
-
-
-
Constructor Detail
-
PaperDocChangeSharingPolicyDetails
public PaperDocChangeSharingPolicyDetails(@Nonnull java.lang.String eventUuid, @Nullable java.lang.String publicSharingPolicy, @Nullable java.lang.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:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
PaperDocChangeSharingPolicyDetails
public PaperDocChangeSharingPolicyDetails(@Nonnull java.lang.String eventUuid)
Changed sharing setting for Paper doc.The default values for unset fields will be used.
- Parameters:
eventUuid
- Event unique identifier. Must not benull
.- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
-
Method Detail
-
getEventUuid
@Nonnull public java.lang.String getEventUuid()
Event unique identifier.- Returns:
- value for this field, never
null
.
-
getPublicSharingPolicy
@Nullable public java.lang.String getPublicSharingPolicy()
Sharing policy with external users.- Returns:
- value for this field, or
null
if not present.
-
getTeamSharingPolicy
@Nullable public java.lang.String getTeamSharingPolicy()
Sharing policy with team.- Returns:
- value for this field, or
null
if not present.
-
newBuilder
public static PaperDocChangeSharingPolicyDetails.Builder newBuilder(java.lang.String eventUuid)
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:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toStringMultiline
public java.lang.String 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
-
-