org.finra.herd.sdk.model.DownloadBusinessObjectDataStorageFileSingleInitiationResponse Maven / Gradle / Ivy
/*
* herd-external
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* OpenAPI spec version: 0.125.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package org.finra.herd.sdk.model;
import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.finra.herd.sdk.model.BusinessObjectDataStorageFileKey;
import org.joda.time.DateTime;
/**
* DownloadBusinessObjectDataStorageFileSingleInitiationResponse
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-07-16T17:44:47.669-04:00[America/New_York]")
public class DownloadBusinessObjectDataStorageFileSingleInitiationResponse {
@JsonProperty("businessObjectDataStorageFileKey")
private BusinessObjectDataStorageFileKey businessObjectDataStorageFileKey = null;
@JsonProperty("awsS3BucketName")
private String awsS3BucketName = null;
@JsonProperty("awsAccessKey")
private String awsAccessKey = null;
@JsonProperty("awsSecretKey")
private String awsSecretKey = null;
@JsonProperty("awsSessionToken")
private String awsSessionToken = null;
@JsonProperty("awsSessionExpirationTime")
private DateTime awsSessionExpirationTime = null;
@JsonProperty("preSignedUrl")
private String preSignedUrl = null;
public DownloadBusinessObjectDataStorageFileSingleInitiationResponse businessObjectDataStorageFileKey(BusinessObjectDataStorageFileKey businessObjectDataStorageFileKey) {
this.businessObjectDataStorageFileKey = businessObjectDataStorageFileKey;
return this;
}
/**
* Get businessObjectDataStorageFileKey
* @return businessObjectDataStorageFileKey
**/
@ApiModelProperty(required = true, value = "")
public BusinessObjectDataStorageFileKey getBusinessObjectDataStorageFileKey() {
return businessObjectDataStorageFileKey;
}
public void setBusinessObjectDataStorageFileKey(BusinessObjectDataStorageFileKey businessObjectDataStorageFileKey) {
this.businessObjectDataStorageFileKey = businessObjectDataStorageFileKey;
}
public DownloadBusinessObjectDataStorageFileSingleInitiationResponse awsS3BucketName(String awsS3BucketName) {
this.awsS3BucketName = awsS3BucketName;
return this;
}
/**
* Get awsS3BucketName
* @return awsS3BucketName
**/
@ApiModelProperty(required = true, value = "")
public String getAwsS3BucketName() {
return awsS3BucketName;
}
public void setAwsS3BucketName(String awsS3BucketName) {
this.awsS3BucketName = awsS3BucketName;
}
public DownloadBusinessObjectDataStorageFileSingleInitiationResponse awsAccessKey(String awsAccessKey) {
this.awsAccessKey = awsAccessKey;
return this;
}
/**
* Get awsAccessKey
* @return awsAccessKey
**/
@ApiModelProperty(required = true, value = "")
public String getAwsAccessKey() {
return awsAccessKey;
}
public void setAwsAccessKey(String awsAccessKey) {
this.awsAccessKey = awsAccessKey;
}
public DownloadBusinessObjectDataStorageFileSingleInitiationResponse awsSecretKey(String awsSecretKey) {
this.awsSecretKey = awsSecretKey;
return this;
}
/**
* Get awsSecretKey
* @return awsSecretKey
**/
@ApiModelProperty(required = true, value = "")
public String getAwsSecretKey() {
return awsSecretKey;
}
public void setAwsSecretKey(String awsSecretKey) {
this.awsSecretKey = awsSecretKey;
}
public DownloadBusinessObjectDataStorageFileSingleInitiationResponse awsSessionToken(String awsSessionToken) {
this.awsSessionToken = awsSessionToken;
return this;
}
/**
* Get awsSessionToken
* @return awsSessionToken
**/
@ApiModelProperty(required = true, value = "")
public String getAwsSessionToken() {
return awsSessionToken;
}
public void setAwsSessionToken(String awsSessionToken) {
this.awsSessionToken = awsSessionToken;
}
public DownloadBusinessObjectDataStorageFileSingleInitiationResponse awsSessionExpirationTime(DateTime awsSessionExpirationTime) {
this.awsSessionExpirationTime = awsSessionExpirationTime;
return this;
}
/**
* Get awsSessionExpirationTime
* @return awsSessionExpirationTime
**/
@ApiModelProperty(required = true, value = "")
public DateTime getAwsSessionExpirationTime() {
return awsSessionExpirationTime;
}
public void setAwsSessionExpirationTime(DateTime awsSessionExpirationTime) {
this.awsSessionExpirationTime = awsSessionExpirationTime;
}
public DownloadBusinessObjectDataStorageFileSingleInitiationResponse preSignedUrl(String preSignedUrl) {
this.preSignedUrl = preSignedUrl;
return this;
}
/**
* Get preSignedUrl
* @return preSignedUrl
**/
@ApiModelProperty(required = true, value = "")
public String getPreSignedUrl() {
return preSignedUrl;
}
public void setPreSignedUrl(String preSignedUrl) {
this.preSignedUrl = preSignedUrl;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
DownloadBusinessObjectDataStorageFileSingleInitiationResponse downloadBusinessObjectDataStorageFileSingleInitiationResponse = (DownloadBusinessObjectDataStorageFileSingleInitiationResponse) o;
return Objects.equals(this.businessObjectDataStorageFileKey, downloadBusinessObjectDataStorageFileSingleInitiationResponse.businessObjectDataStorageFileKey) &&
Objects.equals(this.awsS3BucketName, downloadBusinessObjectDataStorageFileSingleInitiationResponse.awsS3BucketName) &&
Objects.equals(this.awsAccessKey, downloadBusinessObjectDataStorageFileSingleInitiationResponse.awsAccessKey) &&
Objects.equals(this.awsSecretKey, downloadBusinessObjectDataStorageFileSingleInitiationResponse.awsSecretKey) &&
Objects.equals(this.awsSessionToken, downloadBusinessObjectDataStorageFileSingleInitiationResponse.awsSessionToken) &&
Objects.equals(this.awsSessionExpirationTime, downloadBusinessObjectDataStorageFileSingleInitiationResponse.awsSessionExpirationTime) &&
Objects.equals(this.preSignedUrl, downloadBusinessObjectDataStorageFileSingleInitiationResponse.preSignedUrl);
}
@Override
public int hashCode() {
return Objects.hash(businessObjectDataStorageFileKey, awsS3BucketName, awsAccessKey, awsSecretKey, awsSessionToken, awsSessionExpirationTime, preSignedUrl);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DownloadBusinessObjectDataStorageFileSingleInitiationResponse {\n");
sb.append(" businessObjectDataStorageFileKey: ").append(toIndentedString(businessObjectDataStorageFileKey)).append("\n");
sb.append(" awsS3BucketName: ").append(toIndentedString(awsS3BucketName)).append("\n");
sb.append(" awsAccessKey: ").append(toIndentedString(awsAccessKey)).append("\n");
sb.append(" awsSecretKey: ").append(toIndentedString(awsSecretKey)).append("\n");
sb.append(" awsSessionToken: ").append(toIndentedString(awsSessionToken)).append("\n");
sb.append(" awsSessionExpirationTime: ").append(toIndentedString(awsSessionExpirationTime)).append("\n");
sb.append(" preSignedUrl: ").append(toIndentedString(preSignedUrl)).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(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}