private CloudServiceBroker mapServiceBrokerResource(Map<String, Object> resource) { return new CloudServiceBroker(getV2Meta(resource), getAttributeOfV2Resource(resource, "name", String.class), getAttributeOfV2Resource(resource, "broker_url", String.class), getAttributeOfV2Resource(resource, "auth_username", String.class)); }
private CloudServiceBroker mapServiceBrokerResource(Map<String, Object> resource) { return new CloudServiceBroker(getMeta(resource), getEntityAttribute(resource, "name", String.class), getEntityAttribute(resource, "broker_url", String.class), getEntityAttribute(resource, "auth_username", String.class)); }