/**
  * @param ErrorDataBuilder $dataBuilder
  * @param NonEmptyString $apiVersion
  * @param HttpMethod $httpMethod
  * @param HttpErrorCode $httpErrorCode
  */
 public function __construct(ErrorDataBuilder $dataBuilder, NonEmptyString $apiVersion, HttpMethod $httpMethod, HttpErrorCode $httpErrorCode)
 {
     parent::__construct($dataBuilder, $apiVersion, $httpMethod);
     $this->initErrorTrait($httpErrorCode);
 }
 /**
  * @param SuccessDataBuilder $dataBuilder
  * @param NonEmptyString $apiVersion
  * @param HttpMethod $httpMethod
  * @param NonEmptyString $itemsType = null
  */
 public function __construct(SuccessDataBuilder $dataBuilder, NonEmptyString $apiVersion, HttpMethod $httpMethod, NonEmptyString $itemsType = null)
 {
     parent::__construct($dataBuilder, $apiVersion, $httpMethod);
     $this->initSuccessTrait($itemsType);
 }