All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yoti.api.client.shareurl.constraint.PreferredSources Maven / Gradle / Ivy

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