コード例 #1
0
  @Override
  public InstanceGroupResponse newInstanceGroupResponse(InstanceGroupJoinVO group) {
    InstanceGroupResponse groupResponse = new InstanceGroupResponse();
    groupResponse.setId(group.getUuid());
    groupResponse.setName(group.getName());
    groupResponse.setCreated(group.getCreated());

    ApiResponseHelper.populateOwner(groupResponse, group);

    groupResponse.setObjectName("instancegroup");
    return groupResponse;
  }