initial checkin
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
package com.inteligr8.alfresco.acs.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
public class CommentBody {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
private String content = null;
|
||||
/**
|
||||
* Get content
|
||||
* @return content
|
||||
**/
|
||||
@JsonProperty("content")
|
||||
public String getContent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
public void setContent(String content) {
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
public CommentBody content(String content) {
|
||||
this.content = content;
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class CommentBody {\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 static String toIndentedString(java.lang.Object o) {
|
||||
if (o == null) {
|
||||
return "null";
|
||||
}
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user