com.factset.sdk.FactSetFunds.models.RelatedFunds 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;
/**
* RelatedFunds
*/
@JsonPropertyOrder({
RelatedFunds.JSON_PROPERTY_FSYM_ID,
RelatedFunds.JSON_PROPERTY_RELATED_FUND_ID_ONE,
RelatedFunds.JSON_PROPERTY_RELATED_FUND_ID_TWO,
RelatedFunds.JSON_PROPERTY_RELATED_FUND_ID_THREE,
RelatedFunds.JSON_PROPERTY_RELATED_FUND_ID_FOUR,
RelatedFunds.JSON_PROPERTY_RELATED_FUND_ID_FIVE,
RelatedFunds.JSON_PROPERTY_REQUEST_ID
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class RelatedFunds 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_RELATED_FUND_ID_ONE = "relatedFundIdOne";
private String relatedFundIdOne;
public static final String JSON_PROPERTY_RELATED_FUND_ID_TWO = "relatedFundIdTwo";
private String relatedFundIdTwo;
public static final String JSON_PROPERTY_RELATED_FUND_ID_THREE = "relatedFundIdThree";
private String relatedFundIdThree;
public static final String JSON_PROPERTY_RELATED_FUND_ID_FOUR = "relatedFundIdFour";
private String relatedFundIdFour;
public static final String JSON_PROPERTY_RELATED_FUND_ID_FIVE = "relatedFundIdFive";
private String relatedFundIdFive;
public static final String JSON_PROPERTY_REQUEST_ID = "requestId";
private String requestId;
public RelatedFunds() {
}
public RelatedFunds 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 RelatedFunds relatedFundIdOne(String relatedFundIdOne) {
this.relatedFundIdOne = relatedFundIdOne;
return this;
}
/**
* The first related fund to the requestedId returned as a FactSet Permanent Security Identifier (XXXXXX-S).
* @return relatedFundIdOne
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "VTG6QP-S", value = "The first related fund to the requestedId returned as a FactSet Permanent Security Identifier (XXXXXX-S).")
@JsonProperty(JSON_PROPERTY_RELATED_FUND_ID_ONE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getRelatedFundIdOne() {
return relatedFundIdOne;
}
@JsonProperty(JSON_PROPERTY_RELATED_FUND_ID_ONE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setRelatedFundIdOne(String relatedFundIdOne) {
this.relatedFundIdOne = relatedFundIdOne;
}
public RelatedFunds relatedFundIdTwo(String relatedFundIdTwo) {
this.relatedFundIdTwo = relatedFundIdTwo;
return this;
}
/**
* The second related fund to the requestedId returned as a FactSet Permanent Security Identifier (XXXXXX-S).
* @return relatedFundIdTwo
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "MPWNZT-S", value = "The second related fund to the requestedId returned as a FactSet Permanent Security Identifier (XXXXXX-S).")
@JsonProperty(JSON_PROPERTY_RELATED_FUND_ID_TWO)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getRelatedFundIdTwo() {
return relatedFundIdTwo;
}
@JsonProperty(JSON_PROPERTY_RELATED_FUND_ID_TWO)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setRelatedFundIdTwo(String relatedFundIdTwo) {
this.relatedFundIdTwo = relatedFundIdTwo;
}
public RelatedFunds relatedFundIdThree(String relatedFundIdThree) {
this.relatedFundIdThree = relatedFundIdThree;
return this;
}
/**
* The third related fund to the requestedId returned as a FactSet Permanent Security Identifier (XXXXXX-S).
* @return relatedFundIdThree
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "NK7DYK-S", value = "The third related fund to the requestedId returned as a FactSet Permanent Security Identifier (XXXXXX-S).")
@JsonProperty(JSON_PROPERTY_RELATED_FUND_ID_THREE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getRelatedFundIdThree() {
return relatedFundIdThree;
}
@JsonProperty(JSON_PROPERTY_RELATED_FUND_ID_THREE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setRelatedFundIdThree(String relatedFundIdThree) {
this.relatedFundIdThree = relatedFundIdThree;
}
public RelatedFunds relatedFundIdFour(String relatedFundIdFour) {
this.relatedFundIdFour = relatedFundIdFour;
return this;
}
/**
* The fourth related fund to the requestedId returned as a FactSet Permanent Security Identifier (XXXXXX-S).
* @return relatedFundIdFour
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "VS6HXC-S", value = "The fourth related fund to the requestedId returned as a FactSet Permanent Security Identifier (XXXXXX-S).")
@JsonProperty(JSON_PROPERTY_RELATED_FUND_ID_FOUR)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getRelatedFundIdFour() {
return relatedFundIdFour;
}
@JsonProperty(JSON_PROPERTY_RELATED_FUND_ID_FOUR)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setRelatedFundIdFour(String relatedFundIdFour) {
this.relatedFundIdFour = relatedFundIdFour;
}
public RelatedFunds relatedFundIdFive(String relatedFundIdFive) {
this.relatedFundIdFive = relatedFundIdFive;
return this;
}
/**
* The fifth related fund to the requestedId returned as a FactSet Permanent Security Identifier (XXXXXX-S).
* @return relatedFundIdFive
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "NYQFB0-S", value = "The fifth related fund to the requestedId returned as a FactSet Permanent Security Identifier (XXXXXX-S).")
@JsonProperty(JSON_PROPERTY_RELATED_FUND_ID_FIVE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getRelatedFundIdFive() {
return relatedFundIdFive;
}
@JsonProperty(JSON_PROPERTY_RELATED_FUND_ID_FIVE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setRelatedFundIdFive(String relatedFundIdFive) {
this.relatedFundIdFive = relatedFundIdFive;
}
public RelatedFunds 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 relatedFunds object is equal to o.
*/
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
RelatedFunds relatedFunds = (RelatedFunds) o;
return Objects.equals(this.fsymId, relatedFunds.fsymId) &&
Objects.equals(this.relatedFundIdOne, relatedFunds.relatedFundIdOne) &&
Objects.equals(this.relatedFundIdTwo, relatedFunds.relatedFundIdTwo) &&
Objects.equals(this.relatedFundIdThree, relatedFunds.relatedFundIdThree) &&
Objects.equals(this.relatedFundIdFour, relatedFunds.relatedFundIdFour) &&
Objects.equals(this.relatedFundIdFive, relatedFunds.relatedFundIdFive) &&
Objects.equals(this.requestId, relatedFunds.requestId);
}
@Override
public int hashCode() {
return Objects.hash(fsymId, relatedFundIdOne, relatedFundIdTwo, relatedFundIdThree, relatedFundIdFour, relatedFundIdFive, requestId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class RelatedFunds {\n");
sb.append(" fsymId: ").append(toIndentedString(fsymId)).append("\n");
sb.append(" relatedFundIdOne: ").append(toIndentedString(relatedFundIdOne)).append("\n");
sb.append(" relatedFundIdTwo: ").append(toIndentedString(relatedFundIdTwo)).append("\n");
sb.append(" relatedFundIdThree: ").append(toIndentedString(relatedFundIdThree)).append("\n");
sb.append(" relatedFundIdFour: ").append(toIndentedString(relatedFundIdFour)).append("\n");
sb.append(" relatedFundIdFive: ").append(toIndentedString(relatedFundIdFive)).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 ");
}
}