|
|
@ -12501,7 +12501,7 @@ class SignalingClient { |
|
|
|
/// See: |
|
|
|
/// See: |
|
|
|
/// * [sendMessagesRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. |
|
|
|
/// * [sendMessagesRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. |
|
|
|
Future<DynamiteResponse<SignalingSendMessagesResponseApplicationJson, void>> sendMessages({ |
|
|
|
Future<DynamiteResponse<SignalingSendMessagesResponseApplicationJson, void>> sendMessages({ |
|
|
|
required final String messages, |
|
|
|
required final ContentString<BuiltList<SignalingSendMessagesMessages>> messages, |
|
|
|
required final String token, |
|
|
|
required final String token, |
|
|
|
final SignalingSendMessagesApiVersion apiVersion = SignalingSendMessagesApiVersion.v3, |
|
|
|
final SignalingSendMessagesApiVersion apiVersion = SignalingSendMessagesApiVersion.v3, |
|
|
|
final bool oCSAPIRequest = true, |
|
|
|
final bool oCSAPIRequest = true, |
|
|
@ -12537,7 +12537,7 @@ class SignalingClient { |
|
|
|
/// * [sendMessages] for an operation that returns a [DynamiteResponse] with a stable API. |
|
|
|
/// * [sendMessages] for an operation that returns a [DynamiteResponse] with a stable API. |
|
|
|
@experimental |
|
|
|
@experimental |
|
|
|
DynamiteRawResponse<SignalingSendMessagesResponseApplicationJson, void> sendMessagesRaw({ |
|
|
|
DynamiteRawResponse<SignalingSendMessagesResponseApplicationJson, void> sendMessagesRaw({ |
|
|
|
required final String messages, |
|
|
|
required final ContentString<BuiltList<SignalingSendMessagesMessages>> messages, |
|
|
|
required final String token, |
|
|
|
required final String token, |
|
|
|
final SignalingSendMessagesApiVersion apiVersion = SignalingSendMessagesApiVersion.v3, |
|
|
|
final SignalingSendMessagesApiVersion apiVersion = SignalingSendMessagesApiVersion.v3, |
|
|
|
final bool oCSAPIRequest = true, |
|
|
|
final bool oCSAPIRequest = true, |
|
|
@ -12564,7 +12564,12 @@ class SignalingClient { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
// coverage:ignore-end |
|
|
|
queryParameters['messages'] = messages; |
|
|
|
queryParameters['messages'] = _jsonSerializers.serialize( |
|
|
|
|
|
|
|
messages, |
|
|
|
|
|
|
|
specifiedType: const FullType(ContentString, [ |
|
|
|
|
|
|
|
FullType(BuiltList, [FullType(SignalingSendMessagesMessages)]), |
|
|
|
|
|
|
|
]), |
|
|
|
|
|
|
|
); |
|
|
|
dynamite_utils.checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); |
|
|
|
dynamite_utils.checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); |
|
|
|
pathParameters['token'] = token; |
|
|
|
pathParameters['token'] = token; |
|
|
|
pathParameters['apiVersion'] = apiVersion.name; |
|
|
|
pathParameters['apiVersion'] = apiVersion.name; |
|
|
@ -23343,26 +23348,352 @@ abstract class SignalingSession implements SignalingSessionInterface, Built<Sign |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@BuiltValue(instantiable: false) |
|
|
|
@BuiltValue(instantiable: false) |
|
|
|
abstract interface class SignalingPullMessagesResponseApplicationJson_Ocs_Data_DataInterface { |
|
|
|
abstract interface class SignalingSessionsInterface { |
|
|
|
BuiltList<SignalingSession>? get builtListSignalingSession; |
|
|
|
String get type; |
|
|
|
String? get string; |
|
|
|
BuiltList<SignalingSession> get data; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
abstract class SignalingSessions |
|
|
|
|
|
|
|
implements SignalingSessionsInterface, Built<SignalingSessions, SignalingSessionsBuilder> { |
|
|
|
|
|
|
|
factory SignalingSessions([final void Function(SignalingSessionsBuilder)? b]) = _$SignalingSessions; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
const SignalingSessions._(); |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
factory SignalingSessions.fromJson(final Map<String, dynamic> json) => |
|
|
|
|
|
|
|
_jsonSerializers.deserializeWith(serializer, json)!; |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
Map<String, dynamic> toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map<String, dynamic>; |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static Serializer<SignalingSessions> get serializer => _$signalingSessionsSerializer; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class SignalingMessageType extends EnumClass { |
|
|
|
|
|
|
|
const SignalingMessageType._(super.name); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static const SignalingMessageType offer = _$signalingMessageTypeOffer; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static const SignalingMessageType answer = _$signalingMessageTypeAnswer; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static const SignalingMessageType candidate = _$signalingMessageTypeCandidate; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static const SignalingMessageType unshareScreen = _$signalingMessageTypeUnshareScreen; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@BuiltValueEnumConst(wireName: 'remove-candidates') |
|
|
|
|
|
|
|
static const SignalingMessageType removeCandidates = _$signalingMessageTypeRemoveCandidates; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static const SignalingMessageType control = _$signalingMessageTypeControl; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static const SignalingMessageType forceMute = _$signalingMessageTypeForceMute; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static const SignalingMessageType mute = _$signalingMessageTypeMute; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static const SignalingMessageType unmute = _$signalingMessageTypeUnmute; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static const SignalingMessageType nickChanged = _$signalingMessageTypeNickChanged; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
static BuiltSet<SignalingMessageType> get values => _$signalingMessageTypeValues; |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static SignalingMessageType valueOf(final String name) => _$valueOfSignalingMessageType(name); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static Serializer<SignalingMessageType> get serializer => _$signalingMessageTypeSerializer; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class SignalingRoomType extends EnumClass { |
|
|
|
|
|
|
|
const SignalingRoomType._(super.name); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static const SignalingRoomType video = _$signalingRoomTypeVideo; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static const SignalingRoomType screen = _$signalingRoomTypeScreen; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
static BuiltSet<SignalingRoomType> get values => _$signalingRoomTypeValues; |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static SignalingRoomType valueOf(final String name) => _$valueOfSignalingRoomType(name); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static Serializer<SignalingRoomType> get serializer => _$signalingRoomTypeSerializer; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class SignalingSessionDescriptionMessage_Payload_Type extends EnumClass { |
|
|
|
|
|
|
|
const SignalingSessionDescriptionMessage_Payload_Type._(super.name); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static const SignalingSessionDescriptionMessage_Payload_Type offer = |
|
|
|
|
|
|
|
_$signalingSessionDescriptionMessagePayloadTypeOffer; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static const SignalingSessionDescriptionMessage_Payload_Type answer = |
|
|
|
|
|
|
|
_$signalingSessionDescriptionMessagePayloadTypeAnswer; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
static BuiltSet<SignalingSessionDescriptionMessage_Payload_Type> get values => |
|
|
|
|
|
|
|
_$signalingSessionDescriptionMessagePayloadTypeValues; |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static SignalingSessionDescriptionMessage_Payload_Type valueOf(final String name) => |
|
|
|
|
|
|
|
_$valueOfSignalingSessionDescriptionMessage_Payload_Type(name); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static Serializer<SignalingSessionDescriptionMessage_Payload_Type> get serializer => |
|
|
|
|
|
|
|
_$signalingSessionDescriptionMessagePayloadTypeSerializer; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@BuiltValue(instantiable: false) |
|
|
|
|
|
|
|
abstract interface class SignalingSessionDescriptionMessage_PayloadInterface { |
|
|
|
|
|
|
|
SignalingSessionDescriptionMessage_Payload_Type get type; |
|
|
|
|
|
|
|
String get sdp; |
|
|
|
|
|
|
|
String get nick; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
abstract class SignalingSessionDescriptionMessage_Payload |
|
|
|
|
|
|
|
implements |
|
|
|
|
|
|
|
SignalingSessionDescriptionMessage_PayloadInterface, |
|
|
|
|
|
|
|
Built<SignalingSessionDescriptionMessage_Payload, SignalingSessionDescriptionMessage_PayloadBuilder> { |
|
|
|
|
|
|
|
factory SignalingSessionDescriptionMessage_Payload([ |
|
|
|
|
|
|
|
final void Function(SignalingSessionDescriptionMessage_PayloadBuilder)? b, |
|
|
|
|
|
|
|
]) = _$SignalingSessionDescriptionMessage_Payload; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
const SignalingSessionDescriptionMessage_Payload._(); |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
factory SignalingSessionDescriptionMessage_Payload.fromJson(final Map<String, dynamic> json) => |
|
|
|
|
|
|
|
_jsonSerializers.deserializeWith(serializer, json)!; |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
Map<String, dynamic> toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map<String, dynamic>; |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static Serializer<SignalingSessionDescriptionMessage_Payload> get serializer => |
|
|
|
|
|
|
|
_$signalingSessionDescriptionMessagePayloadSerializer; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@BuiltValue(instantiable: false) |
|
|
|
|
|
|
|
abstract interface class SignalingSessionDescriptionMessageInterface { |
|
|
|
|
|
|
|
String get from; |
|
|
|
|
|
|
|
String get to; |
|
|
|
|
|
|
|
SignalingMessageType get type; |
|
|
|
|
|
|
|
SignalingRoomType? get roomType; |
|
|
|
|
|
|
|
String? get sid; |
|
|
|
|
|
|
|
SignalingSessionDescriptionMessage_Payload get payload; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
abstract class SignalingSessionDescriptionMessage |
|
|
|
|
|
|
|
implements |
|
|
|
|
|
|
|
SignalingSessionDescriptionMessageInterface, |
|
|
|
|
|
|
|
Built<SignalingSessionDescriptionMessage, SignalingSessionDescriptionMessageBuilder> { |
|
|
|
|
|
|
|
factory SignalingSessionDescriptionMessage([final void Function(SignalingSessionDescriptionMessageBuilder)? b]) = |
|
|
|
|
|
|
|
_$SignalingSessionDescriptionMessage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
const SignalingSessionDescriptionMessage._(); |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
factory SignalingSessionDescriptionMessage.fromJson(final Map<String, dynamic> json) => |
|
|
|
|
|
|
|
_jsonSerializers.deserializeWith(serializer, json)!; |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
Map<String, dynamic> toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map<String, dynamic>; |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static Serializer<SignalingSessionDescriptionMessage> get serializer => |
|
|
|
|
|
|
|
_$signalingSessionDescriptionMessageSerializer; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@BuiltValue(instantiable: false) |
|
|
|
|
|
|
|
abstract interface class SignalingICECandidateMessage_Payload_CandidateInterface { |
|
|
|
|
|
|
|
int get sdpMLineIndex; |
|
|
|
|
|
|
|
String get sdpMid; |
|
|
|
|
|
|
|
String get candidate; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
abstract class SignalingPullMessagesResponseApplicationJson_Ocs_Data_Data |
|
|
|
abstract class SignalingICECandidateMessage_Payload_Candidate |
|
|
|
implements |
|
|
|
implements |
|
|
|
SignalingPullMessagesResponseApplicationJson_Ocs_Data_DataInterface, |
|
|
|
SignalingICECandidateMessage_Payload_CandidateInterface, |
|
|
|
Built<SignalingPullMessagesResponseApplicationJson_Ocs_Data_Data, |
|
|
|
Built<SignalingICECandidateMessage_Payload_Candidate, SignalingICECandidateMessage_Payload_CandidateBuilder> { |
|
|
|
SignalingPullMessagesResponseApplicationJson_Ocs_Data_DataBuilder> { |
|
|
|
factory SignalingICECandidateMessage_Payload_Candidate([ |
|
|
|
factory SignalingPullMessagesResponseApplicationJson_Ocs_Data_Data([ |
|
|
|
final void Function(SignalingICECandidateMessage_Payload_CandidateBuilder)? b, |
|
|
|
final void Function(SignalingPullMessagesResponseApplicationJson_Ocs_Data_DataBuilder)? b, |
|
|
|
]) = _$SignalingICECandidateMessage_Payload_Candidate; |
|
|
|
]) = _$SignalingPullMessagesResponseApplicationJson_Ocs_Data_Data; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
// coverage:ignore-start |
|
|
|
const SignalingPullMessagesResponseApplicationJson_Ocs_Data_Data._(); |
|
|
|
const SignalingICECandidateMessage_Payload_Candidate._(); |
|
|
|
// coverage:ignore-end |
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
// coverage:ignore-start |
|
|
|
factory SignalingPullMessagesResponseApplicationJson_Ocs_Data_Data.fromJson(final Map<String, dynamic> json) => |
|
|
|
factory SignalingICECandidateMessage_Payload_Candidate.fromJson(final Map<String, dynamic> json) => |
|
|
|
|
|
|
|
_jsonSerializers.deserializeWith(serializer, json)!; |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
Map<String, dynamic> toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map<String, dynamic>; |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static Serializer<SignalingICECandidateMessage_Payload_Candidate> get serializer => |
|
|
|
|
|
|
|
_$signalingICECandidateMessagePayloadCandidateSerializer; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@BuiltValue(instantiable: false) |
|
|
|
|
|
|
|
abstract interface class SignalingICECandidateMessage_PayloadInterface { |
|
|
|
|
|
|
|
SignalingICECandidateMessage_Payload_Candidate get candidate; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
abstract class SignalingICECandidateMessage_Payload |
|
|
|
|
|
|
|
implements |
|
|
|
|
|
|
|
SignalingICECandidateMessage_PayloadInterface, |
|
|
|
|
|
|
|
Built<SignalingICECandidateMessage_Payload, SignalingICECandidateMessage_PayloadBuilder> { |
|
|
|
|
|
|
|
factory SignalingICECandidateMessage_Payload([final void Function(SignalingICECandidateMessage_PayloadBuilder)? b]) = |
|
|
|
|
|
|
|
_$SignalingICECandidateMessage_Payload; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
const SignalingICECandidateMessage_Payload._(); |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
factory SignalingICECandidateMessage_Payload.fromJson(final Map<String, dynamic> json) => |
|
|
|
|
|
|
|
_jsonSerializers.deserializeWith(serializer, json)!; |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
Map<String, dynamic> toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map<String, dynamic>; |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static Serializer<SignalingICECandidateMessage_Payload> get serializer => |
|
|
|
|
|
|
|
_$signalingICECandidateMessagePayloadSerializer; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@BuiltValue(instantiable: false) |
|
|
|
|
|
|
|
abstract interface class SignalingICECandidateMessageInterface { |
|
|
|
|
|
|
|
String get from; |
|
|
|
|
|
|
|
String get to; |
|
|
|
|
|
|
|
SignalingMessageType get type; |
|
|
|
|
|
|
|
SignalingRoomType? get roomType; |
|
|
|
|
|
|
|
String? get sid; |
|
|
|
|
|
|
|
SignalingICECandidateMessage_Payload get payload; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
abstract class SignalingICECandidateMessage |
|
|
|
|
|
|
|
implements |
|
|
|
|
|
|
|
SignalingICECandidateMessageInterface, |
|
|
|
|
|
|
|
Built<SignalingICECandidateMessage, SignalingICECandidateMessageBuilder> { |
|
|
|
|
|
|
|
factory SignalingICECandidateMessage([final void Function(SignalingICECandidateMessageBuilder)? b]) = |
|
|
|
|
|
|
|
_$SignalingICECandidateMessage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
const SignalingICECandidateMessage._(); |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
factory SignalingICECandidateMessage.fromJson(final Map<String, dynamic> json) => |
|
|
|
|
|
|
|
_jsonSerializers.deserializeWith(serializer, json)!; |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
Map<String, dynamic> toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map<String, dynamic>; |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static Serializer<SignalingICECandidateMessage> get serializer => _$signalingICECandidateMessageSerializer; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class SignalingMuteMessage_Payload_Name extends EnumClass { |
|
|
|
|
|
|
|
const SignalingMuteMessage_Payload_Name._(super.name); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static const SignalingMuteMessage_Payload_Name audio = _$signalingMuteMessagePayloadNameAudio; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static const SignalingMuteMessage_Payload_Name video = _$signalingMuteMessagePayloadNameVideo; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
static BuiltSet<SignalingMuteMessage_Payload_Name> get values => _$signalingMuteMessagePayloadNameValues; |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static SignalingMuteMessage_Payload_Name valueOf(final String name) => |
|
|
|
|
|
|
|
_$valueOfSignalingMuteMessage_Payload_Name(name); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static Serializer<SignalingMuteMessage_Payload_Name> get serializer => _$signalingMuteMessagePayloadNameSerializer; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@BuiltValue(instantiable: false) |
|
|
|
|
|
|
|
abstract interface class SignalingMuteMessage_PayloadInterface { |
|
|
|
|
|
|
|
SignalingMuteMessage_Payload_Name get name; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
abstract class SignalingMuteMessage_Payload |
|
|
|
|
|
|
|
implements |
|
|
|
|
|
|
|
SignalingMuteMessage_PayloadInterface, |
|
|
|
|
|
|
|
Built<SignalingMuteMessage_Payload, SignalingMuteMessage_PayloadBuilder> { |
|
|
|
|
|
|
|
factory SignalingMuteMessage_Payload([final void Function(SignalingMuteMessage_PayloadBuilder)? b]) = |
|
|
|
|
|
|
|
_$SignalingMuteMessage_Payload; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
const SignalingMuteMessage_Payload._(); |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
factory SignalingMuteMessage_Payload.fromJson(final Map<String, dynamic> json) => |
|
|
|
|
|
|
|
_jsonSerializers.deserializeWith(serializer, json)!; |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
Map<String, dynamic> toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map<String, dynamic>; |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static Serializer<SignalingMuteMessage_Payload> get serializer => _$signalingMuteMessagePayloadSerializer; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@BuiltValue(instantiable: false) |
|
|
|
|
|
|
|
abstract interface class SignalingMuteMessageInterface { |
|
|
|
|
|
|
|
String get from; |
|
|
|
|
|
|
|
String get to; |
|
|
|
|
|
|
|
SignalingMessageType get type; |
|
|
|
|
|
|
|
SignalingRoomType? get roomType; |
|
|
|
|
|
|
|
String? get sid; |
|
|
|
|
|
|
|
SignalingMuteMessage_Payload get payload; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
abstract class SignalingMuteMessage |
|
|
|
|
|
|
|
implements SignalingMuteMessageInterface, Built<SignalingMuteMessage, SignalingMuteMessageBuilder> { |
|
|
|
|
|
|
|
factory SignalingMuteMessage([final void Function(SignalingMuteMessageBuilder)? b]) = _$SignalingMuteMessage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
const SignalingMuteMessage._(); |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
factory SignalingMuteMessage.fromJson(final Map<String, dynamic> json) => |
|
|
|
|
|
|
|
_jsonSerializers.deserializeWith(serializer, json)!; |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
Map<String, dynamic> toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map<String, dynamic>; |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static Serializer<SignalingMuteMessage> get serializer => _$signalingMuteMessageSerializer; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@BuiltValue(instantiable: false) |
|
|
|
|
|
|
|
abstract interface class SignalingMessageInterface { |
|
|
|
|
|
|
|
SignalingSessionDescriptionMessage? get signalingSessionDescriptionMessage; |
|
|
|
|
|
|
|
SignalingICECandidateMessage? get signalingICECandidateMessage; |
|
|
|
|
|
|
|
SignalingMuteMessage? get signalingMuteMessage; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
abstract class SignalingMessage implements SignalingMessageInterface, Built<SignalingMessage, SignalingMessageBuilder> { |
|
|
|
|
|
|
|
factory SignalingMessage([final void Function(SignalingMessageBuilder)? b]) = _$SignalingMessage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
const SignalingMessage._(); |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
factory SignalingMessage.fromJson(final Map<String, dynamic> json) => |
|
|
|
_jsonSerializers.deserializeWith(serializer, json)!; |
|
|
|
_jsonSerializers.deserializeWith(serializer, json)!; |
|
|
|
// coverage:ignore-end |
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
@ -23371,86 +23702,113 @@ abstract class SignalingPullMessagesResponseApplicationJson_Ocs_Data_Data |
|
|
|
// coverage:ignore-end |
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
@BuiltValueSerializer(custom: true) |
|
|
|
@BuiltValueSerializer(custom: true) |
|
|
|
static Serializer<SignalingPullMessagesResponseApplicationJson_Ocs_Data_Data> get serializer => |
|
|
|
static Serializer<SignalingMessage> get serializer => _$SignalingMessageSerializer(); |
|
|
|
_$SignalingPullMessagesResponseApplicationJson_Ocs_Data_DataSerializer(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
JsonObject get data; |
|
|
|
JsonObject get data; |
|
|
|
@BuiltValueHook(finalizeBuilder: true) |
|
|
|
@BuiltValueHook(finalizeBuilder: true) |
|
|
|
static void _validate(final SignalingPullMessagesResponseApplicationJson_Ocs_Data_DataBuilder b) { |
|
|
|
static void _validate(final SignalingMessageBuilder b) { |
|
|
|
// When this is rebuild from another builder |
|
|
|
// When this is rebuild from another builder |
|
|
|
if (b._data == null) { |
|
|
|
if (b._data == null) { |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
final match = [b._builtListSignalingSession, b._string].singleWhereOrNull((final x) => x != null); |
|
|
|
final match = [b._signalingSessionDescriptionMessage, b._signalingICECandidateMessage, b._signalingMuteMessage] |
|
|
|
|
|
|
|
.singleWhereOrNull((final x) => x != null); |
|
|
|
if (match == null) { |
|
|
|
if (match == null) { |
|
|
|
throw StateError("Need exactly one of 'builtListSignalingSession', 'string' for ${b._data}"); |
|
|
|
throw StateError( |
|
|
|
|
|
|
|
"Need exactly one of 'signalingSessionDescriptionMessage', 'signalingICECandidateMessage', 'signalingMuteMessage' for ${b._data}", |
|
|
|
|
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
class _$SignalingPullMessagesResponseApplicationJson_Ocs_Data_DataSerializer |
|
|
|
class _$SignalingMessageSerializer implements PrimitiveSerializer<SignalingMessage> { |
|
|
|
implements PrimitiveSerializer<SignalingPullMessagesResponseApplicationJson_Ocs_Data_Data> { |
|
|
|
|
|
|
|
@override |
|
|
|
@override |
|
|
|
final Iterable<Type> types = const [ |
|
|
|
final Iterable<Type> types = const [SignalingMessage, _$SignalingMessage]; |
|
|
|
SignalingPullMessagesResponseApplicationJson_Ocs_Data_Data, |
|
|
|
|
|
|
|
_$SignalingPullMessagesResponseApplicationJson_Ocs_Data_Data, |
|
|
|
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@override |
|
|
|
@override |
|
|
|
final String wireName = 'SignalingPullMessagesResponseApplicationJson_Ocs_Data_Data'; |
|
|
|
final String wireName = 'SignalingMessage'; |
|
|
|
|
|
|
|
|
|
|
|
@override |
|
|
|
@override |
|
|
|
Object serialize( |
|
|
|
Object serialize( |
|
|
|
final Serializers serializers, |
|
|
|
final Serializers serializers, |
|
|
|
final SignalingPullMessagesResponseApplicationJson_Ocs_Data_Data object, { |
|
|
|
final SignalingMessage object, { |
|
|
|
final FullType specifiedType = FullType.unspecified, |
|
|
|
final FullType specifiedType = FullType.unspecified, |
|
|
|
}) => |
|
|
|
}) => |
|
|
|
object.data.value; |
|
|
|
object.data.value; |
|
|
|
|
|
|
|
|
|
|
|
@override |
|
|
|
@override |
|
|
|
SignalingPullMessagesResponseApplicationJson_Ocs_Data_Data deserialize( |
|
|
|
SignalingMessage deserialize( |
|
|
|
final Serializers serializers, |
|
|
|
final Serializers serializers, |
|
|
|
final Object data, { |
|
|
|
final Object data, { |
|
|
|
final FullType specifiedType = FullType.unspecified, |
|
|
|
final FullType specifiedType = FullType.unspecified, |
|
|
|
}) { |
|
|
|
}) { |
|
|
|
final result = SignalingPullMessagesResponseApplicationJson_Ocs_Data_DataBuilder()..data = JsonObject(data); |
|
|
|
final result = SignalingMessageBuilder()..data = JsonObject(data); |
|
|
|
|
|
|
|
if (data is! Iterable) { |
|
|
|
|
|
|
|
throw StateError('Expected an Iterable but got ${data.runtimeType}'); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
String? discriminator; |
|
|
|
|
|
|
|
final iterator = data.iterator; |
|
|
|
|
|
|
|
while (iterator.moveNext()) { |
|
|
|
|
|
|
|
final key = iterator.current! as String; |
|
|
|
|
|
|
|
iterator.moveNext(); |
|
|
|
|
|
|
|
final Object? value = iterator.current; |
|
|
|
|
|
|
|
if (key == 'type') { |
|
|
|
|
|
|
|
discriminator = value! as String; |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (discriminator == 'SignalingSessionDescriptionMessage' || |
|
|
|
|
|
|
|
discriminator == 'offer' || |
|
|
|
|
|
|
|
discriminator == 'answer') { |
|
|
|
try { |
|
|
|
try { |
|
|
|
final value = _jsonSerializers.deserialize( |
|
|
|
final value = _jsonSerializers.deserialize( |
|
|
|
data, |
|
|
|
data, |
|
|
|
specifiedType: const FullType(BuiltList, [FullType(SignalingSession)]), |
|
|
|
specifiedType: const FullType(SignalingSessionDescriptionMessage), |
|
|
|
)! as BuiltList<SignalingSession>; |
|
|
|
)! as SignalingSessionDescriptionMessage; |
|
|
|
result.builtListSignalingSession.replace(value); |
|
|
|
result.signalingSessionDescriptionMessage.replace(value); |
|
|
|
} catch (_) {} |
|
|
|
} catch (_) { |
|
|
|
|
|
|
|
rethrow; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (discriminator == 'SignalingICECandidateMessage' || discriminator == 'candidate') { |
|
|
|
try { |
|
|
|
try { |
|
|
|
final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(String))! as String; |
|
|
|
final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(SignalingICECandidateMessage))! |
|
|
|
result.string = value; |
|
|
|
as SignalingICECandidateMessage; |
|
|
|
} catch (_) {} |
|
|
|
result.signalingICECandidateMessage.replace(value); |
|
|
|
|
|
|
|
} catch (_) { |
|
|
|
|
|
|
|
rethrow; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (discriminator == 'SignalingMuteMessage' || discriminator == 'mute' || discriminator == 'unmute') { |
|
|
|
|
|
|
|
try { |
|
|
|
|
|
|
|
final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(SignalingMuteMessage))! |
|
|
|
|
|
|
|
as SignalingMuteMessage; |
|
|
|
|
|
|
|
result.signalingMuteMessage.replace(value); |
|
|
|
|
|
|
|
} catch (_) { |
|
|
|
|
|
|
|
rethrow; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
return result.build(); |
|
|
|
return result.build(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@BuiltValue(instantiable: false) |
|
|
|
@BuiltValue(instantiable: false) |
|
|
|
abstract interface class SignalingPullMessagesResponseApplicationJson_Ocs_DataInterface { |
|
|
|
abstract interface class SignalingMessageWrapperInterface { |
|
|
|
String get type; |
|
|
|
String get type; |
|
|
|
SignalingPullMessagesResponseApplicationJson_Ocs_Data_Data get data; |
|
|
|
ContentString<SignalingMessage> get data; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
abstract class SignalingPullMessagesResponseApplicationJson_Ocs_Data |
|
|
|
abstract class SignalingMessageWrapper |
|
|
|
implements |
|
|
|
implements SignalingMessageWrapperInterface, Built<SignalingMessageWrapper, SignalingMessageWrapperBuilder> { |
|
|
|
SignalingPullMessagesResponseApplicationJson_Ocs_DataInterface, |
|
|
|
factory SignalingMessageWrapper([final void Function(SignalingMessageWrapperBuilder)? b]) = _$SignalingMessageWrapper; |
|
|
|
Built<SignalingPullMessagesResponseApplicationJson_Ocs_Data, |
|
|
|
|
|
|
|
SignalingPullMessagesResponseApplicationJson_Ocs_DataBuilder> { |
|
|
|
|
|
|
|
factory SignalingPullMessagesResponseApplicationJson_Ocs_Data([ |
|
|
|
|
|
|
|
final void Function(SignalingPullMessagesResponseApplicationJson_Ocs_DataBuilder)? b, |
|
|
|
|
|
|
|
]) = _$SignalingPullMessagesResponseApplicationJson_Ocs_Data; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
// coverage:ignore-start |
|
|
|
const SignalingPullMessagesResponseApplicationJson_Ocs_Data._(); |
|
|
|
const SignalingMessageWrapper._(); |
|
|
|
// coverage:ignore-end |
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
// coverage:ignore-start |
|
|
|
factory SignalingPullMessagesResponseApplicationJson_Ocs_Data.fromJson(final Map<String, dynamic> json) => |
|
|
|
factory SignalingMessageWrapper.fromJson(final Map<String, dynamic> json) => |
|
|
|
_jsonSerializers.deserializeWith(serializer, json)!; |
|
|
|
_jsonSerializers.deserializeWith(serializer, json)!; |
|
|
|
// coverage:ignore-end |
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
@ -23458,14 +23816,111 @@ abstract class SignalingPullMessagesResponseApplicationJson_Ocs_Data |
|
|
|
Map<String, dynamic> toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map<String, dynamic>; |
|
|
|
Map<String, dynamic> toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map<String, dynamic>; |
|
|
|
// coverage:ignore-end |
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
static Serializer<SignalingPullMessagesResponseApplicationJson_Ocs_Data> get serializer => |
|
|
|
static Serializer<SignalingMessageWrapper> get serializer => _$signalingMessageWrapperSerializer; |
|
|
|
_$signalingPullMessagesResponseApplicationJsonOcsDataSerializer; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@BuiltValue(instantiable: false) |
|
|
|
|
|
|
|
abstract interface class SignalingDataInterface { |
|
|
|
|
|
|
|
SignalingSessions? get signalingSessions; |
|
|
|
|
|
|
|
SignalingMessageWrapper? get signalingMessageWrapper; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
abstract class SignalingData implements SignalingDataInterface, Built<SignalingData, SignalingDataBuilder> { |
|
|
|
|
|
|
|
factory SignalingData([final void Function(SignalingDataBuilder)? b]) = _$SignalingData; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
const SignalingData._(); |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
factory SignalingData.fromJson(final Map<String, dynamic> json) => |
|
|
|
|
|
|
|
_jsonSerializers.deserializeWith(serializer, json)!; |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
Map<String, dynamic> toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map<String, dynamic>; |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@BuiltValueSerializer(custom: true) |
|
|
|
|
|
|
|
static Serializer<SignalingData> get serializer => _$SignalingDataSerializer(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
JsonObject get data; |
|
|
|
|
|
|
|
@BuiltValueHook(finalizeBuilder: true) |
|
|
|
|
|
|
|
static void _validate(final SignalingDataBuilder b) { |
|
|
|
|
|
|
|
// When this is rebuild from another builder |
|
|
|
|
|
|
|
if (b._data == null) { |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
final match = [b._signalingSessions, b._signalingMessageWrapper].singleWhereOrNull((final x) => x != null); |
|
|
|
|
|
|
|
if (match == null) { |
|
|
|
|
|
|
|
throw StateError("Need exactly one of 'signalingSessions', 'signalingMessageWrapper' for ${b._data}"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class _$SignalingDataSerializer implements PrimitiveSerializer<SignalingData> { |
|
|
|
|
|
|
|
@override |
|
|
|
|
|
|
|
final Iterable<Type> types = const [SignalingData, _$SignalingData]; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@override |
|
|
|
|
|
|
|
final String wireName = 'SignalingData'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@override |
|
|
|
|
|
|
|
Object serialize( |
|
|
|
|
|
|
|
final Serializers serializers, |
|
|
|
|
|
|
|
final SignalingData object, { |
|
|
|
|
|
|
|
final FullType specifiedType = FullType.unspecified, |
|
|
|
|
|
|
|
}) => |
|
|
|
|
|
|
|
object.data.value; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@override |
|
|
|
|
|
|
|
SignalingData deserialize( |
|
|
|
|
|
|
|
final Serializers serializers, |
|
|
|
|
|
|
|
final Object data, { |
|
|
|
|
|
|
|
final FullType specifiedType = FullType.unspecified, |
|
|
|
|
|
|
|
}) { |
|
|
|
|
|
|
|
final result = SignalingDataBuilder()..data = JsonObject(data); |
|
|
|
|
|
|
|
if (data is! Iterable) { |
|
|
|
|
|
|
|
throw StateError('Expected an Iterable but got ${data.runtimeType}'); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
String? discriminator; |
|
|
|
|
|
|
|
final iterator = data.iterator; |
|
|
|
|
|
|
|
while (iterator.moveNext()) { |
|
|
|
|
|
|
|
final key = iterator.current! as String; |
|
|
|
|
|
|
|
iterator.moveNext(); |
|
|
|
|
|
|
|
final Object? value = iterator.current; |
|
|
|
|
|
|
|
if (key == 'type') { |
|
|
|
|
|
|
|
discriminator = value! as String; |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (discriminator == 'SignalingSessions' || discriminator == 'usersInRoom') { |
|
|
|
|
|
|
|
try { |
|
|
|
|
|
|
|
final value = |
|
|
|
|
|
|
|
_jsonSerializers.deserialize(data, specifiedType: const FullType(SignalingSessions))! as SignalingSessions; |
|
|
|
|
|
|
|
result.signalingSessions.replace(value); |
|
|
|
|
|
|
|
} catch (_) { |
|
|
|
|
|
|
|
rethrow; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (discriminator == 'SignalingMessageWrapper' || discriminator == 'message') { |
|
|
|
|
|
|
|
try { |
|
|
|
|
|
|
|
final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(SignalingMessageWrapper))! |
|
|
|
|
|
|
|
as SignalingMessageWrapper; |
|
|
|
|
|
|
|
result.signalingMessageWrapper.replace(value); |
|
|
|
|
|
|
|
} catch (_) { |
|
|
|
|
|
|
|
rethrow; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
return result.build(); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@BuiltValue(instantiable: false) |
|
|
|
@BuiltValue(instantiable: false) |
|
|
|
abstract interface class SignalingPullMessagesResponseApplicationJson_OcsInterface { |
|
|
|
abstract interface class SignalingPullMessagesResponseApplicationJson_OcsInterface { |
|
|
|
OCSMeta get meta; |
|
|
|
OCSMeta get meta; |
|
|
|
BuiltList<SignalingPullMessagesResponseApplicationJson_Ocs_Data> get data; |
|
|
|
BuiltList<SignalingData> get data; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
abstract class SignalingPullMessagesResponseApplicationJson_Ocs |
|
|
|
abstract class SignalingPullMessagesResponseApplicationJson_Ocs |
|
|
@ -23524,6 +23979,39 @@ abstract class SignalingPullMessagesResponseApplicationJson |
|
|
|
_$signalingPullMessagesResponseApplicationJsonSerializer; |
|
|
|
_$signalingPullMessagesResponseApplicationJsonSerializer; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@BuiltValue(instantiable: false) |
|
|
|
|
|
|
|
abstract interface class SignalingSendMessagesMessagesInterface { |
|
|
|
|
|
|
|
String get ev; |
|
|
|
|
|
|
|
ContentString<SignalingMessage> get fn; |
|
|
|
|
|
|
|
String get sessionId; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
abstract class SignalingSendMessagesMessages |
|
|
|
|
|
|
|
implements |
|
|
|
|
|
|
|
SignalingSendMessagesMessagesInterface, |
|
|
|
|
|
|
|
Built<SignalingSendMessagesMessages, SignalingSendMessagesMessagesBuilder> { |
|
|
|
|
|
|
|
factory SignalingSendMessagesMessages([final void Function(SignalingSendMessagesMessagesBuilder)? b]) = |
|
|
|
|
|
|
|
_$SignalingSendMessagesMessages; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
const SignalingSendMessagesMessages._(); |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
factory SignalingSendMessagesMessages.fromJson(final Map<String, dynamic> json) => |
|
|
|
|
|
|
|
_jsonSerializers.deserializeWith(serializer, json)!; |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
Map<String, dynamic> toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map<String, dynamic>; |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static Serializer<SignalingSendMessagesMessages> get serializer => _$signalingSendMessagesMessagesSerializer; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@BuiltValueHook(initializeBuilder: true) |
|
|
|
|
|
|
|
static void _defaults(final SignalingSendMessagesMessagesBuilder b) => b..ev = 'message'; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
class SignalingSendMessagesApiVersion extends EnumClass { |
|
|
|
class SignalingSendMessagesApiVersion extends EnumClass { |
|
|
|
const SignalingSendMessagesApiVersion._(super.name); |
|
|
|
const SignalingSendMessagesApiVersion._(super.name); |
|
|
|
|
|
|
|
|
|
|
@ -25511,22 +25999,60 @@ final Serializers _serializers = (Serializers().toBuilder() |
|
|
|
SignalingPullMessagesResponseApplicationJson_Ocs.new, |
|
|
|
SignalingPullMessagesResponseApplicationJson_Ocs.new, |
|
|
|
) |
|
|
|
) |
|
|
|
..add(SignalingPullMessagesResponseApplicationJson_Ocs.serializer) |
|
|
|
..add(SignalingPullMessagesResponseApplicationJson_Ocs.serializer) |
|
|
|
|
|
|
|
..addBuilderFactory(const FullType(SignalingData), SignalingData.new) |
|
|
|
|
|
|
|
..add(SignalingData.serializer) |
|
|
|
|
|
|
|
..addBuilderFactory(const FullType(SignalingSessions), SignalingSessions.new) |
|
|
|
|
|
|
|
..add(SignalingSessions.serializer) |
|
|
|
|
|
|
|
..addBuilderFactory(const FullType(SignalingSession), SignalingSession.new) |
|
|
|
|
|
|
|
..add(SignalingSession.serializer) |
|
|
|
|
|
|
|
..addBuilderFactory(const FullType(BuiltList, [FullType(SignalingSession)]), ListBuilder<SignalingSession>.new) |
|
|
|
|
|
|
|
..addBuilderFactory(const FullType(SignalingMessageWrapper), SignalingMessageWrapper.new) |
|
|
|
|
|
|
|
..add(SignalingMessageWrapper.serializer) |
|
|
|
|
|
|
|
..addBuilderFactory(const FullType(SignalingMessage), SignalingMessage.new) |
|
|
|
|
|
|
|
..add(SignalingMessage.serializer) |
|
|
|
|
|
|
|
..addBuilderFactory(const FullType(SignalingSessionDescriptionMessage), SignalingSessionDescriptionMessage.new) |
|
|
|
|
|
|
|
..add(SignalingSessionDescriptionMessage.serializer) |
|
|
|
|
|
|
|
..add(SignalingMessageType.serializer) |
|
|
|
|
|
|
|
..add(SignalingRoomType.serializer) |
|
|
|
..addBuilderFactory( |
|
|
|
..addBuilderFactory( |
|
|
|
const FullType(SignalingPullMessagesResponseApplicationJson_Ocs_Data), |
|
|
|
const FullType(SignalingSessionDescriptionMessage_Payload), |
|
|
|
SignalingPullMessagesResponseApplicationJson_Ocs_Data.new, |
|
|
|
SignalingSessionDescriptionMessage_Payload.new, |
|
|
|
) |
|
|
|
) |
|
|
|
..add(SignalingPullMessagesResponseApplicationJson_Ocs_Data.serializer) |
|
|
|
..add(SignalingSessionDescriptionMessage_Payload.serializer) |
|
|
|
|
|
|
|
..add(SignalingSessionDescriptionMessage_Payload_Type.serializer) |
|
|
|
|
|
|
|
..addBuilderFactory(const FullType(SignalingICECandidateMessage), SignalingICECandidateMessage.new) |
|
|
|
|
|
|
|
..add(SignalingICECandidateMessage.serializer) |
|
|
|
..addBuilderFactory( |
|
|
|
..addBuilderFactory( |
|
|
|
const FullType(SignalingPullMessagesResponseApplicationJson_Ocs_Data_Data), |
|
|
|
const FullType(SignalingICECandidateMessage_Payload), |
|
|
|
SignalingPullMessagesResponseApplicationJson_Ocs_Data_Data.new, |
|
|
|
SignalingICECandidateMessage_Payload.new, |
|
|
|
) |
|
|
|
) |
|
|
|
..add(SignalingPullMessagesResponseApplicationJson_Ocs_Data_Data.serializer) |
|
|
|
..add(SignalingICECandidateMessage_Payload.serializer) |
|
|
|
..addBuilderFactory(const FullType(SignalingSession), SignalingSession.new) |
|
|
|
..addBuilderFactory( |
|
|
|
..add(SignalingSession.serializer) |
|
|
|
const FullType(SignalingICECandidateMessage_Payload_Candidate), |
|
|
|
..addBuilderFactory(const FullType(BuiltList, [FullType(SignalingSession)]), ListBuilder<SignalingSession>.new) |
|
|
|
SignalingICECandidateMessage_Payload_Candidate.new, |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
..add(SignalingICECandidateMessage_Payload_Candidate.serializer) |
|
|
|
|
|
|
|
..addBuilderFactory(const FullType(SignalingMuteMessage), SignalingMuteMessage.new) |
|
|
|
|
|
|
|
..add(SignalingMuteMessage.serializer) |
|
|
|
|
|
|
|
..addBuilderFactory(const FullType(SignalingMuteMessage_Payload), SignalingMuteMessage_Payload.new) |
|
|
|
|
|
|
|
..add(SignalingMuteMessage_Payload.serializer) |
|
|
|
|
|
|
|
..add(SignalingMuteMessage_Payload_Name.serializer) |
|
|
|
|
|
|
|
..addBuilderFactory( |
|
|
|
|
|
|
|
const FullType(ContentString, [FullType(SignalingMessage)]), |
|
|
|
|
|
|
|
ContentString<SignalingMessage>.new, |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
..addBuilderFactory(const FullType(BuiltList, [FullType(SignalingData)]), ListBuilder<SignalingData>.new) |
|
|
|
|
|
|
|
..addBuilderFactory(const FullType(SignalingSendMessagesMessages), SignalingSendMessagesMessages.new) |
|
|
|
|
|
|
|
..add(SignalingSendMessagesMessages.serializer) |
|
|
|
..addBuilderFactory( |
|
|
|
..addBuilderFactory( |
|
|
|
const FullType(BuiltList, [FullType(SignalingPullMessagesResponseApplicationJson_Ocs_Data)]), |
|
|
|
const FullType(BuiltList, [FullType(SignalingSendMessagesMessages)]), |
|
|
|
ListBuilder<SignalingPullMessagesResponseApplicationJson_Ocs_Data>.new, |
|
|
|
ListBuilder<SignalingSendMessagesMessages>.new, |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
..addBuilderFactory( |
|
|
|
|
|
|
|
const FullType(ContentString, [ |
|
|
|
|
|
|
|
FullType(BuiltList, [FullType(SignalingSendMessagesMessages)]), |
|
|
|
|
|
|
|
]), |
|
|
|
|
|
|
|
ContentString<BuiltList<SignalingSendMessagesMessages>>.new, |
|
|
|
) |
|
|
|
) |
|
|
|
..add(SignalingSendMessagesApiVersion.serializer) |
|
|
|
..add(SignalingSendMessagesApiVersion.serializer) |
|
|
|
..addBuilderFactory( |
|
|
|
..addBuilderFactory( |
|
|
|