Class UserPhoneConfig

    • Method Detail

      • phoneTypeAsString

        public final String phoneTypeAsString()

        The phone type.

        If the service returns an enum value that is not available in the current SDK version, phoneType will return PhoneType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from phoneTypeAsString().

        Returns:
        The phone type.
        See Also:
        PhoneType
      • autoAccept

        public final Boolean autoAccept()

        The Auto accept setting.

        Returns:
        The Auto accept setting.
      • afterContactWorkTimeLimit

        public final Integer afterContactWorkTimeLimit()

        The After Call Work (ACW) timeout setting, in seconds. This parameter has a minimum value of 0 and a maximum value of 2,000,000 seconds (24 days). Enter 0 if you don't want to allocate a specific amount of ACW time. It essentially means an indefinite amount of time. When the conversation ends, ACW starts; the agent must choose Close contact to end ACW.

        When returned by a SearchUsers call, AfterContactWorkTimeLimit is returned in milliseconds.

        Returns:
        The After Call Work (ACW) timeout setting, in seconds. This parameter has a minimum value of 0 and a maximum value of 2,000,000 seconds (24 days). Enter 0 if you don't want to allocate a specific amount of ACW time. It essentially means an indefinite amount of time. When the conversation ends, ACW starts; the agent must choose Close contact to end ACW.

        When returned by a SearchUsers call, AfterContactWorkTimeLimit is returned in milliseconds.

      • deskPhoneNumber

        public final String deskPhoneNumber()

        The phone number for the user's desk phone.

        Returns:
        The phone number for the user's desk phone.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)