Browse Source

Merge pull request #1122 from nextcloud/chore/nextcloud/update-spreed-spec

pull/1113/head
Kate 1 year ago committed by GitHub
parent
commit
916e57f9a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      external/nextcloud-spreed
  2. 12
      packages/nextcloud/lib/src/api/spreed.openapi.dart
  3. 112
      packages/nextcloud/lib/src/api/spreed.openapi.g.dart
  4. 18
      packages/nextcloud/lib/src/api/spreed.openapi.json

2
external/nextcloud-spreed vendored

@ -1 +1 @@
Subproject commit ec8eb42fe3ef5d0f0247a3fd078099e49d0140c3
Subproject commit 7489cced7336f83d477aeda5c902f5bb08ebddfd

12
packages/nextcloud/lib/src/api/spreed.openapi.dart

@ -16609,14 +16609,14 @@ abstract interface class FederationInviteInterface {
@BuiltValueField(wireName: 'access_token')
String get accessToken;
int get id;
@BuiltValueField(wireName: 'remote_id')
String get remoteId;
@BuiltValueField(wireName: 'remote_server')
String get remoteServer;
@BuiltValueField(wireName: 'local_room_id')
int get localRoomId;
@BuiltValueField(wireName: 'remote_attendee_id')
String get remoteAttendeeId;
@BuiltValueField(wireName: 'remote_server_url')
String get remoteServerUrl;
@BuiltValueField(wireName: 'remote_token')
String get remoteToken;
@BuiltValueField(wireName: 'room_id')
int get roomId;
@BuiltValueField(wireName: 'user_id')
String get userId;
}

112
packages/nextcloud/lib/src/api/spreed.openapi.g.dart

