Class Info.Contact

java.lang.Object
dk.mada.jaxrs.model.Info.Contact
Direct Known Subclasses:
ImmutableContact
Enclosing class:
Info

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

    • Contact

      protected Contact()
      Creates new instance.
  • Method Details

    • builder

      public static 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