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

com.factset.sdk.FactSetGlobalPrices.models.Batch Maven / Gradle / Ivy

There is a newer version: 3.1.2
Show newest version
/*
 * FactSet Global Prices API
 * The FactSet Global Prices API provides end of day market pricing content using cloud and microservices technology, encompassing both pricing as well as corporate actions and events data.

* * The version of the OpenAPI document: 1.7.0 * Contact: [email protected] * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ package com.factset.sdk.FactSetGlobalPrices.models; import java.util.Objects; import java.util.Arrays; import java.util.Map; import java.util.HashMap; import io.swagger.annotations.ApiModel; import java.io.Serializable; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.factset.sdk.FactSetGlobalPrices.JSON; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; /** * Enables the ability to asynchronously \"batch\" the request, supporting a long-running request for up to 20 minutes. Upon requesting batch=Y, the service will respond back with an HTTP Status Code of 202. Once a batch request is submitted, use batch status to see if the job has been completed. Once completed, retrieve the results of the request via batch-result. When using Batch, ids limit is increased to 10000 ids per request, though limits on query string via GET method still apply. It's advised to submit large lists of ids via POST method. Please note that the number of unique currencies present in the requested ids is limited to 50 per request. */ public enum Batch { Y("Y"), N("N"); private String value; Batch(String value) { this.value = value; } @JsonValue public String getValue() { return value; } @Override public String toString() { return String.valueOf(value); } @JsonCreator public static Batch fromValue(String value) { for (Batch b : Batch.values()) { if (b.value.equals(value)) { return b; } } throw new IllegalArgumentException("Unexpected value '" + value + "'"); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy