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

com.volcengine.dms.model.UrlSourceConfigForQueryDataMigrateTaskOutput Maven / Gradle / Ivy

There is a newer version: 0.1.144
Show newest version
/*
 * dms
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 *
 * OpenAPI spec version: common-version
 * 
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */

package com.volcengine.dms.model;

import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.volcengine.dms.model.BucketAccessConfigForQueryDataMigrateTaskOutput;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
 * UrlSourceConfigForQueryDataMigrateTaskOutput
 */



public class UrlSourceConfigForQueryDataMigrateTaskOutput {
  @SerializedName("BucketAccessConfig")
  private BucketAccessConfigForQueryDataMigrateTaskOutput bucketAccessConfig = null;

  @SerializedName("IsUrlTryRangeGet")
  private Boolean isUrlTryRangeGet = null;

  @SerializedName("UrlListLink")
  private String urlListLink = null;

  @SerializedName("UrlListName")
  private String urlListName = null;

  public UrlSourceConfigForQueryDataMigrateTaskOutput bucketAccessConfig(BucketAccessConfigForQueryDataMigrateTaskOutput bucketAccessConfig) {
    this.bucketAccessConfig = bucketAccessConfig;
    return this;
  }

   /**
   * Get bucketAccessConfig
   * @return bucketAccessConfig
  **/
  @Valid
  @Schema(description = "")
  public BucketAccessConfigForQueryDataMigrateTaskOutput getBucketAccessConfig() {
    return bucketAccessConfig;
  }

  public void setBucketAccessConfig(BucketAccessConfigForQueryDataMigrateTaskOutput bucketAccessConfig) {
    this.bucketAccessConfig = bucketAccessConfig;
  }

  public UrlSourceConfigForQueryDataMigrateTaskOutput isUrlTryRangeGet(Boolean isUrlTryRangeGet) {
    this.isUrlTryRangeGet = isUrlTryRangeGet;
    return this;
  }

   /**
   * Get isUrlTryRangeGet
   * @return isUrlTryRangeGet
  **/
  @Schema(description = "")
  public Boolean isIsUrlTryRangeGet() {
    return isUrlTryRangeGet;
  }

  public void setIsUrlTryRangeGet(Boolean isUrlTryRangeGet) {
    this.isUrlTryRangeGet = isUrlTryRangeGet;
  }

  public UrlSourceConfigForQueryDataMigrateTaskOutput urlListLink(String urlListLink) {
    this.urlListLink = urlListLink;
    return this;
  }

   /**
   * Get urlListLink
   * @return urlListLink
  **/
  @Schema(description = "")
  public String getUrlListLink() {
    return urlListLink;
  }

  public void setUrlListLink(String urlListLink) {
    this.urlListLink = urlListLink;
  }

  public UrlSourceConfigForQueryDataMigrateTaskOutput urlListName(String urlListName) {
    this.urlListName = urlListName;
    return this;
  }

   /**
   * Get urlListName
   * @return urlListName
  **/
  @Schema(description = "")
  public String getUrlListName() {
    return urlListName;
  }

  public void setUrlListName(String urlListName) {
    this.urlListName = urlListName;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    UrlSourceConfigForQueryDataMigrateTaskOutput urlSourceConfigForQueryDataMigrateTaskOutput = (UrlSourceConfigForQueryDataMigrateTaskOutput) o;
    return Objects.equals(this.bucketAccessConfig, urlSourceConfigForQueryDataMigrateTaskOutput.bucketAccessConfig) &&
        Objects.equals(this.isUrlTryRangeGet, urlSourceConfigForQueryDataMigrateTaskOutput.isUrlTryRangeGet) &&
        Objects.equals(this.urlListLink, urlSourceConfigForQueryDataMigrateTaskOutput.urlListLink) &&
        Objects.equals(this.urlListName, urlSourceConfigForQueryDataMigrateTaskOutput.urlListName);
  }

  @Override
  public int hashCode() {
    return Objects.hash(bucketAccessConfig, isUrlTryRangeGet, urlListLink, urlListName);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class UrlSourceConfigForQueryDataMigrateTaskOutput {\n");
    
    sb.append("    bucketAccessConfig: ").append(toIndentedString(bucketAccessConfig)).append("\n");
    sb.append("    isUrlTryRangeGet: ").append(toIndentedString(isUrlTryRangeGet)).append("\n");
    sb.append("    urlListLink: ").append(toIndentedString(urlListLink)).append("\n");
    sb.append("    urlListName: ").append(toIndentedString(urlListName)).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