com.factset.sdk.FactSetFunds.models.Flows Maven / Gradle / Ivy
Show all versions of factsetfunds Show documentation
/*
* 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
*
* The version of the OpenAPI document: 1.0.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.io.Serializable;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.factset.sdk.FactSetFunds.JSON;
/**
* Flows
*/
@JsonPropertyOrder({
Flows.JSON_PROPERTY_FSYM_ID,
Flows.JSON_PROPERTY_FUND_FLOWS,
Flows.JSON_PROPERTY_CURRENCY,
Flows.JSON_PROPERTY_DATE,
Flows.JSON_PROPERTY_REQUEST_ID
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class Flows implements Serializable {
private static final long serialVersionUID = 1L;
public static final String JSON_PROPERTY_FSYM_ID = "fsymId";
private String fsymId;
public static final String JSON_PROPERTY_FUND_FLOWS = "fundFlows";
private Double fundFlows;
public static final String JSON_PROPERTY_CURRENCY = "currency";
private String currency;
public static final String JSON_PROPERTY_DATE = "date";
private String date;
public static final String JSON_PROPERTY_REQUEST_ID = "requestId";
private String requestId;
public Flows() {
}
public Flows fsymId(String fsymId) {
this.fsymId = 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
**/
@javax.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.")
@JsonProperty(JSON_PROPERTY_FSYM_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getFsymId() {
return fsymId;
}
@JsonProperty(JSON_PROPERTY_FSYM_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setFsymId(String fsymId) {
this.fsymId = fsymId;
}
public Flows fundFlows(Double fundFlows) {
this.fundFlows = fundFlows;
return this;
}
/**
* Fund flows data for the specified share class in raw units of the specified currency.
* @return fundFlows
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "271971.16741002", value = "Fund flows data for the specified share class in raw units of the specified currency.")
@JsonProperty(JSON_PROPERTY_FUND_FLOWS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Double getFundFlows() {
return fundFlows;
}
@JsonProperty(JSON_PROPERTY_FUND_FLOWS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setFundFlows(Double fundFlows) {
this.fundFlows = fundFlows;
}
public Flows currency(String currency) {
this.currency = currency;
return this;
}
/**
* The Currency of the AUM values. By default it will be in the FUnds Currency, unless otherwise requested via the currency parameter.
* @return currency
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "USD", value = "The Currency of the AUM values. By default it will be in the FUnds Currency, unless otherwise requested via the currency parameter.")
@JsonProperty(JSON_PROPERTY_CURRENCY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getCurrency() {
return currency;
}
@JsonProperty(JSON_PROPERTY_CURRENCY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCurrency(String currency) {
this.currency = currency;
}
public Flows date(String date) {
this.date = date;
return this;
}
/**
* The date of the AUM in YYYY-MM-DD format.
* @return date
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "Fri Feb 26 00:00:00 UTC 2021", value = "The date of the AUM in YYYY-MM-DD format.")
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDate() {
return date;
}
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDate(String date) {
this.date = date;
}
public Flows requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The requested Id sent as input.
* @return requestId
**/
@javax.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 flows object is equal to o.
*/
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Flows flows = (Flows) o;
return Objects.equals(this.fsymId, flows.fsymId) &&
Objects.equals(this.fundFlows, flows.fundFlows) &&
Objects.equals(this.currency, flows.currency) &&
Objects.equals(this.date, flows.date) &&
Objects.equals(this.requestId, flows.requestId);
}
@Override
public int hashCode() {
return Objects.hash(fsymId, fundFlows, currency, date, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Flows {\n");
sb.append(" fsymId: ").append(toIndentedString(fsymId)).append("\n");
sb.append(" fundFlows: ").append(toIndentedString(fundFlows)).append("\n");
sb.append(" currency: ").append(toIndentedString(currency)).append("\n");
sb.append(" date: ").append(toIndentedString(date)).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 ");
}
}