Files
acs-public-rest-api/src/gen/java/com/inteligr8/alfresco/acs/model/ChildAssociationInfo.java
2021-08-28 01:04:38 -04:00

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 ChildAssociationInfo {
@ApiModelProperty(required = true, value = "")
private String assocType = null;
@ApiModelProperty(required = true, value = "")
private Boolean isPrimary = null;
/**
* Get assocType
* @return assocType
**/
@JsonProperty("assocType")
public String getAssocType() {
return assocType;
}
public void setAssocType(String assocType) {
this.assocType = assocType;
}
public ChildAssociationInfo assocType(String assocType) {
this.assocType = assocType;
return this;
}
/**
* Get isPrimary
* @return isPrimary
**/
@JsonProperty("isPrimary")
public Boolean isIsPrimary() {
return isPrimary;
}
public void setIsPrimary(Boolean isPrimary) {
this.isPrimary = isPrimary;
}
public ChildAssociationInfo isPrimary(Boolean isPrimary) {
this.isPrimary = isPrimary;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ChildAssociationInfo {\n");
sb.append(" assocType: ").append(toIndentedString(assocType)).append("\n");
sb.append(" isPrimary: ").append(toIndentedString(isPrimary)).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 ");
}
}