Class RepeatAttemptsList


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.9.0")
    public class RepeatAttemptsList
    extends Object
    RepeatAttemptsList
    • Constructor Detail

      • RepeatAttemptsList

        public RepeatAttemptsList()
    • Method Detail

      • getReportId

        @Nullable
        public UUID getReportId()
        The unique identifier of the completed Document report.
        Returns:
        reportId
      • setReportId

        public void setReportId​(UUID reportId)
      • getRepeatAttempts

        @Nonnull
        public List<RepeatAttemptsListRepeatAttemptsInner> getRepeatAttempts()
        An array of repeat attempt objects. If no repeat attempts were found, the array will be empty. The number of objects returned can increase over time if more matches are received.
        Returns:
        repeatAttempts
      • getAttemptsCount

        @Nullable
        public Integer getAttemptsCount()
        The total number of attempts using the same document, including the current report under assessment.
        Returns:
        attemptsCount
      • setAttemptsCount

        public void setAttemptsCount​(Integer attemptsCount)
      • getAttemptsClearRate

        @Nullable
        public Float getAttemptsClearRate()
        A number between 0 and 1 which indicates the proportion of attempts that have been cleared, including the current report under assessment. minimum: 0 maximum: 1
        Returns:
        attemptsClearRate
      • setAttemptsClearRate

        public void setAttemptsClearRate​(Float attemptsClearRate)
      • getUniqueMismatchesCount

        @Nullable
        public Integer getUniqueMismatchesCount()
        The number of unique entries in the repeat_attempts field for which at least one of the fields is a mismatch.
        Returns:
        uniqueMismatchesCount
      • setUniqueMismatchesCount

        public void setUniqueMismatchesCount​(Integer uniqueMismatchesCount)
      • putAdditionalProperty

        public RepeatAttemptsList putAdditionalProperty​(String key,
                                                        Object value)
        Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
        Parameters:
        key - name of the property
        value - value of the property
        Returns:
        the RepeatAttemptsList instance itself
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
        Return the additional (undeclared) property.
        Returns:
        a map of objects
      • getAdditionalProperty

        public Object getAdditionalProperty​(String key)
        Return the additional (undeclared) property with the specified name.
        Parameters:
        key - name of the property
        Returns:
        an object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws IOException
        Validates the JSON Element and throws an exception if issues found
        Parameters:
        jsonElement - JSON Element
        Throws:
        IOException - if the JSON Element is invalid with respect to RepeatAttemptsList
      • fromJson

        public static RepeatAttemptsList fromJson​(String jsonString)
                                           throws IOException
        Create an instance of RepeatAttemptsList given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of RepeatAttemptsList
        Throws:
        IOException - if the JSON string is invalid with respect to RepeatAttemptsList
      • toJson

        public String toJson()
        Convert an instance of RepeatAttemptsList to an JSON string
        Returns:
        JSON string