Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | from . import models |
||
6 | class DialogSerializer(serializers.ModelSerializer): |
||
7 | |||
8 | class Meta: |
||
9 | model = models.Dialog |
||
10 | fields = ( |
||
11 | 'pk', |
||
12 | 'hash_entry', |
||
13 | 'hash_id', |
||
14 | 'callid', |
||
15 | 'from_uri', |
||
16 | 'from_tag', |
||
17 | 'to_uri', |
||
18 | 'to_tag', |
||
19 | 'caller_cseq', |
||
20 | 'callee_cseq', |
||
21 | 'caller_route_set', |
||
22 | 'callee_route_set', |
||
23 | 'caller_contact', |
||
24 | 'callee_contact', |
||
25 | 'caller_sock', |
||
26 | 'callee_stock', |
||
27 | 'state', |
||
28 | 'start_time', |
||
29 | 'timeout', |
||
30 | 'sflags', |
||
31 | 'iflags', |
||
32 | 'toroute_name', |
||
33 | 'req_uri', |
||
34 | 'xdata', |
||
35 | ) |
||
51 |