Class DateStatistics

    • Method Detail

      • date

        public final Instant date()

        The timestamp when the total findings count is observed.

        For example, Date would look like "2024-09-05T17:00:00-07:00" whereas LastGeneratedAt would look like 2024-09-05T17:12:29-07:00".

        Returns:
        The timestamp when the total findings count is observed.

        For example, Date would look like "2024-09-05T17:00:00-07:00" whereas LastGeneratedAt would look like 2024-09-05T17:12:29-07:00".

      • lastGeneratedAt

        public final Instant lastGeneratedAt()

        The timestamp at which the last finding in the findings count, was generated.

        Returns:
        The timestamp at which the last finding in the findings count, was generated.
      • severity

        public final Double severity()

        The severity of the findings generated on each date.

        Returns:
        The severity of the findings generated on each date.
      • totalFindings

        public final Integer totalFindings()

        The total number of findings that were generated per severity level on each date.

        Returns:
        The total number of findings that were generated per severity level on each date.
      • 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)