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

com.yoti.api.client.docs.session.create.task.RequestedTask Maven / Gradle / Ivy

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

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * {@link RequestedTask} requests creation of a Task to be performed on each document
 *
 * @param  class that extends {@link RequestedTaskConfig}
 */
public abstract class RequestedTask {

    /**
     * Returns the type of the Task to create
     *
     * @return the type
     */
    @JsonProperty("type")
    public abstract String getType();

    /**
     * Configuration to apply to the Task
     *
     * @return the task configuration
     */
    @JsonProperty("config")
    public abstract T getConfig();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy