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

com.affinda.api.client.models.RequestError Maven / Gradle / Ivy

Go to download

This package contains Java Client Library for the Affinda Resume Parser API. For documentation on how to use this package, please see https://github.com/affinda/affinda-java

There is a newer version: 3.16.0
Show newest version
package com.affinda.api.client.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/** The RequestError model. */
@Fluent
public final class RequestError {
    /*
     * The type property.
     */
    @JsonProperty(value = "type", required = true)
    private String type;

    /*
     * The errors property.
     */
    @JsonProperty(value = "errors", required = true)
    private List errors;

    /**
     * Get the type property: The type property.
     *
     * @return the type value.
     */
    public String getType() {
        return this.type;
    }

    /**
     * Set the type property: The type property.
     *
     * @param type the type value to set.
     * @return the RequestError object itself.
     */
    public RequestError setType(String type) {
        this.type = type;
        return this;
    }

    /**
     * Get the errors property: The errors property.
     *
     * @return the errors value.
     */
    public List getErrors() {
        return this.errors;
    }

    /**
     * Set the errors property: The errors property.
     *
     * @param errors the errors value to set.
     * @return the RequestError object itself.
     */
    public RequestError setErrors(List errors) {
        this.errors = errors;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy