}
public static DatacenterDto datacenterPut() {
DatacenterDto datacenter = datacenterPost();
datacenter.setId(1);
datacenter.addLink(new RESTLink("checkmachinestate",
"http://localhost/api/admin/datacenters/1/action/checkmachinestate"));
datacenter.addLink(new RESTLink("checkmachineipmistate",
"http://localhost/api/admin/datacenters/1/action/checkmachineipmistate"));
datacenter.addLink(new RESTLink("checkremoteservice",
"http://localhost/api/admin/datacenters/1/action/checkremoteservice"));
datacenter.addLink(new RESTLink("devices", "http://localhost/api/admin/datacenters/1/storage/devices"));
datacenter.addLink(new RESTLink("discovermultiple",
"http://localhost/api/admin/datacenters/1/action/discovermultiple"));
datacenter.addLink(new RESTLink("discoversingle",
"http://localhost/api/admin/datacenters/1/action/discoversingle"));
datacenter.addLink(new RESTLink("edit", "http://localhost/api/admin/datacenters/1"));
datacenter.addLink(new RESTLink("getLimits", "http://localhost/api/admin/datacenters/1/action/getLimits"));
datacenter.addLink(new RESTLink("racks", "http://localhost/api/admin/datacenters/1/racks"));
datacenter.addLink(new RESTLink("remoteservices", "http://localhost/api/admin/datacenters/1/remoteservices"));
datacenter.addLink(new RESTLink("tiers", "http://localhost/api/admin/datacenters/1/storage/tiers"));
datacenter.addLink(new RESTLink("network", "http://localhost/api/admin/datacenters/1/network"));
datacenter.addLink(new RESTLink("enterprises", "http://localhost/api/admin/datacenters/1/action/enterprises"));
datacenter.addLink(new RESTLink("hypervisor", "http://localhost/api/admin/datacenters/1/action/hypervisor"));
datacenter.addLink(new RESTLink("hypervisors", "http://localhost/api/admin/datacenters/1/hypervisors"));
return datacenter;
}