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

org.finra.herd.sdk.model.DownloadSingleInitiationResponse Maven / Gradle / Ivy

There is a newer version: 0.160.0
Show newest version
/*
 * 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.BusinessObjectData;
import org.joda.time.DateTime;

/**
 * DownloadSingleInitiationResponse
 */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-07-16T17:44:47.669-04:00[America/New_York]")
public class DownloadSingleInitiationResponse {
  @JsonProperty("businessObjectData")
  private BusinessObjectData businessObjectData = 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 DownloadSingleInitiationResponse businessObjectData(BusinessObjectData businessObjectData) {
    this.businessObjectData = businessObjectData;
    return this;
  }

   /**
   * Get businessObjectData
   * @return businessObjectData
  **/
  @ApiModelProperty(required = true, value = "")
  public BusinessObjectData getBusinessObjectData() {
    return businessObjectData;
  }

  public void setBusinessObjectData(BusinessObjectData businessObjectData) {
    this.businessObjectData = businessObjectData;
  }

  public DownloadSingleInitiationResponse 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 DownloadSingleInitiationResponse 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 DownloadSingleInitiationResponse 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 DownloadSingleInitiationResponse 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 DownloadSingleInitiationResponse 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;
    }
    DownloadSingleInitiationResponse downloadSingleInitiationResponse = (DownloadSingleInitiationResponse) o;
    return Objects.equals(this.businessObjectData, downloadSingleInitiationResponse.businessObjectData) &&
        Objects.equals(this.awsAccessKey, downloadSingleInitiationResponse.awsAccessKey) &&
        Objects.equals(this.awsSecretKey, downloadSingleInitiationResponse.awsSecretKey) &&
        Objects.equals(this.awsSessionToken, downloadSingleInitiationResponse.awsSessionToken) &&
        Objects.equals(this.awsSessionExpirationTime, downloadSingleInitiationResponse.awsSessionExpirationTime) &&
        Objects.equals(this.preSignedUrl, downloadSingleInitiationResponse.preSignedUrl);
  }

  @Override
  public int hashCode() {
    return Objects.hash(businessObjectData, awsAccessKey, awsSecretKey, awsSessionToken, awsSessionExpirationTime, preSignedUrl);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class DownloadSingleInitiationResponse {\n");
    
    sb.append("    businessObjectData: ").append(toIndentedString(businessObjectData)).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    ");
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy