code: func (client *Client) CreateApplication(app Application) (Application, Warnings, error) {
  	body, err := json.Marshal(app)
  	if err != nil {
  		return Application{}, nil, err
  	}
  
  	request, err := client.newHTTPRequest(requestOptions{
  		RequestName: internal.PostAppRequest,
  		Body:        bytes.NewReader(body),
  	})
  	if err != nil {
  		return Application{}, nil, err
  	}
  
  	var updatedApp Application
  	response := cloudcontroller.Response{
  		DecodeJSONResponseInto: &updatedApp,
  	}
  
  	err = client.connection.Make(request, &response)
  	return updatedApp, response.Warnings, err
  }
docs: // CreateApplication creates a cloud controller application in with the given
  // settings. SpaceGUID and Name are the only required fields.