cm16/codegen_client.go
func (r *Deployment) Locator(api *API) *DeploymentLocator {
	return api.DeploymentLocator(r.Href)
}
func (r *Deployment) Locator(api *API) *DeploymentLocator {
	return api.DeploymentLocator(r.Href)
}
// Locator returns a locator for the given resource