selfAttestedFRR; } /** * @return int */ public function getSelfAttestedFAR(): ?int { return $this->selfAttestedFAR; } /** * @return int|null */ public function getMaxTemplates(): ?int { return $this->maxTemplates; } /** * @return int|null */ public function getMaxRetries(): ?int { return $this->maxRetries; } /** * @return int|null */ public function getBlockSlowdown(): ?int { return $this->blockSlowdown; } public static function createFromArray(array $data): self { $object = new self(); $object->selfAttestedFRR = $data['selfAttestedFRR'] ?? null; $object->selfAttestedFAR = $data['selfAttestedFAR'] ?? null; $object->maxTemplates = $data['maxTemplates'] ?? null; $object->maxRetries = $data['maxRetries'] ?? null; $object->blockSlowdown = $data['blockSlowdown'] ?? null; return $object; } }