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

org.finra.herd.sdk.model.UploadSingleInitiationResponse 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 java.io.File;
import org.finra.herd.sdk.model.BusinessObjectData;
import org.joda.time.DateTime;

/**
 * UploadSingleInitiationResponse
 */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-07-16T17:44:47.669-04:00[America/New_York]")
public class UploadSingleInitiationResponse {
  @JsonProperty("sourceBusinessObjectData")
  private BusinessObjectData sourceBusinessObjectData = null;

  @JsonProperty("targetBusinessObjectData")
  private BusinessObjectData targetBusinessObjectData = null;

  @JsonProperty("file")
  private File file = null;

  @JsonProperty("uuid")
  private String uuid = 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("awsKmsKeyId")
  private String awsKmsKeyId = null;

  @JsonProperty("targetStorageName")
  private String targetStorageName = null;

  public UploadSingleInitiationResponse sourceBusinessObjectData(BusinessObjectData sourceBusinessObjectData) {
    this.sourceBusinessObjectData = sourceBusinessObjectData;
    return this;
  }

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

  public void setSourceBusinessObjectData(BusinessObjectData sourceBusinessObjectData) {
    this.sourceBusinessObjectData = sourceBusinessObjectData;
  }

  public UploadSingleInitiationResponse targetBusinessObjectData(BusinessObjectData targetBusinessObjectData) {
    this.targetBusinessObjectData = targetBusinessObjectData;
    return this;
  }

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

  public void setTargetBusinessObjectData(BusinessObjectData targetBusinessObjectData) {
    this.targetBusinessObjectData = targetBusinessObjectData;
  }

  public UploadSingleInitiationResponse file(File file) {
    this.file = file;
    return this;
  }

   /**
   * Get file
   * @return file
  **/
  @ApiModelProperty(required = true, value = "")
  public File getFile() {
    return file;
  }

  public void setFile(File file) {
    this.file = file;
  }

  public UploadSingleInitiationResponse uuid(String uuid) {
    this.uuid = uuid;
    return this;
  }

   /**
   * The UUID generated for this upload
   * @return uuid
  **/
  @ApiModelProperty(required = true, value = "The UUID generated for this upload")
  public String getUuid() {
    return uuid;
  }

  public void setUuid(String uuid) {
    this.uuid = uuid;
  }

  public UploadSingleInitiationResponse awsAccessKey(String awsAccessKey) {
    this.awsAccessKey = awsAccessKey;
    return this;
  }

   /**
   * The AWS access key that must be used to upload to this object in S3
   * @return awsAccessKey
  **/
  @ApiModelProperty(required = true, value = "The AWS access key that must be used to upload to this object in S3")
  public String getAwsAccessKey() {
    return awsAccessKey;
  }

  public void setAwsAccessKey(String awsAccessKey) {
    this.awsAccessKey = awsAccessKey;
  }

  public UploadSingleInitiationResponse awsSecretKey(String awsSecretKey) {
    this.awsSecretKey = awsSecretKey;
    return this;
  }

   /**
   * The AWS secret key that must be used to upload to this object in S3
   * @return awsSecretKey
  **/
  @ApiModelProperty(required = true, value = "The AWS secret key that must be used to upload to this object in S3")
  public String getAwsSecretKey() {
    return awsSecretKey;
  }

  public void setAwsSecretKey(String awsSecretKey) {
    this.awsSecretKey = awsSecretKey;
  }

  public UploadSingleInitiationResponse awsSessionToken(String awsSessionToken) {
    this.awsSessionToken = awsSessionToken;
    return this;
  }

   /**
   * The AWS session token that must be used to upload to this object in S3
   * @return awsSessionToken
  **/
  @ApiModelProperty(required = true, value = "The AWS session token that must be used to upload to this object in S3")
  public String getAwsSessionToken() {
    return awsSessionToken;
  }

  public void setAwsSessionToken(String awsSessionToken) {
    this.awsSessionToken = awsSessionToken;
  }

  public UploadSingleInitiationResponse awsSessionExpirationTime(DateTime awsSessionExpirationTime) {
    this.awsSessionExpirationTime = awsSessionExpirationTime;
    return this;
  }

   /**
   * The timestamp of when the provided AWS credentials will expire
   * @return awsSessionExpirationTime
  **/
  @ApiModelProperty(required = true, value = "The timestamp of when the provided AWS credentials will expire")
  public DateTime getAwsSessionExpirationTime() {
    return awsSessionExpirationTime;
  }

  public void setAwsSessionExpirationTime(DateTime awsSessionExpirationTime) {
    this.awsSessionExpirationTime = awsSessionExpirationTime;
  }

  public UploadSingleInitiationResponse awsKmsKeyId(String awsKmsKeyId) {
    this.awsKmsKeyId = awsKmsKeyId;
    return this;
  }

   /**
   * The KMS key ID that must be used to do SSE
   * @return awsKmsKeyId
  **/
  @ApiModelProperty(required = true, value = "The KMS key ID that must be used to do SSE")
  public String getAwsKmsKeyId() {
    return awsKmsKeyId;
  }

  public void setAwsKmsKeyId(String awsKmsKeyId) {
    this.awsKmsKeyId = awsKmsKeyId;
  }

  public UploadSingleInitiationResponse targetStorageName(String targetStorageName) {
    this.targetStorageName = targetStorageName;
    return this;
  }

   /**
   * The target storage name
   * @return targetStorageName
  **/
  @ApiModelProperty(required = true, value = "The target storage name")
  public String getTargetStorageName() {
    return targetStorageName;
  }

  public void setTargetStorageName(String targetStorageName) {
    this.targetStorageName = targetStorageName;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    UploadSingleInitiationResponse uploadSingleInitiationResponse = (UploadSingleInitiationResponse) o;
    return Objects.equals(this.sourceBusinessObjectData, uploadSingleInitiationResponse.sourceBusinessObjectData) &&
        Objects.equals(this.targetBusinessObjectData, uploadSingleInitiationResponse.targetBusinessObjectData) &&
        Objects.equals(this.file, uploadSingleInitiationResponse.file) &&
        Objects.equals(this.uuid, uploadSingleInitiationResponse.uuid) &&
        Objects.equals(this.awsAccessKey, uploadSingleInitiationResponse.awsAccessKey) &&
        Objects.equals(this.awsSecretKey, uploadSingleInitiationResponse.awsSecretKey) &&
        Objects.equals(this.awsSessionToken, uploadSingleInitiationResponse.awsSessionToken) &&
        Objects.equals(this.awsSessionExpirationTime, uploadSingleInitiationResponse.awsSessionExpirationTime) &&
        Objects.equals(this.awsKmsKeyId, uploadSingleInitiationResponse.awsKmsKeyId) &&
        Objects.equals(this.targetStorageName, uploadSingleInitiationResponse.targetStorageName);
  }

  @Override
  public int hashCode() {
    return Objects.hash(sourceBusinessObjectData, targetBusinessObjectData, file, uuid, awsAccessKey, awsSecretKey, awsSessionToken, awsSessionExpirationTime, awsKmsKeyId, targetStorageName);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class UploadSingleInitiationResponse {\n");
    
    sb.append("    sourceBusinessObjectData: ").append(toIndentedString(sourceBusinessObjectData)).append("\n");
    sb.append("    targetBusinessObjectData: ").append(toIndentedString(targetBusinessObjectData)).append("\n");
    sb.append("    file: ").append(toIndentedString(file)).append("\n");
    sb.append("    uuid: ").append(toIndentedString(uuid)).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("    awsKmsKeyId: ").append(toIndentedString(awsKmsKeyId)).append("\n");
    sb.append("    targetStorageName: ").append(toIndentedString(targetStorageName)).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