Class UserSetting

    • Method Detail

      • action

        public final Action action()

        The action that is enabled or disabled.

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

        Returns:
        The action that is enabled or disabled.
        See Also:
        Action
      • actionAsString

        public final String actionAsString()

        The action that is enabled or disabled.

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

        Returns:
        The action that is enabled or disabled.
        See Also:
        Action
      • permission

        public final Permission permission()

        Indicates whether the action is enabled or disabled.

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

        Returns:
        Indicates whether the action is enabled or disabled.
        See Also:
        Permission
      • permissionAsString

        public final String permissionAsString()

        Indicates whether the action is enabled or disabled.

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

        Returns:
        Indicates whether the action is enabled or disabled.
        See Also:
        Permission
      • maximumLength

        public final Integer maximumLength()

        Specifies the number of characters that can be copied by end users from the local device to the remote session, and to the local device from the remote session.

        This can be specified only for the CLIPBOARD_COPY_FROM_LOCAL_DEVICE and CLIPBOARD_COPY_TO_LOCAL_DEVICE actions.

        This defaults to 20,971,520 (20 MB) when unspecified and the permission is ENABLED. This can't be specified when the permission is DISABLED.

        The value can be between 1 and 20,971,520 (20 MB).

        Returns:
        Specifies the number of characters that can be copied by end users from the local device to the remote session, and to the local device from the remote session.

        This can be specified only for the CLIPBOARD_COPY_FROM_LOCAL_DEVICE and CLIPBOARD_COPY_TO_LOCAL_DEVICE actions.

        This defaults to 20,971,520 (20 MB) when unspecified and the permission is ENABLED. This can't be specified when the permission is DISABLED.

        The value can be between 1 and 20,971,520 (20 MB).

      • 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)