Class InfoImpl

  • All Implemented Interfaces:
    ModelImpl, org.eclipse.microprofile.openapi.models.Constructible, org.eclipse.microprofile.openapi.models.Extensible<org.eclipse.microprofile.openapi.models.info.Info>, org.eclipse.microprofile.openapi.models.info.Info

    public class InfoImpl
    extends ExtensibleImpl<org.eclipse.microprofile.openapi.models.info.Info>
    implements org.eclipse.microprofile.openapi.models.info.Info, ModelImpl
    An implementation of the Info OpenAPI model interface.
    • Constructor Detail

      • InfoImpl

        public InfoImpl()
    • Method Detail

      • getTitle

        public String getTitle()
        Specified by:
        getTitle in interface org.eclipse.microprofile.openapi.models.info.Info
        See Also:
        Info.getTitle()
      • setTitle

        public void setTitle​(String title)
        Specified by:
        setTitle in interface org.eclipse.microprofile.openapi.models.info.Info
        See Also:
        Info.setTitle(java.lang.String)
      • getDescription

        public String getDescription()
        Specified by:
        getDescription in interface org.eclipse.microprofile.openapi.models.info.Info
        See Also:
        Info.getDescription()
      • setDescription

        public void setDescription​(String description)
        Specified by:
        setDescription in interface org.eclipse.microprofile.openapi.models.info.Info
        See Also:
        Info.setDescription(java.lang.String)
      • getTermsOfService

        public String getTermsOfService()
        Specified by:
        getTermsOfService in interface org.eclipse.microprofile.openapi.models.info.Info
        See Also:
        Info.getTermsOfService()
      • setTermsOfService

        public void setTermsOfService​(String termsOfService)
        Specified by:
        setTermsOfService in interface org.eclipse.microprofile.openapi.models.info.Info
        See Also:
        Info.setTermsOfService(java.lang.String)
      • getContact

        public org.eclipse.microprofile.openapi.models.info.Contact getContact()
        Specified by:
        getContact in interface org.eclipse.microprofile.openapi.models.info.Info
        See Also:
        Info.getContact()
      • setContact

        public void setContact​(org.eclipse.microprofile.openapi.models.info.Contact contact)
        Specified by:
        setContact in interface org.eclipse.microprofile.openapi.models.info.Info
        See Also:
        Info.setContact(org.eclipse.microprofile.openapi.models.info.Contact)
      • getLicense

        public org.eclipse.microprofile.openapi.models.info.License getLicense()
        Specified by:
        getLicense in interface org.eclipse.microprofile.openapi.models.info.Info
        See Also:
        Info.getLicense()
      • setLicense

        public void setLicense​(org.eclipse.microprofile.openapi.models.info.License license)
        Specified by:
        setLicense in interface org.eclipse.microprofile.openapi.models.info.Info
        See Also:
        Info.setLicense(org.eclipse.microprofile.openapi.models.info.License)
      • getVersion

        public String getVersion()
        Specified by:
        getVersion in interface org.eclipse.microprofile.openapi.models.info.Info
        See Also:
        Info.getVersion()
      • setVersion

        public void setVersion​(String version)
        Specified by:
        setVersion in interface org.eclipse.microprofile.openapi.models.info.Info
        See Also:
        Info.setVersion(java.lang.String)