Interface Embed.Field

All Known Implementing Classes:
EmbedImpl.FieldImpl
Enclosing interface:
Embed

public static interface Embed.Field
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Whether the field is inline.
    Name of the field.
    Value of the field.
  • Method Details

    • name

      @Nonnull @CheckReturnValue String name()
      Name of the field.
      Returns:
      Field's name. Never null.
    • value

      @Nonnull @CheckReturnValue String value()
      Value of the field.
      Returns:
      Field's value. Never null.
    • inline

      @CheckReturnValue boolean inline()
      Whether the field is inline.
      Returns:
      True if the field is inline, false otherwise.