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

com.factset.sdk.FactSetFunds.models.RelatedFunds Maven / Gradle / Ivy

There is a newer version: 2.1.1
Show newest version
/*
 * 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 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; /** * 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 }) @jakarta.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 JsonNullable fsymId = JsonNullable.undefined(); public static final String JSON_PROPERTY_RELATED_FUND_ID_ONE = "relatedFundIdOne"; private JsonNullable relatedFundIdOne = JsonNullable.undefined(); public static final String JSON_PROPERTY_RELATED_FUND_ID_TWO = "relatedFundIdTwo"; private JsonNullable relatedFundIdTwo = JsonNullable.undefined(); public static final String JSON_PROPERTY_RELATED_FUND_ID_THREE = "relatedFundIdThree"; private JsonNullable relatedFundIdThree = JsonNullable.undefined(); public static final String JSON_PROPERTY_RELATED_FUND_ID_FOUR = "relatedFundIdFour"; private JsonNullable relatedFundIdFour = JsonNullable.undefined(); public static final String JSON_PROPERTY_RELATED_FUND_ID_FIVE = "relatedFundIdFive"; private JsonNullable relatedFundIdFive = JsonNullable.undefined(); public static final String JSON_PROPERTY_REQUEST_ID = "requestId"; private String requestId; public RelatedFunds() { } public RelatedFunds 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 RelatedFunds relatedFundIdOne(String relatedFundIdOne) { this.relatedFundIdOne = JsonNullable.of(relatedFundIdOne); return this; } /** * The first related fund to the requestedId returned as a FactSet Permanent Security Identifier (XXXXXX-S). * @return relatedFundIdOne **/ @jakarta.annotation.Nullable @ApiModelProperty(example = "VTG6QP-S", value = "The first related fund to the requestedId returned as a FactSet Permanent Security Identifier (XXXXXX-S).") @JsonIgnore public String getRelatedFundIdOne() { return relatedFundIdOne.orElse(null); } @JsonProperty(JSON_PROPERTY_RELATED_FUND_ID_ONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public JsonNullable getRelatedFundIdOne_JsonNullable() { return relatedFundIdOne; } @JsonProperty(JSON_PROPERTY_RELATED_FUND_ID_ONE) public void setRelatedFundIdOne_JsonNullable(JsonNullable relatedFundIdOne) { this.relatedFundIdOne = relatedFundIdOne; } public void setRelatedFundIdOne(String relatedFundIdOne) { this.relatedFundIdOne = JsonNullable.of(relatedFundIdOne); } public RelatedFunds relatedFundIdTwo(String relatedFundIdTwo) { this.relatedFundIdTwo = JsonNullable.of(relatedFundIdTwo); return this; } /** * The second related fund to the requestedId returned as a FactSet Permanent Security Identifier (XXXXXX-S). * @return relatedFundIdTwo **/ @jakarta.annotation.Nullable @ApiModelProperty(example = "MPWNZT-S", value = "The second related fund to the requestedId returned as a FactSet Permanent Security Identifier (XXXXXX-S).") @JsonIgnore public String getRelatedFundIdTwo() { return relatedFundIdTwo.orElse(null); } @JsonProperty(JSON_PROPERTY_RELATED_FUND_ID_TWO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public JsonNullable getRelatedFundIdTwo_JsonNullable() { return relatedFundIdTwo; } @JsonProperty(JSON_PROPERTY_RELATED_FUND_ID_TWO) public void setRelatedFundIdTwo_JsonNullable(JsonNullable relatedFundIdTwo) { this.relatedFundIdTwo = relatedFundIdTwo; } public void setRelatedFundIdTwo(String relatedFundIdTwo) { this.relatedFundIdTwo = JsonNullable.of(relatedFundIdTwo); } public RelatedFunds relatedFundIdThree(String relatedFundIdThree) { this.relatedFundIdThree = JsonNullable.of(relatedFundIdThree); return this; } /** * The third related fund to the requestedId returned as a FactSet Permanent Security Identifier (XXXXXX-S). * @return relatedFundIdThree **/ @jakarta.annotation.Nullable @ApiModelProperty(example = "NK7DYK-S", value = "The third related fund to the requestedId returned as a FactSet Permanent Security Identifier (XXXXXX-S).") @JsonIgnore public String getRelatedFundIdThree() { return relatedFundIdThree.orElse(null); } @JsonProperty(JSON_PROPERTY_RELATED_FUND_ID_THREE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public JsonNullable getRelatedFundIdThree_JsonNullable() { return relatedFundIdThree; } @JsonProperty(JSON_PROPERTY_RELATED_FUND_ID_THREE) public void setRelatedFundIdThree_JsonNullable(JsonNullable relatedFundIdThree) { this.relatedFundIdThree = relatedFundIdThree; } public void setRelatedFundIdThree(String relatedFundIdThree) { this.relatedFundIdThree = JsonNullable.of(relatedFundIdThree); } public RelatedFunds relatedFundIdFour(String relatedFundIdFour) { this.relatedFundIdFour = JsonNullable.of(relatedFundIdFour); return this; } /** * The fourth related fund to the requestedId returned as a FactSet Permanent Security Identifier (XXXXXX-S). * @return relatedFundIdFour **/ @jakarta.annotation.Nullable @ApiModelProperty(example = "VS6HXC-S", value = "The fourth related fund to the requestedId returned as a FactSet Permanent Security Identifier (XXXXXX-S).") @JsonIgnore public String getRelatedFundIdFour() { return relatedFundIdFour.orElse(null); } @JsonProperty(JSON_PROPERTY_RELATED_FUND_ID_FOUR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public JsonNullable getRelatedFundIdFour_JsonNullable() { return relatedFundIdFour; } @JsonProperty(JSON_PROPERTY_RELATED_FUND_ID_FOUR) public void setRelatedFundIdFour_JsonNullable(JsonNullable relatedFundIdFour) { this.relatedFundIdFour = relatedFundIdFour; } public void setRelatedFundIdFour(String relatedFundIdFour) { this.relatedFundIdFour = JsonNullable.of(relatedFundIdFour); } public RelatedFunds relatedFundIdFive(String relatedFundIdFive) { this.relatedFundIdFive = JsonNullable.of(relatedFundIdFive); return this; } /** * The fifth related fund to the requestedId returned as a FactSet Permanent Security Identifier (XXXXXX-S). * @return relatedFundIdFive **/ @jakarta.annotation.Nullable @ApiModelProperty(example = "NYQFB0-S", value = "The fifth related fund to the requestedId returned as a FactSet Permanent Security Identifier (XXXXXX-S).") @JsonIgnore public String getRelatedFundIdFive() { return relatedFundIdFive.orElse(null); } @JsonProperty(JSON_PROPERTY_RELATED_FUND_ID_FIVE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public JsonNullable getRelatedFundIdFive_JsonNullable() { return relatedFundIdFive; } @JsonProperty(JSON_PROPERTY_RELATED_FUND_ID_FIVE) public void setRelatedFundIdFive_JsonNullable(JsonNullable relatedFundIdFive) { this.relatedFundIdFive = relatedFundIdFive; } public void setRelatedFundIdFive(String relatedFundIdFive) { this.relatedFundIdFive = JsonNullable.of(relatedFundIdFive); } public RelatedFunds 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 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 equalsNullable(this.fsymId, relatedFunds.fsymId) && equalsNullable(this.relatedFundIdOne, relatedFunds.relatedFundIdOne) && equalsNullable(this.relatedFundIdTwo, relatedFunds.relatedFundIdTwo) && equalsNullable(this.relatedFundIdThree, relatedFunds.relatedFundIdThree) && equalsNullable(this.relatedFundIdFour, relatedFunds.relatedFundIdFour) && equalsNullable(this.relatedFundIdFive, relatedFunds.relatedFundIdFive) && Objects.equals(this.requestId, relatedFunds.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(relatedFundIdOne), hashCodeNullable(relatedFundIdTwo), hashCodeNullable(relatedFundIdThree), hashCodeNullable(relatedFundIdFour), hashCodeNullable(relatedFundIdFive), 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 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 "); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy