public T fromServer(Server in) { return super.fromResource(in) .uuid(in.getUuid()) .tenantId(in.getTenantId()) .userId(in.getUserId()) .updated(in.getUpdated()) .created(in.getCreated()) .hostId(in.getHostId()) .accessIPv4(in.getAccessIPv4()) .accessIPv6(in.getAccessIPv6()) .status(in.getStatus()) .image(in.getImage()) .flavor(in.getFlavor()) .keyName(in.getKeyName()) .configDrive(in.getConfigDrive()) .addresses(in.getAddresses()) .metadata(in.getMetadata()) .extendedStatus(in.getExtendedStatus().orNull()) .extendedAttributes(in.getExtendedAttributes().orNull()) .diskConfig(in.getDiskConfig().orNull()) .availabilityZone(in.getAvailabilityZone().orNull()); } }
public T fromServer(Server in) { return super.fromResource(in) .uuid(in.getUuid()) .tenantId(in.getTenantId()) .userId(in.getUserId()) .updated(in.getUpdated()) .created(in.getCreated()) .hostId(in.getHostId()) .accessIPv4(in.getAccessIPv4()) .accessIPv6(in.getAccessIPv6()) .status(in.getStatus()) .image(in.getImage()) .flavor(in.getFlavor()) .keyName(in.getKeyName()) .configDrive(in.getConfigDrive()) .addresses(in.getAddresses()) .metadata(in.getMetadata()) .extendedStatus(in.getExtendedStatus().orNull()) .extendedAttributes(in.getExtendedAttributes().orNull()) .diskConfig(in.getDiskConfig().orNull()) .availabilityZone(in.getAvailabilityZone().orNull()); } }
public T fromServer(Server in) { return super.fromResource(in) .uuid(in.getUuid()) .tenantId(in.getTenantId()) .userId(in.getUserId()) .updated(in.getUpdated()) .created(in.getCreated()) .hostId(in.getHostId()) .accessIPv4(in.getAccessIPv4()) .accessIPv6(in.getAccessIPv6()) .status(in.getStatus()) .image(in.getImage()) .flavor(in.getFlavor()) .keyName(in.getKeyName()) .configDrive(in.getConfigDrive()) .addresses(in.getAddresses()) .metadata(in.getMetadata()) .extendedStatus(in.getExtendedStatus().orNull()) .extendedAttributes(in.getExtendedAttributes().orNull()) .diskConfig(in.getDiskConfig().orNull()) .availabilityZone(in.getAvailabilityZone().orNull()); } }
URI.create("http://nova:8774/8d10e6646d5d4585937395b04839a353/flavors/1"))).build()) .id("0c80b392-db30-4736-ae02-4480090f1207") .userId("df13814f6c354d00a8acf66502836323") .status(Status.ACTIVE) .updated(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-04-12T11:21:33Z")) URI.create("http://nova:8774/8d10e6646d5d4585937395b04839a353/flavors/1"))).build()) .id("b332b5cd-535e-4677-b68e-fc8badc13236") .userId("df13814f6c354d00a8acf66502836323") .status(Status.ACTIVE) .updated(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-04-12T11:18:58Z")) URI.create("http://nova:8774/8d10e6646d5d4585937395b04839a353/flavors/1"))).build()) .id("f9d43436-4572-4c9b-9b74-5fa6890a2f21") .userId("df13814f6c354d00a8acf66502836323") .status(Status.ACTIVE) .updated(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-04-12T11:15:09Z"))
URI.create("http://nova:8774/8d10e6646d5d4585937395b04839a353/flavors/1"))).build()) .id("0c80b392-db30-4736-ae02-4480090f1207") .userId("df13814f6c354d00a8acf66502836323") .status(Status.ACTIVE) .updated(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-04-12T11:21:33Z")) URI.create("http://nova:8774/8d10e6646d5d4585937395b04839a353/flavors/1"))).build()) .id("b332b5cd-535e-4677-b68e-fc8badc13236") .userId("df13814f6c354d00a8acf66502836323") .status(Status.ACTIVE) .updated(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-04-12T11:18:58Z")) URI.create("http://nova:8774/8d10e6646d5d4585937395b04839a353/flavors/1"))).build()) .id("f9d43436-4572-4c9b-9b74-5fa6890a2f21") .userId("df13814f6c354d00a8acf66502836323") .status(Status.ACTIVE) .updated(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-04-12T11:15:09Z"))
.id("71752") .tenantId("1234") .userId("5678") .name("sample-f352") .updated(new SimpleDateFormatDateService().iso8601SecondsDateParse("2010-10-10T12:00:00Z"))
.id("52415800-8b69-11e0-9b19-734f000004d2") .tenantId("1234") .userId("5678") .name("sample-f352") .updated(new SimpleDateFormatDateService().iso8601SecondsDateParse("2010-10-10T12:00:00Z"))
.id("141b775f-7ac1-45f0-9a95-146260f33a53") .tenantId("7f312675f9b84c97bff8f5054e181419") .userId("89c01b67395d4bea945f7f5bfd7f344a") .name("test") .updated(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-05-04T15:07:48Z"))
.id("71752") .tenantId("1234") .userId("5678") .name("sample-f352") .updated(new SimpleDateFormatDateService().iso8601SecondsDateParse("2010-10-10T12:00:00Z"))
.uuid("7aed8e05-1daf-476a-87b2-640e8f7dcafd") .tenantId("37936628937291") .userId("54297837463082") .name("hpcloud-computes-38d") .updated(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-03-22T22:11:55Z"))
.id("0bdc3a8d-3a96-4ccc-bb40-715537a7df7b") .tenantId("cac29c920a6149aabe499757b6ba81c7") .userId("ed15e338032f4a2c85b7fa80e40b9917") .name("cloudts-f07") .updated(new SimpleDateFormatDateService().iso8601SecondsDateParse("2016-02-17T14:48:00Z"))
.id("141b775f-7ac1-45f0-9a95-146260f33a53") .tenantId("7f312675f9b84c97bff8f5054e181419") .userId("89c01b67395d4bea945f7f5bfd7f344a") .name("test") .updated(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-05-04T15:07:48Z"))
.uuid("47491020-6a78-4f63-9475-23195ac4515c") .tenantId("37936628937291") .userId("54297837463082") .name("test-e92") .updated(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-03-19T06:21:13Z"))
.uuid("7aed8e05-1daf-476a-87b2-640e8f7dcafd") .tenantId("37936628937291") .userId("54297837463082") .name("hpcloud-computes-38d") .updated(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-03-22T22:11:55Z"))
.uuid("2443c9c7-9791-412e-ac09-a6d55ec25335") .tenantId("37") .userId("508151008") .name("mygroup-72c") .updated(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-03-23T01:30:26Z"))
.uuid("47491020-6a78-4f63-9475-23195ac4515c") .tenantId("37936628937291") .userId("54297837463082") .name("test-e92") .updated(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-03-19T06:21:13Z"))
.uuid("2443c9c7-9791-412e-ac09-a6d55ec25335") .tenantId("37") .userId("508151008") .name("mygroup-72c") .updated(new SimpleDateFormatDateService().iso8601SecondsDateParse("2012-03-23T01:30:26Z"))
public T fromServer(Server in) { return super.fromResource(in) .uuid(in.getUuid()) .tenantId(in.getTenantId()) .userId(in.getUserId()) .updated(in.getUpdated()) .created(in.getCreated()) .hostId(in.getHostId()) .accessIPv4(in.getAccessIPv4()) .accessIPv6(in.getAccessIPv6()) .status(in.getStatus()) .image(in.getImage()) .flavor(in.getFlavor()) .keyName(in.getKeyName()) .configDrive(in.getConfigDrive()) .addresses(in.getAddresses()) .metadata(in.getMetadata()) .extendedStatus(in.getExtendedStatus().orNull()) .extendedAttributes(in.getExtendedAttributes().orNull()) .diskConfig(in.getDiskConfig().orNull()); } }
public T fromServer(Server in) { return super.fromResource(in) .uuid(in.getUuid()) .tenantId(in.getTenantId()) .userId(in.getUserId()) .updated(in.getUpdated()) .created(in.getCreated()) .hostId(in.getHostId()) .accessIPv4(in.getAccessIPv4()) .accessIPv6(in.getAccessIPv6()) .status(in.getStatus()) .image(in.getImage()) .flavor(in.getFlavor()) .keyName(in.getKeyName()) .configDrive(in.getConfigDrive()) .addresses(in.getAddresses()) .metadata(in.getMetadata()) .extendedStatus(in.getExtendedStatus().orNull()) .extendedAttributes(in.getExtendedAttributes().orNull()) .diskConfig(in.getDiskConfig().orNull()); } }
public T fromServer(Server in) { return super.fromResource(in) .uuid(in.getUuid()) .tenantId(in.getTenantId()) .userId(in.getUserId()) .updated(in.getUpdated()) .created(in.getCreated()) .hostId(in.getHostId()) .accessIPv4(in.getAccessIPv4()) .accessIPv6(in.getAccessIPv6()) .status(in.getStatus()) .image(in.getImage()) .flavor(in.getFlavor()) .keyName(in.getKeyName()) .configDrive(in.getConfigDrive()) .addresses(in.getAddresses()) .metadata(in.getMetadata()) .extendedStatus(in.getExtendedStatus().orNull()) .extendedAttributes(in.getExtendedAttributes().orNull()) .diskConfig(in.getDiskConfig().orNull()); } }