code: func (d *Deployment) UnmarshalJSON(data []byte) error {
  	var ccDeployment struct {
  		GUID          string                   `json:"guid,omitempty"`
  		CreatedAt     string                   `json:"created_at,omitempty"`
  		Relationships Relationships            `json:"relationships,omitempty"`
  		State         constant.DeploymentState `json:"state,omitempty"`
  		Droplet       Droplet                  `json:"droplet,omitempty"`
  	}
  	err := cloudcontroller.DecodeJSON(data, &ccDeployment)
  	if err != nil {
  		return err
  	}
  
  	d.GUID = ccDeployment.GUID
  	d.CreatedAt = ccDeployment.CreatedAt
  	d.Relationships = ccDeployment.Relationships
  	d.State = ccDeployment.State
  	d.DropletGUID = ccDeployment.Droplet.GUID
  
  	return nil
  }
docs: // UnmarshalJSON helps unmarshal a Cloud Controller Deployment response.