Class PaperDocChangeSharingPolicyDetails


  • public class PaperDocChangeSharingPolicyDetails
    extends java.lang.Object
    Changed sharing setting for Paper doc.
    • Field Detail

      • eventUuid

        protected final java.lang.String eventUuid
      • publicSharingPolicy

        protected final java.lang.String publicSharingPolicy
      • teamSharingPolicy

        protected final java.lang.String teamSharingPolicy
    • Constructor Detail

      • PaperDocChangeSharingPolicyDetails

        public PaperDocChangeSharingPolicyDetails​(java.lang.String eventUuid,
                                                  java.lang.String publicSharingPolicy,
                                                  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 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.
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
      • PaperDocChangeSharingPolicyDetails

        public PaperDocChangeSharingPolicyDetails​(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 be null.
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
    • Method Detail

      • getEventUuid

        public java.lang.String getEventUuid()
        Event unique identifier.
        Returns:
        value for this field, never null.
      • getPublicSharingPolicy

        public java.lang.String getPublicSharingPolicy()
        Sharing policy with external users. Might be missing due to historical data gap.
        Returns:
        value for this field, or null if not present.
      • getTeamSharingPolicy

        public java.lang.String getTeamSharingPolicy()
        Sharing policy with team. Might be missing due to historical data gap.
        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 be null.
        Returns:
        builder for this class.
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.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