Class GuestAdminChangeStatusDetails


  • public class GuestAdminChangeStatusDetails
    extends java.lang.Object
    Changed guest team admin status.
    • Method Detail

      • getIsGuest

        public boolean getIsGuest()
        True for guest, false for host.
        Returns:
        value for this field.
      • getPreviousValue

        public TrustedTeamsRequestState getPreviousValue()
        Previous request state.
        Returns:
        value for this field, never null.
      • getNewValue

        public TrustedTeamsRequestState getNewValue()
        New request state.
        Returns:
        value for this field, never null.
      • getActionDetails

        public TrustedTeamsRequestAction getActionDetails()
        Action details.
        Returns:
        value for this field, never null.
      • getGuestTeamName

        public java.lang.String getGuestTeamName()
        The name of the guest team.
        Returns:
        value for this field, or null if not present.
      • getHostTeamName

        public java.lang.String getHostTeamName()
        The name of the host team.
        Returns:
        value for this field, or null if not present.
      • newBuilder

        public static GuestAdminChangeStatusDetails.Builder newBuilder​(boolean isGuest,
                                                                       TrustedTeamsRequestState previousValue,
                                                                       TrustedTeamsRequestState newValue,
                                                                       TrustedTeamsRequestAction actionDetails)
        Returns a new builder for creating an instance of this class.
        Parameters:
        isGuest - True for guest, false for host.
        previousValue - Previous request state. Must not be null.
        newValue - New request state. Must not be null.
        actionDetails - Action details. 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