001package com.plivo.api.models.call; 002 003import com.plivo.api.models.base.BaseResource; 004 005// TODO Date 006public class LiveCall extends BaseResource { 007 008 private CallDirection direction; 009 private String from; 010 private String to; 011 private CallStatus callStatus; 012 private String callerName; 013 private String callUuid; 014 private String requestUuid; 015 private String sessionStart; 016 017 public static LiveCallGetter getter(String id) { 018 return new LiveCallGetter(id); 019 } 020 021 public static LiveCallListGetter listGetter() { 022 return new LiveCallListGetter(); 023 } 024 025 public String getRequestUuid() { 026 return requestUuid; 027 } 028 029 public CallDirection getDirection() { 030 return direction; 031 } 032 033 public String getFrom() { 034 return from; 035 } 036 037 public String getTo() { 038 return to; 039 } 040 041 public CallStatus getCallStatus() { 042 return callStatus; 043 } 044 045 public String getCallerName() { 046 return callerName; 047 } 048 049 public String getCallUuid() { 050 return callUuid; 051 } 052 053 public String getSessionStart() { 054 return sessionStart; 055 } 056 057 @Override 058 public String getId() { 059 return getCallUuid(); 060 } 061}