src/ArtaxServiceBuilder/OperationGenerator.php
function addAccessorMethods() {
        foreach($this->operationDefinition->getParameters() as $parameter) {
            $translatedParam = $this->apiGenerator->translateParameter($parameter->getName());
            $methodGenerator = new MethodGenerator('set'.ucfirst($translatedParam));
            $body = sprintf('$this->parameters[\'%s\'] = $%s;', $parameter->getName(), $translatedParam);
            $body .= "\n\n";
            $body .= 'return $this;';

            $tags = [];
            $docBlockTest = "Set $translatedParam";
            $description = trim($parameter->getDescription());
            $tags[] = new GenericTag('return', '$this');
            $docBlock = new DocBlockGenerator($docBlockTest, $description, $tags);
            $methodGenerator->setDocBlock($docBlock);
            $methodGenerator->setBody($body);
            
            $parameterGenerator = new ParameterGenerator($translatedParam, $parameter->getType());
            
            $methodGenerator->setParameter($parameterGenerator);
            $this->classGenerator->addMethodFromGenerator($methodGenerator);
        }

        $methodGenerator = new MethodGenerator('getParameters');
        $body = 'return $this->parameters;';
        $methodGenerator->setBody($body);
        $this->classGenerator->addMethodFromGenerator($methodGenerator);
    }
function addAccessorMethods() {
        foreach($this->operationDefinition->getParameters() as $parameter) {
            $translatedParam = $this->apiGenerator->translateParameter($parameter->getName());
            $methodGenerator = new MethodGenerator('set'.ucfirst($translatedParam));
            $body = sprintf('$this->parameters[\'%s\'] = $%s;', $parameter->getName(), $translatedParam);
            $body .= "\n\n";
            $body .= 'return $this;';

            $tags = [];
            $docBlockTest = "Set $translatedParam";
            $description = trim($parameter->getDescription());
            $tags[] = new GenericTag('return', '$this');
            $docBlock = new DocBlockGenerator($docBlockTest, $description, $tags);
            $methodGenerator->setDocBlock($docBlock);
            $methodGenerator->setBody($body);
            
            $parameterGenerator = new ParameterGenerator($translatedParam, $parameter->getType());
            
            $methodGenerator->setParameter($parameterGenerator);
            $this->classGenerator->addMethodFromGenerator($methodGenerator);
        }

        $methodGenerator = new MethodGenerator('getParameters');
        $body = 'return $this->parameters;';
        $methodGenerator->setBody($body);
        $this->classGenerator->addMethodFromGenerator($methodGenerator);
    }
Add methods to access each of the parameters in the operation.