fi.metatavu.metaform.client.ExportThemeFile Maven / Gradle / Ivy
/*
* Metaform REST API
* REST API for Metaform
*
* OpenAPI spec version: 0.0.1
*
*
* 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 fi.metatavu.metaform.client;
import java.util.Objects;
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.util.UUID;
/**
* ExportThemeFile
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-07-29T14:02:51.404+03:00")
public class ExportThemeFile {
@JsonProperty("id")
private UUID id = null;
@JsonProperty("path")
private String path = null;
@JsonProperty("themeId")
private UUID themeId = null;
@JsonProperty("content")
private String content = null;
public ExportThemeFile id(UUID id) {
this.id = id;
return this;
}
/**
* Get id
* @return id
**/
@ApiModelProperty(value = "")
public UUID getId() {
return id;
}
public void setId(UUID id) {
this.id = id;
}
public ExportThemeFile path(String path) {
this.path = path;
return this;
}
/**
* Get path
* @return path
**/
@ApiModelProperty(required = true, value = "")
public String getPath() {
return path;
}
public void setPath(String path) {
this.path = path;
}
public ExportThemeFile themeId(UUID themeId) {
this.themeId = themeId;
return this;
}
/**
* Get themeId
* @return themeId
**/
@ApiModelProperty(required = true, value = "")
public UUID getThemeId() {
return themeId;
}
public void setThemeId(UUID themeId) {
this.themeId = themeId;
}
public ExportThemeFile content(String content) {
this.content = content;
return this;
}
/**
* Get content
* @return content
**/
@ApiModelProperty(required = true, value = "")
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ExportThemeFile exportThemeFile = (ExportThemeFile) o;
return Objects.equals(this.id, exportThemeFile.id) &&
Objects.equals(this.path, exportThemeFile.path) &&
Objects.equals(this.themeId, exportThemeFile.themeId) &&
Objects.equals(this.content, exportThemeFile.content);
}
@Override
public int hashCode() {
return Objects.hash(id, path, themeId, content);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ExportThemeFile {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" path: ").append(toIndentedString(path)).append("\n");
sb.append(" themeId: ").append(toIndentedString(themeId)).append("\n");
sb.append(" content: ").append(toIndentedString(content)).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