in openstack-poppy/src/main/java/org/jclouds/openstack/poppy/v1/domain/Service.java [95:110]
private static Service create(String id, String name, List<Domain> domains,
List<Origin> origins, List<Caching> caching, List<Restriction> restrictions,
String flavorId, ServiceStatus status, List<Error> errors, Set<Link> links, LogDelivery logDelivery) {
return new AutoValue_Service(
id,
name,
ImmutableList.copyOf(domains),
ImmutableList.copyOf(origins),
caching != null ? ImmutableList.copyOf(caching) : null,
restrictions != null ? ImmutableList.copyOf(restrictions) : null,
flavorId,
status,
errors != null ? ImmutableList.copyOf(errors) : null,
ImmutableSet.copyOf(links),
logDelivery);
}