73 lines
1.6 KiB
Java
73 lines
1.6 KiB
Java
package com.inteligr8.alfresco.acs.model;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
public class ChildAssociation {
|
|
|
|
@ApiModelProperty(required = true, value = "")
|
|
private String childId = null;
|
|
|
|
@ApiModelProperty(required = true, value = "")
|
|
private String assocType = null;
|
|
/**
|
|
* Get childId
|
|
* @return childId
|
|
**/
|
|
@JsonProperty("childId")
|
|
public String getChildId() {
|
|
return childId;
|
|
}
|
|
|
|
public void setChildId(String childId) {
|
|
this.childId = childId;
|
|
}
|
|
|
|
public ChildAssociation childId(String childId) {
|
|
this.childId = childId;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* Get assocType
|
|
* @return assocType
|
|
**/
|
|
@JsonProperty("assocType")
|
|
public String getAssocType() {
|
|
return assocType;
|
|
}
|
|
|
|
public void setAssocType(String assocType) {
|
|
this.assocType = assocType;
|
|
}
|
|
|
|
public ChildAssociation assocType(String assocType) {
|
|
this.assocType = assocType;
|
|
return this;
|
|
}
|
|
|
|
|
|
@Override
|
|
public String toString() {
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append("class ChildAssociation {\n");
|
|
|
|
sb.append(" childId: ").append(toIndentedString(childId)).append("\n");
|
|
sb.append(" assocType: ").append(toIndentedString(assocType)).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 ");
|
|
}
|
|
}
|
|
|