code: func (director *BoshDirector) ChangeJobState(deploymentName, jobName, state string, index int, manifest io.Reader) (taskID int, err error) {
  	endpoint := fmt.Sprintf("https://%s:%d/deployments/%s/jobs/%s/%d?state=%s", director.ip, director.port, deploymentName, jobName, index, state)
  	httpEntity := director.getEntity(endpoint, "text/yaml")
  	request := director.gateway.Put(httpEntity, manifest)
  	resp, err := request()
  	if err != nil {
  		return
  	}
  	return retrieveTaskID(resp)
  }
docs: //ChangeJobState -