public function withOpenApiParameters()

in src/Cms/V20190101/CmsApiResolver.php [3949:3980]


	public function withOpenApiParameters(array $openApiParameters)
	{
	    $this->data['OpenApiParameters'] = $openApiParameters;
		foreach ($openApiParameters as $depth1 => $depth1Value) {
			if(isset($depth1Value['Product'])){
				$this->options['query']['OpenApiParameters.' . ($depth1 + 1) . '.Product'] = $depth1Value['Product'];
			}
			if(isset($depth1Value['Role'])){
				$this->options['query']['OpenApiParameters.' . ($depth1 + 1) . '.Role'] = $depth1Value['Role'];
			}
			if(isset($depth1Value['Action'])){
				$this->options['query']['OpenApiParameters.' . ($depth1 + 1) . '.Action'] = $depth1Value['Action'];
			}
			if(isset($depth1Value['Id'])){
				$this->options['query']['OpenApiParameters.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
			}
			if(isset($depth1Value['Arn'])){
				$this->options['query']['OpenApiParameters.' . ($depth1 + 1) . '.Arn'] = $depth1Value['Arn'];
			}
			if(isset($depth1Value['Region'])){
				$this->options['query']['OpenApiParameters.' . ($depth1 + 1) . '.Region'] = $depth1Value['Region'];
			}
			if(isset($depth1Value['Version'])){
				$this->options['query']['OpenApiParameters.' . ($depth1 + 1) . '.Version'] = $depth1Value['Version'];
			}
			if(isset($depth1Value['JsonParams'])){
				$this->options['query']['OpenApiParameters.' . ($depth1 + 1) . '.JsonParams'] = $depth1Value['JsonParams'];
			}
		}

		return $this;
    }