diff --git a/src/Metadata/Model/MethodMeta.php b/src/Metadata/Model/MethodMeta.php index 8125bc9..269556d 100644 --- a/src/Metadata/Model/MethodMeta.php +++ b/src/Metadata/Model/MethodMeta.php @@ -18,11 +18,21 @@ final class MethodMeta */ private $action; + /** + * @var string|null + */ + private $operationName; + /** * @var string|null */ private $location; + /** + * @var string|null + */ + private $targetNamespace; + /** * @var string|null */ @@ -43,11 +53,31 @@ final class MethodMeta */ private $inputBindingUsage; + /** + * @var string|null + */ + private $inputNamespace; + + /** + * @var string|null + */ + private $inputEncodingStyle; + /** * @var string|null */ private $outputBindingUsage; + /** + * @var string|null + */ + private $outputNamespace; + + /** + * @var string|null + */ + private $outputEncodingStyle; + /** * @var bool|null */ @@ -85,6 +115,22 @@ public function withAction(?string $action): self return $new; } + /** + * @return Option + */ + public function operationName(): Option + { + return from_nullable($this->operationName); + } + + public function withOperationName(?string $operationName): self + { + $new = clone $this; + $new->operationName = $operationName; + + return $new; + } + /** * @return Option */ @@ -101,6 +147,22 @@ public function withlocation(?string $location): self return $new; } + /** + * @return Option + */ + public function targetNamespace(): Option + { + return from_nullable($this->targetNamespace); + } + + public function withTargetNamespace(?string $targetNamespace): self + { + $new = clone $this; + $new->targetNamespace = $targetNamespace; + + return $new; + } + /** * @return Option */ @@ -181,6 +243,39 @@ public function withInputBindingUsage(?string $inputBindingUsage): self return $new; } + /** + * @return Option + */ + public function inputNamespace(): Option + { + return from_nullable($this->inputNamespace); + } + + public function withInputNamespace(?string $inputNamespace): self + { + $new = clone $this; + $new->inputNamespace = $inputNamespace; + + return $new; + } + + /** + * @return Option + */ + public function inputEncodingStyle(): Option + { + return from_nullable($this->inputEncodingStyle); + } + + public function withInputEncodingStyle(?string $inputEncodingStyle): self + { + $new = clone $this; + $new->inputEncodingStyle = $inputEncodingStyle; + + return $new; + } + + /** * @return Option */ @@ -196,4 +291,36 @@ public function withOutputBindingUsage(?string $outputBindingUsage): self return $new; } + + /** + * @return Option + */ + public function outputNamespace(): Option + { + return from_nullable($this->outputNamespace); + } + + public function withOutputNamespace(?string $outputNamespace): self + { + $new = clone $this; + $new->outputNamespace = $outputNamespace; + + return $new; + } + + /** + * @return Option + */ + public function outputEncodingStyle(): Option + { + return from_nullable($this->outputEncodingStyle); + } + + public function withOutputEncodingStyle(?string $outputEncodingStyle): self + { + $new = clone $this; + $new->outputEncodingStyle = $outputEncodingStyle; + + return $new; + } }