74 lines
1.7 KiB
Java
74 lines
1.7 KiB
Java
package com.inteligr8.alfresco.acs.model;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
|
public class ChildAssociationBody {
|
|
|
|
@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 ChildAssociationBody 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 ChildAssociationBody assocType(String assocType) {
|
|
this.assocType = assocType;
|
|
return this;
|
|
}
|
|
|
|
|
|
@Override
|
|
public String toString() {
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append("class ChildAssociationBody {\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 ");
|
|
}
|
|
}
|
|
|