private CloudServicePlan mapServicePlanResource(Map<String, Object> servicePlanResource) {
Boolean publicPlan = getAttributeOfV2Resource(servicePlanResource, "public", Boolean.class);
return new CloudServicePlan(getV2Meta(servicePlanResource), getAttributeOfV2Resource(servicePlanResource, "name", String.class),
getAttributeOfV2Resource(servicePlanResource, "description", String.class),
getAttributeOfV2Resource(servicePlanResource, "free", Boolean.class), publicPlan == null ? true : publicPlan,
getAttributeOfV2Resource(servicePlanResource, "extra", String.class),
getAttributeOfV2Resource(servicePlanResource, "unique_id", String.class));
}