Files
acs-public-rest-api/src/gen/java/com/inteligr8/alfresco/acs/model/AuditEntry.java
2021-06-03 21:07:39 -04:00

140 lines
3.1 KiB
Java

package com.inteligr8.alfresco.acs.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
public class AuditEntry {
@ApiModelProperty(required = true, value = "")
private String id = null;
@ApiModelProperty(required = true, value = "")
private String auditApplicationId = null;
@ApiModelProperty(required = true, value = "")
private UserInfo createdByUser = null;
@ApiModelProperty(required = true, value = "")
private Date createdAt = null;
@ApiModelProperty(value = "")
private Object values = null;
/**
* Get id
* @return id
**/
@JsonProperty("id")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public AuditEntry id(String id) {
this.id = id;
return this;
}
/**
* Get auditApplicationId
* @return auditApplicationId
**/
@JsonProperty("auditApplicationId")
public String getAuditApplicationId() {
return auditApplicationId;
}
public void setAuditApplicationId(String auditApplicationId) {
this.auditApplicationId = auditApplicationId;
}
public AuditEntry auditApplicationId(String auditApplicationId) {
this.auditApplicationId = auditApplicationId;
return this;
}
/**
* Get createdByUser
* @return createdByUser
**/
@JsonProperty("createdByUser")
public UserInfo getCreatedByUser() {
return createdByUser;
}
public void setCreatedByUser(UserInfo createdByUser) {
this.createdByUser = createdByUser;
}
public AuditEntry createdByUser(UserInfo createdByUser) {
this.createdByUser = createdByUser;
return this;
}
/**
* Get createdAt
* @return createdAt
**/
@JsonProperty("createdAt")
public Date getCreatedAt() {
return createdAt;
}
public void setCreatedAt(Date createdAt) {
this.createdAt = createdAt;
}
public AuditEntry createdAt(Date createdAt) {
this.createdAt = createdAt;
return this;
}
/**
* Get values
* @return values
**/
@JsonProperty("values")
public Object getValues() {
return values;
}
public void setValues(Object values) {
this.values = values;
}
public AuditEntry values(Object values) {
this.values = values;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AuditEntry {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" auditApplicationId: ").append(toIndentedString(auditApplicationId)).append("\n");
sb.append(" createdByUser: ").append(toIndentedString(createdByUser)).append("\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" values: ").append(toIndentedString(values)).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 ");
}
}