/
get_current_connection_info.dart
63 lines (50 loc) · 1.57 KB
/
get_current_connection_info.dart
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
// ignore_for_file: non_constant_identifier_names
part of 'extension.dart';
// The GetCurrentConnectionInfo action input
final class GetCurrentConnectionInfoInput {
/// The input argument ConnectionID
final String ConnectionID;
const GetCurrentConnectionInfoInput(this.ConnectionID);
/// The static method toMap
static Map<String, String> toMap(GetCurrentConnectionInfoInput input) {
return {'ConnectionID': input.ConnectionID};
}
}
// The GetCurrentConnectionInfo action output
final class GetCurrentConnectionInfoOutput {
/// The output argument RcsID
final String RcsID;
/// The output argument AVTransportID
final String AVTransportID;
/// The output argument ProtocolInfo
final String ProtocolInfo;
/// The output argument PeerConnectionManager
final String PeerConnectionManager;
/// The output argument PeerConnectionID
final String PeerConnectionID;
/// The output argument Status
final String Status;
/// The output argument Direction
final String Direction;
const GetCurrentConnectionInfoOutput(
this.RcsID,
this.AVTransportID,
this.ProtocolInfo,
this.PeerConnectionManager,
this.PeerConnectionID,
this.Direction,
this.Status,
);
/// The factory method fromXml
factory GetCurrentConnectionInfoOutput.fromMap(Map<String, String> m) {
return GetCurrentConnectionInfoOutput(
m['RcsID'] ?? '',
m['AVTransportID'] ?? '',
m['ProtocolInfo'] ?? '',
m['PeerConnectionManager'] ?? '',
m['PeerConnectionID'] ?? '',
m['Direction'] ?? '',
m['Status'] ?? '',
);
}
}