Access the engagements

        :returns: twilio.rest.studio.v1.flow.engagement.EngagementList
        :rtype: twilio.rest.studio.v1.flow.engagement.EngagementList
359451
def engagements(self):
        
        if self._engagements is None:
            self._engagements = EngagementList(self._version, flow_sid=self._solution['sid'], )
        return self._engagements
799765
def fetch(self):
        
        params = values.of({})

        payload = self._version.fetch(
            'GET',
            self._uri,
            params=params,
        )

        return EngagementContextInstance(
            self._version,
            payload,
            flow_sid=self._solution['flow_sid'],
            engagement_sid=self._solution['engagement_sid'],
        )
1033691
@Override
    public ResourceSet<Engagement> read(final TwilioRestClient client) {
        return new ResourceSet<>(this, client, firstPage(client));
    }
1361636
def get(self):
        
        return EngagementContextContext(
            self._version,
            flow_sid=self._solution['flow_sid'],
            engagement_sid=self._solution['engagement_sid'],
        )
322834
def step_context(self):
        
        if self._step_context is None:
            self._step_context = StepContextList(
                self._version,
                flow_sid=self._solution['flow_sid'],
                engagement_sid=self._solution['engagement_sid'],
                step_sid=self._solution['sid'],
            )
        return self._step_context
75182
def list(self):
        

        # We have to open this queue before we make the request, to ensure we don't miss the response.
        queue = self._pebble.get_endpoint_queue(DataLogging)

        self._pebble.send_packet(DataLogging(data=DataLoggingReportOpenSessions(sessions=[])))

        sessions = []
        while True:
            try:
                result = queue.get(timeout=2).data
            except TimeoutError:
                break
            if isinstance(result, DataLoggingDespoolOpenSession):
                self._pebble.send_packet(DataLogging(data=DataLoggingACK(
                                                     session_id=result.session_id)))
                sessions.append(result.__dict__)

        queue.close()
        return sessions
842376
def get_activities(self):
        
        if self.retrieved:
            raise errors.IllegalState('List has already been retrieved.')
        self.retrieved = True
        return objects.ActivityList(self._results, runtime=self._runtime)
115165
def get_instance(self, payload):
        
        return EngagementInstance(self._version, payload, flow_sid=self._solution['flow_sid'], )
52266
def all(self, instance):
        
        url = self._url.format(instance=instance)
        response = requests.get(url, **self._default_request_kwargs)
        data = self._get_response_data(response)
        return self._concrete_acl_list(data)
351176
def samples(self):
        
        if self._samples is None:
            self._samples = SampleList(
                self._version,
                assistant_sid=self._solution['assistant_sid'],
                task_sid=self._solution['sid'],
            )
        return self._samples
1234794
def list(self):
        
        
        uri = URITemplate(self.baseuri + '/{owner}').expand(
            owner=self.username)
        return self.session.get(uri)
661530
@Override
    public Page<Engagement> nextPage(final Page<Engagement> page, 
                                     final TwilioRestClient client) {
        Request request = new Request(
            HttpMethod.GET,
            page.getNextPageUrl(
                Domains.STUDIO.toString(),
                client.getRegion()
            )
        );
        return pageForRequest(client, request);
    }
852431
def messaging(self):
        
        if self._messaging is None:
            from twilio.rest.messaging import Messaging
            self._messaging = Messaging(self)
        return self._messaging
1066964
def sip(self):
        
        if self._sip is None:
            self._sip = SipList(self._version, account_sid=self._solution['sid'], )
        return self._sip
965928
def related(self):
        
        if self._related is None:
            if self.athlete_count - 1 > 0:
                self.assert_bind_client()
                self._related = self.bind_client.get_related_activities(self.id)
            else:
                self._related = []
        return self._related
563470
def get_assets(self):
        
        return github.PaginatedList.PaginatedList(
            github.GitReleaseAsset.GitReleaseAsset,
            self._requester,
            self.url + "/assets",
            None
        )
638962
def get(self, sid):
        
        return StepContext(
            self._version,
            flow_sid=self._solution['flow_sid'],
            engagement_sid=self._solution['engagement_sid'],
            sid=sid,
        )