Package dk.mada.jaxrs.model
Class Info
java.lang.Object
dk.mada.jaxrs.model.Info
- Direct Known Subclasses:
ImmutableInfo
API
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ImmutableInfo.Builder
builder()
Returns a builder for this type.contact()
Returns the contact information for the API.Returns the optional description of the API.Returns the optional TOS of the API.abstract String
title()
Returns the title of the API.abstract String
version()
Returns the version of the API.
-
Constructor Details
-
Info
protected Info()Creates new instance.
-
-
Method Details
-
builder
Returns a builder for this type.- Returns:
- a builder for this type
-
title
Returns the title of the API.- Returns:
- the title of the API
-
version
Returns the version of the API.- Returns:
- the version of the API
-
description
Returns the optional description of the API.- Returns:
- the optional description of the API
-
termsOfService
Returns the optional TOS of the API.- Returns:
- the optional TOS of the API
-
contact
Returns the contact information for the API.- Returns:
- the contact information for the API
-