com.factset.sdk.FactSetFunds.models.DistCurrent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of factsetfunds Show documentation
Show all versions of factsetfunds Show documentation
FactSet SDK for Java - factsetfunds
/*
* FactSet Funds API
* FactSet Mutual Funds data offers over 50 fund- and share class-specific data points for mutual funds listed in the United States. FactSet Mutual Funds Reference provides fund-specific reference information as well as FactSet's proprietary classification system. It includes but is not limited to the following coverage * Fund descriptions * A seven-tier classification system * Leverage information * Fees and expenses * Portfolio managers FactSet Mutual Funds Time Series provides quantitative data items on a historical basis. It includes but is not limited to the following coverage * Net asset value * Fund flows * Assets under management * Total return
This API is rate-limited to 10 requests per second and 10 concurrent requests per user.
*
* The version of the OpenAPI document: 1.1.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.FactSetFunds.models;
import java.util.Objects;
import java.util.Arrays;
import java.util.Map;
import java.util.HashMap;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDate;
import org.openapitools.jackson.nullable.JsonNullable;
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.openapitools.jackson.nullable.JsonNullable;
import java.util.NoSuchElementException;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.factset.sdk.FactSetFunds.JSON;
/**
* DistCurrent
*/
@JsonPropertyOrder({
DistCurrent.JSON_PROPERTY_FSYM_ID,
DistCurrent.JSON_PROPERTY_DATE,
DistCurrent.JSON_PROPERTY_CURRENCY,
DistCurrent.JSON_PROPERTY_TOTAL_DISTRIBUTIONS,
DistCurrent.JSON_PROPERTY_RETURN_OF_CAPITAL,
DistCurrent.JSON_PROPERTY_QUALIFIED_DIVIDENDS,
DistCurrent.JSON_PROPERTY_NON_QALIFIED_DIVIDENDS,
DistCurrent.JSON_PROPERTY_DAILY_ACCRUED_DIVIDENDS,
DistCurrent.JSON_PROPERTY_ST_CAPITAL_GAINS,
DistCurrent.JSON_PROPERTY_LT_CAPITAL_GAINS,
DistCurrent.JSON_PROPERTY_INDICATED_ANNUAL_DIVIDEND,
DistCurrent.JSON_PROPERTY_DIST_FREQUENCY,
DistCurrent.JSON_PROPERTY_LTM_DIST_YIELD,
DistCurrent.JSON_PROPERTY_FIRST_DIST_DATE,
DistCurrent.JSON_PROPERTY_SEVEN_DAY_NET_SEC_YIELD,
DistCurrent.JSON_PROPERTY_SEVEN_DAY_GROSS_SEC_YIELD,
DistCurrent.JSON_PROPERTY_THIRTY_DAY_NET_SEC_YIELD,
DistCurrent.JSON_PROPERTY_THIRTY_DAY_GROSS_SEC_YIELD,
DistCurrent.JSON_PROPERTY_REQUEST_ID
})
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class DistCurrent implements Serializable {
private static final long serialVersionUID = 1L;
public static final String JSON_PROPERTY_FSYM_ID = "fsymId";
private JsonNullable fsymId = JsonNullable.undefined();
public static final String JSON_PROPERTY_DATE = "date";
private JsonNullable date = JsonNullable.undefined();
public static final String JSON_PROPERTY_CURRENCY = "currency";
private JsonNullable currency = JsonNullable.undefined();
public static final String JSON_PROPERTY_TOTAL_DISTRIBUTIONS = "totalDistributions";
private JsonNullable totalDistributions = JsonNullable.undefined();
public static final String JSON_PROPERTY_RETURN_OF_CAPITAL = "returnOfCapital";
private JsonNullable returnOfCapital = JsonNullable.undefined();
public static final String JSON_PROPERTY_QUALIFIED_DIVIDENDS = "qualifiedDividends";
private JsonNullable qualifiedDividends = JsonNullable.undefined();
public static final String JSON_PROPERTY_NON_QALIFIED_DIVIDENDS = "nonQalifiedDividends";
private JsonNullable nonQalifiedDividends = JsonNullable.undefined();
public static final String JSON_PROPERTY_DAILY_ACCRUED_DIVIDENDS = "dailyAccruedDividends";
private JsonNullable dailyAccruedDividends = JsonNullable.undefined();
public static final String JSON_PROPERTY_ST_CAPITAL_GAINS = "stCapitalGains";
private JsonNullable stCapitalGains = JsonNullable.undefined();
public static final String JSON_PROPERTY_LT_CAPITAL_GAINS = "ltCapitalGains";
private JsonNullable ltCapitalGains = JsonNullable.undefined();
public static final String JSON_PROPERTY_INDICATED_ANNUAL_DIVIDEND = "indicatedAnnualDividend";
private JsonNullable indicatedAnnualDividend = JsonNullable.undefined();
public static final String JSON_PROPERTY_DIST_FREQUENCY = "distFrequency";
private JsonNullable distFrequency = JsonNullable.undefined();
public static final String JSON_PROPERTY_LTM_DIST_YIELD = "ltmDistYield";
private JsonNullable ltmDistYield = JsonNullable.undefined();
public static final String JSON_PROPERTY_FIRST_DIST_DATE = "firstDistDate";
private JsonNullable firstDistDate = JsonNullable.undefined();
public static final String JSON_PROPERTY_SEVEN_DAY_NET_SEC_YIELD = "sevenDayNetSecYield";
private JsonNullable sevenDayNetSecYield = JsonNullable.undefined();
public static final String JSON_PROPERTY_SEVEN_DAY_GROSS_SEC_YIELD = "sevenDayGrossSecYield";
private JsonNullable sevenDayGrossSecYield = JsonNullable.undefined();
public static final String JSON_PROPERTY_THIRTY_DAY_NET_SEC_YIELD = "thirtyDayNetSecYield";
private JsonNullable thirtyDayNetSecYield = JsonNullable.undefined();
public static final String JSON_PROPERTY_THIRTY_DAY_GROSS_SEC_YIELD = "thirtyDayGrossSecYield";
private JsonNullable thirtyDayGrossSecYield = JsonNullable.undefined();
public static final String JSON_PROPERTY_REQUEST_ID = "requestId";
private String requestId;
public DistCurrent() {
}
public DistCurrent fsymId(String fsymId) {
this.fsymId = JsonNullable.of(fsymId);
return this;
}
/**
* FactSet Security Identifier. Six alpha-numeric characters, excluding vowels, with a -S suffix (XXXXXX-S), resolved from the requestId of the Fund requested.
* @return fsymId
**/
@jakarta.annotation.Nullable
@ApiModelProperty(example = "FNK7XP-S", value = "FactSet Security Identifier. Six alpha-numeric characters, excluding vowels, with a -S suffix (XXXXXX-S), resolved from the requestId of the Fund requested.")
@JsonIgnore
public String getFsymId() {
return fsymId.orElse(null);
}
@JsonProperty(JSON_PROPERTY_FSYM_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getFsymId_JsonNullable() {
return fsymId;
}
@JsonProperty(JSON_PROPERTY_FSYM_ID)
public void setFsymId_JsonNullable(JsonNullable fsymId) {
this.fsymId = fsymId;
}
public void setFsymId(String fsymId) {
this.fsymId = JsonNullable.of(fsymId);
}
public DistCurrent date(LocalDate date) {
this.date = JsonNullable.of(date);
return this;
}
/**
* The date of the distribution in YYYY-MM-DD format.
* @return date
**/
@jakarta.annotation.Nullable
@ApiModelProperty(example = "Fri Feb 26 00:00:00 UTC 2021", value = "The date of the distribution in YYYY-MM-DD format.")
@JsonIgnore
public LocalDate getDate() {
return date.orElse(null);
}
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getDate_JsonNullable() {
return date;
}
@JsonProperty(JSON_PROPERTY_DATE)
public void setDate_JsonNullable(JsonNullable date) {
this.date = date;
}
public void setDate(LocalDate date) {
this.date = JsonNullable.of(date);
}
public DistCurrent currency(String currency) {
this.currency = JsonNullable.of(currency);
return this;
}
/**
* ISO Currency
* @return currency
**/
@jakarta.annotation.Nullable
@ApiModelProperty(example = "USD", value = "ISO Currency")
@JsonIgnore
public String getCurrency() {
return currency.orElse(null);
}
@JsonProperty(JSON_PROPERTY_CURRENCY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getCurrency_JsonNullable() {
return currency;
}
@JsonProperty(JSON_PROPERTY_CURRENCY)
public void setCurrency_JsonNullable(JsonNullable currency) {
this.currency = currency;
}
public void setCurrency(String currency) {
this.currency = JsonNullable.of(currency);
}
public DistCurrent totalDistributions(Double totalDistributions) {
this.totalDistributions = JsonNullable.of(totalDistributions);
return this;
}
/**
* Total Distributions.
* @return totalDistributions
**/
@jakarta.annotation.Nullable
@ApiModelProperty(example = "3.16187341965815", value = "Total Distributions.")
@JsonIgnore
public Double getTotalDistributions() {
return totalDistributions.orElse(null);
}
@JsonProperty(JSON_PROPERTY_TOTAL_DISTRIBUTIONS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getTotalDistributions_JsonNullable() {
return totalDistributions;
}
@JsonProperty(JSON_PROPERTY_TOTAL_DISTRIBUTIONS)
public void setTotalDistributions_JsonNullable(JsonNullable totalDistributions) {
this.totalDistributions = totalDistributions;
}
public void setTotalDistributions(Double totalDistributions) {
this.totalDistributions = JsonNullable.of(totalDistributions);
}
public DistCurrent returnOfCapital(Double returnOfCapital) {
this.returnOfCapital = JsonNullable.of(returnOfCapital);
return this;
}
/**
* Return on Capital.
* @return returnOfCapital
**/
@jakarta.annotation.Nullable
@ApiModelProperty(example = "3.16187341965815", value = "Return on Capital.")
@JsonIgnore
public Double getReturnOfCapital() {
return returnOfCapital.orElse(null);
}
@JsonProperty(JSON_PROPERTY_RETURN_OF_CAPITAL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getReturnOfCapital_JsonNullable() {
return returnOfCapital;
}
@JsonProperty(JSON_PROPERTY_RETURN_OF_CAPITAL)
public void setReturnOfCapital_JsonNullable(JsonNullable returnOfCapital) {
this.returnOfCapital = returnOfCapital;
}
public void setReturnOfCapital(Double returnOfCapital) {
this.returnOfCapital = JsonNullable.of(returnOfCapital);
}
public DistCurrent qualifiedDividends(Double qualifiedDividends) {
this.qualifiedDividends = JsonNullable.of(qualifiedDividends);
return this;
}
/**
* Qualified Dividends.
* @return qualifiedDividends
**/
@jakarta.annotation.Nullable
@ApiModelProperty(example = "3.16187341965815", value = "Qualified Dividends.")
@JsonIgnore
public Double getQualifiedDividends() {
return qualifiedDividends.orElse(null);
}
@JsonProperty(JSON_PROPERTY_QUALIFIED_DIVIDENDS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getQualifiedDividends_JsonNullable() {
return qualifiedDividends;
}
@JsonProperty(JSON_PROPERTY_QUALIFIED_DIVIDENDS)
public void setQualifiedDividends_JsonNullable(JsonNullable qualifiedDividends) {
this.qualifiedDividends = qualifiedDividends;
}
public void setQualifiedDividends(Double qualifiedDividends) {
this.qualifiedDividends = JsonNullable.of(qualifiedDividends);
}
public DistCurrent nonQalifiedDividends(Double nonQalifiedDividends) {
this.nonQalifiedDividends = JsonNullable.of(nonQalifiedDividends);
return this;
}
/**
* Non-Qualified Dividends.
* @return nonQalifiedDividends
**/
@jakarta.annotation.Nullable
@ApiModelProperty(example = "3.16187341965815", value = "Non-Qualified Dividends.")
@JsonIgnore
public Double getNonQalifiedDividends() {
return nonQalifiedDividends.orElse(null);
}
@JsonProperty(JSON_PROPERTY_NON_QALIFIED_DIVIDENDS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getNonQalifiedDividends_JsonNullable() {
return nonQalifiedDividends;
}
@JsonProperty(JSON_PROPERTY_NON_QALIFIED_DIVIDENDS)
public void setNonQalifiedDividends_JsonNullable(JsonNullable nonQalifiedDividends) {
this.nonQalifiedDividends = nonQalifiedDividends;
}
public void setNonQalifiedDividends(Double nonQalifiedDividends) {
this.nonQalifiedDividends = JsonNullable.of(nonQalifiedDividends);
}
public DistCurrent dailyAccruedDividends(Double dailyAccruedDividends) {
this.dailyAccruedDividends = JsonNullable.of(dailyAccruedDividends);
return this;
}
/**
* Daily Accrued Dividends.
* @return dailyAccruedDividends
**/
@jakarta.annotation.Nullable
@ApiModelProperty(example = "3.16187341965815", value = "Daily Accrued Dividends.")
@JsonIgnore
public Double getDailyAccruedDividends() {
return dailyAccruedDividends.orElse(null);
}
@JsonProperty(JSON_PROPERTY_DAILY_ACCRUED_DIVIDENDS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getDailyAccruedDividends_JsonNullable() {
return dailyAccruedDividends;
}
@JsonProperty(JSON_PROPERTY_DAILY_ACCRUED_DIVIDENDS)
public void setDailyAccruedDividends_JsonNullable(JsonNullable dailyAccruedDividends) {
this.dailyAccruedDividends = dailyAccruedDividends;
}
public void setDailyAccruedDividends(Double dailyAccruedDividends) {
this.dailyAccruedDividends = JsonNullable.of(dailyAccruedDividends);
}
public DistCurrent stCapitalGains(Double stCapitalGains) {
this.stCapitalGains = JsonNullable.of(stCapitalGains);
return this;
}
/**
* Short-Term Capital Gains.
* @return stCapitalGains
**/
@jakarta.annotation.Nullable
@ApiModelProperty(example = "3.16187341965815", value = "Short-Term Capital Gains.")
@JsonIgnore
public Double getStCapitalGains() {
return stCapitalGains.orElse(null);
}
@JsonProperty(JSON_PROPERTY_ST_CAPITAL_GAINS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getStCapitalGains_JsonNullable() {
return stCapitalGains;
}
@JsonProperty(JSON_PROPERTY_ST_CAPITAL_GAINS)
public void setStCapitalGains_JsonNullable(JsonNullable stCapitalGains) {
this.stCapitalGains = stCapitalGains;
}
public void setStCapitalGains(Double stCapitalGains) {
this.stCapitalGains = JsonNullable.of(stCapitalGains);
}
public DistCurrent ltCapitalGains(Double ltCapitalGains) {
this.ltCapitalGains = JsonNullable.of(ltCapitalGains);
return this;
}
/**
* Long-Term Capital Gains.
* @return ltCapitalGains
**/
@jakarta.annotation.Nullable
@ApiModelProperty(example = "3.16187341965815", value = "Long-Term Capital Gains.")
@JsonIgnore
public Double getLtCapitalGains() {
return ltCapitalGains.orElse(null);
}
@JsonProperty(JSON_PROPERTY_LT_CAPITAL_GAINS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getLtCapitalGains_JsonNullable() {
return ltCapitalGains;
}
@JsonProperty(JSON_PROPERTY_LT_CAPITAL_GAINS)
public void setLtCapitalGains_JsonNullable(JsonNullable ltCapitalGains) {
this.ltCapitalGains = ltCapitalGains;
}
public void setLtCapitalGains(Double ltCapitalGains) {
this.ltCapitalGains = JsonNullable.of(ltCapitalGains);
}
public DistCurrent indicatedAnnualDividend(Double indicatedAnnualDividend) {
this.indicatedAnnualDividend = JsonNullable.of(indicatedAnnualDividend);
return this;
}
/**
* Indicated annual dividend.
* @return indicatedAnnualDividend
**/
@jakarta.annotation.Nullable
@ApiModelProperty(example = "3.16187341965815", value = "Indicated annual dividend.")
@JsonIgnore
public Double getIndicatedAnnualDividend() {
return indicatedAnnualDividend.orElse(null);
}
@JsonProperty(JSON_PROPERTY_INDICATED_ANNUAL_DIVIDEND)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getIndicatedAnnualDividend_JsonNullable() {
return indicatedAnnualDividend;
}
@JsonProperty(JSON_PROPERTY_INDICATED_ANNUAL_DIVIDEND)
public void setIndicatedAnnualDividend_JsonNullable(JsonNullable indicatedAnnualDividend) {
this.indicatedAnnualDividend = indicatedAnnualDividend;
}
public void setIndicatedAnnualDividend(Double indicatedAnnualDividend) {
this.indicatedAnnualDividend = JsonNullable.of(indicatedAnnualDividend);
}
public DistCurrent distFrequency(String distFrequency) {
this.distFrequency = JsonNullable.of(distFrequency);
return this;
}
/**
* Distribution frequency.
* @return distFrequency
**/
@jakarta.annotation.Nullable
@ApiModelProperty(example = "Annual", value = "Distribution frequency.")
@JsonIgnore
public String getDistFrequency() {
return distFrequency.orElse(null);
}
@JsonProperty(JSON_PROPERTY_DIST_FREQUENCY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getDistFrequency_JsonNullable() {
return distFrequency;
}
@JsonProperty(JSON_PROPERTY_DIST_FREQUENCY)
public void setDistFrequency_JsonNullable(JsonNullable distFrequency) {
this.distFrequency = distFrequency;
}
public void setDistFrequency(String distFrequency) {
this.distFrequency = JsonNullable.of(distFrequency);
}
public DistCurrent ltmDistYield(Double ltmDistYield) {
this.ltmDistYield = JsonNullable.of(ltmDistYield);
return this;
}
/**
* Distribution yield for the last twelve months.
* @return ltmDistYield
**/
@jakarta.annotation.Nullable
@ApiModelProperty(example = "3.16187341965815", value = "Distribution yield for the last twelve months.")
@JsonIgnore
public Double getLtmDistYield() {
return ltmDistYield.orElse(null);
}
@JsonProperty(JSON_PROPERTY_LTM_DIST_YIELD)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getLtmDistYield_JsonNullable() {
return ltmDistYield;
}
@JsonProperty(JSON_PROPERTY_LTM_DIST_YIELD)
public void setLtmDistYield_JsonNullable(JsonNullable ltmDistYield) {
this.ltmDistYield = ltmDistYield;
}
public void setLtmDistYield(Double ltmDistYield) {
this.ltmDistYield = JsonNullable.of(ltmDistYield);
}
public DistCurrent firstDistDate(LocalDate firstDistDate) {
this.firstDistDate = JsonNullable.of(firstDistDate);
return this;
}
/**
* The date of the funds first distribution in YYYY-MM-DD format.
* @return firstDistDate
**/
@jakarta.annotation.Nullable
@ApiModelProperty(example = "Fri Feb 26 00:00:00 UTC 2021", value = "The date of the funds first distribution in YYYY-MM-DD format.")
@JsonIgnore
public LocalDate getFirstDistDate() {
return firstDistDate.orElse(null);
}
@JsonProperty(JSON_PROPERTY_FIRST_DIST_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getFirstDistDate_JsonNullable() {
return firstDistDate;
}
@JsonProperty(JSON_PROPERTY_FIRST_DIST_DATE)
public void setFirstDistDate_JsonNullable(JsonNullable firstDistDate) {
this.firstDistDate = firstDistDate;
}
public void setFirstDistDate(LocalDate firstDistDate) {
this.firstDistDate = JsonNullable.of(firstDistDate);
}
public DistCurrent sevenDayNetSecYield(Double sevenDayNetSecYield) {
this.sevenDayNetSecYield = JsonNullable.of(sevenDayNetSecYield);
return this;
}
/**
* Net SEC yield for the last seven days.
* @return sevenDayNetSecYield
**/
@jakarta.annotation.Nullable
@ApiModelProperty(example = "3.16187341965815", value = "Net SEC yield for the last seven days.")
@JsonIgnore
public Double getSevenDayNetSecYield() {
return sevenDayNetSecYield.orElse(null);
}
@JsonProperty(JSON_PROPERTY_SEVEN_DAY_NET_SEC_YIELD)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getSevenDayNetSecYield_JsonNullable() {
return sevenDayNetSecYield;
}
@JsonProperty(JSON_PROPERTY_SEVEN_DAY_NET_SEC_YIELD)
public void setSevenDayNetSecYield_JsonNullable(JsonNullable sevenDayNetSecYield) {
this.sevenDayNetSecYield = sevenDayNetSecYield;
}
public void setSevenDayNetSecYield(Double sevenDayNetSecYield) {
this.sevenDayNetSecYield = JsonNullable.of(sevenDayNetSecYield);
}
public DistCurrent sevenDayGrossSecYield(Double sevenDayGrossSecYield) {
this.sevenDayGrossSecYield = JsonNullable.of(sevenDayGrossSecYield);
return this;
}
/**
* Gross SEC yield for the last seven days.
* @return sevenDayGrossSecYield
**/
@jakarta.annotation.Nullable
@ApiModelProperty(example = "3.16187341965815", value = "Gross SEC yield for the last seven days.")
@JsonIgnore
public Double getSevenDayGrossSecYield() {
return sevenDayGrossSecYield.orElse(null);
}
@JsonProperty(JSON_PROPERTY_SEVEN_DAY_GROSS_SEC_YIELD)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getSevenDayGrossSecYield_JsonNullable() {
return sevenDayGrossSecYield;
}
@JsonProperty(JSON_PROPERTY_SEVEN_DAY_GROSS_SEC_YIELD)
public void setSevenDayGrossSecYield_JsonNullable(JsonNullable sevenDayGrossSecYield) {
this.sevenDayGrossSecYield = sevenDayGrossSecYield;
}
public void setSevenDayGrossSecYield(Double sevenDayGrossSecYield) {
this.sevenDayGrossSecYield = JsonNullable.of(sevenDayGrossSecYield);
}
public DistCurrent thirtyDayNetSecYield(Double thirtyDayNetSecYield) {
this.thirtyDayNetSecYield = JsonNullable.of(thirtyDayNetSecYield);
return this;
}
/**
* Net SEC yield for the thirty thirty days.
* @return thirtyDayNetSecYield
**/
@jakarta.annotation.Nullable
@ApiModelProperty(example = "3.16187341965815", value = "Net SEC yield for the thirty thirty days.")
@JsonIgnore
public Double getThirtyDayNetSecYield() {
return thirtyDayNetSecYield.orElse(null);
}
@JsonProperty(JSON_PROPERTY_THIRTY_DAY_NET_SEC_YIELD)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getThirtyDayNetSecYield_JsonNullable() {
return thirtyDayNetSecYield;
}
@JsonProperty(JSON_PROPERTY_THIRTY_DAY_NET_SEC_YIELD)
public void setThirtyDayNetSecYield_JsonNullable(JsonNullable thirtyDayNetSecYield) {
this.thirtyDayNetSecYield = thirtyDayNetSecYield;
}
public void setThirtyDayNetSecYield(Double thirtyDayNetSecYield) {
this.thirtyDayNetSecYield = JsonNullable.of(thirtyDayNetSecYield);
}
public DistCurrent thirtyDayGrossSecYield(Double thirtyDayGrossSecYield) {
this.thirtyDayGrossSecYield = JsonNullable.of(thirtyDayGrossSecYield);
return this;
}
/**
* Gross SEC yield for the last thirty days.
* @return thirtyDayGrossSecYield
**/
@jakarta.annotation.Nullable
@ApiModelProperty(example = "3.16187341965815", value = "Gross SEC yield for the last thirty days.")
@JsonIgnore
public Double getThirtyDayGrossSecYield() {
return thirtyDayGrossSecYield.orElse(null);
}
@JsonProperty(JSON_PROPERTY_THIRTY_DAY_GROSS_SEC_YIELD)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getThirtyDayGrossSecYield_JsonNullable() {
return thirtyDayGrossSecYield;
}
@JsonProperty(JSON_PROPERTY_THIRTY_DAY_GROSS_SEC_YIELD)
public void setThirtyDayGrossSecYield_JsonNullable(JsonNullable thirtyDayGrossSecYield) {
this.thirtyDayGrossSecYield = thirtyDayGrossSecYield;
}
public void setThirtyDayGrossSecYield(Double thirtyDayGrossSecYield) {
this.thirtyDayGrossSecYield = JsonNullable.of(thirtyDayGrossSecYield);
}
public DistCurrent requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The requested Id sent as input.
* @return requestId
**/
@jakarta.annotation.Nullable
@ApiModelProperty(example = "MABAX", value = "The requested Id sent as input.")
@JsonProperty(JSON_PROPERTY_REQUEST_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getRequestId() {
return requestId;
}
@JsonProperty(JSON_PROPERTY_REQUEST_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setRequestId(String requestId) {
this.requestId = requestId;
}
/**
* Return true if this distCurrent object is equal to o.
*/
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
DistCurrent distCurrent = (DistCurrent) o;
return equalsNullable(this.fsymId, distCurrent.fsymId) &&
equalsNullable(this.date, distCurrent.date) &&
equalsNullable(this.currency, distCurrent.currency) &&
equalsNullable(this.totalDistributions, distCurrent.totalDistributions) &&
equalsNullable(this.returnOfCapital, distCurrent.returnOfCapital) &&
equalsNullable(this.qualifiedDividends, distCurrent.qualifiedDividends) &&
equalsNullable(this.nonQalifiedDividends, distCurrent.nonQalifiedDividends) &&
equalsNullable(this.dailyAccruedDividends, distCurrent.dailyAccruedDividends) &&
equalsNullable(this.stCapitalGains, distCurrent.stCapitalGains) &&
equalsNullable(this.ltCapitalGains, distCurrent.ltCapitalGains) &&
equalsNullable(this.indicatedAnnualDividend, distCurrent.indicatedAnnualDividend) &&
equalsNullable(this.distFrequency, distCurrent.distFrequency) &&
equalsNullable(this.ltmDistYield, distCurrent.ltmDistYield) &&
equalsNullable(this.firstDistDate, distCurrent.firstDistDate) &&
equalsNullable(this.sevenDayNetSecYield, distCurrent.sevenDayNetSecYield) &&
equalsNullable(this.sevenDayGrossSecYield, distCurrent.sevenDayGrossSecYield) &&
equalsNullable(this.thirtyDayNetSecYield, distCurrent.thirtyDayNetSecYield) &&
equalsNullable(this.thirtyDayGrossSecYield, distCurrent.thirtyDayGrossSecYield) &&
Objects.equals(this.requestId, distCurrent.requestId);
}
private static boolean equalsNullable(JsonNullable a, JsonNullable b) {
return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get()));
}
@Override
public int hashCode() {
return Objects.hash(hashCodeNullable(fsymId), hashCodeNullable(date), hashCodeNullable(currency), hashCodeNullable(totalDistributions), hashCodeNullable(returnOfCapital), hashCodeNullable(qualifiedDividends), hashCodeNullable(nonQalifiedDividends), hashCodeNullable(dailyAccruedDividends), hashCodeNullable(stCapitalGains), hashCodeNullable(ltCapitalGains), hashCodeNullable(indicatedAnnualDividend), hashCodeNullable(distFrequency), hashCodeNullable(ltmDistYield), hashCodeNullable(firstDistDate), hashCodeNullable(sevenDayNetSecYield), hashCodeNullable(sevenDayGrossSecYield), hashCodeNullable(thirtyDayNetSecYield), hashCodeNullable(thirtyDayGrossSecYield), requestId);
}
private static int hashCodeNullable(JsonNullable a) {
if (a == null) {
return 1;
}
return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DistCurrent {\n");
sb.append(" fsymId: ").append(toIndentedString(fsymId)).append("\n");
sb.append(" date: ").append(toIndentedString(date)).append("\n");
sb.append(" currency: ").append(toIndentedString(currency)).append("\n");
sb.append(" totalDistributions: ").append(toIndentedString(totalDistributions)).append("\n");
sb.append(" returnOfCapital: ").append(toIndentedString(returnOfCapital)).append("\n");
sb.append(" qualifiedDividends: ").append(toIndentedString(qualifiedDividends)).append("\n");
sb.append(" nonQalifiedDividends: ").append(toIndentedString(nonQalifiedDividends)).append("\n");
sb.append(" dailyAccruedDividends: ").append(toIndentedString(dailyAccruedDividends)).append("\n");
sb.append(" stCapitalGains: ").append(toIndentedString(stCapitalGains)).append("\n");
sb.append(" ltCapitalGains: ").append(toIndentedString(ltCapitalGains)).append("\n");
sb.append(" indicatedAnnualDividend: ").append(toIndentedString(indicatedAnnualDividend)).append("\n");
sb.append(" distFrequency: ").append(toIndentedString(distFrequency)).append("\n");
sb.append(" ltmDistYield: ").append(toIndentedString(ltmDistYield)).append("\n");
sb.append(" firstDistDate: ").append(toIndentedString(firstDistDate)).append("\n");
sb.append(" sevenDayNetSecYield: ").append(toIndentedString(sevenDayNetSecYield)).append("\n");
sb.append(" sevenDayGrossSecYield: ").append(toIndentedString(sevenDayGrossSecYield)).append("\n");
sb.append(" thirtyDayNetSecYield: ").append(toIndentedString(thirtyDayNetSecYield)).append("\n");
sb.append(" thirtyDayGrossSecYield: ").append(toIndentedString(thirtyDayGrossSecYield)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}