/
get_mute.dart
38 lines (30 loc) · 1 KB
/
get_mute.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
// ignore_for_file: non_constant_identifier_names
part of 'extension.dart';
/// The GetMute action input
final class GetMuteInput {
/// The input argument InstanceID
final String InstanceID;
/// The input argument Channel
/// <allowedValueList>
/// <allowedValue>Master</allowedValue>
/// <allowedValue>LF</allowedValue>
/// <allowedValue>RF</allowedValue>
/// </allowedValueList>
final String Channel;
const GetMuteInput(
{this.InstanceID = _defaultInstanceID, this.Channel = _defaultChannel});
/// The static method toMap
static Map<String, String> toMap(GetMuteInput input) {
return {'InstanceID': input.InstanceID, 'Channel': input.Channel};
}
}
/// The GetMute action output
final class GetMuteOutput {
/// The output argument CurrentMute
final bool CurrentMute;
const GetMuteOutput(this.CurrentMute);
/// The factory method fromMap
factory GetMuteOutput.fromMap(Map<String, String> m) {
return GetMuteOutput((m['CurrentMute'] ?? 'false') == 'true');
}
}