com.affinda.api.client.models.DocumentFormat Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of affinda-api-client Show documentation
Show all versions of affinda-api-client Show documentation
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
package com.affinda.api.client.models;
import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;
/** Defines values for DocumentFormat. */
public final class DocumentFormat extends ExpandableStringEnum {
/** Static value json for DocumentFormat. */
public static final DocumentFormat JSON = fromString("json");
/** Static value xml for DocumentFormat. */
public static final DocumentFormat XML = fromString("xml");
/** Static value hr-xml for DocumentFormat. */
public static final DocumentFormat HR_XML = fromString("hr-xml");
/**
* Creates or finds a DocumentFormat from its string representation.
*
* @param name a name to look for.
* @return the corresponding DocumentFormat.
*/
@JsonCreator
public static DocumentFormat fromString(String name) {
return fromString(name, DocumentFormat.class);
}
/** @return known DocumentFormat values. */
public static Collection values() {
return values(DocumentFormat.class);
}
}