Class Info.Contact

java.lang.Object
dk.mada.jaxrs.model.Info.Contact
Enclosing class:
Info

@Immutable public abstract static class Info.Contact extends Object
The contact information for the API.
  • Constructor Details

    • Contact

      public Contact()
  • Method Details

    • builder

      public static dk.mada.jaxrs.model.ImmutableContact.Builder builder()
      Returns a builder for this type.
      Returns:
      a builder for this type
    • name

      public abstract Optional<String> name()
      Returns the optional name of the contact.
      Returns:
      the optional name of the contact
    • url

      public abstract Optional<String> url()
      Returns the optional URL of the contact.
      Returns:
      the optional URL of the contact
    • email

      public abstract Optional<String> email()
      Returns the optional email of the contact.
      Returns:
      the optional email of the contact