Class OpenApiSpec


  • public final class OpenApiSpec
    extends java.lang.Object
    • Constructor Detail

      • OpenApiSpec

        @ConstructorProperties({"scannerId","url","file","description","spec"})
        public OpenApiSpec​(java.lang.String scannerId,
                           java.lang.String url,
                           java.lang.String file,
                           java.lang.String description,
                           java.lang.String spec)
    • Method Detail

      • getScannerId

        public java.lang.String getScannerId()
      • getUrl

        public java.lang.String getUrl()
      • getFile

        public java.lang.String getFile()
      • getDescription

        public java.lang.String getDescription()
      • getSpec

        public java.lang.String getSpec()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • withScannerId

        public OpenApiSpec withScannerId​(java.lang.String scannerId)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withUrl

        public OpenApiSpec withUrl​(java.lang.String url)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withFile

        public OpenApiSpec withFile​(java.lang.String file)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withDescription

        public OpenApiSpec withDescription​(java.lang.String description)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withSpec

        public OpenApiSpec withSpec​(java.lang.String spec)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).