protected function getDeployments() {
        if (!$this->_deployments) {
            $this->_deployments = new DeploymentList(
                $this->version,
                $this->solution['serviceSid'],
                $this->solution['sid']
            );
        }

        return $this->_deployments;
    }
protected function getDeployments() {
        if (!$this->_deployments) {
            $this->_deployments = new DeploymentList(
                $this->version,
                $this->solution['serviceSid'],
                $this->solution['sid']
            );
        }

        return $this->_deployments;
    }
protected function getDeployments ( ) { if ( ! $ this -> _deployments ) { $ this -> _deployments = new DeploymentList ( $ this -> version , $ this -> solution [ 'serviceSid' ] , $ this -> solution [ 'sid' ] ) ; } return $ this -> _deployments ; }
Access the deployments

@return \Twilio\Rest\Serverless\V1\Service\Environment\DeploymentList
Access the deployments