![JAR search and dependency download from the Maven repository](/logo.png)
com.katalon.testops.api.model.UploadBatchResource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testops-api Show documentation
Show all versions of testops-api Show documentation
Katalon TestOps API Client generated by OpenAPI
The newest version!
/*
* Katalon TestOps API reference
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.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 com.katalon.testops.api.model;
import java.util.Objects;
import java.util.Arrays;
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;
/**
* UploadBatchResource
*/
@JsonPropertyOrder({
UploadBatchResource.JSON_PROPERTY_ID,
UploadBatchResource.JSON_PROPERTY_DONE,
UploadBatchResource.JSON_PROPERTY_WEB_URL
})
@JsonTypeName("UploadBatchResource")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class UploadBatchResource implements Serializable {
private static final long serialVersionUID = 1L;
public static final String JSON_PROPERTY_ID = "id";
private Long id;
public static final String JSON_PROPERTY_DONE = "done";
private Boolean done;
public static final String JSON_PROPERTY_WEB_URL = "webUrl";
private String webUrl;
public UploadBatchResource id(Long id) {
this.id = id;
return this;
}
/**
* Get id
* @return id
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public UploadBatchResource done(Boolean done) {
this.done = done;
return this;
}
/**
* Get done
* @return done
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_DONE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getDone() {
return done;
}
public void setDone(Boolean done) {
this.done = done;
}
public UploadBatchResource webUrl(String webUrl) {
this.webUrl = webUrl;
return this;
}
/**
* Get webUrl
* @return webUrl
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_WEB_URL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getWebUrl() {
return webUrl;
}
public void setWebUrl(String webUrl) {
this.webUrl = webUrl;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
UploadBatchResource uploadBatchResource = (UploadBatchResource) o;
return Objects.equals(this.id, uploadBatchResource.id) &&
Objects.equals(this.done, uploadBatchResource.done) &&
Objects.equals(this.webUrl, uploadBatchResource.webUrl);
}
@Override
public int hashCode() {
return Objects.hash(id, done, webUrl);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UploadBatchResource {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" done: ").append(toIndentedString(done)).append("\n");
sb.append(" webUrl: ").append(toIndentedString(webUrl)).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 ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy