code: func (space *Space) UnmarshalJSON(data []byte) error {
  	var ccSpace struct {
  		Metadata internal.Metadata `json:"metadata"`
  		Entity   struct {
  			Name                     string `json:"name"`
  			AllowSSH                 bool   `json:"allow_ssh"`
  			SpaceQuotaDefinitionGUID string `json:"space_quota_definition_guid"`
  			OrganizationGUID         string `json:"organization_guid"`
  		} `json:"entity"`
  	}
  	err := cloudcontroller.DecodeJSON(data, &ccSpace)
  	if err != nil {
  		return err
  	}
  
  	space.GUID = ccSpace.Metadata.GUID
  	space.Name = ccSpace.Entity.Name
  	space.AllowSSH = ccSpace.Entity.AllowSSH
  	space.SpaceQuotaDefinitionGUID = ccSpace.Entity.SpaceQuotaDefinitionGUID
  	space.OrganizationGUID = ccSpace.Entity.OrganizationGUID
  	return nil
  }
docs: // UnmarshalJSON helps unmarshal a Cloud Controller Space response.