com.factset.sdk.OpenFactSetPartnersDocuments.models.OrbitHistoryFiles 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.io.Serializable;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.factset.sdk.OpenFactSetPartnersDocuments.JSON;
/**
* Returns History Response
*/
@ApiModel(description = "Returns History Response")
@JsonPropertyOrder({
OrbitHistoryFiles.JSON_PROPERTY_FILE_SIZE,
OrbitHistoryFiles.JSON_PROPERTY_FILE_NAME,
OrbitHistoryFiles.JSON_PROPERTY_URL
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class OrbitHistoryFiles implements Serializable {
private static final long serialVersionUID = 1L;
public static final String JSON_PROPERTY_FILE_SIZE = "fileSize";
private Integer fileSize;
public static final String JSON_PROPERTY_FILE_NAME = "fileName";
private String fileName;
public static final String JSON_PROPERTY_URL = "url";
private String url;
public OrbitHistoryFiles() {
}
public OrbitHistoryFiles fileSize(Integer fileSize) {
this.fileSize = fileSize;
return this;
}
/**
* Defines the size of the file.
* @return fileSize
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "210", value = "Defines the size of the file.")
@JsonProperty(JSON_PROPERTY_FILE_SIZE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getFileSize() {
return fileSize;
}
@JsonProperty(JSON_PROPERTY_FILE_SIZE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setFileSize(Integer fileSize) {
this.fileSize = fileSize;
}
public OrbitHistoryFiles fileName(String fileName) {
this.fileName = fileName;
return this;
}
/**
* The filename of the folder.
* @return fileName
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "2022_03.tar.gz", value = "The filename of the folder.")
@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 OrbitHistoryFiles url(String url) {
this.url = url;
return this;
}
/**
* Download link for the transcripts provided by the Orbit feed.
* @return url
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "https://fdss3-unstructured-data-delivery-orbit-v2-prod.s3.amazonaws.com/archive/2022_03.tar.gz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA6B6XG7VEZIG27C5D%2F20221017%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221017T140425Z&X-Amz-Expires=1800&X-Amz-SignedHeaders=host&X-Amz-Security-Token=IQoJb3JpZ2luX2VjED8aCXVzLWVhc3QtMSJIMEYCIQCpnwubbmWR8h7DcyR36f7shl8rj%2BaUM8MCfTtJDz3K7gIhALvaP4DrYVJWwYI5uXlNVX0e7jFh0SDYH58NiUUuWjHZKu4CCBcQARoMOTY2MjgyMTE2NDI1IgwrEfRv2XcQccTycTUqywKK1VtBszZfOTixyF3D3wV2DGa3fJ5dtwSx%2BrhM0TBuhY%2BRzq9DsIdtLJ17odg8tmvpqsnBOIeMp9vgGAq5Y3%2BsVOav1t4iZDFZ%2FvfZNi0TKFPLHrl9I4fDzm2dJ%2FjXg9g07vsguyCAWBr6PvFEjnhvl5Mcpr9%2FcyFKULxQMQp6s%2F39zXmlhdkRNd6nZILBJH7COOd5eGlSm7UQMnmYTg3yJdHHWQ21WdpNy62KxuPs6O6oeVv1FNnL3pJuUYnqv%2BTvSqJlUuxXeathGiuQq9fpy3qahOE%2FnWxMzGuC9zibpj0e7TGDVPmZwf7RZBFNDcFI50cTtR6uRKv1m6zfhty%2BBbjqoqvX3ydqTTpROd%2FEsS4FXaQzXB5dz89YWjie9RM9JTU3fhzDrWoBOi0j%2F12yBtQ37qG%2F4NZeorxhMM%2BgueFQYV9rHNiy7XIBMObBtZoGOp0B9oNulnAKurGgAPZRKysBzw7RsskO19KoaHt2WScN1q4tt8P4SyZ9oTSD9JN%2FbZGpXQggk9HIUHAMeYk14trAyzoojXUFM6GpleF0dPX6qRBRXhkY0KuwZBT1TL6fBH828NWorWRGHSag%2FOnYAwbijOziNmbpnZ2MyhXE8OnyQu9ucFpUXP3Ie%2FqnObzyVIULXRY%2B6yXbRmrxZj46vA%3D%3D&X-Amz-Signature=b7437199bca7bd53d5467abcdb3961cee2ecee10e922644c19fdd9f629293513", value = "Download link for the transcripts provided by the Orbit feed.")
@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 OrbitHistoryFiles object is equal to o.
*/
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
OrbitHistoryFiles orbitHistoryFiles = (OrbitHistoryFiles) o;
return Objects.equals(this.fileSize, orbitHistoryFiles.fileSize) &&
Objects.equals(this.fileName, orbitHistoryFiles.fileName) &&
Objects.equals(this.url, orbitHistoryFiles.url);
}
@Override
public int hashCode() {
return Objects.hash(fileSize, fileName, url);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class OrbitHistoryFiles {\n");
sb.append(" fileSize: ").append(toIndentedString(fileSize)).append("\n");
sb.append(" fileName: ").append(toIndentedString(fileName)).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 ");
}
}