public class PaperDocChangeSharingPolicyDetails
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
PaperDocChangeSharingPolicyDetails.Builder
Builder for
PaperDocChangeSharingPolicyDetails . |
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
eventUuid |
protected java.lang.String |
publicSharingPolicy |
protected java.lang.String |
teamSharingPolicy |
Constructor and 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.
|
Modifier and Type | Method and 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.
|
protected final java.lang.String eventUuid
protected final java.lang.String publicSharingPolicy
protected final java.lang.String teamSharingPolicy
public PaperDocChangeSharingPolicyDetails(java.lang.String eventUuid, java.lang.String publicSharingPolicy, java.lang.String teamSharingPolicy)
Use newBuilder
to create instances of this class without
specifying values for all optional fields.
eventUuid
- Event unique identifier. Must not be null
.publicSharingPolicy
- Sharing policy with external users. Might be
missing due to historical data gap.teamSharingPolicy
- Sharing policy with team. Might be missing due
to historical data gap.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public PaperDocChangeSharingPolicyDetails(java.lang.String eventUuid)
The default values for unset fields will be used.
eventUuid
- Event unique identifier. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.lang.String getEventUuid()
null
.public java.lang.String getPublicSharingPolicy()
null
if not present.public java.lang.String getTeamSharingPolicy()
null
if not present.public static PaperDocChangeSharingPolicyDetails.Builder newBuilder(java.lang.String eventUuid)
eventUuid
- Event unique identifier. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.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.