Class Info

java.lang.Object
dk.mada.jaxrs.model.Info

@Immutable public abstract class Info extends Object
API
See Also:
  • Constructor Details

    • Info

      public Info()
  • Method Details

    • builder

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

      public abstract String title()
      Returns the title of the API.
      Returns:
      the title of the API
    • version

      public abstract String version()
      Returns the version of the API.
      Returns:
      the version of the API
    • description

      public abstract Optional<String> description()
      Returns the optional description of the API.
      Returns:
      the optional description of the API
    • termsOfService

      public abstract Optional<String> termsOfService()
      Returns the optional TOS of the API.
      Returns:
      the optional TOS of the API
    • contact

      @Default public Info.Contact contact()
      Returns the contact information for the API.
      Returns:
      the contact information for the API