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

com.yoti.api.client.docs.session.retrieve.LivenessResourceResponse Maven / Gradle / Ivy

The newest version!
package com.yoti.api.client.docs.session.retrieve;

import com.yoti.api.client.docs.DocScanConstants;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;

@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "liveness_type", defaultImpl = LivenessResourceResponse.class, visible = true)
@JsonSubTypes({
        @JsonSubTypes.Type(value = ZoomLivenessResourceResponse.class, name = DocScanConstants.ZOOM),
        @JsonSubTypes.Type(value = StaticLivenessResourceResponse.class, name = DocScanConstants.STATIC),
})
public class LivenessResourceResponse extends ResourceResponse {

    @JsonProperty("liveness_type")
    private String livenessType;

    public String getLivenessType() {
        return livenessType;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy