
io.formapi.Folder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of FormAPI Show documentation
Show all versions of FormAPI Show documentation
Java API client for the FormAPI PDF generation service
The newest version!
/*
* API v1
* FormAPI is a service that helps you fill out and sign PDF templates.
*
* OpenAPI spec version: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package io.formapi;
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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Folder
*/
@javax.annotation.Generated(value = "io.formapi.codegen.FormApiJavaClientCodegen", date = "2019-10-10T00:49:37.967+07:00[Asia/Bangkok]")
public class Folder {
public static final String SERIALIZED_NAME_PATH = "path";
@SerializedName(SERIALIZED_NAME_PATH)
private String path = null;
public static final String SERIALIZED_NAME_PARENT_FOLDER_ID = "parent_folder_id";
@SerializedName(SERIALIZED_NAME_PARENT_FOLDER_ID)
private String parentFolderId = null;
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
private String name = null;
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
private String id = null;
public Folder path(String path) {
this.path = path;
return this;
}
/**
* Get path
* @return path
**/
@ApiModelProperty(value = "")
public String getPath() {
return path;
}
public void setPath(String path) {
this.path = path;
}
public Folder parentFolderId(String parentFolderId) {
this.parentFolderId = parentFolderId;
return this;
}
/**
* Get parentFolderId
* @return parentFolderId
**/
@ApiModelProperty(value = "")
public String getParentFolderId() {
return parentFolderId;
}
public void setParentFolderId(String parentFolderId) {
this.parentFolderId = parentFolderId;
}
public Folder name(String name) {
this.name = name;
return this;
}
/**
* Get name
* @return name
**/
@ApiModelProperty(value = "")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Folder id(String id) {
this.id = id;
return this;
}
/**
* Get id
* @return id
**/
@ApiModelProperty(value = "")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Folder folder = (Folder) o;
return Objects.equals(this.path, folder.path) &&
Objects.equals(this.parentFolderId, folder.parentFolderId) &&
Objects.equals(this.name, folder.name) &&
Objects.equals(this.id, folder.id);
}
@Override
public int hashCode() {
return Objects.hash(path, parentFolderId, name, id);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Folder {\n");
sb.append(" path: ").append(toIndentedString(path)).append("\n");
sb.append(" parentFolderId: ").append(toIndentedString(parentFolderId)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).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 - 2025 Weber Informatics LLC | Privacy Policy