diff --git a/src/Model/A.php b/src/Model/A.php index ec237985..d5611aec 100644 --- a/src/Model/A.php +++ b/src/Model/A.php @@ -22,16 +22,16 @@ public function isInitialized($property): bool return array_key_exists($property, $this->initialized); } /** - * @var string + * @var string|null */ protected $ip; - public function getIp(): string + public function getIp(): ?string { return $this->ip; } - public function setIp(string $ip): self + public function setIp(?string $ip): self { $this->initialized['ip'] = true; $this->ip = $ip; diff --git a/src/Model/AAAA.php b/src/Model/AAAA.php index 6744fff9..a496b15d 100644 --- a/src/Model/AAAA.php +++ b/src/Model/AAAA.php @@ -22,16 +22,16 @@ public function isInitialized($property): bool return array_key_exists($property, $this->initialized); } /** - * @var string + * @var string|null */ protected $ip; - public function getIp(): string + public function getIp(): ?string { return $this->ip; } - public function setIp(string $ip): self + public function setIp(?string $ip): self { $this->initialized['ip'] = true; $this->ip = $ip; diff --git a/src/Model/Certificate.php b/src/Model/Certificate.php index 0f63223e..dee2950b 100644 --- a/src/Model/Certificate.php +++ b/src/Model/Certificate.php @@ -46,37 +46,37 @@ public function isInitialized($property): bool */ protected $createdAt; /** - * @var int + * @var int|null */ protected $expiresAt; /** - * @var int + * @var int|null */ protected $lastIssuedAt; /** - * @var string + * @var string|null */ protected $issueError; /** - * @var string + * @var string|null */ protected $authorizationMethod; /** * This is the URL that can be used to access this certificate's details. through the certificate API (a different API to this one). If null, this means that it is no longer available. If that is the case, you can get a new URL by resetting the API token for this certificate. * - * @var string + * @var string|null */ protected $certificateApiUrl; /** - * @var string + * @var string|null */ protected $certificate; /** - * @var string + * @var string|null */ protected $chain; /** - * @var string + * @var string|null */ protected $privateKey; @@ -164,12 +164,12 @@ public function setCreatedAt(int $createdAt): self return $this; } - public function getExpiresAt(): int + public function getExpiresAt(): ?int { return $this->expiresAt; } - public function setExpiresAt(int $expiresAt): self + public function setExpiresAt(?int $expiresAt): self { $this->initialized['expiresAt'] = true; $this->expiresAt = $expiresAt; @@ -177,12 +177,12 @@ public function setExpiresAt(int $expiresAt): self return $this; } - public function getLastIssuedAt(): int + public function getLastIssuedAt(): ?int { return $this->lastIssuedAt; } - public function setLastIssuedAt(int $lastIssuedAt): self + public function setLastIssuedAt(?int $lastIssuedAt): self { $this->initialized['lastIssuedAt'] = true; $this->lastIssuedAt = $lastIssuedAt; @@ -190,12 +190,12 @@ public function setLastIssuedAt(int $lastIssuedAt): self return $this; } - public function getIssueError(): string + public function getIssueError(): ?string { return $this->issueError; } - public function setIssueError(string $issueError): self + public function setIssueError(?string $issueError): self { $this->initialized['issueError'] = true; $this->issueError = $issueError; @@ -203,12 +203,12 @@ public function setIssueError(string $issueError): self return $this; } - public function getAuthorizationMethod(): string + public function getAuthorizationMethod(): ?string { return $this->authorizationMethod; } - public function setAuthorizationMethod(string $authorizationMethod): self + public function setAuthorizationMethod(?string $authorizationMethod): self { $this->initialized['authorizationMethod'] = true; $this->authorizationMethod = $authorizationMethod; @@ -219,7 +219,7 @@ public function setAuthorizationMethod(string $authorizationMethod): self /** * This is the URL that can be used to access this certificate's details. through the certificate API (a different API to this one). If null, this means that it is no longer available. If that is the case, you can get a new URL by resetting the API token for this certificate. */ - public function getCertificateApiUrl(): string + public function getCertificateApiUrl(): ?string { return $this->certificateApiUrl; } @@ -227,7 +227,7 @@ public function getCertificateApiUrl(): string /** * This is the URL that can be used to access this certificate's details. through the certificate API (a different API to this one). If null, this means that it is no longer available. If that is the case, you can get a new URL by resetting the API token for this certificate. */ - public function setCertificateApiUrl(string $certificateApiUrl): self + public function setCertificateApiUrl(?string $certificateApiUrl): self { $this->initialized['certificateApiUrl'] = true; $this->certificateApiUrl = $certificateApiUrl; @@ -235,12 +235,12 @@ public function setCertificateApiUrl(string $certificateApiUrl): self return $this; } - public function getCertificate(): string + public function getCertificate(): ?string { return $this->certificate; } - public function setCertificate(string $certificate): self + public function setCertificate(?string $certificate): self { $this->initialized['certificate'] = true; $this->certificate = $certificate; @@ -248,12 +248,12 @@ public function setCertificate(string $certificate): self return $this; } - public function getChain(): string + public function getChain(): ?string { return $this->chain; } - public function setChain(string $chain): self + public function setChain(?string $chain): self { $this->initialized['chain'] = true; $this->chain = $chain; @@ -261,12 +261,12 @@ public function setChain(string $chain): self return $this; } - public function getPrivateKey(): string + public function getPrivateKey(): ?string { return $this->privateKey; } - public function setPrivateKey(string $privateKey): self + public function setPrivateKey(?string $privateKey): self { $this->initialized['privateKey'] = true; $this->privateKey = $privateKey; diff --git a/src/Model/CountriesCountryCountryStatesGetResponse200Pagination.php b/src/Model/CountriesCountryCountryStatesGetResponse200Pagination.php index 07c436af..33d6e896 100644 --- a/src/Model/CountriesCountryCountryStatesGetResponse200Pagination.php +++ b/src/Model/CountriesCountryCountryStatesGetResponse200Pagination.php @@ -30,13 +30,13 @@ public function isInitialized($property): bool /** * The total number of pages. * - * @var int + * @var int|null */ protected $totalPages; /** * The total number of items across all pages. * - * @var int + * @var int|null */ protected $total; /** @@ -74,7 +74,7 @@ public function setCurrentPage(int $currentPage): self /** * The total number of pages. */ - public function getTotalPages(): int + public function getTotalPages(): ?int { return $this->totalPages; } @@ -82,7 +82,7 @@ public function getTotalPages(): int /** * The total number of pages. */ - public function setTotalPages(int $totalPages): self + public function setTotalPages(?int $totalPages): self { $this->initialized['totalPages'] = true; $this->totalPages = $totalPages; @@ -93,7 +93,7 @@ public function setTotalPages(int $totalPages): self /** * The total number of items across all pages. */ - public function getTotal(): int + public function getTotal(): ?int { return $this->total; } @@ -101,7 +101,7 @@ public function getTotal(): int /** * The total number of items across all pages. */ - public function setTotal(int $total): self + public function setTotal(?int $total): self { $this->initialized['total'] = true; $this->total = $total; diff --git a/src/Model/CountriesCountryGetResponse200Country.php b/src/Model/CountriesCountryGetResponse200Country.php index 54c18294..66927cbe 100644 --- a/src/Model/CountriesCountryGetResponse200Country.php +++ b/src/Model/CountriesCountryGetResponse200Country.php @@ -38,7 +38,7 @@ public function isInitialized($property): bool */ protected $isoCode3; /** - * @var string + * @var string|null */ protected $timeZone; /** @@ -98,12 +98,12 @@ public function setIsoCode3(string $isoCode3): self return $this; } - public function getTimeZone(): string + public function getTimeZone(): ?string { return $this->timeZone; } - public function setTimeZone(string $timeZone): self + public function setTimeZone(?string $timeZone): self { $this->initialized['timeZone'] = true; $this->timeZone = $timeZone; diff --git a/src/Model/CountriesGetResponse200Pagination.php b/src/Model/CountriesGetResponse200Pagination.php index c19dd5fc..9e7b4588 100644 --- a/src/Model/CountriesGetResponse200Pagination.php +++ b/src/Model/CountriesGetResponse200Pagination.php @@ -30,13 +30,13 @@ public function isInitialized($property): bool /** * The total number of pages. * - * @var int + * @var int|null */ protected $totalPages; /** * The total number of items across all pages. * - * @var int + * @var int|null */ protected $total; /** @@ -74,7 +74,7 @@ public function setCurrentPage(int $currentPage): self /** * The total number of pages. */ - public function getTotalPages(): int + public function getTotalPages(): ?int { return $this->totalPages; } @@ -82,7 +82,7 @@ public function getTotalPages(): int /** * The total number of pages. */ - public function setTotalPages(int $totalPages): self + public function setTotalPages(?int $totalPages): self { $this->initialized['totalPages'] = true; $this->totalPages = $totalPages; @@ -93,7 +93,7 @@ public function setTotalPages(int $totalPages): self /** * The total number of items across all pages. */ - public function getTotal(): int + public function getTotal(): ?int { return $this->total; } @@ -101,7 +101,7 @@ public function getTotal(): int /** * The total number of items across all pages. */ - public function setTotal(int $total): self + public function setTotal(?int $total): self { $this->initialized['total'] = true; $this->total = $total; diff --git a/src/Model/Country.php b/src/Model/Country.php index 3c8850ed..e7963a6d 100644 --- a/src/Model/Country.php +++ b/src/Model/Country.php @@ -38,7 +38,7 @@ public function isInitialized($property): bool */ protected $isoCode3; /** - * @var string + * @var string|null */ protected $timeZone; /** @@ -98,12 +98,12 @@ public function setIsoCode3(string $isoCode3): self return $this; } - public function getTimeZone(): string + public function getTimeZone(): ?string { return $this->timeZone; } - public function setTimeZone(string $timeZone): self + public function setTimeZone(?string $timeZone): self { $this->initialized['timeZone'] = true; $this->timeZone = $timeZone; diff --git a/src/Model/CountryState.php b/src/Model/CountryState.php index d07f5863..0b7a29f4 100644 --- a/src/Model/CountryState.php +++ b/src/Model/CountryState.php @@ -34,7 +34,7 @@ public function isInitialized($property): bool */ protected $code; /** - * @var Country + * @var CountryStateCountry */ protected $country; @@ -77,12 +77,12 @@ public function setCode(string $code): self return $this; } - public function getCountry(): Country + public function getCountry(): CountryStateCountry { return $this->country; } - public function setCountry(Country $country): self + public function setCountry(CountryStateCountry $country): self { $this->initialized['country'] = true; $this->country = $country; diff --git a/src/Model/CountryStateCountry.php b/src/Model/CountryStateCountry.php new file mode 100644 index 00000000..86018335 --- /dev/null +++ b/src/Model/CountryStateCountry.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $isoCode2; + /** + * @var string + */ + protected $isoCode3; + /** + * @var string|null + */ + protected $timeZone; + /** + * @var bool + */ + protected $eu; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getIsoCode2(): string + { + return $this->isoCode2; + } + + public function setIsoCode2(string $isoCode2): self + { + $this->initialized['isoCode2'] = true; + $this->isoCode2 = $isoCode2; + + return $this; + } + + public function getIsoCode3(): string + { + return $this->isoCode3; + } + + public function setIsoCode3(string $isoCode3): self + { + $this->initialized['isoCode3'] = true; + $this->isoCode3 = $isoCode3; + + return $this; + } + + public function getTimeZone(): ?string + { + return $this->timeZone; + } + + public function setTimeZone(?string $timeZone): self + { + $this->initialized['timeZone'] = true; + $this->timeZone = $timeZone; + + return $this; + } + + public function getEu(): bool + { + return $this->eu; + } + + public function setEu(bool $eu): self + { + $this->initialized['eu'] = true; + $this->eu = $eu; + + return $this; + } +} diff --git a/src/Model/CountryStatesCountryStateGetResponse200CountryState.php b/src/Model/CountryStatesCountryStateGetResponse200CountryState.php index a59238a4..ebe78bcb 100644 --- a/src/Model/CountryStatesCountryStateGetResponse200CountryState.php +++ b/src/Model/CountryStatesCountryStateGetResponse200CountryState.php @@ -34,7 +34,7 @@ public function isInitialized($property): bool */ protected $code; /** - * @var Country + * @var CountryStateCountry */ protected $country; @@ -77,12 +77,12 @@ public function setCode(string $code): self return $this; } - public function getCountry(): Country + public function getCountry(): CountryStateCountry { return $this->country; } - public function setCountry(Country $country): self + public function setCountry(CountryStateCountry $country): self { $this->initialized['country'] = true; $this->country = $country; diff --git a/src/Model/CurrenciesGetResponse200Pagination.php b/src/Model/CurrenciesGetResponse200Pagination.php index 906d6e9a..7775e309 100644 --- a/src/Model/CurrenciesGetResponse200Pagination.php +++ b/src/Model/CurrenciesGetResponse200Pagination.php @@ -30,13 +30,13 @@ public function isInitialized($property): bool /** * The total number of pages. * - * @var int + * @var int|null */ protected $totalPages; /** * The total number of items across all pages. * - * @var int + * @var int|null */ protected $total; /** @@ -74,7 +74,7 @@ public function setCurrentPage(int $currentPage): self /** * The total number of pages. */ - public function getTotalPages(): int + public function getTotalPages(): ?int { return $this->totalPages; } @@ -82,7 +82,7 @@ public function getTotalPages(): int /** * The total number of pages. */ - public function setTotalPages(int $totalPages): self + public function setTotalPages(?int $totalPages): self { $this->initialized['totalPages'] = true; $this->totalPages = $totalPages; @@ -93,7 +93,7 @@ public function setTotalPages(int $totalPages): self /** * The total number of items across all pages. */ - public function getTotal(): int + public function getTotal(): ?int { return $this->total; } @@ -101,7 +101,7 @@ public function getTotal(): int /** * The total number of items across all pages. */ - public function setTotal(int $total): self + public function setTotal(?int $total): self { $this->initialized['total'] = true; $this->total = $total; diff --git a/src/Model/DNSRecord.php b/src/Model/DNSRecord.php index 36522195..1650ae33 100644 --- a/src/Model/DNSRecord.php +++ b/src/Model/DNSRecord.php @@ -26,7 +26,7 @@ public function isInitialized($property): bool */ protected $id; /** - * @var string + * @var string|null */ protected $name; /** @@ -34,7 +34,7 @@ public function isInitialized($property): bool */ protected $fullName; /** - * @var int + * @var int|null */ protected $ttl; /** @@ -42,7 +42,7 @@ public function isInitialized($property): bool */ protected $type; /** - * @var int + * @var int|null */ protected $priority; /** @@ -67,12 +67,12 @@ public function setId(string $id): self return $this; } - public function getName(): string + public function getName(): ?string { return $this->name; } - public function setName(string $name): self + public function setName(?string $name): self { $this->initialized['name'] = true; $this->name = $name; @@ -93,12 +93,12 @@ public function setFullName(string $fullName): self return $this; } - public function getTtl(): int + public function getTtl(): ?int { return $this->ttl; } - public function setTtl(int $ttl): self + public function setTtl(?int $ttl): self { $this->initialized['ttl'] = true; $this->ttl = $ttl; @@ -119,12 +119,12 @@ public function setType(string $type): self return $this; } - public function getPriority(): int + public function getPriority(): ?int { return $this->priority; } - public function setPriority(int $priority): self + public function setPriority(?int $priority): self { $this->initialized['priority'] = true; $this->priority = $priority; diff --git a/src/Model/DNSRecordContentAttributes.php b/src/Model/DNSRecordContentAttributes.php index 3cfd8420..b3c59149 100644 --- a/src/Model/DNSRecordContentAttributes.php +++ b/src/Model/DNSRecordContentAttributes.php @@ -22,68 +22,68 @@ public function isInitialized($property): bool return array_key_exists($property, $this->initialized); } /** - * @var RecordContentAttributesForA + * @var DNSRecordContentAttributesA|null */ protected $a; /** - * @var RecordContentAttributesForAAAA + * @var DNSRecordContentAttributesAAAA|null */ protected $aAAA; /** - * @var RecordContentAttributesForALIAS + * @var DNSRecordContentAttributesALIAS|null */ protected $aLIAS; /** - * @var RecordContentAttributesForCAA + * @var DNSRecordContentAttributesCAA|null */ protected $cAA; /** - * @var RecordContentAttributesForCNAME + * @var DNSRecordContentAttributesCNAME|null */ protected $cNAME; /** - * @var RecordContentAttributesForIPS + * @var DNSRecordContentAttributesIPS|null */ protected $iPS; /** - * @var RecordContentAttributesForMX + * @var DNSRecordContentAttributesMX|null */ protected $mX; /** - * @var RecordContentAttributesForNS + * @var DNSRecordContentAttributesNS|null */ protected $nS; /** - * @var RecordContentAttributesForPTR + * @var DNSRecordContentAttributesPTR|null */ protected $pTR; /** - * @var array + * @var DNSRecordContentAttributesSOA|null */ protected $sOA; /** - * @var RecordContentAttributesForSRV + * @var DNSRecordContentAttributesSRV|null */ protected $sRV; /** - * @var RecordContentAttributesForSSHFP + * @var DNSRecordContentAttributesSSHFP|null */ protected $sSHFP; /** - * @var RecordContentAttributesForTXT + * @var DNSRecordContentAttributesTXT|null */ protected $tXT; /** - * @var RecordContentAttributesForVirtualMachine + * @var DNSRecordContentAttributesVirtualMachine|null */ protected $virtualMachine; - public function getA(): RecordContentAttributesForA + public function getA(): ?DNSRecordContentAttributesA { return $this->a; } - public function setA(RecordContentAttributesForA $a): self + public function setA(?DNSRecordContentAttributesA $a): self { $this->initialized['a'] = true; $this->a = $a; @@ -91,12 +91,12 @@ public function setA(RecordContentAttributesForA $a): self return $this; } - public function getAAAA(): RecordContentAttributesForAAAA + public function getAAAA(): ?DNSRecordContentAttributesAAAA { return $this->aAAA; } - public function setAAAA(RecordContentAttributesForAAAA $aAAA): self + public function setAAAA(?DNSRecordContentAttributesAAAA $aAAA): self { $this->initialized['aAAA'] = true; $this->aAAA = $aAAA; @@ -104,12 +104,12 @@ public function setAAAA(RecordContentAttributesForAAAA $aAAA): self return $this; } - public function getALIAS(): RecordContentAttributesForALIAS + public function getALIAS(): ?DNSRecordContentAttributesALIAS { return $this->aLIAS; } - public function setALIAS(RecordContentAttributesForALIAS $aLIAS): self + public function setALIAS(?DNSRecordContentAttributesALIAS $aLIAS): self { $this->initialized['aLIAS'] = true; $this->aLIAS = $aLIAS; @@ -117,12 +117,12 @@ public function setALIAS(RecordContentAttributesForALIAS $aLIAS): self return $this; } - public function getCAA(): RecordContentAttributesForCAA + public function getCAA(): ?DNSRecordContentAttributesCAA { return $this->cAA; } - public function setCAA(RecordContentAttributesForCAA $cAA): self + public function setCAA(?DNSRecordContentAttributesCAA $cAA): self { $this->initialized['cAA'] = true; $this->cAA = $cAA; @@ -130,12 +130,12 @@ public function setCAA(RecordContentAttributesForCAA $cAA): self return $this; } - public function getCNAME(): RecordContentAttributesForCNAME + public function getCNAME(): ?DNSRecordContentAttributesCNAME { return $this->cNAME; } - public function setCNAME(RecordContentAttributesForCNAME $cNAME): self + public function setCNAME(?DNSRecordContentAttributesCNAME $cNAME): self { $this->initialized['cNAME'] = true; $this->cNAME = $cNAME; @@ -143,12 +143,12 @@ public function setCNAME(RecordContentAttributesForCNAME $cNAME): self return $this; } - public function getIPS(): RecordContentAttributesForIPS + public function getIPS(): ?DNSRecordContentAttributesIPS { return $this->iPS; } - public function setIPS(RecordContentAttributesForIPS $iPS): self + public function setIPS(?DNSRecordContentAttributesIPS $iPS): self { $this->initialized['iPS'] = true; $this->iPS = $iPS; @@ -156,12 +156,12 @@ public function setIPS(RecordContentAttributesForIPS $iPS): self return $this; } - public function getMX(): RecordContentAttributesForMX + public function getMX(): ?DNSRecordContentAttributesMX { return $this->mX; } - public function setMX(RecordContentAttributesForMX $mX): self + public function setMX(?DNSRecordContentAttributesMX $mX): self { $this->initialized['mX'] = true; $this->mX = $mX; @@ -169,12 +169,12 @@ public function setMX(RecordContentAttributesForMX $mX): self return $this; } - public function getNS(): RecordContentAttributesForNS + public function getNS(): ?DNSRecordContentAttributesNS { return $this->nS; } - public function setNS(RecordContentAttributesForNS $nS): self + public function setNS(?DNSRecordContentAttributesNS $nS): self { $this->initialized['nS'] = true; $this->nS = $nS; @@ -182,12 +182,12 @@ public function setNS(RecordContentAttributesForNS $nS): self return $this; } - public function getPTR(): RecordContentAttributesForPTR + public function getPTR(): ?DNSRecordContentAttributesPTR { return $this->pTR; } - public function setPTR(RecordContentAttributesForPTR $pTR): self + public function setPTR(?DNSRecordContentAttributesPTR $pTR): self { $this->initialized['pTR'] = true; $this->pTR = $pTR; @@ -195,18 +195,12 @@ public function setPTR(RecordContentAttributesForPTR $pTR): self return $this; } - /** - * @return array - */ - public function getSOA(): iterable + public function getSOA(): ?DNSRecordContentAttributesSOA { return $this->sOA; } - /** - * @param array $sOA - */ - public function setSOA(iterable $sOA): self + public function setSOA(?DNSRecordContentAttributesSOA $sOA): self { $this->initialized['sOA'] = true; $this->sOA = $sOA; @@ -214,12 +208,12 @@ public function setSOA(iterable $sOA): self return $this; } - public function getSRV(): RecordContentAttributesForSRV + public function getSRV(): ?DNSRecordContentAttributesSRV { return $this->sRV; } - public function setSRV(RecordContentAttributesForSRV $sRV): self + public function setSRV(?DNSRecordContentAttributesSRV $sRV): self { $this->initialized['sRV'] = true; $this->sRV = $sRV; @@ -227,12 +221,12 @@ public function setSRV(RecordContentAttributesForSRV $sRV): self return $this; } - public function getSSHFP(): RecordContentAttributesForSSHFP + public function getSSHFP(): ?DNSRecordContentAttributesSSHFP { return $this->sSHFP; } - public function setSSHFP(RecordContentAttributesForSSHFP $sSHFP): self + public function setSSHFP(?DNSRecordContentAttributesSSHFP $sSHFP): self { $this->initialized['sSHFP'] = true; $this->sSHFP = $sSHFP; @@ -240,12 +234,12 @@ public function setSSHFP(RecordContentAttributesForSSHFP $sSHFP): self return $this; } - public function getTXT(): RecordContentAttributesForTXT + public function getTXT(): ?DNSRecordContentAttributesTXT { return $this->tXT; } - public function setTXT(RecordContentAttributesForTXT $tXT): self + public function setTXT(?DNSRecordContentAttributesTXT $tXT): self { $this->initialized['tXT'] = true; $this->tXT = $tXT; @@ -253,12 +247,12 @@ public function setTXT(RecordContentAttributesForTXT $tXT): self return $this; } - public function getVirtualMachine(): RecordContentAttributesForVirtualMachine + public function getVirtualMachine(): ?DNSRecordContentAttributesVirtualMachine { return $this->virtualMachine; } - public function setVirtualMachine(RecordContentAttributesForVirtualMachine $virtualMachine): self + public function setVirtualMachine(?DNSRecordContentAttributesVirtualMachine $virtualMachine): self { $this->initialized['virtualMachine'] = true; $this->virtualMachine = $virtualMachine; diff --git a/src/Model/DNSRecordContentAttributesA.php b/src/Model/DNSRecordContentAttributesA.php new file mode 100644 index 00000000..544e68f4 --- /dev/null +++ b/src/Model/DNSRecordContentAttributesA.php @@ -0,0 +1,41 @@ +initialized); + } + /** + * @var string|null + */ + protected $ipAddress; + + public function getIpAddress(): ?string + { + return $this->ipAddress; + } + + public function setIpAddress(?string $ipAddress): self + { + $this->initialized['ipAddress'] = true; + $this->ipAddress = $ipAddress; + + return $this; + } +} diff --git a/src/Model/DNSRecordContentAttributesAAAA.php b/src/Model/DNSRecordContentAttributesAAAA.php new file mode 100644 index 00000000..b93f80fa --- /dev/null +++ b/src/Model/DNSRecordContentAttributesAAAA.php @@ -0,0 +1,41 @@ +initialized); + } + /** + * @var string|null + */ + protected $ipAddress; + + public function getIpAddress(): ?string + { + return $this->ipAddress; + } + + public function setIpAddress(?string $ipAddress): self + { + $this->initialized['ipAddress'] = true; + $this->ipAddress = $ipAddress; + + return $this; + } +} diff --git a/src/Model/DNSRecordContentAttributesALIAS.php b/src/Model/DNSRecordContentAttributesALIAS.php new file mode 100644 index 00000000..1530909b --- /dev/null +++ b/src/Model/DNSRecordContentAttributesALIAS.php @@ -0,0 +1,41 @@ +initialized); + } + /** + * @var string|null + */ + protected $hostname; + + public function getHostname(): ?string + { + return $this->hostname; + } + + public function setHostname(?string $hostname): self + { + $this->initialized['hostname'] = true; + $this->hostname = $hostname; + + return $this; + } +} diff --git a/src/Model/DNSRecordContentAttributesCAA.php b/src/Model/DNSRecordContentAttributesCAA.php new file mode 100644 index 00000000..700a2fa1 --- /dev/null +++ b/src/Model/DNSRecordContentAttributesCAA.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string|null + */ + protected $flag; + /** + * @var string|null + */ + protected $tag; + /** + * @var string|null + */ + protected $value; + + public function getFlag(): ?string + { + return $this->flag; + } + + public function setFlag(?string $flag): self + { + $this->initialized['flag'] = true; + $this->flag = $flag; + + return $this; + } + + public function getTag(): ?string + { + return $this->tag; + } + + public function setTag(?string $tag): self + { + $this->initialized['tag'] = true; + $this->tag = $tag; + + return $this; + } + + public function getValue(): ?string + { + return $this->value; + } + + public function setValue(?string $value): self + { + $this->initialized['value'] = true; + $this->value = $value; + + return $this; + } +} diff --git a/src/Model/DNSRecordContentAttributesCNAME.php b/src/Model/DNSRecordContentAttributesCNAME.php new file mode 100644 index 00000000..8c622a2a --- /dev/null +++ b/src/Model/DNSRecordContentAttributesCNAME.php @@ -0,0 +1,41 @@ +initialized); + } + /** + * @var string|null + */ + protected $hostname; + + public function getHostname(): ?string + { + return $this->hostname; + } + + public function setHostname(?string $hostname): self + { + $this->initialized['hostname'] = true; + $this->hostname = $hostname; + + return $this; + } +} diff --git a/src/Model/DNSRecordContentAttributesIPS.php b/src/Model/DNSRecordContentAttributesIPS.php new file mode 100644 index 00000000..81de288d --- /dev/null +++ b/src/Model/DNSRecordContentAttributesIPS.php @@ -0,0 +1,41 @@ +initialized); + } + /** + * @var string|null + */ + protected $ipAddresses; + + public function getIpAddresses(): ?string + { + return $this->ipAddresses; + } + + public function setIpAddresses(?string $ipAddresses): self + { + $this->initialized['ipAddresses'] = true; + $this->ipAddresses = $ipAddresses; + + return $this; + } +} diff --git a/src/Model/DNSRecordContentAttributesMX.php b/src/Model/DNSRecordContentAttributesMX.php new file mode 100644 index 00000000..d6404af1 --- /dev/null +++ b/src/Model/DNSRecordContentAttributesMX.php @@ -0,0 +1,41 @@ +initialized); + } + /** + * @var string|null + */ + protected $hostname; + + public function getHostname(): ?string + { + return $this->hostname; + } + + public function setHostname(?string $hostname): self + { + $this->initialized['hostname'] = true; + $this->hostname = $hostname; + + return $this; + } +} diff --git a/src/Model/DNSRecordContentAttributesNS.php b/src/Model/DNSRecordContentAttributesNS.php new file mode 100644 index 00000000..9177cc6d --- /dev/null +++ b/src/Model/DNSRecordContentAttributesNS.php @@ -0,0 +1,41 @@ +initialized); + } + /** + * @var string|null + */ + protected $hostname; + + public function getHostname(): ?string + { + return $this->hostname; + } + + public function setHostname(?string $hostname): self + { + $this->initialized['hostname'] = true; + $this->hostname = $hostname; + + return $this; + } +} diff --git a/src/Model/DNSRecordContentAttributesPTR.php b/src/Model/DNSRecordContentAttributesPTR.php new file mode 100644 index 00000000..4fe3d005 --- /dev/null +++ b/src/Model/DNSRecordContentAttributesPTR.php @@ -0,0 +1,41 @@ +initialized); + } + /** + * @var string|null + */ + protected $hostname; + + public function getHostname(): ?string + { + return $this->hostname; + } + + public function setHostname(?string $hostname): self + { + $this->initialized['hostname'] = true; + $this->hostname = $hostname; + + return $this; + } +} diff --git a/src/Model/DNSRecordContentAttributesSOA.php b/src/Model/DNSRecordContentAttributesSOA.php new file mode 100644 index 00000000..2862c04c --- /dev/null +++ b/src/Model/DNSRecordContentAttributesSOA.php @@ -0,0 +1,24 @@ +initialized); + } +} diff --git a/src/Model/DNSRecordContentAttributesSRV.php b/src/Model/DNSRecordContentAttributesSRV.php new file mode 100644 index 00000000..70ff9046 --- /dev/null +++ b/src/Model/DNSRecordContentAttributesSRV.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string|null + */ + protected $weight; + /** + * @var string|null + */ + protected $port; + /** + * @var string|null + */ + protected $target; + + public function getWeight(): ?string + { + return $this->weight; + } + + public function setWeight(?string $weight): self + { + $this->initialized['weight'] = true; + $this->weight = $weight; + + return $this; + } + + public function getPort(): ?string + { + return $this->port; + } + + public function setPort(?string $port): self + { + $this->initialized['port'] = true; + $this->port = $port; + + return $this; + } + + public function getTarget(): ?string + { + return $this->target; + } + + public function setTarget(?string $target): self + { + $this->initialized['target'] = true; + $this->target = $target; + + return $this; + } +} diff --git a/src/Model/DNSRecordContentAttributesSSHFP.php b/src/Model/DNSRecordContentAttributesSSHFP.php new file mode 100644 index 00000000..5994222a --- /dev/null +++ b/src/Model/DNSRecordContentAttributesSSHFP.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string|null + */ + protected $algorithm; + /** + * @var string|null + */ + protected $fingerprintType; + /** + * @var string|null + */ + protected $fingerprint; + + public function getAlgorithm(): ?string + { + return $this->algorithm; + } + + public function setAlgorithm(?string $algorithm): self + { + $this->initialized['algorithm'] = true; + $this->algorithm = $algorithm; + + return $this; + } + + public function getFingerprintType(): ?string + { + return $this->fingerprintType; + } + + public function setFingerprintType(?string $fingerprintType): self + { + $this->initialized['fingerprintType'] = true; + $this->fingerprintType = $fingerprintType; + + return $this; + } + + public function getFingerprint(): ?string + { + return $this->fingerprint; + } + + public function setFingerprint(?string $fingerprint): self + { + $this->initialized['fingerprint'] = true; + $this->fingerprint = $fingerprint; + + return $this; + } +} diff --git a/src/Model/DNSRecordContentAttributesTXT.php b/src/Model/DNSRecordContentAttributesTXT.php new file mode 100644 index 00000000..0e5f0bd8 --- /dev/null +++ b/src/Model/DNSRecordContentAttributesTXT.php @@ -0,0 +1,41 @@ +initialized); + } + /** + * @var string|null + */ + protected $content; + + public function getContent(): ?string + { + return $this->content; + } + + public function setContent(?string $content): self + { + $this->initialized['content'] = true; + $this->content = $content; + + return $this; + } +} diff --git a/src/Model/DNSRecordContentAttributesVirtualMachine.php b/src/Model/DNSRecordContentAttributesVirtualMachine.php new file mode 100644 index 00000000..bd6f8058 --- /dev/null +++ b/src/Model/DNSRecordContentAttributesVirtualMachine.php @@ -0,0 +1,41 @@ +initialized); + } + /** + * @var string|null + */ + protected $virtualMachine; + + public function getVirtualMachine(): ?string + { + return $this->virtualMachine; + } + + public function setVirtualMachine(?string $virtualMachine): self + { + $this->initialized['virtualMachine'] = true; + $this->virtualMachine = $virtualMachine; + + return $this; + } +} diff --git a/src/Model/DNSZoneNotVerified.php b/src/Model/DNSZoneNotVerified.php index 8ea025ec..10948109 100644 --- a/src/Model/DNSZoneNotVerified.php +++ b/src/Model/DNSZoneNotVerified.php @@ -21,17 +21,15 @@ public function isInitialized($property): bool { return array_key_exists($property, $this->initialized); } - /** - * @var DNSZoneVerificationDetails - */ + protected $verificationDetails; - public function getVerificationDetails(): DNSZoneVerificationDetails + public function getVerificationDetails() { return $this->verificationDetails; } - public function setVerificationDetails(DNSZoneVerificationDetails $verificationDetails): self + public function setVerificationDetails($verificationDetails): self { $this->initialized['verificationDetails'] = true; $this->verificationDetails = $verificationDetails; diff --git a/src/Model/DataCenter.php b/src/Model/DataCenter.php index b48dd323..76f39061 100644 --- a/src/Model/DataCenter.php +++ b/src/Model/DataCenter.php @@ -30,11 +30,11 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; /** - * @var Country + * @var DataCenterCountry */ protected $country; @@ -64,12 +64,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; @@ -77,12 +77,12 @@ public function setPermalink(string $permalink): self return $this; } - public function getCountry(): Country + public function getCountry(): DataCenterCountry { return $this->country; } - public function setCountry(Country $country): self + public function setCountry(DataCenterCountry $country): self { $this->initialized['country'] = true; $this->country = $country; diff --git a/src/Model/DataCenterCountry.php b/src/Model/DataCenterCountry.php new file mode 100644 index 00000000..202c8278 --- /dev/null +++ b/src/Model/DataCenterCountry.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $isoCode2; + /** + * @var string + */ + protected $isoCode3; + /** + * @var string|null + */ + protected $timeZone; + /** + * @var bool + */ + protected $eu; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getIsoCode2(): string + { + return $this->isoCode2; + } + + public function setIsoCode2(string $isoCode2): self + { + $this->initialized['isoCode2'] = true; + $this->isoCode2 = $isoCode2; + + return $this; + } + + public function getIsoCode3(): string + { + return $this->isoCode3; + } + + public function setIsoCode3(string $isoCode3): self + { + $this->initialized['isoCode3'] = true; + $this->isoCode3 = $isoCode3; + + return $this; + } + + public function getTimeZone(): ?string + { + return $this->timeZone; + } + + public function setTimeZone(?string $timeZone): self + { + $this->initialized['timeZone'] = true; + $this->timeZone = $timeZone; + + return $this; + } + + public function getEu(): bool + { + return $this->eu; + } + + public function setEu(bool $eu): self + { + $this->initialized['eu'] = true; + $this->eu = $eu; + + return $this; + } +} diff --git a/src/Model/DataCentersDataCenterDefaultNetworkGetResponse200Network.php b/src/Model/DataCentersDataCenterDefaultNetworkGetResponse200Network.php index 1175faf5..1f8d02b7 100644 --- a/src/Model/DataCentersDataCenterDefaultNetworkGetResponse200Network.php +++ b/src/Model/DataCentersDataCenterDefaultNetworkGetResponse200Network.php @@ -30,11 +30,11 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; /** - * @var GetDataCenterDefaultNetworkPartDataCenter + * @var GetDataCenterDefaultNetwork200ResponseNetworkDataCenter */ protected $dataCenter; @@ -64,12 +64,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; @@ -77,12 +77,12 @@ public function setPermalink(string $permalink): self return $this; } - public function getDataCenter(): GetDataCenterDefaultNetworkPartDataCenter + public function getDataCenter(): GetDataCenterDefaultNetwork200ResponseNetworkDataCenter { return $this->dataCenter; } - public function setDataCenter(GetDataCenterDefaultNetworkPartDataCenter $dataCenter): self + public function setDataCenter(GetDataCenterDefaultNetwork200ResponseNetworkDataCenter $dataCenter): self { $this->initialized['dataCenter'] = true; $this->dataCenter = $dataCenter; diff --git a/src/Model/DataCentersDataCenterGetResponse200DataCenter.php b/src/Model/DataCentersDataCenterGetResponse200DataCenter.php index 12ae4cbf..5e560fb7 100644 --- a/src/Model/DataCentersDataCenterGetResponse200DataCenter.php +++ b/src/Model/DataCentersDataCenterGetResponse200DataCenter.php @@ -30,11 +30,11 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; /** - * @var GetDataCenterPartCountry + * @var GetDataCenter200ResponseDataCenterCountry */ protected $country; @@ -64,12 +64,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; @@ -77,12 +77,12 @@ public function setPermalink(string $permalink): self return $this; } - public function getCountry(): GetDataCenterPartCountry + public function getCountry(): GetDataCenter200ResponseDataCenterCountry { return $this->country; } - public function setCountry(GetDataCenterPartCountry $country): self + public function setCountry(GetDataCenter200ResponseDataCenterCountry $country): self { $this->initialized['country'] = true; $this->country = $country; diff --git a/src/Model/DataCentersDataCenterGpuTypesGetResponse200Pagination.php b/src/Model/DataCentersDataCenterGpuTypesGetResponse200Pagination.php index 021bff3b..2349d731 100644 --- a/src/Model/DataCentersDataCenterGpuTypesGetResponse200Pagination.php +++ b/src/Model/DataCentersDataCenterGpuTypesGetResponse200Pagination.php @@ -30,13 +30,13 @@ public function isInitialized($property): bool /** * The total number of pages. * - * @var int + * @var int|null */ protected $totalPages; /** * The total number of items across all pages. * - * @var int + * @var int|null */ protected $total; /** @@ -74,7 +74,7 @@ public function setCurrentPage(int $currentPage): self /** * The total number of pages. */ - public function getTotalPages(): int + public function getTotalPages(): ?int { return $this->totalPages; } @@ -82,7 +82,7 @@ public function getTotalPages(): int /** * The total number of pages. */ - public function setTotalPages(int $totalPages): self + public function setTotalPages(?int $totalPages): self { $this->initialized['totalPages'] = true; $this->totalPages = $totalPages; @@ -93,7 +93,7 @@ public function setTotalPages(int $totalPages): self /** * The total number of items across all pages. */ - public function getTotal(): int + public function getTotal(): ?int { return $this->total; } @@ -101,7 +101,7 @@ public function getTotal(): int /** * The total number of items across all pages. */ - public function setTotal(int $total): self + public function setTotal(?int $total): self { $this->initialized['total'] = true; $this->total = $total; diff --git a/src/Model/DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicy.php b/src/Model/DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicy.php index 3c3b5a45..a862dd77 100644 --- a/src/Model/DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicy.php +++ b/src/Model/DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicy.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $target; /** - * @var int + * @var int|null */ protected $autoMoveToTrashAt; @@ -60,12 +60,12 @@ public function setTarget(DiskBackupPolicyTarget $target): self return $this; } - public function getAutoMoveToTrashAt(): int + public function getAutoMoveToTrashAt(): ?int { return $this->autoMoveToTrashAt; } - public function setAutoMoveToTrashAt(int $autoMoveToTrashAt): self + public function setAutoMoveToTrashAt(?int $autoMoveToTrashAt): self { $this->initialized['autoMoveToTrashAt'] = true; $this->autoMoveToTrashAt = $autoMoveToTrashAt; diff --git a/src/Model/DeleteFileStorageVolume200ResponseFileStorageVolume.php b/src/Model/DeleteFileStorageVolume200ResponseFileStorageVolume.php index adea73a9..9d9e50fc 100644 --- a/src/Model/DeleteFileStorageVolume200ResponseFileStorageVolume.php +++ b/src/Model/DeleteFileStorageVolume200ResponseFileStorageVolume.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var DeleteFileStorageVolumePartDataCenter + * @var DeleteFileStorageVolume200ResponseFileStorageVolumeDataCenter */ protected $dataCenter; /** @@ -44,13 +44,13 @@ public function isInitialized($property): bool /** * The NFS location of where to mount the volume from. * - * @var string + * @var string|null */ protected $nfsLocation; /** * The size of the volume in bytes. * - * @var int + * @var int|null */ protected $size; @@ -80,12 +80,12 @@ public function setName(string $name): self return $this; } - public function getDataCenter(): DeleteFileStorageVolumePartDataCenter + public function getDataCenter(): DeleteFileStorageVolume200ResponseFileStorageVolumeDataCenter { return $this->dataCenter; } - public function setDataCenter(DeleteFileStorageVolumePartDataCenter $dataCenter): self + public function setDataCenter(DeleteFileStorageVolume200ResponseFileStorageVolumeDataCenter $dataCenter): self { $this->initialized['dataCenter'] = true; $this->dataCenter = $dataCenter; @@ -128,7 +128,7 @@ public function setState(string $state): self /** * The NFS location of where to mount the volume from. */ - public function getNfsLocation(): string + public function getNfsLocation(): ?string { return $this->nfsLocation; } @@ -136,7 +136,7 @@ public function getNfsLocation(): string /** * The NFS location of where to mount the volume from. */ - public function setNfsLocation(string $nfsLocation): self + public function setNfsLocation(?string $nfsLocation): self { $this->initialized['nfsLocation'] = true; $this->nfsLocation = $nfsLocation; @@ -147,7 +147,7 @@ public function setNfsLocation(string $nfsLocation): self /** * The size of the volume in bytes. */ - public function getSize(): int + public function getSize(): ?int { return $this->size; } @@ -155,7 +155,7 @@ public function getSize(): int /** * The size of the volume in bytes. */ - public function setSize(int $size): self + public function setSize(?int $size): self { $this->initialized['size'] = true; $this->size = $size; diff --git a/src/Model/DeleteFileStorageVolume200ResponseFileStorageVolumeDataCenter.php b/src/Model/DeleteFileStorageVolume200ResponseFileStorageVolumeDataCenter.php new file mode 100644 index 00000000..19d231e0 --- /dev/null +++ b/src/Model/DeleteFileStorageVolume200ResponseFileStorageVolumeDataCenter.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string|null + */ + protected $permalink; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): ?string + { + return $this->permalink; + } + + public function setPermalink(?string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } +} diff --git a/src/Model/DeleteFileStorageVolumePartDataCenter.php b/src/Model/DeleteFileStorageVolumePartDataCenter.php index 06f1e26f..68386f60 100644 --- a/src/Model/DeleteFileStorageVolumePartDataCenter.php +++ b/src/Model/DeleteFileStorageVolumePartDataCenter.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; @@ -60,12 +60,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; diff --git a/src/Model/DeleteLoadBalancer200ResponseLoadBalancer.php b/src/Model/DeleteLoadBalancer200ResponseLoadBalancer.php index 60680e40..422ee1a1 100644 --- a/src/Model/DeleteLoadBalancer200ResponseLoadBalancer.php +++ b/src/Model/DeleteLoadBalancer200ResponseLoadBalancer.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $apiReference; @@ -60,12 +60,12 @@ public function setName(string $name): self return $this; } - public function getApiReference(): string + public function getApiReference(): ?string { return $this->apiReference; } - public function setApiReference(string $apiReference): self + public function setApiReference(?string $apiReference): self { $this->initialized['apiReference'] = true; $this->apiReference = $apiReference; diff --git a/src/Model/DeleteVirtualMachine200ResponseVirtualMachine.php b/src/Model/DeleteVirtualMachine200ResponseVirtualMachine.php index 95e95c75..62fec95b 100644 --- a/src/Model/DeleteVirtualMachine200ResponseVirtualMachine.php +++ b/src/Model/DeleteVirtualMachine200ResponseVirtualMachine.php @@ -38,7 +38,7 @@ public function isInitialized($property): bool */ protected $fqdn; /** - * @var string + * @var string|null */ protected $description; /** @@ -46,7 +46,7 @@ public function isInitialized($property): bool */ protected $createdAt; /** - * @var string + * @var string|null */ protected $initialRootPassword; /** @@ -54,43 +54,43 @@ public function isInitialized($property): bool */ protected $state; /** - * @var DeleteVirtualMachinePartZone + * @var DeleteVirtualMachine200ResponseVirtualMachineZone */ protected $zone; /** - * @var DeleteVirtualMachinePartOrganization + * @var DeleteVirtualMachine200ResponseVirtualMachineOrganization */ protected $organization; /** - * @var DeleteVirtualMachinePartGroup + * @var DeleteVirtualMachine200ResponseVirtualMachineGroup|null */ protected $group; /** - * @var DeleteVirtualMachinePartPackage + * @var DeleteVirtualMachine200ResponseVirtualMachinePackage|null */ protected $package; /** - * @var DeleteVirtualMachinePartAttachedISO + * @var DeleteVirtualMachine200ResponseVirtualMachineAttachedIso|null */ protected $attachedIso; /** - * @var int + * @var int|null */ protected $memoryInGb; /** - * @var int + * @var int|null */ protected $cpuCores; /** - * @var DeleteVirtualMachinePartGPUType + * @var DeleteVirtualMachine200ResponseVirtualMachineGpuType|null */ protected $gpuType; /** - * @var DeleteVirtualMachinePartGPUs[] + * @var DeleteVirtualMachine200ResponseVirtualMachineGpusItem[] */ protected $gpus; /** - * @var DeleteVirtualMachinePartTags[] + * @var DeleteVirtualMachine200ResponseVirtualMachineTagsItem[] */ protected $tags; /** @@ -98,7 +98,7 @@ public function isInitialized($property): bool */ protected $tagNames; /** - * @var DeleteVirtualMachinePartIPAddresses[] + * @var DeleteVirtualMachine200ResponseVirtualMachineIpAddressesItem[] */ protected $ipAddresses; @@ -154,12 +154,12 @@ public function setFqdn(string $fqdn): self return $this; } - public function getDescription(): string + public function getDescription(): ?string { return $this->description; } - public function setDescription(string $description): self + public function setDescription(?string $description): self { $this->initialized['description'] = true; $this->description = $description; @@ -180,12 +180,12 @@ public function setCreatedAt(int $createdAt): self return $this; } - public function getInitialRootPassword(): string + public function getInitialRootPassword(): ?string { return $this->initialRootPassword; } - public function setInitialRootPassword(string $initialRootPassword): self + public function setInitialRootPassword(?string $initialRootPassword): self { $this->initialized['initialRootPassword'] = true; $this->initialRootPassword = $initialRootPassword; @@ -206,12 +206,12 @@ public function setState(string $state): self return $this; } - public function getZone(): DeleteVirtualMachinePartZone + public function getZone(): DeleteVirtualMachine200ResponseVirtualMachineZone { return $this->zone; } - public function setZone(DeleteVirtualMachinePartZone $zone): self + public function setZone(DeleteVirtualMachine200ResponseVirtualMachineZone $zone): self { $this->initialized['zone'] = true; $this->zone = $zone; @@ -219,12 +219,12 @@ public function setZone(DeleteVirtualMachinePartZone $zone): self return $this; } - public function getOrganization(): DeleteVirtualMachinePartOrganization + public function getOrganization(): DeleteVirtualMachine200ResponseVirtualMachineOrganization { return $this->organization; } - public function setOrganization(DeleteVirtualMachinePartOrganization $organization): self + public function setOrganization(DeleteVirtualMachine200ResponseVirtualMachineOrganization $organization): self { $this->initialized['organization'] = true; $this->organization = $organization; @@ -232,12 +232,12 @@ public function setOrganization(DeleteVirtualMachinePartOrganization $organizati return $this; } - public function getGroup(): DeleteVirtualMachinePartGroup + public function getGroup(): ?DeleteVirtualMachine200ResponseVirtualMachineGroup { return $this->group; } - public function setGroup(DeleteVirtualMachinePartGroup $group): self + public function setGroup(?DeleteVirtualMachine200ResponseVirtualMachineGroup $group): self { $this->initialized['group'] = true; $this->group = $group; @@ -245,12 +245,12 @@ public function setGroup(DeleteVirtualMachinePartGroup $group): self return $this; } - public function getPackage(): DeleteVirtualMachinePartPackage + public function getPackage(): ?DeleteVirtualMachine200ResponseVirtualMachinePackage { return $this->package; } - public function setPackage(DeleteVirtualMachinePartPackage $package): self + public function setPackage(?DeleteVirtualMachine200ResponseVirtualMachinePackage $package): self { $this->initialized['package'] = true; $this->package = $package; @@ -258,12 +258,12 @@ public function setPackage(DeleteVirtualMachinePartPackage $package): self return $this; } - public function getAttachedIso(): DeleteVirtualMachinePartAttachedISO + public function getAttachedIso(): ?DeleteVirtualMachine200ResponseVirtualMachineAttachedIso { return $this->attachedIso; } - public function setAttachedIso(DeleteVirtualMachinePartAttachedISO $attachedIso): self + public function setAttachedIso(?DeleteVirtualMachine200ResponseVirtualMachineAttachedIso $attachedIso): self { $this->initialized['attachedIso'] = true; $this->attachedIso = $attachedIso; @@ -271,12 +271,12 @@ public function setAttachedIso(DeleteVirtualMachinePartAttachedISO $attachedIso) return $this; } - public function getMemoryInGb(): int + public function getMemoryInGb(): ?int { return $this->memoryInGb; } - public function setMemoryInGb(int $memoryInGb): self + public function setMemoryInGb(?int $memoryInGb): self { $this->initialized['memoryInGb'] = true; $this->memoryInGb = $memoryInGb; @@ -284,12 +284,12 @@ public function setMemoryInGb(int $memoryInGb): self return $this; } - public function getCpuCores(): int + public function getCpuCores(): ?int { return $this->cpuCores; } - public function setCpuCores(int $cpuCores): self + public function setCpuCores(?int $cpuCores): self { $this->initialized['cpuCores'] = true; $this->cpuCores = $cpuCores; @@ -297,12 +297,12 @@ public function setCpuCores(int $cpuCores): self return $this; } - public function getGpuType(): DeleteVirtualMachinePartGPUType + public function getGpuType(): ?DeleteVirtualMachine200ResponseVirtualMachineGpuType { return $this->gpuType; } - public function setGpuType(DeleteVirtualMachinePartGPUType $gpuType): self + public function setGpuType(?DeleteVirtualMachine200ResponseVirtualMachineGpuType $gpuType): self { $this->initialized['gpuType'] = true; $this->gpuType = $gpuType; @@ -311,7 +311,7 @@ public function setGpuType(DeleteVirtualMachinePartGPUType $gpuType): self } /** - * @return DeleteVirtualMachinePartGPUs[] + * @return DeleteVirtualMachine200ResponseVirtualMachineGpusItem[] */ public function getGpus(): array { @@ -319,7 +319,7 @@ public function getGpus(): array } /** - * @param DeleteVirtualMachinePartGPUs[] $gpus + * @param DeleteVirtualMachine200ResponseVirtualMachineGpusItem[] $gpus */ public function setGpus(array $gpus): self { @@ -330,7 +330,7 @@ public function setGpus(array $gpus): self } /** - * @return DeleteVirtualMachinePartTags[] + * @return DeleteVirtualMachine200ResponseVirtualMachineTagsItem[] */ public function getTags(): array { @@ -338,7 +338,7 @@ public function getTags(): array } /** - * @param DeleteVirtualMachinePartTags[] $tags + * @param DeleteVirtualMachine200ResponseVirtualMachineTagsItem[] $tags */ public function setTags(array $tags): self { @@ -368,7 +368,7 @@ public function setTagNames(array $tagNames): self } /** - * @return DeleteVirtualMachinePartIPAddresses[] + * @return DeleteVirtualMachine200ResponseVirtualMachineIpAddressesItem[] */ public function getIpAddresses(): array { @@ -376,7 +376,7 @@ public function getIpAddresses(): array } /** - * @param DeleteVirtualMachinePartIPAddresses[] $ipAddresses + * @param DeleteVirtualMachine200ResponseVirtualMachineIpAddressesItem[] $ipAddresses */ public function setIpAddresses(array $ipAddresses): self { diff --git a/src/Model/DeleteVirtualMachine200ResponseVirtualMachineAttachedIso.php b/src/Model/DeleteVirtualMachine200ResponseVirtualMachineAttachedIso.php new file mode 100644 index 00000000..d6ad95ca --- /dev/null +++ b/src/Model/DeleteVirtualMachine200ResponseVirtualMachineAttachedIso.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var DeleteVirtualMachinePartAttachedISOOperatingSystem|null + */ + protected $operatingSystem; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getOperatingSystem(): ?DeleteVirtualMachinePartAttachedISOOperatingSystem + { + return $this->operatingSystem; + } + + public function setOperatingSystem(?DeleteVirtualMachinePartAttachedISOOperatingSystem $operatingSystem): self + { + $this->initialized['operatingSystem'] = true; + $this->operatingSystem = $operatingSystem; + + return $this; + } +} diff --git a/src/Model/DeleteVirtualMachine200ResponseVirtualMachineGpuType.php b/src/Model/DeleteVirtualMachine200ResponseVirtualMachineGpuType.php new file mode 100644 index 00000000..b3703921 --- /dev/null +++ b/src/Model/DeleteVirtualMachine200ResponseVirtualMachineGpuType.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $manufacturer; + /** + * @var int + */ + protected $memoryInGb; + /** + * @var string + */ + protected $memoryType; + /** + * @var string + */ + protected $permalink; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getManufacturer(): string + { + return $this->manufacturer; + } + + public function setManufacturer(string $manufacturer): self + { + $this->initialized['manufacturer'] = true; + $this->manufacturer = $manufacturer; + + return $this; + } + + public function getMemoryInGb(): int + { + return $this->memoryInGb; + } + + public function setMemoryInGb(int $memoryInGb): self + { + $this->initialized['memoryInGb'] = true; + $this->memoryInGb = $memoryInGb; + + return $this; + } + + public function getMemoryType(): string + { + return $this->memoryType; + } + + public function setMemoryType(string $memoryType): self + { + $this->initialized['memoryType'] = true; + $this->memoryType = $memoryType; + + return $this; + } + + public function getPermalink(): string + { + return $this->permalink; + } + + public function setPermalink(string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } +} diff --git a/src/Model/DeleteVirtualMachine200ResponseVirtualMachineGpusItem.php b/src/Model/DeleteVirtualMachine200ResponseVirtualMachineGpusItem.php new file mode 100644 index 00000000..9cb9c093 --- /dev/null +++ b/src/Model/DeleteVirtualMachine200ResponseVirtualMachineGpusItem.php @@ -0,0 +1,125 @@ +initialized); + } + /** + * Unique ID for this GPU. Not available when status is "detached". + * + * @var string|null + */ + protected $id; + /** + * @var string + */ + protected $status; + /** + * @var string + */ + protected $pendingAction; + /** + * When pending action is "attach", this indicates if there is a GPU of the relevant type available. + * + * @var bool + */ + protected $available; + /** + * @var DeleteVirtualMachinePartGPUsType + */ + protected $type; + + /** + * Unique ID for this GPU. Not available when status is "detached". + */ + public function getId(): ?string + { + return $this->id; + } + + /** + * Unique ID for this GPU. Not available when status is "detached". + */ + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getStatus(): string + { + return $this->status; + } + + public function setStatus(string $status): self + { + $this->initialized['status'] = true; + $this->status = $status; + + return $this; + } + + public function getPendingAction(): string + { + return $this->pendingAction; + } + + public function setPendingAction(string $pendingAction): self + { + $this->initialized['pendingAction'] = true; + $this->pendingAction = $pendingAction; + + return $this; + } + + /** + * When pending action is "attach", this indicates if there is a GPU of the relevant type available. + */ + public function getAvailable(): bool + { + return $this->available; + } + + /** + * When pending action is "attach", this indicates if there is a GPU of the relevant type available. + */ + public function setAvailable(bool $available): self + { + $this->initialized['available'] = true; + $this->available = $available; + + return $this; + } + + public function getType(): DeleteVirtualMachinePartGPUsType + { + return $this->type; + } + + public function setType(DeleteVirtualMachinePartGPUsType $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/DeleteVirtualMachine200ResponseVirtualMachineGroup.php b/src/Model/DeleteVirtualMachine200ResponseVirtualMachineGroup.php new file mode 100644 index 00000000..30bdc801 --- /dev/null +++ b/src/Model/DeleteVirtualMachine200ResponseVirtualMachineGroup.php @@ -0,0 +1,109 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var bool + */ + protected $segregate; + /** + * @var bool + */ + protected $autoSegregate; + /** + * @var int + */ + protected $createdAt; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getSegregate(): bool + { + return $this->segregate; + } + + public function setSegregate(bool $segregate): self + { + $this->initialized['segregate'] = true; + $this->segregate = $segregate; + + return $this; + } + + public function getAutoSegregate(): bool + { + return $this->autoSegregate; + } + + public function setAutoSegregate(bool $autoSegregate): self + { + $this->initialized['autoSegregate'] = true; + $this->autoSegregate = $autoSegregate; + + return $this; + } + + public function getCreatedAt(): int + { + return $this->createdAt; + } + + public function setCreatedAt(int $createdAt): self + { + $this->initialized['createdAt'] = true; + $this->createdAt = $createdAt; + + return $this; + } +} diff --git a/src/Model/DeleteVirtualMachine200ResponseVirtualMachineIpAddressesItem.php b/src/Model/DeleteVirtualMachine200ResponseVirtualMachineIpAddressesItem.php new file mode 100644 index 00000000..e2c8b1fe --- /dev/null +++ b/src/Model/DeleteVirtualMachine200ResponseVirtualMachineIpAddressesItem.php @@ -0,0 +1,177 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $address; + /** + * @var string + */ + protected $reverseDns; + /** + * @var bool + */ + protected $vip; + /** + * @var string|null + */ + protected $label; + /** + * @var string + */ + protected $addressWithMask; + /** + * @var DeleteVirtualMachinePartIPAddressesNetwork + */ + protected $network; + /** + * @var string|null + */ + protected $allocationId; + /** + * @var string|null + */ + protected $allocationType; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getAddress(): string + { + return $this->address; + } + + public function setAddress(string $address): self + { + $this->initialized['address'] = true; + $this->address = $address; + + return $this; + } + + public function getReverseDns(): string + { + return $this->reverseDns; + } + + public function setReverseDns(string $reverseDns): self + { + $this->initialized['reverseDns'] = true; + $this->reverseDns = $reverseDns; + + return $this; + } + + public function getVip(): bool + { + return $this->vip; + } + + public function setVip(bool $vip): self + { + $this->initialized['vip'] = true; + $this->vip = $vip; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + public function getAddressWithMask(): string + { + return $this->addressWithMask; + } + + public function setAddressWithMask(string $addressWithMask): self + { + $this->initialized['addressWithMask'] = true; + $this->addressWithMask = $addressWithMask; + + return $this; + } + + public function getNetwork(): DeleteVirtualMachinePartIPAddressesNetwork + { + return $this->network; + } + + public function setNetwork(DeleteVirtualMachinePartIPAddressesNetwork $network): self + { + $this->initialized['network'] = true; + $this->network = $network; + + return $this; + } + + public function getAllocationId(): ?string + { + return $this->allocationId; + } + + public function setAllocationId(?string $allocationId): self + { + $this->initialized['allocationId'] = true; + $this->allocationId = $allocationId; + + return $this; + } + + public function getAllocationType(): ?string + { + return $this->allocationType; + } + + public function setAllocationType(?string $allocationType): self + { + $this->initialized['allocationType'] = true; + $this->allocationType = $allocationType; + + return $this; + } +} diff --git a/src/Model/DeleteVirtualMachine200ResponseVirtualMachineOrganization.php b/src/Model/DeleteVirtualMachine200ResponseVirtualMachineOrganization.php new file mode 100644 index 00000000..189c4d3a --- /dev/null +++ b/src/Model/DeleteVirtualMachine200ResponseVirtualMachineOrganization.php @@ -0,0 +1,330 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $subDomain; + /** + * @var string + */ + protected $infrastructureDomain; + /** + * @var int + */ + protected $createdAt; + /** + * @var bool + */ + protected $suspended; + /** + * @var bool + */ + protected $managed; + /** + * @var string|null + */ + protected $billingName; + /** + * @var string|null + */ + protected $address1; + /** + * @var string|null + */ + protected $address2; + /** + * @var string|null + */ + protected $address3; + /** + * @var string|null + */ + protected $address4; + /** + * @var string|null + */ + protected $postcode; + /** + * @var string|null + */ + protected $vatNumber; + /** + * @var string|null + */ + protected $phoneNumber; + /** + * @var DeleteVirtualMachinePartOrganizationCurrency + */ + protected $currency; + /** + * @var DeleteVirtualMachinePartOrganizationCountry|null + */ + protected $country; + /** + * @var DeleteVirtualMachinePartOrganizationCountryState|null + */ + protected $countryState; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getSubDomain(): string + { + return $this->subDomain; + } + + public function setSubDomain(string $subDomain): self + { + $this->initialized['subDomain'] = true; + $this->subDomain = $subDomain; + + return $this; + } + + public function getInfrastructureDomain(): string + { + return $this->infrastructureDomain; + } + + public function setInfrastructureDomain(string $infrastructureDomain): self + { + $this->initialized['infrastructureDomain'] = true; + $this->infrastructureDomain = $infrastructureDomain; + + return $this; + } + + public function getCreatedAt(): int + { + return $this->createdAt; + } + + public function setCreatedAt(int $createdAt): self + { + $this->initialized['createdAt'] = true; + $this->createdAt = $createdAt; + + return $this; + } + + public function getSuspended(): bool + { + return $this->suspended; + } + + public function setSuspended(bool $suspended): self + { + $this->initialized['suspended'] = true; + $this->suspended = $suspended; + + return $this; + } + + public function getManaged(): bool + { + return $this->managed; + } + + public function setManaged(bool $managed): self + { + $this->initialized['managed'] = true; + $this->managed = $managed; + + return $this; + } + + public function getBillingName(): ?string + { + return $this->billingName; + } + + public function setBillingName(?string $billingName): self + { + $this->initialized['billingName'] = true; + $this->billingName = $billingName; + + return $this; + } + + public function getAddress1(): ?string + { + return $this->address1; + } + + public function setAddress1(?string $address1): self + { + $this->initialized['address1'] = true; + $this->address1 = $address1; + + return $this; + } + + public function getAddress2(): ?string + { + return $this->address2; + } + + public function setAddress2(?string $address2): self + { + $this->initialized['address2'] = true; + $this->address2 = $address2; + + return $this; + } + + public function getAddress3(): ?string + { + return $this->address3; + } + + public function setAddress3(?string $address3): self + { + $this->initialized['address3'] = true; + $this->address3 = $address3; + + return $this; + } + + public function getAddress4(): ?string + { + return $this->address4; + } + + public function setAddress4(?string $address4): self + { + $this->initialized['address4'] = true; + $this->address4 = $address4; + + return $this; + } + + public function getPostcode(): ?string + { + return $this->postcode; + } + + public function setPostcode(?string $postcode): self + { + $this->initialized['postcode'] = true; + $this->postcode = $postcode; + + return $this; + } + + public function getVatNumber(): ?string + { + return $this->vatNumber; + } + + public function setVatNumber(?string $vatNumber): self + { + $this->initialized['vatNumber'] = true; + $this->vatNumber = $vatNumber; + + return $this; + } + + public function getPhoneNumber(): ?string + { + return $this->phoneNumber; + } + + public function setPhoneNumber(?string $phoneNumber): self + { + $this->initialized['phoneNumber'] = true; + $this->phoneNumber = $phoneNumber; + + return $this; + } + + public function getCurrency(): DeleteVirtualMachinePartOrganizationCurrency + { + return $this->currency; + } + + public function setCurrency(DeleteVirtualMachinePartOrganizationCurrency $currency): self + { + $this->initialized['currency'] = true; + $this->currency = $currency; + + return $this; + } + + public function getCountry(): ?DeleteVirtualMachinePartOrganizationCountry + { + return $this->country; + } + + public function setCountry(?DeleteVirtualMachinePartOrganizationCountry $country): self + { + $this->initialized['country'] = true; + $this->country = $country; + + return $this; + } + + public function getCountryState(): ?DeleteVirtualMachinePartOrganizationCountryState + { + return $this->countryState; + } + + public function setCountryState(?DeleteVirtualMachinePartOrganizationCountryState $countryState): self + { + $this->initialized['countryState'] = true; + $this->countryState = $countryState; + + return $this; + } +} diff --git a/src/Model/DeleteVirtualMachine200ResponseVirtualMachinePackage.php b/src/Model/DeleteVirtualMachine200ResponseVirtualMachinePackage.php new file mode 100644 index 00000000..e3199620 --- /dev/null +++ b/src/Model/DeleteVirtualMachine200ResponseVirtualMachinePackage.php @@ -0,0 +1,194 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $permalink; + /** + * @var int + */ + protected $cpuCores; + /** + * @var int + */ + protected $ipv4Addresses; + /** + * @var int + */ + protected $memoryInGb; + /** + * @var int + */ + protected $storageInGb; + /** + * @var int|null + */ + protected $monthlyBandwidthAllowanceInGb; + /** + * @var string + */ + protected $privacy; + /** + * @var DeleteVirtualMachinePartPackageIcon|null + */ + protected $icon; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): string + { + return $this->permalink; + } + + public function setPermalink(string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } + + public function getCpuCores(): int + { + return $this->cpuCores; + } + + public function setCpuCores(int $cpuCores): self + { + $this->initialized['cpuCores'] = true; + $this->cpuCores = $cpuCores; + + return $this; + } + + public function getIpv4Addresses(): int + { + return $this->ipv4Addresses; + } + + public function setIpv4Addresses(int $ipv4Addresses): self + { + $this->initialized['ipv4Addresses'] = true; + $this->ipv4Addresses = $ipv4Addresses; + + return $this; + } + + public function getMemoryInGb(): int + { + return $this->memoryInGb; + } + + public function setMemoryInGb(int $memoryInGb): self + { + $this->initialized['memoryInGb'] = true; + $this->memoryInGb = $memoryInGb; + + return $this; + } + + public function getStorageInGb(): int + { + return $this->storageInGb; + } + + public function setStorageInGb(int $storageInGb): self + { + $this->initialized['storageInGb'] = true; + $this->storageInGb = $storageInGb; + + return $this; + } + + public function getMonthlyBandwidthAllowanceInGb(): ?int + { + return $this->monthlyBandwidthAllowanceInGb; + } + + public function setMonthlyBandwidthAllowanceInGb(?int $monthlyBandwidthAllowanceInGb): self + { + $this->initialized['monthlyBandwidthAllowanceInGb'] = true; + $this->monthlyBandwidthAllowanceInGb = $monthlyBandwidthAllowanceInGb; + + return $this; + } + + public function getPrivacy(): string + { + return $this->privacy; + } + + public function setPrivacy(string $privacy): self + { + $this->initialized['privacy'] = true; + $this->privacy = $privacy; + + return $this; + } + + public function getIcon(): ?DeleteVirtualMachinePartPackageIcon + { + return $this->icon; + } + + public function setIcon(?DeleteVirtualMachinePartPackageIcon $icon): self + { + $this->initialized['icon'] = true; + $this->icon = $icon; + + return $this; + } +} diff --git a/src/Model/DeleteVirtualMachine200ResponseVirtualMachineTagsItem.php b/src/Model/DeleteVirtualMachine200ResponseVirtualMachineTagsItem.php new file mode 100644 index 00000000..55b35121 --- /dev/null +++ b/src/Model/DeleteVirtualMachine200ResponseVirtualMachineTagsItem.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $color; + /** + * @var int + */ + protected $createdAt; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getColor(): string + { + return $this->color; + } + + public function setColor(string $color): self + { + $this->initialized['color'] = true; + $this->color = $color; + + return $this; + } + + public function getCreatedAt(): int + { + return $this->createdAt; + } + + public function setCreatedAt(int $createdAt): self + { + $this->initialized['createdAt'] = true; + $this->createdAt = $createdAt; + + return $this; + } +} diff --git a/src/Model/DeleteVirtualMachine200ResponseVirtualMachineZone.php b/src/Model/DeleteVirtualMachine200ResponseVirtualMachineZone.php new file mode 100644 index 00000000..1052cca8 --- /dev/null +++ b/src/Model/DeleteVirtualMachine200ResponseVirtualMachineZone.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string|null + */ + protected $permalink; + /** + * @var DeleteVirtualMachinePartZoneDataCenter + */ + protected $dataCenter; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): ?string + { + return $this->permalink; + } + + public function setPermalink(?string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } + + public function getDataCenter(): DeleteVirtualMachinePartZoneDataCenter + { + return $this->dataCenter; + } + + public function setDataCenter(DeleteVirtualMachinePartZoneDataCenter $dataCenter): self + { + $this->initialized['dataCenter'] = true; + $this->dataCenter = $dataCenter; + + return $this; + } +} diff --git a/src/Model/DeleteVirtualMachinePartAttachedISO.php b/src/Model/DeleteVirtualMachinePartAttachedISO.php index 0bd8d26b..96b6fc46 100644 --- a/src/Model/DeleteVirtualMachinePartAttachedISO.php +++ b/src/Model/DeleteVirtualMachinePartAttachedISO.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var DeleteVirtualMachinePartOperatingSystem + * @var DeleteVirtualMachinePartAttachedISOOperatingSystem|null */ protected $operatingSystem; @@ -60,12 +60,12 @@ public function setName(string $name): self return $this; } - public function getOperatingSystem(): DeleteVirtualMachinePartOperatingSystem + public function getOperatingSystem(): ?DeleteVirtualMachinePartAttachedISOOperatingSystem { return $this->operatingSystem; } - public function setOperatingSystem(DeleteVirtualMachinePartOperatingSystem $operatingSystem): self + public function setOperatingSystem(?DeleteVirtualMachinePartAttachedISOOperatingSystem $operatingSystem): self { $this->initialized['operatingSystem'] = true; $this->operatingSystem = $operatingSystem; diff --git a/src/Model/DeleteVirtualMachinePartAttachedISOOperatingSystem.php b/src/Model/DeleteVirtualMachinePartAttachedISOOperatingSystem.php new file mode 100644 index 00000000..e77710aa --- /dev/null +++ b/src/Model/DeleteVirtualMachinePartAttachedISOOperatingSystem.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var DeleteVirtualMachinePartOperatingSystemBadge|null + */ + protected $badge; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getBadge(): ?DeleteVirtualMachinePartOperatingSystemBadge + { + return $this->badge; + } + + public function setBadge(?DeleteVirtualMachinePartOperatingSystemBadge $badge): self + { + $this->initialized['badge'] = true; + $this->badge = $badge; + + return $this; + } +} diff --git a/src/Model/DeleteVirtualMachinePartCountry.php b/src/Model/DeleteVirtualMachinePartCountry.php index 8d571770..7db04a5b 100644 --- a/src/Model/DeleteVirtualMachinePartCountry.php +++ b/src/Model/DeleteVirtualMachinePartCountry.php @@ -38,7 +38,7 @@ public function isInitialized($property): bool */ protected $isoCode3; /** - * @var string + * @var string|null */ protected $timeZone; /** @@ -98,12 +98,12 @@ public function setIsoCode3(string $isoCode3): self return $this; } - public function getTimeZone(): string + public function getTimeZone(): ?string { return $this->timeZone; } - public function setTimeZone(string $timeZone): self + public function setTimeZone(?string $timeZone): self { $this->initialized['timeZone'] = true; $this->timeZone = $timeZone; diff --git a/src/Model/DeleteVirtualMachinePartCountryState.php b/src/Model/DeleteVirtualMachinePartCountryState.php index ce30a4dc..20c2d69e 100644 --- a/src/Model/DeleteVirtualMachinePartCountryState.php +++ b/src/Model/DeleteVirtualMachinePartCountryState.php @@ -34,7 +34,7 @@ public function isInitialized($property): bool */ protected $code; /** - * @var DeleteVirtualMachinePartCountry + * @var DeleteVirtualMachinePartCountryStateCountry */ protected $country; @@ -77,12 +77,12 @@ public function setCode(string $code): self return $this; } - public function getCountry(): DeleteVirtualMachinePartCountry + public function getCountry(): DeleteVirtualMachinePartCountryStateCountry { return $this->country; } - public function setCountry(DeleteVirtualMachinePartCountry $country): self + public function setCountry(DeleteVirtualMachinePartCountryStateCountry $country): self { $this->initialized['country'] = true; $this->country = $country; diff --git a/src/Model/DeleteVirtualMachinePartCountryStateCountry.php b/src/Model/DeleteVirtualMachinePartCountryStateCountry.php new file mode 100644 index 00000000..a5118aaf --- /dev/null +++ b/src/Model/DeleteVirtualMachinePartCountryStateCountry.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $isoCode2; + /** + * @var string + */ + protected $isoCode3; + /** + * @var string|null + */ + protected $timeZone; + /** + * @var bool + */ + protected $eu; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getIsoCode2(): string + { + return $this->isoCode2; + } + + public function setIsoCode2(string $isoCode2): self + { + $this->initialized['isoCode2'] = true; + $this->isoCode2 = $isoCode2; + + return $this; + } + + public function getIsoCode3(): string + { + return $this->isoCode3; + } + + public function setIsoCode3(string $isoCode3): self + { + $this->initialized['isoCode3'] = true; + $this->isoCode3 = $isoCode3; + + return $this; + } + + public function getTimeZone(): ?string + { + return $this->timeZone; + } + + public function setTimeZone(?string $timeZone): self + { + $this->initialized['timeZone'] = true; + $this->timeZone = $timeZone; + + return $this; + } + + public function getEu(): bool + { + return $this->eu; + } + + public function setEu(bool $eu): self + { + $this->initialized['eu'] = true; + $this->eu = $eu; + + return $this; + } +} diff --git a/src/Model/DeleteVirtualMachinePartDataCenter.php b/src/Model/DeleteVirtualMachinePartDataCenter.php index c5a9cff3..83503e05 100644 --- a/src/Model/DeleteVirtualMachinePartDataCenter.php +++ b/src/Model/DeleteVirtualMachinePartDataCenter.php @@ -30,11 +30,11 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; /** - * @var DeleteVirtualMachinePartCountry + * @var DeleteVirtualMachinePartDataCenterCountry */ protected $country; @@ -64,12 +64,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; @@ -77,12 +77,12 @@ public function setPermalink(string $permalink): self return $this; } - public function getCountry(): DeleteVirtualMachinePartCountry + public function getCountry(): DeleteVirtualMachinePartDataCenterCountry { return $this->country; } - public function setCountry(DeleteVirtualMachinePartCountry $country): self + public function setCountry(DeleteVirtualMachinePartDataCenterCountry $country): self { $this->initialized['country'] = true; $this->country = $country; diff --git a/src/Model/DeleteVirtualMachinePartDataCenterCountry.php b/src/Model/DeleteVirtualMachinePartDataCenterCountry.php new file mode 100644 index 00000000..b28af121 --- /dev/null +++ b/src/Model/DeleteVirtualMachinePartDataCenterCountry.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $isoCode2; + /** + * @var string + */ + protected $isoCode3; + /** + * @var string|null + */ + protected $timeZone; + /** + * @var bool + */ + protected $eu; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getIsoCode2(): string + { + return $this->isoCode2; + } + + public function setIsoCode2(string $isoCode2): self + { + $this->initialized['isoCode2'] = true; + $this->isoCode2 = $isoCode2; + + return $this; + } + + public function getIsoCode3(): string + { + return $this->isoCode3; + } + + public function setIsoCode3(string $isoCode3): self + { + $this->initialized['isoCode3'] = true; + $this->isoCode3 = $isoCode3; + + return $this; + } + + public function getTimeZone(): ?string + { + return $this->timeZone; + } + + public function setTimeZone(?string $timeZone): self + { + $this->initialized['timeZone'] = true; + $this->timeZone = $timeZone; + + return $this; + } + + public function getEu(): bool + { + return $this->eu; + } + + public function setEu(bool $eu): self + { + $this->initialized['eu'] = true; + $this->eu = $eu; + + return $this; + } +} diff --git a/src/Model/DeleteVirtualMachinePartGPUs.php b/src/Model/DeleteVirtualMachinePartGPUs.php index 8931cb85..c5bdb83f 100644 --- a/src/Model/DeleteVirtualMachinePartGPUs.php +++ b/src/Model/DeleteVirtualMachinePartGPUs.php @@ -24,7 +24,7 @@ public function isInitialized($property): bool /** * Unique ID for this GPU. Not available when status is "detached". * - * @var string + * @var string|null */ protected $id; /** @@ -42,14 +42,14 @@ public function isInitialized($property): bool */ protected $available; /** - * @var DeleteVirtualMachinePartType + * @var DeleteVirtualMachinePartGPUsType */ protected $type; /** * Unique ID for this GPU. Not available when status is "detached". */ - public function getId(): string + public function getId(): ?string { return $this->id; } @@ -57,7 +57,7 @@ public function getId(): string /** * Unique ID for this GPU. Not available when status is "detached". */ - public function setId(string $id): self + public function setId(?string $id): self { $this->initialized['id'] = true; $this->id = $id; @@ -110,12 +110,12 @@ public function setAvailable(bool $available): self return $this; } - public function getType(): DeleteVirtualMachinePartType + public function getType(): DeleteVirtualMachinePartGPUsType { return $this->type; } - public function setType(DeleteVirtualMachinePartType $type): self + public function setType(DeleteVirtualMachinePartGPUsType $type): self { $this->initialized['type'] = true; $this->type = $type; diff --git a/src/Model/DeleteVirtualMachinePartGPUsType.php b/src/Model/DeleteVirtualMachinePartGPUsType.php new file mode 100644 index 00000000..88f04b70 --- /dev/null +++ b/src/Model/DeleteVirtualMachinePartGPUsType.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $manufacturer; + /** + * @var int + */ + protected $memoryInGb; + /** + * @var string + */ + protected $memoryType; + /** + * @var string + */ + protected $permalink; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getManufacturer(): string + { + return $this->manufacturer; + } + + public function setManufacturer(string $manufacturer): self + { + $this->initialized['manufacturer'] = true; + $this->manufacturer = $manufacturer; + + return $this; + } + + public function getMemoryInGb(): int + { + return $this->memoryInGb; + } + + public function setMemoryInGb(int $memoryInGb): self + { + $this->initialized['memoryInGb'] = true; + $this->memoryInGb = $memoryInGb; + + return $this; + } + + public function getMemoryType(): string + { + return $this->memoryType; + } + + public function setMemoryType(string $memoryType): self + { + $this->initialized['memoryType'] = true; + $this->memoryType = $memoryType; + + return $this; + } + + public function getPermalink(): string + { + return $this->permalink; + } + + public function setPermalink(string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } +} diff --git a/src/Model/DeleteVirtualMachinePartIPAddresses.php b/src/Model/DeleteVirtualMachinePartIPAddresses.php index 29f3225c..89e9a5a7 100644 --- a/src/Model/DeleteVirtualMachinePartIPAddresses.php +++ b/src/Model/DeleteVirtualMachinePartIPAddresses.php @@ -38,7 +38,7 @@ public function isInitialized($property): bool */ protected $vip; /** - * @var string + * @var string|null */ protected $label; /** @@ -46,15 +46,15 @@ public function isInitialized($property): bool */ protected $addressWithMask; /** - * @var DeleteVirtualMachinePartNetwork + * @var DeleteVirtualMachinePartIPAddressesNetwork */ protected $network; /** - * @var string + * @var string|null */ protected $allocationId; /** - * @var string + * @var string|null */ protected $allocationType; @@ -110,12 +110,12 @@ public function setVip(bool $vip): self return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->initialized['label'] = true; $this->label = $label; @@ -136,12 +136,12 @@ public function setAddressWithMask(string $addressWithMask): self return $this; } - public function getNetwork(): DeleteVirtualMachinePartNetwork + public function getNetwork(): DeleteVirtualMachinePartIPAddressesNetwork { return $this->network; } - public function setNetwork(DeleteVirtualMachinePartNetwork $network): self + public function setNetwork(DeleteVirtualMachinePartIPAddressesNetwork $network): self { $this->initialized['network'] = true; $this->network = $network; @@ -149,12 +149,12 @@ public function setNetwork(DeleteVirtualMachinePartNetwork $network): self return $this; } - public function getAllocationId(): string + public function getAllocationId(): ?string { return $this->allocationId; } - public function setAllocationId(string $allocationId): self + public function setAllocationId(?string $allocationId): self { $this->initialized['allocationId'] = true; $this->allocationId = $allocationId; @@ -162,12 +162,12 @@ public function setAllocationId(string $allocationId): self return $this; } - public function getAllocationType(): string + public function getAllocationType(): ?string { return $this->allocationType; } - public function setAllocationType(string $allocationType): self + public function setAllocationType(?string $allocationType): self { $this->initialized['allocationType'] = true; $this->allocationType = $allocationType; diff --git a/src/Model/DeleteVirtualMachinePartIPAddressesNetwork.php b/src/Model/DeleteVirtualMachinePartIPAddressesNetwork.php new file mode 100644 index 00000000..da335f1b --- /dev/null +++ b/src/Model/DeleteVirtualMachinePartIPAddressesNetwork.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string|null + */ + protected $permalink; + /** + * @var DeleteVirtualMachinePartNetworkDataCenter + */ + protected $dataCenter; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): ?string + { + return $this->permalink; + } + + public function setPermalink(?string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } + + public function getDataCenter(): DeleteVirtualMachinePartNetworkDataCenter + { + return $this->dataCenter; + } + + public function setDataCenter(DeleteVirtualMachinePartNetworkDataCenter $dataCenter): self + { + $this->initialized['dataCenter'] = true; + $this->dataCenter = $dataCenter; + + return $this; + } +} diff --git a/src/Model/DeleteVirtualMachinePartNetwork.php b/src/Model/DeleteVirtualMachinePartNetwork.php index c6967bc6..a1bdfa92 100644 --- a/src/Model/DeleteVirtualMachinePartNetwork.php +++ b/src/Model/DeleteVirtualMachinePartNetwork.php @@ -30,11 +30,11 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; /** - * @var DeleteVirtualMachinePartDataCenter + * @var DeleteVirtualMachinePartNetworkDataCenter */ protected $dataCenter; @@ -64,12 +64,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; @@ -77,12 +77,12 @@ public function setPermalink(string $permalink): self return $this; } - public function getDataCenter(): DeleteVirtualMachinePartDataCenter + public function getDataCenter(): DeleteVirtualMachinePartNetworkDataCenter { return $this->dataCenter; } - public function setDataCenter(DeleteVirtualMachinePartDataCenter $dataCenter): self + public function setDataCenter(DeleteVirtualMachinePartNetworkDataCenter $dataCenter): self { $this->initialized['dataCenter'] = true; $this->dataCenter = $dataCenter; diff --git a/src/Model/DeleteVirtualMachinePartNetworkDataCenter.php b/src/Model/DeleteVirtualMachinePartNetworkDataCenter.php new file mode 100644 index 00000000..bec7a688 --- /dev/null +++ b/src/Model/DeleteVirtualMachinePartNetworkDataCenter.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string|null + */ + protected $permalink; + /** + * @var DeleteVirtualMachinePartDataCenterCountry + */ + protected $country; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): ?string + { + return $this->permalink; + } + + public function setPermalink(?string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } + + public function getCountry(): DeleteVirtualMachinePartDataCenterCountry + { + return $this->country; + } + + public function setCountry(DeleteVirtualMachinePartDataCenterCountry $country): self + { + $this->initialized['country'] = true; + $this->country = $country; + + return $this; + } +} diff --git a/src/Model/DeleteVirtualMachinePartOperatingSystem.php b/src/Model/DeleteVirtualMachinePartOperatingSystem.php index e030fd38..db548a9a 100644 --- a/src/Model/DeleteVirtualMachinePartOperatingSystem.php +++ b/src/Model/DeleteVirtualMachinePartOperatingSystem.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var DeleteVirtualMachinePartBadge + * @var DeleteVirtualMachinePartOperatingSystemBadge|null */ protected $badge; @@ -60,12 +60,12 @@ public function setName(string $name): self return $this; } - public function getBadge(): DeleteVirtualMachinePartBadge + public function getBadge(): ?DeleteVirtualMachinePartOperatingSystemBadge { return $this->badge; } - public function setBadge(DeleteVirtualMachinePartBadge $badge): self + public function setBadge(?DeleteVirtualMachinePartOperatingSystemBadge $badge): self { $this->initialized['badge'] = true; $this->badge = $badge; diff --git a/src/Model/DeleteVirtualMachinePartOperatingSystemBadge.php b/src/Model/DeleteVirtualMachinePartOperatingSystemBadge.php new file mode 100644 index 00000000..37bc2e98 --- /dev/null +++ b/src/Model/DeleteVirtualMachinePartOperatingSystemBadge.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var string + */ + protected $url; + /** + * @var string + */ + protected $fileName; + /** + * @var string + */ + protected $fileType; + /** + * @var int + */ + protected $fileSize; + /** + * @var string + */ + protected $digest; + /** + * @var string + */ + protected $token; + + public function getUrl(): string + { + return $this->url; + } + + public function setUrl(string $url): self + { + $this->initialized['url'] = true; + $this->url = $url; + + return $this; + } + + public function getFileName(): string + { + return $this->fileName; + } + + public function setFileName(string $fileName): self + { + $this->initialized['fileName'] = true; + $this->fileName = $fileName; + + return $this; + } + + public function getFileType(): string + { + return $this->fileType; + } + + public function setFileType(string $fileType): self + { + $this->initialized['fileType'] = true; + $this->fileType = $fileType; + + return $this; + } + + public function getFileSize(): int + { + return $this->fileSize; + } + + public function setFileSize(int $fileSize): self + { + $this->initialized['fileSize'] = true; + $this->fileSize = $fileSize; + + return $this; + } + + public function getDigest(): string + { + return $this->digest; + } + + public function setDigest(string $digest): self + { + $this->initialized['digest'] = true; + $this->digest = $digest; + + return $this; + } + + public function getToken(): string + { + return $this->token; + } + + public function setToken(string $token): self + { + $this->initialized['token'] = true; + $this->token = $token; + + return $this; + } +} diff --git a/src/Model/DeleteVirtualMachinePartOrganization.php b/src/Model/DeleteVirtualMachinePartOrganization.php index 4e414c05..4242c813 100644 --- a/src/Model/DeleteVirtualMachinePartOrganization.php +++ b/src/Model/DeleteVirtualMachinePartOrganization.php @@ -50,47 +50,47 @@ public function isInitialized($property): bool */ protected $managed; /** - * @var string + * @var string|null */ protected $billingName; /** - * @var string + * @var string|null */ protected $address1; /** - * @var string + * @var string|null */ protected $address2; /** - * @var string + * @var string|null */ protected $address3; /** - * @var string + * @var string|null */ protected $address4; /** - * @var string + * @var string|null */ protected $postcode; /** - * @var string + * @var string|null */ protected $vatNumber; /** - * @var string + * @var string|null */ protected $phoneNumber; /** - * @var DeleteVirtualMachinePartCurrency + * @var DeleteVirtualMachinePartOrganizationCurrency */ protected $currency; /** - * @var DeleteVirtualMachinePartCountry + * @var DeleteVirtualMachinePartOrganizationCountry|null */ protected $country; /** - * @var DeleteVirtualMachinePartCountryState + * @var DeleteVirtualMachinePartOrganizationCountryState|null */ protected $countryState; @@ -185,12 +185,12 @@ public function setManaged(bool $managed): self return $this; } - public function getBillingName(): string + public function getBillingName(): ?string { return $this->billingName; } - public function setBillingName(string $billingName): self + public function setBillingName(?string $billingName): self { $this->initialized['billingName'] = true; $this->billingName = $billingName; @@ -198,12 +198,12 @@ public function setBillingName(string $billingName): self return $this; } - public function getAddress1(): string + public function getAddress1(): ?string { return $this->address1; } - public function setAddress1(string $address1): self + public function setAddress1(?string $address1): self { $this->initialized['address1'] = true; $this->address1 = $address1; @@ -211,12 +211,12 @@ public function setAddress1(string $address1): self return $this; } - public function getAddress2(): string + public function getAddress2(): ?string { return $this->address2; } - public function setAddress2(string $address2): self + public function setAddress2(?string $address2): self { $this->initialized['address2'] = true; $this->address2 = $address2; @@ -224,12 +224,12 @@ public function setAddress2(string $address2): self return $this; } - public function getAddress3(): string + public function getAddress3(): ?string { return $this->address3; } - public function setAddress3(string $address3): self + public function setAddress3(?string $address3): self { $this->initialized['address3'] = true; $this->address3 = $address3; @@ -237,12 +237,12 @@ public function setAddress3(string $address3): self return $this; } - public function getAddress4(): string + public function getAddress4(): ?string { return $this->address4; } - public function setAddress4(string $address4): self + public function setAddress4(?string $address4): self { $this->initialized['address4'] = true; $this->address4 = $address4; @@ -250,12 +250,12 @@ public function setAddress4(string $address4): self return $this; } - public function getPostcode(): string + public function getPostcode(): ?string { return $this->postcode; } - public function setPostcode(string $postcode): self + public function setPostcode(?string $postcode): self { $this->initialized['postcode'] = true; $this->postcode = $postcode; @@ -263,12 +263,12 @@ public function setPostcode(string $postcode): self return $this; } - public function getVatNumber(): string + public function getVatNumber(): ?string { return $this->vatNumber; } - public function setVatNumber(string $vatNumber): self + public function setVatNumber(?string $vatNumber): self { $this->initialized['vatNumber'] = true; $this->vatNumber = $vatNumber; @@ -276,12 +276,12 @@ public function setVatNumber(string $vatNumber): self return $this; } - public function getPhoneNumber(): string + public function getPhoneNumber(): ?string { return $this->phoneNumber; } - public function setPhoneNumber(string $phoneNumber): self + public function setPhoneNumber(?string $phoneNumber): self { $this->initialized['phoneNumber'] = true; $this->phoneNumber = $phoneNumber; @@ -289,12 +289,12 @@ public function setPhoneNumber(string $phoneNumber): self return $this; } - public function getCurrency(): DeleteVirtualMachinePartCurrency + public function getCurrency(): DeleteVirtualMachinePartOrganizationCurrency { return $this->currency; } - public function setCurrency(DeleteVirtualMachinePartCurrency $currency): self + public function setCurrency(DeleteVirtualMachinePartOrganizationCurrency $currency): self { $this->initialized['currency'] = true; $this->currency = $currency; @@ -302,12 +302,12 @@ public function setCurrency(DeleteVirtualMachinePartCurrency $currency): self return $this; } - public function getCountry(): DeleteVirtualMachinePartCountry + public function getCountry(): ?DeleteVirtualMachinePartOrganizationCountry { return $this->country; } - public function setCountry(DeleteVirtualMachinePartCountry $country): self + public function setCountry(?DeleteVirtualMachinePartOrganizationCountry $country): self { $this->initialized['country'] = true; $this->country = $country; @@ -315,12 +315,12 @@ public function setCountry(DeleteVirtualMachinePartCountry $country): self return $this; } - public function getCountryState(): DeleteVirtualMachinePartCountryState + public function getCountryState(): ?DeleteVirtualMachinePartOrganizationCountryState { return $this->countryState; } - public function setCountryState(DeleteVirtualMachinePartCountryState $countryState): self + public function setCountryState(?DeleteVirtualMachinePartOrganizationCountryState $countryState): self { $this->initialized['countryState'] = true; $this->countryState = $countryState; diff --git a/src/Model/DeleteVirtualMachinePartOrganizationCountry.php b/src/Model/DeleteVirtualMachinePartOrganizationCountry.php new file mode 100644 index 00000000..8b0877c7 --- /dev/null +++ b/src/Model/DeleteVirtualMachinePartOrganizationCountry.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $isoCode2; + /** + * @var string + */ + protected $isoCode3; + /** + * @var string|null + */ + protected $timeZone; + /** + * @var bool + */ + protected $eu; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getIsoCode2(): string + { + return $this->isoCode2; + } + + public function setIsoCode2(string $isoCode2): self + { + $this->initialized['isoCode2'] = true; + $this->isoCode2 = $isoCode2; + + return $this; + } + + public function getIsoCode3(): string + { + return $this->isoCode3; + } + + public function setIsoCode3(string $isoCode3): self + { + $this->initialized['isoCode3'] = true; + $this->isoCode3 = $isoCode3; + + return $this; + } + + public function getTimeZone(): ?string + { + return $this->timeZone; + } + + public function setTimeZone(?string $timeZone): self + { + $this->initialized['timeZone'] = true; + $this->timeZone = $timeZone; + + return $this; + } + + public function getEu(): bool + { + return $this->eu; + } + + public function setEu(bool $eu): self + { + $this->initialized['eu'] = true; + $this->eu = $eu; + + return $this; + } +} diff --git a/src/Model/DeleteVirtualMachinePartOrganizationCountryState.php b/src/Model/DeleteVirtualMachinePartOrganizationCountryState.php new file mode 100644 index 00000000..d9ba44b8 --- /dev/null +++ b/src/Model/DeleteVirtualMachinePartOrganizationCountryState.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $code; + /** + * @var DeleteVirtualMachinePartCountryStateCountry + */ + protected $country; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getCode(): string + { + return $this->code; + } + + public function setCode(string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getCountry(): DeleteVirtualMachinePartCountryStateCountry + { + return $this->country; + } + + public function setCountry(DeleteVirtualMachinePartCountryStateCountry $country): self + { + $this->initialized['country'] = true; + $this->country = $country; + + return $this; + } +} diff --git a/src/Model/DeleteVirtualMachinePartOrganizationCurrency.php b/src/Model/DeleteVirtualMachinePartOrganizationCurrency.php new file mode 100644 index 00000000..889688f9 --- /dev/null +++ b/src/Model/DeleteVirtualMachinePartOrganizationCurrency.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $isoCode; + /** + * @var string + */ + protected $symbol; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getIsoCode(): string + { + return $this->isoCode; + } + + public function setIsoCode(string $isoCode): self + { + $this->initialized['isoCode'] = true; + $this->isoCode = $isoCode; + + return $this; + } + + public function getSymbol(): string + { + return $this->symbol; + } + + public function setSymbol(string $symbol): self + { + $this->initialized['symbol'] = true; + $this->symbol = $symbol; + + return $this; + } +} diff --git a/src/Model/DeleteVirtualMachinePartPackage.php b/src/Model/DeleteVirtualMachinePartPackage.php index 63556e5a..d4dc34f9 100644 --- a/src/Model/DeleteVirtualMachinePartPackage.php +++ b/src/Model/DeleteVirtualMachinePartPackage.php @@ -50,7 +50,7 @@ public function isInitialized($property): bool */ protected $storageInGb; /** - * @var int + * @var int|null */ protected $monthlyBandwidthAllowanceInGb; /** @@ -58,7 +58,7 @@ public function isInitialized($property): bool */ protected $privacy; /** - * @var DeleteVirtualMachinePartIcon + * @var DeleteVirtualMachinePartPackageIcon|null */ protected $icon; @@ -153,12 +153,12 @@ public function setStorageInGb(int $storageInGb): self return $this; } - public function getMonthlyBandwidthAllowanceInGb(): int + public function getMonthlyBandwidthAllowanceInGb(): ?int { return $this->monthlyBandwidthAllowanceInGb; } - public function setMonthlyBandwidthAllowanceInGb(int $monthlyBandwidthAllowanceInGb): self + public function setMonthlyBandwidthAllowanceInGb(?int $monthlyBandwidthAllowanceInGb): self { $this->initialized['monthlyBandwidthAllowanceInGb'] = true; $this->monthlyBandwidthAllowanceInGb = $monthlyBandwidthAllowanceInGb; @@ -179,12 +179,12 @@ public function setPrivacy(string $privacy): self return $this; } - public function getIcon(): DeleteVirtualMachinePartIcon + public function getIcon(): ?DeleteVirtualMachinePartPackageIcon { return $this->icon; } - public function setIcon(DeleteVirtualMachinePartIcon $icon): self + public function setIcon(?DeleteVirtualMachinePartPackageIcon $icon): self { $this->initialized['icon'] = true; $this->icon = $icon; diff --git a/src/Model/DeleteVirtualMachinePartPackageIcon.php b/src/Model/DeleteVirtualMachinePartPackageIcon.php new file mode 100644 index 00000000..157587b2 --- /dev/null +++ b/src/Model/DeleteVirtualMachinePartPackageIcon.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var string + */ + protected $url; + /** + * @var string + */ + protected $fileName; + /** + * @var string + */ + protected $fileType; + /** + * @var int + */ + protected $fileSize; + /** + * @var string + */ + protected $digest; + /** + * @var string + */ + protected $token; + + public function getUrl(): string + { + return $this->url; + } + + public function setUrl(string $url): self + { + $this->initialized['url'] = true; + $this->url = $url; + + return $this; + } + + public function getFileName(): string + { + return $this->fileName; + } + + public function setFileName(string $fileName): self + { + $this->initialized['fileName'] = true; + $this->fileName = $fileName; + + return $this; + } + + public function getFileType(): string + { + return $this->fileType; + } + + public function setFileType(string $fileType): self + { + $this->initialized['fileType'] = true; + $this->fileType = $fileType; + + return $this; + } + + public function getFileSize(): int + { + return $this->fileSize; + } + + public function setFileSize(int $fileSize): self + { + $this->initialized['fileSize'] = true; + $this->fileSize = $fileSize; + + return $this; + } + + public function getDigest(): string + { + return $this->digest; + } + + public function setDigest(string $digest): self + { + $this->initialized['digest'] = true; + $this->digest = $digest; + + return $this; + } + + public function getToken(): string + { + return $this->token; + } + + public function setToken(string $token): self + { + $this->initialized['token'] = true; + $this->token = $token; + + return $this; + } +} diff --git a/src/Model/DeleteVirtualMachinePartZone.php b/src/Model/DeleteVirtualMachinePartZone.php index 35c98edf..f53b0441 100644 --- a/src/Model/DeleteVirtualMachinePartZone.php +++ b/src/Model/DeleteVirtualMachinePartZone.php @@ -30,11 +30,11 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; /** - * @var DeleteVirtualMachinePartDataCenter + * @var DeleteVirtualMachinePartZoneDataCenter */ protected $dataCenter; @@ -64,12 +64,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; @@ -77,12 +77,12 @@ public function setPermalink(string $permalink): self return $this; } - public function getDataCenter(): DeleteVirtualMachinePartDataCenter + public function getDataCenter(): DeleteVirtualMachinePartZoneDataCenter { return $this->dataCenter; } - public function setDataCenter(DeleteVirtualMachinePartDataCenter $dataCenter): self + public function setDataCenter(DeleteVirtualMachinePartZoneDataCenter $dataCenter): self { $this->initialized['dataCenter'] = true; $this->dataCenter = $dataCenter; diff --git a/src/Model/DeleteVirtualMachinePartZoneDataCenter.php b/src/Model/DeleteVirtualMachinePartZoneDataCenter.php new file mode 100644 index 00000000..65b65d80 --- /dev/null +++ b/src/Model/DeleteVirtualMachinePartZoneDataCenter.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string|null + */ + protected $permalink; + /** + * @var DeleteVirtualMachinePartDataCenterCountry + */ + protected $country; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): ?string + { + return $this->permalink; + } + + public function setPermalink(?string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } + + public function getCountry(): DeleteVirtualMachinePartDataCenterCountry + { + return $this->country; + } + + public function setCountry(DeleteVirtualMachinePartDataCenterCountry $country): self + { + $this->initialized['country'] = true; + $this->country = $country; + + return $this; + } +} diff --git a/src/Model/Disk.php b/src/Model/Disk.php index 2d414124..1323c329 100644 --- a/src/Model/Disk.php +++ b/src/Model/Disk.php @@ -50,15 +50,15 @@ public function isInitialized($property): bool */ protected $storageSpeed; /** - * @var DiskIOProfile + * @var DiskIoProfile|null */ protected $ioProfile; /** - * @var VirtualMachineDisk + * @var DiskVirtualMachineDisk|null */ protected $virtualMachineDisk; /** - * @var DiskInstallation + * @var DiskInstallation|null */ protected $installation; @@ -153,12 +153,12 @@ public function setStorageSpeed(string $storageSpeed): self return $this; } - public function getIoProfile(): DiskIOProfile + public function getIoProfile(): ?DiskIoProfile { return $this->ioProfile; } - public function setIoProfile(DiskIOProfile $ioProfile): self + public function setIoProfile(?DiskIoProfile $ioProfile): self { $this->initialized['ioProfile'] = true; $this->ioProfile = $ioProfile; @@ -166,12 +166,12 @@ public function setIoProfile(DiskIOProfile $ioProfile): self return $this; } - public function getVirtualMachineDisk(): VirtualMachineDisk + public function getVirtualMachineDisk(): ?DiskVirtualMachineDisk { return $this->virtualMachineDisk; } - public function setVirtualMachineDisk(VirtualMachineDisk $virtualMachineDisk): self + public function setVirtualMachineDisk(?DiskVirtualMachineDisk $virtualMachineDisk): self { $this->initialized['virtualMachineDisk'] = true; $this->virtualMachineDisk = $virtualMachineDisk; @@ -179,12 +179,12 @@ public function setVirtualMachineDisk(VirtualMachineDisk $virtualMachineDisk): s return $this; } - public function getInstallation(): DiskInstallation + public function getInstallation(): ?DiskInstallation { return $this->installation; } - public function setInstallation(DiskInstallation $installation): self + public function setInstallation(?DiskInstallation $installation): self { $this->initialized['installation'] = true; $this->installation = $installation; diff --git a/src/Model/DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicy.php b/src/Model/DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicy.php index d966d2a4..c6e7eb6a 100644 --- a/src/Model/DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicy.php +++ b/src/Model/DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicy.php @@ -38,11 +38,11 @@ public function isInitialized($property): bool */ protected $target; /** - * @var GetDiskBackupPolicyPartSchedule + * @var GetDiskBackupPolicy200ResponseDiskBackupPolicySchedule */ protected $schedule; /** - * @var int + * @var int|null */ protected $autoMoveToTrashAt; @@ -98,12 +98,12 @@ public function setTarget(DiskBackupPolicyTarget $target): self return $this; } - public function getSchedule(): GetDiskBackupPolicyPartSchedule + public function getSchedule(): GetDiskBackupPolicy200ResponseDiskBackupPolicySchedule { return $this->schedule; } - public function setSchedule(GetDiskBackupPolicyPartSchedule $schedule): self + public function setSchedule(GetDiskBackupPolicy200ResponseDiskBackupPolicySchedule $schedule): self { $this->initialized['schedule'] = true; $this->schedule = $schedule; @@ -111,12 +111,12 @@ public function setSchedule(GetDiskBackupPolicyPartSchedule $schedule): self return $this; } - public function getAutoMoveToTrashAt(): int + public function getAutoMoveToTrashAt(): ?int { return $this->autoMoveToTrashAt; } - public function setAutoMoveToTrashAt(int $autoMoveToTrashAt): self + public function setAutoMoveToTrashAt(?int $autoMoveToTrashAt): self { $this->initialized['autoMoveToTrashAt'] = true; $this->autoMoveToTrashAt = $autoMoveToTrashAt; diff --git a/src/Model/DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicy.php b/src/Model/DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicy.php index d6936ee4..4baf663a 100644 --- a/src/Model/DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicy.php +++ b/src/Model/DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicy.php @@ -34,7 +34,7 @@ public function isInitialized($property): bool */ protected $target; /** - * @var array + * @var PatchDiskBackupPolicy200ResponseDiskBackupPolicySchedule */ protected $schedule; @@ -77,18 +77,12 @@ public function setTarget(DiskBackupPolicyTarget $target): self return $this; } - /** - * @return array - */ - public function getSchedule(): iterable + public function getSchedule(): PatchDiskBackupPolicy200ResponseDiskBackupPolicySchedule { return $this->schedule; } - /** - * @param array $schedule - */ - public function setSchedule(iterable $schedule): self + public function setSchedule(PatchDiskBackupPolicy200ResponseDiskBackupPolicySchedule $schedule): self { $this->initialized['schedule'] = true; $this->schedule = $schedule; diff --git a/src/Model/DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicy.php b/src/Model/DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicy.php index 7e788390..e544d407 100644 --- a/src/Model/DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicy.php +++ b/src/Model/DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicy.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $target; /** - * @var int + * @var int|null */ protected $autoMoveToTrashAt; @@ -60,12 +60,12 @@ public function setTarget(DiskBackupPolicyTarget $target): self return $this; } - public function getAutoMoveToTrashAt(): int + public function getAutoMoveToTrashAt(): ?int { return $this->autoMoveToTrashAt; } - public function setAutoMoveToTrashAt(int $autoMoveToTrashAt): self + public function setAutoMoveToTrashAt(?int $autoMoveToTrashAt): self { $this->initialized['autoMoveToTrashAt'] = true; $this->autoMoveToTrashAt = $autoMoveToTrashAt; diff --git a/src/Model/DiskIOProfile.php b/src/Model/DiskIOProfile.php index 2d7e39ce..55c75f11 100644 --- a/src/Model/DiskIOProfile.php +++ b/src/Model/DiskIOProfile.php @@ -34,11 +34,11 @@ public function isInitialized($property): bool */ protected $permalink; /** - * @var int + * @var int|null */ protected $speedInMb; /** - * @var int + * @var int|null */ protected $iops; @@ -81,12 +81,12 @@ public function setPermalink(string $permalink): self return $this; } - public function getSpeedInMb(): int + public function getSpeedInMb(): ?int { return $this->speedInMb; } - public function setSpeedInMb(int $speedInMb): self + public function setSpeedInMb(?int $speedInMb): self { $this->initialized['speedInMb'] = true; $this->speedInMb = $speedInMb; @@ -94,12 +94,12 @@ public function setSpeedInMb(int $speedInMb): self return $this; } - public function getIops(): int + public function getIops(): ?int { return $this->iops; } - public function setIops(int $iops): self + public function setIops(?int $iops): self { $this->initialized['iops'] = true; $this->iops = $iops; diff --git a/src/Model/DiskInstallation.php b/src/Model/DiskInstallation.php index 3c6140e6..2fcdbb78 100644 --- a/src/Model/DiskInstallation.php +++ b/src/Model/DiskInstallation.php @@ -26,11 +26,11 @@ public function isInitialized($property): bool */ protected $id; /** - * @var DiskTemplateVersion + * @var DiskInstallationDiskTemplateVersion */ protected $diskTemplateVersion; /** - * @var DiskInstallationAttribute[] + * @var DiskInstallationAttributesItem[] */ protected $attributes; @@ -47,12 +47,12 @@ public function setId(string $id): self return $this; } - public function getDiskTemplateVersion(): DiskTemplateVersion + public function getDiskTemplateVersion(): DiskInstallationDiskTemplateVersion { return $this->diskTemplateVersion; } - public function setDiskTemplateVersion(DiskTemplateVersion $diskTemplateVersion): self + public function setDiskTemplateVersion(DiskInstallationDiskTemplateVersion $diskTemplateVersion): self { $this->initialized['diskTemplateVersion'] = true; $this->diskTemplateVersion = $diskTemplateVersion; @@ -61,7 +61,7 @@ public function setDiskTemplateVersion(DiskTemplateVersion $diskTemplateVersion) } /** - * @return DiskInstallationAttribute[] + * @return DiskInstallationAttributesItem[] */ public function getAttributes(): array { @@ -69,7 +69,7 @@ public function getAttributes(): array } /** - * @param DiskInstallationAttribute[] $attributes + * @param DiskInstallationAttributesItem[] $attributes */ public function setAttributes(array $attributes): self { diff --git a/src/Model/DiskInstallationAttribute.php b/src/Model/DiskInstallationAttribute.php index 3e224949..9dc0aa54 100644 --- a/src/Model/DiskInstallationAttribute.php +++ b/src/Model/DiskInstallationAttribute.php @@ -30,11 +30,11 @@ public function isInitialized($property): bool */ protected $label; /** - * @var string + * @var string|null */ protected $value; /** - * @var string + * @var string|null */ protected $description; /** @@ -68,12 +68,12 @@ public function setLabel(string $label): self return $this; } - public function getValue(): string + public function getValue(): ?string { return $this->value; } - public function setValue(string $value): self + public function setValue(?string $value): self { $this->initialized['value'] = true; $this->value = $value; @@ -81,12 +81,12 @@ public function setValue(string $value): self return $this; } - public function getDescription(): string + public function getDescription(): ?string { return $this->description; } - public function setDescription(string $description): self + public function setDescription(?string $description): self { $this->initialized['description'] = true; $this->description = $description; diff --git a/src/Model/DiskInstallationAttributesItem.php b/src/Model/DiskInstallationAttributesItem.php new file mode 100644 index 00000000..9039f536 --- /dev/null +++ b/src/Model/DiskInstallationAttributesItem.php @@ -0,0 +1,109 @@ +initialized); + } + /** + * @var string + */ + protected $key; + /** + * @var string + */ + protected $label; + /** + * @var string|null + */ + protected $value; + /** + * @var string|null + */ + protected $description; + /** + * @var bool + */ + protected $protect; + + public function getKey(): string + { + return $this->key; + } + + public function setKey(string $key): self + { + $this->initialized['key'] = true; + $this->key = $key; + + return $this; + } + + public function getLabel(): string + { + return $this->label; + } + + public function setLabel(string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + public function getValue(): ?string + { + return $this->value; + } + + public function setValue(?string $value): self + { + $this->initialized['value'] = true; + $this->value = $value; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->initialized['description'] = true; + $this->description = $description; + + return $this; + } + + public function getProtect(): bool + { + return $this->protect; + } + + public function setProtect(bool $protect): self + { + $this->initialized['protect'] = true; + $this->protect = $protect; + + return $this; + } +} diff --git a/src/Model/DiskInstallationDiskTemplateVersion.php b/src/Model/DiskInstallationDiskTemplateVersion.php new file mode 100644 index 00000000..fe29fc4e --- /dev/null +++ b/src/Model/DiskInstallationDiskTemplateVersion.php @@ -0,0 +1,109 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var int + */ + protected $number; + /** + * @var bool + */ + protected $stable; + /** + * @var int + */ + protected $sizeInGb; + /** + * @var DiskTemplateVersionDiskTemplate + */ + protected $diskTemplate; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getNumber(): int + { + return $this->number; + } + + public function setNumber(int $number): self + { + $this->initialized['number'] = true; + $this->number = $number; + + return $this; + } + + public function getStable(): bool + { + return $this->stable; + } + + public function setStable(bool $stable): self + { + $this->initialized['stable'] = true; + $this->stable = $stable; + + return $this; + } + + public function getSizeInGb(): int + { + return $this->sizeInGb; + } + + public function setSizeInGb(int $sizeInGb): self + { + $this->initialized['sizeInGb'] = true; + $this->sizeInGb = $sizeInGb; + + return $this; + } + + public function getDiskTemplate(): DiskTemplateVersionDiskTemplate + { + return $this->diskTemplate; + } + + public function setDiskTemplate(DiskTemplateVersionDiskTemplate $diskTemplate): self + { + $this->initialized['diskTemplate'] = true; + $this->diskTemplate = $diskTemplate; + + return $this; + } +} diff --git a/src/Model/DiskIoProfile.php b/src/Model/DiskIoProfile.php new file mode 100644 index 00000000..120fa148 --- /dev/null +++ b/src/Model/DiskIoProfile.php @@ -0,0 +1,109 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $permalink; + /** + * @var int|null + */ + protected $speedInMb; + /** + * @var int|null + */ + protected $iops; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): string + { + return $this->permalink; + } + + public function setPermalink(string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } + + public function getSpeedInMb(): ?int + { + return $this->speedInMb; + } + + public function setSpeedInMb(?int $speedInMb): self + { + $this->initialized['speedInMb'] = true; + $this->speedInMb = $speedInMb; + + return $this; + } + + public function getIops(): ?int + { + return $this->iops; + } + + public function setIops(?int $iops): self + { + $this->initialized['iops'] = true; + $this->iops = $iops; + + return $this; + } +} diff --git a/src/Model/DiskTemplate.php b/src/Model/DiskTemplate.php index d4d661c6..007155ca 100644 --- a/src/Model/DiskTemplate.php +++ b/src/Model/DiskTemplate.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $description; /** @@ -42,11 +42,11 @@ public function isInitialized($property): bool */ protected $universal; /** - * @var DiskTemplateVersion + * @var DiskTemplateLatestVersion|null */ protected $latestVersion; /** - * @var OperatingSystem + * @var DiskTemplateOperatingSystem|null */ protected $operatingSystem; @@ -76,12 +76,12 @@ public function setName(string $name): self return $this; } - public function getDescription(): string + public function getDescription(): ?string { return $this->description; } - public function setDescription(string $description): self + public function setDescription(?string $description): self { $this->initialized['description'] = true; $this->description = $description; @@ -115,12 +115,12 @@ public function setUniversal(bool $universal): self return $this; } - public function getLatestVersion(): DiskTemplateVersion + public function getLatestVersion(): ?DiskTemplateLatestVersion { return $this->latestVersion; } - public function setLatestVersion(DiskTemplateVersion $latestVersion): self + public function setLatestVersion(?DiskTemplateLatestVersion $latestVersion): self { $this->initialized['latestVersion'] = true; $this->latestVersion = $latestVersion; @@ -128,12 +128,12 @@ public function setLatestVersion(DiskTemplateVersion $latestVersion): self return $this; } - public function getOperatingSystem(): OperatingSystem + public function getOperatingSystem(): ?DiskTemplateOperatingSystem { return $this->operatingSystem; } - public function setOperatingSystem(OperatingSystem $operatingSystem): self + public function setOperatingSystem(?DiskTemplateOperatingSystem $operatingSystem): self { $this->initialized['operatingSystem'] = true; $this->operatingSystem = $operatingSystem; diff --git a/src/Model/DiskTemplateLatestVersion.php b/src/Model/DiskTemplateLatestVersion.php new file mode 100644 index 00000000..88e68d93 --- /dev/null +++ b/src/Model/DiskTemplateLatestVersion.php @@ -0,0 +1,109 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var int + */ + protected $number; + /** + * @var bool + */ + protected $stable; + /** + * @var int + */ + protected $sizeInGb; + /** + * @var DiskTemplateVersionDiskTemplate + */ + protected $diskTemplate; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getNumber(): int + { + return $this->number; + } + + public function setNumber(int $number): self + { + $this->initialized['number'] = true; + $this->number = $number; + + return $this; + } + + public function getStable(): bool + { + return $this->stable; + } + + public function setStable(bool $stable): self + { + $this->initialized['stable'] = true; + $this->stable = $stable; + + return $this; + } + + public function getSizeInGb(): int + { + return $this->sizeInGb; + } + + public function setSizeInGb(int $sizeInGb): self + { + $this->initialized['sizeInGb'] = true; + $this->sizeInGb = $sizeInGb; + + return $this; + } + + public function getDiskTemplate(): DiskTemplateVersionDiskTemplate + { + return $this->diskTemplate; + } + + public function setDiskTemplate(DiskTemplateVersionDiskTemplate $diskTemplate): self + { + $this->initialized['diskTemplate'] = true; + $this->diskTemplate = $diskTemplate; + + return $this; + } +} diff --git a/src/Model/DiskTemplateOperatingSystem.php b/src/Model/DiskTemplateOperatingSystem.php new file mode 100644 index 00000000..ce844ef2 --- /dev/null +++ b/src/Model/DiskTemplateOperatingSystem.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var OperatingSystemBadge|null + */ + protected $badge; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getBadge(): ?OperatingSystemBadge + { + return $this->badge; + } + + public function setBadge(?OperatingSystemBadge $badge): self + { + $this->initialized['badge'] = true; + $this->badge = $badge; + + return $this; + } +} diff --git a/src/Model/DiskTemplateVersion.php b/src/Model/DiskTemplateVersion.php index 213b2675..530b0f8a 100644 --- a/src/Model/DiskTemplateVersion.php +++ b/src/Model/DiskTemplateVersion.php @@ -38,7 +38,7 @@ public function isInitialized($property): bool */ protected $sizeInGb; /** - * @var DiskTemplate + * @var DiskTemplateVersionDiskTemplate */ protected $diskTemplate; @@ -94,12 +94,12 @@ public function setSizeInGb(int $sizeInGb): self return $this; } - public function getDiskTemplate(): DiskTemplate + public function getDiskTemplate(): DiskTemplateVersionDiskTemplate { return $this->diskTemplate; } - public function setDiskTemplate(DiskTemplate $diskTemplate): self + public function setDiskTemplate(DiskTemplateVersionDiskTemplate $diskTemplate): self { $this->initialized['diskTemplate'] = true; $this->diskTemplate = $diskTemplate; diff --git a/src/Model/DiskTemplateVersionDiskTemplate.php b/src/Model/DiskTemplateVersionDiskTemplate.php new file mode 100644 index 00000000..dfc58180 --- /dev/null +++ b/src/Model/DiskTemplateVersionDiskTemplate.php @@ -0,0 +1,143 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string|null + */ + protected $description; + /** + * @var string + */ + protected $permalink; + /** + * @var bool + */ + protected $universal; + /** + * @var DiskTemplateLatestVersion|null + */ + protected $latestVersion; + /** + * @var DiskTemplateOperatingSystem|null + */ + protected $operatingSystem; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->initialized['description'] = true; + $this->description = $description; + + return $this; + } + + public function getPermalink(): string + { + return $this->permalink; + } + + public function setPermalink(string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } + + public function getUniversal(): bool + { + return $this->universal; + } + + public function setUniversal(bool $universal): self + { + $this->initialized['universal'] = true; + $this->universal = $universal; + + return $this; + } + + public function getLatestVersion(): ?DiskTemplateLatestVersion + { + return $this->latestVersion; + } + + public function setLatestVersion(?DiskTemplateLatestVersion $latestVersion): self + { + $this->initialized['latestVersion'] = true; + $this->latestVersion = $latestVersion; + + return $this; + } + + public function getOperatingSystem(): ?DiskTemplateOperatingSystem + { + return $this->operatingSystem; + } + + public function setOperatingSystem(?DiskTemplateOperatingSystem $operatingSystem): self + { + $this->initialized['operatingSystem'] = true; + $this->operatingSystem = $operatingSystem; + + return $this; + } +} diff --git a/src/Model/DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersion.php b/src/Model/DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersion.php index efdec509..1e928244 100644 --- a/src/Model/DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersion.php +++ b/src/Model/DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersion.php @@ -38,7 +38,7 @@ public function isInitialized($property): bool */ protected $sizeInGb; /** - * @var GetDiskTemplateVersionPartDiskTemplate + * @var GetDiskTemplateVersion200ResponseDiskTemplateVersionDiskTemplate */ protected $diskTemplate; @@ -94,12 +94,12 @@ public function setSizeInGb(int $sizeInGb): self return $this; } - public function getDiskTemplate(): GetDiskTemplateVersionPartDiskTemplate + public function getDiskTemplate(): GetDiskTemplateVersion200ResponseDiskTemplateVersionDiskTemplate { return $this->diskTemplate; } - public function setDiskTemplate(GetDiskTemplateVersionPartDiskTemplate $diskTemplate): self + public function setDiskTemplate(GetDiskTemplateVersion200ResponseDiskTemplateVersionDiskTemplate $diskTemplate): self { $this->initialized['diskTemplate'] = true; $this->diskTemplate = $diskTemplate; diff --git a/src/Model/DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersion.php b/src/Model/DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersion.php index cdd82c87..6e185d99 100644 --- a/src/Model/DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersion.php +++ b/src/Model/DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersion.php @@ -38,7 +38,7 @@ public function isInitialized($property): bool */ protected $sizeInGb; /** - * @var GetDiskTemplateVersionSpecPartDiskTemplate + * @var GetDiskTemplateVersionSpec200ResponseDiskTemplateVersionDiskTemplate */ protected $diskTemplate; @@ -94,12 +94,12 @@ public function setSizeInGb(int $sizeInGb): self return $this; } - public function getDiskTemplate(): GetDiskTemplateVersionSpecPartDiskTemplate + public function getDiskTemplate(): GetDiskTemplateVersionSpec200ResponseDiskTemplateVersionDiskTemplate { return $this->diskTemplate; } - public function setDiskTemplate(GetDiskTemplateVersionSpecPartDiskTemplate $diskTemplate): self + public function setDiskTemplate(GetDiskTemplateVersionSpec200ResponseDiskTemplateVersionDiskTemplate $diskTemplate): self { $this->initialized['diskTemplate'] = true; $this->diskTemplate = $diskTemplate; diff --git a/src/Model/DiskTemplatesDiskTemplateGetResponse200DiskTemplate.php b/src/Model/DiskTemplatesDiskTemplateGetResponse200DiskTemplate.php index 202fba5b..b4fe92b0 100644 --- a/src/Model/DiskTemplatesDiskTemplateGetResponse200DiskTemplate.php +++ b/src/Model/DiskTemplatesDiskTemplateGetResponse200DiskTemplate.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $description; /** @@ -42,11 +42,11 @@ public function isInitialized($property): bool */ protected $universal; /** - * @var GetDiskTemplatePartLatestVersion + * @var GetDiskTemplate200ResponseDiskTemplateLatestVersion|null */ protected $latestVersion; /** - * @var GetDiskTemplatePartOperatingSystem + * @var GetDiskTemplate200ResponseDiskTemplateOperatingSystem|null */ protected $operatingSystem; @@ -76,12 +76,12 @@ public function setName(string $name): self return $this; } - public function getDescription(): string + public function getDescription(): ?string { return $this->description; } - public function setDescription(string $description): self + public function setDescription(?string $description): self { $this->initialized['description'] = true; $this->description = $description; @@ -115,12 +115,12 @@ public function setUniversal(bool $universal): self return $this; } - public function getLatestVersion(): GetDiskTemplatePartLatestVersion + public function getLatestVersion(): ?GetDiskTemplate200ResponseDiskTemplateLatestVersion { return $this->latestVersion; } - public function setLatestVersion(GetDiskTemplatePartLatestVersion $latestVersion): self + public function setLatestVersion(?GetDiskTemplate200ResponseDiskTemplateLatestVersion $latestVersion): self { $this->initialized['latestVersion'] = true; $this->latestVersion = $latestVersion; @@ -128,12 +128,12 @@ public function setLatestVersion(GetDiskTemplatePartLatestVersion $latestVersion return $this; } - public function getOperatingSystem(): GetDiskTemplatePartOperatingSystem + public function getOperatingSystem(): ?GetDiskTemplate200ResponseDiskTemplateOperatingSystem { return $this->operatingSystem; } - public function setOperatingSystem(GetDiskTemplatePartOperatingSystem $operatingSystem): self + public function setOperatingSystem(?GetDiskTemplate200ResponseDiskTemplateOperatingSystem $operatingSystem): self { $this->initialized['operatingSystem'] = true; $this->operatingSystem = $operatingSystem; diff --git a/src/Model/DiskTemplatesDiskTemplateVersionsGetResponse200Pagination.php b/src/Model/DiskTemplatesDiskTemplateVersionsGetResponse200Pagination.php index f9d77151..147a1221 100644 --- a/src/Model/DiskTemplatesDiskTemplateVersionsGetResponse200Pagination.php +++ b/src/Model/DiskTemplatesDiskTemplateVersionsGetResponse200Pagination.php @@ -30,13 +30,13 @@ public function isInitialized($property): bool /** * The total number of pages. * - * @var int + * @var int|null */ protected $totalPages; /** * The total number of items across all pages. * - * @var int + * @var int|null */ protected $total; /** @@ -74,7 +74,7 @@ public function setCurrentPage(int $currentPage): self /** * The total number of pages. */ - public function getTotalPages(): int + public function getTotalPages(): ?int { return $this->totalPages; } @@ -82,7 +82,7 @@ public function getTotalPages(): int /** * The total number of pages. */ - public function setTotalPages(int $totalPages): self + public function setTotalPages(?int $totalPages): self { $this->initialized['totalPages'] = true; $this->totalPages = $totalPages; @@ -93,7 +93,7 @@ public function setTotalPages(int $totalPages): self /** * The total number of items across all pages. */ - public function getTotal(): int + public function getTotal(): ?int { return $this->total; } @@ -101,7 +101,7 @@ public function getTotal(): int /** * The total number of items across all pages. */ - public function setTotal(int $total): self + public function setTotal(?int $total): self { $this->initialized['total'] = true; $this->total = $total; diff --git a/src/Model/DiskVirtualMachineDisk.php b/src/Model/DiskVirtualMachineDisk.php new file mode 100644 index 00000000..3a774df3 --- /dev/null +++ b/src/Model/DiskVirtualMachineDisk.php @@ -0,0 +1,109 @@ +initialized); + } + /** + * @var VirtualMachineDiskVirtualMachine + */ + protected $virtualMachine; + /** + * @var VirtualMachineDiskDisk + */ + protected $disk; + /** + * @var bool + */ + protected $attachOnBoot; + /** + * @var bool + */ + protected $boot; + /** + * @var string + */ + protected $state; + + public function getVirtualMachine(): VirtualMachineDiskVirtualMachine + { + return $this->virtualMachine; + } + + public function setVirtualMachine(VirtualMachineDiskVirtualMachine $virtualMachine): self + { + $this->initialized['virtualMachine'] = true; + $this->virtualMachine = $virtualMachine; + + return $this; + } + + public function getDisk(): VirtualMachineDiskDisk + { + return $this->disk; + } + + public function setDisk(VirtualMachineDiskDisk $disk): self + { + $this->initialized['disk'] = true; + $this->disk = $disk; + + return $this; + } + + public function getAttachOnBoot(): bool + { + return $this->attachOnBoot; + } + + public function setAttachOnBoot(bool $attachOnBoot): self + { + $this->initialized['attachOnBoot'] = true; + $this->attachOnBoot = $attachOnBoot; + + return $this; + } + + public function getBoot(): bool + { + return $this->boot; + } + + public function setBoot(bool $boot): self + { + $this->initialized['boot'] = true; + $this->boot = $boot; + + return $this; + } + + public function getState(): string + { + return $this->state; + } + + public function setState(string $state): self + { + $this->initialized['state'] = true; + $this->state = $state; + + return $this; + } +} diff --git a/src/Model/DisksDiskDiskBackupPoliciesGetResponse200Pagination.php b/src/Model/DisksDiskDiskBackupPoliciesGetResponse200Pagination.php index d1a1ed84..2a76e906 100644 --- a/src/Model/DisksDiskDiskBackupPoliciesGetResponse200Pagination.php +++ b/src/Model/DisksDiskDiskBackupPoliciesGetResponse200Pagination.php @@ -30,13 +30,13 @@ public function isInitialized($property): bool /** * The total number of pages. * - * @var int + * @var int|null */ protected $totalPages; /** * The total number of items across all pages. * - * @var int + * @var int|null */ protected $total; /** @@ -74,7 +74,7 @@ public function setCurrentPage(int $currentPage): self /** * The total number of pages. */ - public function getTotalPages(): int + public function getTotalPages(): ?int { return $this->totalPages; } @@ -82,7 +82,7 @@ public function getTotalPages(): int /** * The total number of pages. */ - public function setTotalPages(int $totalPages): self + public function setTotalPages(?int $totalPages): self { $this->initialized['totalPages'] = true; $this->totalPages = $totalPages; @@ -93,7 +93,7 @@ public function setTotalPages(int $totalPages): self /** * The total number of items across all pages. */ - public function getTotal(): int + public function getTotal(): ?int { return $this->total; } @@ -101,7 +101,7 @@ public function getTotal(): int /** * The total number of items across all pages. */ - public function setTotal(int $total): self + public function setTotal(?int $total): self { $this->initialized['total'] = true; $this->total = $total; diff --git a/src/Model/DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicy.php b/src/Model/DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicy.php index 2590987e..ece12578 100644 --- a/src/Model/DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicy.php +++ b/src/Model/DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicy.php @@ -38,11 +38,11 @@ public function isInitialized($property): bool */ protected $target; /** - * @var PostDiskDiskBackupPoliciesPartSchedule + * @var PostDiskDiskBackupPolicies200ResponseDiskBackupPolicySchedule */ protected $schedule; /** - * @var int + * @var int|null */ protected $autoMoveToTrashAt; @@ -98,12 +98,12 @@ public function setTarget(DiskBackupPolicyTarget $target): self return $this; } - public function getSchedule(): PostDiskDiskBackupPoliciesPartSchedule + public function getSchedule(): PostDiskDiskBackupPolicies200ResponseDiskBackupPolicySchedule { return $this->schedule; } - public function setSchedule(PostDiskDiskBackupPoliciesPartSchedule $schedule): self + public function setSchedule(PostDiskDiskBackupPolicies200ResponseDiskBackupPolicySchedule $schedule): self { $this->initialized['schedule'] = true; $this->schedule = $schedule; @@ -111,12 +111,12 @@ public function setSchedule(PostDiskDiskBackupPoliciesPartSchedule $schedule): s return $this; } - public function getAutoMoveToTrashAt(): int + public function getAutoMoveToTrashAt(): ?int { return $this->autoMoveToTrashAt; } - public function setAutoMoveToTrashAt(int $autoMoveToTrashAt): self + public function setAutoMoveToTrashAt(?int $autoMoveToTrashAt): self { $this->initialized['autoMoveToTrashAt'] = true; $this->autoMoveToTrashAt = $autoMoveToTrashAt; diff --git a/src/Model/DisksDiskGetResponse200Disk.php b/src/Model/DisksDiskGetResponse200Disk.php index 91326138..5faf31de 100644 --- a/src/Model/DisksDiskGetResponse200Disk.php +++ b/src/Model/DisksDiskGetResponse200Disk.php @@ -50,15 +50,15 @@ public function isInitialized($property): bool */ protected $storageSpeed; /** - * @var GetDiskPartIOProfile + * @var GetDisk200ResponseDiskIoProfile|null */ protected $ioProfile; /** - * @var GetDiskPartVirtualMachineDisk + * @var GetDisk200ResponseDiskVirtualMachineDisk|null */ protected $virtualMachineDisk; /** - * @var GetDiskPartInstallation + * @var GetDisk200ResponseDiskInstallation|null */ protected $installation; @@ -153,12 +153,12 @@ public function setStorageSpeed(string $storageSpeed): self return $this; } - public function getIoProfile(): GetDiskPartIOProfile + public function getIoProfile(): ?GetDisk200ResponseDiskIoProfile { return $this->ioProfile; } - public function setIoProfile(GetDiskPartIOProfile $ioProfile): self + public function setIoProfile(?GetDisk200ResponseDiskIoProfile $ioProfile): self { $this->initialized['ioProfile'] = true; $this->ioProfile = $ioProfile; @@ -166,12 +166,12 @@ public function setIoProfile(GetDiskPartIOProfile $ioProfile): self return $this; } - public function getVirtualMachineDisk(): GetDiskPartVirtualMachineDisk + public function getVirtualMachineDisk(): ?GetDisk200ResponseDiskVirtualMachineDisk { return $this->virtualMachineDisk; } - public function setVirtualMachineDisk(GetDiskPartVirtualMachineDisk $virtualMachineDisk): self + public function setVirtualMachineDisk(?GetDisk200ResponseDiskVirtualMachineDisk $virtualMachineDisk): self { $this->initialized['virtualMachineDisk'] = true; $this->virtualMachineDisk = $virtualMachineDisk; @@ -179,12 +179,12 @@ public function setVirtualMachineDisk(GetDiskPartVirtualMachineDisk $virtualMach return $this; } - public function getInstallation(): GetDiskPartInstallation + public function getInstallation(): ?GetDisk200ResponseDiskInstallation { return $this->installation; } - public function setInstallation(GetDiskPartInstallation $installation): self + public function setInstallation(?GetDisk200ResponseDiskInstallation $installation): self { $this->initialized['installation'] = true; $this->installation = $installation; diff --git a/src/Model/DnsRecordsDnsRecordGetResponse200DnsRecord.php b/src/Model/DnsRecordsDnsRecordGetResponse200DnsRecord.php index 9505f376..4ab3ca8f 100644 --- a/src/Model/DnsRecordsDnsRecordGetResponse200DnsRecord.php +++ b/src/Model/DnsRecordsDnsRecordGetResponse200DnsRecord.php @@ -26,7 +26,7 @@ public function isInitialized($property): bool */ protected $id; /** - * @var string + * @var string|null */ protected $name; /** @@ -34,7 +34,7 @@ public function isInitialized($property): bool */ protected $fullName; /** - * @var int + * @var int|null */ protected $ttl; /** @@ -42,7 +42,7 @@ public function isInitialized($property): bool */ protected $type; /** - * @var int + * @var int|null */ protected $priority; /** @@ -67,12 +67,12 @@ public function setId(string $id): self return $this; } - public function getName(): string + public function getName(): ?string { return $this->name; } - public function setName(string $name): self + public function setName(?string $name): self { $this->initialized['name'] = true; $this->name = $name; @@ -93,12 +93,12 @@ public function setFullName(string $fullName): self return $this; } - public function getTtl(): int + public function getTtl(): ?int { return $this->ttl; } - public function setTtl(int $ttl): self + public function setTtl(?int $ttl): self { $this->initialized['ttl'] = true; $this->ttl = $ttl; @@ -119,12 +119,12 @@ public function setType(string $type): self return $this; } - public function getPriority(): int + public function getPriority(): ?int { return $this->priority; } - public function setPriority(int $priority): self + public function setPriority(?int $priority): self { $this->initialized['priority'] = true; $this->priority = $priority; diff --git a/src/Model/DnsRecordsDnsRecordPatchResponse200DnsRecord.php b/src/Model/DnsRecordsDnsRecordPatchResponse200DnsRecord.php index 395d1586..0b85cb07 100644 --- a/src/Model/DnsRecordsDnsRecordPatchResponse200DnsRecord.php +++ b/src/Model/DnsRecordsDnsRecordPatchResponse200DnsRecord.php @@ -26,7 +26,7 @@ public function isInitialized($property): bool */ protected $id; /** - * @var string + * @var string|null */ protected $name; /** @@ -34,7 +34,7 @@ public function isInitialized($property): bool */ protected $fullName; /** - * @var int + * @var int|null */ protected $ttl; /** @@ -42,7 +42,7 @@ public function isInitialized($property): bool */ protected $type; /** - * @var int + * @var int|null */ protected $priority; /** @@ -67,12 +67,12 @@ public function setId(string $id): self return $this; } - public function getName(): string + public function getName(): ?string { return $this->name; } - public function setName(string $name): self + public function setName(?string $name): self { $this->initialized['name'] = true; $this->name = $name; @@ -93,12 +93,12 @@ public function setFullName(string $fullName): self return $this; } - public function getTtl(): int + public function getTtl(): ?int { return $this->ttl; } - public function setTtl(int $ttl): self + public function setTtl(?int $ttl): self { $this->initialized['ttl'] = true; $this->ttl = $ttl; @@ -119,12 +119,12 @@ public function setType(string $type): self return $this; } - public function getPriority(): int + public function getPriority(): ?int { return $this->priority; } - public function setPriority(int $priority): self + public function setPriority(?int $priority): self { $this->initialized['priority'] = true; $this->priority = $priority; diff --git a/src/Model/DnsZonesDnsZoneRecordsPostResponse200DnsRecord.php b/src/Model/DnsZonesDnsZoneRecordsPostResponse200DnsRecord.php index 6cb23db7..7f9b3f6c 100644 --- a/src/Model/DnsZonesDnsZoneRecordsPostResponse200DnsRecord.php +++ b/src/Model/DnsZonesDnsZoneRecordsPostResponse200DnsRecord.php @@ -26,7 +26,7 @@ public function isInitialized($property): bool */ protected $id; /** - * @var string + * @var string|null */ protected $name; /** @@ -34,7 +34,7 @@ public function isInitialized($property): bool */ protected $fullName; /** - * @var int + * @var int|null */ protected $ttl; /** @@ -42,7 +42,7 @@ public function isInitialized($property): bool */ protected $type; /** - * @var int + * @var int|null */ protected $priority; /** @@ -67,12 +67,12 @@ public function setId(string $id): self return $this; } - public function getName(): string + public function getName(): ?string { return $this->name; } - public function setName(string $name): self + public function setName(?string $name): self { $this->initialized['name'] = true; $this->name = $name; @@ -93,12 +93,12 @@ public function setFullName(string $fullName): self return $this; } - public function getTtl(): int + public function getTtl(): ?int { return $this->ttl; } - public function setTtl(int $ttl): self + public function setTtl(?int $ttl): self { $this->initialized['ttl'] = true; $this->ttl = $ttl; @@ -119,12 +119,12 @@ public function setType(string $type): self return $this; } - public function getPriority(): int + public function getPriority(): ?int { return $this->priority; } - public function setPriority(int $priority): self + public function setPriority(?int $priority): self { $this->initialized['priority'] = true; $this->priority = $priority; diff --git a/src/Model/Enum/VirtualMachineStateEnum.php b/src/Model/Enum/VirtualMachineStateEnum.php new file mode 100644 index 00000000..d1d7cfd2 --- /dev/null +++ b/src/Model/Enum/VirtualMachineStateEnum.php @@ -0,0 +1,16 @@ +dataCenter; } - public function setDataCenter(DeleteFileStorageVolumePartDataCenter $dataCenter): self + public function setDataCenter(DeleteFileStorageVolume200ResponseFileStorageVolumeDataCenter $dataCenter): self { $this->initialized['dataCenter'] = true; $this->dataCenter = $dataCenter; @@ -128,7 +128,7 @@ public function setState(string $state): self /** * The NFS location of where to mount the volume from. */ - public function getNfsLocation(): string + public function getNfsLocation(): ?string { return $this->nfsLocation; } @@ -136,7 +136,7 @@ public function getNfsLocation(): string /** * The NFS location of where to mount the volume from. */ - public function setNfsLocation(string $nfsLocation): self + public function setNfsLocation(?string $nfsLocation): self { $this->initialized['nfsLocation'] = true; $this->nfsLocation = $nfsLocation; @@ -147,7 +147,7 @@ public function setNfsLocation(string $nfsLocation): self /** * The size of the volume in bytes. */ - public function getSize(): int + public function getSize(): ?int { return $this->size; } @@ -155,7 +155,7 @@ public function getSize(): int /** * The size of the volume in bytes. */ - public function setSize(int $size): self + public function setSize(?int $size): self { $this->initialized['size'] = true; $this->size = $size; diff --git a/src/Model/FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolume.php b/src/Model/FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolume.php index 4856bd30..b3c9c4a8 100644 --- a/src/Model/FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolume.php +++ b/src/Model/FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolume.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var GetFileStorageVolumePartDataCenter + * @var GetFileStorageVolume200ResponseFileStorageVolumeDataCenter */ protected $dataCenter; /** @@ -44,13 +44,13 @@ public function isInitialized($property): bool /** * The NFS location of where to mount the volume from. * - * @var string + * @var string|null */ protected $nfsLocation; /** * The size of the volume in bytes. * - * @var int + * @var int|null */ protected $size; @@ -80,12 +80,12 @@ public function setName(string $name): self return $this; } - public function getDataCenter(): GetFileStorageVolumePartDataCenter + public function getDataCenter(): GetFileStorageVolume200ResponseFileStorageVolumeDataCenter { return $this->dataCenter; } - public function setDataCenter(GetFileStorageVolumePartDataCenter $dataCenter): self + public function setDataCenter(GetFileStorageVolume200ResponseFileStorageVolumeDataCenter $dataCenter): self { $this->initialized['dataCenter'] = true; $this->dataCenter = $dataCenter; @@ -128,7 +128,7 @@ public function setState(string $state): self /** * The NFS location of where to mount the volume from. */ - public function getNfsLocation(): string + public function getNfsLocation(): ?string { return $this->nfsLocation; } @@ -136,7 +136,7 @@ public function getNfsLocation(): string /** * The NFS location of where to mount the volume from. */ - public function setNfsLocation(string $nfsLocation): self + public function setNfsLocation(?string $nfsLocation): self { $this->initialized['nfsLocation'] = true; $this->nfsLocation = $nfsLocation; @@ -147,7 +147,7 @@ public function setNfsLocation(string $nfsLocation): self /** * The size of the volume in bytes. */ - public function getSize(): int + public function getSize(): ?int { return $this->size; } @@ -155,7 +155,7 @@ public function getSize(): int /** * The size of the volume in bytes. */ - public function setSize(int $size): self + public function setSize(?int $size): self { $this->initialized['size'] = true; $this->size = $size; diff --git a/src/Model/FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolume.php b/src/Model/FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolume.php index aa41fe0e..39fab121 100644 --- a/src/Model/FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolume.php +++ b/src/Model/FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolume.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var PatchFileStorageVolumePartDataCenter + * @var PatchFileStorageVolume200ResponseFileStorageVolumeDataCenter */ protected $dataCenter; /** @@ -44,13 +44,13 @@ public function isInitialized($property): bool /** * The NFS location of where to mount the volume from. * - * @var string + * @var string|null */ protected $nfsLocation; /** * The size of the volume in bytes. * - * @var int + * @var int|null */ protected $size; @@ -80,12 +80,12 @@ public function setName(string $name): self return $this; } - public function getDataCenter(): PatchFileStorageVolumePartDataCenter + public function getDataCenter(): PatchFileStorageVolume200ResponseFileStorageVolumeDataCenter { return $this->dataCenter; } - public function setDataCenter(PatchFileStorageVolumePartDataCenter $dataCenter): self + public function setDataCenter(PatchFileStorageVolume200ResponseFileStorageVolumeDataCenter $dataCenter): self { $this->initialized['dataCenter'] = true; $this->dataCenter = $dataCenter; @@ -128,7 +128,7 @@ public function setState(string $state): self /** * The NFS location of where to mount the volume from. */ - public function getNfsLocation(): string + public function getNfsLocation(): ?string { return $this->nfsLocation; } @@ -136,7 +136,7 @@ public function getNfsLocation(): string /** * The NFS location of where to mount the volume from. */ - public function setNfsLocation(string $nfsLocation): self + public function setNfsLocation(?string $nfsLocation): self { $this->initialized['nfsLocation'] = true; $this->nfsLocation = $nfsLocation; @@ -147,7 +147,7 @@ public function setNfsLocation(string $nfsLocation): self /** * The size of the volume in bytes. */ - public function getSize(): int + public function getSize(): ?int { return $this->size; } @@ -155,7 +155,7 @@ public function getSize(): int /** * The size of the volume in bytes. */ - public function setSize(int $size): self + public function setSize(?int $size): self { $this->initialized['size'] = true; $this->size = $size; diff --git a/src/Model/GPUType.php b/src/Model/GPUType.php index d7c1ea6f..0b451d6f 100644 --- a/src/Model/GPUType.php +++ b/src/Model/GPUType.php @@ -46,7 +46,7 @@ public function isInitialized($property): bool */ protected $permalink; /** - * @var DataCenter[] + * @var GPUTypeDataCentersItem[] */ protected $dataCenters; @@ -129,7 +129,7 @@ public function setPermalink(string $permalink): self } /** - * @return DataCenter[] + * @return GPUTypeDataCentersItem[] */ public function getDataCenters(): array { @@ -137,7 +137,7 @@ public function getDataCenters(): array } /** - * @param DataCenter[] $dataCenters + * @param GPUTypeDataCentersItem[] $dataCenters */ public function setDataCenters(array $dataCenters): self { diff --git a/src/Model/GPUTypeDataCentersItem.php b/src/Model/GPUTypeDataCentersItem.php new file mode 100644 index 00000000..7474322c --- /dev/null +++ b/src/Model/GPUTypeDataCentersItem.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string|null + */ + protected $permalink; + /** + * @var DataCenterCountry + */ + protected $country; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): ?string + { + return $this->permalink; + } + + public function setPermalink(?string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } + + public function getCountry(): DataCenterCountry + { + return $this->country; + } + + public function setCountry(DataCenterCountry $country): self + { + $this->initialized['country'] = true; + $this->country = $country; + + return $this; + } +} diff --git a/src/Model/GetDataCenter200ResponseDataCenter.php b/src/Model/GetDataCenter200ResponseDataCenter.php index f4c6a61b..d9cc81f6 100644 --- a/src/Model/GetDataCenter200ResponseDataCenter.php +++ b/src/Model/GetDataCenter200ResponseDataCenter.php @@ -30,11 +30,11 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; /** - * @var GetDataCenterPartCountry + * @var GetDataCenter200ResponseDataCenterCountry */ protected $country; @@ -64,12 +64,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; @@ -77,12 +77,12 @@ public function setPermalink(string $permalink): self return $this; } - public function getCountry(): GetDataCenterPartCountry + public function getCountry(): GetDataCenter200ResponseDataCenterCountry { return $this->country; } - public function setCountry(GetDataCenterPartCountry $country): self + public function setCountry(GetDataCenter200ResponseDataCenterCountry $country): self { $this->initialized['country'] = true; $this->country = $country; diff --git a/src/Model/GetDataCenter200ResponseDataCenterCountry.php b/src/Model/GetDataCenter200ResponseDataCenterCountry.php new file mode 100644 index 00000000..3fc0f24b --- /dev/null +++ b/src/Model/GetDataCenter200ResponseDataCenterCountry.php @@ -0,0 +1,58 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/GetDataCenterDefaultNetwork200ResponseNetwork.php b/src/Model/GetDataCenterDefaultNetwork200ResponseNetwork.php index a19772b4..53bd19fc 100644 --- a/src/Model/GetDataCenterDefaultNetwork200ResponseNetwork.php +++ b/src/Model/GetDataCenterDefaultNetwork200ResponseNetwork.php @@ -30,11 +30,11 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; /** - * @var GetDataCenterDefaultNetworkPartDataCenter + * @var GetDataCenterDefaultNetwork200ResponseNetworkDataCenter */ protected $dataCenter; @@ -64,12 +64,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; @@ -77,12 +77,12 @@ public function setPermalink(string $permalink): self return $this; } - public function getDataCenter(): GetDataCenterDefaultNetworkPartDataCenter + public function getDataCenter(): GetDataCenterDefaultNetwork200ResponseNetworkDataCenter { return $this->dataCenter; } - public function setDataCenter(GetDataCenterDefaultNetworkPartDataCenter $dataCenter): self + public function setDataCenter(GetDataCenterDefaultNetwork200ResponseNetworkDataCenter $dataCenter): self { $this->initialized['dataCenter'] = true; $this->dataCenter = $dataCenter; diff --git a/src/Model/GetDataCenterDefaultNetwork200ResponseNetworkDataCenter.php b/src/Model/GetDataCenterDefaultNetwork200ResponseNetworkDataCenter.php new file mode 100644 index 00000000..5c44d210 --- /dev/null +++ b/src/Model/GetDataCenterDefaultNetwork200ResponseNetworkDataCenter.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string|null + */ + protected $permalink; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): ?string + { + return $this->permalink; + } + + public function setPermalink(?string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } +} diff --git a/src/Model/GetDataCenterDefaultNetworkPartDataCenter.php b/src/Model/GetDataCenterDefaultNetworkPartDataCenter.php index e5ac65f2..52e4a148 100644 --- a/src/Model/GetDataCenterDefaultNetworkPartDataCenter.php +++ b/src/Model/GetDataCenterDefaultNetworkPartDataCenter.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; @@ -60,12 +60,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; diff --git a/src/Model/GetDataCenters200ResponseDataCenters.php b/src/Model/GetDataCenters200ResponseDataCenters.php index 802c3e39..c18ae093 100644 --- a/src/Model/GetDataCenters200ResponseDataCenters.php +++ b/src/Model/GetDataCenters200ResponseDataCenters.php @@ -30,11 +30,11 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; /** - * @var GetDataCentersPartCountry + * @var GetDataCenters200ResponseDataCentersCountry */ protected $country; @@ -64,12 +64,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; @@ -77,12 +77,12 @@ public function setPermalink(string $permalink): self return $this; } - public function getCountry(): GetDataCentersPartCountry + public function getCountry(): GetDataCenters200ResponseDataCentersCountry { return $this->country; } - public function setCountry(GetDataCentersPartCountry $country): self + public function setCountry(GetDataCenters200ResponseDataCentersCountry $country): self { $this->initialized['country'] = true; $this->country = $country; diff --git a/src/Model/GetDataCenters200ResponseDataCentersCountry.php b/src/Model/GetDataCenters200ResponseDataCentersCountry.php new file mode 100644 index 00000000..ab9a17d0 --- /dev/null +++ b/src/Model/GetDataCenters200ResponseDataCentersCountry.php @@ -0,0 +1,58 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/GetDisk200ResponseDisk.php b/src/Model/GetDisk200ResponseDisk.php index 4ec40b41..7ca62721 100644 --- a/src/Model/GetDisk200ResponseDisk.php +++ b/src/Model/GetDisk200ResponseDisk.php @@ -50,15 +50,15 @@ public function isInitialized($property): bool */ protected $storageSpeed; /** - * @var GetDiskPartIOProfile + * @var GetDisk200ResponseDiskIoProfile|null */ protected $ioProfile; /** - * @var GetDiskPartVirtualMachineDisk + * @var GetDisk200ResponseDiskVirtualMachineDisk|null */ protected $virtualMachineDisk; /** - * @var GetDiskPartInstallation + * @var GetDisk200ResponseDiskInstallation|null */ protected $installation; @@ -153,12 +153,12 @@ public function setStorageSpeed(string $storageSpeed): self return $this; } - public function getIoProfile(): GetDiskPartIOProfile + public function getIoProfile(): ?GetDisk200ResponseDiskIoProfile { return $this->ioProfile; } - public function setIoProfile(GetDiskPartIOProfile $ioProfile): self + public function setIoProfile(?GetDisk200ResponseDiskIoProfile $ioProfile): self { $this->initialized['ioProfile'] = true; $this->ioProfile = $ioProfile; @@ -166,12 +166,12 @@ public function setIoProfile(GetDiskPartIOProfile $ioProfile): self return $this; } - public function getVirtualMachineDisk(): GetDiskPartVirtualMachineDisk + public function getVirtualMachineDisk(): ?GetDisk200ResponseDiskVirtualMachineDisk { return $this->virtualMachineDisk; } - public function setVirtualMachineDisk(GetDiskPartVirtualMachineDisk $virtualMachineDisk): self + public function setVirtualMachineDisk(?GetDisk200ResponseDiskVirtualMachineDisk $virtualMachineDisk): self { $this->initialized['virtualMachineDisk'] = true; $this->virtualMachineDisk = $virtualMachineDisk; @@ -179,12 +179,12 @@ public function setVirtualMachineDisk(GetDiskPartVirtualMachineDisk $virtualMach return $this; } - public function getInstallation(): GetDiskPartInstallation + public function getInstallation(): ?GetDisk200ResponseDiskInstallation { return $this->installation; } - public function setInstallation(GetDiskPartInstallation $installation): self + public function setInstallation(?GetDisk200ResponseDiskInstallation $installation): self { $this->initialized['installation'] = true; $this->installation = $installation; diff --git a/src/Model/GetDisk200ResponseDiskInstallation.php b/src/Model/GetDisk200ResponseDiskInstallation.php new file mode 100644 index 00000000..a155dc1c --- /dev/null +++ b/src/Model/GetDisk200ResponseDiskInstallation.php @@ -0,0 +1,81 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var GetDiskPartInstallationDiskTemplateVersion + */ + protected $diskTemplateVersion; + /** + * @var GetDiskPartInstallationAttributesItem[] + */ + protected $attributes; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getDiskTemplateVersion(): GetDiskPartInstallationDiskTemplateVersion + { + return $this->diskTemplateVersion; + } + + public function setDiskTemplateVersion(GetDiskPartInstallationDiskTemplateVersion $diskTemplateVersion): self + { + $this->initialized['diskTemplateVersion'] = true; + $this->diskTemplateVersion = $diskTemplateVersion; + + return $this; + } + + /** + * @return GetDiskPartInstallationAttributesItem[] + */ + public function getAttributes(): array + { + return $this->attributes; + } + + /** + * @param GetDiskPartInstallationAttributesItem[] $attributes + */ + public function setAttributes(array $attributes): self + { + $this->initialized['attributes'] = true; + $this->attributes = $attributes; + + return $this; + } +} diff --git a/src/Model/GetDisk200ResponseDiskIoProfile.php b/src/Model/GetDisk200ResponseDiskIoProfile.php new file mode 100644 index 00000000..d22423af --- /dev/null +++ b/src/Model/GetDisk200ResponseDiskIoProfile.php @@ -0,0 +1,109 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $permalink; + /** + * @var int|null + */ + protected $speedInMb; + /** + * @var int|null + */ + protected $iops; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): string + { + return $this->permalink; + } + + public function setPermalink(string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } + + public function getSpeedInMb(): ?int + { + return $this->speedInMb; + } + + public function setSpeedInMb(?int $speedInMb): self + { + $this->initialized['speedInMb'] = true; + $this->speedInMb = $speedInMb; + + return $this; + } + + public function getIops(): ?int + { + return $this->iops; + } + + public function setIops(?int $iops): self + { + $this->initialized['iops'] = true; + $this->iops = $iops; + + return $this; + } +} diff --git a/src/Model/GetDisk200ResponseDiskVirtualMachineDisk.php b/src/Model/GetDisk200ResponseDiskVirtualMachineDisk.php new file mode 100644 index 00000000..53c63fcd --- /dev/null +++ b/src/Model/GetDisk200ResponseDiskVirtualMachineDisk.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var GetDiskPartVirtualMachineDiskVirtualMachine + */ + protected $virtualMachine; + /** + * @var bool + */ + protected $attachOnBoot; + /** + * @var bool + */ + protected $boot; + /** + * @var string + */ + protected $state; + + public function getVirtualMachine(): GetDiskPartVirtualMachineDiskVirtualMachine + { + return $this->virtualMachine; + } + + public function setVirtualMachine(GetDiskPartVirtualMachineDiskVirtualMachine $virtualMachine): self + { + $this->initialized['virtualMachine'] = true; + $this->virtualMachine = $virtualMachine; + + return $this; + } + + public function getAttachOnBoot(): bool + { + return $this->attachOnBoot; + } + + public function setAttachOnBoot(bool $attachOnBoot): self + { + $this->initialized['attachOnBoot'] = true; + $this->attachOnBoot = $attachOnBoot; + + return $this; + } + + public function getBoot(): bool + { + return $this->boot; + } + + public function setBoot(bool $boot): self + { + $this->initialized['boot'] = true; + $this->boot = $boot; + + return $this; + } + + public function getState(): string + { + return $this->state; + } + + public function setState(string $state): self + { + $this->initialized['state'] = true; + $this->state = $state; + + return $this; + } +} diff --git a/src/Model/GetDiskBackupPolicy200ResponseDiskBackupPolicy.php b/src/Model/GetDiskBackupPolicy200ResponseDiskBackupPolicy.php index 28c568cd..3c0ffcc3 100644 --- a/src/Model/GetDiskBackupPolicy200ResponseDiskBackupPolicy.php +++ b/src/Model/GetDiskBackupPolicy200ResponseDiskBackupPolicy.php @@ -38,11 +38,11 @@ public function isInitialized($property): bool */ protected $target; /** - * @var GetDiskBackupPolicyPartSchedule + * @var GetDiskBackupPolicy200ResponseDiskBackupPolicySchedule */ protected $schedule; /** - * @var int + * @var int|null */ protected $autoMoveToTrashAt; @@ -98,12 +98,12 @@ public function setTarget(DiskBackupPolicyTarget $target): self return $this; } - public function getSchedule(): GetDiskBackupPolicyPartSchedule + public function getSchedule(): GetDiskBackupPolicy200ResponseDiskBackupPolicySchedule { return $this->schedule; } - public function setSchedule(GetDiskBackupPolicyPartSchedule $schedule): self + public function setSchedule(GetDiskBackupPolicy200ResponseDiskBackupPolicySchedule $schedule): self { $this->initialized['schedule'] = true; $this->schedule = $schedule; @@ -111,12 +111,12 @@ public function setSchedule(GetDiskBackupPolicyPartSchedule $schedule): self return $this; } - public function getAutoMoveToTrashAt(): int + public function getAutoMoveToTrashAt(): ?int { return $this->autoMoveToTrashAt; } - public function setAutoMoveToTrashAt(int $autoMoveToTrashAt): self + public function setAutoMoveToTrashAt(?int $autoMoveToTrashAt): self { $this->initialized['autoMoveToTrashAt'] = true; $this->autoMoveToTrashAt = $autoMoveToTrashAt; diff --git a/src/Model/GetDiskBackupPolicy200ResponseDiskBackupPolicySchedule.php b/src/Model/GetDiskBackupPolicy200ResponseDiskBackupPolicySchedule.php new file mode 100644 index 00000000..3bb4bd3f --- /dev/null +++ b/src/Model/GetDiskBackupPolicy200ResponseDiskBackupPolicySchedule.php @@ -0,0 +1,109 @@ +initialized); + } + /** + * @var int + */ + protected $frequency; + /** + * @var string + */ + protected $interval; + /** + * @var int + */ + protected $minute; + /** + * @var int + */ + protected $nextInvocationAt; + /** + * @var int + */ + protected $time; + + public function getFrequency(): int + { + return $this->frequency; + } + + public function setFrequency(int $frequency): self + { + $this->initialized['frequency'] = true; + $this->frequency = $frequency; + + return $this; + } + + public function getInterval(): string + { + return $this->interval; + } + + public function setInterval(string $interval): self + { + $this->initialized['interval'] = true; + $this->interval = $interval; + + return $this; + } + + public function getMinute(): int + { + return $this->minute; + } + + public function setMinute(int $minute): self + { + $this->initialized['minute'] = true; + $this->minute = $minute; + + return $this; + } + + public function getNextInvocationAt(): int + { + return $this->nextInvocationAt; + } + + public function setNextInvocationAt(int $nextInvocationAt): self + { + $this->initialized['nextInvocationAt'] = true; + $this->nextInvocationAt = $nextInvocationAt; + + return $this; + } + + public function getTime(): int + { + return $this->time; + } + + public function setTime(int $time): self + { + $this->initialized['time'] = true; + $this->time = $time; + + return $this; + } +} diff --git a/src/Model/GetDiskDiskBackupPolicies200ResponseDiskBackupPolicies.php b/src/Model/GetDiskDiskBackupPolicies200ResponseDiskBackupPolicies.php index 5069ee70..30550757 100644 --- a/src/Model/GetDiskDiskBackupPolicies200ResponseDiskBackupPolicies.php +++ b/src/Model/GetDiskDiskBackupPolicies200ResponseDiskBackupPolicies.php @@ -38,7 +38,7 @@ public function isInitialized($property): bool */ protected $target; /** - * @var GetDiskDiskBackupPoliciesPartSchedule + * @var GetDiskDiskBackupPolicies200ResponseDiskBackupPoliciesSchedule */ protected $schedule; @@ -94,12 +94,12 @@ public function setTarget(DiskBackupPolicyTarget $target): self return $this; } - public function getSchedule(): GetDiskDiskBackupPoliciesPartSchedule + public function getSchedule(): GetDiskDiskBackupPolicies200ResponseDiskBackupPoliciesSchedule { return $this->schedule; } - public function setSchedule(GetDiskDiskBackupPoliciesPartSchedule $schedule): self + public function setSchedule(GetDiskDiskBackupPolicies200ResponseDiskBackupPoliciesSchedule $schedule): self { $this->initialized['schedule'] = true; $this->schedule = $schedule; diff --git a/src/Model/GetDiskDiskBackupPolicies200ResponseDiskBackupPoliciesSchedule.php b/src/Model/GetDiskDiskBackupPolicies200ResponseDiskBackupPoliciesSchedule.php new file mode 100644 index 00000000..f76f5eac --- /dev/null +++ b/src/Model/GetDiskDiskBackupPolicies200ResponseDiskBackupPoliciesSchedule.php @@ -0,0 +1,58 @@ +initialized); + } + /** + * @var string + */ + protected $interval; + /** + * @var int + */ + protected $nextInvocationAt; + + public function getInterval(): string + { + return $this->interval; + } + + public function setInterval(string $interval): self + { + $this->initialized['interval'] = true; + $this->interval = $interval; + + return $this; + } + + public function getNextInvocationAt(): int + { + return $this->nextInvocationAt; + } + + public function setNextInvocationAt(int $nextInvocationAt): self + { + $this->initialized['nextInvocationAt'] = true; + $this->nextInvocationAt = $nextInvocationAt; + + return $this; + } +} diff --git a/src/Model/GetDiskPartAttributes.php b/src/Model/GetDiskPartAttributes.php index d4f463af..1694baca 100644 --- a/src/Model/GetDiskPartAttributes.php +++ b/src/Model/GetDiskPartAttributes.php @@ -30,11 +30,11 @@ public function isInitialized($property): bool */ protected $label; /** - * @var string + * @var string|null */ protected $value; /** - * @var string + * @var string|null */ protected $description; /** @@ -68,12 +68,12 @@ public function setLabel(string $label): self return $this; } - public function getValue(): string + public function getValue(): ?string { return $this->value; } - public function setValue(string $value): self + public function setValue(?string $value): self { $this->initialized['value'] = true; $this->value = $value; @@ -81,12 +81,12 @@ public function setValue(string $value): self return $this; } - public function getDescription(): string + public function getDescription(): ?string { return $this->description; } - public function setDescription(string $description): self + public function setDescription(?string $description): self { $this->initialized['description'] = true; $this->description = $description; diff --git a/src/Model/GetDiskPartDiskTemplate.php b/src/Model/GetDiskPartDiskTemplate.php index c64dd5ae..98a4835f 100644 --- a/src/Model/GetDiskPartDiskTemplate.php +++ b/src/Model/GetDiskPartDiskTemplate.php @@ -34,7 +34,7 @@ public function isInitialized($property): bool */ protected $permalink; /** - * @var GetDiskPartOperatingSystem + * @var GetDiskPartDiskTemplateOperatingSystem|null */ protected $operatingSystem; @@ -77,12 +77,12 @@ public function setPermalink(string $permalink): self return $this; } - public function getOperatingSystem(): GetDiskPartOperatingSystem + public function getOperatingSystem(): ?GetDiskPartDiskTemplateOperatingSystem { return $this->operatingSystem; } - public function setOperatingSystem(GetDiskPartOperatingSystem $operatingSystem): self + public function setOperatingSystem(?GetDiskPartDiskTemplateOperatingSystem $operatingSystem): self { $this->initialized['operatingSystem'] = true; $this->operatingSystem = $operatingSystem; diff --git a/src/Model/GetDiskPartDiskTemplateOperatingSystem.php b/src/Model/GetDiskPartDiskTemplateOperatingSystem.php new file mode 100644 index 00000000..4e520742 --- /dev/null +++ b/src/Model/GetDiskPartDiskTemplateOperatingSystem.php @@ -0,0 +1,58 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/GetDiskPartDiskTemplateVersion.php b/src/Model/GetDiskPartDiskTemplateVersion.php index a9e8070c..7c086abd 100644 --- a/src/Model/GetDiskPartDiskTemplateVersion.php +++ b/src/Model/GetDiskPartDiskTemplateVersion.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $stable; /** - * @var GetDiskPartDiskTemplate + * @var GetDiskPartDiskTemplateVersionDiskTemplate */ protected $diskTemplate; @@ -60,12 +60,12 @@ public function setStable(bool $stable): self return $this; } - public function getDiskTemplate(): GetDiskPartDiskTemplate + public function getDiskTemplate(): GetDiskPartDiskTemplateVersionDiskTemplate { return $this->diskTemplate; } - public function setDiskTemplate(GetDiskPartDiskTemplate $diskTemplate): self + public function setDiskTemplate(GetDiskPartDiskTemplateVersionDiskTemplate $diskTemplate): self { $this->initialized['diskTemplate'] = true; $this->diskTemplate = $diskTemplate; diff --git a/src/Model/GetDiskPartDiskTemplateVersionDiskTemplate.php b/src/Model/GetDiskPartDiskTemplateVersionDiskTemplate.php new file mode 100644 index 00000000..2202bc20 --- /dev/null +++ b/src/Model/GetDiskPartDiskTemplateVersionDiskTemplate.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $permalink; + /** + * @var GetDiskPartDiskTemplateOperatingSystem|null + */ + protected $operatingSystem; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): string + { + return $this->permalink; + } + + public function setPermalink(string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } + + public function getOperatingSystem(): ?GetDiskPartDiskTemplateOperatingSystem + { + return $this->operatingSystem; + } + + public function setOperatingSystem(?GetDiskPartDiskTemplateOperatingSystem $operatingSystem): self + { + $this->initialized['operatingSystem'] = true; + $this->operatingSystem = $operatingSystem; + + return $this; + } +} diff --git a/src/Model/GetDiskPartIOProfile.php b/src/Model/GetDiskPartIOProfile.php index f2cd0c16..cf934223 100644 --- a/src/Model/GetDiskPartIOProfile.php +++ b/src/Model/GetDiskPartIOProfile.php @@ -34,11 +34,11 @@ public function isInitialized($property): bool */ protected $permalink; /** - * @var int + * @var int|null */ protected $speedInMb; /** - * @var int + * @var int|null */ protected $iops; @@ -81,12 +81,12 @@ public function setPermalink(string $permalink): self return $this; } - public function getSpeedInMb(): int + public function getSpeedInMb(): ?int { return $this->speedInMb; } - public function setSpeedInMb(int $speedInMb): self + public function setSpeedInMb(?int $speedInMb): self { $this->initialized['speedInMb'] = true; $this->speedInMb = $speedInMb; @@ -94,12 +94,12 @@ public function setSpeedInMb(int $speedInMb): self return $this; } - public function getIops(): int + public function getIops(): ?int { return $this->iops; } - public function setIops(int $iops): self + public function setIops(?int $iops): self { $this->initialized['iops'] = true; $this->iops = $iops; diff --git a/src/Model/GetDiskPartInstallation.php b/src/Model/GetDiskPartInstallation.php index 9f39f55c..583c47f0 100644 --- a/src/Model/GetDiskPartInstallation.php +++ b/src/Model/GetDiskPartInstallation.php @@ -26,11 +26,11 @@ public function isInitialized($property): bool */ protected $id; /** - * @var GetDiskPartDiskTemplateVersion + * @var GetDiskPartInstallationDiskTemplateVersion */ protected $diskTemplateVersion; /** - * @var GetDiskPartAttributes[] + * @var GetDiskPartInstallationAttributesItem[] */ protected $attributes; @@ -47,12 +47,12 @@ public function setId(string $id): self return $this; } - public function getDiskTemplateVersion(): GetDiskPartDiskTemplateVersion + public function getDiskTemplateVersion(): GetDiskPartInstallationDiskTemplateVersion { return $this->diskTemplateVersion; } - public function setDiskTemplateVersion(GetDiskPartDiskTemplateVersion $diskTemplateVersion): self + public function setDiskTemplateVersion(GetDiskPartInstallationDiskTemplateVersion $diskTemplateVersion): self { $this->initialized['diskTemplateVersion'] = true; $this->diskTemplateVersion = $diskTemplateVersion; @@ -61,7 +61,7 @@ public function setDiskTemplateVersion(GetDiskPartDiskTemplateVersion $diskTempl } /** - * @return GetDiskPartAttributes[] + * @return GetDiskPartInstallationAttributesItem[] */ public function getAttributes(): array { @@ -69,7 +69,7 @@ public function getAttributes(): array } /** - * @param GetDiskPartAttributes[] $attributes + * @param GetDiskPartInstallationAttributesItem[] $attributes */ public function setAttributes(array $attributes): self { diff --git a/src/Model/GetDiskPartInstallationAttributesItem.php b/src/Model/GetDiskPartInstallationAttributesItem.php new file mode 100644 index 00000000..9099d905 --- /dev/null +++ b/src/Model/GetDiskPartInstallationAttributesItem.php @@ -0,0 +1,109 @@ +initialized); + } + /** + * @var string + */ + protected $key; + /** + * @var string + */ + protected $label; + /** + * @var string|null + */ + protected $value; + /** + * @var string|null + */ + protected $description; + /** + * @var bool + */ + protected $protect; + + public function getKey(): string + { + return $this->key; + } + + public function setKey(string $key): self + { + $this->initialized['key'] = true; + $this->key = $key; + + return $this; + } + + public function getLabel(): string + { + return $this->label; + } + + public function setLabel(string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + public function getValue(): ?string + { + return $this->value; + } + + public function setValue(?string $value): self + { + $this->initialized['value'] = true; + $this->value = $value; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->initialized['description'] = true; + $this->description = $description; + + return $this; + } + + public function getProtect(): bool + { + return $this->protect; + } + + public function setProtect(bool $protect): self + { + $this->initialized['protect'] = true; + $this->protect = $protect; + + return $this; + } +} diff --git a/src/Model/GetDiskPartInstallationDiskTemplateVersion.php b/src/Model/GetDiskPartInstallationDiskTemplateVersion.php new file mode 100644 index 00000000..6bc4d0c4 --- /dev/null +++ b/src/Model/GetDiskPartInstallationDiskTemplateVersion.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var int + */ + protected $number; + /** + * @var bool + */ + protected $stable; + /** + * @var GetDiskPartDiskTemplateVersionDiskTemplate + */ + protected $diskTemplate; + + public function getNumber(): int + { + return $this->number; + } + + public function setNumber(int $number): self + { + $this->initialized['number'] = true; + $this->number = $number; + + return $this; + } + + public function getStable(): bool + { + return $this->stable; + } + + public function setStable(bool $stable): self + { + $this->initialized['stable'] = true; + $this->stable = $stable; + + return $this; + } + + public function getDiskTemplate(): GetDiskPartDiskTemplateVersionDiskTemplate + { + return $this->diskTemplate; + } + + public function setDiskTemplate(GetDiskPartDiskTemplateVersionDiskTemplate $diskTemplate): self + { + $this->initialized['diskTemplate'] = true; + $this->diskTemplate = $diskTemplate; + + return $this; + } +} diff --git a/src/Model/GetDiskPartVirtualMachineDisk.php b/src/Model/GetDiskPartVirtualMachineDisk.php index b915a1c3..f5018522 100644 --- a/src/Model/GetDiskPartVirtualMachineDisk.php +++ b/src/Model/GetDiskPartVirtualMachineDisk.php @@ -22,7 +22,7 @@ public function isInitialized($property): bool return array_key_exists($property, $this->initialized); } /** - * @var GetDiskPartVirtualMachine + * @var GetDiskPartVirtualMachineDiskVirtualMachine */ protected $virtualMachine; /** @@ -38,12 +38,12 @@ public function isInitialized($property): bool */ protected $state; - public function getVirtualMachine(): GetDiskPartVirtualMachine + public function getVirtualMachine(): GetDiskPartVirtualMachineDiskVirtualMachine { return $this->virtualMachine; } - public function setVirtualMachine(GetDiskPartVirtualMachine $virtualMachine): self + public function setVirtualMachine(GetDiskPartVirtualMachineDiskVirtualMachine $virtualMachine): self { $this->initialized['virtualMachine'] = true; $this->virtualMachine = $virtualMachine; diff --git a/src/Model/GetDiskPartVirtualMachineDiskVirtualMachine.php b/src/Model/GetDiskPartVirtualMachineDiskVirtualMachine.php new file mode 100644 index 00000000..604a446e --- /dev/null +++ b/src/Model/GetDiskPartVirtualMachineDiskVirtualMachine.php @@ -0,0 +1,58 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $fqdn; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getFqdn(): string + { + return $this->fqdn; + } + + public function setFqdn(string $fqdn): self + { + $this->initialized['fqdn'] = true; + $this->fqdn = $fqdn; + + return $this; + } +} diff --git a/src/Model/GetDiskTemplate200ResponseDiskTemplate.php b/src/Model/GetDiskTemplate200ResponseDiskTemplate.php index de755704..3be6fd47 100644 --- a/src/Model/GetDiskTemplate200ResponseDiskTemplate.php +++ b/src/Model/GetDiskTemplate200ResponseDiskTemplate.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $description; /** @@ -42,11 +42,11 @@ public function isInitialized($property): bool */ protected $universal; /** - * @var GetDiskTemplatePartLatestVersion + * @var GetDiskTemplate200ResponseDiskTemplateLatestVersion|null */ protected $latestVersion; /** - * @var GetDiskTemplatePartOperatingSystem + * @var GetDiskTemplate200ResponseDiskTemplateOperatingSystem|null */ protected $operatingSystem; @@ -76,12 +76,12 @@ public function setName(string $name): self return $this; } - public function getDescription(): string + public function getDescription(): ?string { return $this->description; } - public function setDescription(string $description): self + public function setDescription(?string $description): self { $this->initialized['description'] = true; $this->description = $description; @@ -115,12 +115,12 @@ public function setUniversal(bool $universal): self return $this; } - public function getLatestVersion(): GetDiskTemplatePartLatestVersion + public function getLatestVersion(): ?GetDiskTemplate200ResponseDiskTemplateLatestVersion { return $this->latestVersion; } - public function setLatestVersion(GetDiskTemplatePartLatestVersion $latestVersion): self + public function setLatestVersion(?GetDiskTemplate200ResponseDiskTemplateLatestVersion $latestVersion): self { $this->initialized['latestVersion'] = true; $this->latestVersion = $latestVersion; @@ -128,12 +128,12 @@ public function setLatestVersion(GetDiskTemplatePartLatestVersion $latestVersion return $this; } - public function getOperatingSystem(): GetDiskTemplatePartOperatingSystem + public function getOperatingSystem(): ?GetDiskTemplate200ResponseDiskTemplateOperatingSystem { return $this->operatingSystem; } - public function setOperatingSystem(GetDiskTemplatePartOperatingSystem $operatingSystem): self + public function setOperatingSystem(?GetDiskTemplate200ResponseDiskTemplateOperatingSystem $operatingSystem): self { $this->initialized['operatingSystem'] = true; $this->operatingSystem = $operatingSystem; diff --git a/src/Model/GetDiskTemplate200ResponseDiskTemplateLatestVersion.php b/src/Model/GetDiskTemplate200ResponseDiskTemplateLatestVersion.php new file mode 100644 index 00000000..2b17d508 --- /dev/null +++ b/src/Model/GetDiskTemplate200ResponseDiskTemplateLatestVersion.php @@ -0,0 +1,41 @@ +initialized); + } + /** + * @var string + */ + protected $id; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } +} diff --git a/src/Model/GetDiskTemplate200ResponseDiskTemplateOperatingSystem.php b/src/Model/GetDiskTemplate200ResponseDiskTemplateOperatingSystem.php new file mode 100644 index 00000000..590f36c4 --- /dev/null +++ b/src/Model/GetDiskTemplate200ResponseDiskTemplateOperatingSystem.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var GetDiskTemplatePartOperatingSystemBadge|null + */ + protected $badge; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getBadge(): ?GetDiskTemplatePartOperatingSystemBadge + { + return $this->badge; + } + + public function setBadge(?GetDiskTemplatePartOperatingSystemBadge $badge): self + { + $this->initialized['badge'] = true; + $this->badge = $badge; + + return $this; + } +} diff --git a/src/Model/GetDiskTemplatePartOperatingSystem.php b/src/Model/GetDiskTemplatePartOperatingSystem.php index add17b40..8bf9f43f 100644 --- a/src/Model/GetDiskTemplatePartOperatingSystem.php +++ b/src/Model/GetDiskTemplatePartOperatingSystem.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var GetDiskTemplatePartBadge + * @var GetDiskTemplatePartOperatingSystemBadge|null */ protected $badge; @@ -60,12 +60,12 @@ public function setName(string $name): self return $this; } - public function getBadge(): GetDiskTemplatePartBadge + public function getBadge(): ?GetDiskTemplatePartOperatingSystemBadge { return $this->badge; } - public function setBadge(GetDiskTemplatePartBadge $badge): self + public function setBadge(?GetDiskTemplatePartOperatingSystemBadge $badge): self { $this->initialized['badge'] = true; $this->badge = $badge; diff --git a/src/Model/GetDiskTemplatePartOperatingSystemBadge.php b/src/Model/GetDiskTemplatePartOperatingSystemBadge.php new file mode 100644 index 00000000..786fa7d1 --- /dev/null +++ b/src/Model/GetDiskTemplatePartOperatingSystemBadge.php @@ -0,0 +1,41 @@ +initialized); + } + /** + * @var string + */ + protected $url; + + public function getUrl(): string + { + return $this->url; + } + + public function setUrl(string $url): self + { + $this->initialized['url'] = true; + $this->url = $url; + + return $this; + } +} diff --git a/src/Model/GetDiskTemplateVersion200ResponseDiskTemplateVersion.php b/src/Model/GetDiskTemplateVersion200ResponseDiskTemplateVersion.php index 1e720210..12bc0cbc 100644 --- a/src/Model/GetDiskTemplateVersion200ResponseDiskTemplateVersion.php +++ b/src/Model/GetDiskTemplateVersion200ResponseDiskTemplateVersion.php @@ -38,7 +38,7 @@ public function isInitialized($property): bool */ protected $sizeInGb; /** - * @var GetDiskTemplateVersionPartDiskTemplate + * @var GetDiskTemplateVersion200ResponseDiskTemplateVersionDiskTemplate */ protected $diskTemplate; @@ -94,12 +94,12 @@ public function setSizeInGb(int $sizeInGb): self return $this; } - public function getDiskTemplate(): GetDiskTemplateVersionPartDiskTemplate + public function getDiskTemplate(): GetDiskTemplateVersion200ResponseDiskTemplateVersionDiskTemplate { return $this->diskTemplate; } - public function setDiskTemplate(GetDiskTemplateVersionPartDiskTemplate $diskTemplate): self + public function setDiskTemplate(GetDiskTemplateVersion200ResponseDiskTemplateVersionDiskTemplate $diskTemplate): self { $this->initialized['diskTemplate'] = true; $this->diskTemplate = $diskTemplate; diff --git a/src/Model/GetDiskTemplateVersion200ResponseDiskTemplateVersionDiskTemplate.php b/src/Model/GetDiskTemplateVersion200ResponseDiskTemplateVersionDiskTemplate.php new file mode 100644 index 00000000..ff90f935 --- /dev/null +++ b/src/Model/GetDiskTemplateVersion200ResponseDiskTemplateVersionDiskTemplate.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $permalink; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): string + { + return $this->permalink; + } + + public function setPermalink(string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } +} diff --git a/src/Model/GetDiskTemplateVersionSpec200ResponseDiskTemplateVersion.php b/src/Model/GetDiskTemplateVersionSpec200ResponseDiskTemplateVersion.php index 1ac4cdad..3280e527 100644 --- a/src/Model/GetDiskTemplateVersionSpec200ResponseDiskTemplateVersion.php +++ b/src/Model/GetDiskTemplateVersionSpec200ResponseDiskTemplateVersion.php @@ -38,7 +38,7 @@ public function isInitialized($property): bool */ protected $sizeInGb; /** - * @var GetDiskTemplateVersionSpecPartDiskTemplate + * @var GetDiskTemplateVersionSpec200ResponseDiskTemplateVersionDiskTemplate */ protected $diskTemplate; @@ -94,12 +94,12 @@ public function setSizeInGb(int $sizeInGb): self return $this; } - public function getDiskTemplate(): GetDiskTemplateVersionSpecPartDiskTemplate + public function getDiskTemplate(): GetDiskTemplateVersionSpec200ResponseDiskTemplateVersionDiskTemplate { return $this->diskTemplate; } - public function setDiskTemplate(GetDiskTemplateVersionSpecPartDiskTemplate $diskTemplate): self + public function setDiskTemplate(GetDiskTemplateVersionSpec200ResponseDiskTemplateVersionDiskTemplate $diskTemplate): self { $this->initialized['diskTemplate'] = true; $this->diskTemplate = $diskTemplate; diff --git a/src/Model/GetDiskTemplateVersionSpec200ResponseDiskTemplateVersionDiskTemplate.php b/src/Model/GetDiskTemplateVersionSpec200ResponseDiskTemplateVersionDiskTemplate.php new file mode 100644 index 00000000..e6999697 --- /dev/null +++ b/src/Model/GetDiskTemplateVersionSpec200ResponseDiskTemplateVersionDiskTemplate.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $permalink; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): string + { + return $this->permalink; + } + + public function setPermalink(string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } +} diff --git a/src/Model/GetFileStorageVolume200ResponseFileStorageVolume.php b/src/Model/GetFileStorageVolume200ResponseFileStorageVolume.php index dd203e27..afcb2ce5 100644 --- a/src/Model/GetFileStorageVolume200ResponseFileStorageVolume.php +++ b/src/Model/GetFileStorageVolume200ResponseFileStorageVolume.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var GetFileStorageVolumePartDataCenter + * @var GetFileStorageVolume200ResponseFileStorageVolumeDataCenter */ protected $dataCenter; /** @@ -44,13 +44,13 @@ public function isInitialized($property): bool /** * The NFS location of where to mount the volume from. * - * @var string + * @var string|null */ protected $nfsLocation; /** * The size of the volume in bytes. * - * @var int + * @var int|null */ protected $size; @@ -80,12 +80,12 @@ public function setName(string $name): self return $this; } - public function getDataCenter(): GetFileStorageVolumePartDataCenter + public function getDataCenter(): GetFileStorageVolume200ResponseFileStorageVolumeDataCenter { return $this->dataCenter; } - public function setDataCenter(GetFileStorageVolumePartDataCenter $dataCenter): self + public function setDataCenter(GetFileStorageVolume200ResponseFileStorageVolumeDataCenter $dataCenter): self { $this->initialized['dataCenter'] = true; $this->dataCenter = $dataCenter; @@ -128,7 +128,7 @@ public function setState(string $state): self /** * The NFS location of where to mount the volume from. */ - public function getNfsLocation(): string + public function getNfsLocation(): ?string { return $this->nfsLocation; } @@ -136,7 +136,7 @@ public function getNfsLocation(): string /** * The NFS location of where to mount the volume from. */ - public function setNfsLocation(string $nfsLocation): self + public function setNfsLocation(?string $nfsLocation): self { $this->initialized['nfsLocation'] = true; $this->nfsLocation = $nfsLocation; @@ -147,7 +147,7 @@ public function setNfsLocation(string $nfsLocation): self /** * The size of the volume in bytes. */ - public function getSize(): int + public function getSize(): ?int { return $this->size; } @@ -155,7 +155,7 @@ public function getSize(): int /** * The size of the volume in bytes. */ - public function setSize(int $size): self + public function setSize(?int $size): self { $this->initialized['size'] = true; $this->size = $size; diff --git a/src/Model/GetFileStorageVolume200ResponseFileStorageVolumeDataCenter.php b/src/Model/GetFileStorageVolume200ResponseFileStorageVolumeDataCenter.php new file mode 100644 index 00000000..b8a640ed --- /dev/null +++ b/src/Model/GetFileStorageVolume200ResponseFileStorageVolumeDataCenter.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string|null + */ + protected $permalink; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): ?string + { + return $this->permalink; + } + + public function setPermalink(?string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } +} diff --git a/src/Model/GetFileStorageVolumePartDataCenter.php b/src/Model/GetFileStorageVolumePartDataCenter.php index 91093469..890eafd8 100644 --- a/src/Model/GetFileStorageVolumePartDataCenter.php +++ b/src/Model/GetFileStorageVolumePartDataCenter.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; @@ -60,12 +60,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; diff --git a/src/Model/GetGPUType200ResponseGPUType.php b/src/Model/GetGPUType200ResponseGPUType.php index 9db1b3ee..976c4273 100644 --- a/src/Model/GetGPUType200ResponseGPUType.php +++ b/src/Model/GetGPUType200ResponseGPUType.php @@ -46,7 +46,7 @@ public function isInitialized($property): bool */ protected $permalink; /** - * @var GetGPUTypePartDataCenters[] + * @var GetGPUType200ResponseGPUTypeDataCentersItem[] */ protected $dataCenters; @@ -129,7 +129,7 @@ public function setPermalink(string $permalink): self } /** - * @return GetGPUTypePartDataCenters[] + * @return GetGPUType200ResponseGPUTypeDataCentersItem[] */ public function getDataCenters(): array { @@ -137,7 +137,7 @@ public function getDataCenters(): array } /** - * @param GetGPUTypePartDataCenters[] $dataCenters + * @param GetGPUType200ResponseGPUTypeDataCentersItem[] $dataCenters */ public function setDataCenters(array $dataCenters): self { diff --git a/src/Model/GetGPUType200ResponseGPUTypeDataCentersItem.php b/src/Model/GetGPUType200ResponseGPUTypeDataCentersItem.php new file mode 100644 index 00000000..dfc157b1 --- /dev/null +++ b/src/Model/GetGPUType200ResponseGPUTypeDataCentersItem.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string|null + */ + protected $permalink; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): ?string + { + return $this->permalink; + } + + public function setPermalink(?string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } +} diff --git a/src/Model/GetGPUTypePartDataCenters.php b/src/Model/GetGPUTypePartDataCenters.php index 2edcfc57..c6093eae 100644 --- a/src/Model/GetGPUTypePartDataCenters.php +++ b/src/Model/GetGPUTypePartDataCenters.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; @@ -60,12 +60,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; diff --git a/src/Model/GetGPUTypes200ResponseGPUTypes.php b/src/Model/GetGPUTypes200ResponseGPUTypes.php index e19d60ef..3bc2b583 100644 --- a/src/Model/GetGPUTypes200ResponseGPUTypes.php +++ b/src/Model/GetGPUTypes200ResponseGPUTypes.php @@ -46,7 +46,7 @@ public function isInitialized($property): bool */ protected $permalink; /** - * @var GetGPUTypesPartDataCenters[] + * @var GetGPUTypes200ResponseGPUTypesDataCentersItem[] */ protected $dataCenters; @@ -129,7 +129,7 @@ public function setPermalink(string $permalink): self } /** - * @return GetGPUTypesPartDataCenters[] + * @return GetGPUTypes200ResponseGPUTypesDataCentersItem[] */ public function getDataCenters(): array { @@ -137,7 +137,7 @@ public function getDataCenters(): array } /** - * @param GetGPUTypesPartDataCenters[] $dataCenters + * @param GetGPUTypes200ResponseGPUTypesDataCentersItem[] $dataCenters */ public function setDataCenters(array $dataCenters): self { diff --git a/src/Model/GetGPUTypes200ResponseGPUTypesDataCentersItem.php b/src/Model/GetGPUTypes200ResponseGPUTypesDataCentersItem.php new file mode 100644 index 00000000..ebfad411 --- /dev/null +++ b/src/Model/GetGPUTypes200ResponseGPUTypesDataCentersItem.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string|null + */ + protected $permalink; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): ?string + { + return $this->permalink; + } + + public function setPermalink(?string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } +} diff --git a/src/Model/GetGPUTypesPartDataCenters.php b/src/Model/GetGPUTypesPartDataCenters.php index da1ed40d..98486ed1 100644 --- a/src/Model/GetGPUTypesPartDataCenters.php +++ b/src/Model/GetGPUTypesPartDataCenters.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; @@ -60,12 +60,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; diff --git a/src/Model/GetLoadBalancer200ResponseLoadBalancer.php b/src/Model/GetLoadBalancer200ResponseLoadBalancer.php index 0c2258f0..4ad40c78 100644 --- a/src/Model/GetLoadBalancer200ResponseLoadBalancer.php +++ b/src/Model/GetLoadBalancer200ResponseLoadBalancer.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $apiReference; /** @@ -46,7 +46,7 @@ public function isInitialized($property): bool */ protected $resourceIds; /** - * @var GetLoadBalancerPartIPAddress[] + * @var GetLoadBalancer200ResponseLoadBalancerIpAddressItem[] */ protected $ipAddress; /** @@ -62,7 +62,7 @@ public function isInitialized($property): bool */ protected $backendCertificateKey; /** - * @var GetLoadBalancerPartDataCenter + * @var GetLoadBalancer200ResponseLoadBalancerDataCenter */ protected $dataCenter; /** @@ -70,7 +70,7 @@ public function isInitialized($property): bool */ protected $enableWeighting; /** - * @var GetLoadBalancerPartWeights[] + * @var GetLoadBalancer200ResponseLoadBalancerWeightsItem[] */ protected $weights; /** @@ -104,12 +104,12 @@ public function setName(string $name): self return $this; } - public function getApiReference(): string + public function getApiReference(): ?string { return $this->apiReference; } - public function setApiReference(string $apiReference): self + public function setApiReference(?string $apiReference): self { $this->initialized['apiReference'] = true; $this->apiReference = $apiReference; @@ -169,7 +169,7 @@ public function setResourceIds(array $resourceIds): self } /** - * @return GetLoadBalancerPartIPAddress[] + * @return GetLoadBalancer200ResponseLoadBalancerIpAddressItem[] */ public function getIpAddress(): array { @@ -177,7 +177,7 @@ public function getIpAddress(): array } /** - * @param GetLoadBalancerPartIPAddress[] $ipAddress + * @param GetLoadBalancer200ResponseLoadBalancerIpAddressItem[] $ipAddress */ public function setIpAddress(array $ipAddress): self { @@ -226,12 +226,12 @@ public function setBackendCertificateKey(string $backendCertificateKey): self return $this; } - public function getDataCenter(): GetLoadBalancerPartDataCenter + public function getDataCenter(): GetLoadBalancer200ResponseLoadBalancerDataCenter { return $this->dataCenter; } - public function setDataCenter(GetLoadBalancerPartDataCenter $dataCenter): self + public function setDataCenter(GetLoadBalancer200ResponseLoadBalancerDataCenter $dataCenter): self { $this->initialized['dataCenter'] = true; $this->dataCenter = $dataCenter; @@ -253,7 +253,7 @@ public function setEnableWeighting(bool $enableWeighting): self } /** - * @return GetLoadBalancerPartWeights[] + * @return GetLoadBalancer200ResponseLoadBalancerWeightsItem[] */ public function getWeights(): array { @@ -261,7 +261,7 @@ public function getWeights(): array } /** - * @param GetLoadBalancerPartWeights[] $weights + * @param GetLoadBalancer200ResponseLoadBalancerWeightsItem[] $weights */ public function setWeights(array $weights): self { diff --git a/src/Model/GetLoadBalancer200ResponseLoadBalancerDataCenter.php b/src/Model/GetLoadBalancer200ResponseLoadBalancerDataCenter.php new file mode 100644 index 00000000..0e3f5983 --- /dev/null +++ b/src/Model/GetLoadBalancer200ResponseLoadBalancerDataCenter.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string|null + */ + protected $permalink; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): ?string + { + return $this->permalink; + } + + public function setPermalink(?string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } +} diff --git a/src/Model/GetLoadBalancer200ResponseLoadBalancerIpAddressItem.php b/src/Model/GetLoadBalancer200ResponseLoadBalancerIpAddressItem.php new file mode 100644 index 00000000..a7e0a8df --- /dev/null +++ b/src/Model/GetLoadBalancer200ResponseLoadBalancerIpAddressItem.php @@ -0,0 +1,58 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $address; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getAddress(): string + { + return $this->address; + } + + public function setAddress(string $address): self + { + $this->initialized['address'] = true; + $this->address = $address; + + return $this; + } +} diff --git a/src/Model/GetLoadBalancer200ResponseLoadBalancerWeightsItem.php b/src/Model/GetLoadBalancer200ResponseLoadBalancerWeightsItem.php new file mode 100644 index 00000000..d78a75d0 --- /dev/null +++ b/src/Model/GetLoadBalancer200ResponseLoadBalancerWeightsItem.php @@ -0,0 +1,58 @@ +initialized); + } + /** + * @var string + */ + protected $virtualMachineId; + /** + * @var int + */ + protected $weight; + + public function getVirtualMachineId(): string + { + return $this->virtualMachineId; + } + + public function setVirtualMachineId(string $virtualMachineId): self + { + $this->initialized['virtualMachineId'] = true; + $this->virtualMachineId = $virtualMachineId; + + return $this; + } + + public function getWeight(): int + { + return $this->weight; + } + + public function setWeight(int $weight): self + { + $this->initialized['weight'] = true; + $this->weight = $weight; + + return $this; + } +} diff --git a/src/Model/GetLoadBalancerPartDataCenter.php b/src/Model/GetLoadBalancerPartDataCenter.php index cd49db05..0ac2dce1 100644 --- a/src/Model/GetLoadBalancerPartDataCenter.php +++ b/src/Model/GetLoadBalancerPartDataCenter.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; @@ -60,12 +60,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; diff --git a/src/Model/GetLoadBalancerRules200ResponseLoadBalancerRules.php b/src/Model/GetLoadBalancerRules200ResponseLoadBalancerRules.php index 76492387..ae028125 100644 --- a/src/Model/GetLoadBalancerRules200ResponseLoadBalancerRules.php +++ b/src/Model/GetLoadBalancerRules200ResponseLoadBalancerRules.php @@ -42,7 +42,7 @@ public function isInitialized($property): bool */ protected $protocol; /** - * @var GetLoadBalancerRulesPartCertificates[] + * @var GetLoadBalancerRules200ResponseLoadBalancerRulesCertificatesItem[] */ protected $certificates; /** @@ -116,7 +116,7 @@ public function setProtocol(string $protocol): self } /** - * @return GetLoadBalancerRulesPartCertificates[] + * @return GetLoadBalancerRules200ResponseLoadBalancerRulesCertificatesItem[] */ public function getCertificates(): array { @@ -124,7 +124,7 @@ public function getCertificates(): array } /** - * @param GetLoadBalancerRulesPartCertificates[] $certificates + * @param GetLoadBalancerRules200ResponseLoadBalancerRulesCertificatesItem[] $certificates */ public function setCertificates(array $certificates): self { diff --git a/src/Model/GetLoadBalancerRules200ResponseLoadBalancerRulesCertificatesItem.php b/src/Model/GetLoadBalancerRules200ResponseLoadBalancerRulesCertificatesItem.php new file mode 100644 index 00000000..9d5bda64 --- /dev/null +++ b/src/Model/GetLoadBalancerRules200ResponseLoadBalancerRulesCertificatesItem.php @@ -0,0 +1,58 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule.php b/src/Model/GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule.php index 6ff6bb98..db11860e 100644 --- a/src/Model/GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule.php +++ b/src/Model/GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule.php @@ -46,7 +46,7 @@ public function isInitialized($property): bool */ protected $proxyProtocol; /** - * @var GetLoadBalancersRulesLoadBalancerRulePartCertificates[] + * @var GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItem[] */ protected $certificates; /** @@ -90,7 +90,7 @@ public function isInitialized($property): bool */ protected $checkHttpStatuses; /** - * @var GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer + * @var GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancer */ protected $loadBalancer; @@ -173,7 +173,7 @@ public function setProxyProtocol(bool $proxyProtocol): self } /** - * @return GetLoadBalancersRulesLoadBalancerRulePartCertificates[] + * @return GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItem[] */ public function getCertificates(): array { @@ -181,7 +181,7 @@ public function getCertificates(): array } /** - * @param GetLoadBalancersRulesLoadBalancerRulePartCertificates[] $certificates + * @param GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItem[] $certificates */ public function setCertificates(array $certificates): self { @@ -321,12 +321,12 @@ public function setCheckHttpStatuses(string $checkHttpStatuses): self return $this; } - public function getLoadBalancer(): GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer + public function getLoadBalancer(): GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancer { return $this->loadBalancer; } - public function setLoadBalancer(GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer $loadBalancer): self + public function setLoadBalancer(GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancer $loadBalancer): self { $this->initialized['loadBalancer'] = true; $this->loadBalancer = $loadBalancer; diff --git a/src/Model/GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItem.php b/src/Model/GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItem.php new file mode 100644 index 00000000..10af4d58 --- /dev/null +++ b/src/Model/GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItem.php @@ -0,0 +1,98 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string[] + */ + protected $additionalNames; + /** + * @var string + */ + protected $state; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + /** + * @return string[] + */ + public function getAdditionalNames(): array + { + return $this->additionalNames; + } + + /** + * @param string[] $additionalNames + */ + public function setAdditionalNames(array $additionalNames): self + { + $this->initialized['additionalNames'] = true; + $this->additionalNames = $additionalNames; + + return $this; + } + + public function getState(): string + { + return $this->state; + } + + public function setState(string $state): self + { + $this->initialized['state'] = true; + $this->state = $state; + + return $this; + } +} diff --git a/src/Model/GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancer.php b/src/Model/GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancer.php new file mode 100644 index 00000000..e9525fe9 --- /dev/null +++ b/src/Model/GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancer.php @@ -0,0 +1,58 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/GetOrganizationAvailableNetworks200ResponseNetworks.php b/src/Model/GetOrganizationAvailableNetworks200ResponseNetworks.php index 6db49bbc..b80ebc26 100644 --- a/src/Model/GetOrganizationAvailableNetworks200ResponseNetworks.php +++ b/src/Model/GetOrganizationAvailableNetworks200ResponseNetworks.php @@ -30,11 +30,11 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; /** - * @var GetOrganizationAvailableNetworksPartDataCenter + * @var GetOrganizationAvailableNetworks200ResponseNetworksDataCenter */ protected $dataCenter; @@ -64,12 +64,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; @@ -77,12 +77,12 @@ public function setPermalink(string $permalink): self return $this; } - public function getDataCenter(): GetOrganizationAvailableNetworksPartDataCenter + public function getDataCenter(): GetOrganizationAvailableNetworks200ResponseNetworksDataCenter { return $this->dataCenter; } - public function setDataCenter(GetOrganizationAvailableNetworksPartDataCenter $dataCenter): self + public function setDataCenter(GetOrganizationAvailableNetworks200ResponseNetworksDataCenter $dataCenter): self { $this->initialized['dataCenter'] = true; $this->dataCenter = $dataCenter; diff --git a/src/Model/GetOrganizationAvailableNetworks200ResponseNetworksDataCenter.php b/src/Model/GetOrganizationAvailableNetworks200ResponseNetworksDataCenter.php new file mode 100644 index 00000000..b6cd7057 --- /dev/null +++ b/src/Model/GetOrganizationAvailableNetworks200ResponseNetworksDataCenter.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string|null + */ + protected $permalink; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): ?string + { + return $this->permalink; + } + + public function setPermalink(?string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } +} diff --git a/src/Model/GetOrganizationAvailableNetworks200ResponseVirtualNetworks.php b/src/Model/GetOrganizationAvailableNetworks200ResponseVirtualNetworks.php index 98b50cbc..f3ca027f 100644 --- a/src/Model/GetOrganizationAvailableNetworks200ResponseVirtualNetworks.php +++ b/src/Model/GetOrganizationAvailableNetworks200ResponseVirtualNetworks.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var GetOrganizationAvailableNetworksPartDataCenter + * @var GetOrganizationAvailableNetworks200ResponseVirtualNetworksDataCenter */ protected $dataCenter; @@ -60,12 +60,12 @@ public function setName(string $name): self return $this; } - public function getDataCenter(): GetOrganizationAvailableNetworksPartDataCenter + public function getDataCenter(): GetOrganizationAvailableNetworks200ResponseVirtualNetworksDataCenter { return $this->dataCenter; } - public function setDataCenter(GetOrganizationAvailableNetworksPartDataCenter $dataCenter): self + public function setDataCenter(GetOrganizationAvailableNetworks200ResponseVirtualNetworksDataCenter $dataCenter): self { $this->initialized['dataCenter'] = true; $this->dataCenter = $dataCenter; diff --git a/src/Model/GetOrganizationAvailableNetworks200ResponseVirtualNetworksDataCenter.php b/src/Model/GetOrganizationAvailableNetworks200ResponseVirtualNetworksDataCenter.php new file mode 100644 index 00000000..3159b619 --- /dev/null +++ b/src/Model/GetOrganizationAvailableNetworks200ResponseVirtualNetworksDataCenter.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string|null + */ + protected $permalink; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): ?string + { + return $this->permalink; + } + + public function setPermalink(?string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } +} diff --git a/src/Model/GetOrganizationAvailableNetworksPartDataCenter.php b/src/Model/GetOrganizationAvailableNetworksPartDataCenter.php index baa1febc..edd0a28b 100644 --- a/src/Model/GetOrganizationAvailableNetworksPartDataCenter.php +++ b/src/Model/GetOrganizationAvailableNetworksPartDataCenter.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; @@ -60,12 +60,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; diff --git a/src/Model/GetOrganizationCertificates200ResponseCertificates.php b/src/Model/GetOrganizationCertificates200ResponseCertificates.php index c55405cd..bf9402c1 100644 --- a/src/Model/GetOrganizationCertificates200ResponseCertificates.php +++ b/src/Model/GetOrganizationCertificates200ResponseCertificates.php @@ -38,11 +38,11 @@ public function isInitialized($property): bool */ protected $state; /** - * @var int + * @var int|null */ protected $expiresAt; /** - * @var int + * @var int|null */ protected $lastIssuedAt; @@ -98,12 +98,12 @@ public function setState(string $state): self return $this; } - public function getExpiresAt(): int + public function getExpiresAt(): ?int { return $this->expiresAt; } - public function setExpiresAt(int $expiresAt): self + public function setExpiresAt(?int $expiresAt): self { $this->initialized['expiresAt'] = true; $this->expiresAt = $expiresAt; @@ -111,12 +111,12 @@ public function setExpiresAt(int $expiresAt): self return $this; } - public function getLastIssuedAt(): int + public function getLastIssuedAt(): ?int { return $this->lastIssuedAt; } - public function setLastIssuedAt(int $lastIssuedAt): self + public function setLastIssuedAt(?int $lastIssuedAt): self { $this->initialized['lastIssuedAt'] = true; $this->lastIssuedAt = $lastIssuedAt; diff --git a/src/Model/GetOrganizationDiskBackupPolicies200ResponseDiskBackupPolicies.php b/src/Model/GetOrganizationDiskBackupPolicies200ResponseDiskBackupPolicies.php index abacfb18..d5649693 100644 --- a/src/Model/GetOrganizationDiskBackupPolicies200ResponseDiskBackupPolicies.php +++ b/src/Model/GetOrganizationDiskBackupPolicies200ResponseDiskBackupPolicies.php @@ -38,7 +38,7 @@ public function isInitialized($property): bool */ protected $target; /** - * @var GetOrganizationDiskBackupPoliciesPartSchedule + * @var GetOrganizationDiskBackupPolicies200ResponseDiskBackupPoliciesSchedule */ protected $schedule; @@ -94,12 +94,12 @@ public function setTarget(DiskBackupPolicyTarget $target): self return $this; } - public function getSchedule(): GetOrganizationDiskBackupPoliciesPartSchedule + public function getSchedule(): GetOrganizationDiskBackupPolicies200ResponseDiskBackupPoliciesSchedule { return $this->schedule; } - public function setSchedule(GetOrganizationDiskBackupPoliciesPartSchedule $schedule): self + public function setSchedule(GetOrganizationDiskBackupPolicies200ResponseDiskBackupPoliciesSchedule $schedule): self { $this->initialized['schedule'] = true; $this->schedule = $schedule; diff --git a/src/Model/GetOrganizationDiskBackupPolicies200ResponseDiskBackupPoliciesSchedule.php b/src/Model/GetOrganizationDiskBackupPolicies200ResponseDiskBackupPoliciesSchedule.php new file mode 100644 index 00000000..db06259b --- /dev/null +++ b/src/Model/GetOrganizationDiskBackupPolicies200ResponseDiskBackupPoliciesSchedule.php @@ -0,0 +1,58 @@ +initialized); + } + /** + * @var string + */ + protected $interval; + /** + * @var int + */ + protected $nextInvocationAt; + + public function getInterval(): string + { + return $this->interval; + } + + public function setInterval(string $interval): self + { + $this->initialized['interval'] = true; + $this->interval = $interval; + + return $this; + } + + public function getNextInvocationAt(): int + { + return $this->nextInvocationAt; + } + + public function setNextInvocationAt(int $nextInvocationAt): self + { + $this->initialized['nextInvocationAt'] = true; + $this->nextInvocationAt = $nextInvocationAt; + + return $this; + } +} diff --git a/src/Model/GetOrganizationDiskTemplates200ResponseDiskTemplates.php b/src/Model/GetOrganizationDiskTemplates200ResponseDiskTemplates.php index b7e2498e..b70d7079 100644 --- a/src/Model/GetOrganizationDiskTemplates200ResponseDiskTemplates.php +++ b/src/Model/GetOrganizationDiskTemplates200ResponseDiskTemplates.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $description; /** @@ -42,11 +42,11 @@ public function isInitialized($property): bool */ protected $universal; /** - * @var GetOrganizationDiskTemplatesPartLatestVersion + * @var GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersion|null */ protected $latestVersion; /** - * @var GetOrganizationDiskTemplatesPartOperatingSystem + * @var GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystem|null */ protected $operatingSystem; @@ -76,12 +76,12 @@ public function setName(string $name): self return $this; } - public function getDescription(): string + public function getDescription(): ?string { return $this->description; } - public function setDescription(string $description): self + public function setDescription(?string $description): self { $this->initialized['description'] = true; $this->description = $description; @@ -115,12 +115,12 @@ public function setUniversal(bool $universal): self return $this; } - public function getLatestVersion(): GetOrganizationDiskTemplatesPartLatestVersion + public function getLatestVersion(): ?GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersion { return $this->latestVersion; } - public function setLatestVersion(GetOrganizationDiskTemplatesPartLatestVersion $latestVersion): self + public function setLatestVersion(?GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersion $latestVersion): self { $this->initialized['latestVersion'] = true; $this->latestVersion = $latestVersion; @@ -128,12 +128,12 @@ public function setLatestVersion(GetOrganizationDiskTemplatesPartLatestVersion $ return $this; } - public function getOperatingSystem(): GetOrganizationDiskTemplatesPartOperatingSystem + public function getOperatingSystem(): ?GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystem { return $this->operatingSystem; } - public function setOperatingSystem(GetOrganizationDiskTemplatesPartOperatingSystem $operatingSystem): self + public function setOperatingSystem(?GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystem $operatingSystem): self { $this->initialized['operatingSystem'] = true; $this->operatingSystem = $operatingSystem; diff --git a/src/Model/GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersion.php b/src/Model/GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersion.php new file mode 100644 index 00000000..584269ff --- /dev/null +++ b/src/Model/GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersion.php @@ -0,0 +1,58 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var int + */ + protected $number; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getNumber(): int + { + return $this->number; + } + + public function setNumber(int $number): self + { + $this->initialized['number'] = true; + $this->number = $number; + + return $this; + } +} diff --git a/src/Model/GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystem.php b/src/Model/GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystem.php new file mode 100644 index 00000000..f7f1431b --- /dev/null +++ b/src/Model/GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystem.php @@ -0,0 +1,58 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/GetOrganizationDisks200ResponseDisk.php b/src/Model/GetOrganizationDisks200ResponseDisk.php index 8ae5931f..9790ee1f 100644 --- a/src/Model/GetOrganizationDisks200ResponseDisk.php +++ b/src/Model/GetOrganizationDisks200ResponseDisk.php @@ -42,7 +42,7 @@ public function isInitialized($property): bool */ protected $state; /** - * @var GetOrganizationDisksPartVirtualMachineDisk + * @var GetOrganizationDisks200ResponseDiskVirtualMachineDisk|null */ protected $virtualMachineDisk; @@ -111,12 +111,12 @@ public function setState(string $state): self return $this; } - public function getVirtualMachineDisk(): GetOrganizationDisksPartVirtualMachineDisk + public function getVirtualMachineDisk(): ?GetOrganizationDisks200ResponseDiskVirtualMachineDisk { return $this->virtualMachineDisk; } - public function setVirtualMachineDisk(GetOrganizationDisksPartVirtualMachineDisk $virtualMachineDisk): self + public function setVirtualMachineDisk(?GetOrganizationDisks200ResponseDiskVirtualMachineDisk $virtualMachineDisk): self { $this->initialized['virtualMachineDisk'] = true; $this->virtualMachineDisk = $virtualMachineDisk; diff --git a/src/Model/GetOrganizationDisks200ResponseDiskVirtualMachineDisk.php b/src/Model/GetOrganizationDisks200ResponseDiskVirtualMachineDisk.php new file mode 100644 index 00000000..f365b3ae --- /dev/null +++ b/src/Model/GetOrganizationDisks200ResponseDiskVirtualMachineDisk.php @@ -0,0 +1,41 @@ +initialized); + } + /** + * @var GetOrganizationDisksPartVirtualMachineDiskVirtualMachine + */ + protected $virtualMachine; + + public function getVirtualMachine(): GetOrganizationDisksPartVirtualMachineDiskVirtualMachine + { + return $this->virtualMachine; + } + + public function setVirtualMachine(GetOrganizationDisksPartVirtualMachineDiskVirtualMachine $virtualMachine): self + { + $this->initialized['virtualMachine'] = true; + $this->virtualMachine = $virtualMachine; + + return $this; + } +} diff --git a/src/Model/GetOrganizationDisksPartVirtualMachineDisk.php b/src/Model/GetOrganizationDisksPartVirtualMachineDisk.php index 9a6a67a5..3fa39beb 100644 --- a/src/Model/GetOrganizationDisksPartVirtualMachineDisk.php +++ b/src/Model/GetOrganizationDisksPartVirtualMachineDisk.php @@ -22,16 +22,16 @@ public function isInitialized($property): bool return array_key_exists($property, $this->initialized); } /** - * @var GetOrganizationDisksPartVirtualMachine + * @var GetOrganizationDisksPartVirtualMachineDiskVirtualMachine */ protected $virtualMachine; - public function getVirtualMachine(): GetOrganizationDisksPartVirtualMachine + public function getVirtualMachine(): GetOrganizationDisksPartVirtualMachineDiskVirtualMachine { return $this->virtualMachine; } - public function setVirtualMachine(GetOrganizationDisksPartVirtualMachine $virtualMachine): self + public function setVirtualMachine(GetOrganizationDisksPartVirtualMachineDiskVirtualMachine $virtualMachine): self { $this->initialized['virtualMachine'] = true; $this->virtualMachine = $virtualMachine; diff --git a/src/Model/GetOrganizationDisksPartVirtualMachineDiskVirtualMachine.php b/src/Model/GetOrganizationDisksPartVirtualMachineDiskVirtualMachine.php new file mode 100644 index 00000000..439c2f29 --- /dev/null +++ b/src/Model/GetOrganizationDisksPartVirtualMachineDiskVirtualMachine.php @@ -0,0 +1,58 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $fqdn; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getFqdn(): string + { + return $this->fqdn; + } + + public function setFqdn(string $fqdn): self + { + $this->initialized['fqdn'] = true; + $this->fqdn = $fqdn; + + return $this; + } +} diff --git a/src/Model/GetOrganizationFileStorageVolumes200ResponseFileStorageVolumes.php b/src/Model/GetOrganizationFileStorageVolumes200ResponseFileStorageVolumes.php index 180d4821..84dc43be 100644 --- a/src/Model/GetOrganizationFileStorageVolumes200ResponseFileStorageVolumes.php +++ b/src/Model/GetOrganizationFileStorageVolumes200ResponseFileStorageVolumes.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var GetOrganizationFileStorageVolumesPartDataCenter + * @var GetOrganizationFileStorageVolumes200ResponseFileStorageVolumesDataCenter */ protected $dataCenter; /** @@ -44,13 +44,13 @@ public function isInitialized($property): bool /** * The NFS location of where to mount the volume from. * - * @var string + * @var string|null */ protected $nfsLocation; /** * The size of the volume in bytes. * - * @var int + * @var int|null */ protected $size; @@ -80,12 +80,12 @@ public function setName(string $name): self return $this; } - public function getDataCenter(): GetOrganizationFileStorageVolumesPartDataCenter + public function getDataCenter(): GetOrganizationFileStorageVolumes200ResponseFileStorageVolumesDataCenter { return $this->dataCenter; } - public function setDataCenter(GetOrganizationFileStorageVolumesPartDataCenter $dataCenter): self + public function setDataCenter(GetOrganizationFileStorageVolumes200ResponseFileStorageVolumesDataCenter $dataCenter): self { $this->initialized['dataCenter'] = true; $this->dataCenter = $dataCenter; @@ -128,7 +128,7 @@ public function setState(string $state): self /** * The NFS location of where to mount the volume from. */ - public function getNfsLocation(): string + public function getNfsLocation(): ?string { return $this->nfsLocation; } @@ -136,7 +136,7 @@ public function getNfsLocation(): string /** * The NFS location of where to mount the volume from. */ - public function setNfsLocation(string $nfsLocation): self + public function setNfsLocation(?string $nfsLocation): self { $this->initialized['nfsLocation'] = true; $this->nfsLocation = $nfsLocation; @@ -147,7 +147,7 @@ public function setNfsLocation(string $nfsLocation): self /** * The size of the volume in bytes. */ - public function getSize(): int + public function getSize(): ?int { return $this->size; } @@ -155,7 +155,7 @@ public function getSize(): int /** * The size of the volume in bytes. */ - public function setSize(int $size): self + public function setSize(?int $size): self { $this->initialized['size'] = true; $this->size = $size; diff --git a/src/Model/GetOrganizationFileStorageVolumes200ResponseFileStorageVolumesDataCenter.php b/src/Model/GetOrganizationFileStorageVolumes200ResponseFileStorageVolumesDataCenter.php new file mode 100644 index 00000000..8cb94d91 --- /dev/null +++ b/src/Model/GetOrganizationFileStorageVolumes200ResponseFileStorageVolumesDataCenter.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string|null + */ + protected $permalink; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): ?string + { + return $this->permalink; + } + + public function setPermalink(?string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } +} diff --git a/src/Model/GetOrganizationFileStorageVolumesPartDataCenter.php b/src/Model/GetOrganizationFileStorageVolumesPartDataCenter.php index 2ec8c86c..96667d47 100644 --- a/src/Model/GetOrganizationFileStorageVolumesPartDataCenter.php +++ b/src/Model/GetOrganizationFileStorageVolumesPartDataCenter.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; @@ -60,12 +60,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; diff --git a/src/Model/GetOrganizationIPAddresses200ResponseIPAddresses.php b/src/Model/GetOrganizationIPAddresses200ResponseIPAddresses.php index 52afd824..f6ccf48a 100644 --- a/src/Model/GetOrganizationIPAddresses200ResponseIPAddresses.php +++ b/src/Model/GetOrganizationIPAddresses200ResponseIPAddresses.php @@ -38,11 +38,11 @@ public function isInitialized($property): bool */ protected $vip; /** - * @var string + * @var string|null */ protected $allocationId; /** - * @var string + * @var string|null */ protected $allocationType; @@ -98,12 +98,12 @@ public function setVip(bool $vip): self return $this; } - public function getAllocationId(): string + public function getAllocationId(): ?string { return $this->allocationId; } - public function setAllocationId(string $allocationId): self + public function setAllocationId(?string $allocationId): self { $this->initialized['allocationId'] = true; $this->allocationId = $allocationId; @@ -111,12 +111,12 @@ public function setAllocationId(string $allocationId): self return $this; } - public function getAllocationType(): string + public function getAllocationType(): ?string { return $this->allocationType; } - public function setAllocationType(string $allocationType): self + public function setAllocationType(?string $allocationType): self { $this->initialized['allocationType'] = true; $this->allocationType = $allocationType; diff --git a/src/Model/GetOrganizationLoadBalancers200ResponseLoadBalancers.php b/src/Model/GetOrganizationLoadBalancers200ResponseLoadBalancers.php index 78f9a930..338917ef 100644 --- a/src/Model/GetOrganizationLoadBalancers200ResponseLoadBalancers.php +++ b/src/Model/GetOrganizationLoadBalancers200ResponseLoadBalancers.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $apiReference; /** @@ -46,11 +46,11 @@ public function isInitialized($property): bool */ protected $resourceIds; /** - * @var GetOrganizationLoadBalancersPartIPAddress[] + * @var GetOrganizationLoadBalancers200ResponseLoadBalancersIpAddressItem[] */ protected $ipAddress; /** - * @var GetOrganizationLoadBalancersPartDataCenter + * @var GetOrganizationLoadBalancers200ResponseLoadBalancersDataCenter */ protected $dataCenter; @@ -80,12 +80,12 @@ public function setName(string $name): self return $this; } - public function getApiReference(): string + public function getApiReference(): ?string { return $this->apiReference; } - public function setApiReference(string $apiReference): self + public function setApiReference(?string $apiReference): self { $this->initialized['apiReference'] = true; $this->apiReference = $apiReference; @@ -145,7 +145,7 @@ public function setResourceIds(array $resourceIds): self } /** - * @return GetOrganizationLoadBalancersPartIPAddress[] + * @return GetOrganizationLoadBalancers200ResponseLoadBalancersIpAddressItem[] */ public function getIpAddress(): array { @@ -153,7 +153,7 @@ public function getIpAddress(): array } /** - * @param GetOrganizationLoadBalancersPartIPAddress[] $ipAddress + * @param GetOrganizationLoadBalancers200ResponseLoadBalancersIpAddressItem[] $ipAddress */ public function setIpAddress(array $ipAddress): self { @@ -163,12 +163,12 @@ public function setIpAddress(array $ipAddress): self return $this; } - public function getDataCenter(): GetOrganizationLoadBalancersPartDataCenter + public function getDataCenter(): GetOrganizationLoadBalancers200ResponseLoadBalancersDataCenter { return $this->dataCenter; } - public function setDataCenter(GetOrganizationLoadBalancersPartDataCenter $dataCenter): self + public function setDataCenter(GetOrganizationLoadBalancers200ResponseLoadBalancersDataCenter $dataCenter): self { $this->initialized['dataCenter'] = true; $this->dataCenter = $dataCenter; diff --git a/src/Model/GetOrganizationLoadBalancers200ResponseLoadBalancersDataCenter.php b/src/Model/GetOrganizationLoadBalancers200ResponseLoadBalancersDataCenter.php new file mode 100644 index 00000000..393a5811 --- /dev/null +++ b/src/Model/GetOrganizationLoadBalancers200ResponseLoadBalancersDataCenter.php @@ -0,0 +1,58 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/GetOrganizationLoadBalancers200ResponseLoadBalancersIpAddressItem.php b/src/Model/GetOrganizationLoadBalancers200ResponseLoadBalancersIpAddressItem.php new file mode 100644 index 00000000..9ddea9a0 --- /dev/null +++ b/src/Model/GetOrganizationLoadBalancers200ResponseLoadBalancersIpAddressItem.php @@ -0,0 +1,41 @@ +initialized); + } + /** + * @var string + */ + protected $address; + + public function getAddress(): string + { + return $this->address; + } + + public function setAddress(string $address): self + { + $this->initialized['address'] = true; + $this->address = $address; + + return $this; + } +} diff --git a/src/Model/GetOrganizationUsersWithAccess200ResponseUsers.php b/src/Model/GetOrganizationUsersWithAccess200ResponseUsers.php index 8844bd62..43b870bb 100644 --- a/src/Model/GetOrganizationUsersWithAccess200ResponseUsers.php +++ b/src/Model/GetOrganizationUsersWithAccess200ResponseUsers.php @@ -22,16 +22,16 @@ public function isInitialized($property): bool return array_key_exists($property, $this->initialized); } /** - * @var GetOrganizationUsersWithAccessPartUser + * @var GetOrganizationUsersWithAccess200ResponseUsersUser|null */ protected $user; - public function getUser(): GetOrganizationUsersWithAccessPartUser + public function getUser(): ?GetOrganizationUsersWithAccess200ResponseUsersUser { return $this->user; } - public function setUser(GetOrganizationUsersWithAccessPartUser $user): self + public function setUser(?GetOrganizationUsersWithAccess200ResponseUsersUser $user): self { $this->initialized['user'] = true; $this->user = $user; diff --git a/src/Model/GetOrganizationUsersWithAccess200ResponseUsersUser.php b/src/Model/GetOrganizationUsersWithAccess200ResponseUsersUser.php new file mode 100644 index 00000000..17c294d9 --- /dev/null +++ b/src/Model/GetOrganizationUsersWithAccess200ResponseUsersUser.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $firstName; + /** + * @var string + */ + protected $lastName; + /** + * @var string + */ + protected $avatarUrl; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getFirstName(): string + { + return $this->firstName; + } + + public function setFirstName(string $firstName): self + { + $this->initialized['firstName'] = true; + $this->firstName = $firstName; + + return $this; + } + + public function getLastName(): string + { + return $this->lastName; + } + + public function setLastName(string $lastName): self + { + $this->initialized['lastName'] = true; + $this->lastName = $lastName; + + return $this; + } + + public function getAvatarUrl(): string + { + return $this->avatarUrl; + } + + public function setAvatarUrl(string $avatarUrl): self + { + $this->initialized['avatarUrl'] = true; + $this->avatarUrl = $avatarUrl; + + return $this; + } +} diff --git a/src/Model/GetOrganizationVirtualMachines200ResponseVirtualMachines.php b/src/Model/GetOrganizationVirtualMachines200ResponseVirtualMachines.php index 569ceafd..55b3827a 100644 --- a/src/Model/GetOrganizationVirtualMachines200ResponseVirtualMachines.php +++ b/src/Model/GetOrganizationVirtualMachines200ResponseVirtualMachines.php @@ -42,19 +42,19 @@ public function isInitialized($property): bool */ protected $createdAt; /** - * @var GetOrganizationVirtualMachinesPartZone + * @var GetOrganizationVirtualMachines200ResponseVirtualMachinesZone */ protected $zone; /** - * @var GetOrganizationVirtualMachinesPartPackage + * @var GetOrganizationVirtualMachines200ResponseVirtualMachinesPackage|null */ protected $package; /** - * @var GetOrganizationVirtualMachinesPartGPUType + * @var GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuType|null */ protected $gpuType; /** - * @var GetOrganizationVirtualMachinesPartIPAddresses[] + * @var GetOrganizationVirtualMachines200ResponseVirtualMachinesIpAddressesItem[] */ protected $ipAddresses; @@ -123,12 +123,12 @@ public function setCreatedAt(int $createdAt): self return $this; } - public function getZone(): GetOrganizationVirtualMachinesPartZone + public function getZone(): GetOrganizationVirtualMachines200ResponseVirtualMachinesZone { return $this->zone; } - public function setZone(GetOrganizationVirtualMachinesPartZone $zone): self + public function setZone(GetOrganizationVirtualMachines200ResponseVirtualMachinesZone $zone): self { $this->initialized['zone'] = true; $this->zone = $zone; @@ -136,12 +136,12 @@ public function setZone(GetOrganizationVirtualMachinesPartZone $zone): self return $this; } - public function getPackage(): GetOrganizationVirtualMachinesPartPackage + public function getPackage(): ?GetOrganizationVirtualMachines200ResponseVirtualMachinesPackage { return $this->package; } - public function setPackage(GetOrganizationVirtualMachinesPartPackage $package): self + public function setPackage(?GetOrganizationVirtualMachines200ResponseVirtualMachinesPackage $package): self { $this->initialized['package'] = true; $this->package = $package; @@ -149,12 +149,12 @@ public function setPackage(GetOrganizationVirtualMachinesPartPackage $package): return $this; } - public function getGpuType(): GetOrganizationVirtualMachinesPartGPUType + public function getGpuType(): ?GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuType { return $this->gpuType; } - public function setGpuType(GetOrganizationVirtualMachinesPartGPUType $gpuType): self + public function setGpuType(?GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuType $gpuType): self { $this->initialized['gpuType'] = true; $this->gpuType = $gpuType; @@ -163,7 +163,7 @@ public function setGpuType(GetOrganizationVirtualMachinesPartGPUType $gpuType): } /** - * @return GetOrganizationVirtualMachinesPartIPAddresses[] + * @return GetOrganizationVirtualMachines200ResponseVirtualMachinesIpAddressesItem[] */ public function getIpAddresses(): array { @@ -171,7 +171,7 @@ public function getIpAddresses(): array } /** - * @param GetOrganizationVirtualMachinesPartIPAddresses[] $ipAddresses + * @param GetOrganizationVirtualMachines200ResponseVirtualMachinesIpAddressesItem[] $ipAddresses */ public function setIpAddresses(array $ipAddresses): self { diff --git a/src/Model/GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuType.php b/src/Model/GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuType.php new file mode 100644 index 00000000..ef3f351d --- /dev/null +++ b/src/Model/GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuType.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $permalink; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): string + { + return $this->permalink; + } + + public function setPermalink(string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } +} diff --git a/src/Model/GetOrganizationVirtualMachines200ResponseVirtualMachinesIpAddressesItem.php b/src/Model/GetOrganizationVirtualMachines200ResponseVirtualMachinesIpAddressesItem.php new file mode 100644 index 00000000..dac524ad --- /dev/null +++ b/src/Model/GetOrganizationVirtualMachines200ResponseVirtualMachinesIpAddressesItem.php @@ -0,0 +1,41 @@ +initialized); + } + /** + * @var string + */ + protected $address; + + public function getAddress(): string + { + return $this->address; + } + + public function setAddress(string $address): self + { + $this->initialized['address'] = true; + $this->address = $address; + + return $this; + } +} diff --git a/src/Model/GetOrganizationVirtualMachines200ResponseVirtualMachinesPackage.php b/src/Model/GetOrganizationVirtualMachines200ResponseVirtualMachinesPackage.php new file mode 100644 index 00000000..10b94014 --- /dev/null +++ b/src/Model/GetOrganizationVirtualMachines200ResponseVirtualMachinesPackage.php @@ -0,0 +1,41 @@ +initialized); + } + /** + * @var string + */ + protected $name; + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/GetOrganizationVirtualMachines200ResponseVirtualMachinesZone.php b/src/Model/GetOrganizationVirtualMachines200ResponseVirtualMachinesZone.php new file mode 100644 index 00000000..30076eae --- /dev/null +++ b/src/Model/GetOrganizationVirtualMachines200ResponseVirtualMachinesZone.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string|null + */ + protected $permalink; + /** + * @var GetOrganizationVirtualMachinesPartZoneDataCenter + */ + protected $dataCenter; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): ?string + { + return $this->permalink; + } + + public function setPermalink(?string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } + + public function getDataCenter(): GetOrganizationVirtualMachinesPartZoneDataCenter + { + return $this->dataCenter; + } + + public function setDataCenter(GetOrganizationVirtualMachinesPartZoneDataCenter $dataCenter): self + { + $this->initialized['dataCenter'] = true; + $this->dataCenter = $dataCenter; + + return $this; + } +} diff --git a/src/Model/GetOrganizationVirtualMachinesPartDataCenter.php b/src/Model/GetOrganizationVirtualMachinesPartDataCenter.php index 05f0b30b..bb50d800 100644 --- a/src/Model/GetOrganizationVirtualMachinesPartDataCenter.php +++ b/src/Model/GetOrganizationVirtualMachinesPartDataCenter.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; @@ -60,12 +60,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; diff --git a/src/Model/GetOrganizationVirtualMachinesPartZone.php b/src/Model/GetOrganizationVirtualMachinesPartZone.php index e8153d84..fcc73dc0 100644 --- a/src/Model/GetOrganizationVirtualMachinesPartZone.php +++ b/src/Model/GetOrganizationVirtualMachinesPartZone.php @@ -30,11 +30,11 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; /** - * @var GetOrganizationVirtualMachinesPartDataCenter + * @var GetOrganizationVirtualMachinesPartZoneDataCenter */ protected $dataCenter; @@ -64,12 +64,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; @@ -77,12 +77,12 @@ public function setPermalink(string $permalink): self return $this; } - public function getDataCenter(): GetOrganizationVirtualMachinesPartDataCenter + public function getDataCenter(): GetOrganizationVirtualMachinesPartZoneDataCenter { return $this->dataCenter; } - public function setDataCenter(GetOrganizationVirtualMachinesPartDataCenter $dataCenter): self + public function setDataCenter(GetOrganizationVirtualMachinesPartZoneDataCenter $dataCenter): self { $this->initialized['dataCenter'] = true; $this->dataCenter = $dataCenter; diff --git a/src/Model/GetOrganizationVirtualMachinesPartZoneDataCenter.php b/src/Model/GetOrganizationVirtualMachinesPartZoneDataCenter.php new file mode 100644 index 00000000..3489f9c9 --- /dev/null +++ b/src/Model/GetOrganizationVirtualMachinesPartZoneDataCenter.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string|null + */ + protected $permalink; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): ?string + { + return $this->permalink; + } + + public function setPermalink(?string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } +} diff --git a/src/Model/GetSecurityGroupRules200ResponseSecurityGroupRules.php b/src/Model/GetSecurityGroupRules200ResponseSecurityGroupRules.php index 188b60f2..c0bc5e60 100644 --- a/src/Model/GetSecurityGroupRules200ResponseSecurityGroupRules.php +++ b/src/Model/GetSecurityGroupRules200ResponseSecurityGroupRules.php @@ -38,7 +38,7 @@ public function isInitialized($property): bool */ protected $action; /** - * @var string + * @var string|null */ protected $ports; /** @@ -46,7 +46,7 @@ public function isInitialized($property): bool */ protected $targets; /** - * @var string + * @var string|null */ protected $notes; @@ -102,12 +102,12 @@ public function setAction(string $action): self return $this; } - public function getPorts(): string + public function getPorts(): ?string { return $this->ports; } - public function setPorts(string $ports): self + public function setPorts(?string $ports): self { $this->initialized['ports'] = true; $this->ports = $ports; @@ -134,12 +134,12 @@ public function setTargets(array $targets): self return $this; } - public function getNotes(): string + public function getNotes(): ?string { return $this->notes; } - public function setNotes(string $notes): self + public function setNotes(?string $notes): self { $this->initialized['notes'] = true; $this->notes = $notes; diff --git a/src/Model/GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule.php b/src/Model/GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule.php index e8166999..9446e1ce 100644 --- a/src/Model/GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule.php +++ b/src/Model/GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule.php @@ -26,7 +26,7 @@ public function isInitialized($property): bool */ protected $id; /** - * @var GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup + * @var GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroup */ protected $securityGroup; /** @@ -42,7 +42,7 @@ public function isInitialized($property): bool */ protected $action; /** - * @var string + * @var string|null */ protected $ports; /** @@ -50,7 +50,7 @@ public function isInitialized($property): bool */ protected $targets; /** - * @var string + * @var string|null */ protected $notes; @@ -67,12 +67,12 @@ public function setId(string $id): self return $this; } - public function getSecurityGroup(): GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup + public function getSecurityGroup(): GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroup { return $this->securityGroup; } - public function setSecurityGroup(GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup $securityGroup): self + public function setSecurityGroup(GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroup $securityGroup): self { $this->initialized['securityGroup'] = true; $this->securityGroup = $securityGroup; @@ -119,12 +119,12 @@ public function setAction(string $action): self return $this; } - public function getPorts(): string + public function getPorts(): ?string { return $this->ports; } - public function setPorts(string $ports): self + public function setPorts(?string $ports): self { $this->initialized['ports'] = true; $this->ports = $ports; @@ -151,12 +151,12 @@ public function setTargets(array $targets): self return $this; } - public function getNotes(): string + public function getNotes(): ?string { return $this->notes; } - public function setNotes(string $notes): self + public function setNotes(?string $notes): self { $this->initialized['notes'] = true; $this->notes = $notes; diff --git a/src/Model/GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroup.php b/src/Model/GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroup.php new file mode 100644 index 00000000..3b6b5ca0 --- /dev/null +++ b/src/Model/GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroup.php @@ -0,0 +1,58 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/GetVMNIVMNI200ResponseVirtualMachineNetworkInterface.php b/src/Model/GetVMNIVMNI200ResponseVirtualMachineNetworkInterface.php index 71f53d8b..355a9cf0 100644 --- a/src/Model/GetVMNIVMNI200ResponseVirtualMachineNetworkInterface.php +++ b/src/Model/GetVMNIVMNI200ResponseVirtualMachineNetworkInterface.php @@ -26,7 +26,7 @@ public function isInitialized($property): bool */ protected $id; /** - * @var GetVMNIVMNIPartVirtualMachine + * @var GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceVirtualMachine */ protected $virtualMachine; /** @@ -34,7 +34,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var GetVMNIVMNIPartNetwork + * @var GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceNetwork */ protected $network; /** @@ -46,11 +46,11 @@ public function isInitialized($property): bool */ protected $state; /** - * @var GetVMNIVMNIPartIPAddresses[] + * @var GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceIpAddressesItem[] */ protected $ipAddresses; /** - * @var GetVMNIVMNIPartSpeedProfile + * @var GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceSpeedProfile */ protected $speedProfile; @@ -67,12 +67,12 @@ public function setId(string $id): self return $this; } - public function getVirtualMachine(): GetVMNIVMNIPartVirtualMachine + public function getVirtualMachine(): GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceVirtualMachine { return $this->virtualMachine; } - public function setVirtualMachine(GetVMNIVMNIPartVirtualMachine $virtualMachine): self + public function setVirtualMachine(GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceVirtualMachine $virtualMachine): self { $this->initialized['virtualMachine'] = true; $this->virtualMachine = $virtualMachine; @@ -93,12 +93,12 @@ public function setName(string $name): self return $this; } - public function getNetwork(): GetVMNIVMNIPartNetwork + public function getNetwork(): GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceNetwork { return $this->network; } - public function setNetwork(GetVMNIVMNIPartNetwork $network): self + public function setNetwork(GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceNetwork $network): self { $this->initialized['network'] = true; $this->network = $network; @@ -133,7 +133,7 @@ public function setState(string $state): self } /** - * @return GetVMNIVMNIPartIPAddresses[] + * @return GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceIpAddressesItem[] */ public function getIpAddresses(): array { @@ -141,7 +141,7 @@ public function getIpAddresses(): array } /** - * @param GetVMNIVMNIPartIPAddresses[] $ipAddresses + * @param GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceIpAddressesItem[] $ipAddresses */ public function setIpAddresses(array $ipAddresses): self { @@ -151,12 +151,12 @@ public function setIpAddresses(array $ipAddresses): self return $this; } - public function getSpeedProfile(): GetVMNIVMNIPartSpeedProfile + public function getSpeedProfile(): GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceSpeedProfile { return $this->speedProfile; } - public function setSpeedProfile(GetVMNIVMNIPartSpeedProfile $speedProfile): self + public function setSpeedProfile(GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceSpeedProfile $speedProfile): self { $this->initialized['speedProfile'] = true; $this->speedProfile = $speedProfile; diff --git a/src/Model/GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceIpAddressesItem.php b/src/Model/GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceIpAddressesItem.php new file mode 100644 index 00000000..e95e4bc2 --- /dev/null +++ b/src/Model/GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceIpAddressesItem.php @@ -0,0 +1,58 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $address; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getAddress(): string + { + return $this->address; + } + + public function setAddress(string $address): self + { + $this->initialized['address'] = true; + $this->address = $address; + + return $this; + } +} diff --git a/src/Model/GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceNetwork.php b/src/Model/GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceNetwork.php new file mode 100644 index 00000000..5e04fb8b --- /dev/null +++ b/src/Model/GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceNetwork.php @@ -0,0 +1,58 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceSpeedProfile.php b/src/Model/GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceSpeedProfile.php new file mode 100644 index 00000000..89f83758 --- /dev/null +++ b/src/Model/GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceSpeedProfile.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $permalink; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): string + { + return $this->permalink; + } + + public function setPermalink(string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } +} diff --git a/src/Model/GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceVirtualMachine.php b/src/Model/GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceVirtualMachine.php new file mode 100644 index 00000000..03399d18 --- /dev/null +++ b/src/Model/GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceVirtualMachine.php @@ -0,0 +1,58 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/GetVirtualMachine200ResponseVirtualMachine.php b/src/Model/GetVirtualMachine200ResponseVirtualMachine.php index 564e42e5..5ee042e6 100644 --- a/src/Model/GetVirtualMachine200ResponseVirtualMachine.php +++ b/src/Model/GetVirtualMachine200ResponseVirtualMachine.php @@ -38,7 +38,7 @@ public function isInitialized($property): bool */ protected $fqdn; /** - * @var string + * @var string|null */ protected $description; /** @@ -46,7 +46,7 @@ public function isInitialized($property): bool */ protected $createdAt; /** - * @var string + * @var string|null */ protected $initialRootPassword; /** @@ -54,43 +54,43 @@ public function isInitialized($property): bool */ protected $state; /** - * @var GetVirtualMachinePartZone + * @var GetVirtualMachine200ResponseVirtualMachineZone */ protected $zone; /** - * @var GetVirtualMachinePartOrganization + * @var GetVirtualMachine200ResponseVirtualMachineOrganization */ protected $organization; /** - * @var GetVirtualMachinePartGroup + * @var GetVirtualMachine200ResponseVirtualMachineGroup|null */ protected $group; /** - * @var GetVirtualMachinePartPackage + * @var GetVirtualMachine200ResponseVirtualMachinePackage|null */ protected $package; /** - * @var GetVirtualMachinePartAttachedISO + * @var GetVirtualMachine200ResponseVirtualMachineAttachedIso|null */ protected $attachedIso; /** - * @var int + * @var int|null */ protected $memoryInGb; /** - * @var int + * @var int|null */ protected $cpuCores; /** - * @var GetVirtualMachinePartGPUType + * @var GetVirtualMachine200ResponseVirtualMachineGpuType|null */ protected $gpuType; /** - * @var GetVirtualMachinePartGPUs[] + * @var GetVirtualMachine200ResponseVirtualMachineGpusItem[] */ protected $gpus; /** - * @var GetVirtualMachinePartTags[] + * @var GetVirtualMachine200ResponseVirtualMachineTagsItem[] */ protected $tags; /** @@ -98,7 +98,7 @@ public function isInitialized($property): bool */ protected $tagNames; /** - * @var GetVirtualMachinePartIPAddresses[] + * @var GetVirtualMachine200ResponseVirtualMachineIpAddressesItem[] */ protected $ipAddresses; @@ -154,12 +154,12 @@ public function setFqdn(string $fqdn): self return $this; } - public function getDescription(): string + public function getDescription(): ?string { return $this->description; } - public function setDescription(string $description): self + public function setDescription(?string $description): self { $this->initialized['description'] = true; $this->description = $description; @@ -180,12 +180,12 @@ public function setCreatedAt(int $createdAt): self return $this; } - public function getInitialRootPassword(): string + public function getInitialRootPassword(): ?string { return $this->initialRootPassword; } - public function setInitialRootPassword(string $initialRootPassword): self + public function setInitialRootPassword(?string $initialRootPassword): self { $this->initialized['initialRootPassword'] = true; $this->initialRootPassword = $initialRootPassword; @@ -206,12 +206,12 @@ public function setState(string $state): self return $this; } - public function getZone(): GetVirtualMachinePartZone + public function getZone(): GetVirtualMachine200ResponseVirtualMachineZone { return $this->zone; } - public function setZone(GetVirtualMachinePartZone $zone): self + public function setZone(GetVirtualMachine200ResponseVirtualMachineZone $zone): self { $this->initialized['zone'] = true; $this->zone = $zone; @@ -219,12 +219,12 @@ public function setZone(GetVirtualMachinePartZone $zone): self return $this; } - public function getOrganization(): GetVirtualMachinePartOrganization + public function getOrganization(): GetVirtualMachine200ResponseVirtualMachineOrganization { return $this->organization; } - public function setOrganization(GetVirtualMachinePartOrganization $organization): self + public function setOrganization(GetVirtualMachine200ResponseVirtualMachineOrganization $organization): self { $this->initialized['organization'] = true; $this->organization = $organization; @@ -232,12 +232,12 @@ public function setOrganization(GetVirtualMachinePartOrganization $organization) return $this; } - public function getGroup(): GetVirtualMachinePartGroup + public function getGroup(): ?GetVirtualMachine200ResponseVirtualMachineGroup { return $this->group; } - public function setGroup(GetVirtualMachinePartGroup $group): self + public function setGroup(?GetVirtualMachine200ResponseVirtualMachineGroup $group): self { $this->initialized['group'] = true; $this->group = $group; @@ -245,12 +245,12 @@ public function setGroup(GetVirtualMachinePartGroup $group): self return $this; } - public function getPackage(): GetVirtualMachinePartPackage + public function getPackage(): ?GetVirtualMachine200ResponseVirtualMachinePackage { return $this->package; } - public function setPackage(GetVirtualMachinePartPackage $package): self + public function setPackage(?GetVirtualMachine200ResponseVirtualMachinePackage $package): self { $this->initialized['package'] = true; $this->package = $package; @@ -258,12 +258,12 @@ public function setPackage(GetVirtualMachinePartPackage $package): self return $this; } - public function getAttachedIso(): GetVirtualMachinePartAttachedISO + public function getAttachedIso(): ?GetVirtualMachine200ResponseVirtualMachineAttachedIso { return $this->attachedIso; } - public function setAttachedIso(GetVirtualMachinePartAttachedISO $attachedIso): self + public function setAttachedIso(?GetVirtualMachine200ResponseVirtualMachineAttachedIso $attachedIso): self { $this->initialized['attachedIso'] = true; $this->attachedIso = $attachedIso; @@ -271,12 +271,12 @@ public function setAttachedIso(GetVirtualMachinePartAttachedISO $attachedIso): s return $this; } - public function getMemoryInGb(): int + public function getMemoryInGb(): ?int { return $this->memoryInGb; } - public function setMemoryInGb(int $memoryInGb): self + public function setMemoryInGb(?int $memoryInGb): self { $this->initialized['memoryInGb'] = true; $this->memoryInGb = $memoryInGb; @@ -284,12 +284,12 @@ public function setMemoryInGb(int $memoryInGb): self return $this; } - public function getCpuCores(): int + public function getCpuCores(): ?int { return $this->cpuCores; } - public function setCpuCores(int $cpuCores): self + public function setCpuCores(?int $cpuCores): self { $this->initialized['cpuCores'] = true; $this->cpuCores = $cpuCores; @@ -297,12 +297,12 @@ public function setCpuCores(int $cpuCores): self return $this; } - public function getGpuType(): GetVirtualMachinePartGPUType + public function getGpuType(): ?GetVirtualMachine200ResponseVirtualMachineGpuType { return $this->gpuType; } - public function setGpuType(GetVirtualMachinePartGPUType $gpuType): self + public function setGpuType(?GetVirtualMachine200ResponseVirtualMachineGpuType $gpuType): self { $this->initialized['gpuType'] = true; $this->gpuType = $gpuType; @@ -311,7 +311,7 @@ public function setGpuType(GetVirtualMachinePartGPUType $gpuType): self } /** - * @return GetVirtualMachinePartGPUs[] + * @return GetVirtualMachine200ResponseVirtualMachineGpusItem[] */ public function getGpus(): array { @@ -319,7 +319,7 @@ public function getGpus(): array } /** - * @param GetVirtualMachinePartGPUs[] $gpus + * @param GetVirtualMachine200ResponseVirtualMachineGpusItem[] $gpus */ public function setGpus(array $gpus): self { @@ -330,7 +330,7 @@ public function setGpus(array $gpus): self } /** - * @return GetVirtualMachinePartTags[] + * @return GetVirtualMachine200ResponseVirtualMachineTagsItem[] */ public function getTags(): array { @@ -338,7 +338,7 @@ public function getTags(): array } /** - * @param GetVirtualMachinePartTags[] $tags + * @param GetVirtualMachine200ResponseVirtualMachineTagsItem[] $tags */ public function setTags(array $tags): self { @@ -368,7 +368,7 @@ public function setTagNames(array $tagNames): self } /** - * @return GetVirtualMachinePartIPAddresses[] + * @return GetVirtualMachine200ResponseVirtualMachineIpAddressesItem[] */ public function getIpAddresses(): array { @@ -376,7 +376,7 @@ public function getIpAddresses(): array } /** - * @param GetVirtualMachinePartIPAddresses[] $ipAddresses + * @param GetVirtualMachine200ResponseVirtualMachineIpAddressesItem[] $ipAddresses */ public function setIpAddresses(array $ipAddresses): self { diff --git a/src/Model/GetVirtualMachine200ResponseVirtualMachineAttachedIso.php b/src/Model/GetVirtualMachine200ResponseVirtualMachineAttachedIso.php new file mode 100644 index 00000000..700c46b7 --- /dev/null +++ b/src/Model/GetVirtualMachine200ResponseVirtualMachineAttachedIso.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var GetVirtualMachinePartAttachedISOOperatingSystem|null + */ + protected $operatingSystem; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getOperatingSystem(): ?GetVirtualMachinePartAttachedISOOperatingSystem + { + return $this->operatingSystem; + } + + public function setOperatingSystem(?GetVirtualMachinePartAttachedISOOperatingSystem $operatingSystem): self + { + $this->initialized['operatingSystem'] = true; + $this->operatingSystem = $operatingSystem; + + return $this; + } +} diff --git a/src/Model/GetVirtualMachine200ResponseVirtualMachineGpuType.php b/src/Model/GetVirtualMachine200ResponseVirtualMachineGpuType.php new file mode 100644 index 00000000..51948a65 --- /dev/null +++ b/src/Model/GetVirtualMachine200ResponseVirtualMachineGpuType.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $manufacturer; + /** + * @var int + */ + protected $memoryInGb; + /** + * @var string + */ + protected $memoryType; + /** + * @var string + */ + protected $permalink; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getManufacturer(): string + { + return $this->manufacturer; + } + + public function setManufacturer(string $manufacturer): self + { + $this->initialized['manufacturer'] = true; + $this->manufacturer = $manufacturer; + + return $this; + } + + public function getMemoryInGb(): int + { + return $this->memoryInGb; + } + + public function setMemoryInGb(int $memoryInGb): self + { + $this->initialized['memoryInGb'] = true; + $this->memoryInGb = $memoryInGb; + + return $this; + } + + public function getMemoryType(): string + { + return $this->memoryType; + } + + public function setMemoryType(string $memoryType): self + { + $this->initialized['memoryType'] = true; + $this->memoryType = $memoryType; + + return $this; + } + + public function getPermalink(): string + { + return $this->permalink; + } + + public function setPermalink(string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } +} diff --git a/src/Model/GetVirtualMachine200ResponseVirtualMachineGpusItem.php b/src/Model/GetVirtualMachine200ResponseVirtualMachineGpusItem.php new file mode 100644 index 00000000..abb1035f --- /dev/null +++ b/src/Model/GetVirtualMachine200ResponseVirtualMachineGpusItem.php @@ -0,0 +1,125 @@ +initialized); + } + /** + * Unique ID for this GPU. Not available when status is "detached". + * + * @var string|null + */ + protected $id; + /** + * @var string + */ + protected $status; + /** + * @var string + */ + protected $pendingAction; + /** + * When pending action is "attach", this indicates if there is a GPU of the relevant type available. + * + * @var bool + */ + protected $available; + /** + * @var GetVirtualMachinePartGPUsType + */ + protected $type; + + /** + * Unique ID for this GPU. Not available when status is "detached". + */ + public function getId(): ?string + { + return $this->id; + } + + /** + * Unique ID for this GPU. Not available when status is "detached". + */ + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getStatus(): string + { + return $this->status; + } + + public function setStatus(string $status): self + { + $this->initialized['status'] = true; + $this->status = $status; + + return $this; + } + + public function getPendingAction(): string + { + return $this->pendingAction; + } + + public function setPendingAction(string $pendingAction): self + { + $this->initialized['pendingAction'] = true; + $this->pendingAction = $pendingAction; + + return $this; + } + + /** + * When pending action is "attach", this indicates if there is a GPU of the relevant type available. + */ + public function getAvailable(): bool + { + return $this->available; + } + + /** + * When pending action is "attach", this indicates if there is a GPU of the relevant type available. + */ + public function setAvailable(bool $available): self + { + $this->initialized['available'] = true; + $this->available = $available; + + return $this; + } + + public function getType(): GetVirtualMachinePartGPUsType + { + return $this->type; + } + + public function setType(GetVirtualMachinePartGPUsType $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/GetVirtualMachine200ResponseVirtualMachineGroup.php b/src/Model/GetVirtualMachine200ResponseVirtualMachineGroup.php new file mode 100644 index 00000000..853ab095 --- /dev/null +++ b/src/Model/GetVirtualMachine200ResponseVirtualMachineGroup.php @@ -0,0 +1,109 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var bool + */ + protected $segregate; + /** + * @var bool + */ + protected $autoSegregate; + /** + * @var int + */ + protected $createdAt; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getSegregate(): bool + { + return $this->segregate; + } + + public function setSegregate(bool $segregate): self + { + $this->initialized['segregate'] = true; + $this->segregate = $segregate; + + return $this; + } + + public function getAutoSegregate(): bool + { + return $this->autoSegregate; + } + + public function setAutoSegregate(bool $autoSegregate): self + { + $this->initialized['autoSegregate'] = true; + $this->autoSegregate = $autoSegregate; + + return $this; + } + + public function getCreatedAt(): int + { + return $this->createdAt; + } + + public function setCreatedAt(int $createdAt): self + { + $this->initialized['createdAt'] = true; + $this->createdAt = $createdAt; + + return $this; + } +} diff --git a/src/Model/GetVirtualMachine200ResponseVirtualMachineIpAddressesItem.php b/src/Model/GetVirtualMachine200ResponseVirtualMachineIpAddressesItem.php new file mode 100644 index 00000000..e46b4e60 --- /dev/null +++ b/src/Model/GetVirtualMachine200ResponseVirtualMachineIpAddressesItem.php @@ -0,0 +1,177 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $address; + /** + * @var string + */ + protected $reverseDns; + /** + * @var bool + */ + protected $vip; + /** + * @var string|null + */ + protected $label; + /** + * @var string + */ + protected $addressWithMask; + /** + * @var GetVirtualMachinePartIPAddressesNetwork + */ + protected $network; + /** + * @var string|null + */ + protected $allocationId; + /** + * @var string|null + */ + protected $allocationType; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getAddress(): string + { + return $this->address; + } + + public function setAddress(string $address): self + { + $this->initialized['address'] = true; + $this->address = $address; + + return $this; + } + + public function getReverseDns(): string + { + return $this->reverseDns; + } + + public function setReverseDns(string $reverseDns): self + { + $this->initialized['reverseDns'] = true; + $this->reverseDns = $reverseDns; + + return $this; + } + + public function getVip(): bool + { + return $this->vip; + } + + public function setVip(bool $vip): self + { + $this->initialized['vip'] = true; + $this->vip = $vip; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + public function getAddressWithMask(): string + { + return $this->addressWithMask; + } + + public function setAddressWithMask(string $addressWithMask): self + { + $this->initialized['addressWithMask'] = true; + $this->addressWithMask = $addressWithMask; + + return $this; + } + + public function getNetwork(): GetVirtualMachinePartIPAddressesNetwork + { + return $this->network; + } + + public function setNetwork(GetVirtualMachinePartIPAddressesNetwork $network): self + { + $this->initialized['network'] = true; + $this->network = $network; + + return $this; + } + + public function getAllocationId(): ?string + { + return $this->allocationId; + } + + public function setAllocationId(?string $allocationId): self + { + $this->initialized['allocationId'] = true; + $this->allocationId = $allocationId; + + return $this; + } + + public function getAllocationType(): ?string + { + return $this->allocationType; + } + + public function setAllocationType(?string $allocationType): self + { + $this->initialized['allocationType'] = true; + $this->allocationType = $allocationType; + + return $this; + } +} diff --git a/src/Model/GetVirtualMachine200ResponseVirtualMachineOrganization.php b/src/Model/GetVirtualMachine200ResponseVirtualMachineOrganization.php new file mode 100644 index 00000000..8b10dee7 --- /dev/null +++ b/src/Model/GetVirtualMachine200ResponseVirtualMachineOrganization.php @@ -0,0 +1,330 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $subDomain; + /** + * @var string + */ + protected $infrastructureDomain; + /** + * @var int + */ + protected $createdAt; + /** + * @var bool + */ + protected $suspended; + /** + * @var bool + */ + protected $managed; + /** + * @var string|null + */ + protected $billingName; + /** + * @var string|null + */ + protected $address1; + /** + * @var string|null + */ + protected $address2; + /** + * @var string|null + */ + protected $address3; + /** + * @var string|null + */ + protected $address4; + /** + * @var string|null + */ + protected $postcode; + /** + * @var string|null + */ + protected $vatNumber; + /** + * @var string|null + */ + protected $phoneNumber; + /** + * @var GetVirtualMachinePartOrganizationCurrency + */ + protected $currency; + /** + * @var GetVirtualMachinePartOrganizationCountry|null + */ + protected $country; + /** + * @var GetVirtualMachinePartOrganizationCountryState|null + */ + protected $countryState; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getSubDomain(): string + { + return $this->subDomain; + } + + public function setSubDomain(string $subDomain): self + { + $this->initialized['subDomain'] = true; + $this->subDomain = $subDomain; + + return $this; + } + + public function getInfrastructureDomain(): string + { + return $this->infrastructureDomain; + } + + public function setInfrastructureDomain(string $infrastructureDomain): self + { + $this->initialized['infrastructureDomain'] = true; + $this->infrastructureDomain = $infrastructureDomain; + + return $this; + } + + public function getCreatedAt(): int + { + return $this->createdAt; + } + + public function setCreatedAt(int $createdAt): self + { + $this->initialized['createdAt'] = true; + $this->createdAt = $createdAt; + + return $this; + } + + public function getSuspended(): bool + { + return $this->suspended; + } + + public function setSuspended(bool $suspended): self + { + $this->initialized['suspended'] = true; + $this->suspended = $suspended; + + return $this; + } + + public function getManaged(): bool + { + return $this->managed; + } + + public function setManaged(bool $managed): self + { + $this->initialized['managed'] = true; + $this->managed = $managed; + + return $this; + } + + public function getBillingName(): ?string + { + return $this->billingName; + } + + public function setBillingName(?string $billingName): self + { + $this->initialized['billingName'] = true; + $this->billingName = $billingName; + + return $this; + } + + public function getAddress1(): ?string + { + return $this->address1; + } + + public function setAddress1(?string $address1): self + { + $this->initialized['address1'] = true; + $this->address1 = $address1; + + return $this; + } + + public function getAddress2(): ?string + { + return $this->address2; + } + + public function setAddress2(?string $address2): self + { + $this->initialized['address2'] = true; + $this->address2 = $address2; + + return $this; + } + + public function getAddress3(): ?string + { + return $this->address3; + } + + public function setAddress3(?string $address3): self + { + $this->initialized['address3'] = true; + $this->address3 = $address3; + + return $this; + } + + public function getAddress4(): ?string + { + return $this->address4; + } + + public function setAddress4(?string $address4): self + { + $this->initialized['address4'] = true; + $this->address4 = $address4; + + return $this; + } + + public function getPostcode(): ?string + { + return $this->postcode; + } + + public function setPostcode(?string $postcode): self + { + $this->initialized['postcode'] = true; + $this->postcode = $postcode; + + return $this; + } + + public function getVatNumber(): ?string + { + return $this->vatNumber; + } + + public function setVatNumber(?string $vatNumber): self + { + $this->initialized['vatNumber'] = true; + $this->vatNumber = $vatNumber; + + return $this; + } + + public function getPhoneNumber(): ?string + { + return $this->phoneNumber; + } + + public function setPhoneNumber(?string $phoneNumber): self + { + $this->initialized['phoneNumber'] = true; + $this->phoneNumber = $phoneNumber; + + return $this; + } + + public function getCurrency(): GetVirtualMachinePartOrganizationCurrency + { + return $this->currency; + } + + public function setCurrency(GetVirtualMachinePartOrganizationCurrency $currency): self + { + $this->initialized['currency'] = true; + $this->currency = $currency; + + return $this; + } + + public function getCountry(): ?GetVirtualMachinePartOrganizationCountry + { + return $this->country; + } + + public function setCountry(?GetVirtualMachinePartOrganizationCountry $country): self + { + $this->initialized['country'] = true; + $this->country = $country; + + return $this; + } + + public function getCountryState(): ?GetVirtualMachinePartOrganizationCountryState + { + return $this->countryState; + } + + public function setCountryState(?GetVirtualMachinePartOrganizationCountryState $countryState): self + { + $this->initialized['countryState'] = true; + $this->countryState = $countryState; + + return $this; + } +} diff --git a/src/Model/GetVirtualMachine200ResponseVirtualMachinePackage.php b/src/Model/GetVirtualMachine200ResponseVirtualMachinePackage.php new file mode 100644 index 00000000..68b42a48 --- /dev/null +++ b/src/Model/GetVirtualMachine200ResponseVirtualMachinePackage.php @@ -0,0 +1,194 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $permalink; + /** + * @var int + */ + protected $cpuCores; + /** + * @var int + */ + protected $ipv4Addresses; + /** + * @var int + */ + protected $memoryInGb; + /** + * @var int + */ + protected $storageInGb; + /** + * @var int|null + */ + protected $monthlyBandwidthAllowanceInGb; + /** + * @var string + */ + protected $privacy; + /** + * @var GetVirtualMachinePartPackageIcon|null + */ + protected $icon; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): string + { + return $this->permalink; + } + + public function setPermalink(string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } + + public function getCpuCores(): int + { + return $this->cpuCores; + } + + public function setCpuCores(int $cpuCores): self + { + $this->initialized['cpuCores'] = true; + $this->cpuCores = $cpuCores; + + return $this; + } + + public function getIpv4Addresses(): int + { + return $this->ipv4Addresses; + } + + public function setIpv4Addresses(int $ipv4Addresses): self + { + $this->initialized['ipv4Addresses'] = true; + $this->ipv4Addresses = $ipv4Addresses; + + return $this; + } + + public function getMemoryInGb(): int + { + return $this->memoryInGb; + } + + public function setMemoryInGb(int $memoryInGb): self + { + $this->initialized['memoryInGb'] = true; + $this->memoryInGb = $memoryInGb; + + return $this; + } + + public function getStorageInGb(): int + { + return $this->storageInGb; + } + + public function setStorageInGb(int $storageInGb): self + { + $this->initialized['storageInGb'] = true; + $this->storageInGb = $storageInGb; + + return $this; + } + + public function getMonthlyBandwidthAllowanceInGb(): ?int + { + return $this->monthlyBandwidthAllowanceInGb; + } + + public function setMonthlyBandwidthAllowanceInGb(?int $monthlyBandwidthAllowanceInGb): self + { + $this->initialized['monthlyBandwidthAllowanceInGb'] = true; + $this->monthlyBandwidthAllowanceInGb = $monthlyBandwidthAllowanceInGb; + + return $this; + } + + public function getPrivacy(): string + { + return $this->privacy; + } + + public function setPrivacy(string $privacy): self + { + $this->initialized['privacy'] = true; + $this->privacy = $privacy; + + return $this; + } + + public function getIcon(): ?GetVirtualMachinePartPackageIcon + { + return $this->icon; + } + + public function setIcon(?GetVirtualMachinePartPackageIcon $icon): self + { + $this->initialized['icon'] = true; + $this->icon = $icon; + + return $this; + } +} diff --git a/src/Model/GetVirtualMachine200ResponseVirtualMachineTagsItem.php b/src/Model/GetVirtualMachine200ResponseVirtualMachineTagsItem.php new file mode 100644 index 00000000..1c1655dd --- /dev/null +++ b/src/Model/GetVirtualMachine200ResponseVirtualMachineTagsItem.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $color; + /** + * @var int + */ + protected $createdAt; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getColor(): string + { + return $this->color; + } + + public function setColor(string $color): self + { + $this->initialized['color'] = true; + $this->color = $color; + + return $this; + } + + public function getCreatedAt(): int + { + return $this->createdAt; + } + + public function setCreatedAt(int $createdAt): self + { + $this->initialized['createdAt'] = true; + $this->createdAt = $createdAt; + + return $this; + } +} diff --git a/src/Model/GetVirtualMachine200ResponseVirtualMachineZone.php b/src/Model/GetVirtualMachine200ResponseVirtualMachineZone.php new file mode 100644 index 00000000..06de9948 --- /dev/null +++ b/src/Model/GetVirtualMachine200ResponseVirtualMachineZone.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string|null + */ + protected $permalink; + /** + * @var GetVirtualMachinePartZoneDataCenter + */ + protected $dataCenter; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): ?string + { + return $this->permalink; + } + + public function setPermalink(?string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } + + public function getDataCenter(): GetVirtualMachinePartZoneDataCenter + { + return $this->dataCenter; + } + + public function setDataCenter(GetVirtualMachinePartZoneDataCenter $dataCenter): self + { + $this->initialized['dataCenter'] = true; + $this->dataCenter = $dataCenter; + + return $this; + } +} diff --git a/src/Model/GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicies.php b/src/Model/GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicies.php index 720c082c..41aa7b64 100644 --- a/src/Model/GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicies.php +++ b/src/Model/GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicies.php @@ -38,7 +38,7 @@ public function isInitialized($property): bool */ protected $target; /** - * @var GetVirtualMachineDiskBackupPoliciesPartSchedule + * @var GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPoliciesSchedule */ protected $schedule; @@ -94,12 +94,12 @@ public function setTarget(DiskBackupPolicyTarget $target): self return $this; } - public function getSchedule(): GetVirtualMachineDiskBackupPoliciesPartSchedule + public function getSchedule(): GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPoliciesSchedule { return $this->schedule; } - public function setSchedule(GetVirtualMachineDiskBackupPoliciesPartSchedule $schedule): self + public function setSchedule(GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPoliciesSchedule $schedule): self { $this->initialized['schedule'] = true; $this->schedule = $schedule; diff --git a/src/Model/GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPoliciesSchedule.php b/src/Model/GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPoliciesSchedule.php new file mode 100644 index 00000000..dafea553 --- /dev/null +++ b/src/Model/GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPoliciesSchedule.php @@ -0,0 +1,58 @@ +initialized); + } + /** + * @var string + */ + protected $interval; + /** + * @var int + */ + protected $nextInvocationAt; + + public function getInterval(): string + { + return $this->interval; + } + + public function setInterval(string $interval): self + { + $this->initialized['interval'] = true; + $this->interval = $interval; + + return $this; + } + + public function getNextInvocationAt(): int + { + return $this->nextInvocationAt; + } + + public function setNextInvocationAt(int $nextInvocationAt): self + { + $this->initialized['nextInvocationAt'] = true; + $this->nextInvocationAt = $nextInvocationAt; + + return $this; + } +} diff --git a/src/Model/GetVirtualMachineDisks200ResponseDisks.php b/src/Model/GetVirtualMachineDisks200ResponseDisks.php index c79f1d63..e0cf86d2 100644 --- a/src/Model/GetVirtualMachineDisks200ResponseDisks.php +++ b/src/Model/GetVirtualMachineDisks200ResponseDisks.php @@ -22,7 +22,7 @@ public function isInitialized($property): bool return array_key_exists($property, $this->initialized); } /** - * @var GetVirtualMachineDisksPartDisk + * @var GetVirtualMachineDisks200ResponseDisksDisk */ protected $disk; /** @@ -38,12 +38,12 @@ public function isInitialized($property): bool */ protected $state; - public function getDisk(): GetVirtualMachineDisksPartDisk + public function getDisk(): GetVirtualMachineDisks200ResponseDisksDisk { return $this->disk; } - public function setDisk(GetVirtualMachineDisksPartDisk $disk): self + public function setDisk(GetVirtualMachineDisks200ResponseDisksDisk $disk): self { $this->initialized['disk'] = true; $this->disk = $disk; diff --git a/src/Model/GetVirtualMachineDisks200ResponseDisksDisk.php b/src/Model/GetVirtualMachineDisks200ResponseDisksDisk.php new file mode 100644 index 00000000..775bb1ae --- /dev/null +++ b/src/Model/GetVirtualMachineDisks200ResponseDisksDisk.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var int + */ + protected $sizeInGb; + /** + * @var string + */ + protected $wwn; + /** + * @var string + */ + protected $state; + /** + * @var int + */ + protected $createdAt; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getSizeInGb(): int + { + return $this->sizeInGb; + } + + public function setSizeInGb(int $sizeInGb): self + { + $this->initialized['sizeInGb'] = true; + $this->sizeInGb = $sizeInGb; + + return $this; + } + + public function getWwn(): string + { + return $this->wwn; + } + + public function setWwn(string $wwn): self + { + $this->initialized['wwn'] = true; + $this->wwn = $wwn; + + return $this; + } + + public function getState(): string + { + return $this->state; + } + + public function setState(string $state): self + { + $this->initialized['state'] = true; + $this->state = $state; + + return $this; + } + + public function getCreatedAt(): int + { + return $this->createdAt; + } + + public function setCreatedAt(int $createdAt): self + { + $this->initialized['createdAt'] = true; + $this->createdAt = $createdAt; + + return $this; + } +} diff --git a/src/Model/GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterface.php b/src/Model/GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterface.php index b26d3798..d52908e3 100644 --- a/src/Model/GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterface.php +++ b/src/Model/GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterface.php @@ -26,7 +26,7 @@ public function isInitialized($property): bool */ protected $id; /** - * @var GetVirtualMachineNetworkInterfacePartVirtualMachine + * @var GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceVirtualMachine */ protected $virtualMachine; /** @@ -34,7 +34,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var GetVirtualMachineNetworkInterfacePartNetwork + * @var GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceNetwork */ protected $network; /** @@ -46,7 +46,7 @@ public function isInitialized($property): bool */ protected $state; /** - * @var GetVirtualMachineNetworkInterfacePartIPAddresses[] + * @var GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceIpAddressesItem[] */ protected $ipAddresses; @@ -63,12 +63,12 @@ public function setId(string $id): self return $this; } - public function getVirtualMachine(): GetVirtualMachineNetworkInterfacePartVirtualMachine + public function getVirtualMachine(): GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceVirtualMachine { return $this->virtualMachine; } - public function setVirtualMachine(GetVirtualMachineNetworkInterfacePartVirtualMachine $virtualMachine): self + public function setVirtualMachine(GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceVirtualMachine $virtualMachine): self { $this->initialized['virtualMachine'] = true; $this->virtualMachine = $virtualMachine; @@ -89,12 +89,12 @@ public function setName(string $name): self return $this; } - public function getNetwork(): GetVirtualMachineNetworkInterfacePartNetwork + public function getNetwork(): GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceNetwork { return $this->network; } - public function setNetwork(GetVirtualMachineNetworkInterfacePartNetwork $network): self + public function setNetwork(GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceNetwork $network): self { $this->initialized['network'] = true; $this->network = $network; @@ -129,7 +129,7 @@ public function setState(string $state): self } /** - * @return GetVirtualMachineNetworkInterfacePartIPAddresses[] + * @return GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceIpAddressesItem[] */ public function getIpAddresses(): array { @@ -137,7 +137,7 @@ public function getIpAddresses(): array } /** - * @param GetVirtualMachineNetworkInterfacePartIPAddresses[] $ipAddresses + * @param GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceIpAddressesItem[] $ipAddresses */ public function setIpAddresses(array $ipAddresses): self { diff --git a/src/Model/GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceIpAddressesItem.php b/src/Model/GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceIpAddressesItem.php new file mode 100644 index 00000000..cd810c50 --- /dev/null +++ b/src/Model/GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceIpAddressesItem.php @@ -0,0 +1,58 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $address; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getAddress(): string + { + return $this->address; + } + + public function setAddress(string $address): self + { + $this->initialized['address'] = true; + $this->address = $address; + + return $this; + } +} diff --git a/src/Model/GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceNetwork.php b/src/Model/GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceNetwork.php new file mode 100644 index 00000000..500d5bb3 --- /dev/null +++ b/src/Model/GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceNetwork.php @@ -0,0 +1,58 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceVirtualMachine.php b/src/Model/GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceVirtualMachine.php new file mode 100644 index 00000000..e1b84973 --- /dev/null +++ b/src/Model/GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceVirtualMachine.php @@ -0,0 +1,58 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfaces.php b/src/Model/GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfaces.php index 42e4ebb9..abd383c2 100644 --- a/src/Model/GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfaces.php +++ b/src/Model/GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfaces.php @@ -30,11 +30,11 @@ public function isInitialized($property): bool */ protected $name; /** - * @var GetVirtualMachineNetworkInterfacesPartNetwork + * @var GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesNetwork */ protected $network; /** - * @var GetVirtualMachineNetworkInterfacesPartIPAddresses[] + * @var GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesIpAddressesItem[] */ protected $ipAddresses; @@ -64,12 +64,12 @@ public function setName(string $name): self return $this; } - public function getNetwork(): GetVirtualMachineNetworkInterfacesPartNetwork + public function getNetwork(): GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesNetwork { return $this->network; } - public function setNetwork(GetVirtualMachineNetworkInterfacesPartNetwork $network): self + public function setNetwork(GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesNetwork $network): self { $this->initialized['network'] = true; $this->network = $network; @@ -78,7 +78,7 @@ public function setNetwork(GetVirtualMachineNetworkInterfacesPartNetwork $networ } /** - * @return GetVirtualMachineNetworkInterfacesPartIPAddresses[] + * @return GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesIpAddressesItem[] */ public function getIpAddresses(): array { @@ -86,7 +86,7 @@ public function getIpAddresses(): array } /** - * @param GetVirtualMachineNetworkInterfacesPartIPAddresses[] $ipAddresses + * @param GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesIpAddressesItem[] $ipAddresses */ public function setIpAddresses(array $ipAddresses): self { diff --git a/src/Model/GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesIpAddressesItem.php b/src/Model/GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesIpAddressesItem.php new file mode 100644 index 00000000..e89ce13b --- /dev/null +++ b/src/Model/GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesIpAddressesItem.php @@ -0,0 +1,58 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $address; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getAddress(): string + { + return $this->address; + } + + public function setAddress(string $address): self + { + $this->initialized['address'] = true; + $this->address = $address; + + return $this; + } +} diff --git a/src/Model/GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesNetwork.php b/src/Model/GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesNetwork.php new file mode 100644 index 00000000..58d78107 --- /dev/null +++ b/src/Model/GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesNetwork.php @@ -0,0 +1,58 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/GetVirtualMachinePackages200ResponseVirtualMachinePackages.php b/src/Model/GetVirtualMachinePackages200ResponseVirtualMachinePackages.php index 6ae5a515..21e496f7 100644 --- a/src/Model/GetVirtualMachinePackages200ResponseVirtualMachinePackages.php +++ b/src/Model/GetVirtualMachinePackages200ResponseVirtualMachinePackages.php @@ -54,7 +54,7 @@ public function isInitialized($property): bool */ protected $privacy; /** - * @var GetVirtualMachinePackagesPartIcon + * @var GetVirtualMachinePackages200ResponseVirtualMachinePackagesIcon|null */ protected $icon; @@ -162,12 +162,12 @@ public function setPrivacy(string $privacy): self return $this; } - public function getIcon(): GetVirtualMachinePackagesPartIcon + public function getIcon(): ?GetVirtualMachinePackages200ResponseVirtualMachinePackagesIcon { return $this->icon; } - public function setIcon(GetVirtualMachinePackagesPartIcon $icon): self + public function setIcon(?GetVirtualMachinePackages200ResponseVirtualMachinePackagesIcon $icon): self { $this->initialized['icon'] = true; $this->icon = $icon; diff --git a/src/Model/GetVirtualMachinePackages200ResponseVirtualMachinePackagesIcon.php b/src/Model/GetVirtualMachinePackages200ResponseVirtualMachinePackagesIcon.php new file mode 100644 index 00000000..1f7b2f83 --- /dev/null +++ b/src/Model/GetVirtualMachinePackages200ResponseVirtualMachinePackagesIcon.php @@ -0,0 +1,41 @@ +initialized); + } + /** + * @var string + */ + protected $url; + + public function getUrl(): string + { + return $this->url; + } + + public function setUrl(string $url): self + { + $this->initialized['url'] = true; + $this->url = $url; + + return $this; + } +} diff --git a/src/Model/GetVirtualMachinePartAttachedISO.php b/src/Model/GetVirtualMachinePartAttachedISO.php index f5b1fca1..b3eb474e 100644 --- a/src/Model/GetVirtualMachinePartAttachedISO.php +++ b/src/Model/GetVirtualMachinePartAttachedISO.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var GetVirtualMachinePartOperatingSystem + * @var GetVirtualMachinePartAttachedISOOperatingSystem|null */ protected $operatingSystem; @@ -60,12 +60,12 @@ public function setName(string $name): self return $this; } - public function getOperatingSystem(): GetVirtualMachinePartOperatingSystem + public function getOperatingSystem(): ?GetVirtualMachinePartAttachedISOOperatingSystem { return $this->operatingSystem; } - public function setOperatingSystem(GetVirtualMachinePartOperatingSystem $operatingSystem): self + public function setOperatingSystem(?GetVirtualMachinePartAttachedISOOperatingSystem $operatingSystem): self { $this->initialized['operatingSystem'] = true; $this->operatingSystem = $operatingSystem; diff --git a/src/Model/GetVirtualMachinePartAttachedISOOperatingSystem.php b/src/Model/GetVirtualMachinePartAttachedISOOperatingSystem.php new file mode 100644 index 00000000..45fdcdaa --- /dev/null +++ b/src/Model/GetVirtualMachinePartAttachedISOOperatingSystem.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var GetVirtualMachinePartOperatingSystemBadge|null + */ + protected $badge; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getBadge(): ?GetVirtualMachinePartOperatingSystemBadge + { + return $this->badge; + } + + public function setBadge(?GetVirtualMachinePartOperatingSystemBadge $badge): self + { + $this->initialized['badge'] = true; + $this->badge = $badge; + + return $this; + } +} diff --git a/src/Model/GetVirtualMachinePartCountry.php b/src/Model/GetVirtualMachinePartCountry.php index 78d873a7..0d97dc6b 100644 --- a/src/Model/GetVirtualMachinePartCountry.php +++ b/src/Model/GetVirtualMachinePartCountry.php @@ -38,7 +38,7 @@ public function isInitialized($property): bool */ protected $isoCode3; /** - * @var string + * @var string|null */ protected $timeZone; /** @@ -98,12 +98,12 @@ public function setIsoCode3(string $isoCode3): self return $this; } - public function getTimeZone(): string + public function getTimeZone(): ?string { return $this->timeZone; } - public function setTimeZone(string $timeZone): self + public function setTimeZone(?string $timeZone): self { $this->initialized['timeZone'] = true; $this->timeZone = $timeZone; diff --git a/src/Model/GetVirtualMachinePartCountryState.php b/src/Model/GetVirtualMachinePartCountryState.php index 4f465fcf..1cf7e4e0 100644 --- a/src/Model/GetVirtualMachinePartCountryState.php +++ b/src/Model/GetVirtualMachinePartCountryState.php @@ -34,7 +34,7 @@ public function isInitialized($property): bool */ protected $code; /** - * @var GetVirtualMachinePartCountry + * @var GetVirtualMachinePartCountryStateCountry */ protected $country; @@ -77,12 +77,12 @@ public function setCode(string $code): self return $this; } - public function getCountry(): GetVirtualMachinePartCountry + public function getCountry(): GetVirtualMachinePartCountryStateCountry { return $this->country; } - public function setCountry(GetVirtualMachinePartCountry $country): self + public function setCountry(GetVirtualMachinePartCountryStateCountry $country): self { $this->initialized['country'] = true; $this->country = $country; diff --git a/src/Model/GetVirtualMachinePartCountryStateCountry.php b/src/Model/GetVirtualMachinePartCountryStateCountry.php new file mode 100644 index 00000000..fc167707 --- /dev/null +++ b/src/Model/GetVirtualMachinePartCountryStateCountry.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $isoCode2; + /** + * @var string + */ + protected $isoCode3; + /** + * @var string|null + */ + protected $timeZone; + /** + * @var bool + */ + protected $eu; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getIsoCode2(): string + { + return $this->isoCode2; + } + + public function setIsoCode2(string $isoCode2): self + { + $this->initialized['isoCode2'] = true; + $this->isoCode2 = $isoCode2; + + return $this; + } + + public function getIsoCode3(): string + { + return $this->isoCode3; + } + + public function setIsoCode3(string $isoCode3): self + { + $this->initialized['isoCode3'] = true; + $this->isoCode3 = $isoCode3; + + return $this; + } + + public function getTimeZone(): ?string + { + return $this->timeZone; + } + + public function setTimeZone(?string $timeZone): self + { + $this->initialized['timeZone'] = true; + $this->timeZone = $timeZone; + + return $this; + } + + public function getEu(): bool + { + return $this->eu; + } + + public function setEu(bool $eu): self + { + $this->initialized['eu'] = true; + $this->eu = $eu; + + return $this; + } +} diff --git a/src/Model/GetVirtualMachinePartDataCenter.php b/src/Model/GetVirtualMachinePartDataCenter.php index cbced232..e19d1c15 100644 --- a/src/Model/GetVirtualMachinePartDataCenter.php +++ b/src/Model/GetVirtualMachinePartDataCenter.php @@ -30,11 +30,11 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; /** - * @var GetVirtualMachinePartCountry + * @var GetVirtualMachinePartDataCenterCountry */ protected $country; @@ -64,12 +64,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; @@ -77,12 +77,12 @@ public function setPermalink(string $permalink): self return $this; } - public function getCountry(): GetVirtualMachinePartCountry + public function getCountry(): GetVirtualMachinePartDataCenterCountry { return $this->country; } - public function setCountry(GetVirtualMachinePartCountry $country): self + public function setCountry(GetVirtualMachinePartDataCenterCountry $country): self { $this->initialized['country'] = true; $this->country = $country; diff --git a/src/Model/GetVirtualMachinePartDataCenterCountry.php b/src/Model/GetVirtualMachinePartDataCenterCountry.php new file mode 100644 index 00000000..92e6145e --- /dev/null +++ b/src/Model/GetVirtualMachinePartDataCenterCountry.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $isoCode2; + /** + * @var string + */ + protected $isoCode3; + /** + * @var string|null + */ + protected $timeZone; + /** + * @var bool + */ + protected $eu; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getIsoCode2(): string + { + return $this->isoCode2; + } + + public function setIsoCode2(string $isoCode2): self + { + $this->initialized['isoCode2'] = true; + $this->isoCode2 = $isoCode2; + + return $this; + } + + public function getIsoCode3(): string + { + return $this->isoCode3; + } + + public function setIsoCode3(string $isoCode3): self + { + $this->initialized['isoCode3'] = true; + $this->isoCode3 = $isoCode3; + + return $this; + } + + public function getTimeZone(): ?string + { + return $this->timeZone; + } + + public function setTimeZone(?string $timeZone): self + { + $this->initialized['timeZone'] = true; + $this->timeZone = $timeZone; + + return $this; + } + + public function getEu(): bool + { + return $this->eu; + } + + public function setEu(bool $eu): self + { + $this->initialized['eu'] = true; + $this->eu = $eu; + + return $this; + } +} diff --git a/src/Model/GetVirtualMachinePartGPUs.php b/src/Model/GetVirtualMachinePartGPUs.php index c7dc7734..86025742 100644 --- a/src/Model/GetVirtualMachinePartGPUs.php +++ b/src/Model/GetVirtualMachinePartGPUs.php @@ -24,7 +24,7 @@ public function isInitialized($property): bool /** * Unique ID for this GPU. Not available when status is "detached". * - * @var string + * @var string|null */ protected $id; /** @@ -42,14 +42,14 @@ public function isInitialized($property): bool */ protected $available; /** - * @var GetVirtualMachinePartType + * @var GetVirtualMachinePartGPUsType */ protected $type; /** * Unique ID for this GPU. Not available when status is "detached". */ - public function getId(): string + public function getId(): ?string { return $this->id; } @@ -57,7 +57,7 @@ public function getId(): string /** * Unique ID for this GPU. Not available when status is "detached". */ - public function setId(string $id): self + public function setId(?string $id): self { $this->initialized['id'] = true; $this->id = $id; @@ -110,12 +110,12 @@ public function setAvailable(bool $available): self return $this; } - public function getType(): GetVirtualMachinePartType + public function getType(): GetVirtualMachinePartGPUsType { return $this->type; } - public function setType(GetVirtualMachinePartType $type): self + public function setType(GetVirtualMachinePartGPUsType $type): self { $this->initialized['type'] = true; $this->type = $type; diff --git a/src/Model/GetVirtualMachinePartGPUsType.php b/src/Model/GetVirtualMachinePartGPUsType.php new file mode 100644 index 00000000..0f4379f6 --- /dev/null +++ b/src/Model/GetVirtualMachinePartGPUsType.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $manufacturer; + /** + * @var int + */ + protected $memoryInGb; + /** + * @var string + */ + protected $memoryType; + /** + * @var string + */ + protected $permalink; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getManufacturer(): string + { + return $this->manufacturer; + } + + public function setManufacturer(string $manufacturer): self + { + $this->initialized['manufacturer'] = true; + $this->manufacturer = $manufacturer; + + return $this; + } + + public function getMemoryInGb(): int + { + return $this->memoryInGb; + } + + public function setMemoryInGb(int $memoryInGb): self + { + $this->initialized['memoryInGb'] = true; + $this->memoryInGb = $memoryInGb; + + return $this; + } + + public function getMemoryType(): string + { + return $this->memoryType; + } + + public function setMemoryType(string $memoryType): self + { + $this->initialized['memoryType'] = true; + $this->memoryType = $memoryType; + + return $this; + } + + public function getPermalink(): string + { + return $this->permalink; + } + + public function setPermalink(string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } +} diff --git a/src/Model/GetVirtualMachinePartIPAddresses.php b/src/Model/GetVirtualMachinePartIPAddresses.php index b8333521..6e190bc5 100644 --- a/src/Model/GetVirtualMachinePartIPAddresses.php +++ b/src/Model/GetVirtualMachinePartIPAddresses.php @@ -38,7 +38,7 @@ public function isInitialized($property): bool */ protected $vip; /** - * @var string + * @var string|null */ protected $label; /** @@ -46,15 +46,15 @@ public function isInitialized($property): bool */ protected $addressWithMask; /** - * @var GetVirtualMachinePartNetwork + * @var GetVirtualMachinePartIPAddressesNetwork */ protected $network; /** - * @var string + * @var string|null */ protected $allocationId; /** - * @var string + * @var string|null */ protected $allocationType; @@ -110,12 +110,12 @@ public function setVip(bool $vip): self return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->initialized['label'] = true; $this->label = $label; @@ -136,12 +136,12 @@ public function setAddressWithMask(string $addressWithMask): self return $this; } - public function getNetwork(): GetVirtualMachinePartNetwork + public function getNetwork(): GetVirtualMachinePartIPAddressesNetwork { return $this->network; } - public function setNetwork(GetVirtualMachinePartNetwork $network): self + public function setNetwork(GetVirtualMachinePartIPAddressesNetwork $network): self { $this->initialized['network'] = true; $this->network = $network; @@ -149,12 +149,12 @@ public function setNetwork(GetVirtualMachinePartNetwork $network): self return $this; } - public function getAllocationId(): string + public function getAllocationId(): ?string { return $this->allocationId; } - public function setAllocationId(string $allocationId): self + public function setAllocationId(?string $allocationId): self { $this->initialized['allocationId'] = true; $this->allocationId = $allocationId; @@ -162,12 +162,12 @@ public function setAllocationId(string $allocationId): self return $this; } - public function getAllocationType(): string + public function getAllocationType(): ?string { return $this->allocationType; } - public function setAllocationType(string $allocationType): self + public function setAllocationType(?string $allocationType): self { $this->initialized['allocationType'] = true; $this->allocationType = $allocationType; diff --git a/src/Model/GetVirtualMachinePartIPAddressesNetwork.php b/src/Model/GetVirtualMachinePartIPAddressesNetwork.php new file mode 100644 index 00000000..47c8277d --- /dev/null +++ b/src/Model/GetVirtualMachinePartIPAddressesNetwork.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string|null + */ + protected $permalink; + /** + * @var GetVirtualMachinePartNetworkDataCenter + */ + protected $dataCenter; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): ?string + { + return $this->permalink; + } + + public function setPermalink(?string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } + + public function getDataCenter(): GetVirtualMachinePartNetworkDataCenter + { + return $this->dataCenter; + } + + public function setDataCenter(GetVirtualMachinePartNetworkDataCenter $dataCenter): self + { + $this->initialized['dataCenter'] = true; + $this->dataCenter = $dataCenter; + + return $this; + } +} diff --git a/src/Model/GetVirtualMachinePartNetwork.php b/src/Model/GetVirtualMachinePartNetwork.php index 57c4b077..4bc47b67 100644 --- a/src/Model/GetVirtualMachinePartNetwork.php +++ b/src/Model/GetVirtualMachinePartNetwork.php @@ -30,11 +30,11 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; /** - * @var GetVirtualMachinePartDataCenter + * @var GetVirtualMachinePartNetworkDataCenter */ protected $dataCenter; @@ -64,12 +64,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; @@ -77,12 +77,12 @@ public function setPermalink(string $permalink): self return $this; } - public function getDataCenter(): GetVirtualMachinePartDataCenter + public function getDataCenter(): GetVirtualMachinePartNetworkDataCenter { return $this->dataCenter; } - public function setDataCenter(GetVirtualMachinePartDataCenter $dataCenter): self + public function setDataCenter(GetVirtualMachinePartNetworkDataCenter $dataCenter): self { $this->initialized['dataCenter'] = true; $this->dataCenter = $dataCenter; diff --git a/src/Model/GetVirtualMachinePartNetworkDataCenter.php b/src/Model/GetVirtualMachinePartNetworkDataCenter.php new file mode 100644 index 00000000..ae15e06b --- /dev/null +++ b/src/Model/GetVirtualMachinePartNetworkDataCenter.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string|null + */ + protected $permalink; + /** + * @var GetVirtualMachinePartDataCenterCountry + */ + protected $country; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): ?string + { + return $this->permalink; + } + + public function setPermalink(?string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } + + public function getCountry(): GetVirtualMachinePartDataCenterCountry + { + return $this->country; + } + + public function setCountry(GetVirtualMachinePartDataCenterCountry $country): self + { + $this->initialized['country'] = true; + $this->country = $country; + + return $this; + } +} diff --git a/src/Model/GetVirtualMachinePartOperatingSystem.php b/src/Model/GetVirtualMachinePartOperatingSystem.php index 5e34535c..d8555411 100644 --- a/src/Model/GetVirtualMachinePartOperatingSystem.php +++ b/src/Model/GetVirtualMachinePartOperatingSystem.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var GetVirtualMachinePartBadge + * @var GetVirtualMachinePartOperatingSystemBadge|null */ protected $badge; @@ -60,12 +60,12 @@ public function setName(string $name): self return $this; } - public function getBadge(): GetVirtualMachinePartBadge + public function getBadge(): ?GetVirtualMachinePartOperatingSystemBadge { return $this->badge; } - public function setBadge(GetVirtualMachinePartBadge $badge): self + public function setBadge(?GetVirtualMachinePartOperatingSystemBadge $badge): self { $this->initialized['badge'] = true; $this->badge = $badge; diff --git a/src/Model/GetVirtualMachinePartOperatingSystemBadge.php b/src/Model/GetVirtualMachinePartOperatingSystemBadge.php new file mode 100644 index 00000000..38d8a75f --- /dev/null +++ b/src/Model/GetVirtualMachinePartOperatingSystemBadge.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var string + */ + protected $url; + /** + * @var string + */ + protected $fileName; + /** + * @var string + */ + protected $fileType; + /** + * @var int + */ + protected $fileSize; + /** + * @var string + */ + protected $digest; + /** + * @var string + */ + protected $token; + + public function getUrl(): string + { + return $this->url; + } + + public function setUrl(string $url): self + { + $this->initialized['url'] = true; + $this->url = $url; + + return $this; + } + + public function getFileName(): string + { + return $this->fileName; + } + + public function setFileName(string $fileName): self + { + $this->initialized['fileName'] = true; + $this->fileName = $fileName; + + return $this; + } + + public function getFileType(): string + { + return $this->fileType; + } + + public function setFileType(string $fileType): self + { + $this->initialized['fileType'] = true; + $this->fileType = $fileType; + + return $this; + } + + public function getFileSize(): int + { + return $this->fileSize; + } + + public function setFileSize(int $fileSize): self + { + $this->initialized['fileSize'] = true; + $this->fileSize = $fileSize; + + return $this; + } + + public function getDigest(): string + { + return $this->digest; + } + + public function setDigest(string $digest): self + { + $this->initialized['digest'] = true; + $this->digest = $digest; + + return $this; + } + + public function getToken(): string + { + return $this->token; + } + + public function setToken(string $token): self + { + $this->initialized['token'] = true; + $this->token = $token; + + return $this; + } +} diff --git a/src/Model/GetVirtualMachinePartOrganization.php b/src/Model/GetVirtualMachinePartOrganization.php index 778ffefa..21f00bea 100644 --- a/src/Model/GetVirtualMachinePartOrganization.php +++ b/src/Model/GetVirtualMachinePartOrganization.php @@ -50,47 +50,47 @@ public function isInitialized($property): bool */ protected $managed; /** - * @var string + * @var string|null */ protected $billingName; /** - * @var string + * @var string|null */ protected $address1; /** - * @var string + * @var string|null */ protected $address2; /** - * @var string + * @var string|null */ protected $address3; /** - * @var string + * @var string|null */ protected $address4; /** - * @var string + * @var string|null */ protected $postcode; /** - * @var string + * @var string|null */ protected $vatNumber; /** - * @var string + * @var string|null */ protected $phoneNumber; /** - * @var GetVirtualMachinePartCurrency + * @var GetVirtualMachinePartOrganizationCurrency */ protected $currency; /** - * @var GetVirtualMachinePartCountry + * @var GetVirtualMachinePartOrganizationCountry|null */ protected $country; /** - * @var GetVirtualMachinePartCountryState + * @var GetVirtualMachinePartOrganizationCountryState|null */ protected $countryState; @@ -185,12 +185,12 @@ public function setManaged(bool $managed): self return $this; } - public function getBillingName(): string + public function getBillingName(): ?string { return $this->billingName; } - public function setBillingName(string $billingName): self + public function setBillingName(?string $billingName): self { $this->initialized['billingName'] = true; $this->billingName = $billingName; @@ -198,12 +198,12 @@ public function setBillingName(string $billingName): self return $this; } - public function getAddress1(): string + public function getAddress1(): ?string { return $this->address1; } - public function setAddress1(string $address1): self + public function setAddress1(?string $address1): self { $this->initialized['address1'] = true; $this->address1 = $address1; @@ -211,12 +211,12 @@ public function setAddress1(string $address1): self return $this; } - public function getAddress2(): string + public function getAddress2(): ?string { return $this->address2; } - public function setAddress2(string $address2): self + public function setAddress2(?string $address2): self { $this->initialized['address2'] = true; $this->address2 = $address2; @@ -224,12 +224,12 @@ public function setAddress2(string $address2): self return $this; } - public function getAddress3(): string + public function getAddress3(): ?string { return $this->address3; } - public function setAddress3(string $address3): self + public function setAddress3(?string $address3): self { $this->initialized['address3'] = true; $this->address3 = $address3; @@ -237,12 +237,12 @@ public function setAddress3(string $address3): self return $this; } - public function getAddress4(): string + public function getAddress4(): ?string { return $this->address4; } - public function setAddress4(string $address4): self + public function setAddress4(?string $address4): self { $this->initialized['address4'] = true; $this->address4 = $address4; @@ -250,12 +250,12 @@ public function setAddress4(string $address4): self return $this; } - public function getPostcode(): string + public function getPostcode(): ?string { return $this->postcode; } - public function setPostcode(string $postcode): self + public function setPostcode(?string $postcode): self { $this->initialized['postcode'] = true; $this->postcode = $postcode; @@ -263,12 +263,12 @@ public function setPostcode(string $postcode): self return $this; } - public function getVatNumber(): string + public function getVatNumber(): ?string { return $this->vatNumber; } - public function setVatNumber(string $vatNumber): self + public function setVatNumber(?string $vatNumber): self { $this->initialized['vatNumber'] = true; $this->vatNumber = $vatNumber; @@ -276,12 +276,12 @@ public function setVatNumber(string $vatNumber): self return $this; } - public function getPhoneNumber(): string + public function getPhoneNumber(): ?string { return $this->phoneNumber; } - public function setPhoneNumber(string $phoneNumber): self + public function setPhoneNumber(?string $phoneNumber): self { $this->initialized['phoneNumber'] = true; $this->phoneNumber = $phoneNumber; @@ -289,12 +289,12 @@ public function setPhoneNumber(string $phoneNumber): self return $this; } - public function getCurrency(): GetVirtualMachinePartCurrency + public function getCurrency(): GetVirtualMachinePartOrganizationCurrency { return $this->currency; } - public function setCurrency(GetVirtualMachinePartCurrency $currency): self + public function setCurrency(GetVirtualMachinePartOrganizationCurrency $currency): self { $this->initialized['currency'] = true; $this->currency = $currency; @@ -302,12 +302,12 @@ public function setCurrency(GetVirtualMachinePartCurrency $currency): self return $this; } - public function getCountry(): GetVirtualMachinePartCountry + public function getCountry(): ?GetVirtualMachinePartOrganizationCountry { return $this->country; } - public function setCountry(GetVirtualMachinePartCountry $country): self + public function setCountry(?GetVirtualMachinePartOrganizationCountry $country): self { $this->initialized['country'] = true; $this->country = $country; @@ -315,12 +315,12 @@ public function setCountry(GetVirtualMachinePartCountry $country): self return $this; } - public function getCountryState(): GetVirtualMachinePartCountryState + public function getCountryState(): ?GetVirtualMachinePartOrganizationCountryState { return $this->countryState; } - public function setCountryState(GetVirtualMachinePartCountryState $countryState): self + public function setCountryState(?GetVirtualMachinePartOrganizationCountryState $countryState): self { $this->initialized['countryState'] = true; $this->countryState = $countryState; diff --git a/src/Model/GetVirtualMachinePartOrganizationCountry.php b/src/Model/GetVirtualMachinePartOrganizationCountry.php new file mode 100644 index 00000000..495087ec --- /dev/null +++ b/src/Model/GetVirtualMachinePartOrganizationCountry.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $isoCode2; + /** + * @var string + */ + protected $isoCode3; + /** + * @var string|null + */ + protected $timeZone; + /** + * @var bool + */ + protected $eu; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getIsoCode2(): string + { + return $this->isoCode2; + } + + public function setIsoCode2(string $isoCode2): self + { + $this->initialized['isoCode2'] = true; + $this->isoCode2 = $isoCode2; + + return $this; + } + + public function getIsoCode3(): string + { + return $this->isoCode3; + } + + public function setIsoCode3(string $isoCode3): self + { + $this->initialized['isoCode3'] = true; + $this->isoCode3 = $isoCode3; + + return $this; + } + + public function getTimeZone(): ?string + { + return $this->timeZone; + } + + public function setTimeZone(?string $timeZone): self + { + $this->initialized['timeZone'] = true; + $this->timeZone = $timeZone; + + return $this; + } + + public function getEu(): bool + { + return $this->eu; + } + + public function setEu(bool $eu): self + { + $this->initialized['eu'] = true; + $this->eu = $eu; + + return $this; + } +} diff --git a/src/Model/GetVirtualMachinePartOrganizationCountryState.php b/src/Model/GetVirtualMachinePartOrganizationCountryState.php new file mode 100644 index 00000000..7322aa62 --- /dev/null +++ b/src/Model/GetVirtualMachinePartOrganizationCountryState.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $code; + /** + * @var GetVirtualMachinePartCountryStateCountry + */ + protected $country; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getCode(): string + { + return $this->code; + } + + public function setCode(string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getCountry(): GetVirtualMachinePartCountryStateCountry + { + return $this->country; + } + + public function setCountry(GetVirtualMachinePartCountryStateCountry $country): self + { + $this->initialized['country'] = true; + $this->country = $country; + + return $this; + } +} diff --git a/src/Model/GetVirtualMachinePartOrganizationCurrency.php b/src/Model/GetVirtualMachinePartOrganizationCurrency.php new file mode 100644 index 00000000..027b9cfc --- /dev/null +++ b/src/Model/GetVirtualMachinePartOrganizationCurrency.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $isoCode; + /** + * @var string + */ + protected $symbol; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getIsoCode(): string + { + return $this->isoCode; + } + + public function setIsoCode(string $isoCode): self + { + $this->initialized['isoCode'] = true; + $this->isoCode = $isoCode; + + return $this; + } + + public function getSymbol(): string + { + return $this->symbol; + } + + public function setSymbol(string $symbol): self + { + $this->initialized['symbol'] = true; + $this->symbol = $symbol; + + return $this; + } +} diff --git a/src/Model/GetVirtualMachinePartPackage.php b/src/Model/GetVirtualMachinePartPackage.php index 4e6e9503..31f6f367 100644 --- a/src/Model/GetVirtualMachinePartPackage.php +++ b/src/Model/GetVirtualMachinePartPackage.php @@ -50,7 +50,7 @@ public function isInitialized($property): bool */ protected $storageInGb; /** - * @var int + * @var int|null */ protected $monthlyBandwidthAllowanceInGb; /** @@ -58,7 +58,7 @@ public function isInitialized($property): bool */ protected $privacy; /** - * @var GetVirtualMachinePartIcon + * @var GetVirtualMachinePartPackageIcon|null */ protected $icon; @@ -153,12 +153,12 @@ public function setStorageInGb(int $storageInGb): self return $this; } - public function getMonthlyBandwidthAllowanceInGb(): int + public function getMonthlyBandwidthAllowanceInGb(): ?int { return $this->monthlyBandwidthAllowanceInGb; } - public function setMonthlyBandwidthAllowanceInGb(int $monthlyBandwidthAllowanceInGb): self + public function setMonthlyBandwidthAllowanceInGb(?int $monthlyBandwidthAllowanceInGb): self { $this->initialized['monthlyBandwidthAllowanceInGb'] = true; $this->monthlyBandwidthAllowanceInGb = $monthlyBandwidthAllowanceInGb; @@ -179,12 +179,12 @@ public function setPrivacy(string $privacy): self return $this; } - public function getIcon(): GetVirtualMachinePartIcon + public function getIcon(): ?GetVirtualMachinePartPackageIcon { return $this->icon; } - public function setIcon(GetVirtualMachinePartIcon $icon): self + public function setIcon(?GetVirtualMachinePartPackageIcon $icon): self { $this->initialized['icon'] = true; $this->icon = $icon; diff --git a/src/Model/GetVirtualMachinePartPackageIcon.php b/src/Model/GetVirtualMachinePartPackageIcon.php new file mode 100644 index 00000000..95c75b3b --- /dev/null +++ b/src/Model/GetVirtualMachinePartPackageIcon.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var string + */ + protected $url; + /** + * @var string + */ + protected $fileName; + /** + * @var string + */ + protected $fileType; + /** + * @var int + */ + protected $fileSize; + /** + * @var string + */ + protected $digest; + /** + * @var string + */ + protected $token; + + public function getUrl(): string + { + return $this->url; + } + + public function setUrl(string $url): self + { + $this->initialized['url'] = true; + $this->url = $url; + + return $this; + } + + public function getFileName(): string + { + return $this->fileName; + } + + public function setFileName(string $fileName): self + { + $this->initialized['fileName'] = true; + $this->fileName = $fileName; + + return $this; + } + + public function getFileType(): string + { + return $this->fileType; + } + + public function setFileType(string $fileType): self + { + $this->initialized['fileType'] = true; + $this->fileType = $fileType; + + return $this; + } + + public function getFileSize(): int + { + return $this->fileSize; + } + + public function setFileSize(int $fileSize): self + { + $this->initialized['fileSize'] = true; + $this->fileSize = $fileSize; + + return $this; + } + + public function getDigest(): string + { + return $this->digest; + } + + public function setDigest(string $digest): self + { + $this->initialized['digest'] = true; + $this->digest = $digest; + + return $this; + } + + public function getToken(): string + { + return $this->token; + } + + public function setToken(string $token): self + { + $this->initialized['token'] = true; + $this->token = $token; + + return $this; + } +} diff --git a/src/Model/GetVirtualMachinePartZone.php b/src/Model/GetVirtualMachinePartZone.php index 02fb07f3..dbd60f6d 100644 --- a/src/Model/GetVirtualMachinePartZone.php +++ b/src/Model/GetVirtualMachinePartZone.php @@ -30,11 +30,11 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; /** - * @var GetVirtualMachinePartDataCenter + * @var GetVirtualMachinePartZoneDataCenter */ protected $dataCenter; @@ -64,12 +64,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; @@ -77,12 +77,12 @@ public function setPermalink(string $permalink): self return $this; } - public function getDataCenter(): GetVirtualMachinePartDataCenter + public function getDataCenter(): GetVirtualMachinePartZoneDataCenter { return $this->dataCenter; } - public function setDataCenter(GetVirtualMachinePartDataCenter $dataCenter): self + public function setDataCenter(GetVirtualMachinePartZoneDataCenter $dataCenter): self { $this->initialized['dataCenter'] = true; $this->dataCenter = $dataCenter; diff --git a/src/Model/GetVirtualMachinePartZoneDataCenter.php b/src/Model/GetVirtualMachinePartZoneDataCenter.php new file mode 100644 index 00000000..9baa471f --- /dev/null +++ b/src/Model/GetVirtualMachinePartZoneDataCenter.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string|null + */ + protected $permalink; + /** + * @var GetVirtualMachinePartDataCenterCountry + */ + protected $country; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): ?string + { + return $this->permalink; + } + + public function setPermalink(?string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } + + public function getCountry(): GetVirtualMachinePartDataCenterCountry + { + return $this->country; + } + + public function setCountry(GetVirtualMachinePartDataCenterCountry $country): self + { + $this->initialized['country'] = true; + $this->country = $country; + + return $this; + } +} diff --git a/src/Model/GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuild.php b/src/Model/GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuild.php index 7f2842ba..adf6bab7 100644 --- a/src/Model/GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuild.php +++ b/src/Model/GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuild.php @@ -34,7 +34,7 @@ public function isInitialized($property): bool */ protected $state; /** - * @var GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachine + * @var GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine|null */ protected $virtualMachine; /** @@ -81,12 +81,12 @@ public function setState(string $state): self return $this; } - public function getVirtualMachine(): GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachine + public function getVirtualMachine(): ?GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine { return $this->virtualMachine; } - public function setVirtualMachine(GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachine $virtualMachine): self + public function setVirtualMachine(?GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine $virtualMachine): self { $this->initialized['virtualMachine'] = true; $this->virtualMachine = $virtualMachine; diff --git a/src/Model/GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine.php b/src/Model/GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine.php new file mode 100644 index 00000000..9f1edb22 --- /dev/null +++ b/src/Model/GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine.php @@ -0,0 +1,109 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $hostname; + /** + * @var string + */ + protected $fqdn; + /** + * @var string + */ + protected $state; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getHostname(): string + { + return $this->hostname; + } + + public function setHostname(string $hostname): self + { + $this->initialized['hostname'] = true; + $this->hostname = $hostname; + + return $this; + } + + public function getFqdn(): string + { + return $this->fqdn; + } + + public function setFqdn(string $fqdn): self + { + $this->initialized['fqdn'] = true; + $this->fqdn = $fqdn; + + return $this; + } + + public function getState(): string + { + return $this->state; + } + + public function setState(string $state): self + { + $this->initialized['state'] = true; + $this->state = $state; + + return $this; + } +} diff --git a/src/Model/GetZones200ResponseZones.php b/src/Model/GetZones200ResponseZones.php index 16572ae5..d6548317 100644 --- a/src/Model/GetZones200ResponseZones.php +++ b/src/Model/GetZones200ResponseZones.php @@ -30,11 +30,11 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; /** - * @var GetZonesPartDataCenter + * @var GetZones200ResponseZonesDataCenter */ protected $dataCenter; @@ -64,12 +64,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; @@ -77,12 +77,12 @@ public function setPermalink(string $permalink): self return $this; } - public function getDataCenter(): GetZonesPartDataCenter + public function getDataCenter(): GetZones200ResponseZonesDataCenter { return $this->dataCenter; } - public function setDataCenter(GetZonesPartDataCenter $dataCenter): self + public function setDataCenter(GetZones200ResponseZonesDataCenter $dataCenter): self { $this->initialized['dataCenter'] = true; $this->dataCenter = $dataCenter; diff --git a/src/Model/GetZones200ResponseZonesDataCenter.php b/src/Model/GetZones200ResponseZonesDataCenter.php new file mode 100644 index 00000000..2a9b908b --- /dev/null +++ b/src/Model/GetZones200ResponseZonesDataCenter.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string|null + */ + protected $permalink; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): ?string + { + return $this->permalink; + } + + public function setPermalink(?string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } +} diff --git a/src/Model/GetZonesPartDataCenter.php b/src/Model/GetZonesPartDataCenter.php index 5e2ff2cd..ab4aaa9c 100644 --- a/src/Model/GetZonesPartDataCenter.php +++ b/src/Model/GetZonesPartDataCenter.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; @@ -60,12 +60,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; diff --git a/src/Model/GpuTypesGetResponse200Pagination.php b/src/Model/GpuTypesGetResponse200Pagination.php index c267bf0f..3f120fe8 100644 --- a/src/Model/GpuTypesGetResponse200Pagination.php +++ b/src/Model/GpuTypesGetResponse200Pagination.php @@ -30,13 +30,13 @@ public function isInitialized($property): bool /** * The total number of pages. * - * @var int + * @var int|null */ protected $totalPages; /** * The total number of items across all pages. * - * @var int + * @var int|null */ protected $total; /** @@ -74,7 +74,7 @@ public function setCurrentPage(int $currentPage): self /** * The total number of pages. */ - public function getTotalPages(): int + public function getTotalPages(): ?int { return $this->totalPages; } @@ -82,7 +82,7 @@ public function getTotalPages(): int /** * The total number of pages. */ - public function setTotalPages(int $totalPages): self + public function setTotalPages(?int $totalPages): self { $this->initialized['totalPages'] = true; $this->totalPages = $totalPages; @@ -93,7 +93,7 @@ public function setTotalPages(int $totalPages): self /** * The total number of items across all pages. */ - public function getTotal(): int + public function getTotal(): ?int { return $this->total; } @@ -101,7 +101,7 @@ public function getTotal(): int /** * The total number of items across all pages. */ - public function setTotal(int $total): self + public function setTotal(?int $total): self { $this->initialized['total'] = true; $this->total = $total; diff --git a/src/Model/GpuTypesGpuTypeGetResponse200GpuType.php b/src/Model/GpuTypesGpuTypeGetResponse200GpuType.php index d0805152..e73b1fa0 100644 --- a/src/Model/GpuTypesGpuTypeGetResponse200GpuType.php +++ b/src/Model/GpuTypesGpuTypeGetResponse200GpuType.php @@ -46,7 +46,7 @@ public function isInitialized($property): bool */ protected $permalink; /** - * @var GetGPUTypePartDataCenters[] + * @var GetGPUType200ResponseGPUTypeDataCentersItem[] */ protected $dataCenters; @@ -129,7 +129,7 @@ public function setPermalink(string $permalink): self } /** - * @return GetGPUTypePartDataCenters[] + * @return GetGPUType200ResponseGPUTypeDataCentersItem[] */ public function getDataCenters(): array { @@ -137,7 +137,7 @@ public function getDataCenters(): array } /** - * @param GetGPUTypePartDataCenters[] $dataCenters + * @param GetGPUType200ResponseGPUTypeDataCentersItem[] $dataCenters */ public function setDataCenters(array $dataCenters): self { diff --git a/src/Model/IPAddress.php b/src/Model/IPAddress.php index 2225ea37..eab8a5a2 100644 --- a/src/Model/IPAddress.php +++ b/src/Model/IPAddress.php @@ -38,7 +38,7 @@ public function isInitialized($property): bool */ protected $vip; /** - * @var string + * @var string|null */ protected $label; /** @@ -46,15 +46,15 @@ public function isInitialized($property): bool */ protected $addressWithMask; /** - * @var Network + * @var IPAddressNetwork */ protected $network; /** - * @var string + * @var string|null */ protected $allocationId; /** - * @var string + * @var string|null */ protected $allocationType; @@ -110,12 +110,12 @@ public function setVip(bool $vip): self return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->initialized['label'] = true; $this->label = $label; @@ -136,12 +136,12 @@ public function setAddressWithMask(string $addressWithMask): self return $this; } - public function getNetwork(): Network + public function getNetwork(): IPAddressNetwork { return $this->network; } - public function setNetwork(Network $network): self + public function setNetwork(IPAddressNetwork $network): self { $this->initialized['network'] = true; $this->network = $network; @@ -149,12 +149,12 @@ public function setNetwork(Network $network): self return $this; } - public function getAllocationId(): string + public function getAllocationId(): ?string { return $this->allocationId; } - public function setAllocationId(string $allocationId): self + public function setAllocationId(?string $allocationId): self { $this->initialized['allocationId'] = true; $this->allocationId = $allocationId; @@ -162,12 +162,12 @@ public function setAllocationId(string $allocationId): self return $this; } - public function getAllocationType(): string + public function getAllocationType(): ?string { return $this->allocationType; } - public function setAllocationType(string $allocationType): self + public function setAllocationType(?string $allocationType): self { $this->initialized['allocationType'] = true; $this->allocationType = $allocationType; diff --git a/src/Model/IPAddressNetwork.php b/src/Model/IPAddressNetwork.php new file mode 100644 index 00000000..5e7f4624 --- /dev/null +++ b/src/Model/IPAddressNetwork.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string|null + */ + protected $permalink; + /** + * @var NetworkDataCenter + */ + protected $dataCenter; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): ?string + { + return $this->permalink; + } + + public function setPermalink(?string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } + + public function getDataCenter(): NetworkDataCenter + { + return $this->dataCenter; + } + + public function setDataCenter(NetworkDataCenter $dataCenter): self + { + $this->initialized['dataCenter'] = true; + $this->dataCenter = $dataCenter; + + return $this; + } +} diff --git a/src/Model/ISO.php b/src/Model/ISO.php index 666f5e58..3149cdbb 100644 --- a/src/Model/ISO.php +++ b/src/Model/ISO.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var OperatingSystem + * @var ISOOperatingSystem|null */ protected $operatingSystem; @@ -60,12 +60,12 @@ public function setName(string $name): self return $this; } - public function getOperatingSystem(): OperatingSystem + public function getOperatingSystem(): ?ISOOperatingSystem { return $this->operatingSystem; } - public function setOperatingSystem(OperatingSystem $operatingSystem): self + public function setOperatingSystem(?ISOOperatingSystem $operatingSystem): self { $this->initialized['operatingSystem'] = true; $this->operatingSystem = $operatingSystem; diff --git a/src/Model/ISOOperatingSystem.php b/src/Model/ISOOperatingSystem.php new file mode 100644 index 00000000..a7db8d0b --- /dev/null +++ b/src/Model/ISOOperatingSystem.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var OperatingSystemBadge|null + */ + protected $badge; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getBadge(): ?OperatingSystemBadge + { + return $this->badge; + } + + public function setBadge(?OperatingSystemBadge $badge): self + { + $this->initialized['badge'] = true; + $this->badge = $badge; + + return $this; + } +} diff --git a/src/Model/InvalidAPIToken.php b/src/Model/InvalidAPIToken.php index 0c08d016..9263a4ca 100644 --- a/src/Model/InvalidAPIToken.php +++ b/src/Model/InvalidAPIToken.php @@ -22,16 +22,16 @@ public function isInitialized($property): bool return array_key_exists($property, $this->initialized); } /** - * @var string + * @var string|null */ protected $details; - public function getDetails(): string + public function getDetails(): ?string { return $this->details; } - public function setDetails(string $details): self + public function setDetails(?string $details): self { $this->initialized['details'] = true; $this->details = $details; diff --git a/src/Model/IpAddressesIpAddressGetResponse200IpAddress.php b/src/Model/IpAddressesIpAddressGetResponse200IpAddress.php index d73b1823..0af4d299 100644 --- a/src/Model/IpAddressesIpAddressGetResponse200IpAddress.php +++ b/src/Model/IpAddressesIpAddressGetResponse200IpAddress.php @@ -38,7 +38,7 @@ public function isInitialized($property): bool */ protected $vip; /** - * @var string + * @var string|null */ protected $label; /** @@ -46,15 +46,15 @@ public function isInitialized($property): bool */ protected $addressWithMask; /** - * @var Network + * @var IPAddressNetwork */ protected $network; /** - * @var string + * @var string|null */ protected $allocationId; /** - * @var string + * @var string|null */ protected $allocationType; @@ -110,12 +110,12 @@ public function setVip(bool $vip): self return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->initialized['label'] = true; $this->label = $label; @@ -136,12 +136,12 @@ public function setAddressWithMask(string $addressWithMask): self return $this; } - public function getNetwork(): Network + public function getNetwork(): IPAddressNetwork { return $this->network; } - public function setNetwork(Network $network): self + public function setNetwork(IPAddressNetwork $network): self { $this->initialized['network'] = true; $this->network = $network; @@ -149,12 +149,12 @@ public function setNetwork(Network $network): self return $this; } - public function getAllocationId(): string + public function getAllocationId(): ?string { return $this->allocationId; } - public function setAllocationId(string $allocationId): self + public function setAllocationId(?string $allocationId): self { $this->initialized['allocationId'] = true; $this->allocationId = $allocationId; @@ -162,12 +162,12 @@ public function setAllocationId(string $allocationId): self return $this; } - public function getAllocationType(): string + public function getAllocationType(): ?string { return $this->allocationType; } - public function setAllocationType(string $allocationType): self + public function setAllocationType(?string $allocationType): self { $this->initialized['allocationType'] = true; $this->allocationType = $allocationType; diff --git a/src/Model/IpAddressesIpAddressPatchResponse200IpAddress.php b/src/Model/IpAddressesIpAddressPatchResponse200IpAddress.php index 76a92847..8a70f59d 100644 --- a/src/Model/IpAddressesIpAddressPatchResponse200IpAddress.php +++ b/src/Model/IpAddressesIpAddressPatchResponse200IpAddress.php @@ -38,7 +38,7 @@ public function isInitialized($property): bool */ protected $vip; /** - * @var string + * @var string|null */ protected $label; /** @@ -46,15 +46,15 @@ public function isInitialized($property): bool */ protected $addressWithMask; /** - * @var Network + * @var IPAddressNetwork */ protected $network; /** - * @var string + * @var string|null */ protected $allocationId; /** - * @var string + * @var string|null */ protected $allocationType; @@ -110,12 +110,12 @@ public function setVip(bool $vip): self return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->initialized['label'] = true; $this->label = $label; @@ -136,12 +136,12 @@ public function setAddressWithMask(string $addressWithMask): self return $this; } - public function getNetwork(): Network + public function getNetwork(): IPAddressNetwork { return $this->network; } - public function setNetwork(Network $network): self + public function setNetwork(IPAddressNetwork $network): self { $this->initialized['network'] = true; $this->network = $network; @@ -149,12 +149,12 @@ public function setNetwork(Network $network): self return $this; } - public function getAllocationId(): string + public function getAllocationId(): ?string { return $this->allocationId; } - public function setAllocationId(string $allocationId): self + public function setAllocationId(?string $allocationId): self { $this->initialized['allocationId'] = true; $this->allocationId = $allocationId; @@ -162,12 +162,12 @@ public function setAllocationId(string $allocationId): self return $this; } - public function getAllocationType(): string + public function getAllocationType(): ?string { return $this->allocationType; } - public function setAllocationType(string $allocationType): self + public function setAllocationType(?string $allocationType): self { $this->initialized['allocationType'] = true; $this->allocationType = $allocationType; diff --git a/src/Model/LoadBalancersLoadBalancerDeleteResponse200LoadBalancer.php b/src/Model/LoadBalancersLoadBalancerDeleteResponse200LoadBalancer.php index eaee1dd8..5fcf85ac 100644 --- a/src/Model/LoadBalancersLoadBalancerDeleteResponse200LoadBalancer.php +++ b/src/Model/LoadBalancersLoadBalancerDeleteResponse200LoadBalancer.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $apiReference; @@ -60,12 +60,12 @@ public function setName(string $name): self return $this; } - public function getApiReference(): string + public function getApiReference(): ?string { return $this->apiReference; } - public function setApiReference(string $apiReference): self + public function setApiReference(?string $apiReference): self { $this->initialized['apiReference'] = true; $this->apiReference = $apiReference; diff --git a/src/Model/LoadBalancersLoadBalancerGetResponse200LoadBalancer.php b/src/Model/LoadBalancersLoadBalancerGetResponse200LoadBalancer.php index 49aa7e38..71e9de07 100644 --- a/src/Model/LoadBalancersLoadBalancerGetResponse200LoadBalancer.php +++ b/src/Model/LoadBalancersLoadBalancerGetResponse200LoadBalancer.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $apiReference; /** @@ -46,7 +46,7 @@ public function isInitialized($property): bool */ protected $resourceIds; /** - * @var GetLoadBalancerPartIPAddress[] + * @var GetLoadBalancer200ResponseLoadBalancerIpAddressItem[] */ protected $ipAddress; /** @@ -62,7 +62,7 @@ public function isInitialized($property): bool */ protected $backendCertificateKey; /** - * @var GetLoadBalancerPartDataCenter + * @var GetLoadBalancer200ResponseLoadBalancerDataCenter */ protected $dataCenter; /** @@ -70,7 +70,7 @@ public function isInitialized($property): bool */ protected $enableWeighting; /** - * @var GetLoadBalancerPartWeights[] + * @var GetLoadBalancer200ResponseLoadBalancerWeightsItem[] */ protected $weights; /** @@ -104,12 +104,12 @@ public function setName(string $name): self return $this; } - public function getApiReference(): string + public function getApiReference(): ?string { return $this->apiReference; } - public function setApiReference(string $apiReference): self + public function setApiReference(?string $apiReference): self { $this->initialized['apiReference'] = true; $this->apiReference = $apiReference; @@ -169,7 +169,7 @@ public function setResourceIds(array $resourceIds): self } /** - * @return GetLoadBalancerPartIPAddress[] + * @return GetLoadBalancer200ResponseLoadBalancerIpAddressItem[] */ public function getIpAddress(): array { @@ -177,7 +177,7 @@ public function getIpAddress(): array } /** - * @param GetLoadBalancerPartIPAddress[] $ipAddress + * @param GetLoadBalancer200ResponseLoadBalancerIpAddressItem[] $ipAddress */ public function setIpAddress(array $ipAddress): self { @@ -226,12 +226,12 @@ public function setBackendCertificateKey(string $backendCertificateKey): self return $this; } - public function getDataCenter(): GetLoadBalancerPartDataCenter + public function getDataCenter(): GetLoadBalancer200ResponseLoadBalancerDataCenter { return $this->dataCenter; } - public function setDataCenter(GetLoadBalancerPartDataCenter $dataCenter): self + public function setDataCenter(GetLoadBalancer200ResponseLoadBalancerDataCenter $dataCenter): self { $this->initialized['dataCenter'] = true; $this->dataCenter = $dataCenter; @@ -253,7 +253,7 @@ public function setEnableWeighting(bool $enableWeighting): self } /** - * @return GetLoadBalancerPartWeights[] + * @return GetLoadBalancer200ResponseLoadBalancerWeightsItem[] */ public function getWeights(): array { @@ -261,7 +261,7 @@ public function getWeights(): array } /** - * @param GetLoadBalancerPartWeights[] $weights + * @param GetLoadBalancer200ResponseLoadBalancerWeightsItem[] $weights */ public function setWeights(array $weights): self { diff --git a/src/Model/LoadBalancersLoadBalancerPatchResponse200LoadBalancer.php b/src/Model/LoadBalancersLoadBalancerPatchResponse200LoadBalancer.php index 51c9b0e3..0acbff74 100644 --- a/src/Model/LoadBalancersLoadBalancerPatchResponse200LoadBalancer.php +++ b/src/Model/LoadBalancersLoadBalancerPatchResponse200LoadBalancer.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $apiReference; /** @@ -46,7 +46,7 @@ public function isInitialized($property): bool */ protected $resourceIds; /** - * @var PatchLoadBalancerPartIPAddress[] + * @var PatchLoadBalancer200ResponseLoadBalancerIpAddressItem[] */ protected $ipAddress; /** @@ -62,7 +62,7 @@ public function isInitialized($property): bool */ protected $backendCertificateKey; /** - * @var PatchLoadBalancerPartDataCenter + * @var PatchLoadBalancer200ResponseLoadBalancerDataCenter */ protected $dataCenter; /** @@ -70,7 +70,7 @@ public function isInitialized($property): bool */ protected $enableWeighting; /** - * @var PatchLoadBalancerPartWeights[] + * @var PatchLoadBalancer200ResponseLoadBalancerWeightsItem[] */ protected $weights; /** @@ -104,12 +104,12 @@ public function setName(string $name): self return $this; } - public function getApiReference(): string + public function getApiReference(): ?string { return $this->apiReference; } - public function setApiReference(string $apiReference): self + public function setApiReference(?string $apiReference): self { $this->initialized['apiReference'] = true; $this->apiReference = $apiReference; @@ -169,7 +169,7 @@ public function setResourceIds(array $resourceIds): self } /** - * @return PatchLoadBalancerPartIPAddress[] + * @return PatchLoadBalancer200ResponseLoadBalancerIpAddressItem[] */ public function getIpAddress(): array { @@ -177,7 +177,7 @@ public function getIpAddress(): array } /** - * @param PatchLoadBalancerPartIPAddress[] $ipAddress + * @param PatchLoadBalancer200ResponseLoadBalancerIpAddressItem[] $ipAddress */ public function setIpAddress(array $ipAddress): self { @@ -226,12 +226,12 @@ public function setBackendCertificateKey(string $backendCertificateKey): self return $this; } - public function getDataCenter(): PatchLoadBalancerPartDataCenter + public function getDataCenter(): PatchLoadBalancer200ResponseLoadBalancerDataCenter { return $this->dataCenter; } - public function setDataCenter(PatchLoadBalancerPartDataCenter $dataCenter): self + public function setDataCenter(PatchLoadBalancer200ResponseLoadBalancerDataCenter $dataCenter): self { $this->initialized['dataCenter'] = true; $this->dataCenter = $dataCenter; @@ -253,7 +253,7 @@ public function setEnableWeighting(bool $enableWeighting): self } /** - * @return PatchLoadBalancerPartWeights[] + * @return PatchLoadBalancer200ResponseLoadBalancerWeightsItem[] */ public function getWeights(): array { @@ -261,7 +261,7 @@ public function getWeights(): array } /** - * @param PatchLoadBalancerPartWeights[] $weights + * @param PatchLoadBalancer200ResponseLoadBalancerWeightsItem[] $weights */ public function setWeights(array $weights): self { diff --git a/src/Model/LoadBalancersLoadBalancerRulesGetResponse200Pagination.php b/src/Model/LoadBalancersLoadBalancerRulesGetResponse200Pagination.php index 83d42bfd..895a33cf 100644 --- a/src/Model/LoadBalancersLoadBalancerRulesGetResponse200Pagination.php +++ b/src/Model/LoadBalancersLoadBalancerRulesGetResponse200Pagination.php @@ -30,13 +30,13 @@ public function isInitialized($property): bool /** * The total number of pages. * - * @var int + * @var int|null */ protected $totalPages; /** * The total number of items across all pages. * - * @var int + * @var int|null */ protected $total; /** @@ -74,7 +74,7 @@ public function setCurrentPage(int $currentPage): self /** * The total number of pages. */ - public function getTotalPages(): int + public function getTotalPages(): ?int { return $this->totalPages; } @@ -82,7 +82,7 @@ public function getTotalPages(): int /** * The total number of pages. */ - public function setTotalPages(int $totalPages): self + public function setTotalPages(?int $totalPages): self { $this->initialized['totalPages'] = true; $this->totalPages = $totalPages; @@ -93,7 +93,7 @@ public function setTotalPages(int $totalPages): self /** * The total number of items across all pages. */ - public function getTotal(): int + public function getTotal(): ?int { return $this->total; } @@ -101,7 +101,7 @@ public function getTotal(): int /** * The total number of items across all pages. */ - public function setTotal(int $total): self + public function setTotal(?int $total): self { $this->initialized['total'] = true; $this->total = $total; diff --git a/src/Model/LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRule.php b/src/Model/LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRule.php index 313e7775..39fc3d9f 100644 --- a/src/Model/LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRule.php +++ b/src/Model/LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRule.php @@ -46,7 +46,7 @@ public function isInitialized($property): bool */ protected $proxyProtocol; /** - * @var PostLoadBalancerRulesPartCertificates[] + * @var PostLoadBalancerRules200ResponseLoadBalancerRuleCertificatesItem[] */ protected $certificates; /** @@ -90,7 +90,7 @@ public function isInitialized($property): bool */ protected $checkHttpStatuses; /** - * @var PostLoadBalancerRulesPartLoadBalancer + * @var PostLoadBalancerRules200ResponseLoadBalancerRuleLoadBalancer */ protected $loadBalancer; @@ -173,7 +173,7 @@ public function setProxyProtocol(bool $proxyProtocol): self } /** - * @return PostLoadBalancerRulesPartCertificates[] + * @return PostLoadBalancerRules200ResponseLoadBalancerRuleCertificatesItem[] */ public function getCertificates(): array { @@ -181,7 +181,7 @@ public function getCertificates(): array } /** - * @param PostLoadBalancerRulesPartCertificates[] $certificates + * @param PostLoadBalancerRules200ResponseLoadBalancerRuleCertificatesItem[] $certificates */ public function setCertificates(array $certificates): self { @@ -321,12 +321,12 @@ public function setCheckHttpStatuses(string $checkHttpStatuses): self return $this; } - public function getLoadBalancer(): PostLoadBalancerRulesPartLoadBalancer + public function getLoadBalancer(): PostLoadBalancerRules200ResponseLoadBalancerRuleLoadBalancer { return $this->loadBalancer; } - public function setLoadBalancer(PostLoadBalancerRulesPartLoadBalancer $loadBalancer): self + public function setLoadBalancer(PostLoadBalancerRules200ResponseLoadBalancerRuleLoadBalancer $loadBalancer): self { $this->initialized['loadBalancer'] = true; $this->loadBalancer = $loadBalancer; diff --git a/src/Model/LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRule.php b/src/Model/LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRule.php index 11e1ae3f..d63c16a8 100644 --- a/src/Model/LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRule.php +++ b/src/Model/LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRule.php @@ -46,7 +46,7 @@ public function isInitialized($property): bool */ protected $proxyProtocol; /** - * @var GetLoadBalancersRulesLoadBalancerRulePartCertificates[] + * @var GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItem[] */ protected $certificates; /** @@ -90,7 +90,7 @@ public function isInitialized($property): bool */ protected $checkHttpStatuses; /** - * @var GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer + * @var GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancer */ protected $loadBalancer; @@ -173,7 +173,7 @@ public function setProxyProtocol(bool $proxyProtocol): self } /** - * @return GetLoadBalancersRulesLoadBalancerRulePartCertificates[] + * @return GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItem[] */ public function getCertificates(): array { @@ -181,7 +181,7 @@ public function getCertificates(): array } /** - * @param GetLoadBalancersRulesLoadBalancerRulePartCertificates[] $certificates + * @param GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItem[] $certificates */ public function setCertificates(array $certificates): self { @@ -321,12 +321,12 @@ public function setCheckHttpStatuses(string $checkHttpStatuses): self return $this; } - public function getLoadBalancer(): GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer + public function getLoadBalancer(): GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancer { return $this->loadBalancer; } - public function setLoadBalancer(GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer $loadBalancer): self + public function setLoadBalancer(GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancer $loadBalancer): self { $this->initialized['loadBalancer'] = true; $this->loadBalancer = $loadBalancer; diff --git a/src/Model/LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRule.php b/src/Model/LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRule.php index 68422b70..030374b6 100644 --- a/src/Model/LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRule.php +++ b/src/Model/LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRule.php @@ -46,7 +46,7 @@ public function isInitialized($property): bool */ protected $proxyProtocol; /** - * @var PatchLoadBalancersRulesLoadBalancerRulePartCertificates[] + * @var PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItem[] */ protected $certificates; /** @@ -90,7 +90,7 @@ public function isInitialized($property): bool */ protected $checkHttpStatuses; /** - * @var PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer + * @var PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancer */ protected $loadBalancer; @@ -173,7 +173,7 @@ public function setProxyProtocol(bool $proxyProtocol): self } /** - * @return PatchLoadBalancersRulesLoadBalancerRulePartCertificates[] + * @return PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItem[] */ public function getCertificates(): array { @@ -181,7 +181,7 @@ public function getCertificates(): array } /** - * @param PatchLoadBalancersRulesLoadBalancerRulePartCertificates[] $certificates + * @param PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItem[] $certificates */ public function setCertificates(array $certificates): self { @@ -321,12 +321,12 @@ public function setCheckHttpStatuses(string $checkHttpStatuses): self return $this; } - public function getLoadBalancer(): PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer + public function getLoadBalancer(): PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancer { return $this->loadBalancer; } - public function setLoadBalancer(PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer $loadBalancer): self + public function setLoadBalancer(PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancer $loadBalancer): self { $this->initialized['loadBalancer'] = true; $this->loadBalancer = $loadBalancer; diff --git a/src/Model/Network.php b/src/Model/Network.php index 30ecc74e..d2859069 100644 --- a/src/Model/Network.php +++ b/src/Model/Network.php @@ -30,11 +30,11 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; /** - * @var DataCenter + * @var NetworkDataCenter */ protected $dataCenter; @@ -64,12 +64,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; @@ -77,12 +77,12 @@ public function setPermalink(string $permalink): self return $this; } - public function getDataCenter(): DataCenter + public function getDataCenter(): NetworkDataCenter { return $this->dataCenter; } - public function setDataCenter(DataCenter $dataCenter): self + public function setDataCenter(NetworkDataCenter $dataCenter): self { $this->initialized['dataCenter'] = true; $this->dataCenter = $dataCenter; diff --git a/src/Model/NetworkDataCenter.php b/src/Model/NetworkDataCenter.php new file mode 100644 index 00000000..ae1e29d9 --- /dev/null +++ b/src/Model/NetworkDataCenter.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string|null + */ + protected $permalink; + /** + * @var DataCenterCountry + */ + protected $country; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): ?string + { + return $this->permalink; + } + + public function setPermalink(?string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } + + public function getCountry(): DataCenterCountry + { + return $this->country; + } + + public function setCountry(DataCenterCountry $country): self + { + $this->initialized['country'] = true; + $this->country = $country; + + return $this; + } +} diff --git a/src/Model/NetworkSpeedProfile.php b/src/Model/NetworkSpeedProfile.php index 069950c1..70ff38a4 100644 --- a/src/Model/NetworkSpeedProfile.php +++ b/src/Model/NetworkSpeedProfile.php @@ -30,11 +30,11 @@ public function isInitialized($property): bool */ protected $name; /** - * @var int + * @var int|null */ protected $uploadSpeedInMbit; /** - * @var int + * @var int|null */ protected $downloadSpeedInMbit; /** @@ -68,12 +68,12 @@ public function setName(string $name): self return $this; } - public function getUploadSpeedInMbit(): int + public function getUploadSpeedInMbit(): ?int { return $this->uploadSpeedInMbit; } - public function setUploadSpeedInMbit(int $uploadSpeedInMbit): self + public function setUploadSpeedInMbit(?int $uploadSpeedInMbit): self { $this->initialized['uploadSpeedInMbit'] = true; $this->uploadSpeedInMbit = $uploadSpeedInMbit; @@ -81,12 +81,12 @@ public function setUploadSpeedInMbit(int $uploadSpeedInMbit): self return $this; } - public function getDownloadSpeedInMbit(): int + public function getDownloadSpeedInMbit(): ?int { return $this->downloadSpeedInMbit; } - public function setDownloadSpeedInMbit(int $downloadSpeedInMbit): self + public function setDownloadSpeedInMbit(?int $downloadSpeedInMbit): self { $this->initialized['downloadSpeedInMbit'] = true; $this->downloadSpeedInMbit = $downloadSpeedInMbit; diff --git a/src/Model/NetworksNetworkGetResponse200Network.php b/src/Model/NetworksNetworkGetResponse200Network.php index 606e0b6c..441b4512 100644 --- a/src/Model/NetworksNetworkGetResponse200Network.php +++ b/src/Model/NetworksNetworkGetResponse200Network.php @@ -30,11 +30,11 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; /** - * @var DataCenter + * @var NetworkDataCenter */ protected $dataCenter; @@ -64,12 +64,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; @@ -77,12 +77,12 @@ public function setPermalink(string $permalink): self return $this; } - public function getDataCenter(): DataCenter + public function getDataCenter(): NetworkDataCenter { return $this->dataCenter; } - public function setDataCenter(DataCenter $dataCenter): self + public function setDataCenter(NetworkDataCenter $dataCenter): self { $this->initialized['dataCenter'] = true; $this->dataCenter = $dataCenter; diff --git a/src/Model/ObjectInTrash.php b/src/Model/ObjectInTrash.php index cad940ca..b52459db 100644 --- a/src/Model/ObjectInTrash.php +++ b/src/Model/ObjectInTrash.php @@ -22,16 +22,16 @@ public function isInitialized($property): bool return array_key_exists($property, $this->initialized); } /** - * @var TrashObject + * @var ObjectInTrashTrashObject|null */ protected $trashObject; - public function getTrashObject(): TrashObject + public function getTrashObject(): ?ObjectInTrashTrashObject { return $this->trashObject; } - public function setTrashObject(TrashObject $trashObject): self + public function setTrashObject(?ObjectInTrashTrashObject $trashObject): self { $this->initialized['trashObject'] = true; $this->trashObject = $trashObject; diff --git a/src/Model/ObjectInTrashTrashObject.php b/src/Model/ObjectInTrashTrashObject.php new file mode 100644 index 00000000..9d82a82f --- /dev/null +++ b/src/Model/ObjectInTrashTrashObject.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var int + */ + protected $keepUntil; + /** + * @var string + */ + protected $objectId; + /** + * @var string + */ + protected $objectType; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getKeepUntil(): int + { + return $this->keepUntil; + } + + public function setKeepUntil(int $keepUntil): self + { + $this->initialized['keepUntil'] = true; + $this->keepUntil = $keepUntil; + + return $this; + } + + public function getObjectId(): string + { + return $this->objectId; + } + + public function setObjectId(string $objectId): self + { + $this->initialized['objectId'] = true; + $this->objectId = $objectId; + + return $this; + } + + public function getObjectType(): string + { + return $this->objectType; + } + + public function setObjectType(string $objectType): self + { + $this->initialized['objectType'] = true; + $this->objectType = $objectType; + + return $this; + } +} diff --git a/src/Model/OperatingSystem.php b/src/Model/OperatingSystem.php index c7fe9984..0727f0ce 100644 --- a/src/Model/OperatingSystem.php +++ b/src/Model/OperatingSystem.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var Attachment + * @var OperatingSystemBadge|null */ protected $badge; @@ -60,12 +60,12 @@ public function setName(string $name): self return $this; } - public function getBadge(): Attachment + public function getBadge(): ?OperatingSystemBadge { return $this->badge; } - public function setBadge(Attachment $badge): self + public function setBadge(?OperatingSystemBadge $badge): self { $this->initialized['badge'] = true; $this->badge = $badge; diff --git a/src/Model/OperatingSystemBadge.php b/src/Model/OperatingSystemBadge.php new file mode 100644 index 00000000..54d968ec --- /dev/null +++ b/src/Model/OperatingSystemBadge.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var string + */ + protected $url; + /** + * @var string + */ + protected $fileName; + /** + * @var string + */ + protected $fileType; + /** + * @var int + */ + protected $fileSize; + /** + * @var string + */ + protected $digest; + /** + * @var string + */ + protected $token; + + public function getUrl(): string + { + return $this->url; + } + + public function setUrl(string $url): self + { + $this->initialized['url'] = true; + $this->url = $url; + + return $this; + } + + public function getFileName(): string + { + return $this->fileName; + } + + public function setFileName(string $fileName): self + { + $this->initialized['fileName'] = true; + $this->fileName = $fileName; + + return $this; + } + + public function getFileType(): string + { + return $this->fileType; + } + + public function setFileType(string $fileType): self + { + $this->initialized['fileType'] = true; + $this->fileType = $fileType; + + return $this; + } + + public function getFileSize(): int + { + return $this->fileSize; + } + + public function setFileSize(int $fileSize): self + { + $this->initialized['fileSize'] = true; + $this->fileSize = $fileSize; + + return $this; + } + + public function getDigest(): string + { + return $this->digest; + } + + public function setDigest(string $digest): self + { + $this->initialized['digest'] = true; + $this->digest = $digest; + + return $this; + } + + public function getToken(): string + { + return $this->token; + } + + public function setToken(string $token): self + { + $this->initialized['token'] = true; + $this->token = $token; + + return $this; + } +} diff --git a/src/Model/OperatingSystemsGetResponse200Pagination.php b/src/Model/OperatingSystemsGetResponse200Pagination.php index 76893e7c..285f59f5 100644 --- a/src/Model/OperatingSystemsGetResponse200Pagination.php +++ b/src/Model/OperatingSystemsGetResponse200Pagination.php @@ -30,13 +30,13 @@ public function isInitialized($property): bool /** * The total number of pages. * - * @var int + * @var int|null */ protected $totalPages; /** * The total number of items across all pages. * - * @var int + * @var int|null */ protected $total; /** @@ -74,7 +74,7 @@ public function setCurrentPage(int $currentPage): self /** * The total number of pages. */ - public function getTotalPages(): int + public function getTotalPages(): ?int { return $this->totalPages; } @@ -82,7 +82,7 @@ public function getTotalPages(): int /** * The total number of pages. */ - public function setTotalPages(int $totalPages): self + public function setTotalPages(?int $totalPages): self { $this->initialized['totalPages'] = true; $this->totalPages = $totalPages; @@ -93,7 +93,7 @@ public function setTotalPages(int $totalPages): self /** * The total number of items across all pages. */ - public function getTotal(): int + public function getTotal(): ?int { return $this->total; } @@ -101,7 +101,7 @@ public function getTotal(): int /** * The total number of items across all pages. */ - public function setTotal(int $total): self + public function setTotal(?int $total): self { $this->initialized['total'] = true; $this->total = $total; diff --git a/src/Model/OperatingSystemsOperatingSystemGetResponse200OperatingSystem.php b/src/Model/OperatingSystemsOperatingSystemGetResponse200OperatingSystem.php index c790def2..abddc411 100644 --- a/src/Model/OperatingSystemsOperatingSystemGetResponse200OperatingSystem.php +++ b/src/Model/OperatingSystemsOperatingSystemGetResponse200OperatingSystem.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var Attachment + * @var OperatingSystemBadge|null */ protected $badge; @@ -60,12 +60,12 @@ public function setName(string $name): self return $this; } - public function getBadge(): Attachment + public function getBadge(): ?OperatingSystemBadge { return $this->badge; } - public function setBadge(Attachment $badge): self + public function setBadge(?OperatingSystemBadge $badge): self { $this->initialized['badge'] = true; $this->badge = $badge; diff --git a/src/Model/Organization.php b/src/Model/Organization.php index 0efdd4c4..5486322c 100644 --- a/src/Model/Organization.php +++ b/src/Model/Organization.php @@ -50,47 +50,47 @@ public function isInitialized($property): bool */ protected $managed; /** - * @var string + * @var string|null */ protected $billingName; /** - * @var string + * @var string|null */ protected $address1; /** - * @var string + * @var string|null */ protected $address2; /** - * @var string + * @var string|null */ protected $address3; /** - * @var string + * @var string|null */ protected $address4; /** - * @var string + * @var string|null */ protected $postcode; /** - * @var string + * @var string|null */ protected $vatNumber; /** - * @var string + * @var string|null */ protected $phoneNumber; /** - * @var Currency + * @var OrganizationCurrency */ protected $currency; /** - * @var Country + * @var OrganizationCountry|null */ protected $country; /** - * @var CountryState + * @var OrganizationCountryState|null */ protected $countryState; @@ -185,12 +185,12 @@ public function setManaged(bool $managed): self return $this; } - public function getBillingName(): string + public function getBillingName(): ?string { return $this->billingName; } - public function setBillingName(string $billingName): self + public function setBillingName(?string $billingName): self { $this->initialized['billingName'] = true; $this->billingName = $billingName; @@ -198,12 +198,12 @@ public function setBillingName(string $billingName): self return $this; } - public function getAddress1(): string + public function getAddress1(): ?string { return $this->address1; } - public function setAddress1(string $address1): self + public function setAddress1(?string $address1): self { $this->initialized['address1'] = true; $this->address1 = $address1; @@ -211,12 +211,12 @@ public function setAddress1(string $address1): self return $this; } - public function getAddress2(): string + public function getAddress2(): ?string { return $this->address2; } - public function setAddress2(string $address2): self + public function setAddress2(?string $address2): self { $this->initialized['address2'] = true; $this->address2 = $address2; @@ -224,12 +224,12 @@ public function setAddress2(string $address2): self return $this; } - public function getAddress3(): string + public function getAddress3(): ?string { return $this->address3; } - public function setAddress3(string $address3): self + public function setAddress3(?string $address3): self { $this->initialized['address3'] = true; $this->address3 = $address3; @@ -237,12 +237,12 @@ public function setAddress3(string $address3): self return $this; } - public function getAddress4(): string + public function getAddress4(): ?string { return $this->address4; } - public function setAddress4(string $address4): self + public function setAddress4(?string $address4): self { $this->initialized['address4'] = true; $this->address4 = $address4; @@ -250,12 +250,12 @@ public function setAddress4(string $address4): self return $this; } - public function getPostcode(): string + public function getPostcode(): ?string { return $this->postcode; } - public function setPostcode(string $postcode): self + public function setPostcode(?string $postcode): self { $this->initialized['postcode'] = true; $this->postcode = $postcode; @@ -263,12 +263,12 @@ public function setPostcode(string $postcode): self return $this; } - public function getVatNumber(): string + public function getVatNumber(): ?string { return $this->vatNumber; } - public function setVatNumber(string $vatNumber): self + public function setVatNumber(?string $vatNumber): self { $this->initialized['vatNumber'] = true; $this->vatNumber = $vatNumber; @@ -276,12 +276,12 @@ public function setVatNumber(string $vatNumber): self return $this; } - public function getPhoneNumber(): string + public function getPhoneNumber(): ?string { return $this->phoneNumber; } - public function setPhoneNumber(string $phoneNumber): self + public function setPhoneNumber(?string $phoneNumber): self { $this->initialized['phoneNumber'] = true; $this->phoneNumber = $phoneNumber; @@ -289,12 +289,12 @@ public function setPhoneNumber(string $phoneNumber): self return $this; } - public function getCurrency(): Currency + public function getCurrency(): OrganizationCurrency { return $this->currency; } - public function setCurrency(Currency $currency): self + public function setCurrency(OrganizationCurrency $currency): self { $this->initialized['currency'] = true; $this->currency = $currency; @@ -302,12 +302,12 @@ public function setCurrency(Currency $currency): self return $this; } - public function getCountry(): Country + public function getCountry(): ?OrganizationCountry { return $this->country; } - public function setCountry(Country $country): self + public function setCountry(?OrganizationCountry $country): self { $this->initialized['country'] = true; $this->country = $country; @@ -315,12 +315,12 @@ public function setCountry(Country $country): self return $this; } - public function getCountryState(): CountryState + public function getCountryState(): ?OrganizationCountryState { return $this->countryState; } - public function setCountryState(CountryState $countryState): self + public function setCountryState(?OrganizationCountryState $countryState): self { $this->initialized['countryState'] = true; $this->countryState = $countryState; diff --git a/src/Model/OrganizationCountry.php b/src/Model/OrganizationCountry.php new file mode 100644 index 00000000..364cf541 --- /dev/null +++ b/src/Model/OrganizationCountry.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $isoCode2; + /** + * @var string + */ + protected $isoCode3; + /** + * @var string|null + */ + protected $timeZone; + /** + * @var bool + */ + protected $eu; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getIsoCode2(): string + { + return $this->isoCode2; + } + + public function setIsoCode2(string $isoCode2): self + { + $this->initialized['isoCode2'] = true; + $this->isoCode2 = $isoCode2; + + return $this; + } + + public function getIsoCode3(): string + { + return $this->isoCode3; + } + + public function setIsoCode3(string $isoCode3): self + { + $this->initialized['isoCode3'] = true; + $this->isoCode3 = $isoCode3; + + return $this; + } + + public function getTimeZone(): ?string + { + return $this->timeZone; + } + + public function setTimeZone(?string $timeZone): self + { + $this->initialized['timeZone'] = true; + $this->timeZone = $timeZone; + + return $this; + } + + public function getEu(): bool + { + return $this->eu; + } + + public function setEu(bool $eu): self + { + $this->initialized['eu'] = true; + $this->eu = $eu; + + return $this; + } +} diff --git a/src/Model/OrganizationCountryState.php b/src/Model/OrganizationCountryState.php new file mode 100644 index 00000000..53a3e6ed --- /dev/null +++ b/src/Model/OrganizationCountryState.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $code; + /** + * @var CountryStateCountry + */ + protected $country; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getCode(): string + { + return $this->code; + } + + public function setCode(string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getCountry(): CountryStateCountry + { + return $this->country; + } + + public function setCountry(CountryStateCountry $country): self + { + $this->initialized['country'] = true; + $this->country = $country; + + return $this; + } +} diff --git a/src/Model/OrganizationCurrency.php b/src/Model/OrganizationCurrency.php new file mode 100644 index 00000000..01cec35e --- /dev/null +++ b/src/Model/OrganizationCurrency.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $isoCode; + /** + * @var string + */ + protected $symbol; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getIsoCode(): string + { + return $this->isoCode; + } + + public function setIsoCode(string $isoCode): self + { + $this->initialized['isoCode'] = true; + $this->isoCode = $isoCode; + + return $this; + } + + public function getSymbol(): string + { + return $this->symbol; + } + + public function setSymbol(string $symbol): self + { + $this->initialized['symbol'] = true; + $this->symbol = $symbol; + + return $this; + } +} diff --git a/src/Model/OrganizationsOrganizationCertificatesGetResponse200Pagination.php b/src/Model/OrganizationsOrganizationCertificatesGetResponse200Pagination.php index e0e0834e..d68da98c 100644 --- a/src/Model/OrganizationsOrganizationCertificatesGetResponse200Pagination.php +++ b/src/Model/OrganizationsOrganizationCertificatesGetResponse200Pagination.php @@ -30,13 +30,13 @@ public function isInitialized($property): bool /** * The total number of pages. * - * @var int + * @var int|null */ protected $totalPages; /** * The total number of items across all pages. * - * @var int + * @var int|null */ protected $total; /** @@ -74,7 +74,7 @@ public function setCurrentPage(int $currentPage): self /** * The total number of pages. */ - public function getTotalPages(): int + public function getTotalPages(): ?int { return $this->totalPages; } @@ -82,7 +82,7 @@ public function getTotalPages(): int /** * The total number of pages. */ - public function setTotalPages(int $totalPages): self + public function setTotalPages(?int $totalPages): self { $this->initialized['totalPages'] = true; $this->totalPages = $totalPages; @@ -93,7 +93,7 @@ public function setTotalPages(int $totalPages): self /** * The total number of items across all pages. */ - public function getTotal(): int + public function getTotal(): ?int { return $this->total; } @@ -101,7 +101,7 @@ public function getTotal(): int /** * The total number of items across all pages. */ - public function setTotal(int $total): self + public function setTotal(?int $total): self { $this->initialized['total'] = true; $this->total = $total; diff --git a/src/Model/OrganizationsOrganizationDiskBackupPoliciesGetResponse200Pagination.php b/src/Model/OrganizationsOrganizationDiskBackupPoliciesGetResponse200Pagination.php index d784f9ab..251baffe 100644 --- a/src/Model/OrganizationsOrganizationDiskBackupPoliciesGetResponse200Pagination.php +++ b/src/Model/OrganizationsOrganizationDiskBackupPoliciesGetResponse200Pagination.php @@ -30,13 +30,13 @@ public function isInitialized($property): bool /** * The total number of pages. * - * @var int + * @var int|null */ protected $totalPages; /** * The total number of items across all pages. * - * @var int + * @var int|null */ protected $total; /** @@ -74,7 +74,7 @@ public function setCurrentPage(int $currentPage): self /** * The total number of pages. */ - public function getTotalPages(): int + public function getTotalPages(): ?int { return $this->totalPages; } @@ -82,7 +82,7 @@ public function getTotalPages(): int /** * The total number of pages. */ - public function setTotalPages(int $totalPages): self + public function setTotalPages(?int $totalPages): self { $this->initialized['totalPages'] = true; $this->totalPages = $totalPages; @@ -93,7 +93,7 @@ public function setTotalPages(int $totalPages): self /** * The total number of items across all pages. */ - public function getTotal(): int + public function getTotal(): ?int { return $this->total; } @@ -101,7 +101,7 @@ public function getTotal(): int /** * The total number of items across all pages. */ - public function setTotal(int $total): self + public function setTotal(?int $total): self { $this->initialized['total'] = true; $this->total = $total; diff --git a/src/Model/OrganizationsOrganizationDiskTemplatesGetResponse200Pagination.php b/src/Model/OrganizationsOrganizationDiskTemplatesGetResponse200Pagination.php index 160d29f0..8d51935f 100644 --- a/src/Model/OrganizationsOrganizationDiskTemplatesGetResponse200Pagination.php +++ b/src/Model/OrganizationsOrganizationDiskTemplatesGetResponse200Pagination.php @@ -30,13 +30,13 @@ public function isInitialized($property): bool /** * The total number of pages. * - * @var int + * @var int|null */ protected $totalPages; /** * The total number of items across all pages. * - * @var int + * @var int|null */ protected $total; /** @@ -74,7 +74,7 @@ public function setCurrentPage(int $currentPage): self /** * The total number of pages. */ - public function getTotalPages(): int + public function getTotalPages(): ?int { return $this->totalPages; } @@ -82,7 +82,7 @@ public function getTotalPages(): int /** * The total number of pages. */ - public function setTotalPages(int $totalPages): self + public function setTotalPages(?int $totalPages): self { $this->initialized['totalPages'] = true; $this->totalPages = $totalPages; @@ -93,7 +93,7 @@ public function setTotalPages(int $totalPages): self /** * The total number of items across all pages. */ - public function getTotal(): int + public function getTotal(): ?int { return $this->total; } @@ -101,7 +101,7 @@ public function getTotal(): int /** * The total number of items across all pages. */ - public function setTotal(int $total): self + public function setTotal(?int $total): self { $this->initialized['total'] = true; $this->total = $total; diff --git a/src/Model/OrganizationsOrganizationDisksGetResponse200Pagination.php b/src/Model/OrganizationsOrganizationDisksGetResponse200Pagination.php index 1339665e..12c174c8 100644 --- a/src/Model/OrganizationsOrganizationDisksGetResponse200Pagination.php +++ b/src/Model/OrganizationsOrganizationDisksGetResponse200Pagination.php @@ -30,13 +30,13 @@ public function isInitialized($property): bool /** * The total number of pages. * - * @var int + * @var int|null */ protected $totalPages; /** * The total number of items across all pages. * - * @var int + * @var int|null */ protected $total; /** @@ -74,7 +74,7 @@ public function setCurrentPage(int $currentPage): self /** * The total number of pages. */ - public function getTotalPages(): int + public function getTotalPages(): ?int { return $this->totalPages; } @@ -82,7 +82,7 @@ public function getTotalPages(): int /** * The total number of pages. */ - public function setTotalPages(int $totalPages): self + public function setTotalPages(?int $totalPages): self { $this->initialized['totalPages'] = true; $this->totalPages = $totalPages; @@ -93,7 +93,7 @@ public function setTotalPages(int $totalPages): self /** * The total number of items across all pages. */ - public function getTotal(): int + public function getTotal(): ?int { return $this->total; } @@ -101,7 +101,7 @@ public function getTotal(): int /** * The total number of items across all pages. */ - public function setTotal(int $total): self + public function setTotal(?int $total): self { $this->initialized['total'] = true; $this->total = $total; diff --git a/src/Model/OrganizationsOrganizationDnsZonesGetResponse200Pagination.php b/src/Model/OrganizationsOrganizationDnsZonesGetResponse200Pagination.php index cbac5900..7f7555d5 100644 --- a/src/Model/OrganizationsOrganizationDnsZonesGetResponse200Pagination.php +++ b/src/Model/OrganizationsOrganizationDnsZonesGetResponse200Pagination.php @@ -30,13 +30,13 @@ public function isInitialized($property): bool /** * The total number of pages. * - * @var int + * @var int|null */ protected $totalPages; /** * The total number of items across all pages. * - * @var int + * @var int|null */ protected $total; /** @@ -74,7 +74,7 @@ public function setCurrentPage(int $currentPage): self /** * The total number of pages. */ - public function getTotalPages(): int + public function getTotalPages(): ?int { return $this->totalPages; } @@ -82,7 +82,7 @@ public function getTotalPages(): int /** * The total number of pages. */ - public function setTotalPages(int $totalPages): self + public function setTotalPages(?int $totalPages): self { $this->initialized['totalPages'] = true; $this->totalPages = $totalPages; @@ -93,7 +93,7 @@ public function setTotalPages(int $totalPages): self /** * The total number of items across all pages. */ - public function getTotal(): int + public function getTotal(): ?int { return $this->total; } @@ -101,7 +101,7 @@ public function getTotal(): int /** * The total number of items across all pages. */ - public function setTotal(int $total): self + public function setTotal(?int $total): self { $this->initialized['total'] = true; $this->total = $total; diff --git a/src/Model/OrganizationsOrganizationFileStorageVolumesGetResponse200Pagination.php b/src/Model/OrganizationsOrganizationFileStorageVolumesGetResponse200Pagination.php index 4740b489..77fc0d34 100644 --- a/src/Model/OrganizationsOrganizationFileStorageVolumesGetResponse200Pagination.php +++ b/src/Model/OrganizationsOrganizationFileStorageVolumesGetResponse200Pagination.php @@ -30,13 +30,13 @@ public function isInitialized($property): bool /** * The total number of pages. * - * @var int + * @var int|null */ protected $totalPages; /** * The total number of items across all pages. * - * @var int + * @var int|null */ protected $total; /** @@ -74,7 +74,7 @@ public function setCurrentPage(int $currentPage): self /** * The total number of pages. */ - public function getTotalPages(): int + public function getTotalPages(): ?int { return $this->totalPages; } @@ -82,7 +82,7 @@ public function getTotalPages(): int /** * The total number of pages. */ - public function setTotalPages(int $totalPages): self + public function setTotalPages(?int $totalPages): self { $this->initialized['totalPages'] = true; $this->totalPages = $totalPages; @@ -93,7 +93,7 @@ public function setTotalPages(int $totalPages): self /** * The total number of items across all pages. */ - public function getTotal(): int + public function getTotal(): ?int { return $this->total; } @@ -101,7 +101,7 @@ public function getTotal(): int /** * The total number of items across all pages. */ - public function setTotal(int $total): self + public function setTotal(?int $total): self { $this->initialized['total'] = true; $this->total = $total; diff --git a/src/Model/OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolume.php b/src/Model/OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolume.php index aca56de9..cb711916 100644 --- a/src/Model/OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolume.php +++ b/src/Model/OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolume.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var PostOrganizationFileStorageVolumesPartDataCenter + * @var PostOrganizationFileStorageVolumes201ResponseFileStorageVolumeDataCenter */ protected $dataCenter; /** @@ -44,13 +44,13 @@ public function isInitialized($property): bool /** * The NFS location of where to mount the volume from. * - * @var string + * @var string|null */ protected $nfsLocation; /** * The size of the volume in bytes. * - * @var int + * @var int|null */ protected $size; @@ -80,12 +80,12 @@ public function setName(string $name): self return $this; } - public function getDataCenter(): PostOrganizationFileStorageVolumesPartDataCenter + public function getDataCenter(): PostOrganizationFileStorageVolumes201ResponseFileStorageVolumeDataCenter { return $this->dataCenter; } - public function setDataCenter(PostOrganizationFileStorageVolumesPartDataCenter $dataCenter): self + public function setDataCenter(PostOrganizationFileStorageVolumes201ResponseFileStorageVolumeDataCenter $dataCenter): self { $this->initialized['dataCenter'] = true; $this->dataCenter = $dataCenter; @@ -128,7 +128,7 @@ public function setState(string $state): self /** * The NFS location of where to mount the volume from. */ - public function getNfsLocation(): string + public function getNfsLocation(): ?string { return $this->nfsLocation; } @@ -136,7 +136,7 @@ public function getNfsLocation(): string /** * The NFS location of where to mount the volume from. */ - public function setNfsLocation(string $nfsLocation): self + public function setNfsLocation(?string $nfsLocation): self { $this->initialized['nfsLocation'] = true; $this->nfsLocation = $nfsLocation; @@ -147,7 +147,7 @@ public function setNfsLocation(string $nfsLocation): self /** * The size of the volume in bytes. */ - public function getSize(): int + public function getSize(): ?int { return $this->size; } @@ -155,7 +155,7 @@ public function getSize(): int /** * The size of the volume in bytes. */ - public function setSize(int $size): self + public function setSize(?int $size): self { $this->initialized['size'] = true; $this->size = $size; diff --git a/src/Model/OrganizationsOrganizationGetResponse200Organization.php b/src/Model/OrganizationsOrganizationGetResponse200Organization.php index cba4ef0a..beaafb3c 100644 --- a/src/Model/OrganizationsOrganizationGetResponse200Organization.php +++ b/src/Model/OrganizationsOrganizationGetResponse200Organization.php @@ -50,47 +50,47 @@ public function isInitialized($property): bool */ protected $managed; /** - * @var string + * @var string|null */ protected $billingName; /** - * @var string + * @var string|null */ protected $address1; /** - * @var string + * @var string|null */ protected $address2; /** - * @var string + * @var string|null */ protected $address3; /** - * @var string + * @var string|null */ protected $address4; /** - * @var string + * @var string|null */ protected $postcode; /** - * @var string + * @var string|null */ protected $vatNumber; /** - * @var string + * @var string|null */ protected $phoneNumber; /** - * @var Currency + * @var OrganizationCurrency */ protected $currency; /** - * @var Country + * @var OrganizationCountry|null */ protected $country; /** - * @var CountryState + * @var OrganizationCountryState|null */ protected $countryState; @@ -185,12 +185,12 @@ public function setManaged(bool $managed): self return $this; } - public function getBillingName(): string + public function getBillingName(): ?string { return $this->billingName; } - public function setBillingName(string $billingName): self + public function setBillingName(?string $billingName): self { $this->initialized['billingName'] = true; $this->billingName = $billingName; @@ -198,12 +198,12 @@ public function setBillingName(string $billingName): self return $this; } - public function getAddress1(): string + public function getAddress1(): ?string { return $this->address1; } - public function setAddress1(string $address1): self + public function setAddress1(?string $address1): self { $this->initialized['address1'] = true; $this->address1 = $address1; @@ -211,12 +211,12 @@ public function setAddress1(string $address1): self return $this; } - public function getAddress2(): string + public function getAddress2(): ?string { return $this->address2; } - public function setAddress2(string $address2): self + public function setAddress2(?string $address2): self { $this->initialized['address2'] = true; $this->address2 = $address2; @@ -224,12 +224,12 @@ public function setAddress2(string $address2): self return $this; } - public function getAddress3(): string + public function getAddress3(): ?string { return $this->address3; } - public function setAddress3(string $address3): self + public function setAddress3(?string $address3): self { $this->initialized['address3'] = true; $this->address3 = $address3; @@ -237,12 +237,12 @@ public function setAddress3(string $address3): self return $this; } - public function getAddress4(): string + public function getAddress4(): ?string { return $this->address4; } - public function setAddress4(string $address4): self + public function setAddress4(?string $address4): self { $this->initialized['address4'] = true; $this->address4 = $address4; @@ -250,12 +250,12 @@ public function setAddress4(string $address4): self return $this; } - public function getPostcode(): string + public function getPostcode(): ?string { return $this->postcode; } - public function setPostcode(string $postcode): self + public function setPostcode(?string $postcode): self { $this->initialized['postcode'] = true; $this->postcode = $postcode; @@ -263,12 +263,12 @@ public function setPostcode(string $postcode): self return $this; } - public function getVatNumber(): string + public function getVatNumber(): ?string { return $this->vatNumber; } - public function setVatNumber(string $vatNumber): self + public function setVatNumber(?string $vatNumber): self { $this->initialized['vatNumber'] = true; $this->vatNumber = $vatNumber; @@ -276,12 +276,12 @@ public function setVatNumber(string $vatNumber): self return $this; } - public function getPhoneNumber(): string + public function getPhoneNumber(): ?string { return $this->phoneNumber; } - public function setPhoneNumber(string $phoneNumber): self + public function setPhoneNumber(?string $phoneNumber): self { $this->initialized['phoneNumber'] = true; $this->phoneNumber = $phoneNumber; @@ -289,12 +289,12 @@ public function setPhoneNumber(string $phoneNumber): self return $this; } - public function getCurrency(): Currency + public function getCurrency(): OrganizationCurrency { return $this->currency; } - public function setCurrency(Currency $currency): self + public function setCurrency(OrganizationCurrency $currency): self { $this->initialized['currency'] = true; $this->currency = $currency; @@ -302,12 +302,12 @@ public function setCurrency(Currency $currency): self return $this; } - public function getCountry(): Country + public function getCountry(): ?OrganizationCountry { return $this->country; } - public function setCountry(Country $country): self + public function setCountry(?OrganizationCountry $country): self { $this->initialized['country'] = true; $this->country = $country; @@ -315,12 +315,12 @@ public function setCountry(Country $country): self return $this; } - public function getCountryState(): CountryState + public function getCountryState(): ?OrganizationCountryState { return $this->countryState; } - public function setCountryState(CountryState $countryState): self + public function setCountryState(?OrganizationCountryState $countryState): self { $this->initialized['countryState'] = true; $this->countryState = $countryState; diff --git a/src/Model/OrganizationsOrganizationIpAddressesGetResponse200Pagination.php b/src/Model/OrganizationsOrganizationIpAddressesGetResponse200Pagination.php index fd3b285c..d9ceb091 100644 --- a/src/Model/OrganizationsOrganizationIpAddressesGetResponse200Pagination.php +++ b/src/Model/OrganizationsOrganizationIpAddressesGetResponse200Pagination.php @@ -30,13 +30,13 @@ public function isInitialized($property): bool /** * The total number of pages. * - * @var int + * @var int|null */ protected $totalPages; /** * The total number of items across all pages. * - * @var int + * @var int|null */ protected $total; /** @@ -74,7 +74,7 @@ public function setCurrentPage(int $currentPage): self /** * The total number of pages. */ - public function getTotalPages(): int + public function getTotalPages(): ?int { return $this->totalPages; } @@ -82,7 +82,7 @@ public function getTotalPages(): int /** * The total number of pages. */ - public function setTotalPages(int $totalPages): self + public function setTotalPages(?int $totalPages): self { $this->initialized['totalPages'] = true; $this->totalPages = $totalPages; @@ -93,7 +93,7 @@ public function setTotalPages(int $totalPages): self /** * The total number of items across all pages. */ - public function getTotal(): int + public function getTotal(): ?int { return $this->total; } @@ -101,7 +101,7 @@ public function getTotal(): int /** * The total number of items across all pages. */ - public function setTotal(int $total): self + public function setTotal(?int $total): self { $this->initialized['total'] = true; $this->total = $total; diff --git a/src/Model/OrganizationsOrganizationIpAddressesPostResponse200IpAddress.php b/src/Model/OrganizationsOrganizationIpAddressesPostResponse200IpAddress.php index 7d196e9f..fa8cf396 100644 --- a/src/Model/OrganizationsOrganizationIpAddressesPostResponse200IpAddress.php +++ b/src/Model/OrganizationsOrganizationIpAddressesPostResponse200IpAddress.php @@ -38,7 +38,7 @@ public function isInitialized($property): bool */ protected $vip; /** - * @var string + * @var string|null */ protected $label; /** @@ -46,15 +46,15 @@ public function isInitialized($property): bool */ protected $addressWithMask; /** - * @var Network + * @var IPAddressNetwork */ protected $network; /** - * @var string + * @var string|null */ protected $allocationId; /** - * @var string + * @var string|null */ protected $allocationType; @@ -110,12 +110,12 @@ public function setVip(bool $vip): self return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->initialized['label'] = true; $this->label = $label; @@ -136,12 +136,12 @@ public function setAddressWithMask(string $addressWithMask): self return $this; } - public function getNetwork(): Network + public function getNetwork(): IPAddressNetwork { return $this->network; } - public function setNetwork(Network $network): self + public function setNetwork(IPAddressNetwork $network): self { $this->initialized['network'] = true; $this->network = $network; @@ -149,12 +149,12 @@ public function setNetwork(Network $network): self return $this; } - public function getAllocationId(): string + public function getAllocationId(): ?string { return $this->allocationId; } - public function setAllocationId(string $allocationId): self + public function setAllocationId(?string $allocationId): self { $this->initialized['allocationId'] = true; $this->allocationId = $allocationId; @@ -162,12 +162,12 @@ public function setAllocationId(string $allocationId): self return $this; } - public function getAllocationType(): string + public function getAllocationType(): ?string { return $this->allocationType; } - public function setAllocationType(string $allocationType): self + public function setAllocationType(?string $allocationType): self { $this->initialized['allocationType'] = true; $this->allocationType = $allocationType; diff --git a/src/Model/OrganizationsOrganizationLoadBalancersGetResponse200Pagination.php b/src/Model/OrganizationsOrganizationLoadBalancersGetResponse200Pagination.php index d2ff0a9a..d6e8344b 100644 --- a/src/Model/OrganizationsOrganizationLoadBalancersGetResponse200Pagination.php +++ b/src/Model/OrganizationsOrganizationLoadBalancersGetResponse200Pagination.php @@ -30,13 +30,13 @@ public function isInitialized($property): bool /** * The total number of pages. * - * @var int + * @var int|null */ protected $totalPages; /** * The total number of items across all pages. * - * @var int + * @var int|null */ protected $total; /** @@ -74,7 +74,7 @@ public function setCurrentPage(int $currentPage): self /** * The total number of pages. */ - public function getTotalPages(): int + public function getTotalPages(): ?int { return $this->totalPages; } @@ -82,7 +82,7 @@ public function getTotalPages(): int /** * The total number of pages. */ - public function setTotalPages(int $totalPages): self + public function setTotalPages(?int $totalPages): self { $this->initialized['totalPages'] = true; $this->totalPages = $totalPages; @@ -93,7 +93,7 @@ public function setTotalPages(int $totalPages): self /** * The total number of items across all pages. */ - public function getTotal(): int + public function getTotal(): ?int { return $this->total; } @@ -101,7 +101,7 @@ public function getTotal(): int /** * The total number of items across all pages. */ - public function setTotal(int $total): self + public function setTotal(?int $total): self { $this->initialized['total'] = true; $this->total = $total; diff --git a/src/Model/OrganizationsOrganizationLoadBalancersPostResponse200LoadBalancer.php b/src/Model/OrganizationsOrganizationLoadBalancersPostResponse200LoadBalancer.php index 91b695ce..37dd2a05 100644 --- a/src/Model/OrganizationsOrganizationLoadBalancersPostResponse200LoadBalancer.php +++ b/src/Model/OrganizationsOrganizationLoadBalancersPostResponse200LoadBalancer.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $apiReference; /** @@ -46,7 +46,7 @@ public function isInitialized($property): bool */ protected $resourceIds; /** - * @var PostOrganizationLoadBalancersPartIPAddress[] + * @var PostOrganizationLoadBalancers200ResponseLoadBalancerIpAddressItem[] */ protected $ipAddress; /** @@ -62,7 +62,7 @@ public function isInitialized($property): bool */ protected $backendCertificateKey; /** - * @var PostOrganizationLoadBalancersPartDataCenter + * @var PostOrganizationLoadBalancers200ResponseLoadBalancerDataCenter */ protected $dataCenter; /** @@ -70,7 +70,7 @@ public function isInitialized($property): bool */ protected $enableWeighting; /** - * @var PostOrganizationLoadBalancersPartWeights[] + * @var PostOrganizationLoadBalancers200ResponseLoadBalancerWeightsItem[] */ protected $weights; /** @@ -104,12 +104,12 @@ public function setName(string $name): self return $this; } - public function getApiReference(): string + public function getApiReference(): ?string { return $this->apiReference; } - public function setApiReference(string $apiReference): self + public function setApiReference(?string $apiReference): self { $this->initialized['apiReference'] = true; $this->apiReference = $apiReference; @@ -169,7 +169,7 @@ public function setResourceIds(array $resourceIds): self } /** - * @return PostOrganizationLoadBalancersPartIPAddress[] + * @return PostOrganizationLoadBalancers200ResponseLoadBalancerIpAddressItem[] */ public function getIpAddress(): array { @@ -177,7 +177,7 @@ public function getIpAddress(): array } /** - * @param PostOrganizationLoadBalancersPartIPAddress[] $ipAddress + * @param PostOrganizationLoadBalancers200ResponseLoadBalancerIpAddressItem[] $ipAddress */ public function setIpAddress(array $ipAddress): self { @@ -226,12 +226,12 @@ public function setBackendCertificateKey(string $backendCertificateKey): self return $this; } - public function getDataCenter(): PostOrganizationLoadBalancersPartDataCenter + public function getDataCenter(): PostOrganizationLoadBalancers200ResponseLoadBalancerDataCenter { return $this->dataCenter; } - public function setDataCenter(PostOrganizationLoadBalancersPartDataCenter $dataCenter): self + public function setDataCenter(PostOrganizationLoadBalancers200ResponseLoadBalancerDataCenter $dataCenter): self { $this->initialized['dataCenter'] = true; $this->dataCenter = $dataCenter; @@ -253,7 +253,7 @@ public function setEnableWeighting(bool $enableWeighting): self } /** - * @return PostOrganizationLoadBalancersPartWeights[] + * @return PostOrganizationLoadBalancers200ResponseLoadBalancerWeightsItem[] */ public function getWeights(): array { @@ -261,7 +261,7 @@ public function getWeights(): array } /** - * @param PostOrganizationLoadBalancersPartWeights[] $weights + * @param PostOrganizationLoadBalancers200ResponseLoadBalancerWeightsItem[] $weights */ public function setWeights(array $weights): self { diff --git a/src/Model/OrganizationsOrganizationManagedGetResponse200Pagination.php b/src/Model/OrganizationsOrganizationManagedGetResponse200Pagination.php index 89e413c6..a5a01ac1 100644 --- a/src/Model/OrganizationsOrganizationManagedGetResponse200Pagination.php +++ b/src/Model/OrganizationsOrganizationManagedGetResponse200Pagination.php @@ -30,13 +30,13 @@ public function isInitialized($property): bool /** * The total number of pages. * - * @var int + * @var int|null */ protected $totalPages; /** * The total number of items across all pages. * - * @var int + * @var int|null */ protected $total; /** @@ -74,7 +74,7 @@ public function setCurrentPage(int $currentPage): self /** * The total number of pages. */ - public function getTotalPages(): int + public function getTotalPages(): ?int { return $this->totalPages; } @@ -82,7 +82,7 @@ public function getTotalPages(): int /** * The total number of pages. */ - public function setTotalPages(int $totalPages): self + public function setTotalPages(?int $totalPages): self { $this->initialized['totalPages'] = true; $this->totalPages = $totalPages; @@ -93,7 +93,7 @@ public function setTotalPages(int $totalPages): self /** * The total number of items across all pages. */ - public function getTotal(): int + public function getTotal(): ?int { return $this->total; } @@ -101,7 +101,7 @@ public function getTotal(): int /** * The total number of items across all pages. */ - public function setTotal(int $total): self + public function setTotal(?int $total): self { $this->initialized['total'] = true; $this->total = $total; diff --git a/src/Model/OrganizationsOrganizationManagedPostResponse201Organization.php b/src/Model/OrganizationsOrganizationManagedPostResponse201Organization.php index 1acaf726..32814863 100644 --- a/src/Model/OrganizationsOrganizationManagedPostResponse201Organization.php +++ b/src/Model/OrganizationsOrganizationManagedPostResponse201Organization.php @@ -50,47 +50,47 @@ public function isInitialized($property): bool */ protected $managed; /** - * @var string + * @var string|null */ protected $billingName; /** - * @var string + * @var string|null */ protected $address1; /** - * @var string + * @var string|null */ protected $address2; /** - * @var string + * @var string|null */ protected $address3; /** - * @var string + * @var string|null */ protected $address4; /** - * @var string + * @var string|null */ protected $postcode; /** - * @var string + * @var string|null */ protected $vatNumber; /** - * @var string + * @var string|null */ protected $phoneNumber; /** - * @var PostOrganizationManagedPartCurrency + * @var PostOrganizationManaged201ResponseOrganizationCurrency */ protected $currency; /** - * @var PostOrganizationManagedPartCountry + * @var PostOrganizationManaged201ResponseOrganizationCountry|null */ protected $country; /** - * @var PostOrganizationManagedPartCountryState + * @var PostOrganizationManaged201ResponseOrganizationCountryState|null */ protected $countryState; @@ -185,12 +185,12 @@ public function setManaged(bool $managed): self return $this; } - public function getBillingName(): string + public function getBillingName(): ?string { return $this->billingName; } - public function setBillingName(string $billingName): self + public function setBillingName(?string $billingName): self { $this->initialized['billingName'] = true; $this->billingName = $billingName; @@ -198,12 +198,12 @@ public function setBillingName(string $billingName): self return $this; } - public function getAddress1(): string + public function getAddress1(): ?string { return $this->address1; } - public function setAddress1(string $address1): self + public function setAddress1(?string $address1): self { $this->initialized['address1'] = true; $this->address1 = $address1; @@ -211,12 +211,12 @@ public function setAddress1(string $address1): self return $this; } - public function getAddress2(): string + public function getAddress2(): ?string { return $this->address2; } - public function setAddress2(string $address2): self + public function setAddress2(?string $address2): self { $this->initialized['address2'] = true; $this->address2 = $address2; @@ -224,12 +224,12 @@ public function setAddress2(string $address2): self return $this; } - public function getAddress3(): string + public function getAddress3(): ?string { return $this->address3; } - public function setAddress3(string $address3): self + public function setAddress3(?string $address3): self { $this->initialized['address3'] = true; $this->address3 = $address3; @@ -237,12 +237,12 @@ public function setAddress3(string $address3): self return $this; } - public function getAddress4(): string + public function getAddress4(): ?string { return $this->address4; } - public function setAddress4(string $address4): self + public function setAddress4(?string $address4): self { $this->initialized['address4'] = true; $this->address4 = $address4; @@ -250,12 +250,12 @@ public function setAddress4(string $address4): self return $this; } - public function getPostcode(): string + public function getPostcode(): ?string { return $this->postcode; } - public function setPostcode(string $postcode): self + public function setPostcode(?string $postcode): self { $this->initialized['postcode'] = true; $this->postcode = $postcode; @@ -263,12 +263,12 @@ public function setPostcode(string $postcode): self return $this; } - public function getVatNumber(): string + public function getVatNumber(): ?string { return $this->vatNumber; } - public function setVatNumber(string $vatNumber): self + public function setVatNumber(?string $vatNumber): self { $this->initialized['vatNumber'] = true; $this->vatNumber = $vatNumber; @@ -276,12 +276,12 @@ public function setVatNumber(string $vatNumber): self return $this; } - public function getPhoneNumber(): string + public function getPhoneNumber(): ?string { return $this->phoneNumber; } - public function setPhoneNumber(string $phoneNumber): self + public function setPhoneNumber(?string $phoneNumber): self { $this->initialized['phoneNumber'] = true; $this->phoneNumber = $phoneNumber; @@ -289,12 +289,12 @@ public function setPhoneNumber(string $phoneNumber): self return $this; } - public function getCurrency(): PostOrganizationManagedPartCurrency + public function getCurrency(): PostOrganizationManaged201ResponseOrganizationCurrency { return $this->currency; } - public function setCurrency(PostOrganizationManagedPartCurrency $currency): self + public function setCurrency(PostOrganizationManaged201ResponseOrganizationCurrency $currency): self { $this->initialized['currency'] = true; $this->currency = $currency; @@ -302,12 +302,12 @@ public function setCurrency(PostOrganizationManagedPartCurrency $currency): self return $this; } - public function getCountry(): PostOrganizationManagedPartCountry + public function getCountry(): ?PostOrganizationManaged201ResponseOrganizationCountry { return $this->country; } - public function setCountry(PostOrganizationManagedPartCountry $country): self + public function setCountry(?PostOrganizationManaged201ResponseOrganizationCountry $country): self { $this->initialized['country'] = true; $this->country = $country; @@ -315,12 +315,12 @@ public function setCountry(PostOrganizationManagedPartCountry $country): self return $this; } - public function getCountryState(): PostOrganizationManagedPartCountryState + public function getCountryState(): ?PostOrganizationManaged201ResponseOrganizationCountryState { return $this->countryState; } - public function setCountryState(PostOrganizationManagedPartCountryState $countryState): self + public function setCountryState(?PostOrganizationManaged201ResponseOrganizationCountryState $countryState): self { $this->initialized['countryState'] = true; $this->countryState = $countryState; diff --git a/src/Model/OrganizationsOrganizationNetworkSpeedProfilesGetResponse200Pagination.php b/src/Model/OrganizationsOrganizationNetworkSpeedProfilesGetResponse200Pagination.php index 5001de80..48ea2c42 100644 --- a/src/Model/OrganizationsOrganizationNetworkSpeedProfilesGetResponse200Pagination.php +++ b/src/Model/OrganizationsOrganizationNetworkSpeedProfilesGetResponse200Pagination.php @@ -30,13 +30,13 @@ public function isInitialized($property): bool /** * The total number of pages. * - * @var int + * @var int|null */ protected $totalPages; /** * The total number of items across all pages. * - * @var int + * @var int|null */ protected $total; /** @@ -74,7 +74,7 @@ public function setCurrentPage(int $currentPage): self /** * The total number of pages. */ - public function getTotalPages(): int + public function getTotalPages(): ?int { return $this->totalPages; } @@ -82,7 +82,7 @@ public function getTotalPages(): int /** * The total number of pages. */ - public function setTotalPages(int $totalPages): self + public function setTotalPages(?int $totalPages): self { $this->initialized['totalPages'] = true; $this->totalPages = $totalPages; @@ -93,7 +93,7 @@ public function setTotalPages(int $totalPages): self /** * The total number of items across all pages. */ - public function getTotal(): int + public function getTotal(): ?int { return $this->total; } @@ -101,7 +101,7 @@ public function getTotal(): int /** * The total number of items across all pages. */ - public function setTotal(int $total): self + public function setTotal(?int $total): self { $this->initialized['total'] = true; $this->total = $total; diff --git a/src/Model/OrganizationsOrganizationSecurityGroupsGetResponse200Pagination.php b/src/Model/OrganizationsOrganizationSecurityGroupsGetResponse200Pagination.php index cd83b4c3..d9381d84 100644 --- a/src/Model/OrganizationsOrganizationSecurityGroupsGetResponse200Pagination.php +++ b/src/Model/OrganizationsOrganizationSecurityGroupsGetResponse200Pagination.php @@ -30,13 +30,13 @@ public function isInitialized($property): bool /** * The total number of pages. * - * @var int + * @var int|null */ protected $totalPages; /** * The total number of items across all pages. * - * @var int + * @var int|null */ protected $total; /** @@ -74,7 +74,7 @@ public function setCurrentPage(int $currentPage): self /** * The total number of pages. */ - public function getTotalPages(): int + public function getTotalPages(): ?int { return $this->totalPages; } @@ -82,7 +82,7 @@ public function getTotalPages(): int /** * The total number of pages. */ - public function setTotalPages(int $totalPages): self + public function setTotalPages(?int $totalPages): self { $this->initialized['totalPages'] = true; $this->totalPages = $totalPages; @@ -93,7 +93,7 @@ public function setTotalPages(int $totalPages): self /** * The total number of items across all pages. */ - public function getTotal(): int + public function getTotal(): ?int { return $this->total; } @@ -101,7 +101,7 @@ public function getTotal(): int /** * The total number of items across all pages. */ - public function setTotal(int $total): self + public function setTotal(?int $total): self { $this->initialized['total'] = true; $this->total = $total; diff --git a/src/Model/OrganizationsOrganizationSshKeysGetResponse200Pagination.php b/src/Model/OrganizationsOrganizationSshKeysGetResponse200Pagination.php index cfb5b60e..7d87c89a 100644 --- a/src/Model/OrganizationsOrganizationSshKeysGetResponse200Pagination.php +++ b/src/Model/OrganizationsOrganizationSshKeysGetResponse200Pagination.php @@ -30,13 +30,13 @@ public function isInitialized($property): bool /** * The total number of pages. * - * @var int + * @var int|null */ protected $totalPages; /** * The total number of items across all pages. * - * @var int + * @var int|null */ protected $total; /** @@ -74,7 +74,7 @@ public function setCurrentPage(int $currentPage): self /** * The total number of pages. */ - public function getTotalPages(): int + public function getTotalPages(): ?int { return $this->totalPages; } @@ -82,7 +82,7 @@ public function getTotalPages(): int /** * The total number of pages. */ - public function setTotalPages(int $totalPages): self + public function setTotalPages(?int $totalPages): self { $this->initialized['totalPages'] = true; $this->totalPages = $totalPages; @@ -93,7 +93,7 @@ public function setTotalPages(int $totalPages): self /** * The total number of items across all pages. */ - public function getTotal(): int + public function getTotal(): ?int { return $this->total; } @@ -101,7 +101,7 @@ public function getTotal(): int /** * The total number of items across all pages. */ - public function setTotal(int $total): self + public function setTotal(?int $total): self { $this->initialized['total'] = true; $this->total = $total; diff --git a/src/Model/OrganizationsOrganizationTagsGetResponse200Pagination.php b/src/Model/OrganizationsOrganizationTagsGetResponse200Pagination.php index 5b0f6414..203ad0c6 100644 --- a/src/Model/OrganizationsOrganizationTagsGetResponse200Pagination.php +++ b/src/Model/OrganizationsOrganizationTagsGetResponse200Pagination.php @@ -30,13 +30,13 @@ public function isInitialized($property): bool /** * The total number of pages. * - * @var int + * @var int|null */ protected $totalPages; /** * The total number of items across all pages. * - * @var int + * @var int|null */ protected $total; /** @@ -74,7 +74,7 @@ public function setCurrentPage(int $currentPage): self /** * The total number of pages. */ - public function getTotalPages(): int + public function getTotalPages(): ?int { return $this->totalPages; } @@ -82,7 +82,7 @@ public function getTotalPages(): int /** * The total number of pages. */ - public function setTotalPages(int $totalPages): self + public function setTotalPages(?int $totalPages): self { $this->initialized['totalPages'] = true; $this->totalPages = $totalPages; @@ -93,7 +93,7 @@ public function setTotalPages(int $totalPages): self /** * The total number of items across all pages. */ - public function getTotal(): int + public function getTotal(): ?int { return $this->total; } @@ -101,7 +101,7 @@ public function getTotal(): int /** * The total number of items across all pages. */ - public function setTotal(int $total): self + public function setTotal(?int $total): self { $this->initialized['total'] = true; $this->total = $total; diff --git a/src/Model/OrganizationsOrganizationTrashObjectsGetResponse200Pagination.php b/src/Model/OrganizationsOrganizationTrashObjectsGetResponse200Pagination.php index affafb80..45dd5440 100644 --- a/src/Model/OrganizationsOrganizationTrashObjectsGetResponse200Pagination.php +++ b/src/Model/OrganizationsOrganizationTrashObjectsGetResponse200Pagination.php @@ -30,13 +30,13 @@ public function isInitialized($property): bool /** * The total number of pages. * - * @var int + * @var int|null */ protected $totalPages; /** * The total number of items across all pages. * - * @var int + * @var int|null */ protected $total; /** @@ -74,7 +74,7 @@ public function setCurrentPage(int $currentPage): self /** * The total number of pages. */ - public function getTotalPages(): int + public function getTotalPages(): ?int { return $this->totalPages; } @@ -82,7 +82,7 @@ public function getTotalPages(): int /** * The total number of pages. */ - public function setTotalPages(int $totalPages): self + public function setTotalPages(?int $totalPages): self { $this->initialized['totalPages'] = true; $this->totalPages = $totalPages; @@ -93,7 +93,7 @@ public function setTotalPages(int $totalPages): self /** * The total number of items across all pages. */ - public function getTotal(): int + public function getTotal(): ?int { return $this->total; } @@ -101,7 +101,7 @@ public function getTotal(): int /** * The total number of items across all pages. */ - public function setTotal(int $total): self + public function setTotal(?int $total): self { $this->initialized['total'] = true; $this->total = $total; diff --git a/src/Model/OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200Task.php b/src/Model/OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200Task.php index 2daa81a8..16c8721f 100644 --- a/src/Model/OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200Task.php +++ b/src/Model/OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200Task.php @@ -38,11 +38,11 @@ public function isInitialized($property): bool */ protected $createdAt; /** - * @var int + * @var int|null */ protected $startedAt; /** - * @var int + * @var int|null */ protected $finishedAt; /** @@ -102,12 +102,12 @@ public function setCreatedAt(int $createdAt): self return $this; } - public function getStartedAt(): int + public function getStartedAt(): ?int { return $this->startedAt; } - public function setStartedAt(int $startedAt): self + public function setStartedAt(?int $startedAt): self { $this->initialized['startedAt'] = true; $this->startedAt = $startedAt; @@ -115,12 +115,12 @@ public function setStartedAt(int $startedAt): self return $this; } - public function getFinishedAt(): int + public function getFinishedAt(): ?int { return $this->finishedAt; } - public function setFinishedAt(int $finishedAt): self + public function setFinishedAt(?int $finishedAt): self { $this->initialized['finishedAt'] = true; $this->finishedAt = $finishedAt; diff --git a/src/Model/OrganizationsOrganizationUsersWithAccessGetResponse200Pagination.php b/src/Model/OrganizationsOrganizationUsersWithAccessGetResponse200Pagination.php index 1574d133..bec6e8f3 100644 --- a/src/Model/OrganizationsOrganizationUsersWithAccessGetResponse200Pagination.php +++ b/src/Model/OrganizationsOrganizationUsersWithAccessGetResponse200Pagination.php @@ -30,13 +30,13 @@ public function isInitialized($property): bool /** * The total number of pages. * - * @var int + * @var int|null */ protected $totalPages; /** * The total number of items across all pages. * - * @var int + * @var int|null */ protected $total; /** @@ -74,7 +74,7 @@ public function setCurrentPage(int $currentPage): self /** * The total number of pages. */ - public function getTotalPages(): int + public function getTotalPages(): ?int { return $this->totalPages; } @@ -82,7 +82,7 @@ public function getTotalPages(): int /** * The total number of pages. */ - public function setTotalPages(int $totalPages): self + public function setTotalPages(?int $totalPages): self { $this->initialized['totalPages'] = true; $this->totalPages = $totalPages; @@ -93,7 +93,7 @@ public function setTotalPages(int $totalPages): self /** * The total number of items across all pages. */ - public function getTotal(): int + public function getTotal(): ?int { return $this->total; } @@ -101,7 +101,7 @@ public function getTotal(): int /** * The total number of items across all pages. */ - public function setTotal(int $total): self + public function setTotal(?int $total): self { $this->initialized['total'] = true; $this->total = $total; diff --git a/src/Model/OrganizationsOrganizationVirtualMachinesGetResponse200Pagination.php b/src/Model/OrganizationsOrganizationVirtualMachinesGetResponse200Pagination.php index b93989ac..0f2798a3 100644 --- a/src/Model/OrganizationsOrganizationVirtualMachinesGetResponse200Pagination.php +++ b/src/Model/OrganizationsOrganizationVirtualMachinesGetResponse200Pagination.php @@ -30,13 +30,13 @@ public function isInitialized($property): bool /** * The total number of pages. * - * @var int + * @var int|null */ protected $totalPages; /** * The total number of items across all pages. * - * @var int + * @var int|null */ protected $total; /** @@ -74,7 +74,7 @@ public function setCurrentPage(int $currentPage): self /** * The total number of pages. */ - public function getTotalPages(): int + public function getTotalPages(): ?int { return $this->totalPages; } @@ -82,7 +82,7 @@ public function getTotalPages(): int /** * The total number of pages. */ - public function setTotalPages(int $totalPages): self + public function setTotalPages(?int $totalPages): self { $this->initialized['totalPages'] = true; $this->totalPages = $totalPages; @@ -93,7 +93,7 @@ public function setTotalPages(int $totalPages): self /** * The total number of items across all pages. */ - public function getTotal(): int + public function getTotal(): ?int { return $this->total; } @@ -101,7 +101,7 @@ public function getTotal(): int /** * The total number of items across all pages. */ - public function setTotal(int $total): self + public function setTotal(?int $total): self { $this->initialized['total'] = true; $this->total = $total; diff --git a/src/Model/PaginationObject.php b/src/Model/PaginationObject.php index cf89b141..845eeece 100644 --- a/src/Model/PaginationObject.php +++ b/src/Model/PaginationObject.php @@ -30,13 +30,13 @@ public function isInitialized($property): bool /** * The total number of pages. * - * @var int + * @var int|null */ protected $totalPages; /** * The total number of items across all pages. * - * @var int + * @var int|null */ protected $total; /** @@ -74,7 +74,7 @@ public function setCurrentPage(int $currentPage): self /** * The total number of pages. */ - public function getTotalPages(): int + public function getTotalPages(): ?int { return $this->totalPages; } @@ -82,7 +82,7 @@ public function getTotalPages(): int /** * The total number of pages. */ - public function setTotalPages(int $totalPages): self + public function setTotalPages(?int $totalPages): self { $this->initialized['totalPages'] = true; $this->totalPages = $totalPages; @@ -93,7 +93,7 @@ public function setTotalPages(int $totalPages): self /** * The total number of items across all pages. */ - public function getTotal(): int + public function getTotal(): ?int { return $this->total; } @@ -101,7 +101,7 @@ public function getTotal(): int /** * The total number of items across all pages. */ - public function setTotal(int $total): self + public function setTotal(?int $total): self { $this->initialized['total'] = true; $this->total = $total; diff --git a/src/Model/PatchDiskBackupPolicy200ResponseDiskBackupPolicy.php b/src/Model/PatchDiskBackupPolicy200ResponseDiskBackupPolicy.php index ab797746..a27b9bff 100644 --- a/src/Model/PatchDiskBackupPolicy200ResponseDiskBackupPolicy.php +++ b/src/Model/PatchDiskBackupPolicy200ResponseDiskBackupPolicy.php @@ -34,7 +34,7 @@ public function isInitialized($property): bool */ protected $target; /** - * @var array + * @var PatchDiskBackupPolicy200ResponseDiskBackupPolicySchedule */ protected $schedule; @@ -77,18 +77,12 @@ public function setTarget(DiskBackupPolicyTarget $target): self return $this; } - /** - * @return array - */ - public function getSchedule(): iterable + public function getSchedule(): PatchDiskBackupPolicy200ResponseDiskBackupPolicySchedule { return $this->schedule; } - /** - * @param array $schedule - */ - public function setSchedule(iterable $schedule): self + public function setSchedule(PatchDiskBackupPolicy200ResponseDiskBackupPolicySchedule $schedule): self { $this->initialized['schedule'] = true; $this->schedule = $schedule; diff --git a/src/Model/PatchDiskBackupPolicy200ResponseDiskBackupPolicySchedule.php b/src/Model/PatchDiskBackupPolicy200ResponseDiskBackupPolicySchedule.php new file mode 100644 index 00000000..317fe921 --- /dev/null +++ b/src/Model/PatchDiskBackupPolicy200ResponseDiskBackupPolicySchedule.php @@ -0,0 +1,24 @@ +initialized); + } +} diff --git a/src/Model/PatchFileStorageVolume200ResponseFileStorageVolume.php b/src/Model/PatchFileStorageVolume200ResponseFileStorageVolume.php index dae4cd58..a1a13307 100644 --- a/src/Model/PatchFileStorageVolume200ResponseFileStorageVolume.php +++ b/src/Model/PatchFileStorageVolume200ResponseFileStorageVolume.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var PatchFileStorageVolumePartDataCenter + * @var PatchFileStorageVolume200ResponseFileStorageVolumeDataCenter */ protected $dataCenter; /** @@ -44,13 +44,13 @@ public function isInitialized($property): bool /** * The NFS location of where to mount the volume from. * - * @var string + * @var string|null */ protected $nfsLocation; /** * The size of the volume in bytes. * - * @var int + * @var int|null */ protected $size; @@ -80,12 +80,12 @@ public function setName(string $name): self return $this; } - public function getDataCenter(): PatchFileStorageVolumePartDataCenter + public function getDataCenter(): PatchFileStorageVolume200ResponseFileStorageVolumeDataCenter { return $this->dataCenter; } - public function setDataCenter(PatchFileStorageVolumePartDataCenter $dataCenter): self + public function setDataCenter(PatchFileStorageVolume200ResponseFileStorageVolumeDataCenter $dataCenter): self { $this->initialized['dataCenter'] = true; $this->dataCenter = $dataCenter; @@ -128,7 +128,7 @@ public function setState(string $state): self /** * The NFS location of where to mount the volume from. */ - public function getNfsLocation(): string + public function getNfsLocation(): ?string { return $this->nfsLocation; } @@ -136,7 +136,7 @@ public function getNfsLocation(): string /** * The NFS location of where to mount the volume from. */ - public function setNfsLocation(string $nfsLocation): self + public function setNfsLocation(?string $nfsLocation): self { $this->initialized['nfsLocation'] = true; $this->nfsLocation = $nfsLocation; @@ -147,7 +147,7 @@ public function setNfsLocation(string $nfsLocation): self /** * The size of the volume in bytes. */ - public function getSize(): int + public function getSize(): ?int { return $this->size; } @@ -155,7 +155,7 @@ public function getSize(): int /** * The size of the volume in bytes. */ - public function setSize(int $size): self + public function setSize(?int $size): self { $this->initialized['size'] = true; $this->size = $size; diff --git a/src/Model/PatchFileStorageVolume200ResponseFileStorageVolumeDataCenter.php b/src/Model/PatchFileStorageVolume200ResponseFileStorageVolumeDataCenter.php new file mode 100644 index 00000000..17d80dbc --- /dev/null +++ b/src/Model/PatchFileStorageVolume200ResponseFileStorageVolumeDataCenter.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string|null + */ + protected $permalink; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): ?string + { + return $this->permalink; + } + + public function setPermalink(?string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } +} diff --git a/src/Model/PatchFileStorageVolumePartDataCenter.php b/src/Model/PatchFileStorageVolumePartDataCenter.php index 427d6566..e3db2cca 100644 --- a/src/Model/PatchFileStorageVolumePartDataCenter.php +++ b/src/Model/PatchFileStorageVolumePartDataCenter.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; @@ -60,12 +60,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; diff --git a/src/Model/PatchLoadBalancer200ResponseLoadBalancer.php b/src/Model/PatchLoadBalancer200ResponseLoadBalancer.php index a51d094a..d55902dd 100644 --- a/src/Model/PatchLoadBalancer200ResponseLoadBalancer.php +++ b/src/Model/PatchLoadBalancer200ResponseLoadBalancer.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $apiReference; /** @@ -46,7 +46,7 @@ public function isInitialized($property): bool */ protected $resourceIds; /** - * @var PatchLoadBalancerPartIPAddress[] + * @var PatchLoadBalancer200ResponseLoadBalancerIpAddressItem[] */ protected $ipAddress; /** @@ -62,7 +62,7 @@ public function isInitialized($property): bool */ protected $backendCertificateKey; /** - * @var PatchLoadBalancerPartDataCenter + * @var PatchLoadBalancer200ResponseLoadBalancerDataCenter */ protected $dataCenter; /** @@ -70,7 +70,7 @@ public function isInitialized($property): bool */ protected $enableWeighting; /** - * @var PatchLoadBalancerPartWeights[] + * @var PatchLoadBalancer200ResponseLoadBalancerWeightsItem[] */ protected $weights; /** @@ -104,12 +104,12 @@ public function setName(string $name): self return $this; } - public function getApiReference(): string + public function getApiReference(): ?string { return $this->apiReference; } - public function setApiReference(string $apiReference): self + public function setApiReference(?string $apiReference): self { $this->initialized['apiReference'] = true; $this->apiReference = $apiReference; @@ -169,7 +169,7 @@ public function setResourceIds(array $resourceIds): self } /** - * @return PatchLoadBalancerPartIPAddress[] + * @return PatchLoadBalancer200ResponseLoadBalancerIpAddressItem[] */ public function getIpAddress(): array { @@ -177,7 +177,7 @@ public function getIpAddress(): array } /** - * @param PatchLoadBalancerPartIPAddress[] $ipAddress + * @param PatchLoadBalancer200ResponseLoadBalancerIpAddressItem[] $ipAddress */ public function setIpAddress(array $ipAddress): self { @@ -226,12 +226,12 @@ public function setBackendCertificateKey(string $backendCertificateKey): self return $this; } - public function getDataCenter(): PatchLoadBalancerPartDataCenter + public function getDataCenter(): PatchLoadBalancer200ResponseLoadBalancerDataCenter { return $this->dataCenter; } - public function setDataCenter(PatchLoadBalancerPartDataCenter $dataCenter): self + public function setDataCenter(PatchLoadBalancer200ResponseLoadBalancerDataCenter $dataCenter): self { $this->initialized['dataCenter'] = true; $this->dataCenter = $dataCenter; @@ -253,7 +253,7 @@ public function setEnableWeighting(bool $enableWeighting): self } /** - * @return PatchLoadBalancerPartWeights[] + * @return PatchLoadBalancer200ResponseLoadBalancerWeightsItem[] */ public function getWeights(): array { @@ -261,7 +261,7 @@ public function getWeights(): array } /** - * @param PatchLoadBalancerPartWeights[] $weights + * @param PatchLoadBalancer200ResponseLoadBalancerWeightsItem[] $weights */ public function setWeights(array $weights): self { diff --git a/src/Model/PatchLoadBalancer200ResponseLoadBalancerDataCenter.php b/src/Model/PatchLoadBalancer200ResponseLoadBalancerDataCenter.php new file mode 100644 index 00000000..a092097d --- /dev/null +++ b/src/Model/PatchLoadBalancer200ResponseLoadBalancerDataCenter.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string|null + */ + protected $permalink; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): ?string + { + return $this->permalink; + } + + public function setPermalink(?string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } +} diff --git a/src/Model/PatchLoadBalancer200ResponseLoadBalancerIpAddressItem.php b/src/Model/PatchLoadBalancer200ResponseLoadBalancerIpAddressItem.php new file mode 100644 index 00000000..54581b30 --- /dev/null +++ b/src/Model/PatchLoadBalancer200ResponseLoadBalancerIpAddressItem.php @@ -0,0 +1,58 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $address; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getAddress(): string + { + return $this->address; + } + + public function setAddress(string $address): self + { + $this->initialized['address'] = true; + $this->address = $address; + + return $this; + } +} diff --git a/src/Model/PatchLoadBalancer200ResponseLoadBalancerWeightsItem.php b/src/Model/PatchLoadBalancer200ResponseLoadBalancerWeightsItem.php new file mode 100644 index 00000000..dfc371f3 --- /dev/null +++ b/src/Model/PatchLoadBalancer200ResponseLoadBalancerWeightsItem.php @@ -0,0 +1,58 @@ +initialized); + } + /** + * @var string + */ + protected $virtualMachineId; + /** + * @var int + */ + protected $weight; + + public function getVirtualMachineId(): string + { + return $this->virtualMachineId; + } + + public function setVirtualMachineId(string $virtualMachineId): self + { + $this->initialized['virtualMachineId'] = true; + $this->virtualMachineId = $virtualMachineId; + + return $this; + } + + public function getWeight(): int + { + return $this->weight; + } + + public function setWeight(int $weight): self + { + $this->initialized['weight'] = true; + $this->weight = $weight; + + return $this; + } +} diff --git a/src/Model/PatchLoadBalancerPartDataCenter.php b/src/Model/PatchLoadBalancerPartDataCenter.php index 2257ca7c..4e720f35 100644 --- a/src/Model/PatchLoadBalancerPartDataCenter.php +++ b/src/Model/PatchLoadBalancerPartDataCenter.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; @@ -60,12 +60,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; diff --git a/src/Model/PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule.php b/src/Model/PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule.php index ec1c7666..4aa67179 100644 --- a/src/Model/PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule.php +++ b/src/Model/PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule.php @@ -46,7 +46,7 @@ public function isInitialized($property): bool */ protected $proxyProtocol; /** - * @var PatchLoadBalancersRulesLoadBalancerRulePartCertificates[] + * @var PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItem[] */ protected $certificates; /** @@ -90,7 +90,7 @@ public function isInitialized($property): bool */ protected $checkHttpStatuses; /** - * @var PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer + * @var PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancer */ protected $loadBalancer; @@ -173,7 +173,7 @@ public function setProxyProtocol(bool $proxyProtocol): self } /** - * @return PatchLoadBalancersRulesLoadBalancerRulePartCertificates[] + * @return PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItem[] */ public function getCertificates(): array { @@ -181,7 +181,7 @@ public function getCertificates(): array } /** - * @param PatchLoadBalancersRulesLoadBalancerRulePartCertificates[] $certificates + * @param PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItem[] $certificates */ public function setCertificates(array $certificates): self { @@ -321,12 +321,12 @@ public function setCheckHttpStatuses(string $checkHttpStatuses): self return $this; } - public function getLoadBalancer(): PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer + public function getLoadBalancer(): PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancer { return $this->loadBalancer; } - public function setLoadBalancer(PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer $loadBalancer): self + public function setLoadBalancer(PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancer $loadBalancer): self { $this->initialized['loadBalancer'] = true; $this->loadBalancer = $loadBalancer; diff --git a/src/Model/PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItem.php b/src/Model/PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItem.php new file mode 100644 index 00000000..0e580fb6 --- /dev/null +++ b/src/Model/PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItem.php @@ -0,0 +1,98 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string[] + */ + protected $additionalNames; + /** + * @var string + */ + protected $state; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + /** + * @return string[] + */ + public function getAdditionalNames(): array + { + return $this->additionalNames; + } + + /** + * @param string[] $additionalNames + */ + public function setAdditionalNames(array $additionalNames): self + { + $this->initialized['additionalNames'] = true; + $this->additionalNames = $additionalNames; + + return $this; + } + + public function getState(): string + { + return $this->state; + } + + public function setState(string $state): self + { + $this->initialized['state'] = true; + $this->state = $state; + + return $this; + } +} diff --git a/src/Model/PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancer.php b/src/Model/PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancer.php new file mode 100644 index 00000000..d3ac3b48 --- /dev/null +++ b/src/Model/PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancer.php @@ -0,0 +1,58 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule.php b/src/Model/PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule.php index 72d99198..4ef5f358 100644 --- a/src/Model/PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule.php +++ b/src/Model/PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule.php @@ -26,7 +26,7 @@ public function isInitialized($property): bool */ protected $id; /** - * @var PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup + * @var PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroup */ protected $securityGroup; /** @@ -42,7 +42,7 @@ public function isInitialized($property): bool */ protected $action; /** - * @var string + * @var string|null */ protected $ports; /** @@ -50,7 +50,7 @@ public function isInitialized($property): bool */ protected $targets; /** - * @var string + * @var string|null */ protected $notes; @@ -67,12 +67,12 @@ public function setId(string $id): self return $this; } - public function getSecurityGroup(): PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup + public function getSecurityGroup(): PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroup { return $this->securityGroup; } - public function setSecurityGroup(PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup $securityGroup): self + public function setSecurityGroup(PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroup $securityGroup): self { $this->initialized['securityGroup'] = true; $this->securityGroup = $securityGroup; @@ -119,12 +119,12 @@ public function setAction(string $action): self return $this; } - public function getPorts(): string + public function getPorts(): ?string { return $this->ports; } - public function setPorts(string $ports): self + public function setPorts(?string $ports): self { $this->initialized['ports'] = true; $this->ports = $ports; @@ -151,12 +151,12 @@ public function setTargets(array $targets): self return $this; } - public function getNotes(): string + public function getNotes(): ?string { return $this->notes; } - public function setNotes(string $notes): self + public function setNotes(?string $notes): self { $this->initialized['notes'] = true; $this->notes = $notes; diff --git a/src/Model/PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroup.php b/src/Model/PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroup.php new file mode 100644 index 00000000..562a806a --- /dev/null +++ b/src/Model/PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroup.php @@ -0,0 +1,58 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/PatchVirtualMachine200ResponseVirtualMachine.php b/src/Model/PatchVirtualMachine200ResponseVirtualMachine.php index c74c6da9..2105dcf8 100644 --- a/src/Model/PatchVirtualMachine200ResponseVirtualMachine.php +++ b/src/Model/PatchVirtualMachine200ResponseVirtualMachine.php @@ -38,7 +38,7 @@ public function isInitialized($property): bool */ protected $fqdn; /** - * @var string + * @var string|null */ protected $description; /** @@ -46,7 +46,7 @@ public function isInitialized($property): bool */ protected $createdAt; /** - * @var string + * @var string|null */ protected $initialRootPassword; /** @@ -54,43 +54,43 @@ public function isInitialized($property): bool */ protected $state; /** - * @var PatchVirtualMachinePartZone + * @var PatchVirtualMachine200ResponseVirtualMachineZone */ protected $zone; /** - * @var PatchVirtualMachinePartOrganization + * @var PatchVirtualMachine200ResponseVirtualMachineOrganization */ protected $organization; /** - * @var PatchVirtualMachinePartGroup + * @var PatchVirtualMachine200ResponseVirtualMachineGroup|null */ protected $group; /** - * @var PatchVirtualMachinePartPackage + * @var PatchVirtualMachine200ResponseVirtualMachinePackage|null */ protected $package; /** - * @var PatchVirtualMachinePartAttachedISO + * @var PatchVirtualMachine200ResponseVirtualMachineAttachedIso|null */ protected $attachedIso; /** - * @var int + * @var int|null */ protected $memoryInGb; /** - * @var int + * @var int|null */ protected $cpuCores; /** - * @var PatchVirtualMachinePartGPUType + * @var PatchVirtualMachine200ResponseVirtualMachineGpuType|null */ protected $gpuType; /** - * @var PatchVirtualMachinePartGPUs[] + * @var PatchVirtualMachine200ResponseVirtualMachineGpusItem[] */ protected $gpus; /** - * @var PatchVirtualMachinePartTags[] + * @var PatchVirtualMachine200ResponseVirtualMachineTagsItem[] */ protected $tags; /** @@ -98,7 +98,7 @@ public function isInitialized($property): bool */ protected $tagNames; /** - * @var PatchVirtualMachinePartIPAddresses[] + * @var PatchVirtualMachine200ResponseVirtualMachineIpAddressesItem[] */ protected $ipAddresses; @@ -154,12 +154,12 @@ public function setFqdn(string $fqdn): self return $this; } - public function getDescription(): string + public function getDescription(): ?string { return $this->description; } - public function setDescription(string $description): self + public function setDescription(?string $description): self { $this->initialized['description'] = true; $this->description = $description; @@ -180,12 +180,12 @@ public function setCreatedAt(int $createdAt): self return $this; } - public function getInitialRootPassword(): string + public function getInitialRootPassword(): ?string { return $this->initialRootPassword; } - public function setInitialRootPassword(string $initialRootPassword): self + public function setInitialRootPassword(?string $initialRootPassword): self { $this->initialized['initialRootPassword'] = true; $this->initialRootPassword = $initialRootPassword; @@ -206,12 +206,12 @@ public function setState(string $state): self return $this; } - public function getZone(): PatchVirtualMachinePartZone + public function getZone(): PatchVirtualMachine200ResponseVirtualMachineZone { return $this->zone; } - public function setZone(PatchVirtualMachinePartZone $zone): self + public function setZone(PatchVirtualMachine200ResponseVirtualMachineZone $zone): self { $this->initialized['zone'] = true; $this->zone = $zone; @@ -219,12 +219,12 @@ public function setZone(PatchVirtualMachinePartZone $zone): self return $this; } - public function getOrganization(): PatchVirtualMachinePartOrganization + public function getOrganization(): PatchVirtualMachine200ResponseVirtualMachineOrganization { return $this->organization; } - public function setOrganization(PatchVirtualMachinePartOrganization $organization): self + public function setOrganization(PatchVirtualMachine200ResponseVirtualMachineOrganization $organization): self { $this->initialized['organization'] = true; $this->organization = $organization; @@ -232,12 +232,12 @@ public function setOrganization(PatchVirtualMachinePartOrganization $organizatio return $this; } - public function getGroup(): PatchVirtualMachinePartGroup + public function getGroup(): ?PatchVirtualMachine200ResponseVirtualMachineGroup { return $this->group; } - public function setGroup(PatchVirtualMachinePartGroup $group): self + public function setGroup(?PatchVirtualMachine200ResponseVirtualMachineGroup $group): self { $this->initialized['group'] = true; $this->group = $group; @@ -245,12 +245,12 @@ public function setGroup(PatchVirtualMachinePartGroup $group): self return $this; } - public function getPackage(): PatchVirtualMachinePartPackage + public function getPackage(): ?PatchVirtualMachine200ResponseVirtualMachinePackage { return $this->package; } - public function setPackage(PatchVirtualMachinePartPackage $package): self + public function setPackage(?PatchVirtualMachine200ResponseVirtualMachinePackage $package): self { $this->initialized['package'] = true; $this->package = $package; @@ -258,12 +258,12 @@ public function setPackage(PatchVirtualMachinePartPackage $package): self return $this; } - public function getAttachedIso(): PatchVirtualMachinePartAttachedISO + public function getAttachedIso(): ?PatchVirtualMachine200ResponseVirtualMachineAttachedIso { return $this->attachedIso; } - public function setAttachedIso(PatchVirtualMachinePartAttachedISO $attachedIso): self + public function setAttachedIso(?PatchVirtualMachine200ResponseVirtualMachineAttachedIso $attachedIso): self { $this->initialized['attachedIso'] = true; $this->attachedIso = $attachedIso; @@ -271,12 +271,12 @@ public function setAttachedIso(PatchVirtualMachinePartAttachedISO $attachedIso): return $this; } - public function getMemoryInGb(): int + public function getMemoryInGb(): ?int { return $this->memoryInGb; } - public function setMemoryInGb(int $memoryInGb): self + public function setMemoryInGb(?int $memoryInGb): self { $this->initialized['memoryInGb'] = true; $this->memoryInGb = $memoryInGb; @@ -284,12 +284,12 @@ public function setMemoryInGb(int $memoryInGb): self return $this; } - public function getCpuCores(): int + public function getCpuCores(): ?int { return $this->cpuCores; } - public function setCpuCores(int $cpuCores): self + public function setCpuCores(?int $cpuCores): self { $this->initialized['cpuCores'] = true; $this->cpuCores = $cpuCores; @@ -297,12 +297,12 @@ public function setCpuCores(int $cpuCores): self return $this; } - public function getGpuType(): PatchVirtualMachinePartGPUType + public function getGpuType(): ?PatchVirtualMachine200ResponseVirtualMachineGpuType { return $this->gpuType; } - public function setGpuType(PatchVirtualMachinePartGPUType $gpuType): self + public function setGpuType(?PatchVirtualMachine200ResponseVirtualMachineGpuType $gpuType): self { $this->initialized['gpuType'] = true; $this->gpuType = $gpuType; @@ -311,7 +311,7 @@ public function setGpuType(PatchVirtualMachinePartGPUType $gpuType): self } /** - * @return PatchVirtualMachinePartGPUs[] + * @return PatchVirtualMachine200ResponseVirtualMachineGpusItem[] */ public function getGpus(): array { @@ -319,7 +319,7 @@ public function getGpus(): array } /** - * @param PatchVirtualMachinePartGPUs[] $gpus + * @param PatchVirtualMachine200ResponseVirtualMachineGpusItem[] $gpus */ public function setGpus(array $gpus): self { @@ -330,7 +330,7 @@ public function setGpus(array $gpus): self } /** - * @return PatchVirtualMachinePartTags[] + * @return PatchVirtualMachine200ResponseVirtualMachineTagsItem[] */ public function getTags(): array { @@ -338,7 +338,7 @@ public function getTags(): array } /** - * @param PatchVirtualMachinePartTags[] $tags + * @param PatchVirtualMachine200ResponseVirtualMachineTagsItem[] $tags */ public function setTags(array $tags): self { @@ -368,7 +368,7 @@ public function setTagNames(array $tagNames): self } /** - * @return PatchVirtualMachinePartIPAddresses[] + * @return PatchVirtualMachine200ResponseVirtualMachineIpAddressesItem[] */ public function getIpAddresses(): array { @@ -376,7 +376,7 @@ public function getIpAddresses(): array } /** - * @param PatchVirtualMachinePartIPAddresses[] $ipAddresses + * @param PatchVirtualMachine200ResponseVirtualMachineIpAddressesItem[] $ipAddresses */ public function setIpAddresses(array $ipAddresses): self { diff --git a/src/Model/PatchVirtualMachine200ResponseVirtualMachineAttachedIso.php b/src/Model/PatchVirtualMachine200ResponseVirtualMachineAttachedIso.php new file mode 100644 index 00000000..4b4b8671 --- /dev/null +++ b/src/Model/PatchVirtualMachine200ResponseVirtualMachineAttachedIso.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var PatchVirtualMachinePartAttachedISOOperatingSystem|null + */ + protected $operatingSystem; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getOperatingSystem(): ?PatchVirtualMachinePartAttachedISOOperatingSystem + { + return $this->operatingSystem; + } + + public function setOperatingSystem(?PatchVirtualMachinePartAttachedISOOperatingSystem $operatingSystem): self + { + $this->initialized['operatingSystem'] = true; + $this->operatingSystem = $operatingSystem; + + return $this; + } +} diff --git a/src/Model/PatchVirtualMachine200ResponseVirtualMachineGpuType.php b/src/Model/PatchVirtualMachine200ResponseVirtualMachineGpuType.php new file mode 100644 index 00000000..cac5aaf3 --- /dev/null +++ b/src/Model/PatchVirtualMachine200ResponseVirtualMachineGpuType.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $manufacturer; + /** + * @var int + */ + protected $memoryInGb; + /** + * @var string + */ + protected $memoryType; + /** + * @var string + */ + protected $permalink; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getManufacturer(): string + { + return $this->manufacturer; + } + + public function setManufacturer(string $manufacturer): self + { + $this->initialized['manufacturer'] = true; + $this->manufacturer = $manufacturer; + + return $this; + } + + public function getMemoryInGb(): int + { + return $this->memoryInGb; + } + + public function setMemoryInGb(int $memoryInGb): self + { + $this->initialized['memoryInGb'] = true; + $this->memoryInGb = $memoryInGb; + + return $this; + } + + public function getMemoryType(): string + { + return $this->memoryType; + } + + public function setMemoryType(string $memoryType): self + { + $this->initialized['memoryType'] = true; + $this->memoryType = $memoryType; + + return $this; + } + + public function getPermalink(): string + { + return $this->permalink; + } + + public function setPermalink(string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } +} diff --git a/src/Model/PatchVirtualMachine200ResponseVirtualMachineGpusItem.php b/src/Model/PatchVirtualMachine200ResponseVirtualMachineGpusItem.php new file mode 100644 index 00000000..29a5223f --- /dev/null +++ b/src/Model/PatchVirtualMachine200ResponseVirtualMachineGpusItem.php @@ -0,0 +1,125 @@ +initialized); + } + /** + * Unique ID for this GPU. Not available when status is "detached". + * + * @var string|null + */ + protected $id; + /** + * @var string + */ + protected $status; + /** + * @var string + */ + protected $pendingAction; + /** + * When pending action is "attach", this indicates if there is a GPU of the relevant type available. + * + * @var bool + */ + protected $available; + /** + * @var PatchVirtualMachinePartGPUsType + */ + protected $type; + + /** + * Unique ID for this GPU. Not available when status is "detached". + */ + public function getId(): ?string + { + return $this->id; + } + + /** + * Unique ID for this GPU. Not available when status is "detached". + */ + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getStatus(): string + { + return $this->status; + } + + public function setStatus(string $status): self + { + $this->initialized['status'] = true; + $this->status = $status; + + return $this; + } + + public function getPendingAction(): string + { + return $this->pendingAction; + } + + public function setPendingAction(string $pendingAction): self + { + $this->initialized['pendingAction'] = true; + $this->pendingAction = $pendingAction; + + return $this; + } + + /** + * When pending action is "attach", this indicates if there is a GPU of the relevant type available. + */ + public function getAvailable(): bool + { + return $this->available; + } + + /** + * When pending action is "attach", this indicates if there is a GPU of the relevant type available. + */ + public function setAvailable(bool $available): self + { + $this->initialized['available'] = true; + $this->available = $available; + + return $this; + } + + public function getType(): PatchVirtualMachinePartGPUsType + { + return $this->type; + } + + public function setType(PatchVirtualMachinePartGPUsType $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/PatchVirtualMachine200ResponseVirtualMachineGroup.php b/src/Model/PatchVirtualMachine200ResponseVirtualMachineGroup.php new file mode 100644 index 00000000..9dcf88ec --- /dev/null +++ b/src/Model/PatchVirtualMachine200ResponseVirtualMachineGroup.php @@ -0,0 +1,109 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var bool + */ + protected $segregate; + /** + * @var bool + */ + protected $autoSegregate; + /** + * @var int + */ + protected $createdAt; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getSegregate(): bool + { + return $this->segregate; + } + + public function setSegregate(bool $segregate): self + { + $this->initialized['segregate'] = true; + $this->segregate = $segregate; + + return $this; + } + + public function getAutoSegregate(): bool + { + return $this->autoSegregate; + } + + public function setAutoSegregate(bool $autoSegregate): self + { + $this->initialized['autoSegregate'] = true; + $this->autoSegregate = $autoSegregate; + + return $this; + } + + public function getCreatedAt(): int + { + return $this->createdAt; + } + + public function setCreatedAt(int $createdAt): self + { + $this->initialized['createdAt'] = true; + $this->createdAt = $createdAt; + + return $this; + } +} diff --git a/src/Model/PatchVirtualMachine200ResponseVirtualMachineIpAddressesItem.php b/src/Model/PatchVirtualMachine200ResponseVirtualMachineIpAddressesItem.php new file mode 100644 index 00000000..2185efad --- /dev/null +++ b/src/Model/PatchVirtualMachine200ResponseVirtualMachineIpAddressesItem.php @@ -0,0 +1,177 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $address; + /** + * @var string + */ + protected $reverseDns; + /** + * @var bool + */ + protected $vip; + /** + * @var string|null + */ + protected $label; + /** + * @var string + */ + protected $addressWithMask; + /** + * @var PatchVirtualMachinePartIPAddressesNetwork + */ + protected $network; + /** + * @var string|null + */ + protected $allocationId; + /** + * @var string|null + */ + protected $allocationType; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getAddress(): string + { + return $this->address; + } + + public function setAddress(string $address): self + { + $this->initialized['address'] = true; + $this->address = $address; + + return $this; + } + + public function getReverseDns(): string + { + return $this->reverseDns; + } + + public function setReverseDns(string $reverseDns): self + { + $this->initialized['reverseDns'] = true; + $this->reverseDns = $reverseDns; + + return $this; + } + + public function getVip(): bool + { + return $this->vip; + } + + public function setVip(bool $vip): self + { + $this->initialized['vip'] = true; + $this->vip = $vip; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + public function getAddressWithMask(): string + { + return $this->addressWithMask; + } + + public function setAddressWithMask(string $addressWithMask): self + { + $this->initialized['addressWithMask'] = true; + $this->addressWithMask = $addressWithMask; + + return $this; + } + + public function getNetwork(): PatchVirtualMachinePartIPAddressesNetwork + { + return $this->network; + } + + public function setNetwork(PatchVirtualMachinePartIPAddressesNetwork $network): self + { + $this->initialized['network'] = true; + $this->network = $network; + + return $this; + } + + public function getAllocationId(): ?string + { + return $this->allocationId; + } + + public function setAllocationId(?string $allocationId): self + { + $this->initialized['allocationId'] = true; + $this->allocationId = $allocationId; + + return $this; + } + + public function getAllocationType(): ?string + { + return $this->allocationType; + } + + public function setAllocationType(?string $allocationType): self + { + $this->initialized['allocationType'] = true; + $this->allocationType = $allocationType; + + return $this; + } +} diff --git a/src/Model/PatchVirtualMachine200ResponseVirtualMachineOrganization.php b/src/Model/PatchVirtualMachine200ResponseVirtualMachineOrganization.php new file mode 100644 index 00000000..f833c428 --- /dev/null +++ b/src/Model/PatchVirtualMachine200ResponseVirtualMachineOrganization.php @@ -0,0 +1,330 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $subDomain; + /** + * @var string + */ + protected $infrastructureDomain; + /** + * @var int + */ + protected $createdAt; + /** + * @var bool + */ + protected $suspended; + /** + * @var bool + */ + protected $managed; + /** + * @var string|null + */ + protected $billingName; + /** + * @var string|null + */ + protected $address1; + /** + * @var string|null + */ + protected $address2; + /** + * @var string|null + */ + protected $address3; + /** + * @var string|null + */ + protected $address4; + /** + * @var string|null + */ + protected $postcode; + /** + * @var string|null + */ + protected $vatNumber; + /** + * @var string|null + */ + protected $phoneNumber; + /** + * @var PatchVirtualMachinePartOrganizationCurrency + */ + protected $currency; + /** + * @var PatchVirtualMachinePartOrganizationCountry|null + */ + protected $country; + /** + * @var PatchVirtualMachinePartOrganizationCountryState|null + */ + protected $countryState; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getSubDomain(): string + { + return $this->subDomain; + } + + public function setSubDomain(string $subDomain): self + { + $this->initialized['subDomain'] = true; + $this->subDomain = $subDomain; + + return $this; + } + + public function getInfrastructureDomain(): string + { + return $this->infrastructureDomain; + } + + public function setInfrastructureDomain(string $infrastructureDomain): self + { + $this->initialized['infrastructureDomain'] = true; + $this->infrastructureDomain = $infrastructureDomain; + + return $this; + } + + public function getCreatedAt(): int + { + return $this->createdAt; + } + + public function setCreatedAt(int $createdAt): self + { + $this->initialized['createdAt'] = true; + $this->createdAt = $createdAt; + + return $this; + } + + public function getSuspended(): bool + { + return $this->suspended; + } + + public function setSuspended(bool $suspended): self + { + $this->initialized['suspended'] = true; + $this->suspended = $suspended; + + return $this; + } + + public function getManaged(): bool + { + return $this->managed; + } + + public function setManaged(bool $managed): self + { + $this->initialized['managed'] = true; + $this->managed = $managed; + + return $this; + } + + public function getBillingName(): ?string + { + return $this->billingName; + } + + public function setBillingName(?string $billingName): self + { + $this->initialized['billingName'] = true; + $this->billingName = $billingName; + + return $this; + } + + public function getAddress1(): ?string + { + return $this->address1; + } + + public function setAddress1(?string $address1): self + { + $this->initialized['address1'] = true; + $this->address1 = $address1; + + return $this; + } + + public function getAddress2(): ?string + { + return $this->address2; + } + + public function setAddress2(?string $address2): self + { + $this->initialized['address2'] = true; + $this->address2 = $address2; + + return $this; + } + + public function getAddress3(): ?string + { + return $this->address3; + } + + public function setAddress3(?string $address3): self + { + $this->initialized['address3'] = true; + $this->address3 = $address3; + + return $this; + } + + public function getAddress4(): ?string + { + return $this->address4; + } + + public function setAddress4(?string $address4): self + { + $this->initialized['address4'] = true; + $this->address4 = $address4; + + return $this; + } + + public function getPostcode(): ?string + { + return $this->postcode; + } + + public function setPostcode(?string $postcode): self + { + $this->initialized['postcode'] = true; + $this->postcode = $postcode; + + return $this; + } + + public function getVatNumber(): ?string + { + return $this->vatNumber; + } + + public function setVatNumber(?string $vatNumber): self + { + $this->initialized['vatNumber'] = true; + $this->vatNumber = $vatNumber; + + return $this; + } + + public function getPhoneNumber(): ?string + { + return $this->phoneNumber; + } + + public function setPhoneNumber(?string $phoneNumber): self + { + $this->initialized['phoneNumber'] = true; + $this->phoneNumber = $phoneNumber; + + return $this; + } + + public function getCurrency(): PatchVirtualMachinePartOrganizationCurrency + { + return $this->currency; + } + + public function setCurrency(PatchVirtualMachinePartOrganizationCurrency $currency): self + { + $this->initialized['currency'] = true; + $this->currency = $currency; + + return $this; + } + + public function getCountry(): ?PatchVirtualMachinePartOrganizationCountry + { + return $this->country; + } + + public function setCountry(?PatchVirtualMachinePartOrganizationCountry $country): self + { + $this->initialized['country'] = true; + $this->country = $country; + + return $this; + } + + public function getCountryState(): ?PatchVirtualMachinePartOrganizationCountryState + { + return $this->countryState; + } + + public function setCountryState(?PatchVirtualMachinePartOrganizationCountryState $countryState): self + { + $this->initialized['countryState'] = true; + $this->countryState = $countryState; + + return $this; + } +} diff --git a/src/Model/PatchVirtualMachine200ResponseVirtualMachinePackage.php b/src/Model/PatchVirtualMachine200ResponseVirtualMachinePackage.php new file mode 100644 index 00000000..c544de55 --- /dev/null +++ b/src/Model/PatchVirtualMachine200ResponseVirtualMachinePackage.php @@ -0,0 +1,194 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $permalink; + /** + * @var int + */ + protected $cpuCores; + /** + * @var int + */ + protected $ipv4Addresses; + /** + * @var int + */ + protected $memoryInGb; + /** + * @var int + */ + protected $storageInGb; + /** + * @var int|null + */ + protected $monthlyBandwidthAllowanceInGb; + /** + * @var string + */ + protected $privacy; + /** + * @var PatchVirtualMachinePartPackageIcon|null + */ + protected $icon; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): string + { + return $this->permalink; + } + + public function setPermalink(string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } + + public function getCpuCores(): int + { + return $this->cpuCores; + } + + public function setCpuCores(int $cpuCores): self + { + $this->initialized['cpuCores'] = true; + $this->cpuCores = $cpuCores; + + return $this; + } + + public function getIpv4Addresses(): int + { + return $this->ipv4Addresses; + } + + public function setIpv4Addresses(int $ipv4Addresses): self + { + $this->initialized['ipv4Addresses'] = true; + $this->ipv4Addresses = $ipv4Addresses; + + return $this; + } + + public function getMemoryInGb(): int + { + return $this->memoryInGb; + } + + public function setMemoryInGb(int $memoryInGb): self + { + $this->initialized['memoryInGb'] = true; + $this->memoryInGb = $memoryInGb; + + return $this; + } + + public function getStorageInGb(): int + { + return $this->storageInGb; + } + + public function setStorageInGb(int $storageInGb): self + { + $this->initialized['storageInGb'] = true; + $this->storageInGb = $storageInGb; + + return $this; + } + + public function getMonthlyBandwidthAllowanceInGb(): ?int + { + return $this->monthlyBandwidthAllowanceInGb; + } + + public function setMonthlyBandwidthAllowanceInGb(?int $monthlyBandwidthAllowanceInGb): self + { + $this->initialized['monthlyBandwidthAllowanceInGb'] = true; + $this->monthlyBandwidthAllowanceInGb = $monthlyBandwidthAllowanceInGb; + + return $this; + } + + public function getPrivacy(): string + { + return $this->privacy; + } + + public function setPrivacy(string $privacy): self + { + $this->initialized['privacy'] = true; + $this->privacy = $privacy; + + return $this; + } + + public function getIcon(): ?PatchVirtualMachinePartPackageIcon + { + return $this->icon; + } + + public function setIcon(?PatchVirtualMachinePartPackageIcon $icon): self + { + $this->initialized['icon'] = true; + $this->icon = $icon; + + return $this; + } +} diff --git a/src/Model/PatchVirtualMachine200ResponseVirtualMachineTagsItem.php b/src/Model/PatchVirtualMachine200ResponseVirtualMachineTagsItem.php new file mode 100644 index 00000000..bf188366 --- /dev/null +++ b/src/Model/PatchVirtualMachine200ResponseVirtualMachineTagsItem.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $color; + /** + * @var int + */ + protected $createdAt; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getColor(): string + { + return $this->color; + } + + public function setColor(string $color): self + { + $this->initialized['color'] = true; + $this->color = $color; + + return $this; + } + + public function getCreatedAt(): int + { + return $this->createdAt; + } + + public function setCreatedAt(int $createdAt): self + { + $this->initialized['createdAt'] = true; + $this->createdAt = $createdAt; + + return $this; + } +} diff --git a/src/Model/PatchVirtualMachine200ResponseVirtualMachineZone.php b/src/Model/PatchVirtualMachine200ResponseVirtualMachineZone.php new file mode 100644 index 00000000..5d4d2356 --- /dev/null +++ b/src/Model/PatchVirtualMachine200ResponseVirtualMachineZone.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string|null + */ + protected $permalink; + /** + * @var PatchVirtualMachinePartZoneDataCenter + */ + protected $dataCenter; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): ?string + { + return $this->permalink; + } + + public function setPermalink(?string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } + + public function getDataCenter(): PatchVirtualMachinePartZoneDataCenter + { + return $this->dataCenter; + } + + public function setDataCenter(PatchVirtualMachinePartZoneDataCenter $dataCenter): self + { + $this->initialized['dataCenter'] = true; + $this->dataCenter = $dataCenter; + + return $this; + } +} diff --git a/src/Model/PatchVirtualMachinePartAttachedISO.php b/src/Model/PatchVirtualMachinePartAttachedISO.php index da0c37a2..2ea5bb01 100644 --- a/src/Model/PatchVirtualMachinePartAttachedISO.php +++ b/src/Model/PatchVirtualMachinePartAttachedISO.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var PatchVirtualMachinePartOperatingSystem + * @var PatchVirtualMachinePartAttachedISOOperatingSystem|null */ protected $operatingSystem; @@ -60,12 +60,12 @@ public function setName(string $name): self return $this; } - public function getOperatingSystem(): PatchVirtualMachinePartOperatingSystem + public function getOperatingSystem(): ?PatchVirtualMachinePartAttachedISOOperatingSystem { return $this->operatingSystem; } - public function setOperatingSystem(PatchVirtualMachinePartOperatingSystem $operatingSystem): self + public function setOperatingSystem(?PatchVirtualMachinePartAttachedISOOperatingSystem $operatingSystem): self { $this->initialized['operatingSystem'] = true; $this->operatingSystem = $operatingSystem; diff --git a/src/Model/PatchVirtualMachinePartAttachedISOOperatingSystem.php b/src/Model/PatchVirtualMachinePartAttachedISOOperatingSystem.php new file mode 100644 index 00000000..722c90bb --- /dev/null +++ b/src/Model/PatchVirtualMachinePartAttachedISOOperatingSystem.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var PatchVirtualMachinePartOperatingSystemBadge|null + */ + protected $badge; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getBadge(): ?PatchVirtualMachinePartOperatingSystemBadge + { + return $this->badge; + } + + public function setBadge(?PatchVirtualMachinePartOperatingSystemBadge $badge): self + { + $this->initialized['badge'] = true; + $this->badge = $badge; + + return $this; + } +} diff --git a/src/Model/PatchVirtualMachinePartCountry.php b/src/Model/PatchVirtualMachinePartCountry.php index d4e9a680..05b481f9 100644 --- a/src/Model/PatchVirtualMachinePartCountry.php +++ b/src/Model/PatchVirtualMachinePartCountry.php @@ -38,7 +38,7 @@ public function isInitialized($property): bool */ protected $isoCode3; /** - * @var string + * @var string|null */ protected $timeZone; /** @@ -98,12 +98,12 @@ public function setIsoCode3(string $isoCode3): self return $this; } - public function getTimeZone(): string + public function getTimeZone(): ?string { return $this->timeZone; } - public function setTimeZone(string $timeZone): self + public function setTimeZone(?string $timeZone): self { $this->initialized['timeZone'] = true; $this->timeZone = $timeZone; diff --git a/src/Model/PatchVirtualMachinePartCountryState.php b/src/Model/PatchVirtualMachinePartCountryState.php index 36c9247c..00c47858 100644 --- a/src/Model/PatchVirtualMachinePartCountryState.php +++ b/src/Model/PatchVirtualMachinePartCountryState.php @@ -34,7 +34,7 @@ public function isInitialized($property): bool */ protected $code; /** - * @var PatchVirtualMachinePartCountry + * @var PatchVirtualMachinePartCountryStateCountry */ protected $country; @@ -77,12 +77,12 @@ public function setCode(string $code): self return $this; } - public function getCountry(): PatchVirtualMachinePartCountry + public function getCountry(): PatchVirtualMachinePartCountryStateCountry { return $this->country; } - public function setCountry(PatchVirtualMachinePartCountry $country): self + public function setCountry(PatchVirtualMachinePartCountryStateCountry $country): self { $this->initialized['country'] = true; $this->country = $country; diff --git a/src/Model/PatchVirtualMachinePartCountryStateCountry.php b/src/Model/PatchVirtualMachinePartCountryStateCountry.php new file mode 100644 index 00000000..8f088c63 --- /dev/null +++ b/src/Model/PatchVirtualMachinePartCountryStateCountry.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $isoCode2; + /** + * @var string + */ + protected $isoCode3; + /** + * @var string|null + */ + protected $timeZone; + /** + * @var bool + */ + protected $eu; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getIsoCode2(): string + { + return $this->isoCode2; + } + + public function setIsoCode2(string $isoCode2): self + { + $this->initialized['isoCode2'] = true; + $this->isoCode2 = $isoCode2; + + return $this; + } + + public function getIsoCode3(): string + { + return $this->isoCode3; + } + + public function setIsoCode3(string $isoCode3): self + { + $this->initialized['isoCode3'] = true; + $this->isoCode3 = $isoCode3; + + return $this; + } + + public function getTimeZone(): ?string + { + return $this->timeZone; + } + + public function setTimeZone(?string $timeZone): self + { + $this->initialized['timeZone'] = true; + $this->timeZone = $timeZone; + + return $this; + } + + public function getEu(): bool + { + return $this->eu; + } + + public function setEu(bool $eu): self + { + $this->initialized['eu'] = true; + $this->eu = $eu; + + return $this; + } +} diff --git a/src/Model/PatchVirtualMachinePartDataCenter.php b/src/Model/PatchVirtualMachinePartDataCenter.php index 17efd553..cc945f4e 100644 --- a/src/Model/PatchVirtualMachinePartDataCenter.php +++ b/src/Model/PatchVirtualMachinePartDataCenter.php @@ -30,11 +30,11 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; /** - * @var PatchVirtualMachinePartCountry + * @var PatchVirtualMachinePartDataCenterCountry */ protected $country; @@ -64,12 +64,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; @@ -77,12 +77,12 @@ public function setPermalink(string $permalink): self return $this; } - public function getCountry(): PatchVirtualMachinePartCountry + public function getCountry(): PatchVirtualMachinePartDataCenterCountry { return $this->country; } - public function setCountry(PatchVirtualMachinePartCountry $country): self + public function setCountry(PatchVirtualMachinePartDataCenterCountry $country): self { $this->initialized['country'] = true; $this->country = $country; diff --git a/src/Model/PatchVirtualMachinePartDataCenterCountry.php b/src/Model/PatchVirtualMachinePartDataCenterCountry.php new file mode 100644 index 00000000..a8bff608 --- /dev/null +++ b/src/Model/PatchVirtualMachinePartDataCenterCountry.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $isoCode2; + /** + * @var string + */ + protected $isoCode3; + /** + * @var string|null + */ + protected $timeZone; + /** + * @var bool + */ + protected $eu; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getIsoCode2(): string + { + return $this->isoCode2; + } + + public function setIsoCode2(string $isoCode2): self + { + $this->initialized['isoCode2'] = true; + $this->isoCode2 = $isoCode2; + + return $this; + } + + public function getIsoCode3(): string + { + return $this->isoCode3; + } + + public function setIsoCode3(string $isoCode3): self + { + $this->initialized['isoCode3'] = true; + $this->isoCode3 = $isoCode3; + + return $this; + } + + public function getTimeZone(): ?string + { + return $this->timeZone; + } + + public function setTimeZone(?string $timeZone): self + { + $this->initialized['timeZone'] = true; + $this->timeZone = $timeZone; + + return $this; + } + + public function getEu(): bool + { + return $this->eu; + } + + public function setEu(bool $eu): self + { + $this->initialized['eu'] = true; + $this->eu = $eu; + + return $this; + } +} diff --git a/src/Model/PatchVirtualMachinePartGPUs.php b/src/Model/PatchVirtualMachinePartGPUs.php index 72e79b9a..49927475 100644 --- a/src/Model/PatchVirtualMachinePartGPUs.php +++ b/src/Model/PatchVirtualMachinePartGPUs.php @@ -24,7 +24,7 @@ public function isInitialized($property): bool /** * Unique ID for this GPU. Not available when status is "detached". * - * @var string + * @var string|null */ protected $id; /** @@ -42,14 +42,14 @@ public function isInitialized($property): bool */ protected $available; /** - * @var PatchVirtualMachinePartType + * @var PatchVirtualMachinePartGPUsType */ protected $type; /** * Unique ID for this GPU. Not available when status is "detached". */ - public function getId(): string + public function getId(): ?string { return $this->id; } @@ -57,7 +57,7 @@ public function getId(): string /** * Unique ID for this GPU. Not available when status is "detached". */ - public function setId(string $id): self + public function setId(?string $id): self { $this->initialized['id'] = true; $this->id = $id; @@ -110,12 +110,12 @@ public function setAvailable(bool $available): self return $this; } - public function getType(): PatchVirtualMachinePartType + public function getType(): PatchVirtualMachinePartGPUsType { return $this->type; } - public function setType(PatchVirtualMachinePartType $type): self + public function setType(PatchVirtualMachinePartGPUsType $type): self { $this->initialized['type'] = true; $this->type = $type; diff --git a/src/Model/PatchVirtualMachinePartGPUsType.php b/src/Model/PatchVirtualMachinePartGPUsType.php new file mode 100644 index 00000000..5e388737 --- /dev/null +++ b/src/Model/PatchVirtualMachinePartGPUsType.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $manufacturer; + /** + * @var int + */ + protected $memoryInGb; + /** + * @var string + */ + protected $memoryType; + /** + * @var string + */ + protected $permalink; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getManufacturer(): string + { + return $this->manufacturer; + } + + public function setManufacturer(string $manufacturer): self + { + $this->initialized['manufacturer'] = true; + $this->manufacturer = $manufacturer; + + return $this; + } + + public function getMemoryInGb(): int + { + return $this->memoryInGb; + } + + public function setMemoryInGb(int $memoryInGb): self + { + $this->initialized['memoryInGb'] = true; + $this->memoryInGb = $memoryInGb; + + return $this; + } + + public function getMemoryType(): string + { + return $this->memoryType; + } + + public function setMemoryType(string $memoryType): self + { + $this->initialized['memoryType'] = true; + $this->memoryType = $memoryType; + + return $this; + } + + public function getPermalink(): string + { + return $this->permalink; + } + + public function setPermalink(string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } +} diff --git a/src/Model/PatchVirtualMachinePartIPAddresses.php b/src/Model/PatchVirtualMachinePartIPAddresses.php index 7f4e9c5e..f9e8f2cd 100644 --- a/src/Model/PatchVirtualMachinePartIPAddresses.php +++ b/src/Model/PatchVirtualMachinePartIPAddresses.php @@ -38,7 +38,7 @@ public function isInitialized($property): bool */ protected $vip; /** - * @var string + * @var string|null */ protected $label; /** @@ -46,15 +46,15 @@ public function isInitialized($property): bool */ protected $addressWithMask; /** - * @var PatchVirtualMachinePartNetwork + * @var PatchVirtualMachinePartIPAddressesNetwork */ protected $network; /** - * @var string + * @var string|null */ protected $allocationId; /** - * @var string + * @var string|null */ protected $allocationType; @@ -110,12 +110,12 @@ public function setVip(bool $vip): self return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->initialized['label'] = true; $this->label = $label; @@ -136,12 +136,12 @@ public function setAddressWithMask(string $addressWithMask): self return $this; } - public function getNetwork(): PatchVirtualMachinePartNetwork + public function getNetwork(): PatchVirtualMachinePartIPAddressesNetwork { return $this->network; } - public function setNetwork(PatchVirtualMachinePartNetwork $network): self + public function setNetwork(PatchVirtualMachinePartIPAddressesNetwork $network): self { $this->initialized['network'] = true; $this->network = $network; @@ -149,12 +149,12 @@ public function setNetwork(PatchVirtualMachinePartNetwork $network): self return $this; } - public function getAllocationId(): string + public function getAllocationId(): ?string { return $this->allocationId; } - public function setAllocationId(string $allocationId): self + public function setAllocationId(?string $allocationId): self { $this->initialized['allocationId'] = true; $this->allocationId = $allocationId; @@ -162,12 +162,12 @@ public function setAllocationId(string $allocationId): self return $this; } - public function getAllocationType(): string + public function getAllocationType(): ?string { return $this->allocationType; } - public function setAllocationType(string $allocationType): self + public function setAllocationType(?string $allocationType): self { $this->initialized['allocationType'] = true; $this->allocationType = $allocationType; diff --git a/src/Model/PatchVirtualMachinePartIPAddressesNetwork.php b/src/Model/PatchVirtualMachinePartIPAddressesNetwork.php new file mode 100644 index 00000000..a5beaa84 --- /dev/null +++ b/src/Model/PatchVirtualMachinePartIPAddressesNetwork.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string|null + */ + protected $permalink; + /** + * @var PatchVirtualMachinePartNetworkDataCenter + */ + protected $dataCenter; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): ?string + { + return $this->permalink; + } + + public function setPermalink(?string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } + + public function getDataCenter(): PatchVirtualMachinePartNetworkDataCenter + { + return $this->dataCenter; + } + + public function setDataCenter(PatchVirtualMachinePartNetworkDataCenter $dataCenter): self + { + $this->initialized['dataCenter'] = true; + $this->dataCenter = $dataCenter; + + return $this; + } +} diff --git a/src/Model/PatchVirtualMachinePartNetwork.php b/src/Model/PatchVirtualMachinePartNetwork.php index 8c77bda2..11c3e0b9 100644 --- a/src/Model/PatchVirtualMachinePartNetwork.php +++ b/src/Model/PatchVirtualMachinePartNetwork.php @@ -30,11 +30,11 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; /** - * @var PatchVirtualMachinePartDataCenter + * @var PatchVirtualMachinePartNetworkDataCenter */ protected $dataCenter; @@ -64,12 +64,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; @@ -77,12 +77,12 @@ public function setPermalink(string $permalink): self return $this; } - public function getDataCenter(): PatchVirtualMachinePartDataCenter + public function getDataCenter(): PatchVirtualMachinePartNetworkDataCenter { return $this->dataCenter; } - public function setDataCenter(PatchVirtualMachinePartDataCenter $dataCenter): self + public function setDataCenter(PatchVirtualMachinePartNetworkDataCenter $dataCenter): self { $this->initialized['dataCenter'] = true; $this->dataCenter = $dataCenter; diff --git a/src/Model/PatchVirtualMachinePartNetworkDataCenter.php b/src/Model/PatchVirtualMachinePartNetworkDataCenter.php new file mode 100644 index 00000000..76b45354 --- /dev/null +++ b/src/Model/PatchVirtualMachinePartNetworkDataCenter.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string|null + */ + protected $permalink; + /** + * @var PatchVirtualMachinePartDataCenterCountry + */ + protected $country; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): ?string + { + return $this->permalink; + } + + public function setPermalink(?string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } + + public function getCountry(): PatchVirtualMachinePartDataCenterCountry + { + return $this->country; + } + + public function setCountry(PatchVirtualMachinePartDataCenterCountry $country): self + { + $this->initialized['country'] = true; + $this->country = $country; + + return $this; + } +} diff --git a/src/Model/PatchVirtualMachinePartOperatingSystem.php b/src/Model/PatchVirtualMachinePartOperatingSystem.php index 7e457f9b..6069bdf5 100644 --- a/src/Model/PatchVirtualMachinePartOperatingSystem.php +++ b/src/Model/PatchVirtualMachinePartOperatingSystem.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var PatchVirtualMachinePartBadge + * @var PatchVirtualMachinePartOperatingSystemBadge|null */ protected $badge; @@ -60,12 +60,12 @@ public function setName(string $name): self return $this; } - public function getBadge(): PatchVirtualMachinePartBadge + public function getBadge(): ?PatchVirtualMachinePartOperatingSystemBadge { return $this->badge; } - public function setBadge(PatchVirtualMachinePartBadge $badge): self + public function setBadge(?PatchVirtualMachinePartOperatingSystemBadge $badge): self { $this->initialized['badge'] = true; $this->badge = $badge; diff --git a/src/Model/PatchVirtualMachinePartOperatingSystemBadge.php b/src/Model/PatchVirtualMachinePartOperatingSystemBadge.php new file mode 100644 index 00000000..1e99b29c --- /dev/null +++ b/src/Model/PatchVirtualMachinePartOperatingSystemBadge.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var string + */ + protected $url; + /** + * @var string + */ + protected $fileName; + /** + * @var string + */ + protected $fileType; + /** + * @var int + */ + protected $fileSize; + /** + * @var string + */ + protected $digest; + /** + * @var string + */ + protected $token; + + public function getUrl(): string + { + return $this->url; + } + + public function setUrl(string $url): self + { + $this->initialized['url'] = true; + $this->url = $url; + + return $this; + } + + public function getFileName(): string + { + return $this->fileName; + } + + public function setFileName(string $fileName): self + { + $this->initialized['fileName'] = true; + $this->fileName = $fileName; + + return $this; + } + + public function getFileType(): string + { + return $this->fileType; + } + + public function setFileType(string $fileType): self + { + $this->initialized['fileType'] = true; + $this->fileType = $fileType; + + return $this; + } + + public function getFileSize(): int + { + return $this->fileSize; + } + + public function setFileSize(int $fileSize): self + { + $this->initialized['fileSize'] = true; + $this->fileSize = $fileSize; + + return $this; + } + + public function getDigest(): string + { + return $this->digest; + } + + public function setDigest(string $digest): self + { + $this->initialized['digest'] = true; + $this->digest = $digest; + + return $this; + } + + public function getToken(): string + { + return $this->token; + } + + public function setToken(string $token): self + { + $this->initialized['token'] = true; + $this->token = $token; + + return $this; + } +} diff --git a/src/Model/PatchVirtualMachinePartOrganization.php b/src/Model/PatchVirtualMachinePartOrganization.php index b91e1e22..50d71567 100644 --- a/src/Model/PatchVirtualMachinePartOrganization.php +++ b/src/Model/PatchVirtualMachinePartOrganization.php @@ -50,47 +50,47 @@ public function isInitialized($property): bool */ protected $managed; /** - * @var string + * @var string|null */ protected $billingName; /** - * @var string + * @var string|null */ protected $address1; /** - * @var string + * @var string|null */ protected $address2; /** - * @var string + * @var string|null */ protected $address3; /** - * @var string + * @var string|null */ protected $address4; /** - * @var string + * @var string|null */ protected $postcode; /** - * @var string + * @var string|null */ protected $vatNumber; /** - * @var string + * @var string|null */ protected $phoneNumber; /** - * @var PatchVirtualMachinePartCurrency + * @var PatchVirtualMachinePartOrganizationCurrency */ protected $currency; /** - * @var PatchVirtualMachinePartCountry + * @var PatchVirtualMachinePartOrganizationCountry|null */ protected $country; /** - * @var PatchVirtualMachinePartCountryState + * @var PatchVirtualMachinePartOrganizationCountryState|null */ protected $countryState; @@ -185,12 +185,12 @@ public function setManaged(bool $managed): self return $this; } - public function getBillingName(): string + public function getBillingName(): ?string { return $this->billingName; } - public function setBillingName(string $billingName): self + public function setBillingName(?string $billingName): self { $this->initialized['billingName'] = true; $this->billingName = $billingName; @@ -198,12 +198,12 @@ public function setBillingName(string $billingName): self return $this; } - public function getAddress1(): string + public function getAddress1(): ?string { return $this->address1; } - public function setAddress1(string $address1): self + public function setAddress1(?string $address1): self { $this->initialized['address1'] = true; $this->address1 = $address1; @@ -211,12 +211,12 @@ public function setAddress1(string $address1): self return $this; } - public function getAddress2(): string + public function getAddress2(): ?string { return $this->address2; } - public function setAddress2(string $address2): self + public function setAddress2(?string $address2): self { $this->initialized['address2'] = true; $this->address2 = $address2; @@ -224,12 +224,12 @@ public function setAddress2(string $address2): self return $this; } - public function getAddress3(): string + public function getAddress3(): ?string { return $this->address3; } - public function setAddress3(string $address3): self + public function setAddress3(?string $address3): self { $this->initialized['address3'] = true; $this->address3 = $address3; @@ -237,12 +237,12 @@ public function setAddress3(string $address3): self return $this; } - public function getAddress4(): string + public function getAddress4(): ?string { return $this->address4; } - public function setAddress4(string $address4): self + public function setAddress4(?string $address4): self { $this->initialized['address4'] = true; $this->address4 = $address4; @@ -250,12 +250,12 @@ public function setAddress4(string $address4): self return $this; } - public function getPostcode(): string + public function getPostcode(): ?string { return $this->postcode; } - public function setPostcode(string $postcode): self + public function setPostcode(?string $postcode): self { $this->initialized['postcode'] = true; $this->postcode = $postcode; @@ -263,12 +263,12 @@ public function setPostcode(string $postcode): self return $this; } - public function getVatNumber(): string + public function getVatNumber(): ?string { return $this->vatNumber; } - public function setVatNumber(string $vatNumber): self + public function setVatNumber(?string $vatNumber): self { $this->initialized['vatNumber'] = true; $this->vatNumber = $vatNumber; @@ -276,12 +276,12 @@ public function setVatNumber(string $vatNumber): self return $this; } - public function getPhoneNumber(): string + public function getPhoneNumber(): ?string { return $this->phoneNumber; } - public function setPhoneNumber(string $phoneNumber): self + public function setPhoneNumber(?string $phoneNumber): self { $this->initialized['phoneNumber'] = true; $this->phoneNumber = $phoneNumber; @@ -289,12 +289,12 @@ public function setPhoneNumber(string $phoneNumber): self return $this; } - public function getCurrency(): PatchVirtualMachinePartCurrency + public function getCurrency(): PatchVirtualMachinePartOrganizationCurrency { return $this->currency; } - public function setCurrency(PatchVirtualMachinePartCurrency $currency): self + public function setCurrency(PatchVirtualMachinePartOrganizationCurrency $currency): self { $this->initialized['currency'] = true; $this->currency = $currency; @@ -302,12 +302,12 @@ public function setCurrency(PatchVirtualMachinePartCurrency $currency): self return $this; } - public function getCountry(): PatchVirtualMachinePartCountry + public function getCountry(): ?PatchVirtualMachinePartOrganizationCountry { return $this->country; } - public function setCountry(PatchVirtualMachinePartCountry $country): self + public function setCountry(?PatchVirtualMachinePartOrganizationCountry $country): self { $this->initialized['country'] = true; $this->country = $country; @@ -315,12 +315,12 @@ public function setCountry(PatchVirtualMachinePartCountry $country): self return $this; } - public function getCountryState(): PatchVirtualMachinePartCountryState + public function getCountryState(): ?PatchVirtualMachinePartOrganizationCountryState { return $this->countryState; } - public function setCountryState(PatchVirtualMachinePartCountryState $countryState): self + public function setCountryState(?PatchVirtualMachinePartOrganizationCountryState $countryState): self { $this->initialized['countryState'] = true; $this->countryState = $countryState; diff --git a/src/Model/PatchVirtualMachinePartOrganizationCountry.php b/src/Model/PatchVirtualMachinePartOrganizationCountry.php new file mode 100644 index 00000000..7cf47214 --- /dev/null +++ b/src/Model/PatchVirtualMachinePartOrganizationCountry.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $isoCode2; + /** + * @var string + */ + protected $isoCode3; + /** + * @var string|null + */ + protected $timeZone; + /** + * @var bool + */ + protected $eu; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getIsoCode2(): string + { + return $this->isoCode2; + } + + public function setIsoCode2(string $isoCode2): self + { + $this->initialized['isoCode2'] = true; + $this->isoCode2 = $isoCode2; + + return $this; + } + + public function getIsoCode3(): string + { + return $this->isoCode3; + } + + public function setIsoCode3(string $isoCode3): self + { + $this->initialized['isoCode3'] = true; + $this->isoCode3 = $isoCode3; + + return $this; + } + + public function getTimeZone(): ?string + { + return $this->timeZone; + } + + public function setTimeZone(?string $timeZone): self + { + $this->initialized['timeZone'] = true; + $this->timeZone = $timeZone; + + return $this; + } + + public function getEu(): bool + { + return $this->eu; + } + + public function setEu(bool $eu): self + { + $this->initialized['eu'] = true; + $this->eu = $eu; + + return $this; + } +} diff --git a/src/Model/PatchVirtualMachinePartOrganizationCountryState.php b/src/Model/PatchVirtualMachinePartOrganizationCountryState.php new file mode 100644 index 00000000..7611d4a8 --- /dev/null +++ b/src/Model/PatchVirtualMachinePartOrganizationCountryState.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $code; + /** + * @var PatchVirtualMachinePartCountryStateCountry + */ + protected $country; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getCode(): string + { + return $this->code; + } + + public function setCode(string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getCountry(): PatchVirtualMachinePartCountryStateCountry + { + return $this->country; + } + + public function setCountry(PatchVirtualMachinePartCountryStateCountry $country): self + { + $this->initialized['country'] = true; + $this->country = $country; + + return $this; + } +} diff --git a/src/Model/PatchVirtualMachinePartOrganizationCurrency.php b/src/Model/PatchVirtualMachinePartOrganizationCurrency.php new file mode 100644 index 00000000..db94c835 --- /dev/null +++ b/src/Model/PatchVirtualMachinePartOrganizationCurrency.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $isoCode; + /** + * @var string + */ + protected $symbol; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getIsoCode(): string + { + return $this->isoCode; + } + + public function setIsoCode(string $isoCode): self + { + $this->initialized['isoCode'] = true; + $this->isoCode = $isoCode; + + return $this; + } + + public function getSymbol(): string + { + return $this->symbol; + } + + public function setSymbol(string $symbol): self + { + $this->initialized['symbol'] = true; + $this->symbol = $symbol; + + return $this; + } +} diff --git a/src/Model/PatchVirtualMachinePartPackage.php b/src/Model/PatchVirtualMachinePartPackage.php index d9a31819..4258f1aa 100644 --- a/src/Model/PatchVirtualMachinePartPackage.php +++ b/src/Model/PatchVirtualMachinePartPackage.php @@ -50,7 +50,7 @@ public function isInitialized($property): bool */ protected $storageInGb; /** - * @var int + * @var int|null */ protected $monthlyBandwidthAllowanceInGb; /** @@ -58,7 +58,7 @@ public function isInitialized($property): bool */ protected $privacy; /** - * @var PatchVirtualMachinePartIcon + * @var PatchVirtualMachinePartPackageIcon|null */ protected $icon; @@ -153,12 +153,12 @@ public function setStorageInGb(int $storageInGb): self return $this; } - public function getMonthlyBandwidthAllowanceInGb(): int + public function getMonthlyBandwidthAllowanceInGb(): ?int { return $this->monthlyBandwidthAllowanceInGb; } - public function setMonthlyBandwidthAllowanceInGb(int $monthlyBandwidthAllowanceInGb): self + public function setMonthlyBandwidthAllowanceInGb(?int $monthlyBandwidthAllowanceInGb): self { $this->initialized['monthlyBandwidthAllowanceInGb'] = true; $this->monthlyBandwidthAllowanceInGb = $monthlyBandwidthAllowanceInGb; @@ -179,12 +179,12 @@ public function setPrivacy(string $privacy): self return $this; } - public function getIcon(): PatchVirtualMachinePartIcon + public function getIcon(): ?PatchVirtualMachinePartPackageIcon { return $this->icon; } - public function setIcon(PatchVirtualMachinePartIcon $icon): self + public function setIcon(?PatchVirtualMachinePartPackageIcon $icon): self { $this->initialized['icon'] = true; $this->icon = $icon; diff --git a/src/Model/PatchVirtualMachinePartPackageIcon.php b/src/Model/PatchVirtualMachinePartPackageIcon.php new file mode 100644 index 00000000..2cc3d95a --- /dev/null +++ b/src/Model/PatchVirtualMachinePartPackageIcon.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var string + */ + protected $url; + /** + * @var string + */ + protected $fileName; + /** + * @var string + */ + protected $fileType; + /** + * @var int + */ + protected $fileSize; + /** + * @var string + */ + protected $digest; + /** + * @var string + */ + protected $token; + + public function getUrl(): string + { + return $this->url; + } + + public function setUrl(string $url): self + { + $this->initialized['url'] = true; + $this->url = $url; + + return $this; + } + + public function getFileName(): string + { + return $this->fileName; + } + + public function setFileName(string $fileName): self + { + $this->initialized['fileName'] = true; + $this->fileName = $fileName; + + return $this; + } + + public function getFileType(): string + { + return $this->fileType; + } + + public function setFileType(string $fileType): self + { + $this->initialized['fileType'] = true; + $this->fileType = $fileType; + + return $this; + } + + public function getFileSize(): int + { + return $this->fileSize; + } + + public function setFileSize(int $fileSize): self + { + $this->initialized['fileSize'] = true; + $this->fileSize = $fileSize; + + return $this; + } + + public function getDigest(): string + { + return $this->digest; + } + + public function setDigest(string $digest): self + { + $this->initialized['digest'] = true; + $this->digest = $digest; + + return $this; + } + + public function getToken(): string + { + return $this->token; + } + + public function setToken(string $token): self + { + $this->initialized['token'] = true; + $this->token = $token; + + return $this; + } +} diff --git a/src/Model/PatchVirtualMachinePartZone.php b/src/Model/PatchVirtualMachinePartZone.php index e3eaf0ae..f00af5a3 100644 --- a/src/Model/PatchVirtualMachinePartZone.php +++ b/src/Model/PatchVirtualMachinePartZone.php @@ -30,11 +30,11 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; /** - * @var PatchVirtualMachinePartDataCenter + * @var PatchVirtualMachinePartZoneDataCenter */ protected $dataCenter; @@ -64,12 +64,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; @@ -77,12 +77,12 @@ public function setPermalink(string $permalink): self return $this; } - public function getDataCenter(): PatchVirtualMachinePartDataCenter + public function getDataCenter(): PatchVirtualMachinePartZoneDataCenter { return $this->dataCenter; } - public function setDataCenter(PatchVirtualMachinePartDataCenter $dataCenter): self + public function setDataCenter(PatchVirtualMachinePartZoneDataCenter $dataCenter): self { $this->initialized['dataCenter'] = true; $this->dataCenter = $dataCenter; diff --git a/src/Model/PatchVirtualMachinePartZoneDataCenter.php b/src/Model/PatchVirtualMachinePartZoneDataCenter.php new file mode 100644 index 00000000..089f5385 --- /dev/null +++ b/src/Model/PatchVirtualMachinePartZoneDataCenter.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string|null + */ + protected $permalink; + /** + * @var PatchVirtualMachinePartDataCenterCountry + */ + protected $country; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): ?string + { + return $this->permalink; + } + + public function setPermalink(?string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } + + public function getCountry(): PatchVirtualMachinePartDataCenterCountry + { + return $this->country; + } + + public function setCountry(PatchVirtualMachinePartDataCenterCountry $country): self + { + $this->initialized['country'] = true; + $this->country = $country; + + return $this; + } +} diff --git a/src/Model/PermissionDenied.php b/src/Model/PermissionDenied.php index 283d7150..b3469f53 100644 --- a/src/Model/PermissionDenied.php +++ b/src/Model/PermissionDenied.php @@ -24,14 +24,14 @@ public function isInitialized($property): bool /** * Additional information regarding the reason why permission was denied. * - * @var string + * @var string|null */ protected $details; /** * Additional information regarding the reason why permission was denied. */ - public function getDetails(): string + public function getDetails(): ?string { return $this->details; } @@ -39,7 +39,7 @@ public function getDetails(): string /** * Additional information regarding the reason why permission was denied. */ - public function setDetails(string $details): self + public function setDetails(?string $details): self { $this->initialized['details'] = true; $this->details = $details; diff --git a/src/Model/PostDiskDiskBackupPolicies200ResponseDiskBackupPolicy.php b/src/Model/PostDiskDiskBackupPolicies200ResponseDiskBackupPolicy.php index 1e916df7..33b8ee74 100644 --- a/src/Model/PostDiskDiskBackupPolicies200ResponseDiskBackupPolicy.php +++ b/src/Model/PostDiskDiskBackupPolicies200ResponseDiskBackupPolicy.php @@ -38,11 +38,11 @@ public function isInitialized($property): bool */ protected $target; /** - * @var PostDiskDiskBackupPoliciesPartSchedule + * @var PostDiskDiskBackupPolicies200ResponseDiskBackupPolicySchedule */ protected $schedule; /** - * @var int + * @var int|null */ protected $autoMoveToTrashAt; @@ -98,12 +98,12 @@ public function setTarget(DiskBackupPolicyTarget $target): self return $this; } - public function getSchedule(): PostDiskDiskBackupPoliciesPartSchedule + public function getSchedule(): PostDiskDiskBackupPolicies200ResponseDiskBackupPolicySchedule { return $this->schedule; } - public function setSchedule(PostDiskDiskBackupPoliciesPartSchedule $schedule): self + public function setSchedule(PostDiskDiskBackupPolicies200ResponseDiskBackupPolicySchedule $schedule): self { $this->initialized['schedule'] = true; $this->schedule = $schedule; @@ -111,12 +111,12 @@ public function setSchedule(PostDiskDiskBackupPoliciesPartSchedule $schedule): s return $this; } - public function getAutoMoveToTrashAt(): int + public function getAutoMoveToTrashAt(): ?int { return $this->autoMoveToTrashAt; } - public function setAutoMoveToTrashAt(int $autoMoveToTrashAt): self + public function setAutoMoveToTrashAt(?int $autoMoveToTrashAt): self { $this->initialized['autoMoveToTrashAt'] = true; $this->autoMoveToTrashAt = $autoMoveToTrashAt; diff --git a/src/Model/PostDiskDiskBackupPolicies200ResponseDiskBackupPolicySchedule.php b/src/Model/PostDiskDiskBackupPolicies200ResponseDiskBackupPolicySchedule.php new file mode 100644 index 00000000..7e6b429a --- /dev/null +++ b/src/Model/PostDiskDiskBackupPolicies200ResponseDiskBackupPolicySchedule.php @@ -0,0 +1,109 @@ +initialized); + } + /** + * @var int + */ + protected $frequency; + /** + * @var string + */ + protected $interval; + /** + * @var int + */ + protected $minute; + /** + * @var int + */ + protected $nextInvocationAt; + /** + * @var int + */ + protected $time; + + public function getFrequency(): int + { + return $this->frequency; + } + + public function setFrequency(int $frequency): self + { + $this->initialized['frequency'] = true; + $this->frequency = $frequency; + + return $this; + } + + public function getInterval(): string + { + return $this->interval; + } + + public function setInterval(string $interval): self + { + $this->initialized['interval'] = true; + $this->interval = $interval; + + return $this; + } + + public function getMinute(): int + { + return $this->minute; + } + + public function setMinute(int $minute): self + { + $this->initialized['minute'] = true; + $this->minute = $minute; + + return $this; + } + + public function getNextInvocationAt(): int + { + return $this->nextInvocationAt; + } + + public function setNextInvocationAt(int $nextInvocationAt): self + { + $this->initialized['nextInvocationAt'] = true; + $this->nextInvocationAt = $nextInvocationAt; + + return $this; + } + + public function getTime(): int + { + return $this->time; + } + + public function setTime(int $time): self + { + $this->initialized['time'] = true; + $this->time = $time; + + return $this; + } +} diff --git a/src/Model/PostLoadBalancerRules200ResponseLoadBalancerRule.php b/src/Model/PostLoadBalancerRules200ResponseLoadBalancerRule.php index c61e61d8..254eb958 100644 --- a/src/Model/PostLoadBalancerRules200ResponseLoadBalancerRule.php +++ b/src/Model/PostLoadBalancerRules200ResponseLoadBalancerRule.php @@ -46,7 +46,7 @@ public function isInitialized($property): bool */ protected $proxyProtocol; /** - * @var PostLoadBalancerRulesPartCertificates[] + * @var PostLoadBalancerRules200ResponseLoadBalancerRuleCertificatesItem[] */ protected $certificates; /** @@ -90,7 +90,7 @@ public function isInitialized($property): bool */ protected $checkHttpStatuses; /** - * @var PostLoadBalancerRulesPartLoadBalancer + * @var PostLoadBalancerRules200ResponseLoadBalancerRuleLoadBalancer */ protected $loadBalancer; @@ -173,7 +173,7 @@ public function setProxyProtocol(bool $proxyProtocol): self } /** - * @return PostLoadBalancerRulesPartCertificates[] + * @return PostLoadBalancerRules200ResponseLoadBalancerRuleCertificatesItem[] */ public function getCertificates(): array { @@ -181,7 +181,7 @@ public function getCertificates(): array } /** - * @param PostLoadBalancerRulesPartCertificates[] $certificates + * @param PostLoadBalancerRules200ResponseLoadBalancerRuleCertificatesItem[] $certificates */ public function setCertificates(array $certificates): self { @@ -321,12 +321,12 @@ public function setCheckHttpStatuses(string $checkHttpStatuses): self return $this; } - public function getLoadBalancer(): PostLoadBalancerRulesPartLoadBalancer + public function getLoadBalancer(): PostLoadBalancerRules200ResponseLoadBalancerRuleLoadBalancer { return $this->loadBalancer; } - public function setLoadBalancer(PostLoadBalancerRulesPartLoadBalancer $loadBalancer): self + public function setLoadBalancer(PostLoadBalancerRules200ResponseLoadBalancerRuleLoadBalancer $loadBalancer): self { $this->initialized['loadBalancer'] = true; $this->loadBalancer = $loadBalancer; diff --git a/src/Model/PostLoadBalancerRules200ResponseLoadBalancerRuleCertificatesItem.php b/src/Model/PostLoadBalancerRules200ResponseLoadBalancerRuleCertificatesItem.php new file mode 100644 index 00000000..d95611a8 --- /dev/null +++ b/src/Model/PostLoadBalancerRules200ResponseLoadBalancerRuleCertificatesItem.php @@ -0,0 +1,98 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string[] + */ + protected $additionalNames; + /** + * @var string + */ + protected $state; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + /** + * @return string[] + */ + public function getAdditionalNames(): array + { + return $this->additionalNames; + } + + /** + * @param string[] $additionalNames + */ + public function setAdditionalNames(array $additionalNames): self + { + $this->initialized['additionalNames'] = true; + $this->additionalNames = $additionalNames; + + return $this; + } + + public function getState(): string + { + return $this->state; + } + + public function setState(string $state): self + { + $this->initialized['state'] = true; + $this->state = $state; + + return $this; + } +} diff --git a/src/Model/PostLoadBalancerRules200ResponseLoadBalancerRuleLoadBalancer.php b/src/Model/PostLoadBalancerRules200ResponseLoadBalancerRuleLoadBalancer.php new file mode 100644 index 00000000..feb450b8 --- /dev/null +++ b/src/Model/PostLoadBalancerRules200ResponseLoadBalancerRuleLoadBalancer.php @@ -0,0 +1,58 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/PostOrganizationFileStorageVolumes201ResponseFileStorageVolume.php b/src/Model/PostOrganizationFileStorageVolumes201ResponseFileStorageVolume.php index 9e2b8858..fe42e928 100644 --- a/src/Model/PostOrganizationFileStorageVolumes201ResponseFileStorageVolume.php +++ b/src/Model/PostOrganizationFileStorageVolumes201ResponseFileStorageVolume.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var PostOrganizationFileStorageVolumesPartDataCenter + * @var PostOrganizationFileStorageVolumes201ResponseFileStorageVolumeDataCenter */ protected $dataCenter; /** @@ -44,13 +44,13 @@ public function isInitialized($property): bool /** * The NFS location of where to mount the volume from. * - * @var string + * @var string|null */ protected $nfsLocation; /** * The size of the volume in bytes. * - * @var int + * @var int|null */ protected $size; @@ -80,12 +80,12 @@ public function setName(string $name): self return $this; } - public function getDataCenter(): PostOrganizationFileStorageVolumesPartDataCenter + public function getDataCenter(): PostOrganizationFileStorageVolumes201ResponseFileStorageVolumeDataCenter { return $this->dataCenter; } - public function setDataCenter(PostOrganizationFileStorageVolumesPartDataCenter $dataCenter): self + public function setDataCenter(PostOrganizationFileStorageVolumes201ResponseFileStorageVolumeDataCenter $dataCenter): self { $this->initialized['dataCenter'] = true; $this->dataCenter = $dataCenter; @@ -128,7 +128,7 @@ public function setState(string $state): self /** * The NFS location of where to mount the volume from. */ - public function getNfsLocation(): string + public function getNfsLocation(): ?string { return $this->nfsLocation; } @@ -136,7 +136,7 @@ public function getNfsLocation(): string /** * The NFS location of where to mount the volume from. */ - public function setNfsLocation(string $nfsLocation): self + public function setNfsLocation(?string $nfsLocation): self { $this->initialized['nfsLocation'] = true; $this->nfsLocation = $nfsLocation; @@ -147,7 +147,7 @@ public function setNfsLocation(string $nfsLocation): self /** * The size of the volume in bytes. */ - public function getSize(): int + public function getSize(): ?int { return $this->size; } @@ -155,7 +155,7 @@ public function getSize(): int /** * The size of the volume in bytes. */ - public function setSize(int $size): self + public function setSize(?int $size): self { $this->initialized['size'] = true; $this->size = $size; diff --git a/src/Model/PostOrganizationFileStorageVolumes201ResponseFileStorageVolumeDataCenter.php b/src/Model/PostOrganizationFileStorageVolumes201ResponseFileStorageVolumeDataCenter.php new file mode 100644 index 00000000..d23d75c4 --- /dev/null +++ b/src/Model/PostOrganizationFileStorageVolumes201ResponseFileStorageVolumeDataCenter.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string|null + */ + protected $permalink; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): ?string + { + return $this->permalink; + } + + public function setPermalink(?string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } +} diff --git a/src/Model/PostOrganizationFileStorageVolumesPartDataCenter.php b/src/Model/PostOrganizationFileStorageVolumesPartDataCenter.php index 9ddb9b23..83238e20 100644 --- a/src/Model/PostOrganizationFileStorageVolumesPartDataCenter.php +++ b/src/Model/PostOrganizationFileStorageVolumesPartDataCenter.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; @@ -60,12 +60,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; diff --git a/src/Model/PostOrganizationLoadBalancers200ResponseLoadBalancer.php b/src/Model/PostOrganizationLoadBalancers200ResponseLoadBalancer.php index 16b3acd9..31807c58 100644 --- a/src/Model/PostOrganizationLoadBalancers200ResponseLoadBalancer.php +++ b/src/Model/PostOrganizationLoadBalancers200ResponseLoadBalancer.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $apiReference; /** @@ -46,7 +46,7 @@ public function isInitialized($property): bool */ protected $resourceIds; /** - * @var PostOrganizationLoadBalancersPartIPAddress[] + * @var PostOrganizationLoadBalancers200ResponseLoadBalancerIpAddressItem[] */ protected $ipAddress; /** @@ -62,7 +62,7 @@ public function isInitialized($property): bool */ protected $backendCertificateKey; /** - * @var PostOrganizationLoadBalancersPartDataCenter + * @var PostOrganizationLoadBalancers200ResponseLoadBalancerDataCenter */ protected $dataCenter; /** @@ -70,7 +70,7 @@ public function isInitialized($property): bool */ protected $enableWeighting; /** - * @var PostOrganizationLoadBalancersPartWeights[] + * @var PostOrganizationLoadBalancers200ResponseLoadBalancerWeightsItem[] */ protected $weights; /** @@ -104,12 +104,12 @@ public function setName(string $name): self return $this; } - public function getApiReference(): string + public function getApiReference(): ?string { return $this->apiReference; } - public function setApiReference(string $apiReference): self + public function setApiReference(?string $apiReference): self { $this->initialized['apiReference'] = true; $this->apiReference = $apiReference; @@ -169,7 +169,7 @@ public function setResourceIds(array $resourceIds): self } /** - * @return PostOrganizationLoadBalancersPartIPAddress[] + * @return PostOrganizationLoadBalancers200ResponseLoadBalancerIpAddressItem[] */ public function getIpAddress(): array { @@ -177,7 +177,7 @@ public function getIpAddress(): array } /** - * @param PostOrganizationLoadBalancersPartIPAddress[] $ipAddress + * @param PostOrganizationLoadBalancers200ResponseLoadBalancerIpAddressItem[] $ipAddress */ public function setIpAddress(array $ipAddress): self { @@ -226,12 +226,12 @@ public function setBackendCertificateKey(string $backendCertificateKey): self return $this; } - public function getDataCenter(): PostOrganizationLoadBalancersPartDataCenter + public function getDataCenter(): PostOrganizationLoadBalancers200ResponseLoadBalancerDataCenter { return $this->dataCenter; } - public function setDataCenter(PostOrganizationLoadBalancersPartDataCenter $dataCenter): self + public function setDataCenter(PostOrganizationLoadBalancers200ResponseLoadBalancerDataCenter $dataCenter): self { $this->initialized['dataCenter'] = true; $this->dataCenter = $dataCenter; @@ -253,7 +253,7 @@ public function setEnableWeighting(bool $enableWeighting): self } /** - * @return PostOrganizationLoadBalancersPartWeights[] + * @return PostOrganizationLoadBalancers200ResponseLoadBalancerWeightsItem[] */ public function getWeights(): array { @@ -261,7 +261,7 @@ public function getWeights(): array } /** - * @param PostOrganizationLoadBalancersPartWeights[] $weights + * @param PostOrganizationLoadBalancers200ResponseLoadBalancerWeightsItem[] $weights */ public function setWeights(array $weights): self { diff --git a/src/Model/PostOrganizationLoadBalancers200ResponseLoadBalancerDataCenter.php b/src/Model/PostOrganizationLoadBalancers200ResponseLoadBalancerDataCenter.php new file mode 100644 index 00000000..8b8636b7 --- /dev/null +++ b/src/Model/PostOrganizationLoadBalancers200ResponseLoadBalancerDataCenter.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string|null + */ + protected $permalink; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): ?string + { + return $this->permalink; + } + + public function setPermalink(?string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } +} diff --git a/src/Model/PostOrganizationLoadBalancers200ResponseLoadBalancerIpAddressItem.php b/src/Model/PostOrganizationLoadBalancers200ResponseLoadBalancerIpAddressItem.php new file mode 100644 index 00000000..60ad0e28 --- /dev/null +++ b/src/Model/PostOrganizationLoadBalancers200ResponseLoadBalancerIpAddressItem.php @@ -0,0 +1,58 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $address; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getAddress(): string + { + return $this->address; + } + + public function setAddress(string $address): self + { + $this->initialized['address'] = true; + $this->address = $address; + + return $this; + } +} diff --git a/src/Model/PostOrganizationLoadBalancers200ResponseLoadBalancerWeightsItem.php b/src/Model/PostOrganizationLoadBalancers200ResponseLoadBalancerWeightsItem.php new file mode 100644 index 00000000..f92f56f0 --- /dev/null +++ b/src/Model/PostOrganizationLoadBalancers200ResponseLoadBalancerWeightsItem.php @@ -0,0 +1,58 @@ +initialized); + } + /** + * @var string + */ + protected $virtualMachineId; + /** + * @var int + */ + protected $weight; + + public function getVirtualMachineId(): string + { + return $this->virtualMachineId; + } + + public function setVirtualMachineId(string $virtualMachineId): self + { + $this->initialized['virtualMachineId'] = true; + $this->virtualMachineId = $virtualMachineId; + + return $this; + } + + public function getWeight(): int + { + return $this->weight; + } + + public function setWeight(int $weight): self + { + $this->initialized['weight'] = true; + $this->weight = $weight; + + return $this; + } +} diff --git a/src/Model/PostOrganizationLoadBalancersPartDataCenter.php b/src/Model/PostOrganizationLoadBalancersPartDataCenter.php index 36b30750..325ffb2c 100644 --- a/src/Model/PostOrganizationLoadBalancersPartDataCenter.php +++ b/src/Model/PostOrganizationLoadBalancersPartDataCenter.php @@ -30,7 +30,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; @@ -60,12 +60,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; diff --git a/src/Model/PostOrganizationManaged201ResponseOrganization.php b/src/Model/PostOrganizationManaged201ResponseOrganization.php index d98dfbe4..c481bf78 100644 --- a/src/Model/PostOrganizationManaged201ResponseOrganization.php +++ b/src/Model/PostOrganizationManaged201ResponseOrganization.php @@ -50,47 +50,47 @@ public function isInitialized($property): bool */ protected $managed; /** - * @var string + * @var string|null */ protected $billingName; /** - * @var string + * @var string|null */ protected $address1; /** - * @var string + * @var string|null */ protected $address2; /** - * @var string + * @var string|null */ protected $address3; /** - * @var string + * @var string|null */ protected $address4; /** - * @var string + * @var string|null */ protected $postcode; /** - * @var string + * @var string|null */ protected $vatNumber; /** - * @var string + * @var string|null */ protected $phoneNumber; /** - * @var PostOrganizationManagedPartCurrency + * @var PostOrganizationManaged201ResponseOrganizationCurrency */ protected $currency; /** - * @var PostOrganizationManagedPartCountry + * @var PostOrganizationManaged201ResponseOrganizationCountry|null */ protected $country; /** - * @var PostOrganizationManagedPartCountryState + * @var PostOrganizationManaged201ResponseOrganizationCountryState|null */ protected $countryState; @@ -185,12 +185,12 @@ public function setManaged(bool $managed): self return $this; } - public function getBillingName(): string + public function getBillingName(): ?string { return $this->billingName; } - public function setBillingName(string $billingName): self + public function setBillingName(?string $billingName): self { $this->initialized['billingName'] = true; $this->billingName = $billingName; @@ -198,12 +198,12 @@ public function setBillingName(string $billingName): self return $this; } - public function getAddress1(): string + public function getAddress1(): ?string { return $this->address1; } - public function setAddress1(string $address1): self + public function setAddress1(?string $address1): self { $this->initialized['address1'] = true; $this->address1 = $address1; @@ -211,12 +211,12 @@ public function setAddress1(string $address1): self return $this; } - public function getAddress2(): string + public function getAddress2(): ?string { return $this->address2; } - public function setAddress2(string $address2): self + public function setAddress2(?string $address2): self { $this->initialized['address2'] = true; $this->address2 = $address2; @@ -224,12 +224,12 @@ public function setAddress2(string $address2): self return $this; } - public function getAddress3(): string + public function getAddress3(): ?string { return $this->address3; } - public function setAddress3(string $address3): self + public function setAddress3(?string $address3): self { $this->initialized['address3'] = true; $this->address3 = $address3; @@ -237,12 +237,12 @@ public function setAddress3(string $address3): self return $this; } - public function getAddress4(): string + public function getAddress4(): ?string { return $this->address4; } - public function setAddress4(string $address4): self + public function setAddress4(?string $address4): self { $this->initialized['address4'] = true; $this->address4 = $address4; @@ -250,12 +250,12 @@ public function setAddress4(string $address4): self return $this; } - public function getPostcode(): string + public function getPostcode(): ?string { return $this->postcode; } - public function setPostcode(string $postcode): self + public function setPostcode(?string $postcode): self { $this->initialized['postcode'] = true; $this->postcode = $postcode; @@ -263,12 +263,12 @@ public function setPostcode(string $postcode): self return $this; } - public function getVatNumber(): string + public function getVatNumber(): ?string { return $this->vatNumber; } - public function setVatNumber(string $vatNumber): self + public function setVatNumber(?string $vatNumber): self { $this->initialized['vatNumber'] = true; $this->vatNumber = $vatNumber; @@ -276,12 +276,12 @@ public function setVatNumber(string $vatNumber): self return $this; } - public function getPhoneNumber(): string + public function getPhoneNumber(): ?string { return $this->phoneNumber; } - public function setPhoneNumber(string $phoneNumber): self + public function setPhoneNumber(?string $phoneNumber): self { $this->initialized['phoneNumber'] = true; $this->phoneNumber = $phoneNumber; @@ -289,12 +289,12 @@ public function setPhoneNumber(string $phoneNumber): self return $this; } - public function getCurrency(): PostOrganizationManagedPartCurrency + public function getCurrency(): PostOrganizationManaged201ResponseOrganizationCurrency { return $this->currency; } - public function setCurrency(PostOrganizationManagedPartCurrency $currency): self + public function setCurrency(PostOrganizationManaged201ResponseOrganizationCurrency $currency): self { $this->initialized['currency'] = true; $this->currency = $currency; @@ -302,12 +302,12 @@ public function setCurrency(PostOrganizationManagedPartCurrency $currency): self return $this; } - public function getCountry(): PostOrganizationManagedPartCountry + public function getCountry(): ?PostOrganizationManaged201ResponseOrganizationCountry { return $this->country; } - public function setCountry(PostOrganizationManagedPartCountry $country): self + public function setCountry(?PostOrganizationManaged201ResponseOrganizationCountry $country): self { $this->initialized['country'] = true; $this->country = $country; @@ -315,12 +315,12 @@ public function setCountry(PostOrganizationManagedPartCountry $country): self return $this; } - public function getCountryState(): PostOrganizationManagedPartCountryState + public function getCountryState(): ?PostOrganizationManaged201ResponseOrganizationCountryState { return $this->countryState; } - public function setCountryState(PostOrganizationManagedPartCountryState $countryState): self + public function setCountryState(?PostOrganizationManaged201ResponseOrganizationCountryState $countryState): self { $this->initialized['countryState'] = true; $this->countryState = $countryState; diff --git a/src/Model/PostOrganizationManaged201ResponseOrganizationCountry.php b/src/Model/PostOrganizationManaged201ResponseOrganizationCountry.php new file mode 100644 index 00000000..80e938ce --- /dev/null +++ b/src/Model/PostOrganizationManaged201ResponseOrganizationCountry.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $isoCode2; + /** + * @var string + */ + protected $isoCode3; + /** + * @var string|null + */ + protected $timeZone; + /** + * @var bool + */ + protected $eu; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getIsoCode2(): string + { + return $this->isoCode2; + } + + public function setIsoCode2(string $isoCode2): self + { + $this->initialized['isoCode2'] = true; + $this->isoCode2 = $isoCode2; + + return $this; + } + + public function getIsoCode3(): string + { + return $this->isoCode3; + } + + public function setIsoCode3(string $isoCode3): self + { + $this->initialized['isoCode3'] = true; + $this->isoCode3 = $isoCode3; + + return $this; + } + + public function getTimeZone(): ?string + { + return $this->timeZone; + } + + public function setTimeZone(?string $timeZone): self + { + $this->initialized['timeZone'] = true; + $this->timeZone = $timeZone; + + return $this; + } + + public function getEu(): bool + { + return $this->eu; + } + + public function setEu(bool $eu): self + { + $this->initialized['eu'] = true; + $this->eu = $eu; + + return $this; + } +} diff --git a/src/Model/PostOrganizationManaged201ResponseOrganizationCountryState.php b/src/Model/PostOrganizationManaged201ResponseOrganizationCountryState.php new file mode 100644 index 00000000..a7807310 --- /dev/null +++ b/src/Model/PostOrganizationManaged201ResponseOrganizationCountryState.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $code; + /** + * @var PostOrganizationManagedPartCountryStateCountry + */ + protected $country; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getCode(): string + { + return $this->code; + } + + public function setCode(string $code): self + { + $this->initialized['code'] = true; + $this->code = $code; + + return $this; + } + + public function getCountry(): PostOrganizationManagedPartCountryStateCountry + { + return $this->country; + } + + public function setCountry(PostOrganizationManagedPartCountryStateCountry $country): self + { + $this->initialized['country'] = true; + $this->country = $country; + + return $this; + } +} diff --git a/src/Model/PostOrganizationManaged201ResponseOrganizationCurrency.php b/src/Model/PostOrganizationManaged201ResponseOrganizationCurrency.php new file mode 100644 index 00000000..c51661ea --- /dev/null +++ b/src/Model/PostOrganizationManaged201ResponseOrganizationCurrency.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $isoCode; + /** + * @var string + */ + protected $symbol; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getIsoCode(): string + { + return $this->isoCode; + } + + public function setIsoCode(string $isoCode): self + { + $this->initialized['isoCode'] = true; + $this->isoCode = $isoCode; + + return $this; + } + + public function getSymbol(): string + { + return $this->symbol; + } + + public function setSymbol(string $symbol): self + { + $this->initialized['symbol'] = true; + $this->symbol = $symbol; + + return $this; + } +} diff --git a/src/Model/PostOrganizationManagedPartCountry.php b/src/Model/PostOrganizationManagedPartCountry.php index e9325945..8c58e72f 100644 --- a/src/Model/PostOrganizationManagedPartCountry.php +++ b/src/Model/PostOrganizationManagedPartCountry.php @@ -38,7 +38,7 @@ public function isInitialized($property): bool */ protected $isoCode3; /** - * @var string + * @var string|null */ protected $timeZone; /** @@ -98,12 +98,12 @@ public function setIsoCode3(string $isoCode3): self return $this; } - public function getTimeZone(): string + public function getTimeZone(): ?string { return $this->timeZone; } - public function setTimeZone(string $timeZone): self + public function setTimeZone(?string $timeZone): self { $this->initialized['timeZone'] = true; $this->timeZone = $timeZone; diff --git a/src/Model/PostOrganizationManagedPartCountryState.php b/src/Model/PostOrganizationManagedPartCountryState.php index c68f6d36..2fdcef66 100644 --- a/src/Model/PostOrganizationManagedPartCountryState.php +++ b/src/Model/PostOrganizationManagedPartCountryState.php @@ -34,7 +34,7 @@ public function isInitialized($property): bool */ protected $code; /** - * @var PostOrganizationManagedPartCountry + * @var PostOrganizationManagedPartCountryStateCountry */ protected $country; @@ -77,12 +77,12 @@ public function setCode(string $code): self return $this; } - public function getCountry(): PostOrganizationManagedPartCountry + public function getCountry(): PostOrganizationManagedPartCountryStateCountry { return $this->country; } - public function setCountry(PostOrganizationManagedPartCountry $country): self + public function setCountry(PostOrganizationManagedPartCountryStateCountry $country): self { $this->initialized['country'] = true; $this->country = $country; diff --git a/src/Model/PostOrganizationManagedPartCountryStateCountry.php b/src/Model/PostOrganizationManagedPartCountryStateCountry.php new file mode 100644 index 00000000..94ed7210 --- /dev/null +++ b/src/Model/PostOrganizationManagedPartCountryStateCountry.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $isoCode2; + /** + * @var string + */ + protected $isoCode3; + /** + * @var string|null + */ + protected $timeZone; + /** + * @var bool + */ + protected $eu; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getIsoCode2(): string + { + return $this->isoCode2; + } + + public function setIsoCode2(string $isoCode2): self + { + $this->initialized['isoCode2'] = true; + $this->isoCode2 = $isoCode2; + + return $this; + } + + public function getIsoCode3(): string + { + return $this->isoCode3; + } + + public function setIsoCode3(string $isoCode3): self + { + $this->initialized['isoCode3'] = true; + $this->isoCode3 = $isoCode3; + + return $this; + } + + public function getTimeZone(): ?string + { + return $this->timeZone; + } + + public function setTimeZone(?string $timeZone): self + { + $this->initialized['timeZone'] = true; + $this->timeZone = $timeZone; + + return $this; + } + + public function getEu(): bool + { + return $this->eu; + } + + public function setEu(bool $eu): self + { + $this->initialized['eu'] = true; + $this->eu = $eu; + + return $this; + } +} diff --git a/src/Model/PostSecurityGroupRules200ResponseSecurityGroupRule.php b/src/Model/PostSecurityGroupRules200ResponseSecurityGroupRule.php index a18933d8..b3e0f0a2 100644 --- a/src/Model/PostSecurityGroupRules200ResponseSecurityGroupRule.php +++ b/src/Model/PostSecurityGroupRules200ResponseSecurityGroupRule.php @@ -26,7 +26,7 @@ public function isInitialized($property): bool */ protected $id; /** - * @var PostSecurityGroupRulesPartSecurityGroup + * @var PostSecurityGroupRules200ResponseSecurityGroupRuleSecurityGroup */ protected $securityGroup; /** @@ -42,7 +42,7 @@ public function isInitialized($property): bool */ protected $action; /** - * @var string + * @var string|null */ protected $ports; /** @@ -50,7 +50,7 @@ public function isInitialized($property): bool */ protected $targets; /** - * @var string + * @var string|null */ protected $notes; @@ -67,12 +67,12 @@ public function setId(string $id): self return $this; } - public function getSecurityGroup(): PostSecurityGroupRulesPartSecurityGroup + public function getSecurityGroup(): PostSecurityGroupRules200ResponseSecurityGroupRuleSecurityGroup { return $this->securityGroup; } - public function setSecurityGroup(PostSecurityGroupRulesPartSecurityGroup $securityGroup): self + public function setSecurityGroup(PostSecurityGroupRules200ResponseSecurityGroupRuleSecurityGroup $securityGroup): self { $this->initialized['securityGroup'] = true; $this->securityGroup = $securityGroup; @@ -119,12 +119,12 @@ public function setAction(string $action): self return $this; } - public function getPorts(): string + public function getPorts(): ?string { return $this->ports; } - public function setPorts(string $ports): self + public function setPorts(?string $ports): self { $this->initialized['ports'] = true; $this->ports = $ports; @@ -151,12 +151,12 @@ public function setTargets(array $targets): self return $this; } - public function getNotes(): string + public function getNotes(): ?string { return $this->notes; } - public function setNotes(string $notes): self + public function setNotes(?string $notes): self { $this->initialized['notes'] = true; $this->notes = $notes; diff --git a/src/Model/PostSecurityGroupRules200ResponseSecurityGroupRuleSecurityGroup.php b/src/Model/PostSecurityGroupRules200ResponseSecurityGroupRuleSecurityGroup.php new file mode 100644 index 00000000..6d9173a6 --- /dev/null +++ b/src/Model/PostSecurityGroupRules200ResponseSecurityGroupRuleSecurityGroup.php @@ -0,0 +1,58 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/PostVirtualMachineConsoleSessions201ResponseConsoleSession.php b/src/Model/PostVirtualMachineConsoleSessions201ResponseConsoleSession.php index 55ba47d0..ecd1f7c5 100644 --- a/src/Model/PostVirtualMachineConsoleSessions201ResponseConsoleSession.php +++ b/src/Model/PostVirtualMachineConsoleSessions201ResponseConsoleSession.php @@ -34,7 +34,7 @@ public function isInitialized($property): bool */ protected $expiresAt; /** - * @var PostVirtualMachineConsoleSessionsPartVirtualMachine + * @var PostVirtualMachineConsoleSessions201ResponseConsoleSessionVirtualMachine */ protected $virtualMachine; @@ -77,12 +77,12 @@ public function setExpiresAt(int $expiresAt): self return $this; } - public function getVirtualMachine(): PostVirtualMachineConsoleSessionsPartVirtualMachine + public function getVirtualMachine(): PostVirtualMachineConsoleSessions201ResponseConsoleSessionVirtualMachine { return $this->virtualMachine; } - public function setVirtualMachine(PostVirtualMachineConsoleSessionsPartVirtualMachine $virtualMachine): self + public function setVirtualMachine(PostVirtualMachineConsoleSessions201ResponseConsoleSessionVirtualMachine $virtualMachine): self { $this->initialized['virtualMachine'] = true; $this->virtualMachine = $virtualMachine; diff --git a/src/Model/PostVirtualMachineConsoleSessions201ResponseConsoleSessionVirtualMachine.php b/src/Model/PostVirtualMachineConsoleSessions201ResponseConsoleSessionVirtualMachine.php new file mode 100644 index 00000000..3dfa4e88 --- /dev/null +++ b/src/Model/PostVirtualMachineConsoleSessions201ResponseConsoleSessionVirtualMachine.php @@ -0,0 +1,109 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $hostname; + /** + * @var string + */ + protected $fqdn; + /** + * @var string + */ + protected $state; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getHostname(): string + { + return $this->hostname; + } + + public function setHostname(string $hostname): self + { + $this->initialized['hostname'] = true; + $this->hostname = $hostname; + + return $this; + } + + public function getFqdn(): string + { + return $this->fqdn; + } + + public function setFqdn(string $fqdn): self + { + $this->initialized['fqdn'] = true; + $this->fqdn = $fqdn; + + return $this; + } + + public function getState(): string + { + return $this->state; + } + + public function setState(string $state): self + { + $this->initialized['state'] = true; + $this->state = $state; + + return $this; + } +} diff --git a/src/Model/PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicy.php b/src/Model/PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicy.php index 43363c9d..837a9ac3 100644 --- a/src/Model/PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicy.php +++ b/src/Model/PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicy.php @@ -38,11 +38,11 @@ public function isInitialized($property): bool */ protected $target; /** - * @var PostVirtualMachineDiskBackupPoliciesPartSchedule + * @var PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicySchedule */ protected $schedule; /** - * @var int + * @var int|null */ protected $autoMoveToTrashAt; @@ -98,12 +98,12 @@ public function setTarget(DiskBackupPolicyTarget $target): self return $this; } - public function getSchedule(): PostVirtualMachineDiskBackupPoliciesPartSchedule + public function getSchedule(): PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicySchedule { return $this->schedule; } - public function setSchedule(PostVirtualMachineDiskBackupPoliciesPartSchedule $schedule): self + public function setSchedule(PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicySchedule $schedule): self { $this->initialized['schedule'] = true; $this->schedule = $schedule; @@ -111,12 +111,12 @@ public function setSchedule(PostVirtualMachineDiskBackupPoliciesPartSchedule $sc return $this; } - public function getAutoMoveToTrashAt(): int + public function getAutoMoveToTrashAt(): ?int { return $this->autoMoveToTrashAt; } - public function setAutoMoveToTrashAt(int $autoMoveToTrashAt): self + public function setAutoMoveToTrashAt(?int $autoMoveToTrashAt): self { $this->initialized['autoMoveToTrashAt'] = true; $this->autoMoveToTrashAt = $autoMoveToTrashAt; diff --git a/src/Model/PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicySchedule.php b/src/Model/PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicySchedule.php new file mode 100644 index 00000000..46e67d02 --- /dev/null +++ b/src/Model/PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicySchedule.php @@ -0,0 +1,109 @@ +initialized); + } + /** + * @var int + */ + protected $frequency; + /** + * @var string + */ + protected $interval; + /** + * @var int + */ + protected $minute; + /** + * @var int + */ + protected $nextInvocationAt; + /** + * @var int + */ + protected $time; + + public function getFrequency(): int + { + return $this->frequency; + } + + public function setFrequency(int $frequency): self + { + $this->initialized['frequency'] = true; + $this->frequency = $frequency; + + return $this; + } + + public function getInterval(): string + { + return $this->interval; + } + + public function setInterval(string $interval): self + { + $this->initialized['interval'] = true; + $this->interval = $interval; + + return $this; + } + + public function getMinute(): int + { + return $this->minute; + } + + public function setMinute(int $minute): self + { + $this->initialized['minute'] = true; + $this->minute = $minute; + + return $this; + } + + public function getNextInvocationAt(): int + { + return $this->nextInvocationAt; + } + + public function setNextInvocationAt(int $nextInvocationAt): self + { + $this->initialized['nextInvocationAt'] = true; + $this->nextInvocationAt = $nextInvocationAt; + + return $this; + } + + public function getTime(): int + { + return $this->time; + } + + public function setTime(int $time): self + { + $this->initialized['time'] = true; + $this->time = $time; + + return $this; + } +} diff --git a/src/Model/PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterface.php b/src/Model/PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterface.php index f97c7b79..9c398c3b 100644 --- a/src/Model/PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterface.php +++ b/src/Model/PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterface.php @@ -26,7 +26,7 @@ public function isInitialized($property): bool */ protected $id; /** - * @var PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine + * @var PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceVirtualMachine */ protected $virtualMachine; /** @@ -34,7 +34,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork + * @var PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceNetwork */ protected $network; /** @@ -46,7 +46,7 @@ public function isInitialized($property): bool */ protected $state; /** - * @var PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses[] + * @var PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceIpAddressesItem[] */ protected $ipAddresses; @@ -63,12 +63,12 @@ public function setId(string $id): self return $this; } - public function getVirtualMachine(): PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine + public function getVirtualMachine(): PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceVirtualMachine { return $this->virtualMachine; } - public function setVirtualMachine(PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine $virtualMachine): self + public function setVirtualMachine(PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceVirtualMachine $virtualMachine): self { $this->initialized['virtualMachine'] = true; $this->virtualMachine = $virtualMachine; @@ -89,12 +89,12 @@ public function setName(string $name): self return $this; } - public function getNetwork(): PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork + public function getNetwork(): PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceNetwork { return $this->network; } - public function setNetwork(PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork $network): self + public function setNetwork(PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceNetwork $network): self { $this->initialized['network'] = true; $this->network = $network; @@ -129,7 +129,7 @@ public function setState(string $state): self } /** - * @return PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses[] + * @return PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceIpAddressesItem[] */ public function getIpAddresses(): array { @@ -137,7 +137,7 @@ public function getIpAddresses(): array } /** - * @param PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses[] $ipAddresses + * @param PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceIpAddressesItem[] $ipAddresses */ public function setIpAddresses(array $ipAddresses): self { diff --git a/src/Model/PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceIpAddressesItem.php b/src/Model/PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceIpAddressesItem.php new file mode 100644 index 00000000..de4319d9 --- /dev/null +++ b/src/Model/PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceIpAddressesItem.php @@ -0,0 +1,58 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $address; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getAddress(): string + { + return $this->address; + } + + public function setAddress(string $address): self + { + $this->initialized['address'] = true; + $this->address = $address; + + return $this; + } +} diff --git a/src/Model/PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceNetwork.php b/src/Model/PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceNetwork.php new file mode 100644 index 00000000..8158c0ca --- /dev/null +++ b/src/Model/PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceNetwork.php @@ -0,0 +1,58 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceVirtualMachine.php b/src/Model/PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceVirtualMachine.php new file mode 100644 index 00000000..497bee6c --- /dev/null +++ b/src/Model/PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceVirtualMachine.php @@ -0,0 +1,58 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } +} diff --git a/src/Model/RecordContentAttributesForA.php b/src/Model/RecordContentAttributesForA.php index ea7b1aea..00bd37a8 100644 --- a/src/Model/RecordContentAttributesForA.php +++ b/src/Model/RecordContentAttributesForA.php @@ -22,16 +22,16 @@ public function isInitialized($property): bool return array_key_exists($property, $this->initialized); } /** - * @var string + * @var string|null */ protected $ipAddress; - public function getIpAddress(): string + public function getIpAddress(): ?string { return $this->ipAddress; } - public function setIpAddress(string $ipAddress): self + public function setIpAddress(?string $ipAddress): self { $this->initialized['ipAddress'] = true; $this->ipAddress = $ipAddress; diff --git a/src/Model/RecordContentAttributesForAAAA.php b/src/Model/RecordContentAttributesForAAAA.php index 9a36589a..d224c962 100644 --- a/src/Model/RecordContentAttributesForAAAA.php +++ b/src/Model/RecordContentAttributesForAAAA.php @@ -22,16 +22,16 @@ public function isInitialized($property): bool return array_key_exists($property, $this->initialized); } /** - * @var string + * @var string|null */ protected $ipAddress; - public function getIpAddress(): string + public function getIpAddress(): ?string { return $this->ipAddress; } - public function setIpAddress(string $ipAddress): self + public function setIpAddress(?string $ipAddress): self { $this->initialized['ipAddress'] = true; $this->ipAddress = $ipAddress; diff --git a/src/Model/RecordContentAttributesForALIAS.php b/src/Model/RecordContentAttributesForALIAS.php index bd3f667b..465510fb 100644 --- a/src/Model/RecordContentAttributesForALIAS.php +++ b/src/Model/RecordContentAttributesForALIAS.php @@ -22,16 +22,16 @@ public function isInitialized($property): bool return array_key_exists($property, $this->initialized); } /** - * @var string + * @var string|null */ protected $hostname; - public function getHostname(): string + public function getHostname(): ?string { return $this->hostname; } - public function setHostname(string $hostname): self + public function setHostname(?string $hostname): self { $this->initialized['hostname'] = true; $this->hostname = $hostname; diff --git a/src/Model/RecordContentAttributesForCAA.php b/src/Model/RecordContentAttributesForCAA.php index 46913c2c..437b9be1 100644 --- a/src/Model/RecordContentAttributesForCAA.php +++ b/src/Model/RecordContentAttributesForCAA.php @@ -22,24 +22,24 @@ public function isInitialized($property): bool return array_key_exists($property, $this->initialized); } /** - * @var string + * @var string|null */ protected $flag; /** - * @var string + * @var string|null */ protected $tag; /** - * @var string + * @var string|null */ protected $value; - public function getFlag(): string + public function getFlag(): ?string { return $this->flag; } - public function setFlag(string $flag): self + public function setFlag(?string $flag): self { $this->initialized['flag'] = true; $this->flag = $flag; @@ -47,12 +47,12 @@ public function setFlag(string $flag): self return $this; } - public function getTag(): string + public function getTag(): ?string { return $this->tag; } - public function setTag(string $tag): self + public function setTag(?string $tag): self { $this->initialized['tag'] = true; $this->tag = $tag; @@ -60,12 +60,12 @@ public function setTag(string $tag): self return $this; } - public function getValue(): string + public function getValue(): ?string { return $this->value; } - public function setValue(string $value): self + public function setValue(?string $value): self { $this->initialized['value'] = true; $this->value = $value; diff --git a/src/Model/RecordContentAttributesForCNAME.php b/src/Model/RecordContentAttributesForCNAME.php index 473ba6cc..625355a9 100644 --- a/src/Model/RecordContentAttributesForCNAME.php +++ b/src/Model/RecordContentAttributesForCNAME.php @@ -22,16 +22,16 @@ public function isInitialized($property): bool return array_key_exists($property, $this->initialized); } /** - * @var string + * @var string|null */ protected $hostname; - public function getHostname(): string + public function getHostname(): ?string { return $this->hostname; } - public function setHostname(string $hostname): self + public function setHostname(?string $hostname): self { $this->initialized['hostname'] = true; $this->hostname = $hostname; diff --git a/src/Model/RecordContentAttributesForIPS.php b/src/Model/RecordContentAttributesForIPS.php index 0a0ffdb8..50b4369d 100644 --- a/src/Model/RecordContentAttributesForIPS.php +++ b/src/Model/RecordContentAttributesForIPS.php @@ -22,16 +22,16 @@ public function isInitialized($property): bool return array_key_exists($property, $this->initialized); } /** - * @var string + * @var string|null */ protected $ipAddresses; - public function getIpAddresses(): string + public function getIpAddresses(): ?string { return $this->ipAddresses; } - public function setIpAddresses(string $ipAddresses): self + public function setIpAddresses(?string $ipAddresses): self { $this->initialized['ipAddresses'] = true; $this->ipAddresses = $ipAddresses; diff --git a/src/Model/RecordContentAttributesForMX.php b/src/Model/RecordContentAttributesForMX.php index 8daad91f..1bb1121a 100644 --- a/src/Model/RecordContentAttributesForMX.php +++ b/src/Model/RecordContentAttributesForMX.php @@ -22,16 +22,16 @@ public function isInitialized($property): bool return array_key_exists($property, $this->initialized); } /** - * @var string + * @var string|null */ protected $hostname; - public function getHostname(): string + public function getHostname(): ?string { return $this->hostname; } - public function setHostname(string $hostname): self + public function setHostname(?string $hostname): self { $this->initialized['hostname'] = true; $this->hostname = $hostname; diff --git a/src/Model/RecordContentAttributesForNS.php b/src/Model/RecordContentAttributesForNS.php index e0102b2f..6d78008a 100644 --- a/src/Model/RecordContentAttributesForNS.php +++ b/src/Model/RecordContentAttributesForNS.php @@ -22,16 +22,16 @@ public function isInitialized($property): bool return array_key_exists($property, $this->initialized); } /** - * @var string + * @var string|null */ protected $hostname; - public function getHostname(): string + public function getHostname(): ?string { return $this->hostname; } - public function setHostname(string $hostname): self + public function setHostname(?string $hostname): self { $this->initialized['hostname'] = true; $this->hostname = $hostname; diff --git a/src/Model/RecordContentAttributesForPTR.php b/src/Model/RecordContentAttributesForPTR.php index dc3c3a4a..b453f4d8 100644 --- a/src/Model/RecordContentAttributesForPTR.php +++ b/src/Model/RecordContentAttributesForPTR.php @@ -22,16 +22,16 @@ public function isInitialized($property): bool return array_key_exists($property, $this->initialized); } /** - * @var string + * @var string|null */ protected $hostname; - public function getHostname(): string + public function getHostname(): ?string { return $this->hostname; } - public function setHostname(string $hostname): self + public function setHostname(?string $hostname): self { $this->initialized['hostname'] = true; $this->hostname = $hostname; diff --git a/src/Model/RecordContentAttributesForSRV.php b/src/Model/RecordContentAttributesForSRV.php index 22a84eb8..12104314 100644 --- a/src/Model/RecordContentAttributesForSRV.php +++ b/src/Model/RecordContentAttributesForSRV.php @@ -22,24 +22,24 @@ public function isInitialized($property): bool return array_key_exists($property, $this->initialized); } /** - * @var string + * @var string|null */ protected $weight; /** - * @var string + * @var string|null */ protected $port; /** - * @var string + * @var string|null */ protected $target; - public function getWeight(): string + public function getWeight(): ?string { return $this->weight; } - public function setWeight(string $weight): self + public function setWeight(?string $weight): self { $this->initialized['weight'] = true; $this->weight = $weight; @@ -47,12 +47,12 @@ public function setWeight(string $weight): self return $this; } - public function getPort(): string + public function getPort(): ?string { return $this->port; } - public function setPort(string $port): self + public function setPort(?string $port): self { $this->initialized['port'] = true; $this->port = $port; @@ -60,12 +60,12 @@ public function setPort(string $port): self return $this; } - public function getTarget(): string + public function getTarget(): ?string { return $this->target; } - public function setTarget(string $target): self + public function setTarget(?string $target): self { $this->initialized['target'] = true; $this->target = $target; diff --git a/src/Model/RecordContentAttributesForSSHFP.php b/src/Model/RecordContentAttributesForSSHFP.php index 498d3b47..21ddc521 100644 --- a/src/Model/RecordContentAttributesForSSHFP.php +++ b/src/Model/RecordContentAttributesForSSHFP.php @@ -22,24 +22,24 @@ public function isInitialized($property): bool return array_key_exists($property, $this->initialized); } /** - * @var string + * @var string|null */ protected $algorithm; /** - * @var string + * @var string|null */ protected $fingerprintType; /** - * @var string + * @var string|null */ protected $fingerprint; - public function getAlgorithm(): string + public function getAlgorithm(): ?string { return $this->algorithm; } - public function setAlgorithm(string $algorithm): self + public function setAlgorithm(?string $algorithm): self { $this->initialized['algorithm'] = true; $this->algorithm = $algorithm; @@ -47,12 +47,12 @@ public function setAlgorithm(string $algorithm): self return $this; } - public function getFingerprintType(): string + public function getFingerprintType(): ?string { return $this->fingerprintType; } - public function setFingerprintType(string $fingerprintType): self + public function setFingerprintType(?string $fingerprintType): self { $this->initialized['fingerprintType'] = true; $this->fingerprintType = $fingerprintType; @@ -60,12 +60,12 @@ public function setFingerprintType(string $fingerprintType): self return $this; } - public function getFingerprint(): string + public function getFingerprint(): ?string { return $this->fingerprint; } - public function setFingerprint(string $fingerprint): self + public function setFingerprint(?string $fingerprint): self { $this->initialized['fingerprint'] = true; $this->fingerprint = $fingerprint; diff --git a/src/Model/RecordContentAttributesForTXT.php b/src/Model/RecordContentAttributesForTXT.php index acb3d362..4d22753e 100644 --- a/src/Model/RecordContentAttributesForTXT.php +++ b/src/Model/RecordContentAttributesForTXT.php @@ -22,16 +22,16 @@ public function isInitialized($property): bool return array_key_exists($property, $this->initialized); } /** - * @var string + * @var string|null */ protected $content; - public function getContent(): string + public function getContent(): ?string { return $this->content; } - public function setContent(string $content): self + public function setContent(?string $content): self { $this->initialized['content'] = true; $this->content = $content; diff --git a/src/Model/RecordContentAttributesForVirtualMachine.php b/src/Model/RecordContentAttributesForVirtualMachine.php index 8ad13c68..b0edab1f 100644 --- a/src/Model/RecordContentAttributesForVirtualMachine.php +++ b/src/Model/RecordContentAttributesForVirtualMachine.php @@ -22,16 +22,16 @@ public function isInitialized($property): bool return array_key_exists($property, $this->initialized); } /** - * @var string + * @var string|null */ protected $virtualMachine; - public function getVirtualMachine(): string + public function getVirtualMachine(): ?string { return $this->virtualMachine; } - public function setVirtualMachine(string $virtualMachine): self + public function setVirtualMachine(?string $virtualMachine): self { $this->initialized['virtualMachine'] = true; $this->virtualMachine = $virtualMachine; diff --git a/src/Model/SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRule.php b/src/Model/SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRule.php index dd33bec0..378a4bdb 100644 --- a/src/Model/SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRule.php +++ b/src/Model/SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRule.php @@ -26,7 +26,7 @@ public function isInitialized($property): bool */ protected $id; /** - * @var GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup + * @var GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroup */ protected $securityGroup; /** @@ -42,7 +42,7 @@ public function isInitialized($property): bool */ protected $action; /** - * @var string + * @var string|null */ protected $ports; /** @@ -50,7 +50,7 @@ public function isInitialized($property): bool */ protected $targets; /** - * @var string + * @var string|null */ protected $notes; @@ -67,12 +67,12 @@ public function setId(string $id): self return $this; } - public function getSecurityGroup(): GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup + public function getSecurityGroup(): GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroup { return $this->securityGroup; } - public function setSecurityGroup(GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup $securityGroup): self + public function setSecurityGroup(GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroup $securityGroup): self { $this->initialized['securityGroup'] = true; $this->securityGroup = $securityGroup; @@ -119,12 +119,12 @@ public function setAction(string $action): self return $this; } - public function getPorts(): string + public function getPorts(): ?string { return $this->ports; } - public function setPorts(string $ports): self + public function setPorts(?string $ports): self { $this->initialized['ports'] = true; $this->ports = $ports; @@ -151,12 +151,12 @@ public function setTargets(array $targets): self return $this; } - public function getNotes(): string + public function getNotes(): ?string { return $this->notes; } - public function setNotes(string $notes): self + public function setNotes(?string $notes): self { $this->initialized['notes'] = true; $this->notes = $notes; diff --git a/src/Model/SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRule.php b/src/Model/SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRule.php index df801516..cf632eb9 100644 --- a/src/Model/SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRule.php +++ b/src/Model/SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRule.php @@ -26,7 +26,7 @@ public function isInitialized($property): bool */ protected $id; /** - * @var PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup + * @var PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroup */ protected $securityGroup; /** @@ -42,7 +42,7 @@ public function isInitialized($property): bool */ protected $action; /** - * @var string + * @var string|null */ protected $ports; /** @@ -50,7 +50,7 @@ public function isInitialized($property): bool */ protected $targets; /** - * @var string + * @var string|null */ protected $notes; @@ -67,12 +67,12 @@ public function setId(string $id): self return $this; } - public function getSecurityGroup(): PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup + public function getSecurityGroup(): PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroup { return $this->securityGroup; } - public function setSecurityGroup(PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup $securityGroup): self + public function setSecurityGroup(PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroup $securityGroup): self { $this->initialized['securityGroup'] = true; $this->securityGroup = $securityGroup; @@ -119,12 +119,12 @@ public function setAction(string $action): self return $this; } - public function getPorts(): string + public function getPorts(): ?string { return $this->ports; } - public function setPorts(string $ports): self + public function setPorts(?string $ports): self { $this->initialized['ports'] = true; $this->ports = $ports; @@ -151,12 +151,12 @@ public function setTargets(array $targets): self return $this; } - public function getNotes(): string + public function getNotes(): ?string { return $this->notes; } - public function setNotes(string $notes): self + public function setNotes(?string $notes): self { $this->initialized['notes'] = true; $this->notes = $notes; diff --git a/src/Model/SecurityGroupsSecurityGroupRulesGetResponse200Pagination.php b/src/Model/SecurityGroupsSecurityGroupRulesGetResponse200Pagination.php index a56303c7..af433425 100644 --- a/src/Model/SecurityGroupsSecurityGroupRulesGetResponse200Pagination.php +++ b/src/Model/SecurityGroupsSecurityGroupRulesGetResponse200Pagination.php @@ -30,13 +30,13 @@ public function isInitialized($property): bool /** * The total number of pages. * - * @var int + * @var int|null */ protected $totalPages; /** * The total number of items across all pages. * - * @var int + * @var int|null */ protected $total; /** @@ -74,7 +74,7 @@ public function setCurrentPage(int $currentPage): self /** * The total number of pages. */ - public function getTotalPages(): int + public function getTotalPages(): ?int { return $this->totalPages; } @@ -82,7 +82,7 @@ public function getTotalPages(): int /** * The total number of pages. */ - public function setTotalPages(int $totalPages): self + public function setTotalPages(?int $totalPages): self { $this->initialized['totalPages'] = true; $this->totalPages = $totalPages; @@ -93,7 +93,7 @@ public function setTotalPages(int $totalPages): self /** * The total number of items across all pages. */ - public function getTotal(): int + public function getTotal(): ?int { return $this->total; } @@ -101,7 +101,7 @@ public function getTotal(): int /** * The total number of items across all pages. */ - public function setTotal(int $total): self + public function setTotal(?int $total): self { $this->initialized['total'] = true; $this->total = $total; diff --git a/src/Model/SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRule.php b/src/Model/SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRule.php index 44601128..6a61562e 100644 --- a/src/Model/SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRule.php +++ b/src/Model/SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRule.php @@ -26,7 +26,7 @@ public function isInitialized($property): bool */ protected $id; /** - * @var PostSecurityGroupRulesPartSecurityGroup + * @var PostSecurityGroupRules200ResponseSecurityGroupRuleSecurityGroup */ protected $securityGroup; /** @@ -42,7 +42,7 @@ public function isInitialized($property): bool */ protected $action; /** - * @var string + * @var string|null */ protected $ports; /** @@ -50,7 +50,7 @@ public function isInitialized($property): bool */ protected $targets; /** - * @var string + * @var string|null */ protected $notes; @@ -67,12 +67,12 @@ public function setId(string $id): self return $this; } - public function getSecurityGroup(): PostSecurityGroupRulesPartSecurityGroup + public function getSecurityGroup(): PostSecurityGroupRules200ResponseSecurityGroupRuleSecurityGroup { return $this->securityGroup; } - public function setSecurityGroup(PostSecurityGroupRulesPartSecurityGroup $securityGroup): self + public function setSecurityGroup(PostSecurityGroupRules200ResponseSecurityGroupRuleSecurityGroup $securityGroup): self { $this->initialized['securityGroup'] = true; $this->securityGroup = $securityGroup; @@ -119,12 +119,12 @@ public function setAction(string $action): self return $this; } - public function getPorts(): string + public function getPorts(): ?string { return $this->ports; } - public function setPorts(string $ports): self + public function setPorts(?string $ports): self { $this->initialized['ports'] = true; $this->ports = $ports; @@ -151,12 +151,12 @@ public function setTargets(array $targets): self return $this; } - public function getNotes(): string + public function getNotes(): ?string { return $this->notes; } - public function setNotes(string $notes): self + public function setNotes(?string $notes): self { $this->initialized['notes'] = true; $this->notes = $notes; diff --git a/src/Model/Task.php b/src/Model/Task.php index 2e96fb78..840981ef 100644 --- a/src/Model/Task.php +++ b/src/Model/Task.php @@ -38,11 +38,11 @@ public function isInitialized($property): bool */ protected $createdAt; /** - * @var int + * @var int|null */ protected $startedAt; /** - * @var int + * @var int|null */ protected $finishedAt; /** @@ -102,12 +102,12 @@ public function setCreatedAt(int $createdAt): self return $this; } - public function getStartedAt(): int + public function getStartedAt(): ?int { return $this->startedAt; } - public function setStartedAt(int $startedAt): self + public function setStartedAt(?int $startedAt): self { $this->initialized['startedAt'] = true; $this->startedAt = $startedAt; @@ -115,12 +115,12 @@ public function setStartedAt(int $startedAt): self return $this; } - public function getFinishedAt(): int + public function getFinishedAt(): ?int { return $this->finishedAt; } - public function setFinishedAt(int $finishedAt): self + public function setFinishedAt(?int $finishedAt): self { $this->initialized['finishedAt'] = true; $this->finishedAt = $finishedAt; diff --git a/src/Model/TasksTaskGetResponse200Task.php b/src/Model/TasksTaskGetResponse200Task.php index 19a9c10d..660e3094 100644 --- a/src/Model/TasksTaskGetResponse200Task.php +++ b/src/Model/TasksTaskGetResponse200Task.php @@ -38,11 +38,11 @@ public function isInitialized($property): bool */ protected $createdAt; /** - * @var int + * @var int|null */ protected $startedAt; /** - * @var int + * @var int|null */ protected $finishedAt; /** @@ -102,12 +102,12 @@ public function setCreatedAt(int $createdAt): self return $this; } - public function getStartedAt(): int + public function getStartedAt(): ?int { return $this->startedAt; } - public function setStartedAt(int $startedAt): self + public function setStartedAt(?int $startedAt): self { $this->initialized['startedAt'] = true; $this->startedAt = $startedAt; @@ -115,12 +115,12 @@ public function setStartedAt(int $startedAt): self return $this; } - public function getFinishedAt(): int + public function getFinishedAt(): ?int { return $this->finishedAt; } - public function setFinishedAt(int $finishedAt): self + public function setFinishedAt(?int $finishedAt): self { $this->initialized['finishedAt'] = true; $this->finishedAt = $finishedAt; diff --git a/src/Model/TemplateSpec.php b/src/Model/TemplateSpec.php index f770fe98..87321c64 100644 --- a/src/Model/TemplateSpec.php +++ b/src/Model/TemplateSpec.php @@ -22,12 +22,12 @@ public function isInitialized($property): bool return array_key_exists($property, $this->initialized); } /** - * @var TemplateSpecField[] + * @var TemplateSpecFieldsItem[] */ protected $fields; /** - * @return TemplateSpecField[] + * @return TemplateSpecFieldsItem[] */ public function getFields(): array { @@ -35,7 +35,7 @@ public function getFields(): array } /** - * @param TemplateSpecField[] $fields + * @param TemplateSpecFieldsItem[] $fields */ public function setFields(array $fields): self { diff --git a/src/Model/TemplateSpecField.php b/src/Model/TemplateSpecField.php index 5ab737a6..ea4e48f8 100644 --- a/src/Model/TemplateSpecField.php +++ b/src/Model/TemplateSpecField.php @@ -34,7 +34,7 @@ public function isInitialized($property): bool */ protected $label; /** - * @var string + * @var string|null */ protected $description; /** @@ -42,11 +42,11 @@ public function isInitialized($property): bool */ protected $required; /** - * @var string + * @var string|null */ protected $placeholder; /** - * @var string + * @var string|null */ protected $prefill; @@ -89,12 +89,12 @@ public function setLabel(string $label): self return $this; } - public function getDescription(): string + public function getDescription(): ?string { return $this->description; } - public function setDescription(string $description): self + public function setDescription(?string $description): self { $this->initialized['description'] = true; $this->description = $description; @@ -115,12 +115,12 @@ public function setRequired(bool $required): self return $this; } - public function getPlaceholder(): string + public function getPlaceholder(): ?string { return $this->placeholder; } - public function setPlaceholder(string $placeholder): self + public function setPlaceholder(?string $placeholder): self { $this->initialized['placeholder'] = true; $this->placeholder = $placeholder; @@ -128,12 +128,12 @@ public function setPlaceholder(string $placeholder): self return $this; } - public function getPrefill(): string + public function getPrefill(): ?string { return $this->prefill; } - public function setPrefill(string $prefill): self + public function setPrefill(?string $prefill): self { $this->initialized['prefill'] = true; $this->prefill = $prefill; diff --git a/src/Model/TemplateSpecFieldsItem.php b/src/Model/TemplateSpecFieldsItem.php new file mode 100644 index 00000000..4a6d765b --- /dev/null +++ b/src/Model/TemplateSpecFieldsItem.php @@ -0,0 +1,143 @@ +initialized); + } + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $type; + /** + * @var string + */ + protected $label; + /** + * @var string|null + */ + protected $description; + /** + * @var bool + */ + protected $required; + /** + * @var string|null + */ + protected $placeholder; + /** + * @var string|null + */ + protected $prefill; + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } + + public function getLabel(): string + { + return $this->label; + } + + public function setLabel(string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->initialized['description'] = true; + $this->description = $description; + + return $this; + } + + public function getRequired(): bool + { + return $this->required; + } + + public function setRequired(bool $required): self + { + $this->initialized['required'] = true; + $this->required = $required; + + return $this; + } + + public function getPlaceholder(): ?string + { + return $this->placeholder; + } + + public function setPlaceholder(?string $placeholder): self + { + $this->initialized['placeholder'] = true; + $this->placeholder = $placeholder; + + return $this; + } + + public function getPrefill(): ?string + { + return $this->prefill; + } + + public function setPrefill(?string $prefill): self + { + $this->initialized['prefill'] = true; + $this->prefill = $prefill; + + return $this; + } +} diff --git a/src/Model/TrashObjectsTrashObjectDeleteResponse200Task.php b/src/Model/TrashObjectsTrashObjectDeleteResponse200Task.php index 07f7feb1..24b09aff 100644 --- a/src/Model/TrashObjectsTrashObjectDeleteResponse200Task.php +++ b/src/Model/TrashObjectsTrashObjectDeleteResponse200Task.php @@ -38,11 +38,11 @@ public function isInitialized($property): bool */ protected $createdAt; /** - * @var int + * @var int|null */ protected $startedAt; /** - * @var int + * @var int|null */ protected $finishedAt; /** @@ -102,12 +102,12 @@ public function setCreatedAt(int $createdAt): self return $this; } - public function getStartedAt(): int + public function getStartedAt(): ?int { return $this->startedAt; } - public function setStartedAt(int $startedAt): self + public function setStartedAt(?int $startedAt): self { $this->initialized['startedAt'] = true; $this->startedAt = $startedAt; @@ -115,12 +115,12 @@ public function setStartedAt(int $startedAt): self return $this; } - public function getFinishedAt(): int + public function getFinishedAt(): ?int { return $this->finishedAt; } - public function setFinishedAt(int $finishedAt): self + public function setFinishedAt(?int $finishedAt): self { $this->initialized['finishedAt'] = true; $this->finishedAt = $finishedAt; diff --git a/src/Model/VirtualMachine.php b/src/Model/VirtualMachine.php index 6ebd1222..99031134 100644 --- a/src/Model/VirtualMachine.php +++ b/src/Model/VirtualMachine.php @@ -38,7 +38,7 @@ public function isInitialized($property): bool */ protected $fqdn; /** - * @var string + * @var string|null */ protected $description; /** @@ -46,7 +46,7 @@ public function isInitialized($property): bool */ protected $createdAt; /** - * @var string + * @var string|null */ protected $initialRootPassword; /** @@ -54,43 +54,43 @@ public function isInitialized($property): bool */ protected $state; /** - * @var Zone + * @var VirtualMachineZone */ protected $zone; /** - * @var Organization + * @var VirtualMachineOrganization */ protected $organization; /** - * @var VirtualMachineGroup + * @var VirtualMachineGroup|null */ protected $group; /** - * @var VirtualMachinePackage + * @var VirtualMachinePackage|null */ protected $package; /** - * @var ISO + * @var VirtualMachineAttachedIso|null */ protected $attachedIso; /** - * @var int + * @var int|null */ protected $memoryInGb; /** - * @var int + * @var int|null */ protected $cpuCores; /** - * @var GPUType + * @var VirtualMachineGpuType|null */ protected $gpuType; /** - * @var VirtualMachineGPU[] + * @var VirtualMachineGpusItem[] */ protected $gpus; /** - * @var Tag[] + * @var VirtualMachineTagsItem[] */ protected $tags; /** @@ -98,7 +98,7 @@ public function isInitialized($property): bool */ protected $tagNames; /** - * @var IPAddress[] + * @var VirtualMachineIpAddressesItem[] */ protected $ipAddresses; @@ -154,12 +154,12 @@ public function setFqdn(string $fqdn): self return $this; } - public function getDescription(): string + public function getDescription(): ?string { return $this->description; } - public function setDescription(string $description): self + public function setDescription(?string $description): self { $this->initialized['description'] = true; $this->description = $description; @@ -180,12 +180,12 @@ public function setCreatedAt(int $createdAt): self return $this; } - public function getInitialRootPassword(): string + public function getInitialRootPassword(): ?string { return $this->initialRootPassword; } - public function setInitialRootPassword(string $initialRootPassword): self + public function setInitialRootPassword(?string $initialRootPassword): self { $this->initialized['initialRootPassword'] = true; $this->initialRootPassword = $initialRootPassword; @@ -206,12 +206,12 @@ public function setState(string $state): self return $this; } - public function getZone(): Zone + public function getZone(): VirtualMachineZone { return $this->zone; } - public function setZone(Zone $zone): self + public function setZone(VirtualMachineZone $zone): self { $this->initialized['zone'] = true; $this->zone = $zone; @@ -219,12 +219,12 @@ public function setZone(Zone $zone): self return $this; } - public function getOrganization(): Organization + public function getOrganization(): VirtualMachineOrganization { return $this->organization; } - public function setOrganization(Organization $organization): self + public function setOrganization(VirtualMachineOrganization $organization): self { $this->initialized['organization'] = true; $this->organization = $organization; @@ -232,12 +232,12 @@ public function setOrganization(Organization $organization): self return $this; } - public function getGroup(): VirtualMachineGroup + public function getGroup(): ?VirtualMachineGroup { return $this->group; } - public function setGroup(VirtualMachineGroup $group): self + public function setGroup(?VirtualMachineGroup $group): self { $this->initialized['group'] = true; $this->group = $group; @@ -245,12 +245,12 @@ public function setGroup(VirtualMachineGroup $group): self return $this; } - public function getPackage(): VirtualMachinePackage + public function getPackage(): ?VirtualMachinePackage { return $this->package; } - public function setPackage(VirtualMachinePackage $package): self + public function setPackage(?VirtualMachinePackage $package): self { $this->initialized['package'] = true; $this->package = $package; @@ -258,12 +258,12 @@ public function setPackage(VirtualMachinePackage $package): self return $this; } - public function getAttachedIso(): ISO + public function getAttachedIso(): ?VirtualMachineAttachedIso { return $this->attachedIso; } - public function setAttachedIso(ISO $attachedIso): self + public function setAttachedIso(?VirtualMachineAttachedIso $attachedIso): self { $this->initialized['attachedIso'] = true; $this->attachedIso = $attachedIso; @@ -271,12 +271,12 @@ public function setAttachedIso(ISO $attachedIso): self return $this; } - public function getMemoryInGb(): int + public function getMemoryInGb(): ?int { return $this->memoryInGb; } - public function setMemoryInGb(int $memoryInGb): self + public function setMemoryInGb(?int $memoryInGb): self { $this->initialized['memoryInGb'] = true; $this->memoryInGb = $memoryInGb; @@ -284,12 +284,12 @@ public function setMemoryInGb(int $memoryInGb): self return $this; } - public function getCpuCores(): int + public function getCpuCores(): ?int { return $this->cpuCores; } - public function setCpuCores(int $cpuCores): self + public function setCpuCores(?int $cpuCores): self { $this->initialized['cpuCores'] = true; $this->cpuCores = $cpuCores; @@ -297,12 +297,12 @@ public function setCpuCores(int $cpuCores): self return $this; } - public function getGpuType(): GPUType + public function getGpuType(): ?VirtualMachineGpuType { return $this->gpuType; } - public function setGpuType(GPUType $gpuType): self + public function setGpuType(?VirtualMachineGpuType $gpuType): self { $this->initialized['gpuType'] = true; $this->gpuType = $gpuType; @@ -311,7 +311,7 @@ public function setGpuType(GPUType $gpuType): self } /** - * @return VirtualMachineGPU[] + * @return VirtualMachineGpusItem[] */ public function getGpus(): array { @@ -319,7 +319,7 @@ public function getGpus(): array } /** - * @param VirtualMachineGPU[] $gpus + * @param VirtualMachineGpusItem[] $gpus */ public function setGpus(array $gpus): self { @@ -330,7 +330,7 @@ public function setGpus(array $gpus): self } /** - * @return Tag[] + * @return VirtualMachineTagsItem[] */ public function getTags(): array { @@ -338,7 +338,7 @@ public function getTags(): array } /** - * @param Tag[] $tags + * @param VirtualMachineTagsItem[] $tags */ public function setTags(array $tags): self { @@ -368,7 +368,7 @@ public function setTagNames(array $tagNames): self } /** - * @return IPAddress[] + * @return VirtualMachineIpAddressesItem[] */ public function getIpAddresses(): array { @@ -376,7 +376,7 @@ public function getIpAddresses(): array } /** - * @param IPAddress[] $ipAddresses + * @param VirtualMachineIpAddressesItem[] $ipAddresses */ public function setIpAddresses(array $ipAddresses): self { diff --git a/src/Model/VirtualMachineAttachedIso.php b/src/Model/VirtualMachineAttachedIso.php new file mode 100644 index 00000000..77d73086 --- /dev/null +++ b/src/Model/VirtualMachineAttachedIso.php @@ -0,0 +1,75 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var ISOOperatingSystem|null + */ + protected $operatingSystem; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getOperatingSystem(): ?ISOOperatingSystem + { + return $this->operatingSystem; + } + + public function setOperatingSystem(?ISOOperatingSystem $operatingSystem): self + { + $this->initialized['operatingSystem'] = true; + $this->operatingSystem = $operatingSystem; + + return $this; + } +} diff --git a/src/Model/VirtualMachineDisk.php b/src/Model/VirtualMachineDisk.php index be686dba..9563df8b 100644 --- a/src/Model/VirtualMachineDisk.php +++ b/src/Model/VirtualMachineDisk.php @@ -22,11 +22,11 @@ public function isInitialized($property): bool return array_key_exists($property, $this->initialized); } /** - * @var VirtualMachine + * @var VirtualMachineDiskVirtualMachine */ protected $virtualMachine; /** - * @var Disk + * @var VirtualMachineDiskDisk */ protected $disk; /** @@ -42,12 +42,12 @@ public function isInitialized($property): bool */ protected $state; - public function getVirtualMachine(): VirtualMachine + public function getVirtualMachine(): VirtualMachineDiskVirtualMachine { return $this->virtualMachine; } - public function setVirtualMachine(VirtualMachine $virtualMachine): self + public function setVirtualMachine(VirtualMachineDiskVirtualMachine $virtualMachine): self { $this->initialized['virtualMachine'] = true; $this->virtualMachine = $virtualMachine; @@ -55,12 +55,12 @@ public function setVirtualMachine(VirtualMachine $virtualMachine): self return $this; } - public function getDisk(): Disk + public function getDisk(): VirtualMachineDiskDisk { return $this->disk; } - public function setDisk(Disk $disk): self + public function setDisk(VirtualMachineDiskDisk $disk): self { $this->initialized['disk'] = true; $this->disk = $disk; diff --git a/src/Model/VirtualMachineDiskDisk.php b/src/Model/VirtualMachineDiskDisk.php new file mode 100644 index 00000000..1fe1cbf2 --- /dev/null +++ b/src/Model/VirtualMachineDiskDisk.php @@ -0,0 +1,194 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var int + */ + protected $sizeInGb; + /** + * @var string + */ + protected $wwn; + /** + * @var string + */ + protected $state; + /** + * @var int + */ + protected $createdAt; + /** + * @var string + */ + protected $storageSpeed; + /** + * @var DiskIoProfile|null + */ + protected $ioProfile; + /** + * @var DiskVirtualMachineDisk|null + */ + protected $virtualMachineDisk; + /** + * @var DiskInstallation|null + */ + protected $installation; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getSizeInGb(): int + { + return $this->sizeInGb; + } + + public function setSizeInGb(int $sizeInGb): self + { + $this->initialized['sizeInGb'] = true; + $this->sizeInGb = $sizeInGb; + + return $this; + } + + public function getWwn(): string + { + return $this->wwn; + } + + public function setWwn(string $wwn): self + { + $this->initialized['wwn'] = true; + $this->wwn = $wwn; + + return $this; + } + + public function getState(): string + { + return $this->state; + } + + public function setState(string $state): self + { + $this->initialized['state'] = true; + $this->state = $state; + + return $this; + } + + public function getCreatedAt(): int + { + return $this->createdAt; + } + + public function setCreatedAt(int $createdAt): self + { + $this->initialized['createdAt'] = true; + $this->createdAt = $createdAt; + + return $this; + } + + public function getStorageSpeed(): string + { + return $this->storageSpeed; + } + + public function setStorageSpeed(string $storageSpeed): self + { + $this->initialized['storageSpeed'] = true; + $this->storageSpeed = $storageSpeed; + + return $this; + } + + public function getIoProfile(): ?DiskIoProfile + { + return $this->ioProfile; + } + + public function setIoProfile(?DiskIoProfile $ioProfile): self + { + $this->initialized['ioProfile'] = true; + $this->ioProfile = $ioProfile; + + return $this; + } + + public function getVirtualMachineDisk(): ?DiskVirtualMachineDisk + { + return $this->virtualMachineDisk; + } + + public function setVirtualMachineDisk(?DiskVirtualMachineDisk $virtualMachineDisk): self + { + $this->initialized['virtualMachineDisk'] = true; + $this->virtualMachineDisk = $virtualMachineDisk; + + return $this; + } + + public function getInstallation(): ?DiskInstallation + { + return $this->installation; + } + + public function setInstallation(?DiskInstallation $installation): self + { + $this->initialized['installation'] = true; + $this->installation = $installation; + + return $this; + } +} diff --git a/src/Model/VirtualMachineDiskVirtualMachine.php b/src/Model/VirtualMachineDiskVirtualMachine.php new file mode 100644 index 00000000..cdde2cb3 --- /dev/null +++ b/src/Model/VirtualMachineDiskVirtualMachine.php @@ -0,0 +1,388 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $hostname; + /** + * @var string + */ + protected $fqdn; + /** + * @var string|null + */ + protected $description; + /** + * @var int + */ + protected $createdAt; + /** + * @var string|null + */ + protected $initialRootPassword; + /** + * @var string + */ + protected $state; + /** + * @var VirtualMachineZone + */ + protected $zone; + /** + * @var VirtualMachineOrganization + */ + protected $organization; + /** + * @var VirtualMachineGroup|null + */ + protected $group; + /** + * @var VirtualMachinePackage|null + */ + protected $package; + /** + * @var VirtualMachineAttachedIso|null + */ + protected $attachedIso; + /** + * @var int|null + */ + protected $memoryInGb; + /** + * @var int|null + */ + protected $cpuCores; + /** + * @var VirtualMachineGpuType|null + */ + protected $gpuType; + /** + * @var VirtualMachineGpusItem[] + */ + protected $gpus; + /** + * @var VirtualMachineTagsItem[] + */ + protected $tags; + /** + * @var string[] + */ + protected $tagNames; + /** + * @var VirtualMachineIpAddressesItem[] + */ + protected $ipAddresses; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getHostname(): string + { + return $this->hostname; + } + + public function setHostname(string $hostname): self + { + $this->initialized['hostname'] = true; + $this->hostname = $hostname; + + return $this; + } + + public function getFqdn(): string + { + return $this->fqdn; + } + + public function setFqdn(string $fqdn): self + { + $this->initialized['fqdn'] = true; + $this->fqdn = $fqdn; + + return $this; + } + + public function getDescription(): ?string + { + return $this->description; + } + + public function setDescription(?string $description): self + { + $this->initialized['description'] = true; + $this->description = $description; + + return $this; + } + + public function getCreatedAt(): int + { + return $this->createdAt; + } + + public function setCreatedAt(int $createdAt): self + { + $this->initialized['createdAt'] = true; + $this->createdAt = $createdAt; + + return $this; + } + + public function getInitialRootPassword(): ?string + { + return $this->initialRootPassword; + } + + public function setInitialRootPassword(?string $initialRootPassword): self + { + $this->initialized['initialRootPassword'] = true; + $this->initialRootPassword = $initialRootPassword; + + return $this; + } + + public function getState(): string + { + return $this->state; + } + + public function setState(string $state): self + { + $this->initialized['state'] = true; + $this->state = $state; + + return $this; + } + + public function getZone(): VirtualMachineZone + { + return $this->zone; + } + + public function setZone(VirtualMachineZone $zone): self + { + $this->initialized['zone'] = true; + $this->zone = $zone; + + return $this; + } + + public function getOrganization(): VirtualMachineOrganization + { + return $this->organization; + } + + public function setOrganization(VirtualMachineOrganization $organization): self + { + $this->initialized['organization'] = true; + $this->organization = $organization; + + return $this; + } + + public function getGroup(): ?VirtualMachineGroup + { + return $this->group; + } + + public function setGroup(?VirtualMachineGroup $group): self + { + $this->initialized['group'] = true; + $this->group = $group; + + return $this; + } + + public function getPackage(): ?VirtualMachinePackage + { + return $this->package; + } + + public function setPackage(?VirtualMachinePackage $package): self + { + $this->initialized['package'] = true; + $this->package = $package; + + return $this; + } + + public function getAttachedIso(): ?VirtualMachineAttachedIso + { + return $this->attachedIso; + } + + public function setAttachedIso(?VirtualMachineAttachedIso $attachedIso): self + { + $this->initialized['attachedIso'] = true; + $this->attachedIso = $attachedIso; + + return $this; + } + + public function getMemoryInGb(): ?int + { + return $this->memoryInGb; + } + + public function setMemoryInGb(?int $memoryInGb): self + { + $this->initialized['memoryInGb'] = true; + $this->memoryInGb = $memoryInGb; + + return $this; + } + + public function getCpuCores(): ?int + { + return $this->cpuCores; + } + + public function setCpuCores(?int $cpuCores): self + { + $this->initialized['cpuCores'] = true; + $this->cpuCores = $cpuCores; + + return $this; + } + + public function getGpuType(): ?VirtualMachineGpuType + { + return $this->gpuType; + } + + public function setGpuType(?VirtualMachineGpuType $gpuType): self + { + $this->initialized['gpuType'] = true; + $this->gpuType = $gpuType; + + return $this; + } + + /** + * @return VirtualMachineGpusItem[] + */ + public function getGpus(): array + { + return $this->gpus; + } + + /** + * @param VirtualMachineGpusItem[] $gpus + */ + public function setGpus(array $gpus): self + { + $this->initialized['gpus'] = true; + $this->gpus = $gpus; + + return $this; + } + + /** + * @return VirtualMachineTagsItem[] + */ + public function getTags(): array + { + return $this->tags; + } + + /** + * @param VirtualMachineTagsItem[] $tags + */ + public function setTags(array $tags): self + { + $this->initialized['tags'] = true; + $this->tags = $tags; + + return $this; + } + + /** + * @return string[] + */ + public function getTagNames(): array + { + return $this->tagNames; + } + + /** + * @param string[] $tagNames + */ + public function setTagNames(array $tagNames): self + { + $this->initialized['tagNames'] = true; + $this->tagNames = $tagNames; + + return $this; + } + + /** + * @return VirtualMachineIpAddressesItem[] + */ + public function getIpAddresses(): array + { + return $this->ipAddresses; + } + + /** + * @param VirtualMachineIpAddressesItem[] $ipAddresses + */ + public function setIpAddresses(array $ipAddresses): self + { + $this->initialized['ipAddresses'] = true; + $this->ipAddresses = $ipAddresses; + + return $this; + } +} diff --git a/src/Model/VirtualMachineGPU.php b/src/Model/VirtualMachineGPU.php index af36984d..4ac9868c 100644 --- a/src/Model/VirtualMachineGPU.php +++ b/src/Model/VirtualMachineGPU.php @@ -24,7 +24,7 @@ public function isInitialized($property): bool /** * Unique ID for this GPU. Not available when status is "detached". * - * @var string + * @var string|null */ protected $id; /** @@ -42,14 +42,14 @@ public function isInitialized($property): bool */ protected $available; /** - * @var GPUType + * @var VirtualMachineGPUType */ protected $type; /** * Unique ID for this GPU. Not available when status is "detached". */ - public function getId(): string + public function getId(): ?string { return $this->id; } @@ -57,7 +57,7 @@ public function getId(): string /** * Unique ID for this GPU. Not available when status is "detached". */ - public function setId(string $id): self + public function setId(?string $id): self { $this->initialized['id'] = true; $this->id = $id; @@ -110,12 +110,12 @@ public function setAvailable(bool $available): self return $this; } - public function getType(): GPUType + public function getType(): VirtualMachineGPUType { return $this->type; } - public function setType(GPUType $type): self + public function setType(VirtualMachineGPUType $type): self { $this->initialized['type'] = true; $this->type = $type; diff --git a/src/Model/VirtualMachineGPUType.php b/src/Model/VirtualMachineGPUType.php new file mode 100644 index 00000000..150a5881 --- /dev/null +++ b/src/Model/VirtualMachineGPUType.php @@ -0,0 +1,149 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $manufacturer; + /** + * @var int + */ + protected $memoryInGb; + /** + * @var string + */ + protected $memoryType; + /** + * @var string + */ + protected $permalink; + /** + * @var GPUTypeDataCentersItem[] + */ + protected $dataCenters; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getManufacturer(): string + { + return $this->manufacturer; + } + + public function setManufacturer(string $manufacturer): self + { + $this->initialized['manufacturer'] = true; + $this->manufacturer = $manufacturer; + + return $this; + } + + public function getMemoryInGb(): int + { + return $this->memoryInGb; + } + + public function setMemoryInGb(int $memoryInGb): self + { + $this->initialized['memoryInGb'] = true; + $this->memoryInGb = $memoryInGb; + + return $this; + } + + public function getMemoryType(): string + { + return $this->memoryType; + } + + public function setMemoryType(string $memoryType): self + { + $this->initialized['memoryType'] = true; + $this->memoryType = $memoryType; + + return $this; + } + + public function getPermalink(): string + { + return $this->permalink; + } + + public function setPermalink(string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } + + /** + * @return GPUTypeDataCentersItem[] + */ + public function getDataCenters(): array + { + return $this->dataCenters; + } + + /** + * @param GPUTypeDataCentersItem[] $dataCenters + */ + public function setDataCenters(array $dataCenters): self + { + $this->initialized['dataCenters'] = true; + $this->dataCenters = $dataCenters; + + return $this; + } +} diff --git a/src/Model/VirtualMachineGpuType.php b/src/Model/VirtualMachineGpuType.php new file mode 100644 index 00000000..74504aeb --- /dev/null +++ b/src/Model/VirtualMachineGpuType.php @@ -0,0 +1,149 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $manufacturer; + /** + * @var int + */ + protected $memoryInGb; + /** + * @var string + */ + protected $memoryType; + /** + * @var string + */ + protected $permalink; + /** + * @var GPUTypeDataCentersItem[] + */ + protected $dataCenters; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getManufacturer(): string + { + return $this->manufacturer; + } + + public function setManufacturer(string $manufacturer): self + { + $this->initialized['manufacturer'] = true; + $this->manufacturer = $manufacturer; + + return $this; + } + + public function getMemoryInGb(): int + { + return $this->memoryInGb; + } + + public function setMemoryInGb(int $memoryInGb): self + { + $this->initialized['memoryInGb'] = true; + $this->memoryInGb = $memoryInGb; + + return $this; + } + + public function getMemoryType(): string + { + return $this->memoryType; + } + + public function setMemoryType(string $memoryType): self + { + $this->initialized['memoryType'] = true; + $this->memoryType = $memoryType; + + return $this; + } + + public function getPermalink(): string + { + return $this->permalink; + } + + public function setPermalink(string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } + + /** + * @return GPUTypeDataCentersItem[] + */ + public function getDataCenters(): array + { + return $this->dataCenters; + } + + /** + * @param GPUTypeDataCentersItem[] $dataCenters + */ + public function setDataCenters(array $dataCenters): self + { + $this->initialized['dataCenters'] = true; + $this->dataCenters = $dataCenters; + + return $this; + } +} diff --git a/src/Model/VirtualMachineGpusItem.php b/src/Model/VirtualMachineGpusItem.php new file mode 100644 index 00000000..47ef694f --- /dev/null +++ b/src/Model/VirtualMachineGpusItem.php @@ -0,0 +1,125 @@ +initialized); + } + /** + * Unique ID for this GPU. Not available when status is "detached". + * + * @var string|null + */ + protected $id; + /** + * @var string + */ + protected $status; + /** + * @var string + */ + protected $pendingAction; + /** + * When pending action is "attach", this indicates if there is a GPU of the relevant type available. + * + * @var bool + */ + protected $available; + /** + * @var VirtualMachineGPUType + */ + protected $type; + + /** + * Unique ID for this GPU. Not available when status is "detached". + */ + public function getId(): ?string + { + return $this->id; + } + + /** + * Unique ID for this GPU. Not available when status is "detached". + */ + public function setId(?string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getStatus(): string + { + return $this->status; + } + + public function setStatus(string $status): self + { + $this->initialized['status'] = true; + $this->status = $status; + + return $this; + } + + public function getPendingAction(): string + { + return $this->pendingAction; + } + + public function setPendingAction(string $pendingAction): self + { + $this->initialized['pendingAction'] = true; + $this->pendingAction = $pendingAction; + + return $this; + } + + /** + * When pending action is "attach", this indicates if there is a GPU of the relevant type available. + */ + public function getAvailable(): bool + { + return $this->available; + } + + /** + * When pending action is "attach", this indicates if there is a GPU of the relevant type available. + */ + public function setAvailable(bool $available): self + { + $this->initialized['available'] = true; + $this->available = $available; + + return $this; + } + + public function getType(): VirtualMachineGPUType + { + return $this->type; + } + + public function setType(VirtualMachineGPUType $type): self + { + $this->initialized['type'] = true; + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/VirtualMachineIpAddressesItem.php b/src/Model/VirtualMachineIpAddressesItem.php new file mode 100644 index 00000000..37f8cc8b --- /dev/null +++ b/src/Model/VirtualMachineIpAddressesItem.php @@ -0,0 +1,177 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $address; + /** + * @var string + */ + protected $reverseDns; + /** + * @var bool + */ + protected $vip; + /** + * @var string|null + */ + protected $label; + /** + * @var string + */ + protected $addressWithMask; + /** + * @var IPAddressNetwork + */ + protected $network; + /** + * @var string|null + */ + protected $allocationId; + /** + * @var string|null + */ + protected $allocationType; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getAddress(): string + { + return $this->address; + } + + public function setAddress(string $address): self + { + $this->initialized['address'] = true; + $this->address = $address; + + return $this; + } + + public function getReverseDns(): string + { + return $this->reverseDns; + } + + public function setReverseDns(string $reverseDns): self + { + $this->initialized['reverseDns'] = true; + $this->reverseDns = $reverseDns; + + return $this; + } + + public function getVip(): bool + { + return $this->vip; + } + + public function setVip(bool $vip): self + { + $this->initialized['vip'] = true; + $this->vip = $vip; + + return $this; + } + + public function getLabel(): ?string + { + return $this->label; + } + + public function setLabel(?string $label): self + { + $this->initialized['label'] = true; + $this->label = $label; + + return $this; + } + + public function getAddressWithMask(): string + { + return $this->addressWithMask; + } + + public function setAddressWithMask(string $addressWithMask): self + { + $this->initialized['addressWithMask'] = true; + $this->addressWithMask = $addressWithMask; + + return $this; + } + + public function getNetwork(): IPAddressNetwork + { + return $this->network; + } + + public function setNetwork(IPAddressNetwork $network): self + { + $this->initialized['network'] = true; + $this->network = $network; + + return $this; + } + + public function getAllocationId(): ?string + { + return $this->allocationId; + } + + public function setAllocationId(?string $allocationId): self + { + $this->initialized['allocationId'] = true; + $this->allocationId = $allocationId; + + return $this; + } + + public function getAllocationType(): ?string + { + return $this->allocationType; + } + + public function setAllocationType(?string $allocationType): self + { + $this->initialized['allocationType'] = true; + $this->allocationType = $allocationType; + + return $this; + } +} diff --git a/src/Model/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterface.php b/src/Model/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterface.php index 2b82f355..4c5da5c2 100644 --- a/src/Model/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterface.php +++ b/src/Model/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterface.php @@ -26,7 +26,7 @@ public function isInitialized($property): bool */ protected $id; /** - * @var PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine + * @var PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceVirtualMachine */ protected $virtualMachine; /** @@ -34,7 +34,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork + * @var PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceNetwork */ protected $network; /** @@ -46,7 +46,7 @@ public function isInitialized($property): bool */ protected $state; /** - * @var PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses[] + * @var PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceIpAddressesItem[] */ protected $ipAddresses; @@ -63,12 +63,12 @@ public function setId(string $id): self return $this; } - public function getVirtualMachine(): PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine + public function getVirtualMachine(): PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceVirtualMachine { return $this->virtualMachine; } - public function setVirtualMachine(PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine $virtualMachine): self + public function setVirtualMachine(PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceVirtualMachine $virtualMachine): self { $this->initialized['virtualMachine'] = true; $this->virtualMachine = $virtualMachine; @@ -89,12 +89,12 @@ public function setName(string $name): self return $this; } - public function getNetwork(): PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork + public function getNetwork(): PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceNetwork { return $this->network; } - public function setNetwork(PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork $network): self + public function setNetwork(PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceNetwork $network): self { $this->initialized['network'] = true; $this->network = $network; @@ -129,7 +129,7 @@ public function setState(string $state): self } /** - * @return PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses[] + * @return PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceIpAddressesItem[] */ public function getIpAddresses(): array { @@ -137,7 +137,7 @@ public function getIpAddresses(): array } /** - * @param PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses[] $ipAddresses + * @param PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceIpAddressesItem[] $ipAddresses */ public function setIpAddresses(array $ipAddresses): self { diff --git a/src/Model/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddress.php b/src/Model/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddress.php index c103f9a3..c7908835 100644 --- a/src/Model/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddress.php +++ b/src/Model/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddress.php @@ -38,7 +38,7 @@ public function isInitialized($property): bool */ protected $vip; /** - * @var string + * @var string|null */ protected $label; /** @@ -46,15 +46,15 @@ public function isInitialized($property): bool */ protected $addressWithMask; /** - * @var Network + * @var IPAddressNetwork */ protected $network; /** - * @var string + * @var string|null */ protected $allocationId; /** - * @var string + * @var string|null */ protected $allocationType; @@ -110,12 +110,12 @@ public function setVip(bool $vip): self return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->initialized['label'] = true; $this->label = $label; @@ -136,12 +136,12 @@ public function setAddressWithMask(string $addressWithMask): self return $this; } - public function getNetwork(): Network + public function getNetwork(): IPAddressNetwork { return $this->network; } - public function setNetwork(Network $network): self + public function setNetwork(IPAddressNetwork $network): self { $this->initialized['network'] = true; $this->network = $network; @@ -149,12 +149,12 @@ public function setNetwork(Network $network): self return $this; } - public function getAllocationId(): string + public function getAllocationId(): ?string { return $this->allocationId; } - public function setAllocationId(string $allocationId): self + public function setAllocationId(?string $allocationId): self { $this->initialized['allocationId'] = true; $this->allocationId = $allocationId; @@ -162,12 +162,12 @@ public function setAllocationId(string $allocationId): self return $this; } - public function getAllocationType(): string + public function getAllocationType(): ?string { return $this->allocationType; } - public function setAllocationType(string $allocationType): self + public function setAllocationType(?string $allocationType): self { $this->initialized['allocationType'] = true; $this->allocationType = $allocationType; diff --git a/src/Model/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterface.php b/src/Model/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterface.php index bf802128..1faa6cf7 100644 --- a/src/Model/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterface.php +++ b/src/Model/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterface.php @@ -26,7 +26,7 @@ public function isInitialized($property): bool */ protected $id; /** - * @var GetVMNIVMNIPartVirtualMachine + * @var GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceVirtualMachine */ protected $virtualMachine; /** @@ -34,7 +34,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var GetVMNIVMNIPartNetwork + * @var GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceNetwork */ protected $network; /** @@ -46,11 +46,11 @@ public function isInitialized($property): bool */ protected $state; /** - * @var GetVMNIVMNIPartIPAddresses[] + * @var GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceIpAddressesItem[] */ protected $ipAddresses; /** - * @var GetVMNIVMNIPartSpeedProfile + * @var GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceSpeedProfile */ protected $speedProfile; @@ -67,12 +67,12 @@ public function setId(string $id): self return $this; } - public function getVirtualMachine(): GetVMNIVMNIPartVirtualMachine + public function getVirtualMachine(): GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceVirtualMachine { return $this->virtualMachine; } - public function setVirtualMachine(GetVMNIVMNIPartVirtualMachine $virtualMachine): self + public function setVirtualMachine(GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceVirtualMachine $virtualMachine): self { $this->initialized['virtualMachine'] = true; $this->virtualMachine = $virtualMachine; @@ -93,12 +93,12 @@ public function setName(string $name): self return $this; } - public function getNetwork(): GetVMNIVMNIPartNetwork + public function getNetwork(): GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceNetwork { return $this->network; } - public function setNetwork(GetVMNIVMNIPartNetwork $network): self + public function setNetwork(GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceNetwork $network): self { $this->initialized['network'] = true; $this->network = $network; @@ -133,7 +133,7 @@ public function setState(string $state): self } /** - * @return GetVMNIVMNIPartIPAddresses[] + * @return GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceIpAddressesItem[] */ public function getIpAddresses(): array { @@ -141,7 +141,7 @@ public function getIpAddresses(): array } /** - * @param GetVMNIVMNIPartIPAddresses[] $ipAddresses + * @param GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceIpAddressesItem[] $ipAddresses */ public function setIpAddresses(array $ipAddresses): self { @@ -151,12 +151,12 @@ public function setIpAddresses(array $ipAddresses): self return $this; } - public function getSpeedProfile(): GetVMNIVMNIPartSpeedProfile + public function getSpeedProfile(): GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceSpeedProfile { return $this->speedProfile; } - public function setSpeedProfile(GetVMNIVMNIPartSpeedProfile $speedProfile): self + public function setSpeedProfile(GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceSpeedProfile $speedProfile): self { $this->initialized['speedProfile'] = true; $this->speedProfile = $speedProfile; diff --git a/src/Model/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Task.php b/src/Model/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Task.php index b7eea1ad..e3516c05 100644 --- a/src/Model/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Task.php +++ b/src/Model/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Task.php @@ -38,11 +38,11 @@ public function isInitialized($property): bool */ protected $createdAt; /** - * @var int + * @var int|null */ protected $startedAt; /** - * @var int + * @var int|null */ protected $finishedAt; /** @@ -102,12 +102,12 @@ public function setCreatedAt(int $createdAt): self return $this; } - public function getStartedAt(): int + public function getStartedAt(): ?int { return $this->startedAt; } - public function setStartedAt(int $startedAt): self + public function setStartedAt(?int $startedAt): self { $this->initialized['startedAt'] = true; $this->startedAt = $startedAt; @@ -115,12 +115,12 @@ public function setStartedAt(int $startedAt): self return $this; } - public function getFinishedAt(): int + public function getFinishedAt(): ?int { return $this->finishedAt; } - public function setFinishedAt(int $finishedAt): self + public function setFinishedAt(?int $finishedAt): self { $this->initialized['finishedAt'] = true; $this->finishedAt = $finishedAt; diff --git a/src/Model/VirtualMachineOrganization.php b/src/Model/VirtualMachineOrganization.php new file mode 100644 index 00000000..04aca7cf --- /dev/null +++ b/src/Model/VirtualMachineOrganization.php @@ -0,0 +1,330 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $subDomain; + /** + * @var string + */ + protected $infrastructureDomain; + /** + * @var int + */ + protected $createdAt; + /** + * @var bool + */ + protected $suspended; + /** + * @var bool + */ + protected $managed; + /** + * @var string|null + */ + protected $billingName; + /** + * @var string|null + */ + protected $address1; + /** + * @var string|null + */ + protected $address2; + /** + * @var string|null + */ + protected $address3; + /** + * @var string|null + */ + protected $address4; + /** + * @var string|null + */ + protected $postcode; + /** + * @var string|null + */ + protected $vatNumber; + /** + * @var string|null + */ + protected $phoneNumber; + /** + * @var OrganizationCurrency + */ + protected $currency; + /** + * @var OrganizationCountry|null + */ + protected $country; + /** + * @var OrganizationCountryState|null + */ + protected $countryState; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getSubDomain(): string + { + return $this->subDomain; + } + + public function setSubDomain(string $subDomain): self + { + $this->initialized['subDomain'] = true; + $this->subDomain = $subDomain; + + return $this; + } + + public function getInfrastructureDomain(): string + { + return $this->infrastructureDomain; + } + + public function setInfrastructureDomain(string $infrastructureDomain): self + { + $this->initialized['infrastructureDomain'] = true; + $this->infrastructureDomain = $infrastructureDomain; + + return $this; + } + + public function getCreatedAt(): int + { + return $this->createdAt; + } + + public function setCreatedAt(int $createdAt): self + { + $this->initialized['createdAt'] = true; + $this->createdAt = $createdAt; + + return $this; + } + + public function getSuspended(): bool + { + return $this->suspended; + } + + public function setSuspended(bool $suspended): self + { + $this->initialized['suspended'] = true; + $this->suspended = $suspended; + + return $this; + } + + public function getManaged(): bool + { + return $this->managed; + } + + public function setManaged(bool $managed): self + { + $this->initialized['managed'] = true; + $this->managed = $managed; + + return $this; + } + + public function getBillingName(): ?string + { + return $this->billingName; + } + + public function setBillingName(?string $billingName): self + { + $this->initialized['billingName'] = true; + $this->billingName = $billingName; + + return $this; + } + + public function getAddress1(): ?string + { + return $this->address1; + } + + public function setAddress1(?string $address1): self + { + $this->initialized['address1'] = true; + $this->address1 = $address1; + + return $this; + } + + public function getAddress2(): ?string + { + return $this->address2; + } + + public function setAddress2(?string $address2): self + { + $this->initialized['address2'] = true; + $this->address2 = $address2; + + return $this; + } + + public function getAddress3(): ?string + { + return $this->address3; + } + + public function setAddress3(?string $address3): self + { + $this->initialized['address3'] = true; + $this->address3 = $address3; + + return $this; + } + + public function getAddress4(): ?string + { + return $this->address4; + } + + public function setAddress4(?string $address4): self + { + $this->initialized['address4'] = true; + $this->address4 = $address4; + + return $this; + } + + public function getPostcode(): ?string + { + return $this->postcode; + } + + public function setPostcode(?string $postcode): self + { + $this->initialized['postcode'] = true; + $this->postcode = $postcode; + + return $this; + } + + public function getVatNumber(): ?string + { + return $this->vatNumber; + } + + public function setVatNumber(?string $vatNumber): self + { + $this->initialized['vatNumber'] = true; + $this->vatNumber = $vatNumber; + + return $this; + } + + public function getPhoneNumber(): ?string + { + return $this->phoneNumber; + } + + public function setPhoneNumber(?string $phoneNumber): self + { + $this->initialized['phoneNumber'] = true; + $this->phoneNumber = $phoneNumber; + + return $this; + } + + public function getCurrency(): OrganizationCurrency + { + return $this->currency; + } + + public function setCurrency(OrganizationCurrency $currency): self + { + $this->initialized['currency'] = true; + $this->currency = $currency; + + return $this; + } + + public function getCountry(): ?OrganizationCountry + { + return $this->country; + } + + public function setCountry(?OrganizationCountry $country): self + { + $this->initialized['country'] = true; + $this->country = $country; + + return $this; + } + + public function getCountryState(): ?OrganizationCountryState + { + return $this->countryState; + } + + public function setCountryState(?OrganizationCountryState $countryState): self + { + $this->initialized['countryState'] = true; + $this->countryState = $countryState; + + return $this; + } +} diff --git a/src/Model/VirtualMachinePackage.php b/src/Model/VirtualMachinePackage.php index f4e0d6dc..a377c78a 100644 --- a/src/Model/VirtualMachinePackage.php +++ b/src/Model/VirtualMachinePackage.php @@ -50,7 +50,7 @@ public function isInitialized($property): bool */ protected $storageInGb; /** - * @var int + * @var int|null */ protected $monthlyBandwidthAllowanceInGb; /** @@ -58,7 +58,7 @@ public function isInitialized($property): bool */ protected $privacy; /** - * @var Attachment + * @var VirtualMachinePackageIcon|null */ protected $icon; @@ -153,12 +153,12 @@ public function setStorageInGb(int $storageInGb): self return $this; } - public function getMonthlyBandwidthAllowanceInGb(): int + public function getMonthlyBandwidthAllowanceInGb(): ?int { return $this->monthlyBandwidthAllowanceInGb; } - public function setMonthlyBandwidthAllowanceInGb(int $monthlyBandwidthAllowanceInGb): self + public function setMonthlyBandwidthAllowanceInGb(?int $monthlyBandwidthAllowanceInGb): self { $this->initialized['monthlyBandwidthAllowanceInGb'] = true; $this->monthlyBandwidthAllowanceInGb = $monthlyBandwidthAllowanceInGb; @@ -179,12 +179,12 @@ public function setPrivacy(string $privacy): self return $this; } - public function getIcon(): Attachment + public function getIcon(): ?VirtualMachinePackageIcon { return $this->icon; } - public function setIcon(Attachment $icon): self + public function setIcon(?VirtualMachinePackageIcon $icon): self { $this->initialized['icon'] = true; $this->icon = $icon; diff --git a/src/Model/VirtualMachinePackageIcon.php b/src/Model/VirtualMachinePackageIcon.php new file mode 100644 index 00000000..30a7795a --- /dev/null +++ b/src/Model/VirtualMachinePackageIcon.php @@ -0,0 +1,126 @@ +initialized); + } + /** + * @var string + */ + protected $url; + /** + * @var string + */ + protected $fileName; + /** + * @var string + */ + protected $fileType; + /** + * @var int + */ + protected $fileSize; + /** + * @var string + */ + protected $digest; + /** + * @var string + */ + protected $token; + + public function getUrl(): string + { + return $this->url; + } + + public function setUrl(string $url): self + { + $this->initialized['url'] = true; + $this->url = $url; + + return $this; + } + + public function getFileName(): string + { + return $this->fileName; + } + + public function setFileName(string $fileName): self + { + $this->initialized['fileName'] = true; + $this->fileName = $fileName; + + return $this; + } + + public function getFileType(): string + { + return $this->fileType; + } + + public function setFileType(string $fileType): self + { + $this->initialized['fileType'] = true; + $this->fileType = $fileType; + + return $this; + } + + public function getFileSize(): int + { + return $this->fileSize; + } + + public function setFileSize(int $fileSize): self + { + $this->initialized['fileSize'] = true; + $this->fileSize = $fileSize; + + return $this; + } + + public function getDigest(): string + { + return $this->digest; + } + + public function setDigest(string $digest): self + { + $this->initialized['digest'] = true; + $this->digest = $digest; + + return $this; + } + + public function getToken(): string + { + return $this->token; + } + + public function setToken(string $token): self + { + $this->initialized['token'] = true; + $this->token = $token; + + return $this; + } +} diff --git a/src/Model/VirtualMachinePackagesGetResponse200Pagination.php b/src/Model/VirtualMachinePackagesGetResponse200Pagination.php index 913285f8..9d6f6e4b 100644 --- a/src/Model/VirtualMachinePackagesGetResponse200Pagination.php +++ b/src/Model/VirtualMachinePackagesGetResponse200Pagination.php @@ -30,13 +30,13 @@ public function isInitialized($property): bool /** * The total number of pages. * - * @var int + * @var int|null */ protected $totalPages; /** * The total number of items across all pages. * - * @var int + * @var int|null */ protected $total; /** @@ -74,7 +74,7 @@ public function setCurrentPage(int $currentPage): self /** * The total number of pages. */ - public function getTotalPages(): int + public function getTotalPages(): ?int { return $this->totalPages; } @@ -82,7 +82,7 @@ public function getTotalPages(): int /** * The total number of pages. */ - public function setTotalPages(int $totalPages): self + public function setTotalPages(?int $totalPages): self { $this->initialized['totalPages'] = true; $this->totalPages = $totalPages; @@ -93,7 +93,7 @@ public function setTotalPages(int $totalPages): self /** * The total number of items across all pages. */ - public function getTotal(): int + public function getTotal(): ?int { return $this->total; } @@ -101,7 +101,7 @@ public function getTotal(): int /** * The total number of items across all pages. */ - public function setTotal(int $total): self + public function setTotal(?int $total): self { $this->initialized['total'] = true; $this->total = $total; diff --git a/src/Model/VirtualMachinePackagesVirtualMachinePackageGetResponse200VirtualMachinePackage.php b/src/Model/VirtualMachinePackagesVirtualMachinePackageGetResponse200VirtualMachinePackage.php index 990abad4..e4d67417 100644 --- a/src/Model/VirtualMachinePackagesVirtualMachinePackageGetResponse200VirtualMachinePackage.php +++ b/src/Model/VirtualMachinePackagesVirtualMachinePackageGetResponse200VirtualMachinePackage.php @@ -50,7 +50,7 @@ public function isInitialized($property): bool */ protected $storageInGb; /** - * @var int + * @var int|null */ protected $monthlyBandwidthAllowanceInGb; /** @@ -58,7 +58,7 @@ public function isInitialized($property): bool */ protected $privacy; /** - * @var Attachment + * @var VirtualMachinePackageIcon|null */ protected $icon; @@ -153,12 +153,12 @@ public function setStorageInGb(int $storageInGb): self return $this; } - public function getMonthlyBandwidthAllowanceInGb(): int + public function getMonthlyBandwidthAllowanceInGb(): ?int { return $this->monthlyBandwidthAllowanceInGb; } - public function setMonthlyBandwidthAllowanceInGb(int $monthlyBandwidthAllowanceInGb): self + public function setMonthlyBandwidthAllowanceInGb(?int $monthlyBandwidthAllowanceInGb): self { $this->initialized['monthlyBandwidthAllowanceInGb'] = true; $this->monthlyBandwidthAllowanceInGb = $monthlyBandwidthAllowanceInGb; @@ -179,12 +179,12 @@ public function setPrivacy(string $privacy): self return $this; } - public function getIcon(): Attachment + public function getIcon(): ?VirtualMachinePackageIcon { return $this->icon; } - public function setIcon(Attachment $icon): self + public function setIcon(?VirtualMachinePackageIcon $icon): self { $this->initialized['icon'] = true; $this->icon = $icon; diff --git a/src/Model/VirtualMachineTagsItem.php b/src/Model/VirtualMachineTagsItem.php new file mode 100644 index 00000000..87e60986 --- /dev/null +++ b/src/Model/VirtualMachineTagsItem.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string + */ + protected $color; + /** + * @var int + */ + protected $createdAt; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getColor(): string + { + return $this->color; + } + + public function setColor(string $color): self + { + $this->initialized['color'] = true; + $this->color = $color; + + return $this; + } + + public function getCreatedAt(): int + { + return $this->createdAt; + } + + public function setCreatedAt(int $createdAt): self + { + $this->initialized['createdAt'] = true; + $this->createdAt = $createdAt; + + return $this; + } +} diff --git a/src/Model/VirtualMachineZone.php b/src/Model/VirtualMachineZone.php new file mode 100644 index 00000000..7f657a99 --- /dev/null +++ b/src/Model/VirtualMachineZone.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string|null + */ + protected $permalink; + /** + * @var ZoneDataCenter + */ + protected $dataCenter; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): ?string + { + return $this->permalink; + } + + public function setPermalink(?string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } + + public function getDataCenter(): ZoneDataCenter + { + return $this->dataCenter; + } + + public function setDataCenter(ZoneDataCenter $dataCenter): self + { + $this->initialized['dataCenter'] = true; + $this->dataCenter = $dataCenter; + + return $this; + } +} diff --git a/src/Model/VirtualMachinesBuildsVirtualMachineBuildGetResponse200VirtualMachineBuild.php b/src/Model/VirtualMachinesBuildsVirtualMachineBuildGetResponse200VirtualMachineBuild.php index 75db94a5..0f46f86b 100644 --- a/src/Model/VirtualMachinesBuildsVirtualMachineBuildGetResponse200VirtualMachineBuild.php +++ b/src/Model/VirtualMachinesBuildsVirtualMachineBuildGetResponse200VirtualMachineBuild.php @@ -34,7 +34,7 @@ public function isInitialized($property): bool */ protected $state; /** - * @var GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachine + * @var GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine|null */ protected $virtualMachine; /** @@ -81,12 +81,12 @@ public function setState(string $state): self return $this; } - public function getVirtualMachine(): GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachine + public function getVirtualMachine(): ?GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine { return $this->virtualMachine; } - public function setVirtualMachine(GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachine $virtualMachine): self + public function setVirtualMachine(?GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine $virtualMachine): self { $this->initialized['virtualMachine'] = true; $this->virtualMachine = $virtualMachine; diff --git a/src/Model/VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddress.php b/src/Model/VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddress.php index 82706054..f0285da0 100644 --- a/src/Model/VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddress.php +++ b/src/Model/VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddress.php @@ -38,7 +38,7 @@ public function isInitialized($property): bool */ protected $vip; /** - * @var string + * @var string|null */ protected $label; /** @@ -46,15 +46,15 @@ public function isInitialized($property): bool */ protected $addressWithMask; /** - * @var Network + * @var IPAddressNetwork */ protected $network; /** - * @var string + * @var string|null */ protected $allocationId; /** - * @var string + * @var string|null */ protected $allocationType; @@ -110,12 +110,12 @@ public function setVip(bool $vip): self return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->initialized['label'] = true; $this->label = $label; @@ -136,12 +136,12 @@ public function setAddressWithMask(string $addressWithMask): self return $this; } - public function getNetwork(): Network + public function getNetwork(): IPAddressNetwork { return $this->network; } - public function setNetwork(Network $network): self + public function setNetwork(IPAddressNetwork $network): self { $this->initialized['network'] = true; $this->network = $network; @@ -149,12 +149,12 @@ public function setNetwork(Network $network): self return $this; } - public function getAllocationId(): string + public function getAllocationId(): ?string { return $this->allocationId; } - public function setAllocationId(string $allocationId): self + public function setAllocationId(?string $allocationId): self { $this->initialized['allocationId'] = true; $this->allocationId = $allocationId; @@ -162,12 +162,12 @@ public function setAllocationId(string $allocationId): self return $this; } - public function getAllocationType(): string + public function getAllocationType(): ?string { return $this->allocationType; } - public function setAllocationType(string $allocationType): self + public function setAllocationType(?string $allocationType): self { $this->initialized['allocationType'] = true; $this->allocationType = $allocationType; diff --git a/src/Model/VirtualMachinesVirtualMachineConsoleSessionsPostResponse201ConsoleSession.php b/src/Model/VirtualMachinesVirtualMachineConsoleSessionsPostResponse201ConsoleSession.php index e2412c7c..9d1d3298 100644 --- a/src/Model/VirtualMachinesVirtualMachineConsoleSessionsPostResponse201ConsoleSession.php +++ b/src/Model/VirtualMachinesVirtualMachineConsoleSessionsPostResponse201ConsoleSession.php @@ -34,7 +34,7 @@ public function isInitialized($property): bool */ protected $expiresAt; /** - * @var PostVirtualMachineConsoleSessionsPartVirtualMachine + * @var PostVirtualMachineConsoleSessions201ResponseConsoleSessionVirtualMachine */ protected $virtualMachine; @@ -77,12 +77,12 @@ public function setExpiresAt(int $expiresAt): self return $this; } - public function getVirtualMachine(): PostVirtualMachineConsoleSessionsPartVirtualMachine + public function getVirtualMachine(): PostVirtualMachineConsoleSessions201ResponseConsoleSessionVirtualMachine { return $this->virtualMachine; } - public function setVirtualMachine(PostVirtualMachineConsoleSessionsPartVirtualMachine $virtualMachine): self + public function setVirtualMachine(PostVirtualMachineConsoleSessions201ResponseConsoleSessionVirtualMachine $virtualMachine): self { $this->initialized['virtualMachine'] = true; $this->virtualMachine = $virtualMachine; diff --git a/src/Model/VirtualMachinesVirtualMachineDeleteResponse200VirtualMachine.php b/src/Model/VirtualMachinesVirtualMachineDeleteResponse200VirtualMachine.php index 1044ac12..bf835724 100644 --- a/src/Model/VirtualMachinesVirtualMachineDeleteResponse200VirtualMachine.php +++ b/src/Model/VirtualMachinesVirtualMachineDeleteResponse200VirtualMachine.php @@ -38,7 +38,7 @@ public function isInitialized($property): bool */ protected $fqdn; /** - * @var string + * @var string|null */ protected $description; /** @@ -46,7 +46,7 @@ public function isInitialized($property): bool */ protected $createdAt; /** - * @var string + * @var string|null */ protected $initialRootPassword; /** @@ -54,43 +54,43 @@ public function isInitialized($property): bool */ protected $state; /** - * @var DeleteVirtualMachinePartZone + * @var DeleteVirtualMachine200ResponseVirtualMachineZone */ protected $zone; /** - * @var DeleteVirtualMachinePartOrganization + * @var DeleteVirtualMachine200ResponseVirtualMachineOrganization */ protected $organization; /** - * @var DeleteVirtualMachinePartGroup + * @var DeleteVirtualMachine200ResponseVirtualMachineGroup|null */ protected $group; /** - * @var DeleteVirtualMachinePartPackage + * @var DeleteVirtualMachine200ResponseVirtualMachinePackage|null */ protected $package; /** - * @var DeleteVirtualMachinePartAttachedISO + * @var DeleteVirtualMachine200ResponseVirtualMachineAttachedIso|null */ protected $attachedIso; /** - * @var int + * @var int|null */ protected $memoryInGb; /** - * @var int + * @var int|null */ protected $cpuCores; /** - * @var DeleteVirtualMachinePartGPUType + * @var DeleteVirtualMachine200ResponseVirtualMachineGpuType|null */ protected $gpuType; /** - * @var DeleteVirtualMachinePartGPUs[] + * @var DeleteVirtualMachine200ResponseVirtualMachineGpusItem[] */ protected $gpus; /** - * @var DeleteVirtualMachinePartTags[] + * @var DeleteVirtualMachine200ResponseVirtualMachineTagsItem[] */ protected $tags; /** @@ -98,7 +98,7 @@ public function isInitialized($property): bool */ protected $tagNames; /** - * @var DeleteVirtualMachinePartIPAddresses[] + * @var DeleteVirtualMachine200ResponseVirtualMachineIpAddressesItem[] */ protected $ipAddresses; @@ -154,12 +154,12 @@ public function setFqdn(string $fqdn): self return $this; } - public function getDescription(): string + public function getDescription(): ?string { return $this->description; } - public function setDescription(string $description): self + public function setDescription(?string $description): self { $this->initialized['description'] = true; $this->description = $description; @@ -180,12 +180,12 @@ public function setCreatedAt(int $createdAt): self return $this; } - public function getInitialRootPassword(): string + public function getInitialRootPassword(): ?string { return $this->initialRootPassword; } - public function setInitialRootPassword(string $initialRootPassword): self + public function setInitialRootPassword(?string $initialRootPassword): self { $this->initialized['initialRootPassword'] = true; $this->initialRootPassword = $initialRootPassword; @@ -206,12 +206,12 @@ public function setState(string $state): self return $this; } - public function getZone(): DeleteVirtualMachinePartZone + public function getZone(): DeleteVirtualMachine200ResponseVirtualMachineZone { return $this->zone; } - public function setZone(DeleteVirtualMachinePartZone $zone): self + public function setZone(DeleteVirtualMachine200ResponseVirtualMachineZone $zone): self { $this->initialized['zone'] = true; $this->zone = $zone; @@ -219,12 +219,12 @@ public function setZone(DeleteVirtualMachinePartZone $zone): self return $this; } - public function getOrganization(): DeleteVirtualMachinePartOrganization + public function getOrganization(): DeleteVirtualMachine200ResponseVirtualMachineOrganization { return $this->organization; } - public function setOrganization(DeleteVirtualMachinePartOrganization $organization): self + public function setOrganization(DeleteVirtualMachine200ResponseVirtualMachineOrganization $organization): self { $this->initialized['organization'] = true; $this->organization = $organization; @@ -232,12 +232,12 @@ public function setOrganization(DeleteVirtualMachinePartOrganization $organizati return $this; } - public function getGroup(): DeleteVirtualMachinePartGroup + public function getGroup(): ?DeleteVirtualMachine200ResponseVirtualMachineGroup { return $this->group; } - public function setGroup(DeleteVirtualMachinePartGroup $group): self + public function setGroup(?DeleteVirtualMachine200ResponseVirtualMachineGroup $group): self { $this->initialized['group'] = true; $this->group = $group; @@ -245,12 +245,12 @@ public function setGroup(DeleteVirtualMachinePartGroup $group): self return $this; } - public function getPackage(): DeleteVirtualMachinePartPackage + public function getPackage(): ?DeleteVirtualMachine200ResponseVirtualMachinePackage { return $this->package; } - public function setPackage(DeleteVirtualMachinePartPackage $package): self + public function setPackage(?DeleteVirtualMachine200ResponseVirtualMachinePackage $package): self { $this->initialized['package'] = true; $this->package = $package; @@ -258,12 +258,12 @@ public function setPackage(DeleteVirtualMachinePartPackage $package): self return $this; } - public function getAttachedIso(): DeleteVirtualMachinePartAttachedISO + public function getAttachedIso(): ?DeleteVirtualMachine200ResponseVirtualMachineAttachedIso { return $this->attachedIso; } - public function setAttachedIso(DeleteVirtualMachinePartAttachedISO $attachedIso): self + public function setAttachedIso(?DeleteVirtualMachine200ResponseVirtualMachineAttachedIso $attachedIso): self { $this->initialized['attachedIso'] = true; $this->attachedIso = $attachedIso; @@ -271,12 +271,12 @@ public function setAttachedIso(DeleteVirtualMachinePartAttachedISO $attachedIso) return $this; } - public function getMemoryInGb(): int + public function getMemoryInGb(): ?int { return $this->memoryInGb; } - public function setMemoryInGb(int $memoryInGb): self + public function setMemoryInGb(?int $memoryInGb): self { $this->initialized['memoryInGb'] = true; $this->memoryInGb = $memoryInGb; @@ -284,12 +284,12 @@ public function setMemoryInGb(int $memoryInGb): self return $this; } - public function getCpuCores(): int + public function getCpuCores(): ?int { return $this->cpuCores; } - public function setCpuCores(int $cpuCores): self + public function setCpuCores(?int $cpuCores): self { $this->initialized['cpuCores'] = true; $this->cpuCores = $cpuCores; @@ -297,12 +297,12 @@ public function setCpuCores(int $cpuCores): self return $this; } - public function getGpuType(): DeleteVirtualMachinePartGPUType + public function getGpuType(): ?DeleteVirtualMachine200ResponseVirtualMachineGpuType { return $this->gpuType; } - public function setGpuType(DeleteVirtualMachinePartGPUType $gpuType): self + public function setGpuType(?DeleteVirtualMachine200ResponseVirtualMachineGpuType $gpuType): self { $this->initialized['gpuType'] = true; $this->gpuType = $gpuType; @@ -311,7 +311,7 @@ public function setGpuType(DeleteVirtualMachinePartGPUType $gpuType): self } /** - * @return DeleteVirtualMachinePartGPUs[] + * @return DeleteVirtualMachine200ResponseVirtualMachineGpusItem[] */ public function getGpus(): array { @@ -319,7 +319,7 @@ public function getGpus(): array } /** - * @param DeleteVirtualMachinePartGPUs[] $gpus + * @param DeleteVirtualMachine200ResponseVirtualMachineGpusItem[] $gpus */ public function setGpus(array $gpus): self { @@ -330,7 +330,7 @@ public function setGpus(array $gpus): self } /** - * @return DeleteVirtualMachinePartTags[] + * @return DeleteVirtualMachine200ResponseVirtualMachineTagsItem[] */ public function getTags(): array { @@ -338,7 +338,7 @@ public function getTags(): array } /** - * @param DeleteVirtualMachinePartTags[] $tags + * @param DeleteVirtualMachine200ResponseVirtualMachineTagsItem[] $tags */ public function setTags(array $tags): self { @@ -368,7 +368,7 @@ public function setTagNames(array $tagNames): self } /** - * @return DeleteVirtualMachinePartIPAddresses[] + * @return DeleteVirtualMachine200ResponseVirtualMachineIpAddressesItem[] */ public function getIpAddresses(): array { @@ -376,7 +376,7 @@ public function getIpAddresses(): array } /** - * @param DeleteVirtualMachinePartIPAddresses[] $ipAddresses + * @param DeleteVirtualMachine200ResponseVirtualMachineIpAddressesItem[] $ipAddresses */ public function setIpAddresses(array $ipAddresses): self { diff --git a/src/Model/VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200Pagination.php b/src/Model/VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200Pagination.php index 3658ce0d..99f4241d 100644 --- a/src/Model/VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200Pagination.php +++ b/src/Model/VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200Pagination.php @@ -30,13 +30,13 @@ public function isInitialized($property): bool /** * The total number of pages. * - * @var int + * @var int|null */ protected $totalPages; /** * The total number of items across all pages. * - * @var int + * @var int|null */ protected $total; /** @@ -74,7 +74,7 @@ public function setCurrentPage(int $currentPage): self /** * The total number of pages. */ - public function getTotalPages(): int + public function getTotalPages(): ?int { return $this->totalPages; } @@ -82,7 +82,7 @@ public function getTotalPages(): int /** * The total number of pages. */ - public function setTotalPages(int $totalPages): self + public function setTotalPages(?int $totalPages): self { $this->initialized['totalPages'] = true; $this->totalPages = $totalPages; @@ -93,7 +93,7 @@ public function setTotalPages(int $totalPages): self /** * The total number of items across all pages. */ - public function getTotal(): int + public function getTotal(): ?int { return $this->total; } @@ -101,7 +101,7 @@ public function getTotal(): int /** * The total number of items across all pages. */ - public function setTotal(int $total): self + public function setTotal(?int $total): self { $this->initialized['total'] = true; $this->total = $total; diff --git a/src/Model/VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicy.php b/src/Model/VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicy.php index 4c69eede..43c7adeb 100644 --- a/src/Model/VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicy.php +++ b/src/Model/VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicy.php @@ -38,11 +38,11 @@ public function isInitialized($property): bool */ protected $target; /** - * @var PostVirtualMachineDiskBackupPoliciesPartSchedule + * @var PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicySchedule */ protected $schedule; /** - * @var int + * @var int|null */ protected $autoMoveToTrashAt; @@ -98,12 +98,12 @@ public function setTarget(DiskBackupPolicyTarget $target): self return $this; } - public function getSchedule(): PostVirtualMachineDiskBackupPoliciesPartSchedule + public function getSchedule(): PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicySchedule { return $this->schedule; } - public function setSchedule(PostVirtualMachineDiskBackupPoliciesPartSchedule $schedule): self + public function setSchedule(PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicySchedule $schedule): self { $this->initialized['schedule'] = true; $this->schedule = $schedule; @@ -111,12 +111,12 @@ public function setSchedule(PostVirtualMachineDiskBackupPoliciesPartSchedule $sc return $this; } - public function getAutoMoveToTrashAt(): int + public function getAutoMoveToTrashAt(): ?int { return $this->autoMoveToTrashAt; } - public function setAutoMoveToTrashAt(int $autoMoveToTrashAt): self + public function setAutoMoveToTrashAt(?int $autoMoveToTrashAt): self { $this->initialized['autoMoveToTrashAt'] = true; $this->autoMoveToTrashAt = $autoMoveToTrashAt; diff --git a/src/Model/VirtualMachinesVirtualMachineDisksGetResponse200Pagination.php b/src/Model/VirtualMachinesVirtualMachineDisksGetResponse200Pagination.php index 62145438..f60286b8 100644 --- a/src/Model/VirtualMachinesVirtualMachineDisksGetResponse200Pagination.php +++ b/src/Model/VirtualMachinesVirtualMachineDisksGetResponse200Pagination.php @@ -30,13 +30,13 @@ public function isInitialized($property): bool /** * The total number of pages. * - * @var int + * @var int|null */ protected $totalPages; /** * The total number of items across all pages. * - * @var int + * @var int|null */ protected $total; /** @@ -74,7 +74,7 @@ public function setCurrentPage(int $currentPage): self /** * The total number of pages. */ - public function getTotalPages(): int + public function getTotalPages(): ?int { return $this->totalPages; } @@ -82,7 +82,7 @@ public function getTotalPages(): int /** * The total number of pages. */ - public function setTotalPages(int $totalPages): self + public function setTotalPages(?int $totalPages): self { $this->initialized['totalPages'] = true; $this->totalPages = $totalPages; @@ -93,7 +93,7 @@ public function setTotalPages(int $totalPages): self /** * The total number of items across all pages. */ - public function getTotal(): int + public function getTotal(): ?int { return $this->total; } @@ -101,7 +101,7 @@ public function getTotal(): int /** * The total number of items across all pages. */ - public function setTotal(int $total): self + public function setTotal(?int $total): self { $this->initialized['total'] = true; $this->total = $total; diff --git a/src/Model/VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200Task.php b/src/Model/VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200Task.php index 912d4fda..b6a60c8c 100644 --- a/src/Model/VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200Task.php +++ b/src/Model/VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200Task.php @@ -38,11 +38,11 @@ public function isInitialized($property): bool */ protected $createdAt; /** - * @var int + * @var int|null */ protected $startedAt; /** - * @var int + * @var int|null */ protected $finishedAt; /** @@ -102,12 +102,12 @@ public function setCreatedAt(int $createdAt): self return $this; } - public function getStartedAt(): int + public function getStartedAt(): ?int { return $this->startedAt; } - public function setStartedAt(int $startedAt): self + public function setStartedAt(?int $startedAt): self { $this->initialized['startedAt'] = true; $this->startedAt = $startedAt; @@ -115,12 +115,12 @@ public function setStartedAt(int $startedAt): self return $this; } - public function getFinishedAt(): int + public function getFinishedAt(): ?int { return $this->finishedAt; } - public function setFinishedAt(int $finishedAt): self + public function setFinishedAt(?int $finishedAt): self { $this->initialized['finishedAt'] = true; $this->finishedAt = $finishedAt; diff --git a/src/Model/VirtualMachinesVirtualMachineGetResponse200VirtualMachine.php b/src/Model/VirtualMachinesVirtualMachineGetResponse200VirtualMachine.php index 2dc4901d..e8b00b56 100644 --- a/src/Model/VirtualMachinesVirtualMachineGetResponse200VirtualMachine.php +++ b/src/Model/VirtualMachinesVirtualMachineGetResponse200VirtualMachine.php @@ -38,7 +38,7 @@ public function isInitialized($property): bool */ protected $fqdn; /** - * @var string + * @var string|null */ protected $description; /** @@ -46,7 +46,7 @@ public function isInitialized($property): bool */ protected $createdAt; /** - * @var string + * @var string|null */ protected $initialRootPassword; /** @@ -54,43 +54,43 @@ public function isInitialized($property): bool */ protected $state; /** - * @var GetVirtualMachinePartZone + * @var GetVirtualMachine200ResponseVirtualMachineZone */ protected $zone; /** - * @var GetVirtualMachinePartOrganization + * @var GetVirtualMachine200ResponseVirtualMachineOrganization */ protected $organization; /** - * @var GetVirtualMachinePartGroup + * @var GetVirtualMachine200ResponseVirtualMachineGroup|null */ protected $group; /** - * @var GetVirtualMachinePartPackage + * @var GetVirtualMachine200ResponseVirtualMachinePackage|null */ protected $package; /** - * @var GetVirtualMachinePartAttachedISO + * @var GetVirtualMachine200ResponseVirtualMachineAttachedIso|null */ protected $attachedIso; /** - * @var int + * @var int|null */ protected $memoryInGb; /** - * @var int + * @var int|null */ protected $cpuCores; /** - * @var GetVirtualMachinePartGPUType + * @var GetVirtualMachine200ResponseVirtualMachineGpuType|null */ protected $gpuType; /** - * @var GetVirtualMachinePartGPUs[] + * @var GetVirtualMachine200ResponseVirtualMachineGpusItem[] */ protected $gpus; /** - * @var GetVirtualMachinePartTags[] + * @var GetVirtualMachine200ResponseVirtualMachineTagsItem[] */ protected $tags; /** @@ -98,7 +98,7 @@ public function isInitialized($property): bool */ protected $tagNames; /** - * @var GetVirtualMachinePartIPAddresses[] + * @var GetVirtualMachine200ResponseVirtualMachineIpAddressesItem[] */ protected $ipAddresses; @@ -154,12 +154,12 @@ public function setFqdn(string $fqdn): self return $this; } - public function getDescription(): string + public function getDescription(): ?string { return $this->description; } - public function setDescription(string $description): self + public function setDescription(?string $description): self { $this->initialized['description'] = true; $this->description = $description; @@ -180,12 +180,12 @@ public function setCreatedAt(int $createdAt): self return $this; } - public function getInitialRootPassword(): string + public function getInitialRootPassword(): ?string { return $this->initialRootPassword; } - public function setInitialRootPassword(string $initialRootPassword): self + public function setInitialRootPassword(?string $initialRootPassword): self { $this->initialized['initialRootPassword'] = true; $this->initialRootPassword = $initialRootPassword; @@ -206,12 +206,12 @@ public function setState(string $state): self return $this; } - public function getZone(): GetVirtualMachinePartZone + public function getZone(): GetVirtualMachine200ResponseVirtualMachineZone { return $this->zone; } - public function setZone(GetVirtualMachinePartZone $zone): self + public function setZone(GetVirtualMachine200ResponseVirtualMachineZone $zone): self { $this->initialized['zone'] = true; $this->zone = $zone; @@ -219,12 +219,12 @@ public function setZone(GetVirtualMachinePartZone $zone): self return $this; } - public function getOrganization(): GetVirtualMachinePartOrganization + public function getOrganization(): GetVirtualMachine200ResponseVirtualMachineOrganization { return $this->organization; } - public function setOrganization(GetVirtualMachinePartOrganization $organization): self + public function setOrganization(GetVirtualMachine200ResponseVirtualMachineOrganization $organization): self { $this->initialized['organization'] = true; $this->organization = $organization; @@ -232,12 +232,12 @@ public function setOrganization(GetVirtualMachinePartOrganization $organization) return $this; } - public function getGroup(): GetVirtualMachinePartGroup + public function getGroup(): ?GetVirtualMachine200ResponseVirtualMachineGroup { return $this->group; } - public function setGroup(GetVirtualMachinePartGroup $group): self + public function setGroup(?GetVirtualMachine200ResponseVirtualMachineGroup $group): self { $this->initialized['group'] = true; $this->group = $group; @@ -245,12 +245,12 @@ public function setGroup(GetVirtualMachinePartGroup $group): self return $this; } - public function getPackage(): GetVirtualMachinePartPackage + public function getPackage(): ?GetVirtualMachine200ResponseVirtualMachinePackage { return $this->package; } - public function setPackage(GetVirtualMachinePartPackage $package): self + public function setPackage(?GetVirtualMachine200ResponseVirtualMachinePackage $package): self { $this->initialized['package'] = true; $this->package = $package; @@ -258,12 +258,12 @@ public function setPackage(GetVirtualMachinePartPackage $package): self return $this; } - public function getAttachedIso(): GetVirtualMachinePartAttachedISO + public function getAttachedIso(): ?GetVirtualMachine200ResponseVirtualMachineAttachedIso { return $this->attachedIso; } - public function setAttachedIso(GetVirtualMachinePartAttachedISO $attachedIso): self + public function setAttachedIso(?GetVirtualMachine200ResponseVirtualMachineAttachedIso $attachedIso): self { $this->initialized['attachedIso'] = true; $this->attachedIso = $attachedIso; @@ -271,12 +271,12 @@ public function setAttachedIso(GetVirtualMachinePartAttachedISO $attachedIso): s return $this; } - public function getMemoryInGb(): int + public function getMemoryInGb(): ?int { return $this->memoryInGb; } - public function setMemoryInGb(int $memoryInGb): self + public function setMemoryInGb(?int $memoryInGb): self { $this->initialized['memoryInGb'] = true; $this->memoryInGb = $memoryInGb; @@ -284,12 +284,12 @@ public function setMemoryInGb(int $memoryInGb): self return $this; } - public function getCpuCores(): int + public function getCpuCores(): ?int { return $this->cpuCores; } - public function setCpuCores(int $cpuCores): self + public function setCpuCores(?int $cpuCores): self { $this->initialized['cpuCores'] = true; $this->cpuCores = $cpuCores; @@ -297,12 +297,12 @@ public function setCpuCores(int $cpuCores): self return $this; } - public function getGpuType(): GetVirtualMachinePartGPUType + public function getGpuType(): ?GetVirtualMachine200ResponseVirtualMachineGpuType { return $this->gpuType; } - public function setGpuType(GetVirtualMachinePartGPUType $gpuType): self + public function setGpuType(?GetVirtualMachine200ResponseVirtualMachineGpuType $gpuType): self { $this->initialized['gpuType'] = true; $this->gpuType = $gpuType; @@ -311,7 +311,7 @@ public function setGpuType(GetVirtualMachinePartGPUType $gpuType): self } /** - * @return GetVirtualMachinePartGPUs[] + * @return GetVirtualMachine200ResponseVirtualMachineGpusItem[] */ public function getGpus(): array { @@ -319,7 +319,7 @@ public function getGpus(): array } /** - * @param GetVirtualMachinePartGPUs[] $gpus + * @param GetVirtualMachine200ResponseVirtualMachineGpusItem[] $gpus */ public function setGpus(array $gpus): self { @@ -330,7 +330,7 @@ public function setGpus(array $gpus): self } /** - * @return GetVirtualMachinePartTags[] + * @return GetVirtualMachine200ResponseVirtualMachineTagsItem[] */ public function getTags(): array { @@ -338,7 +338,7 @@ public function getTags(): array } /** - * @param GetVirtualMachinePartTags[] $tags + * @param GetVirtualMachine200ResponseVirtualMachineTagsItem[] $tags */ public function setTags(array $tags): self { @@ -368,7 +368,7 @@ public function setTagNames(array $tagNames): self } /** - * @return GetVirtualMachinePartIPAddresses[] + * @return GetVirtualMachine200ResponseVirtualMachineIpAddressesItem[] */ public function getIpAddresses(): array { @@ -376,7 +376,7 @@ public function getIpAddresses(): array } /** - * @param GetVirtualMachinePartIPAddresses[] $ipAddresses + * @param GetVirtualMachine200ResponseVirtualMachineIpAddressesItem[] $ipAddresses */ public function setIpAddresses(array $ipAddresses): self { diff --git a/src/Model/VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200Pagination.php b/src/Model/VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200Pagination.php index f6fc1d60..3ca46453 100644 --- a/src/Model/VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200Pagination.php +++ b/src/Model/VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200Pagination.php @@ -30,13 +30,13 @@ public function isInitialized($property): bool /** * The total number of pages. * - * @var int + * @var int|null */ protected $totalPages; /** * The total number of items across all pages. * - * @var int + * @var int|null */ protected $total; /** @@ -74,7 +74,7 @@ public function setCurrentPage(int $currentPage): self /** * The total number of pages. */ - public function getTotalPages(): int + public function getTotalPages(): ?int { return $this->totalPages; } @@ -82,7 +82,7 @@ public function getTotalPages(): int /** * The total number of pages. */ - public function setTotalPages(int $totalPages): self + public function setTotalPages(?int $totalPages): self { $this->initialized['totalPages'] = true; $this->totalPages = $totalPages; @@ -93,7 +93,7 @@ public function setTotalPages(int $totalPages): self /** * The total number of items across all pages. */ - public function getTotal(): int + public function getTotal(): ?int { return $this->total; } @@ -101,7 +101,7 @@ public function getTotal(): int /** * The total number of items across all pages. */ - public function setTotal(int $total): self + public function setTotal(?int $total): self { $this->initialized['total'] = true; $this->total = $total; diff --git a/src/Model/VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterface.php b/src/Model/VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterface.php index 183122b7..60c01b39 100644 --- a/src/Model/VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterface.php +++ b/src/Model/VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterface.php @@ -26,7 +26,7 @@ public function isInitialized($property): bool */ protected $id; /** - * @var GetVirtualMachineNetworkInterfacePartVirtualMachine + * @var GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceVirtualMachine */ protected $virtualMachine; /** @@ -34,7 +34,7 @@ public function isInitialized($property): bool */ protected $name; /** - * @var GetVirtualMachineNetworkInterfacePartNetwork + * @var GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceNetwork */ protected $network; /** @@ -46,7 +46,7 @@ public function isInitialized($property): bool */ protected $state; /** - * @var GetVirtualMachineNetworkInterfacePartIPAddresses[] + * @var GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceIpAddressesItem[] */ protected $ipAddresses; @@ -63,12 +63,12 @@ public function setId(string $id): self return $this; } - public function getVirtualMachine(): GetVirtualMachineNetworkInterfacePartVirtualMachine + public function getVirtualMachine(): GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceVirtualMachine { return $this->virtualMachine; } - public function setVirtualMachine(GetVirtualMachineNetworkInterfacePartVirtualMachine $virtualMachine): self + public function setVirtualMachine(GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceVirtualMachine $virtualMachine): self { $this->initialized['virtualMachine'] = true; $this->virtualMachine = $virtualMachine; @@ -89,12 +89,12 @@ public function setName(string $name): self return $this; } - public function getNetwork(): GetVirtualMachineNetworkInterfacePartNetwork + public function getNetwork(): GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceNetwork { return $this->network; } - public function setNetwork(GetVirtualMachineNetworkInterfacePartNetwork $network): self + public function setNetwork(GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceNetwork $network): self { $this->initialized['network'] = true; $this->network = $network; @@ -129,7 +129,7 @@ public function setState(string $state): self } /** - * @return GetVirtualMachineNetworkInterfacePartIPAddresses[] + * @return GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceIpAddressesItem[] */ public function getIpAddresses(): array { @@ -137,7 +137,7 @@ public function getIpAddresses(): array } /** - * @param GetVirtualMachineNetworkInterfacePartIPAddresses[] $ipAddresses + * @param GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceIpAddressesItem[] $ipAddresses */ public function setIpAddresses(array $ipAddresses): self { diff --git a/src/Model/VirtualMachinesVirtualMachinePackagePutResponse200Task.php b/src/Model/VirtualMachinesVirtualMachinePackagePutResponse200Task.php index 6ff60c80..23cb6e2d 100644 --- a/src/Model/VirtualMachinesVirtualMachinePackagePutResponse200Task.php +++ b/src/Model/VirtualMachinesVirtualMachinePackagePutResponse200Task.php @@ -38,11 +38,11 @@ public function isInitialized($property): bool */ protected $createdAt; /** - * @var int + * @var int|null */ protected $startedAt; /** - * @var int + * @var int|null */ protected $finishedAt; /** @@ -102,12 +102,12 @@ public function setCreatedAt(int $createdAt): self return $this; } - public function getStartedAt(): int + public function getStartedAt(): ?int { return $this->startedAt; } - public function setStartedAt(int $startedAt): self + public function setStartedAt(?int $startedAt): self { $this->initialized['startedAt'] = true; $this->startedAt = $startedAt; @@ -115,12 +115,12 @@ public function setStartedAt(int $startedAt): self return $this; } - public function getFinishedAt(): int + public function getFinishedAt(): ?int { return $this->finishedAt; } - public function setFinishedAt(int $finishedAt): self + public function setFinishedAt(?int $finishedAt): self { $this->initialized['finishedAt'] = true; $this->finishedAt = $finishedAt; diff --git a/src/Model/VirtualMachinesVirtualMachinePatchResponse200VirtualMachine.php b/src/Model/VirtualMachinesVirtualMachinePatchResponse200VirtualMachine.php index 8b5be3ad..8c5ba11f 100644 --- a/src/Model/VirtualMachinesVirtualMachinePatchResponse200VirtualMachine.php +++ b/src/Model/VirtualMachinesVirtualMachinePatchResponse200VirtualMachine.php @@ -38,7 +38,7 @@ public function isInitialized($property): bool */ protected $fqdn; /** - * @var string + * @var string|null */ protected $description; /** @@ -46,7 +46,7 @@ public function isInitialized($property): bool */ protected $createdAt; /** - * @var string + * @var string|null */ protected $initialRootPassword; /** @@ -54,43 +54,43 @@ public function isInitialized($property): bool */ protected $state; /** - * @var PatchVirtualMachinePartZone + * @var PatchVirtualMachine200ResponseVirtualMachineZone */ protected $zone; /** - * @var PatchVirtualMachinePartOrganization + * @var PatchVirtualMachine200ResponseVirtualMachineOrganization */ protected $organization; /** - * @var PatchVirtualMachinePartGroup + * @var PatchVirtualMachine200ResponseVirtualMachineGroup|null */ protected $group; /** - * @var PatchVirtualMachinePartPackage + * @var PatchVirtualMachine200ResponseVirtualMachinePackage|null */ protected $package; /** - * @var PatchVirtualMachinePartAttachedISO + * @var PatchVirtualMachine200ResponseVirtualMachineAttachedIso|null */ protected $attachedIso; /** - * @var int + * @var int|null */ protected $memoryInGb; /** - * @var int + * @var int|null */ protected $cpuCores; /** - * @var PatchVirtualMachinePartGPUType + * @var PatchVirtualMachine200ResponseVirtualMachineGpuType|null */ protected $gpuType; /** - * @var PatchVirtualMachinePartGPUs[] + * @var PatchVirtualMachine200ResponseVirtualMachineGpusItem[] */ protected $gpus; /** - * @var PatchVirtualMachinePartTags[] + * @var PatchVirtualMachine200ResponseVirtualMachineTagsItem[] */ protected $tags; /** @@ -98,7 +98,7 @@ public function isInitialized($property): bool */ protected $tagNames; /** - * @var PatchVirtualMachinePartIPAddresses[] + * @var PatchVirtualMachine200ResponseVirtualMachineIpAddressesItem[] */ protected $ipAddresses; @@ -154,12 +154,12 @@ public function setFqdn(string $fqdn): self return $this; } - public function getDescription(): string + public function getDescription(): ?string { return $this->description; } - public function setDescription(string $description): self + public function setDescription(?string $description): self { $this->initialized['description'] = true; $this->description = $description; @@ -180,12 +180,12 @@ public function setCreatedAt(int $createdAt): self return $this; } - public function getInitialRootPassword(): string + public function getInitialRootPassword(): ?string { return $this->initialRootPassword; } - public function setInitialRootPassword(string $initialRootPassword): self + public function setInitialRootPassword(?string $initialRootPassword): self { $this->initialized['initialRootPassword'] = true; $this->initialRootPassword = $initialRootPassword; @@ -206,12 +206,12 @@ public function setState(string $state): self return $this; } - public function getZone(): PatchVirtualMachinePartZone + public function getZone(): PatchVirtualMachine200ResponseVirtualMachineZone { return $this->zone; } - public function setZone(PatchVirtualMachinePartZone $zone): self + public function setZone(PatchVirtualMachine200ResponseVirtualMachineZone $zone): self { $this->initialized['zone'] = true; $this->zone = $zone; @@ -219,12 +219,12 @@ public function setZone(PatchVirtualMachinePartZone $zone): self return $this; } - public function getOrganization(): PatchVirtualMachinePartOrganization + public function getOrganization(): PatchVirtualMachine200ResponseVirtualMachineOrganization { return $this->organization; } - public function setOrganization(PatchVirtualMachinePartOrganization $organization): self + public function setOrganization(PatchVirtualMachine200ResponseVirtualMachineOrganization $organization): self { $this->initialized['organization'] = true; $this->organization = $organization; @@ -232,12 +232,12 @@ public function setOrganization(PatchVirtualMachinePartOrganization $organizatio return $this; } - public function getGroup(): PatchVirtualMachinePartGroup + public function getGroup(): ?PatchVirtualMachine200ResponseVirtualMachineGroup { return $this->group; } - public function setGroup(PatchVirtualMachinePartGroup $group): self + public function setGroup(?PatchVirtualMachine200ResponseVirtualMachineGroup $group): self { $this->initialized['group'] = true; $this->group = $group; @@ -245,12 +245,12 @@ public function setGroup(PatchVirtualMachinePartGroup $group): self return $this; } - public function getPackage(): PatchVirtualMachinePartPackage + public function getPackage(): ?PatchVirtualMachine200ResponseVirtualMachinePackage { return $this->package; } - public function setPackage(PatchVirtualMachinePartPackage $package): self + public function setPackage(?PatchVirtualMachine200ResponseVirtualMachinePackage $package): self { $this->initialized['package'] = true; $this->package = $package; @@ -258,12 +258,12 @@ public function setPackage(PatchVirtualMachinePartPackage $package): self return $this; } - public function getAttachedIso(): PatchVirtualMachinePartAttachedISO + public function getAttachedIso(): ?PatchVirtualMachine200ResponseVirtualMachineAttachedIso { return $this->attachedIso; } - public function setAttachedIso(PatchVirtualMachinePartAttachedISO $attachedIso): self + public function setAttachedIso(?PatchVirtualMachine200ResponseVirtualMachineAttachedIso $attachedIso): self { $this->initialized['attachedIso'] = true; $this->attachedIso = $attachedIso; @@ -271,12 +271,12 @@ public function setAttachedIso(PatchVirtualMachinePartAttachedISO $attachedIso): return $this; } - public function getMemoryInGb(): int + public function getMemoryInGb(): ?int { return $this->memoryInGb; } - public function setMemoryInGb(int $memoryInGb): self + public function setMemoryInGb(?int $memoryInGb): self { $this->initialized['memoryInGb'] = true; $this->memoryInGb = $memoryInGb; @@ -284,12 +284,12 @@ public function setMemoryInGb(int $memoryInGb): self return $this; } - public function getCpuCores(): int + public function getCpuCores(): ?int { return $this->cpuCores; } - public function setCpuCores(int $cpuCores): self + public function setCpuCores(?int $cpuCores): self { $this->initialized['cpuCores'] = true; $this->cpuCores = $cpuCores; @@ -297,12 +297,12 @@ public function setCpuCores(int $cpuCores): self return $this; } - public function getGpuType(): PatchVirtualMachinePartGPUType + public function getGpuType(): ?PatchVirtualMachine200ResponseVirtualMachineGpuType { return $this->gpuType; } - public function setGpuType(PatchVirtualMachinePartGPUType $gpuType): self + public function setGpuType(?PatchVirtualMachine200ResponseVirtualMachineGpuType $gpuType): self { $this->initialized['gpuType'] = true; $this->gpuType = $gpuType; @@ -311,7 +311,7 @@ public function setGpuType(PatchVirtualMachinePartGPUType $gpuType): self } /** - * @return PatchVirtualMachinePartGPUs[] + * @return PatchVirtualMachine200ResponseVirtualMachineGpusItem[] */ public function getGpus(): array { @@ -319,7 +319,7 @@ public function getGpus(): array } /** - * @param PatchVirtualMachinePartGPUs[] $gpus + * @param PatchVirtualMachine200ResponseVirtualMachineGpusItem[] $gpus */ public function setGpus(array $gpus): self { @@ -330,7 +330,7 @@ public function setGpus(array $gpus): self } /** - * @return PatchVirtualMachinePartTags[] + * @return PatchVirtualMachine200ResponseVirtualMachineTagsItem[] */ public function getTags(): array { @@ -338,7 +338,7 @@ public function getTags(): array } /** - * @param PatchVirtualMachinePartTags[] $tags + * @param PatchVirtualMachine200ResponseVirtualMachineTagsItem[] $tags */ public function setTags(array $tags): self { @@ -368,7 +368,7 @@ public function setTagNames(array $tagNames): self } /** - * @return PatchVirtualMachinePartIPAddresses[] + * @return PatchVirtualMachine200ResponseVirtualMachineIpAddressesItem[] */ public function getIpAddresses(): array { @@ -376,7 +376,7 @@ public function getIpAddresses(): array } /** - * @param PatchVirtualMachinePartIPAddresses[] $ipAddresses + * @param PatchVirtualMachine200ResponseVirtualMachineIpAddressesItem[] $ipAddresses */ public function setIpAddresses(array $ipAddresses): self { diff --git a/src/Model/Zone.php b/src/Model/Zone.php index 33c86249..4cbb575d 100644 --- a/src/Model/Zone.php +++ b/src/Model/Zone.php @@ -30,11 +30,11 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; /** - * @var DataCenter + * @var ZoneDataCenter */ protected $dataCenter; @@ -64,12 +64,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; @@ -77,12 +77,12 @@ public function setPermalink(string $permalink): self return $this; } - public function getDataCenter(): DataCenter + public function getDataCenter(): ZoneDataCenter { return $this->dataCenter; } - public function setDataCenter(DataCenter $dataCenter): self + public function setDataCenter(ZoneDataCenter $dataCenter): self { $this->initialized['dataCenter'] = true; $this->dataCenter = $dataCenter; diff --git a/src/Model/ZoneDataCenter.php b/src/Model/ZoneDataCenter.php new file mode 100644 index 00000000..fc6b32ac --- /dev/null +++ b/src/Model/ZoneDataCenter.php @@ -0,0 +1,92 @@ +initialized); + } + /** + * @var string + */ + protected $id; + /** + * @var string + */ + protected $name; + /** + * @var string|null + */ + protected $permalink; + /** + * @var DataCenterCountry + */ + protected $country; + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->initialized['id'] = true; + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->initialized['name'] = true; + $this->name = $name; + + return $this; + } + + public function getPermalink(): ?string + { + return $this->permalink; + } + + public function setPermalink(?string $permalink): self + { + $this->initialized['permalink'] = true; + $this->permalink = $permalink; + + return $this; + } + + public function getCountry(): DataCenterCountry + { + return $this->country; + } + + public function setCountry(DataCenterCountry $country): self + { + $this->initialized['country'] = true; + $this->country = $country; + + return $this; + } +} diff --git a/src/Model/ZonesZoneGetResponse200Zone.php b/src/Model/ZonesZoneGetResponse200Zone.php index 1cd0f397..007ba3fe 100644 --- a/src/Model/ZonesZoneGetResponse200Zone.php +++ b/src/Model/ZonesZoneGetResponse200Zone.php @@ -30,11 +30,11 @@ public function isInitialized($property): bool */ protected $name; /** - * @var string + * @var string|null */ protected $permalink; /** - * @var DataCenter + * @var ZoneDataCenter */ protected $dataCenter; @@ -64,12 +64,12 @@ public function setName(string $name): self return $this; } - public function getPermalink(): string + public function getPermalink(): ?string { return $this->permalink; } - public function setPermalink(string $permalink): self + public function setPermalink(?string $permalink): self { $this->initialized['permalink'] = true; $this->permalink = $permalink; @@ -77,12 +77,12 @@ public function setPermalink(string $permalink): self return $this; } - public function getDataCenter(): DataCenter + public function getDataCenter(): ZoneDataCenter { return $this->dataCenter; } - public function setDataCenter(DataCenter $dataCenter): self + public function setDataCenter(ZoneDataCenter $dataCenter): self { $this->initialized['dataCenter'] = true; $this->dataCenter = $dataCenter; diff --git a/src/Normalizer/AAAANormalizer.php b/src/Normalizer/AAAANormalizer.php index fee518eb..e53a2a3c 100644 --- a/src/Normalizer/AAAANormalizer.php +++ b/src/Normalizer/AAAANormalizer.php @@ -49,9 +49,11 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('ip', $data)) { + if (\array_key_exists('ip', $data) && $data['ip'] !== null) { $object->setIp($data['ip']); unset($data['ip']); + } elseif (\array_key_exists('ip', $data) && $data['ip'] === null) { + $object->setIp(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/ANormalizer.php b/src/Normalizer/ANormalizer.php index 32814231..e6978eb5 100644 --- a/src/Normalizer/ANormalizer.php +++ b/src/Normalizer/ANormalizer.php @@ -49,9 +49,11 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('ip', $data)) { + if (\array_key_exists('ip', $data) && $data['ip'] !== null) { $object->setIp($data['ip']); unset($data['ip']); + } elseif (\array_key_exists('ip', $data) && $data['ip'] === null) { + $object->setIp(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/CertificateNormalizer.php b/src/Normalizer/CertificateNormalizer.php index d383b155..6fe6623e 100644 --- a/src/Normalizer/CertificateNormalizer.php +++ b/src/Normalizer/CertificateNormalizer.php @@ -77,37 +77,53 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCreatedAt($data['created_at']); unset($data['created_at']); } - if (\array_key_exists('expires_at', $data)) { + if (\array_key_exists('expires_at', $data) && $data['expires_at'] !== null) { $object->setExpiresAt($data['expires_at']); unset($data['expires_at']); + } elseif (\array_key_exists('expires_at', $data) && $data['expires_at'] === null) { + $object->setExpiresAt(null); } - if (\array_key_exists('last_issued_at', $data)) { + if (\array_key_exists('last_issued_at', $data) && $data['last_issued_at'] !== null) { $object->setLastIssuedAt($data['last_issued_at']); unset($data['last_issued_at']); + } elseif (\array_key_exists('last_issued_at', $data) && $data['last_issued_at'] === null) { + $object->setLastIssuedAt(null); } - if (\array_key_exists('issue_error', $data)) { + if (\array_key_exists('issue_error', $data) && $data['issue_error'] !== null) { $object->setIssueError($data['issue_error']); unset($data['issue_error']); + } elseif (\array_key_exists('issue_error', $data) && $data['issue_error'] === null) { + $object->setIssueError(null); } - if (\array_key_exists('authorization_method', $data)) { + if (\array_key_exists('authorization_method', $data) && $data['authorization_method'] !== null) { $object->setAuthorizationMethod($data['authorization_method']); unset($data['authorization_method']); + } elseif (\array_key_exists('authorization_method', $data) && $data['authorization_method'] === null) { + $object->setAuthorizationMethod(null); } - if (\array_key_exists('certificate_api_url', $data)) { + if (\array_key_exists('certificate_api_url', $data) && $data['certificate_api_url'] !== null) { $object->setCertificateApiUrl($data['certificate_api_url']); unset($data['certificate_api_url']); + } elseif (\array_key_exists('certificate_api_url', $data) && $data['certificate_api_url'] === null) { + $object->setCertificateApiUrl(null); } - if (\array_key_exists('certificate', $data)) { + if (\array_key_exists('certificate', $data) && $data['certificate'] !== null) { $object->setCertificate($data['certificate']); unset($data['certificate']); + } elseif (\array_key_exists('certificate', $data) && $data['certificate'] === null) { + $object->setCertificate(null); } - if (\array_key_exists('chain', $data)) { + if (\array_key_exists('chain', $data) && $data['chain'] !== null) { $object->setChain($data['chain']); unset($data['chain']); + } elseif (\array_key_exists('chain', $data) && $data['chain'] === null) { + $object->setChain(null); } - if (\array_key_exists('private_key', $data)) { + if (\array_key_exists('private_key', $data) && $data['private_key'] !== null) { $object->setPrivateKey($data['private_key']); unset($data['private_key']); + } elseif (\array_key_exists('private_key', $data) && $data['private_key'] === null) { + $object->setPrivateKey(null); } foreach ($data as $key => $value_1) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/CountriesCountryCountryStatesGetResponse200PaginationNormalizer.php b/src/Normalizer/CountriesCountryCountryStatesGetResponse200PaginationNormalizer.php index 4e594dd8..797625b7 100644 --- a/src/Normalizer/CountriesCountryCountryStatesGetResponse200PaginationNormalizer.php +++ b/src/Normalizer/CountriesCountryCountryStatesGetResponse200PaginationNormalizer.php @@ -53,13 +53,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCurrentPage($data['current_page']); unset($data['current_page']); } - if (\array_key_exists('total_pages', $data)) { + if (\array_key_exists('total_pages', $data) && $data['total_pages'] !== null) { $object->setTotalPages($data['total_pages']); unset($data['total_pages']); + } elseif (\array_key_exists('total_pages', $data) && $data['total_pages'] === null) { + $object->setTotalPages(null); } - if (\array_key_exists('total', $data)) { + if (\array_key_exists('total', $data) && $data['total'] !== null) { $object->setTotal($data['total']); unset($data['total']); + } elseif (\array_key_exists('total', $data) && $data['total'] === null) { + $object->setTotal(null); } if (\array_key_exists('per_page', $data)) { $object->setPerPage($data['per_page']); diff --git a/src/Normalizer/CountriesCountryGetResponse200CountryNormalizer.php b/src/Normalizer/CountriesCountryGetResponse200CountryNormalizer.php index e8e8ce22..a913b96d 100644 --- a/src/Normalizer/CountriesCountryGetResponse200CountryNormalizer.php +++ b/src/Normalizer/CountriesCountryGetResponse200CountryNormalizer.php @@ -65,9 +65,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setIsoCode3($data['iso_code3']); unset($data['iso_code3']); } - if (\array_key_exists('time_zone', $data)) { + if (\array_key_exists('time_zone', $data) && $data['time_zone'] !== null) { $object->setTimeZone($data['time_zone']); unset($data['time_zone']); + } elseif (\array_key_exists('time_zone', $data) && $data['time_zone'] === null) { + $object->setTimeZone(null); } if (\array_key_exists('eu', $data)) { $object->setEu($data['eu']); diff --git a/src/Normalizer/CountriesGetResponse200PaginationNormalizer.php b/src/Normalizer/CountriesGetResponse200PaginationNormalizer.php index 7c5f9f23..81d87f09 100644 --- a/src/Normalizer/CountriesGetResponse200PaginationNormalizer.php +++ b/src/Normalizer/CountriesGetResponse200PaginationNormalizer.php @@ -53,13 +53,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCurrentPage($data['current_page']); unset($data['current_page']); } - if (\array_key_exists('total_pages', $data)) { + if (\array_key_exists('total_pages', $data) && $data['total_pages'] !== null) { $object->setTotalPages($data['total_pages']); unset($data['total_pages']); + } elseif (\array_key_exists('total_pages', $data) && $data['total_pages'] === null) { + $object->setTotalPages(null); } - if (\array_key_exists('total', $data)) { + if (\array_key_exists('total', $data) && $data['total'] !== null) { $object->setTotal($data['total']); unset($data['total']); + } elseif (\array_key_exists('total', $data) && $data['total'] === null) { + $object->setTotal(null); } if (\array_key_exists('per_page', $data)) { $object->setPerPage($data['per_page']); diff --git a/src/Normalizer/CountryNormalizer.php b/src/Normalizer/CountryNormalizer.php index 7cae3848..777d8183 100644 --- a/src/Normalizer/CountryNormalizer.php +++ b/src/Normalizer/CountryNormalizer.php @@ -65,9 +65,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setIsoCode3($data['iso_code3']); unset($data['iso_code3']); } - if (\array_key_exists('time_zone', $data)) { + if (\array_key_exists('time_zone', $data) && $data['time_zone'] !== null) { $object->setTimeZone($data['time_zone']); unset($data['time_zone']); + } elseif (\array_key_exists('time_zone', $data) && $data['time_zone'] === null) { + $object->setTimeZone(null); } if (\array_key_exists('eu', $data)) { $object->setEu($data['eu']); diff --git a/src/Normalizer/CountryStateCountryNormalizer.php b/src/Normalizer/CountryStateCountryNormalizer.php new file mode 100644 index 00000000..f0f63b8f --- /dev/null +++ b/src/Normalizer/CountryStateCountryNormalizer.php @@ -0,0 +1,124 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('iso_code2', $data)) { + $object->setIsoCode2($data['iso_code2']); + unset($data['iso_code2']); + } + if (\array_key_exists('iso_code3', $data)) { + $object->setIsoCode3($data['iso_code3']); + unset($data['iso_code3']); + } + if (\array_key_exists('time_zone', $data) && $data['time_zone'] !== null) { + $object->setTimeZone($data['time_zone']); + unset($data['time_zone']); + } elseif (\array_key_exists('time_zone', $data) && $data['time_zone'] === null) { + $object->setTimeZone(null); + } + if (\array_key_exists('eu', $data)) { + $object->setEu($data['eu']); + unset($data['eu']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('isoCode2') && null !== $object->getIsoCode2()) { + $data['iso_code2'] = $object->getIsoCode2(); + } + if ($object->isInitialized('isoCode3') && null !== $object->getIsoCode3()) { + $data['iso_code3'] = $object->getIsoCode3(); + } + if ($object->isInitialized('timeZone') && null !== $object->getTimeZone()) { + $data['time_zone'] = $object->getTimeZone(); + } + if ($object->isInitialized('eu') && null !== $object->getEu()) { + $data['eu'] = $object->getEu(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\CountryStateCountry' => false]; + } +} diff --git a/src/Normalizer/CountryStateNormalizer.php b/src/Normalizer/CountryStateNormalizer.php index 92961546..9bfcfab5 100644 --- a/src/Normalizer/CountryStateNormalizer.php +++ b/src/Normalizer/CountryStateNormalizer.php @@ -62,7 +62,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['code']); } if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\Country', 'json', $context)); + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\CountryStateCountry', 'json', $context)); unset($data['country']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/CountryStatesCountryStateGetResponse200CountryStateNormalizer.php b/src/Normalizer/CountryStatesCountryStateGetResponse200CountryStateNormalizer.php index 4a145977..3cd64a79 100644 --- a/src/Normalizer/CountryStatesCountryStateGetResponse200CountryStateNormalizer.php +++ b/src/Normalizer/CountryStatesCountryStateGetResponse200CountryStateNormalizer.php @@ -62,7 +62,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['code']); } if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\Country', 'json', $context)); + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\CountryStateCountry', 'json', $context)); unset($data['country']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/CurrenciesGetResponse200PaginationNormalizer.php b/src/Normalizer/CurrenciesGetResponse200PaginationNormalizer.php index d148369c..e98cb62b 100644 --- a/src/Normalizer/CurrenciesGetResponse200PaginationNormalizer.php +++ b/src/Normalizer/CurrenciesGetResponse200PaginationNormalizer.php @@ -53,13 +53,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCurrentPage($data['current_page']); unset($data['current_page']); } - if (\array_key_exists('total_pages', $data)) { + if (\array_key_exists('total_pages', $data) && $data['total_pages'] !== null) { $object->setTotalPages($data['total_pages']); unset($data['total_pages']); + } elseif (\array_key_exists('total_pages', $data) && $data['total_pages'] === null) { + $object->setTotalPages(null); } - if (\array_key_exists('total', $data)) { + if (\array_key_exists('total', $data) && $data['total'] !== null) { $object->setTotal($data['total']); unset($data['total']); + } elseif (\array_key_exists('total', $data) && $data['total'] === null) { + $object->setTotal(null); } if (\array_key_exists('per_page', $data)) { $object->setPerPage($data['per_page']); diff --git a/src/Normalizer/DNSRecordContentAttributesAAAANormalizer.php b/src/Normalizer/DNSRecordContentAttributesAAAANormalizer.php new file mode 100644 index 00000000..ffe4a6bd --- /dev/null +++ b/src/Normalizer/DNSRecordContentAttributesAAAANormalizer.php @@ -0,0 +1,89 @@ +setIpAddress($data['ip_address']); + unset($data['ip_address']); + } elseif (\array_key_exists('ip_address', $data) && $data['ip_address'] === null) { + $object->setIpAddress(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('ipAddress') && null !== $object->getIpAddress()) { + $data['ip_address'] = $object->getIpAddress(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesAAAA' => false]; + } +} diff --git a/src/Normalizer/DNSRecordContentAttributesALIASNormalizer.php b/src/Normalizer/DNSRecordContentAttributesALIASNormalizer.php new file mode 100644 index 00000000..78ca45bc --- /dev/null +++ b/src/Normalizer/DNSRecordContentAttributesALIASNormalizer.php @@ -0,0 +1,89 @@ +setHostname($data['hostname']); + unset($data['hostname']); + } elseif (\array_key_exists('hostname', $data) && $data['hostname'] === null) { + $object->setHostname(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('hostname') && null !== $object->getHostname()) { + $data['hostname'] = $object->getHostname(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesALIAS' => false]; + } +} diff --git a/src/Normalizer/DNSRecordContentAttributesANormalizer.php b/src/Normalizer/DNSRecordContentAttributesANormalizer.php new file mode 100644 index 00000000..9bbd0f06 --- /dev/null +++ b/src/Normalizer/DNSRecordContentAttributesANormalizer.php @@ -0,0 +1,89 @@ +setIpAddress($data['ip_address']); + unset($data['ip_address']); + } elseif (\array_key_exists('ip_address', $data) && $data['ip_address'] === null) { + $object->setIpAddress(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('ipAddress') && null !== $object->getIpAddress()) { + $data['ip_address'] = $object->getIpAddress(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesA' => false]; + } +} diff --git a/src/Normalizer/DNSRecordContentAttributesCAANormalizer.php b/src/Normalizer/DNSRecordContentAttributesCAANormalizer.php new file mode 100644 index 00000000..beec2a53 --- /dev/null +++ b/src/Normalizer/DNSRecordContentAttributesCAANormalizer.php @@ -0,0 +1,107 @@ +setFlag($data['flag']); + unset($data['flag']); + } elseif (\array_key_exists('flag', $data) && $data['flag'] === null) { + $object->setFlag(null); + } + if (\array_key_exists('tag', $data) && $data['tag'] !== null) { + $object->setTag($data['tag']); + unset($data['tag']); + } elseif (\array_key_exists('tag', $data) && $data['tag'] === null) { + $object->setTag(null); + } + if (\array_key_exists('value', $data) && $data['value'] !== null) { + $object->setValue($data['value']); + unset($data['value']); + } elseif (\array_key_exists('value', $data) && $data['value'] === null) { + $object->setValue(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('flag') && null !== $object->getFlag()) { + $data['flag'] = $object->getFlag(); + } + if ($object->isInitialized('tag') && null !== $object->getTag()) { + $data['tag'] = $object->getTag(); + } + if ($object->isInitialized('value') && null !== $object->getValue()) { + $data['value'] = $object->getValue(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesCAA' => false]; + } +} diff --git a/src/Normalizer/DNSRecordContentAttributesCNAMENormalizer.php b/src/Normalizer/DNSRecordContentAttributesCNAMENormalizer.php new file mode 100644 index 00000000..06703399 --- /dev/null +++ b/src/Normalizer/DNSRecordContentAttributesCNAMENormalizer.php @@ -0,0 +1,89 @@ +setHostname($data['hostname']); + unset($data['hostname']); + } elseif (\array_key_exists('hostname', $data) && $data['hostname'] === null) { + $object->setHostname(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('hostname') && null !== $object->getHostname()) { + $data['hostname'] = $object->getHostname(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesCNAME' => false]; + } +} diff --git a/src/Normalizer/DNSRecordContentAttributesIPSNormalizer.php b/src/Normalizer/DNSRecordContentAttributesIPSNormalizer.php new file mode 100644 index 00000000..76919390 --- /dev/null +++ b/src/Normalizer/DNSRecordContentAttributesIPSNormalizer.php @@ -0,0 +1,89 @@ +setIpAddresses($data['ip_addresses']); + unset($data['ip_addresses']); + } elseif (\array_key_exists('ip_addresses', $data) && $data['ip_addresses'] === null) { + $object->setIpAddresses(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('ipAddresses') && null !== $object->getIpAddresses()) { + $data['ip_addresses'] = $object->getIpAddresses(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesIPS' => false]; + } +} diff --git a/src/Normalizer/DNSRecordContentAttributesMXNormalizer.php b/src/Normalizer/DNSRecordContentAttributesMXNormalizer.php new file mode 100644 index 00000000..fb012721 --- /dev/null +++ b/src/Normalizer/DNSRecordContentAttributesMXNormalizer.php @@ -0,0 +1,89 @@ +setHostname($data['hostname']); + unset($data['hostname']); + } elseif (\array_key_exists('hostname', $data) && $data['hostname'] === null) { + $object->setHostname(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('hostname') && null !== $object->getHostname()) { + $data['hostname'] = $object->getHostname(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesMX' => false]; + } +} diff --git a/src/Normalizer/DNSRecordContentAttributesNSNormalizer.php b/src/Normalizer/DNSRecordContentAttributesNSNormalizer.php new file mode 100644 index 00000000..c7b77e99 --- /dev/null +++ b/src/Normalizer/DNSRecordContentAttributesNSNormalizer.php @@ -0,0 +1,89 @@ +setHostname($data['hostname']); + unset($data['hostname']); + } elseif (\array_key_exists('hostname', $data) && $data['hostname'] === null) { + $object->setHostname(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('hostname') && null !== $object->getHostname()) { + $data['hostname'] = $object->getHostname(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesNS' => false]; + } +} diff --git a/src/Normalizer/DNSRecordContentAttributesNormalizer.php b/src/Normalizer/DNSRecordContentAttributesNormalizer.php index 07d6ffd4..b766dfe5 100644 --- a/src/Normalizer/DNSRecordContentAttributesNormalizer.php +++ b/src/Normalizer/DNSRecordContentAttributesNormalizer.php @@ -49,69 +49,93 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('A', $data)) { - $object->setA($this->denormalizer->denormalize($data['A'], 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForA', 'json', $context)); + if (\array_key_exists('A', $data) && $data['A'] !== null) { + $object->setA($this->denormalizer->denormalize($data['A'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesA', 'json', $context)); unset($data['A']); + } elseif (\array_key_exists('A', $data) && $data['A'] === null) { + $object->setA(null); } - if (\array_key_exists('AAAA', $data)) { - $object->setAAAA($this->denormalizer->denormalize($data['AAAA'], 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForAAAA', 'json', $context)); + if (\array_key_exists('AAAA', $data) && $data['AAAA'] !== null) { + $object->setAAAA($this->denormalizer->denormalize($data['AAAA'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesAAAA', 'json', $context)); unset($data['AAAA']); + } elseif (\array_key_exists('AAAA', $data) && $data['AAAA'] === null) { + $object->setAAAA(null); } - if (\array_key_exists('ALIAS', $data)) { - $object->setALIAS($this->denormalizer->denormalize($data['ALIAS'], 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForALIAS', 'json', $context)); + if (\array_key_exists('ALIAS', $data) && $data['ALIAS'] !== null) { + $object->setALIAS($this->denormalizer->denormalize($data['ALIAS'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesALIAS', 'json', $context)); unset($data['ALIAS']); + } elseif (\array_key_exists('ALIAS', $data) && $data['ALIAS'] === null) { + $object->setALIAS(null); } - if (\array_key_exists('CAA', $data)) { - $object->setCAA($this->denormalizer->denormalize($data['CAA'], 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForCAA', 'json', $context)); + if (\array_key_exists('CAA', $data) && $data['CAA'] !== null) { + $object->setCAA($this->denormalizer->denormalize($data['CAA'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesCAA', 'json', $context)); unset($data['CAA']); + } elseif (\array_key_exists('CAA', $data) && $data['CAA'] === null) { + $object->setCAA(null); } - if (\array_key_exists('CNAME', $data)) { - $object->setCNAME($this->denormalizer->denormalize($data['CNAME'], 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForCNAME', 'json', $context)); + if (\array_key_exists('CNAME', $data) && $data['CNAME'] !== null) { + $object->setCNAME($this->denormalizer->denormalize($data['CNAME'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesCNAME', 'json', $context)); unset($data['CNAME']); + } elseif (\array_key_exists('CNAME', $data) && $data['CNAME'] === null) { + $object->setCNAME(null); } - if (\array_key_exists('IPS', $data)) { - $object->setIPS($this->denormalizer->denormalize($data['IPS'], 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForIPS', 'json', $context)); + if (\array_key_exists('IPS', $data) && $data['IPS'] !== null) { + $object->setIPS($this->denormalizer->denormalize($data['IPS'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesIPS', 'json', $context)); unset($data['IPS']); + } elseif (\array_key_exists('IPS', $data) && $data['IPS'] === null) { + $object->setIPS(null); } - if (\array_key_exists('MX', $data)) { - $object->setMX($this->denormalizer->denormalize($data['MX'], 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForMX', 'json', $context)); + if (\array_key_exists('MX', $data) && $data['MX'] !== null) { + $object->setMX($this->denormalizer->denormalize($data['MX'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesMX', 'json', $context)); unset($data['MX']); + } elseif (\array_key_exists('MX', $data) && $data['MX'] === null) { + $object->setMX(null); } - if (\array_key_exists('NS', $data)) { - $object->setNS($this->denormalizer->denormalize($data['NS'], 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForNS', 'json', $context)); + if (\array_key_exists('NS', $data) && $data['NS'] !== null) { + $object->setNS($this->denormalizer->denormalize($data['NS'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesNS', 'json', $context)); unset($data['NS']); + } elseif (\array_key_exists('NS', $data) && $data['NS'] === null) { + $object->setNS(null); } - if (\array_key_exists('PTR', $data)) { - $object->setPTR($this->denormalizer->denormalize($data['PTR'], 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForPTR', 'json', $context)); + if (\array_key_exists('PTR', $data) && $data['PTR'] !== null) { + $object->setPTR($this->denormalizer->denormalize($data['PTR'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesPTR', 'json', $context)); unset($data['PTR']); + } elseif (\array_key_exists('PTR', $data) && $data['PTR'] === null) { + $object->setPTR(null); } - if (\array_key_exists('SOA', $data)) { - $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); - foreach ($data['SOA'] as $key => $value) { - $values[$key] = $value; - } - $object->setSOA($values); + if (\array_key_exists('SOA', $data) && $data['SOA'] !== null) { + $object->setSOA($this->denormalizer->denormalize($data['SOA'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesSOA', 'json', $context)); unset($data['SOA']); + } elseif (\array_key_exists('SOA', $data) && $data['SOA'] === null) { + $object->setSOA(null); } - if (\array_key_exists('SRV', $data)) { - $object->setSRV($this->denormalizer->denormalize($data['SRV'], 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForSRV', 'json', $context)); + if (\array_key_exists('SRV', $data) && $data['SRV'] !== null) { + $object->setSRV($this->denormalizer->denormalize($data['SRV'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesSRV', 'json', $context)); unset($data['SRV']); + } elseif (\array_key_exists('SRV', $data) && $data['SRV'] === null) { + $object->setSRV(null); } - if (\array_key_exists('SSHFP', $data)) { - $object->setSSHFP($this->denormalizer->denormalize($data['SSHFP'], 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForSSHFP', 'json', $context)); + if (\array_key_exists('SSHFP', $data) && $data['SSHFP'] !== null) { + $object->setSSHFP($this->denormalizer->denormalize($data['SSHFP'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesSSHFP', 'json', $context)); unset($data['SSHFP']); + } elseif (\array_key_exists('SSHFP', $data) && $data['SSHFP'] === null) { + $object->setSSHFP(null); } - if (\array_key_exists('TXT', $data)) { - $object->setTXT($this->denormalizer->denormalize($data['TXT'], 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForTXT', 'json', $context)); + if (\array_key_exists('TXT', $data) && $data['TXT'] !== null) { + $object->setTXT($this->denormalizer->denormalize($data['TXT'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesTXT', 'json', $context)); unset($data['TXT']); + } elseif (\array_key_exists('TXT', $data) && $data['TXT'] === null) { + $object->setTXT(null); } - if (\array_key_exists('VirtualMachine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['VirtualMachine'], 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForVirtualMachine', 'json', $context)); + if (\array_key_exists('VirtualMachine', $data) && $data['VirtualMachine'] !== null) { + $object->setVirtualMachine($this->denormalizer->denormalize($data['VirtualMachine'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesVirtualMachine', 'json', $context)); unset($data['VirtualMachine']); + } elseif (\array_key_exists('VirtualMachine', $data) && $data['VirtualMachine'] === null) { + $object->setVirtualMachine(null); } - foreach ($data as $key_1 => $value_1) { - if (preg_match('/.*/', (string) $key_1)) { - $object[$key_1] = $value_1; + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; } } @@ -152,11 +176,7 @@ public function normalize($object, $format = null, array $context = []) $data['PTR'] = $this->normalizer->normalize($object->getPTR(), 'json', $context); } if ($object->isInitialized('sOA') && null !== $object->getSOA()) { - $values = []; - foreach ($object->getSOA() as $key => $value) { - $values[$key] = $value; - } - $data['SOA'] = $values; + $data['SOA'] = $this->normalizer->normalize($object->getSOA(), 'json', $context); } if ($object->isInitialized('sRV') && null !== $object->getSRV()) { $data['SRV'] = $this->normalizer->normalize($object->getSRV(), 'json', $context); @@ -170,9 +190,9 @@ public function normalize($object, $format = null, array $context = []) if ($object->isInitialized('virtualMachine') && null !== $object->getVirtualMachine()) { $data['VirtualMachine'] = $this->normalizer->normalize($object->getVirtualMachine(), 'json', $context); } - foreach ($object as $key_1 => $value_1) { - if (preg_match('/.*/', (string) $key_1)) { - $data[$key_1] = $value_1; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; } } diff --git a/src/Normalizer/DNSRecordContentAttributesPTRNormalizer.php b/src/Normalizer/DNSRecordContentAttributesPTRNormalizer.php new file mode 100644 index 00000000..84f9dd97 --- /dev/null +++ b/src/Normalizer/DNSRecordContentAttributesPTRNormalizer.php @@ -0,0 +1,89 @@ +setHostname($data['hostname']); + unset($data['hostname']); + } elseif (\array_key_exists('hostname', $data) && $data['hostname'] === null) { + $object->setHostname(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('hostname') && null !== $object->getHostname()) { + $data['hostname'] = $object->getHostname(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesPTR' => false]; + } +} diff --git a/src/Normalizer/DNSRecordContentAttributesSOANormalizer.php b/src/Normalizer/DNSRecordContentAttributesSOANormalizer.php new file mode 100644 index 00000000..3c64390f --- /dev/null +++ b/src/Normalizer/DNSRecordContentAttributesSOANormalizer.php @@ -0,0 +1,80 @@ + $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesSOA' => false]; + } +} diff --git a/src/Normalizer/DNSRecordContentAttributesSRVNormalizer.php b/src/Normalizer/DNSRecordContentAttributesSRVNormalizer.php new file mode 100644 index 00000000..1f71d64e --- /dev/null +++ b/src/Normalizer/DNSRecordContentAttributesSRVNormalizer.php @@ -0,0 +1,107 @@ +setWeight($data['weight']); + unset($data['weight']); + } elseif (\array_key_exists('weight', $data) && $data['weight'] === null) { + $object->setWeight(null); + } + if (\array_key_exists('port', $data) && $data['port'] !== null) { + $object->setPort($data['port']); + unset($data['port']); + } elseif (\array_key_exists('port', $data) && $data['port'] === null) { + $object->setPort(null); + } + if (\array_key_exists('target', $data) && $data['target'] !== null) { + $object->setTarget($data['target']); + unset($data['target']); + } elseif (\array_key_exists('target', $data) && $data['target'] === null) { + $object->setTarget(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('weight') && null !== $object->getWeight()) { + $data['weight'] = $object->getWeight(); + } + if ($object->isInitialized('port') && null !== $object->getPort()) { + $data['port'] = $object->getPort(); + } + if ($object->isInitialized('target') && null !== $object->getTarget()) { + $data['target'] = $object->getTarget(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesSRV' => false]; + } +} diff --git a/src/Normalizer/DNSRecordContentAttributesSSHFPNormalizer.php b/src/Normalizer/DNSRecordContentAttributesSSHFPNormalizer.php new file mode 100644 index 00000000..9c1ec347 --- /dev/null +++ b/src/Normalizer/DNSRecordContentAttributesSSHFPNormalizer.php @@ -0,0 +1,107 @@ +setAlgorithm($data['algorithm']); + unset($data['algorithm']); + } elseif (\array_key_exists('algorithm', $data) && $data['algorithm'] === null) { + $object->setAlgorithm(null); + } + if (\array_key_exists('fingerprint_type', $data) && $data['fingerprint_type'] !== null) { + $object->setFingerprintType($data['fingerprint_type']); + unset($data['fingerprint_type']); + } elseif (\array_key_exists('fingerprint_type', $data) && $data['fingerprint_type'] === null) { + $object->setFingerprintType(null); + } + if (\array_key_exists('fingerprint', $data) && $data['fingerprint'] !== null) { + $object->setFingerprint($data['fingerprint']); + unset($data['fingerprint']); + } elseif (\array_key_exists('fingerprint', $data) && $data['fingerprint'] === null) { + $object->setFingerprint(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('algorithm') && null !== $object->getAlgorithm()) { + $data['algorithm'] = $object->getAlgorithm(); + } + if ($object->isInitialized('fingerprintType') && null !== $object->getFingerprintType()) { + $data['fingerprint_type'] = $object->getFingerprintType(); + } + if ($object->isInitialized('fingerprint') && null !== $object->getFingerprint()) { + $data['fingerprint'] = $object->getFingerprint(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesSSHFP' => false]; + } +} diff --git a/src/Normalizer/DNSRecordContentAttributesTXTNormalizer.php b/src/Normalizer/DNSRecordContentAttributesTXTNormalizer.php new file mode 100644 index 00000000..711e1130 --- /dev/null +++ b/src/Normalizer/DNSRecordContentAttributesTXTNormalizer.php @@ -0,0 +1,89 @@ +setContent($data['content']); + unset($data['content']); + } elseif (\array_key_exists('content', $data) && $data['content'] === null) { + $object->setContent(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('content') && null !== $object->getContent()) { + $data['content'] = $object->getContent(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesTXT' => false]; + } +} diff --git a/src/Normalizer/DNSRecordContentAttributesVirtualMachineNormalizer.php b/src/Normalizer/DNSRecordContentAttributesVirtualMachineNormalizer.php new file mode 100644 index 00000000..c02c26f0 --- /dev/null +++ b/src/Normalizer/DNSRecordContentAttributesVirtualMachineNormalizer.php @@ -0,0 +1,89 @@ +setVirtualMachine($data['virtual_machine']); + unset($data['virtual_machine']); + } elseif (\array_key_exists('virtual_machine', $data) && $data['virtual_machine'] === null) { + $object->setVirtualMachine(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('virtualMachine') && null !== $object->getVirtualMachine()) { + $data['virtual_machine'] = $object->getVirtualMachine(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesVirtualMachine' => false]; + } +} diff --git a/src/Normalizer/DNSRecordNormalizer.php b/src/Normalizer/DNSRecordNormalizer.php index c879bbd4..deb4f309 100644 --- a/src/Normalizer/DNSRecordNormalizer.php +++ b/src/Normalizer/DNSRecordNormalizer.php @@ -53,25 +53,31 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setId($data['id']); unset($data['id']); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && $data['name'] !== null) { $object->setName($data['name']); unset($data['name']); + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + $object->setName(null); } if (\array_key_exists('full_name', $data)) { $object->setFullName($data['full_name']); unset($data['full_name']); } - if (\array_key_exists('ttl', $data)) { + if (\array_key_exists('ttl', $data) && $data['ttl'] !== null) { $object->setTtl($data['ttl']); unset($data['ttl']); + } elseif (\array_key_exists('ttl', $data) && $data['ttl'] === null) { + $object->setTtl(null); } if (\array_key_exists('type', $data)) { $object->setType($data['type']); unset($data['type']); } - if (\array_key_exists('priority', $data)) { + if (\array_key_exists('priority', $data) && $data['priority'] !== null) { $object->setPriority($data['priority']); unset($data['priority']); + } elseif (\array_key_exists('priority', $data) && $data['priority'] === null) { + $object->setPriority(null); } if (\array_key_exists('content', $data)) { $object->setContent($data['content']); diff --git a/src/Normalizer/DNSZoneNotVerifiedNormalizer.php b/src/Normalizer/DNSZoneNotVerifiedNormalizer.php index cbc9901a..1ca67b90 100644 --- a/src/Normalizer/DNSZoneNotVerifiedNormalizer.php +++ b/src/Normalizer/DNSZoneNotVerifiedNormalizer.php @@ -50,7 +50,7 @@ public function denormalize($data, $class, $format = null, array $context = []) return $object; } if (\array_key_exists('verification_details', $data)) { - $object->setVerificationDetails($this->denormalizer->denormalize($data['verification_details'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSZoneVerificationDetails', 'json', $context)); + $object->setVerificationDetails($data['verification_details']); unset($data['verification_details']); } foreach ($data as $key => $value) { @@ -69,7 +69,7 @@ public function normalize($object, $format = null, array $context = []) { $data = []; if ($object->isInitialized('verificationDetails') && null !== $object->getVerificationDetails()) { - $data['verification_details'] = $this->normalizer->normalize($object->getVerificationDetails(), 'json', $context); + $data['verification_details'] = $object->getVerificationDetails(); } foreach ($object as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/DataCenterCountryNormalizer.php b/src/Normalizer/DataCenterCountryNormalizer.php new file mode 100644 index 00000000..fa7cd8c9 --- /dev/null +++ b/src/Normalizer/DataCenterCountryNormalizer.php @@ -0,0 +1,124 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('iso_code2', $data)) { + $object->setIsoCode2($data['iso_code2']); + unset($data['iso_code2']); + } + if (\array_key_exists('iso_code3', $data)) { + $object->setIsoCode3($data['iso_code3']); + unset($data['iso_code3']); + } + if (\array_key_exists('time_zone', $data) && $data['time_zone'] !== null) { + $object->setTimeZone($data['time_zone']); + unset($data['time_zone']); + } elseif (\array_key_exists('time_zone', $data) && $data['time_zone'] === null) { + $object->setTimeZone(null); + } + if (\array_key_exists('eu', $data)) { + $object->setEu($data['eu']); + unset($data['eu']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('isoCode2') && null !== $object->getIsoCode2()) { + $data['iso_code2'] = $object->getIsoCode2(); + } + if ($object->isInitialized('isoCode3') && null !== $object->getIsoCode3()) { + $data['iso_code3'] = $object->getIsoCode3(); + } + if ($object->isInitialized('timeZone') && null !== $object->getTimeZone()) { + $data['time_zone'] = $object->getTimeZone(); + } + if ($object->isInitialized('eu') && null !== $object->getEu()) { + $data['eu'] = $object->getEu(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DataCenterCountry' => false]; + } +} diff --git a/src/Normalizer/DataCenterNormalizer.php b/src/Normalizer/DataCenterNormalizer.php index 9975bdf0..68fe15a1 100644 --- a/src/Normalizer/DataCenterNormalizer.php +++ b/src/Normalizer/DataCenterNormalizer.php @@ -57,12 +57,14 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\Country', 'json', $context)); + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCenterCountry', 'json', $context)); unset($data['country']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/DataCentersDataCenterDefaultNetworkGetResponse200NetworkNormalizer.php b/src/Normalizer/DataCentersDataCenterDefaultNetworkGetResponse200NetworkNormalizer.php index 982a475a..7ace3ba4 100644 --- a/src/Normalizer/DataCentersDataCenterDefaultNetworkGetResponse200NetworkNormalizer.php +++ b/src/Normalizer/DataCentersDataCenterDefaultNetworkGetResponse200NetworkNormalizer.php @@ -57,12 +57,14 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenterDefaultNetworkPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenterDefaultNetwork200ResponseNetworkDataCenter', 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/DataCentersDataCenterGetResponse200DataCenterNormalizer.php b/src/Normalizer/DataCentersDataCenterGetResponse200DataCenterNormalizer.php index 899b236f..3b06799b 100644 --- a/src/Normalizer/DataCentersDataCenterGetResponse200DataCenterNormalizer.php +++ b/src/Normalizer/DataCentersDataCenterGetResponse200DataCenterNormalizer.php @@ -57,12 +57,14 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenterPartCountry', 'json', $context)); + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenter200ResponseDataCenterCountry', 'json', $context)); unset($data['country']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/DataCentersDataCenterGpuTypesGetResponse200PaginationNormalizer.php b/src/Normalizer/DataCentersDataCenterGpuTypesGetResponse200PaginationNormalizer.php index 4218fc55..45275efe 100644 --- a/src/Normalizer/DataCentersDataCenterGpuTypesGetResponse200PaginationNormalizer.php +++ b/src/Normalizer/DataCentersDataCenterGpuTypesGetResponse200PaginationNormalizer.php @@ -53,13 +53,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCurrentPage($data['current_page']); unset($data['current_page']); } - if (\array_key_exists('total_pages', $data)) { + if (\array_key_exists('total_pages', $data) && $data['total_pages'] !== null) { $object->setTotalPages($data['total_pages']); unset($data['total_pages']); + } elseif (\array_key_exists('total_pages', $data) && $data['total_pages'] === null) { + $object->setTotalPages(null); } - if (\array_key_exists('total', $data)) { + if (\array_key_exists('total', $data) && $data['total'] !== null) { $object->setTotal($data['total']); unset($data['total']); + } elseif (\array_key_exists('total', $data) && $data['total'] === null) { + $object->setTotal(null); } if (\array_key_exists('per_page', $data)) { $object->setPerPage($data['per_page']); diff --git a/src/Normalizer/DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicyNormalizer.php b/src/Normalizer/DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicyNormalizer.php index a675b07a..72ffb084 100644 --- a/src/Normalizer/DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicyNormalizer.php +++ b/src/Normalizer/DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicyNormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setTarget($this->denormalizer->denormalize($data['target'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPolicyTarget', 'json', $context)); unset($data['target']); } - if (\array_key_exists('auto_move_to_trash_at', $data)) { + if (\array_key_exists('auto_move_to_trash_at', $data) && $data['auto_move_to_trash_at'] !== null) { $object->setAutoMoveToTrashAt($data['auto_move_to_trash_at']); unset($data['auto_move_to_trash_at']); + } elseif (\array_key_exists('auto_move_to_trash_at', $data) && $data['auto_move_to_trash_at'] === null) { + $object->setAutoMoveToTrashAt(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/DeleteFileStorageVolume200ResponseFileStorageVolumeDataCenterNormalizer.php b/src/Normalizer/DeleteFileStorageVolume200ResponseFileStorageVolumeDataCenterNormalizer.php new file mode 100644 index 00000000..fced1950 --- /dev/null +++ b/src/Normalizer/DeleteFileStorageVolume200ResponseFileStorageVolumeDataCenterNormalizer.php @@ -0,0 +1,103 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DeleteFileStorageVolume200ResponseFileStorageVolumeDataCenter' => false]; + } +} diff --git a/src/Normalizer/DeleteFileStorageVolume200ResponseFileStorageVolumeNormalizer.php b/src/Normalizer/DeleteFileStorageVolume200ResponseFileStorageVolumeNormalizer.php index 7e2608fa..30451a3d 100644 --- a/src/Normalizer/DeleteFileStorageVolume200ResponseFileStorageVolumeNormalizer.php +++ b/src/Normalizer/DeleteFileStorageVolume200ResponseFileStorageVolumeNormalizer.php @@ -58,7 +58,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteFileStorageVolumePartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteFileStorageVolume200ResponseFileStorageVolumeDataCenter', 'json', $context)); unset($data['data_center']); } if (\array_key_exists('associations', $data)) { @@ -73,13 +73,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setState($data['state']); unset($data['state']); } - if (\array_key_exists('nfs_location', $data)) { + if (\array_key_exists('nfs_location', $data) && $data['nfs_location'] !== null) { $object->setNfsLocation($data['nfs_location']); unset($data['nfs_location']); + } elseif (\array_key_exists('nfs_location', $data) && $data['nfs_location'] === null) { + $object->setNfsLocation(null); } - if (\array_key_exists('size', $data)) { + if (\array_key_exists('size', $data) && $data['size'] !== null) { $object->setSize($data['size']); unset($data['size']); + } elseif (\array_key_exists('size', $data) && $data['size'] === null) { + $object->setSize(null); } foreach ($data as $key => $value_1) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/DeleteFileStorageVolumePartDataCenterNormalizer.php b/src/Normalizer/DeleteFileStorageVolumePartDataCenterNormalizer.php index e793f13e..f1d83a64 100644 --- a/src/Normalizer/DeleteFileStorageVolumePartDataCenterNormalizer.php +++ b/src/Normalizer/DeleteFileStorageVolumePartDataCenterNormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/DeleteLoadBalancer200ResponseLoadBalancerNormalizer.php b/src/Normalizer/DeleteLoadBalancer200ResponseLoadBalancerNormalizer.php index 8a452cc0..16fa05f4 100644 --- a/src/Normalizer/DeleteLoadBalancer200ResponseLoadBalancerNormalizer.php +++ b/src/Normalizer/DeleteLoadBalancer200ResponseLoadBalancerNormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('api_reference', $data)) { + if (\array_key_exists('api_reference', $data) && $data['api_reference'] !== null) { $object->setApiReference($data['api_reference']); unset($data['api_reference']); + } elseif (\array_key_exists('api_reference', $data) && $data['api_reference'] === null) { + $object->setApiReference(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer.php b/src/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer.php new file mode 100644 index 00000000..6cd6092c --- /dev/null +++ b/src/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer.php @@ -0,0 +1,103 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('operating_system', $data) && $data['operating_system'] !== null) { + $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartAttachedISOOperatingSystem', 'json', $context)); + unset($data['operating_system']); + } elseif (\array_key_exists('operating_system', $data) && $data['operating_system'] === null) { + $object->setOperatingSystem(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('operatingSystem') && null !== $object->getOperatingSystem()) { + $data['operating_system'] = $this->normalizer->normalize($object->getOperatingSystem(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineAttachedIso' => false]; + } +} diff --git a/src/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer.php b/src/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer.php new file mode 100644 index 00000000..264081e4 --- /dev/null +++ b/src/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer.php @@ -0,0 +1,122 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('manufacturer', $data)) { + $object->setManufacturer($data['manufacturer']); + unset($data['manufacturer']); + } + if (\array_key_exists('memory_in_gb', $data)) { + $object->setMemoryInGb($data['memory_in_gb']); + unset($data['memory_in_gb']); + } + if (\array_key_exists('memory_type', $data)) { + $object->setMemoryType($data['memory_type']); + unset($data['memory_type']); + } + if (\array_key_exists('permalink', $data)) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('manufacturer') && null !== $object->getManufacturer()) { + $data['manufacturer'] = $object->getManufacturer(); + } + if ($object->isInitialized('memoryInGb') && null !== $object->getMemoryInGb()) { + $data['memory_in_gb'] = $object->getMemoryInGb(); + } + if ($object->isInitialized('memoryType') && null !== $object->getMemoryType()) { + $data['memory_type'] = $object->getMemoryType(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGpuType' => false]; + } +} diff --git a/src/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineGpusItemNormalizer.php b/src/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineGpusItemNormalizer.php new file mode 100644 index 00000000..11afa648 --- /dev/null +++ b/src/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineGpusItemNormalizer.php @@ -0,0 +1,117 @@ +setId($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + $object->setId(null); + } + if (\array_key_exists('status', $data)) { + $object->setStatus($data['status']); + unset($data['status']); + } + if (\array_key_exists('pending_action', $data)) { + $object->setPendingAction($data['pending_action']); + unset($data['pending_action']); + } + if (\array_key_exists('available', $data)) { + $object->setAvailable($data['available']); + unset($data['available']); + } + if (\array_key_exists('type', $data)) { + $object->setType($this->denormalizer->denormalize($data['type'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartGPUsType', 'json', $context)); + unset($data['type']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('status') && null !== $object->getStatus()) { + $data['status'] = $object->getStatus(); + } + if ($object->isInitialized('pendingAction') && null !== $object->getPendingAction()) { + $data['pending_action'] = $object->getPendingAction(); + } + if ($object->isInitialized('available') && null !== $object->getAvailable()) { + $data['available'] = $object->getAvailable(); + } + if ($object->isInitialized('type') && null !== $object->getType()) { + $data['type'] = $this->normalizer->normalize($object->getType(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGpusItem' => false]; + } +} diff --git a/src/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineGroupNormalizer.php b/src/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineGroupNormalizer.php new file mode 100644 index 00000000..2f5d7faa --- /dev/null +++ b/src/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineGroupNormalizer.php @@ -0,0 +1,115 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('segregate', $data)) { + $object->setSegregate($data['segregate']); + unset($data['segregate']); + } + if (\array_key_exists('auto_segregate', $data)) { + $object->setAutoSegregate($data['auto_segregate']); + unset($data['auto_segregate']); + } + if (\array_key_exists('created_at', $data)) { + $object->setCreatedAt($data['created_at']); + unset($data['created_at']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('segregate') && null !== $object->getSegregate()) { + $data['segregate'] = $object->getSegregate(); + } + if ($object->isInitialized('autoSegregate') && null !== $object->getAutoSegregate()) { + $data['auto_segregate'] = $object->getAutoSegregate(); + } + if ($object->isInitialized('createdAt') && null !== $object->getCreatedAt()) { + $data['created_at'] = $object->getCreatedAt(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGroup' => false]; + } +} diff --git a/src/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineIpAddressesItemNormalizer.php b/src/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineIpAddressesItemNormalizer.php new file mode 100644 index 00000000..bcb3327f --- /dev/null +++ b/src/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineIpAddressesItemNormalizer.php @@ -0,0 +1,149 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('address', $data)) { + $object->setAddress($data['address']); + unset($data['address']); + } + if (\array_key_exists('reverse_dns', $data)) { + $object->setReverseDns($data['reverse_dns']); + unset($data['reverse_dns']); + } + if (\array_key_exists('vip', $data)) { + $object->setVip($data['vip']); + unset($data['vip']); + } + if (\array_key_exists('label', $data) && $data['label'] !== null) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { + $object->setLabel(null); + } + if (\array_key_exists('address_with_mask', $data)) { + $object->setAddressWithMask($data['address_with_mask']); + unset($data['address_with_mask']); + } + if (\array_key_exists('network', $data)) { + $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartIPAddressesNetwork', 'json', $context)); + unset($data['network']); + } + if (\array_key_exists('allocation_id', $data) && $data['allocation_id'] !== null) { + $object->setAllocationId($data['allocation_id']); + unset($data['allocation_id']); + } elseif (\array_key_exists('allocation_id', $data) && $data['allocation_id'] === null) { + $object->setAllocationId(null); + } + if (\array_key_exists('allocation_type', $data) && $data['allocation_type'] !== null) { + $object->setAllocationType($data['allocation_type']); + unset($data['allocation_type']); + } elseif (\array_key_exists('allocation_type', $data) && $data['allocation_type'] === null) { + $object->setAllocationType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('address') && null !== $object->getAddress()) { + $data['address'] = $object->getAddress(); + } + if ($object->isInitialized('reverseDns') && null !== $object->getReverseDns()) { + $data['reverse_dns'] = $object->getReverseDns(); + } + if ($object->isInitialized('vip') && null !== $object->getVip()) { + $data['vip'] = $object->getVip(); + } + if ($object->isInitialized('label') && null !== $object->getLabel()) { + $data['label'] = $object->getLabel(); + } + if ($object->isInitialized('addressWithMask') && null !== $object->getAddressWithMask()) { + $data['address_with_mask'] = $object->getAddressWithMask(); + } + if ($object->isInitialized('network') && null !== $object->getNetwork()) { + $data['network'] = $this->normalizer->normalize($object->getNetwork(), 'json', $context); + } + if ($object->isInitialized('allocationId') && null !== $object->getAllocationId()) { + $data['allocation_id'] = $object->getAllocationId(); + } + if ($object->isInitialized('allocationType') && null !== $object->getAllocationType()) { + $data['allocation_type'] = $object->getAllocationType(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineIpAddressesItem' => false]; + } +} diff --git a/src/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineNormalizer.php b/src/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineNormalizer.php index 5116fd47..dee266ea 100644 --- a/src/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineNormalizer.php +++ b/src/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineNormalizer.php @@ -65,58 +65,74 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setFqdn($data['fqdn']); unset($data['fqdn']); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && $data['description'] !== null) { $object->setDescription($data['description']); unset($data['description']); + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + $object->setDescription(null); } if (\array_key_exists('created_at', $data)) { $object->setCreatedAt($data['created_at']); unset($data['created_at']); } - if (\array_key_exists('initial_root_password', $data)) { + if (\array_key_exists('initial_root_password', $data) && $data['initial_root_password'] !== null) { $object->setInitialRootPassword($data['initial_root_password']); unset($data['initial_root_password']); + } elseif (\array_key_exists('initial_root_password', $data) && $data['initial_root_password'] === null) { + $object->setInitialRootPassword(null); } if (\array_key_exists('state', $data)) { $object->setState($data['state']); unset($data['state']); } if (\array_key_exists('zone', $data)) { - $object->setZone($this->denormalizer->denormalize($data['zone'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartZone', 'json', $context)); + $object->setZone($this->denormalizer->denormalize($data['zone'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineZone', 'json', $context)); unset($data['zone']); } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartOrganization', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineOrganization', 'json', $context)); unset($data['organization']); } - if (\array_key_exists('group', $data)) { - $object->setGroup($this->denormalizer->denormalize($data['group'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartGroup', 'json', $context)); + if (\array_key_exists('group', $data) && $data['group'] !== null) { + $object->setGroup($this->denormalizer->denormalize($data['group'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGroup', 'json', $context)); unset($data['group']); + } elseif (\array_key_exists('group', $data) && $data['group'] === null) { + $object->setGroup(null); } - if (\array_key_exists('package', $data)) { - $object->setPackage($this->denormalizer->denormalize($data['package'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartPackage', 'json', $context)); + if (\array_key_exists('package', $data) && $data['package'] !== null) { + $object->setPackage($this->denormalizer->denormalize($data['package'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachinePackage', 'json', $context)); unset($data['package']); + } elseif (\array_key_exists('package', $data) && $data['package'] === null) { + $object->setPackage(null); } - if (\array_key_exists('attached_iso', $data)) { - $object->setAttachedIso($this->denormalizer->denormalize($data['attached_iso'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartAttachedISO', 'json', $context)); + if (\array_key_exists('attached_iso', $data) && $data['attached_iso'] !== null) { + $object->setAttachedIso($this->denormalizer->denormalize($data['attached_iso'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineAttachedIso', 'json', $context)); unset($data['attached_iso']); + } elseif (\array_key_exists('attached_iso', $data) && $data['attached_iso'] === null) { + $object->setAttachedIso(null); } - if (\array_key_exists('memory_in_gb', $data)) { + if (\array_key_exists('memory_in_gb', $data) && $data['memory_in_gb'] !== null) { $object->setMemoryInGb($data['memory_in_gb']); unset($data['memory_in_gb']); + } elseif (\array_key_exists('memory_in_gb', $data) && $data['memory_in_gb'] === null) { + $object->setMemoryInGb(null); } - if (\array_key_exists('cpu_cores', $data)) { + if (\array_key_exists('cpu_cores', $data) && $data['cpu_cores'] !== null) { $object->setCpuCores($data['cpu_cores']); unset($data['cpu_cores']); + } elseif (\array_key_exists('cpu_cores', $data) && $data['cpu_cores'] === null) { + $object->setCpuCores(null); } - if (\array_key_exists('gpu_type', $data)) { - $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartGPUType', 'json', $context)); + if (\array_key_exists('gpu_type', $data) && $data['gpu_type'] !== null) { + $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGpuType', 'json', $context)); unset($data['gpu_type']); + } elseif (\array_key_exists('gpu_type', $data) && $data['gpu_type'] === null) { + $object->setGpuType(null); } if (\array_key_exists('gpus', $data)) { $values = []; foreach ($data['gpus'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartGPUs', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGpusItem', 'json', $context); } $object->setGpus($values); unset($data['gpus']); @@ -124,7 +140,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('tags', $data)) { $values_1 = []; foreach ($data['tags'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartTags', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineTagsItem', 'json', $context); } $object->setTags($values_1); unset($data['tags']); @@ -140,7 +156,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('ip_addresses', $data)) { $values_3 = []; foreach ($data['ip_addresses'] as $value_3) { - $values_3[] = $this->denormalizer->denormalize($value_3, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartIPAddresses', 'json', $context); + $values_3[] = $this->denormalizer->denormalize($value_3, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineIpAddressesItem', 'json', $context); } $object->setIpAddresses($values_3); unset($data['ip_addresses']); diff --git a/src/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineOrganizationNormalizer.php b/src/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineOrganizationNormalizer.php new file mode 100644 index 00000000..330bff65 --- /dev/null +++ b/src/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineOrganizationNormalizer.php @@ -0,0 +1,226 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('sub_domain', $data)) { + $object->setSubDomain($data['sub_domain']); + unset($data['sub_domain']); + } + if (\array_key_exists('infrastructure_domain', $data)) { + $object->setInfrastructureDomain($data['infrastructure_domain']); + unset($data['infrastructure_domain']); + } + if (\array_key_exists('created_at', $data)) { + $object->setCreatedAt($data['created_at']); + unset($data['created_at']); + } + if (\array_key_exists('suspended', $data)) { + $object->setSuspended($data['suspended']); + unset($data['suspended']); + } + if (\array_key_exists('managed', $data)) { + $object->setManaged($data['managed']); + unset($data['managed']); + } + if (\array_key_exists('billing_name', $data) && $data['billing_name'] !== null) { + $object->setBillingName($data['billing_name']); + unset($data['billing_name']); + } elseif (\array_key_exists('billing_name', $data) && $data['billing_name'] === null) { + $object->setBillingName(null); + } + if (\array_key_exists('address1', $data) && $data['address1'] !== null) { + $object->setAddress1($data['address1']); + unset($data['address1']); + } elseif (\array_key_exists('address1', $data) && $data['address1'] === null) { + $object->setAddress1(null); + } + if (\array_key_exists('address2', $data) && $data['address2'] !== null) { + $object->setAddress2($data['address2']); + unset($data['address2']); + } elseif (\array_key_exists('address2', $data) && $data['address2'] === null) { + $object->setAddress2(null); + } + if (\array_key_exists('address3', $data) && $data['address3'] !== null) { + $object->setAddress3($data['address3']); + unset($data['address3']); + } elseif (\array_key_exists('address3', $data) && $data['address3'] === null) { + $object->setAddress3(null); + } + if (\array_key_exists('address4', $data) && $data['address4'] !== null) { + $object->setAddress4($data['address4']); + unset($data['address4']); + } elseif (\array_key_exists('address4', $data) && $data['address4'] === null) { + $object->setAddress4(null); + } + if (\array_key_exists('postcode', $data) && $data['postcode'] !== null) { + $object->setPostcode($data['postcode']); + unset($data['postcode']); + } elseif (\array_key_exists('postcode', $data) && $data['postcode'] === null) { + $object->setPostcode(null); + } + if (\array_key_exists('vat_number', $data) && $data['vat_number'] !== null) { + $object->setVatNumber($data['vat_number']); + unset($data['vat_number']); + } elseif (\array_key_exists('vat_number', $data) && $data['vat_number'] === null) { + $object->setVatNumber(null); + } + if (\array_key_exists('phone_number', $data) && $data['phone_number'] !== null) { + $object->setPhoneNumber($data['phone_number']); + unset($data['phone_number']); + } elseif (\array_key_exists('phone_number', $data) && $data['phone_number'] === null) { + $object->setPhoneNumber(null); + } + if (\array_key_exists('currency', $data)) { + $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartOrganizationCurrency', 'json', $context)); + unset($data['currency']); + } + if (\array_key_exists('country', $data) && $data['country'] !== null) { + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartOrganizationCountry', 'json', $context)); + unset($data['country']); + } elseif (\array_key_exists('country', $data) && $data['country'] === null) { + $object->setCountry(null); + } + if (\array_key_exists('country_state', $data) && $data['country_state'] !== null) { + $object->setCountryState($this->denormalizer->denormalize($data['country_state'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartOrganizationCountryState', 'json', $context)); + unset($data['country_state']); + } elseif (\array_key_exists('country_state', $data) && $data['country_state'] === null) { + $object->setCountryState(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('subDomain') && null !== $object->getSubDomain()) { + $data['sub_domain'] = $object->getSubDomain(); + } + if ($object->isInitialized('infrastructureDomain') && null !== $object->getInfrastructureDomain()) { + $data['infrastructure_domain'] = $object->getInfrastructureDomain(); + } + if ($object->isInitialized('createdAt') && null !== $object->getCreatedAt()) { + $data['created_at'] = $object->getCreatedAt(); + } + if ($object->isInitialized('suspended') && null !== $object->getSuspended()) { + $data['suspended'] = $object->getSuspended(); + } + if ($object->isInitialized('managed') && null !== $object->getManaged()) { + $data['managed'] = $object->getManaged(); + } + if ($object->isInitialized('billingName') && null !== $object->getBillingName()) { + $data['billing_name'] = $object->getBillingName(); + } + if ($object->isInitialized('address1') && null !== $object->getAddress1()) { + $data['address1'] = $object->getAddress1(); + } + if ($object->isInitialized('address2') && null !== $object->getAddress2()) { + $data['address2'] = $object->getAddress2(); + } + if ($object->isInitialized('address3') && null !== $object->getAddress3()) { + $data['address3'] = $object->getAddress3(); + } + if ($object->isInitialized('address4') && null !== $object->getAddress4()) { + $data['address4'] = $object->getAddress4(); + } + if ($object->isInitialized('postcode') && null !== $object->getPostcode()) { + $data['postcode'] = $object->getPostcode(); + } + if ($object->isInitialized('vatNumber') && null !== $object->getVatNumber()) { + $data['vat_number'] = $object->getVatNumber(); + } + if ($object->isInitialized('phoneNumber') && null !== $object->getPhoneNumber()) { + $data['phone_number'] = $object->getPhoneNumber(); + } + if ($object->isInitialized('currency') && null !== $object->getCurrency()) { + $data['currency'] = $this->normalizer->normalize($object->getCurrency(), 'json', $context); + } + if ($object->isInitialized('country') && null !== $object->getCountry()) { + $data['country'] = $this->normalizer->normalize($object->getCountry(), 'json', $context); + } + if ($object->isInitialized('countryState') && null !== $object->getCountryState()) { + $data['country_state'] = $this->normalizer->normalize($object->getCountryState(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineOrganization' => false]; + } +} diff --git a/src/Normalizer/DeleteVirtualMachine200ResponseVirtualMachinePackageNormalizer.php b/src/Normalizer/DeleteVirtualMachine200ResponseVirtualMachinePackageNormalizer.php new file mode 100644 index 00000000..151e4e11 --- /dev/null +++ b/src/Normalizer/DeleteVirtualMachine200ResponseVirtualMachinePackageNormalizer.php @@ -0,0 +1,154 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data)) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } + if (\array_key_exists('cpu_cores', $data)) { + $object->setCpuCores($data['cpu_cores']); + unset($data['cpu_cores']); + } + if (\array_key_exists('ipv4_addresses', $data)) { + $object->setIpv4Addresses($data['ipv4_addresses']); + unset($data['ipv4_addresses']); + } + if (\array_key_exists('memory_in_gb', $data)) { + $object->setMemoryInGb($data['memory_in_gb']); + unset($data['memory_in_gb']); + } + if (\array_key_exists('storage_in_gb', $data)) { + $object->setStorageInGb($data['storage_in_gb']); + unset($data['storage_in_gb']); + } + if (\array_key_exists('monthly_bandwidth_allowance_in_gb', $data) && $data['monthly_bandwidth_allowance_in_gb'] !== null) { + $object->setMonthlyBandwidthAllowanceInGb($data['monthly_bandwidth_allowance_in_gb']); + unset($data['monthly_bandwidth_allowance_in_gb']); + } elseif (\array_key_exists('monthly_bandwidth_allowance_in_gb', $data) && $data['monthly_bandwidth_allowance_in_gb'] === null) { + $object->setMonthlyBandwidthAllowanceInGb(null); + } + if (\array_key_exists('privacy', $data)) { + $object->setPrivacy($data['privacy']); + unset($data['privacy']); + } + if (\array_key_exists('icon', $data) && $data['icon'] !== null) { + $object->setIcon($this->denormalizer->denormalize($data['icon'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartPackageIcon', 'json', $context)); + unset($data['icon']); + } elseif (\array_key_exists('icon', $data) && $data['icon'] === null) { + $object->setIcon(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + if ($object->isInitialized('cpuCores') && null !== $object->getCpuCores()) { + $data['cpu_cores'] = $object->getCpuCores(); + } + if ($object->isInitialized('ipv4Addresses') && null !== $object->getIpv4Addresses()) { + $data['ipv4_addresses'] = $object->getIpv4Addresses(); + } + if ($object->isInitialized('memoryInGb') && null !== $object->getMemoryInGb()) { + $data['memory_in_gb'] = $object->getMemoryInGb(); + } + if ($object->isInitialized('storageInGb') && null !== $object->getStorageInGb()) { + $data['storage_in_gb'] = $object->getStorageInGb(); + } + if ($object->isInitialized('monthlyBandwidthAllowanceInGb') && null !== $object->getMonthlyBandwidthAllowanceInGb()) { + $data['monthly_bandwidth_allowance_in_gb'] = $object->getMonthlyBandwidthAllowanceInGb(); + } + if ($object->isInitialized('privacy') && null !== $object->getPrivacy()) { + $data['privacy'] = $object->getPrivacy(); + } + if ($object->isInitialized('icon') && null !== $object->getIcon()) { + $data['icon'] = $this->normalizer->normalize($object->getIcon(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachinePackage' => false]; + } +} diff --git a/src/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineTagsItemNormalizer.php b/src/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineTagsItemNormalizer.php new file mode 100644 index 00000000..95062406 --- /dev/null +++ b/src/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineTagsItemNormalizer.php @@ -0,0 +1,108 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('color', $data)) { + $object->setColor($data['color']); + unset($data['color']); + } + if (\array_key_exists('created_at', $data)) { + $object->setCreatedAt($data['created_at']); + unset($data['created_at']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('color') && null !== $object->getColor()) { + $data['color'] = $object->getColor(); + } + if ($object->isInitialized('createdAt') && null !== $object->getCreatedAt()) { + $data['created_at'] = $object->getCreatedAt(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineTagsItem' => false]; + } +} diff --git a/src/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineZoneNormalizer.php b/src/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineZoneNormalizer.php new file mode 100644 index 00000000..5c2863f3 --- /dev/null +++ b/src/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineZoneNormalizer.php @@ -0,0 +1,110 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); + } + if (\array_key_exists('data_center', $data)) { + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartZoneDataCenter', 'json', $context)); + unset($data['data_center']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + if ($object->isInitialized('dataCenter') && null !== $object->getDataCenter()) { + $data['data_center'] = $this->normalizer->normalize($object->getDataCenter(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineZone' => false]; + } +} diff --git a/src/Normalizer/DeleteVirtualMachinePartAttachedISONormalizer.php b/src/Normalizer/DeleteVirtualMachinePartAttachedISONormalizer.php index 3040ad24..5986d5b7 100644 --- a/src/Normalizer/DeleteVirtualMachinePartAttachedISONormalizer.php +++ b/src/Normalizer/DeleteVirtualMachinePartAttachedISONormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('operating_system', $data)) { - $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartOperatingSystem', 'json', $context)); + if (\array_key_exists('operating_system', $data) && $data['operating_system'] !== null) { + $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartAttachedISOOperatingSystem', 'json', $context)); unset($data['operating_system']); + } elseif (\array_key_exists('operating_system', $data) && $data['operating_system'] === null) { + $object->setOperatingSystem(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/DeleteVirtualMachinePartAttachedISOOperatingSystemNormalizer.php b/src/Normalizer/DeleteVirtualMachinePartAttachedISOOperatingSystemNormalizer.php new file mode 100644 index 00000000..388cd44b --- /dev/null +++ b/src/Normalizer/DeleteVirtualMachinePartAttachedISOOperatingSystemNormalizer.php @@ -0,0 +1,103 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('badge', $data) && $data['badge'] !== null) { + $object->setBadge($this->denormalizer->denormalize($data['badge'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartOperatingSystemBadge', 'json', $context)); + unset($data['badge']); + } elseif (\array_key_exists('badge', $data) && $data['badge'] === null) { + $object->setBadge(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('badge') && null !== $object->getBadge()) { + $data['badge'] = $this->normalizer->normalize($object->getBadge(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartAttachedISOOperatingSystem' => false]; + } +} diff --git a/src/Normalizer/DeleteVirtualMachinePartCountryNormalizer.php b/src/Normalizer/DeleteVirtualMachinePartCountryNormalizer.php index 0a5c8178..071d80e8 100644 --- a/src/Normalizer/DeleteVirtualMachinePartCountryNormalizer.php +++ b/src/Normalizer/DeleteVirtualMachinePartCountryNormalizer.php @@ -65,9 +65,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setIsoCode3($data['iso_code3']); unset($data['iso_code3']); } - if (\array_key_exists('time_zone', $data)) { + if (\array_key_exists('time_zone', $data) && $data['time_zone'] !== null) { $object->setTimeZone($data['time_zone']); unset($data['time_zone']); + } elseif (\array_key_exists('time_zone', $data) && $data['time_zone'] === null) { + $object->setTimeZone(null); } if (\array_key_exists('eu', $data)) { $object->setEu($data['eu']); diff --git a/src/Normalizer/DeleteVirtualMachinePartCountryStateCountryNormalizer.php b/src/Normalizer/DeleteVirtualMachinePartCountryStateCountryNormalizer.php new file mode 100644 index 00000000..3379c38c --- /dev/null +++ b/src/Normalizer/DeleteVirtualMachinePartCountryStateCountryNormalizer.php @@ -0,0 +1,124 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('iso_code2', $data)) { + $object->setIsoCode2($data['iso_code2']); + unset($data['iso_code2']); + } + if (\array_key_exists('iso_code3', $data)) { + $object->setIsoCode3($data['iso_code3']); + unset($data['iso_code3']); + } + if (\array_key_exists('time_zone', $data) && $data['time_zone'] !== null) { + $object->setTimeZone($data['time_zone']); + unset($data['time_zone']); + } elseif (\array_key_exists('time_zone', $data) && $data['time_zone'] === null) { + $object->setTimeZone(null); + } + if (\array_key_exists('eu', $data)) { + $object->setEu($data['eu']); + unset($data['eu']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('isoCode2') && null !== $object->getIsoCode2()) { + $data['iso_code2'] = $object->getIsoCode2(); + } + if ($object->isInitialized('isoCode3') && null !== $object->getIsoCode3()) { + $data['iso_code3'] = $object->getIsoCode3(); + } + if ($object->isInitialized('timeZone') && null !== $object->getTimeZone()) { + $data['time_zone'] = $object->getTimeZone(); + } + if ($object->isInitialized('eu') && null !== $object->getEu()) { + $data['eu'] = $object->getEu(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartCountryStateCountry' => false]; + } +} diff --git a/src/Normalizer/DeleteVirtualMachinePartCountryStateNormalizer.php b/src/Normalizer/DeleteVirtualMachinePartCountryStateNormalizer.php index dae14eda..d9c9f379 100644 --- a/src/Normalizer/DeleteVirtualMachinePartCountryStateNormalizer.php +++ b/src/Normalizer/DeleteVirtualMachinePartCountryStateNormalizer.php @@ -62,7 +62,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['code']); } if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartCountry', 'json', $context)); + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartCountryStateCountry', 'json', $context)); unset($data['country']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/DeleteVirtualMachinePartDataCenterCountryNormalizer.php b/src/Normalizer/DeleteVirtualMachinePartDataCenterCountryNormalizer.php new file mode 100644 index 00000000..43589454 --- /dev/null +++ b/src/Normalizer/DeleteVirtualMachinePartDataCenterCountryNormalizer.php @@ -0,0 +1,124 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('iso_code2', $data)) { + $object->setIsoCode2($data['iso_code2']); + unset($data['iso_code2']); + } + if (\array_key_exists('iso_code3', $data)) { + $object->setIsoCode3($data['iso_code3']); + unset($data['iso_code3']); + } + if (\array_key_exists('time_zone', $data) && $data['time_zone'] !== null) { + $object->setTimeZone($data['time_zone']); + unset($data['time_zone']); + } elseif (\array_key_exists('time_zone', $data) && $data['time_zone'] === null) { + $object->setTimeZone(null); + } + if (\array_key_exists('eu', $data)) { + $object->setEu($data['eu']); + unset($data['eu']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('isoCode2') && null !== $object->getIsoCode2()) { + $data['iso_code2'] = $object->getIsoCode2(); + } + if ($object->isInitialized('isoCode3') && null !== $object->getIsoCode3()) { + $data['iso_code3'] = $object->getIsoCode3(); + } + if ($object->isInitialized('timeZone') && null !== $object->getTimeZone()) { + $data['time_zone'] = $object->getTimeZone(); + } + if ($object->isInitialized('eu') && null !== $object->getEu()) { + $data['eu'] = $object->getEu(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartDataCenterCountry' => false]; + } +} diff --git a/src/Normalizer/DeleteVirtualMachinePartDataCenterNormalizer.php b/src/Normalizer/DeleteVirtualMachinePartDataCenterNormalizer.php index cb25236e..68cd26eb 100644 --- a/src/Normalizer/DeleteVirtualMachinePartDataCenterNormalizer.php +++ b/src/Normalizer/DeleteVirtualMachinePartDataCenterNormalizer.php @@ -57,12 +57,14 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartCountry', 'json', $context)); + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartDataCenterCountry', 'json', $context)); unset($data['country']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/DeleteVirtualMachinePartGPUsNormalizer.php b/src/Normalizer/DeleteVirtualMachinePartGPUsNormalizer.php index 80c9813e..9522c316 100644 --- a/src/Normalizer/DeleteVirtualMachinePartGPUsNormalizer.php +++ b/src/Normalizer/DeleteVirtualMachinePartGPUsNormalizer.php @@ -49,9 +49,11 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); unset($data['id']); + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + $object->setId(null); } if (\array_key_exists('status', $data)) { $object->setStatus($data['status']); @@ -66,7 +68,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['available']); } if (\array_key_exists('type', $data)) { - $object->setType($this->denormalizer->denormalize($data['type'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartType', 'json', $context)); + $object->setType($this->denormalizer->denormalize($data['type'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartGPUsType', 'json', $context)); unset($data['type']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/DeleteVirtualMachinePartGPUsTypeNormalizer.php b/src/Normalizer/DeleteVirtualMachinePartGPUsTypeNormalizer.php new file mode 100644 index 00000000..342fca12 --- /dev/null +++ b/src/Normalizer/DeleteVirtualMachinePartGPUsTypeNormalizer.php @@ -0,0 +1,122 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('manufacturer', $data)) { + $object->setManufacturer($data['manufacturer']); + unset($data['manufacturer']); + } + if (\array_key_exists('memory_in_gb', $data)) { + $object->setMemoryInGb($data['memory_in_gb']); + unset($data['memory_in_gb']); + } + if (\array_key_exists('memory_type', $data)) { + $object->setMemoryType($data['memory_type']); + unset($data['memory_type']); + } + if (\array_key_exists('permalink', $data)) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('manufacturer') && null !== $object->getManufacturer()) { + $data['manufacturer'] = $object->getManufacturer(); + } + if ($object->isInitialized('memoryInGb') && null !== $object->getMemoryInGb()) { + $data['memory_in_gb'] = $object->getMemoryInGb(); + } + if ($object->isInitialized('memoryType') && null !== $object->getMemoryType()) { + $data['memory_type'] = $object->getMemoryType(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartGPUsType' => false]; + } +} diff --git a/src/Normalizer/DeleteVirtualMachinePartIPAddressesNetworkNormalizer.php b/src/Normalizer/DeleteVirtualMachinePartIPAddressesNetworkNormalizer.php new file mode 100644 index 00000000..2c9e4e5e --- /dev/null +++ b/src/Normalizer/DeleteVirtualMachinePartIPAddressesNetworkNormalizer.php @@ -0,0 +1,110 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); + } + if (\array_key_exists('data_center', $data)) { + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartNetworkDataCenter', 'json', $context)); + unset($data['data_center']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + if ($object->isInitialized('dataCenter') && null !== $object->getDataCenter()) { + $data['data_center'] = $this->normalizer->normalize($object->getDataCenter(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartIPAddressesNetwork' => false]; + } +} diff --git a/src/Normalizer/DeleteVirtualMachinePartIPAddressesNormalizer.php b/src/Normalizer/DeleteVirtualMachinePartIPAddressesNormalizer.php index ea87b3f5..b8ea0765 100644 --- a/src/Normalizer/DeleteVirtualMachinePartIPAddressesNormalizer.php +++ b/src/Normalizer/DeleteVirtualMachinePartIPAddressesNormalizer.php @@ -65,25 +65,31 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setVip($data['vip']); unset($data['vip']); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); unset($data['label']); + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { + $object->setLabel(null); } if (\array_key_exists('address_with_mask', $data)) { $object->setAddressWithMask($data['address_with_mask']); unset($data['address_with_mask']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartNetwork', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartIPAddressesNetwork', 'json', $context)); unset($data['network']); } - if (\array_key_exists('allocation_id', $data)) { + if (\array_key_exists('allocation_id', $data) && $data['allocation_id'] !== null) { $object->setAllocationId($data['allocation_id']); unset($data['allocation_id']); + } elseif (\array_key_exists('allocation_id', $data) && $data['allocation_id'] === null) { + $object->setAllocationId(null); } - if (\array_key_exists('allocation_type', $data)) { + if (\array_key_exists('allocation_type', $data) && $data['allocation_type'] !== null) { $object->setAllocationType($data['allocation_type']); unset($data['allocation_type']); + } elseif (\array_key_exists('allocation_type', $data) && $data['allocation_type'] === null) { + $object->setAllocationType(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/DeleteVirtualMachinePartNetworkDataCenterNormalizer.php b/src/Normalizer/DeleteVirtualMachinePartNetworkDataCenterNormalizer.php new file mode 100644 index 00000000..23838807 --- /dev/null +++ b/src/Normalizer/DeleteVirtualMachinePartNetworkDataCenterNormalizer.php @@ -0,0 +1,110 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); + } + if (\array_key_exists('country', $data)) { + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartDataCenterCountry', 'json', $context)); + unset($data['country']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + if ($object->isInitialized('country') && null !== $object->getCountry()) { + $data['country'] = $this->normalizer->normalize($object->getCountry(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartNetworkDataCenter' => false]; + } +} diff --git a/src/Normalizer/DeleteVirtualMachinePartNetworkNormalizer.php b/src/Normalizer/DeleteVirtualMachinePartNetworkNormalizer.php index e00271a1..6309b806 100644 --- a/src/Normalizer/DeleteVirtualMachinePartNetworkNormalizer.php +++ b/src/Normalizer/DeleteVirtualMachinePartNetworkNormalizer.php @@ -57,12 +57,14 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartNetworkDataCenter', 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/DeleteVirtualMachinePartOperatingSystemBadgeNormalizer.php b/src/Normalizer/DeleteVirtualMachinePartOperatingSystemBadgeNormalizer.php new file mode 100644 index 00000000..afe42af1 --- /dev/null +++ b/src/Normalizer/DeleteVirtualMachinePartOperatingSystemBadgeNormalizer.php @@ -0,0 +1,122 @@ +setUrl($data['url']); + unset($data['url']); + } + if (\array_key_exists('file_name', $data)) { + $object->setFileName($data['file_name']); + unset($data['file_name']); + } + if (\array_key_exists('file_type', $data)) { + $object->setFileType($data['file_type']); + unset($data['file_type']); + } + if (\array_key_exists('file_size', $data)) { + $object->setFileSize($data['file_size']); + unset($data['file_size']); + } + if (\array_key_exists('digest', $data)) { + $object->setDigest($data['digest']); + unset($data['digest']); + } + if (\array_key_exists('token', $data)) { + $object->setToken($data['token']); + unset($data['token']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('url') && null !== $object->getUrl()) { + $data['url'] = $object->getUrl(); + } + if ($object->isInitialized('fileName') && null !== $object->getFileName()) { + $data['file_name'] = $object->getFileName(); + } + if ($object->isInitialized('fileType') && null !== $object->getFileType()) { + $data['file_type'] = $object->getFileType(); + } + if ($object->isInitialized('fileSize') && null !== $object->getFileSize()) { + $data['file_size'] = $object->getFileSize(); + } + if ($object->isInitialized('digest') && null !== $object->getDigest()) { + $data['digest'] = $object->getDigest(); + } + if ($object->isInitialized('token') && null !== $object->getToken()) { + $data['token'] = $object->getToken(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartOperatingSystemBadge' => false]; + } +} diff --git a/src/Normalizer/DeleteVirtualMachinePartOperatingSystemNormalizer.php b/src/Normalizer/DeleteVirtualMachinePartOperatingSystemNormalizer.php index 77d33b0f..dcb71fdf 100644 --- a/src/Normalizer/DeleteVirtualMachinePartOperatingSystemNormalizer.php +++ b/src/Normalizer/DeleteVirtualMachinePartOperatingSystemNormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('badge', $data)) { - $object->setBadge($this->denormalizer->denormalize($data['badge'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartBadge', 'json', $context)); + if (\array_key_exists('badge', $data) && $data['badge'] !== null) { + $object->setBadge($this->denormalizer->denormalize($data['badge'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartOperatingSystemBadge', 'json', $context)); unset($data['badge']); + } elseif (\array_key_exists('badge', $data) && $data['badge'] === null) { + $object->setBadge(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/DeleteVirtualMachinePartOrganizationCountryNormalizer.php b/src/Normalizer/DeleteVirtualMachinePartOrganizationCountryNormalizer.php new file mode 100644 index 00000000..7cdd60e0 --- /dev/null +++ b/src/Normalizer/DeleteVirtualMachinePartOrganizationCountryNormalizer.php @@ -0,0 +1,124 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('iso_code2', $data)) { + $object->setIsoCode2($data['iso_code2']); + unset($data['iso_code2']); + } + if (\array_key_exists('iso_code3', $data)) { + $object->setIsoCode3($data['iso_code3']); + unset($data['iso_code3']); + } + if (\array_key_exists('time_zone', $data) && $data['time_zone'] !== null) { + $object->setTimeZone($data['time_zone']); + unset($data['time_zone']); + } elseif (\array_key_exists('time_zone', $data) && $data['time_zone'] === null) { + $object->setTimeZone(null); + } + if (\array_key_exists('eu', $data)) { + $object->setEu($data['eu']); + unset($data['eu']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('isoCode2') && null !== $object->getIsoCode2()) { + $data['iso_code2'] = $object->getIsoCode2(); + } + if ($object->isInitialized('isoCode3') && null !== $object->getIsoCode3()) { + $data['iso_code3'] = $object->getIsoCode3(); + } + if ($object->isInitialized('timeZone') && null !== $object->getTimeZone()) { + $data['time_zone'] = $object->getTimeZone(); + } + if ($object->isInitialized('eu') && null !== $object->getEu()) { + $data['eu'] = $object->getEu(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartOrganizationCountry' => false]; + } +} diff --git a/src/Normalizer/DeleteVirtualMachinePartOrganizationCountryStateNormalizer.php b/src/Normalizer/DeleteVirtualMachinePartOrganizationCountryStateNormalizer.php new file mode 100644 index 00000000..8c231f35 --- /dev/null +++ b/src/Normalizer/DeleteVirtualMachinePartOrganizationCountryStateNormalizer.php @@ -0,0 +1,108 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('code', $data)) { + $object->setCode($data['code']); + unset($data['code']); + } + if (\array_key_exists('country', $data)) { + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartCountryStateCountry', 'json', $context)); + unset($data['country']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('code') && null !== $object->getCode()) { + $data['code'] = $object->getCode(); + } + if ($object->isInitialized('country') && null !== $object->getCountry()) { + $data['country'] = $this->normalizer->normalize($object->getCountry(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartOrganizationCountryState' => false]; + } +} diff --git a/src/Normalizer/DeleteVirtualMachinePartOrganizationCurrencyNormalizer.php b/src/Normalizer/DeleteVirtualMachinePartOrganizationCurrencyNormalizer.php new file mode 100644 index 00000000..916bf8db --- /dev/null +++ b/src/Normalizer/DeleteVirtualMachinePartOrganizationCurrencyNormalizer.php @@ -0,0 +1,108 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('iso_code', $data)) { + $object->setIsoCode($data['iso_code']); + unset($data['iso_code']); + } + if (\array_key_exists('symbol', $data)) { + $object->setSymbol($data['symbol']); + unset($data['symbol']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('isoCode') && null !== $object->getIsoCode()) { + $data['iso_code'] = $object->getIsoCode(); + } + if ($object->isInitialized('symbol') && null !== $object->getSymbol()) { + $data['symbol'] = $object->getSymbol(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartOrganizationCurrency' => false]; + } +} diff --git a/src/Normalizer/DeleteVirtualMachinePartOrganizationNormalizer.php b/src/Normalizer/DeleteVirtualMachinePartOrganizationNormalizer.php index 18efdc49..d120536e 100644 --- a/src/Normalizer/DeleteVirtualMachinePartOrganizationNormalizer.php +++ b/src/Normalizer/DeleteVirtualMachinePartOrganizationNormalizer.php @@ -77,49 +77,69 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setManaged($data['managed']); unset($data['managed']); } - if (\array_key_exists('billing_name', $data)) { + if (\array_key_exists('billing_name', $data) && $data['billing_name'] !== null) { $object->setBillingName($data['billing_name']); unset($data['billing_name']); + } elseif (\array_key_exists('billing_name', $data) && $data['billing_name'] === null) { + $object->setBillingName(null); } - if (\array_key_exists('address1', $data)) { + if (\array_key_exists('address1', $data) && $data['address1'] !== null) { $object->setAddress1($data['address1']); unset($data['address1']); + } elseif (\array_key_exists('address1', $data) && $data['address1'] === null) { + $object->setAddress1(null); } - if (\array_key_exists('address2', $data)) { + if (\array_key_exists('address2', $data) && $data['address2'] !== null) { $object->setAddress2($data['address2']); unset($data['address2']); + } elseif (\array_key_exists('address2', $data) && $data['address2'] === null) { + $object->setAddress2(null); } - if (\array_key_exists('address3', $data)) { + if (\array_key_exists('address3', $data) && $data['address3'] !== null) { $object->setAddress3($data['address3']); unset($data['address3']); + } elseif (\array_key_exists('address3', $data) && $data['address3'] === null) { + $object->setAddress3(null); } - if (\array_key_exists('address4', $data)) { + if (\array_key_exists('address4', $data) && $data['address4'] !== null) { $object->setAddress4($data['address4']); unset($data['address4']); + } elseif (\array_key_exists('address4', $data) && $data['address4'] === null) { + $object->setAddress4(null); } - if (\array_key_exists('postcode', $data)) { + if (\array_key_exists('postcode', $data) && $data['postcode'] !== null) { $object->setPostcode($data['postcode']); unset($data['postcode']); + } elseif (\array_key_exists('postcode', $data) && $data['postcode'] === null) { + $object->setPostcode(null); } - if (\array_key_exists('vat_number', $data)) { + if (\array_key_exists('vat_number', $data) && $data['vat_number'] !== null) { $object->setVatNumber($data['vat_number']); unset($data['vat_number']); + } elseif (\array_key_exists('vat_number', $data) && $data['vat_number'] === null) { + $object->setVatNumber(null); } - if (\array_key_exists('phone_number', $data)) { + if (\array_key_exists('phone_number', $data) && $data['phone_number'] !== null) { $object->setPhoneNumber($data['phone_number']); unset($data['phone_number']); + } elseif (\array_key_exists('phone_number', $data) && $data['phone_number'] === null) { + $object->setPhoneNumber(null); } if (\array_key_exists('currency', $data)) { - $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartCurrency', 'json', $context)); + $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartOrganizationCurrency', 'json', $context)); unset($data['currency']); } - if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartCountry', 'json', $context)); + if (\array_key_exists('country', $data) && $data['country'] !== null) { + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartOrganizationCountry', 'json', $context)); unset($data['country']); + } elseif (\array_key_exists('country', $data) && $data['country'] === null) { + $object->setCountry(null); } - if (\array_key_exists('country_state', $data)) { - $object->setCountryState($this->denormalizer->denormalize($data['country_state'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartCountryState', 'json', $context)); + if (\array_key_exists('country_state', $data) && $data['country_state'] !== null) { + $object->setCountryState($this->denormalizer->denormalize($data['country_state'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartOrganizationCountryState', 'json', $context)); unset($data['country_state']); + } elseif (\array_key_exists('country_state', $data) && $data['country_state'] === null) { + $object->setCountryState(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/DeleteVirtualMachinePartPackageIconNormalizer.php b/src/Normalizer/DeleteVirtualMachinePartPackageIconNormalizer.php new file mode 100644 index 00000000..f88ed3c3 --- /dev/null +++ b/src/Normalizer/DeleteVirtualMachinePartPackageIconNormalizer.php @@ -0,0 +1,122 @@ +setUrl($data['url']); + unset($data['url']); + } + if (\array_key_exists('file_name', $data)) { + $object->setFileName($data['file_name']); + unset($data['file_name']); + } + if (\array_key_exists('file_type', $data)) { + $object->setFileType($data['file_type']); + unset($data['file_type']); + } + if (\array_key_exists('file_size', $data)) { + $object->setFileSize($data['file_size']); + unset($data['file_size']); + } + if (\array_key_exists('digest', $data)) { + $object->setDigest($data['digest']); + unset($data['digest']); + } + if (\array_key_exists('token', $data)) { + $object->setToken($data['token']); + unset($data['token']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('url') && null !== $object->getUrl()) { + $data['url'] = $object->getUrl(); + } + if ($object->isInitialized('fileName') && null !== $object->getFileName()) { + $data['file_name'] = $object->getFileName(); + } + if ($object->isInitialized('fileType') && null !== $object->getFileType()) { + $data['file_type'] = $object->getFileType(); + } + if ($object->isInitialized('fileSize') && null !== $object->getFileSize()) { + $data['file_size'] = $object->getFileSize(); + } + if ($object->isInitialized('digest') && null !== $object->getDigest()) { + $data['digest'] = $object->getDigest(); + } + if ($object->isInitialized('token') && null !== $object->getToken()) { + $data['token'] = $object->getToken(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartPackageIcon' => false]; + } +} diff --git a/src/Normalizer/DeleteVirtualMachinePartPackageNormalizer.php b/src/Normalizer/DeleteVirtualMachinePartPackageNormalizer.php index 042b1ea3..5c120669 100644 --- a/src/Normalizer/DeleteVirtualMachinePartPackageNormalizer.php +++ b/src/Normalizer/DeleteVirtualMachinePartPackageNormalizer.php @@ -77,17 +77,21 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setStorageInGb($data['storage_in_gb']); unset($data['storage_in_gb']); } - if (\array_key_exists('monthly_bandwidth_allowance_in_gb', $data)) { + if (\array_key_exists('monthly_bandwidth_allowance_in_gb', $data) && $data['monthly_bandwidth_allowance_in_gb'] !== null) { $object->setMonthlyBandwidthAllowanceInGb($data['monthly_bandwidth_allowance_in_gb']); unset($data['monthly_bandwidth_allowance_in_gb']); + } elseif (\array_key_exists('monthly_bandwidth_allowance_in_gb', $data) && $data['monthly_bandwidth_allowance_in_gb'] === null) { + $object->setMonthlyBandwidthAllowanceInGb(null); } if (\array_key_exists('privacy', $data)) { $object->setPrivacy($data['privacy']); unset($data['privacy']); } - if (\array_key_exists('icon', $data)) { - $object->setIcon($this->denormalizer->denormalize($data['icon'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartIcon', 'json', $context)); + if (\array_key_exists('icon', $data) && $data['icon'] !== null) { + $object->setIcon($this->denormalizer->denormalize($data['icon'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartPackageIcon', 'json', $context)); unset($data['icon']); + } elseif (\array_key_exists('icon', $data) && $data['icon'] === null) { + $object->setIcon(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/DeleteVirtualMachinePartZoneDataCenterNormalizer.php b/src/Normalizer/DeleteVirtualMachinePartZoneDataCenterNormalizer.php new file mode 100644 index 00000000..7ab5d108 --- /dev/null +++ b/src/Normalizer/DeleteVirtualMachinePartZoneDataCenterNormalizer.php @@ -0,0 +1,110 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); + } + if (\array_key_exists('country', $data)) { + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartDataCenterCountry', 'json', $context)); + unset($data['country']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + if ($object->isInitialized('country') && null !== $object->getCountry()) { + $data['country'] = $this->normalizer->normalize($object->getCountry(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartZoneDataCenter' => false]; + } +} diff --git a/src/Normalizer/DeleteVirtualMachinePartZoneNormalizer.php b/src/Normalizer/DeleteVirtualMachinePartZoneNormalizer.php index d728a563..3a2c78c2 100644 --- a/src/Normalizer/DeleteVirtualMachinePartZoneNormalizer.php +++ b/src/Normalizer/DeleteVirtualMachinePartZoneNormalizer.php @@ -57,12 +57,14 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartZoneDataCenter', 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicyNormalizer.php b/src/Normalizer/DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicyNormalizer.php index 152407d6..e1a9345d 100644 --- a/src/Normalizer/DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicyNormalizer.php +++ b/src/Normalizer/DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicyNormalizer.php @@ -69,12 +69,14 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['target']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskBackupPolicyPartSchedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskBackupPolicy200ResponseDiskBackupPolicySchedule', 'json', $context)); unset($data['schedule']); } - if (\array_key_exists('auto_move_to_trash_at', $data)) { + if (\array_key_exists('auto_move_to_trash_at', $data) && $data['auto_move_to_trash_at'] !== null) { $object->setAutoMoveToTrashAt($data['auto_move_to_trash_at']); unset($data['auto_move_to_trash_at']); + } elseif (\array_key_exists('auto_move_to_trash_at', $data) && $data['auto_move_to_trash_at'] === null) { + $object->setAutoMoveToTrashAt(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicyNormalizer.php b/src/Normalizer/DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicyNormalizer.php index 8fe95d8c..cacfc02b 100644 --- a/src/Normalizer/DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicyNormalizer.php +++ b/src/Normalizer/DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicyNormalizer.php @@ -62,16 +62,12 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['target']); } if (\array_key_exists('schedule', $data)) { - $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); - foreach ($data['schedule'] as $key => $value) { - $values[$key] = $value; - } - $object->setSchedule($values); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchDiskBackupPolicy200ResponseDiskBackupPolicySchedule', 'json', $context)); unset($data['schedule']); } - foreach ($data as $key_1 => $value_1) { - if (preg_match('/.*/', (string) $key_1)) { - $object[$key_1] = $value_1; + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; } } @@ -94,15 +90,11 @@ public function normalize($object, $format = null, array $context = []) $data['target'] = $this->normalizer->normalize($object->getTarget(), 'json', $context); } if ($object->isInitialized('schedule') && null !== $object->getSchedule()) { - $values = []; - foreach ($object->getSchedule() as $key => $value) { - $values[$key] = $value; - } - $data['schedule'] = $values; + $data['schedule'] = $this->normalizer->normalize($object->getSchedule(), 'json', $context); } - foreach ($object as $key_1 => $value_1) { - if (preg_match('/.*/', (string) $key_1)) { - $data[$key_1] = $value_1; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; } } diff --git a/src/Normalizer/DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicyNormalizer.php b/src/Normalizer/DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicyNormalizer.php index e71d1757..6d712b4e 100644 --- a/src/Normalizer/DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicyNormalizer.php +++ b/src/Normalizer/DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicyNormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setTarget($this->denormalizer->denormalize($data['target'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPolicyTarget', 'json', $context)); unset($data['target']); } - if (\array_key_exists('auto_move_to_trash_at', $data)) { + if (\array_key_exists('auto_move_to_trash_at', $data) && $data['auto_move_to_trash_at'] !== null) { $object->setAutoMoveToTrashAt($data['auto_move_to_trash_at']); unset($data['auto_move_to_trash_at']); + } elseif (\array_key_exists('auto_move_to_trash_at', $data) && $data['auto_move_to_trash_at'] === null) { + $object->setAutoMoveToTrashAt(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/DiskIOProfileNormalizer.php b/src/Normalizer/DiskIOProfileNormalizer.php index 896a995f..91d605b1 100644 --- a/src/Normalizer/DiskIOProfileNormalizer.php +++ b/src/Normalizer/DiskIOProfileNormalizer.php @@ -61,13 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setPermalink($data['permalink']); unset($data['permalink']); } - if (\array_key_exists('speed_in_mb', $data)) { + if (\array_key_exists('speed_in_mb', $data) && $data['speed_in_mb'] !== null) { $object->setSpeedInMb($data['speed_in_mb']); unset($data['speed_in_mb']); + } elseif (\array_key_exists('speed_in_mb', $data) && $data['speed_in_mb'] === null) { + $object->setSpeedInMb(null); } - if (\array_key_exists('iops', $data)) { + if (\array_key_exists('iops', $data) && $data['iops'] !== null) { $object->setIops($data['iops']); unset($data['iops']); + } elseif (\array_key_exists('iops', $data) && $data['iops'] === null) { + $object->setIops(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/DiskInstallationAttributeNormalizer.php b/src/Normalizer/DiskInstallationAttributeNormalizer.php index 227f9603..c49eeb13 100644 --- a/src/Normalizer/DiskInstallationAttributeNormalizer.php +++ b/src/Normalizer/DiskInstallationAttributeNormalizer.php @@ -57,13 +57,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setLabel($data['label']); unset($data['label']); } - if (\array_key_exists('value', $data)) { + if (\array_key_exists('value', $data) && $data['value'] !== null) { $object->setValue($data['value']); unset($data['value']); + } elseif (\array_key_exists('value', $data) && $data['value'] === null) { + $object->setValue(null); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && $data['description'] !== null) { $object->setDescription($data['description']); unset($data['description']); + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + $object->setDescription(null); } if (\array_key_exists('protect', $data)) { $object->setProtect($data['protect']); diff --git a/src/Normalizer/DiskInstallationAttributesItemNormalizer.php b/src/Normalizer/DiskInstallationAttributesItemNormalizer.php new file mode 100644 index 00000000..5de3d606 --- /dev/null +++ b/src/Normalizer/DiskInstallationAttributesItemNormalizer.php @@ -0,0 +1,119 @@ +setKey($data['key']); + unset($data['key']); + } + if (\array_key_exists('label', $data)) { + $object->setLabel($data['label']); + unset($data['label']); + } + if (\array_key_exists('value', $data) && $data['value'] !== null) { + $object->setValue($data['value']); + unset($data['value']); + } elseif (\array_key_exists('value', $data) && $data['value'] === null) { + $object->setValue(null); + } + if (\array_key_exists('description', $data) && $data['description'] !== null) { + $object->setDescription($data['description']); + unset($data['description']); + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + $object->setDescription(null); + } + if (\array_key_exists('protect', $data)) { + $object->setProtect($data['protect']); + unset($data['protect']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('key') && null !== $object->getKey()) { + $data['key'] = $object->getKey(); + } + if ($object->isInitialized('label') && null !== $object->getLabel()) { + $data['label'] = $object->getLabel(); + } + if ($object->isInitialized('value') && null !== $object->getValue()) { + $data['value'] = $object->getValue(); + } + if ($object->isInitialized('description') && null !== $object->getDescription()) { + $data['description'] = $object->getDescription(); + } + if ($object->isInitialized('protect') && null !== $object->getProtect()) { + $data['protect'] = $object->getProtect(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DiskInstallationAttributesItem' => false]; + } +} diff --git a/src/Normalizer/DiskInstallationDiskTemplateVersionNormalizer.php b/src/Normalizer/DiskInstallationDiskTemplateVersionNormalizer.php new file mode 100644 index 00000000..e62be232 --- /dev/null +++ b/src/Normalizer/DiskInstallationDiskTemplateVersionNormalizer.php @@ -0,0 +1,115 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('number', $data)) { + $object->setNumber($data['number']); + unset($data['number']); + } + if (\array_key_exists('stable', $data)) { + $object->setStable($data['stable']); + unset($data['stable']); + } + if (\array_key_exists('size_in_gb', $data)) { + $object->setSizeInGb($data['size_in_gb']); + unset($data['size_in_gb']); + } + if (\array_key_exists('disk_template', $data)) { + $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateVersionDiskTemplate', 'json', $context)); + unset($data['disk_template']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('number') && null !== $object->getNumber()) { + $data['number'] = $object->getNumber(); + } + if ($object->isInitialized('stable') && null !== $object->getStable()) { + $data['stable'] = $object->getStable(); + } + if ($object->isInitialized('sizeInGb') && null !== $object->getSizeInGb()) { + $data['size_in_gb'] = $object->getSizeInGb(); + } + if ($object->isInitialized('diskTemplate') && null !== $object->getDiskTemplate()) { + $data['disk_template'] = $this->normalizer->normalize($object->getDiskTemplate(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DiskInstallationDiskTemplateVersion' => false]; + } +} diff --git a/src/Normalizer/DiskInstallationNormalizer.php b/src/Normalizer/DiskInstallationNormalizer.php index cfb624ab..4a027d61 100644 --- a/src/Normalizer/DiskInstallationNormalizer.php +++ b/src/Normalizer/DiskInstallationNormalizer.php @@ -54,13 +54,13 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('disk_template_version', $data)) { - $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateVersion', 'json', $context)); + $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskInstallationDiskTemplateVersion', 'json', $context)); unset($data['disk_template_version']); } if (\array_key_exists('attributes', $data)) { $values = []; foreach ($data['attributes'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskInstallationAttribute', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskInstallationAttributesItem', 'json', $context); } $object->setAttributes($values); unset($data['attributes']); diff --git a/src/Normalizer/DiskIoProfileNormalizer.php b/src/Normalizer/DiskIoProfileNormalizer.php new file mode 100644 index 00000000..8df23097 --- /dev/null +++ b/src/Normalizer/DiskIoProfileNormalizer.php @@ -0,0 +1,119 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data)) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } + if (\array_key_exists('speed_in_mb', $data) && $data['speed_in_mb'] !== null) { + $object->setSpeedInMb($data['speed_in_mb']); + unset($data['speed_in_mb']); + } elseif (\array_key_exists('speed_in_mb', $data) && $data['speed_in_mb'] === null) { + $object->setSpeedInMb(null); + } + if (\array_key_exists('iops', $data) && $data['iops'] !== null) { + $object->setIops($data['iops']); + unset($data['iops']); + } elseif (\array_key_exists('iops', $data) && $data['iops'] === null) { + $object->setIops(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + if ($object->isInitialized('speedInMb') && null !== $object->getSpeedInMb()) { + $data['speed_in_mb'] = $object->getSpeedInMb(); + } + if ($object->isInitialized('iops') && null !== $object->getIops()) { + $data['iops'] = $object->getIops(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DiskIoProfile' => false]; + } +} diff --git a/src/Normalizer/DiskNormalizer.php b/src/Normalizer/DiskNormalizer.php index cd2f3b6a..75201917 100644 --- a/src/Normalizer/DiskNormalizer.php +++ b/src/Normalizer/DiskNormalizer.php @@ -77,17 +77,23 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setStorageSpeed($data['storage_speed']); unset($data['storage_speed']); } - if (\array_key_exists('io_profile', $data)) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskIOProfile', 'json', $context)); + if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskIoProfile', 'json', $context)); unset($data['io_profile']); + } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { + $object->setIoProfile(null); } - if (\array_key_exists('virtual_machine_disk', $data)) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineDisk', 'json', $context)); + if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskVirtualMachineDisk', 'json', $context)); unset($data['virtual_machine_disk']); + } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { + $object->setVirtualMachineDisk(null); } - if (\array_key_exists('installation', $data)) { + if (\array_key_exists('installation', $data) && $data['installation'] !== null) { $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskInstallation', 'json', $context)); unset($data['installation']); + } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { + $object->setInstallation(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/DiskTemplateLatestVersionNormalizer.php b/src/Normalizer/DiskTemplateLatestVersionNormalizer.php new file mode 100644 index 00000000..ae218af4 --- /dev/null +++ b/src/Normalizer/DiskTemplateLatestVersionNormalizer.php @@ -0,0 +1,115 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('number', $data)) { + $object->setNumber($data['number']); + unset($data['number']); + } + if (\array_key_exists('stable', $data)) { + $object->setStable($data['stable']); + unset($data['stable']); + } + if (\array_key_exists('size_in_gb', $data)) { + $object->setSizeInGb($data['size_in_gb']); + unset($data['size_in_gb']); + } + if (\array_key_exists('disk_template', $data)) { + $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateVersionDiskTemplate', 'json', $context)); + unset($data['disk_template']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('number') && null !== $object->getNumber()) { + $data['number'] = $object->getNumber(); + } + if ($object->isInitialized('stable') && null !== $object->getStable()) { + $data['stable'] = $object->getStable(); + } + if ($object->isInitialized('sizeInGb') && null !== $object->getSizeInGb()) { + $data['size_in_gb'] = $object->getSizeInGb(); + } + if ($object->isInitialized('diskTemplate') && null !== $object->getDiskTemplate()) { + $data['disk_template'] = $this->normalizer->normalize($object->getDiskTemplate(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateLatestVersion' => false]; + } +} diff --git a/src/Normalizer/DiskTemplateNormalizer.php b/src/Normalizer/DiskTemplateNormalizer.php index 7037e753..f4d2aa96 100644 --- a/src/Normalizer/DiskTemplateNormalizer.php +++ b/src/Normalizer/DiskTemplateNormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && $data['description'] !== null) { $object->setDescription($data['description']); unset($data['description']); + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + $object->setDescription(null); } if (\array_key_exists('permalink', $data)) { $object->setPermalink($data['permalink']); @@ -69,13 +71,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setUniversal($data['universal']); unset($data['universal']); } - if (\array_key_exists('latest_version', $data)) { - $object->setLatestVersion($this->denormalizer->denormalize($data['latest_version'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateVersion', 'json', $context)); + if (\array_key_exists('latest_version', $data) && $data['latest_version'] !== null) { + $object->setLatestVersion($this->denormalizer->denormalize($data['latest_version'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateLatestVersion', 'json', $context)); unset($data['latest_version']); + } elseif (\array_key_exists('latest_version', $data) && $data['latest_version'] === null) { + $object->setLatestVersion(null); } - if (\array_key_exists('operating_system', $data)) { - $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'Krystal\\Katapult\\KatapultAPI\\Model\\OperatingSystem', 'json', $context)); + if (\array_key_exists('operating_system', $data) && $data['operating_system'] !== null) { + $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateOperatingSystem', 'json', $context)); unset($data['operating_system']); + } elseif (\array_key_exists('operating_system', $data) && $data['operating_system'] === null) { + $object->setOperatingSystem(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/DiskTemplateOperatingSystemNormalizer.php b/src/Normalizer/DiskTemplateOperatingSystemNormalizer.php new file mode 100644 index 00000000..ff3931bb --- /dev/null +++ b/src/Normalizer/DiskTemplateOperatingSystemNormalizer.php @@ -0,0 +1,103 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('badge', $data) && $data['badge'] !== null) { + $object->setBadge($this->denormalizer->denormalize($data['badge'], 'Krystal\\Katapult\\KatapultAPI\\Model\\OperatingSystemBadge', 'json', $context)); + unset($data['badge']); + } elseif (\array_key_exists('badge', $data) && $data['badge'] === null) { + $object->setBadge(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('badge') && null !== $object->getBadge()) { + $data['badge'] = $this->normalizer->normalize($object->getBadge(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateOperatingSystem' => false]; + } +} diff --git a/src/Normalizer/DiskTemplateVersionDiskTemplateNormalizer.php b/src/Normalizer/DiskTemplateVersionDiskTemplateNormalizer.php new file mode 100644 index 00000000..96ff7b5d --- /dev/null +++ b/src/Normalizer/DiskTemplateVersionDiskTemplateNormalizer.php @@ -0,0 +1,135 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('description', $data) && $data['description'] !== null) { + $object->setDescription($data['description']); + unset($data['description']); + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + $object->setDescription(null); + } + if (\array_key_exists('permalink', $data)) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } + if (\array_key_exists('universal', $data)) { + $object->setUniversal($data['universal']); + unset($data['universal']); + } + if (\array_key_exists('latest_version', $data) && $data['latest_version'] !== null) { + $object->setLatestVersion($this->denormalizer->denormalize($data['latest_version'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateLatestVersion', 'json', $context)); + unset($data['latest_version']); + } elseif (\array_key_exists('latest_version', $data) && $data['latest_version'] === null) { + $object->setLatestVersion(null); + } + if (\array_key_exists('operating_system', $data) && $data['operating_system'] !== null) { + $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateOperatingSystem', 'json', $context)); + unset($data['operating_system']); + } elseif (\array_key_exists('operating_system', $data) && $data['operating_system'] === null) { + $object->setOperatingSystem(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('description') && null !== $object->getDescription()) { + $data['description'] = $object->getDescription(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + if ($object->isInitialized('universal') && null !== $object->getUniversal()) { + $data['universal'] = $object->getUniversal(); + } + if ($object->isInitialized('latestVersion') && null !== $object->getLatestVersion()) { + $data['latest_version'] = $this->normalizer->normalize($object->getLatestVersion(), 'json', $context); + } + if ($object->isInitialized('operatingSystem') && null !== $object->getOperatingSystem()) { + $data['operating_system'] = $this->normalizer->normalize($object->getOperatingSystem(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateVersionDiskTemplate' => false]; + } +} diff --git a/src/Normalizer/DiskTemplateVersionNormalizer.php b/src/Normalizer/DiskTemplateVersionNormalizer.php index 06ac32a3..7b227b16 100644 --- a/src/Normalizer/DiskTemplateVersionNormalizer.php +++ b/src/Normalizer/DiskTemplateVersionNormalizer.php @@ -66,7 +66,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['size_in_gb']); } if (\array_key_exists('disk_template', $data)) { - $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplate', 'json', $context)); + $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateVersionDiskTemplate', 'json', $context)); unset($data['disk_template']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersionNormalizer.php b/src/Normalizer/DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersionNormalizer.php index 328ac1d6..b2a4d5e1 100644 --- a/src/Normalizer/DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersionNormalizer.php +++ b/src/Normalizer/DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersionNormalizer.php @@ -66,7 +66,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['size_in_gb']); } if (\array_key_exists('disk_template', $data)) { - $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersionPartDiskTemplate', 'json', $context)); + $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersion200ResponseDiskTemplateVersionDiskTemplate', 'json', $context)); unset($data['disk_template']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersionNormalizer.php b/src/Normalizer/DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersionNormalizer.php index 06ed3bc5..f4c33d00 100644 --- a/src/Normalizer/DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersionNormalizer.php +++ b/src/Normalizer/DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersionNormalizer.php @@ -66,7 +66,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['size_in_gb']); } if (\array_key_exists('disk_template', $data)) { - $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersionSpecPartDiskTemplate', 'json', $context)); + $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersionSpec200ResponseDiskTemplateVersionDiskTemplate', 'json', $context)); unset($data['disk_template']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/DiskTemplatesDiskTemplateGetResponse200DiskTemplateNormalizer.php b/src/Normalizer/DiskTemplatesDiskTemplateGetResponse200DiskTemplateNormalizer.php index 4d9a6f85..da006a88 100644 --- a/src/Normalizer/DiskTemplatesDiskTemplateGetResponse200DiskTemplateNormalizer.php +++ b/src/Normalizer/DiskTemplatesDiskTemplateGetResponse200DiskTemplateNormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && $data['description'] !== null) { $object->setDescription($data['description']); unset($data['description']); + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + $object->setDescription(null); } if (\array_key_exists('permalink', $data)) { $object->setPermalink($data['permalink']); @@ -69,13 +71,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setUniversal($data['universal']); unset($data['universal']); } - if (\array_key_exists('latest_version', $data)) { - $object->setLatestVersion($this->denormalizer->denormalize($data['latest_version'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplatePartLatestVersion', 'json', $context)); + if (\array_key_exists('latest_version', $data) && $data['latest_version'] !== null) { + $object->setLatestVersion($this->denormalizer->denormalize($data['latest_version'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplate200ResponseDiskTemplateLatestVersion', 'json', $context)); unset($data['latest_version']); + } elseif (\array_key_exists('latest_version', $data) && $data['latest_version'] === null) { + $object->setLatestVersion(null); } - if (\array_key_exists('operating_system', $data)) { - $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplatePartOperatingSystem', 'json', $context)); + if (\array_key_exists('operating_system', $data) && $data['operating_system'] !== null) { + $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplate200ResponseDiskTemplateOperatingSystem', 'json', $context)); unset($data['operating_system']); + } elseif (\array_key_exists('operating_system', $data) && $data['operating_system'] === null) { + $object->setOperatingSystem(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/DiskTemplatesDiskTemplateVersionsGetResponse200PaginationNormalizer.php b/src/Normalizer/DiskTemplatesDiskTemplateVersionsGetResponse200PaginationNormalizer.php index 893b5eeb..559582d9 100644 --- a/src/Normalizer/DiskTemplatesDiskTemplateVersionsGetResponse200PaginationNormalizer.php +++ b/src/Normalizer/DiskTemplatesDiskTemplateVersionsGetResponse200PaginationNormalizer.php @@ -53,13 +53,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCurrentPage($data['current_page']); unset($data['current_page']); } - if (\array_key_exists('total_pages', $data)) { + if (\array_key_exists('total_pages', $data) && $data['total_pages'] !== null) { $object->setTotalPages($data['total_pages']); unset($data['total_pages']); + } elseif (\array_key_exists('total_pages', $data) && $data['total_pages'] === null) { + $object->setTotalPages(null); } - if (\array_key_exists('total', $data)) { + if (\array_key_exists('total', $data) && $data['total'] !== null) { $object->setTotal($data['total']); unset($data['total']); + } elseif (\array_key_exists('total', $data) && $data['total'] === null) { + $object->setTotal(null); } if (\array_key_exists('per_page', $data)) { $object->setPerPage($data['per_page']); diff --git a/src/Normalizer/DiskVirtualMachineDiskNormalizer.php b/src/Normalizer/DiskVirtualMachineDiskNormalizer.php new file mode 100644 index 00000000..253d1837 --- /dev/null +++ b/src/Normalizer/DiskVirtualMachineDiskNormalizer.php @@ -0,0 +1,115 @@ +setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineDiskVirtualMachine', 'json', $context)); + unset($data['virtual_machine']); + } + if (\array_key_exists('disk', $data)) { + $object->setDisk($this->denormalizer->denormalize($data['disk'], 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineDiskDisk', 'json', $context)); + unset($data['disk']); + } + if (\array_key_exists('attach_on_boot', $data)) { + $object->setAttachOnBoot($data['attach_on_boot']); + unset($data['attach_on_boot']); + } + if (\array_key_exists('boot', $data)) { + $object->setBoot($data['boot']); + unset($data['boot']); + } + if (\array_key_exists('state', $data)) { + $object->setState($data['state']); + unset($data['state']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('virtualMachine') && null !== $object->getVirtualMachine()) { + $data['virtual_machine'] = $this->normalizer->normalize($object->getVirtualMachine(), 'json', $context); + } + if ($object->isInitialized('disk') && null !== $object->getDisk()) { + $data['disk'] = $this->normalizer->normalize($object->getDisk(), 'json', $context); + } + if ($object->isInitialized('attachOnBoot') && null !== $object->getAttachOnBoot()) { + $data['attach_on_boot'] = $object->getAttachOnBoot(); + } + if ($object->isInitialized('boot') && null !== $object->getBoot()) { + $data['boot'] = $object->getBoot(); + } + if ($object->isInitialized('state') && null !== $object->getState()) { + $data['state'] = $object->getState(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\DiskVirtualMachineDisk' => false]; + } +} diff --git a/src/Normalizer/DisksDiskDiskBackupPoliciesGetResponse200PaginationNormalizer.php b/src/Normalizer/DisksDiskDiskBackupPoliciesGetResponse200PaginationNormalizer.php index a9ff395b..1997b800 100644 --- a/src/Normalizer/DisksDiskDiskBackupPoliciesGetResponse200PaginationNormalizer.php +++ b/src/Normalizer/DisksDiskDiskBackupPoliciesGetResponse200PaginationNormalizer.php @@ -53,13 +53,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCurrentPage($data['current_page']); unset($data['current_page']); } - if (\array_key_exists('total_pages', $data)) { + if (\array_key_exists('total_pages', $data) && $data['total_pages'] !== null) { $object->setTotalPages($data['total_pages']); unset($data['total_pages']); + } elseif (\array_key_exists('total_pages', $data) && $data['total_pages'] === null) { + $object->setTotalPages(null); } - if (\array_key_exists('total', $data)) { + if (\array_key_exists('total', $data) && $data['total'] !== null) { $object->setTotal($data['total']); unset($data['total']); + } elseif (\array_key_exists('total', $data) && $data['total'] === null) { + $object->setTotal(null); } if (\array_key_exists('per_page', $data)) { $object->setPerPage($data['per_page']); diff --git a/src/Normalizer/DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicyNormalizer.php b/src/Normalizer/DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicyNormalizer.php index e124a62d..3311c9b6 100644 --- a/src/Normalizer/DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicyNormalizer.php +++ b/src/Normalizer/DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicyNormalizer.php @@ -69,12 +69,14 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['target']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostDiskDiskBackupPoliciesPartSchedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostDiskDiskBackupPolicies200ResponseDiskBackupPolicySchedule', 'json', $context)); unset($data['schedule']); } - if (\array_key_exists('auto_move_to_trash_at', $data)) { + if (\array_key_exists('auto_move_to_trash_at', $data) && $data['auto_move_to_trash_at'] !== null) { $object->setAutoMoveToTrashAt($data['auto_move_to_trash_at']); unset($data['auto_move_to_trash_at']); + } elseif (\array_key_exists('auto_move_to_trash_at', $data) && $data['auto_move_to_trash_at'] === null) { + $object->setAutoMoveToTrashAt(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/DisksDiskGetResponse200DiskNormalizer.php b/src/Normalizer/DisksDiskGetResponse200DiskNormalizer.php index e7fc2dc7..8ddf859d 100644 --- a/src/Normalizer/DisksDiskGetResponse200DiskNormalizer.php +++ b/src/Normalizer/DisksDiskGetResponse200DiskNormalizer.php @@ -77,17 +77,23 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setStorageSpeed($data['storage_speed']); unset($data['storage_speed']); } - if (\array_key_exists('io_profile', $data)) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartIOProfile', 'json', $context)); + if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDisk200ResponseDiskIoProfile', 'json', $context)); unset($data['io_profile']); + } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { + $object->setIoProfile(null); } - if (\array_key_exists('virtual_machine_disk', $data)) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartVirtualMachineDisk', 'json', $context)); + if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDisk200ResponseDiskVirtualMachineDisk', 'json', $context)); unset($data['virtual_machine_disk']); + } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { + $object->setVirtualMachineDisk(null); } - if (\array_key_exists('installation', $data)) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartInstallation', 'json', $context)); + if (\array_key_exists('installation', $data) && $data['installation'] !== null) { + $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDisk200ResponseDiskInstallation', 'json', $context)); unset($data['installation']); + } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { + $object->setInstallation(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/DnsRecordsDnsRecordGetResponse200DnsRecordNormalizer.php b/src/Normalizer/DnsRecordsDnsRecordGetResponse200DnsRecordNormalizer.php index 89a4cd23..1f940424 100644 --- a/src/Normalizer/DnsRecordsDnsRecordGetResponse200DnsRecordNormalizer.php +++ b/src/Normalizer/DnsRecordsDnsRecordGetResponse200DnsRecordNormalizer.php @@ -53,25 +53,31 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setId($data['id']); unset($data['id']); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && $data['name'] !== null) { $object->setName($data['name']); unset($data['name']); + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + $object->setName(null); } if (\array_key_exists('full_name', $data)) { $object->setFullName($data['full_name']); unset($data['full_name']); } - if (\array_key_exists('ttl', $data)) { + if (\array_key_exists('ttl', $data) && $data['ttl'] !== null) { $object->setTtl($data['ttl']); unset($data['ttl']); + } elseif (\array_key_exists('ttl', $data) && $data['ttl'] === null) { + $object->setTtl(null); } if (\array_key_exists('type', $data)) { $object->setType($data['type']); unset($data['type']); } - if (\array_key_exists('priority', $data)) { + if (\array_key_exists('priority', $data) && $data['priority'] !== null) { $object->setPriority($data['priority']); unset($data['priority']); + } elseif (\array_key_exists('priority', $data) && $data['priority'] === null) { + $object->setPriority(null); } if (\array_key_exists('content', $data)) { $object->setContent($data['content']); diff --git a/src/Normalizer/DnsRecordsDnsRecordPatchResponse200DnsRecordNormalizer.php b/src/Normalizer/DnsRecordsDnsRecordPatchResponse200DnsRecordNormalizer.php index 80d9fc18..efdee339 100644 --- a/src/Normalizer/DnsRecordsDnsRecordPatchResponse200DnsRecordNormalizer.php +++ b/src/Normalizer/DnsRecordsDnsRecordPatchResponse200DnsRecordNormalizer.php @@ -53,25 +53,31 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setId($data['id']); unset($data['id']); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && $data['name'] !== null) { $object->setName($data['name']); unset($data['name']); + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + $object->setName(null); } if (\array_key_exists('full_name', $data)) { $object->setFullName($data['full_name']); unset($data['full_name']); } - if (\array_key_exists('ttl', $data)) { + if (\array_key_exists('ttl', $data) && $data['ttl'] !== null) { $object->setTtl($data['ttl']); unset($data['ttl']); + } elseif (\array_key_exists('ttl', $data) && $data['ttl'] === null) { + $object->setTtl(null); } if (\array_key_exists('type', $data)) { $object->setType($data['type']); unset($data['type']); } - if (\array_key_exists('priority', $data)) { + if (\array_key_exists('priority', $data) && $data['priority'] !== null) { $object->setPriority($data['priority']); unset($data['priority']); + } elseif (\array_key_exists('priority', $data) && $data['priority'] === null) { + $object->setPriority(null); } if (\array_key_exists('content', $data)) { $object->setContent($data['content']); diff --git a/src/Normalizer/DnsZonesDnsZoneRecordsPostResponse200DnsRecordNormalizer.php b/src/Normalizer/DnsZonesDnsZoneRecordsPostResponse200DnsRecordNormalizer.php index 6acc5801..b61111ce 100644 --- a/src/Normalizer/DnsZonesDnsZoneRecordsPostResponse200DnsRecordNormalizer.php +++ b/src/Normalizer/DnsZonesDnsZoneRecordsPostResponse200DnsRecordNormalizer.php @@ -53,25 +53,31 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setId($data['id']); unset($data['id']); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && $data['name'] !== null) { $object->setName($data['name']); unset($data['name']); + } elseif (\array_key_exists('name', $data) && $data['name'] === null) { + $object->setName(null); } if (\array_key_exists('full_name', $data)) { $object->setFullName($data['full_name']); unset($data['full_name']); } - if (\array_key_exists('ttl', $data)) { + if (\array_key_exists('ttl', $data) && $data['ttl'] !== null) { $object->setTtl($data['ttl']); unset($data['ttl']); + } elseif (\array_key_exists('ttl', $data) && $data['ttl'] === null) { + $object->setTtl(null); } if (\array_key_exists('type', $data)) { $object->setType($data['type']); unset($data['type']); } - if (\array_key_exists('priority', $data)) { + if (\array_key_exists('priority', $data) && $data['priority'] !== null) { $object->setPriority($data['priority']); unset($data['priority']); + } elseif (\array_key_exists('priority', $data) && $data['priority'] === null) { + $object->setPriority(null); } if (\array_key_exists('content', $data)) { $object->setContent($data['content']); diff --git a/src/Normalizer/FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolumeNormalizer.php b/src/Normalizer/FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolumeNormalizer.php index e3a41dc0..f2a029e1 100644 --- a/src/Normalizer/FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolumeNormalizer.php +++ b/src/Normalizer/FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolumeNormalizer.php @@ -58,7 +58,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteFileStorageVolumePartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteFileStorageVolume200ResponseFileStorageVolumeDataCenter', 'json', $context)); unset($data['data_center']); } if (\array_key_exists('associations', $data)) { @@ -73,13 +73,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setState($data['state']); unset($data['state']); } - if (\array_key_exists('nfs_location', $data)) { + if (\array_key_exists('nfs_location', $data) && $data['nfs_location'] !== null) { $object->setNfsLocation($data['nfs_location']); unset($data['nfs_location']); + } elseif (\array_key_exists('nfs_location', $data) && $data['nfs_location'] === null) { + $object->setNfsLocation(null); } - if (\array_key_exists('size', $data)) { + if (\array_key_exists('size', $data) && $data['size'] !== null) { $object->setSize($data['size']); unset($data['size']); + } elseif (\array_key_exists('size', $data) && $data['size'] === null) { + $object->setSize(null); } foreach ($data as $key => $value_1) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolumeNormalizer.php b/src/Normalizer/FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolumeNormalizer.php index abce00c4..46956e66 100644 --- a/src/Normalizer/FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolumeNormalizer.php +++ b/src/Normalizer/FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolumeNormalizer.php @@ -58,7 +58,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetFileStorageVolumePartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetFileStorageVolume200ResponseFileStorageVolumeDataCenter', 'json', $context)); unset($data['data_center']); } if (\array_key_exists('associations', $data)) { @@ -73,13 +73,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setState($data['state']); unset($data['state']); } - if (\array_key_exists('nfs_location', $data)) { + if (\array_key_exists('nfs_location', $data) && $data['nfs_location'] !== null) { $object->setNfsLocation($data['nfs_location']); unset($data['nfs_location']); + } elseif (\array_key_exists('nfs_location', $data) && $data['nfs_location'] === null) { + $object->setNfsLocation(null); } - if (\array_key_exists('size', $data)) { + if (\array_key_exists('size', $data) && $data['size'] !== null) { $object->setSize($data['size']); unset($data['size']); + } elseif (\array_key_exists('size', $data) && $data['size'] === null) { + $object->setSize(null); } foreach ($data as $key => $value_1) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolumeNormalizer.php b/src/Normalizer/FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolumeNormalizer.php index 4cad376a..1e349f09 100644 --- a/src/Normalizer/FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolumeNormalizer.php +++ b/src/Normalizer/FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolumeNormalizer.php @@ -58,7 +58,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchFileStorageVolumePartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchFileStorageVolume200ResponseFileStorageVolumeDataCenter', 'json', $context)); unset($data['data_center']); } if (\array_key_exists('associations', $data)) { @@ -73,13 +73,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setState($data['state']); unset($data['state']); } - if (\array_key_exists('nfs_location', $data)) { + if (\array_key_exists('nfs_location', $data) && $data['nfs_location'] !== null) { $object->setNfsLocation($data['nfs_location']); unset($data['nfs_location']); + } elseif (\array_key_exists('nfs_location', $data) && $data['nfs_location'] === null) { + $object->setNfsLocation(null); } - if (\array_key_exists('size', $data)) { + if (\array_key_exists('size', $data) && $data['size'] !== null) { $object->setSize($data['size']); unset($data['size']); + } elseif (\array_key_exists('size', $data) && $data['size'] === null) { + $object->setSize(null); } foreach ($data as $key => $value_1) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/GPUTypeDataCentersItemNormalizer.php b/src/Normalizer/GPUTypeDataCentersItemNormalizer.php new file mode 100644 index 00000000..df848511 --- /dev/null +++ b/src/Normalizer/GPUTypeDataCentersItemNormalizer.php @@ -0,0 +1,110 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); + } + if (\array_key_exists('country', $data)) { + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCenterCountry', 'json', $context)); + unset($data['country']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + if ($object->isInitialized('country') && null !== $object->getCountry()) { + $data['country'] = $this->normalizer->normalize($object->getCountry(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GPUTypeDataCentersItem' => false]; + } +} diff --git a/src/Normalizer/GPUTypeNormalizer.php b/src/Normalizer/GPUTypeNormalizer.php index 0d2e2084..d7c9f33d 100644 --- a/src/Normalizer/GPUTypeNormalizer.php +++ b/src/Normalizer/GPUTypeNormalizer.php @@ -76,7 +76,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('data_centers', $data)) { $values = []; foreach ($data['data_centers'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCenter', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\GPUTypeDataCentersItem', 'json', $context); } $object->setDataCenters($values); unset($data['data_centers']); diff --git a/src/Normalizer/GetDataCenter200ResponseDataCenterCountryNormalizer.php b/src/Normalizer/GetDataCenter200ResponseDataCenterCountryNormalizer.php new file mode 100644 index 00000000..c98d9bcc --- /dev/null +++ b/src/Normalizer/GetDataCenter200ResponseDataCenterCountryNormalizer.php @@ -0,0 +1,94 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenter200ResponseDataCenterCountry' => false]; + } +} diff --git a/src/Normalizer/GetDataCenter200ResponseDataCenterNormalizer.php b/src/Normalizer/GetDataCenter200ResponseDataCenterNormalizer.php index 3b296a73..159c8e62 100644 --- a/src/Normalizer/GetDataCenter200ResponseDataCenterNormalizer.php +++ b/src/Normalizer/GetDataCenter200ResponseDataCenterNormalizer.php @@ -57,12 +57,14 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenterPartCountry', 'json', $context)); + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenter200ResponseDataCenterCountry', 'json', $context)); unset($data['country']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/GetDataCenterDefaultNetwork200ResponseNetworkDataCenterNormalizer.php b/src/Normalizer/GetDataCenterDefaultNetwork200ResponseNetworkDataCenterNormalizer.php new file mode 100644 index 00000000..efdbd1ff --- /dev/null +++ b/src/Normalizer/GetDataCenterDefaultNetwork200ResponseNetworkDataCenterNormalizer.php @@ -0,0 +1,103 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenterDefaultNetwork200ResponseNetworkDataCenter' => false]; + } +} diff --git a/src/Normalizer/GetDataCenterDefaultNetwork200ResponseNetworkNormalizer.php b/src/Normalizer/GetDataCenterDefaultNetwork200ResponseNetworkNormalizer.php index 63cd0b1b..761454dc 100644 --- a/src/Normalizer/GetDataCenterDefaultNetwork200ResponseNetworkNormalizer.php +++ b/src/Normalizer/GetDataCenterDefaultNetwork200ResponseNetworkNormalizer.php @@ -57,12 +57,14 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenterDefaultNetworkPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenterDefaultNetwork200ResponseNetworkDataCenter', 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/GetDataCenterDefaultNetworkPartDataCenterNormalizer.php b/src/Normalizer/GetDataCenterDefaultNetworkPartDataCenterNormalizer.php index 63d3f927..09b0896d 100644 --- a/src/Normalizer/GetDataCenterDefaultNetworkPartDataCenterNormalizer.php +++ b/src/Normalizer/GetDataCenterDefaultNetworkPartDataCenterNormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/GetDataCenters200ResponseDataCentersCountryNormalizer.php b/src/Normalizer/GetDataCenters200ResponseDataCentersCountryNormalizer.php new file mode 100644 index 00000000..13e7f6c9 --- /dev/null +++ b/src/Normalizer/GetDataCenters200ResponseDataCentersCountryNormalizer.php @@ -0,0 +1,94 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenters200ResponseDataCentersCountry' => false]; + } +} diff --git a/src/Normalizer/GetDataCenters200ResponseDataCentersNormalizer.php b/src/Normalizer/GetDataCenters200ResponseDataCentersNormalizer.php index b714225b..e7657e26 100644 --- a/src/Normalizer/GetDataCenters200ResponseDataCentersNormalizer.php +++ b/src/Normalizer/GetDataCenters200ResponseDataCentersNormalizer.php @@ -57,12 +57,14 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCentersPartCountry', 'json', $context)); + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenters200ResponseDataCentersCountry', 'json', $context)); unset($data['country']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/GetDisk200ResponseDiskInstallationNormalizer.php b/src/Normalizer/GetDisk200ResponseDiskInstallationNormalizer.php new file mode 100644 index 00000000..efb6b783 --- /dev/null +++ b/src/Normalizer/GetDisk200ResponseDiskInstallationNormalizer.php @@ -0,0 +1,109 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('disk_template_version', $data)) { + $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartInstallationDiskTemplateVersion', 'json', $context)); + unset($data['disk_template_version']); + } + if (\array_key_exists('attributes', $data)) { + $values = []; + foreach ($data['attributes'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartInstallationAttributesItem', 'json', $context); + } + $object->setAttributes($values); + unset($data['attributes']); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('diskTemplateVersion') && null !== $object->getDiskTemplateVersion()) { + $data['disk_template_version'] = $this->normalizer->normalize($object->getDiskTemplateVersion(), 'json', $context); + } + if ($object->isInitialized('attributes') && null !== $object->getAttributes()) { + $values = []; + foreach ($object->getAttributes() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['attributes'] = $values; + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetDisk200ResponseDiskInstallation' => false]; + } +} diff --git a/src/Normalizer/GetDisk200ResponseDiskIoProfileNormalizer.php b/src/Normalizer/GetDisk200ResponseDiskIoProfileNormalizer.php new file mode 100644 index 00000000..fb13a5c7 --- /dev/null +++ b/src/Normalizer/GetDisk200ResponseDiskIoProfileNormalizer.php @@ -0,0 +1,119 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data)) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } + if (\array_key_exists('speed_in_mb', $data) && $data['speed_in_mb'] !== null) { + $object->setSpeedInMb($data['speed_in_mb']); + unset($data['speed_in_mb']); + } elseif (\array_key_exists('speed_in_mb', $data) && $data['speed_in_mb'] === null) { + $object->setSpeedInMb(null); + } + if (\array_key_exists('iops', $data) && $data['iops'] !== null) { + $object->setIops($data['iops']); + unset($data['iops']); + } elseif (\array_key_exists('iops', $data) && $data['iops'] === null) { + $object->setIops(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + if ($object->isInitialized('speedInMb') && null !== $object->getSpeedInMb()) { + $data['speed_in_mb'] = $object->getSpeedInMb(); + } + if ($object->isInitialized('iops') && null !== $object->getIops()) { + $data['iops'] = $object->getIops(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetDisk200ResponseDiskIoProfile' => false]; + } +} diff --git a/src/Normalizer/GetDisk200ResponseDiskNormalizer.php b/src/Normalizer/GetDisk200ResponseDiskNormalizer.php index 8226596b..ae1a3146 100644 --- a/src/Normalizer/GetDisk200ResponseDiskNormalizer.php +++ b/src/Normalizer/GetDisk200ResponseDiskNormalizer.php @@ -77,17 +77,23 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setStorageSpeed($data['storage_speed']); unset($data['storage_speed']); } - if (\array_key_exists('io_profile', $data)) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartIOProfile', 'json', $context)); + if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDisk200ResponseDiskIoProfile', 'json', $context)); unset($data['io_profile']); + } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { + $object->setIoProfile(null); } - if (\array_key_exists('virtual_machine_disk', $data)) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartVirtualMachineDisk', 'json', $context)); + if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDisk200ResponseDiskVirtualMachineDisk', 'json', $context)); unset($data['virtual_machine_disk']); + } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { + $object->setVirtualMachineDisk(null); } - if (\array_key_exists('installation', $data)) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartInstallation', 'json', $context)); + if (\array_key_exists('installation', $data) && $data['installation'] !== null) { + $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDisk200ResponseDiskInstallation', 'json', $context)); unset($data['installation']); + } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { + $object->setInstallation(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/GetDisk200ResponseDiskVirtualMachineDiskNormalizer.php b/src/Normalizer/GetDisk200ResponseDiskVirtualMachineDiskNormalizer.php new file mode 100644 index 00000000..1066dd1a --- /dev/null +++ b/src/Normalizer/GetDisk200ResponseDiskVirtualMachineDiskNormalizer.php @@ -0,0 +1,108 @@ +setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartVirtualMachineDiskVirtualMachine', 'json', $context)); + unset($data['virtual_machine']); + } + if (\array_key_exists('attach_on_boot', $data)) { + $object->setAttachOnBoot($data['attach_on_boot']); + unset($data['attach_on_boot']); + } + if (\array_key_exists('boot', $data)) { + $object->setBoot($data['boot']); + unset($data['boot']); + } + if (\array_key_exists('state', $data)) { + $object->setState($data['state']); + unset($data['state']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('virtualMachine') && null !== $object->getVirtualMachine()) { + $data['virtual_machine'] = $this->normalizer->normalize($object->getVirtualMachine(), 'json', $context); + } + if ($object->isInitialized('attachOnBoot') && null !== $object->getAttachOnBoot()) { + $data['attach_on_boot'] = $object->getAttachOnBoot(); + } + if ($object->isInitialized('boot') && null !== $object->getBoot()) { + $data['boot'] = $object->getBoot(); + } + if ($object->isInitialized('state') && null !== $object->getState()) { + $data['state'] = $object->getState(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetDisk200ResponseDiskVirtualMachineDisk' => false]; + } +} diff --git a/src/Normalizer/GetDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer.php b/src/Normalizer/GetDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer.php index 0dc4ee4b..f8382ee7 100644 --- a/src/Normalizer/GetDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer.php +++ b/src/Normalizer/GetDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer.php @@ -69,12 +69,14 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['target']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskBackupPolicyPartSchedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskBackupPolicy200ResponseDiskBackupPolicySchedule', 'json', $context)); unset($data['schedule']); } - if (\array_key_exists('auto_move_to_trash_at', $data)) { + if (\array_key_exists('auto_move_to_trash_at', $data) && $data['auto_move_to_trash_at'] !== null) { $object->setAutoMoveToTrashAt($data['auto_move_to_trash_at']); unset($data['auto_move_to_trash_at']); + } elseif (\array_key_exists('auto_move_to_trash_at', $data) && $data['auto_move_to_trash_at'] === null) { + $object->setAutoMoveToTrashAt(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/GetDiskBackupPolicy200ResponseDiskBackupPolicyScheduleNormalizer.php b/src/Normalizer/GetDiskBackupPolicy200ResponseDiskBackupPolicyScheduleNormalizer.php new file mode 100644 index 00000000..5d0d00f3 --- /dev/null +++ b/src/Normalizer/GetDiskBackupPolicy200ResponseDiskBackupPolicyScheduleNormalizer.php @@ -0,0 +1,115 @@ +setFrequency($data['frequency']); + unset($data['frequency']); + } + if (\array_key_exists('interval', $data)) { + $object->setInterval($data['interval']); + unset($data['interval']); + } + if (\array_key_exists('minute', $data)) { + $object->setMinute($data['minute']); + unset($data['minute']); + } + if (\array_key_exists('next_invocation_at', $data)) { + $object->setNextInvocationAt($data['next_invocation_at']); + unset($data['next_invocation_at']); + } + if (\array_key_exists('time', $data)) { + $object->setTime($data['time']); + unset($data['time']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('frequency') && null !== $object->getFrequency()) { + $data['frequency'] = $object->getFrequency(); + } + if ($object->isInitialized('interval') && null !== $object->getInterval()) { + $data['interval'] = $object->getInterval(); + } + if ($object->isInitialized('minute') && null !== $object->getMinute()) { + $data['minute'] = $object->getMinute(); + } + if ($object->isInitialized('nextInvocationAt') && null !== $object->getNextInvocationAt()) { + $data['next_invocation_at'] = $object->getNextInvocationAt(); + } + if ($object->isInitialized('time') && null !== $object->getTime()) { + $data['time'] = $object->getTime(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskBackupPolicy200ResponseDiskBackupPolicySchedule' => false]; + } +} diff --git a/src/Normalizer/GetDiskDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer.php b/src/Normalizer/GetDiskDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer.php index 205eda68..2cd4f818 100644 --- a/src/Normalizer/GetDiskDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer.php +++ b/src/Normalizer/GetDiskDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer.php @@ -69,7 +69,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['target']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskDiskBackupPoliciesPartSchedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskDiskBackupPolicies200ResponseDiskBackupPoliciesSchedule', 'json', $context)); unset($data['schedule']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/GetDiskDiskBackupPolicies200ResponseDiskBackupPoliciesScheduleNormalizer.php b/src/Normalizer/GetDiskDiskBackupPolicies200ResponseDiskBackupPoliciesScheduleNormalizer.php new file mode 100644 index 00000000..2efe13fe --- /dev/null +++ b/src/Normalizer/GetDiskDiskBackupPolicies200ResponseDiskBackupPoliciesScheduleNormalizer.php @@ -0,0 +1,94 @@ +setInterval($data['interval']); + unset($data['interval']); + } + if (\array_key_exists('next_invocation_at', $data)) { + $object->setNextInvocationAt($data['next_invocation_at']); + unset($data['next_invocation_at']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('interval') && null !== $object->getInterval()) { + $data['interval'] = $object->getInterval(); + } + if ($object->isInitialized('nextInvocationAt') && null !== $object->getNextInvocationAt()) { + $data['next_invocation_at'] = $object->getNextInvocationAt(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskDiskBackupPolicies200ResponseDiskBackupPoliciesSchedule' => false]; + } +} diff --git a/src/Normalizer/GetDiskPartAttributesNormalizer.php b/src/Normalizer/GetDiskPartAttributesNormalizer.php index 42a60a59..b3e6e217 100644 --- a/src/Normalizer/GetDiskPartAttributesNormalizer.php +++ b/src/Normalizer/GetDiskPartAttributesNormalizer.php @@ -57,13 +57,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setLabel($data['label']); unset($data['label']); } - if (\array_key_exists('value', $data)) { + if (\array_key_exists('value', $data) && $data['value'] !== null) { $object->setValue($data['value']); unset($data['value']); + } elseif (\array_key_exists('value', $data) && $data['value'] === null) { + $object->setValue(null); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && $data['description'] !== null) { $object->setDescription($data['description']); unset($data['description']); + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + $object->setDescription(null); } if (\array_key_exists('protect', $data)) { $object->setProtect($data['protect']); diff --git a/src/Normalizer/GetDiskPartDiskTemplateNormalizer.php b/src/Normalizer/GetDiskPartDiskTemplateNormalizer.php index a0479ec9..3f6078f7 100644 --- a/src/Normalizer/GetDiskPartDiskTemplateNormalizer.php +++ b/src/Normalizer/GetDiskPartDiskTemplateNormalizer.php @@ -61,9 +61,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setPermalink($data['permalink']); unset($data['permalink']); } - if (\array_key_exists('operating_system', $data)) { - $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartOperatingSystem', 'json', $context)); + if (\array_key_exists('operating_system', $data) && $data['operating_system'] !== null) { + $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartDiskTemplateOperatingSystem', 'json', $context)); unset($data['operating_system']); + } elseif (\array_key_exists('operating_system', $data) && $data['operating_system'] === null) { + $object->setOperatingSystem(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/GetDiskPartDiskTemplateOperatingSystemNormalizer.php b/src/Normalizer/GetDiskPartDiskTemplateOperatingSystemNormalizer.php new file mode 100644 index 00000000..3641db91 --- /dev/null +++ b/src/Normalizer/GetDiskPartDiskTemplateOperatingSystemNormalizer.php @@ -0,0 +1,94 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartDiskTemplateOperatingSystem' => false]; + } +} diff --git a/src/Normalizer/GetDiskPartDiskTemplateVersionDiskTemplateNormalizer.php b/src/Normalizer/GetDiskPartDiskTemplateVersionDiskTemplateNormalizer.php new file mode 100644 index 00000000..275b1e9f --- /dev/null +++ b/src/Normalizer/GetDiskPartDiskTemplateVersionDiskTemplateNormalizer.php @@ -0,0 +1,110 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data)) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } + if (\array_key_exists('operating_system', $data) && $data['operating_system'] !== null) { + $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartDiskTemplateOperatingSystem', 'json', $context)); + unset($data['operating_system']); + } elseif (\array_key_exists('operating_system', $data) && $data['operating_system'] === null) { + $object->setOperatingSystem(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + if ($object->isInitialized('operatingSystem') && null !== $object->getOperatingSystem()) { + $data['operating_system'] = $this->normalizer->normalize($object->getOperatingSystem(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartDiskTemplateVersionDiskTemplate' => false]; + } +} diff --git a/src/Normalizer/GetDiskPartDiskTemplateVersionNormalizer.php b/src/Normalizer/GetDiskPartDiskTemplateVersionNormalizer.php index add9a4e9..dce1bc10 100644 --- a/src/Normalizer/GetDiskPartDiskTemplateVersionNormalizer.php +++ b/src/Normalizer/GetDiskPartDiskTemplateVersionNormalizer.php @@ -58,7 +58,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['stable']); } if (\array_key_exists('disk_template', $data)) { - $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartDiskTemplate', 'json', $context)); + $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartDiskTemplateVersionDiskTemplate', 'json', $context)); unset($data['disk_template']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/GetDiskPartIOProfileNormalizer.php b/src/Normalizer/GetDiskPartIOProfileNormalizer.php index 39464178..a11b815e 100644 --- a/src/Normalizer/GetDiskPartIOProfileNormalizer.php +++ b/src/Normalizer/GetDiskPartIOProfileNormalizer.php @@ -61,13 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setPermalink($data['permalink']); unset($data['permalink']); } - if (\array_key_exists('speed_in_mb', $data)) { + if (\array_key_exists('speed_in_mb', $data) && $data['speed_in_mb'] !== null) { $object->setSpeedInMb($data['speed_in_mb']); unset($data['speed_in_mb']); + } elseif (\array_key_exists('speed_in_mb', $data) && $data['speed_in_mb'] === null) { + $object->setSpeedInMb(null); } - if (\array_key_exists('iops', $data)) { + if (\array_key_exists('iops', $data) && $data['iops'] !== null) { $object->setIops($data['iops']); unset($data['iops']); + } elseif (\array_key_exists('iops', $data) && $data['iops'] === null) { + $object->setIops(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/GetDiskPartInstallationAttributesItemNormalizer.php b/src/Normalizer/GetDiskPartInstallationAttributesItemNormalizer.php new file mode 100644 index 00000000..3e489018 --- /dev/null +++ b/src/Normalizer/GetDiskPartInstallationAttributesItemNormalizer.php @@ -0,0 +1,119 @@ +setKey($data['key']); + unset($data['key']); + } + if (\array_key_exists('label', $data)) { + $object->setLabel($data['label']); + unset($data['label']); + } + if (\array_key_exists('value', $data) && $data['value'] !== null) { + $object->setValue($data['value']); + unset($data['value']); + } elseif (\array_key_exists('value', $data) && $data['value'] === null) { + $object->setValue(null); + } + if (\array_key_exists('description', $data) && $data['description'] !== null) { + $object->setDescription($data['description']); + unset($data['description']); + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + $object->setDescription(null); + } + if (\array_key_exists('protect', $data)) { + $object->setProtect($data['protect']); + unset($data['protect']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('key') && null !== $object->getKey()) { + $data['key'] = $object->getKey(); + } + if ($object->isInitialized('label') && null !== $object->getLabel()) { + $data['label'] = $object->getLabel(); + } + if ($object->isInitialized('value') && null !== $object->getValue()) { + $data['value'] = $object->getValue(); + } + if ($object->isInitialized('description') && null !== $object->getDescription()) { + $data['description'] = $object->getDescription(); + } + if ($object->isInitialized('protect') && null !== $object->getProtect()) { + $data['protect'] = $object->getProtect(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartInstallationAttributesItem' => false]; + } +} diff --git a/src/Normalizer/GetDiskPartInstallationDiskTemplateVersionNormalizer.php b/src/Normalizer/GetDiskPartInstallationDiskTemplateVersionNormalizer.php new file mode 100644 index 00000000..6333e0e3 --- /dev/null +++ b/src/Normalizer/GetDiskPartInstallationDiskTemplateVersionNormalizer.php @@ -0,0 +1,101 @@ +setNumber($data['number']); + unset($data['number']); + } + if (\array_key_exists('stable', $data)) { + $object->setStable($data['stable']); + unset($data['stable']); + } + if (\array_key_exists('disk_template', $data)) { + $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartDiskTemplateVersionDiskTemplate', 'json', $context)); + unset($data['disk_template']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('number') && null !== $object->getNumber()) { + $data['number'] = $object->getNumber(); + } + if ($object->isInitialized('stable') && null !== $object->getStable()) { + $data['stable'] = $object->getStable(); + } + if ($object->isInitialized('diskTemplate') && null !== $object->getDiskTemplate()) { + $data['disk_template'] = $this->normalizer->normalize($object->getDiskTemplate(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartInstallationDiskTemplateVersion' => false]; + } +} diff --git a/src/Normalizer/GetDiskPartInstallationNormalizer.php b/src/Normalizer/GetDiskPartInstallationNormalizer.php index 6d0b18fa..16730be9 100644 --- a/src/Normalizer/GetDiskPartInstallationNormalizer.php +++ b/src/Normalizer/GetDiskPartInstallationNormalizer.php @@ -54,13 +54,13 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('disk_template_version', $data)) { - $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartDiskTemplateVersion', 'json', $context)); + $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartInstallationDiskTemplateVersion', 'json', $context)); unset($data['disk_template_version']); } if (\array_key_exists('attributes', $data)) { $values = []; foreach ($data['attributes'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartAttributes', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartInstallationAttributesItem', 'json', $context); } $object->setAttributes($values); unset($data['attributes']); diff --git a/src/Normalizer/GetDiskPartVirtualMachineDiskNormalizer.php b/src/Normalizer/GetDiskPartVirtualMachineDiskNormalizer.php index 0dbd2403..4fc2cb89 100644 --- a/src/Normalizer/GetDiskPartVirtualMachineDiskNormalizer.php +++ b/src/Normalizer/GetDiskPartVirtualMachineDiskNormalizer.php @@ -50,7 +50,7 @@ public function denormalize($data, $class, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartVirtualMachineDiskVirtualMachine', 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { diff --git a/src/Normalizer/GetDiskPartVirtualMachineDiskVirtualMachineNormalizer.php b/src/Normalizer/GetDiskPartVirtualMachineDiskVirtualMachineNormalizer.php new file mode 100644 index 00000000..3f09b0f4 --- /dev/null +++ b/src/Normalizer/GetDiskPartVirtualMachineDiskVirtualMachineNormalizer.php @@ -0,0 +1,94 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('fqdn', $data)) { + $object->setFqdn($data['fqdn']); + unset($data['fqdn']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('fqdn') && null !== $object->getFqdn()) { + $data['fqdn'] = $object->getFqdn(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartVirtualMachineDiskVirtualMachine' => false]; + } +} diff --git a/src/Normalizer/GetDiskTemplate200ResponseDiskTemplateLatestVersionNormalizer.php b/src/Normalizer/GetDiskTemplate200ResponseDiskTemplateLatestVersionNormalizer.php new file mode 100644 index 00000000..6c0cd5f4 --- /dev/null +++ b/src/Normalizer/GetDiskTemplate200ResponseDiskTemplateLatestVersionNormalizer.php @@ -0,0 +1,87 @@ +setId($data['id']); + unset($data['id']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplate200ResponseDiskTemplateLatestVersion' => false]; + } +} diff --git a/src/Normalizer/GetDiskTemplate200ResponseDiskTemplateNormalizer.php b/src/Normalizer/GetDiskTemplate200ResponseDiskTemplateNormalizer.php index 43277ea0..849bde7f 100644 --- a/src/Normalizer/GetDiskTemplate200ResponseDiskTemplateNormalizer.php +++ b/src/Normalizer/GetDiskTemplate200ResponseDiskTemplateNormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && $data['description'] !== null) { $object->setDescription($data['description']); unset($data['description']); + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + $object->setDescription(null); } if (\array_key_exists('permalink', $data)) { $object->setPermalink($data['permalink']); @@ -69,13 +71,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setUniversal($data['universal']); unset($data['universal']); } - if (\array_key_exists('latest_version', $data)) { - $object->setLatestVersion($this->denormalizer->denormalize($data['latest_version'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplatePartLatestVersion', 'json', $context)); + if (\array_key_exists('latest_version', $data) && $data['latest_version'] !== null) { + $object->setLatestVersion($this->denormalizer->denormalize($data['latest_version'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplate200ResponseDiskTemplateLatestVersion', 'json', $context)); unset($data['latest_version']); + } elseif (\array_key_exists('latest_version', $data) && $data['latest_version'] === null) { + $object->setLatestVersion(null); } - if (\array_key_exists('operating_system', $data)) { - $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplatePartOperatingSystem', 'json', $context)); + if (\array_key_exists('operating_system', $data) && $data['operating_system'] !== null) { + $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplate200ResponseDiskTemplateOperatingSystem', 'json', $context)); unset($data['operating_system']); + } elseif (\array_key_exists('operating_system', $data) && $data['operating_system'] === null) { + $object->setOperatingSystem(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/GetDiskTemplate200ResponseDiskTemplateOperatingSystemNormalizer.php b/src/Normalizer/GetDiskTemplate200ResponseDiskTemplateOperatingSystemNormalizer.php new file mode 100644 index 00000000..c5ddf8e6 --- /dev/null +++ b/src/Normalizer/GetDiskTemplate200ResponseDiskTemplateOperatingSystemNormalizer.php @@ -0,0 +1,103 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('badge', $data) && $data['badge'] !== null) { + $object->setBadge($this->denormalizer->denormalize($data['badge'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplatePartOperatingSystemBadge', 'json', $context)); + unset($data['badge']); + } elseif (\array_key_exists('badge', $data) && $data['badge'] === null) { + $object->setBadge(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('badge') && null !== $object->getBadge()) { + $data['badge'] = $this->normalizer->normalize($object->getBadge(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplate200ResponseDiskTemplateOperatingSystem' => false]; + } +} diff --git a/src/Normalizer/GetDiskTemplatePartOperatingSystemBadgeNormalizer.php b/src/Normalizer/GetDiskTemplatePartOperatingSystemBadgeNormalizer.php new file mode 100644 index 00000000..399ad491 --- /dev/null +++ b/src/Normalizer/GetDiskTemplatePartOperatingSystemBadgeNormalizer.php @@ -0,0 +1,87 @@ +setUrl($data['url']); + unset($data['url']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('url') && null !== $object->getUrl()) { + $data['url'] = $object->getUrl(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplatePartOperatingSystemBadge' => false]; + } +} diff --git a/src/Normalizer/GetDiskTemplatePartOperatingSystemNormalizer.php b/src/Normalizer/GetDiskTemplatePartOperatingSystemNormalizer.php index fa3a9523..bcd12726 100644 --- a/src/Normalizer/GetDiskTemplatePartOperatingSystemNormalizer.php +++ b/src/Normalizer/GetDiskTemplatePartOperatingSystemNormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('badge', $data)) { - $object->setBadge($this->denormalizer->denormalize($data['badge'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplatePartBadge', 'json', $context)); + if (\array_key_exists('badge', $data) && $data['badge'] !== null) { + $object->setBadge($this->denormalizer->denormalize($data['badge'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplatePartOperatingSystemBadge', 'json', $context)); unset($data['badge']); + } elseif (\array_key_exists('badge', $data) && $data['badge'] === null) { + $object->setBadge(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/GetDiskTemplateVersion200ResponseDiskTemplateVersionDiskTemplateNormalizer.php b/src/Normalizer/GetDiskTemplateVersion200ResponseDiskTemplateVersionDiskTemplateNormalizer.php new file mode 100644 index 00000000..5aee2cb8 --- /dev/null +++ b/src/Normalizer/GetDiskTemplateVersion200ResponseDiskTemplateVersionDiskTemplateNormalizer.php @@ -0,0 +1,101 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data)) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersion200ResponseDiskTemplateVersionDiskTemplate' => false]; + } +} diff --git a/src/Normalizer/GetDiskTemplateVersion200ResponseDiskTemplateVersionNormalizer.php b/src/Normalizer/GetDiskTemplateVersion200ResponseDiskTemplateVersionNormalizer.php index 029c4082..b596a7a1 100644 --- a/src/Normalizer/GetDiskTemplateVersion200ResponseDiskTemplateVersionNormalizer.php +++ b/src/Normalizer/GetDiskTemplateVersion200ResponseDiskTemplateVersionNormalizer.php @@ -66,7 +66,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['size_in_gb']); } if (\array_key_exists('disk_template', $data)) { - $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersionPartDiskTemplate', 'json', $context)); + $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersion200ResponseDiskTemplateVersionDiskTemplate', 'json', $context)); unset($data['disk_template']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/GetDiskTemplateVersionSpec200ResponseDiskTemplateVersionDiskTemplateNormalizer.php b/src/Normalizer/GetDiskTemplateVersionSpec200ResponseDiskTemplateVersionDiskTemplateNormalizer.php new file mode 100644 index 00000000..f65fa8a7 --- /dev/null +++ b/src/Normalizer/GetDiskTemplateVersionSpec200ResponseDiskTemplateVersionDiskTemplateNormalizer.php @@ -0,0 +1,101 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data)) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersionSpec200ResponseDiskTemplateVersionDiskTemplate' => false]; + } +} diff --git a/src/Normalizer/GetDiskTemplateVersionSpec200ResponseDiskTemplateVersionNormalizer.php b/src/Normalizer/GetDiskTemplateVersionSpec200ResponseDiskTemplateVersionNormalizer.php index 3c0b6250..66e96588 100644 --- a/src/Normalizer/GetDiskTemplateVersionSpec200ResponseDiskTemplateVersionNormalizer.php +++ b/src/Normalizer/GetDiskTemplateVersionSpec200ResponseDiskTemplateVersionNormalizer.php @@ -66,7 +66,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['size_in_gb']); } if (\array_key_exists('disk_template', $data)) { - $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersionSpecPartDiskTemplate', 'json', $context)); + $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersionSpec200ResponseDiskTemplateVersionDiskTemplate', 'json', $context)); unset($data['disk_template']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/GetFileStorageVolume200ResponseFileStorageVolumeDataCenterNormalizer.php b/src/Normalizer/GetFileStorageVolume200ResponseFileStorageVolumeDataCenterNormalizer.php new file mode 100644 index 00000000..77eb3cf4 --- /dev/null +++ b/src/Normalizer/GetFileStorageVolume200ResponseFileStorageVolumeDataCenterNormalizer.php @@ -0,0 +1,103 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetFileStorageVolume200ResponseFileStorageVolumeDataCenter' => false]; + } +} diff --git a/src/Normalizer/GetFileStorageVolume200ResponseFileStorageVolumeNormalizer.php b/src/Normalizer/GetFileStorageVolume200ResponseFileStorageVolumeNormalizer.php index 936617c9..95d0e09d 100644 --- a/src/Normalizer/GetFileStorageVolume200ResponseFileStorageVolumeNormalizer.php +++ b/src/Normalizer/GetFileStorageVolume200ResponseFileStorageVolumeNormalizer.php @@ -58,7 +58,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetFileStorageVolumePartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetFileStorageVolume200ResponseFileStorageVolumeDataCenter', 'json', $context)); unset($data['data_center']); } if (\array_key_exists('associations', $data)) { @@ -73,13 +73,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setState($data['state']); unset($data['state']); } - if (\array_key_exists('nfs_location', $data)) { + if (\array_key_exists('nfs_location', $data) && $data['nfs_location'] !== null) { $object->setNfsLocation($data['nfs_location']); unset($data['nfs_location']); + } elseif (\array_key_exists('nfs_location', $data) && $data['nfs_location'] === null) { + $object->setNfsLocation(null); } - if (\array_key_exists('size', $data)) { + if (\array_key_exists('size', $data) && $data['size'] !== null) { $object->setSize($data['size']); unset($data['size']); + } elseif (\array_key_exists('size', $data) && $data['size'] === null) { + $object->setSize(null); } foreach ($data as $key => $value_1) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/GetFileStorageVolumePartDataCenterNormalizer.php b/src/Normalizer/GetFileStorageVolumePartDataCenterNormalizer.php index bdf6936d..00db519e 100644 --- a/src/Normalizer/GetFileStorageVolumePartDataCenterNormalizer.php +++ b/src/Normalizer/GetFileStorageVolumePartDataCenterNormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/GetGPUType200ResponseGPUTypeDataCentersItemNormalizer.php b/src/Normalizer/GetGPUType200ResponseGPUTypeDataCentersItemNormalizer.php new file mode 100644 index 00000000..92cff0f3 --- /dev/null +++ b/src/Normalizer/GetGPUType200ResponseGPUTypeDataCentersItemNormalizer.php @@ -0,0 +1,103 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetGPUType200ResponseGPUTypeDataCentersItem' => false]; + } +} diff --git a/src/Normalizer/GetGPUType200ResponseGPUTypeNormalizer.php b/src/Normalizer/GetGPUType200ResponseGPUTypeNormalizer.php index 0acb58e4..2ca13dff 100644 --- a/src/Normalizer/GetGPUType200ResponseGPUTypeNormalizer.php +++ b/src/Normalizer/GetGPUType200ResponseGPUTypeNormalizer.php @@ -76,7 +76,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('data_centers', $data)) { $values = []; foreach ($data['data_centers'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetGPUTypePartDataCenters', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetGPUType200ResponseGPUTypeDataCentersItem', 'json', $context); } $object->setDataCenters($values); unset($data['data_centers']); diff --git a/src/Normalizer/GetGPUTypePartDataCentersNormalizer.php b/src/Normalizer/GetGPUTypePartDataCentersNormalizer.php index 7109ad9d..0108ef70 100644 --- a/src/Normalizer/GetGPUTypePartDataCentersNormalizer.php +++ b/src/Normalizer/GetGPUTypePartDataCentersNormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/GetGPUTypes200ResponseGPUTypesDataCentersItemNormalizer.php b/src/Normalizer/GetGPUTypes200ResponseGPUTypesDataCentersItemNormalizer.php new file mode 100644 index 00000000..c409500f --- /dev/null +++ b/src/Normalizer/GetGPUTypes200ResponseGPUTypesDataCentersItemNormalizer.php @@ -0,0 +1,103 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetGPUTypes200ResponseGPUTypesDataCentersItem' => false]; + } +} diff --git a/src/Normalizer/GetGPUTypes200ResponseGPUTypesNormalizer.php b/src/Normalizer/GetGPUTypes200ResponseGPUTypesNormalizer.php index c99f384f..2649551d 100644 --- a/src/Normalizer/GetGPUTypes200ResponseGPUTypesNormalizer.php +++ b/src/Normalizer/GetGPUTypes200ResponseGPUTypesNormalizer.php @@ -76,7 +76,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('data_centers', $data)) { $values = []; foreach ($data['data_centers'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetGPUTypesPartDataCenters', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetGPUTypes200ResponseGPUTypesDataCentersItem', 'json', $context); } $object->setDataCenters($values); unset($data['data_centers']); diff --git a/src/Normalizer/GetGPUTypesPartDataCentersNormalizer.php b/src/Normalizer/GetGPUTypesPartDataCentersNormalizer.php index e85d3ada..fdc41a68 100644 --- a/src/Normalizer/GetGPUTypesPartDataCentersNormalizer.php +++ b/src/Normalizer/GetGPUTypesPartDataCentersNormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/GetLoadBalancer200ResponseLoadBalancerDataCenterNormalizer.php b/src/Normalizer/GetLoadBalancer200ResponseLoadBalancerDataCenterNormalizer.php new file mode 100644 index 00000000..147ee8b9 --- /dev/null +++ b/src/Normalizer/GetLoadBalancer200ResponseLoadBalancerDataCenterNormalizer.php @@ -0,0 +1,103 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancer200ResponseLoadBalancerDataCenter' => false]; + } +} diff --git a/src/Normalizer/GetLoadBalancer200ResponseLoadBalancerIpAddressItemNormalizer.php b/src/Normalizer/GetLoadBalancer200ResponseLoadBalancerIpAddressItemNormalizer.php new file mode 100644 index 00000000..461db7f5 --- /dev/null +++ b/src/Normalizer/GetLoadBalancer200ResponseLoadBalancerIpAddressItemNormalizer.php @@ -0,0 +1,94 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('address', $data)) { + $object->setAddress($data['address']); + unset($data['address']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('address') && null !== $object->getAddress()) { + $data['address'] = $object->getAddress(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancer200ResponseLoadBalancerIpAddressItem' => false]; + } +} diff --git a/src/Normalizer/GetLoadBalancer200ResponseLoadBalancerNormalizer.php b/src/Normalizer/GetLoadBalancer200ResponseLoadBalancerNormalizer.php index 89eba17a..477958b7 100644 --- a/src/Normalizer/GetLoadBalancer200ResponseLoadBalancerNormalizer.php +++ b/src/Normalizer/GetLoadBalancer200ResponseLoadBalancerNormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('api_reference', $data)) { + if (\array_key_exists('api_reference', $data) && $data['api_reference'] !== null) { $object->setApiReference($data['api_reference']); unset($data['api_reference']); + } elseif (\array_key_exists('api_reference', $data) && $data['api_reference'] === null) { + $object->setApiReference(null); } if (\array_key_exists('resource_type', $data)) { $object->setResourceType($data['resource_type']); @@ -84,7 +86,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('ip_address', $data)) { $values_2 = []; foreach ($data['ip_address'] as $value_2) { - $values_2[] = $this->denormalizer->denormalize($value_2, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancerPartIPAddress', 'json', $context); + $values_2[] = $this->denormalizer->denormalize($value_2, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancer200ResponseLoadBalancerIpAddressItem', 'json', $context); } $object->setIpAddress($values_2); unset($data['ip_address']); @@ -102,7 +104,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['backend_certificate_key']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancerPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancer200ResponseLoadBalancerDataCenter', 'json', $context)); unset($data['data_center']); } if (\array_key_exists('enable_weighting', $data)) { @@ -112,7 +114,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('weights', $data)) { $values_3 = []; foreach ($data['weights'] as $value_3) { - $values_3[] = $this->denormalizer->denormalize($value_3, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancerPartWeights', 'json', $context); + $values_3[] = $this->denormalizer->denormalize($value_3, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancer200ResponseLoadBalancerWeightsItem', 'json', $context); } $object->setWeights($values_3); unset($data['weights']); diff --git a/src/Normalizer/GetLoadBalancer200ResponseLoadBalancerWeightsItemNormalizer.php b/src/Normalizer/GetLoadBalancer200ResponseLoadBalancerWeightsItemNormalizer.php new file mode 100644 index 00000000..d3f05efa --- /dev/null +++ b/src/Normalizer/GetLoadBalancer200ResponseLoadBalancerWeightsItemNormalizer.php @@ -0,0 +1,94 @@ +setVirtualMachineId($data['virtual_machine_id']); + unset($data['virtual_machine_id']); + } + if (\array_key_exists('weight', $data)) { + $object->setWeight($data['weight']); + unset($data['weight']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('virtualMachineId') && null !== $object->getVirtualMachineId()) { + $data['virtual_machine_id'] = $object->getVirtualMachineId(); + } + if ($object->isInitialized('weight') && null !== $object->getWeight()) { + $data['weight'] = $object->getWeight(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancer200ResponseLoadBalancerWeightsItem' => false]; + } +} diff --git a/src/Normalizer/GetLoadBalancerPartDataCenterNormalizer.php b/src/Normalizer/GetLoadBalancerPartDataCenterNormalizer.php index c391819b..90981a39 100644 --- a/src/Normalizer/GetLoadBalancerPartDataCenterNormalizer.php +++ b/src/Normalizer/GetLoadBalancerPartDataCenterNormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/GetLoadBalancerRules200ResponseLoadBalancerRulesCertificatesItemNormalizer.php b/src/Normalizer/GetLoadBalancerRules200ResponseLoadBalancerRulesCertificatesItemNormalizer.php new file mode 100644 index 00000000..037f6cfc --- /dev/null +++ b/src/Normalizer/GetLoadBalancerRules200ResponseLoadBalancerRulesCertificatesItemNormalizer.php @@ -0,0 +1,94 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancerRules200ResponseLoadBalancerRulesCertificatesItem' => false]; + } +} diff --git a/src/Normalizer/GetLoadBalancerRules200ResponseLoadBalancerRulesNormalizer.php b/src/Normalizer/GetLoadBalancerRules200ResponseLoadBalancerRulesNormalizer.php index 514f238e..5c38d5f1 100644 --- a/src/Normalizer/GetLoadBalancerRules200ResponseLoadBalancerRulesNormalizer.php +++ b/src/Normalizer/GetLoadBalancerRules200ResponseLoadBalancerRulesNormalizer.php @@ -72,7 +72,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('certificates', $data)) { $values = []; foreach ($data['certificates'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancerRulesPartCertificates', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancerRules200ResponseLoadBalancerRulesCertificatesItem', 'json', $context); } $object->setCertificates($values); unset($data['certificates']); diff --git a/src/Normalizer/GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItemNormalizer.php b/src/Normalizer/GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItemNormalizer.php new file mode 100644 index 00000000..be6762d2 --- /dev/null +++ b/src/Normalizer/GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItemNormalizer.php @@ -0,0 +1,116 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('additional_names', $data)) { + $values = []; + foreach ($data['additional_names'] as $value) { + $values[] = $value; + } + $object->setAdditionalNames($values); + unset($data['additional_names']); + } + if (\array_key_exists('state', $data)) { + $object->setState($data['state']); + unset($data['state']); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('additionalNames') && null !== $object->getAdditionalNames()) { + $values = []; + foreach ($object->getAdditionalNames() as $value) { + $values[] = $value; + } + $data['additional_names'] = $values; + } + if ($object->isInitialized('state') && null !== $object->getState()) { + $data['state'] = $object->getState(); + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItem' => false]; + } +} diff --git a/src/Normalizer/GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancerNormalizer.php b/src/Normalizer/GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancerNormalizer.php new file mode 100644 index 00000000..d4dcba35 --- /dev/null +++ b/src/Normalizer/GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancerNormalizer.php @@ -0,0 +1,94 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancer' => false]; + } +} diff --git a/src/Normalizer/GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer.php b/src/Normalizer/GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer.php index 8212e5a8..625b4165 100644 --- a/src/Normalizer/GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer.php +++ b/src/Normalizer/GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer.php @@ -76,7 +76,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('certificates', $data)) { $values = []; foreach ($data['certificates'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancersRulesLoadBalancerRulePartCertificates', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItem', 'json', $context); } $object->setCertificates($values); unset($data['certificates']); @@ -122,7 +122,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['check_http_statuses']); } if (\array_key_exists('load_balancer', $data)) { - $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer', 'json', $context)); + $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancer', 'json', $context)); unset($data['load_balancer']); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/GetOrganizationAvailableNetworks200ResponseNetworksDataCenterNormalizer.php b/src/Normalizer/GetOrganizationAvailableNetworks200ResponseNetworksDataCenterNormalizer.php new file mode 100644 index 00000000..1919cf43 --- /dev/null +++ b/src/Normalizer/GetOrganizationAvailableNetworks200ResponseNetworksDataCenterNormalizer.php @@ -0,0 +1,103 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationAvailableNetworks200ResponseNetworksDataCenter' => false]; + } +} diff --git a/src/Normalizer/GetOrganizationAvailableNetworks200ResponseNetworksNormalizer.php b/src/Normalizer/GetOrganizationAvailableNetworks200ResponseNetworksNormalizer.php index 19d8909d..663a7f7a 100644 --- a/src/Normalizer/GetOrganizationAvailableNetworks200ResponseNetworksNormalizer.php +++ b/src/Normalizer/GetOrganizationAvailableNetworks200ResponseNetworksNormalizer.php @@ -57,12 +57,14 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationAvailableNetworksPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationAvailableNetworks200ResponseNetworksDataCenter', 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/GetOrganizationAvailableNetworks200ResponseVirtualNetworksDataCenterNormalizer.php b/src/Normalizer/GetOrganizationAvailableNetworks200ResponseVirtualNetworksDataCenterNormalizer.php new file mode 100644 index 00000000..3a8f5a9f --- /dev/null +++ b/src/Normalizer/GetOrganizationAvailableNetworks200ResponseVirtualNetworksDataCenterNormalizer.php @@ -0,0 +1,103 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationAvailableNetworks200ResponseVirtualNetworksDataCenter' => false]; + } +} diff --git a/src/Normalizer/GetOrganizationAvailableNetworks200ResponseVirtualNetworksNormalizer.php b/src/Normalizer/GetOrganizationAvailableNetworks200ResponseVirtualNetworksNormalizer.php index 6d4c1f3b..6be91de7 100644 --- a/src/Normalizer/GetOrganizationAvailableNetworks200ResponseVirtualNetworksNormalizer.php +++ b/src/Normalizer/GetOrganizationAvailableNetworks200ResponseVirtualNetworksNormalizer.php @@ -58,7 +58,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationAvailableNetworksPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationAvailableNetworks200ResponseVirtualNetworksDataCenter', 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/GetOrganizationAvailableNetworksPartDataCenterNormalizer.php b/src/Normalizer/GetOrganizationAvailableNetworksPartDataCenterNormalizer.php index d3092e05..c19c81ae 100644 --- a/src/Normalizer/GetOrganizationAvailableNetworksPartDataCenterNormalizer.php +++ b/src/Normalizer/GetOrganizationAvailableNetworksPartDataCenterNormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/GetOrganizationCertificates200ResponseCertificatesNormalizer.php b/src/Normalizer/GetOrganizationCertificates200ResponseCertificatesNormalizer.php index 123edc16..9acdc2e0 100644 --- a/src/Normalizer/GetOrganizationCertificates200ResponseCertificatesNormalizer.php +++ b/src/Normalizer/GetOrganizationCertificates200ResponseCertificatesNormalizer.php @@ -65,13 +65,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setState($data['state']); unset($data['state']); } - if (\array_key_exists('expires_at', $data)) { + if (\array_key_exists('expires_at', $data) && $data['expires_at'] !== null) { $object->setExpiresAt($data['expires_at']); unset($data['expires_at']); + } elseif (\array_key_exists('expires_at', $data) && $data['expires_at'] === null) { + $object->setExpiresAt(null); } - if (\array_key_exists('last_issued_at', $data)) { + if (\array_key_exists('last_issued_at', $data) && $data['last_issued_at'] !== null) { $object->setLastIssuedAt($data['last_issued_at']); unset($data['last_issued_at']); + } elseif (\array_key_exists('last_issued_at', $data) && $data['last_issued_at'] === null) { + $object->setLastIssuedAt(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/GetOrganizationDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer.php b/src/Normalizer/GetOrganizationDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer.php index 319d2fb2..24aeb3cc 100644 --- a/src/Normalizer/GetOrganizationDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer.php +++ b/src/Normalizer/GetOrganizationDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer.php @@ -69,7 +69,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['target']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDiskBackupPoliciesPartSchedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPoliciesSchedule', 'json', $context)); unset($data['schedule']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/GetOrganizationDiskBackupPolicies200ResponseDiskBackupPoliciesScheduleNormalizer.php b/src/Normalizer/GetOrganizationDiskBackupPolicies200ResponseDiskBackupPoliciesScheduleNormalizer.php new file mode 100644 index 00000000..af1ca3c8 --- /dev/null +++ b/src/Normalizer/GetOrganizationDiskBackupPolicies200ResponseDiskBackupPoliciesScheduleNormalizer.php @@ -0,0 +1,94 @@ +setInterval($data['interval']); + unset($data['interval']); + } + if (\array_key_exists('next_invocation_at', $data)) { + $object->setNextInvocationAt($data['next_invocation_at']); + unset($data['next_invocation_at']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('interval') && null !== $object->getInterval()) { + $data['interval'] = $object->getInterval(); + } + if ($object->isInitialized('nextInvocationAt') && null !== $object->getNextInvocationAt()) { + $data['next_invocation_at'] = $object->getNextInvocationAt(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPoliciesSchedule' => false]; + } +} diff --git a/src/Normalizer/GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersionNormalizer.php b/src/Normalizer/GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersionNormalizer.php new file mode 100644 index 00000000..caea005c --- /dev/null +++ b/src/Normalizer/GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersionNormalizer.php @@ -0,0 +1,94 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('number', $data)) { + $object->setNumber($data['number']); + unset($data['number']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('number') && null !== $object->getNumber()) { + $data['number'] = $object->getNumber(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersion' => false]; + } +} diff --git a/src/Normalizer/GetOrganizationDiskTemplates200ResponseDiskTemplatesNormalizer.php b/src/Normalizer/GetOrganizationDiskTemplates200ResponseDiskTemplatesNormalizer.php index 7ba3c28c..f7755ae1 100644 --- a/src/Normalizer/GetOrganizationDiskTemplates200ResponseDiskTemplatesNormalizer.php +++ b/src/Normalizer/GetOrganizationDiskTemplates200ResponseDiskTemplatesNormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && $data['description'] !== null) { $object->setDescription($data['description']); unset($data['description']); + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + $object->setDescription(null); } if (\array_key_exists('permalink', $data)) { $object->setPermalink($data['permalink']); @@ -69,13 +71,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setUniversal($data['universal']); unset($data['universal']); } - if (\array_key_exists('latest_version', $data)) { - $object->setLatestVersion($this->denormalizer->denormalize($data['latest_version'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDiskTemplatesPartLatestVersion', 'json', $context)); + if (\array_key_exists('latest_version', $data) && $data['latest_version'] !== null) { + $object->setLatestVersion($this->denormalizer->denormalize($data['latest_version'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersion', 'json', $context)); unset($data['latest_version']); + } elseif (\array_key_exists('latest_version', $data) && $data['latest_version'] === null) { + $object->setLatestVersion(null); } - if (\array_key_exists('operating_system', $data)) { - $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDiskTemplatesPartOperatingSystem', 'json', $context)); + if (\array_key_exists('operating_system', $data) && $data['operating_system'] !== null) { + $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystem', 'json', $context)); unset($data['operating_system']); + } elseif (\array_key_exists('operating_system', $data) && $data['operating_system'] === null) { + $object->setOperatingSystem(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystemNormalizer.php b/src/Normalizer/GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystemNormalizer.php new file mode 100644 index 00000000..468d8d95 --- /dev/null +++ b/src/Normalizer/GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystemNormalizer.php @@ -0,0 +1,94 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystem' => false]; + } +} diff --git a/src/Normalizer/GetOrganizationDisks200ResponseDiskNormalizer.php b/src/Normalizer/GetOrganizationDisks200ResponseDiskNormalizer.php index 560ba3fd..a3e5a5fa 100644 --- a/src/Normalizer/GetOrganizationDisks200ResponseDiskNormalizer.php +++ b/src/Normalizer/GetOrganizationDisks200ResponseDiskNormalizer.php @@ -69,9 +69,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setState($data['state']); unset($data['state']); } - if (\array_key_exists('virtual_machine_disk', $data)) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDisksPartVirtualMachineDisk', 'json', $context)); + if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDisks200ResponseDiskVirtualMachineDisk', 'json', $context)); unset($data['virtual_machine_disk']); + } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { + $object->setVirtualMachineDisk(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/GetOrganizationDisks200ResponseDiskVirtualMachineDiskNormalizer.php b/src/Normalizer/GetOrganizationDisks200ResponseDiskVirtualMachineDiskNormalizer.php new file mode 100644 index 00000000..ee54f5dd --- /dev/null +++ b/src/Normalizer/GetOrganizationDisks200ResponseDiskVirtualMachineDiskNormalizer.php @@ -0,0 +1,87 @@ +setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDisksPartVirtualMachineDiskVirtualMachine', 'json', $context)); + unset($data['virtual_machine']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('virtualMachine') && null !== $object->getVirtualMachine()) { + $data['virtual_machine'] = $this->normalizer->normalize($object->getVirtualMachine(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDisks200ResponseDiskVirtualMachineDisk' => false]; + } +} diff --git a/src/Normalizer/GetOrganizationDisksPartVirtualMachineDiskNormalizer.php b/src/Normalizer/GetOrganizationDisksPartVirtualMachineDiskNormalizer.php index 80483320..b3d90149 100644 --- a/src/Normalizer/GetOrganizationDisksPartVirtualMachineDiskNormalizer.php +++ b/src/Normalizer/GetOrganizationDisksPartVirtualMachineDiskNormalizer.php @@ -50,7 +50,7 @@ public function denormalize($data, $class, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDisksPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDisksPartVirtualMachineDiskVirtualMachine', 'json', $context)); unset($data['virtual_machine']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/GetOrganizationDisksPartVirtualMachineDiskVirtualMachineNormalizer.php b/src/Normalizer/GetOrganizationDisksPartVirtualMachineDiskVirtualMachineNormalizer.php new file mode 100644 index 00000000..af66feac --- /dev/null +++ b/src/Normalizer/GetOrganizationDisksPartVirtualMachineDiskVirtualMachineNormalizer.php @@ -0,0 +1,94 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('fqdn', $data)) { + $object->setFqdn($data['fqdn']); + unset($data['fqdn']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('fqdn') && null !== $object->getFqdn()) { + $data['fqdn'] = $object->getFqdn(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDisksPartVirtualMachineDiskVirtualMachine' => false]; + } +} diff --git a/src/Normalizer/GetOrganizationFileStorageVolumes200ResponseFileStorageVolumesDataCenterNormalizer.php b/src/Normalizer/GetOrganizationFileStorageVolumes200ResponseFileStorageVolumesDataCenterNormalizer.php new file mode 100644 index 00000000..b96ac534 --- /dev/null +++ b/src/Normalizer/GetOrganizationFileStorageVolumes200ResponseFileStorageVolumesDataCenterNormalizer.php @@ -0,0 +1,103 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumesDataCenter' => false]; + } +} diff --git a/src/Normalizer/GetOrganizationFileStorageVolumes200ResponseFileStorageVolumesNormalizer.php b/src/Normalizer/GetOrganizationFileStorageVolumes200ResponseFileStorageVolumesNormalizer.php index a13615a5..76b495b6 100644 --- a/src/Normalizer/GetOrganizationFileStorageVolumes200ResponseFileStorageVolumesNormalizer.php +++ b/src/Normalizer/GetOrganizationFileStorageVolumes200ResponseFileStorageVolumesNormalizer.php @@ -58,7 +58,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationFileStorageVolumesPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumesDataCenter', 'json', $context)); unset($data['data_center']); } if (\array_key_exists('associations', $data)) { @@ -73,13 +73,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setState($data['state']); unset($data['state']); } - if (\array_key_exists('nfs_location', $data)) { + if (\array_key_exists('nfs_location', $data) && $data['nfs_location'] !== null) { $object->setNfsLocation($data['nfs_location']); unset($data['nfs_location']); + } elseif (\array_key_exists('nfs_location', $data) && $data['nfs_location'] === null) { + $object->setNfsLocation(null); } - if (\array_key_exists('size', $data)) { + if (\array_key_exists('size', $data) && $data['size'] !== null) { $object->setSize($data['size']); unset($data['size']); + } elseif (\array_key_exists('size', $data) && $data['size'] === null) { + $object->setSize(null); } foreach ($data as $key => $value_1) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/GetOrganizationFileStorageVolumesPartDataCenterNormalizer.php b/src/Normalizer/GetOrganizationFileStorageVolumesPartDataCenterNormalizer.php index 456d955b..1b867e48 100644 --- a/src/Normalizer/GetOrganizationFileStorageVolumesPartDataCenterNormalizer.php +++ b/src/Normalizer/GetOrganizationFileStorageVolumesPartDataCenterNormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/GetOrganizationIPAddresses200ResponseIPAddressesNormalizer.php b/src/Normalizer/GetOrganizationIPAddresses200ResponseIPAddressesNormalizer.php index 6fc97088..e0f1902b 100644 --- a/src/Normalizer/GetOrganizationIPAddresses200ResponseIPAddressesNormalizer.php +++ b/src/Normalizer/GetOrganizationIPAddresses200ResponseIPAddressesNormalizer.php @@ -65,13 +65,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setVip($data['vip']); unset($data['vip']); } - if (\array_key_exists('allocation_id', $data)) { + if (\array_key_exists('allocation_id', $data) && $data['allocation_id'] !== null) { $object->setAllocationId($data['allocation_id']); unset($data['allocation_id']); + } elseif (\array_key_exists('allocation_id', $data) && $data['allocation_id'] === null) { + $object->setAllocationId(null); } - if (\array_key_exists('allocation_type', $data)) { + if (\array_key_exists('allocation_type', $data) && $data['allocation_type'] !== null) { $object->setAllocationType($data['allocation_type']); unset($data['allocation_type']); + } elseif (\array_key_exists('allocation_type', $data) && $data['allocation_type'] === null) { + $object->setAllocationType(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/GetOrganizationLoadBalancers200ResponseLoadBalancersDataCenterNormalizer.php b/src/Normalizer/GetOrganizationLoadBalancers200ResponseLoadBalancersDataCenterNormalizer.php new file mode 100644 index 00000000..374f0388 --- /dev/null +++ b/src/Normalizer/GetOrganizationLoadBalancers200ResponseLoadBalancersDataCenterNormalizer.php @@ -0,0 +1,94 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationLoadBalancers200ResponseLoadBalancersDataCenter' => false]; + } +} diff --git a/src/Normalizer/GetOrganizationLoadBalancers200ResponseLoadBalancersIpAddressItemNormalizer.php b/src/Normalizer/GetOrganizationLoadBalancers200ResponseLoadBalancersIpAddressItemNormalizer.php new file mode 100644 index 00000000..6d04db0b --- /dev/null +++ b/src/Normalizer/GetOrganizationLoadBalancers200ResponseLoadBalancersIpAddressItemNormalizer.php @@ -0,0 +1,87 @@ +setAddress($data['address']); + unset($data['address']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('address') && null !== $object->getAddress()) { + $data['address'] = $object->getAddress(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationLoadBalancers200ResponseLoadBalancersIpAddressItem' => false]; + } +} diff --git a/src/Normalizer/GetOrganizationLoadBalancers200ResponseLoadBalancersNormalizer.php b/src/Normalizer/GetOrganizationLoadBalancers200ResponseLoadBalancersNormalizer.php index fbab97c7..5ec0c58c 100644 --- a/src/Normalizer/GetOrganizationLoadBalancers200ResponseLoadBalancersNormalizer.php +++ b/src/Normalizer/GetOrganizationLoadBalancers200ResponseLoadBalancersNormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('api_reference', $data)) { + if (\array_key_exists('api_reference', $data) && $data['api_reference'] !== null) { $object->setApiReference($data['api_reference']); unset($data['api_reference']); + } elseif (\array_key_exists('api_reference', $data) && $data['api_reference'] === null) { + $object->setApiReference(null); } if (\array_key_exists('resource_type', $data)) { $object->setResourceType($data['resource_type']); @@ -84,13 +86,13 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('ip_address', $data)) { $values_2 = []; foreach ($data['ip_address'] as $value_2) { - $values_2[] = $this->denormalizer->denormalize($value_2, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationLoadBalancersPartIPAddress', 'json', $context); + $values_2[] = $this->denormalizer->denormalize($value_2, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationLoadBalancers200ResponseLoadBalancersIpAddressItem', 'json', $context); } $object->setIpAddress($values_2); unset($data['ip_address']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationLoadBalancersPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationLoadBalancers200ResponseLoadBalancersDataCenter', 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value_3) { diff --git a/src/Normalizer/GetOrganizationUsersWithAccess200ResponseUsersNormalizer.php b/src/Normalizer/GetOrganizationUsersWithAccess200ResponseUsersNormalizer.php index a8ae91ce..51e08d66 100644 --- a/src/Normalizer/GetOrganizationUsersWithAccess200ResponseUsersNormalizer.php +++ b/src/Normalizer/GetOrganizationUsersWithAccess200ResponseUsersNormalizer.php @@ -49,9 +49,11 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('user', $data)) { - $object->setUser($this->denormalizer->denormalize($data['user'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationUsersWithAccessPartUser', 'json', $context)); + if (\array_key_exists('user', $data) && $data['user'] !== null) { + $object->setUser($this->denormalizer->denormalize($data['user'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationUsersWithAccess200ResponseUsersUser', 'json', $context)); unset($data['user']); + } elseif (\array_key_exists('user', $data) && $data['user'] === null) { + $object->setUser(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/GetOrganizationUsersWithAccess200ResponseUsersUserNormalizer.php b/src/Normalizer/GetOrganizationUsersWithAccess200ResponseUsersUserNormalizer.php new file mode 100644 index 00000000..e9933123 --- /dev/null +++ b/src/Normalizer/GetOrganizationUsersWithAccess200ResponseUsersUserNormalizer.php @@ -0,0 +1,108 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('first_name', $data)) { + $object->setFirstName($data['first_name']); + unset($data['first_name']); + } + if (\array_key_exists('last_name', $data)) { + $object->setLastName($data['last_name']); + unset($data['last_name']); + } + if (\array_key_exists('avatar_url', $data)) { + $object->setAvatarUrl($data['avatar_url']); + unset($data['avatar_url']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('firstName') && null !== $object->getFirstName()) { + $data['first_name'] = $object->getFirstName(); + } + if ($object->isInitialized('lastName') && null !== $object->getLastName()) { + $data['last_name'] = $object->getLastName(); + } + if ($object->isInitialized('avatarUrl') && null !== $object->getAvatarUrl()) { + $data['avatar_url'] = $object->getAvatarUrl(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationUsersWithAccess200ResponseUsersUser' => false]; + } +} diff --git a/src/Normalizer/GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuTypeNormalizer.php b/src/Normalizer/GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuTypeNormalizer.php new file mode 100644 index 00000000..eac8e67f --- /dev/null +++ b/src/Normalizer/GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuTypeNormalizer.php @@ -0,0 +1,101 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data)) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuType' => false]; + } +} diff --git a/src/Normalizer/GetOrganizationVirtualMachines200ResponseVirtualMachinesIpAddressesItemNormalizer.php b/src/Normalizer/GetOrganizationVirtualMachines200ResponseVirtualMachinesIpAddressesItemNormalizer.php new file mode 100644 index 00000000..8f6b9dfc --- /dev/null +++ b/src/Normalizer/GetOrganizationVirtualMachines200ResponseVirtualMachinesIpAddressesItemNormalizer.php @@ -0,0 +1,87 @@ +setAddress($data['address']); + unset($data['address']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('address') && null !== $object->getAddress()) { + $data['address'] = $object->getAddress(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesIpAddressesItem' => false]; + } +} diff --git a/src/Normalizer/GetOrganizationVirtualMachines200ResponseVirtualMachinesNormalizer.php b/src/Normalizer/GetOrganizationVirtualMachines200ResponseVirtualMachinesNormalizer.php index 6ff91215..5d844f48 100644 --- a/src/Normalizer/GetOrganizationVirtualMachines200ResponseVirtualMachinesNormalizer.php +++ b/src/Normalizer/GetOrganizationVirtualMachines200ResponseVirtualMachinesNormalizer.php @@ -70,21 +70,25 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['created_at']); } if (\array_key_exists('zone', $data)) { - $object->setZone($this->denormalizer->denormalize($data['zone'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachinesPartZone', 'json', $context)); + $object->setZone($this->denormalizer->denormalize($data['zone'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesZone', 'json', $context)); unset($data['zone']); } - if (\array_key_exists('package', $data)) { - $object->setPackage($this->denormalizer->denormalize($data['package'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachinesPartPackage', 'json', $context)); + if (\array_key_exists('package', $data) && $data['package'] !== null) { + $object->setPackage($this->denormalizer->denormalize($data['package'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesPackage', 'json', $context)); unset($data['package']); + } elseif (\array_key_exists('package', $data) && $data['package'] === null) { + $object->setPackage(null); } - if (\array_key_exists('gpu_type', $data)) { - $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachinesPartGPUType', 'json', $context)); + if (\array_key_exists('gpu_type', $data) && $data['gpu_type'] !== null) { + $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuType', 'json', $context)); unset($data['gpu_type']); + } elseif (\array_key_exists('gpu_type', $data) && $data['gpu_type'] === null) { + $object->setGpuType(null); } if (\array_key_exists('ip_addresses', $data)) { $values = []; foreach ($data['ip_addresses'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachinesPartIPAddresses', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesIpAddressesItem', 'json', $context); } $object->setIpAddresses($values); unset($data['ip_addresses']); diff --git a/src/Normalizer/GetOrganizationVirtualMachines200ResponseVirtualMachinesPackageNormalizer.php b/src/Normalizer/GetOrganizationVirtualMachines200ResponseVirtualMachinesPackageNormalizer.php new file mode 100644 index 00000000..22f0edad --- /dev/null +++ b/src/Normalizer/GetOrganizationVirtualMachines200ResponseVirtualMachinesPackageNormalizer.php @@ -0,0 +1,87 @@ +setName($data['name']); + unset($data['name']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesPackage' => false]; + } +} diff --git a/src/Normalizer/GetOrganizationVirtualMachines200ResponseVirtualMachinesZoneNormalizer.php b/src/Normalizer/GetOrganizationVirtualMachines200ResponseVirtualMachinesZoneNormalizer.php new file mode 100644 index 00000000..147d1dcd --- /dev/null +++ b/src/Normalizer/GetOrganizationVirtualMachines200ResponseVirtualMachinesZoneNormalizer.php @@ -0,0 +1,110 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); + } + if (\array_key_exists('data_center', $data)) { + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachinesPartZoneDataCenter', 'json', $context)); + unset($data['data_center']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + if ($object->isInitialized('dataCenter') && null !== $object->getDataCenter()) { + $data['data_center'] = $this->normalizer->normalize($object->getDataCenter(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesZone' => false]; + } +} diff --git a/src/Normalizer/GetOrganizationVirtualMachinesPartDataCenterNormalizer.php b/src/Normalizer/GetOrganizationVirtualMachinesPartDataCenterNormalizer.php index 07868e35..c64796c8 100644 --- a/src/Normalizer/GetOrganizationVirtualMachinesPartDataCenterNormalizer.php +++ b/src/Normalizer/GetOrganizationVirtualMachinesPartDataCenterNormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/GetOrganizationVirtualMachinesPartZoneDataCenterNormalizer.php b/src/Normalizer/GetOrganizationVirtualMachinesPartZoneDataCenterNormalizer.php new file mode 100644 index 00000000..7fcf554a --- /dev/null +++ b/src/Normalizer/GetOrganizationVirtualMachinesPartZoneDataCenterNormalizer.php @@ -0,0 +1,103 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachinesPartZoneDataCenter' => false]; + } +} diff --git a/src/Normalizer/GetOrganizationVirtualMachinesPartZoneNormalizer.php b/src/Normalizer/GetOrganizationVirtualMachinesPartZoneNormalizer.php index 77f548d6..a14cd1d5 100644 --- a/src/Normalizer/GetOrganizationVirtualMachinesPartZoneNormalizer.php +++ b/src/Normalizer/GetOrganizationVirtualMachinesPartZoneNormalizer.php @@ -57,12 +57,14 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachinesPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachinesPartZoneDataCenter', 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/GetSecurityGroupRules200ResponseSecurityGroupRulesNormalizer.php b/src/Normalizer/GetSecurityGroupRules200ResponseSecurityGroupRulesNormalizer.php index cdb6bee3..86690588 100644 --- a/src/Normalizer/GetSecurityGroupRules200ResponseSecurityGroupRulesNormalizer.php +++ b/src/Normalizer/GetSecurityGroupRules200ResponseSecurityGroupRulesNormalizer.php @@ -65,9 +65,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setAction($data['action']); unset($data['action']); } - if (\array_key_exists('ports', $data)) { + if (\array_key_exists('ports', $data) && $data['ports'] !== null) { $object->setPorts($data['ports']); unset($data['ports']); + } elseif (\array_key_exists('ports', $data) && $data['ports'] === null) { + $object->setPorts(null); } if (\array_key_exists('targets', $data)) { $values = []; @@ -77,9 +79,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setTargets($values); unset($data['targets']); } - if (\array_key_exists('notes', $data)) { + if (\array_key_exists('notes', $data) && $data['notes'] !== null) { $object->setNotes($data['notes']); unset($data['notes']); + } elseif (\array_key_exists('notes', $data) && $data['notes'] === null) { + $object->setNotes(null); } foreach ($data as $key => $value_1) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer.php b/src/Normalizer/GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer.php index df6e5769..3d875f2a 100644 --- a/src/Normalizer/GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer.php +++ b/src/Normalizer/GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer.php @@ -54,7 +54,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('security_group', $data)) { - $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup', 'json', $context)); + $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroup', 'json', $context)); unset($data['security_group']); } if (\array_key_exists('direction', $data)) { @@ -69,9 +69,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setAction($data['action']); unset($data['action']); } - if (\array_key_exists('ports', $data)) { + if (\array_key_exists('ports', $data) && $data['ports'] !== null) { $object->setPorts($data['ports']); unset($data['ports']); + } elseif (\array_key_exists('ports', $data) && $data['ports'] === null) { + $object->setPorts(null); } if (\array_key_exists('targets', $data)) { $values = []; @@ -81,9 +83,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setTargets($values); unset($data['targets']); } - if (\array_key_exists('notes', $data)) { + if (\array_key_exists('notes', $data) && $data['notes'] !== null) { $object->setNotes($data['notes']); unset($data['notes']); + } elseif (\array_key_exists('notes', $data) && $data['notes'] === null) { + $object->setNotes(null); } foreach ($data as $key => $value_1) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroupNormalizer.php b/src/Normalizer/GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroupNormalizer.php new file mode 100644 index 00000000..ac816778 --- /dev/null +++ b/src/Normalizer/GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroupNormalizer.php @@ -0,0 +1,94 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroup' => false]; + } +} diff --git a/src/Normalizer/GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceIpAddressesItemNormalizer.php b/src/Normalizer/GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceIpAddressesItemNormalizer.php new file mode 100644 index 00000000..c1f8c19c --- /dev/null +++ b/src/Normalizer/GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceIpAddressesItemNormalizer.php @@ -0,0 +1,94 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('address', $data)) { + $object->setAddress($data['address']); + unset($data['address']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('address') && null !== $object->getAddress()) { + $data['address'] = $object->getAddress(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceIpAddressesItem' => false]; + } +} diff --git a/src/Normalizer/GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceNetworkNormalizer.php b/src/Normalizer/GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceNetworkNormalizer.php new file mode 100644 index 00000000..4587f0d1 --- /dev/null +++ b/src/Normalizer/GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceNetworkNormalizer.php @@ -0,0 +1,94 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceNetwork' => false]; + } +} diff --git a/src/Normalizer/GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceNormalizer.php b/src/Normalizer/GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceNormalizer.php index c7da3c50..10d12dc2 100644 --- a/src/Normalizer/GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceNormalizer.php +++ b/src/Normalizer/GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceNormalizer.php @@ -54,7 +54,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNIPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceVirtualMachine', 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('name', $data)) { @@ -62,7 +62,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNIPartNetwork', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceNetwork', 'json', $context)); unset($data['network']); } if (\array_key_exists('mac_address', $data)) { @@ -76,13 +76,13 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('ip_addresses', $data)) { $values = []; foreach ($data['ip_addresses'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNIPartIPAddresses', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceIpAddressesItem', 'json', $context); } $object->setIpAddresses($values); unset($data['ip_addresses']); } if (\array_key_exists('speed_profile', $data)) { - $object->setSpeedProfile($this->denormalizer->denormalize($data['speed_profile'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNIPartSpeedProfile', 'json', $context)); + $object->setSpeedProfile($this->denormalizer->denormalize($data['speed_profile'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceSpeedProfile', 'json', $context)); unset($data['speed_profile']); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceSpeedProfileNormalizer.php b/src/Normalizer/GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceSpeedProfileNormalizer.php new file mode 100644 index 00000000..dd677a53 --- /dev/null +++ b/src/Normalizer/GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceSpeedProfileNormalizer.php @@ -0,0 +1,101 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data)) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceSpeedProfile' => false]; + } +} diff --git a/src/Normalizer/GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceVirtualMachineNormalizer.php b/src/Normalizer/GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceVirtualMachineNormalizer.php new file mode 100644 index 00000000..d3360450 --- /dev/null +++ b/src/Normalizer/GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceVirtualMachineNormalizer.php @@ -0,0 +1,94 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceVirtualMachine' => false]; + } +} diff --git a/src/Normalizer/GetVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer.php b/src/Normalizer/GetVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer.php new file mode 100644 index 00000000..9ef22e67 --- /dev/null +++ b/src/Normalizer/GetVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer.php @@ -0,0 +1,103 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('operating_system', $data) && $data['operating_system'] !== null) { + $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartAttachedISOOperatingSystem', 'json', $context)); + unset($data['operating_system']); + } elseif (\array_key_exists('operating_system', $data) && $data['operating_system'] === null) { + $object->setOperatingSystem(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('operatingSystem') && null !== $object->getOperatingSystem()) { + $data['operating_system'] = $this->normalizer->normalize($object->getOperatingSystem(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineAttachedIso' => false]; + } +} diff --git a/src/Normalizer/GetVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer.php b/src/Normalizer/GetVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer.php new file mode 100644 index 00000000..a531be0a --- /dev/null +++ b/src/Normalizer/GetVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer.php @@ -0,0 +1,122 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('manufacturer', $data)) { + $object->setManufacturer($data['manufacturer']); + unset($data['manufacturer']); + } + if (\array_key_exists('memory_in_gb', $data)) { + $object->setMemoryInGb($data['memory_in_gb']); + unset($data['memory_in_gb']); + } + if (\array_key_exists('memory_type', $data)) { + $object->setMemoryType($data['memory_type']); + unset($data['memory_type']); + } + if (\array_key_exists('permalink', $data)) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('manufacturer') && null !== $object->getManufacturer()) { + $data['manufacturer'] = $object->getManufacturer(); + } + if ($object->isInitialized('memoryInGb') && null !== $object->getMemoryInGb()) { + $data['memory_in_gb'] = $object->getMemoryInGb(); + } + if ($object->isInitialized('memoryType') && null !== $object->getMemoryType()) { + $data['memory_type'] = $object->getMemoryType(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineGpuType' => false]; + } +} diff --git a/src/Normalizer/GetVirtualMachine200ResponseVirtualMachineGpusItemNormalizer.php b/src/Normalizer/GetVirtualMachine200ResponseVirtualMachineGpusItemNormalizer.php new file mode 100644 index 00000000..c73cedb8 --- /dev/null +++ b/src/Normalizer/GetVirtualMachine200ResponseVirtualMachineGpusItemNormalizer.php @@ -0,0 +1,117 @@ +setId($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + $object->setId(null); + } + if (\array_key_exists('status', $data)) { + $object->setStatus($data['status']); + unset($data['status']); + } + if (\array_key_exists('pending_action', $data)) { + $object->setPendingAction($data['pending_action']); + unset($data['pending_action']); + } + if (\array_key_exists('available', $data)) { + $object->setAvailable($data['available']); + unset($data['available']); + } + if (\array_key_exists('type', $data)) { + $object->setType($this->denormalizer->denormalize($data['type'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartGPUsType', 'json', $context)); + unset($data['type']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('status') && null !== $object->getStatus()) { + $data['status'] = $object->getStatus(); + } + if ($object->isInitialized('pendingAction') && null !== $object->getPendingAction()) { + $data['pending_action'] = $object->getPendingAction(); + } + if ($object->isInitialized('available') && null !== $object->getAvailable()) { + $data['available'] = $object->getAvailable(); + } + if ($object->isInitialized('type') && null !== $object->getType()) { + $data['type'] = $this->normalizer->normalize($object->getType(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineGpusItem' => false]; + } +} diff --git a/src/Normalizer/GetVirtualMachine200ResponseVirtualMachineGroupNormalizer.php b/src/Normalizer/GetVirtualMachine200ResponseVirtualMachineGroupNormalizer.php new file mode 100644 index 00000000..cad8494c --- /dev/null +++ b/src/Normalizer/GetVirtualMachine200ResponseVirtualMachineGroupNormalizer.php @@ -0,0 +1,115 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('segregate', $data)) { + $object->setSegregate($data['segregate']); + unset($data['segregate']); + } + if (\array_key_exists('auto_segregate', $data)) { + $object->setAutoSegregate($data['auto_segregate']); + unset($data['auto_segregate']); + } + if (\array_key_exists('created_at', $data)) { + $object->setCreatedAt($data['created_at']); + unset($data['created_at']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('segregate') && null !== $object->getSegregate()) { + $data['segregate'] = $object->getSegregate(); + } + if ($object->isInitialized('autoSegregate') && null !== $object->getAutoSegregate()) { + $data['auto_segregate'] = $object->getAutoSegregate(); + } + if ($object->isInitialized('createdAt') && null !== $object->getCreatedAt()) { + $data['created_at'] = $object->getCreatedAt(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineGroup' => false]; + } +} diff --git a/src/Normalizer/GetVirtualMachine200ResponseVirtualMachineIpAddressesItemNormalizer.php b/src/Normalizer/GetVirtualMachine200ResponseVirtualMachineIpAddressesItemNormalizer.php new file mode 100644 index 00000000..78f78684 --- /dev/null +++ b/src/Normalizer/GetVirtualMachine200ResponseVirtualMachineIpAddressesItemNormalizer.php @@ -0,0 +1,149 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('address', $data)) { + $object->setAddress($data['address']); + unset($data['address']); + } + if (\array_key_exists('reverse_dns', $data)) { + $object->setReverseDns($data['reverse_dns']); + unset($data['reverse_dns']); + } + if (\array_key_exists('vip', $data)) { + $object->setVip($data['vip']); + unset($data['vip']); + } + if (\array_key_exists('label', $data) && $data['label'] !== null) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { + $object->setLabel(null); + } + if (\array_key_exists('address_with_mask', $data)) { + $object->setAddressWithMask($data['address_with_mask']); + unset($data['address_with_mask']); + } + if (\array_key_exists('network', $data)) { + $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartIPAddressesNetwork', 'json', $context)); + unset($data['network']); + } + if (\array_key_exists('allocation_id', $data) && $data['allocation_id'] !== null) { + $object->setAllocationId($data['allocation_id']); + unset($data['allocation_id']); + } elseif (\array_key_exists('allocation_id', $data) && $data['allocation_id'] === null) { + $object->setAllocationId(null); + } + if (\array_key_exists('allocation_type', $data) && $data['allocation_type'] !== null) { + $object->setAllocationType($data['allocation_type']); + unset($data['allocation_type']); + } elseif (\array_key_exists('allocation_type', $data) && $data['allocation_type'] === null) { + $object->setAllocationType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('address') && null !== $object->getAddress()) { + $data['address'] = $object->getAddress(); + } + if ($object->isInitialized('reverseDns') && null !== $object->getReverseDns()) { + $data['reverse_dns'] = $object->getReverseDns(); + } + if ($object->isInitialized('vip') && null !== $object->getVip()) { + $data['vip'] = $object->getVip(); + } + if ($object->isInitialized('label') && null !== $object->getLabel()) { + $data['label'] = $object->getLabel(); + } + if ($object->isInitialized('addressWithMask') && null !== $object->getAddressWithMask()) { + $data['address_with_mask'] = $object->getAddressWithMask(); + } + if ($object->isInitialized('network') && null !== $object->getNetwork()) { + $data['network'] = $this->normalizer->normalize($object->getNetwork(), 'json', $context); + } + if ($object->isInitialized('allocationId') && null !== $object->getAllocationId()) { + $data['allocation_id'] = $object->getAllocationId(); + } + if ($object->isInitialized('allocationType') && null !== $object->getAllocationType()) { + $data['allocation_type'] = $object->getAllocationType(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineIpAddressesItem' => false]; + } +} diff --git a/src/Normalizer/GetVirtualMachine200ResponseVirtualMachineNormalizer.php b/src/Normalizer/GetVirtualMachine200ResponseVirtualMachineNormalizer.php index c2cba5f0..1eca497b 100644 --- a/src/Normalizer/GetVirtualMachine200ResponseVirtualMachineNormalizer.php +++ b/src/Normalizer/GetVirtualMachine200ResponseVirtualMachineNormalizer.php @@ -65,58 +65,74 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setFqdn($data['fqdn']); unset($data['fqdn']); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && $data['description'] !== null) { $object->setDescription($data['description']); unset($data['description']); + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + $object->setDescription(null); } if (\array_key_exists('created_at', $data)) { $object->setCreatedAt($data['created_at']); unset($data['created_at']); } - if (\array_key_exists('initial_root_password', $data)) { + if (\array_key_exists('initial_root_password', $data) && $data['initial_root_password'] !== null) { $object->setInitialRootPassword($data['initial_root_password']); unset($data['initial_root_password']); + } elseif (\array_key_exists('initial_root_password', $data) && $data['initial_root_password'] === null) { + $object->setInitialRootPassword(null); } if (\array_key_exists('state', $data)) { $object->setState($data['state']); unset($data['state']); } if (\array_key_exists('zone', $data)) { - $object->setZone($this->denormalizer->denormalize($data['zone'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartZone', 'json', $context)); + $object->setZone($this->denormalizer->denormalize($data['zone'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineZone', 'json', $context)); unset($data['zone']); } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartOrganization', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineOrganization', 'json', $context)); unset($data['organization']); } - if (\array_key_exists('group', $data)) { - $object->setGroup($this->denormalizer->denormalize($data['group'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartGroup', 'json', $context)); + if (\array_key_exists('group', $data) && $data['group'] !== null) { + $object->setGroup($this->denormalizer->denormalize($data['group'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineGroup', 'json', $context)); unset($data['group']); + } elseif (\array_key_exists('group', $data) && $data['group'] === null) { + $object->setGroup(null); } - if (\array_key_exists('package', $data)) { - $object->setPackage($this->denormalizer->denormalize($data['package'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartPackage', 'json', $context)); + if (\array_key_exists('package', $data) && $data['package'] !== null) { + $object->setPackage($this->denormalizer->denormalize($data['package'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachinePackage', 'json', $context)); unset($data['package']); + } elseif (\array_key_exists('package', $data) && $data['package'] === null) { + $object->setPackage(null); } - if (\array_key_exists('attached_iso', $data)) { - $object->setAttachedIso($this->denormalizer->denormalize($data['attached_iso'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartAttachedISO', 'json', $context)); + if (\array_key_exists('attached_iso', $data) && $data['attached_iso'] !== null) { + $object->setAttachedIso($this->denormalizer->denormalize($data['attached_iso'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineAttachedIso', 'json', $context)); unset($data['attached_iso']); + } elseif (\array_key_exists('attached_iso', $data) && $data['attached_iso'] === null) { + $object->setAttachedIso(null); } - if (\array_key_exists('memory_in_gb', $data)) { + if (\array_key_exists('memory_in_gb', $data) && $data['memory_in_gb'] !== null) { $object->setMemoryInGb($data['memory_in_gb']); unset($data['memory_in_gb']); + } elseif (\array_key_exists('memory_in_gb', $data) && $data['memory_in_gb'] === null) { + $object->setMemoryInGb(null); } - if (\array_key_exists('cpu_cores', $data)) { + if (\array_key_exists('cpu_cores', $data) && $data['cpu_cores'] !== null) { $object->setCpuCores($data['cpu_cores']); unset($data['cpu_cores']); + } elseif (\array_key_exists('cpu_cores', $data) && $data['cpu_cores'] === null) { + $object->setCpuCores(null); } - if (\array_key_exists('gpu_type', $data)) { - $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartGPUType', 'json', $context)); + if (\array_key_exists('gpu_type', $data) && $data['gpu_type'] !== null) { + $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineGpuType', 'json', $context)); unset($data['gpu_type']); + } elseif (\array_key_exists('gpu_type', $data) && $data['gpu_type'] === null) { + $object->setGpuType(null); } if (\array_key_exists('gpus', $data)) { $values = []; foreach ($data['gpus'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartGPUs', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineGpusItem', 'json', $context); } $object->setGpus($values); unset($data['gpus']); @@ -124,7 +140,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('tags', $data)) { $values_1 = []; foreach ($data['tags'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartTags', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineTagsItem', 'json', $context); } $object->setTags($values_1); unset($data['tags']); @@ -140,7 +156,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('ip_addresses', $data)) { $values_3 = []; foreach ($data['ip_addresses'] as $value_3) { - $values_3[] = $this->denormalizer->denormalize($value_3, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartIPAddresses', 'json', $context); + $values_3[] = $this->denormalizer->denormalize($value_3, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineIpAddressesItem', 'json', $context); } $object->setIpAddresses($values_3); unset($data['ip_addresses']); diff --git a/src/Normalizer/GetVirtualMachine200ResponseVirtualMachineOrganizationNormalizer.php b/src/Normalizer/GetVirtualMachine200ResponseVirtualMachineOrganizationNormalizer.php new file mode 100644 index 00000000..f9b686df --- /dev/null +++ b/src/Normalizer/GetVirtualMachine200ResponseVirtualMachineOrganizationNormalizer.php @@ -0,0 +1,226 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('sub_domain', $data)) { + $object->setSubDomain($data['sub_domain']); + unset($data['sub_domain']); + } + if (\array_key_exists('infrastructure_domain', $data)) { + $object->setInfrastructureDomain($data['infrastructure_domain']); + unset($data['infrastructure_domain']); + } + if (\array_key_exists('created_at', $data)) { + $object->setCreatedAt($data['created_at']); + unset($data['created_at']); + } + if (\array_key_exists('suspended', $data)) { + $object->setSuspended($data['suspended']); + unset($data['suspended']); + } + if (\array_key_exists('managed', $data)) { + $object->setManaged($data['managed']); + unset($data['managed']); + } + if (\array_key_exists('billing_name', $data) && $data['billing_name'] !== null) { + $object->setBillingName($data['billing_name']); + unset($data['billing_name']); + } elseif (\array_key_exists('billing_name', $data) && $data['billing_name'] === null) { + $object->setBillingName(null); + } + if (\array_key_exists('address1', $data) && $data['address1'] !== null) { + $object->setAddress1($data['address1']); + unset($data['address1']); + } elseif (\array_key_exists('address1', $data) && $data['address1'] === null) { + $object->setAddress1(null); + } + if (\array_key_exists('address2', $data) && $data['address2'] !== null) { + $object->setAddress2($data['address2']); + unset($data['address2']); + } elseif (\array_key_exists('address2', $data) && $data['address2'] === null) { + $object->setAddress2(null); + } + if (\array_key_exists('address3', $data) && $data['address3'] !== null) { + $object->setAddress3($data['address3']); + unset($data['address3']); + } elseif (\array_key_exists('address3', $data) && $data['address3'] === null) { + $object->setAddress3(null); + } + if (\array_key_exists('address4', $data) && $data['address4'] !== null) { + $object->setAddress4($data['address4']); + unset($data['address4']); + } elseif (\array_key_exists('address4', $data) && $data['address4'] === null) { + $object->setAddress4(null); + } + if (\array_key_exists('postcode', $data) && $data['postcode'] !== null) { + $object->setPostcode($data['postcode']); + unset($data['postcode']); + } elseif (\array_key_exists('postcode', $data) && $data['postcode'] === null) { + $object->setPostcode(null); + } + if (\array_key_exists('vat_number', $data) && $data['vat_number'] !== null) { + $object->setVatNumber($data['vat_number']); + unset($data['vat_number']); + } elseif (\array_key_exists('vat_number', $data) && $data['vat_number'] === null) { + $object->setVatNumber(null); + } + if (\array_key_exists('phone_number', $data) && $data['phone_number'] !== null) { + $object->setPhoneNumber($data['phone_number']); + unset($data['phone_number']); + } elseif (\array_key_exists('phone_number', $data) && $data['phone_number'] === null) { + $object->setPhoneNumber(null); + } + if (\array_key_exists('currency', $data)) { + $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartOrganizationCurrency', 'json', $context)); + unset($data['currency']); + } + if (\array_key_exists('country', $data) && $data['country'] !== null) { + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartOrganizationCountry', 'json', $context)); + unset($data['country']); + } elseif (\array_key_exists('country', $data) && $data['country'] === null) { + $object->setCountry(null); + } + if (\array_key_exists('country_state', $data) && $data['country_state'] !== null) { + $object->setCountryState($this->denormalizer->denormalize($data['country_state'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartOrganizationCountryState', 'json', $context)); + unset($data['country_state']); + } elseif (\array_key_exists('country_state', $data) && $data['country_state'] === null) { + $object->setCountryState(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('subDomain') && null !== $object->getSubDomain()) { + $data['sub_domain'] = $object->getSubDomain(); + } + if ($object->isInitialized('infrastructureDomain') && null !== $object->getInfrastructureDomain()) { + $data['infrastructure_domain'] = $object->getInfrastructureDomain(); + } + if ($object->isInitialized('createdAt') && null !== $object->getCreatedAt()) { + $data['created_at'] = $object->getCreatedAt(); + } + if ($object->isInitialized('suspended') && null !== $object->getSuspended()) { + $data['suspended'] = $object->getSuspended(); + } + if ($object->isInitialized('managed') && null !== $object->getManaged()) { + $data['managed'] = $object->getManaged(); + } + if ($object->isInitialized('billingName') && null !== $object->getBillingName()) { + $data['billing_name'] = $object->getBillingName(); + } + if ($object->isInitialized('address1') && null !== $object->getAddress1()) { + $data['address1'] = $object->getAddress1(); + } + if ($object->isInitialized('address2') && null !== $object->getAddress2()) { + $data['address2'] = $object->getAddress2(); + } + if ($object->isInitialized('address3') && null !== $object->getAddress3()) { + $data['address3'] = $object->getAddress3(); + } + if ($object->isInitialized('address4') && null !== $object->getAddress4()) { + $data['address4'] = $object->getAddress4(); + } + if ($object->isInitialized('postcode') && null !== $object->getPostcode()) { + $data['postcode'] = $object->getPostcode(); + } + if ($object->isInitialized('vatNumber') && null !== $object->getVatNumber()) { + $data['vat_number'] = $object->getVatNumber(); + } + if ($object->isInitialized('phoneNumber') && null !== $object->getPhoneNumber()) { + $data['phone_number'] = $object->getPhoneNumber(); + } + if ($object->isInitialized('currency') && null !== $object->getCurrency()) { + $data['currency'] = $this->normalizer->normalize($object->getCurrency(), 'json', $context); + } + if ($object->isInitialized('country') && null !== $object->getCountry()) { + $data['country'] = $this->normalizer->normalize($object->getCountry(), 'json', $context); + } + if ($object->isInitialized('countryState') && null !== $object->getCountryState()) { + $data['country_state'] = $this->normalizer->normalize($object->getCountryState(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineOrganization' => false]; + } +} diff --git a/src/Normalizer/GetVirtualMachine200ResponseVirtualMachinePackageNormalizer.php b/src/Normalizer/GetVirtualMachine200ResponseVirtualMachinePackageNormalizer.php new file mode 100644 index 00000000..58af4b3e --- /dev/null +++ b/src/Normalizer/GetVirtualMachine200ResponseVirtualMachinePackageNormalizer.php @@ -0,0 +1,154 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data)) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } + if (\array_key_exists('cpu_cores', $data)) { + $object->setCpuCores($data['cpu_cores']); + unset($data['cpu_cores']); + } + if (\array_key_exists('ipv4_addresses', $data)) { + $object->setIpv4Addresses($data['ipv4_addresses']); + unset($data['ipv4_addresses']); + } + if (\array_key_exists('memory_in_gb', $data)) { + $object->setMemoryInGb($data['memory_in_gb']); + unset($data['memory_in_gb']); + } + if (\array_key_exists('storage_in_gb', $data)) { + $object->setStorageInGb($data['storage_in_gb']); + unset($data['storage_in_gb']); + } + if (\array_key_exists('monthly_bandwidth_allowance_in_gb', $data) && $data['monthly_bandwidth_allowance_in_gb'] !== null) { + $object->setMonthlyBandwidthAllowanceInGb($data['monthly_bandwidth_allowance_in_gb']); + unset($data['monthly_bandwidth_allowance_in_gb']); + } elseif (\array_key_exists('monthly_bandwidth_allowance_in_gb', $data) && $data['monthly_bandwidth_allowance_in_gb'] === null) { + $object->setMonthlyBandwidthAllowanceInGb(null); + } + if (\array_key_exists('privacy', $data)) { + $object->setPrivacy($data['privacy']); + unset($data['privacy']); + } + if (\array_key_exists('icon', $data) && $data['icon'] !== null) { + $object->setIcon($this->denormalizer->denormalize($data['icon'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartPackageIcon', 'json', $context)); + unset($data['icon']); + } elseif (\array_key_exists('icon', $data) && $data['icon'] === null) { + $object->setIcon(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + if ($object->isInitialized('cpuCores') && null !== $object->getCpuCores()) { + $data['cpu_cores'] = $object->getCpuCores(); + } + if ($object->isInitialized('ipv4Addresses') && null !== $object->getIpv4Addresses()) { + $data['ipv4_addresses'] = $object->getIpv4Addresses(); + } + if ($object->isInitialized('memoryInGb') && null !== $object->getMemoryInGb()) { + $data['memory_in_gb'] = $object->getMemoryInGb(); + } + if ($object->isInitialized('storageInGb') && null !== $object->getStorageInGb()) { + $data['storage_in_gb'] = $object->getStorageInGb(); + } + if ($object->isInitialized('monthlyBandwidthAllowanceInGb') && null !== $object->getMonthlyBandwidthAllowanceInGb()) { + $data['monthly_bandwidth_allowance_in_gb'] = $object->getMonthlyBandwidthAllowanceInGb(); + } + if ($object->isInitialized('privacy') && null !== $object->getPrivacy()) { + $data['privacy'] = $object->getPrivacy(); + } + if ($object->isInitialized('icon') && null !== $object->getIcon()) { + $data['icon'] = $this->normalizer->normalize($object->getIcon(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachinePackage' => false]; + } +} diff --git a/src/Normalizer/GetVirtualMachine200ResponseVirtualMachineTagsItemNormalizer.php b/src/Normalizer/GetVirtualMachine200ResponseVirtualMachineTagsItemNormalizer.php new file mode 100644 index 00000000..3fb36d00 --- /dev/null +++ b/src/Normalizer/GetVirtualMachine200ResponseVirtualMachineTagsItemNormalizer.php @@ -0,0 +1,108 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('color', $data)) { + $object->setColor($data['color']); + unset($data['color']); + } + if (\array_key_exists('created_at', $data)) { + $object->setCreatedAt($data['created_at']); + unset($data['created_at']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('color') && null !== $object->getColor()) { + $data['color'] = $object->getColor(); + } + if ($object->isInitialized('createdAt') && null !== $object->getCreatedAt()) { + $data['created_at'] = $object->getCreatedAt(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineTagsItem' => false]; + } +} diff --git a/src/Normalizer/GetVirtualMachine200ResponseVirtualMachineZoneNormalizer.php b/src/Normalizer/GetVirtualMachine200ResponseVirtualMachineZoneNormalizer.php new file mode 100644 index 00000000..8e70b8c8 --- /dev/null +++ b/src/Normalizer/GetVirtualMachine200ResponseVirtualMachineZoneNormalizer.php @@ -0,0 +1,110 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); + } + if (\array_key_exists('data_center', $data)) { + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartZoneDataCenter', 'json', $context)); + unset($data['data_center']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + if ($object->isInitialized('dataCenter') && null !== $object->getDataCenter()) { + $data['data_center'] = $this->normalizer->normalize($object->getDataCenter(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineZone' => false]; + } +} diff --git a/src/Normalizer/GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer.php b/src/Normalizer/GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer.php index 851d4e26..6aef6586 100644 --- a/src/Normalizer/GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer.php +++ b/src/Normalizer/GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer.php @@ -69,7 +69,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['target']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineDiskBackupPoliciesPartSchedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPoliciesSchedule', 'json', $context)); unset($data['schedule']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPoliciesScheduleNormalizer.php b/src/Normalizer/GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPoliciesScheduleNormalizer.php new file mode 100644 index 00000000..8d521f30 --- /dev/null +++ b/src/Normalizer/GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPoliciesScheduleNormalizer.php @@ -0,0 +1,94 @@ +setInterval($data['interval']); + unset($data['interval']); + } + if (\array_key_exists('next_invocation_at', $data)) { + $object->setNextInvocationAt($data['next_invocation_at']); + unset($data['next_invocation_at']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('interval') && null !== $object->getInterval()) { + $data['interval'] = $object->getInterval(); + } + if ($object->isInitialized('nextInvocationAt') && null !== $object->getNextInvocationAt()) { + $data['next_invocation_at'] = $object->getNextInvocationAt(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPoliciesSchedule' => false]; + } +} diff --git a/src/Normalizer/GetVirtualMachineDisks200ResponseDisksDiskNormalizer.php b/src/Normalizer/GetVirtualMachineDisks200ResponseDisksDiskNormalizer.php new file mode 100644 index 00000000..f1055972 --- /dev/null +++ b/src/Normalizer/GetVirtualMachineDisks200ResponseDisksDiskNormalizer.php @@ -0,0 +1,122 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('size_in_gb', $data)) { + $object->setSizeInGb($data['size_in_gb']); + unset($data['size_in_gb']); + } + if (\array_key_exists('wwn', $data)) { + $object->setWwn($data['wwn']); + unset($data['wwn']); + } + if (\array_key_exists('state', $data)) { + $object->setState($data['state']); + unset($data['state']); + } + if (\array_key_exists('created_at', $data)) { + $object->setCreatedAt($data['created_at']); + unset($data['created_at']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('sizeInGb') && null !== $object->getSizeInGb()) { + $data['size_in_gb'] = $object->getSizeInGb(); + } + if ($object->isInitialized('wwn') && null !== $object->getWwn()) { + $data['wwn'] = $object->getWwn(); + } + if ($object->isInitialized('state') && null !== $object->getState()) { + $data['state'] = $object->getState(); + } + if ($object->isInitialized('createdAt') && null !== $object->getCreatedAt()) { + $data['created_at'] = $object->getCreatedAt(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineDisks200ResponseDisksDisk' => false]; + } +} diff --git a/src/Normalizer/GetVirtualMachineDisks200ResponseDisksNormalizer.php b/src/Normalizer/GetVirtualMachineDisks200ResponseDisksNormalizer.php index 30d1c2e2..33ae06ef 100644 --- a/src/Normalizer/GetVirtualMachineDisks200ResponseDisksNormalizer.php +++ b/src/Normalizer/GetVirtualMachineDisks200ResponseDisksNormalizer.php @@ -50,7 +50,7 @@ public function denormalize($data, $class, $format = null, array $context = []) return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineDisksPartDisk', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineDisks200ResponseDisksDisk', 'json', $context)); unset($data['disk']); } if (\array_key_exists('attach_on_boot', $data)) { diff --git a/src/Normalizer/GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceIpAddressesItemNormalizer.php b/src/Normalizer/GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceIpAddressesItemNormalizer.php new file mode 100644 index 00000000..12cde530 --- /dev/null +++ b/src/Normalizer/GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceIpAddressesItemNormalizer.php @@ -0,0 +1,94 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('address', $data)) { + $object->setAddress($data['address']); + unset($data['address']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('address') && null !== $object->getAddress()) { + $data['address'] = $object->getAddress(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceIpAddressesItem' => false]; + } +} diff --git a/src/Normalizer/GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceNetworkNormalizer.php b/src/Normalizer/GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceNetworkNormalizer.php new file mode 100644 index 00000000..978c80e0 --- /dev/null +++ b/src/Normalizer/GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceNetworkNormalizer.php @@ -0,0 +1,94 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceNetwork' => false]; + } +} diff --git a/src/Normalizer/GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceNormalizer.php b/src/Normalizer/GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceNormalizer.php index 4be1ebce..9b81d5ab 100644 --- a/src/Normalizer/GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceNormalizer.php +++ b/src/Normalizer/GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceNormalizer.php @@ -54,7 +54,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfacePartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceVirtualMachine', 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('name', $data)) { @@ -62,7 +62,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfacePartNetwork', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceNetwork', 'json', $context)); unset($data['network']); } if (\array_key_exists('mac_address', $data)) { @@ -76,7 +76,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('ip_addresses', $data)) { $values = []; foreach ($data['ip_addresses'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfacePartIPAddresses', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceIpAddressesItem', 'json', $context); } $object->setIpAddresses($values); unset($data['ip_addresses']); diff --git a/src/Normalizer/GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceVirtualMachineNormalizer.php b/src/Normalizer/GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceVirtualMachineNormalizer.php new file mode 100644 index 00000000..07417db8 --- /dev/null +++ b/src/Normalizer/GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceVirtualMachineNormalizer.php @@ -0,0 +1,94 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceVirtualMachine' => false]; + } +} diff --git a/src/Normalizer/GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesIpAddressesItemNormalizer.php b/src/Normalizer/GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesIpAddressesItemNormalizer.php new file mode 100644 index 00000000..627fc903 --- /dev/null +++ b/src/Normalizer/GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesIpAddressesItemNormalizer.php @@ -0,0 +1,94 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('address', $data)) { + $object->setAddress($data['address']); + unset($data['address']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('address') && null !== $object->getAddress()) { + $data['address'] = $object->getAddress(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesIpAddressesItem' => false]; + } +} diff --git a/src/Normalizer/GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesNetworkNormalizer.php b/src/Normalizer/GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesNetworkNormalizer.php new file mode 100644 index 00000000..b5ee4ceb --- /dev/null +++ b/src/Normalizer/GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesNetworkNormalizer.php @@ -0,0 +1,94 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesNetwork' => false]; + } +} diff --git a/src/Normalizer/GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesNormalizer.php b/src/Normalizer/GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesNormalizer.php index 9ead3166..eee7666d 100644 --- a/src/Normalizer/GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesNormalizer.php +++ b/src/Normalizer/GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesNormalizer.php @@ -58,13 +58,13 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfacesPartNetwork', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesNetwork', 'json', $context)); unset($data['network']); } if (\array_key_exists('ip_addresses', $data)) { $values = []; foreach ($data['ip_addresses'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfacesPartIPAddresses', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesIpAddressesItem', 'json', $context); } $object->setIpAddresses($values); unset($data['ip_addresses']); diff --git a/src/Normalizer/GetVirtualMachinePackages200ResponseVirtualMachinePackagesIconNormalizer.php b/src/Normalizer/GetVirtualMachinePackages200ResponseVirtualMachinePackagesIconNormalizer.php new file mode 100644 index 00000000..d9d50fe3 --- /dev/null +++ b/src/Normalizer/GetVirtualMachinePackages200ResponseVirtualMachinePackagesIconNormalizer.php @@ -0,0 +1,87 @@ +setUrl($data['url']); + unset($data['url']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('url') && null !== $object->getUrl()) { + $data['url'] = $object->getUrl(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePackages200ResponseVirtualMachinePackagesIcon' => false]; + } +} diff --git a/src/Normalizer/GetVirtualMachinePackages200ResponseVirtualMachinePackagesNormalizer.php b/src/Normalizer/GetVirtualMachinePackages200ResponseVirtualMachinePackagesNormalizer.php index 1f4b8277..7c3ad78c 100644 --- a/src/Normalizer/GetVirtualMachinePackages200ResponseVirtualMachinePackagesNormalizer.php +++ b/src/Normalizer/GetVirtualMachinePackages200ResponseVirtualMachinePackagesNormalizer.php @@ -81,9 +81,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setPrivacy($data['privacy']); unset($data['privacy']); } - if (\array_key_exists('icon', $data)) { - $object->setIcon($this->denormalizer->denormalize($data['icon'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePackagesPartIcon', 'json', $context)); + if (\array_key_exists('icon', $data) && $data['icon'] !== null) { + $object->setIcon($this->denormalizer->denormalize($data['icon'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePackages200ResponseVirtualMachinePackagesIcon', 'json', $context)); unset($data['icon']); + } elseif (\array_key_exists('icon', $data) && $data['icon'] === null) { + $object->setIcon(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/GetVirtualMachinePartAttachedISONormalizer.php b/src/Normalizer/GetVirtualMachinePartAttachedISONormalizer.php index c3d75467..1af79d10 100644 --- a/src/Normalizer/GetVirtualMachinePartAttachedISONormalizer.php +++ b/src/Normalizer/GetVirtualMachinePartAttachedISONormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('operating_system', $data)) { - $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartOperatingSystem', 'json', $context)); + if (\array_key_exists('operating_system', $data) && $data['operating_system'] !== null) { + $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartAttachedISOOperatingSystem', 'json', $context)); unset($data['operating_system']); + } elseif (\array_key_exists('operating_system', $data) && $data['operating_system'] === null) { + $object->setOperatingSystem(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/GetVirtualMachinePartAttachedISOOperatingSystemNormalizer.php b/src/Normalizer/GetVirtualMachinePartAttachedISOOperatingSystemNormalizer.php new file mode 100644 index 00000000..8df855d9 --- /dev/null +++ b/src/Normalizer/GetVirtualMachinePartAttachedISOOperatingSystemNormalizer.php @@ -0,0 +1,103 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('badge', $data) && $data['badge'] !== null) { + $object->setBadge($this->denormalizer->denormalize($data['badge'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartOperatingSystemBadge', 'json', $context)); + unset($data['badge']); + } elseif (\array_key_exists('badge', $data) && $data['badge'] === null) { + $object->setBadge(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('badge') && null !== $object->getBadge()) { + $data['badge'] = $this->normalizer->normalize($object->getBadge(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartAttachedISOOperatingSystem' => false]; + } +} diff --git a/src/Normalizer/GetVirtualMachinePartCountryNormalizer.php b/src/Normalizer/GetVirtualMachinePartCountryNormalizer.php index 732b6e91..710a9b8c 100644 --- a/src/Normalizer/GetVirtualMachinePartCountryNormalizer.php +++ b/src/Normalizer/GetVirtualMachinePartCountryNormalizer.php @@ -65,9 +65,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setIsoCode3($data['iso_code3']); unset($data['iso_code3']); } - if (\array_key_exists('time_zone', $data)) { + if (\array_key_exists('time_zone', $data) && $data['time_zone'] !== null) { $object->setTimeZone($data['time_zone']); unset($data['time_zone']); + } elseif (\array_key_exists('time_zone', $data) && $data['time_zone'] === null) { + $object->setTimeZone(null); } if (\array_key_exists('eu', $data)) { $object->setEu($data['eu']); diff --git a/src/Normalizer/GetVirtualMachinePartCountryStateCountryNormalizer.php b/src/Normalizer/GetVirtualMachinePartCountryStateCountryNormalizer.php new file mode 100644 index 00000000..dbac8273 --- /dev/null +++ b/src/Normalizer/GetVirtualMachinePartCountryStateCountryNormalizer.php @@ -0,0 +1,124 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('iso_code2', $data)) { + $object->setIsoCode2($data['iso_code2']); + unset($data['iso_code2']); + } + if (\array_key_exists('iso_code3', $data)) { + $object->setIsoCode3($data['iso_code3']); + unset($data['iso_code3']); + } + if (\array_key_exists('time_zone', $data) && $data['time_zone'] !== null) { + $object->setTimeZone($data['time_zone']); + unset($data['time_zone']); + } elseif (\array_key_exists('time_zone', $data) && $data['time_zone'] === null) { + $object->setTimeZone(null); + } + if (\array_key_exists('eu', $data)) { + $object->setEu($data['eu']); + unset($data['eu']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('isoCode2') && null !== $object->getIsoCode2()) { + $data['iso_code2'] = $object->getIsoCode2(); + } + if ($object->isInitialized('isoCode3') && null !== $object->getIsoCode3()) { + $data['iso_code3'] = $object->getIsoCode3(); + } + if ($object->isInitialized('timeZone') && null !== $object->getTimeZone()) { + $data['time_zone'] = $object->getTimeZone(); + } + if ($object->isInitialized('eu') && null !== $object->getEu()) { + $data['eu'] = $object->getEu(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartCountryStateCountry' => false]; + } +} diff --git a/src/Normalizer/GetVirtualMachinePartCountryStateNormalizer.php b/src/Normalizer/GetVirtualMachinePartCountryStateNormalizer.php index ce5f2088..98af68b2 100644 --- a/src/Normalizer/GetVirtualMachinePartCountryStateNormalizer.php +++ b/src/Normalizer/GetVirtualMachinePartCountryStateNormalizer.php @@ -62,7 +62,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['code']); } if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartCountry', 'json', $context)); + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartCountryStateCountry', 'json', $context)); unset($data['country']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/GetVirtualMachinePartDataCenterCountryNormalizer.php b/src/Normalizer/GetVirtualMachinePartDataCenterCountryNormalizer.php new file mode 100644 index 00000000..13fde6a0 --- /dev/null +++ b/src/Normalizer/GetVirtualMachinePartDataCenterCountryNormalizer.php @@ -0,0 +1,124 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('iso_code2', $data)) { + $object->setIsoCode2($data['iso_code2']); + unset($data['iso_code2']); + } + if (\array_key_exists('iso_code3', $data)) { + $object->setIsoCode3($data['iso_code3']); + unset($data['iso_code3']); + } + if (\array_key_exists('time_zone', $data) && $data['time_zone'] !== null) { + $object->setTimeZone($data['time_zone']); + unset($data['time_zone']); + } elseif (\array_key_exists('time_zone', $data) && $data['time_zone'] === null) { + $object->setTimeZone(null); + } + if (\array_key_exists('eu', $data)) { + $object->setEu($data['eu']); + unset($data['eu']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('isoCode2') && null !== $object->getIsoCode2()) { + $data['iso_code2'] = $object->getIsoCode2(); + } + if ($object->isInitialized('isoCode3') && null !== $object->getIsoCode3()) { + $data['iso_code3'] = $object->getIsoCode3(); + } + if ($object->isInitialized('timeZone') && null !== $object->getTimeZone()) { + $data['time_zone'] = $object->getTimeZone(); + } + if ($object->isInitialized('eu') && null !== $object->getEu()) { + $data['eu'] = $object->getEu(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartDataCenterCountry' => false]; + } +} diff --git a/src/Normalizer/GetVirtualMachinePartDataCenterNormalizer.php b/src/Normalizer/GetVirtualMachinePartDataCenterNormalizer.php index 99630fc7..b64e18b3 100644 --- a/src/Normalizer/GetVirtualMachinePartDataCenterNormalizer.php +++ b/src/Normalizer/GetVirtualMachinePartDataCenterNormalizer.php @@ -57,12 +57,14 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartCountry', 'json', $context)); + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartDataCenterCountry', 'json', $context)); unset($data['country']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/GetVirtualMachinePartGPUsNormalizer.php b/src/Normalizer/GetVirtualMachinePartGPUsNormalizer.php index 0986f66e..664fe319 100644 --- a/src/Normalizer/GetVirtualMachinePartGPUsNormalizer.php +++ b/src/Normalizer/GetVirtualMachinePartGPUsNormalizer.php @@ -49,9 +49,11 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); unset($data['id']); + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + $object->setId(null); } if (\array_key_exists('status', $data)) { $object->setStatus($data['status']); @@ -66,7 +68,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['available']); } if (\array_key_exists('type', $data)) { - $object->setType($this->denormalizer->denormalize($data['type'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartType', 'json', $context)); + $object->setType($this->denormalizer->denormalize($data['type'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartGPUsType', 'json', $context)); unset($data['type']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/GetVirtualMachinePartGPUsTypeNormalizer.php b/src/Normalizer/GetVirtualMachinePartGPUsTypeNormalizer.php new file mode 100644 index 00000000..2b1b6afb --- /dev/null +++ b/src/Normalizer/GetVirtualMachinePartGPUsTypeNormalizer.php @@ -0,0 +1,122 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('manufacturer', $data)) { + $object->setManufacturer($data['manufacturer']); + unset($data['manufacturer']); + } + if (\array_key_exists('memory_in_gb', $data)) { + $object->setMemoryInGb($data['memory_in_gb']); + unset($data['memory_in_gb']); + } + if (\array_key_exists('memory_type', $data)) { + $object->setMemoryType($data['memory_type']); + unset($data['memory_type']); + } + if (\array_key_exists('permalink', $data)) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('manufacturer') && null !== $object->getManufacturer()) { + $data['manufacturer'] = $object->getManufacturer(); + } + if ($object->isInitialized('memoryInGb') && null !== $object->getMemoryInGb()) { + $data['memory_in_gb'] = $object->getMemoryInGb(); + } + if ($object->isInitialized('memoryType') && null !== $object->getMemoryType()) { + $data['memory_type'] = $object->getMemoryType(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartGPUsType' => false]; + } +} diff --git a/src/Normalizer/GetVirtualMachinePartIPAddressesNetworkNormalizer.php b/src/Normalizer/GetVirtualMachinePartIPAddressesNetworkNormalizer.php new file mode 100644 index 00000000..67f19dc5 --- /dev/null +++ b/src/Normalizer/GetVirtualMachinePartIPAddressesNetworkNormalizer.php @@ -0,0 +1,110 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); + } + if (\array_key_exists('data_center', $data)) { + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartNetworkDataCenter', 'json', $context)); + unset($data['data_center']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + if ($object->isInitialized('dataCenter') && null !== $object->getDataCenter()) { + $data['data_center'] = $this->normalizer->normalize($object->getDataCenter(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartIPAddressesNetwork' => false]; + } +} diff --git a/src/Normalizer/GetVirtualMachinePartIPAddressesNormalizer.php b/src/Normalizer/GetVirtualMachinePartIPAddressesNormalizer.php index 257c5ec4..f0787f83 100644 --- a/src/Normalizer/GetVirtualMachinePartIPAddressesNormalizer.php +++ b/src/Normalizer/GetVirtualMachinePartIPAddressesNormalizer.php @@ -65,25 +65,31 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setVip($data['vip']); unset($data['vip']); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); unset($data['label']); + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { + $object->setLabel(null); } if (\array_key_exists('address_with_mask', $data)) { $object->setAddressWithMask($data['address_with_mask']); unset($data['address_with_mask']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartNetwork', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartIPAddressesNetwork', 'json', $context)); unset($data['network']); } - if (\array_key_exists('allocation_id', $data)) { + if (\array_key_exists('allocation_id', $data) && $data['allocation_id'] !== null) { $object->setAllocationId($data['allocation_id']); unset($data['allocation_id']); + } elseif (\array_key_exists('allocation_id', $data) && $data['allocation_id'] === null) { + $object->setAllocationId(null); } - if (\array_key_exists('allocation_type', $data)) { + if (\array_key_exists('allocation_type', $data) && $data['allocation_type'] !== null) { $object->setAllocationType($data['allocation_type']); unset($data['allocation_type']); + } elseif (\array_key_exists('allocation_type', $data) && $data['allocation_type'] === null) { + $object->setAllocationType(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/GetVirtualMachinePartNetworkDataCenterNormalizer.php b/src/Normalizer/GetVirtualMachinePartNetworkDataCenterNormalizer.php new file mode 100644 index 00000000..7649c23f --- /dev/null +++ b/src/Normalizer/GetVirtualMachinePartNetworkDataCenterNormalizer.php @@ -0,0 +1,110 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); + } + if (\array_key_exists('country', $data)) { + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartDataCenterCountry', 'json', $context)); + unset($data['country']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + if ($object->isInitialized('country') && null !== $object->getCountry()) { + $data['country'] = $this->normalizer->normalize($object->getCountry(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartNetworkDataCenter' => false]; + } +} diff --git a/src/Normalizer/GetVirtualMachinePartNetworkNormalizer.php b/src/Normalizer/GetVirtualMachinePartNetworkNormalizer.php index e98dbdfd..0750bbfa 100644 --- a/src/Normalizer/GetVirtualMachinePartNetworkNormalizer.php +++ b/src/Normalizer/GetVirtualMachinePartNetworkNormalizer.php @@ -57,12 +57,14 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartNetworkDataCenter', 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/GetVirtualMachinePartOperatingSystemBadgeNormalizer.php b/src/Normalizer/GetVirtualMachinePartOperatingSystemBadgeNormalizer.php new file mode 100644 index 00000000..7cf8a7c0 --- /dev/null +++ b/src/Normalizer/GetVirtualMachinePartOperatingSystemBadgeNormalizer.php @@ -0,0 +1,122 @@ +setUrl($data['url']); + unset($data['url']); + } + if (\array_key_exists('file_name', $data)) { + $object->setFileName($data['file_name']); + unset($data['file_name']); + } + if (\array_key_exists('file_type', $data)) { + $object->setFileType($data['file_type']); + unset($data['file_type']); + } + if (\array_key_exists('file_size', $data)) { + $object->setFileSize($data['file_size']); + unset($data['file_size']); + } + if (\array_key_exists('digest', $data)) { + $object->setDigest($data['digest']); + unset($data['digest']); + } + if (\array_key_exists('token', $data)) { + $object->setToken($data['token']); + unset($data['token']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('url') && null !== $object->getUrl()) { + $data['url'] = $object->getUrl(); + } + if ($object->isInitialized('fileName') && null !== $object->getFileName()) { + $data['file_name'] = $object->getFileName(); + } + if ($object->isInitialized('fileType') && null !== $object->getFileType()) { + $data['file_type'] = $object->getFileType(); + } + if ($object->isInitialized('fileSize') && null !== $object->getFileSize()) { + $data['file_size'] = $object->getFileSize(); + } + if ($object->isInitialized('digest') && null !== $object->getDigest()) { + $data['digest'] = $object->getDigest(); + } + if ($object->isInitialized('token') && null !== $object->getToken()) { + $data['token'] = $object->getToken(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartOperatingSystemBadge' => false]; + } +} diff --git a/src/Normalizer/GetVirtualMachinePartOperatingSystemNormalizer.php b/src/Normalizer/GetVirtualMachinePartOperatingSystemNormalizer.php index 47e911c5..dd77a925 100644 --- a/src/Normalizer/GetVirtualMachinePartOperatingSystemNormalizer.php +++ b/src/Normalizer/GetVirtualMachinePartOperatingSystemNormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('badge', $data)) { - $object->setBadge($this->denormalizer->denormalize($data['badge'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartBadge', 'json', $context)); + if (\array_key_exists('badge', $data) && $data['badge'] !== null) { + $object->setBadge($this->denormalizer->denormalize($data['badge'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartOperatingSystemBadge', 'json', $context)); unset($data['badge']); + } elseif (\array_key_exists('badge', $data) && $data['badge'] === null) { + $object->setBadge(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/GetVirtualMachinePartOrganizationCountryNormalizer.php b/src/Normalizer/GetVirtualMachinePartOrganizationCountryNormalizer.php new file mode 100644 index 00000000..983ef9cd --- /dev/null +++ b/src/Normalizer/GetVirtualMachinePartOrganizationCountryNormalizer.php @@ -0,0 +1,124 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('iso_code2', $data)) { + $object->setIsoCode2($data['iso_code2']); + unset($data['iso_code2']); + } + if (\array_key_exists('iso_code3', $data)) { + $object->setIsoCode3($data['iso_code3']); + unset($data['iso_code3']); + } + if (\array_key_exists('time_zone', $data) && $data['time_zone'] !== null) { + $object->setTimeZone($data['time_zone']); + unset($data['time_zone']); + } elseif (\array_key_exists('time_zone', $data) && $data['time_zone'] === null) { + $object->setTimeZone(null); + } + if (\array_key_exists('eu', $data)) { + $object->setEu($data['eu']); + unset($data['eu']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('isoCode2') && null !== $object->getIsoCode2()) { + $data['iso_code2'] = $object->getIsoCode2(); + } + if ($object->isInitialized('isoCode3') && null !== $object->getIsoCode3()) { + $data['iso_code3'] = $object->getIsoCode3(); + } + if ($object->isInitialized('timeZone') && null !== $object->getTimeZone()) { + $data['time_zone'] = $object->getTimeZone(); + } + if ($object->isInitialized('eu') && null !== $object->getEu()) { + $data['eu'] = $object->getEu(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartOrganizationCountry' => false]; + } +} diff --git a/src/Normalizer/GetVirtualMachinePartOrganizationCountryStateNormalizer.php b/src/Normalizer/GetVirtualMachinePartOrganizationCountryStateNormalizer.php new file mode 100644 index 00000000..41ceb0f4 --- /dev/null +++ b/src/Normalizer/GetVirtualMachinePartOrganizationCountryStateNormalizer.php @@ -0,0 +1,108 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('code', $data)) { + $object->setCode($data['code']); + unset($data['code']); + } + if (\array_key_exists('country', $data)) { + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartCountryStateCountry', 'json', $context)); + unset($data['country']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('code') && null !== $object->getCode()) { + $data['code'] = $object->getCode(); + } + if ($object->isInitialized('country') && null !== $object->getCountry()) { + $data['country'] = $this->normalizer->normalize($object->getCountry(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartOrganizationCountryState' => false]; + } +} diff --git a/src/Normalizer/GetVirtualMachinePartOrganizationCurrencyNormalizer.php b/src/Normalizer/GetVirtualMachinePartOrganizationCurrencyNormalizer.php new file mode 100644 index 00000000..8e975e6e --- /dev/null +++ b/src/Normalizer/GetVirtualMachinePartOrganizationCurrencyNormalizer.php @@ -0,0 +1,108 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('iso_code', $data)) { + $object->setIsoCode($data['iso_code']); + unset($data['iso_code']); + } + if (\array_key_exists('symbol', $data)) { + $object->setSymbol($data['symbol']); + unset($data['symbol']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('isoCode') && null !== $object->getIsoCode()) { + $data['iso_code'] = $object->getIsoCode(); + } + if ($object->isInitialized('symbol') && null !== $object->getSymbol()) { + $data['symbol'] = $object->getSymbol(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartOrganizationCurrency' => false]; + } +} diff --git a/src/Normalizer/GetVirtualMachinePartOrganizationNormalizer.php b/src/Normalizer/GetVirtualMachinePartOrganizationNormalizer.php index 5c222bca..b76478ab 100644 --- a/src/Normalizer/GetVirtualMachinePartOrganizationNormalizer.php +++ b/src/Normalizer/GetVirtualMachinePartOrganizationNormalizer.php @@ -77,49 +77,69 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setManaged($data['managed']); unset($data['managed']); } - if (\array_key_exists('billing_name', $data)) { + if (\array_key_exists('billing_name', $data) && $data['billing_name'] !== null) { $object->setBillingName($data['billing_name']); unset($data['billing_name']); + } elseif (\array_key_exists('billing_name', $data) && $data['billing_name'] === null) { + $object->setBillingName(null); } - if (\array_key_exists('address1', $data)) { + if (\array_key_exists('address1', $data) && $data['address1'] !== null) { $object->setAddress1($data['address1']); unset($data['address1']); + } elseif (\array_key_exists('address1', $data) && $data['address1'] === null) { + $object->setAddress1(null); } - if (\array_key_exists('address2', $data)) { + if (\array_key_exists('address2', $data) && $data['address2'] !== null) { $object->setAddress2($data['address2']); unset($data['address2']); + } elseif (\array_key_exists('address2', $data) && $data['address2'] === null) { + $object->setAddress2(null); } - if (\array_key_exists('address3', $data)) { + if (\array_key_exists('address3', $data) && $data['address3'] !== null) { $object->setAddress3($data['address3']); unset($data['address3']); + } elseif (\array_key_exists('address3', $data) && $data['address3'] === null) { + $object->setAddress3(null); } - if (\array_key_exists('address4', $data)) { + if (\array_key_exists('address4', $data) && $data['address4'] !== null) { $object->setAddress4($data['address4']); unset($data['address4']); + } elseif (\array_key_exists('address4', $data) && $data['address4'] === null) { + $object->setAddress4(null); } - if (\array_key_exists('postcode', $data)) { + if (\array_key_exists('postcode', $data) && $data['postcode'] !== null) { $object->setPostcode($data['postcode']); unset($data['postcode']); + } elseif (\array_key_exists('postcode', $data) && $data['postcode'] === null) { + $object->setPostcode(null); } - if (\array_key_exists('vat_number', $data)) { + if (\array_key_exists('vat_number', $data) && $data['vat_number'] !== null) { $object->setVatNumber($data['vat_number']); unset($data['vat_number']); + } elseif (\array_key_exists('vat_number', $data) && $data['vat_number'] === null) { + $object->setVatNumber(null); } - if (\array_key_exists('phone_number', $data)) { + if (\array_key_exists('phone_number', $data) && $data['phone_number'] !== null) { $object->setPhoneNumber($data['phone_number']); unset($data['phone_number']); + } elseif (\array_key_exists('phone_number', $data) && $data['phone_number'] === null) { + $object->setPhoneNumber(null); } if (\array_key_exists('currency', $data)) { - $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartCurrency', 'json', $context)); + $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartOrganizationCurrency', 'json', $context)); unset($data['currency']); } - if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartCountry', 'json', $context)); + if (\array_key_exists('country', $data) && $data['country'] !== null) { + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartOrganizationCountry', 'json', $context)); unset($data['country']); + } elseif (\array_key_exists('country', $data) && $data['country'] === null) { + $object->setCountry(null); } - if (\array_key_exists('country_state', $data)) { - $object->setCountryState($this->denormalizer->denormalize($data['country_state'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartCountryState', 'json', $context)); + if (\array_key_exists('country_state', $data) && $data['country_state'] !== null) { + $object->setCountryState($this->denormalizer->denormalize($data['country_state'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartOrganizationCountryState', 'json', $context)); unset($data['country_state']); + } elseif (\array_key_exists('country_state', $data) && $data['country_state'] === null) { + $object->setCountryState(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/GetVirtualMachinePartPackageIconNormalizer.php b/src/Normalizer/GetVirtualMachinePartPackageIconNormalizer.php new file mode 100644 index 00000000..372d3966 --- /dev/null +++ b/src/Normalizer/GetVirtualMachinePartPackageIconNormalizer.php @@ -0,0 +1,122 @@ +setUrl($data['url']); + unset($data['url']); + } + if (\array_key_exists('file_name', $data)) { + $object->setFileName($data['file_name']); + unset($data['file_name']); + } + if (\array_key_exists('file_type', $data)) { + $object->setFileType($data['file_type']); + unset($data['file_type']); + } + if (\array_key_exists('file_size', $data)) { + $object->setFileSize($data['file_size']); + unset($data['file_size']); + } + if (\array_key_exists('digest', $data)) { + $object->setDigest($data['digest']); + unset($data['digest']); + } + if (\array_key_exists('token', $data)) { + $object->setToken($data['token']); + unset($data['token']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('url') && null !== $object->getUrl()) { + $data['url'] = $object->getUrl(); + } + if ($object->isInitialized('fileName') && null !== $object->getFileName()) { + $data['file_name'] = $object->getFileName(); + } + if ($object->isInitialized('fileType') && null !== $object->getFileType()) { + $data['file_type'] = $object->getFileType(); + } + if ($object->isInitialized('fileSize') && null !== $object->getFileSize()) { + $data['file_size'] = $object->getFileSize(); + } + if ($object->isInitialized('digest') && null !== $object->getDigest()) { + $data['digest'] = $object->getDigest(); + } + if ($object->isInitialized('token') && null !== $object->getToken()) { + $data['token'] = $object->getToken(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartPackageIcon' => false]; + } +} diff --git a/src/Normalizer/GetVirtualMachinePartPackageNormalizer.php b/src/Normalizer/GetVirtualMachinePartPackageNormalizer.php index 73572cc0..15996a33 100644 --- a/src/Normalizer/GetVirtualMachinePartPackageNormalizer.php +++ b/src/Normalizer/GetVirtualMachinePartPackageNormalizer.php @@ -77,17 +77,21 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setStorageInGb($data['storage_in_gb']); unset($data['storage_in_gb']); } - if (\array_key_exists('monthly_bandwidth_allowance_in_gb', $data)) { + if (\array_key_exists('monthly_bandwidth_allowance_in_gb', $data) && $data['monthly_bandwidth_allowance_in_gb'] !== null) { $object->setMonthlyBandwidthAllowanceInGb($data['monthly_bandwidth_allowance_in_gb']); unset($data['monthly_bandwidth_allowance_in_gb']); + } elseif (\array_key_exists('monthly_bandwidth_allowance_in_gb', $data) && $data['monthly_bandwidth_allowance_in_gb'] === null) { + $object->setMonthlyBandwidthAllowanceInGb(null); } if (\array_key_exists('privacy', $data)) { $object->setPrivacy($data['privacy']); unset($data['privacy']); } - if (\array_key_exists('icon', $data)) { - $object->setIcon($this->denormalizer->denormalize($data['icon'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartIcon', 'json', $context)); + if (\array_key_exists('icon', $data) && $data['icon'] !== null) { + $object->setIcon($this->denormalizer->denormalize($data['icon'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartPackageIcon', 'json', $context)); unset($data['icon']); + } elseif (\array_key_exists('icon', $data) && $data['icon'] === null) { + $object->setIcon(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/GetVirtualMachinePartZoneDataCenterNormalizer.php b/src/Normalizer/GetVirtualMachinePartZoneDataCenterNormalizer.php new file mode 100644 index 00000000..9cfc0937 --- /dev/null +++ b/src/Normalizer/GetVirtualMachinePartZoneDataCenterNormalizer.php @@ -0,0 +1,110 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); + } + if (\array_key_exists('country', $data)) { + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartDataCenterCountry', 'json', $context)); + unset($data['country']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + if ($object->isInitialized('country') && null !== $object->getCountry()) { + $data['country'] = $this->normalizer->normalize($object->getCountry(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartZoneDataCenter' => false]; + } +} diff --git a/src/Normalizer/GetVirtualMachinePartZoneNormalizer.php b/src/Normalizer/GetVirtualMachinePartZoneNormalizer.php index 6b0a2037..1982a324 100644 --- a/src/Normalizer/GetVirtualMachinePartZoneNormalizer.php +++ b/src/Normalizer/GetVirtualMachinePartZoneNormalizer.php @@ -57,12 +57,14 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartZoneDataCenter', 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildNormalizer.php b/src/Normalizer/GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildNormalizer.php index 7cce593f..24d334ab 100644 --- a/src/Normalizer/GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildNormalizer.php +++ b/src/Normalizer/GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildNormalizer.php @@ -61,9 +61,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setState($data['state']); unset($data['state']); } - if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachine', 'json', $context)); + if (\array_key_exists('virtual_machine', $data) && $data['virtual_machine'] !== null) { + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine', 'json', $context)); unset($data['virtual_machine']); + } elseif (\array_key_exists('virtual_machine', $data) && $data['virtual_machine'] === null) { + $object->setVirtualMachine(null); } if (\array_key_exists('created_at', $data)) { $object->setCreatedAt($data['created_at']); diff --git a/src/Normalizer/GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachineNormalizer.php b/src/Normalizer/GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachineNormalizer.php new file mode 100644 index 00000000..ea6df602 --- /dev/null +++ b/src/Normalizer/GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachineNormalizer.php @@ -0,0 +1,115 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('hostname', $data)) { + $object->setHostname($data['hostname']); + unset($data['hostname']); + } + if (\array_key_exists('fqdn', $data)) { + $object->setFqdn($data['fqdn']); + unset($data['fqdn']); + } + if (\array_key_exists('state', $data)) { + $object->setState($data['state']); + unset($data['state']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('hostname') && null !== $object->getHostname()) { + $data['hostname'] = $object->getHostname(); + } + if ($object->isInitialized('fqdn') && null !== $object->getFqdn()) { + $data['fqdn'] = $object->getFqdn(); + } + if ($object->isInitialized('state') && null !== $object->getState()) { + $data['state'] = $object->getState(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine' => false]; + } +} diff --git a/src/Normalizer/GetZones200ResponseZonesDataCenterNormalizer.php b/src/Normalizer/GetZones200ResponseZonesDataCenterNormalizer.php new file mode 100644 index 00000000..b3f4a469 --- /dev/null +++ b/src/Normalizer/GetZones200ResponseZonesDataCenterNormalizer.php @@ -0,0 +1,103 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetZones200ResponseZonesDataCenter' => false]; + } +} diff --git a/src/Normalizer/GetZones200ResponseZonesNormalizer.php b/src/Normalizer/GetZones200ResponseZonesNormalizer.php index 99740327..09afd410 100644 --- a/src/Normalizer/GetZones200ResponseZonesNormalizer.php +++ b/src/Normalizer/GetZones200ResponseZonesNormalizer.php @@ -57,12 +57,14 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetZonesPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetZones200ResponseZonesDataCenter', 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/GetZonesPartDataCenterNormalizer.php b/src/Normalizer/GetZonesPartDataCenterNormalizer.php index cb62239e..9dcb56e8 100644 --- a/src/Normalizer/GetZonesPartDataCenterNormalizer.php +++ b/src/Normalizer/GetZonesPartDataCenterNormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/GpuTypesGetResponse200PaginationNormalizer.php b/src/Normalizer/GpuTypesGetResponse200PaginationNormalizer.php index 0dab82bd..2a011c2a 100644 --- a/src/Normalizer/GpuTypesGetResponse200PaginationNormalizer.php +++ b/src/Normalizer/GpuTypesGetResponse200PaginationNormalizer.php @@ -53,13 +53,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCurrentPage($data['current_page']); unset($data['current_page']); } - if (\array_key_exists('total_pages', $data)) { + if (\array_key_exists('total_pages', $data) && $data['total_pages'] !== null) { $object->setTotalPages($data['total_pages']); unset($data['total_pages']); + } elseif (\array_key_exists('total_pages', $data) && $data['total_pages'] === null) { + $object->setTotalPages(null); } - if (\array_key_exists('total', $data)) { + if (\array_key_exists('total', $data) && $data['total'] !== null) { $object->setTotal($data['total']); unset($data['total']); + } elseif (\array_key_exists('total', $data) && $data['total'] === null) { + $object->setTotal(null); } if (\array_key_exists('per_page', $data)) { $object->setPerPage($data['per_page']); diff --git a/src/Normalizer/GpuTypesGpuTypeGetResponse200GpuTypeNormalizer.php b/src/Normalizer/GpuTypesGpuTypeGetResponse200GpuTypeNormalizer.php index 861c068b..1a734b6b 100644 --- a/src/Normalizer/GpuTypesGpuTypeGetResponse200GpuTypeNormalizer.php +++ b/src/Normalizer/GpuTypesGpuTypeGetResponse200GpuTypeNormalizer.php @@ -76,7 +76,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('data_centers', $data)) { $values = []; foreach ($data['data_centers'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetGPUTypePartDataCenters', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetGPUType200ResponseGPUTypeDataCentersItem', 'json', $context); } $object->setDataCenters($values); unset($data['data_centers']); diff --git a/src/Normalizer/IPAddressNetworkNormalizer.php b/src/Normalizer/IPAddressNetworkNormalizer.php new file mode 100644 index 00000000..b0725918 --- /dev/null +++ b/src/Normalizer/IPAddressNetworkNormalizer.php @@ -0,0 +1,110 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); + } + if (\array_key_exists('data_center', $data)) { + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\NetworkDataCenter', 'json', $context)); + unset($data['data_center']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + if ($object->isInitialized('dataCenter') && null !== $object->getDataCenter()) { + $data['data_center'] = $this->normalizer->normalize($object->getDataCenter(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\IPAddressNetwork' => false]; + } +} diff --git a/src/Normalizer/IPAddressNormalizer.php b/src/Normalizer/IPAddressNormalizer.php index d006a037..1620ee94 100644 --- a/src/Normalizer/IPAddressNormalizer.php +++ b/src/Normalizer/IPAddressNormalizer.php @@ -65,25 +65,31 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setVip($data['vip']); unset($data['vip']); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); unset($data['label']); + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { + $object->setLabel(null); } if (\array_key_exists('address_with_mask', $data)) { $object->setAddressWithMask($data['address_with_mask']); unset($data['address_with_mask']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\Network', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\IPAddressNetwork', 'json', $context)); unset($data['network']); } - if (\array_key_exists('allocation_id', $data)) { + if (\array_key_exists('allocation_id', $data) && $data['allocation_id'] !== null) { $object->setAllocationId($data['allocation_id']); unset($data['allocation_id']); + } elseif (\array_key_exists('allocation_id', $data) && $data['allocation_id'] === null) { + $object->setAllocationId(null); } - if (\array_key_exists('allocation_type', $data)) { + if (\array_key_exists('allocation_type', $data) && $data['allocation_type'] !== null) { $object->setAllocationType($data['allocation_type']); unset($data['allocation_type']); + } elseif (\array_key_exists('allocation_type', $data) && $data['allocation_type'] === null) { + $object->setAllocationType(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/ISONormalizer.php b/src/Normalizer/ISONormalizer.php index 5be6b0ca..02732949 100644 --- a/src/Normalizer/ISONormalizer.php +++ b/src/Normalizer/ISONormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('operating_system', $data)) { - $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'Krystal\\Katapult\\KatapultAPI\\Model\\OperatingSystem', 'json', $context)); + if (\array_key_exists('operating_system', $data) && $data['operating_system'] !== null) { + $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'Krystal\\Katapult\\KatapultAPI\\Model\\ISOOperatingSystem', 'json', $context)); unset($data['operating_system']); + } elseif (\array_key_exists('operating_system', $data) && $data['operating_system'] === null) { + $object->setOperatingSystem(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/ISOOperatingSystemNormalizer.php b/src/Normalizer/ISOOperatingSystemNormalizer.php new file mode 100644 index 00000000..86c6678d --- /dev/null +++ b/src/Normalizer/ISOOperatingSystemNormalizer.php @@ -0,0 +1,103 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('badge', $data) && $data['badge'] !== null) { + $object->setBadge($this->denormalizer->denormalize($data['badge'], 'Krystal\\Katapult\\KatapultAPI\\Model\\OperatingSystemBadge', 'json', $context)); + unset($data['badge']); + } elseif (\array_key_exists('badge', $data) && $data['badge'] === null) { + $object->setBadge(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('badge') && null !== $object->getBadge()) { + $data['badge'] = $this->normalizer->normalize($object->getBadge(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\ISOOperatingSystem' => false]; + } +} diff --git a/src/Normalizer/InvalidAPITokenNormalizer.php b/src/Normalizer/InvalidAPITokenNormalizer.php index 4630e735..92f63287 100644 --- a/src/Normalizer/InvalidAPITokenNormalizer.php +++ b/src/Normalizer/InvalidAPITokenNormalizer.php @@ -49,9 +49,11 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('details', $data)) { + if (\array_key_exists('details', $data) && $data['details'] !== null) { $object->setDetails($data['details']); unset($data['details']); + } elseif (\array_key_exists('details', $data) && $data['details'] === null) { + $object->setDetails(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/IpAddressesIpAddressGetResponse200IpAddressNormalizer.php b/src/Normalizer/IpAddressesIpAddressGetResponse200IpAddressNormalizer.php index dfc847b3..3b3b40f6 100644 --- a/src/Normalizer/IpAddressesIpAddressGetResponse200IpAddressNormalizer.php +++ b/src/Normalizer/IpAddressesIpAddressGetResponse200IpAddressNormalizer.php @@ -65,25 +65,31 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setVip($data['vip']); unset($data['vip']); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); unset($data['label']); + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { + $object->setLabel(null); } if (\array_key_exists('address_with_mask', $data)) { $object->setAddressWithMask($data['address_with_mask']); unset($data['address_with_mask']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\Network', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\IPAddressNetwork', 'json', $context)); unset($data['network']); } - if (\array_key_exists('allocation_id', $data)) { + if (\array_key_exists('allocation_id', $data) && $data['allocation_id'] !== null) { $object->setAllocationId($data['allocation_id']); unset($data['allocation_id']); + } elseif (\array_key_exists('allocation_id', $data) && $data['allocation_id'] === null) { + $object->setAllocationId(null); } - if (\array_key_exists('allocation_type', $data)) { + if (\array_key_exists('allocation_type', $data) && $data['allocation_type'] !== null) { $object->setAllocationType($data['allocation_type']); unset($data['allocation_type']); + } elseif (\array_key_exists('allocation_type', $data) && $data['allocation_type'] === null) { + $object->setAllocationType(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/IpAddressesIpAddressPatchResponse200IpAddressNormalizer.php b/src/Normalizer/IpAddressesIpAddressPatchResponse200IpAddressNormalizer.php index 5467f32f..bd945f05 100644 --- a/src/Normalizer/IpAddressesIpAddressPatchResponse200IpAddressNormalizer.php +++ b/src/Normalizer/IpAddressesIpAddressPatchResponse200IpAddressNormalizer.php @@ -65,25 +65,31 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setVip($data['vip']); unset($data['vip']); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); unset($data['label']); + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { + $object->setLabel(null); } if (\array_key_exists('address_with_mask', $data)) { $object->setAddressWithMask($data['address_with_mask']); unset($data['address_with_mask']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\Network', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\IPAddressNetwork', 'json', $context)); unset($data['network']); } - if (\array_key_exists('allocation_id', $data)) { + if (\array_key_exists('allocation_id', $data) && $data['allocation_id'] !== null) { $object->setAllocationId($data['allocation_id']); unset($data['allocation_id']); + } elseif (\array_key_exists('allocation_id', $data) && $data['allocation_id'] === null) { + $object->setAllocationId(null); } - if (\array_key_exists('allocation_type', $data)) { + if (\array_key_exists('allocation_type', $data) && $data['allocation_type'] !== null) { $object->setAllocationType($data['allocation_type']); unset($data['allocation_type']); + } elseif (\array_key_exists('allocation_type', $data) && $data['allocation_type'] === null) { + $object->setAllocationType(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/JaneObjectNormalizer.php b/src/Normalizer/JaneObjectNormalizer.php index a274b629..aac58e7c 100644 --- a/src/Normalizer/JaneObjectNormalizer.php +++ b/src/Normalizer/JaneObjectNormalizer.php @@ -25,7 +25,7 @@ class JaneObjectNormalizer implements DenormalizerInterface, NormalizerInterface use NormalizerAwareTrait; use CheckArray; use ValidatorTrait; - protected $normalizers = ['Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenters200ResponseDataCenters' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDataCenters200ResponseDataCentersNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCentersPartCountry' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDataCentersPartCountryNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\UnauthorizedNetworkForAPIToken' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\UnauthorizedNetworkForAPITokenNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\UnauthorizedNetworkForAPITokenSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\UnauthorizedNetworkForAPITokenSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\InvalidAPIToken' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\InvalidAPITokenNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\InvalidAPITokenSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\InvalidAPITokenSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ScopeNotGrantedError' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ScopeNotGrantedErrorNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ScopeNotGrantedErrorSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ScopeNotGrantedErrorSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\RateLimitReached' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\RateLimitReachedNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenter200ResponseDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDataCenter200ResponseDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenterPartCountry' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDataCenterPartCountryNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenterDefaultNetwork200ResponseNetwork' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDataCenterDefaultNetwork200ResponseNetworkNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenterDefaultNetworkPartDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDataCenterDefaultNetworkPartDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizations200ResponseOrganizations' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizations200ResponseOrganizationsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\Organization' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\Currency' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CurrencyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\Country' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CountryNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\CountryState' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CountryStateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationSuspendedSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationSuspendedSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationNotActivatedSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationNotActivatedSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PaginationObject' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PaginationObjectNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationUsersWithAccess200ResponseUsers' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationUsersWithAccess200ResponseUsersNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationUsersWithAccessPartUser' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationUsersWithAccessPartUserNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationManaged200ResponseOrganizations' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationManaged200ResponseOrganizationsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManaged201ResponseOrganization' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationManaged201ResponseOrganizationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManagedPartCurrency' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationManagedPartCurrencyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManagedPartCountry' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationManagedPartCountryNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManagedPartCountryState' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationManagedPartCountryStateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationLimitReachedSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationLimitReachedSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ValidationError' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ValidationErrorNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ValidationErrorSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ValidationErrorSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDisks200ResponseDisk' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationDisks200ResponseDiskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDisksPartVirtualMachineDisk' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationDisksPartVirtualMachineDiskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDisksPartVirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationDisksPartVirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDisk200ResponseDisk' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDisk200ResponseDiskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartIOProfile' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskPartIOProfileNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartVirtualMachineDisk' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskPartVirtualMachineDiskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartVirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskPartVirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartInstallation' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskPartInstallationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartDiskTemplateVersion' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskPartDiskTemplateVersionNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartDiskTemplate' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskPartDiskTemplateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartOperatingSystem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskPartOperatingSystemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartAttributes' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskPartAttributesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineDisks200ResponseDisks' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachineDisks200ResponseDisksNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineDisksPartDisk' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachineDisksPartDiskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ObjectInTrash' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ObjectInTrashNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObject' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TrashObjectNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplates' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationDiskTemplates200ResponseDiskTemplatesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDiskTemplatesPartLatestVersion' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationDiskTemplatesPartLatestVersionNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDiskTemplatesPartOperatingSystem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationDiskTemplatesPartOperatingSystemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationNotFoundSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationNotFoundSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OperatingSystemNotFoundSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OperatingSystemNotFoundSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplate200ResponseDiskTemplate' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskTemplate200ResponseDiskTemplateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplatePartLatestVersion' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskTemplatePartLatestVersionNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplatePartOperatingSystem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskTemplatePartOperatingSystemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplatePartBadge' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskTemplatePartBadgeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersions200ResponseDiskTemplate' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskTemplateVersions200ResponseDiskTemplateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersions200ResponseDiskTemplateVersions' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskTemplateVersions200ResponseDiskTemplateVersionsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersion200ResponseDiskTemplateVersion' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskTemplateVersion200ResponseDiskTemplateVersionNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersionPartDiskTemplate' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskTemplateVersionPartDiskTemplateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersionSpec200ResponseDiskTemplateVersion' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskTemplateVersionSpec200ResponseDiskTemplateVersionNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersionSpecPartDiskTemplate' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskTemplateVersionSpecPartDiskTemplateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TemplateSpec' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TemplateSpecNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TemplateSpecField' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TemplateSpecFieldNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetGPUTypes200ResponseGPUTypes' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetGPUTypes200ResponseGPUTypesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetGPUTypesPartDataCenters' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetGPUTypesPartDataCentersNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetGPUType200ResponseGPUType' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetGPUType200ResponseGPUTypeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetGPUTypePartDataCenters' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetGPUTypePartDataCentersNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenterGPUTypes200ResponseGPUTypes' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDataCenterGPUTypes200ResponseGPUTypesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachines' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationVirtualMachines200ResponseVirtualMachinesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachinesPartZone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationVirtualMachinesPartZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachinesPartDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationVirtualMachinesPartDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachinesPartPackage' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationVirtualMachinesPartPackageNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachinesPartGPUType' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationVirtualMachinesPartGPUTypeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachinesPartIPAddresses' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationVirtualMachinesPartIPAddressesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachine200ResponseVirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartZone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartCountry' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartCountryNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartOrganization' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartOrganizationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartCurrency' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartCurrencyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartCountryState' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartCountryStateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartPackage' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartPackageNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartIcon' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartIconNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartAttachedISO' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartAttachedISONormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartOperatingSystem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartOperatingSystemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartBadge' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartBadgeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartGPUType' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartGPUTypeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartGPUs' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartGPUsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartType' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartTypeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartTags' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartTagsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartIPAddresses' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartIPAddressesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartNetwork' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartNetworkNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineArguments' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineArgumentsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GPUTypeLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GPUTypeLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineGroupLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachine200ResponseVirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartZone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartCountry' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartCountryNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartOrganization' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartOrganizationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartCurrency' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartCurrencyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartCountryState' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartCountryStateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartPackage' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartPackageNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartIcon' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartIconNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartAttachedISO' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartAttachedISONormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartOperatingSystem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartOperatingSystemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartBadge' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartBadgeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartGPUType' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartGPUTypeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartGPUs' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartGPUsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartType' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartTypeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartTags' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartTagsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartIPAddresses' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartIPAddressesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartNetwork' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartNetworkNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachine200ResponseVirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartZone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartCountry' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartCountryNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartOrganization' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartOrganizationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartCurrency' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartCurrencyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartCountryState' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartCountryStateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartPackage' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartPackageNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartIcon' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartIconNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartAttachedISO' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartAttachedISONormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartOperatingSystem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartOperatingSystemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartBadge' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartBadgeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartGPUType' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartGPUTypeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartGPUs' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartGPUsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartType' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartTypeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartTags' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartTagsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartIPAddresses' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartIPAddressesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartNetwork' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartNetworkNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PermissionDenied' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PermissionDeniedNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PermissionDeniedSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PermissionDeniedSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinePackageLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinePackageLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\Task' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNotFoundSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineNotFoundSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinePackageNotFoundSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinePackageNotFoundSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ObjectInTrashSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ObjectInTrashSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TaskQueueingError' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TaskQueueingErrorNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TaskQueueingErrorSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TaskQueueingErrorSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineFlexibleResources' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineFlexibleResourcesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\FlexibleResourcesUnavailableToOrganizationSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\FlexibleResourcesUnavailableToOrganizationSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\IPAddressLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\IPAddressLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\IPAddress' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\IPAddressNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\Network' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\NetworkNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\IPAddressNotFoundSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\IPAddressNotFoundSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\NoInterfaceAvailableSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\NoInterfaceAvailableSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\IPAlreadyAllocatedSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\IPAlreadyAllocatedSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ZoneLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ZoneLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCenterLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DataCenterLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskTemplateLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\KeyValue' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\KeyValueNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\NetworkLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\NetworkLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationVirtualMachinesBuild201ResponseTask' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationVirtualMachinesBuild201ResponseTaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationVirtualMachinesBuild201ResponseBuild' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationVirtualMachinesBuild201ResponseBuildNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuild' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuildNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResourceCreationRestricted' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResourceCreationRestrictedNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResourceCreationRestrictedSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResourceCreationRestrictedSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ZoneNotFoundSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ZoneNotFoundSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCenterNotFoundSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DataCenterNotFoundSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateNotFoundSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskTemplateNotFoundSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\NetworkNotFoundSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\NetworkNotFoundSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LocationRequiredSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LocationRequiredSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseTask' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseTaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuild' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuildNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuild' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuildNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\APIAuthenticator400Schema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\APIAuthenticator400SchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\InvalidSpecXML' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\InvalidSpecXMLNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\InvalidSpecXMLSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\InvalidSpecXMLSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuild' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineStart200ResponseTask' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostVirtualMachineStart200ResponseTaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineStop200ResponseTask' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostVirtualMachineStop200ResponseTaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineShutdown200ResponseTask' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostVirtualMachineShutdown200ResponseTaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineReset200ResponseTask' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostVirtualMachineReset200ResponseTaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineConsoleSessions201ResponseConsoleSession' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostVirtualMachineConsoleSessions201ResponseConsoleSessionNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineConsoleSessionsPartVirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostVirtualMachineConsoleSessionsPartVirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineMustBeStarted' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineMustBeStartedNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineMustBeStartedSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineMustBeStartedSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePackages200ResponseVirtualMachinePackages' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePackages200ResponseVirtualMachinePackagesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePackagesPartIcon' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePackagesPartIconNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinePackage' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinePackageNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\Attachment' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\AttachmentNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\AuthSSHKey' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\AuthSSHKeyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\AuthSSHKeyProperties' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\AuthSSHKeyPropertiesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\AuthSSHKeyLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\AuthSSHKeyLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeletionRestricted' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeletionRestrictedNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPolicies' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPolicyTarget' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskBackupPolicyTargetNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\Zone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ISO' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ISONormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OperatingSystem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OperatingSystemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GPUType' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GPUTypeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGPU' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineGPUNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\Tag' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TagNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\Disk' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskIOProfile' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskIOProfileNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineDisk' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineDiskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskInstallation' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskInstallationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateVersion' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskTemplateVersionNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplate' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskTemplateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskInstallationAttribute' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskInstallationAttributeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDiskBackupPoliciesPartSchedule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationDiskBackupPoliciesPartScheduleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicies' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineDiskBackupPoliciesPartSchedule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachineDiskBackupPoliciesPartScheduleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskDiskBackupPolicies200ResponseDiskBackupPolicies' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskDiskBackupPoliciesPartSchedule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskDiskBackupPoliciesPartScheduleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskBackupPolicy200ResponseDiskBackupPolicy' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskBackupPolicyPartSchedule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskBackupPolicyPartScheduleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPolicyLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskBackupPolicyLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteDiskBackupPolicy200ResponseDiskBackupPolicy' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicy' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\InvalidTimestampSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\InvalidTimestampSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPolicyArguments' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskBackupPolicyArgumentsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ScheduleArguments' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ScheduleArgumentsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchDiskBackupPolicy200ResponseDiskBackupPolicy' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicy' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineDiskBackupPoliciesPartSchedule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostVirtualMachineDiskBackupPoliciesPartScheduleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostDiskDiskBackupPolicies200ResponseDiskBackupPolicy' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostDiskDiskBackupPolicies200ResponseDiskBackupPolicyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostDiskDiskBackupPoliciesPartSchedule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostDiskDiskBackupPoliciesPartScheduleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSZone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSZoneArguments' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSZoneArgumentsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationDNSZones201ResponseDNSZone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationDNSZones201ResponseDNSZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSZoneLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSZoneLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteDNSZonesDNSZone200ResponseDNSZone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteDNSZonesDNSZone200ResponseDNSZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSZoneVerificationDetails' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSZoneVerificationDetailsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\InfrastructureDNSZoneCannotBeEditedSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\InfrastructureDNSZoneCannotBeEditedSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSZoneNotVerified' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSZoneNotVerifiedNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostDNSZonesDNSZoneUpdateTTL200ResponseDNSZone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostDNSZonesDNSZoneUpdateTTL200ResponseDNSZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDNSZonesDNSZoneRecords200ResponseDNSRecords' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDNSZonesDNSZoneRecords200ResponseDNSRecordsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordProperties' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSRecordPropertiesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\A' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ANormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\AAAA' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\AAAANormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\CAA' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CAANormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\CNAME' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CNAMENormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\MX' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\MXNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\NS' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\NSNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SRV' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SRVNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SSHFP' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SSHFPNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TXT' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TXTNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ALIAS' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ALIASNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordArguments' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSRecordArgumentsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordPropertiesArguments' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSRecordPropertiesArgumentsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostDNSZonesDNSZoneRecords200ResponseDNSRecord' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostDNSZonesDNSZoneRecords200ResponseDNSRecordNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDNSRecordsDNSRecord200ResponseDNSRecord' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDNSRecordsDNSRecord200ResponseDNSRecordNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSRecordLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchDNSRecordsDNSRecord200ResponseDNSRecord' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchDNSRecordsDNSRecord200ResponseDNSRecordNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationsOrganizationDNSZones201ResponseDNSZone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationsOrganizationDNSZones201ResponseDNSZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecord' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSRecordNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributes' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSRecordContentAttributesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForA' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\RecordContentAttributesForANormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForAAAA' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\RecordContentAttributesForAAAANormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForALIAS' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\RecordContentAttributesForALIASNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForCAA' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\RecordContentAttributesForCAANormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForCNAME' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\RecordContentAttributesForCNAMENormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForIPS' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\RecordContentAttributesForIPSNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForMX' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\RecordContentAttributesForMXNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForNS' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\RecordContentAttributesForNSNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForPTR' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\RecordContentAttributesForPTRNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForSRV' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\RecordContentAttributesForSRVNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForSSHFP' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\RecordContentAttributesForSSHFPNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForTXT' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\RecordContentAttributesForTXTNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForVirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\RecordContentAttributesForVirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupArguments' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupArgumentsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteSecurityGroup200ResponseSecurityGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteSecurityGroup200ResponseSecurityGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetSecurityGroupRules200ResponseSecurityGroupRules' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetSecurityGroupRules200ResponseSecurityGroupRulesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupRuleArguments' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupRuleArgumentsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostSecurityGroupRules200ResponseSecurityGroupRule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostSecurityGroupRules200ResponseSecurityGroupRuleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostSecurityGroupRulesPartSecurityGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostSecurityGroupRulesPartSecurityGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupRuleLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupRuleLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumes' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationFileStorageVolumesPartDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationFileStorageVolumesPartDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetFileStorageVolume200ResponseFileStorageVolume' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetFileStorageVolume200ResponseFileStorageVolumeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetFileStorageVolumePartDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetFileStorageVolumePartDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumeArguments' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\FileStorageVolumeArgumentsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationFileStorageVolumes201ResponseFileStorageVolume' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationFileStorageVolumes201ResponseFileStorageVolumeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationFileStorageVolumesPartDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationFileStorageVolumesPartDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumeLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\FileStorageVolumeLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchFileStorageVolume200ResponseFileStorageVolume' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchFileStorageVolume200ResponseFileStorageVolumeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchFileStorageVolumePartDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchFileStorageVolumePartDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteFileStorageVolume200ResponseFileStorageVolume' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteFileStorageVolume200ResponseFileStorageVolumeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteFileStorageVolumePartDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteFileStorageVolumePartDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationAvailableNetworks200ResponseNetworks' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationAvailableNetworks200ResponseNetworksNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationAvailableNetworksPartDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationAvailableNetworksPartDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationAvailableNetworks200ResponseVirtualNetworks' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationAvailableNetworks200ResponseVirtualNetworksNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\NetworkSpeedProfile' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\NetworkSpeedProfileNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationCertificates200ResponseCertificates' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationCertificates200ResponseCertificatesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\Certificate' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CertificateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationLoadBalancers200ResponseLoadBalancers' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationLoadBalancers200ResponseLoadBalancersNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancerResource' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancerResourceNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationLoadBalancersPartIPAddress' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationLoadBalancersPartIPAddressNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationLoadBalancersPartDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationLoadBalancersPartDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancerArguments' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancerArgumentsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancerWeightsArguments' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancerWeightsArgumentsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancers200ResponseLoadBalancer' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationLoadBalancers200ResponseLoadBalancerNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancersPartIPAddress' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationLoadBalancersPartIPAddressNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancersPartDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationLoadBalancersPartDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancersPartWeights' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationLoadBalancersPartWeightsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancer200ResponseLoadBalancer' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetLoadBalancer200ResponseLoadBalancerNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancerPartIPAddress' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetLoadBalancerPartIPAddressNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancerPartDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetLoadBalancerPartDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancerPartWeights' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetLoadBalancerPartWeightsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancerLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancerLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancer200ResponseLoadBalancer' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchLoadBalancer200ResponseLoadBalancerNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancerPartIPAddress' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchLoadBalancerPartIPAddressNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancerPartDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchLoadBalancerPartDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancerPartWeights' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchLoadBalancerPartWeightsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteLoadBalancer200ResponseLoadBalancer' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteLoadBalancer200ResponseLoadBalancerNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancerRules200ResponseLoadBalancerRules' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetLoadBalancerRules200ResponseLoadBalancerRulesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancerRulesPartCertificates' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetLoadBalancerRulesPartCertificatesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancerRuleArguments' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancerRuleArgumentsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\CertificateLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CertificateLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostLoadBalancerRules200ResponseLoadBalancerRule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostLoadBalancerRules200ResponseLoadBalancerRuleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostLoadBalancerRulesPartCertificates' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostLoadBalancerRulesPartCertificatesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostLoadBalancerRulesPartLoadBalancer' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostLoadBalancerRulesPartLoadBalancerNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancersRulesLoadBalancerRulePartCertificates' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetLoadBalancersRulesLoadBalancerRulePartCertificatesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancerNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancerRuleLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancerRuleLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartCertificates' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchLoadBalancersRulesLoadBalancerRulePartCertificatesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancerNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationIPAddresses200ResponseIPAddresses' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationIPAddresses200ResponseIPAddressesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetIPAddress200ResponseAllocation' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetIPAddress200ResponseAllocationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfaces' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfacesPartNetwork' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachineNetworkInterfacesPartNetworkNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfacesPartIPAddresses' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachineNetworkInterfacesPartIPAddressesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterface' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfacePartVirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachineNetworkInterfacePartVirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfacePartNetwork' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachineNetworkInterfacePartNetworkNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfacePartIPAddresses' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachineNetworkInterfacePartIPAddressesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\InterfaceNotFoundSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\InterfaceNotFoundSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterface' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNIPartVirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVMNIVMNIPartVirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNIPartNetwork' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVMNIVMNIPartNetworkNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNIPartIPAddresses' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVMNIVMNIPartIPAddressesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNIPartSpeedProfile' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVMNIVMNIPartSpeedProfileNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfaceLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineNetworkInterfaceLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterface' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostVirtualMachineNetworkInterfaceAllocateIPPartNetworkNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddressesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfaceNotFoundSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineNetworkInterfaceNotFoundSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\InvalidIPSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\InvalidIPSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\NetworkSpeedProfileLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\NetworkSpeedProfileLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\NetworkSpeedProfileNotFoundSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\NetworkSpeedProfileNotFoundSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationTags200ResponseTags' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationTags200ResponseTagsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TagArguments' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TagArgumentsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TagLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TagLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupArguments' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineGroupArgumentsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOperatingSystems200ResponseOperatingSystems' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOperatingSystems200ResponseOperatingSystemsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TrashObjectLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetZones200ResponseZones' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetZones200ResponseZonesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetZonesPartDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetZonesPartDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetCountries200ResponseCountries' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetCountries200ResponseCountriesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetCountryCountryStates200ResponseCountryStates' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetCountryCountryStates200ResponseCountryStatesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetCurrencies200ResponseCurrencies' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetCurrencies200ResponseCurrenciesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\User' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\UserNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetUsersCurrent200ResponseOrganizations' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetUsersCurrent200ResponseOrganizationsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\IdentityNotLinkedToWebSessionSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\IdentityNotLinkedToWebSessionSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseAPIAuthenticator400Response' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseAPIAuthenticator400ResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseAPIAuthenticator429Response' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseAPIAuthenticator429ResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDataCenterNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseDataCenterNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseOrganizationNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseOrganizationNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDiskNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseDiskNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseVirtualMachineNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseVirtualMachineNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseObjectInTrashResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseObjectInTrashResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDiskTemplateNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseDiskTemplateNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDiskTemplateVersionNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseDiskTemplateVersionNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseGPUTypeNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseGPUTypeNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseValidationErrorResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseValidationErrorResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseVirtualMachineBuildNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseVirtualMachineBuildNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseVirtualMachinePackageNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseVirtualMachinePackageNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseSSHKeyNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseSSHKeyNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDeletionRestrictedResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseDeletionRestrictedResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDiskBackupPolicyNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseDiskBackupPolicyNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDNSZoneNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseDNSZoneNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDNSZoneAlreadyVerifiedResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseDNSZoneAlreadyVerifiedResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDNSZoneNotVerifiedResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseDNSZoneNotVerifiedResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDNSRecordNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseDNSRecordNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseSecurityGroupNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseSecurityGroupNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseSecurityGroupRuleNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseSecurityGroupRuleNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseFileStorageVolumeNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseFileStorageVolumeNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseNetworkNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseNetworkNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseCertificateNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseCertificateNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseLoadBalancerNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseLoadBalancerNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseLoadBalancerRuleNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseLoadBalancerRuleNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseNoAvailableAddressesResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseNoAvailableAddressesResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseIPAddressNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseIPAddressNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseResourceDoesNotSupportUnallocationResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseResourceDoesNotSupportUnallocationResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseNoAllocationResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseNoAllocationResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseVirtualMachineNetworkInterfaceNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseVirtualMachineNetworkInterfaceNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseTaskQueueingErrorResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseTaskQueueingErrorResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseSpeedProfileAlreadyAssignedResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseSpeedProfileAlreadyAssignedResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseTagNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseTagNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseVirtualMachineGroupNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseVirtualMachineGroupNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseOperatingSystemNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseOperatingSystemNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseTrashObjectNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseTrashObjectNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseZoneNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseZoneNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseCountryNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseCountryNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseCountryStateNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseCountryStateNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseCurrencyNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseCurrencyNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseTaskNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseTaskNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseNoUserAssociatedWithIdentityResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseNoUserAssociatedWithIdentityResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCentersGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DataCentersGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCentersDataCenterGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DataCentersDataCenterGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCentersDataCenterGetResponse200DataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DataCentersDataCenterGetResponse200DataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCentersDataCenterDefaultNetworkGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DataCentersDataCenterDefaultNetworkGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCentersDataCenterDefaultNetworkGetResponse200Network' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DataCentersDataCenterDefaultNetworkGetResponse200NetworkNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationGetResponse200Organization' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationGetResponse200OrganizationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationUsersWithAccessGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationUsersWithAccessGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationUsersWithAccessGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationUsersWithAccessGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationManagedGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationManagedGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationManagedGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationManagedGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationManagedPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationManagedPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationManagedPostResponse201' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationManagedPostResponse201Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationManagedPostResponse201Organization' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationManagedPostResponse201OrganizationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDisksGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationDisksGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDisksGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationDisksGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DisksDiskGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DisksDiskGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DisksDiskGetResponse200Disk' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DisksDiskGetResponse200DiskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDisksGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineDisksGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDisksGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineDisksGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDiskTemplatesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationDiskTemplatesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDiskTemplatesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationDiskTemplatesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplatesDiskTemplateGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskTemplatesDiskTemplateGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplatesDiskTemplateGetResponse200DiskTemplate' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskTemplatesDiskTemplateGetResponse200DiskTemplateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplatesDiskTemplateVersionsGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskTemplatesDiskTemplateVersionsGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplatesDiskTemplateVersionsGetResponse200DiskTemplate' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskTemplatesDiskTemplateVersionsGetResponse200DiskTemplateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplatesDiskTemplateVersionsGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskTemplatesDiskTemplateVersionsGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateVersionsDiskTemplateVersionGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskTemplateVersionsDiskTemplateVersionGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersion' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersionNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersion' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersionNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GpuTypesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GpuTypesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GpuTypesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GpuTypesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GpuTypesGpuTypeGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GpuTypesGpuTypeGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GpuTypesGpuTypeGetResponse200GpuType' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GpuTypesGpuTypeGetResponse200GpuTypeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCentersDataCenterGpuTypesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DataCentersDataCenterGpuTypesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCentersDataCenterGpuTypesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DataCentersDataCenterGpuTypesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationVirtualMachinesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationVirtualMachinesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDeleteBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineDeleteBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDeleteResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineDeleteResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDeleteResponse200TrashObject' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineDeleteResponse200TrashObjectNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDeleteResponse200VirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineDeleteResponse200VirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineGetResponse200VirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineGetResponse200VirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachinePatchBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachinePatchBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachinePatchResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachinePatchResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachinePatchResponse200VirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachinePatchResponse200VirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachinePackagePutBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachinePackagePutBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachinePackagePutResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachinePackagePutResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachinePackagePutResponse200Task' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachinePackagePutResponse200TaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineFlexibleResourcesPutBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineFlexibleResourcesPutBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200Task' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200TaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineAllocateIpPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineAllocateIpPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineAllocateIpPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineAllocateIpPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddress' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddressNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationVirtualMachinesBuildPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Task' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201TaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Build' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201BuildNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201VirtualMachineBuild' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201VirtualMachineBuildNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Task' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201TaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Build' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201BuildNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201VirtualMachineBuild' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201VirtualMachineBuildNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesBuildsVirtualMachineBuildGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesBuildsVirtualMachineBuildGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesBuildsVirtualMachineBuildGetResponse200VirtualMachineBuild' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesBuildsVirtualMachineBuildGetResponse200VirtualMachineBuildNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineStartPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineStartPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineStartPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineStartPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineStartPostResponse200Task' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineStartPostResponse200TaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineStopPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineStopPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineStopPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineStopPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineStopPostResponse200Task' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineStopPostResponse200TaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineShutdownPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineShutdownPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineShutdownPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineShutdownPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineShutdownPostResponse200Task' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineShutdownPostResponse200TaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineResetPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineResetPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineResetPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineResetPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineResetPostResponse200Task' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineResetPostResponse200TaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineConsoleSessionsPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineConsoleSessionsPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201ConsoleSession' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201ConsoleSessionNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinePackagesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinePackagesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinePackagesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinePackagesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinePackagesVirtualMachinePackageGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinePackagesVirtualMachinePackageGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinePackagesVirtualMachinePackageGetResponse200VirtualMachinePackage' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinePackagesVirtualMachinePackageGetResponse200VirtualMachinePackageNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSshKeysGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationSshKeysGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSshKeysGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationSshKeysGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSshKeysPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationSshKeysPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSshKeysPostResponse201' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationSshKeysPostResponse201Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSshKeysPostResponse201SshKey' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationSshKeysPostResponse201SshKeyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SshKeysSshKeyDeleteBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SshKeysSshKeyDeleteBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SshKeysSshKeyDeleteResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SshKeysSshKeyDeleteResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SshKeysSshKeyDeleteResponse200SshKey' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SshKeysSshKeyDeleteResponse200SshKeyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDiskBackupPoliciesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationDiskBackupPoliciesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDiskBackupPoliciesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationDiskBackupPoliciesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicy' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DisksDiskDiskBackupPoliciesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DisksDiskDiskBackupPoliciesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DisksDiskDiskBackupPoliciesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DisksDiskDiskBackupPoliciesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DisksDiskDiskBackupPoliciesPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DisksDiskDiskBackupPoliciesPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DisksDiskDiskBackupPoliciesPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DisksDiskDiskBackupPoliciesPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicy' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyDeleteBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicy' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicy' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyPatchBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicy' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicy' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDnsZonesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationDnsZonesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDnsZonesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationDnsZonesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDnsZonesPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationDnsZonesPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDnsZonesPostResponse201' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationDnsZonesPostResponse201Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDnsZonesPostResponse201DnsZone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationDnsZonesPostResponse201DnsZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneDeleteBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZoneDeleteBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneDeleteResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZoneDeleteResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneDeleteResponse200DnsZone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZoneDeleteResponse200DnsZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZoneGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneGetResponse200DnsZone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZoneGetResponse200DnsZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneVerificationDetailsGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZoneVerificationDetailsGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneVerifyPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZoneVerifyPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneVerifyPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZoneVerifyPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneVerifyPostResponse200DnsZone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZoneVerifyPostResponse200DnsZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneUpdateTtlPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZoneUpdateTtlPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneUpdateTtlPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZoneUpdateTtlPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneUpdateTtlPostResponse200DnsZone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZoneUpdateTtlPostResponse200DnsZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneRecordsGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZoneRecordsGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneRecordsPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZoneRecordsPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneRecordsPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZoneRecordsPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneRecordsPostResponse200DnsRecord' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZoneRecordsPostResponse200DnsRecordNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsRecordsDnsRecordDeleteBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsRecordsDnsRecordDeleteBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsRecordsDnsRecordDeleteResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsRecordsDnsRecordDeleteResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsRecordsDnsRecordGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsRecordsDnsRecordGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsRecordsDnsRecordGetResponse200DnsRecord' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsRecordsDnsRecordGetResponse200DnsRecordNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsRecordsDnsRecordPatchBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsRecordsDnsRecordPatchBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsRecordsDnsRecordPatchResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsRecordsDnsRecordPatchResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsRecordsDnsRecordPatchResponse200DnsRecord' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsRecordsDnsRecordPatchResponse200DnsRecordNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDnsZonesNameserversGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationDnsZonesNameserversGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZonePatchBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZonePatchBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZonePatchResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZonePatchResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZonePatchResponse200DnsZone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZonePatchResponse200DnsZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSecurityGroupsGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationSecurityGroupsGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSecurityGroupsGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationSecurityGroupsGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSecurityGroupsPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationSecurityGroupsPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSecurityGroupsPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationSecurityGroupsPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupDeleteBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsSecurityGroupDeleteBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupDeleteResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsSecurityGroupDeleteResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupDeleteResponse200SecurityGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsSecurityGroupDeleteResponse200SecurityGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsSecurityGroupGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupGetResponse200SecurityGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsSecurityGroupGetResponse200SecurityGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupPatchBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsSecurityGroupPatchBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupPatchResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsSecurityGroupPatchResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupPatchResponse200SecurityGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsSecurityGroupPatchResponse200SecurityGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupRulesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsSecurityGroupRulesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupRulesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsSecurityGroupRulesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupRulesPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsSecurityGroupRulesPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupRulesPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsSecurityGroupRulesPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRuleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsRulesSecurityGroupRuleDeleteBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRuleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsRulesSecurityGroupRuleGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsRulesSecurityGroupRuleGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRuleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsRulesSecurityGroupRulePatchBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsRulesSecurityGroupRulePatchBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsRulesSecurityGroupRulePatchResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsRulesSecurityGroupRulePatchResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRuleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationFileStorageVolumesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationFileStorageVolumesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationFileStorageVolumesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationFileStorageVolumesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationFileStorageVolumesPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationFileStorageVolumesPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationFileStorageVolumesPostResponse201' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationFileStorageVolumesPostResponse201Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolume' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolumeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumeDeleteBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\FileStorageVolumesFileStorageVolumeDeleteBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumeDeleteResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\FileStorageVolumesFileStorageVolumeDeleteResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumeDeleteResponse200TrashObject' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\FileStorageVolumesFileStorageVolumeDeleteResponse200TrashObjectNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolume' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolumeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumeGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\FileStorageVolumesFileStorageVolumeGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolume' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolumeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumePatchBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\FileStorageVolumesFileStorageVolumePatchBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumePatchResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\FileStorageVolumesFileStorageVolumePatchResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolume' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolumeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationAvailableNetworksGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationAvailableNetworksGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\NetworksNetworkGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\NetworksNetworkGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\NetworksNetworkGetResponse200Network' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\NetworksNetworkGetResponse200NetworkNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationCertificatesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationCertificatesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationCertificatesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationCertificatesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\CertificatesCertificateGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CertificatesCertificateGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationLoadBalancersGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationLoadBalancersGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationLoadBalancersGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationLoadBalancersGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationLoadBalancersPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationLoadBalancersPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationLoadBalancersPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationLoadBalancersPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationLoadBalancersPostResponse200LoadBalancer' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationLoadBalancersPostResponse200LoadBalancerNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerDeleteBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersLoadBalancerDeleteBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerDeleteResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersLoadBalancerDeleteResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerDeleteResponse200LoadBalancer' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersLoadBalancerDeleteResponse200LoadBalancerNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersLoadBalancerGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerGetResponse200LoadBalancer' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersLoadBalancerGetResponse200LoadBalancerNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerPatchBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersLoadBalancerPatchBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerPatchResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersLoadBalancerPatchResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerPatchResponse200LoadBalancer' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersLoadBalancerPatchResponse200LoadBalancerNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerRulesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersLoadBalancerRulesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerRulesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersLoadBalancerRulesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerRulesPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersLoadBalancerRulesPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerRulesPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersLoadBalancerRulesPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRuleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersRulesLoadBalancerRuleDeleteBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRuleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersRulesLoadBalancerRuleGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersRulesLoadBalancerRuleGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRuleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersRulesLoadBalancerRulePatchBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersRulesLoadBalancerRulePatchBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersRulesLoadBalancerRulePatchResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersRulesLoadBalancerRulePatchResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRuleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationIpAddressesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationIpAddressesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationIpAddressesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationIpAddressesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationIpAddressesPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationIpAddressesPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationIpAddressesPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationIpAddressesPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationIpAddressesPostResponse200IpAddress' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationIpAddressesPostResponse200IpAddressNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressDeleteBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\IpAddressesIpAddressDeleteBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressDeleteResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\IpAddressesIpAddressDeleteResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\IpAddressesIpAddressGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressGetResponse200IpAddress' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\IpAddressesIpAddressGetResponse200IpAddressNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressGetResponse200Allocation' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\IpAddressesIpAddressGetResponse200AllocationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressPatchBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\IpAddressesIpAddressPatchBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressPatchResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\IpAddressesIpAddressPatchResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressPatchResponse200IpAddress' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\IpAddressesIpAddressPatchResponse200IpAddressNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressUnallocatePostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\IpAddressesIpAddressUnallocatePostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressUnallocatePostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\IpAddressesIpAddressUnallocatePostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterface' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterfaceNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterface' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterfaceNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterface' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterfaceNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddress' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddressNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Task' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200TaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTagsGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationTagsGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTagsGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationTagsGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTagsPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationTagsPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTagsPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationTagsPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTagsPostResponse200Tag' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationTagsPostResponse200TagNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TagsTagDeleteBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TagsTagDeleteBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TagsTagDeleteResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TagsTagDeleteResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TagsTagDeleteResponse200Tag' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TagsTagDeleteResponse200TagNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TagsTagGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TagsTagGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TagsTagGetResponse200Tag' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TagsTagGetResponse200TagNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TagsTagPatchBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TagsTagPatchBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TagsTagPatchResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TagsTagPatchResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TagsTagPatchResponse200Tag' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TagsTagPatchResponse200TagNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachineGroupsGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationVirtualMachineGroupsGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationVirtualMachineGroupsPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineGroupsVirtualMachineGroupDeleteBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupsVirtualMachineGroupGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineGroupsVirtualMachineGroupGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineGroupsVirtualMachineGroupPatchBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OperatingSystemsGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OperatingSystemsGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OperatingSystemsGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OperatingSystemsGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OperatingSystemsOperatingSystemGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OperatingSystemsOperatingSystemGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OperatingSystemsOperatingSystemGetResponse200OperatingSystem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OperatingSystemsOperatingSystemGetResponse200OperatingSystemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTrashObjectsGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationTrashObjectsGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTrashObjectsGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationTrashObjectsGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTrashObjectsPurgeAllPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationTrashObjectsPurgeAllPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200Task' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200TaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectsTrashObjectDeleteBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TrashObjectsTrashObjectDeleteBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectsTrashObjectDeleteResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TrashObjectsTrashObjectDeleteResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectsTrashObjectDeleteResponse200Task' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TrashObjectsTrashObjectDeleteResponse200TaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectsTrashObjectGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TrashObjectsTrashObjectGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectsTrashObjectGetResponse200TrashObject' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TrashObjectsTrashObjectGetResponse200TrashObjectNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectsTrashObjectRestorePostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TrashObjectsTrashObjectRestorePostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectsTrashObjectRestorePostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TrashObjectsTrashObjectRestorePostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectsTrashObjectRestorePostResponse200TrashObject' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TrashObjectsTrashObjectRestorePostResponse200TrashObjectNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ZonesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ZonesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ZonesZoneGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ZonesZoneGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ZonesZoneGetResponse200Zone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ZonesZoneGetResponse200ZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\CountriesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CountriesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\CountriesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CountriesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\CountriesCountryGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CountriesCountryGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\CountriesCountryGetResponse200Country' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CountriesCountryGetResponse200CountryNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\CountriesCountryCountryStatesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CountriesCountryCountryStatesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\CountriesCountryCountryStatesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CountriesCountryCountryStatesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\CountryStatesCountryStateGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CountryStatesCountryStateGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\CountryStatesCountryStateGetResponse200CountryState' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CountryStatesCountryStateGetResponse200CountryStateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\CurrenciesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CurrenciesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\CurrenciesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CurrenciesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\CurrenciesCurrencyGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CurrenciesCurrencyGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\CurrenciesCurrencyGetResponse200Currency' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CurrenciesCurrencyGetResponse200CurrencyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TasksTaskGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TasksTaskGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TasksTaskGetResponse200Task' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TasksTaskGetResponse200TaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\UsersCurrentGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\UsersCurrentGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\UsersCurrentGetResponse200User' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\UsersCurrentGetResponse200UserNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\InvalidateLinkedWebSessionPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\InvalidateLinkedWebSessionPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\InvalidateLinkedWebSessionPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\InvalidateLinkedWebSessionPostResponse200Normalizer', '\\Jane\\Component\\JsonSchemaRuntime\\Reference' => '\\Krystal\\Katapult\\KatapultAPI\\Runtime\\Normalizer\\ReferenceNormalizer']; + protected $normalizers = ['Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenters200ResponseDataCenters' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDataCenters200ResponseDataCentersNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenters200ResponseDataCentersCountry' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDataCenters200ResponseDataCentersCountryNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCentersPartCountry' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDataCentersPartCountryNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\UnauthorizedNetworkForAPIToken' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\UnauthorizedNetworkForAPITokenNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\UnauthorizedNetworkForAPITokenSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\UnauthorizedNetworkForAPITokenSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\InvalidAPIToken' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\InvalidAPITokenNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\InvalidAPITokenSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\InvalidAPITokenSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ScopeNotGrantedError' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ScopeNotGrantedErrorNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ScopeNotGrantedErrorSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ScopeNotGrantedErrorSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\RateLimitReached' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\RateLimitReachedNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenter200ResponseDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDataCenter200ResponseDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenter200ResponseDataCenterCountry' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDataCenter200ResponseDataCenterCountryNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenterPartCountry' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDataCenterPartCountryNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenterDefaultNetwork200ResponseNetwork' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDataCenterDefaultNetwork200ResponseNetworkNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenterDefaultNetwork200ResponseNetworkDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDataCenterDefaultNetwork200ResponseNetworkDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenterDefaultNetworkPartDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDataCenterDefaultNetworkPartDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizations200ResponseOrganizations' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizations200ResponseOrganizationsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\Organization' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationCurrency' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationCurrencyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationCountry' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationCountryNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationCountryState' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationCountryStateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\Currency' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CurrencyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\Country' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CountryNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\CountryState' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CountryStateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\CountryStateCountry' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CountryStateCountryNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationSuspendedSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationSuspendedSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationNotActivatedSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationNotActivatedSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PaginationObject' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PaginationObjectNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationUsersWithAccess200ResponseUsers' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationUsersWithAccess200ResponseUsersNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationUsersWithAccess200ResponseUsersUser' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationUsersWithAccess200ResponseUsersUserNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationUsersWithAccessPartUser' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationUsersWithAccessPartUserNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationManaged200ResponseOrganizations' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationManaged200ResponseOrganizationsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManaged201ResponseOrganization' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationManaged201ResponseOrganizationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManaged201ResponseOrganizationCurrency' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationManaged201ResponseOrganizationCurrencyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManaged201ResponseOrganizationCountry' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationManaged201ResponseOrganizationCountryNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManaged201ResponseOrganizationCountryState' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationManaged201ResponseOrganizationCountryStateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManagedPartCurrency' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationManagedPartCurrencyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManagedPartCountry' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationManagedPartCountryNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManagedPartCountryState' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationManagedPartCountryStateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManagedPartCountryStateCountry' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationManagedPartCountryStateCountryNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationLimitReachedSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationLimitReachedSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ValidationError' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ValidationErrorNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ValidationErrorSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ValidationErrorSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDisks200ResponseDisk' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationDisks200ResponseDiskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDisks200ResponseDiskVirtualMachineDisk' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationDisks200ResponseDiskVirtualMachineDiskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDisksPartVirtualMachineDisk' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationDisksPartVirtualMachineDiskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDisksPartVirtualMachineDiskVirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationDisksPartVirtualMachineDiskVirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDisksPartVirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationDisksPartVirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDisk200ResponseDisk' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDisk200ResponseDiskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDisk200ResponseDiskIoProfile' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDisk200ResponseDiskIoProfileNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDisk200ResponseDiskVirtualMachineDisk' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDisk200ResponseDiskVirtualMachineDiskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDisk200ResponseDiskInstallation' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDisk200ResponseDiskInstallationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartIOProfile' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskPartIOProfileNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartVirtualMachineDisk' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskPartVirtualMachineDiskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartVirtualMachineDiskVirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskPartVirtualMachineDiskVirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartVirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskPartVirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartInstallation' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskPartInstallationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartInstallationDiskTemplateVersion' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskPartInstallationDiskTemplateVersionNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartInstallationAttributesItem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskPartInstallationAttributesItemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartDiskTemplateVersion' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskPartDiskTemplateVersionNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartDiskTemplateVersionDiskTemplate' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskPartDiskTemplateVersionDiskTemplateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartDiskTemplate' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskPartDiskTemplateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartDiskTemplateOperatingSystem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskPartDiskTemplateOperatingSystemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartOperatingSystem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskPartOperatingSystemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartAttributes' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskPartAttributesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineDisks200ResponseDisks' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachineDisks200ResponseDisksNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineDisks200ResponseDisksDisk' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachineDisks200ResponseDisksDiskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineDisksPartDisk' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachineDisksPartDiskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ObjectInTrash' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ObjectInTrashNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ObjectInTrashTrashObject' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ObjectInTrashTrashObjectNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObject' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TrashObjectNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplates' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationDiskTemplates200ResponseDiskTemplatesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersion' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersionNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDiskTemplatesPartLatestVersion' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationDiskTemplatesPartLatestVersionNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDiskTemplatesPartOperatingSystem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationDiskTemplatesPartOperatingSystemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationNotFoundSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationNotFoundSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OperatingSystemNotFoundSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OperatingSystemNotFoundSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplate200ResponseDiskTemplate' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskTemplate200ResponseDiskTemplateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplate200ResponseDiskTemplateLatestVersion' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskTemplate200ResponseDiskTemplateLatestVersionNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplate200ResponseDiskTemplateOperatingSystem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskTemplate200ResponseDiskTemplateOperatingSystemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplatePartLatestVersion' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskTemplatePartLatestVersionNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplatePartOperatingSystem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskTemplatePartOperatingSystemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplatePartOperatingSystemBadge' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskTemplatePartOperatingSystemBadgeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplatePartBadge' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskTemplatePartBadgeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersions200ResponseDiskTemplate' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskTemplateVersions200ResponseDiskTemplateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersions200ResponseDiskTemplateVersions' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskTemplateVersions200ResponseDiskTemplateVersionsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersion200ResponseDiskTemplateVersion' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskTemplateVersion200ResponseDiskTemplateVersionNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersion200ResponseDiskTemplateVersionDiskTemplate' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskTemplateVersion200ResponseDiskTemplateVersionDiskTemplateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersionPartDiskTemplate' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskTemplateVersionPartDiskTemplateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersionSpec200ResponseDiskTemplateVersion' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskTemplateVersionSpec200ResponseDiskTemplateVersionNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersionSpec200ResponseDiskTemplateVersionDiskTemplate' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskTemplateVersionSpec200ResponseDiskTemplateVersionDiskTemplateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersionSpecPartDiskTemplate' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskTemplateVersionSpecPartDiskTemplateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TemplateSpec' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TemplateSpecNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TemplateSpecFieldsItem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TemplateSpecFieldsItemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TemplateSpecField' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TemplateSpecFieldNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetGPUTypes200ResponseGPUTypes' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetGPUTypes200ResponseGPUTypesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetGPUTypes200ResponseGPUTypesDataCentersItem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetGPUTypes200ResponseGPUTypesDataCentersItemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetGPUTypesPartDataCenters' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetGPUTypesPartDataCentersNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetGPUType200ResponseGPUType' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetGPUType200ResponseGPUTypeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetGPUType200ResponseGPUTypeDataCentersItem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetGPUType200ResponseGPUTypeDataCentersItemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetGPUTypePartDataCenters' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetGPUTypePartDataCentersNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenterGPUTypes200ResponseGPUTypes' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDataCenterGPUTypes200ResponseGPUTypesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachines' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationVirtualMachines200ResponseVirtualMachinesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesZone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationVirtualMachines200ResponseVirtualMachinesZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesPackage' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationVirtualMachines200ResponseVirtualMachinesPackageNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuType' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuTypeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesIpAddressesItem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationVirtualMachines200ResponseVirtualMachinesIpAddressesItemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachinesPartZone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationVirtualMachinesPartZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachinesPartZoneDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationVirtualMachinesPartZoneDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachinesPartDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationVirtualMachinesPartDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachinesPartPackage' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationVirtualMachinesPartPackageNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachinesPartGPUType' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationVirtualMachinesPartGPUTypeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachinesPartIPAddresses' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationVirtualMachinesPartIPAddressesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachine200ResponseVirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineZone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachine200ResponseVirtualMachineZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineOrganization' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachine200ResponseVirtualMachineOrganizationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachine200ResponseVirtualMachineGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachinePackage' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachine200ResponseVirtualMachinePackageNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineAttachedIso' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineGpuType' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineGpusItem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachine200ResponseVirtualMachineGpusItemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineTagsItem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachine200ResponseVirtualMachineTagsItemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineIpAddressesItem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachine200ResponseVirtualMachineIpAddressesItemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartZone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartZoneDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartZoneDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartDataCenterCountry' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartDataCenterCountryNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartCountry' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartCountryNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartOrganization' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartOrganizationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartOrganizationCurrency' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartOrganizationCurrencyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartOrganizationCountry' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartOrganizationCountryNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartOrganizationCountryState' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartOrganizationCountryStateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartCurrency' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartCurrencyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartCountryState' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartCountryStateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartCountryStateCountry' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartCountryStateCountryNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartPackage' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartPackageNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartPackageIcon' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartPackageIconNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartIcon' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartIconNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartAttachedISO' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartAttachedISONormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartAttachedISOOperatingSystem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartAttachedISOOperatingSystemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartOperatingSystem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartOperatingSystemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartOperatingSystemBadge' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartOperatingSystemBadgeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartBadge' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartBadgeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartGPUType' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartGPUTypeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartGPUs' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartGPUsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartGPUsType' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartGPUsTypeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartType' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartTypeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartTags' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartTagsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartIPAddresses' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartIPAddressesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartIPAddressesNetwork' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartIPAddressesNetworkNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartNetwork' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartNetworkNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartNetworkDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePartNetworkDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineArguments' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineArgumentsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GPUTypeLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GPUTypeLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineGroupLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachine200ResponseVirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineZone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachine200ResponseVirtualMachineZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineOrganization' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachine200ResponseVirtualMachineOrganizationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachine200ResponseVirtualMachineGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachinePackage' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachine200ResponseVirtualMachinePackageNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineAttachedIso' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineGpuType' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineGpusItem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachine200ResponseVirtualMachineGpusItemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineTagsItem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachine200ResponseVirtualMachineTagsItemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineIpAddressesItem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachine200ResponseVirtualMachineIpAddressesItemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartZone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartZoneDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartZoneDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartDataCenterCountry' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartDataCenterCountryNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartCountry' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartCountryNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartOrganization' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartOrganizationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartOrganizationCurrency' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartOrganizationCurrencyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartOrganizationCountry' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartOrganizationCountryNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartOrganizationCountryState' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartOrganizationCountryStateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartCurrency' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartCurrencyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartCountryState' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartCountryStateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartCountryStateCountry' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartCountryStateCountryNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartPackage' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartPackageNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartPackageIcon' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartPackageIconNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartIcon' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartIconNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartAttachedISO' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartAttachedISONormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartAttachedISOOperatingSystem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartAttachedISOOperatingSystemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartOperatingSystem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartOperatingSystemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartOperatingSystemBadge' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartOperatingSystemBadgeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartBadge' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartBadgeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartGPUType' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartGPUTypeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartGPUs' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartGPUsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartGPUsType' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartGPUsTypeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartType' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartTypeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartTags' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartTagsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartIPAddresses' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartIPAddressesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartIPAddressesNetwork' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartIPAddressesNetworkNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartNetwork' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartNetworkNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartNetworkDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchVirtualMachinePartNetworkDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachine200ResponseVirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineZone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachine200ResponseVirtualMachineZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineOrganization' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachine200ResponseVirtualMachineOrganizationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachine200ResponseVirtualMachineGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachinePackage' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachine200ResponseVirtualMachinePackageNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineAttachedIso' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGpuType' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGpusItem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachine200ResponseVirtualMachineGpusItemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineTagsItem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachine200ResponseVirtualMachineTagsItemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineIpAddressesItem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachine200ResponseVirtualMachineIpAddressesItemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartZone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartZoneDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartZoneDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartDataCenterCountry' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartDataCenterCountryNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartCountry' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartCountryNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartOrganization' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartOrganizationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartOrganizationCurrency' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartOrganizationCurrencyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartOrganizationCountry' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartOrganizationCountryNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartOrganizationCountryState' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartOrganizationCountryStateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartCurrency' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartCurrencyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartCountryState' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartCountryStateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartCountryStateCountry' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartCountryStateCountryNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartPackage' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartPackageNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartPackageIcon' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartPackageIconNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartIcon' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartIconNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartAttachedISO' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartAttachedISONormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartAttachedISOOperatingSystem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartAttachedISOOperatingSystemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartOperatingSystem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartOperatingSystemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartOperatingSystemBadge' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartOperatingSystemBadgeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartBadge' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartBadgeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartGPUType' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartGPUTypeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartGPUs' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartGPUsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartGPUsType' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartGPUsTypeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartType' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartTypeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartTags' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartTagsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartIPAddresses' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartIPAddressesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartIPAddressesNetwork' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartIPAddressesNetworkNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartNetwork' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartNetworkNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartNetworkDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteVirtualMachinePartNetworkDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PermissionDenied' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PermissionDeniedNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PermissionDeniedSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PermissionDeniedSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinePackageLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinePackageLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\Task' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNotFoundSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineNotFoundSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinePackageNotFoundSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinePackageNotFoundSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ObjectInTrashSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ObjectInTrashSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TaskQueueingError' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TaskQueueingErrorNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TaskQueueingErrorSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TaskQueueingErrorSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineFlexibleResources' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineFlexibleResourcesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\FlexibleResourcesUnavailableToOrganizationSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\FlexibleResourcesUnavailableToOrganizationSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\IPAddressLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\IPAddressLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\IPAddress' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\IPAddressNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\IPAddressNetwork' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\IPAddressNetworkNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\Network' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\NetworkNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\NetworkDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\NetworkDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCenterCountry' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DataCenterCountryNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\IPAddressNotFoundSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\IPAddressNotFoundSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\NoInterfaceAvailableSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\NoInterfaceAvailableSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\IPAlreadyAllocatedSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\IPAlreadyAllocatedSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ZoneLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ZoneLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCenterLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DataCenterLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskTemplateLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\KeyValue' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\KeyValueNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\NetworkLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\NetworkLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationVirtualMachinesBuild201ResponseTask' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationVirtualMachinesBuild201ResponseTaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationVirtualMachinesBuild201ResponseBuild' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationVirtualMachinesBuild201ResponseBuildNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuild' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuildNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResourceCreationRestricted' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResourceCreationRestrictedNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResourceCreationRestrictedSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResourceCreationRestrictedSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ZoneNotFoundSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ZoneNotFoundSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCenterNotFoundSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DataCenterNotFoundSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateNotFoundSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskTemplateNotFoundSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\NetworkNotFoundSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\NetworkNotFoundSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LocationRequiredSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LocationRequiredSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseTask' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseTaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuild' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuildNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuild' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuildNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\APIAuthenticator400Schema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\APIAuthenticator400SchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\InvalidSpecXML' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\InvalidSpecXMLNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\InvalidSpecXMLSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\InvalidSpecXMLSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuild' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineStart200ResponseTask' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostVirtualMachineStart200ResponseTaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineStop200ResponseTask' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostVirtualMachineStop200ResponseTaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineShutdown200ResponseTask' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostVirtualMachineShutdown200ResponseTaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineReset200ResponseTask' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostVirtualMachineReset200ResponseTaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineConsoleSessions201ResponseConsoleSession' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostVirtualMachineConsoleSessions201ResponseConsoleSessionNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineConsoleSessions201ResponseConsoleSessionVirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostVirtualMachineConsoleSessions201ResponseConsoleSessionVirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineConsoleSessionsPartVirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostVirtualMachineConsoleSessionsPartVirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineMustBeStarted' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineMustBeStartedNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineMustBeStartedSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineMustBeStartedSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePackages200ResponseVirtualMachinePackages' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePackages200ResponseVirtualMachinePackagesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePackages200ResponseVirtualMachinePackagesIcon' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePackages200ResponseVirtualMachinePackagesIconNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePackagesPartIcon' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachinePackagesPartIconNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinePackage' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinePackageNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinePackageIcon' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinePackageIconNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\Attachment' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\AttachmentNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\AuthSSHKey' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\AuthSSHKeyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\AuthSSHKeyProperties' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\AuthSSHKeyPropertiesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\AuthSSHKeyLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\AuthSSHKeyLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeletionRestricted' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeletionRestrictedNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPolicies' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPoliciesSchedule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPoliciesScheduleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPolicyTarget' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskBackupPolicyTargetNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineZone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineOrganization' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineOrganizationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineAttachedIso' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineAttachedIsoNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGpuType' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineGpuTypeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGpusItem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineGpusItemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineTagsItem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineTagsItemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineIpAddressesItem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineIpAddressesItemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\Zone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ZoneDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ZoneDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ISO' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ISONormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ISOOperatingSystem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ISOOperatingSystemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OperatingSystem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OperatingSystemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OperatingSystemBadge' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OperatingSystemBadgeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GPUType' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GPUTypeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GPUTypeDataCentersItem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GPUTypeDataCentersItemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGPU' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineGPUNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGPUType' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineGPUTypeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\Tag' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TagNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\Disk' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskIoProfile' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskIoProfileNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskVirtualMachineDisk' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskVirtualMachineDiskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskInstallation' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskInstallationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskIOProfile' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskIOProfileNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineDisk' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineDiskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineDiskVirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineDiskVirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineDiskDisk' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineDiskDiskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskInstallationDiskTemplateVersion' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskInstallationDiskTemplateVersionNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskInstallationAttributesItem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskInstallationAttributesItemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateVersion' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskTemplateVersionNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateVersionDiskTemplate' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskTemplateVersionDiskTemplateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplate' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskTemplateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateLatestVersion' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskTemplateLatestVersionNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateOperatingSystem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskTemplateOperatingSystemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskInstallationAttribute' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskInstallationAttributeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDiskBackupPoliciesPartSchedule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationDiskBackupPoliciesPartScheduleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicies' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPoliciesSchedule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPoliciesScheduleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineDiskBackupPoliciesPartSchedule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachineDiskBackupPoliciesPartScheduleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskDiskBackupPolicies200ResponseDiskBackupPolicies' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskDiskBackupPolicies200ResponseDiskBackupPoliciesSchedule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskDiskBackupPolicies200ResponseDiskBackupPoliciesScheduleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskDiskBackupPoliciesPartSchedule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskDiskBackupPoliciesPartScheduleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskBackupPolicy200ResponseDiskBackupPolicy' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskBackupPolicy200ResponseDiskBackupPolicySchedule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskBackupPolicy200ResponseDiskBackupPolicyScheduleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskBackupPolicyPartSchedule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDiskBackupPolicyPartScheduleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPolicyLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskBackupPolicyLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteDiskBackupPolicy200ResponseDiskBackupPolicy' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicy' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\InvalidTimestampSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\InvalidTimestampSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPolicyArguments' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskBackupPolicyArgumentsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ScheduleArguments' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ScheduleArgumentsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchDiskBackupPolicy200ResponseDiskBackupPolicy' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchDiskBackupPolicy200ResponseDiskBackupPolicySchedule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchDiskBackupPolicy200ResponseDiskBackupPolicyScheduleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicy' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicySchedule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicyScheduleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineDiskBackupPoliciesPartSchedule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostVirtualMachineDiskBackupPoliciesPartScheduleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostDiskDiskBackupPolicies200ResponseDiskBackupPolicy' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostDiskDiskBackupPolicies200ResponseDiskBackupPolicyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostDiskDiskBackupPolicies200ResponseDiskBackupPolicySchedule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostDiskDiskBackupPolicies200ResponseDiskBackupPolicyScheduleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostDiskDiskBackupPoliciesPartSchedule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostDiskDiskBackupPoliciesPartScheduleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSZone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSZoneArguments' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSZoneArgumentsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationDNSZones201ResponseDNSZone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationDNSZones201ResponseDNSZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSZoneLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSZoneLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteDNSZonesDNSZone200ResponseDNSZone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteDNSZonesDNSZone200ResponseDNSZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSZoneVerificationDetails' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSZoneVerificationDetailsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\InfrastructureDNSZoneCannotBeEditedSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\InfrastructureDNSZoneCannotBeEditedSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSZoneNotVerified' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSZoneNotVerifiedNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostDNSZonesDNSZoneUpdateTTL200ResponseDNSZone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostDNSZonesDNSZoneUpdateTTL200ResponseDNSZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDNSZonesDNSZoneRecords200ResponseDNSRecords' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDNSZonesDNSZoneRecords200ResponseDNSRecordsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordProperties' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSRecordPropertiesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\A' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ANormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\AAAA' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\AAAANormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\CAA' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CAANormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\CNAME' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CNAMENormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\MX' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\MXNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\NS' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\NSNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SRV' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SRVNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SSHFP' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SSHFPNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TXT' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TXTNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ALIAS' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ALIASNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordArguments' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSRecordArgumentsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordPropertiesArguments' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSRecordPropertiesArgumentsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostDNSZonesDNSZoneRecords200ResponseDNSRecord' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostDNSZonesDNSZoneRecords200ResponseDNSRecordNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDNSRecordsDNSRecord200ResponseDNSRecord' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetDNSRecordsDNSRecord200ResponseDNSRecordNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSRecordLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchDNSRecordsDNSRecord200ResponseDNSRecord' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchDNSRecordsDNSRecord200ResponseDNSRecordNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationsOrganizationDNSZones201ResponseDNSZone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationsOrganizationDNSZones201ResponseDNSZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecord' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSRecordNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributes' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSRecordContentAttributesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesA' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSRecordContentAttributesANormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesAAAA' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSRecordContentAttributesAAAANormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesALIAS' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSRecordContentAttributesALIASNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesCAA' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSRecordContentAttributesCAANormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesCNAME' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSRecordContentAttributesCNAMENormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesIPS' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSRecordContentAttributesIPSNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesMX' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSRecordContentAttributesMXNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesNS' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSRecordContentAttributesNSNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesPTR' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSRecordContentAttributesPTRNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesSOA' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSRecordContentAttributesSOANormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesSRV' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSRecordContentAttributesSRVNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesSSHFP' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSRecordContentAttributesSSHFPNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesTXT' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSRecordContentAttributesTXTNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesVirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DNSRecordContentAttributesVirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForA' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\RecordContentAttributesForANormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForAAAA' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\RecordContentAttributesForAAAANormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForALIAS' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\RecordContentAttributesForALIASNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForCAA' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\RecordContentAttributesForCAANormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForCNAME' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\RecordContentAttributesForCNAMENormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForIPS' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\RecordContentAttributesForIPSNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForMX' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\RecordContentAttributesForMXNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForNS' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\RecordContentAttributesForNSNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForPTR' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\RecordContentAttributesForPTRNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForSRV' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\RecordContentAttributesForSRVNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForSSHFP' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\RecordContentAttributesForSSHFPNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForTXT' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\RecordContentAttributesForTXTNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForVirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\RecordContentAttributesForVirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupArguments' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupArgumentsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteSecurityGroup200ResponseSecurityGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteSecurityGroup200ResponseSecurityGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetSecurityGroupRules200ResponseSecurityGroupRules' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetSecurityGroupRules200ResponseSecurityGroupRulesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupRuleArguments' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupRuleArgumentsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostSecurityGroupRules200ResponseSecurityGroupRule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostSecurityGroupRules200ResponseSecurityGroupRuleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostSecurityGroupRules200ResponseSecurityGroupRuleSecurityGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostSecurityGroupRules200ResponseSecurityGroupRuleSecurityGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostSecurityGroupRulesPartSecurityGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostSecurityGroupRulesPartSecurityGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupRuleLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupRuleLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumes' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumesDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumesDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationFileStorageVolumesPartDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationFileStorageVolumesPartDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetFileStorageVolume200ResponseFileStorageVolume' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetFileStorageVolume200ResponseFileStorageVolumeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetFileStorageVolume200ResponseFileStorageVolumeDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetFileStorageVolume200ResponseFileStorageVolumeDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetFileStorageVolumePartDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetFileStorageVolumePartDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumeArguments' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\FileStorageVolumeArgumentsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationFileStorageVolumes201ResponseFileStorageVolume' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationFileStorageVolumes201ResponseFileStorageVolumeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationFileStorageVolumes201ResponseFileStorageVolumeDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationFileStorageVolumes201ResponseFileStorageVolumeDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationFileStorageVolumesPartDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationFileStorageVolumesPartDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumeLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\FileStorageVolumeLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchFileStorageVolume200ResponseFileStorageVolume' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchFileStorageVolume200ResponseFileStorageVolumeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchFileStorageVolume200ResponseFileStorageVolumeDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchFileStorageVolume200ResponseFileStorageVolumeDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchFileStorageVolumePartDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchFileStorageVolumePartDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteFileStorageVolume200ResponseFileStorageVolume' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteFileStorageVolume200ResponseFileStorageVolumeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteFileStorageVolume200ResponseFileStorageVolumeDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteFileStorageVolume200ResponseFileStorageVolumeDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteFileStorageVolumePartDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteFileStorageVolumePartDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationAvailableNetworks200ResponseNetworks' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationAvailableNetworks200ResponseNetworksNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationAvailableNetworks200ResponseNetworksDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationAvailableNetworks200ResponseNetworksDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationAvailableNetworksPartDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationAvailableNetworksPartDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationAvailableNetworks200ResponseVirtualNetworks' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationAvailableNetworks200ResponseVirtualNetworksNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationAvailableNetworks200ResponseVirtualNetworksDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationAvailableNetworks200ResponseVirtualNetworksDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\NetworkSpeedProfile' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\NetworkSpeedProfileNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationCertificates200ResponseCertificates' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationCertificates200ResponseCertificatesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\Certificate' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CertificateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationLoadBalancers200ResponseLoadBalancers' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationLoadBalancers200ResponseLoadBalancersNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationLoadBalancers200ResponseLoadBalancersIpAddressItem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationLoadBalancers200ResponseLoadBalancersIpAddressItemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationLoadBalancers200ResponseLoadBalancersDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationLoadBalancers200ResponseLoadBalancersDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancerResource' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancerResourceNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationLoadBalancersPartIPAddress' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationLoadBalancersPartIPAddressNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationLoadBalancersPartDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationLoadBalancersPartDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancerArguments' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancerArgumentsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancerWeightsArguments' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancerWeightsArgumentsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancers200ResponseLoadBalancer' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationLoadBalancers200ResponseLoadBalancerNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancers200ResponseLoadBalancerIpAddressItem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationLoadBalancers200ResponseLoadBalancerIpAddressItemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancers200ResponseLoadBalancerDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationLoadBalancers200ResponseLoadBalancerDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancers200ResponseLoadBalancerWeightsItem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationLoadBalancers200ResponseLoadBalancerWeightsItemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancersPartIPAddress' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationLoadBalancersPartIPAddressNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancersPartDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationLoadBalancersPartDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancersPartWeights' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostOrganizationLoadBalancersPartWeightsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancer200ResponseLoadBalancer' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetLoadBalancer200ResponseLoadBalancerNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancer200ResponseLoadBalancerIpAddressItem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetLoadBalancer200ResponseLoadBalancerIpAddressItemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancer200ResponseLoadBalancerDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetLoadBalancer200ResponseLoadBalancerDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancer200ResponseLoadBalancerWeightsItem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetLoadBalancer200ResponseLoadBalancerWeightsItemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancerPartIPAddress' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetLoadBalancerPartIPAddressNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancerPartDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetLoadBalancerPartDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancerPartWeights' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetLoadBalancerPartWeightsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancerLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancerLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancer200ResponseLoadBalancer' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchLoadBalancer200ResponseLoadBalancerNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancer200ResponseLoadBalancerIpAddressItem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchLoadBalancer200ResponseLoadBalancerIpAddressItemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancer200ResponseLoadBalancerDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchLoadBalancer200ResponseLoadBalancerDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancer200ResponseLoadBalancerWeightsItem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchLoadBalancer200ResponseLoadBalancerWeightsItemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancerPartIPAddress' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchLoadBalancerPartIPAddressNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancerPartDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchLoadBalancerPartDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancerPartWeights' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchLoadBalancerPartWeightsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteLoadBalancer200ResponseLoadBalancer' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteLoadBalancer200ResponseLoadBalancerNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancerRules200ResponseLoadBalancerRules' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetLoadBalancerRules200ResponseLoadBalancerRulesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancerRules200ResponseLoadBalancerRulesCertificatesItem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetLoadBalancerRules200ResponseLoadBalancerRulesCertificatesItemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancerRulesPartCertificates' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetLoadBalancerRulesPartCertificatesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancerRuleArguments' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancerRuleArgumentsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\CertificateLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CertificateLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostLoadBalancerRules200ResponseLoadBalancerRule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostLoadBalancerRules200ResponseLoadBalancerRuleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostLoadBalancerRules200ResponseLoadBalancerRuleCertificatesItem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostLoadBalancerRules200ResponseLoadBalancerRuleCertificatesItemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostLoadBalancerRules200ResponseLoadBalancerRuleLoadBalancer' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostLoadBalancerRules200ResponseLoadBalancerRuleLoadBalancerNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostLoadBalancerRulesPartCertificates' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostLoadBalancerRulesPartCertificatesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostLoadBalancerRulesPartLoadBalancer' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostLoadBalancerRulesPartLoadBalancerNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancer' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancerNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancersRulesLoadBalancerRulePartCertificates' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetLoadBalancersRulesLoadBalancerRulePartCertificatesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancerNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancerRuleLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancerRuleLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancer' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancerNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartCertificates' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchLoadBalancersRulesLoadBalancerRulePartCertificatesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancerNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationIPAddresses200ResponseIPAddresses' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationIPAddresses200ResponseIPAddressesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetIPAddress200ResponseAllocation' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetIPAddress200ResponseAllocationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfaces' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesNetwork' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesNetworkNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesIpAddressesItem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesIpAddressesItemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfacesPartNetwork' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachineNetworkInterfacesPartNetworkNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfacesPartIPAddresses' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachineNetworkInterfacesPartIPAddressesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterface' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceVirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceVirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceNetwork' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceNetworkNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceIpAddressesItem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceIpAddressesItemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfacePartVirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachineNetworkInterfacePartVirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfacePartNetwork' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachineNetworkInterfacePartNetworkNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfacePartIPAddresses' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVirtualMachineNetworkInterfacePartIPAddressesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\InterfaceNotFoundSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\InterfaceNotFoundSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterface' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceVirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceVirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceNetwork' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceNetworkNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceIpAddressesItem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceIpAddressesItemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceSpeedProfile' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceSpeedProfileNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNIPartVirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVMNIVMNIPartVirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNIPartNetwork' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVMNIVMNIPartNetworkNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNIPartIPAddresses' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVMNIVMNIPartIPAddressesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNIPartSpeedProfile' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetVMNIVMNIPartSpeedProfileNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfaceLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineNetworkInterfaceLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterface' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceVirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceVirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceNetwork' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceNetworkNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceIpAddressesItem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceIpAddressesItemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostVirtualMachineNetworkInterfaceAllocateIPPartNetworkNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddressesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfaceNotFoundSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineNetworkInterfaceNotFoundSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\InvalidIPSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\InvalidIPSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\NetworkSpeedProfileLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\NetworkSpeedProfileLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\NetworkSpeedProfileNotFoundSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\NetworkSpeedProfileNotFoundSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationTags200ResponseTags' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOrganizationTags200ResponseTagsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TagArguments' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TagArgumentsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TagLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TagLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupArguments' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineGroupArgumentsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOperatingSystems200ResponseOperatingSystems' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetOperatingSystems200ResponseOperatingSystemsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectLookup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TrashObjectLookupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetZones200ResponseZones' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetZones200ResponseZonesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetZones200ResponseZonesDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetZones200ResponseZonesDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetZonesPartDataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetZonesPartDataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetCountries200ResponseCountries' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetCountries200ResponseCountriesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetCountryCountryStates200ResponseCountryStates' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetCountryCountryStates200ResponseCountryStatesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetCurrencies200ResponseCurrencies' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetCurrencies200ResponseCurrenciesNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\User' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\UserNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GetUsersCurrent200ResponseOrganizations' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GetUsersCurrent200ResponseOrganizationsNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\IdentityNotLinkedToWebSessionSchema' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\IdentityNotLinkedToWebSessionSchemaNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseAPIAuthenticator400Response' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseAPIAuthenticator400ResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseAPIAuthenticator429Response' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseAPIAuthenticator429ResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDataCenterNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseDataCenterNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseOrganizationNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseOrganizationNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDiskNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseDiskNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseVirtualMachineNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseVirtualMachineNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseObjectInTrashResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseObjectInTrashResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDiskTemplateNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseDiskTemplateNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDiskTemplateVersionNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseDiskTemplateVersionNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseGPUTypeNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseGPUTypeNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseValidationErrorResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseValidationErrorResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseVirtualMachineBuildNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseVirtualMachineBuildNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseVirtualMachinePackageNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseVirtualMachinePackageNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseSSHKeyNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseSSHKeyNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDeletionRestrictedResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseDeletionRestrictedResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDiskBackupPolicyNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseDiskBackupPolicyNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDNSZoneNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseDNSZoneNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDNSZoneAlreadyVerifiedResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseDNSZoneAlreadyVerifiedResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDNSZoneNotVerifiedResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseDNSZoneNotVerifiedResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDNSRecordNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseDNSRecordNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseSecurityGroupNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseSecurityGroupNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseSecurityGroupRuleNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseSecurityGroupRuleNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseFileStorageVolumeNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseFileStorageVolumeNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseNetworkNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseNetworkNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseCertificateNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseCertificateNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseLoadBalancerNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseLoadBalancerNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseLoadBalancerRuleNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseLoadBalancerRuleNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseNoAvailableAddressesResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseNoAvailableAddressesResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseIPAddressNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseIPAddressNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseResourceDoesNotSupportUnallocationResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseResourceDoesNotSupportUnallocationResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseNoAllocationResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseNoAllocationResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseVirtualMachineNetworkInterfaceNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseVirtualMachineNetworkInterfaceNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseTaskQueueingErrorResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseTaskQueueingErrorResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseSpeedProfileAlreadyAssignedResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseSpeedProfileAlreadyAssignedResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseTagNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseTagNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseVirtualMachineGroupNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseVirtualMachineGroupNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseOperatingSystemNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseOperatingSystemNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseTrashObjectNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseTrashObjectNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseZoneNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseZoneNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseCountryNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseCountryNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseCountryStateNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseCountryStateNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseCurrencyNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseCurrencyNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseTaskNotFoundResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseTaskNotFoundResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseNoUserAssociatedWithIdentityResponse' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ResponseNoUserAssociatedWithIdentityResponseNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCentersGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DataCentersGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCentersDataCenterGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DataCentersDataCenterGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCentersDataCenterGetResponse200DataCenter' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DataCentersDataCenterGetResponse200DataCenterNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCentersDataCenterDefaultNetworkGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DataCentersDataCenterDefaultNetworkGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCentersDataCenterDefaultNetworkGetResponse200Network' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DataCentersDataCenterDefaultNetworkGetResponse200NetworkNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationGetResponse200Organization' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationGetResponse200OrganizationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationUsersWithAccessGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationUsersWithAccessGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationUsersWithAccessGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationUsersWithAccessGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationManagedGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationManagedGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationManagedGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationManagedGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationManagedPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationManagedPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationManagedPostResponse201' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationManagedPostResponse201Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationManagedPostResponse201Organization' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationManagedPostResponse201OrganizationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDisksGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationDisksGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDisksGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationDisksGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DisksDiskGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DisksDiskGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DisksDiskGetResponse200Disk' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DisksDiskGetResponse200DiskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDisksGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineDisksGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDisksGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineDisksGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDiskTemplatesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationDiskTemplatesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDiskTemplatesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationDiskTemplatesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplatesDiskTemplateGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskTemplatesDiskTemplateGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplatesDiskTemplateGetResponse200DiskTemplate' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskTemplatesDiskTemplateGetResponse200DiskTemplateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplatesDiskTemplateVersionsGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskTemplatesDiskTemplateVersionsGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplatesDiskTemplateVersionsGetResponse200DiskTemplate' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskTemplatesDiskTemplateVersionsGetResponse200DiskTemplateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplatesDiskTemplateVersionsGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskTemplatesDiskTemplateVersionsGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateVersionsDiskTemplateVersionGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskTemplateVersionsDiskTemplateVersionGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersion' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersionNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersion' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersionNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GpuTypesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GpuTypesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GpuTypesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GpuTypesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GpuTypesGpuTypeGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GpuTypesGpuTypeGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\GpuTypesGpuTypeGetResponse200GpuType' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\GpuTypesGpuTypeGetResponse200GpuTypeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCentersDataCenterGpuTypesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DataCentersDataCenterGpuTypesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCentersDataCenterGpuTypesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DataCentersDataCenterGpuTypesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationVirtualMachinesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationVirtualMachinesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDeleteBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineDeleteBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDeleteResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineDeleteResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDeleteResponse200TrashObject' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineDeleteResponse200TrashObjectNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDeleteResponse200VirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineDeleteResponse200VirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineGetResponse200VirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineGetResponse200VirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachinePatchBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachinePatchBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachinePatchResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachinePatchResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachinePatchResponse200VirtualMachine' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachinePatchResponse200VirtualMachineNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachinePackagePutBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachinePackagePutBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachinePackagePutResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachinePackagePutResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachinePackagePutResponse200Task' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachinePackagePutResponse200TaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineFlexibleResourcesPutBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineFlexibleResourcesPutBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200Task' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200TaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineAllocateIpPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineAllocateIpPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineAllocateIpPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineAllocateIpPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddress' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddressNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationVirtualMachinesBuildPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Task' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201TaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Build' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201BuildNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201VirtualMachineBuild' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201VirtualMachineBuildNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Task' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201TaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Build' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201BuildNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201VirtualMachineBuild' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201VirtualMachineBuildNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesBuildsVirtualMachineBuildGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesBuildsVirtualMachineBuildGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesBuildsVirtualMachineBuildGetResponse200VirtualMachineBuild' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesBuildsVirtualMachineBuildGetResponse200VirtualMachineBuildNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineStartPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineStartPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineStartPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineStartPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineStartPostResponse200Task' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineStartPostResponse200TaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineStopPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineStopPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineStopPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineStopPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineStopPostResponse200Task' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineStopPostResponse200TaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineShutdownPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineShutdownPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineShutdownPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineShutdownPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineShutdownPostResponse200Task' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineShutdownPostResponse200TaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineResetPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineResetPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineResetPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineResetPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineResetPostResponse200Task' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineResetPostResponse200TaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineConsoleSessionsPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineConsoleSessionsPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201ConsoleSession' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201ConsoleSessionNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinePackagesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinePackagesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinePackagesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinePackagesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinePackagesVirtualMachinePackageGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinePackagesVirtualMachinePackageGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinePackagesVirtualMachinePackageGetResponse200VirtualMachinePackage' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinePackagesVirtualMachinePackageGetResponse200VirtualMachinePackageNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSshKeysGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationSshKeysGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSshKeysGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationSshKeysGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSshKeysPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationSshKeysPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSshKeysPostResponse201' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationSshKeysPostResponse201Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSshKeysPostResponse201SshKey' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationSshKeysPostResponse201SshKeyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SshKeysSshKeyDeleteBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SshKeysSshKeyDeleteBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SshKeysSshKeyDeleteResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SshKeysSshKeyDeleteResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SshKeysSshKeyDeleteResponse200SshKey' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SshKeysSshKeyDeleteResponse200SshKeyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDiskBackupPoliciesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationDiskBackupPoliciesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDiskBackupPoliciesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationDiskBackupPoliciesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicy' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DisksDiskDiskBackupPoliciesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DisksDiskDiskBackupPoliciesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DisksDiskDiskBackupPoliciesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DisksDiskDiskBackupPoliciesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DisksDiskDiskBackupPoliciesPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DisksDiskDiskBackupPoliciesPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DisksDiskDiskBackupPoliciesPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DisksDiskDiskBackupPoliciesPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicy' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyDeleteBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicy' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicy' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyPatchBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicy' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicy' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDnsZonesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationDnsZonesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDnsZonesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationDnsZonesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDnsZonesPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationDnsZonesPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDnsZonesPostResponse201' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationDnsZonesPostResponse201Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDnsZonesPostResponse201DnsZone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationDnsZonesPostResponse201DnsZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneDeleteBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZoneDeleteBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneDeleteResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZoneDeleteResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneDeleteResponse200DnsZone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZoneDeleteResponse200DnsZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZoneGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneGetResponse200DnsZone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZoneGetResponse200DnsZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneVerificationDetailsGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZoneVerificationDetailsGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneVerifyPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZoneVerifyPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneVerifyPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZoneVerifyPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneVerifyPostResponse200DnsZone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZoneVerifyPostResponse200DnsZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneUpdateTtlPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZoneUpdateTtlPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneUpdateTtlPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZoneUpdateTtlPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneUpdateTtlPostResponse200DnsZone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZoneUpdateTtlPostResponse200DnsZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneRecordsGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZoneRecordsGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneRecordsPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZoneRecordsPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneRecordsPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZoneRecordsPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneRecordsPostResponse200DnsRecord' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZoneRecordsPostResponse200DnsRecordNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsRecordsDnsRecordDeleteBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsRecordsDnsRecordDeleteBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsRecordsDnsRecordDeleteResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsRecordsDnsRecordDeleteResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsRecordsDnsRecordGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsRecordsDnsRecordGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsRecordsDnsRecordGetResponse200DnsRecord' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsRecordsDnsRecordGetResponse200DnsRecordNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsRecordsDnsRecordPatchBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsRecordsDnsRecordPatchBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsRecordsDnsRecordPatchResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsRecordsDnsRecordPatchResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsRecordsDnsRecordPatchResponse200DnsRecord' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsRecordsDnsRecordPatchResponse200DnsRecordNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDnsZonesNameserversGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationDnsZonesNameserversGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZonePatchBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZonePatchBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZonePatchResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZonePatchResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZonePatchResponse200DnsZone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\DnsZonesDnsZonePatchResponse200DnsZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSecurityGroupsGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationSecurityGroupsGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSecurityGroupsGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationSecurityGroupsGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSecurityGroupsPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationSecurityGroupsPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSecurityGroupsPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationSecurityGroupsPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupDeleteBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsSecurityGroupDeleteBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupDeleteResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsSecurityGroupDeleteResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupDeleteResponse200SecurityGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsSecurityGroupDeleteResponse200SecurityGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsSecurityGroupGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupGetResponse200SecurityGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsSecurityGroupGetResponse200SecurityGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupPatchBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsSecurityGroupPatchBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupPatchResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsSecurityGroupPatchResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupPatchResponse200SecurityGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsSecurityGroupPatchResponse200SecurityGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupRulesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsSecurityGroupRulesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupRulesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsSecurityGroupRulesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupRulesPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsSecurityGroupRulesPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupRulesPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsSecurityGroupRulesPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRuleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsRulesSecurityGroupRuleDeleteBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRuleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsRulesSecurityGroupRuleGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsRulesSecurityGroupRuleGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRuleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsRulesSecurityGroupRulePatchBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsRulesSecurityGroupRulePatchBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsRulesSecurityGroupRulePatchResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsRulesSecurityGroupRulePatchResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRuleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationFileStorageVolumesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationFileStorageVolumesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationFileStorageVolumesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationFileStorageVolumesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationFileStorageVolumesPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationFileStorageVolumesPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationFileStorageVolumesPostResponse201' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationFileStorageVolumesPostResponse201Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolume' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolumeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumeDeleteBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\FileStorageVolumesFileStorageVolumeDeleteBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumeDeleteResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\FileStorageVolumesFileStorageVolumeDeleteResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumeDeleteResponse200TrashObject' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\FileStorageVolumesFileStorageVolumeDeleteResponse200TrashObjectNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolume' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolumeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumeGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\FileStorageVolumesFileStorageVolumeGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolume' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolumeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumePatchBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\FileStorageVolumesFileStorageVolumePatchBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumePatchResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\FileStorageVolumesFileStorageVolumePatchResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolume' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolumeNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationAvailableNetworksGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationAvailableNetworksGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\NetworksNetworkGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\NetworksNetworkGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\NetworksNetworkGetResponse200Network' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\NetworksNetworkGetResponse200NetworkNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationCertificatesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationCertificatesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationCertificatesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationCertificatesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\CertificatesCertificateGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CertificatesCertificateGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationLoadBalancersGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationLoadBalancersGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationLoadBalancersGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationLoadBalancersGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationLoadBalancersPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationLoadBalancersPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationLoadBalancersPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationLoadBalancersPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationLoadBalancersPostResponse200LoadBalancer' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationLoadBalancersPostResponse200LoadBalancerNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerDeleteBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersLoadBalancerDeleteBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerDeleteResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersLoadBalancerDeleteResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerDeleteResponse200LoadBalancer' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersLoadBalancerDeleteResponse200LoadBalancerNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersLoadBalancerGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerGetResponse200LoadBalancer' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersLoadBalancerGetResponse200LoadBalancerNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerPatchBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersLoadBalancerPatchBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerPatchResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersLoadBalancerPatchResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerPatchResponse200LoadBalancer' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersLoadBalancerPatchResponse200LoadBalancerNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerRulesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersLoadBalancerRulesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerRulesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersLoadBalancerRulesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerRulesPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersLoadBalancerRulesPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerRulesPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersLoadBalancerRulesPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRuleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersRulesLoadBalancerRuleDeleteBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRuleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersRulesLoadBalancerRuleGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersRulesLoadBalancerRuleGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRuleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersRulesLoadBalancerRulePatchBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersRulesLoadBalancerRulePatchBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersRulesLoadBalancerRulePatchResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersRulesLoadBalancerRulePatchResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRule' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRuleNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationIpAddressesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationIpAddressesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationIpAddressesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationIpAddressesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationIpAddressesPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationIpAddressesPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationIpAddressesPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationIpAddressesPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationIpAddressesPostResponse200IpAddress' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationIpAddressesPostResponse200IpAddressNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressDeleteBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\IpAddressesIpAddressDeleteBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressDeleteResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\IpAddressesIpAddressDeleteResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\IpAddressesIpAddressGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressGetResponse200IpAddress' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\IpAddressesIpAddressGetResponse200IpAddressNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressGetResponse200Allocation' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\IpAddressesIpAddressGetResponse200AllocationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressPatchBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\IpAddressesIpAddressPatchBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressPatchResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\IpAddressesIpAddressPatchResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressPatchResponse200IpAddress' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\IpAddressesIpAddressPatchResponse200IpAddressNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressUnallocatePostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\IpAddressesIpAddressUnallocatePostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressUnallocatePostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\IpAddressesIpAddressUnallocatePostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterface' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterfaceNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterface' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterfaceNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterface' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterfaceNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddress' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddressNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Task' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200TaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTagsGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationTagsGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTagsGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationTagsGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTagsPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationTagsPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTagsPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationTagsPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTagsPostResponse200Tag' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationTagsPostResponse200TagNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TagsTagDeleteBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TagsTagDeleteBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TagsTagDeleteResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TagsTagDeleteResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TagsTagDeleteResponse200Tag' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TagsTagDeleteResponse200TagNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TagsTagGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TagsTagGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TagsTagGetResponse200Tag' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TagsTagGetResponse200TagNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TagsTagPatchBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TagsTagPatchBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TagsTagPatchResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TagsTagPatchResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TagsTagPatchResponse200Tag' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TagsTagPatchResponse200TagNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachineGroupsGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationVirtualMachineGroupsGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationVirtualMachineGroupsPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineGroupsVirtualMachineGroupDeleteBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupsVirtualMachineGroupGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineGroupsVirtualMachineGroupGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineGroupsVirtualMachineGroupPatchBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroup' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroupNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OperatingSystemsGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OperatingSystemsGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OperatingSystemsGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OperatingSystemsGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OperatingSystemsOperatingSystemGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OperatingSystemsOperatingSystemGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OperatingSystemsOperatingSystemGetResponse200OperatingSystem' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OperatingSystemsOperatingSystemGetResponse200OperatingSystemNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTrashObjectsGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationTrashObjectsGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTrashObjectsGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationTrashObjectsGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTrashObjectsPurgeAllPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationTrashObjectsPurgeAllPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200Task' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200TaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectsTrashObjectDeleteBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TrashObjectsTrashObjectDeleteBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectsTrashObjectDeleteResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TrashObjectsTrashObjectDeleteResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectsTrashObjectDeleteResponse200Task' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TrashObjectsTrashObjectDeleteResponse200TaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectsTrashObjectGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TrashObjectsTrashObjectGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectsTrashObjectGetResponse200TrashObject' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TrashObjectsTrashObjectGetResponse200TrashObjectNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectsTrashObjectRestorePostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TrashObjectsTrashObjectRestorePostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectsTrashObjectRestorePostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TrashObjectsTrashObjectRestorePostResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectsTrashObjectRestorePostResponse200TrashObject' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TrashObjectsTrashObjectRestorePostResponse200TrashObjectNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ZonesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ZonesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ZonesZoneGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ZonesZoneGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\ZonesZoneGetResponse200Zone' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\ZonesZoneGetResponse200ZoneNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\CountriesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CountriesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\CountriesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CountriesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\CountriesCountryGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CountriesCountryGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\CountriesCountryGetResponse200Country' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CountriesCountryGetResponse200CountryNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\CountriesCountryCountryStatesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CountriesCountryCountryStatesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\CountriesCountryCountryStatesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CountriesCountryCountryStatesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\CountryStatesCountryStateGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CountryStatesCountryStateGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\CountryStatesCountryStateGetResponse200CountryState' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CountryStatesCountryStateGetResponse200CountryStateNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\CurrenciesGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CurrenciesGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\CurrenciesGetResponse200Pagination' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CurrenciesGetResponse200PaginationNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\CurrenciesCurrencyGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CurrenciesCurrencyGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\CurrenciesCurrencyGetResponse200Currency' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\CurrenciesCurrencyGetResponse200CurrencyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TasksTaskGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TasksTaskGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\TasksTaskGetResponse200Task' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\TasksTaskGetResponse200TaskNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\UsersCurrentGetResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\UsersCurrentGetResponse200Normalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\UsersCurrentGetResponse200User' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\UsersCurrentGetResponse200UserNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\InvalidateLinkedWebSessionPostBody' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\InvalidateLinkedWebSessionPostBodyNormalizer', 'Krystal\\Katapult\\KatapultAPI\\Model\\InvalidateLinkedWebSessionPostResponse200' => 'Krystal\\Katapult\\KatapultAPI\\Normalizer\\InvalidateLinkedWebSessionPostResponse200Normalizer', '\\Jane\\Component\\JsonSchemaRuntime\\Reference' => '\\Krystal\\Katapult\\KatapultAPI\\Runtime\\Normalizer\\ReferenceNormalizer']; protected $normalizersCache = []; public function supportsDenormalization($data, $type, $format = null, array $context = []): bool @@ -74,6 +74,6 @@ private function initNormalizer(string $normalizerClass) public function getSupportedTypes(string $format = null): array { - return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenters200ResponseDataCenters' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCentersPartCountry' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\UnauthorizedNetworkForAPIToken' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\UnauthorizedNetworkForAPITokenSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\InvalidAPIToken' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\InvalidAPITokenSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ScopeNotGrantedError' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ScopeNotGrantedErrorSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\RateLimitReached' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenter200ResponseDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenterPartCountry' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenterDefaultNetwork200ResponseNetwork' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenterDefaultNetworkPartDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizations200ResponseOrganizations' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\Organization' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\Currency' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\Country' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\CountryState' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationSuspendedSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationNotActivatedSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PaginationObject' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationUsersWithAccess200ResponseUsers' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationUsersWithAccessPartUser' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationManaged200ResponseOrganizations' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManaged201ResponseOrganization' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManagedPartCurrency' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManagedPartCountry' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManagedPartCountryState' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationLimitReachedSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ValidationError' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ValidationErrorSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDisks200ResponseDisk' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDisksPartVirtualMachineDisk' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDisksPartVirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDisk200ResponseDisk' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartIOProfile' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartVirtualMachineDisk' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartVirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartInstallation' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartDiskTemplateVersion' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartDiskTemplate' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartOperatingSystem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartAttributes' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineDisks200ResponseDisks' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineDisksPartDisk' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ObjectInTrash' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObject' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplates' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDiskTemplatesPartLatestVersion' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDiskTemplatesPartOperatingSystem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationNotFoundSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OperatingSystemNotFoundSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplate200ResponseDiskTemplate' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplatePartLatestVersion' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplatePartOperatingSystem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplatePartBadge' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersions200ResponseDiskTemplate' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersions200ResponseDiskTemplateVersions' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersion200ResponseDiskTemplateVersion' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersionPartDiskTemplate' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersionSpec200ResponseDiskTemplateVersion' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersionSpecPartDiskTemplate' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TemplateSpec' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TemplateSpecField' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetGPUTypes200ResponseGPUTypes' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetGPUTypesPartDataCenters' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetGPUType200ResponseGPUType' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetGPUTypePartDataCenters' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenterGPUTypes200ResponseGPUTypes' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachines' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachinesPartZone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachinesPartDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachinesPartPackage' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachinesPartGPUType' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachinesPartIPAddresses' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartZone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartCountry' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartOrganization' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartCurrency' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartCountryState' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartPackage' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartIcon' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartAttachedISO' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartOperatingSystem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartBadge' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartGPUType' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartGPUs' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartType' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartTags' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartIPAddresses' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartNetwork' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineArguments' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GPUTypeLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartZone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartCountry' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartOrganization' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartCurrency' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartCountryState' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartPackage' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartIcon' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartAttachedISO' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartOperatingSystem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartBadge' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartGPUType' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartGPUs' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartType' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartTags' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartIPAddresses' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartNetwork' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartZone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartCountry' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartOrganization' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartCurrency' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartCountryState' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartPackage' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartIcon' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartAttachedISO' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartOperatingSystem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartBadge' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartGPUType' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartGPUs' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartType' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartTags' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartIPAddresses' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartNetwork' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PermissionDenied' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PermissionDeniedSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinePackageLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\Task' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNotFoundSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinePackageNotFoundSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ObjectInTrashSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TaskQueueingError' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TaskQueueingErrorSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineFlexibleResources' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\FlexibleResourcesUnavailableToOrganizationSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\IPAddressLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\IPAddress' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\Network' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\IPAddressNotFoundSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\NoInterfaceAvailableSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\IPAlreadyAllocatedSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ZoneLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCenterLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\KeyValue' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\NetworkLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationVirtualMachinesBuild201ResponseTask' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationVirtualMachinesBuild201ResponseBuild' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuild' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResourceCreationRestricted' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResourceCreationRestrictedSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ZoneNotFoundSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCenterNotFoundSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateNotFoundSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\NetworkNotFoundSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LocationRequiredSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseTask' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuild' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuild' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\APIAuthenticator400Schema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\InvalidSpecXML' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\InvalidSpecXMLSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuild' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineStart200ResponseTask' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineStop200ResponseTask' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineShutdown200ResponseTask' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineReset200ResponseTask' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineConsoleSessions201ResponseConsoleSession' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineConsoleSessionsPartVirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineMustBeStarted' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineMustBeStartedSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePackages200ResponseVirtualMachinePackages' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePackagesPartIcon' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinePackage' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\Attachment' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\AuthSSHKey' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\AuthSSHKeyProperties' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\AuthSSHKeyLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeletionRestricted' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPolicies' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPolicyTarget' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\Zone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ISO' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OperatingSystem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GPUType' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGPU' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\Tag' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\Disk' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskIOProfile' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineDisk' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskInstallation' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateVersion' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplate' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskInstallationAttribute' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDiskBackupPoliciesPartSchedule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicies' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineDiskBackupPoliciesPartSchedule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskDiskBackupPolicies200ResponseDiskBackupPolicies' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskDiskBackupPoliciesPartSchedule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskBackupPolicy200ResponseDiskBackupPolicy' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskBackupPolicyPartSchedule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPolicyLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteDiskBackupPolicy200ResponseDiskBackupPolicy' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicy' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\InvalidTimestampSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPolicyArguments' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ScheduleArguments' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchDiskBackupPolicy200ResponseDiskBackupPolicy' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicy' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineDiskBackupPoliciesPartSchedule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostDiskDiskBackupPolicies200ResponseDiskBackupPolicy' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostDiskDiskBackupPoliciesPartSchedule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSZone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSZoneArguments' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationDNSZones201ResponseDNSZone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSZoneLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteDNSZonesDNSZone200ResponseDNSZone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSZoneVerificationDetails' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\InfrastructureDNSZoneCannotBeEditedSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSZoneNotVerified' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostDNSZonesDNSZoneUpdateTTL200ResponseDNSZone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDNSZonesDNSZoneRecords200ResponseDNSRecords' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordProperties' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\A' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\AAAA' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\CAA' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\CNAME' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\MX' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\NS' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SRV' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SSHFP' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TXT' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ALIAS' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordArguments' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordPropertiesArguments' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostDNSZonesDNSZoneRecords200ResponseDNSRecord' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDNSRecordsDNSRecord200ResponseDNSRecord' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchDNSRecordsDNSRecord200ResponseDNSRecord' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationsOrganizationDNSZones201ResponseDNSZone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecord' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributes' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForA' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForAAAA' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForALIAS' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForCAA' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForCNAME' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForIPS' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForMX' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForNS' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForPTR' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForSRV' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForSSHFP' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForTXT' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForVirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupArguments' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteSecurityGroup200ResponseSecurityGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetSecurityGroupRules200ResponseSecurityGroupRules' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupRuleArguments' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostSecurityGroupRules200ResponseSecurityGroupRule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostSecurityGroupRulesPartSecurityGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupRuleLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumes' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationFileStorageVolumesPartDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetFileStorageVolume200ResponseFileStorageVolume' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetFileStorageVolumePartDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumeArguments' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationFileStorageVolumes201ResponseFileStorageVolume' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationFileStorageVolumesPartDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumeLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchFileStorageVolume200ResponseFileStorageVolume' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchFileStorageVolumePartDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteFileStorageVolume200ResponseFileStorageVolume' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteFileStorageVolumePartDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationAvailableNetworks200ResponseNetworks' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationAvailableNetworksPartDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationAvailableNetworks200ResponseVirtualNetworks' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\NetworkSpeedProfile' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationCertificates200ResponseCertificates' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\Certificate' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationLoadBalancers200ResponseLoadBalancers' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancerResource' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationLoadBalancersPartIPAddress' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationLoadBalancersPartDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancerArguments' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancerWeightsArguments' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancers200ResponseLoadBalancer' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancersPartIPAddress' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancersPartDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancersPartWeights' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancer200ResponseLoadBalancer' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancerPartIPAddress' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancerPartDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancerPartWeights' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancerLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancer200ResponseLoadBalancer' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancerPartIPAddress' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancerPartDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancerPartWeights' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteLoadBalancer200ResponseLoadBalancer' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancerRules200ResponseLoadBalancerRules' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancerRulesPartCertificates' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancerRuleArguments' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\CertificateLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostLoadBalancerRules200ResponseLoadBalancerRule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostLoadBalancerRulesPartCertificates' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostLoadBalancerRulesPartLoadBalancer' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancersRulesLoadBalancerRulePartCertificates' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancerRuleLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartCertificates' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationIPAddresses200ResponseIPAddresses' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetIPAddress200ResponseAllocation' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfaces' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfacesPartNetwork' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfacesPartIPAddresses' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterface' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfacePartVirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfacePartNetwork' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfacePartIPAddresses' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\InterfaceNotFoundSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterface' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNIPartVirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNIPartNetwork' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNIPartIPAddresses' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNIPartSpeedProfile' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfaceLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterface' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfaceNotFoundSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\InvalidIPSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\NetworkSpeedProfileLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\NetworkSpeedProfileNotFoundSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationTags200ResponseTags' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TagArguments' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TagLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupArguments' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOperatingSystems200ResponseOperatingSystems' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetZones200ResponseZones' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetZonesPartDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetCountries200ResponseCountries' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetCountryCountryStates200ResponseCountryStates' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetCurrencies200ResponseCurrencies' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\User' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetUsersCurrent200ResponseOrganizations' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\IdentityNotLinkedToWebSessionSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseAPIAuthenticator400Response' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseAPIAuthenticator429Response' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDataCenterNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseOrganizationNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDiskNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseVirtualMachineNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseObjectInTrashResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDiskTemplateNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDiskTemplateVersionNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseGPUTypeNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseValidationErrorResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseVirtualMachineBuildNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseVirtualMachinePackageNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseSSHKeyNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDeletionRestrictedResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDiskBackupPolicyNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDNSZoneNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDNSZoneAlreadyVerifiedResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDNSZoneNotVerifiedResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDNSRecordNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseSecurityGroupNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseSecurityGroupRuleNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseFileStorageVolumeNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseNetworkNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseCertificateNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseLoadBalancerNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseLoadBalancerRuleNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseNoAvailableAddressesResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseIPAddressNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseResourceDoesNotSupportUnallocationResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseNoAllocationResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseVirtualMachineNetworkInterfaceNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseTaskQueueingErrorResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseSpeedProfileAlreadyAssignedResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseTagNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseVirtualMachineGroupNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseOperatingSystemNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseTrashObjectNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseZoneNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseCountryNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseCountryStateNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseCurrencyNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseTaskNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseNoUserAssociatedWithIdentityResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCentersGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCentersDataCenterGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCentersDataCenterGetResponse200DataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCentersDataCenterDefaultNetworkGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCentersDataCenterDefaultNetworkGetResponse200Network' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationGetResponse200Organization' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationUsersWithAccessGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationUsersWithAccessGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationManagedGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationManagedGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationManagedPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationManagedPostResponse201' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationManagedPostResponse201Organization' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDisksGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDisksGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DisksDiskGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DisksDiskGetResponse200Disk' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDisksGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDisksGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDiskTemplatesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDiskTemplatesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplatesDiskTemplateGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplatesDiskTemplateGetResponse200DiskTemplate' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplatesDiskTemplateVersionsGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplatesDiskTemplateVersionsGetResponse200DiskTemplate' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplatesDiskTemplateVersionsGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateVersionsDiskTemplateVersionGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersion' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersion' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GpuTypesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GpuTypesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GpuTypesGpuTypeGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GpuTypesGpuTypeGetResponse200GpuType' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCentersDataCenterGpuTypesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCentersDataCenterGpuTypesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDeleteBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDeleteResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDeleteResponse200TrashObject' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDeleteResponse200VirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineGetResponse200VirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachinePatchBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachinePatchResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachinePatchResponse200VirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachinePackagePutBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachinePackagePutResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachinePackagePutResponse200Task' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineFlexibleResourcesPutBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200Task' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineAllocateIpPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineAllocateIpPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddress' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Task' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Build' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201VirtualMachineBuild' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Task' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Build' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201VirtualMachineBuild' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesBuildsVirtualMachineBuildGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesBuildsVirtualMachineBuildGetResponse200VirtualMachineBuild' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineStartPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineStartPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineStartPostResponse200Task' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineStopPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineStopPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineStopPostResponse200Task' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineShutdownPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineShutdownPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineShutdownPostResponse200Task' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineResetPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineResetPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineResetPostResponse200Task' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineConsoleSessionsPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201ConsoleSession' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinePackagesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinePackagesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinePackagesVirtualMachinePackageGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinePackagesVirtualMachinePackageGetResponse200VirtualMachinePackage' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSshKeysGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSshKeysGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSshKeysPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSshKeysPostResponse201' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSshKeysPostResponse201SshKey' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SshKeysSshKeyDeleteBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SshKeysSshKeyDeleteResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SshKeysSshKeyDeleteResponse200SshKey' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDiskBackupPoliciesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDiskBackupPoliciesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicy' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DisksDiskDiskBackupPoliciesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DisksDiskDiskBackupPoliciesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DisksDiskDiskBackupPoliciesPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DisksDiskDiskBackupPoliciesPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicy' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicy' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicy' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicy' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicy' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDnsZonesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDnsZonesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDnsZonesPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDnsZonesPostResponse201' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDnsZonesPostResponse201DnsZone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneDeleteBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneDeleteResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneDeleteResponse200DnsZone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneGetResponse200DnsZone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneVerificationDetailsGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneVerifyPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneVerifyPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneVerifyPostResponse200DnsZone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneUpdateTtlPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneUpdateTtlPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneUpdateTtlPostResponse200DnsZone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneRecordsGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneRecordsPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneRecordsPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneRecordsPostResponse200DnsRecord' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsRecordsDnsRecordDeleteBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsRecordsDnsRecordDeleteResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsRecordsDnsRecordGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsRecordsDnsRecordGetResponse200DnsRecord' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsRecordsDnsRecordPatchBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsRecordsDnsRecordPatchResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsRecordsDnsRecordPatchResponse200DnsRecord' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDnsZonesNameserversGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZonePatchBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZonePatchResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZonePatchResponse200DnsZone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSecurityGroupsGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSecurityGroupsGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSecurityGroupsPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSecurityGroupsPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupDeleteBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupDeleteResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupDeleteResponse200SecurityGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupGetResponse200SecurityGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupPatchBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupPatchResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupPatchResponse200SecurityGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupRulesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupRulesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupRulesPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupRulesPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsRulesSecurityGroupRuleGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsRulesSecurityGroupRulePatchBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsRulesSecurityGroupRulePatchResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationFileStorageVolumesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationFileStorageVolumesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationFileStorageVolumesPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationFileStorageVolumesPostResponse201' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolume' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumeDeleteBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumeDeleteResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumeDeleteResponse200TrashObject' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolume' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumeGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolume' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumePatchBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumePatchResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolume' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationAvailableNetworksGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\NetworksNetworkGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\NetworksNetworkGetResponse200Network' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationCertificatesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationCertificatesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\CertificatesCertificateGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationLoadBalancersGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationLoadBalancersGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationLoadBalancersPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationLoadBalancersPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationLoadBalancersPostResponse200LoadBalancer' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerDeleteBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerDeleteResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerDeleteResponse200LoadBalancer' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerGetResponse200LoadBalancer' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerPatchBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerPatchResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerPatchResponse200LoadBalancer' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerRulesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerRulesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerRulesPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerRulesPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersRulesLoadBalancerRuleGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersRulesLoadBalancerRulePatchBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersRulesLoadBalancerRulePatchResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationIpAddressesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationIpAddressesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationIpAddressesPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationIpAddressesPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationIpAddressesPostResponse200IpAddress' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressDeleteBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressDeleteResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressGetResponse200IpAddress' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressGetResponse200Allocation' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressPatchBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressPatchResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressPatchResponse200IpAddress' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressUnallocatePostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressUnallocatePostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterface' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterface' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterface' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddress' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Task' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTagsGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTagsGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTagsPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTagsPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTagsPostResponse200Tag' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TagsTagDeleteBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TagsTagDeleteResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TagsTagDeleteResponse200Tag' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TagsTagGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TagsTagGetResponse200Tag' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TagsTagPatchBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TagsTagPatchResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TagsTagPatchResponse200Tag' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachineGroupsGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupsVirtualMachineGroupGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OperatingSystemsGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OperatingSystemsGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OperatingSystemsOperatingSystemGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OperatingSystemsOperatingSystemGetResponse200OperatingSystem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTrashObjectsGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTrashObjectsGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTrashObjectsPurgeAllPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200Task' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectsTrashObjectDeleteBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectsTrashObjectDeleteResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectsTrashObjectDeleteResponse200Task' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectsTrashObjectGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectsTrashObjectGetResponse200TrashObject' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectsTrashObjectRestorePostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectsTrashObjectRestorePostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectsTrashObjectRestorePostResponse200TrashObject' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ZonesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ZonesZoneGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ZonesZoneGetResponse200Zone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\CountriesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\CountriesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\CountriesCountryGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\CountriesCountryGetResponse200Country' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\CountriesCountryCountryStatesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\CountriesCountryCountryStatesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\CountryStatesCountryStateGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\CountryStatesCountryStateGetResponse200CountryState' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\CurrenciesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\CurrenciesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\CurrenciesCurrencyGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\CurrenciesCurrencyGetResponse200Currency' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TasksTaskGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TasksTaskGetResponse200Task' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\UsersCurrentGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\UsersCurrentGetResponse200User' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\InvalidateLinkedWebSessionPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\InvalidateLinkedWebSessionPostResponse200' => false, '\\Jane\\Component\\JsonSchemaRuntime\\Reference' => false]; + return ['Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenters200ResponseDataCenters' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenters200ResponseDataCentersCountry' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCentersPartCountry' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\UnauthorizedNetworkForAPIToken' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\UnauthorizedNetworkForAPITokenSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\InvalidAPIToken' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\InvalidAPITokenSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ScopeNotGrantedError' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ScopeNotGrantedErrorSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\RateLimitReached' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenter200ResponseDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenter200ResponseDataCenterCountry' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenterPartCountry' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenterDefaultNetwork200ResponseNetwork' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenterDefaultNetwork200ResponseNetworkDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenterDefaultNetworkPartDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizations200ResponseOrganizations' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\Organization' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationCurrency' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationCountry' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationCountryState' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\Currency' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\Country' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\CountryState' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\CountryStateCountry' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationSuspendedSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationNotActivatedSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PaginationObject' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationUsersWithAccess200ResponseUsers' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationUsersWithAccess200ResponseUsersUser' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationUsersWithAccessPartUser' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationManaged200ResponseOrganizations' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManaged201ResponseOrganization' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManaged201ResponseOrganizationCurrency' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManaged201ResponseOrganizationCountry' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManaged201ResponseOrganizationCountryState' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManagedPartCurrency' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManagedPartCountry' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManagedPartCountryState' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManagedPartCountryStateCountry' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationLimitReachedSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ValidationError' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ValidationErrorSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDisks200ResponseDisk' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDisks200ResponseDiskVirtualMachineDisk' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDisksPartVirtualMachineDisk' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDisksPartVirtualMachineDiskVirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDisksPartVirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDisk200ResponseDisk' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDisk200ResponseDiskIoProfile' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDisk200ResponseDiskVirtualMachineDisk' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDisk200ResponseDiskInstallation' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartIOProfile' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartVirtualMachineDisk' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartVirtualMachineDiskVirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartVirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartInstallation' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartInstallationDiskTemplateVersion' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartInstallationAttributesItem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartDiskTemplateVersion' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartDiskTemplateVersionDiskTemplate' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartDiskTemplate' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartDiskTemplateOperatingSystem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartOperatingSystem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskPartAttributes' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineDisks200ResponseDisks' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineDisks200ResponseDisksDisk' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineDisksPartDisk' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ObjectInTrash' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ObjectInTrashTrashObject' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObject' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplates' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersion' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDiskTemplatesPartLatestVersion' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDiskTemplatesPartOperatingSystem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationNotFoundSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OperatingSystemNotFoundSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplate200ResponseDiskTemplate' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplate200ResponseDiskTemplateLatestVersion' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplate200ResponseDiskTemplateOperatingSystem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplatePartLatestVersion' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplatePartOperatingSystem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplatePartOperatingSystemBadge' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplatePartBadge' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersions200ResponseDiskTemplate' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersions200ResponseDiskTemplateVersions' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersion200ResponseDiskTemplateVersion' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersion200ResponseDiskTemplateVersionDiskTemplate' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersionPartDiskTemplate' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersionSpec200ResponseDiskTemplateVersion' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersionSpec200ResponseDiskTemplateVersionDiskTemplate' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskTemplateVersionSpecPartDiskTemplate' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TemplateSpec' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TemplateSpecFieldsItem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TemplateSpecField' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetGPUTypes200ResponseGPUTypes' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetGPUTypes200ResponseGPUTypesDataCentersItem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetGPUTypesPartDataCenters' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetGPUType200ResponseGPUType' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetGPUType200ResponseGPUTypeDataCentersItem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetGPUTypePartDataCenters' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDataCenterGPUTypes200ResponseGPUTypes' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachines' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesZone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesPackage' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuType' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesIpAddressesItem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachinesPartZone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachinesPartZoneDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachinesPartDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachinesPartPackage' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachinesPartGPUType' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationVirtualMachinesPartIPAddresses' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineZone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineOrganization' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachinePackage' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineAttachedIso' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineGpuType' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineGpusItem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineTagsItem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineIpAddressesItem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartZone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartZoneDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartDataCenterCountry' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartCountry' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartOrganization' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartOrganizationCurrency' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartOrganizationCountry' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartOrganizationCountryState' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartCurrency' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartCountryState' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartCountryStateCountry' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartPackage' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartPackageIcon' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartIcon' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartAttachedISO' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartAttachedISOOperatingSystem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartOperatingSystem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartOperatingSystemBadge' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartBadge' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartGPUType' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartGPUs' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartGPUsType' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartType' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartTags' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartIPAddresses' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartIPAddressesNetwork' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartNetwork' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartNetworkDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineArguments' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GPUTypeLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineZone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineOrganization' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachinePackage' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineAttachedIso' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineGpuType' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineGpusItem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineTagsItem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineIpAddressesItem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartZone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartZoneDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartDataCenterCountry' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartCountry' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartOrganization' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartOrganizationCurrency' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartOrganizationCountry' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartOrganizationCountryState' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartCurrency' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartCountryState' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartCountryStateCountry' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartPackage' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartPackageIcon' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartIcon' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartAttachedISO' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartAttachedISOOperatingSystem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartOperatingSystem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartOperatingSystemBadge' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartBadge' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartGPUType' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartGPUs' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartGPUsType' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartType' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartTags' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartIPAddresses' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartIPAddressesNetwork' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartNetwork' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartNetworkDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineZone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineOrganization' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachinePackage' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineAttachedIso' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGpuType' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGpusItem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineTagsItem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineIpAddressesItem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartZone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartZoneDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartDataCenterCountry' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartCountry' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartOrganization' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartOrganizationCurrency' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartOrganizationCountry' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartOrganizationCountryState' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartCurrency' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartCountryState' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartCountryStateCountry' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartPackage' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartPackageIcon' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartIcon' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartAttachedISO' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartAttachedISOOperatingSystem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartOperatingSystem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartOperatingSystemBadge' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartBadge' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartGPUType' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartGPUs' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartGPUsType' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartType' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartTags' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartIPAddresses' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartIPAddressesNetwork' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartNetwork' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartNetworkDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PermissionDenied' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PermissionDeniedSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinePackageLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\Task' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNotFoundSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinePackageNotFoundSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ObjectInTrashSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TaskQueueingError' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TaskQueueingErrorSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineFlexibleResources' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\FlexibleResourcesUnavailableToOrganizationSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\IPAddressLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\IPAddress' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\IPAddressNetwork' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\Network' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\NetworkDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCenterCountry' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\IPAddressNotFoundSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\NoInterfaceAvailableSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\IPAlreadyAllocatedSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ZoneLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCenterLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\KeyValue' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\NetworkLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationVirtualMachinesBuild201ResponseTask' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationVirtualMachinesBuild201ResponseBuild' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuild' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResourceCreationRestricted' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResourceCreationRestrictedSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ZoneNotFoundSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCenterNotFoundSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateNotFoundSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\NetworkNotFoundSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LocationRequiredSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseTask' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuild' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuild' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\APIAuthenticator400Schema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\InvalidSpecXML' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\InvalidSpecXMLSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuild' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineStart200ResponseTask' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineStop200ResponseTask' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineShutdown200ResponseTask' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineReset200ResponseTask' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineConsoleSessions201ResponseConsoleSession' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineConsoleSessions201ResponseConsoleSessionVirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineConsoleSessionsPartVirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineMustBeStarted' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineMustBeStartedSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePackages200ResponseVirtualMachinePackages' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePackages200ResponseVirtualMachinePackagesIcon' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePackagesPartIcon' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinePackage' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinePackageIcon' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\Attachment' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\AuthSSHKey' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\AuthSSHKeyProperties' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\AuthSSHKeyLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeletionRestricted' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPolicies' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPoliciesSchedule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPolicyTarget' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineZone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineOrganization' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineAttachedIso' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGpuType' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGpusItem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineTagsItem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineIpAddressesItem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\Zone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ZoneDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ISO' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ISOOperatingSystem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OperatingSystem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OperatingSystemBadge' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GPUType' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GPUTypeDataCentersItem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGPU' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGPUType' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\Tag' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\Disk' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskIoProfile' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskVirtualMachineDisk' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskInstallation' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskIOProfile' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineDisk' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineDiskVirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineDiskDisk' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskInstallationDiskTemplateVersion' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskInstallationAttributesItem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateVersion' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateVersionDiskTemplate' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplate' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateLatestVersion' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateOperatingSystem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskInstallationAttribute' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationDiskBackupPoliciesPartSchedule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicies' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPoliciesSchedule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineDiskBackupPoliciesPartSchedule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskDiskBackupPolicies200ResponseDiskBackupPolicies' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskDiskBackupPolicies200ResponseDiskBackupPoliciesSchedule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskDiskBackupPoliciesPartSchedule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskBackupPolicy200ResponseDiskBackupPolicy' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskBackupPolicy200ResponseDiskBackupPolicySchedule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDiskBackupPolicyPartSchedule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPolicyLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteDiskBackupPolicy200ResponseDiskBackupPolicy' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicy' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\InvalidTimestampSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPolicyArguments' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ScheduleArguments' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchDiskBackupPolicy200ResponseDiskBackupPolicy' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchDiskBackupPolicy200ResponseDiskBackupPolicySchedule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicy' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicySchedule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineDiskBackupPoliciesPartSchedule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostDiskDiskBackupPolicies200ResponseDiskBackupPolicy' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostDiskDiskBackupPolicies200ResponseDiskBackupPolicySchedule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostDiskDiskBackupPoliciesPartSchedule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSZone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSZoneArguments' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationDNSZones201ResponseDNSZone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSZoneLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteDNSZonesDNSZone200ResponseDNSZone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSZoneVerificationDetails' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\InfrastructureDNSZoneCannotBeEditedSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSZoneNotVerified' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostDNSZonesDNSZoneUpdateTTL200ResponseDNSZone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDNSZonesDNSZoneRecords200ResponseDNSRecords' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordProperties' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\A' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\AAAA' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\CAA' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\CNAME' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\MX' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\NS' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SRV' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SSHFP' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TXT' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ALIAS' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordArguments' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordPropertiesArguments' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostDNSZonesDNSZoneRecords200ResponseDNSRecord' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetDNSRecordsDNSRecord200ResponseDNSRecord' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchDNSRecordsDNSRecord200ResponseDNSRecord' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationsOrganizationDNSZones201ResponseDNSZone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecord' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributes' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesA' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesAAAA' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesALIAS' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesCAA' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesCNAME' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesIPS' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesMX' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesNS' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesPTR' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesSOA' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesSRV' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesSSHFP' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesTXT' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DNSRecordContentAttributesVirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForA' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForAAAA' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForALIAS' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForCAA' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForCNAME' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForIPS' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForMX' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForNS' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForPTR' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForSRV' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForSSHFP' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForTXT' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\RecordContentAttributesForVirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupArguments' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteSecurityGroup200ResponseSecurityGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetSecurityGroupRules200ResponseSecurityGroupRules' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupRuleArguments' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostSecurityGroupRules200ResponseSecurityGroupRule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostSecurityGroupRules200ResponseSecurityGroupRuleSecurityGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostSecurityGroupRulesPartSecurityGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupRuleLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumes' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumesDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationFileStorageVolumesPartDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetFileStorageVolume200ResponseFileStorageVolume' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetFileStorageVolume200ResponseFileStorageVolumeDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetFileStorageVolumePartDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumeArguments' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationFileStorageVolumes201ResponseFileStorageVolume' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationFileStorageVolumes201ResponseFileStorageVolumeDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationFileStorageVolumesPartDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumeLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchFileStorageVolume200ResponseFileStorageVolume' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchFileStorageVolume200ResponseFileStorageVolumeDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchFileStorageVolumePartDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteFileStorageVolume200ResponseFileStorageVolume' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteFileStorageVolume200ResponseFileStorageVolumeDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteFileStorageVolumePartDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationAvailableNetworks200ResponseNetworks' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationAvailableNetworks200ResponseNetworksDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationAvailableNetworksPartDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationAvailableNetworks200ResponseVirtualNetworks' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationAvailableNetworks200ResponseVirtualNetworksDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\NetworkSpeedProfile' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationCertificates200ResponseCertificates' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\Certificate' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationLoadBalancers200ResponseLoadBalancers' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationLoadBalancers200ResponseLoadBalancersIpAddressItem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationLoadBalancers200ResponseLoadBalancersDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancerResource' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationLoadBalancersPartIPAddress' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationLoadBalancersPartDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancerArguments' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancerWeightsArguments' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancers200ResponseLoadBalancer' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancers200ResponseLoadBalancerIpAddressItem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancers200ResponseLoadBalancerDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancers200ResponseLoadBalancerWeightsItem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancersPartIPAddress' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancersPartDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancersPartWeights' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancer200ResponseLoadBalancer' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancer200ResponseLoadBalancerIpAddressItem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancer200ResponseLoadBalancerDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancer200ResponseLoadBalancerWeightsItem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancerPartIPAddress' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancerPartDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancerPartWeights' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancerLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancer200ResponseLoadBalancer' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancer200ResponseLoadBalancerIpAddressItem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancer200ResponseLoadBalancerDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancer200ResponseLoadBalancerWeightsItem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancerPartIPAddress' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancerPartDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancerPartWeights' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteLoadBalancer200ResponseLoadBalancer' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancerRules200ResponseLoadBalancerRules' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancerRules200ResponseLoadBalancerRulesCertificatesItem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancerRulesPartCertificates' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancerRuleArguments' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\CertificateLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostLoadBalancerRules200ResponseLoadBalancerRule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostLoadBalancerRules200ResponseLoadBalancerRuleCertificatesItem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostLoadBalancerRules200ResponseLoadBalancerRuleLoadBalancer' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostLoadBalancerRulesPartCertificates' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostLoadBalancerRulesPartLoadBalancer' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancer' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancersRulesLoadBalancerRulePartCertificates' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancerRuleLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancer' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartCertificates' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationIPAddresses200ResponseIPAddresses' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetIPAddress200ResponseAllocation' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfaces' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesNetwork' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesIpAddressesItem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfacesPartNetwork' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfacesPartIPAddresses' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterface' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceVirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceNetwork' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceIpAddressesItem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfacePartVirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfacePartNetwork' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfacePartIPAddresses' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\InterfaceNotFoundSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterface' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceVirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceNetwork' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceIpAddressesItem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceSpeedProfile' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNIPartVirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNIPartNetwork' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNIPartIPAddresses' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNIPartSpeedProfile' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfaceLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterface' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceVirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceNetwork' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceIpAddressesItem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfaceNotFoundSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\InvalidIPSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\NetworkSpeedProfileLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\NetworkSpeedProfileNotFoundSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOrganizationTags200ResponseTags' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TagArguments' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TagLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupArguments' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetOperatingSystems200ResponseOperatingSystems' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectLookup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetZones200ResponseZones' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetZones200ResponseZonesDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetZonesPartDataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetCountries200ResponseCountries' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetCountryCountryStates200ResponseCountryStates' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetCurrencies200ResponseCurrencies' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\User' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetUsersCurrent200ResponseOrganizations' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\IdentityNotLinkedToWebSessionSchema' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseAPIAuthenticator400Response' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseAPIAuthenticator429Response' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDataCenterNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseOrganizationNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDiskNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseVirtualMachineNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseObjectInTrashResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDiskTemplateNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDiskTemplateVersionNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseGPUTypeNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseValidationErrorResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseVirtualMachineBuildNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseVirtualMachinePackageNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseSSHKeyNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDeletionRestrictedResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDiskBackupPolicyNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDNSZoneNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDNSZoneAlreadyVerifiedResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDNSZoneNotVerifiedResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseDNSRecordNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseSecurityGroupNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseSecurityGroupRuleNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseFileStorageVolumeNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseNetworkNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseCertificateNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseLoadBalancerNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseLoadBalancerRuleNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseNoAvailableAddressesResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseIPAddressNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseResourceDoesNotSupportUnallocationResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseNoAllocationResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseVirtualMachineNetworkInterfaceNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseTaskQueueingErrorResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseSpeedProfileAlreadyAssignedResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseTagNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseVirtualMachineGroupNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseOperatingSystemNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseTrashObjectNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseZoneNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseCountryNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseCountryStateNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseCurrencyNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseTaskNotFoundResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ResponseNoUserAssociatedWithIdentityResponse' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCentersGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCentersDataCenterGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCentersDataCenterGetResponse200DataCenter' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCentersDataCenterDefaultNetworkGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCentersDataCenterDefaultNetworkGetResponse200Network' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationGetResponse200Organization' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationUsersWithAccessGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationUsersWithAccessGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationManagedGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationManagedGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationManagedPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationManagedPostResponse201' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationManagedPostResponse201Organization' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDisksGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDisksGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DisksDiskGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DisksDiskGetResponse200Disk' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDisksGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDisksGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDiskTemplatesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDiskTemplatesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplatesDiskTemplateGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplatesDiskTemplateGetResponse200DiskTemplate' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplatesDiskTemplateVersionsGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplatesDiskTemplateVersionsGetResponse200DiskTemplate' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplatesDiskTemplateVersionsGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateVersionsDiskTemplateVersionGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersion' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersion' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GpuTypesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GpuTypesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GpuTypesGpuTypeGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\GpuTypesGpuTypeGetResponse200GpuType' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCentersDataCenterGpuTypesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCentersDataCenterGpuTypesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDeleteBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDeleteResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDeleteResponse200TrashObject' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDeleteResponse200VirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineGetResponse200VirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachinePatchBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachinePatchResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachinePatchResponse200VirtualMachine' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachinePackagePutBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachinePackagePutResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachinePackagePutResponse200Task' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineFlexibleResourcesPutBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200Task' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineAllocateIpPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineAllocateIpPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddress' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Task' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Build' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201VirtualMachineBuild' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Task' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Build' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201VirtualMachineBuild' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesBuildsVirtualMachineBuildGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesBuildsVirtualMachineBuildGetResponse200VirtualMachineBuild' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineStartPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineStartPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineStartPostResponse200Task' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineStopPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineStopPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineStopPostResponse200Task' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineShutdownPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineShutdownPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineShutdownPostResponse200Task' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineResetPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineResetPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineResetPostResponse200Task' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineConsoleSessionsPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201ConsoleSession' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinePackagesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinePackagesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinePackagesVirtualMachinePackageGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinePackagesVirtualMachinePackageGetResponse200VirtualMachinePackage' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSshKeysGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSshKeysGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSshKeysPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSshKeysPostResponse201' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSshKeysPostResponse201SshKey' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SshKeysSshKeyDeleteBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SshKeysSshKeyDeleteResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SshKeysSshKeyDeleteResponse200SshKey' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDiskBackupPoliciesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDiskBackupPoliciesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicy' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DisksDiskDiskBackupPoliciesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DisksDiskDiskBackupPoliciesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DisksDiskDiskBackupPoliciesPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DisksDiskDiskBackupPoliciesPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicy' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicy' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicy' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicy' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicy' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDnsZonesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDnsZonesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDnsZonesPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDnsZonesPostResponse201' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDnsZonesPostResponse201DnsZone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneDeleteBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneDeleteResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneDeleteResponse200DnsZone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneGetResponse200DnsZone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneVerificationDetailsGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneVerifyPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneVerifyPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneVerifyPostResponse200DnsZone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneUpdateTtlPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneUpdateTtlPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneUpdateTtlPostResponse200DnsZone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneRecordsGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneRecordsPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneRecordsPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZoneRecordsPostResponse200DnsRecord' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsRecordsDnsRecordDeleteBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsRecordsDnsRecordDeleteResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsRecordsDnsRecordGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsRecordsDnsRecordGetResponse200DnsRecord' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsRecordsDnsRecordPatchBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsRecordsDnsRecordPatchResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsRecordsDnsRecordPatchResponse200DnsRecord' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationDnsZonesNameserversGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZonePatchBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZonePatchResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\DnsZonesDnsZonePatchResponse200DnsZone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSecurityGroupsGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSecurityGroupsGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSecurityGroupsPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSecurityGroupsPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupDeleteBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupDeleteResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupDeleteResponse200SecurityGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupGetResponse200SecurityGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupPatchBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupPatchResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupPatchResponse200SecurityGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupRulesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupRulesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupRulesPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupRulesPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsRulesSecurityGroupRuleGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsRulesSecurityGroupRulePatchBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsRulesSecurityGroupRulePatchResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationFileStorageVolumesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationFileStorageVolumesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationFileStorageVolumesPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationFileStorageVolumesPostResponse201' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolume' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumeDeleteBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumeDeleteResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumeDeleteResponse200TrashObject' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolume' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumeGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolume' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumePatchBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumePatchResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolume' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationAvailableNetworksGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\NetworksNetworkGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\NetworksNetworkGetResponse200Network' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationCertificatesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationCertificatesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\CertificatesCertificateGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationLoadBalancersGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationLoadBalancersGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationLoadBalancersPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationLoadBalancersPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationLoadBalancersPostResponse200LoadBalancer' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerDeleteBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerDeleteResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerDeleteResponse200LoadBalancer' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerGetResponse200LoadBalancer' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerPatchBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerPatchResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerPatchResponse200LoadBalancer' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerRulesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerRulesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerRulesPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerRulesPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersRulesLoadBalancerRuleGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersRulesLoadBalancerRulePatchBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersRulesLoadBalancerRulePatchResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRule' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationIpAddressesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationIpAddressesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationIpAddressesPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationIpAddressesPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationIpAddressesPostResponse200IpAddress' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressDeleteBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressDeleteResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressGetResponse200IpAddress' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressGetResponse200Allocation' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressPatchBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressPatchResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressPatchResponse200IpAddress' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressUnallocatePostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\IpAddressesIpAddressUnallocatePostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterface' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterface' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterface' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddress' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Task' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTagsGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTagsGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTagsPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTagsPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTagsPostResponse200Tag' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TagsTagDeleteBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TagsTagDeleteResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TagsTagDeleteResponse200Tag' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TagsTagGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TagsTagGetResponse200Tag' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TagsTagPatchBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TagsTagPatchResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TagsTagPatchResponse200Tag' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachineGroupsGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupsVirtualMachineGroupGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroup' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OperatingSystemsGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OperatingSystemsGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OperatingSystemsOperatingSystemGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OperatingSystemsOperatingSystemGetResponse200OperatingSystem' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTrashObjectsGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTrashObjectsGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTrashObjectsPurgeAllPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200Task' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectsTrashObjectDeleteBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectsTrashObjectDeleteResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectsTrashObjectDeleteResponse200Task' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectsTrashObjectGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectsTrashObjectGetResponse200TrashObject' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectsTrashObjectRestorePostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectsTrashObjectRestorePostResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObjectsTrashObjectRestorePostResponse200TrashObject' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ZonesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ZonesZoneGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\ZonesZoneGetResponse200Zone' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\CountriesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\CountriesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\CountriesCountryGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\CountriesCountryGetResponse200Country' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\CountriesCountryCountryStatesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\CountriesCountryCountryStatesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\CountryStatesCountryStateGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\CountryStatesCountryStateGetResponse200CountryState' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\CurrenciesGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\CurrenciesGetResponse200Pagination' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\CurrenciesCurrencyGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\CurrenciesCurrencyGetResponse200Currency' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TasksTaskGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\TasksTaskGetResponse200Task' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\UsersCurrentGetResponse200' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\UsersCurrentGetResponse200User' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\InvalidateLinkedWebSessionPostBody' => false, 'Krystal\\Katapult\\KatapultAPI\\Model\\InvalidateLinkedWebSessionPostResponse200' => false, '\\Jane\\Component\\JsonSchemaRuntime\\Reference' => false]; } } diff --git a/src/Normalizer/LoadBalancersLoadBalancerDeleteResponse200LoadBalancerNormalizer.php b/src/Normalizer/LoadBalancersLoadBalancerDeleteResponse200LoadBalancerNormalizer.php index f23aaa09..495bdcbe 100644 --- a/src/Normalizer/LoadBalancersLoadBalancerDeleteResponse200LoadBalancerNormalizer.php +++ b/src/Normalizer/LoadBalancersLoadBalancerDeleteResponse200LoadBalancerNormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('api_reference', $data)) { + if (\array_key_exists('api_reference', $data) && $data['api_reference'] !== null) { $object->setApiReference($data['api_reference']); unset($data['api_reference']); + } elseif (\array_key_exists('api_reference', $data) && $data['api_reference'] === null) { + $object->setApiReference(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/LoadBalancersLoadBalancerGetResponse200LoadBalancerNormalizer.php b/src/Normalizer/LoadBalancersLoadBalancerGetResponse200LoadBalancerNormalizer.php index b5b34e5e..e739b880 100644 --- a/src/Normalizer/LoadBalancersLoadBalancerGetResponse200LoadBalancerNormalizer.php +++ b/src/Normalizer/LoadBalancersLoadBalancerGetResponse200LoadBalancerNormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('api_reference', $data)) { + if (\array_key_exists('api_reference', $data) && $data['api_reference'] !== null) { $object->setApiReference($data['api_reference']); unset($data['api_reference']); + } elseif (\array_key_exists('api_reference', $data) && $data['api_reference'] === null) { + $object->setApiReference(null); } if (\array_key_exists('resource_type', $data)) { $object->setResourceType($data['resource_type']); @@ -84,7 +86,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('ip_address', $data)) { $values_2 = []; foreach ($data['ip_address'] as $value_2) { - $values_2[] = $this->denormalizer->denormalize($value_2, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancerPartIPAddress', 'json', $context); + $values_2[] = $this->denormalizer->denormalize($value_2, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancer200ResponseLoadBalancerIpAddressItem', 'json', $context); } $object->setIpAddress($values_2); unset($data['ip_address']); @@ -102,7 +104,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['backend_certificate_key']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancerPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancer200ResponseLoadBalancerDataCenter', 'json', $context)); unset($data['data_center']); } if (\array_key_exists('enable_weighting', $data)) { @@ -112,7 +114,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('weights', $data)) { $values_3 = []; foreach ($data['weights'] as $value_3) { - $values_3[] = $this->denormalizer->denormalize($value_3, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancerPartWeights', 'json', $context); + $values_3[] = $this->denormalizer->denormalize($value_3, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancer200ResponseLoadBalancerWeightsItem', 'json', $context); } $object->setWeights($values_3); unset($data['weights']); diff --git a/src/Normalizer/LoadBalancersLoadBalancerPatchResponse200LoadBalancerNormalizer.php b/src/Normalizer/LoadBalancersLoadBalancerPatchResponse200LoadBalancerNormalizer.php index 0fb06f1d..fc96bea5 100644 --- a/src/Normalizer/LoadBalancersLoadBalancerPatchResponse200LoadBalancerNormalizer.php +++ b/src/Normalizer/LoadBalancersLoadBalancerPatchResponse200LoadBalancerNormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('api_reference', $data)) { + if (\array_key_exists('api_reference', $data) && $data['api_reference'] !== null) { $object->setApiReference($data['api_reference']); unset($data['api_reference']); + } elseif (\array_key_exists('api_reference', $data) && $data['api_reference'] === null) { + $object->setApiReference(null); } if (\array_key_exists('resource_type', $data)) { $object->setResourceType($data['resource_type']); @@ -84,7 +86,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('ip_address', $data)) { $values_2 = []; foreach ($data['ip_address'] as $value_2) { - $values_2[] = $this->denormalizer->denormalize($value_2, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancerPartIPAddress', 'json', $context); + $values_2[] = $this->denormalizer->denormalize($value_2, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancer200ResponseLoadBalancerIpAddressItem', 'json', $context); } $object->setIpAddress($values_2); unset($data['ip_address']); @@ -102,7 +104,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['backend_certificate_key']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancerPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancer200ResponseLoadBalancerDataCenter', 'json', $context)); unset($data['data_center']); } if (\array_key_exists('enable_weighting', $data)) { @@ -112,7 +114,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('weights', $data)) { $values_3 = []; foreach ($data['weights'] as $value_3) { - $values_3[] = $this->denormalizer->denormalize($value_3, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancerPartWeights', 'json', $context); + $values_3[] = $this->denormalizer->denormalize($value_3, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancer200ResponseLoadBalancerWeightsItem', 'json', $context); } $object->setWeights($values_3); unset($data['weights']); diff --git a/src/Normalizer/LoadBalancersLoadBalancerRulesGetResponse200PaginationNormalizer.php b/src/Normalizer/LoadBalancersLoadBalancerRulesGetResponse200PaginationNormalizer.php index 20edd3ff..417a74f2 100644 --- a/src/Normalizer/LoadBalancersLoadBalancerRulesGetResponse200PaginationNormalizer.php +++ b/src/Normalizer/LoadBalancersLoadBalancerRulesGetResponse200PaginationNormalizer.php @@ -53,13 +53,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCurrentPage($data['current_page']); unset($data['current_page']); } - if (\array_key_exists('total_pages', $data)) { + if (\array_key_exists('total_pages', $data) && $data['total_pages'] !== null) { $object->setTotalPages($data['total_pages']); unset($data['total_pages']); + } elseif (\array_key_exists('total_pages', $data) && $data['total_pages'] === null) { + $object->setTotalPages(null); } - if (\array_key_exists('total', $data)) { + if (\array_key_exists('total', $data) && $data['total'] !== null) { $object->setTotal($data['total']); unset($data['total']); + } elseif (\array_key_exists('total', $data) && $data['total'] === null) { + $object->setTotal(null); } if (\array_key_exists('per_page', $data)) { $object->setPerPage($data['per_page']); diff --git a/src/Normalizer/LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRuleNormalizer.php b/src/Normalizer/LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRuleNormalizer.php index 70488ed1..76d2ce48 100644 --- a/src/Normalizer/LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRuleNormalizer.php +++ b/src/Normalizer/LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRuleNormalizer.php @@ -76,7 +76,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('certificates', $data)) { $values = []; foreach ($data['certificates'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostLoadBalancerRulesPartCertificates', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostLoadBalancerRules200ResponseLoadBalancerRuleCertificatesItem', 'json', $context); } $object->setCertificates($values); unset($data['certificates']); @@ -122,7 +122,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['check_http_statuses']); } if (\array_key_exists('load_balancer', $data)) { - $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostLoadBalancerRulesPartLoadBalancer', 'json', $context)); + $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostLoadBalancerRules200ResponseLoadBalancerRuleLoadBalancer', 'json', $context)); unset($data['load_balancer']); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRuleNormalizer.php b/src/Normalizer/LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRuleNormalizer.php index e667220b..0ce18fe0 100644 --- a/src/Normalizer/LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRuleNormalizer.php +++ b/src/Normalizer/LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRuleNormalizer.php @@ -76,7 +76,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('certificates', $data)) { $values = []; foreach ($data['certificates'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancersRulesLoadBalancerRulePartCertificates', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItem', 'json', $context); } $object->setCertificates($values); unset($data['certificates']); @@ -122,7 +122,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['check_http_statuses']); } if (\array_key_exists('load_balancer', $data)) { - $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer', 'json', $context)); + $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancer', 'json', $context)); unset($data['load_balancer']); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRuleNormalizer.php b/src/Normalizer/LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRuleNormalizer.php index ae163c2a..f3b652fb 100644 --- a/src/Normalizer/LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRuleNormalizer.php +++ b/src/Normalizer/LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRuleNormalizer.php @@ -76,7 +76,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('certificates', $data)) { $values = []; foreach ($data['certificates'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartCertificates', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItem', 'json', $context); } $object->setCertificates($values); unset($data['certificates']); @@ -122,7 +122,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['check_http_statuses']); } if (\array_key_exists('load_balancer', $data)) { - $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer', 'json', $context)); + $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancer', 'json', $context)); unset($data['load_balancer']); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/NetworkDataCenterNormalizer.php b/src/Normalizer/NetworkDataCenterNormalizer.php new file mode 100644 index 00000000..6154edeb --- /dev/null +++ b/src/Normalizer/NetworkDataCenterNormalizer.php @@ -0,0 +1,110 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); + } + if (\array_key_exists('country', $data)) { + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCenterCountry', 'json', $context)); + unset($data['country']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + if ($object->isInitialized('country') && null !== $object->getCountry()) { + $data['country'] = $this->normalizer->normalize($object->getCountry(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\NetworkDataCenter' => false]; + } +} diff --git a/src/Normalizer/NetworkNormalizer.php b/src/Normalizer/NetworkNormalizer.php index 9170281d..2a63203c 100644 --- a/src/Normalizer/NetworkNormalizer.php +++ b/src/Normalizer/NetworkNormalizer.php @@ -57,12 +57,14 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\NetworkDataCenter', 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/NetworkSpeedProfileNormalizer.php b/src/Normalizer/NetworkSpeedProfileNormalizer.php index edf9da0a..67341a84 100644 --- a/src/Normalizer/NetworkSpeedProfileNormalizer.php +++ b/src/Normalizer/NetworkSpeedProfileNormalizer.php @@ -57,13 +57,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('upload_speed_in_mbit', $data)) { + if (\array_key_exists('upload_speed_in_mbit', $data) && $data['upload_speed_in_mbit'] !== null) { $object->setUploadSpeedInMbit($data['upload_speed_in_mbit']); unset($data['upload_speed_in_mbit']); + } elseif (\array_key_exists('upload_speed_in_mbit', $data) && $data['upload_speed_in_mbit'] === null) { + $object->setUploadSpeedInMbit(null); } - if (\array_key_exists('download_speed_in_mbit', $data)) { + if (\array_key_exists('download_speed_in_mbit', $data) && $data['download_speed_in_mbit'] !== null) { $object->setDownloadSpeedInMbit($data['download_speed_in_mbit']); unset($data['download_speed_in_mbit']); + } elseif (\array_key_exists('download_speed_in_mbit', $data) && $data['download_speed_in_mbit'] === null) { + $object->setDownloadSpeedInMbit(null); } if (\array_key_exists('permalink', $data)) { $object->setPermalink($data['permalink']); diff --git a/src/Normalizer/NetworksNetworkGetResponse200NetworkNormalizer.php b/src/Normalizer/NetworksNetworkGetResponse200NetworkNormalizer.php index 5e216b4a..cfb853bf 100644 --- a/src/Normalizer/NetworksNetworkGetResponse200NetworkNormalizer.php +++ b/src/Normalizer/NetworksNetworkGetResponse200NetworkNormalizer.php @@ -57,12 +57,14 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\NetworkDataCenter', 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/ObjectInTrashNormalizer.php b/src/Normalizer/ObjectInTrashNormalizer.php index e8b89fe4..d6e5fecf 100644 --- a/src/Normalizer/ObjectInTrashNormalizer.php +++ b/src/Normalizer/ObjectInTrashNormalizer.php @@ -49,9 +49,11 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('trash_object', $data)) { - $object->setTrashObject($this->denormalizer->denormalize($data['trash_object'], 'Krystal\\Katapult\\KatapultAPI\\Model\\TrashObject', 'json', $context)); + if (\array_key_exists('trash_object', $data) && $data['trash_object'] !== null) { + $object->setTrashObject($this->denormalizer->denormalize($data['trash_object'], 'Krystal\\Katapult\\KatapultAPI\\Model\\ObjectInTrashTrashObject', 'json', $context)); unset($data['trash_object']); + } elseif (\array_key_exists('trash_object', $data) && $data['trash_object'] === null) { + $object->setTrashObject(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/ObjectInTrashTrashObjectNormalizer.php b/src/Normalizer/ObjectInTrashTrashObjectNormalizer.php new file mode 100644 index 00000000..1dbf49c2 --- /dev/null +++ b/src/Normalizer/ObjectInTrashTrashObjectNormalizer.php @@ -0,0 +1,108 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('keep_until', $data)) { + $object->setKeepUntil($data['keep_until']); + unset($data['keep_until']); + } + if (\array_key_exists('object_id', $data)) { + $object->setObjectId($data['object_id']); + unset($data['object_id']); + } + if (\array_key_exists('object_type', $data)) { + $object->setObjectType($data['object_type']); + unset($data['object_type']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('keepUntil') && null !== $object->getKeepUntil()) { + $data['keep_until'] = $object->getKeepUntil(); + } + if ($object->isInitialized('objectId') && null !== $object->getObjectId()) { + $data['object_id'] = $object->getObjectId(); + } + if ($object->isInitialized('objectType') && null !== $object->getObjectType()) { + $data['object_type'] = $object->getObjectType(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\ObjectInTrashTrashObject' => false]; + } +} diff --git a/src/Normalizer/OperatingSystemBadgeNormalizer.php b/src/Normalizer/OperatingSystemBadgeNormalizer.php new file mode 100644 index 00000000..bd91c45d --- /dev/null +++ b/src/Normalizer/OperatingSystemBadgeNormalizer.php @@ -0,0 +1,122 @@ +setUrl($data['url']); + unset($data['url']); + } + if (\array_key_exists('file_name', $data)) { + $object->setFileName($data['file_name']); + unset($data['file_name']); + } + if (\array_key_exists('file_type', $data)) { + $object->setFileType($data['file_type']); + unset($data['file_type']); + } + if (\array_key_exists('file_size', $data)) { + $object->setFileSize($data['file_size']); + unset($data['file_size']); + } + if (\array_key_exists('digest', $data)) { + $object->setDigest($data['digest']); + unset($data['digest']); + } + if (\array_key_exists('token', $data)) { + $object->setToken($data['token']); + unset($data['token']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('url') && null !== $object->getUrl()) { + $data['url'] = $object->getUrl(); + } + if ($object->isInitialized('fileName') && null !== $object->getFileName()) { + $data['file_name'] = $object->getFileName(); + } + if ($object->isInitialized('fileType') && null !== $object->getFileType()) { + $data['file_type'] = $object->getFileType(); + } + if ($object->isInitialized('fileSize') && null !== $object->getFileSize()) { + $data['file_size'] = $object->getFileSize(); + } + if ($object->isInitialized('digest') && null !== $object->getDigest()) { + $data['digest'] = $object->getDigest(); + } + if ($object->isInitialized('token') && null !== $object->getToken()) { + $data['token'] = $object->getToken(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\OperatingSystemBadge' => false]; + } +} diff --git a/src/Normalizer/OperatingSystemNormalizer.php b/src/Normalizer/OperatingSystemNormalizer.php index 930077a2..0b849984 100644 --- a/src/Normalizer/OperatingSystemNormalizer.php +++ b/src/Normalizer/OperatingSystemNormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('badge', $data)) { - $object->setBadge($this->denormalizer->denormalize($data['badge'], 'Krystal\\Katapult\\KatapultAPI\\Model\\Attachment', 'json', $context)); + if (\array_key_exists('badge', $data) && $data['badge'] !== null) { + $object->setBadge($this->denormalizer->denormalize($data['badge'], 'Krystal\\Katapult\\KatapultAPI\\Model\\OperatingSystemBadge', 'json', $context)); unset($data['badge']); + } elseif (\array_key_exists('badge', $data) && $data['badge'] === null) { + $object->setBadge(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/OperatingSystemsGetResponse200PaginationNormalizer.php b/src/Normalizer/OperatingSystemsGetResponse200PaginationNormalizer.php index cbef8b82..57a77816 100644 --- a/src/Normalizer/OperatingSystemsGetResponse200PaginationNormalizer.php +++ b/src/Normalizer/OperatingSystemsGetResponse200PaginationNormalizer.php @@ -53,13 +53,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCurrentPage($data['current_page']); unset($data['current_page']); } - if (\array_key_exists('total_pages', $data)) { + if (\array_key_exists('total_pages', $data) && $data['total_pages'] !== null) { $object->setTotalPages($data['total_pages']); unset($data['total_pages']); + } elseif (\array_key_exists('total_pages', $data) && $data['total_pages'] === null) { + $object->setTotalPages(null); } - if (\array_key_exists('total', $data)) { + if (\array_key_exists('total', $data) && $data['total'] !== null) { $object->setTotal($data['total']); unset($data['total']); + } elseif (\array_key_exists('total', $data) && $data['total'] === null) { + $object->setTotal(null); } if (\array_key_exists('per_page', $data)) { $object->setPerPage($data['per_page']); diff --git a/src/Normalizer/OperatingSystemsOperatingSystemGetResponse200OperatingSystemNormalizer.php b/src/Normalizer/OperatingSystemsOperatingSystemGetResponse200OperatingSystemNormalizer.php index 4bbd77a5..d199a036 100644 --- a/src/Normalizer/OperatingSystemsOperatingSystemGetResponse200OperatingSystemNormalizer.php +++ b/src/Normalizer/OperatingSystemsOperatingSystemGetResponse200OperatingSystemNormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('badge', $data)) { - $object->setBadge($this->denormalizer->denormalize($data['badge'], 'Krystal\\Katapult\\KatapultAPI\\Model\\Attachment', 'json', $context)); + if (\array_key_exists('badge', $data) && $data['badge'] !== null) { + $object->setBadge($this->denormalizer->denormalize($data['badge'], 'Krystal\\Katapult\\KatapultAPI\\Model\\OperatingSystemBadge', 'json', $context)); unset($data['badge']); + } elseif (\array_key_exists('badge', $data) && $data['badge'] === null) { + $object->setBadge(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/OrganizationCountryNormalizer.php b/src/Normalizer/OrganizationCountryNormalizer.php new file mode 100644 index 00000000..1ebf27a9 --- /dev/null +++ b/src/Normalizer/OrganizationCountryNormalizer.php @@ -0,0 +1,124 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('iso_code2', $data)) { + $object->setIsoCode2($data['iso_code2']); + unset($data['iso_code2']); + } + if (\array_key_exists('iso_code3', $data)) { + $object->setIsoCode3($data['iso_code3']); + unset($data['iso_code3']); + } + if (\array_key_exists('time_zone', $data) && $data['time_zone'] !== null) { + $object->setTimeZone($data['time_zone']); + unset($data['time_zone']); + } elseif (\array_key_exists('time_zone', $data) && $data['time_zone'] === null) { + $object->setTimeZone(null); + } + if (\array_key_exists('eu', $data)) { + $object->setEu($data['eu']); + unset($data['eu']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('isoCode2') && null !== $object->getIsoCode2()) { + $data['iso_code2'] = $object->getIsoCode2(); + } + if ($object->isInitialized('isoCode3') && null !== $object->getIsoCode3()) { + $data['iso_code3'] = $object->getIsoCode3(); + } + if ($object->isInitialized('timeZone') && null !== $object->getTimeZone()) { + $data['time_zone'] = $object->getTimeZone(); + } + if ($object->isInitialized('eu') && null !== $object->getEu()) { + $data['eu'] = $object->getEu(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationCountry' => false]; + } +} diff --git a/src/Normalizer/OrganizationCountryStateNormalizer.php b/src/Normalizer/OrganizationCountryStateNormalizer.php new file mode 100644 index 00000000..e6766d7b --- /dev/null +++ b/src/Normalizer/OrganizationCountryStateNormalizer.php @@ -0,0 +1,108 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('code', $data)) { + $object->setCode($data['code']); + unset($data['code']); + } + if (\array_key_exists('country', $data)) { + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\CountryStateCountry', 'json', $context)); + unset($data['country']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('code') && null !== $object->getCode()) { + $data['code'] = $object->getCode(); + } + if ($object->isInitialized('country') && null !== $object->getCountry()) { + $data['country'] = $this->normalizer->normalize($object->getCountry(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationCountryState' => false]; + } +} diff --git a/src/Normalizer/OrganizationCurrencyNormalizer.php b/src/Normalizer/OrganizationCurrencyNormalizer.php new file mode 100644 index 00000000..4cb4ea0e --- /dev/null +++ b/src/Normalizer/OrganizationCurrencyNormalizer.php @@ -0,0 +1,108 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('iso_code', $data)) { + $object->setIsoCode($data['iso_code']); + unset($data['iso_code']); + } + if (\array_key_exists('symbol', $data)) { + $object->setSymbol($data['symbol']); + unset($data['symbol']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('isoCode') && null !== $object->getIsoCode()) { + $data['iso_code'] = $object->getIsoCode(); + } + if ($object->isInitialized('symbol') && null !== $object->getSymbol()) { + $data['symbol'] = $object->getSymbol(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationCurrency' => false]; + } +} diff --git a/src/Normalizer/OrganizationNormalizer.php b/src/Normalizer/OrganizationNormalizer.php index 2baf108a..873c756c 100644 --- a/src/Normalizer/OrganizationNormalizer.php +++ b/src/Normalizer/OrganizationNormalizer.php @@ -77,49 +77,69 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setManaged($data['managed']); unset($data['managed']); } - if (\array_key_exists('billing_name', $data)) { + if (\array_key_exists('billing_name', $data) && $data['billing_name'] !== null) { $object->setBillingName($data['billing_name']); unset($data['billing_name']); + } elseif (\array_key_exists('billing_name', $data) && $data['billing_name'] === null) { + $object->setBillingName(null); } - if (\array_key_exists('address1', $data)) { + if (\array_key_exists('address1', $data) && $data['address1'] !== null) { $object->setAddress1($data['address1']); unset($data['address1']); + } elseif (\array_key_exists('address1', $data) && $data['address1'] === null) { + $object->setAddress1(null); } - if (\array_key_exists('address2', $data)) { + if (\array_key_exists('address2', $data) && $data['address2'] !== null) { $object->setAddress2($data['address2']); unset($data['address2']); + } elseif (\array_key_exists('address2', $data) && $data['address2'] === null) { + $object->setAddress2(null); } - if (\array_key_exists('address3', $data)) { + if (\array_key_exists('address3', $data) && $data['address3'] !== null) { $object->setAddress3($data['address3']); unset($data['address3']); + } elseif (\array_key_exists('address3', $data) && $data['address3'] === null) { + $object->setAddress3(null); } - if (\array_key_exists('address4', $data)) { + if (\array_key_exists('address4', $data) && $data['address4'] !== null) { $object->setAddress4($data['address4']); unset($data['address4']); + } elseif (\array_key_exists('address4', $data) && $data['address4'] === null) { + $object->setAddress4(null); } - if (\array_key_exists('postcode', $data)) { + if (\array_key_exists('postcode', $data) && $data['postcode'] !== null) { $object->setPostcode($data['postcode']); unset($data['postcode']); + } elseif (\array_key_exists('postcode', $data) && $data['postcode'] === null) { + $object->setPostcode(null); } - if (\array_key_exists('vat_number', $data)) { + if (\array_key_exists('vat_number', $data) && $data['vat_number'] !== null) { $object->setVatNumber($data['vat_number']); unset($data['vat_number']); + } elseif (\array_key_exists('vat_number', $data) && $data['vat_number'] === null) { + $object->setVatNumber(null); } - if (\array_key_exists('phone_number', $data)) { + if (\array_key_exists('phone_number', $data) && $data['phone_number'] !== null) { $object->setPhoneNumber($data['phone_number']); unset($data['phone_number']); + } elseif (\array_key_exists('phone_number', $data) && $data['phone_number'] === null) { + $object->setPhoneNumber(null); } if (\array_key_exists('currency', $data)) { - $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'Krystal\\Katapult\\KatapultAPI\\Model\\Currency', 'json', $context)); + $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationCurrency', 'json', $context)); unset($data['currency']); } - if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\Country', 'json', $context)); + if (\array_key_exists('country', $data) && $data['country'] !== null) { + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationCountry', 'json', $context)); unset($data['country']); + } elseif (\array_key_exists('country', $data) && $data['country'] === null) { + $object->setCountry(null); } - if (\array_key_exists('country_state', $data)) { - $object->setCountryState($this->denormalizer->denormalize($data['country_state'], 'Krystal\\Katapult\\KatapultAPI\\Model\\CountryState', 'json', $context)); + if (\array_key_exists('country_state', $data) && $data['country_state'] !== null) { + $object->setCountryState($this->denormalizer->denormalize($data['country_state'], 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationCountryState', 'json', $context)); unset($data['country_state']); + } elseif (\array_key_exists('country_state', $data) && $data['country_state'] === null) { + $object->setCountryState(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/OrganizationsOrganizationCertificatesGetResponse200PaginationNormalizer.php b/src/Normalizer/OrganizationsOrganizationCertificatesGetResponse200PaginationNormalizer.php index 3d641bac..dee9afde 100644 --- a/src/Normalizer/OrganizationsOrganizationCertificatesGetResponse200PaginationNormalizer.php +++ b/src/Normalizer/OrganizationsOrganizationCertificatesGetResponse200PaginationNormalizer.php @@ -53,13 +53,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCurrentPage($data['current_page']); unset($data['current_page']); } - if (\array_key_exists('total_pages', $data)) { + if (\array_key_exists('total_pages', $data) && $data['total_pages'] !== null) { $object->setTotalPages($data['total_pages']); unset($data['total_pages']); + } elseif (\array_key_exists('total_pages', $data) && $data['total_pages'] === null) { + $object->setTotalPages(null); } - if (\array_key_exists('total', $data)) { + if (\array_key_exists('total', $data) && $data['total'] !== null) { $object->setTotal($data['total']); unset($data['total']); + } elseif (\array_key_exists('total', $data) && $data['total'] === null) { + $object->setTotal(null); } if (\array_key_exists('per_page', $data)) { $object->setPerPage($data['per_page']); diff --git a/src/Normalizer/OrganizationsOrganizationDiskBackupPoliciesGetResponse200PaginationNormalizer.php b/src/Normalizer/OrganizationsOrganizationDiskBackupPoliciesGetResponse200PaginationNormalizer.php index 4b28fc54..389fa869 100644 --- a/src/Normalizer/OrganizationsOrganizationDiskBackupPoliciesGetResponse200PaginationNormalizer.php +++ b/src/Normalizer/OrganizationsOrganizationDiskBackupPoliciesGetResponse200PaginationNormalizer.php @@ -53,13 +53,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCurrentPage($data['current_page']); unset($data['current_page']); } - if (\array_key_exists('total_pages', $data)) { + if (\array_key_exists('total_pages', $data) && $data['total_pages'] !== null) { $object->setTotalPages($data['total_pages']); unset($data['total_pages']); + } elseif (\array_key_exists('total_pages', $data) && $data['total_pages'] === null) { + $object->setTotalPages(null); } - if (\array_key_exists('total', $data)) { + if (\array_key_exists('total', $data) && $data['total'] !== null) { $object->setTotal($data['total']); unset($data['total']); + } elseif (\array_key_exists('total', $data) && $data['total'] === null) { + $object->setTotal(null); } if (\array_key_exists('per_page', $data)) { $object->setPerPage($data['per_page']); diff --git a/src/Normalizer/OrganizationsOrganizationDiskTemplatesGetResponse200PaginationNormalizer.php b/src/Normalizer/OrganizationsOrganizationDiskTemplatesGetResponse200PaginationNormalizer.php index ccbee4dd..25870058 100644 --- a/src/Normalizer/OrganizationsOrganizationDiskTemplatesGetResponse200PaginationNormalizer.php +++ b/src/Normalizer/OrganizationsOrganizationDiskTemplatesGetResponse200PaginationNormalizer.php @@ -53,13 +53,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCurrentPage($data['current_page']); unset($data['current_page']); } - if (\array_key_exists('total_pages', $data)) { + if (\array_key_exists('total_pages', $data) && $data['total_pages'] !== null) { $object->setTotalPages($data['total_pages']); unset($data['total_pages']); + } elseif (\array_key_exists('total_pages', $data) && $data['total_pages'] === null) { + $object->setTotalPages(null); } - if (\array_key_exists('total', $data)) { + if (\array_key_exists('total', $data) && $data['total'] !== null) { $object->setTotal($data['total']); unset($data['total']); + } elseif (\array_key_exists('total', $data) && $data['total'] === null) { + $object->setTotal(null); } if (\array_key_exists('per_page', $data)) { $object->setPerPage($data['per_page']); diff --git a/src/Normalizer/OrganizationsOrganizationDisksGetResponse200PaginationNormalizer.php b/src/Normalizer/OrganizationsOrganizationDisksGetResponse200PaginationNormalizer.php index a64d0536..d2dba30e 100644 --- a/src/Normalizer/OrganizationsOrganizationDisksGetResponse200PaginationNormalizer.php +++ b/src/Normalizer/OrganizationsOrganizationDisksGetResponse200PaginationNormalizer.php @@ -53,13 +53,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCurrentPage($data['current_page']); unset($data['current_page']); } - if (\array_key_exists('total_pages', $data)) { + if (\array_key_exists('total_pages', $data) && $data['total_pages'] !== null) { $object->setTotalPages($data['total_pages']); unset($data['total_pages']); + } elseif (\array_key_exists('total_pages', $data) && $data['total_pages'] === null) { + $object->setTotalPages(null); } - if (\array_key_exists('total', $data)) { + if (\array_key_exists('total', $data) && $data['total'] !== null) { $object->setTotal($data['total']); unset($data['total']); + } elseif (\array_key_exists('total', $data) && $data['total'] === null) { + $object->setTotal(null); } if (\array_key_exists('per_page', $data)) { $object->setPerPage($data['per_page']); diff --git a/src/Normalizer/OrganizationsOrganizationDnsZonesGetResponse200PaginationNormalizer.php b/src/Normalizer/OrganizationsOrganizationDnsZonesGetResponse200PaginationNormalizer.php index cb0f4ebf..b375ae4a 100644 --- a/src/Normalizer/OrganizationsOrganizationDnsZonesGetResponse200PaginationNormalizer.php +++ b/src/Normalizer/OrganizationsOrganizationDnsZonesGetResponse200PaginationNormalizer.php @@ -53,13 +53,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCurrentPage($data['current_page']); unset($data['current_page']); } - if (\array_key_exists('total_pages', $data)) { + if (\array_key_exists('total_pages', $data) && $data['total_pages'] !== null) { $object->setTotalPages($data['total_pages']); unset($data['total_pages']); + } elseif (\array_key_exists('total_pages', $data) && $data['total_pages'] === null) { + $object->setTotalPages(null); } - if (\array_key_exists('total', $data)) { + if (\array_key_exists('total', $data) && $data['total'] !== null) { $object->setTotal($data['total']); unset($data['total']); + } elseif (\array_key_exists('total', $data) && $data['total'] === null) { + $object->setTotal(null); } if (\array_key_exists('per_page', $data)) { $object->setPerPage($data['per_page']); diff --git a/src/Normalizer/OrganizationsOrganizationFileStorageVolumesGetResponse200PaginationNormalizer.php b/src/Normalizer/OrganizationsOrganizationFileStorageVolumesGetResponse200PaginationNormalizer.php index 61768482..fb3796c8 100644 --- a/src/Normalizer/OrganizationsOrganizationFileStorageVolumesGetResponse200PaginationNormalizer.php +++ b/src/Normalizer/OrganizationsOrganizationFileStorageVolumesGetResponse200PaginationNormalizer.php @@ -53,13 +53,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCurrentPage($data['current_page']); unset($data['current_page']); } - if (\array_key_exists('total_pages', $data)) { + if (\array_key_exists('total_pages', $data) && $data['total_pages'] !== null) { $object->setTotalPages($data['total_pages']); unset($data['total_pages']); + } elseif (\array_key_exists('total_pages', $data) && $data['total_pages'] === null) { + $object->setTotalPages(null); } - if (\array_key_exists('total', $data)) { + if (\array_key_exists('total', $data) && $data['total'] !== null) { $object->setTotal($data['total']); unset($data['total']); + } elseif (\array_key_exists('total', $data) && $data['total'] === null) { + $object->setTotal(null); } if (\array_key_exists('per_page', $data)) { $object->setPerPage($data['per_page']); diff --git a/src/Normalizer/OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolumeNormalizer.php b/src/Normalizer/OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolumeNormalizer.php index c38e2e3e..f49c9875 100644 --- a/src/Normalizer/OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolumeNormalizer.php +++ b/src/Normalizer/OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolumeNormalizer.php @@ -58,7 +58,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationFileStorageVolumesPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationFileStorageVolumes201ResponseFileStorageVolumeDataCenter', 'json', $context)); unset($data['data_center']); } if (\array_key_exists('associations', $data)) { @@ -73,13 +73,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setState($data['state']); unset($data['state']); } - if (\array_key_exists('nfs_location', $data)) { + if (\array_key_exists('nfs_location', $data) && $data['nfs_location'] !== null) { $object->setNfsLocation($data['nfs_location']); unset($data['nfs_location']); + } elseif (\array_key_exists('nfs_location', $data) && $data['nfs_location'] === null) { + $object->setNfsLocation(null); } - if (\array_key_exists('size', $data)) { + if (\array_key_exists('size', $data) && $data['size'] !== null) { $object->setSize($data['size']); unset($data['size']); + } elseif (\array_key_exists('size', $data) && $data['size'] === null) { + $object->setSize(null); } foreach ($data as $key => $value_1) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/OrganizationsOrganizationGetResponse200OrganizationNormalizer.php b/src/Normalizer/OrganizationsOrganizationGetResponse200OrganizationNormalizer.php index aef6770f..8f4fb8f4 100644 --- a/src/Normalizer/OrganizationsOrganizationGetResponse200OrganizationNormalizer.php +++ b/src/Normalizer/OrganizationsOrganizationGetResponse200OrganizationNormalizer.php @@ -77,49 +77,69 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setManaged($data['managed']); unset($data['managed']); } - if (\array_key_exists('billing_name', $data)) { + if (\array_key_exists('billing_name', $data) && $data['billing_name'] !== null) { $object->setBillingName($data['billing_name']); unset($data['billing_name']); + } elseif (\array_key_exists('billing_name', $data) && $data['billing_name'] === null) { + $object->setBillingName(null); } - if (\array_key_exists('address1', $data)) { + if (\array_key_exists('address1', $data) && $data['address1'] !== null) { $object->setAddress1($data['address1']); unset($data['address1']); + } elseif (\array_key_exists('address1', $data) && $data['address1'] === null) { + $object->setAddress1(null); } - if (\array_key_exists('address2', $data)) { + if (\array_key_exists('address2', $data) && $data['address2'] !== null) { $object->setAddress2($data['address2']); unset($data['address2']); + } elseif (\array_key_exists('address2', $data) && $data['address2'] === null) { + $object->setAddress2(null); } - if (\array_key_exists('address3', $data)) { + if (\array_key_exists('address3', $data) && $data['address3'] !== null) { $object->setAddress3($data['address3']); unset($data['address3']); + } elseif (\array_key_exists('address3', $data) && $data['address3'] === null) { + $object->setAddress3(null); } - if (\array_key_exists('address4', $data)) { + if (\array_key_exists('address4', $data) && $data['address4'] !== null) { $object->setAddress4($data['address4']); unset($data['address4']); + } elseif (\array_key_exists('address4', $data) && $data['address4'] === null) { + $object->setAddress4(null); } - if (\array_key_exists('postcode', $data)) { + if (\array_key_exists('postcode', $data) && $data['postcode'] !== null) { $object->setPostcode($data['postcode']); unset($data['postcode']); + } elseif (\array_key_exists('postcode', $data) && $data['postcode'] === null) { + $object->setPostcode(null); } - if (\array_key_exists('vat_number', $data)) { + if (\array_key_exists('vat_number', $data) && $data['vat_number'] !== null) { $object->setVatNumber($data['vat_number']); unset($data['vat_number']); + } elseif (\array_key_exists('vat_number', $data) && $data['vat_number'] === null) { + $object->setVatNumber(null); } - if (\array_key_exists('phone_number', $data)) { + if (\array_key_exists('phone_number', $data) && $data['phone_number'] !== null) { $object->setPhoneNumber($data['phone_number']); unset($data['phone_number']); + } elseif (\array_key_exists('phone_number', $data) && $data['phone_number'] === null) { + $object->setPhoneNumber(null); } if (\array_key_exists('currency', $data)) { - $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'Krystal\\Katapult\\KatapultAPI\\Model\\Currency', 'json', $context)); + $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationCurrency', 'json', $context)); unset($data['currency']); } - if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\Country', 'json', $context)); + if (\array_key_exists('country', $data) && $data['country'] !== null) { + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationCountry', 'json', $context)); unset($data['country']); + } elseif (\array_key_exists('country', $data) && $data['country'] === null) { + $object->setCountry(null); } - if (\array_key_exists('country_state', $data)) { - $object->setCountryState($this->denormalizer->denormalize($data['country_state'], 'Krystal\\Katapult\\KatapultAPI\\Model\\CountryState', 'json', $context)); + if (\array_key_exists('country_state', $data) && $data['country_state'] !== null) { + $object->setCountryState($this->denormalizer->denormalize($data['country_state'], 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationCountryState', 'json', $context)); unset($data['country_state']); + } elseif (\array_key_exists('country_state', $data) && $data['country_state'] === null) { + $object->setCountryState(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/OrganizationsOrganizationIpAddressesGetResponse200PaginationNormalizer.php b/src/Normalizer/OrganizationsOrganizationIpAddressesGetResponse200PaginationNormalizer.php index b8a1bc81..eb83b5c9 100644 --- a/src/Normalizer/OrganizationsOrganizationIpAddressesGetResponse200PaginationNormalizer.php +++ b/src/Normalizer/OrganizationsOrganizationIpAddressesGetResponse200PaginationNormalizer.php @@ -53,13 +53,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCurrentPage($data['current_page']); unset($data['current_page']); } - if (\array_key_exists('total_pages', $data)) { + if (\array_key_exists('total_pages', $data) && $data['total_pages'] !== null) { $object->setTotalPages($data['total_pages']); unset($data['total_pages']); + } elseif (\array_key_exists('total_pages', $data) && $data['total_pages'] === null) { + $object->setTotalPages(null); } - if (\array_key_exists('total', $data)) { + if (\array_key_exists('total', $data) && $data['total'] !== null) { $object->setTotal($data['total']); unset($data['total']); + } elseif (\array_key_exists('total', $data) && $data['total'] === null) { + $object->setTotal(null); } if (\array_key_exists('per_page', $data)) { $object->setPerPage($data['per_page']); diff --git a/src/Normalizer/OrganizationsOrganizationIpAddressesPostResponse200IpAddressNormalizer.php b/src/Normalizer/OrganizationsOrganizationIpAddressesPostResponse200IpAddressNormalizer.php index 2820aed9..0ced2577 100644 --- a/src/Normalizer/OrganizationsOrganizationIpAddressesPostResponse200IpAddressNormalizer.php +++ b/src/Normalizer/OrganizationsOrganizationIpAddressesPostResponse200IpAddressNormalizer.php @@ -65,25 +65,31 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setVip($data['vip']); unset($data['vip']); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); unset($data['label']); + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { + $object->setLabel(null); } if (\array_key_exists('address_with_mask', $data)) { $object->setAddressWithMask($data['address_with_mask']); unset($data['address_with_mask']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\Network', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\IPAddressNetwork', 'json', $context)); unset($data['network']); } - if (\array_key_exists('allocation_id', $data)) { + if (\array_key_exists('allocation_id', $data) && $data['allocation_id'] !== null) { $object->setAllocationId($data['allocation_id']); unset($data['allocation_id']); + } elseif (\array_key_exists('allocation_id', $data) && $data['allocation_id'] === null) { + $object->setAllocationId(null); } - if (\array_key_exists('allocation_type', $data)) { + if (\array_key_exists('allocation_type', $data) && $data['allocation_type'] !== null) { $object->setAllocationType($data['allocation_type']); unset($data['allocation_type']); + } elseif (\array_key_exists('allocation_type', $data) && $data['allocation_type'] === null) { + $object->setAllocationType(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/OrganizationsOrganizationLoadBalancersGetResponse200PaginationNormalizer.php b/src/Normalizer/OrganizationsOrganizationLoadBalancersGetResponse200PaginationNormalizer.php index c5072645..b0abfd83 100644 --- a/src/Normalizer/OrganizationsOrganizationLoadBalancersGetResponse200PaginationNormalizer.php +++ b/src/Normalizer/OrganizationsOrganizationLoadBalancersGetResponse200PaginationNormalizer.php @@ -53,13 +53,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCurrentPage($data['current_page']); unset($data['current_page']); } - if (\array_key_exists('total_pages', $data)) { + if (\array_key_exists('total_pages', $data) && $data['total_pages'] !== null) { $object->setTotalPages($data['total_pages']); unset($data['total_pages']); + } elseif (\array_key_exists('total_pages', $data) && $data['total_pages'] === null) { + $object->setTotalPages(null); } - if (\array_key_exists('total', $data)) { + if (\array_key_exists('total', $data) && $data['total'] !== null) { $object->setTotal($data['total']); unset($data['total']); + } elseif (\array_key_exists('total', $data) && $data['total'] === null) { + $object->setTotal(null); } if (\array_key_exists('per_page', $data)) { $object->setPerPage($data['per_page']); diff --git a/src/Normalizer/OrganizationsOrganizationLoadBalancersPostResponse200LoadBalancerNormalizer.php b/src/Normalizer/OrganizationsOrganizationLoadBalancersPostResponse200LoadBalancerNormalizer.php index 37487514..a6b1d49c 100644 --- a/src/Normalizer/OrganizationsOrganizationLoadBalancersPostResponse200LoadBalancerNormalizer.php +++ b/src/Normalizer/OrganizationsOrganizationLoadBalancersPostResponse200LoadBalancerNormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('api_reference', $data)) { + if (\array_key_exists('api_reference', $data) && $data['api_reference'] !== null) { $object->setApiReference($data['api_reference']); unset($data['api_reference']); + } elseif (\array_key_exists('api_reference', $data) && $data['api_reference'] === null) { + $object->setApiReference(null); } if (\array_key_exists('resource_type', $data)) { $object->setResourceType($data['resource_type']); @@ -84,7 +86,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('ip_address', $data)) { $values_2 = []; foreach ($data['ip_address'] as $value_2) { - $values_2[] = $this->denormalizer->denormalize($value_2, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancersPartIPAddress', 'json', $context); + $values_2[] = $this->denormalizer->denormalize($value_2, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancers200ResponseLoadBalancerIpAddressItem', 'json', $context); } $object->setIpAddress($values_2); unset($data['ip_address']); @@ -102,7 +104,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['backend_certificate_key']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancersPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancers200ResponseLoadBalancerDataCenter', 'json', $context)); unset($data['data_center']); } if (\array_key_exists('enable_weighting', $data)) { @@ -112,7 +114,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('weights', $data)) { $values_3 = []; foreach ($data['weights'] as $value_3) { - $values_3[] = $this->denormalizer->denormalize($value_3, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancersPartWeights', 'json', $context); + $values_3[] = $this->denormalizer->denormalize($value_3, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancers200ResponseLoadBalancerWeightsItem', 'json', $context); } $object->setWeights($values_3); unset($data['weights']); diff --git a/src/Normalizer/OrganizationsOrganizationManagedGetResponse200PaginationNormalizer.php b/src/Normalizer/OrganizationsOrganizationManagedGetResponse200PaginationNormalizer.php index 1dd75e8e..e63f9910 100644 --- a/src/Normalizer/OrganizationsOrganizationManagedGetResponse200PaginationNormalizer.php +++ b/src/Normalizer/OrganizationsOrganizationManagedGetResponse200PaginationNormalizer.php @@ -53,13 +53,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCurrentPage($data['current_page']); unset($data['current_page']); } - if (\array_key_exists('total_pages', $data)) { + if (\array_key_exists('total_pages', $data) && $data['total_pages'] !== null) { $object->setTotalPages($data['total_pages']); unset($data['total_pages']); + } elseif (\array_key_exists('total_pages', $data) && $data['total_pages'] === null) { + $object->setTotalPages(null); } - if (\array_key_exists('total', $data)) { + if (\array_key_exists('total', $data) && $data['total'] !== null) { $object->setTotal($data['total']); unset($data['total']); + } elseif (\array_key_exists('total', $data) && $data['total'] === null) { + $object->setTotal(null); } if (\array_key_exists('per_page', $data)) { $object->setPerPage($data['per_page']); diff --git a/src/Normalizer/OrganizationsOrganizationManagedPostResponse201OrganizationNormalizer.php b/src/Normalizer/OrganizationsOrganizationManagedPostResponse201OrganizationNormalizer.php index 3c4b39e2..cb621bd4 100644 --- a/src/Normalizer/OrganizationsOrganizationManagedPostResponse201OrganizationNormalizer.php +++ b/src/Normalizer/OrganizationsOrganizationManagedPostResponse201OrganizationNormalizer.php @@ -77,49 +77,69 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setManaged($data['managed']); unset($data['managed']); } - if (\array_key_exists('billing_name', $data)) { + if (\array_key_exists('billing_name', $data) && $data['billing_name'] !== null) { $object->setBillingName($data['billing_name']); unset($data['billing_name']); + } elseif (\array_key_exists('billing_name', $data) && $data['billing_name'] === null) { + $object->setBillingName(null); } - if (\array_key_exists('address1', $data)) { + if (\array_key_exists('address1', $data) && $data['address1'] !== null) { $object->setAddress1($data['address1']); unset($data['address1']); + } elseif (\array_key_exists('address1', $data) && $data['address1'] === null) { + $object->setAddress1(null); } - if (\array_key_exists('address2', $data)) { + if (\array_key_exists('address2', $data) && $data['address2'] !== null) { $object->setAddress2($data['address2']); unset($data['address2']); + } elseif (\array_key_exists('address2', $data) && $data['address2'] === null) { + $object->setAddress2(null); } - if (\array_key_exists('address3', $data)) { + if (\array_key_exists('address3', $data) && $data['address3'] !== null) { $object->setAddress3($data['address3']); unset($data['address3']); + } elseif (\array_key_exists('address3', $data) && $data['address3'] === null) { + $object->setAddress3(null); } - if (\array_key_exists('address4', $data)) { + if (\array_key_exists('address4', $data) && $data['address4'] !== null) { $object->setAddress4($data['address4']); unset($data['address4']); + } elseif (\array_key_exists('address4', $data) && $data['address4'] === null) { + $object->setAddress4(null); } - if (\array_key_exists('postcode', $data)) { + if (\array_key_exists('postcode', $data) && $data['postcode'] !== null) { $object->setPostcode($data['postcode']); unset($data['postcode']); + } elseif (\array_key_exists('postcode', $data) && $data['postcode'] === null) { + $object->setPostcode(null); } - if (\array_key_exists('vat_number', $data)) { + if (\array_key_exists('vat_number', $data) && $data['vat_number'] !== null) { $object->setVatNumber($data['vat_number']); unset($data['vat_number']); + } elseif (\array_key_exists('vat_number', $data) && $data['vat_number'] === null) { + $object->setVatNumber(null); } - if (\array_key_exists('phone_number', $data)) { + if (\array_key_exists('phone_number', $data) && $data['phone_number'] !== null) { $object->setPhoneNumber($data['phone_number']); unset($data['phone_number']); + } elseif (\array_key_exists('phone_number', $data) && $data['phone_number'] === null) { + $object->setPhoneNumber(null); } if (\array_key_exists('currency', $data)) { - $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManagedPartCurrency', 'json', $context)); + $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManaged201ResponseOrganizationCurrency', 'json', $context)); unset($data['currency']); } - if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManagedPartCountry', 'json', $context)); + if (\array_key_exists('country', $data) && $data['country'] !== null) { + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManaged201ResponseOrganizationCountry', 'json', $context)); unset($data['country']); + } elseif (\array_key_exists('country', $data) && $data['country'] === null) { + $object->setCountry(null); } - if (\array_key_exists('country_state', $data)) { - $object->setCountryState($this->denormalizer->denormalize($data['country_state'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManagedPartCountryState', 'json', $context)); + if (\array_key_exists('country_state', $data) && $data['country_state'] !== null) { + $object->setCountryState($this->denormalizer->denormalize($data['country_state'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManaged201ResponseOrganizationCountryState', 'json', $context)); unset($data['country_state']); + } elseif (\array_key_exists('country_state', $data) && $data['country_state'] === null) { + $object->setCountryState(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/OrganizationsOrganizationNetworkSpeedProfilesGetResponse200PaginationNormalizer.php b/src/Normalizer/OrganizationsOrganizationNetworkSpeedProfilesGetResponse200PaginationNormalizer.php index c045ac87..7a89e23f 100644 --- a/src/Normalizer/OrganizationsOrganizationNetworkSpeedProfilesGetResponse200PaginationNormalizer.php +++ b/src/Normalizer/OrganizationsOrganizationNetworkSpeedProfilesGetResponse200PaginationNormalizer.php @@ -53,13 +53,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCurrentPage($data['current_page']); unset($data['current_page']); } - if (\array_key_exists('total_pages', $data)) { + if (\array_key_exists('total_pages', $data) && $data['total_pages'] !== null) { $object->setTotalPages($data['total_pages']); unset($data['total_pages']); + } elseif (\array_key_exists('total_pages', $data) && $data['total_pages'] === null) { + $object->setTotalPages(null); } - if (\array_key_exists('total', $data)) { + if (\array_key_exists('total', $data) && $data['total'] !== null) { $object->setTotal($data['total']); unset($data['total']); + } elseif (\array_key_exists('total', $data) && $data['total'] === null) { + $object->setTotal(null); } if (\array_key_exists('per_page', $data)) { $object->setPerPage($data['per_page']); diff --git a/src/Normalizer/OrganizationsOrganizationSecurityGroupsGetResponse200PaginationNormalizer.php b/src/Normalizer/OrganizationsOrganizationSecurityGroupsGetResponse200PaginationNormalizer.php index 6c209088..069cc66e 100644 --- a/src/Normalizer/OrganizationsOrganizationSecurityGroupsGetResponse200PaginationNormalizer.php +++ b/src/Normalizer/OrganizationsOrganizationSecurityGroupsGetResponse200PaginationNormalizer.php @@ -53,13 +53,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCurrentPage($data['current_page']); unset($data['current_page']); } - if (\array_key_exists('total_pages', $data)) { + if (\array_key_exists('total_pages', $data) && $data['total_pages'] !== null) { $object->setTotalPages($data['total_pages']); unset($data['total_pages']); + } elseif (\array_key_exists('total_pages', $data) && $data['total_pages'] === null) { + $object->setTotalPages(null); } - if (\array_key_exists('total', $data)) { + if (\array_key_exists('total', $data) && $data['total'] !== null) { $object->setTotal($data['total']); unset($data['total']); + } elseif (\array_key_exists('total', $data) && $data['total'] === null) { + $object->setTotal(null); } if (\array_key_exists('per_page', $data)) { $object->setPerPage($data['per_page']); diff --git a/src/Normalizer/OrganizationsOrganizationSshKeysGetResponse200PaginationNormalizer.php b/src/Normalizer/OrganizationsOrganizationSshKeysGetResponse200PaginationNormalizer.php index 55e26efe..ab96da01 100644 --- a/src/Normalizer/OrganizationsOrganizationSshKeysGetResponse200PaginationNormalizer.php +++ b/src/Normalizer/OrganizationsOrganizationSshKeysGetResponse200PaginationNormalizer.php @@ -53,13 +53,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCurrentPage($data['current_page']); unset($data['current_page']); } - if (\array_key_exists('total_pages', $data)) { + if (\array_key_exists('total_pages', $data) && $data['total_pages'] !== null) { $object->setTotalPages($data['total_pages']); unset($data['total_pages']); + } elseif (\array_key_exists('total_pages', $data) && $data['total_pages'] === null) { + $object->setTotalPages(null); } - if (\array_key_exists('total', $data)) { + if (\array_key_exists('total', $data) && $data['total'] !== null) { $object->setTotal($data['total']); unset($data['total']); + } elseif (\array_key_exists('total', $data) && $data['total'] === null) { + $object->setTotal(null); } if (\array_key_exists('per_page', $data)) { $object->setPerPage($data['per_page']); diff --git a/src/Normalizer/OrganizationsOrganizationTagsGetResponse200PaginationNormalizer.php b/src/Normalizer/OrganizationsOrganizationTagsGetResponse200PaginationNormalizer.php index cabe7eaa..c1143181 100644 --- a/src/Normalizer/OrganizationsOrganizationTagsGetResponse200PaginationNormalizer.php +++ b/src/Normalizer/OrganizationsOrganizationTagsGetResponse200PaginationNormalizer.php @@ -53,13 +53,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCurrentPage($data['current_page']); unset($data['current_page']); } - if (\array_key_exists('total_pages', $data)) { + if (\array_key_exists('total_pages', $data) && $data['total_pages'] !== null) { $object->setTotalPages($data['total_pages']); unset($data['total_pages']); + } elseif (\array_key_exists('total_pages', $data) && $data['total_pages'] === null) { + $object->setTotalPages(null); } - if (\array_key_exists('total', $data)) { + if (\array_key_exists('total', $data) && $data['total'] !== null) { $object->setTotal($data['total']); unset($data['total']); + } elseif (\array_key_exists('total', $data) && $data['total'] === null) { + $object->setTotal(null); } if (\array_key_exists('per_page', $data)) { $object->setPerPage($data['per_page']); diff --git a/src/Normalizer/OrganizationsOrganizationTrashObjectsGetResponse200PaginationNormalizer.php b/src/Normalizer/OrganizationsOrganizationTrashObjectsGetResponse200PaginationNormalizer.php index 78b981ab..0be2cd34 100644 --- a/src/Normalizer/OrganizationsOrganizationTrashObjectsGetResponse200PaginationNormalizer.php +++ b/src/Normalizer/OrganizationsOrganizationTrashObjectsGetResponse200PaginationNormalizer.php @@ -53,13 +53,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCurrentPage($data['current_page']); unset($data['current_page']); } - if (\array_key_exists('total_pages', $data)) { + if (\array_key_exists('total_pages', $data) && $data['total_pages'] !== null) { $object->setTotalPages($data['total_pages']); unset($data['total_pages']); + } elseif (\array_key_exists('total_pages', $data) && $data['total_pages'] === null) { + $object->setTotalPages(null); } - if (\array_key_exists('total', $data)) { + if (\array_key_exists('total', $data) && $data['total'] !== null) { $object->setTotal($data['total']); unset($data['total']); + } elseif (\array_key_exists('total', $data) && $data['total'] === null) { + $object->setTotal(null); } if (\array_key_exists('per_page', $data)) { $object->setPerPage($data['per_page']); diff --git a/src/Normalizer/OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200TaskNormalizer.php b/src/Normalizer/OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200TaskNormalizer.php index a9ea3088..aca5d137 100644 --- a/src/Normalizer/OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200TaskNormalizer.php +++ b/src/Normalizer/OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200TaskNormalizer.php @@ -65,13 +65,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCreatedAt($data['created_at']); unset($data['created_at']); } - if (\array_key_exists('started_at', $data)) { + if (\array_key_exists('started_at', $data) && $data['started_at'] !== null) { $object->setStartedAt($data['started_at']); unset($data['started_at']); + } elseif (\array_key_exists('started_at', $data) && $data['started_at'] === null) { + $object->setStartedAt(null); } - if (\array_key_exists('finished_at', $data)) { + if (\array_key_exists('finished_at', $data) && $data['finished_at'] !== null) { $object->setFinishedAt($data['finished_at']); unset($data['finished_at']); + } elseif (\array_key_exists('finished_at', $data) && $data['finished_at'] === null) { + $object->setFinishedAt(null); } if (\array_key_exists('progress', $data)) { $object->setProgress($data['progress']); diff --git a/src/Normalizer/OrganizationsOrganizationUsersWithAccessGetResponse200PaginationNormalizer.php b/src/Normalizer/OrganizationsOrganizationUsersWithAccessGetResponse200PaginationNormalizer.php index 03a2f46a..ffff077a 100644 --- a/src/Normalizer/OrganizationsOrganizationUsersWithAccessGetResponse200PaginationNormalizer.php +++ b/src/Normalizer/OrganizationsOrganizationUsersWithAccessGetResponse200PaginationNormalizer.php @@ -53,13 +53,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCurrentPage($data['current_page']); unset($data['current_page']); } - if (\array_key_exists('total_pages', $data)) { + if (\array_key_exists('total_pages', $data) && $data['total_pages'] !== null) { $object->setTotalPages($data['total_pages']); unset($data['total_pages']); + } elseif (\array_key_exists('total_pages', $data) && $data['total_pages'] === null) { + $object->setTotalPages(null); } - if (\array_key_exists('total', $data)) { + if (\array_key_exists('total', $data) && $data['total'] !== null) { $object->setTotal($data['total']); unset($data['total']); + } elseif (\array_key_exists('total', $data) && $data['total'] === null) { + $object->setTotal(null); } if (\array_key_exists('per_page', $data)) { $object->setPerPage($data['per_page']); diff --git a/src/Normalizer/OrganizationsOrganizationVirtualMachinesGetResponse200PaginationNormalizer.php b/src/Normalizer/OrganizationsOrganizationVirtualMachinesGetResponse200PaginationNormalizer.php index 69152368..6d393c10 100644 --- a/src/Normalizer/OrganizationsOrganizationVirtualMachinesGetResponse200PaginationNormalizer.php +++ b/src/Normalizer/OrganizationsOrganizationVirtualMachinesGetResponse200PaginationNormalizer.php @@ -53,13 +53,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCurrentPage($data['current_page']); unset($data['current_page']); } - if (\array_key_exists('total_pages', $data)) { + if (\array_key_exists('total_pages', $data) && $data['total_pages'] !== null) { $object->setTotalPages($data['total_pages']); unset($data['total_pages']); + } elseif (\array_key_exists('total_pages', $data) && $data['total_pages'] === null) { + $object->setTotalPages(null); } - if (\array_key_exists('total', $data)) { + if (\array_key_exists('total', $data) && $data['total'] !== null) { $object->setTotal($data['total']); unset($data['total']); + } elseif (\array_key_exists('total', $data) && $data['total'] === null) { + $object->setTotal(null); } if (\array_key_exists('per_page', $data)) { $object->setPerPage($data['per_page']); diff --git a/src/Normalizer/PaginationObjectNormalizer.php b/src/Normalizer/PaginationObjectNormalizer.php index 9db51c2c..3fe61382 100644 --- a/src/Normalizer/PaginationObjectNormalizer.php +++ b/src/Normalizer/PaginationObjectNormalizer.php @@ -53,13 +53,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCurrentPage($data['current_page']); unset($data['current_page']); } - if (\array_key_exists('total_pages', $data)) { + if (\array_key_exists('total_pages', $data) && $data['total_pages'] !== null) { $object->setTotalPages($data['total_pages']); unset($data['total_pages']); + } elseif (\array_key_exists('total_pages', $data) && $data['total_pages'] === null) { + $object->setTotalPages(null); } - if (\array_key_exists('total', $data)) { + if (\array_key_exists('total', $data) && $data['total'] !== null) { $object->setTotal($data['total']); unset($data['total']); + } elseif (\array_key_exists('total', $data) && $data['total'] === null) { + $object->setTotal(null); } if (\array_key_exists('per_page', $data)) { $object->setPerPage($data['per_page']); diff --git a/src/Normalizer/PatchDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer.php b/src/Normalizer/PatchDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer.php index 989de363..36390f8b 100644 --- a/src/Normalizer/PatchDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer.php +++ b/src/Normalizer/PatchDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer.php @@ -62,16 +62,12 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['target']); } if (\array_key_exists('schedule', $data)) { - $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); - foreach ($data['schedule'] as $key => $value) { - $values[$key] = $value; - } - $object->setSchedule($values); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchDiskBackupPolicy200ResponseDiskBackupPolicySchedule', 'json', $context)); unset($data['schedule']); } - foreach ($data as $key_1 => $value_1) { - if (preg_match('/.*/', (string) $key_1)) { - $object[$key_1] = $value_1; + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; } } @@ -94,15 +90,11 @@ public function normalize($object, $format = null, array $context = []) $data['target'] = $this->normalizer->normalize($object->getTarget(), 'json', $context); } if ($object->isInitialized('schedule') && null !== $object->getSchedule()) { - $values = []; - foreach ($object->getSchedule() as $key => $value) { - $values[$key] = $value; - } - $data['schedule'] = $values; + $data['schedule'] = $this->normalizer->normalize($object->getSchedule(), 'json', $context); } - foreach ($object as $key_1 => $value_1) { - if (preg_match('/.*/', (string) $key_1)) { - $data[$key_1] = $value_1; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; } } diff --git a/src/Normalizer/PatchDiskBackupPolicy200ResponseDiskBackupPolicyScheduleNormalizer.php b/src/Normalizer/PatchDiskBackupPolicy200ResponseDiskBackupPolicyScheduleNormalizer.php new file mode 100644 index 00000000..8197bdf1 --- /dev/null +++ b/src/Normalizer/PatchDiskBackupPolicy200ResponseDiskBackupPolicyScheduleNormalizer.php @@ -0,0 +1,80 @@ + $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PatchDiskBackupPolicy200ResponseDiskBackupPolicySchedule' => false]; + } +} diff --git a/src/Normalizer/PatchFileStorageVolume200ResponseFileStorageVolumeDataCenterNormalizer.php b/src/Normalizer/PatchFileStorageVolume200ResponseFileStorageVolumeDataCenterNormalizer.php new file mode 100644 index 00000000..31be8189 --- /dev/null +++ b/src/Normalizer/PatchFileStorageVolume200ResponseFileStorageVolumeDataCenterNormalizer.php @@ -0,0 +1,103 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PatchFileStorageVolume200ResponseFileStorageVolumeDataCenter' => false]; + } +} diff --git a/src/Normalizer/PatchFileStorageVolume200ResponseFileStorageVolumeNormalizer.php b/src/Normalizer/PatchFileStorageVolume200ResponseFileStorageVolumeNormalizer.php index fe4d6a8e..1ce2280c 100644 --- a/src/Normalizer/PatchFileStorageVolume200ResponseFileStorageVolumeNormalizer.php +++ b/src/Normalizer/PatchFileStorageVolume200ResponseFileStorageVolumeNormalizer.php @@ -58,7 +58,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchFileStorageVolumePartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchFileStorageVolume200ResponseFileStorageVolumeDataCenter', 'json', $context)); unset($data['data_center']); } if (\array_key_exists('associations', $data)) { @@ -73,13 +73,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setState($data['state']); unset($data['state']); } - if (\array_key_exists('nfs_location', $data)) { + if (\array_key_exists('nfs_location', $data) && $data['nfs_location'] !== null) { $object->setNfsLocation($data['nfs_location']); unset($data['nfs_location']); + } elseif (\array_key_exists('nfs_location', $data) && $data['nfs_location'] === null) { + $object->setNfsLocation(null); } - if (\array_key_exists('size', $data)) { + if (\array_key_exists('size', $data) && $data['size'] !== null) { $object->setSize($data['size']); unset($data['size']); + } elseif (\array_key_exists('size', $data) && $data['size'] === null) { + $object->setSize(null); } foreach ($data as $key => $value_1) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/PatchFileStorageVolumePartDataCenterNormalizer.php b/src/Normalizer/PatchFileStorageVolumePartDataCenterNormalizer.php index 49af3c19..944cb382 100644 --- a/src/Normalizer/PatchFileStorageVolumePartDataCenterNormalizer.php +++ b/src/Normalizer/PatchFileStorageVolumePartDataCenterNormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/PatchLoadBalancer200ResponseLoadBalancerDataCenterNormalizer.php b/src/Normalizer/PatchLoadBalancer200ResponseLoadBalancerDataCenterNormalizer.php new file mode 100644 index 00000000..67296aa8 --- /dev/null +++ b/src/Normalizer/PatchLoadBalancer200ResponseLoadBalancerDataCenterNormalizer.php @@ -0,0 +1,103 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancer200ResponseLoadBalancerDataCenter' => false]; + } +} diff --git a/src/Normalizer/PatchLoadBalancer200ResponseLoadBalancerIpAddressItemNormalizer.php b/src/Normalizer/PatchLoadBalancer200ResponseLoadBalancerIpAddressItemNormalizer.php new file mode 100644 index 00000000..917ffab7 --- /dev/null +++ b/src/Normalizer/PatchLoadBalancer200ResponseLoadBalancerIpAddressItemNormalizer.php @@ -0,0 +1,94 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('address', $data)) { + $object->setAddress($data['address']); + unset($data['address']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('address') && null !== $object->getAddress()) { + $data['address'] = $object->getAddress(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancer200ResponseLoadBalancerIpAddressItem' => false]; + } +} diff --git a/src/Normalizer/PatchLoadBalancer200ResponseLoadBalancerNormalizer.php b/src/Normalizer/PatchLoadBalancer200ResponseLoadBalancerNormalizer.php index 38ca181b..a75292ce 100644 --- a/src/Normalizer/PatchLoadBalancer200ResponseLoadBalancerNormalizer.php +++ b/src/Normalizer/PatchLoadBalancer200ResponseLoadBalancerNormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('api_reference', $data)) { + if (\array_key_exists('api_reference', $data) && $data['api_reference'] !== null) { $object->setApiReference($data['api_reference']); unset($data['api_reference']); + } elseif (\array_key_exists('api_reference', $data) && $data['api_reference'] === null) { + $object->setApiReference(null); } if (\array_key_exists('resource_type', $data)) { $object->setResourceType($data['resource_type']); @@ -84,7 +86,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('ip_address', $data)) { $values_2 = []; foreach ($data['ip_address'] as $value_2) { - $values_2[] = $this->denormalizer->denormalize($value_2, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancerPartIPAddress', 'json', $context); + $values_2[] = $this->denormalizer->denormalize($value_2, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancer200ResponseLoadBalancerIpAddressItem', 'json', $context); } $object->setIpAddress($values_2); unset($data['ip_address']); @@ -102,7 +104,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['backend_certificate_key']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancerPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancer200ResponseLoadBalancerDataCenter', 'json', $context)); unset($data['data_center']); } if (\array_key_exists('enable_weighting', $data)) { @@ -112,7 +114,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('weights', $data)) { $values_3 = []; foreach ($data['weights'] as $value_3) { - $values_3[] = $this->denormalizer->denormalize($value_3, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancerPartWeights', 'json', $context); + $values_3[] = $this->denormalizer->denormalize($value_3, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancer200ResponseLoadBalancerWeightsItem', 'json', $context); } $object->setWeights($values_3); unset($data['weights']); diff --git a/src/Normalizer/PatchLoadBalancer200ResponseLoadBalancerWeightsItemNormalizer.php b/src/Normalizer/PatchLoadBalancer200ResponseLoadBalancerWeightsItemNormalizer.php new file mode 100644 index 00000000..77c43a5d --- /dev/null +++ b/src/Normalizer/PatchLoadBalancer200ResponseLoadBalancerWeightsItemNormalizer.php @@ -0,0 +1,94 @@ +setVirtualMachineId($data['virtual_machine_id']); + unset($data['virtual_machine_id']); + } + if (\array_key_exists('weight', $data)) { + $object->setWeight($data['weight']); + unset($data['weight']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('virtualMachineId') && null !== $object->getVirtualMachineId()) { + $data['virtual_machine_id'] = $object->getVirtualMachineId(); + } + if ($object->isInitialized('weight') && null !== $object->getWeight()) { + $data['weight'] = $object->getWeight(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancer200ResponseLoadBalancerWeightsItem' => false]; + } +} diff --git a/src/Normalizer/PatchLoadBalancerPartDataCenterNormalizer.php b/src/Normalizer/PatchLoadBalancerPartDataCenterNormalizer.php index d3fc101d..1843c3d7 100644 --- a/src/Normalizer/PatchLoadBalancerPartDataCenterNormalizer.php +++ b/src/Normalizer/PatchLoadBalancerPartDataCenterNormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItemNormalizer.php b/src/Normalizer/PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItemNormalizer.php new file mode 100644 index 00000000..b993484f --- /dev/null +++ b/src/Normalizer/PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItemNormalizer.php @@ -0,0 +1,116 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('additional_names', $data)) { + $values = []; + foreach ($data['additional_names'] as $value) { + $values[] = $value; + } + $object->setAdditionalNames($values); + unset($data['additional_names']); + } + if (\array_key_exists('state', $data)) { + $object->setState($data['state']); + unset($data['state']); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('additionalNames') && null !== $object->getAdditionalNames()) { + $values = []; + foreach ($object->getAdditionalNames() as $value) { + $values[] = $value; + } + $data['additional_names'] = $values; + } + if ($object->isInitialized('state') && null !== $object->getState()) { + $data['state'] = $object->getState(); + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItem' => false]; + } +} diff --git a/src/Normalizer/PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancerNormalizer.php b/src/Normalizer/PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancerNormalizer.php new file mode 100644 index 00000000..39145b55 --- /dev/null +++ b/src/Normalizer/PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancerNormalizer.php @@ -0,0 +1,94 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancer' => false]; + } +} diff --git a/src/Normalizer/PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer.php b/src/Normalizer/PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer.php index 9bdf1dae..486f3cc9 100644 --- a/src/Normalizer/PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer.php +++ b/src/Normalizer/PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer.php @@ -76,7 +76,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('certificates', $data)) { $values = []; foreach ($data['certificates'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartCertificates', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleCertificatesItem', 'json', $context); } $object->setCertificates($values); unset($data['certificates']); @@ -122,7 +122,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['check_http_statuses']); } if (\array_key_exists('load_balancer', $data)) { - $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer', 'json', $context)); + $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleLoadBalancer', 'json', $context)); unset($data['load_balancer']); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer.php b/src/Normalizer/PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer.php index 1656d2b2..cbb05307 100644 --- a/src/Normalizer/PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer.php +++ b/src/Normalizer/PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer.php @@ -54,7 +54,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('security_group', $data)) { - $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup', 'json', $context)); + $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroup', 'json', $context)); unset($data['security_group']); } if (\array_key_exists('direction', $data)) { @@ -69,9 +69,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setAction($data['action']); unset($data['action']); } - if (\array_key_exists('ports', $data)) { + if (\array_key_exists('ports', $data) && $data['ports'] !== null) { $object->setPorts($data['ports']); unset($data['ports']); + } elseif (\array_key_exists('ports', $data) && $data['ports'] === null) { + $object->setPorts(null); } if (\array_key_exists('targets', $data)) { $values = []; @@ -81,9 +83,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setTargets($values); unset($data['targets']); } - if (\array_key_exists('notes', $data)) { + if (\array_key_exists('notes', $data) && $data['notes'] !== null) { $object->setNotes($data['notes']); unset($data['notes']); + } elseif (\array_key_exists('notes', $data) && $data['notes'] === null) { + $object->setNotes(null); } foreach ($data as $key => $value_1) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroupNormalizer.php b/src/Normalizer/PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroupNormalizer.php new file mode 100644 index 00000000..1ab2729e --- /dev/null +++ b/src/Normalizer/PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroupNormalizer.php @@ -0,0 +1,94 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroup' => false]; + } +} diff --git a/src/Normalizer/PatchVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer.php b/src/Normalizer/PatchVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer.php new file mode 100644 index 00000000..d93b5822 --- /dev/null +++ b/src/Normalizer/PatchVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer.php @@ -0,0 +1,103 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('operating_system', $data) && $data['operating_system'] !== null) { + $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartAttachedISOOperatingSystem', 'json', $context)); + unset($data['operating_system']); + } elseif (\array_key_exists('operating_system', $data) && $data['operating_system'] === null) { + $object->setOperatingSystem(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('operatingSystem') && null !== $object->getOperatingSystem()) { + $data['operating_system'] = $this->normalizer->normalize($object->getOperatingSystem(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineAttachedIso' => false]; + } +} diff --git a/src/Normalizer/PatchVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer.php b/src/Normalizer/PatchVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer.php new file mode 100644 index 00000000..ac45ad1d --- /dev/null +++ b/src/Normalizer/PatchVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer.php @@ -0,0 +1,122 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('manufacturer', $data)) { + $object->setManufacturer($data['manufacturer']); + unset($data['manufacturer']); + } + if (\array_key_exists('memory_in_gb', $data)) { + $object->setMemoryInGb($data['memory_in_gb']); + unset($data['memory_in_gb']); + } + if (\array_key_exists('memory_type', $data)) { + $object->setMemoryType($data['memory_type']); + unset($data['memory_type']); + } + if (\array_key_exists('permalink', $data)) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('manufacturer') && null !== $object->getManufacturer()) { + $data['manufacturer'] = $object->getManufacturer(); + } + if ($object->isInitialized('memoryInGb') && null !== $object->getMemoryInGb()) { + $data['memory_in_gb'] = $object->getMemoryInGb(); + } + if ($object->isInitialized('memoryType') && null !== $object->getMemoryType()) { + $data['memory_type'] = $object->getMemoryType(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineGpuType' => false]; + } +} diff --git a/src/Normalizer/PatchVirtualMachine200ResponseVirtualMachineGpusItemNormalizer.php b/src/Normalizer/PatchVirtualMachine200ResponseVirtualMachineGpusItemNormalizer.php new file mode 100644 index 00000000..11312d45 --- /dev/null +++ b/src/Normalizer/PatchVirtualMachine200ResponseVirtualMachineGpusItemNormalizer.php @@ -0,0 +1,117 @@ +setId($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + $object->setId(null); + } + if (\array_key_exists('status', $data)) { + $object->setStatus($data['status']); + unset($data['status']); + } + if (\array_key_exists('pending_action', $data)) { + $object->setPendingAction($data['pending_action']); + unset($data['pending_action']); + } + if (\array_key_exists('available', $data)) { + $object->setAvailable($data['available']); + unset($data['available']); + } + if (\array_key_exists('type', $data)) { + $object->setType($this->denormalizer->denormalize($data['type'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartGPUsType', 'json', $context)); + unset($data['type']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('status') && null !== $object->getStatus()) { + $data['status'] = $object->getStatus(); + } + if ($object->isInitialized('pendingAction') && null !== $object->getPendingAction()) { + $data['pending_action'] = $object->getPendingAction(); + } + if ($object->isInitialized('available') && null !== $object->getAvailable()) { + $data['available'] = $object->getAvailable(); + } + if ($object->isInitialized('type') && null !== $object->getType()) { + $data['type'] = $this->normalizer->normalize($object->getType(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineGpusItem' => false]; + } +} diff --git a/src/Normalizer/PatchVirtualMachine200ResponseVirtualMachineGroupNormalizer.php b/src/Normalizer/PatchVirtualMachine200ResponseVirtualMachineGroupNormalizer.php new file mode 100644 index 00000000..dbcf2977 --- /dev/null +++ b/src/Normalizer/PatchVirtualMachine200ResponseVirtualMachineGroupNormalizer.php @@ -0,0 +1,115 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('segregate', $data)) { + $object->setSegregate($data['segregate']); + unset($data['segregate']); + } + if (\array_key_exists('auto_segregate', $data)) { + $object->setAutoSegregate($data['auto_segregate']); + unset($data['auto_segregate']); + } + if (\array_key_exists('created_at', $data)) { + $object->setCreatedAt($data['created_at']); + unset($data['created_at']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('segregate') && null !== $object->getSegregate()) { + $data['segregate'] = $object->getSegregate(); + } + if ($object->isInitialized('autoSegregate') && null !== $object->getAutoSegregate()) { + $data['auto_segregate'] = $object->getAutoSegregate(); + } + if ($object->isInitialized('createdAt') && null !== $object->getCreatedAt()) { + $data['created_at'] = $object->getCreatedAt(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineGroup' => false]; + } +} diff --git a/src/Normalizer/PatchVirtualMachine200ResponseVirtualMachineIpAddressesItemNormalizer.php b/src/Normalizer/PatchVirtualMachine200ResponseVirtualMachineIpAddressesItemNormalizer.php new file mode 100644 index 00000000..65781c3a --- /dev/null +++ b/src/Normalizer/PatchVirtualMachine200ResponseVirtualMachineIpAddressesItemNormalizer.php @@ -0,0 +1,149 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('address', $data)) { + $object->setAddress($data['address']); + unset($data['address']); + } + if (\array_key_exists('reverse_dns', $data)) { + $object->setReverseDns($data['reverse_dns']); + unset($data['reverse_dns']); + } + if (\array_key_exists('vip', $data)) { + $object->setVip($data['vip']); + unset($data['vip']); + } + if (\array_key_exists('label', $data) && $data['label'] !== null) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { + $object->setLabel(null); + } + if (\array_key_exists('address_with_mask', $data)) { + $object->setAddressWithMask($data['address_with_mask']); + unset($data['address_with_mask']); + } + if (\array_key_exists('network', $data)) { + $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartIPAddressesNetwork', 'json', $context)); + unset($data['network']); + } + if (\array_key_exists('allocation_id', $data) && $data['allocation_id'] !== null) { + $object->setAllocationId($data['allocation_id']); + unset($data['allocation_id']); + } elseif (\array_key_exists('allocation_id', $data) && $data['allocation_id'] === null) { + $object->setAllocationId(null); + } + if (\array_key_exists('allocation_type', $data) && $data['allocation_type'] !== null) { + $object->setAllocationType($data['allocation_type']); + unset($data['allocation_type']); + } elseif (\array_key_exists('allocation_type', $data) && $data['allocation_type'] === null) { + $object->setAllocationType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('address') && null !== $object->getAddress()) { + $data['address'] = $object->getAddress(); + } + if ($object->isInitialized('reverseDns') && null !== $object->getReverseDns()) { + $data['reverse_dns'] = $object->getReverseDns(); + } + if ($object->isInitialized('vip') && null !== $object->getVip()) { + $data['vip'] = $object->getVip(); + } + if ($object->isInitialized('label') && null !== $object->getLabel()) { + $data['label'] = $object->getLabel(); + } + if ($object->isInitialized('addressWithMask') && null !== $object->getAddressWithMask()) { + $data['address_with_mask'] = $object->getAddressWithMask(); + } + if ($object->isInitialized('network') && null !== $object->getNetwork()) { + $data['network'] = $this->normalizer->normalize($object->getNetwork(), 'json', $context); + } + if ($object->isInitialized('allocationId') && null !== $object->getAllocationId()) { + $data['allocation_id'] = $object->getAllocationId(); + } + if ($object->isInitialized('allocationType') && null !== $object->getAllocationType()) { + $data['allocation_type'] = $object->getAllocationType(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineIpAddressesItem' => false]; + } +} diff --git a/src/Normalizer/PatchVirtualMachine200ResponseVirtualMachineNormalizer.php b/src/Normalizer/PatchVirtualMachine200ResponseVirtualMachineNormalizer.php index b6601ef8..84cfca02 100644 --- a/src/Normalizer/PatchVirtualMachine200ResponseVirtualMachineNormalizer.php +++ b/src/Normalizer/PatchVirtualMachine200ResponseVirtualMachineNormalizer.php @@ -65,58 +65,74 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setFqdn($data['fqdn']); unset($data['fqdn']); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && $data['description'] !== null) { $object->setDescription($data['description']); unset($data['description']); + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + $object->setDescription(null); } if (\array_key_exists('created_at', $data)) { $object->setCreatedAt($data['created_at']); unset($data['created_at']); } - if (\array_key_exists('initial_root_password', $data)) { + if (\array_key_exists('initial_root_password', $data) && $data['initial_root_password'] !== null) { $object->setInitialRootPassword($data['initial_root_password']); unset($data['initial_root_password']); + } elseif (\array_key_exists('initial_root_password', $data) && $data['initial_root_password'] === null) { + $object->setInitialRootPassword(null); } if (\array_key_exists('state', $data)) { $object->setState($data['state']); unset($data['state']); } if (\array_key_exists('zone', $data)) { - $object->setZone($this->denormalizer->denormalize($data['zone'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartZone', 'json', $context)); + $object->setZone($this->denormalizer->denormalize($data['zone'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineZone', 'json', $context)); unset($data['zone']); } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartOrganization', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineOrganization', 'json', $context)); unset($data['organization']); } - if (\array_key_exists('group', $data)) { - $object->setGroup($this->denormalizer->denormalize($data['group'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartGroup', 'json', $context)); + if (\array_key_exists('group', $data) && $data['group'] !== null) { + $object->setGroup($this->denormalizer->denormalize($data['group'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineGroup', 'json', $context)); unset($data['group']); + } elseif (\array_key_exists('group', $data) && $data['group'] === null) { + $object->setGroup(null); } - if (\array_key_exists('package', $data)) { - $object->setPackage($this->denormalizer->denormalize($data['package'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartPackage', 'json', $context)); + if (\array_key_exists('package', $data) && $data['package'] !== null) { + $object->setPackage($this->denormalizer->denormalize($data['package'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachinePackage', 'json', $context)); unset($data['package']); + } elseif (\array_key_exists('package', $data) && $data['package'] === null) { + $object->setPackage(null); } - if (\array_key_exists('attached_iso', $data)) { - $object->setAttachedIso($this->denormalizer->denormalize($data['attached_iso'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartAttachedISO', 'json', $context)); + if (\array_key_exists('attached_iso', $data) && $data['attached_iso'] !== null) { + $object->setAttachedIso($this->denormalizer->denormalize($data['attached_iso'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineAttachedIso', 'json', $context)); unset($data['attached_iso']); + } elseif (\array_key_exists('attached_iso', $data) && $data['attached_iso'] === null) { + $object->setAttachedIso(null); } - if (\array_key_exists('memory_in_gb', $data)) { + if (\array_key_exists('memory_in_gb', $data) && $data['memory_in_gb'] !== null) { $object->setMemoryInGb($data['memory_in_gb']); unset($data['memory_in_gb']); + } elseif (\array_key_exists('memory_in_gb', $data) && $data['memory_in_gb'] === null) { + $object->setMemoryInGb(null); } - if (\array_key_exists('cpu_cores', $data)) { + if (\array_key_exists('cpu_cores', $data) && $data['cpu_cores'] !== null) { $object->setCpuCores($data['cpu_cores']); unset($data['cpu_cores']); + } elseif (\array_key_exists('cpu_cores', $data) && $data['cpu_cores'] === null) { + $object->setCpuCores(null); } - if (\array_key_exists('gpu_type', $data)) { - $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartGPUType', 'json', $context)); + if (\array_key_exists('gpu_type', $data) && $data['gpu_type'] !== null) { + $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineGpuType', 'json', $context)); unset($data['gpu_type']); + } elseif (\array_key_exists('gpu_type', $data) && $data['gpu_type'] === null) { + $object->setGpuType(null); } if (\array_key_exists('gpus', $data)) { $values = []; foreach ($data['gpus'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartGPUs', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineGpusItem', 'json', $context); } $object->setGpus($values); unset($data['gpus']); @@ -124,7 +140,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('tags', $data)) { $values_1 = []; foreach ($data['tags'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartTags', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineTagsItem', 'json', $context); } $object->setTags($values_1); unset($data['tags']); @@ -140,7 +156,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('ip_addresses', $data)) { $values_3 = []; foreach ($data['ip_addresses'] as $value_3) { - $values_3[] = $this->denormalizer->denormalize($value_3, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartIPAddresses', 'json', $context); + $values_3[] = $this->denormalizer->denormalize($value_3, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineIpAddressesItem', 'json', $context); } $object->setIpAddresses($values_3); unset($data['ip_addresses']); diff --git a/src/Normalizer/PatchVirtualMachine200ResponseVirtualMachineOrganizationNormalizer.php b/src/Normalizer/PatchVirtualMachine200ResponseVirtualMachineOrganizationNormalizer.php new file mode 100644 index 00000000..a5a48586 --- /dev/null +++ b/src/Normalizer/PatchVirtualMachine200ResponseVirtualMachineOrganizationNormalizer.php @@ -0,0 +1,226 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('sub_domain', $data)) { + $object->setSubDomain($data['sub_domain']); + unset($data['sub_domain']); + } + if (\array_key_exists('infrastructure_domain', $data)) { + $object->setInfrastructureDomain($data['infrastructure_domain']); + unset($data['infrastructure_domain']); + } + if (\array_key_exists('created_at', $data)) { + $object->setCreatedAt($data['created_at']); + unset($data['created_at']); + } + if (\array_key_exists('suspended', $data)) { + $object->setSuspended($data['suspended']); + unset($data['suspended']); + } + if (\array_key_exists('managed', $data)) { + $object->setManaged($data['managed']); + unset($data['managed']); + } + if (\array_key_exists('billing_name', $data) && $data['billing_name'] !== null) { + $object->setBillingName($data['billing_name']); + unset($data['billing_name']); + } elseif (\array_key_exists('billing_name', $data) && $data['billing_name'] === null) { + $object->setBillingName(null); + } + if (\array_key_exists('address1', $data) && $data['address1'] !== null) { + $object->setAddress1($data['address1']); + unset($data['address1']); + } elseif (\array_key_exists('address1', $data) && $data['address1'] === null) { + $object->setAddress1(null); + } + if (\array_key_exists('address2', $data) && $data['address2'] !== null) { + $object->setAddress2($data['address2']); + unset($data['address2']); + } elseif (\array_key_exists('address2', $data) && $data['address2'] === null) { + $object->setAddress2(null); + } + if (\array_key_exists('address3', $data) && $data['address3'] !== null) { + $object->setAddress3($data['address3']); + unset($data['address3']); + } elseif (\array_key_exists('address3', $data) && $data['address3'] === null) { + $object->setAddress3(null); + } + if (\array_key_exists('address4', $data) && $data['address4'] !== null) { + $object->setAddress4($data['address4']); + unset($data['address4']); + } elseif (\array_key_exists('address4', $data) && $data['address4'] === null) { + $object->setAddress4(null); + } + if (\array_key_exists('postcode', $data) && $data['postcode'] !== null) { + $object->setPostcode($data['postcode']); + unset($data['postcode']); + } elseif (\array_key_exists('postcode', $data) && $data['postcode'] === null) { + $object->setPostcode(null); + } + if (\array_key_exists('vat_number', $data) && $data['vat_number'] !== null) { + $object->setVatNumber($data['vat_number']); + unset($data['vat_number']); + } elseif (\array_key_exists('vat_number', $data) && $data['vat_number'] === null) { + $object->setVatNumber(null); + } + if (\array_key_exists('phone_number', $data) && $data['phone_number'] !== null) { + $object->setPhoneNumber($data['phone_number']); + unset($data['phone_number']); + } elseif (\array_key_exists('phone_number', $data) && $data['phone_number'] === null) { + $object->setPhoneNumber(null); + } + if (\array_key_exists('currency', $data)) { + $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartOrganizationCurrency', 'json', $context)); + unset($data['currency']); + } + if (\array_key_exists('country', $data) && $data['country'] !== null) { + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartOrganizationCountry', 'json', $context)); + unset($data['country']); + } elseif (\array_key_exists('country', $data) && $data['country'] === null) { + $object->setCountry(null); + } + if (\array_key_exists('country_state', $data) && $data['country_state'] !== null) { + $object->setCountryState($this->denormalizer->denormalize($data['country_state'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartOrganizationCountryState', 'json', $context)); + unset($data['country_state']); + } elseif (\array_key_exists('country_state', $data) && $data['country_state'] === null) { + $object->setCountryState(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('subDomain') && null !== $object->getSubDomain()) { + $data['sub_domain'] = $object->getSubDomain(); + } + if ($object->isInitialized('infrastructureDomain') && null !== $object->getInfrastructureDomain()) { + $data['infrastructure_domain'] = $object->getInfrastructureDomain(); + } + if ($object->isInitialized('createdAt') && null !== $object->getCreatedAt()) { + $data['created_at'] = $object->getCreatedAt(); + } + if ($object->isInitialized('suspended') && null !== $object->getSuspended()) { + $data['suspended'] = $object->getSuspended(); + } + if ($object->isInitialized('managed') && null !== $object->getManaged()) { + $data['managed'] = $object->getManaged(); + } + if ($object->isInitialized('billingName') && null !== $object->getBillingName()) { + $data['billing_name'] = $object->getBillingName(); + } + if ($object->isInitialized('address1') && null !== $object->getAddress1()) { + $data['address1'] = $object->getAddress1(); + } + if ($object->isInitialized('address2') && null !== $object->getAddress2()) { + $data['address2'] = $object->getAddress2(); + } + if ($object->isInitialized('address3') && null !== $object->getAddress3()) { + $data['address3'] = $object->getAddress3(); + } + if ($object->isInitialized('address4') && null !== $object->getAddress4()) { + $data['address4'] = $object->getAddress4(); + } + if ($object->isInitialized('postcode') && null !== $object->getPostcode()) { + $data['postcode'] = $object->getPostcode(); + } + if ($object->isInitialized('vatNumber') && null !== $object->getVatNumber()) { + $data['vat_number'] = $object->getVatNumber(); + } + if ($object->isInitialized('phoneNumber') && null !== $object->getPhoneNumber()) { + $data['phone_number'] = $object->getPhoneNumber(); + } + if ($object->isInitialized('currency') && null !== $object->getCurrency()) { + $data['currency'] = $this->normalizer->normalize($object->getCurrency(), 'json', $context); + } + if ($object->isInitialized('country') && null !== $object->getCountry()) { + $data['country'] = $this->normalizer->normalize($object->getCountry(), 'json', $context); + } + if ($object->isInitialized('countryState') && null !== $object->getCountryState()) { + $data['country_state'] = $this->normalizer->normalize($object->getCountryState(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineOrganization' => false]; + } +} diff --git a/src/Normalizer/PatchVirtualMachine200ResponseVirtualMachinePackageNormalizer.php b/src/Normalizer/PatchVirtualMachine200ResponseVirtualMachinePackageNormalizer.php new file mode 100644 index 00000000..64c97e9d --- /dev/null +++ b/src/Normalizer/PatchVirtualMachine200ResponseVirtualMachinePackageNormalizer.php @@ -0,0 +1,154 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data)) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } + if (\array_key_exists('cpu_cores', $data)) { + $object->setCpuCores($data['cpu_cores']); + unset($data['cpu_cores']); + } + if (\array_key_exists('ipv4_addresses', $data)) { + $object->setIpv4Addresses($data['ipv4_addresses']); + unset($data['ipv4_addresses']); + } + if (\array_key_exists('memory_in_gb', $data)) { + $object->setMemoryInGb($data['memory_in_gb']); + unset($data['memory_in_gb']); + } + if (\array_key_exists('storage_in_gb', $data)) { + $object->setStorageInGb($data['storage_in_gb']); + unset($data['storage_in_gb']); + } + if (\array_key_exists('monthly_bandwidth_allowance_in_gb', $data) && $data['monthly_bandwidth_allowance_in_gb'] !== null) { + $object->setMonthlyBandwidthAllowanceInGb($data['monthly_bandwidth_allowance_in_gb']); + unset($data['monthly_bandwidth_allowance_in_gb']); + } elseif (\array_key_exists('monthly_bandwidth_allowance_in_gb', $data) && $data['monthly_bandwidth_allowance_in_gb'] === null) { + $object->setMonthlyBandwidthAllowanceInGb(null); + } + if (\array_key_exists('privacy', $data)) { + $object->setPrivacy($data['privacy']); + unset($data['privacy']); + } + if (\array_key_exists('icon', $data) && $data['icon'] !== null) { + $object->setIcon($this->denormalizer->denormalize($data['icon'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartPackageIcon', 'json', $context)); + unset($data['icon']); + } elseif (\array_key_exists('icon', $data) && $data['icon'] === null) { + $object->setIcon(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + if ($object->isInitialized('cpuCores') && null !== $object->getCpuCores()) { + $data['cpu_cores'] = $object->getCpuCores(); + } + if ($object->isInitialized('ipv4Addresses') && null !== $object->getIpv4Addresses()) { + $data['ipv4_addresses'] = $object->getIpv4Addresses(); + } + if ($object->isInitialized('memoryInGb') && null !== $object->getMemoryInGb()) { + $data['memory_in_gb'] = $object->getMemoryInGb(); + } + if ($object->isInitialized('storageInGb') && null !== $object->getStorageInGb()) { + $data['storage_in_gb'] = $object->getStorageInGb(); + } + if ($object->isInitialized('monthlyBandwidthAllowanceInGb') && null !== $object->getMonthlyBandwidthAllowanceInGb()) { + $data['monthly_bandwidth_allowance_in_gb'] = $object->getMonthlyBandwidthAllowanceInGb(); + } + if ($object->isInitialized('privacy') && null !== $object->getPrivacy()) { + $data['privacy'] = $object->getPrivacy(); + } + if ($object->isInitialized('icon') && null !== $object->getIcon()) { + $data['icon'] = $this->normalizer->normalize($object->getIcon(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachinePackage' => false]; + } +} diff --git a/src/Normalizer/PatchVirtualMachine200ResponseVirtualMachineTagsItemNormalizer.php b/src/Normalizer/PatchVirtualMachine200ResponseVirtualMachineTagsItemNormalizer.php new file mode 100644 index 00000000..9b587e51 --- /dev/null +++ b/src/Normalizer/PatchVirtualMachine200ResponseVirtualMachineTagsItemNormalizer.php @@ -0,0 +1,108 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('color', $data)) { + $object->setColor($data['color']); + unset($data['color']); + } + if (\array_key_exists('created_at', $data)) { + $object->setCreatedAt($data['created_at']); + unset($data['created_at']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('color') && null !== $object->getColor()) { + $data['color'] = $object->getColor(); + } + if ($object->isInitialized('createdAt') && null !== $object->getCreatedAt()) { + $data['created_at'] = $object->getCreatedAt(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineTagsItem' => false]; + } +} diff --git a/src/Normalizer/PatchVirtualMachine200ResponseVirtualMachineZoneNormalizer.php b/src/Normalizer/PatchVirtualMachine200ResponseVirtualMachineZoneNormalizer.php new file mode 100644 index 00000000..13eae1b7 --- /dev/null +++ b/src/Normalizer/PatchVirtualMachine200ResponseVirtualMachineZoneNormalizer.php @@ -0,0 +1,110 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); + } + if (\array_key_exists('data_center', $data)) { + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartZoneDataCenter', 'json', $context)); + unset($data['data_center']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + if ($object->isInitialized('dataCenter') && null !== $object->getDataCenter()) { + $data['data_center'] = $this->normalizer->normalize($object->getDataCenter(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineZone' => false]; + } +} diff --git a/src/Normalizer/PatchVirtualMachinePartAttachedISONormalizer.php b/src/Normalizer/PatchVirtualMachinePartAttachedISONormalizer.php index 355561b7..b0bd28e5 100644 --- a/src/Normalizer/PatchVirtualMachinePartAttachedISONormalizer.php +++ b/src/Normalizer/PatchVirtualMachinePartAttachedISONormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('operating_system', $data)) { - $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartOperatingSystem', 'json', $context)); + if (\array_key_exists('operating_system', $data) && $data['operating_system'] !== null) { + $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartAttachedISOOperatingSystem', 'json', $context)); unset($data['operating_system']); + } elseif (\array_key_exists('operating_system', $data) && $data['operating_system'] === null) { + $object->setOperatingSystem(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/PatchVirtualMachinePartAttachedISOOperatingSystemNormalizer.php b/src/Normalizer/PatchVirtualMachinePartAttachedISOOperatingSystemNormalizer.php new file mode 100644 index 00000000..6a7d8778 --- /dev/null +++ b/src/Normalizer/PatchVirtualMachinePartAttachedISOOperatingSystemNormalizer.php @@ -0,0 +1,103 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('badge', $data) && $data['badge'] !== null) { + $object->setBadge($this->denormalizer->denormalize($data['badge'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartOperatingSystemBadge', 'json', $context)); + unset($data['badge']); + } elseif (\array_key_exists('badge', $data) && $data['badge'] === null) { + $object->setBadge(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('badge') && null !== $object->getBadge()) { + $data['badge'] = $this->normalizer->normalize($object->getBadge(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartAttachedISOOperatingSystem' => false]; + } +} diff --git a/src/Normalizer/PatchVirtualMachinePartCountryNormalizer.php b/src/Normalizer/PatchVirtualMachinePartCountryNormalizer.php index 6bc4e74c..fc064246 100644 --- a/src/Normalizer/PatchVirtualMachinePartCountryNormalizer.php +++ b/src/Normalizer/PatchVirtualMachinePartCountryNormalizer.php @@ -65,9 +65,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setIsoCode3($data['iso_code3']); unset($data['iso_code3']); } - if (\array_key_exists('time_zone', $data)) { + if (\array_key_exists('time_zone', $data) && $data['time_zone'] !== null) { $object->setTimeZone($data['time_zone']); unset($data['time_zone']); + } elseif (\array_key_exists('time_zone', $data) && $data['time_zone'] === null) { + $object->setTimeZone(null); } if (\array_key_exists('eu', $data)) { $object->setEu($data['eu']); diff --git a/src/Normalizer/PatchVirtualMachinePartCountryStateCountryNormalizer.php b/src/Normalizer/PatchVirtualMachinePartCountryStateCountryNormalizer.php new file mode 100644 index 00000000..389ba45d --- /dev/null +++ b/src/Normalizer/PatchVirtualMachinePartCountryStateCountryNormalizer.php @@ -0,0 +1,124 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('iso_code2', $data)) { + $object->setIsoCode2($data['iso_code2']); + unset($data['iso_code2']); + } + if (\array_key_exists('iso_code3', $data)) { + $object->setIsoCode3($data['iso_code3']); + unset($data['iso_code3']); + } + if (\array_key_exists('time_zone', $data) && $data['time_zone'] !== null) { + $object->setTimeZone($data['time_zone']); + unset($data['time_zone']); + } elseif (\array_key_exists('time_zone', $data) && $data['time_zone'] === null) { + $object->setTimeZone(null); + } + if (\array_key_exists('eu', $data)) { + $object->setEu($data['eu']); + unset($data['eu']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('isoCode2') && null !== $object->getIsoCode2()) { + $data['iso_code2'] = $object->getIsoCode2(); + } + if ($object->isInitialized('isoCode3') && null !== $object->getIsoCode3()) { + $data['iso_code3'] = $object->getIsoCode3(); + } + if ($object->isInitialized('timeZone') && null !== $object->getTimeZone()) { + $data['time_zone'] = $object->getTimeZone(); + } + if ($object->isInitialized('eu') && null !== $object->getEu()) { + $data['eu'] = $object->getEu(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartCountryStateCountry' => false]; + } +} diff --git a/src/Normalizer/PatchVirtualMachinePartCountryStateNormalizer.php b/src/Normalizer/PatchVirtualMachinePartCountryStateNormalizer.php index c5d2a784..b0a0727b 100644 --- a/src/Normalizer/PatchVirtualMachinePartCountryStateNormalizer.php +++ b/src/Normalizer/PatchVirtualMachinePartCountryStateNormalizer.php @@ -62,7 +62,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['code']); } if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartCountry', 'json', $context)); + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartCountryStateCountry', 'json', $context)); unset($data['country']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/PatchVirtualMachinePartDataCenterCountryNormalizer.php b/src/Normalizer/PatchVirtualMachinePartDataCenterCountryNormalizer.php new file mode 100644 index 00000000..f81193c1 --- /dev/null +++ b/src/Normalizer/PatchVirtualMachinePartDataCenterCountryNormalizer.php @@ -0,0 +1,124 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('iso_code2', $data)) { + $object->setIsoCode2($data['iso_code2']); + unset($data['iso_code2']); + } + if (\array_key_exists('iso_code3', $data)) { + $object->setIsoCode3($data['iso_code3']); + unset($data['iso_code3']); + } + if (\array_key_exists('time_zone', $data) && $data['time_zone'] !== null) { + $object->setTimeZone($data['time_zone']); + unset($data['time_zone']); + } elseif (\array_key_exists('time_zone', $data) && $data['time_zone'] === null) { + $object->setTimeZone(null); + } + if (\array_key_exists('eu', $data)) { + $object->setEu($data['eu']); + unset($data['eu']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('isoCode2') && null !== $object->getIsoCode2()) { + $data['iso_code2'] = $object->getIsoCode2(); + } + if ($object->isInitialized('isoCode3') && null !== $object->getIsoCode3()) { + $data['iso_code3'] = $object->getIsoCode3(); + } + if ($object->isInitialized('timeZone') && null !== $object->getTimeZone()) { + $data['time_zone'] = $object->getTimeZone(); + } + if ($object->isInitialized('eu') && null !== $object->getEu()) { + $data['eu'] = $object->getEu(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartDataCenterCountry' => false]; + } +} diff --git a/src/Normalizer/PatchVirtualMachinePartDataCenterNormalizer.php b/src/Normalizer/PatchVirtualMachinePartDataCenterNormalizer.php index 164dca35..ab8b7cbf 100644 --- a/src/Normalizer/PatchVirtualMachinePartDataCenterNormalizer.php +++ b/src/Normalizer/PatchVirtualMachinePartDataCenterNormalizer.php @@ -57,12 +57,14 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartCountry', 'json', $context)); + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartDataCenterCountry', 'json', $context)); unset($data['country']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/PatchVirtualMachinePartGPUsNormalizer.php b/src/Normalizer/PatchVirtualMachinePartGPUsNormalizer.php index 0b8cba29..311f4c7f 100644 --- a/src/Normalizer/PatchVirtualMachinePartGPUsNormalizer.php +++ b/src/Normalizer/PatchVirtualMachinePartGPUsNormalizer.php @@ -49,9 +49,11 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); unset($data['id']); + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + $object->setId(null); } if (\array_key_exists('status', $data)) { $object->setStatus($data['status']); @@ -66,7 +68,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['available']); } if (\array_key_exists('type', $data)) { - $object->setType($this->denormalizer->denormalize($data['type'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartType', 'json', $context)); + $object->setType($this->denormalizer->denormalize($data['type'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartGPUsType', 'json', $context)); unset($data['type']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/PatchVirtualMachinePartGPUsTypeNormalizer.php b/src/Normalizer/PatchVirtualMachinePartGPUsTypeNormalizer.php new file mode 100644 index 00000000..190fd25a --- /dev/null +++ b/src/Normalizer/PatchVirtualMachinePartGPUsTypeNormalizer.php @@ -0,0 +1,122 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('manufacturer', $data)) { + $object->setManufacturer($data['manufacturer']); + unset($data['manufacturer']); + } + if (\array_key_exists('memory_in_gb', $data)) { + $object->setMemoryInGb($data['memory_in_gb']); + unset($data['memory_in_gb']); + } + if (\array_key_exists('memory_type', $data)) { + $object->setMemoryType($data['memory_type']); + unset($data['memory_type']); + } + if (\array_key_exists('permalink', $data)) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('manufacturer') && null !== $object->getManufacturer()) { + $data['manufacturer'] = $object->getManufacturer(); + } + if ($object->isInitialized('memoryInGb') && null !== $object->getMemoryInGb()) { + $data['memory_in_gb'] = $object->getMemoryInGb(); + } + if ($object->isInitialized('memoryType') && null !== $object->getMemoryType()) { + $data['memory_type'] = $object->getMemoryType(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartGPUsType' => false]; + } +} diff --git a/src/Normalizer/PatchVirtualMachinePartIPAddressesNetworkNormalizer.php b/src/Normalizer/PatchVirtualMachinePartIPAddressesNetworkNormalizer.php new file mode 100644 index 00000000..a05f41bb --- /dev/null +++ b/src/Normalizer/PatchVirtualMachinePartIPAddressesNetworkNormalizer.php @@ -0,0 +1,110 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); + } + if (\array_key_exists('data_center', $data)) { + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartNetworkDataCenter', 'json', $context)); + unset($data['data_center']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + if ($object->isInitialized('dataCenter') && null !== $object->getDataCenter()) { + $data['data_center'] = $this->normalizer->normalize($object->getDataCenter(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartIPAddressesNetwork' => false]; + } +} diff --git a/src/Normalizer/PatchVirtualMachinePartIPAddressesNormalizer.php b/src/Normalizer/PatchVirtualMachinePartIPAddressesNormalizer.php index b63242b1..b68e8532 100644 --- a/src/Normalizer/PatchVirtualMachinePartIPAddressesNormalizer.php +++ b/src/Normalizer/PatchVirtualMachinePartIPAddressesNormalizer.php @@ -65,25 +65,31 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setVip($data['vip']); unset($data['vip']); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); unset($data['label']); + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { + $object->setLabel(null); } if (\array_key_exists('address_with_mask', $data)) { $object->setAddressWithMask($data['address_with_mask']); unset($data['address_with_mask']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartNetwork', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartIPAddressesNetwork', 'json', $context)); unset($data['network']); } - if (\array_key_exists('allocation_id', $data)) { + if (\array_key_exists('allocation_id', $data) && $data['allocation_id'] !== null) { $object->setAllocationId($data['allocation_id']); unset($data['allocation_id']); + } elseif (\array_key_exists('allocation_id', $data) && $data['allocation_id'] === null) { + $object->setAllocationId(null); } - if (\array_key_exists('allocation_type', $data)) { + if (\array_key_exists('allocation_type', $data) && $data['allocation_type'] !== null) { $object->setAllocationType($data['allocation_type']); unset($data['allocation_type']); + } elseif (\array_key_exists('allocation_type', $data) && $data['allocation_type'] === null) { + $object->setAllocationType(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/PatchVirtualMachinePartNetworkDataCenterNormalizer.php b/src/Normalizer/PatchVirtualMachinePartNetworkDataCenterNormalizer.php new file mode 100644 index 00000000..3c27c4c4 --- /dev/null +++ b/src/Normalizer/PatchVirtualMachinePartNetworkDataCenterNormalizer.php @@ -0,0 +1,110 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); + } + if (\array_key_exists('country', $data)) { + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartDataCenterCountry', 'json', $context)); + unset($data['country']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + if ($object->isInitialized('country') && null !== $object->getCountry()) { + $data['country'] = $this->normalizer->normalize($object->getCountry(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartNetworkDataCenter' => false]; + } +} diff --git a/src/Normalizer/PatchVirtualMachinePartNetworkNormalizer.php b/src/Normalizer/PatchVirtualMachinePartNetworkNormalizer.php index 75b3e891..3ce66862 100644 --- a/src/Normalizer/PatchVirtualMachinePartNetworkNormalizer.php +++ b/src/Normalizer/PatchVirtualMachinePartNetworkNormalizer.php @@ -57,12 +57,14 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartNetworkDataCenter', 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/PatchVirtualMachinePartOperatingSystemBadgeNormalizer.php b/src/Normalizer/PatchVirtualMachinePartOperatingSystemBadgeNormalizer.php new file mode 100644 index 00000000..38d4089b --- /dev/null +++ b/src/Normalizer/PatchVirtualMachinePartOperatingSystemBadgeNormalizer.php @@ -0,0 +1,122 @@ +setUrl($data['url']); + unset($data['url']); + } + if (\array_key_exists('file_name', $data)) { + $object->setFileName($data['file_name']); + unset($data['file_name']); + } + if (\array_key_exists('file_type', $data)) { + $object->setFileType($data['file_type']); + unset($data['file_type']); + } + if (\array_key_exists('file_size', $data)) { + $object->setFileSize($data['file_size']); + unset($data['file_size']); + } + if (\array_key_exists('digest', $data)) { + $object->setDigest($data['digest']); + unset($data['digest']); + } + if (\array_key_exists('token', $data)) { + $object->setToken($data['token']); + unset($data['token']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('url') && null !== $object->getUrl()) { + $data['url'] = $object->getUrl(); + } + if ($object->isInitialized('fileName') && null !== $object->getFileName()) { + $data['file_name'] = $object->getFileName(); + } + if ($object->isInitialized('fileType') && null !== $object->getFileType()) { + $data['file_type'] = $object->getFileType(); + } + if ($object->isInitialized('fileSize') && null !== $object->getFileSize()) { + $data['file_size'] = $object->getFileSize(); + } + if ($object->isInitialized('digest') && null !== $object->getDigest()) { + $data['digest'] = $object->getDigest(); + } + if ($object->isInitialized('token') && null !== $object->getToken()) { + $data['token'] = $object->getToken(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartOperatingSystemBadge' => false]; + } +} diff --git a/src/Normalizer/PatchVirtualMachinePartOperatingSystemNormalizer.php b/src/Normalizer/PatchVirtualMachinePartOperatingSystemNormalizer.php index 264b77b6..b6071919 100644 --- a/src/Normalizer/PatchVirtualMachinePartOperatingSystemNormalizer.php +++ b/src/Normalizer/PatchVirtualMachinePartOperatingSystemNormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('badge', $data)) { - $object->setBadge($this->denormalizer->denormalize($data['badge'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartBadge', 'json', $context)); + if (\array_key_exists('badge', $data) && $data['badge'] !== null) { + $object->setBadge($this->denormalizer->denormalize($data['badge'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartOperatingSystemBadge', 'json', $context)); unset($data['badge']); + } elseif (\array_key_exists('badge', $data) && $data['badge'] === null) { + $object->setBadge(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/PatchVirtualMachinePartOrganizationCountryNormalizer.php b/src/Normalizer/PatchVirtualMachinePartOrganizationCountryNormalizer.php new file mode 100644 index 00000000..1fd93473 --- /dev/null +++ b/src/Normalizer/PatchVirtualMachinePartOrganizationCountryNormalizer.php @@ -0,0 +1,124 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('iso_code2', $data)) { + $object->setIsoCode2($data['iso_code2']); + unset($data['iso_code2']); + } + if (\array_key_exists('iso_code3', $data)) { + $object->setIsoCode3($data['iso_code3']); + unset($data['iso_code3']); + } + if (\array_key_exists('time_zone', $data) && $data['time_zone'] !== null) { + $object->setTimeZone($data['time_zone']); + unset($data['time_zone']); + } elseif (\array_key_exists('time_zone', $data) && $data['time_zone'] === null) { + $object->setTimeZone(null); + } + if (\array_key_exists('eu', $data)) { + $object->setEu($data['eu']); + unset($data['eu']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('isoCode2') && null !== $object->getIsoCode2()) { + $data['iso_code2'] = $object->getIsoCode2(); + } + if ($object->isInitialized('isoCode3') && null !== $object->getIsoCode3()) { + $data['iso_code3'] = $object->getIsoCode3(); + } + if ($object->isInitialized('timeZone') && null !== $object->getTimeZone()) { + $data['time_zone'] = $object->getTimeZone(); + } + if ($object->isInitialized('eu') && null !== $object->getEu()) { + $data['eu'] = $object->getEu(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartOrganizationCountry' => false]; + } +} diff --git a/src/Normalizer/PatchVirtualMachinePartOrganizationCountryStateNormalizer.php b/src/Normalizer/PatchVirtualMachinePartOrganizationCountryStateNormalizer.php new file mode 100644 index 00000000..14cb234d --- /dev/null +++ b/src/Normalizer/PatchVirtualMachinePartOrganizationCountryStateNormalizer.php @@ -0,0 +1,108 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('code', $data)) { + $object->setCode($data['code']); + unset($data['code']); + } + if (\array_key_exists('country', $data)) { + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartCountryStateCountry', 'json', $context)); + unset($data['country']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('code') && null !== $object->getCode()) { + $data['code'] = $object->getCode(); + } + if ($object->isInitialized('country') && null !== $object->getCountry()) { + $data['country'] = $this->normalizer->normalize($object->getCountry(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartOrganizationCountryState' => false]; + } +} diff --git a/src/Normalizer/PatchVirtualMachinePartOrganizationCurrencyNormalizer.php b/src/Normalizer/PatchVirtualMachinePartOrganizationCurrencyNormalizer.php new file mode 100644 index 00000000..ecc6ed3f --- /dev/null +++ b/src/Normalizer/PatchVirtualMachinePartOrganizationCurrencyNormalizer.php @@ -0,0 +1,108 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('iso_code', $data)) { + $object->setIsoCode($data['iso_code']); + unset($data['iso_code']); + } + if (\array_key_exists('symbol', $data)) { + $object->setSymbol($data['symbol']); + unset($data['symbol']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('isoCode') && null !== $object->getIsoCode()) { + $data['iso_code'] = $object->getIsoCode(); + } + if ($object->isInitialized('symbol') && null !== $object->getSymbol()) { + $data['symbol'] = $object->getSymbol(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartOrganizationCurrency' => false]; + } +} diff --git a/src/Normalizer/PatchVirtualMachinePartOrganizationNormalizer.php b/src/Normalizer/PatchVirtualMachinePartOrganizationNormalizer.php index 75fc206e..a5fb8099 100644 --- a/src/Normalizer/PatchVirtualMachinePartOrganizationNormalizer.php +++ b/src/Normalizer/PatchVirtualMachinePartOrganizationNormalizer.php @@ -77,49 +77,69 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setManaged($data['managed']); unset($data['managed']); } - if (\array_key_exists('billing_name', $data)) { + if (\array_key_exists('billing_name', $data) && $data['billing_name'] !== null) { $object->setBillingName($data['billing_name']); unset($data['billing_name']); + } elseif (\array_key_exists('billing_name', $data) && $data['billing_name'] === null) { + $object->setBillingName(null); } - if (\array_key_exists('address1', $data)) { + if (\array_key_exists('address1', $data) && $data['address1'] !== null) { $object->setAddress1($data['address1']); unset($data['address1']); + } elseif (\array_key_exists('address1', $data) && $data['address1'] === null) { + $object->setAddress1(null); } - if (\array_key_exists('address2', $data)) { + if (\array_key_exists('address2', $data) && $data['address2'] !== null) { $object->setAddress2($data['address2']); unset($data['address2']); + } elseif (\array_key_exists('address2', $data) && $data['address2'] === null) { + $object->setAddress2(null); } - if (\array_key_exists('address3', $data)) { + if (\array_key_exists('address3', $data) && $data['address3'] !== null) { $object->setAddress3($data['address3']); unset($data['address3']); + } elseif (\array_key_exists('address3', $data) && $data['address3'] === null) { + $object->setAddress3(null); } - if (\array_key_exists('address4', $data)) { + if (\array_key_exists('address4', $data) && $data['address4'] !== null) { $object->setAddress4($data['address4']); unset($data['address4']); + } elseif (\array_key_exists('address4', $data) && $data['address4'] === null) { + $object->setAddress4(null); } - if (\array_key_exists('postcode', $data)) { + if (\array_key_exists('postcode', $data) && $data['postcode'] !== null) { $object->setPostcode($data['postcode']); unset($data['postcode']); + } elseif (\array_key_exists('postcode', $data) && $data['postcode'] === null) { + $object->setPostcode(null); } - if (\array_key_exists('vat_number', $data)) { + if (\array_key_exists('vat_number', $data) && $data['vat_number'] !== null) { $object->setVatNumber($data['vat_number']); unset($data['vat_number']); + } elseif (\array_key_exists('vat_number', $data) && $data['vat_number'] === null) { + $object->setVatNumber(null); } - if (\array_key_exists('phone_number', $data)) { + if (\array_key_exists('phone_number', $data) && $data['phone_number'] !== null) { $object->setPhoneNumber($data['phone_number']); unset($data['phone_number']); + } elseif (\array_key_exists('phone_number', $data) && $data['phone_number'] === null) { + $object->setPhoneNumber(null); } if (\array_key_exists('currency', $data)) { - $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartCurrency', 'json', $context)); + $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartOrganizationCurrency', 'json', $context)); unset($data['currency']); } - if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartCountry', 'json', $context)); + if (\array_key_exists('country', $data) && $data['country'] !== null) { + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartOrganizationCountry', 'json', $context)); unset($data['country']); + } elseif (\array_key_exists('country', $data) && $data['country'] === null) { + $object->setCountry(null); } - if (\array_key_exists('country_state', $data)) { - $object->setCountryState($this->denormalizer->denormalize($data['country_state'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartCountryState', 'json', $context)); + if (\array_key_exists('country_state', $data) && $data['country_state'] !== null) { + $object->setCountryState($this->denormalizer->denormalize($data['country_state'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartOrganizationCountryState', 'json', $context)); unset($data['country_state']); + } elseif (\array_key_exists('country_state', $data) && $data['country_state'] === null) { + $object->setCountryState(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/PatchVirtualMachinePartPackageIconNormalizer.php b/src/Normalizer/PatchVirtualMachinePartPackageIconNormalizer.php new file mode 100644 index 00000000..fcd8b87e --- /dev/null +++ b/src/Normalizer/PatchVirtualMachinePartPackageIconNormalizer.php @@ -0,0 +1,122 @@ +setUrl($data['url']); + unset($data['url']); + } + if (\array_key_exists('file_name', $data)) { + $object->setFileName($data['file_name']); + unset($data['file_name']); + } + if (\array_key_exists('file_type', $data)) { + $object->setFileType($data['file_type']); + unset($data['file_type']); + } + if (\array_key_exists('file_size', $data)) { + $object->setFileSize($data['file_size']); + unset($data['file_size']); + } + if (\array_key_exists('digest', $data)) { + $object->setDigest($data['digest']); + unset($data['digest']); + } + if (\array_key_exists('token', $data)) { + $object->setToken($data['token']); + unset($data['token']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('url') && null !== $object->getUrl()) { + $data['url'] = $object->getUrl(); + } + if ($object->isInitialized('fileName') && null !== $object->getFileName()) { + $data['file_name'] = $object->getFileName(); + } + if ($object->isInitialized('fileType') && null !== $object->getFileType()) { + $data['file_type'] = $object->getFileType(); + } + if ($object->isInitialized('fileSize') && null !== $object->getFileSize()) { + $data['file_size'] = $object->getFileSize(); + } + if ($object->isInitialized('digest') && null !== $object->getDigest()) { + $data['digest'] = $object->getDigest(); + } + if ($object->isInitialized('token') && null !== $object->getToken()) { + $data['token'] = $object->getToken(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartPackageIcon' => false]; + } +} diff --git a/src/Normalizer/PatchVirtualMachinePartPackageNormalizer.php b/src/Normalizer/PatchVirtualMachinePartPackageNormalizer.php index 7667d70a..bb81ff00 100644 --- a/src/Normalizer/PatchVirtualMachinePartPackageNormalizer.php +++ b/src/Normalizer/PatchVirtualMachinePartPackageNormalizer.php @@ -77,17 +77,21 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setStorageInGb($data['storage_in_gb']); unset($data['storage_in_gb']); } - if (\array_key_exists('monthly_bandwidth_allowance_in_gb', $data)) { + if (\array_key_exists('monthly_bandwidth_allowance_in_gb', $data) && $data['monthly_bandwidth_allowance_in_gb'] !== null) { $object->setMonthlyBandwidthAllowanceInGb($data['monthly_bandwidth_allowance_in_gb']); unset($data['monthly_bandwidth_allowance_in_gb']); + } elseif (\array_key_exists('monthly_bandwidth_allowance_in_gb', $data) && $data['monthly_bandwidth_allowance_in_gb'] === null) { + $object->setMonthlyBandwidthAllowanceInGb(null); } if (\array_key_exists('privacy', $data)) { $object->setPrivacy($data['privacy']); unset($data['privacy']); } - if (\array_key_exists('icon', $data)) { - $object->setIcon($this->denormalizer->denormalize($data['icon'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartIcon', 'json', $context)); + if (\array_key_exists('icon', $data) && $data['icon'] !== null) { + $object->setIcon($this->denormalizer->denormalize($data['icon'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartPackageIcon', 'json', $context)); unset($data['icon']); + } elseif (\array_key_exists('icon', $data) && $data['icon'] === null) { + $object->setIcon(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/PatchVirtualMachinePartZoneDataCenterNormalizer.php b/src/Normalizer/PatchVirtualMachinePartZoneDataCenterNormalizer.php new file mode 100644 index 00000000..1a5525dc --- /dev/null +++ b/src/Normalizer/PatchVirtualMachinePartZoneDataCenterNormalizer.php @@ -0,0 +1,110 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); + } + if (\array_key_exists('country', $data)) { + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartDataCenterCountry', 'json', $context)); + unset($data['country']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + if ($object->isInitialized('country') && null !== $object->getCountry()) { + $data['country'] = $this->normalizer->normalize($object->getCountry(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartZoneDataCenter' => false]; + } +} diff --git a/src/Normalizer/PatchVirtualMachinePartZoneNormalizer.php b/src/Normalizer/PatchVirtualMachinePartZoneNormalizer.php index dd5053b6..61956697 100644 --- a/src/Normalizer/PatchVirtualMachinePartZoneNormalizer.php +++ b/src/Normalizer/PatchVirtualMachinePartZoneNormalizer.php @@ -57,12 +57,14 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartZoneDataCenter', 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/PermissionDeniedNormalizer.php b/src/Normalizer/PermissionDeniedNormalizer.php index d0e41d38..95afef6a 100644 --- a/src/Normalizer/PermissionDeniedNormalizer.php +++ b/src/Normalizer/PermissionDeniedNormalizer.php @@ -49,9 +49,11 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('details', $data)) { + if (\array_key_exists('details', $data) && $data['details'] !== null) { $object->setDetails($data['details']); unset($data['details']); + } elseif (\array_key_exists('details', $data) && $data['details'] === null) { + $object->setDetails(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/PostDiskDiskBackupPolicies200ResponseDiskBackupPolicyNormalizer.php b/src/Normalizer/PostDiskDiskBackupPolicies200ResponseDiskBackupPolicyNormalizer.php index de5df3eb..aaa95900 100644 --- a/src/Normalizer/PostDiskDiskBackupPolicies200ResponseDiskBackupPolicyNormalizer.php +++ b/src/Normalizer/PostDiskDiskBackupPolicies200ResponseDiskBackupPolicyNormalizer.php @@ -69,12 +69,14 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['target']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostDiskDiskBackupPoliciesPartSchedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostDiskDiskBackupPolicies200ResponseDiskBackupPolicySchedule', 'json', $context)); unset($data['schedule']); } - if (\array_key_exists('auto_move_to_trash_at', $data)) { + if (\array_key_exists('auto_move_to_trash_at', $data) && $data['auto_move_to_trash_at'] !== null) { $object->setAutoMoveToTrashAt($data['auto_move_to_trash_at']); unset($data['auto_move_to_trash_at']); + } elseif (\array_key_exists('auto_move_to_trash_at', $data) && $data['auto_move_to_trash_at'] === null) { + $object->setAutoMoveToTrashAt(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/PostDiskDiskBackupPolicies200ResponseDiskBackupPolicyScheduleNormalizer.php b/src/Normalizer/PostDiskDiskBackupPolicies200ResponseDiskBackupPolicyScheduleNormalizer.php new file mode 100644 index 00000000..35b20558 --- /dev/null +++ b/src/Normalizer/PostDiskDiskBackupPolicies200ResponseDiskBackupPolicyScheduleNormalizer.php @@ -0,0 +1,115 @@ +setFrequency($data['frequency']); + unset($data['frequency']); + } + if (\array_key_exists('interval', $data)) { + $object->setInterval($data['interval']); + unset($data['interval']); + } + if (\array_key_exists('minute', $data)) { + $object->setMinute($data['minute']); + unset($data['minute']); + } + if (\array_key_exists('next_invocation_at', $data)) { + $object->setNextInvocationAt($data['next_invocation_at']); + unset($data['next_invocation_at']); + } + if (\array_key_exists('time', $data)) { + $object->setTime($data['time']); + unset($data['time']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('frequency') && null !== $object->getFrequency()) { + $data['frequency'] = $object->getFrequency(); + } + if ($object->isInitialized('interval') && null !== $object->getInterval()) { + $data['interval'] = $object->getInterval(); + } + if ($object->isInitialized('minute') && null !== $object->getMinute()) { + $data['minute'] = $object->getMinute(); + } + if ($object->isInitialized('nextInvocationAt') && null !== $object->getNextInvocationAt()) { + $data['next_invocation_at'] = $object->getNextInvocationAt(); + } + if ($object->isInitialized('time') && null !== $object->getTime()) { + $data['time'] = $object->getTime(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PostDiskDiskBackupPolicies200ResponseDiskBackupPolicySchedule' => false]; + } +} diff --git a/src/Normalizer/PostLoadBalancerRules200ResponseLoadBalancerRuleCertificatesItemNormalizer.php b/src/Normalizer/PostLoadBalancerRules200ResponseLoadBalancerRuleCertificatesItemNormalizer.php new file mode 100644 index 00000000..d1871e1b --- /dev/null +++ b/src/Normalizer/PostLoadBalancerRules200ResponseLoadBalancerRuleCertificatesItemNormalizer.php @@ -0,0 +1,116 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('additional_names', $data)) { + $values = []; + foreach ($data['additional_names'] as $value) { + $values[] = $value; + } + $object->setAdditionalNames($values); + unset($data['additional_names']); + } + if (\array_key_exists('state', $data)) { + $object->setState($data['state']); + unset($data['state']); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('additionalNames') && null !== $object->getAdditionalNames()) { + $values = []; + foreach ($object->getAdditionalNames() as $value) { + $values[] = $value; + } + $data['additional_names'] = $values; + } + if ($object->isInitialized('state') && null !== $object->getState()) { + $data['state'] = $object->getState(); + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PostLoadBalancerRules200ResponseLoadBalancerRuleCertificatesItem' => false]; + } +} diff --git a/src/Normalizer/PostLoadBalancerRules200ResponseLoadBalancerRuleLoadBalancerNormalizer.php b/src/Normalizer/PostLoadBalancerRules200ResponseLoadBalancerRuleLoadBalancerNormalizer.php new file mode 100644 index 00000000..f25d1c11 --- /dev/null +++ b/src/Normalizer/PostLoadBalancerRules200ResponseLoadBalancerRuleLoadBalancerNormalizer.php @@ -0,0 +1,94 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PostLoadBalancerRules200ResponseLoadBalancerRuleLoadBalancer' => false]; + } +} diff --git a/src/Normalizer/PostLoadBalancerRules200ResponseLoadBalancerRuleNormalizer.php b/src/Normalizer/PostLoadBalancerRules200ResponseLoadBalancerRuleNormalizer.php index 18ae2733..e28fee55 100644 --- a/src/Normalizer/PostLoadBalancerRules200ResponseLoadBalancerRuleNormalizer.php +++ b/src/Normalizer/PostLoadBalancerRules200ResponseLoadBalancerRuleNormalizer.php @@ -76,7 +76,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('certificates', $data)) { $values = []; foreach ($data['certificates'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostLoadBalancerRulesPartCertificates', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostLoadBalancerRules200ResponseLoadBalancerRuleCertificatesItem', 'json', $context); } $object->setCertificates($values); unset($data['certificates']); @@ -122,7 +122,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['check_http_statuses']); } if (\array_key_exists('load_balancer', $data)) { - $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostLoadBalancerRulesPartLoadBalancer', 'json', $context)); + $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostLoadBalancerRules200ResponseLoadBalancerRuleLoadBalancer', 'json', $context)); unset($data['load_balancer']); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/PostOrganizationFileStorageVolumes201ResponseFileStorageVolumeDataCenterNormalizer.php b/src/Normalizer/PostOrganizationFileStorageVolumes201ResponseFileStorageVolumeDataCenterNormalizer.php new file mode 100644 index 00000000..05faab52 --- /dev/null +++ b/src/Normalizer/PostOrganizationFileStorageVolumes201ResponseFileStorageVolumeDataCenterNormalizer.php @@ -0,0 +1,103 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationFileStorageVolumes201ResponseFileStorageVolumeDataCenter' => false]; + } +} diff --git a/src/Normalizer/PostOrganizationFileStorageVolumes201ResponseFileStorageVolumeNormalizer.php b/src/Normalizer/PostOrganizationFileStorageVolumes201ResponseFileStorageVolumeNormalizer.php index dd100f16..dc0a0055 100644 --- a/src/Normalizer/PostOrganizationFileStorageVolumes201ResponseFileStorageVolumeNormalizer.php +++ b/src/Normalizer/PostOrganizationFileStorageVolumes201ResponseFileStorageVolumeNormalizer.php @@ -58,7 +58,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationFileStorageVolumesPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationFileStorageVolumes201ResponseFileStorageVolumeDataCenter', 'json', $context)); unset($data['data_center']); } if (\array_key_exists('associations', $data)) { @@ -73,13 +73,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setState($data['state']); unset($data['state']); } - if (\array_key_exists('nfs_location', $data)) { + if (\array_key_exists('nfs_location', $data) && $data['nfs_location'] !== null) { $object->setNfsLocation($data['nfs_location']); unset($data['nfs_location']); + } elseif (\array_key_exists('nfs_location', $data) && $data['nfs_location'] === null) { + $object->setNfsLocation(null); } - if (\array_key_exists('size', $data)) { + if (\array_key_exists('size', $data) && $data['size'] !== null) { $object->setSize($data['size']); unset($data['size']); + } elseif (\array_key_exists('size', $data) && $data['size'] === null) { + $object->setSize(null); } foreach ($data as $key => $value_1) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/PostOrganizationFileStorageVolumesPartDataCenterNormalizer.php b/src/Normalizer/PostOrganizationFileStorageVolumesPartDataCenterNormalizer.php index 01708384..e8b4dc94 100644 --- a/src/Normalizer/PostOrganizationFileStorageVolumesPartDataCenterNormalizer.php +++ b/src/Normalizer/PostOrganizationFileStorageVolumesPartDataCenterNormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/PostOrganizationLoadBalancers200ResponseLoadBalancerDataCenterNormalizer.php b/src/Normalizer/PostOrganizationLoadBalancers200ResponseLoadBalancerDataCenterNormalizer.php new file mode 100644 index 00000000..4d4e94f9 --- /dev/null +++ b/src/Normalizer/PostOrganizationLoadBalancers200ResponseLoadBalancerDataCenterNormalizer.php @@ -0,0 +1,103 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancers200ResponseLoadBalancerDataCenter' => false]; + } +} diff --git a/src/Normalizer/PostOrganizationLoadBalancers200ResponseLoadBalancerIpAddressItemNormalizer.php b/src/Normalizer/PostOrganizationLoadBalancers200ResponseLoadBalancerIpAddressItemNormalizer.php new file mode 100644 index 00000000..7ceaea11 --- /dev/null +++ b/src/Normalizer/PostOrganizationLoadBalancers200ResponseLoadBalancerIpAddressItemNormalizer.php @@ -0,0 +1,94 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('address', $data)) { + $object->setAddress($data['address']); + unset($data['address']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('address') && null !== $object->getAddress()) { + $data['address'] = $object->getAddress(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancers200ResponseLoadBalancerIpAddressItem' => false]; + } +} diff --git a/src/Normalizer/PostOrganizationLoadBalancers200ResponseLoadBalancerNormalizer.php b/src/Normalizer/PostOrganizationLoadBalancers200ResponseLoadBalancerNormalizer.php index cca902e3..e69295e8 100644 --- a/src/Normalizer/PostOrganizationLoadBalancers200ResponseLoadBalancerNormalizer.php +++ b/src/Normalizer/PostOrganizationLoadBalancers200ResponseLoadBalancerNormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('api_reference', $data)) { + if (\array_key_exists('api_reference', $data) && $data['api_reference'] !== null) { $object->setApiReference($data['api_reference']); unset($data['api_reference']); + } elseif (\array_key_exists('api_reference', $data) && $data['api_reference'] === null) { + $object->setApiReference(null); } if (\array_key_exists('resource_type', $data)) { $object->setResourceType($data['resource_type']); @@ -84,7 +86,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('ip_address', $data)) { $values_2 = []; foreach ($data['ip_address'] as $value_2) { - $values_2[] = $this->denormalizer->denormalize($value_2, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancersPartIPAddress', 'json', $context); + $values_2[] = $this->denormalizer->denormalize($value_2, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancers200ResponseLoadBalancerIpAddressItem', 'json', $context); } $object->setIpAddress($values_2); unset($data['ip_address']); @@ -102,7 +104,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['backend_certificate_key']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancersPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancers200ResponseLoadBalancerDataCenter', 'json', $context)); unset($data['data_center']); } if (\array_key_exists('enable_weighting', $data)) { @@ -112,7 +114,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('weights', $data)) { $values_3 = []; foreach ($data['weights'] as $value_3) { - $values_3[] = $this->denormalizer->denormalize($value_3, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancersPartWeights', 'json', $context); + $values_3[] = $this->denormalizer->denormalize($value_3, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancers200ResponseLoadBalancerWeightsItem', 'json', $context); } $object->setWeights($values_3); unset($data['weights']); diff --git a/src/Normalizer/PostOrganizationLoadBalancers200ResponseLoadBalancerWeightsItemNormalizer.php b/src/Normalizer/PostOrganizationLoadBalancers200ResponseLoadBalancerWeightsItemNormalizer.php new file mode 100644 index 00000000..30b7dc0c --- /dev/null +++ b/src/Normalizer/PostOrganizationLoadBalancers200ResponseLoadBalancerWeightsItemNormalizer.php @@ -0,0 +1,94 @@ +setVirtualMachineId($data['virtual_machine_id']); + unset($data['virtual_machine_id']); + } + if (\array_key_exists('weight', $data)) { + $object->setWeight($data['weight']); + unset($data['weight']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('virtualMachineId') && null !== $object->getVirtualMachineId()) { + $data['virtual_machine_id'] = $object->getVirtualMachineId(); + } + if ($object->isInitialized('weight') && null !== $object->getWeight()) { + $data['weight'] = $object->getWeight(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationLoadBalancers200ResponseLoadBalancerWeightsItem' => false]; + } +} diff --git a/src/Normalizer/PostOrganizationLoadBalancersPartDataCenterNormalizer.php b/src/Normalizer/PostOrganizationLoadBalancersPartDataCenterNormalizer.php index b64fca0f..067ccacb 100644 --- a/src/Normalizer/PostOrganizationLoadBalancersPartDataCenterNormalizer.php +++ b/src/Normalizer/PostOrganizationLoadBalancersPartDataCenterNormalizer.php @@ -57,9 +57,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/PostOrganizationManaged201ResponseOrganizationCountryNormalizer.php b/src/Normalizer/PostOrganizationManaged201ResponseOrganizationCountryNormalizer.php new file mode 100644 index 00000000..4d8dd418 --- /dev/null +++ b/src/Normalizer/PostOrganizationManaged201ResponseOrganizationCountryNormalizer.php @@ -0,0 +1,124 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('iso_code2', $data)) { + $object->setIsoCode2($data['iso_code2']); + unset($data['iso_code2']); + } + if (\array_key_exists('iso_code3', $data)) { + $object->setIsoCode3($data['iso_code3']); + unset($data['iso_code3']); + } + if (\array_key_exists('time_zone', $data) && $data['time_zone'] !== null) { + $object->setTimeZone($data['time_zone']); + unset($data['time_zone']); + } elseif (\array_key_exists('time_zone', $data) && $data['time_zone'] === null) { + $object->setTimeZone(null); + } + if (\array_key_exists('eu', $data)) { + $object->setEu($data['eu']); + unset($data['eu']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('isoCode2') && null !== $object->getIsoCode2()) { + $data['iso_code2'] = $object->getIsoCode2(); + } + if ($object->isInitialized('isoCode3') && null !== $object->getIsoCode3()) { + $data['iso_code3'] = $object->getIsoCode3(); + } + if ($object->isInitialized('timeZone') && null !== $object->getTimeZone()) { + $data['time_zone'] = $object->getTimeZone(); + } + if ($object->isInitialized('eu') && null !== $object->getEu()) { + $data['eu'] = $object->getEu(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManaged201ResponseOrganizationCountry' => false]; + } +} diff --git a/src/Normalizer/PostOrganizationManaged201ResponseOrganizationCountryStateNormalizer.php b/src/Normalizer/PostOrganizationManaged201ResponseOrganizationCountryStateNormalizer.php new file mode 100644 index 00000000..9d5e5f14 --- /dev/null +++ b/src/Normalizer/PostOrganizationManaged201ResponseOrganizationCountryStateNormalizer.php @@ -0,0 +1,108 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('code', $data)) { + $object->setCode($data['code']); + unset($data['code']); + } + if (\array_key_exists('country', $data)) { + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManagedPartCountryStateCountry', 'json', $context)); + unset($data['country']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('code') && null !== $object->getCode()) { + $data['code'] = $object->getCode(); + } + if ($object->isInitialized('country') && null !== $object->getCountry()) { + $data['country'] = $this->normalizer->normalize($object->getCountry(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManaged201ResponseOrganizationCountryState' => false]; + } +} diff --git a/src/Normalizer/PostOrganizationManaged201ResponseOrganizationCurrencyNormalizer.php b/src/Normalizer/PostOrganizationManaged201ResponseOrganizationCurrencyNormalizer.php new file mode 100644 index 00000000..113db298 --- /dev/null +++ b/src/Normalizer/PostOrganizationManaged201ResponseOrganizationCurrencyNormalizer.php @@ -0,0 +1,108 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('iso_code', $data)) { + $object->setIsoCode($data['iso_code']); + unset($data['iso_code']); + } + if (\array_key_exists('symbol', $data)) { + $object->setSymbol($data['symbol']); + unset($data['symbol']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('isoCode') && null !== $object->getIsoCode()) { + $data['iso_code'] = $object->getIsoCode(); + } + if ($object->isInitialized('symbol') && null !== $object->getSymbol()) { + $data['symbol'] = $object->getSymbol(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManaged201ResponseOrganizationCurrency' => false]; + } +} diff --git a/src/Normalizer/PostOrganizationManaged201ResponseOrganizationNormalizer.php b/src/Normalizer/PostOrganizationManaged201ResponseOrganizationNormalizer.php index be769e07..f5a8d0e9 100644 --- a/src/Normalizer/PostOrganizationManaged201ResponseOrganizationNormalizer.php +++ b/src/Normalizer/PostOrganizationManaged201ResponseOrganizationNormalizer.php @@ -77,49 +77,69 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setManaged($data['managed']); unset($data['managed']); } - if (\array_key_exists('billing_name', $data)) { + if (\array_key_exists('billing_name', $data) && $data['billing_name'] !== null) { $object->setBillingName($data['billing_name']); unset($data['billing_name']); + } elseif (\array_key_exists('billing_name', $data) && $data['billing_name'] === null) { + $object->setBillingName(null); } - if (\array_key_exists('address1', $data)) { + if (\array_key_exists('address1', $data) && $data['address1'] !== null) { $object->setAddress1($data['address1']); unset($data['address1']); + } elseif (\array_key_exists('address1', $data) && $data['address1'] === null) { + $object->setAddress1(null); } - if (\array_key_exists('address2', $data)) { + if (\array_key_exists('address2', $data) && $data['address2'] !== null) { $object->setAddress2($data['address2']); unset($data['address2']); + } elseif (\array_key_exists('address2', $data) && $data['address2'] === null) { + $object->setAddress2(null); } - if (\array_key_exists('address3', $data)) { + if (\array_key_exists('address3', $data) && $data['address3'] !== null) { $object->setAddress3($data['address3']); unset($data['address3']); + } elseif (\array_key_exists('address3', $data) && $data['address3'] === null) { + $object->setAddress3(null); } - if (\array_key_exists('address4', $data)) { + if (\array_key_exists('address4', $data) && $data['address4'] !== null) { $object->setAddress4($data['address4']); unset($data['address4']); + } elseif (\array_key_exists('address4', $data) && $data['address4'] === null) { + $object->setAddress4(null); } - if (\array_key_exists('postcode', $data)) { + if (\array_key_exists('postcode', $data) && $data['postcode'] !== null) { $object->setPostcode($data['postcode']); unset($data['postcode']); + } elseif (\array_key_exists('postcode', $data) && $data['postcode'] === null) { + $object->setPostcode(null); } - if (\array_key_exists('vat_number', $data)) { + if (\array_key_exists('vat_number', $data) && $data['vat_number'] !== null) { $object->setVatNumber($data['vat_number']); unset($data['vat_number']); + } elseif (\array_key_exists('vat_number', $data) && $data['vat_number'] === null) { + $object->setVatNumber(null); } - if (\array_key_exists('phone_number', $data)) { + if (\array_key_exists('phone_number', $data) && $data['phone_number'] !== null) { $object->setPhoneNumber($data['phone_number']); unset($data['phone_number']); + } elseif (\array_key_exists('phone_number', $data) && $data['phone_number'] === null) { + $object->setPhoneNumber(null); } if (\array_key_exists('currency', $data)) { - $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManagedPartCurrency', 'json', $context)); + $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManaged201ResponseOrganizationCurrency', 'json', $context)); unset($data['currency']); } - if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManagedPartCountry', 'json', $context)); + if (\array_key_exists('country', $data) && $data['country'] !== null) { + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManaged201ResponseOrganizationCountry', 'json', $context)); unset($data['country']); + } elseif (\array_key_exists('country', $data) && $data['country'] === null) { + $object->setCountry(null); } - if (\array_key_exists('country_state', $data)) { - $object->setCountryState($this->denormalizer->denormalize($data['country_state'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManagedPartCountryState', 'json', $context)); + if (\array_key_exists('country_state', $data) && $data['country_state'] !== null) { + $object->setCountryState($this->denormalizer->denormalize($data['country_state'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManaged201ResponseOrganizationCountryState', 'json', $context)); unset($data['country_state']); + } elseif (\array_key_exists('country_state', $data) && $data['country_state'] === null) { + $object->setCountryState(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/PostOrganizationManagedPartCountryNormalizer.php b/src/Normalizer/PostOrganizationManagedPartCountryNormalizer.php index c865027d..853610a2 100644 --- a/src/Normalizer/PostOrganizationManagedPartCountryNormalizer.php +++ b/src/Normalizer/PostOrganizationManagedPartCountryNormalizer.php @@ -65,9 +65,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setIsoCode3($data['iso_code3']); unset($data['iso_code3']); } - if (\array_key_exists('time_zone', $data)) { + if (\array_key_exists('time_zone', $data) && $data['time_zone'] !== null) { $object->setTimeZone($data['time_zone']); unset($data['time_zone']); + } elseif (\array_key_exists('time_zone', $data) && $data['time_zone'] === null) { + $object->setTimeZone(null); } if (\array_key_exists('eu', $data)) { $object->setEu($data['eu']); diff --git a/src/Normalizer/PostOrganizationManagedPartCountryStateCountryNormalizer.php b/src/Normalizer/PostOrganizationManagedPartCountryStateCountryNormalizer.php new file mode 100644 index 00000000..da2d1aee --- /dev/null +++ b/src/Normalizer/PostOrganizationManagedPartCountryStateCountryNormalizer.php @@ -0,0 +1,124 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('iso_code2', $data)) { + $object->setIsoCode2($data['iso_code2']); + unset($data['iso_code2']); + } + if (\array_key_exists('iso_code3', $data)) { + $object->setIsoCode3($data['iso_code3']); + unset($data['iso_code3']); + } + if (\array_key_exists('time_zone', $data) && $data['time_zone'] !== null) { + $object->setTimeZone($data['time_zone']); + unset($data['time_zone']); + } elseif (\array_key_exists('time_zone', $data) && $data['time_zone'] === null) { + $object->setTimeZone(null); + } + if (\array_key_exists('eu', $data)) { + $object->setEu($data['eu']); + unset($data['eu']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('isoCode2') && null !== $object->getIsoCode2()) { + $data['iso_code2'] = $object->getIsoCode2(); + } + if ($object->isInitialized('isoCode3') && null !== $object->getIsoCode3()) { + $data['iso_code3'] = $object->getIsoCode3(); + } + if ($object->isInitialized('timeZone') && null !== $object->getTimeZone()) { + $data['time_zone'] = $object->getTimeZone(); + } + if ($object->isInitialized('eu') && null !== $object->getEu()) { + $data['eu'] = $object->getEu(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManagedPartCountryStateCountry' => false]; + } +} diff --git a/src/Normalizer/PostOrganizationManagedPartCountryStateNormalizer.php b/src/Normalizer/PostOrganizationManagedPartCountryStateNormalizer.php index 4dc8b2f7..089f822e 100644 --- a/src/Normalizer/PostOrganizationManagedPartCountryStateNormalizer.php +++ b/src/Normalizer/PostOrganizationManagedPartCountryStateNormalizer.php @@ -62,7 +62,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['code']); } if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManagedPartCountry', 'json', $context)); + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostOrganizationManagedPartCountryStateCountry', 'json', $context)); unset($data['country']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/PostSecurityGroupRules200ResponseSecurityGroupRuleNormalizer.php b/src/Normalizer/PostSecurityGroupRules200ResponseSecurityGroupRuleNormalizer.php index 1af6116c..5f72f3da 100644 --- a/src/Normalizer/PostSecurityGroupRules200ResponseSecurityGroupRuleNormalizer.php +++ b/src/Normalizer/PostSecurityGroupRules200ResponseSecurityGroupRuleNormalizer.php @@ -54,7 +54,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('security_group', $data)) { - $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostSecurityGroupRulesPartSecurityGroup', 'json', $context)); + $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostSecurityGroupRules200ResponseSecurityGroupRuleSecurityGroup', 'json', $context)); unset($data['security_group']); } if (\array_key_exists('direction', $data)) { @@ -69,9 +69,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setAction($data['action']); unset($data['action']); } - if (\array_key_exists('ports', $data)) { + if (\array_key_exists('ports', $data) && $data['ports'] !== null) { $object->setPorts($data['ports']); unset($data['ports']); + } elseif (\array_key_exists('ports', $data) && $data['ports'] === null) { + $object->setPorts(null); } if (\array_key_exists('targets', $data)) { $values = []; @@ -81,9 +83,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setTargets($values); unset($data['targets']); } - if (\array_key_exists('notes', $data)) { + if (\array_key_exists('notes', $data) && $data['notes'] !== null) { $object->setNotes($data['notes']); unset($data['notes']); + } elseif (\array_key_exists('notes', $data) && $data['notes'] === null) { + $object->setNotes(null); } foreach ($data as $key => $value_1) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/PostSecurityGroupRules200ResponseSecurityGroupRuleSecurityGroupNormalizer.php b/src/Normalizer/PostSecurityGroupRules200ResponseSecurityGroupRuleSecurityGroupNormalizer.php new file mode 100644 index 00000000..2f76067c --- /dev/null +++ b/src/Normalizer/PostSecurityGroupRules200ResponseSecurityGroupRuleSecurityGroupNormalizer.php @@ -0,0 +1,94 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PostSecurityGroupRules200ResponseSecurityGroupRuleSecurityGroup' => false]; + } +} diff --git a/src/Normalizer/PostVirtualMachineConsoleSessions201ResponseConsoleSessionNormalizer.php b/src/Normalizer/PostVirtualMachineConsoleSessions201ResponseConsoleSessionNormalizer.php index 4de6c62e..b347ed7d 100644 --- a/src/Normalizer/PostVirtualMachineConsoleSessions201ResponseConsoleSessionNormalizer.php +++ b/src/Normalizer/PostVirtualMachineConsoleSessions201ResponseConsoleSessionNormalizer.php @@ -62,7 +62,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['expires_at']); } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineConsoleSessionsPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineConsoleSessions201ResponseConsoleSessionVirtualMachine', 'json', $context)); unset($data['virtual_machine']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/PostVirtualMachineConsoleSessions201ResponseConsoleSessionVirtualMachineNormalizer.php b/src/Normalizer/PostVirtualMachineConsoleSessions201ResponseConsoleSessionVirtualMachineNormalizer.php new file mode 100644 index 00000000..77b3258d --- /dev/null +++ b/src/Normalizer/PostVirtualMachineConsoleSessions201ResponseConsoleSessionVirtualMachineNormalizer.php @@ -0,0 +1,115 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('hostname', $data)) { + $object->setHostname($data['hostname']); + unset($data['hostname']); + } + if (\array_key_exists('fqdn', $data)) { + $object->setFqdn($data['fqdn']); + unset($data['fqdn']); + } + if (\array_key_exists('state', $data)) { + $object->setState($data['state']); + unset($data['state']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('hostname') && null !== $object->getHostname()) { + $data['hostname'] = $object->getHostname(); + } + if ($object->isInitialized('fqdn') && null !== $object->getFqdn()) { + $data['fqdn'] = $object->getFqdn(); + } + if ($object->isInitialized('state') && null !== $object->getState()) { + $data['state'] = $object->getState(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineConsoleSessions201ResponseConsoleSessionVirtualMachine' => false]; + } +} diff --git a/src/Normalizer/PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicyNormalizer.php b/src/Normalizer/PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicyNormalizer.php index 77797acf..36c995b6 100644 --- a/src/Normalizer/PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicyNormalizer.php +++ b/src/Normalizer/PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicyNormalizer.php @@ -69,12 +69,14 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['target']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineDiskBackupPoliciesPartSchedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicySchedule', 'json', $context)); unset($data['schedule']); } - if (\array_key_exists('auto_move_to_trash_at', $data)) { + if (\array_key_exists('auto_move_to_trash_at', $data) && $data['auto_move_to_trash_at'] !== null) { $object->setAutoMoveToTrashAt($data['auto_move_to_trash_at']); unset($data['auto_move_to_trash_at']); + } elseif (\array_key_exists('auto_move_to_trash_at', $data) && $data['auto_move_to_trash_at'] === null) { + $object->setAutoMoveToTrashAt(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicyScheduleNormalizer.php b/src/Normalizer/PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicyScheduleNormalizer.php new file mode 100644 index 00000000..d9774e91 --- /dev/null +++ b/src/Normalizer/PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicyScheduleNormalizer.php @@ -0,0 +1,115 @@ +setFrequency($data['frequency']); + unset($data['frequency']); + } + if (\array_key_exists('interval', $data)) { + $object->setInterval($data['interval']); + unset($data['interval']); + } + if (\array_key_exists('minute', $data)) { + $object->setMinute($data['minute']); + unset($data['minute']); + } + if (\array_key_exists('next_invocation_at', $data)) { + $object->setNextInvocationAt($data['next_invocation_at']); + unset($data['next_invocation_at']); + } + if (\array_key_exists('time', $data)) { + $object->setTime($data['time']); + unset($data['time']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('frequency') && null !== $object->getFrequency()) { + $data['frequency'] = $object->getFrequency(); + } + if ($object->isInitialized('interval') && null !== $object->getInterval()) { + $data['interval'] = $object->getInterval(); + } + if ($object->isInitialized('minute') && null !== $object->getMinute()) { + $data['minute'] = $object->getMinute(); + } + if ($object->isInitialized('nextInvocationAt') && null !== $object->getNextInvocationAt()) { + $data['next_invocation_at'] = $object->getNextInvocationAt(); + } + if ($object->isInitialized('time') && null !== $object->getTime()) { + $data['time'] = $object->getTime(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicySchedule' => false]; + } +} diff --git a/src/Normalizer/PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceIpAddressesItemNormalizer.php b/src/Normalizer/PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceIpAddressesItemNormalizer.php new file mode 100644 index 00000000..f0e50437 --- /dev/null +++ b/src/Normalizer/PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceIpAddressesItemNormalizer.php @@ -0,0 +1,94 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('address', $data)) { + $object->setAddress($data['address']); + unset($data['address']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('address') && null !== $object->getAddress()) { + $data['address'] = $object->getAddress(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceIpAddressesItem' => false]; + } +} diff --git a/src/Normalizer/PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceNetworkNormalizer.php b/src/Normalizer/PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceNetworkNormalizer.php new file mode 100644 index 00000000..42c72678 --- /dev/null +++ b/src/Normalizer/PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceNetworkNormalizer.php @@ -0,0 +1,94 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceNetwork' => false]; + } +} diff --git a/src/Normalizer/PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceNormalizer.php b/src/Normalizer/PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceNormalizer.php index 3bf43bd6..0b1b2669 100644 --- a/src/Normalizer/PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceNormalizer.php +++ b/src/Normalizer/PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceNormalizer.php @@ -54,7 +54,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceVirtualMachine', 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('name', $data)) { @@ -62,7 +62,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceNetwork', 'json', $context)); unset($data['network']); } if (\array_key_exists('mac_address', $data)) { @@ -76,7 +76,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('ip_addresses', $data)) { $values = []; foreach ($data['ip_addresses'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceIpAddressesItem', 'json', $context); } $object->setIpAddresses($values); unset($data['ip_addresses']); diff --git a/src/Normalizer/PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceVirtualMachineNormalizer.php b/src/Normalizer/PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceVirtualMachineNormalizer.php new file mode 100644 index 00000000..1b703de9 --- /dev/null +++ b/src/Normalizer/PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceVirtualMachineNormalizer.php @@ -0,0 +1,94 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceVirtualMachine' => false]; + } +} diff --git a/src/Normalizer/RecordContentAttributesForAAAANormalizer.php b/src/Normalizer/RecordContentAttributesForAAAANormalizer.php index a2bade40..59514c70 100644 --- a/src/Normalizer/RecordContentAttributesForAAAANormalizer.php +++ b/src/Normalizer/RecordContentAttributesForAAAANormalizer.php @@ -49,9 +49,11 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('ip_address', $data)) { + if (\array_key_exists('ip_address', $data) && $data['ip_address'] !== null) { $object->setIpAddress($data['ip_address']); unset($data['ip_address']); + } elseif (\array_key_exists('ip_address', $data) && $data['ip_address'] === null) { + $object->setIpAddress(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/RecordContentAttributesForALIASNormalizer.php b/src/Normalizer/RecordContentAttributesForALIASNormalizer.php index 6b9cf746..d28db0ef 100644 --- a/src/Normalizer/RecordContentAttributesForALIASNormalizer.php +++ b/src/Normalizer/RecordContentAttributesForALIASNormalizer.php @@ -49,9 +49,11 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hostname', $data)) { + if (\array_key_exists('hostname', $data) && $data['hostname'] !== null) { $object->setHostname($data['hostname']); unset($data['hostname']); + } elseif (\array_key_exists('hostname', $data) && $data['hostname'] === null) { + $object->setHostname(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/RecordContentAttributesForANormalizer.php b/src/Normalizer/RecordContentAttributesForANormalizer.php index 60781487..8afafe00 100644 --- a/src/Normalizer/RecordContentAttributesForANormalizer.php +++ b/src/Normalizer/RecordContentAttributesForANormalizer.php @@ -49,9 +49,11 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('ip_address', $data)) { + if (\array_key_exists('ip_address', $data) && $data['ip_address'] !== null) { $object->setIpAddress($data['ip_address']); unset($data['ip_address']); + } elseif (\array_key_exists('ip_address', $data) && $data['ip_address'] === null) { + $object->setIpAddress(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/RecordContentAttributesForCAANormalizer.php b/src/Normalizer/RecordContentAttributesForCAANormalizer.php index df913775..08f9e77d 100644 --- a/src/Normalizer/RecordContentAttributesForCAANormalizer.php +++ b/src/Normalizer/RecordContentAttributesForCAANormalizer.php @@ -49,17 +49,23 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('flag', $data)) { + if (\array_key_exists('flag', $data) && $data['flag'] !== null) { $object->setFlag($data['flag']); unset($data['flag']); + } elseif (\array_key_exists('flag', $data) && $data['flag'] === null) { + $object->setFlag(null); } - if (\array_key_exists('tag', $data)) { + if (\array_key_exists('tag', $data) && $data['tag'] !== null) { $object->setTag($data['tag']); unset($data['tag']); + } elseif (\array_key_exists('tag', $data) && $data['tag'] === null) { + $object->setTag(null); } - if (\array_key_exists('value', $data)) { + if (\array_key_exists('value', $data) && $data['value'] !== null) { $object->setValue($data['value']); unset($data['value']); + } elseif (\array_key_exists('value', $data) && $data['value'] === null) { + $object->setValue(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/RecordContentAttributesForCNAMENormalizer.php b/src/Normalizer/RecordContentAttributesForCNAMENormalizer.php index fbc0ced2..1c93ad21 100644 --- a/src/Normalizer/RecordContentAttributesForCNAMENormalizer.php +++ b/src/Normalizer/RecordContentAttributesForCNAMENormalizer.php @@ -49,9 +49,11 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hostname', $data)) { + if (\array_key_exists('hostname', $data) && $data['hostname'] !== null) { $object->setHostname($data['hostname']); unset($data['hostname']); + } elseif (\array_key_exists('hostname', $data) && $data['hostname'] === null) { + $object->setHostname(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/RecordContentAttributesForIPSNormalizer.php b/src/Normalizer/RecordContentAttributesForIPSNormalizer.php index 1e734c89..cb2e69a7 100644 --- a/src/Normalizer/RecordContentAttributesForIPSNormalizer.php +++ b/src/Normalizer/RecordContentAttributesForIPSNormalizer.php @@ -49,9 +49,11 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('ip_addresses', $data)) { + if (\array_key_exists('ip_addresses', $data) && $data['ip_addresses'] !== null) { $object->setIpAddresses($data['ip_addresses']); unset($data['ip_addresses']); + } elseif (\array_key_exists('ip_addresses', $data) && $data['ip_addresses'] === null) { + $object->setIpAddresses(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/RecordContentAttributesForMXNormalizer.php b/src/Normalizer/RecordContentAttributesForMXNormalizer.php index 3584f24b..85b33248 100644 --- a/src/Normalizer/RecordContentAttributesForMXNormalizer.php +++ b/src/Normalizer/RecordContentAttributesForMXNormalizer.php @@ -49,9 +49,11 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hostname', $data)) { + if (\array_key_exists('hostname', $data) && $data['hostname'] !== null) { $object->setHostname($data['hostname']); unset($data['hostname']); + } elseif (\array_key_exists('hostname', $data) && $data['hostname'] === null) { + $object->setHostname(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/RecordContentAttributesForNSNormalizer.php b/src/Normalizer/RecordContentAttributesForNSNormalizer.php index 802ec89f..8742e583 100644 --- a/src/Normalizer/RecordContentAttributesForNSNormalizer.php +++ b/src/Normalizer/RecordContentAttributesForNSNormalizer.php @@ -49,9 +49,11 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hostname', $data)) { + if (\array_key_exists('hostname', $data) && $data['hostname'] !== null) { $object->setHostname($data['hostname']); unset($data['hostname']); + } elseif (\array_key_exists('hostname', $data) && $data['hostname'] === null) { + $object->setHostname(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/RecordContentAttributesForPTRNormalizer.php b/src/Normalizer/RecordContentAttributesForPTRNormalizer.php index db3de5b1..29ac9ba4 100644 --- a/src/Normalizer/RecordContentAttributesForPTRNormalizer.php +++ b/src/Normalizer/RecordContentAttributesForPTRNormalizer.php @@ -49,9 +49,11 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('hostname', $data)) { + if (\array_key_exists('hostname', $data) && $data['hostname'] !== null) { $object->setHostname($data['hostname']); unset($data['hostname']); + } elseif (\array_key_exists('hostname', $data) && $data['hostname'] === null) { + $object->setHostname(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/RecordContentAttributesForSRVNormalizer.php b/src/Normalizer/RecordContentAttributesForSRVNormalizer.php index ca9c26d0..1315c7e0 100644 --- a/src/Normalizer/RecordContentAttributesForSRVNormalizer.php +++ b/src/Normalizer/RecordContentAttributesForSRVNormalizer.php @@ -49,17 +49,23 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('weight', $data)) { + if (\array_key_exists('weight', $data) && $data['weight'] !== null) { $object->setWeight($data['weight']); unset($data['weight']); + } elseif (\array_key_exists('weight', $data) && $data['weight'] === null) { + $object->setWeight(null); } - if (\array_key_exists('port', $data)) { + if (\array_key_exists('port', $data) && $data['port'] !== null) { $object->setPort($data['port']); unset($data['port']); + } elseif (\array_key_exists('port', $data) && $data['port'] === null) { + $object->setPort(null); } - if (\array_key_exists('target', $data)) { + if (\array_key_exists('target', $data) && $data['target'] !== null) { $object->setTarget($data['target']); unset($data['target']); + } elseif (\array_key_exists('target', $data) && $data['target'] === null) { + $object->setTarget(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/RecordContentAttributesForSSHFPNormalizer.php b/src/Normalizer/RecordContentAttributesForSSHFPNormalizer.php index 34aba29d..f9463797 100644 --- a/src/Normalizer/RecordContentAttributesForSSHFPNormalizer.php +++ b/src/Normalizer/RecordContentAttributesForSSHFPNormalizer.php @@ -49,17 +49,23 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('algorithm', $data)) { + if (\array_key_exists('algorithm', $data) && $data['algorithm'] !== null) { $object->setAlgorithm($data['algorithm']); unset($data['algorithm']); + } elseif (\array_key_exists('algorithm', $data) && $data['algorithm'] === null) { + $object->setAlgorithm(null); } - if (\array_key_exists('fingerprint_type', $data)) { + if (\array_key_exists('fingerprint_type', $data) && $data['fingerprint_type'] !== null) { $object->setFingerprintType($data['fingerprint_type']); unset($data['fingerprint_type']); + } elseif (\array_key_exists('fingerprint_type', $data) && $data['fingerprint_type'] === null) { + $object->setFingerprintType(null); } - if (\array_key_exists('fingerprint', $data)) { + if (\array_key_exists('fingerprint', $data) && $data['fingerprint'] !== null) { $object->setFingerprint($data['fingerprint']); unset($data['fingerprint']); + } elseif (\array_key_exists('fingerprint', $data) && $data['fingerprint'] === null) { + $object->setFingerprint(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/RecordContentAttributesForTXTNormalizer.php b/src/Normalizer/RecordContentAttributesForTXTNormalizer.php index a7baf786..6dbdced4 100644 --- a/src/Normalizer/RecordContentAttributesForTXTNormalizer.php +++ b/src/Normalizer/RecordContentAttributesForTXTNormalizer.php @@ -49,9 +49,11 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('content', $data)) { + if (\array_key_exists('content', $data) && $data['content'] !== null) { $object->setContent($data['content']); unset($data['content']); + } elseif (\array_key_exists('content', $data) && $data['content'] === null) { + $object->setContent(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/RecordContentAttributesForVirtualMachineNormalizer.php b/src/Normalizer/RecordContentAttributesForVirtualMachineNormalizer.php index 9fd4ad8c..d0ea06f4 100644 --- a/src/Normalizer/RecordContentAttributesForVirtualMachineNormalizer.php +++ b/src/Normalizer/RecordContentAttributesForVirtualMachineNormalizer.php @@ -49,9 +49,11 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('virtual_machine', $data)) { + if (\array_key_exists('virtual_machine', $data) && $data['virtual_machine'] !== null) { $object->setVirtualMachine($data['virtual_machine']); unset($data['virtual_machine']); + } elseif (\array_key_exists('virtual_machine', $data) && $data['virtual_machine'] === null) { + $object->setVirtualMachine(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRuleNormalizer.php b/src/Normalizer/SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRuleNormalizer.php index 4d3e2eba..8f80474d 100644 --- a/src/Normalizer/SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRuleNormalizer.php +++ b/src/Normalizer/SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRuleNormalizer.php @@ -54,7 +54,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('security_group', $data)) { - $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup', 'json', $context)); + $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroup', 'json', $context)); unset($data['security_group']); } if (\array_key_exists('direction', $data)) { @@ -69,9 +69,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setAction($data['action']); unset($data['action']); } - if (\array_key_exists('ports', $data)) { + if (\array_key_exists('ports', $data) && $data['ports'] !== null) { $object->setPorts($data['ports']); unset($data['ports']); + } elseif (\array_key_exists('ports', $data) && $data['ports'] === null) { + $object->setPorts(null); } if (\array_key_exists('targets', $data)) { $values = []; @@ -81,9 +83,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setTargets($values); unset($data['targets']); } - if (\array_key_exists('notes', $data)) { + if (\array_key_exists('notes', $data) && $data['notes'] !== null) { $object->setNotes($data['notes']); unset($data['notes']); + } elseif (\array_key_exists('notes', $data) && $data['notes'] === null) { + $object->setNotes(null); } foreach ($data as $key => $value_1) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRuleNormalizer.php b/src/Normalizer/SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRuleNormalizer.php index 9f34339d..6ba4b9cd 100644 --- a/src/Normalizer/SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRuleNormalizer.php +++ b/src/Normalizer/SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRuleNormalizer.php @@ -54,7 +54,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('security_group', $data)) { - $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup', 'json', $context)); + $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleSecurityGroup', 'json', $context)); unset($data['security_group']); } if (\array_key_exists('direction', $data)) { @@ -69,9 +69,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setAction($data['action']); unset($data['action']); } - if (\array_key_exists('ports', $data)) { + if (\array_key_exists('ports', $data) && $data['ports'] !== null) { $object->setPorts($data['ports']); unset($data['ports']); + } elseif (\array_key_exists('ports', $data) && $data['ports'] === null) { + $object->setPorts(null); } if (\array_key_exists('targets', $data)) { $values = []; @@ -81,9 +83,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setTargets($values); unset($data['targets']); } - if (\array_key_exists('notes', $data)) { + if (\array_key_exists('notes', $data) && $data['notes'] !== null) { $object->setNotes($data['notes']); unset($data['notes']); + } elseif (\array_key_exists('notes', $data) && $data['notes'] === null) { + $object->setNotes(null); } foreach ($data as $key => $value_1) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/SecurityGroupsSecurityGroupRulesGetResponse200PaginationNormalizer.php b/src/Normalizer/SecurityGroupsSecurityGroupRulesGetResponse200PaginationNormalizer.php index 2e81e756..891b4855 100644 --- a/src/Normalizer/SecurityGroupsSecurityGroupRulesGetResponse200PaginationNormalizer.php +++ b/src/Normalizer/SecurityGroupsSecurityGroupRulesGetResponse200PaginationNormalizer.php @@ -53,13 +53,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCurrentPage($data['current_page']); unset($data['current_page']); } - if (\array_key_exists('total_pages', $data)) { + if (\array_key_exists('total_pages', $data) && $data['total_pages'] !== null) { $object->setTotalPages($data['total_pages']); unset($data['total_pages']); + } elseif (\array_key_exists('total_pages', $data) && $data['total_pages'] === null) { + $object->setTotalPages(null); } - if (\array_key_exists('total', $data)) { + if (\array_key_exists('total', $data) && $data['total'] !== null) { $object->setTotal($data['total']); unset($data['total']); + } elseif (\array_key_exists('total', $data) && $data['total'] === null) { + $object->setTotal(null); } if (\array_key_exists('per_page', $data)) { $object->setPerPage($data['per_page']); diff --git a/src/Normalizer/SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRuleNormalizer.php b/src/Normalizer/SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRuleNormalizer.php index 6cd69c15..5a52f7e4 100644 --- a/src/Normalizer/SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRuleNormalizer.php +++ b/src/Normalizer/SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRuleNormalizer.php @@ -54,7 +54,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('security_group', $data)) { - $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostSecurityGroupRulesPartSecurityGroup', 'json', $context)); + $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostSecurityGroupRules200ResponseSecurityGroupRuleSecurityGroup', 'json', $context)); unset($data['security_group']); } if (\array_key_exists('direction', $data)) { @@ -69,9 +69,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setAction($data['action']); unset($data['action']); } - if (\array_key_exists('ports', $data)) { + if (\array_key_exists('ports', $data) && $data['ports'] !== null) { $object->setPorts($data['ports']); unset($data['ports']); + } elseif (\array_key_exists('ports', $data) && $data['ports'] === null) { + $object->setPorts(null); } if (\array_key_exists('targets', $data)) { $values = []; @@ -81,9 +83,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setTargets($values); unset($data['targets']); } - if (\array_key_exists('notes', $data)) { + if (\array_key_exists('notes', $data) && $data['notes'] !== null) { $object->setNotes($data['notes']); unset($data['notes']); + } elseif (\array_key_exists('notes', $data) && $data['notes'] === null) { + $object->setNotes(null); } foreach ($data as $key => $value_1) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/TaskNormalizer.php b/src/Normalizer/TaskNormalizer.php index bdbd9e80..4db6e1b4 100644 --- a/src/Normalizer/TaskNormalizer.php +++ b/src/Normalizer/TaskNormalizer.php @@ -65,13 +65,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCreatedAt($data['created_at']); unset($data['created_at']); } - if (\array_key_exists('started_at', $data)) { + if (\array_key_exists('started_at', $data) && $data['started_at'] !== null) { $object->setStartedAt($data['started_at']); unset($data['started_at']); + } elseif (\array_key_exists('started_at', $data) && $data['started_at'] === null) { + $object->setStartedAt(null); } - if (\array_key_exists('finished_at', $data)) { + if (\array_key_exists('finished_at', $data) && $data['finished_at'] !== null) { $object->setFinishedAt($data['finished_at']); unset($data['finished_at']); + } elseif (\array_key_exists('finished_at', $data) && $data['finished_at'] === null) { + $object->setFinishedAt(null); } if (\array_key_exists('progress', $data)) { $object->setProgress($data['progress']); diff --git a/src/Normalizer/TasksTaskGetResponse200TaskNormalizer.php b/src/Normalizer/TasksTaskGetResponse200TaskNormalizer.php index 29da2a51..5c07437e 100644 --- a/src/Normalizer/TasksTaskGetResponse200TaskNormalizer.php +++ b/src/Normalizer/TasksTaskGetResponse200TaskNormalizer.php @@ -65,13 +65,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCreatedAt($data['created_at']); unset($data['created_at']); } - if (\array_key_exists('started_at', $data)) { + if (\array_key_exists('started_at', $data) && $data['started_at'] !== null) { $object->setStartedAt($data['started_at']); unset($data['started_at']); + } elseif (\array_key_exists('started_at', $data) && $data['started_at'] === null) { + $object->setStartedAt(null); } - if (\array_key_exists('finished_at', $data)) { + if (\array_key_exists('finished_at', $data) && $data['finished_at'] !== null) { $object->setFinishedAt($data['finished_at']); unset($data['finished_at']); + } elseif (\array_key_exists('finished_at', $data) && $data['finished_at'] === null) { + $object->setFinishedAt(null); } if (\array_key_exists('progress', $data)) { $object->setProgress($data['progress']); diff --git a/src/Normalizer/TemplateSpecFieldNormalizer.php b/src/Normalizer/TemplateSpecFieldNormalizer.php index e9530873..40be6510 100644 --- a/src/Normalizer/TemplateSpecFieldNormalizer.php +++ b/src/Normalizer/TemplateSpecFieldNormalizer.php @@ -61,21 +61,27 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setLabel($data['label']); unset($data['label']); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && $data['description'] !== null) { $object->setDescription($data['description']); unset($data['description']); + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + $object->setDescription(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); unset($data['required']); } - if (\array_key_exists('placeholder', $data)) { + if (\array_key_exists('placeholder', $data) && $data['placeholder'] !== null) { $object->setPlaceholder($data['placeholder']); unset($data['placeholder']); + } elseif (\array_key_exists('placeholder', $data) && $data['placeholder'] === null) { + $object->setPlaceholder(null); } - if (\array_key_exists('prefill', $data)) { + if (\array_key_exists('prefill', $data) && $data['prefill'] !== null) { $object->setPrefill($data['prefill']); unset($data['prefill']); + } elseif (\array_key_exists('prefill', $data) && $data['prefill'] === null) { + $object->setPrefill(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/TemplateSpecFieldsItemNormalizer.php b/src/Normalizer/TemplateSpecFieldsItemNormalizer.php new file mode 100644 index 00000000..f3e4a4af --- /dev/null +++ b/src/Normalizer/TemplateSpecFieldsItemNormalizer.php @@ -0,0 +1,135 @@ +setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('type', $data)) { + $object->setType($data['type']); + unset($data['type']); + } + if (\array_key_exists('label', $data)) { + $object->setLabel($data['label']); + unset($data['label']); + } + if (\array_key_exists('description', $data) && $data['description'] !== null) { + $object->setDescription($data['description']); + unset($data['description']); + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + $object->setDescription(null); + } + if (\array_key_exists('required', $data)) { + $object->setRequired($data['required']); + unset($data['required']); + } + if (\array_key_exists('placeholder', $data) && $data['placeholder'] !== null) { + $object->setPlaceholder($data['placeholder']); + unset($data['placeholder']); + } elseif (\array_key_exists('placeholder', $data) && $data['placeholder'] === null) { + $object->setPlaceholder(null); + } + if (\array_key_exists('prefill', $data) && $data['prefill'] !== null) { + $object->setPrefill($data['prefill']); + unset($data['prefill']); + } elseif (\array_key_exists('prefill', $data) && $data['prefill'] === null) { + $object->setPrefill(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('type') && null !== $object->getType()) { + $data['type'] = $object->getType(); + } + if ($object->isInitialized('label') && null !== $object->getLabel()) { + $data['label'] = $object->getLabel(); + } + if ($object->isInitialized('description') && null !== $object->getDescription()) { + $data['description'] = $object->getDescription(); + } + if ($object->isInitialized('required') && null !== $object->getRequired()) { + $data['required'] = $object->getRequired(); + } + if ($object->isInitialized('placeholder') && null !== $object->getPlaceholder()) { + $data['placeholder'] = $object->getPlaceholder(); + } + if ($object->isInitialized('prefill') && null !== $object->getPrefill()) { + $data['prefill'] = $object->getPrefill(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\TemplateSpecFieldsItem' => false]; + } +} diff --git a/src/Normalizer/TemplateSpecNormalizer.php b/src/Normalizer/TemplateSpecNormalizer.php index d8c69049..606c9b41 100644 --- a/src/Normalizer/TemplateSpecNormalizer.php +++ b/src/Normalizer/TemplateSpecNormalizer.php @@ -52,7 +52,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('fields', $data)) { $values = []; foreach ($data['fields'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\TemplateSpecField', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\TemplateSpecFieldsItem', 'json', $context); } $object->setFields($values); unset($data['fields']); diff --git a/src/Normalizer/TrashObjectsTrashObjectDeleteResponse200TaskNormalizer.php b/src/Normalizer/TrashObjectsTrashObjectDeleteResponse200TaskNormalizer.php index fc0850fc..e2678c24 100644 --- a/src/Normalizer/TrashObjectsTrashObjectDeleteResponse200TaskNormalizer.php +++ b/src/Normalizer/TrashObjectsTrashObjectDeleteResponse200TaskNormalizer.php @@ -65,13 +65,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCreatedAt($data['created_at']); unset($data['created_at']); } - if (\array_key_exists('started_at', $data)) { + if (\array_key_exists('started_at', $data) && $data['started_at'] !== null) { $object->setStartedAt($data['started_at']); unset($data['started_at']); + } elseif (\array_key_exists('started_at', $data) && $data['started_at'] === null) { + $object->setStartedAt(null); } - if (\array_key_exists('finished_at', $data)) { + if (\array_key_exists('finished_at', $data) && $data['finished_at'] !== null) { $object->setFinishedAt($data['finished_at']); unset($data['finished_at']); + } elseif (\array_key_exists('finished_at', $data) && $data['finished_at'] === null) { + $object->setFinishedAt(null); } if (\array_key_exists('progress', $data)) { $object->setProgress($data['progress']); diff --git a/src/Normalizer/VirtualMachineAttachedIsoNormalizer.php b/src/Normalizer/VirtualMachineAttachedIsoNormalizer.php new file mode 100644 index 00000000..fa8d0df8 --- /dev/null +++ b/src/Normalizer/VirtualMachineAttachedIsoNormalizer.php @@ -0,0 +1,103 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('operating_system', $data) && $data['operating_system'] !== null) { + $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'Krystal\\Katapult\\KatapultAPI\\Model\\ISOOperatingSystem', 'json', $context)); + unset($data['operating_system']); + } elseif (\array_key_exists('operating_system', $data) && $data['operating_system'] === null) { + $object->setOperatingSystem(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('operatingSystem') && null !== $object->getOperatingSystem()) { + $data['operating_system'] = $this->normalizer->normalize($object->getOperatingSystem(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineAttachedIso' => false]; + } +} diff --git a/src/Normalizer/VirtualMachineDiskDiskNormalizer.php b/src/Normalizer/VirtualMachineDiskDiskNormalizer.php new file mode 100644 index 00000000..163f6f80 --- /dev/null +++ b/src/Normalizer/VirtualMachineDiskDiskNormalizer.php @@ -0,0 +1,156 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('size_in_gb', $data)) { + $object->setSizeInGb($data['size_in_gb']); + unset($data['size_in_gb']); + } + if (\array_key_exists('wwn', $data)) { + $object->setWwn($data['wwn']); + unset($data['wwn']); + } + if (\array_key_exists('state', $data)) { + $object->setState($data['state']); + unset($data['state']); + } + if (\array_key_exists('created_at', $data)) { + $object->setCreatedAt($data['created_at']); + unset($data['created_at']); + } + if (\array_key_exists('storage_speed', $data)) { + $object->setStorageSpeed($data['storage_speed']); + unset($data['storage_speed']); + } + if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskIoProfile', 'json', $context)); + unset($data['io_profile']); + } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { + $object->setIoProfile(null); + } + if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskVirtualMachineDisk', 'json', $context)); + unset($data['virtual_machine_disk']); + } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { + $object->setVirtualMachineDisk(null); + } + if (\array_key_exists('installation', $data) && $data['installation'] !== null) { + $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DiskInstallation', 'json', $context)); + unset($data['installation']); + } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { + $object->setInstallation(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('sizeInGb') && null !== $object->getSizeInGb()) { + $data['size_in_gb'] = $object->getSizeInGb(); + } + if ($object->isInitialized('wwn') && null !== $object->getWwn()) { + $data['wwn'] = $object->getWwn(); + } + if ($object->isInitialized('state') && null !== $object->getState()) { + $data['state'] = $object->getState(); + } + if ($object->isInitialized('createdAt') && null !== $object->getCreatedAt()) { + $data['created_at'] = $object->getCreatedAt(); + } + if ($object->isInitialized('storageSpeed') && null !== $object->getStorageSpeed()) { + $data['storage_speed'] = $object->getStorageSpeed(); + } + if ($object->isInitialized('ioProfile') && null !== $object->getIoProfile()) { + $data['io_profile'] = $this->normalizer->normalize($object->getIoProfile(), 'json', $context); + } + if ($object->isInitialized('virtualMachineDisk') && null !== $object->getVirtualMachineDisk()) { + $data['virtual_machine_disk'] = $this->normalizer->normalize($object->getVirtualMachineDisk(), 'json', $context); + } + if ($object->isInitialized('installation') && null !== $object->getInstallation()) { + $data['installation'] = $this->normalizer->normalize($object->getInstallation(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineDiskDisk' => false]; + } +} diff --git a/src/Normalizer/VirtualMachineDiskNormalizer.php b/src/Normalizer/VirtualMachineDiskNormalizer.php index b470c65d..349a361e 100644 --- a/src/Normalizer/VirtualMachineDiskNormalizer.php +++ b/src/Normalizer/VirtualMachineDiskNormalizer.php @@ -50,11 +50,11 @@ public function denormalize($data, $class, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineDiskVirtualMachine', 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'Krystal\\Katapult\\KatapultAPI\\Model\\Disk', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineDiskDisk', 'json', $context)); unset($data['disk']); } if (\array_key_exists('attach_on_boot', $data)) { diff --git a/src/Normalizer/VirtualMachineDiskVirtualMachineNormalizer.php b/src/Normalizer/VirtualMachineDiskVirtualMachineNormalizer.php new file mode 100644 index 00000000..b6121d2f --- /dev/null +++ b/src/Normalizer/VirtualMachineDiskVirtualMachineNormalizer.php @@ -0,0 +1,268 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('hostname', $data)) { + $object->setHostname($data['hostname']); + unset($data['hostname']); + } + if (\array_key_exists('fqdn', $data)) { + $object->setFqdn($data['fqdn']); + unset($data['fqdn']); + } + if (\array_key_exists('description', $data) && $data['description'] !== null) { + $object->setDescription($data['description']); + unset($data['description']); + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + $object->setDescription(null); + } + if (\array_key_exists('created_at', $data)) { + $object->setCreatedAt($data['created_at']); + unset($data['created_at']); + } + if (\array_key_exists('initial_root_password', $data) && $data['initial_root_password'] !== null) { + $object->setInitialRootPassword($data['initial_root_password']); + unset($data['initial_root_password']); + } elseif (\array_key_exists('initial_root_password', $data) && $data['initial_root_password'] === null) { + $object->setInitialRootPassword(null); + } + if (\array_key_exists('state', $data)) { + $object->setState($data['state']); + unset($data['state']); + } + if (\array_key_exists('zone', $data)) { + $object->setZone($this->denormalizer->denormalize($data['zone'], 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineZone', 'json', $context)); + unset($data['zone']); + } + if (\array_key_exists('organization', $data)) { + $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineOrganization', 'json', $context)); + unset($data['organization']); + } + if (\array_key_exists('group', $data) && $data['group'] !== null) { + $object->setGroup($this->denormalizer->denormalize($data['group'], 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroup', 'json', $context)); + unset($data['group']); + } elseif (\array_key_exists('group', $data) && $data['group'] === null) { + $object->setGroup(null); + } + if (\array_key_exists('package', $data) && $data['package'] !== null) { + $object->setPackage($this->denormalizer->denormalize($data['package'], 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinePackage', 'json', $context)); + unset($data['package']); + } elseif (\array_key_exists('package', $data) && $data['package'] === null) { + $object->setPackage(null); + } + if (\array_key_exists('attached_iso', $data) && $data['attached_iso'] !== null) { + $object->setAttachedIso($this->denormalizer->denormalize($data['attached_iso'], 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineAttachedIso', 'json', $context)); + unset($data['attached_iso']); + } elseif (\array_key_exists('attached_iso', $data) && $data['attached_iso'] === null) { + $object->setAttachedIso(null); + } + if (\array_key_exists('memory_in_gb', $data) && $data['memory_in_gb'] !== null) { + $object->setMemoryInGb($data['memory_in_gb']); + unset($data['memory_in_gb']); + } elseif (\array_key_exists('memory_in_gb', $data) && $data['memory_in_gb'] === null) { + $object->setMemoryInGb(null); + } + if (\array_key_exists('cpu_cores', $data) && $data['cpu_cores'] !== null) { + $object->setCpuCores($data['cpu_cores']); + unset($data['cpu_cores']); + } elseif (\array_key_exists('cpu_cores', $data) && $data['cpu_cores'] === null) { + $object->setCpuCores(null); + } + if (\array_key_exists('gpu_type', $data) && $data['gpu_type'] !== null) { + $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGpuType', 'json', $context)); + unset($data['gpu_type']); + } elseif (\array_key_exists('gpu_type', $data) && $data['gpu_type'] === null) { + $object->setGpuType(null); + } + if (\array_key_exists('gpus', $data)) { + $values = []; + foreach ($data['gpus'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGpusItem', 'json', $context); + } + $object->setGpus($values); + unset($data['gpus']); + } + if (\array_key_exists('tags', $data)) { + $values_1 = []; + foreach ($data['tags'] as $value_1) { + $values_1[] = $this->denormalizer->denormalize($value_1, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineTagsItem', 'json', $context); + } + $object->setTags($values_1); + unset($data['tags']); + } + if (\array_key_exists('tag_names', $data)) { + $values_2 = []; + foreach ($data['tag_names'] as $value_2) { + $values_2[] = $value_2; + } + $object->setTagNames($values_2); + unset($data['tag_names']); + } + if (\array_key_exists('ip_addresses', $data)) { + $values_3 = []; + foreach ($data['ip_addresses'] as $value_3) { + $values_3[] = $this->denormalizer->denormalize($value_3, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineIpAddressesItem', 'json', $context); + } + $object->setIpAddresses($values_3); + unset($data['ip_addresses']); + } + foreach ($data as $key => $value_4) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_4; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('hostname') && null !== $object->getHostname()) { + $data['hostname'] = $object->getHostname(); + } + if ($object->isInitialized('fqdn') && null !== $object->getFqdn()) { + $data['fqdn'] = $object->getFqdn(); + } + if ($object->isInitialized('description') && null !== $object->getDescription()) { + $data['description'] = $object->getDescription(); + } + if ($object->isInitialized('createdAt') && null !== $object->getCreatedAt()) { + $data['created_at'] = $object->getCreatedAt(); + } + if ($object->isInitialized('initialRootPassword') && null !== $object->getInitialRootPassword()) { + $data['initial_root_password'] = $object->getInitialRootPassword(); + } + if ($object->isInitialized('state') && null !== $object->getState()) { + $data['state'] = $object->getState(); + } + if ($object->isInitialized('zone') && null !== $object->getZone()) { + $data['zone'] = $this->normalizer->normalize($object->getZone(), 'json', $context); + } + if ($object->isInitialized('organization') && null !== $object->getOrganization()) { + $data['organization'] = $this->normalizer->normalize($object->getOrganization(), 'json', $context); + } + if ($object->isInitialized('group') && null !== $object->getGroup()) { + $data['group'] = $this->normalizer->normalize($object->getGroup(), 'json', $context); + } + if ($object->isInitialized('package') && null !== $object->getPackage()) { + $data['package'] = $this->normalizer->normalize($object->getPackage(), 'json', $context); + } + if ($object->isInitialized('attachedIso') && null !== $object->getAttachedIso()) { + $data['attached_iso'] = $this->normalizer->normalize($object->getAttachedIso(), 'json', $context); + } + if ($object->isInitialized('memoryInGb') && null !== $object->getMemoryInGb()) { + $data['memory_in_gb'] = $object->getMemoryInGb(); + } + if ($object->isInitialized('cpuCores') && null !== $object->getCpuCores()) { + $data['cpu_cores'] = $object->getCpuCores(); + } + if ($object->isInitialized('gpuType') && null !== $object->getGpuType()) { + $data['gpu_type'] = $this->normalizer->normalize($object->getGpuType(), 'json', $context); + } + if ($object->isInitialized('gpus') && null !== $object->getGpus()) { + $values = []; + foreach ($object->getGpus() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['gpus'] = $values; + } + if ($object->isInitialized('tags') && null !== $object->getTags()) { + $values_1 = []; + foreach ($object->getTags() as $value_1) { + $values_1[] = $this->normalizer->normalize($value_1, 'json', $context); + } + $data['tags'] = $values_1; + } + if ($object->isInitialized('tagNames') && null !== $object->getTagNames()) { + $values_2 = []; + foreach ($object->getTagNames() as $value_2) { + $values_2[] = $value_2; + } + $data['tag_names'] = $values_2; + } + if ($object->isInitialized('ipAddresses') && null !== $object->getIpAddresses()) { + $values_3 = []; + foreach ($object->getIpAddresses() as $value_3) { + $values_3[] = $this->normalizer->normalize($value_3, 'json', $context); + } + $data['ip_addresses'] = $values_3; + } + foreach ($object as $key => $value_4) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_4; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineDiskVirtualMachine' => false]; + } +} diff --git a/src/Normalizer/VirtualMachineGPUNormalizer.php b/src/Normalizer/VirtualMachineGPUNormalizer.php index 01eddc28..7599366c 100644 --- a/src/Normalizer/VirtualMachineGPUNormalizer.php +++ b/src/Normalizer/VirtualMachineGPUNormalizer.php @@ -49,9 +49,11 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && $data['id'] !== null) { $object->setId($data['id']); unset($data['id']); + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + $object->setId(null); } if (\array_key_exists('status', $data)) { $object->setStatus($data['status']); @@ -66,7 +68,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['available']); } if (\array_key_exists('type', $data)) { - $object->setType($this->denormalizer->denormalize($data['type'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GPUType', 'json', $context)); + $object->setType($this->denormalizer->denormalize($data['type'], 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGPUType', 'json', $context)); unset($data['type']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/VirtualMachineGPUTypeNormalizer.php b/src/Normalizer/VirtualMachineGPUTypeNormalizer.php new file mode 100644 index 00000000..4905ce12 --- /dev/null +++ b/src/Normalizer/VirtualMachineGPUTypeNormalizer.php @@ -0,0 +1,137 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('manufacturer', $data)) { + $object->setManufacturer($data['manufacturer']); + unset($data['manufacturer']); + } + if (\array_key_exists('memory_in_gb', $data)) { + $object->setMemoryInGb($data['memory_in_gb']); + unset($data['memory_in_gb']); + } + if (\array_key_exists('memory_type', $data)) { + $object->setMemoryType($data['memory_type']); + unset($data['memory_type']); + } + if (\array_key_exists('permalink', $data)) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } + if (\array_key_exists('data_centers', $data)) { + $values = []; + foreach ($data['data_centers'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\GPUTypeDataCentersItem', 'json', $context); + } + $object->setDataCenters($values); + unset($data['data_centers']); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('manufacturer') && null !== $object->getManufacturer()) { + $data['manufacturer'] = $object->getManufacturer(); + } + if ($object->isInitialized('memoryInGb') && null !== $object->getMemoryInGb()) { + $data['memory_in_gb'] = $object->getMemoryInGb(); + } + if ($object->isInitialized('memoryType') && null !== $object->getMemoryType()) { + $data['memory_type'] = $object->getMemoryType(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + if ($object->isInitialized('dataCenters') && null !== $object->getDataCenters()) { + $values = []; + foreach ($object->getDataCenters() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['data_centers'] = $values; + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGPUType' => false]; + } +} diff --git a/src/Normalizer/VirtualMachineGpuTypeNormalizer.php b/src/Normalizer/VirtualMachineGpuTypeNormalizer.php new file mode 100644 index 00000000..fd887177 --- /dev/null +++ b/src/Normalizer/VirtualMachineGpuTypeNormalizer.php @@ -0,0 +1,137 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('manufacturer', $data)) { + $object->setManufacturer($data['manufacturer']); + unset($data['manufacturer']); + } + if (\array_key_exists('memory_in_gb', $data)) { + $object->setMemoryInGb($data['memory_in_gb']); + unset($data['memory_in_gb']); + } + if (\array_key_exists('memory_type', $data)) { + $object->setMemoryType($data['memory_type']); + unset($data['memory_type']); + } + if (\array_key_exists('permalink', $data)) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } + if (\array_key_exists('data_centers', $data)) { + $values = []; + foreach ($data['data_centers'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\GPUTypeDataCentersItem', 'json', $context); + } + $object->setDataCenters($values); + unset($data['data_centers']); + } + foreach ($data as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value_1; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('manufacturer') && null !== $object->getManufacturer()) { + $data['manufacturer'] = $object->getManufacturer(); + } + if ($object->isInitialized('memoryInGb') && null !== $object->getMemoryInGb()) { + $data['memory_in_gb'] = $object->getMemoryInGb(); + } + if ($object->isInitialized('memoryType') && null !== $object->getMemoryType()) { + $data['memory_type'] = $object->getMemoryType(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + if ($object->isInitialized('dataCenters') && null !== $object->getDataCenters()) { + $values = []; + foreach ($object->getDataCenters() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['data_centers'] = $values; + } + foreach ($object as $key => $value_1) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value_1; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGpuType' => false]; + } +} diff --git a/src/Normalizer/VirtualMachineGpusItemNormalizer.php b/src/Normalizer/VirtualMachineGpusItemNormalizer.php new file mode 100644 index 00000000..6920f416 --- /dev/null +++ b/src/Normalizer/VirtualMachineGpusItemNormalizer.php @@ -0,0 +1,117 @@ +setId($data['id']); + unset($data['id']); + } elseif (\array_key_exists('id', $data) && $data['id'] === null) { + $object->setId(null); + } + if (\array_key_exists('status', $data)) { + $object->setStatus($data['status']); + unset($data['status']); + } + if (\array_key_exists('pending_action', $data)) { + $object->setPendingAction($data['pending_action']); + unset($data['pending_action']); + } + if (\array_key_exists('available', $data)) { + $object->setAvailable($data['available']); + unset($data['available']); + } + if (\array_key_exists('type', $data)) { + $object->setType($this->denormalizer->denormalize($data['type'], 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGPUType', 'json', $context)); + unset($data['type']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('status') && null !== $object->getStatus()) { + $data['status'] = $object->getStatus(); + } + if ($object->isInitialized('pendingAction') && null !== $object->getPendingAction()) { + $data['pending_action'] = $object->getPendingAction(); + } + if ($object->isInitialized('available') && null !== $object->getAvailable()) { + $data['available'] = $object->getAvailable(); + } + if ($object->isInitialized('type') && null !== $object->getType()) { + $data['type'] = $this->normalizer->normalize($object->getType(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGpusItem' => false]; + } +} diff --git a/src/Normalizer/VirtualMachineIpAddressesItemNormalizer.php b/src/Normalizer/VirtualMachineIpAddressesItemNormalizer.php new file mode 100644 index 00000000..899a79d2 --- /dev/null +++ b/src/Normalizer/VirtualMachineIpAddressesItemNormalizer.php @@ -0,0 +1,149 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('address', $data)) { + $object->setAddress($data['address']); + unset($data['address']); + } + if (\array_key_exists('reverse_dns', $data)) { + $object->setReverseDns($data['reverse_dns']); + unset($data['reverse_dns']); + } + if (\array_key_exists('vip', $data)) { + $object->setVip($data['vip']); + unset($data['vip']); + } + if (\array_key_exists('label', $data) && $data['label'] !== null) { + $object->setLabel($data['label']); + unset($data['label']); + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { + $object->setLabel(null); + } + if (\array_key_exists('address_with_mask', $data)) { + $object->setAddressWithMask($data['address_with_mask']); + unset($data['address_with_mask']); + } + if (\array_key_exists('network', $data)) { + $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\IPAddressNetwork', 'json', $context)); + unset($data['network']); + } + if (\array_key_exists('allocation_id', $data) && $data['allocation_id'] !== null) { + $object->setAllocationId($data['allocation_id']); + unset($data['allocation_id']); + } elseif (\array_key_exists('allocation_id', $data) && $data['allocation_id'] === null) { + $object->setAllocationId(null); + } + if (\array_key_exists('allocation_type', $data) && $data['allocation_type'] !== null) { + $object->setAllocationType($data['allocation_type']); + unset($data['allocation_type']); + } elseif (\array_key_exists('allocation_type', $data) && $data['allocation_type'] === null) { + $object->setAllocationType(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('address') && null !== $object->getAddress()) { + $data['address'] = $object->getAddress(); + } + if ($object->isInitialized('reverseDns') && null !== $object->getReverseDns()) { + $data['reverse_dns'] = $object->getReverseDns(); + } + if ($object->isInitialized('vip') && null !== $object->getVip()) { + $data['vip'] = $object->getVip(); + } + if ($object->isInitialized('label') && null !== $object->getLabel()) { + $data['label'] = $object->getLabel(); + } + if ($object->isInitialized('addressWithMask') && null !== $object->getAddressWithMask()) { + $data['address_with_mask'] = $object->getAddressWithMask(); + } + if ($object->isInitialized('network') && null !== $object->getNetwork()) { + $data['network'] = $this->normalizer->normalize($object->getNetwork(), 'json', $context); + } + if ($object->isInitialized('allocationId') && null !== $object->getAllocationId()) { + $data['allocation_id'] = $object->getAllocationId(); + } + if ($object->isInitialized('allocationType') && null !== $object->getAllocationType()) { + $data['allocation_type'] = $object->getAllocationType(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineIpAddressesItem' => false]; + } +} diff --git a/src/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterfaceNormalizer.php b/src/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterfaceNormalizer.php index e7cc51e9..af099396 100644 --- a/src/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterfaceNormalizer.php +++ b/src/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterfaceNormalizer.php @@ -54,7 +54,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceVirtualMachine', 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('name', $data)) { @@ -62,7 +62,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceNetwork', 'json', $context)); unset($data['network']); } if (\array_key_exists('mac_address', $data)) { @@ -76,7 +76,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('ip_addresses', $data)) { $values = []; foreach ($data['ip_addresses'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceIpAddressesItem', 'json', $context); } $object->setIpAddresses($values); unset($data['ip_addresses']); diff --git a/src/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddressNormalizer.php b/src/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddressNormalizer.php index 8de8ced3..525a1130 100644 --- a/src/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddressNormalizer.php +++ b/src/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddressNormalizer.php @@ -65,25 +65,31 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setVip($data['vip']); unset($data['vip']); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); unset($data['label']); + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { + $object->setLabel(null); } if (\array_key_exists('address_with_mask', $data)) { $object->setAddressWithMask($data['address_with_mask']); unset($data['address_with_mask']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\Network', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\IPAddressNetwork', 'json', $context)); unset($data['network']); } - if (\array_key_exists('allocation_id', $data)) { + if (\array_key_exists('allocation_id', $data) && $data['allocation_id'] !== null) { $object->setAllocationId($data['allocation_id']); unset($data['allocation_id']); + } elseif (\array_key_exists('allocation_id', $data) && $data['allocation_id'] === null) { + $object->setAllocationId(null); } - if (\array_key_exists('allocation_type', $data)) { + if (\array_key_exists('allocation_type', $data) && $data['allocation_type'] !== null) { $object->setAllocationType($data['allocation_type']); unset($data['allocation_type']); + } elseif (\array_key_exists('allocation_type', $data) && $data['allocation_type'] === null) { + $object->setAllocationType(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterfaceNormalizer.php b/src/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterfaceNormalizer.php index 417c86f0..1d6353a1 100644 --- a/src/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterfaceNormalizer.php +++ b/src/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterfaceNormalizer.php @@ -54,7 +54,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNIPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceVirtualMachine', 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('name', $data)) { @@ -62,7 +62,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNIPartNetwork', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceNetwork', 'json', $context)); unset($data['network']); } if (\array_key_exists('mac_address', $data)) { @@ -76,13 +76,13 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('ip_addresses', $data)) { $values = []; foreach ($data['ip_addresses'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNIPartIPAddresses', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceIpAddressesItem', 'json', $context); } $object->setIpAddresses($values); unset($data['ip_addresses']); } if (\array_key_exists('speed_profile', $data)) { - $object->setSpeedProfile($this->denormalizer->denormalize($data['speed_profile'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNIPartSpeedProfile', 'json', $context)); + $object->setSpeedProfile($this->denormalizer->denormalize($data['speed_profile'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceSpeedProfile', 'json', $context)); unset($data['speed_profile']); } foreach ($data as $key => $value_1) { diff --git a/src/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200TaskNormalizer.php b/src/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200TaskNormalizer.php index 0b792024..9448d1cf 100644 --- a/src/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200TaskNormalizer.php +++ b/src/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200TaskNormalizer.php @@ -65,13 +65,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCreatedAt($data['created_at']); unset($data['created_at']); } - if (\array_key_exists('started_at', $data)) { + if (\array_key_exists('started_at', $data) && $data['started_at'] !== null) { $object->setStartedAt($data['started_at']); unset($data['started_at']); + } elseif (\array_key_exists('started_at', $data) && $data['started_at'] === null) { + $object->setStartedAt(null); } - if (\array_key_exists('finished_at', $data)) { + if (\array_key_exists('finished_at', $data) && $data['finished_at'] !== null) { $object->setFinishedAt($data['finished_at']); unset($data['finished_at']); + } elseif (\array_key_exists('finished_at', $data) && $data['finished_at'] === null) { + $object->setFinishedAt(null); } if (\array_key_exists('progress', $data)) { $object->setProgress($data['progress']); diff --git a/src/Normalizer/VirtualMachineNormalizer.php b/src/Normalizer/VirtualMachineNormalizer.php index c1dc5802..60fadbc2 100644 --- a/src/Normalizer/VirtualMachineNormalizer.php +++ b/src/Normalizer/VirtualMachineNormalizer.php @@ -65,58 +65,74 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setFqdn($data['fqdn']); unset($data['fqdn']); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && $data['description'] !== null) { $object->setDescription($data['description']); unset($data['description']); + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + $object->setDescription(null); } if (\array_key_exists('created_at', $data)) { $object->setCreatedAt($data['created_at']); unset($data['created_at']); } - if (\array_key_exists('initial_root_password', $data)) { + if (\array_key_exists('initial_root_password', $data) && $data['initial_root_password'] !== null) { $object->setInitialRootPassword($data['initial_root_password']); unset($data['initial_root_password']); + } elseif (\array_key_exists('initial_root_password', $data) && $data['initial_root_password'] === null) { + $object->setInitialRootPassword(null); } if (\array_key_exists('state', $data)) { $object->setState($data['state']); unset($data['state']); } if (\array_key_exists('zone', $data)) { - $object->setZone($this->denormalizer->denormalize($data['zone'], 'Krystal\\Katapult\\KatapultAPI\\Model\\Zone', 'json', $context)); + $object->setZone($this->denormalizer->denormalize($data['zone'], 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineZone', 'json', $context)); unset($data['zone']); } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'Krystal\\Katapult\\KatapultAPI\\Model\\Organization', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineOrganization', 'json', $context)); unset($data['organization']); } - if (\array_key_exists('group', $data)) { + if (\array_key_exists('group', $data) && $data['group'] !== null) { $object->setGroup($this->denormalizer->denormalize($data['group'], 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGroup', 'json', $context)); unset($data['group']); + } elseif (\array_key_exists('group', $data) && $data['group'] === null) { + $object->setGroup(null); } - if (\array_key_exists('package', $data)) { + if (\array_key_exists('package', $data) && $data['package'] !== null) { $object->setPackage($this->denormalizer->denormalize($data['package'], 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinePackage', 'json', $context)); unset($data['package']); + } elseif (\array_key_exists('package', $data) && $data['package'] === null) { + $object->setPackage(null); } - if (\array_key_exists('attached_iso', $data)) { - $object->setAttachedIso($this->denormalizer->denormalize($data['attached_iso'], 'Krystal\\Katapult\\KatapultAPI\\Model\\ISO', 'json', $context)); + if (\array_key_exists('attached_iso', $data) && $data['attached_iso'] !== null) { + $object->setAttachedIso($this->denormalizer->denormalize($data['attached_iso'], 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineAttachedIso', 'json', $context)); unset($data['attached_iso']); + } elseif (\array_key_exists('attached_iso', $data) && $data['attached_iso'] === null) { + $object->setAttachedIso(null); } - if (\array_key_exists('memory_in_gb', $data)) { + if (\array_key_exists('memory_in_gb', $data) && $data['memory_in_gb'] !== null) { $object->setMemoryInGb($data['memory_in_gb']); unset($data['memory_in_gb']); + } elseif (\array_key_exists('memory_in_gb', $data) && $data['memory_in_gb'] === null) { + $object->setMemoryInGb(null); } - if (\array_key_exists('cpu_cores', $data)) { + if (\array_key_exists('cpu_cores', $data) && $data['cpu_cores'] !== null) { $object->setCpuCores($data['cpu_cores']); unset($data['cpu_cores']); + } elseif (\array_key_exists('cpu_cores', $data) && $data['cpu_cores'] === null) { + $object->setCpuCores(null); } - if (\array_key_exists('gpu_type', $data)) { - $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GPUType', 'json', $context)); + if (\array_key_exists('gpu_type', $data) && $data['gpu_type'] !== null) { + $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGpuType', 'json', $context)); unset($data['gpu_type']); + } elseif (\array_key_exists('gpu_type', $data) && $data['gpu_type'] === null) { + $object->setGpuType(null); } if (\array_key_exists('gpus', $data)) { $values = []; foreach ($data['gpus'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGPU', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineGpusItem', 'json', $context); } $object->setGpus($values); unset($data['gpus']); @@ -124,7 +140,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('tags', $data)) { $values_1 = []; foreach ($data['tags'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'Krystal\\Katapult\\KatapultAPI\\Model\\Tag', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineTagsItem', 'json', $context); } $object->setTags($values_1); unset($data['tags']); @@ -140,7 +156,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('ip_addresses', $data)) { $values_3 = []; foreach ($data['ip_addresses'] as $value_3) { - $values_3[] = $this->denormalizer->denormalize($value_3, 'Krystal\\Katapult\\KatapultAPI\\Model\\IPAddress', 'json', $context); + $values_3[] = $this->denormalizer->denormalize($value_3, 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineIpAddressesItem', 'json', $context); } $object->setIpAddresses($values_3); unset($data['ip_addresses']); diff --git a/src/Normalizer/VirtualMachineOrganizationNormalizer.php b/src/Normalizer/VirtualMachineOrganizationNormalizer.php new file mode 100644 index 00000000..a0cf24d7 --- /dev/null +++ b/src/Normalizer/VirtualMachineOrganizationNormalizer.php @@ -0,0 +1,226 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('sub_domain', $data)) { + $object->setSubDomain($data['sub_domain']); + unset($data['sub_domain']); + } + if (\array_key_exists('infrastructure_domain', $data)) { + $object->setInfrastructureDomain($data['infrastructure_domain']); + unset($data['infrastructure_domain']); + } + if (\array_key_exists('created_at', $data)) { + $object->setCreatedAt($data['created_at']); + unset($data['created_at']); + } + if (\array_key_exists('suspended', $data)) { + $object->setSuspended($data['suspended']); + unset($data['suspended']); + } + if (\array_key_exists('managed', $data)) { + $object->setManaged($data['managed']); + unset($data['managed']); + } + if (\array_key_exists('billing_name', $data) && $data['billing_name'] !== null) { + $object->setBillingName($data['billing_name']); + unset($data['billing_name']); + } elseif (\array_key_exists('billing_name', $data) && $data['billing_name'] === null) { + $object->setBillingName(null); + } + if (\array_key_exists('address1', $data) && $data['address1'] !== null) { + $object->setAddress1($data['address1']); + unset($data['address1']); + } elseif (\array_key_exists('address1', $data) && $data['address1'] === null) { + $object->setAddress1(null); + } + if (\array_key_exists('address2', $data) && $data['address2'] !== null) { + $object->setAddress2($data['address2']); + unset($data['address2']); + } elseif (\array_key_exists('address2', $data) && $data['address2'] === null) { + $object->setAddress2(null); + } + if (\array_key_exists('address3', $data) && $data['address3'] !== null) { + $object->setAddress3($data['address3']); + unset($data['address3']); + } elseif (\array_key_exists('address3', $data) && $data['address3'] === null) { + $object->setAddress3(null); + } + if (\array_key_exists('address4', $data) && $data['address4'] !== null) { + $object->setAddress4($data['address4']); + unset($data['address4']); + } elseif (\array_key_exists('address4', $data) && $data['address4'] === null) { + $object->setAddress4(null); + } + if (\array_key_exists('postcode', $data) && $data['postcode'] !== null) { + $object->setPostcode($data['postcode']); + unset($data['postcode']); + } elseif (\array_key_exists('postcode', $data) && $data['postcode'] === null) { + $object->setPostcode(null); + } + if (\array_key_exists('vat_number', $data) && $data['vat_number'] !== null) { + $object->setVatNumber($data['vat_number']); + unset($data['vat_number']); + } elseif (\array_key_exists('vat_number', $data) && $data['vat_number'] === null) { + $object->setVatNumber(null); + } + if (\array_key_exists('phone_number', $data) && $data['phone_number'] !== null) { + $object->setPhoneNumber($data['phone_number']); + unset($data['phone_number']); + } elseif (\array_key_exists('phone_number', $data) && $data['phone_number'] === null) { + $object->setPhoneNumber(null); + } + if (\array_key_exists('currency', $data)) { + $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationCurrency', 'json', $context)); + unset($data['currency']); + } + if (\array_key_exists('country', $data) && $data['country'] !== null) { + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationCountry', 'json', $context)); + unset($data['country']); + } elseif (\array_key_exists('country', $data) && $data['country'] === null) { + $object->setCountry(null); + } + if (\array_key_exists('country_state', $data) && $data['country_state'] !== null) { + $object->setCountryState($this->denormalizer->denormalize($data['country_state'], 'Krystal\\Katapult\\KatapultAPI\\Model\\OrganizationCountryState', 'json', $context)); + unset($data['country_state']); + } elseif (\array_key_exists('country_state', $data) && $data['country_state'] === null) { + $object->setCountryState(null); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('subDomain') && null !== $object->getSubDomain()) { + $data['sub_domain'] = $object->getSubDomain(); + } + if ($object->isInitialized('infrastructureDomain') && null !== $object->getInfrastructureDomain()) { + $data['infrastructure_domain'] = $object->getInfrastructureDomain(); + } + if ($object->isInitialized('createdAt') && null !== $object->getCreatedAt()) { + $data['created_at'] = $object->getCreatedAt(); + } + if ($object->isInitialized('suspended') && null !== $object->getSuspended()) { + $data['suspended'] = $object->getSuspended(); + } + if ($object->isInitialized('managed') && null !== $object->getManaged()) { + $data['managed'] = $object->getManaged(); + } + if ($object->isInitialized('billingName') && null !== $object->getBillingName()) { + $data['billing_name'] = $object->getBillingName(); + } + if ($object->isInitialized('address1') && null !== $object->getAddress1()) { + $data['address1'] = $object->getAddress1(); + } + if ($object->isInitialized('address2') && null !== $object->getAddress2()) { + $data['address2'] = $object->getAddress2(); + } + if ($object->isInitialized('address3') && null !== $object->getAddress3()) { + $data['address3'] = $object->getAddress3(); + } + if ($object->isInitialized('address4') && null !== $object->getAddress4()) { + $data['address4'] = $object->getAddress4(); + } + if ($object->isInitialized('postcode') && null !== $object->getPostcode()) { + $data['postcode'] = $object->getPostcode(); + } + if ($object->isInitialized('vatNumber') && null !== $object->getVatNumber()) { + $data['vat_number'] = $object->getVatNumber(); + } + if ($object->isInitialized('phoneNumber') && null !== $object->getPhoneNumber()) { + $data['phone_number'] = $object->getPhoneNumber(); + } + if ($object->isInitialized('currency') && null !== $object->getCurrency()) { + $data['currency'] = $this->normalizer->normalize($object->getCurrency(), 'json', $context); + } + if ($object->isInitialized('country') && null !== $object->getCountry()) { + $data['country'] = $this->normalizer->normalize($object->getCountry(), 'json', $context); + } + if ($object->isInitialized('countryState') && null !== $object->getCountryState()) { + $data['country_state'] = $this->normalizer->normalize($object->getCountryState(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineOrganization' => false]; + } +} diff --git a/src/Normalizer/VirtualMachinePackageIconNormalizer.php b/src/Normalizer/VirtualMachinePackageIconNormalizer.php new file mode 100644 index 00000000..16006a7a --- /dev/null +++ b/src/Normalizer/VirtualMachinePackageIconNormalizer.php @@ -0,0 +1,122 @@ +setUrl($data['url']); + unset($data['url']); + } + if (\array_key_exists('file_name', $data)) { + $object->setFileName($data['file_name']); + unset($data['file_name']); + } + if (\array_key_exists('file_type', $data)) { + $object->setFileType($data['file_type']); + unset($data['file_type']); + } + if (\array_key_exists('file_size', $data)) { + $object->setFileSize($data['file_size']); + unset($data['file_size']); + } + if (\array_key_exists('digest', $data)) { + $object->setDigest($data['digest']); + unset($data['digest']); + } + if (\array_key_exists('token', $data)) { + $object->setToken($data['token']); + unset($data['token']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('url') && null !== $object->getUrl()) { + $data['url'] = $object->getUrl(); + } + if ($object->isInitialized('fileName') && null !== $object->getFileName()) { + $data['file_name'] = $object->getFileName(); + } + if ($object->isInitialized('fileType') && null !== $object->getFileType()) { + $data['file_type'] = $object->getFileType(); + } + if ($object->isInitialized('fileSize') && null !== $object->getFileSize()) { + $data['file_size'] = $object->getFileSize(); + } + if ($object->isInitialized('digest') && null !== $object->getDigest()) { + $data['digest'] = $object->getDigest(); + } + if ($object->isInitialized('token') && null !== $object->getToken()) { + $data['token'] = $object->getToken(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinePackageIcon' => false]; + } +} diff --git a/src/Normalizer/VirtualMachinePackageNormalizer.php b/src/Normalizer/VirtualMachinePackageNormalizer.php index 00d27675..28666aed 100644 --- a/src/Normalizer/VirtualMachinePackageNormalizer.php +++ b/src/Normalizer/VirtualMachinePackageNormalizer.php @@ -77,17 +77,21 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setStorageInGb($data['storage_in_gb']); unset($data['storage_in_gb']); } - if (\array_key_exists('monthly_bandwidth_allowance_in_gb', $data)) { + if (\array_key_exists('monthly_bandwidth_allowance_in_gb', $data) && $data['monthly_bandwidth_allowance_in_gb'] !== null) { $object->setMonthlyBandwidthAllowanceInGb($data['monthly_bandwidth_allowance_in_gb']); unset($data['monthly_bandwidth_allowance_in_gb']); + } elseif (\array_key_exists('monthly_bandwidth_allowance_in_gb', $data) && $data['monthly_bandwidth_allowance_in_gb'] === null) { + $object->setMonthlyBandwidthAllowanceInGb(null); } if (\array_key_exists('privacy', $data)) { $object->setPrivacy($data['privacy']); unset($data['privacy']); } - if (\array_key_exists('icon', $data)) { - $object->setIcon($this->denormalizer->denormalize($data['icon'], 'Krystal\\Katapult\\KatapultAPI\\Model\\Attachment', 'json', $context)); + if (\array_key_exists('icon', $data) && $data['icon'] !== null) { + $object->setIcon($this->denormalizer->denormalize($data['icon'], 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinePackageIcon', 'json', $context)); unset($data['icon']); + } elseif (\array_key_exists('icon', $data) && $data['icon'] === null) { + $object->setIcon(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/VirtualMachinePackagesGetResponse200PaginationNormalizer.php b/src/Normalizer/VirtualMachinePackagesGetResponse200PaginationNormalizer.php index a1f31f12..694734f7 100644 --- a/src/Normalizer/VirtualMachinePackagesGetResponse200PaginationNormalizer.php +++ b/src/Normalizer/VirtualMachinePackagesGetResponse200PaginationNormalizer.php @@ -53,13 +53,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCurrentPage($data['current_page']); unset($data['current_page']); } - if (\array_key_exists('total_pages', $data)) { + if (\array_key_exists('total_pages', $data) && $data['total_pages'] !== null) { $object->setTotalPages($data['total_pages']); unset($data['total_pages']); + } elseif (\array_key_exists('total_pages', $data) && $data['total_pages'] === null) { + $object->setTotalPages(null); } - if (\array_key_exists('total', $data)) { + if (\array_key_exists('total', $data) && $data['total'] !== null) { $object->setTotal($data['total']); unset($data['total']); + } elseif (\array_key_exists('total', $data) && $data['total'] === null) { + $object->setTotal(null); } if (\array_key_exists('per_page', $data)) { $object->setPerPage($data['per_page']); diff --git a/src/Normalizer/VirtualMachinePackagesVirtualMachinePackageGetResponse200VirtualMachinePackageNormalizer.php b/src/Normalizer/VirtualMachinePackagesVirtualMachinePackageGetResponse200VirtualMachinePackageNormalizer.php index da4d4d92..6840a643 100644 --- a/src/Normalizer/VirtualMachinePackagesVirtualMachinePackageGetResponse200VirtualMachinePackageNormalizer.php +++ b/src/Normalizer/VirtualMachinePackagesVirtualMachinePackageGetResponse200VirtualMachinePackageNormalizer.php @@ -77,17 +77,21 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setStorageInGb($data['storage_in_gb']); unset($data['storage_in_gb']); } - if (\array_key_exists('monthly_bandwidth_allowance_in_gb', $data)) { + if (\array_key_exists('monthly_bandwidth_allowance_in_gb', $data) && $data['monthly_bandwidth_allowance_in_gb'] !== null) { $object->setMonthlyBandwidthAllowanceInGb($data['monthly_bandwidth_allowance_in_gb']); unset($data['monthly_bandwidth_allowance_in_gb']); + } elseif (\array_key_exists('monthly_bandwidth_allowance_in_gb', $data) && $data['monthly_bandwidth_allowance_in_gb'] === null) { + $object->setMonthlyBandwidthAllowanceInGb(null); } if (\array_key_exists('privacy', $data)) { $object->setPrivacy($data['privacy']); unset($data['privacy']); } - if (\array_key_exists('icon', $data)) { - $object->setIcon($this->denormalizer->denormalize($data['icon'], 'Krystal\\Katapult\\KatapultAPI\\Model\\Attachment', 'json', $context)); + if (\array_key_exists('icon', $data) && $data['icon'] !== null) { + $object->setIcon($this->denormalizer->denormalize($data['icon'], 'Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachinePackageIcon', 'json', $context)); unset($data['icon']); + } elseif (\array_key_exists('icon', $data) && $data['icon'] === null) { + $object->setIcon(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/VirtualMachineTagsItemNormalizer.php b/src/Normalizer/VirtualMachineTagsItemNormalizer.php new file mode 100644 index 00000000..e43727d7 --- /dev/null +++ b/src/Normalizer/VirtualMachineTagsItemNormalizer.php @@ -0,0 +1,108 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('color', $data)) { + $object->setColor($data['color']); + unset($data['color']); + } + if (\array_key_exists('created_at', $data)) { + $object->setCreatedAt($data['created_at']); + unset($data['created_at']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('color') && null !== $object->getColor()) { + $data['color'] = $object->getColor(); + } + if ($object->isInitialized('createdAt') && null !== $object->getCreatedAt()) { + $data['created_at'] = $object->getCreatedAt(); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineTagsItem' => false]; + } +} diff --git a/src/Normalizer/VirtualMachineZoneNormalizer.php b/src/Normalizer/VirtualMachineZoneNormalizer.php new file mode 100644 index 00000000..b0c56dab --- /dev/null +++ b/src/Normalizer/VirtualMachineZoneNormalizer.php @@ -0,0 +1,110 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); + } + if (\array_key_exists('data_center', $data)) { + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\ZoneDataCenter', 'json', $context)); + unset($data['data_center']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + if ($object->isInitialized('dataCenter') && null !== $object->getDataCenter()) { + $data['data_center'] = $this->normalizer->normalize($object->getDataCenter(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\VirtualMachineZone' => false]; + } +} diff --git a/src/Normalizer/VirtualMachinesBuildsVirtualMachineBuildGetResponse200VirtualMachineBuildNormalizer.php b/src/Normalizer/VirtualMachinesBuildsVirtualMachineBuildGetResponse200VirtualMachineBuildNormalizer.php index 505556c8..2ccaf1c3 100644 --- a/src/Normalizer/VirtualMachinesBuildsVirtualMachineBuildGetResponse200VirtualMachineBuildNormalizer.php +++ b/src/Normalizer/VirtualMachinesBuildsVirtualMachineBuildGetResponse200VirtualMachineBuildNormalizer.php @@ -61,9 +61,11 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setState($data['state']); unset($data['state']); } - if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachine', 'json', $context)); + if (\array_key_exists('virtual_machine', $data) && $data['virtual_machine'] !== null) { + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine', 'json', $context)); unset($data['virtual_machine']); + } elseif (\array_key_exists('virtual_machine', $data) && $data['virtual_machine'] === null) { + $object->setVirtualMachine(null); } if (\array_key_exists('created_at', $data)) { $object->setCreatedAt($data['created_at']); diff --git a/src/Normalizer/VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddressNormalizer.php b/src/Normalizer/VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddressNormalizer.php index b76a9289..9a538bd9 100644 --- a/src/Normalizer/VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddressNormalizer.php +++ b/src/Normalizer/VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddressNormalizer.php @@ -65,25 +65,31 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setVip($data['vip']); unset($data['vip']); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && $data['label'] !== null) { $object->setLabel($data['label']); unset($data['label']); + } elseif (\array_key_exists('label', $data) && $data['label'] === null) { + $object->setLabel(null); } if (\array_key_exists('address_with_mask', $data)) { $object->setAddressWithMask($data['address_with_mask']); unset($data['address_with_mask']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\Network', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\IPAddressNetwork', 'json', $context)); unset($data['network']); } - if (\array_key_exists('allocation_id', $data)) { + if (\array_key_exists('allocation_id', $data) && $data['allocation_id'] !== null) { $object->setAllocationId($data['allocation_id']); unset($data['allocation_id']); + } elseif (\array_key_exists('allocation_id', $data) && $data['allocation_id'] === null) { + $object->setAllocationId(null); } - if (\array_key_exists('allocation_type', $data)) { + if (\array_key_exists('allocation_type', $data) && $data['allocation_type'] !== null) { $object->setAllocationType($data['allocation_type']); unset($data['allocation_type']); + } elseif (\array_key_exists('allocation_type', $data) && $data['allocation_type'] === null) { + $object->setAllocationType(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/VirtualMachinesVirtualMachineConsoleSessionsPostResponse201ConsoleSessionNormalizer.php b/src/Normalizer/VirtualMachinesVirtualMachineConsoleSessionsPostResponse201ConsoleSessionNormalizer.php index a2514e07..eebf55f4 100644 --- a/src/Normalizer/VirtualMachinesVirtualMachineConsoleSessionsPostResponse201ConsoleSessionNormalizer.php +++ b/src/Normalizer/VirtualMachinesVirtualMachineConsoleSessionsPostResponse201ConsoleSessionNormalizer.php @@ -62,7 +62,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['expires_at']); } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineConsoleSessionsPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineConsoleSessions201ResponseConsoleSessionVirtualMachine', 'json', $context)); unset($data['virtual_machine']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/VirtualMachinesVirtualMachineDeleteResponse200VirtualMachineNormalizer.php b/src/Normalizer/VirtualMachinesVirtualMachineDeleteResponse200VirtualMachineNormalizer.php index c7ca3360..be7486a8 100644 --- a/src/Normalizer/VirtualMachinesVirtualMachineDeleteResponse200VirtualMachineNormalizer.php +++ b/src/Normalizer/VirtualMachinesVirtualMachineDeleteResponse200VirtualMachineNormalizer.php @@ -65,58 +65,74 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setFqdn($data['fqdn']); unset($data['fqdn']); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && $data['description'] !== null) { $object->setDescription($data['description']); unset($data['description']); + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + $object->setDescription(null); } if (\array_key_exists('created_at', $data)) { $object->setCreatedAt($data['created_at']); unset($data['created_at']); } - if (\array_key_exists('initial_root_password', $data)) { + if (\array_key_exists('initial_root_password', $data) && $data['initial_root_password'] !== null) { $object->setInitialRootPassword($data['initial_root_password']); unset($data['initial_root_password']); + } elseif (\array_key_exists('initial_root_password', $data) && $data['initial_root_password'] === null) { + $object->setInitialRootPassword(null); } if (\array_key_exists('state', $data)) { $object->setState($data['state']); unset($data['state']); } if (\array_key_exists('zone', $data)) { - $object->setZone($this->denormalizer->denormalize($data['zone'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartZone', 'json', $context)); + $object->setZone($this->denormalizer->denormalize($data['zone'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineZone', 'json', $context)); unset($data['zone']); } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartOrganization', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineOrganization', 'json', $context)); unset($data['organization']); } - if (\array_key_exists('group', $data)) { - $object->setGroup($this->denormalizer->denormalize($data['group'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartGroup', 'json', $context)); + if (\array_key_exists('group', $data) && $data['group'] !== null) { + $object->setGroup($this->denormalizer->denormalize($data['group'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGroup', 'json', $context)); unset($data['group']); + } elseif (\array_key_exists('group', $data) && $data['group'] === null) { + $object->setGroup(null); } - if (\array_key_exists('package', $data)) { - $object->setPackage($this->denormalizer->denormalize($data['package'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartPackage', 'json', $context)); + if (\array_key_exists('package', $data) && $data['package'] !== null) { + $object->setPackage($this->denormalizer->denormalize($data['package'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachinePackage', 'json', $context)); unset($data['package']); + } elseif (\array_key_exists('package', $data) && $data['package'] === null) { + $object->setPackage(null); } - if (\array_key_exists('attached_iso', $data)) { - $object->setAttachedIso($this->denormalizer->denormalize($data['attached_iso'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartAttachedISO', 'json', $context)); + if (\array_key_exists('attached_iso', $data) && $data['attached_iso'] !== null) { + $object->setAttachedIso($this->denormalizer->denormalize($data['attached_iso'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineAttachedIso', 'json', $context)); unset($data['attached_iso']); + } elseif (\array_key_exists('attached_iso', $data) && $data['attached_iso'] === null) { + $object->setAttachedIso(null); } - if (\array_key_exists('memory_in_gb', $data)) { + if (\array_key_exists('memory_in_gb', $data) && $data['memory_in_gb'] !== null) { $object->setMemoryInGb($data['memory_in_gb']); unset($data['memory_in_gb']); + } elseif (\array_key_exists('memory_in_gb', $data) && $data['memory_in_gb'] === null) { + $object->setMemoryInGb(null); } - if (\array_key_exists('cpu_cores', $data)) { + if (\array_key_exists('cpu_cores', $data) && $data['cpu_cores'] !== null) { $object->setCpuCores($data['cpu_cores']); unset($data['cpu_cores']); + } elseif (\array_key_exists('cpu_cores', $data) && $data['cpu_cores'] === null) { + $object->setCpuCores(null); } - if (\array_key_exists('gpu_type', $data)) { - $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartGPUType', 'json', $context)); + if (\array_key_exists('gpu_type', $data) && $data['gpu_type'] !== null) { + $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGpuType', 'json', $context)); unset($data['gpu_type']); + } elseif (\array_key_exists('gpu_type', $data) && $data['gpu_type'] === null) { + $object->setGpuType(null); } if (\array_key_exists('gpus', $data)) { $values = []; foreach ($data['gpus'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartGPUs', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGpusItem', 'json', $context); } $object->setGpus($values); unset($data['gpus']); @@ -124,7 +140,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('tags', $data)) { $values_1 = []; foreach ($data['tags'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartTags', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineTagsItem', 'json', $context); } $object->setTags($values_1); unset($data['tags']); @@ -140,7 +156,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('ip_addresses', $data)) { $values_3 = []; foreach ($data['ip_addresses'] as $value_3) { - $values_3[] = $this->denormalizer->denormalize($value_3, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachinePartIPAddresses', 'json', $context); + $values_3[] = $this->denormalizer->denormalize($value_3, 'Krystal\\Katapult\\KatapultAPI\\Model\\DeleteVirtualMachine200ResponseVirtualMachineIpAddressesItem', 'json', $context); } $object->setIpAddresses($values_3); unset($data['ip_addresses']); diff --git a/src/Normalizer/VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200PaginationNormalizer.php b/src/Normalizer/VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200PaginationNormalizer.php index 0f5a3311..06049730 100644 --- a/src/Normalizer/VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200PaginationNormalizer.php +++ b/src/Normalizer/VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200PaginationNormalizer.php @@ -53,13 +53,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCurrentPage($data['current_page']); unset($data['current_page']); } - if (\array_key_exists('total_pages', $data)) { + if (\array_key_exists('total_pages', $data) && $data['total_pages'] !== null) { $object->setTotalPages($data['total_pages']); unset($data['total_pages']); + } elseif (\array_key_exists('total_pages', $data) && $data['total_pages'] === null) { + $object->setTotalPages(null); } - if (\array_key_exists('total', $data)) { + if (\array_key_exists('total', $data) && $data['total'] !== null) { $object->setTotal($data['total']); unset($data['total']); + } elseif (\array_key_exists('total', $data) && $data['total'] === null) { + $object->setTotal(null); } if (\array_key_exists('per_page', $data)) { $object->setPerPage($data['per_page']); diff --git a/src/Normalizer/VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicyNormalizer.php b/src/Normalizer/VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicyNormalizer.php index 68ed22bc..da0b0823 100644 --- a/src/Normalizer/VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicyNormalizer.php +++ b/src/Normalizer/VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicyNormalizer.php @@ -69,12 +69,14 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['target']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineDiskBackupPoliciesPartSchedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicySchedule', 'json', $context)); unset($data['schedule']); } - if (\array_key_exists('auto_move_to_trash_at', $data)) { + if (\array_key_exists('auto_move_to_trash_at', $data) && $data['auto_move_to_trash_at'] !== null) { $object->setAutoMoveToTrashAt($data['auto_move_to_trash_at']); unset($data['auto_move_to_trash_at']); + } elseif (\array_key_exists('auto_move_to_trash_at', $data) && $data['auto_move_to_trash_at'] === null) { + $object->setAutoMoveToTrashAt(null); } foreach ($data as $key => $value) { if (preg_match('/.*/', (string) $key)) { diff --git a/src/Normalizer/VirtualMachinesVirtualMachineDisksGetResponse200PaginationNormalizer.php b/src/Normalizer/VirtualMachinesVirtualMachineDisksGetResponse200PaginationNormalizer.php index 98e1db23..d86db78c 100644 --- a/src/Normalizer/VirtualMachinesVirtualMachineDisksGetResponse200PaginationNormalizer.php +++ b/src/Normalizer/VirtualMachinesVirtualMachineDisksGetResponse200PaginationNormalizer.php @@ -53,13 +53,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCurrentPage($data['current_page']); unset($data['current_page']); } - if (\array_key_exists('total_pages', $data)) { + if (\array_key_exists('total_pages', $data) && $data['total_pages'] !== null) { $object->setTotalPages($data['total_pages']); unset($data['total_pages']); + } elseif (\array_key_exists('total_pages', $data) && $data['total_pages'] === null) { + $object->setTotalPages(null); } - if (\array_key_exists('total', $data)) { + if (\array_key_exists('total', $data) && $data['total'] !== null) { $object->setTotal($data['total']); unset($data['total']); + } elseif (\array_key_exists('total', $data) && $data['total'] === null) { + $object->setTotal(null); } if (\array_key_exists('per_page', $data)) { $object->setPerPage($data['per_page']); diff --git a/src/Normalizer/VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200TaskNormalizer.php b/src/Normalizer/VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200TaskNormalizer.php index f06337fc..594ce379 100644 --- a/src/Normalizer/VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200TaskNormalizer.php +++ b/src/Normalizer/VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200TaskNormalizer.php @@ -65,13 +65,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCreatedAt($data['created_at']); unset($data['created_at']); } - if (\array_key_exists('started_at', $data)) { + if (\array_key_exists('started_at', $data) && $data['started_at'] !== null) { $object->setStartedAt($data['started_at']); unset($data['started_at']); + } elseif (\array_key_exists('started_at', $data) && $data['started_at'] === null) { + $object->setStartedAt(null); } - if (\array_key_exists('finished_at', $data)) { + if (\array_key_exists('finished_at', $data) && $data['finished_at'] !== null) { $object->setFinishedAt($data['finished_at']); unset($data['finished_at']); + } elseif (\array_key_exists('finished_at', $data) && $data['finished_at'] === null) { + $object->setFinishedAt(null); } if (\array_key_exists('progress', $data)) { $object->setProgress($data['progress']); diff --git a/src/Normalizer/VirtualMachinesVirtualMachineGetResponse200VirtualMachineNormalizer.php b/src/Normalizer/VirtualMachinesVirtualMachineGetResponse200VirtualMachineNormalizer.php index 9939c00d..df760648 100644 --- a/src/Normalizer/VirtualMachinesVirtualMachineGetResponse200VirtualMachineNormalizer.php +++ b/src/Normalizer/VirtualMachinesVirtualMachineGetResponse200VirtualMachineNormalizer.php @@ -65,58 +65,74 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setFqdn($data['fqdn']); unset($data['fqdn']); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && $data['description'] !== null) { $object->setDescription($data['description']); unset($data['description']); + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + $object->setDescription(null); } if (\array_key_exists('created_at', $data)) { $object->setCreatedAt($data['created_at']); unset($data['created_at']); } - if (\array_key_exists('initial_root_password', $data)) { + if (\array_key_exists('initial_root_password', $data) && $data['initial_root_password'] !== null) { $object->setInitialRootPassword($data['initial_root_password']); unset($data['initial_root_password']); + } elseif (\array_key_exists('initial_root_password', $data) && $data['initial_root_password'] === null) { + $object->setInitialRootPassword(null); } if (\array_key_exists('state', $data)) { $object->setState($data['state']); unset($data['state']); } if (\array_key_exists('zone', $data)) { - $object->setZone($this->denormalizer->denormalize($data['zone'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartZone', 'json', $context)); + $object->setZone($this->denormalizer->denormalize($data['zone'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineZone', 'json', $context)); unset($data['zone']); } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartOrganization', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineOrganization', 'json', $context)); unset($data['organization']); } - if (\array_key_exists('group', $data)) { - $object->setGroup($this->denormalizer->denormalize($data['group'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartGroup', 'json', $context)); + if (\array_key_exists('group', $data) && $data['group'] !== null) { + $object->setGroup($this->denormalizer->denormalize($data['group'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineGroup', 'json', $context)); unset($data['group']); + } elseif (\array_key_exists('group', $data) && $data['group'] === null) { + $object->setGroup(null); } - if (\array_key_exists('package', $data)) { - $object->setPackage($this->denormalizer->denormalize($data['package'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartPackage', 'json', $context)); + if (\array_key_exists('package', $data) && $data['package'] !== null) { + $object->setPackage($this->denormalizer->denormalize($data['package'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachinePackage', 'json', $context)); unset($data['package']); + } elseif (\array_key_exists('package', $data) && $data['package'] === null) { + $object->setPackage(null); } - if (\array_key_exists('attached_iso', $data)) { - $object->setAttachedIso($this->denormalizer->denormalize($data['attached_iso'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartAttachedISO', 'json', $context)); + if (\array_key_exists('attached_iso', $data) && $data['attached_iso'] !== null) { + $object->setAttachedIso($this->denormalizer->denormalize($data['attached_iso'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineAttachedIso', 'json', $context)); unset($data['attached_iso']); + } elseif (\array_key_exists('attached_iso', $data) && $data['attached_iso'] === null) { + $object->setAttachedIso(null); } - if (\array_key_exists('memory_in_gb', $data)) { + if (\array_key_exists('memory_in_gb', $data) && $data['memory_in_gb'] !== null) { $object->setMemoryInGb($data['memory_in_gb']); unset($data['memory_in_gb']); + } elseif (\array_key_exists('memory_in_gb', $data) && $data['memory_in_gb'] === null) { + $object->setMemoryInGb(null); } - if (\array_key_exists('cpu_cores', $data)) { + if (\array_key_exists('cpu_cores', $data) && $data['cpu_cores'] !== null) { $object->setCpuCores($data['cpu_cores']); unset($data['cpu_cores']); + } elseif (\array_key_exists('cpu_cores', $data) && $data['cpu_cores'] === null) { + $object->setCpuCores(null); } - if (\array_key_exists('gpu_type', $data)) { - $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartGPUType', 'json', $context)); + if (\array_key_exists('gpu_type', $data) && $data['gpu_type'] !== null) { + $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineGpuType', 'json', $context)); unset($data['gpu_type']); + } elseif (\array_key_exists('gpu_type', $data) && $data['gpu_type'] === null) { + $object->setGpuType(null); } if (\array_key_exists('gpus', $data)) { $values = []; foreach ($data['gpus'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartGPUs', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineGpusItem', 'json', $context); } $object->setGpus($values); unset($data['gpus']); @@ -124,7 +140,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('tags', $data)) { $values_1 = []; foreach ($data['tags'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartTags', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineTagsItem', 'json', $context); } $object->setTags($values_1); unset($data['tags']); @@ -140,7 +156,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('ip_addresses', $data)) { $values_3 = []; foreach ($data['ip_addresses'] as $value_3) { - $values_3[] = $this->denormalizer->denormalize($value_3, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachinePartIPAddresses', 'json', $context); + $values_3[] = $this->denormalizer->denormalize($value_3, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachine200ResponseVirtualMachineIpAddressesItem', 'json', $context); } $object->setIpAddresses($values_3); unset($data['ip_addresses']); diff --git a/src/Normalizer/VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200PaginationNormalizer.php b/src/Normalizer/VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200PaginationNormalizer.php index f4511da6..1d7e31d4 100644 --- a/src/Normalizer/VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200PaginationNormalizer.php +++ b/src/Normalizer/VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200PaginationNormalizer.php @@ -53,13 +53,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCurrentPage($data['current_page']); unset($data['current_page']); } - if (\array_key_exists('total_pages', $data)) { + if (\array_key_exists('total_pages', $data) && $data['total_pages'] !== null) { $object->setTotalPages($data['total_pages']); unset($data['total_pages']); + } elseif (\array_key_exists('total_pages', $data) && $data['total_pages'] === null) { + $object->setTotalPages(null); } - if (\array_key_exists('total', $data)) { + if (\array_key_exists('total', $data) && $data['total'] !== null) { $object->setTotal($data['total']); unset($data['total']); + } elseif (\array_key_exists('total', $data) && $data['total'] === null) { + $object->setTotal(null); } if (\array_key_exists('per_page', $data)) { $object->setPerPage($data['per_page']); diff --git a/src/Normalizer/VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterfaceNormalizer.php b/src/Normalizer/VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterfaceNormalizer.php index 3500e13c..b56f0bad 100644 --- a/src/Normalizer/VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterfaceNormalizer.php +++ b/src/Normalizer/VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterfaceNormalizer.php @@ -54,7 +54,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfacePartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceVirtualMachine', 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('name', $data)) { @@ -62,7 +62,7 @@ public function denormalize($data, $class, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfacePartNetwork', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceNetwork', 'json', $context)); unset($data['network']); } if (\array_key_exists('mac_address', $data)) { @@ -76,7 +76,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('ip_addresses', $data)) { $values = []; foreach ($data['ip_addresses'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterfacePartIPAddresses', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceIpAddressesItem', 'json', $context); } $object->setIpAddresses($values); unset($data['ip_addresses']); diff --git a/src/Normalizer/VirtualMachinesVirtualMachinePackagePutResponse200TaskNormalizer.php b/src/Normalizer/VirtualMachinesVirtualMachinePackagePutResponse200TaskNormalizer.php index f197bb25..73250130 100644 --- a/src/Normalizer/VirtualMachinesVirtualMachinePackagePutResponse200TaskNormalizer.php +++ b/src/Normalizer/VirtualMachinesVirtualMachinePackagePutResponse200TaskNormalizer.php @@ -65,13 +65,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setCreatedAt($data['created_at']); unset($data['created_at']); } - if (\array_key_exists('started_at', $data)) { + if (\array_key_exists('started_at', $data) && $data['started_at'] !== null) { $object->setStartedAt($data['started_at']); unset($data['started_at']); + } elseif (\array_key_exists('started_at', $data) && $data['started_at'] === null) { + $object->setStartedAt(null); } - if (\array_key_exists('finished_at', $data)) { + if (\array_key_exists('finished_at', $data) && $data['finished_at'] !== null) { $object->setFinishedAt($data['finished_at']); unset($data['finished_at']); + } elseif (\array_key_exists('finished_at', $data) && $data['finished_at'] === null) { + $object->setFinishedAt(null); } if (\array_key_exists('progress', $data)) { $object->setProgress($data['progress']); diff --git a/src/Normalizer/VirtualMachinesVirtualMachinePatchResponse200VirtualMachineNormalizer.php b/src/Normalizer/VirtualMachinesVirtualMachinePatchResponse200VirtualMachineNormalizer.php index 1111df31..15441cd4 100644 --- a/src/Normalizer/VirtualMachinesVirtualMachinePatchResponse200VirtualMachineNormalizer.php +++ b/src/Normalizer/VirtualMachinesVirtualMachinePatchResponse200VirtualMachineNormalizer.php @@ -65,58 +65,74 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setFqdn($data['fqdn']); unset($data['fqdn']); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && $data['description'] !== null) { $object->setDescription($data['description']); unset($data['description']); + } elseif (\array_key_exists('description', $data) && $data['description'] === null) { + $object->setDescription(null); } if (\array_key_exists('created_at', $data)) { $object->setCreatedAt($data['created_at']); unset($data['created_at']); } - if (\array_key_exists('initial_root_password', $data)) { + if (\array_key_exists('initial_root_password', $data) && $data['initial_root_password'] !== null) { $object->setInitialRootPassword($data['initial_root_password']); unset($data['initial_root_password']); + } elseif (\array_key_exists('initial_root_password', $data) && $data['initial_root_password'] === null) { + $object->setInitialRootPassword(null); } if (\array_key_exists('state', $data)) { $object->setState($data['state']); unset($data['state']); } if (\array_key_exists('zone', $data)) { - $object->setZone($this->denormalizer->denormalize($data['zone'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartZone', 'json', $context)); + $object->setZone($this->denormalizer->denormalize($data['zone'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineZone', 'json', $context)); unset($data['zone']); } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartOrganization', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineOrganization', 'json', $context)); unset($data['organization']); } - if (\array_key_exists('group', $data)) { - $object->setGroup($this->denormalizer->denormalize($data['group'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartGroup', 'json', $context)); + if (\array_key_exists('group', $data) && $data['group'] !== null) { + $object->setGroup($this->denormalizer->denormalize($data['group'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineGroup', 'json', $context)); unset($data['group']); + } elseif (\array_key_exists('group', $data) && $data['group'] === null) { + $object->setGroup(null); } - if (\array_key_exists('package', $data)) { - $object->setPackage($this->denormalizer->denormalize($data['package'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartPackage', 'json', $context)); + if (\array_key_exists('package', $data) && $data['package'] !== null) { + $object->setPackage($this->denormalizer->denormalize($data['package'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachinePackage', 'json', $context)); unset($data['package']); + } elseif (\array_key_exists('package', $data) && $data['package'] === null) { + $object->setPackage(null); } - if (\array_key_exists('attached_iso', $data)) { - $object->setAttachedIso($this->denormalizer->denormalize($data['attached_iso'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartAttachedISO', 'json', $context)); + if (\array_key_exists('attached_iso', $data) && $data['attached_iso'] !== null) { + $object->setAttachedIso($this->denormalizer->denormalize($data['attached_iso'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineAttachedIso', 'json', $context)); unset($data['attached_iso']); + } elseif (\array_key_exists('attached_iso', $data) && $data['attached_iso'] === null) { + $object->setAttachedIso(null); } - if (\array_key_exists('memory_in_gb', $data)) { + if (\array_key_exists('memory_in_gb', $data) && $data['memory_in_gb'] !== null) { $object->setMemoryInGb($data['memory_in_gb']); unset($data['memory_in_gb']); + } elseif (\array_key_exists('memory_in_gb', $data) && $data['memory_in_gb'] === null) { + $object->setMemoryInGb(null); } - if (\array_key_exists('cpu_cores', $data)) { + if (\array_key_exists('cpu_cores', $data) && $data['cpu_cores'] !== null) { $object->setCpuCores($data['cpu_cores']); unset($data['cpu_cores']); + } elseif (\array_key_exists('cpu_cores', $data) && $data['cpu_cores'] === null) { + $object->setCpuCores(null); } - if (\array_key_exists('gpu_type', $data)) { - $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartGPUType', 'json', $context)); + if (\array_key_exists('gpu_type', $data) && $data['gpu_type'] !== null) { + $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineGpuType', 'json', $context)); unset($data['gpu_type']); + } elseif (\array_key_exists('gpu_type', $data) && $data['gpu_type'] === null) { + $object->setGpuType(null); } if (\array_key_exists('gpus', $data)) { $values = []; foreach ($data['gpus'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartGPUs', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineGpusItem', 'json', $context); } $object->setGpus($values); unset($data['gpus']); @@ -124,7 +140,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('tags', $data)) { $values_1 = []; foreach ($data['tags'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartTags', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineTagsItem', 'json', $context); } $object->setTags($values_1); unset($data['tags']); @@ -140,7 +156,7 @@ public function denormalize($data, $class, $format = null, array $context = []) if (\array_key_exists('ip_addresses', $data)) { $values_3 = []; foreach ($data['ip_addresses'] as $value_3) { - $values_3[] = $this->denormalizer->denormalize($value_3, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachinePartIPAddresses', 'json', $context); + $values_3[] = $this->denormalizer->denormalize($value_3, 'Krystal\\Katapult\\KatapultAPI\\Model\\PatchVirtualMachine200ResponseVirtualMachineIpAddressesItem', 'json', $context); } $object->setIpAddresses($values_3); unset($data['ip_addresses']); diff --git a/src/Normalizer/ZoneDataCenterNormalizer.php b/src/Normalizer/ZoneDataCenterNormalizer.php new file mode 100644 index 00000000..eb44fa0e --- /dev/null +++ b/src/Normalizer/ZoneDataCenterNormalizer.php @@ -0,0 +1,110 @@ +setId($data['id']); + unset($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + unset($data['name']); + } + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { + $object->setPermalink($data['permalink']); + unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); + } + if (\array_key_exists('country', $data)) { + $object->setCountry($this->denormalizer->denormalize($data['country'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCenterCountry', 'json', $context)); + unset($data['country']); + } + foreach ($data as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $object[$key] = $value; + } + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if ($object->isInitialized('id') && null !== $object->getId()) { + $data['id'] = $object->getId(); + } + if ($object->isInitialized('name') && null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if ($object->isInitialized('permalink') && null !== $object->getPermalink()) { + $data['permalink'] = $object->getPermalink(); + } + if ($object->isInitialized('country') && null !== $object->getCountry()) { + $data['country'] = $this->normalizer->normalize($object->getCountry(), 'json', $context); + } + foreach ($object as $key => $value) { + if (preg_match('/.*/', (string) $key)) { + $data[$key] = $value; + } + } + + return $data; + } + + public function getSupportedTypes(string $format = null): array + { + return ['Krystal\\Katapult\\KatapultAPI\\Model\\ZoneDataCenter' => false]; + } +} diff --git a/src/Normalizer/ZoneNormalizer.php b/src/Normalizer/ZoneNormalizer.php index b70924ee..7a289566 100644 --- a/src/Normalizer/ZoneNormalizer.php +++ b/src/Normalizer/ZoneNormalizer.php @@ -57,12 +57,14 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\ZoneDataCenter', 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) { diff --git a/src/Normalizer/ZonesZoneGetResponse200ZoneNormalizer.php b/src/Normalizer/ZonesZoneGetResponse200ZoneNormalizer.php index 1faeb553..774d9850 100644 --- a/src/Normalizer/ZonesZoneGetResponse200ZoneNormalizer.php +++ b/src/Normalizer/ZonesZoneGetResponse200ZoneNormalizer.php @@ -57,12 +57,14 @@ public function denormalize($data, $class, $format = null, array $context = []) $object->setName($data['name']); unset($data['name']); } - if (\array_key_exists('permalink', $data)) { + if (\array_key_exists('permalink', $data) && $data['permalink'] !== null) { $object->setPermalink($data['permalink']); unset($data['permalink']); + } elseif (\array_key_exists('permalink', $data) && $data['permalink'] === null) { + $object->setPermalink(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\DataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'Krystal\\Katapult\\KatapultAPI\\Model\\ZoneDataCenter', 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) {