com.factset.sdk.OpenFactSetPartnersDocuments.models.Bonds Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openfactsetpartnersdocuments Show documentation
Show all versions of openfactsetpartnersdocuments Show documentation
FactSet SDK for Java - openfactsetpartnersdocuments
/*
* Open:FactSet - Partners
* This service provides the capability to search and download unstructured content provided by Open:FactSet Partners.
*
* The version of the OpenAPI document: 2.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.OpenFactSetPartnersDocuments.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 java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.factset.sdk.OpenFactSetPartnersDocuments.JSON;
/**
* Returns Bonds Response
*/
@ApiModel(description = "Returns Bonds Response")
@JsonPropertyOrder({
Bonds.JSON_PROPERTY_ISIN,
Bonds.JSON_PROPERTY_FILE_NAME,
Bonds.JSON_PROPERTY_PREISSUANCE_PUB_DATE,
Bonds.JSON_PROPERTY_PREISSUANCE_EXISTENCE,
Bonds.JSON_PROPERTY_POSTISSUANCE_PUB_DATE,
Bonds.JSON_PROPERTY_POSTISSUANCE_EXISTENCE,
Bonds.JSON_PROPERTY_URL
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class Bonds implements Serializable {
private static final long serialVersionUID = 1L;
public static final String JSON_PROPERTY_ISIN = "isin";
private String isin;
public static final String JSON_PROPERTY_FILE_NAME = "fileName";
private String fileName;
public static final String JSON_PROPERTY_PREISSUANCE_PUB_DATE = "preissuancePubDate";
private LocalDate preissuancePubDate;
public static final String JSON_PROPERTY_PREISSUANCE_EXISTENCE = "preissuanceExistence";
private String preissuanceExistence;
public static final String JSON_PROPERTY_POSTISSUANCE_PUB_DATE = "postissuancePubDate";
private LocalDate postissuancePubDate;
public static final String JSON_PROPERTY_POSTISSUANCE_EXISTENCE = "postissuanceExistence";
private String postissuanceExistence;
public static final String JSON_PROPERTY_URL = "url";
private String url;
public Bonds() {
}
public Bonds isin(String isin) {
this.isin = isin;
return this;
}
/**
* 12-digit alphanumeric code that uniquely identifies a specific security.
* @return isin
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "XS2486610541", value = "12-digit alphanumeric code that uniquely identifies a specific security.")
@JsonProperty(JSON_PROPERTY_ISIN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getIsin() {
return isin;
}
@JsonProperty(JSON_PROPERTY_ISIN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setIsin(String isin) {
this.isin = isin;
}
public Bonds fileName(String fileName) {
this.fileName = fileName;
return this;
}
/**
* The filename of the bonds data.
* @return fileName
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "XS2486610541.xml", value = "The filename of the bonds data.")
@JsonProperty(JSON_PROPERTY_FILE_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getFileName() {
return fileName;
}
@JsonProperty(JSON_PROPERTY_FILE_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setFileName(String fileName) {
this.fileName = fileName;
}
public Bonds preissuancePubDate(LocalDate preissuancePubDate) {
this.preissuancePubDate = preissuancePubDate;
return this;
}
/**
* Specifies the Pre-issuance date of the record.
* @return preissuancePubDate
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "Fri Aug 26 00:00:00 UTC 2022", value = "Specifies the Pre-issuance date of the record. ")
@JsonProperty(JSON_PROPERTY_PREISSUANCE_PUB_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public LocalDate getPreissuancePubDate() {
return preissuancePubDate;
}
@JsonProperty(JSON_PROPERTY_PREISSUANCE_PUB_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPreissuancePubDate(LocalDate preissuancePubDate) {
this.preissuancePubDate = preissuancePubDate;
}
public Bonds preissuanceExistence(String preissuanceExistence) {
this.preissuanceExistence = preissuanceExistence;
return this;
}
/**
* Specifies the Pre-issuance existence of the record. The Issuer has developed a Framework for its upcoming Green and/or Social and/or Sustainability bond issuances. File is publically available on the Issuer's website.
* @return preissuanceExistence
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "PUBLICLY_AVAILABLE", value = "Specifies the Pre-issuance existence of the record. The Issuer has developed a Framework for its upcoming Green and/or Social and/or Sustainability bond issuances. File is publically available on the Issuer's website. ")
@JsonProperty(JSON_PROPERTY_PREISSUANCE_EXISTENCE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getPreissuanceExistence() {
return preissuanceExistence;
}
@JsonProperty(JSON_PROPERTY_PREISSUANCE_EXISTENCE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPreissuanceExistence(String preissuanceExistence) {
this.preissuanceExistence = preissuanceExistence;
}
public Bonds postissuancePubDate(LocalDate postissuancePubDate) {
this.postissuancePubDate = postissuancePubDate;
return this;
}
/**
* Specifies the Post-issuance date of the record.
* @return postissuancePubDate
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "Sat Sep 24 00:00:00 UTC 2022", value = "Specifies the Post-issuance date of the record. ")
@JsonProperty(JSON_PROPERTY_POSTISSUANCE_PUB_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public LocalDate getPostissuancePubDate() {
return postissuancePubDate;
}
@JsonProperty(JSON_PROPERTY_POSTISSUANCE_PUB_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPostissuancePubDate(LocalDate postissuancePubDate) {
this.postissuancePubDate = postissuancePubDate;
}
public Bonds postissuanceExistence(String postissuanceExistence) {
this.postissuanceExistence = postissuanceExistence;
return this;
}
/**
* Specifies the Post-issuance existence of the record.The Issuer has published a file presenting some information on the utilisation of the proceeds of the bond. File is publicly available.
* @return postissuanceExistence
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "PUBLICLY_AVAILABLE", value = "Specifies the Post-issuance existence of the record.The Issuer has published a file presenting some information on the utilisation of the proceeds of the bond. File is publicly available. ")
@JsonProperty(JSON_PROPERTY_POSTISSUANCE_EXISTENCE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getPostissuanceExistence() {
return postissuanceExistence;
}
@JsonProperty(JSON_PROPERTY_POSTISSUANCE_EXISTENCE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPostissuanceExistence(String postissuanceExistence) {
this.postissuanceExistence = postissuanceExistence;
}
public Bonds url(String url) {
this.url = url;
return this;
}
/**
* Download link for the bonds data provided by the Luxembourg feed. This download link will expire after 30 mins.
* @return url
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "https://fdss3-unstructured-data-delivery-luxembourg.s3.amazonaws.com/luxembourg_green_bonds/split/XS2486610541.xml?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA4NAFRGHDMNDXWUYH%2F20221017%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221017T103314Z&X-Amz-Expires=1800&X-Amz-SignedHeaders=host&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEDsaCXVzLWVhc3QtMSJHMEUCIHYez7Q5O9E2TpbKcNvtYdtQbSK3bi6KI2hBTkpMTTI1AiEAzMcz3OhOznjS0Bksa1b9rVSRGcYkkhcQEFp03WGKLgAq7gIIFBACGgw4NTI1NjI2MjA4NzAiDOK94aV1LhKeVcZsairLAgzxbHvmsmtwWTV7REDFmw1ex6b1h7VWzWVNmxhZUlb3UMr3W%2BBSERk%2F3uRDS8U88nJsHpjqjumNal2sw1r6FKAqhHjNlcNP0%2BcCqbNHBVo74IYgEe6uqF%2Btt03vCYLZwkd9fSg7U8BZ3DD0QjB27iLCB1nWDtNN3VaTTSxe%2BYievqUI8kgg8kSDreHOocB5tmlvmE2LcCD5zeb0FxZEQSh6o4%2Bvduzg4giIxfnCEbLLWmEFT49E2VxGC8E6pWjNccC%2FK%2BibiNmkivhI4vtG6KWpQyPbgMAUE4WXBIFnsulZJz2lfn3MpU3xkLVEch1n2IZMVzBdT49hAIeG9KSjppf2faDIXB0N5WwsduWl29RAfwxTJu7V7IhdYLvZDEhQaf%2B7IQXS3zijzdWrf6uclgw6Me%2BDAS8WFzaj%2FIQuxurSjGZJZRaoxarydGsw5t60mgY6ngGA303sALk%2BrsSXtp%2B5cSEyW%2FkrZcits1gXatpTU%2BEOwJBatTbRcoQa8zEHuspFtZD6nKOXvX5ZBWzzvRNjHpX7sXyM0LNcMH409aAqJfU6IU5%2B7KaoaucLj3VhaMdQgSEMAqp%2BFi47UFOQ3FvnG0Ih%2FjxEcTO8iYBHg2MfAMpx%2BNW0WwrNEQUXFWNt70HPrM2RnDkkzaTTTz9NDEbHpg%3D%3D&X-Amz-Signature=9db775727619af7f31024d33f8c1cb391140460ed269cec869cd4cff8253611d", value = "Download link for the bonds data provided by the Luxembourg feed. This download link will expire after 30 mins.")
@JsonProperty(JSON_PROPERTY_URL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getUrl() {
return url;
}
@JsonProperty(JSON_PROPERTY_URL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setUrl(String url) {
this.url = url;
}
/**
* Return true if this bonds object is equal to o.
*/
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Bonds bonds = (Bonds) o;
return Objects.equals(this.isin, bonds.isin) &&
Objects.equals(this.fileName, bonds.fileName) &&
Objects.equals(this.preissuancePubDate, bonds.preissuancePubDate) &&
Objects.equals(this.preissuanceExistence, bonds.preissuanceExistence) &&
Objects.equals(this.postissuancePubDate, bonds.postissuancePubDate) &&
Objects.equals(this.postissuanceExistence, bonds.postissuanceExistence) &&
Objects.equals(this.url, bonds.url);
}
@Override
public int hashCode() {
return Objects.hash(isin, fileName, preissuancePubDate, preissuanceExistence, postissuancePubDate, postissuanceExistence, url);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Bonds {\n");
sb.append(" isin: ").append(toIndentedString(isin)).append("\n");
sb.append(" fileName: ").append(toIndentedString(fileName)).append("\n");
sb.append(" preissuancePubDate: ").append(toIndentedString(preissuancePubDate)).append("\n");
sb.append(" preissuanceExistence: ").append(toIndentedString(preissuanceExistence)).append("\n");
sb.append(" postissuancePubDate: ").append(toIndentedString(postissuancePubDate)).append("\n");
sb.append(" postissuanceExistence: ").append(toIndentedString(postissuanceExistence)).append("\n");
sb.append(" url: ").append(toIndentedString(url)).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 ");
}
}