Package net.md_5.bungee.api.dialog.body

# Class DialogBody

java.lang.Object
net.md_5.bungee.api.dialog.body.DialogBody

Direct Known Subclasses:
  `PlainMessageBody`

public abstract class DialogBody extends Object
Represents the body content of a `Dialog`.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DialogBody(@NonNull String type)`
  Creates a new `DialogBody` instance.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected boolean`
  `canEqual(Object other)`
  `boolean`
  `equals(Object o)`
  `@NonNull String`
  `getType()`
  The internal body type.
  `int`
  `hashCode()`
  `String`
  `toString()`

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

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

- ## Constructor Details

  - ### DialogBody

    public DialogBody(@NonNull @NonNull String type)
    Creates a new `DialogBody` instance.
    Parameters:
      `type` - The internal body type.

- ## Method Details

  - ### getType

    @NonNull public @NonNull String getType()
    The internal body type.

  - ### 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`