@ -8398,14 +8398,14 @@ class _$FederationInviteSerializer implements StructuredSerializer<FederationInv
serializers.serialize(object.accessToken, specifiedType: const FullType(String)),
'id',
serializers.serialize(object.id, specifiedType: const FullType(int)),
'remote_id',
serializers.serialize(object.remoteId, specifiedType: const FullType(String)),
'remote_server',
serializers.serialize(object.remoteServer, specifiedType: const FullType(String)),
'local_room_id',
serializers.serialize(object.localRoomId, specifiedType: const FullType(int)),
'remote_attendee_id',
serializers.serialize(object.remoteAttendeeId, specifiedType: const FullType(String)),
'remote_server_url',
serializers.serialize(object.remoteServerUrl, specifiedType: const FullType(String)),
'remote_token',
serializers.serialize(object.remoteToken, specifiedType: const FullType(String)),
'room_id',
serializers.serialize(object.roomId, specifiedType: const FullType(int)),
'user_id',
serializers.serialize(object.userId, specifiedType: const FullType(String)),
];
@ -8430,18 +8430,18 @@ class _$FederationInviteSerializer implements StructuredSerializer<FederationInv
case 'id':
result.id = serializers.deserialize(value, specifiedType: const FullType(int))! as int;
break;
case 'remote_id':
result.remoteId = serializers.deserialize(value, specifiedType: const FullType(String))! as String;
case 'local_room_id':
result.localRoomId = serializers.deserialize(value, specifiedType: const FullType(int))! as int;
break;
case 'remote_attendee_id':
result.remoteAttendeeId = serializers.deserialize(value, specifiedType: const FullType(String))! as String;
break;
case 'remote_server':
result.remoteServer = serializers.deserialize(value, specifiedType: const FullType(String))! as String;
case 'remote_server_url':
result.remoteServerUrl = serializers.deserialize(value, specifiedType: const FullType(String))! as String;
break;
case 'remote_token':
result.remoteToken = serializers.deserialize(value, specifiedType: const FullType(String))! as String;
break;
case 'room_id':
result.roomId = serializers.deserialize(value, specifiedType: const FullType(int))! as int;
break;
case 'user_id':
result.userId = serializers.deserialize(value, specifiedType: const FullType(String))! as String;
break;
@ -31211,18 +31211,18 @@ abstract mixin class FederationInviteInterfaceBuilder {
int? get id;
set id(int? id);
String? get remoteId;
set remoteId(String? remoteId);
int? get localRoomId;
set localRoomId(int? localRoomId);
String? get remoteAttendeeId;
set remoteAttendeeId(String? remoteAttendeeId);
String? get remoteServer;
set remoteServer(String? remoteServer);
String? get remoteServerUrl;
set remoteServerUrl(String? remoteServerUrl);
String? get remoteToken;
set remoteToken(String? remoteToken);
int? get roomId;
set roomId(int? roomId);
String? get userId;
set userId(String? userId);
}
@ -31233,13 +31233,13 @@ class _$FederationInvite extends FederationInvite {
@override
final int id;
@override
final String remoteId;
final int localRoomId;
@override
final String remoteServer;
final String remoteAttendeeId;
@override
final String remoteToken;
final String remoteServerUrl;
@override
final int roomId;
final String remoteToken;
@override
final String userId;
@ -31249,18 +31249,18 @@ class _$FederationInvite extends FederationInvite {
_$FederationInvite._(
{required this.accessToken,
required this.id,
required this.remoteId,
required this.remoteServer,
required this.localRoomId,
required this.remoteAttendeeId,
required this.remoteServerUrl,
required this.remoteToken,
required this.roomId,
required this.userId})
: super._() {
BuiltValueNullFieldError.checkNotNull(accessToken, r'FederationInvite', 'accessToken');
BuiltValueNullFieldError.checkNotNull(id, r'FederationInvite', 'id');
BuiltValueNullFieldError.checkNotNull(remoteId, r'FederationInvite', 'remoteId');
BuiltValueNullFieldError.checkNotNull(remoteServer, r'FederationInvite', 'remoteServer');
BuiltValueNullFieldError.checkNotNull(localRoomId, r'FederationInvite', 'localRoomId');
BuiltValueNullFieldError.checkNotNull(remoteAttendeeId, r'FederationInvite', 'remoteAttendeeId');
BuiltValueNullFieldError.checkNotNull(remoteServerUrl, r'FederationInvite', 'remoteServerUrl');
BuiltValueNullFieldError.checkNotNull(remoteToken, r'FederationInvite', 'remoteToken');
BuiltValueNullFieldError.checkNotNull(roomId, r'FederationInvite', 'roomId');
BuiltValueNullFieldError.checkNotNull(userId, r'FederationInvite', 'userId');
}
@ -31276,10 +31276,10 @@ class _$FederationInvite extends FederationInvite {
return other is FederationInvite &&
accessToken == other.accessToken &&
id == other.id &&
remoteId == other.remoteId &&
remoteServer == other.remoteServer &&
localRoomId == other.localRoomId &&
remoteAttendeeId == other.remoteAttendeeId &&
remoteServerUrl == other.remoteServerUrl &&
remoteToken == other.remoteToken &&
roomId == other.roomId &&
userId == other.userId;
}
@ -31288,10 +31288,10 @@ class _$FederationInvite extends FederationInvite {
var _$hash = 0;
_$hash = $jc(_$hash, accessToken.hashCode);
_$hash = $jc(_$hash, id.hashCode);
_$hash = $jc(_$hash, remoteId.hashCode);
_$hash = $jc(_$hash, remoteServer.hashCode);
_$hash = $jc(_$hash, localRoomId.hashCode);
_$hash = $jc(_$hash, remoteAttendeeId.hashCode);
_$hash = $jc(_$hash, remoteServerUrl.hashCode);
_$hash = $jc(_$hash, remoteToken.hashCode);
_$hash = $jc(_$hash, roomId.hashCode);
_$hash = $jc(_$hash, userId.hashCode);
_$hash = $jf(_$hash);
return _$hash;
@ -31302,10 +31302,10 @@ class _$FederationInvite extends FederationInvite {
return (newBuiltValueToStringHelper(r'FederationInvite')
..add('accessToken', accessToken)
..add('id', id)
..add('remoteId', remoteId)
..add('remoteServer', remoteServer)
..add('localRoomId', localRoomId)
..add('remoteAttendeeId', remoteAttendeeId)
..add('remoteServerUrl', remoteServerUrl)
..add('remoteToken', remoteToken)
..add('roomId', roomId)
..add('userId', userId))
.toString();
}
@ -31323,22 +31323,22 @@ class FederationInviteBuilder
int? get id => _$this._id;
set id(covariant int? id) => _$this._id = id;
String? _remoteId;
String? get remoteId => _$this._remoteId;
set remoteId(covariant String? remoteId) => _$this._remoteId = remoteId;
int? _localRoomId;
int? get localRoomId => _$this._localRoomId;
set localRoomId(covariant int? localRoomId) => _$this._localRoomId = localRoomId;
String? _remoteAttendeeId;
String? get remoteAttendeeId => _$this._remoteAttendeeId;
set remoteAttendeeId(covariant String? remoteAttendeeId) => _$this._remoteAttendeeId = remoteAttendeeId;
String? _remoteServer;
String? get remoteServer => _$this._remoteServer;
set remoteServer(covariant String? remoteServer) => _$this._remoteServer = remoteServer;
String? _remoteServerUrl;
String? get remoteServerUrl => _$this._remoteServerUrl;
set remoteServerUrl(covariant String? remoteServerUrl) => _$this._remoteServerUrl = remoteServerUrl;
String? _remoteToken;
String? get remoteToken => _$this._remoteToken;
set remoteToken(covariant String? remoteToken) => _$this._remoteToken = remoteToken;
int? _roomId;
int? get roomId => _$this._roomId;
set roomId(covariant int? roomId) => _$this._roomId = roomId;
String? _userId;
String? get userId => _$this._userId;
set userId(covariant String? userId) => _$this._userId = userId;
@ -31350,10 +31350,10 @@ class FederationInviteBuilder
if ($v != null) {
_accessToken = $v.accessToken;
_id = $v.id;
_remoteId = $v.remoteId;
_remoteServer = $v.remoteServer;
_localRoomId = $v.localRoomId;
_remoteAttendeeId = $v.remoteAttendeeId;
_remoteServerUrl = $v.remoteServerUrl;
_remoteToken = $v.remoteToken;
_roomId = $v.roomId;
_userId = $v.userId;
_$v = null;
}
@ -31379,10 +31379,12 @@ class FederationInviteBuilder
_$FederationInvite._(
accessToken: BuiltValueNullFieldError.checkNotNull(accessToken, r'FederationInvite', 'accessToken'),
id: BuiltValueNullFieldError.checkNotNull(id, r'FederationInvite', 'id'),
remoteId: BuiltValueNullFieldError.checkNotNull(remoteId, r'FederationInvite', 'remoteId'),
remoteServer: BuiltValueNullFieldError.checkNotNull(remoteServer, r'FederationInvite', 'remoteServer'),
localRoomId: BuiltValueNullFieldError.checkNotNull(localRoomId, r'FederationInvite', 'localRoomId'),
remoteAttendeeId:
BuiltValueNullFieldError.checkNotNull(remoteAttendeeId, r'FederationInvite', 'remoteAttendeeId'),
remoteServerUrl:
BuiltValueNullFieldError.checkNotNull(remoteServerUrl, r'FederationInvite', 'remoteServerUrl'),
remoteToken: BuiltValueNullFieldError.checkNotNull(remoteToken, r'FederationInvite', 'remoteToken'),
roomId: BuiltValueNullFieldError.checkNotNull(roomId, r'FederationInvite', 'roomId'),
userId: BuiltValueNullFieldError.checkNotNull(userId, r'FederationInvite', 'userId'));
replace(_$result);
return _$result;

18
packages/nextcloud/lib/src/api/spreed.openapi.json

@ -306,10 +306,10 @@
"required": [
"access_token",
"id",
"remote_id",
"remote_server",
"local_room_id",
"remote_attendee_id",
"remote_server_url",
"remote_token",
"room_id",
"user_id"
],
"properties": {
@ -320,19 +320,19 @@
"type": "integer",
"format": "int64"
},
"remote_id": {
"local_room_id": {
"type": "integer",
"format": "int64"
},
"remote_attendee_id": {
"type": "string"
},
"remote_server": {
"remote_server_url": {
"type": "string"
},
"remote_token": {
"type": "string"
},
"room_id": {
"type": "integer",
"format": "int64"
},
"user_id": {
"type": "string"
}

Loading…
Cancel
Save