Package net.md_5.bungee.api.dialog.input

# Class DialogInput

java.lang.Object
net.md_5.bungee.api.dialog.input.DialogInput

Direct Known Subclasses:
  `BooleanInput`, `NumberRangeInput`, `SingleOptionInput`, `TextInput`

public class DialogInput extends Object
Represents a type of input which may be displayed/submitted with a form dialog.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DialogInput(@NonNull String type, @NonNull String key)`
  Creates a new `DialogInput` instance.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected boolean`
  `canEqual(Object other)`
  `boolean`
  `equals(Object o)`
  `int`
  `hashCode()`
  `@NonNull String`
  `key()`
  The key corresponding to this input and associated with the value submitted.
  `String`
  `toString()`
  `@NonNull String`
  `type()`
  The internal input type.

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### DialogInput

    public DialogInput(@NonNull @NonNull String type, @NonNull @NonNull String key)
    Creates a new `DialogInput` instance.
    Parameters:
      `type` - The internal input type.
      `key` - The key corresponding to this input and associated with the value submitted.

- ## Method Details

  - ### type

    @NonNull public @NonNull String type()
    The internal input type.

  - ### key

    @NonNull public @NonNull String key()
    The key corresponding to this input and associated with the value submitted.

  - ### equals

    public boolean equals(Object o)
    Overrides:
      `equals` in class `Object`

  - ### canEqual

    protected boolean canEqual(Object other)

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`