Class Admin.Builder

    • Method Detail

      • id

        public Admin.NameStage id​(@NotNull
                                  java.lang.String id)

        The id representing the admin.

        The id representing the admin.

        Specified by:
        id in interface Admin.IdStage
        Returns:
        Reference to this so that method calls can be chained together.
      • name

        public Admin.EmailStage name​(@NotNull
                                     java.lang.String name)

        The name of the admin.

        The name of the admin.

        Specified by:
        name in interface Admin.NameStage
        Returns:
        Reference to this so that method calls can be chained together.
      • email

        public Admin.AwayModeEnabledStage email​(@NotNull
                                                java.lang.String email)

        The email of the admin.

        The email of the admin.

        Specified by:
        email in interface Admin.EmailStage
        Returns:
        Reference to this so that method calls can be chained together.
      • awayModeEnabled

        public Admin.AwayModeReassignStage awayModeEnabled​(boolean awayModeEnabled)

        Identifies if this admin is currently set in away mode.

        Identifies if this admin is currently set in away mode.

        Specified by:
        awayModeEnabled in interface Admin.AwayModeEnabledStage
        Returns:
        Reference to this so that method calls can be chained together.
      • awayModeReassign

        public Admin.HasInboxSeatStage awayModeReassign​(boolean awayModeReassign)

        Identifies if this admin is set to automatically reassign new conversations to the apps default inbox.

        Identifies if this admin is set to automatically reassign new conversations to the apps default inbox.

        Specified by:
        awayModeReassign in interface Admin.AwayModeReassignStage
        Returns:
        Reference to this so that method calls can be chained together.
      • hasInboxSeat

        public Admin._FinalStage hasInboxSeat​(boolean hasInboxSeat)

        Identifies if this admin has a paid inbox seat to restrict/allow features that require them.

        Identifies if this admin has a paid inbox seat to restrict/allow features that require them.

        Specified by:
        hasInboxSeat in interface Admin.HasInboxSeatStage
        Returns:
        Reference to this so that method calls can be chained together.
      • addAllTeamIds

        public Admin._FinalStage addAllTeamIds​(java.util.List<java.lang.Integer> teamIds)

        This object represents the avatar associated with the admin.

        Specified by:
        addAllTeamIds in interface Admin._FinalStage
        Returns:
        Reference to this so that method calls can be chained together.
      • addTeamIds

        public Admin._FinalStage addTeamIds​(java.lang.Integer teamIds)

        This object represents the avatar associated with the admin.

        Specified by:
        addTeamIds in interface Admin._FinalStage
        Returns:
        Reference to this so that method calls can be chained together.
      • teamIds

        public Admin._FinalStage teamIds​(java.util.List<java.lang.Integer> teamIds)

        This object represents the avatar associated with the admin.

        Specified by:
        teamIds in interface Admin._FinalStage
      • awayStatusReasonId

        public Admin._FinalStage awayStatusReasonId​(java.lang.Integer awayStatusReasonId)

        The unique identifier of the away status reason

        Specified by:
        awayStatusReasonId in interface Admin._FinalStage
        Returns:
        Reference to this so that method calls can be chained together.
      • jobTitle

        public Admin._FinalStage jobTitle​(java.lang.String jobTitle)

        The job title of the admin.

        Specified by:
        jobTitle in interface Admin._FinalStage
        Returns:
        Reference to this so that method calls can be chained together.
      • type

        public Admin._FinalStage type​(java.lang.String type)

        String representing the object's type. Always has the value admin.

        Specified by:
        type in interface Admin._FinalStage
        Returns:
        Reference to this so that method calls can be chained together.
      • type

        public Admin._FinalStage type​(java.util.Optional<java.lang.String> type)

        String representing the object's type. Always has the value admin.

        Specified by:
        type in interface Admin._FinalStage