![JAR search and dependency download from the Maven repository](/logo.png)
com.github.patwakeem.asm.plainobjects.FprUrlResults Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of asm Show documentation
Show all versions of asm Show documentation
Library for interacting with the Apica ASM API.
The newest version!
package com.github.patwakeem.asm.plainobjects;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.util.Collections;
import java.util.List;
@SuppressWarnings("unused")
public class FprUrlResults
{
@SerializedName("check_results")
@Expose
private List checkResults = null;
public List getCheckResults() {
return checkResults;
}
public void setCheckResults(List checkResults) {
this.checkResults = checkResults;
}
public FprUrlResults withCheckResults(List checkResults) {
this.checkResults = checkResults;
return this;
}
public List getUrlResults() {
try {
return checkResults.get(0).getUrlResults();
} catch (Exception e) {
return Collections.emptyList();
}
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
FprUrlResults that = (FprUrlResults) o;
return checkResults != null ? checkResults.equals(that.checkResults) : that.checkResults == null;
}
@Override
public int hashCode() {
return checkResults != null ? checkResults.hashCode() : 0;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy