public function updateTemplateFiles($template_id, Template $request)
    {
      $params = $request->toUpdateParams();
      $response = $this->rest->post(
        static::TEMPLATE_UPDATE_FILES_PATH . '/' . $template_id,
        $params
      );

      return new Template($response);
    }
public function updateTemplateFiles($template_id, Template $request)
    {
      $params = $request->toUpdateParams();
      $response = $this->rest->post(
        static::TEMPLATE_UPDATE_FILES_PATH . '/' . $template_id,
        $params
      );

      return new Template($response);
    }
public function updateTemplateFiles ( $ template_id , Template $ request ) { $ params = $ request -> toUpdateParams ( ) ; $ response = $ this -> rest -> post ( static :: TEMPLATE_UPDATE_FILES_PATH . '/' . $ template_id , $ params ) ; return new Template ( $ response ) ; }
Creates a new Template using the overlay of specified Template

@param string $template_id Template ID to update
@param Template $request Template Object settings to apply to the new Template
@return string
Creates a new Template using the overlay of specified Template