com.yoti.api.client.shareurl.constraint.PreferredSources Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yoti-sdk-api Show documentation
Show all versions of yoti-sdk-api Show documentation
Java SDK for simple integration with the Yoti platform
The newest version!
package com.yoti.api.client.shareurl.constraint;
import java.util.List;
import com.yoti.api.client.shareurl.policy.WantedAnchor;
import com.fasterxml.jackson.annotation.JsonProperty;
public class PreferredSources {
@JsonProperty("anchors")
private final List wantedAnchors;
@JsonProperty("soft_preference")
private final boolean softPreference;
PreferredSources(List wantedAnchors, boolean softPreference) {
this.wantedAnchors = wantedAnchors;
this.softPreference = softPreference;
}
/**
* Get the list of {@link WantedAnchor}
*
* @return the list of {@link WantedAnchor}
*/
public List getWantedAnchors() {
return wantedAnchors;
}
/**
* Get the soft preference
*
* @return the soft preference
*/
public boolean getSoftPreference() {
return softPreference;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy