original_string: public function createEmbeddedDraft(Template $request)
      {
  
          $response = $this->rest->post(
              static::TEMPLATE_CREATE_EMBEDDED_DRAFT,
              $request->toEmbeddedDraftParams()
          );
  
          $this->checkResponse($response);
  
          return new Template($response);
      }
code: public function createEmbeddedDraft(Template $request)
      {
  
          $response = $this->rest->post(
              static::TEMPLATE_CREATE_EMBEDDED_DRAFT,
              $request->toEmbeddedDraftParams()
          );
  
          $this->checkResponse($response);
  
          return new Template($response);
      }
code_tokens: public function createEmbeddedDraft ( Template $ request ) { $ response = $ this -> rest -> post ( static :: TEMPLATE_CREATE_EMBEDDED_DRAFT , $ request -> toEmbeddedDraftParams ( ) ) ; $ this -> checkResponse ( $ response ) ; return new Template ( $ response ) ; }
docstring: The first step in an EmbeddedTemplate workflow.
  Creates a draft template that can then be further set up in the template 'edit' stage.
  
  @param  Template $request
  @return Template
  @throws BaseException
docstring_tokens: The first step in an EmbeddedTemplate workflow . Creates a draft template that can then be further set up in the template edit stage .