207 lines
4.4 KiB
Java
207 lines
4.4 KiB
Java
package com.inteligr8.alfresco.acs.model;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import java.util.Date;
|
|
|
|
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
|
public class ModuleInfo {
|
|
|
|
@ApiModelProperty(value = "")
|
|
private String id = null;
|
|
|
|
@ApiModelProperty(value = "")
|
|
private String title = null;
|
|
|
|
@ApiModelProperty(value = "")
|
|
private String description = null;
|
|
|
|
@ApiModelProperty(value = "")
|
|
private String version = null;
|
|
|
|
@ApiModelProperty(value = "")
|
|
private Date installDate = null;
|
|
|
|
@ApiModelProperty(value = "")
|
|
private String installState = null;
|
|
|
|
@ApiModelProperty(value = "")
|
|
private String versionMin = null;
|
|
|
|
@ApiModelProperty(value = "")
|
|
private String versionMax = null;
|
|
/**
|
|
* Get id
|
|
* @return id
|
|
**/
|
|
@JsonProperty("id")
|
|
public String getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(String id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public ModuleInfo id(String id) {
|
|
this.id = id;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* Get title
|
|
* @return title
|
|
**/
|
|
@JsonProperty("title")
|
|
public String getTitle() {
|
|
return title;
|
|
}
|
|
|
|
public void setTitle(String title) {
|
|
this.title = title;
|
|
}
|
|
|
|
public ModuleInfo title(String title) {
|
|
this.title = title;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* Get description
|
|
* @return description
|
|
**/
|
|
@JsonProperty("description")
|
|
public String getDescription() {
|
|
return description;
|
|
}
|
|
|
|
public void setDescription(String description) {
|
|
this.description = description;
|
|
}
|
|
|
|
public ModuleInfo description(String description) {
|
|
this.description = description;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* Get version
|
|
* @return version
|
|
**/
|
|
@JsonProperty("version")
|
|
public String getVersion() {
|
|
return version;
|
|
}
|
|
|
|
public void setVersion(String version) {
|
|
this.version = version;
|
|
}
|
|
|
|
public ModuleInfo version(String version) {
|
|
this.version = version;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* Get installDate
|
|
* @return installDate
|
|
**/
|
|
@JsonProperty("installDate")
|
|
public Date getInstallDate() {
|
|
return installDate;
|
|
}
|
|
|
|
public void setInstallDate(Date installDate) {
|
|
this.installDate = installDate;
|
|
}
|
|
|
|
public ModuleInfo installDate(Date installDate) {
|
|
this.installDate = installDate;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* Get installState
|
|
* @return installState
|
|
**/
|
|
@JsonProperty("installState")
|
|
public String getInstallState() {
|
|
return installState;
|
|
}
|
|
|
|
public void setInstallState(String installState) {
|
|
this.installState = installState;
|
|
}
|
|
|
|
public ModuleInfo installState(String installState) {
|
|
this.installState = installState;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* Get versionMin
|
|
* @return versionMin
|
|
**/
|
|
@JsonProperty("versionMin")
|
|
public String getVersionMin() {
|
|
return versionMin;
|
|
}
|
|
|
|
public void setVersionMin(String versionMin) {
|
|
this.versionMin = versionMin;
|
|
}
|
|
|
|
public ModuleInfo versionMin(String versionMin) {
|
|
this.versionMin = versionMin;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* Get versionMax
|
|
* @return versionMax
|
|
**/
|
|
@JsonProperty("versionMax")
|
|
public String getVersionMax() {
|
|
return versionMax;
|
|
}
|
|
|
|
public void setVersionMax(String versionMax) {
|
|
this.versionMax = versionMax;
|
|
}
|
|
|
|
public ModuleInfo versionMax(String versionMax) {
|
|
this.versionMax = versionMax;
|
|
return this;
|
|
}
|
|
|
|
|
|
@Override
|
|
public String toString() {
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append("class ModuleInfo {\n");
|
|
|
|
sb.append(" id: ").append(toIndentedString(id)).append("\n");
|
|
sb.append(" title: ").append(toIndentedString(title)).append("\n");
|
|
sb.append(" description: ").append(toIndentedString(description)).append("\n");
|
|
sb.append(" version: ").append(toIndentedString(version)).append("\n");
|
|
sb.append(" installDate: ").append(toIndentedString(installDate)).append("\n");
|
|
sb.append(" installState: ").append(toIndentedString(installState)).append("\n");
|
|
sb.append(" versionMin: ").append(toIndentedString(versionMin)).append("\n");
|
|
sb.append(" versionMax: ").append(toIndentedString(versionMax)).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 static String toIndentedString(java.lang.Object o) {
|
|
if (o == null) {
|
|
return "null";
|
|
}
|
|
return o.toString().replace("\n", "\n ");
|
|
}
|
|
}
|
|
|