com.tinypass.client.publisher.model.ImportItem Maven / Gradle / Ivy
package com.tinypass.client.publisher.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.tinypass.client.publisher.model.VariantItem;
import com.tinypass.client.publisher.model.VersionItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;
public class ImportItem {
/* Item id */
private String itemId = null;
/* The name */
private String name = null;
/* The action */
private String action = null;
/* The result of an import operation */
private String importResult = null;
/* The update date */
private Integer updateDate = null;
/* The number of the template variants */
private Integer countVariants = null;
private List variantList = new ArrayList();
/* The version */
private Integer version = null;
private List versionList = new ArrayList();
public String getItemId() {
return itemId;
}
public void setItemId(String itemId) {
this.itemId = itemId;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getAction() {
return action;
}
public void setAction(String action) {
this.action = action;
}
public String getImportResult() {
return importResult;
}
public void setImportResult(String importResult) {
this.importResult = importResult;
}
public Integer getUpdateDate() {
return updateDate;
}
public void setUpdateDate(Integer updateDate) {
this.updateDate = updateDate;
}
public Integer getCountVariants() {
return countVariants;
}
public void setCountVariants(Integer countVariants) {
this.countVariants = countVariants;
}
public List getVariantList() {
return variantList;
}
public void setVariantList(List variantList) {
this.variantList = variantList;
}
public Integer getVersion() {
return version;
}
public void setVersion(Integer version) {
this.version = version;
}
public List getVersionList() {
return versionList;
}
public void setVersionList(List versionList) {
this.versionList = versionList;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ImportItem {\n");
sb.append(" itemId: ").append(itemId).append("\n");
sb.append(" name: ").append(name).append("\n");
sb.append(" action: ").append(action).append("\n");
sb.append(" importResult: ").append(importResult).append("\n");
sb.append(" updateDate: ").append(updateDate).append("\n");
sb.append(" countVariants: ").append(countVariants).append("\n");
sb.append(" variantList: ").append(variantList).append("\n");
sb.append(" version: ").append(version).append("\n");
sb.append(" versionList: ").append(versionList).append("\n");
sb.append("}\n");
return sb.toString();
}
}