Class ApiDefinitionInfo


  • public final class ApiDefinitionInfo
    extends Object
    Information about the formal API definition for the app.
    • Constructor Detail

      • ApiDefinitionInfo

        public ApiDefinitionInfo()
    • Method Detail

      • url

        public String url()
        Get the url property: The URL of the API definition.
        Returns:
        the url value.
      • withUrl

        public ApiDefinitionInfo withUrl​(String url)
        Set the url property: The URL of the API definition.
        Parameters:
        url - the url value to set.
        Returns:
        the ApiDefinitionInfo object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.