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