Package com.twilio.sdk.resource.list

Examples of com.twilio.sdk.resource.list.TranscriptionList


   *
   * @param filters the filters
   * @return the transcriptions
   */
  public TranscriptionList getTranscriptions(Map<String, String> filters) {
    TranscriptionList list = new TranscriptionList(this.getClient(), filters);
    list.setRequestAccountSid(this.getRequestAccountSid());
    return list;
  }
View Full Code Here


   * Returns the list of associated transcriptions
   *
   * @return the TranscriptionList associated with the recording
   */
  public TranscriptionList getTranscriptions() {
    TranscriptionList transcriptions = TranscriptionList.recordingTranscriptionList(getClient(), getSid());
    transcriptions.setRequestAccountSid(getRequestAccountSid());
    return transcriptions;
  }
View Full Code Here

   * Returns the list of associated transcriptions
   *
   * @return the TranscriptionList associated this this call
   */
  public TranscriptionList getTranscriptions() {
    TranscriptionList transcriptions = new TranscriptionList(this.getClient(), this.getSid());
    transcriptions.setRequestAccountSid(this.getRequestAccountSid());
    return transcriptions;
  }
View Full Code Here

  private static final String RECORDING_SID = "RE12345678901234567890123456789012";

  @Test
  public void testGetTranscriptions() {
    Recording recording = new Recording(CLIENT, RECORDING_SID);
    TranscriptionList transcriptions = recording.getTranscriptions();
    assertNotNull(transcriptions);
    assertEquals(RECORDING_SID, transcriptions.getRequestRecordingSid());
  }
View Full Code Here

    assertTrue(call.getFrom().equals("+19192386150"));

    RecordingList recordings = call.getRecordings();
    assertTrue(recordings.getRequestCallSid().equals(callSid));

    TranscriptionList transcriptions = call.getTranscriptions();
    assertTrue(transcriptions.getRequestCallSid().equals(callSid));

  }
View Full Code Here

TOP

Related Classes of com.twilio.sdk.resource.list.TranscriptionList

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.