com.factset.sdk.FactSetFundamentals.models.Periodicity Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of factsetfundamentals Show documentation
Show all versions of factsetfundamentals Show documentation
FactSet SDK for Java - factsetfundamentals
/*
* FactSet Fundamentals API
* Gain access to current, comprehensive, and comparative information on securities in worldwide developed and emerging markets. Composed of annual and interim/quarterly data, detailed historical financial statement content, per-share data, and calculated ratios, FactSet Fundamentals provides you with the information you need for a global investment perspective.This API is rate-limited to 10 requests per second and 10 concurrent requests per user.
*
* The version of the OpenAPI document: 2.2.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.FactSetFundamentals.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.FactSetFundamentals.JSON;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
/**
* Periodicity or frequency of the fiscal periods, where * **ANN** = Annual Original, * **ANN_R** = Annual Latest - *Includes Restatements*, * **QTR** = Quarterly, * **QTR_R** = Quarterly Latest - *Includes Restatements*, * **SEMI** = Semi-Annual, * **SEMI_R** = Semi-Annual Latest - *Includes Restatements*, * **LTM** = Last Twelve Months, * **LTM_R** = Last Twelve Months Latest - *Includes Restatements*, * **LTM_SEMI** = Last Twelve Months - Semi-Annually Reported Data, * **LTMSG** = Last Twelve Months Global [OA17959](https://my.apps.factset.com/oa/pages/17959) and * **YTD** = Year-to-date <br><br> Please note that the coverage for SEMI_R and LTM_R may be limited as fewer companies report with these periodicities.
*/
public enum Periodicity {
ANN("ANN"),
ANN_R("ANN_R"),
QTR("QTR"),
QTR_R("QTR_R"),
SEMI("SEMI"),
SEMI_R("SEMI_R"),
LTM("LTM"),
LTM_R("LTM_R"),
LTMSG("LTMSG"),
LTM_SEMI("LTM_SEMI"),
YTD("YTD");
private String value;
Periodicity(String value) {
this.value = value;
}
@JsonValue
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
@JsonCreator
public static Periodicity fromValue(String value) {
for (Periodicity b : Periodicity.values()) {
if (b.value.equals(value)) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
}
}