Class VulnerabilityVendor

    • Method Detail

      • name

        public final String name()

        The name of the vendor.

        Returns:
        The name of the vendor.
      • url

        public final String url()

        The URL of the vulnerability advisory.

        Returns:
        The URL of the vulnerability advisory.
      • vendorSeverity

        public final String vendorSeverity()

        The severity that the vendor assigned to the vulnerability.

        Returns:
        The severity that the vendor assigned to the vulnerability.
      • vendorCreatedAt

        public final String vendorCreatedAt()

        Indicates when the vulnerability advisory was created.

        Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T. For example, 2020-03-22T13:22:13.933Z.

        Returns:
        Indicates when the vulnerability advisory was created.

        Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T. For example, 2020-03-22T13:22:13.933Z.

      • vendorUpdatedAt

        public final String vendorUpdatedAt()

        Indicates when the vulnerability advisory was last updated.

        Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T. For example, 2020-03-22T13:22:13.933Z.

        Returns:
        Indicates when the vulnerability advisory was last updated.

        Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T. For example, 2020-03-22T13:22:13.933Z.

      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)