model = $model; $this->modelFactory = $modelFactory; $this->propertyPatchPrefix = $propertyPatchPrefix; $this->violations = $violations; $this->groups = $groups; } /** * @return BaseApiModel */ public function getModel(): BaseApiModel { return $this->model; } /** * @param BaseApiModel $model */ public function setModel(BaseApiModel $model): void { $this->model = $model; } /** * @return array */ public function getViolations() { return $this->violations; } /** * @param array $violations */ public function setViolations($violations): void { $this->violations = $violations; } /** * @return ModelFactory */ public function getModelFactory(): ModelFactory { return $this->modelFactory; } /** * @param ModelFactory $modelFactory */ public function setModelFactory(ModelFactory $modelFactory): void { $this->modelFactory = $modelFactory; } /** * @return string */ public function getPropertyPatchPrefix(): string { return $this->propertyPatchPrefix; } /** * @param string $propertyPatchPrefix */ public function setPropertyPatchPrefix(string $propertyPatchPrefix): void { $this->propertyPatchPrefix = $propertyPatchPrefix; } /** * @return mixed */ public function getGroups() { return $this->groups; } /** * @param mixed $groups */ public function setGroups($groups): void { $this->groups = $groups; } }