code: func (resources ResourceLinks) UnmarshalJSON(data []byte) error {
  	var ccResourceLinks struct {
  		Links map[string]APILink `json:"links"`
  	}
  	err := cloudcontroller.DecodeJSON(data, &ccResourceLinks)
  	if err != nil {
  		return err
  	}
  
  	for key, val := range ccResourceLinks.Links {
  		resources[key] = val
  	}
  
  	return nil
  }
docs: // UnmarshalJSON helps unmarshal a Cloud Controller /v3 response.