ResponseWrapper

public class ResponseWrapper

Constructors

Link copied to clipboard
public void ResponseWrapper(DialogResponseView view)

Functions

Link copied to clipboard
Returns a boolean optional with an empty value if the key is not contained within the original response view.
Link copied to clipboard
public Optional<Color> getColor(String key)
public Optional<Color> getColor(String redKey, String greenKey, String blueKey)
Link copied to clipboard
public Optional<E> getEnum<E extends Enum<E>>(Class<E> enumClass, String key)
public Optional<E> getEnum<E extends Enum<E>>(Class<E> enumClass, String key, boolean caseInsensitive)
Link copied to clipboard
public Optional<Float> getFloat(String key)
Returns a float optional with an empty value if the key is not contained within the original response view.
Link copied to clipboard
Returns a float optional with an empty value if the key is not contained within the original response view.
Link copied to clipboard
Returns a boolean optional with an empty value if the key is not contained within the original response view.
Link copied to clipboard
public static ResponseWrapper of(DialogResponseView view)