Package io.muserver.openapi
Class ContactObject
- java.lang.Object
-
- io.muserver.openapi.ContactObject
-
public class ContactObject extends java.lang.Object
- See Also:
ContactObjectBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
email()
java.lang.String
name()
java.net.URI
url()
void
writeJson(java.io.Writer writer)
-
-
-
Method Detail
-
writeJson
public void writeJson(java.io.Writer writer) throws java.io.IOException
- Throws:
java.io.IOException
-
name
public java.lang.String name()
- Returns:
- The value described by
ContactObjectBuilder.withName(java.lang.String)
-
url
public java.net.URI url()
- Returns:
- The value described by
ContactObjectBuilder.withUrl(java.net.URI)
-
email
public java.lang.String email()
- Returns:
- The value described by
ContactObjectBuilder.withEmail(java.lang.String)
-
-