Class RoomRecordingReader

    • Constructor Detail

      • RoomRecordingReader

        public RoomRecordingReader​(String pathRoomSid)
        Construct a new RoomRecordingReader.
        Parameters:
        pathRoomSid - The room_sid
    • Method Detail

      • setSourceSid

        public RoomRecordingReader setSourceSid​(String sourceSid)
        The source_sid.
        Parameters:
        sourceSid - The source_sid
        Returns:
        this
      • setDateCreatedAfter

        public RoomRecordingReader setDateCreatedAfter​(org.joda.time.DateTime dateCreatedAfter)
        The date_created_after.
        Parameters:
        dateCreatedAfter - The date_created_after
        Returns:
        this
      • setDateCreatedBefore

        public RoomRecordingReader setDateCreatedBefore​(org.joda.time.DateTime dateCreatedBefore)
        The date_created_before.
        Parameters:
        dateCreatedBefore - The date_created_before
        Returns:
        this
      • getPage

        public Page<RoomRecording> getPage​(String targetUrl,
                                           TwilioRestClient client)
        Retrieve the target page from the Twilio API.
        Specified by:
        getPage in class Reader<RoomRecording>
        Parameters:
        targetUrl - API-generated URL for the requested results page
        client - TwilioRestClient with which to make the request
        Returns:
        RoomRecording ResourceSet