code: def deployments(self):
          
          if self._deployments is None:
              self._deployments = DeploymentList(
                  self._version,
                  service_sid=self._solution['service_sid'],
                  environment_sid=self._solution['sid'],
              )
          return self._deployments
docs: Access the deployments
  
          :returns: twilio.rest.serverless.v1.service.environment.deployment.DeploymentList
          :rtype: twilio.rest.serverless.v1.service.environment.deployment.DeploymentList