com.katalon.testops.api.model.UploadBatchFileResource Maven / Gradle / Ivy
/*
* 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;
/**
* UploadBatchFileResource
*/
@JsonPropertyOrder({
UploadBatchFileResource.JSON_PROPERTY_FOLDER_PATH,
UploadBatchFileResource.JSON_PROPERTY_END,
UploadBatchFileResource.JSON_PROPERTY_FILE_NAME,
UploadBatchFileResource.JSON_PROPERTY_UPLOADED_PATH
})
@JsonTypeName("UploadBatchFileResource")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class UploadBatchFileResource implements Serializable {
private static final long serialVersionUID = 1L;
public static final String JSON_PROPERTY_FOLDER_PATH = "folderPath";
private String folderPath;
public static final String JSON_PROPERTY_END = "end";
private Boolean end;
public static final String JSON_PROPERTY_FILE_NAME = "fileName";
private String fileName;
public static final String JSON_PROPERTY_UPLOADED_PATH = "uploadedPath";
private String uploadedPath;
public UploadBatchFileResource folderPath(String folderPath) {
this.folderPath = folderPath;
return this;
}
/**
* Get folderPath
* @return folderPath
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_FOLDER_PATH)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getFolderPath() {
return folderPath;
}
public void setFolderPath(String folderPath) {
this.folderPath = folderPath;
}
public UploadBatchFileResource end(Boolean end) {
this.end = end;
return this;
}
/**
* Get end
* @return end
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_END)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getEnd() {
return end;
}
public void setEnd(Boolean end) {
this.end = end;
}
public UploadBatchFileResource fileName(String fileName) {
this.fileName = fileName;
return this;
}
/**
* Get fileName
* @return fileName
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_FILE_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getFileName() {
return fileName;
}
public void setFileName(String fileName) {
this.fileName = fileName;
}
public UploadBatchFileResource uploadedPath(String uploadedPath) {
this.uploadedPath = uploadedPath;
return this;
}
/**
* Get uploadedPath
* @return uploadedPath
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_UPLOADED_PATH)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getUploadedPath() {
return uploadedPath;
}
public void setUploadedPath(String uploadedPath) {
this.uploadedPath = uploadedPath;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
UploadBatchFileResource uploadBatchFileResource = (UploadBatchFileResource) o;
return Objects.equals(this.folderPath, uploadBatchFileResource.folderPath) &&
Objects.equals(this.end, uploadBatchFileResource.end) &&
Objects.equals(this.fileName, uploadBatchFileResource.fileName) &&
Objects.equals(this.uploadedPath, uploadBatchFileResource.uploadedPath);
}
@Override
public int hashCode() {
return Objects.hash(folderPath, end, fileName, uploadedPath);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UploadBatchFileResource {\n");
sb.append(" folderPath: ").append(toIndentedString(folderPath)).append("\n");
sb.append(" end: ").append(toIndentedString(end)).append("\n");
sb.append(" fileName: ").append(toIndentedString(fileName)).append("\n");
sb.append(" uploadedPath: ").append(toIndentedString(uploadedPath)).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 ");
}
}