public static APIQueryLongJobReply __example__() { APIQueryLongJobReply reply = new APIQueryLongJobReply(); LongJobInventory inv = new LongJobInventory(); inv.setUuid(uuid()); reply.setInventories(Arrays.asList(inv)); return reply; } }
public static APIRerunLongJobEvent __example__() { APIRerunLongJobEvent event = new APIRerunLongJobEvent(); LongJobInventory inv = new LongJobInventory(); inv.setUuid(uuid()); event.setInventory(inv); return event; } }
public static APIUpdateClusterOSEvent __example__() { APIUpdateClusterOSEvent event = new APIUpdateClusterOSEvent(); LongJobInventory inv = new LongJobInventory(); inv.setUuid(uuid()); event.setInventory(inv); return event; } }
public static APISubmitLongJobEvent __example__() { APISubmitLongJobEvent event = new APISubmitLongJobEvent(); LongJobInventory inv = new LongJobInventory(); inv.setUuid(uuid()); event.setInventory(inv); event.setNeedAudit(false); return event; } }
public LongJobInventory(LongJobVO vo) { this.setUuid(vo.getUuid()); this.setName(vo.getName()); this.setState(vo.getState()); this.setApiId(vo.getApiId()); this.setJobData(vo.getJobData()); this.setJobResult(vo.getJobResult()); this.setJobName(vo.getJobName()); this.setCreateDate(vo.getCreateDate()); this.setLastOpDate(vo.getLastOpDate()); this.setExecuteTime(vo.getExecuteTime()); this.setDescription(vo.getDescription()); this.setTargetResourceUuid(vo.getTargetResourceUuid()); this.setManagementNodeUuid(vo.getManagementNodeUuid()); }