2484 lines
82 KiB
Dart
2484 lines
82 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'users.req.gql.dart';
|
|
|
|
// **************************************************************************
|
|
// BuiltValueGenerator
|
|
// **************************************************************************
|
|
|
|
Serializer<GFollowersReq> _$gFollowersReqSerializer =
|
|
new _$GFollowersReqSerializer();
|
|
Serializer<GFollowingReq> _$gFollowingReqSerializer =
|
|
new _$GFollowingReqSerializer();
|
|
Serializer<GOrgsReq> _$gOrgsReqSerializer = new _$GOrgsReqSerializer();
|
|
Serializer<GMembersReq> _$gMembersReqSerializer = new _$GMembersReqSerializer();
|
|
Serializer<GWatchersReq> _$gWatchersReqSerializer =
|
|
new _$GWatchersReqSerializer();
|
|
Serializer<GStargazersReq> _$gStargazersReqSerializer =
|
|
new _$GStargazersReqSerializer();
|
|
Serializer<GUserPartsReq> _$gUserPartsReqSerializer =
|
|
new _$GUserPartsReqSerializer();
|
|
Serializer<GOrgPartsReq> _$gOrgPartsReqSerializer =
|
|
new _$GOrgPartsReqSerializer();
|
|
|
|
class _$GFollowersReqSerializer implements StructuredSerializer<GFollowersReq> {
|
|
@override
|
|
final Iterable<Type> types = const [GFollowersReq, _$GFollowersReq];
|
|
@override
|
|
final String wireName = 'GFollowersReq';
|
|
|
|
@override
|
|
Iterable<Object?> serialize(Serializers serializers, GFollowersReq object,
|
|
{FullType specifiedType = FullType.unspecified}) {
|
|
final result = <Object?>[
|
|
'vars',
|
|
serializers.serialize(object.vars,
|
|
specifiedType: const FullType(_i3.GFollowersVars)),
|
|
'operation',
|
|
serializers.serialize(object.operation,
|
|
specifiedType: const FullType(_i4.Operation)),
|
|
'executeOnListen',
|
|
serializers.serialize(object.executeOnListen,
|
|
specifiedType: const FullType(bool)),
|
|
];
|
|
Object? value;
|
|
value = object.requestId;
|
|
if (value != null) {
|
|
result
|
|
..add('requestId')
|
|
..add(serializers.serialize(value,
|
|
specifiedType: const FullType(String)));
|
|
}
|
|
value = object.optimisticResponse;
|
|
if (value != null) {
|
|
result
|
|
..add('optimisticResponse')
|
|
..add(serializers.serialize(value,
|
|
specifiedType: const FullType(_i2.GFollowersData)));
|
|
}
|
|
value = object.updateCacheHandlerKey;
|
|
if (value != null) {
|
|
result
|
|
..add('updateCacheHandlerKey')
|
|
..add(serializers.serialize(value,
|
|
specifiedType: const FullType(String)));
|
|
}
|
|
value = object.updateCacheHandlerContext;
|
|
if (value != null) {
|
|
result
|
|
..add('updateCacheHandlerContext')
|
|
..add(serializers.serialize(value,
|
|
specifiedType: const FullType(
|
|
Map, const [const FullType(String), const FullType(dynamic)])));
|
|
}
|
|
value = object.fetchPolicy;
|
|
if (value != null) {
|
|
result
|
|
..add('fetchPolicy')
|
|
..add(serializers.serialize(value,
|
|
specifiedType: const FullType(_i1.FetchPolicy)));
|
|
}
|
|
return result;
|
|
}
|
|
|
|
@override
|
|
GFollowersReq deserialize(
|
|
Serializers serializers, Iterable<Object?> serialized,
|
|
{FullType specifiedType = FullType.unspecified}) {
|
|
final result = new GFollowersReqBuilder();
|
|
|
|
final iterator = serialized.iterator;
|
|
while (iterator.moveNext()) {
|
|
final key = iterator.current! as String;
|
|
iterator.moveNext();
|
|
final Object? value = iterator.current;
|
|
switch (key) {
|
|
case 'vars':
|
|
result.vars.replace(serializers.deserialize(value,
|
|
specifiedType: const FullType(_i3.GFollowersVars))!
|
|
as _i3.GFollowersVars);
|
|
break;
|
|
case 'operation':
|
|
result.operation = serializers.deserialize(value,
|
|
specifiedType: const FullType(_i4.Operation))! as _i4.Operation;
|
|
break;
|
|
case 'requestId':
|
|
result.requestId = serializers.deserialize(value,
|
|
specifiedType: const FullType(String)) as String?;
|
|
break;
|
|
case 'optimisticResponse':
|
|
result.optimisticResponse.replace(serializers.deserialize(value,
|
|
specifiedType: const FullType(_i2.GFollowersData))!
|
|
as _i2.GFollowersData);
|
|
break;
|
|
case 'updateCacheHandlerKey':
|
|
result.updateCacheHandlerKey = serializers.deserialize(value,
|
|
specifiedType: const FullType(String)) as String?;
|
|
break;
|
|
case 'updateCacheHandlerContext':
|
|
result.updateCacheHandlerContext = serializers.deserialize(value,
|
|
specifiedType: const FullType(Map, const [
|
|
const FullType(String),
|
|
const FullType(dynamic)
|
|
])) as Map<String, dynamic>?;
|
|
break;
|
|
case 'fetchPolicy':
|
|
result.fetchPolicy = serializers.deserialize(value,
|
|
specifiedType: const FullType(_i1.FetchPolicy))
|
|
as _i1.FetchPolicy?;
|
|
break;
|
|
case 'executeOnListen':
|
|
result.executeOnListen = serializers.deserialize(value,
|
|
specifiedType: const FullType(bool))! as bool;
|
|
break;
|
|
}
|
|
}
|
|
|
|
return result.build();
|
|
}
|
|
}
|
|
|
|
class _$GFollowingReqSerializer implements StructuredSerializer<GFollowingReq> {
|
|
@override
|
|
final Iterable<Type> types = const [GFollowingReq, _$GFollowingReq];
|
|
@override
|
|
final String wireName = 'GFollowingReq';
|
|
|
|
@override
|
|
Iterable<Object?> serialize(Serializers serializers, GFollowingReq object,
|
|
{FullType specifiedType = FullType.unspecified}) {
|
|
final result = <Object?>[
|
|
'vars',
|
|
serializers.serialize(object.vars,
|
|
specifiedType: const FullType(_i3.GFollowingVars)),
|
|
'operation',
|
|
serializers.serialize(object.operation,
|
|
specifiedType: const FullType(_i4.Operation)),
|
|
'executeOnListen',
|
|
serializers.serialize(object.executeOnListen,
|
|
specifiedType: const FullType(bool)),
|
|
];
|
|
Object? value;
|
|
value = object.requestId;
|
|
if (value != null) {
|
|
result
|
|
..add('requestId')
|
|
..add(serializers.serialize(value,
|
|
specifiedType: const FullType(String)));
|
|
}
|
|
value = object.optimisticResponse;
|
|
if (value != null) {
|
|
result
|
|
..add('optimisticResponse')
|
|
..add(serializers.serialize(value,
|
|
specifiedType: const FullType(_i2.GFollowingData)));
|
|
}
|
|
value = object.updateCacheHandlerKey;
|
|
if (value != null) {
|
|
result
|
|
..add('updateCacheHandlerKey')
|
|
..add(serializers.serialize(value,
|
|
specifiedType: const FullType(String)));
|
|
}
|
|
value = object.updateCacheHandlerContext;
|
|
if (value != null) {
|
|
result
|
|
..add('updateCacheHandlerContext')
|
|
..add(serializers.serialize(value,
|
|
specifiedType: const FullType(
|
|
Map, const [const FullType(String), const FullType(dynamic)])));
|
|
}
|
|
value = object.fetchPolicy;
|
|
if (value != null) {
|
|
result
|
|
..add('fetchPolicy')
|
|
..add(serializers.serialize(value,
|
|
specifiedType: const FullType(_i1.FetchPolicy)));
|
|
}
|
|
return result;
|
|
}
|
|
|
|
@override
|
|
GFollowingReq deserialize(
|
|
Serializers serializers, Iterable<Object?> serialized,
|
|
{FullType specifiedType = FullType.unspecified}) {
|
|
final result = new GFollowingReqBuilder();
|
|
|
|
final iterator = serialized.iterator;
|
|
while (iterator.moveNext()) {
|
|
final key = iterator.current! as String;
|
|
iterator.moveNext();
|
|
final Object? value = iterator.current;
|
|
switch (key) {
|
|
case 'vars':
|
|
result.vars.replace(serializers.deserialize(value,
|
|
specifiedType: const FullType(_i3.GFollowingVars))!
|
|
as _i3.GFollowingVars);
|
|
break;
|
|
case 'operation':
|
|
result.operation = serializers.deserialize(value,
|
|
specifiedType: const FullType(_i4.Operation))! as _i4.Operation;
|
|
break;
|
|
case 'requestId':
|
|
result.requestId = serializers.deserialize(value,
|
|
specifiedType: const FullType(String)) as String?;
|
|
break;
|
|
case 'optimisticResponse':
|
|
result.optimisticResponse.replace(serializers.deserialize(value,
|
|
specifiedType: const FullType(_i2.GFollowingData))!
|
|
as _i2.GFollowingData);
|
|
break;
|
|
case 'updateCacheHandlerKey':
|
|
result.updateCacheHandlerKey = serializers.deserialize(value,
|
|
specifiedType: const FullType(String)) as String?;
|
|
break;
|
|
case 'updateCacheHandlerContext':
|
|
result.updateCacheHandlerContext = serializers.deserialize(value,
|
|
specifiedType: const FullType(Map, const [
|
|
const FullType(String),
|
|
const FullType(dynamic)
|
|
])) as Map<String, dynamic>?;
|
|
break;
|
|
case 'fetchPolicy':
|
|
result.fetchPolicy = serializers.deserialize(value,
|
|
specifiedType: const FullType(_i1.FetchPolicy))
|
|
as _i1.FetchPolicy?;
|
|
break;
|
|
case 'executeOnListen':
|
|
result.executeOnListen = serializers.deserialize(value,
|
|
specifiedType: const FullType(bool))! as bool;
|
|
break;
|
|
}
|
|
}
|
|
|
|
return result.build();
|
|
}
|
|
}
|
|
|
|
class _$GOrgsReqSerializer implements StructuredSerializer<GOrgsReq> {
|
|
@override
|
|
final Iterable<Type> types = const [GOrgsReq, _$GOrgsReq];
|
|
@override
|
|
final String wireName = 'GOrgsReq';
|
|
|
|
@override
|
|
Iterable<Object?> serialize(Serializers serializers, GOrgsReq object,
|
|
{FullType specifiedType = FullType.unspecified}) {
|
|
final result = <Object?>[
|
|
'vars',
|
|
serializers.serialize(object.vars,
|
|
specifiedType: const FullType(_i3.GOrgsVars)),
|
|
'operation',
|
|
serializers.serialize(object.operation,
|
|
specifiedType: const FullType(_i4.Operation)),
|
|
'executeOnListen',
|
|
serializers.serialize(object.executeOnListen,
|
|
specifiedType: const FullType(bool)),
|
|
];
|
|
Object? value;
|
|
value = object.requestId;
|
|
if (value != null) {
|
|
result
|
|
..add('requestId')
|
|
..add(serializers.serialize(value,
|
|
specifiedType: const FullType(String)));
|
|
}
|
|
value = object.optimisticResponse;
|
|
if (value != null) {
|
|
result
|
|
..add('optimisticResponse')
|
|
..add(serializers.serialize(value,
|
|
specifiedType: const FullType(_i2.GOrgsData)));
|
|
}
|
|
value = object.updateCacheHandlerKey;
|
|
if (value != null) {
|
|
result
|
|
..add('updateCacheHandlerKey')
|
|
..add(serializers.serialize(value,
|
|
specifiedType: const FullType(String)));
|
|
}
|
|
value = object.updateCacheHandlerContext;
|
|
if (value != null) {
|
|
result
|
|
..add('updateCacheHandlerContext')
|
|
..add(serializers.serialize(value,
|
|
specifiedType: const FullType(
|
|
Map, const [const FullType(String), const FullType(dynamic)])));
|
|
}
|
|
value = object.fetchPolicy;
|
|
if (value != null) {
|
|
result
|
|
..add('fetchPolicy')
|
|
..add(serializers.serialize(value,
|
|
specifiedType: const FullType(_i1.FetchPolicy)));
|
|
}
|
|
return result;
|
|
}
|
|
|
|
@override
|
|
GOrgsReq deserialize(Serializers serializers, Iterable<Object?> serialized,
|
|
{FullType specifiedType = FullType.unspecified}) {
|
|
final result = new GOrgsReqBuilder();
|
|
|
|
final iterator = serialized.iterator;
|
|
while (iterator.moveNext()) {
|
|
final key = iterator.current! as String;
|
|
iterator.moveNext();
|
|
final Object? value = iterator.current;
|
|
switch (key) {
|
|
case 'vars':
|
|
result.vars.replace(serializers.deserialize(value,
|
|
specifiedType: const FullType(_i3.GOrgsVars))! as _i3.GOrgsVars);
|
|
break;
|
|
case 'operation':
|
|
result.operation = serializers.deserialize(value,
|
|
specifiedType: const FullType(_i4.Operation))! as _i4.Operation;
|
|
break;
|
|
case 'requestId':
|
|
result.requestId = serializers.deserialize(value,
|
|
specifiedType: const FullType(String)) as String?;
|
|
break;
|
|
case 'optimisticResponse':
|
|
result.optimisticResponse.replace(serializers.deserialize(value,
|
|
specifiedType: const FullType(_i2.GOrgsData))! as _i2.GOrgsData);
|
|
break;
|
|
case 'updateCacheHandlerKey':
|
|
result.updateCacheHandlerKey = serializers.deserialize(value,
|
|
specifiedType: const FullType(String)) as String?;
|
|
break;
|
|
case 'updateCacheHandlerContext':
|
|
result.updateCacheHandlerContext = serializers.deserialize(value,
|
|
specifiedType: const FullType(Map, const [
|
|
const FullType(String),
|
|
const FullType(dynamic)
|
|
])) as Map<String, dynamic>?;
|
|
break;
|
|
case 'fetchPolicy':
|
|
result.fetchPolicy = serializers.deserialize(value,
|
|
specifiedType: const FullType(_i1.FetchPolicy))
|
|
as _i1.FetchPolicy?;
|
|
break;
|
|
case 'executeOnListen':
|
|
result.executeOnListen = serializers.deserialize(value,
|
|
specifiedType: const FullType(bool))! as bool;
|
|
break;
|
|
}
|
|
}
|
|
|
|
return result.build();
|
|
}
|
|
}
|
|
|
|
class _$GMembersReqSerializer implements StructuredSerializer<GMembersReq> {
|
|
@override
|
|
final Iterable<Type> types = const [GMembersReq, _$GMembersReq];
|
|
@override
|
|
final String wireName = 'GMembersReq';
|
|
|
|
@override
|
|
Iterable<Object?> serialize(Serializers serializers, GMembersReq object,
|
|
{FullType specifiedType = FullType.unspecified}) {
|
|
final result = <Object?>[
|
|
'vars',
|
|
serializers.serialize(object.vars,
|
|
specifiedType: const FullType(_i3.GMembersVars)),
|
|
'operation',
|
|
serializers.serialize(object.operation,
|
|
specifiedType: const FullType(_i4.Operation)),
|
|
'executeOnListen',
|
|
serializers.serialize(object.executeOnListen,
|
|
specifiedType: const FullType(bool)),
|
|
];
|
|
Object? value;
|
|
value = object.requestId;
|
|
if (value != null) {
|
|
result
|
|
..add('requestId')
|
|
..add(serializers.serialize(value,
|
|
specifiedType: const FullType(String)));
|
|
}
|
|
value = object.optimisticResponse;
|
|
if (value != null) {
|
|
result
|
|
..add('optimisticResponse')
|
|
..add(serializers.serialize(value,
|
|
specifiedType: const FullType(_i2.GMembersData)));
|
|
}
|
|
value = object.updateCacheHandlerKey;
|
|
if (value != null) {
|
|
result
|
|
..add('updateCacheHandlerKey')
|
|
..add(serializers.serialize(value,
|
|
specifiedType: const FullType(String)));
|
|
}
|
|
value = object.updateCacheHandlerContext;
|
|
if (value != null) {
|
|
result
|
|
..add('updateCacheHandlerContext')
|
|
..add(serializers.serialize(value,
|
|
specifiedType: const FullType(
|
|
Map, const [const FullType(String), const FullType(dynamic)])));
|
|
}
|
|
value = object.fetchPolicy;
|
|
if (value != null) {
|
|
result
|
|
..add('fetchPolicy')
|
|
..add(serializers.serialize(value,
|
|
specifiedType: const FullType(_i1.FetchPolicy)));
|
|
}
|
|
return result;
|
|
}
|
|
|
|
@override
|
|
GMembersReq deserialize(Serializers serializers, Iterable<Object?> serialized,
|
|
{FullType specifiedType = FullType.unspecified}) {
|
|
final result = new GMembersReqBuilder();
|
|
|
|
final iterator = serialized.iterator;
|
|
while (iterator.moveNext()) {
|
|
final key = iterator.current! as String;
|
|
iterator.moveNext();
|
|
final Object? value = iterator.current;
|
|
switch (key) {
|
|
case 'vars':
|
|
result.vars.replace(serializers.deserialize(value,
|
|
specifiedType: const FullType(_i3.GMembersVars))!
|
|
as _i3.GMembersVars);
|
|
break;
|
|
case 'operation':
|
|
result.operation = serializers.deserialize(value,
|
|
specifiedType: const FullType(_i4.Operation))! as _i4.Operation;
|
|
break;
|
|
case 'requestId':
|
|
result.requestId = serializers.deserialize(value,
|
|
specifiedType: const FullType(String)) as String?;
|
|
break;
|
|
case 'optimisticResponse':
|
|
result.optimisticResponse.replace(serializers.deserialize(value,
|
|
specifiedType: const FullType(_i2.GMembersData))!
|
|
as _i2.GMembersData);
|
|
break;
|
|
case 'updateCacheHandlerKey':
|
|
result.updateCacheHandlerKey = serializers.deserialize(value,
|
|
specifiedType: const FullType(String)) as String?;
|
|
break;
|
|
case 'updateCacheHandlerContext':
|
|
result.updateCacheHandlerContext = serializers.deserialize(value,
|
|
specifiedType: const FullType(Map, const [
|
|
const FullType(String),
|
|
const FullType(dynamic)
|
|
])) as Map<String, dynamic>?;
|
|
break;
|
|
case 'fetchPolicy':
|
|
result.fetchPolicy = serializers.deserialize(value,
|
|
specifiedType: const FullType(_i1.FetchPolicy))
|
|
as _i1.FetchPolicy?;
|
|
break;
|
|
case 'executeOnListen':
|
|
result.executeOnListen = serializers.deserialize(value,
|
|
specifiedType: const FullType(bool))! as bool;
|
|
break;
|
|
}
|
|
}
|
|
|
|
return result.build();
|
|
}
|
|
}
|
|
|
|
class _$GWatchersReqSerializer implements StructuredSerializer<GWatchersReq> {
|
|
@override
|
|
final Iterable<Type> types = const [GWatchersReq, _$GWatchersReq];
|
|
@override
|
|
final String wireName = 'GWatchersReq';
|
|
|
|
@override
|
|
Iterable<Object?> serialize(Serializers serializers, GWatchersReq object,
|
|
{FullType specifiedType = FullType.unspecified}) {
|
|
final result = <Object?>[
|
|
'vars',
|
|
serializers.serialize(object.vars,
|
|
specifiedType: const FullType(_i3.GWatchersVars)),
|
|
'operation',
|
|
serializers.serialize(object.operation,
|
|
specifiedType: const FullType(_i4.Operation)),
|
|
'executeOnListen',
|
|
serializers.serialize(object.executeOnListen,
|
|
specifiedType: const FullType(bool)),
|
|
];
|
|
Object? value;
|
|
value = object.requestId;
|
|
if (value != null) {
|
|
result
|
|
..add('requestId')
|
|
..add(serializers.serialize(value,
|
|
specifiedType: const FullType(String)));
|
|
}
|
|
value = object.optimisticResponse;
|
|
if (value != null) {
|
|
result
|
|
..add('optimisticResponse')
|
|
..add(serializers.serialize(value,
|
|
specifiedType: const FullType(_i2.GWatchersData)));
|
|
}
|
|
value = object.updateCacheHandlerKey;
|
|
if (value != null) {
|
|
result
|
|
..add('updateCacheHandlerKey')
|
|
..add(serializers.serialize(value,
|
|
specifiedType: const FullType(String)));
|
|
}
|
|
value = object.updateCacheHandlerContext;
|
|
if (value != null) {
|
|
result
|
|
..add('updateCacheHandlerContext')
|
|
..add(serializers.serialize(value,
|
|
specifiedType: const FullType(
|
|
Map, const [const FullType(String), const FullType(dynamic)])));
|
|
}
|
|
value = object.fetchPolicy;
|
|
if (value != null) {
|
|
result
|
|
..add('fetchPolicy')
|
|
..add(serializers.serialize(value,
|
|
specifiedType: const FullType(_i1.FetchPolicy)));
|
|
}
|
|
return result;
|
|
}
|
|
|
|
@override
|
|
GWatchersReq deserialize(
|
|
Serializers serializers, Iterable<Object?> serialized,
|
|
{FullType specifiedType = FullType.unspecified}) {
|
|
final result = new GWatchersReqBuilder();
|
|
|
|
final iterator = serialized.iterator;
|
|
while (iterator.moveNext()) {
|
|
final key = iterator.current! as String;
|
|
iterator.moveNext();
|
|
final Object? value = iterator.current;
|
|
switch (key) {
|
|
case 'vars':
|
|
result.vars.replace(serializers.deserialize(value,
|
|
specifiedType: const FullType(_i3.GWatchersVars))!
|
|
as _i3.GWatchersVars);
|
|
break;
|
|
case 'operation':
|
|
result.operation = serializers.deserialize(value,
|
|
specifiedType: const FullType(_i4.Operation))! as _i4.Operation;
|
|
break;
|
|
case 'requestId':
|
|
result.requestId = serializers.deserialize(value,
|
|
specifiedType: const FullType(String)) as String?;
|
|
break;
|
|
case 'optimisticResponse':
|
|
result.optimisticResponse.replace(serializers.deserialize(value,
|
|
specifiedType: const FullType(_i2.GWatchersData))!
|
|
as _i2.GWatchersData);
|
|
break;
|
|
case 'updateCacheHandlerKey':
|
|
result.updateCacheHandlerKey = serializers.deserialize(value,
|
|
specifiedType: const FullType(String)) as String?;
|
|
break;
|
|
case 'updateCacheHandlerContext':
|
|
result.updateCacheHandlerContext = serializers.deserialize(value,
|
|
specifiedType: const FullType(Map, const [
|
|
const FullType(String),
|
|
const FullType(dynamic)
|
|
])) as Map<String, dynamic>?;
|
|
break;
|
|
case 'fetchPolicy':
|
|
result.fetchPolicy = serializers.deserialize(value,
|
|
specifiedType: const FullType(_i1.FetchPolicy))
|
|
as _i1.FetchPolicy?;
|
|
break;
|
|
case 'executeOnListen':
|
|
result.executeOnListen = serializers.deserialize(value,
|
|
specifiedType: const FullType(bool))! as bool;
|
|
break;
|
|
}
|
|
}
|
|
|
|
return result.build();
|
|
}
|
|
}
|
|
|
|
class _$GStargazersReqSerializer
|
|
implements StructuredSerializer<GStargazersReq> {
|
|
@override
|
|
final Iterable<Type> types = const [GStargazersReq, _$GStargazersReq];
|
|
@override
|
|
final String wireName = 'GStargazersReq';
|
|
|
|
@override
|
|
Iterable<Object?> serialize(Serializers serializers, GStargazersReq object,
|
|
{FullType specifiedType = FullType.unspecified}) {
|
|
final result = <Object?>[
|
|
'vars',
|
|
serializers.serialize(object.vars,
|
|
specifiedType: const FullType(_i3.GStargazersVars)),
|
|
'operation',
|
|
serializers.serialize(object.operation,
|
|
specifiedType: const FullType(_i4.Operation)),
|
|
'executeOnListen',
|
|
serializers.serialize(object.executeOnListen,
|
|
specifiedType: const FullType(bool)),
|
|
];
|
|
Object? value;
|
|
value = object.requestId;
|
|
if (value != null) {
|
|
result
|
|
..add('requestId')
|
|
..add(serializers.serialize(value,
|
|
specifiedType: const FullType(String)));
|
|
}
|
|
value = object.optimisticResponse;
|
|
if (value != null) {
|
|
result
|
|
..add('optimisticResponse')
|
|
..add(serializers.serialize(value,
|
|
specifiedType: const FullType(_i2.GStargazersData)));
|
|
}
|
|
value = object.updateCacheHandlerKey;
|
|
if (value != null) {
|
|
result
|
|
..add('updateCacheHandlerKey')
|
|
..add(serializers.serialize(value,
|
|
specifiedType: const FullType(String)));
|
|
}
|
|
value = object.updateCacheHandlerContext;
|
|
if (value != null) {
|
|
result
|
|
..add('updateCacheHandlerContext')
|
|
..add(serializers.serialize(value,
|
|
specifiedType: const FullType(
|
|
Map, const [const FullType(String), const FullType(dynamic)])));
|
|
}
|
|
value = object.fetchPolicy;
|
|
if (value != null) {
|
|
result
|
|
..add('fetchPolicy')
|
|
..add(serializers.serialize(value,
|
|
specifiedType: const FullType(_i1.FetchPolicy)));
|
|
}
|
|
return result;
|
|
}
|
|
|
|
@override
|
|
GStargazersReq deserialize(
|
|
Serializers serializers, Iterable<Object?> serialized,
|
|
{FullType specifiedType = FullType.unspecified}) {
|
|
final result = new GStargazersReqBuilder();
|
|
|
|
final iterator = serialized.iterator;
|
|
while (iterator.moveNext()) {
|
|
final key = iterator.current! as String;
|
|
iterator.moveNext();
|
|
final Object? value = iterator.current;
|
|
switch (key) {
|
|
case 'vars':
|
|
result.vars.replace(serializers.deserialize(value,
|
|
specifiedType: const FullType(_i3.GStargazersVars))!
|
|
as _i3.GStargazersVars);
|
|
break;
|
|
case 'operation':
|
|
result.operation = serializers.deserialize(value,
|
|
specifiedType: const FullType(_i4.Operation))! as _i4.Operation;
|
|
break;
|
|
case 'requestId':
|
|
result.requestId = serializers.deserialize(value,
|
|
specifiedType: const FullType(String)) as String?;
|
|
break;
|
|
case 'optimisticResponse':
|
|
result.optimisticResponse.replace(serializers.deserialize(value,
|
|
specifiedType: const FullType(_i2.GStargazersData))!
|
|
as _i2.GStargazersData);
|
|
break;
|
|
case 'updateCacheHandlerKey':
|
|
result.updateCacheHandlerKey = serializers.deserialize(value,
|
|
specifiedType: const FullType(String)) as String?;
|
|
break;
|
|
case 'updateCacheHandlerContext':
|
|
result.updateCacheHandlerContext = serializers.deserialize(value,
|
|
specifiedType: const FullType(Map, const [
|
|
const FullType(String),
|
|
const FullType(dynamic)
|
|
])) as Map<String, dynamic>?;
|
|
break;
|
|
case 'fetchPolicy':
|
|
result.fetchPolicy = serializers.deserialize(value,
|
|
specifiedType: const FullType(_i1.FetchPolicy))
|
|
as _i1.FetchPolicy?;
|
|
break;
|
|
case 'executeOnListen':
|
|
result.executeOnListen = serializers.deserialize(value,
|
|
specifiedType: const FullType(bool))! as bool;
|
|
break;
|
|
}
|
|
}
|
|
|
|
return result.build();
|
|
}
|
|
}
|
|
|
|
class _$GUserPartsReqSerializer implements StructuredSerializer<GUserPartsReq> {
|
|
@override
|
|
final Iterable<Type> types = const [GUserPartsReq, _$GUserPartsReq];
|
|
@override
|
|
final String wireName = 'GUserPartsReq';
|
|
|
|
@override
|
|
Iterable<Object?> serialize(Serializers serializers, GUserPartsReq object,
|
|
{FullType specifiedType = FullType.unspecified}) {
|
|
final result = <Object?>[
|
|
'vars',
|
|
serializers.serialize(object.vars,
|
|
specifiedType: const FullType(_i3.GUserPartsVars)),
|
|
'document',
|
|
serializers.serialize(object.document,
|
|
specifiedType: const FullType(_i7.DocumentNode)),
|
|
'idFields',
|
|
serializers.serialize(object.idFields,
|
|
specifiedType: const FullType(
|
|
Map, const [const FullType(String), const FullType(dynamic)])),
|
|
];
|
|
Object? value;
|
|
value = object.fragmentName;
|
|
if (value != null) {
|
|
result
|
|
..add('fragmentName')
|
|
..add(serializers.serialize(value,
|
|
specifiedType: const FullType(String)));
|
|
}
|
|
return result;
|
|
}
|
|
|
|
@override
|
|
GUserPartsReq deserialize(
|
|
Serializers serializers, Iterable<Object?> serialized,
|
|
{FullType specifiedType = FullType.unspecified}) {
|
|
final result = new GUserPartsReqBuilder();
|
|
|
|
final iterator = serialized.iterator;
|
|
while (iterator.moveNext()) {
|
|
final key = iterator.current! as String;
|
|
iterator.moveNext();
|
|
final Object? value = iterator.current;
|
|
switch (key) {
|
|
case 'vars':
|
|
result.vars.replace(serializers.deserialize(value,
|
|
specifiedType: const FullType(_i3.GUserPartsVars))!
|
|
as _i3.GUserPartsVars);
|
|
break;
|
|
case 'document':
|
|
result.document = serializers.deserialize(value,
|
|
specifiedType: const FullType(_i7.DocumentNode))!
|
|
as _i7.DocumentNode;
|
|
break;
|
|
case 'fragmentName':
|
|
result.fragmentName = serializers.deserialize(value,
|
|
specifiedType: const FullType(String)) as String?;
|
|
break;
|
|
case 'idFields':
|
|
result.idFields = serializers.deserialize(value,
|
|
specifiedType: const FullType(Map, const [
|
|
const FullType(String),
|
|
const FullType(dynamic)
|
|
]))! as Map<String, dynamic>;
|
|
break;
|
|
}
|
|
}
|
|
|
|
return result.build();
|
|
}
|
|
}
|
|
|
|
class _$GOrgPartsReqSerializer implements StructuredSerializer<GOrgPartsReq> {
|
|
@override
|
|
final Iterable<Type> types = const [GOrgPartsReq, _$GOrgPartsReq];
|
|
@override
|
|
final String wireName = 'GOrgPartsReq';
|
|
|
|
@override
|
|
Iterable<Object?> serialize(Serializers serializers, GOrgPartsReq object,
|
|
{FullType specifiedType = FullType.unspecified}) {
|
|
final result = <Object?>[
|
|
'vars',
|
|
serializers.serialize(object.vars,
|
|
specifiedType: const FullType(_i3.GOrgPartsVars)),
|
|
'document',
|
|
serializers.serialize(object.document,
|
|
specifiedType: const FullType(_i7.DocumentNode)),
|
|
'idFields',
|
|
serializers.serialize(object.idFields,
|
|
specifiedType: const FullType(
|
|
Map, const [const FullType(String), const FullType(dynamic)])),
|
|
];
|
|
Object? value;
|
|
value = object.fragmentName;
|
|
if (value != null) {
|
|
result
|
|
..add('fragmentName')
|
|
..add(serializers.serialize(value,
|
|
specifiedType: const FullType(String)));
|
|
}
|
|
return result;
|
|
}
|
|
|
|
@override
|
|
GOrgPartsReq deserialize(
|
|
Serializers serializers, Iterable<Object?> serialized,
|
|
{FullType specifiedType = FullType.unspecified}) {
|
|
final result = new GOrgPartsReqBuilder();
|
|
|
|
final iterator = serialized.iterator;
|
|
while (iterator.moveNext()) {
|
|
final key = iterator.current! as String;
|
|
iterator.moveNext();
|
|
final Object? value = iterator.current;
|
|
switch (key) {
|
|
case 'vars':
|
|
result.vars.replace(serializers.deserialize(value,
|
|
specifiedType: const FullType(_i3.GOrgPartsVars))!
|
|
as _i3.GOrgPartsVars);
|
|
break;
|
|
case 'document':
|
|
result.document = serializers.deserialize(value,
|
|
specifiedType: const FullType(_i7.DocumentNode))!
|
|
as _i7.DocumentNode;
|
|
break;
|
|
case 'fragmentName':
|
|
result.fragmentName = serializers.deserialize(value,
|
|
specifiedType: const FullType(String)) as String?;
|
|
break;
|
|
case 'idFields':
|
|
result.idFields = serializers.deserialize(value,
|
|
specifiedType: const FullType(Map, const [
|
|
const FullType(String),
|
|
const FullType(dynamic)
|
|
]))! as Map<String, dynamic>;
|
|
break;
|
|
}
|
|
}
|
|
|
|
return result.build();
|
|
}
|
|
}
|
|
|
|
class _$GFollowersReq extends GFollowersReq {
|
|
@override
|
|
final _i3.GFollowersVars vars;
|
|
@override
|
|
final _i4.Operation operation;
|
|
@override
|
|
final String? requestId;
|
|
@override
|
|
final _i2.GFollowersData? Function(_i2.GFollowersData?, _i2.GFollowersData?)?
|
|
updateResult;
|
|
@override
|
|
final _i2.GFollowersData? optimisticResponse;
|
|
@override
|
|
final String? updateCacheHandlerKey;
|
|
@override
|
|
final Map<String, dynamic>? updateCacheHandlerContext;
|
|
@override
|
|
final _i1.FetchPolicy? fetchPolicy;
|
|
@override
|
|
final bool executeOnListen;
|
|
|
|
factory _$GFollowersReq([void Function(GFollowersReqBuilder)? updates]) =>
|
|
(new GFollowersReqBuilder()..update(updates))._build();
|
|
|
|
_$GFollowersReq._(
|
|
{required this.vars,
|
|
required this.operation,
|
|
this.requestId,
|
|
this.updateResult,
|
|
this.optimisticResponse,
|
|
this.updateCacheHandlerKey,
|
|
this.updateCacheHandlerContext,
|
|
this.fetchPolicy,
|
|
required this.executeOnListen})
|
|
: super._() {
|
|
BuiltValueNullFieldError.checkNotNull(vars, r'GFollowersReq', 'vars');
|
|
BuiltValueNullFieldError.checkNotNull(
|
|
operation, r'GFollowersReq', 'operation');
|
|
BuiltValueNullFieldError.checkNotNull(
|
|
executeOnListen, r'GFollowersReq', 'executeOnListen');
|
|
}
|
|
|
|
@override
|
|
GFollowersReq rebuild(void Function(GFollowersReqBuilder) updates) =>
|
|
(toBuilder()..update(updates)).build();
|
|
|
|
@override
|
|
GFollowersReqBuilder toBuilder() => new GFollowersReqBuilder()..replace(this);
|
|
|
|
@override
|
|
bool operator ==(Object other) {
|
|
if (identical(other, this)) return true;
|
|
final dynamic _$dynamicOther = other;
|
|
return other is GFollowersReq &&
|
|
vars == other.vars &&
|
|
operation == other.operation &&
|
|
requestId == other.requestId &&
|
|
updateResult == _$dynamicOther.updateResult &&
|
|
optimisticResponse == other.optimisticResponse &&
|
|
updateCacheHandlerKey == other.updateCacheHandlerKey &&
|
|
updateCacheHandlerContext == other.updateCacheHandlerContext &&
|
|
fetchPolicy == other.fetchPolicy &&
|
|
executeOnListen == other.executeOnListen;
|
|
}
|
|
|
|
@override
|
|
int get hashCode {
|
|
return $jf($jc(
|
|
$jc(
|
|
$jc(
|
|
$jc(
|
|
$jc(
|
|
$jc(
|
|
$jc($jc($jc(0, vars.hashCode), operation.hashCode),
|
|
requestId.hashCode),
|
|
updateResult.hashCode),
|
|
optimisticResponse.hashCode),
|
|
updateCacheHandlerKey.hashCode),
|
|
updateCacheHandlerContext.hashCode),
|
|
fetchPolicy.hashCode),
|
|
executeOnListen.hashCode));
|
|
}
|
|
|
|
@override
|
|
String toString() {
|
|
return (newBuiltValueToStringHelper(r'GFollowersReq')
|
|
..add('vars', vars)
|
|
..add('operation', operation)
|
|
..add('requestId', requestId)
|
|
..add('updateResult', updateResult)
|
|
..add('optimisticResponse', optimisticResponse)
|
|
..add('updateCacheHandlerKey', updateCacheHandlerKey)
|
|
..add('updateCacheHandlerContext', updateCacheHandlerContext)
|
|
..add('fetchPolicy', fetchPolicy)
|
|
..add('executeOnListen', executeOnListen))
|
|
.toString();
|
|
}
|
|
}
|
|
|
|
class GFollowersReqBuilder
|
|
implements Builder<GFollowersReq, GFollowersReqBuilder> {
|
|
_$GFollowersReq? _$v;
|
|
|
|
_i3.GFollowersVarsBuilder? _vars;
|
|
_i3.GFollowersVarsBuilder get vars =>
|
|
_$this._vars ??= new _i3.GFollowersVarsBuilder();
|
|
set vars(_i3.GFollowersVarsBuilder? vars) => _$this._vars = vars;
|
|
|
|
_i4.Operation? _operation;
|
|
_i4.Operation? get operation => _$this._operation;
|
|
set operation(_i4.Operation? operation) => _$this._operation = operation;
|
|
|
|
String? _requestId;
|
|
String? get requestId => _$this._requestId;
|
|
set requestId(String? requestId) => _$this._requestId = requestId;
|
|
|
|
_i2.GFollowersData? Function(_i2.GFollowersData?, _i2.GFollowersData?)?
|
|
_updateResult;
|
|
_i2.GFollowersData? Function(_i2.GFollowersData?, _i2.GFollowersData?)?
|
|
get updateResult => _$this._updateResult;
|
|
set updateResult(
|
|
_i2.GFollowersData? Function(
|
|
_i2.GFollowersData?, _i2.GFollowersData?)?
|
|
updateResult) =>
|
|
_$this._updateResult = updateResult;
|
|
|
|
_i2.GFollowersDataBuilder? _optimisticResponse;
|
|
_i2.GFollowersDataBuilder get optimisticResponse =>
|
|
_$this._optimisticResponse ??= new _i2.GFollowersDataBuilder();
|
|
set optimisticResponse(_i2.GFollowersDataBuilder? optimisticResponse) =>
|
|
_$this._optimisticResponse = optimisticResponse;
|
|
|
|
String? _updateCacheHandlerKey;
|
|
String? get updateCacheHandlerKey => _$this._updateCacheHandlerKey;
|
|
set updateCacheHandlerKey(String? updateCacheHandlerKey) =>
|
|
_$this._updateCacheHandlerKey = updateCacheHandlerKey;
|
|
|
|
Map<String, dynamic>? _updateCacheHandlerContext;
|
|
Map<String, dynamic>? get updateCacheHandlerContext =>
|
|
_$this._updateCacheHandlerContext;
|
|
set updateCacheHandlerContext(
|
|
Map<String, dynamic>? updateCacheHandlerContext) =>
|
|
_$this._updateCacheHandlerContext = updateCacheHandlerContext;
|
|
|
|
_i1.FetchPolicy? _fetchPolicy;
|
|
_i1.FetchPolicy? get fetchPolicy => _$this._fetchPolicy;
|
|
set fetchPolicy(_i1.FetchPolicy? fetchPolicy) =>
|
|
_$this._fetchPolicy = fetchPolicy;
|
|
|
|
bool? _executeOnListen;
|
|
bool? get executeOnListen => _$this._executeOnListen;
|
|
set executeOnListen(bool? executeOnListen) =>
|
|
_$this._executeOnListen = executeOnListen;
|
|
|
|
GFollowersReqBuilder() {
|
|
GFollowersReq._initializeBuilder(this);
|
|
}
|
|
|
|
GFollowersReqBuilder get _$this {
|
|
final $v = _$v;
|
|
if ($v != null) {
|
|
_vars = $v.vars.toBuilder();
|
|
_operation = $v.operation;
|
|
_requestId = $v.requestId;
|
|
_updateResult = $v.updateResult;
|
|
_optimisticResponse = $v.optimisticResponse?.toBuilder();
|
|
_updateCacheHandlerKey = $v.updateCacheHandlerKey;
|
|
_updateCacheHandlerContext = $v.updateCacheHandlerContext;
|
|
_fetchPolicy = $v.fetchPolicy;
|
|
_executeOnListen = $v.executeOnListen;
|
|
_$v = null;
|
|
}
|
|
return this;
|
|
}
|
|
|
|
@override
|
|
void replace(GFollowersReq other) {
|
|
ArgumentError.checkNotNull(other, 'other');
|
|
_$v = other as _$GFollowersReq;
|
|
}
|
|
|
|
@override
|
|
void update(void Function(GFollowersReqBuilder)? updates) {
|
|
if (updates != null) updates(this);
|
|
}
|
|
|
|
@override
|
|
GFollowersReq build() => _build();
|
|
|
|
_$GFollowersReq _build() {
|
|
_$GFollowersReq _$result;
|
|
try {
|
|
_$result = _$v ??
|
|
new _$GFollowersReq._(
|
|
vars: vars.build(),
|
|
operation: BuiltValueNullFieldError.checkNotNull(
|
|
operation, r'GFollowersReq', 'operation'),
|
|
requestId: requestId,
|
|
updateResult: updateResult,
|
|
optimisticResponse: _optimisticResponse?.build(),
|
|
updateCacheHandlerKey: updateCacheHandlerKey,
|
|
updateCacheHandlerContext: updateCacheHandlerContext,
|
|
fetchPolicy: fetchPolicy,
|
|
executeOnListen: BuiltValueNullFieldError.checkNotNull(
|
|
executeOnListen, r'GFollowersReq', 'executeOnListen'));
|
|
} catch (_) {
|
|
late String _$failedField;
|
|
try {
|
|
_$failedField = 'vars';
|
|
vars.build();
|
|
|
|
_$failedField = 'optimisticResponse';
|
|
_optimisticResponse?.build();
|
|
} catch (e) {
|
|
throw new BuiltValueNestedFieldError(
|
|
r'GFollowersReq', _$failedField, e.toString());
|
|
}
|
|
rethrow;
|
|
}
|
|
replace(_$result);
|
|
return _$result;
|
|
}
|
|
}
|
|
|
|
class _$GFollowingReq extends GFollowingReq {
|
|
@override
|
|
final _i3.GFollowingVars vars;
|
|
@override
|
|
final _i4.Operation operation;
|
|
@override
|
|
final String? requestId;
|
|
@override
|
|
final _i2.GFollowingData? Function(_i2.GFollowingData?, _i2.GFollowingData?)?
|
|
updateResult;
|
|
@override
|
|
final _i2.GFollowingData? optimisticResponse;
|
|
@override
|
|
final String? updateCacheHandlerKey;
|
|
@override
|
|
final Map<String, dynamic>? updateCacheHandlerContext;
|
|
@override
|
|
final _i1.FetchPolicy? fetchPolicy;
|
|
@override
|
|
final bool executeOnListen;
|
|
|
|
factory _$GFollowingReq([void Function(GFollowingReqBuilder)? updates]) =>
|
|
(new GFollowingReqBuilder()..update(updates))._build();
|
|
|
|
_$GFollowingReq._(
|
|
{required this.vars,
|
|
required this.operation,
|
|
this.requestId,
|
|
this.updateResult,
|
|
this.optimisticResponse,
|
|
this.updateCacheHandlerKey,
|
|
this.updateCacheHandlerContext,
|
|
this.fetchPolicy,
|
|
required this.executeOnListen})
|
|
: super._() {
|
|
BuiltValueNullFieldError.checkNotNull(vars, r'GFollowingReq', 'vars');
|
|
BuiltValueNullFieldError.checkNotNull(
|
|
operation, r'GFollowingReq', 'operation');
|
|
BuiltValueNullFieldError.checkNotNull(
|
|
executeOnListen, r'GFollowingReq', 'executeOnListen');
|
|
}
|
|
|
|
@override
|
|
GFollowingReq rebuild(void Function(GFollowingReqBuilder) updates) =>
|
|
(toBuilder()..update(updates)).build();
|
|
|
|
@override
|
|
GFollowingReqBuilder toBuilder() => new GFollowingReqBuilder()..replace(this);
|
|
|
|
@override
|
|
bool operator ==(Object other) {
|
|
if (identical(other, this)) return true;
|
|
final dynamic _$dynamicOther = other;
|
|
return other is GFollowingReq &&
|
|
vars == other.vars &&
|
|
operation == other.operation &&
|
|
requestId == other.requestId &&
|
|
updateResult == _$dynamicOther.updateResult &&
|
|
optimisticResponse == other.optimisticResponse &&
|
|
updateCacheHandlerKey == other.updateCacheHandlerKey &&
|
|
updateCacheHandlerContext == other.updateCacheHandlerContext &&
|
|
fetchPolicy == other.fetchPolicy &&
|
|
executeOnListen == other.executeOnListen;
|
|
}
|
|
|
|
@override
|
|
int get hashCode {
|
|
return $jf($jc(
|
|
$jc(
|
|
$jc(
|
|
$jc(
|
|
$jc(
|
|
$jc(
|
|
$jc($jc($jc(0, vars.hashCode), operation.hashCode),
|
|
requestId.hashCode),
|
|
updateResult.hashCode),
|
|
optimisticResponse.hashCode),
|
|
updateCacheHandlerKey.hashCode),
|
|
updateCacheHandlerContext.hashCode),
|
|
fetchPolicy.hashCode),
|
|
executeOnListen.hashCode));
|
|
}
|
|
|
|
@override
|
|
String toString() {
|
|
return (newBuiltValueToStringHelper(r'GFollowingReq')
|
|
..add('vars', vars)
|
|
..add('operation', operation)
|
|
..add('requestId', requestId)
|
|
..add('updateResult', updateResult)
|
|
..add('optimisticResponse', optimisticResponse)
|
|
..add('updateCacheHandlerKey', updateCacheHandlerKey)
|
|
..add('updateCacheHandlerContext', updateCacheHandlerContext)
|
|
..add('fetchPolicy', fetchPolicy)
|
|
..add('executeOnListen', executeOnListen))
|
|
.toString();
|
|
}
|
|
}
|
|
|
|
class GFollowingReqBuilder
|
|
implements Builder<GFollowingReq, GFollowingReqBuilder> {
|
|
_$GFollowingReq? _$v;
|
|
|
|
_i3.GFollowingVarsBuilder? _vars;
|
|
_i3.GFollowingVarsBuilder get vars =>
|
|
_$this._vars ??= new _i3.GFollowingVarsBuilder();
|
|
set vars(_i3.GFollowingVarsBuilder? vars) => _$this._vars = vars;
|
|
|
|
_i4.Operation? _operation;
|
|
_i4.Operation? get operation => _$this._operation;
|
|
set operation(_i4.Operation? operation) => _$this._operation = operation;
|
|
|
|
String? _requestId;
|
|
String? get requestId => _$this._requestId;
|
|
set requestId(String? requestId) => _$this._requestId = requestId;
|
|
|
|
_i2.GFollowingData? Function(_i2.GFollowingData?, _i2.GFollowingData?)?
|
|
_updateResult;
|
|
_i2.GFollowingData? Function(_i2.GFollowingData?, _i2.GFollowingData?)?
|
|
get updateResult => _$this._updateResult;
|
|
set updateResult(
|
|
_i2.GFollowingData? Function(
|
|
_i2.GFollowingData?, _i2.GFollowingData?)?
|
|
updateResult) =>
|
|
_$this._updateResult = updateResult;
|
|
|
|
_i2.GFollowingDataBuilder? _optimisticResponse;
|
|
_i2.GFollowingDataBuilder get optimisticResponse =>
|
|
_$this._optimisticResponse ??= new _i2.GFollowingDataBuilder();
|
|
set optimisticResponse(_i2.GFollowingDataBuilder? optimisticResponse) =>
|
|
_$this._optimisticResponse = optimisticResponse;
|
|
|
|
String? _updateCacheHandlerKey;
|
|
String? get updateCacheHandlerKey => _$this._updateCacheHandlerKey;
|
|
set updateCacheHandlerKey(String? updateCacheHandlerKey) =>
|
|
_$this._updateCacheHandlerKey = updateCacheHandlerKey;
|
|
|
|
Map<String, dynamic>? _updateCacheHandlerContext;
|
|
Map<String, dynamic>? get updateCacheHandlerContext =>
|
|
_$this._updateCacheHandlerContext;
|
|
set updateCacheHandlerContext(
|
|
Map<String, dynamic>? updateCacheHandlerContext) =>
|
|
_$this._updateCacheHandlerContext = updateCacheHandlerContext;
|
|
|
|
_i1.FetchPolicy? _fetchPolicy;
|
|
_i1.FetchPolicy? get fetchPolicy => _$this._fetchPolicy;
|
|
set fetchPolicy(_i1.FetchPolicy? fetchPolicy) =>
|
|
_$this._fetchPolicy = fetchPolicy;
|
|
|
|
bool? _executeOnListen;
|
|
bool? get executeOnListen => _$this._executeOnListen;
|
|
set executeOnListen(bool? executeOnListen) =>
|
|
_$this._executeOnListen = executeOnListen;
|
|
|
|
GFollowingReqBuilder() {
|
|
GFollowingReq._initializeBuilder(this);
|
|
}
|
|
|
|
GFollowingReqBuilder get _$this {
|
|
final $v = _$v;
|
|
if ($v != null) {
|
|
_vars = $v.vars.toBuilder();
|
|
_operation = $v.operation;
|
|
_requestId = $v.requestId;
|
|
_updateResult = $v.updateResult;
|
|
_optimisticResponse = $v.optimisticResponse?.toBuilder();
|
|
_updateCacheHandlerKey = $v.updateCacheHandlerKey;
|
|
_updateCacheHandlerContext = $v.updateCacheHandlerContext;
|
|
_fetchPolicy = $v.fetchPolicy;
|
|
_executeOnListen = $v.executeOnListen;
|
|
_$v = null;
|
|
}
|
|
return this;
|
|
}
|
|
|
|
@override
|
|
void replace(GFollowingReq other) {
|
|
ArgumentError.checkNotNull(other, 'other');
|
|
_$v = other as _$GFollowingReq;
|
|
}
|
|
|
|
@override
|
|
void update(void Function(GFollowingReqBuilder)? updates) {
|
|
if (updates != null) updates(this);
|
|
}
|
|
|
|
@override
|
|
GFollowingReq build() => _build();
|
|
|
|
_$GFollowingReq _build() {
|
|
_$GFollowingReq _$result;
|
|
try {
|
|
_$result = _$v ??
|
|
new _$GFollowingReq._(
|
|
vars: vars.build(),
|
|
operation: BuiltValueNullFieldError.checkNotNull(
|
|
operation, r'GFollowingReq', 'operation'),
|
|
requestId: requestId,
|
|
updateResult: updateResult,
|
|
optimisticResponse: _optimisticResponse?.build(),
|
|
updateCacheHandlerKey: updateCacheHandlerKey,
|
|
updateCacheHandlerContext: updateCacheHandlerContext,
|
|
fetchPolicy: fetchPolicy,
|
|
executeOnListen: BuiltValueNullFieldError.checkNotNull(
|
|
executeOnListen, r'GFollowingReq', 'executeOnListen'));
|
|
} catch (_) {
|
|
late String _$failedField;
|
|
try {
|
|
_$failedField = 'vars';
|
|
vars.build();
|
|
|
|
_$failedField = 'optimisticResponse';
|
|
_optimisticResponse?.build();
|
|
} catch (e) {
|
|
throw new BuiltValueNestedFieldError(
|
|
r'GFollowingReq', _$failedField, e.toString());
|
|
}
|
|
rethrow;
|
|
}
|
|
replace(_$result);
|
|
return _$result;
|
|
}
|
|
}
|
|
|
|
class _$GOrgsReq extends GOrgsReq {
|
|
@override
|
|
final _i3.GOrgsVars vars;
|
|
@override
|
|
final _i4.Operation operation;
|
|
@override
|
|
final String? requestId;
|
|
@override
|
|
final _i2.GOrgsData? Function(_i2.GOrgsData?, _i2.GOrgsData?)? updateResult;
|
|
@override
|
|
final _i2.GOrgsData? optimisticResponse;
|
|
@override
|
|
final String? updateCacheHandlerKey;
|
|
@override
|
|
final Map<String, dynamic>? updateCacheHandlerContext;
|
|
@override
|
|
final _i1.FetchPolicy? fetchPolicy;
|
|
@override
|
|
final bool executeOnListen;
|
|
|
|
factory _$GOrgsReq([void Function(GOrgsReqBuilder)? updates]) =>
|
|
(new GOrgsReqBuilder()..update(updates))._build();
|
|
|
|
_$GOrgsReq._(
|
|
{required this.vars,
|
|
required this.operation,
|
|
this.requestId,
|
|
this.updateResult,
|
|
this.optimisticResponse,
|
|
this.updateCacheHandlerKey,
|
|
this.updateCacheHandlerContext,
|
|
this.fetchPolicy,
|
|
required this.executeOnListen})
|
|
: super._() {
|
|
BuiltValueNullFieldError.checkNotNull(vars, r'GOrgsReq', 'vars');
|
|
BuiltValueNullFieldError.checkNotNull(operation, r'GOrgsReq', 'operation');
|
|
BuiltValueNullFieldError.checkNotNull(
|
|
executeOnListen, r'GOrgsReq', 'executeOnListen');
|
|
}
|
|
|
|
@override
|
|
GOrgsReq rebuild(void Function(GOrgsReqBuilder) updates) =>
|
|
(toBuilder()..update(updates)).build();
|
|
|
|
@override
|
|
GOrgsReqBuilder toBuilder() => new GOrgsReqBuilder()..replace(this);
|
|
|
|
@override
|
|
bool operator ==(Object other) {
|
|
if (identical(other, this)) return true;
|
|
final dynamic _$dynamicOther = other;
|
|
return other is GOrgsReq &&
|
|
vars == other.vars &&
|
|
operation == other.operation &&
|
|
requestId == other.requestId &&
|
|
updateResult == _$dynamicOther.updateResult &&
|
|
optimisticResponse == other.optimisticResponse &&
|
|
updateCacheHandlerKey == other.updateCacheHandlerKey &&
|
|
updateCacheHandlerContext == other.updateCacheHandlerContext &&
|
|
fetchPolicy == other.fetchPolicy &&
|
|
executeOnListen == other.executeOnListen;
|
|
}
|
|
|
|
@override
|
|
int get hashCode {
|
|
return $jf($jc(
|
|
$jc(
|
|
$jc(
|
|
$jc(
|
|
$jc(
|
|
$jc(
|
|
$jc($jc($jc(0, vars.hashCode), operation.hashCode),
|
|
requestId.hashCode),
|
|
updateResult.hashCode),
|
|
optimisticResponse.hashCode),
|
|
updateCacheHandlerKey.hashCode),
|
|
updateCacheHandlerContext.hashCode),
|
|
fetchPolicy.hashCode),
|
|
executeOnListen.hashCode));
|
|
}
|
|
|
|
@override
|
|
String toString() {
|
|
return (newBuiltValueToStringHelper(r'GOrgsReq')
|
|
..add('vars', vars)
|
|
..add('operation', operation)
|
|
..add('requestId', requestId)
|
|
..add('updateResult', updateResult)
|
|
..add('optimisticResponse', optimisticResponse)
|
|
..add('updateCacheHandlerKey', updateCacheHandlerKey)
|
|
..add('updateCacheHandlerContext', updateCacheHandlerContext)
|
|
..add('fetchPolicy', fetchPolicy)
|
|
..add('executeOnListen', executeOnListen))
|
|
.toString();
|
|
}
|
|
}
|
|
|
|
class GOrgsReqBuilder implements Builder<GOrgsReq, GOrgsReqBuilder> {
|
|
_$GOrgsReq? _$v;
|
|
|
|
_i3.GOrgsVarsBuilder? _vars;
|
|
_i3.GOrgsVarsBuilder get vars => _$this._vars ??= new _i3.GOrgsVarsBuilder();
|
|
set vars(_i3.GOrgsVarsBuilder? vars) => _$this._vars = vars;
|
|
|
|
_i4.Operation? _operation;
|
|
_i4.Operation? get operation => _$this._operation;
|
|
set operation(_i4.Operation? operation) => _$this._operation = operation;
|
|
|
|
String? _requestId;
|
|
String? get requestId => _$this._requestId;
|
|
set requestId(String? requestId) => _$this._requestId = requestId;
|
|
|
|
_i2.GOrgsData? Function(_i2.GOrgsData?, _i2.GOrgsData?)? _updateResult;
|
|
_i2.GOrgsData? Function(_i2.GOrgsData?, _i2.GOrgsData?)? get updateResult =>
|
|
_$this._updateResult;
|
|
set updateResult(
|
|
_i2.GOrgsData? Function(_i2.GOrgsData?, _i2.GOrgsData?)?
|
|
updateResult) =>
|
|
_$this._updateResult = updateResult;
|
|
|
|
_i2.GOrgsDataBuilder? _optimisticResponse;
|
|
_i2.GOrgsDataBuilder get optimisticResponse =>
|
|
_$this._optimisticResponse ??= new _i2.GOrgsDataBuilder();
|
|
set optimisticResponse(_i2.GOrgsDataBuilder? optimisticResponse) =>
|
|
_$this._optimisticResponse = optimisticResponse;
|
|
|
|
String? _updateCacheHandlerKey;
|
|
String? get updateCacheHandlerKey => _$this._updateCacheHandlerKey;
|
|
set updateCacheHandlerKey(String? updateCacheHandlerKey) =>
|
|
_$this._updateCacheHandlerKey = updateCacheHandlerKey;
|
|
|
|
Map<String, dynamic>? _updateCacheHandlerContext;
|
|
Map<String, dynamic>? get updateCacheHandlerContext =>
|
|
_$this._updateCacheHandlerContext;
|
|
set updateCacheHandlerContext(
|
|
Map<String, dynamic>? updateCacheHandlerContext) =>
|
|
_$this._updateCacheHandlerContext = updateCacheHandlerContext;
|
|
|
|
_i1.FetchPolicy? _fetchPolicy;
|
|
_i1.FetchPolicy? get fetchPolicy => _$this._fetchPolicy;
|
|
set fetchPolicy(_i1.FetchPolicy? fetchPolicy) =>
|
|
_$this._fetchPolicy = fetchPolicy;
|
|
|
|
bool? _executeOnListen;
|
|
bool? get executeOnListen => _$this._executeOnListen;
|
|
set executeOnListen(bool? executeOnListen) =>
|
|
_$this._executeOnListen = executeOnListen;
|
|
|
|
GOrgsReqBuilder() {
|
|
GOrgsReq._initializeBuilder(this);
|
|
}
|
|
|
|
GOrgsReqBuilder get _$this {
|
|
final $v = _$v;
|
|
if ($v != null) {
|
|
_vars = $v.vars.toBuilder();
|
|
_operation = $v.operation;
|
|
_requestId = $v.requestId;
|
|
_updateResult = $v.updateResult;
|
|
_optimisticResponse = $v.optimisticResponse?.toBuilder();
|
|
_updateCacheHandlerKey = $v.updateCacheHandlerKey;
|
|
_updateCacheHandlerContext = $v.updateCacheHandlerContext;
|
|
_fetchPolicy = $v.fetchPolicy;
|
|
_executeOnListen = $v.executeOnListen;
|
|
_$v = null;
|
|
}
|
|
return this;
|
|
}
|
|
|
|
@override
|
|
void replace(GOrgsReq other) {
|
|
ArgumentError.checkNotNull(other, 'other');
|
|
_$v = other as _$GOrgsReq;
|
|
}
|
|
|
|
@override
|
|
void update(void Function(GOrgsReqBuilder)? updates) {
|
|
if (updates != null) updates(this);
|
|
}
|
|
|
|
@override
|
|
GOrgsReq build() => _build();
|
|
|
|
_$GOrgsReq _build() {
|
|
_$GOrgsReq _$result;
|
|
try {
|
|
_$result = _$v ??
|
|
new _$GOrgsReq._(
|
|
vars: vars.build(),
|
|
operation: BuiltValueNullFieldError.checkNotNull(
|
|
operation, r'GOrgsReq', 'operation'),
|
|
requestId: requestId,
|
|
updateResult: updateResult,
|
|
optimisticResponse: _optimisticResponse?.build(),
|
|
updateCacheHandlerKey: updateCacheHandlerKey,
|
|
updateCacheHandlerContext: updateCacheHandlerContext,
|
|
fetchPolicy: fetchPolicy,
|
|
executeOnListen: BuiltValueNullFieldError.checkNotNull(
|
|
executeOnListen, r'GOrgsReq', 'executeOnListen'));
|
|
} catch (_) {
|
|
late String _$failedField;
|
|
try {
|
|
_$failedField = 'vars';
|
|
vars.build();
|
|
|
|
_$failedField = 'optimisticResponse';
|
|
_optimisticResponse?.build();
|
|
} catch (e) {
|
|
throw new BuiltValueNestedFieldError(
|
|
r'GOrgsReq', _$failedField, e.toString());
|
|
}
|
|
rethrow;
|
|
}
|
|
replace(_$result);
|
|
return _$result;
|
|
}
|
|
}
|
|
|
|
class _$GMembersReq extends GMembersReq {
|
|
@override
|
|
final _i3.GMembersVars vars;
|
|
@override
|
|
final _i4.Operation operation;
|
|
@override
|
|
final String? requestId;
|
|
@override
|
|
final _i2.GMembersData? Function(_i2.GMembersData?, _i2.GMembersData?)?
|
|
updateResult;
|
|
@override
|
|
final _i2.GMembersData? optimisticResponse;
|
|
@override
|
|
final String? updateCacheHandlerKey;
|
|
@override
|
|
final Map<String, dynamic>? updateCacheHandlerContext;
|
|
@override
|
|
final _i1.FetchPolicy? fetchPolicy;
|
|
@override
|
|
final bool executeOnListen;
|
|
|
|
factory _$GMembersReq([void Function(GMembersReqBuilder)? updates]) =>
|
|
(new GMembersReqBuilder()..update(updates))._build();
|
|
|
|
_$GMembersReq._(
|
|
{required this.vars,
|
|
required this.operation,
|
|
this.requestId,
|
|
this.updateResult,
|
|
this.optimisticResponse,
|
|
this.updateCacheHandlerKey,
|
|
this.updateCacheHandlerContext,
|
|
this.fetchPolicy,
|
|
required this.executeOnListen})
|
|
: super._() {
|
|
BuiltValueNullFieldError.checkNotNull(vars, r'GMembersReq', 'vars');
|
|
BuiltValueNullFieldError.checkNotNull(
|
|
operation, r'GMembersReq', 'operation');
|
|
BuiltValueNullFieldError.checkNotNull(
|
|
executeOnListen, r'GMembersReq', 'executeOnListen');
|
|
}
|
|
|
|
@override
|
|
GMembersReq rebuild(void Function(GMembersReqBuilder) updates) =>
|
|
(toBuilder()..update(updates)).build();
|
|
|
|
@override
|
|
GMembersReqBuilder toBuilder() => new GMembersReqBuilder()..replace(this);
|
|
|
|
@override
|
|
bool operator ==(Object other) {
|
|
if (identical(other, this)) return true;
|
|
final dynamic _$dynamicOther = other;
|
|
return other is GMembersReq &&
|
|
vars == other.vars &&
|
|
operation == other.operation &&
|
|
requestId == other.requestId &&
|
|
updateResult == _$dynamicOther.updateResult &&
|
|
optimisticResponse == other.optimisticResponse &&
|
|
updateCacheHandlerKey == other.updateCacheHandlerKey &&
|
|
updateCacheHandlerContext == other.updateCacheHandlerContext &&
|
|
fetchPolicy == other.fetchPolicy &&
|
|
executeOnListen == other.executeOnListen;
|
|
}
|
|
|
|
@override
|
|
int get hashCode {
|
|
return $jf($jc(
|
|
$jc(
|
|
$jc(
|
|
$jc(
|
|
$jc(
|
|
$jc(
|
|
$jc($jc($jc(0, vars.hashCode), operation.hashCode),
|
|
requestId.hashCode),
|
|
updateResult.hashCode),
|
|
optimisticResponse.hashCode),
|
|
updateCacheHandlerKey.hashCode),
|
|
updateCacheHandlerContext.hashCode),
|
|
fetchPolicy.hashCode),
|
|
executeOnListen.hashCode));
|
|
}
|
|
|
|
@override
|
|
String toString() {
|
|
return (newBuiltValueToStringHelper(r'GMembersReq')
|
|
..add('vars', vars)
|
|
..add('operation', operation)
|
|
..add('requestId', requestId)
|
|
..add('updateResult', updateResult)
|
|
..add('optimisticResponse', optimisticResponse)
|
|
..add('updateCacheHandlerKey', updateCacheHandlerKey)
|
|
..add('updateCacheHandlerContext', updateCacheHandlerContext)
|
|
..add('fetchPolicy', fetchPolicy)
|
|
..add('executeOnListen', executeOnListen))
|
|
.toString();
|
|
}
|
|
}
|
|
|
|
class GMembersReqBuilder implements Builder<GMembersReq, GMembersReqBuilder> {
|
|
_$GMembersReq? _$v;
|
|
|
|
_i3.GMembersVarsBuilder? _vars;
|
|
_i3.GMembersVarsBuilder get vars =>
|
|
_$this._vars ??= new _i3.GMembersVarsBuilder();
|
|
set vars(_i3.GMembersVarsBuilder? vars) => _$this._vars = vars;
|
|
|
|
_i4.Operation? _operation;
|
|
_i4.Operation? get operation => _$this._operation;
|
|
set operation(_i4.Operation? operation) => _$this._operation = operation;
|
|
|
|
String? _requestId;
|
|
String? get requestId => _$this._requestId;
|
|
set requestId(String? requestId) => _$this._requestId = requestId;
|
|
|
|
_i2.GMembersData? Function(_i2.GMembersData?, _i2.GMembersData?)?
|
|
_updateResult;
|
|
_i2.GMembersData? Function(_i2.GMembersData?, _i2.GMembersData?)?
|
|
get updateResult => _$this._updateResult;
|
|
set updateResult(
|
|
_i2.GMembersData? Function(_i2.GMembersData?, _i2.GMembersData?)?
|
|
updateResult) =>
|
|
_$this._updateResult = updateResult;
|
|
|
|
_i2.GMembersDataBuilder? _optimisticResponse;
|
|
_i2.GMembersDataBuilder get optimisticResponse =>
|
|
_$this._optimisticResponse ??= new _i2.GMembersDataBuilder();
|
|
set optimisticResponse(_i2.GMembersDataBuilder? optimisticResponse) =>
|
|
_$this._optimisticResponse = optimisticResponse;
|
|
|
|
String? _updateCacheHandlerKey;
|
|
String? get updateCacheHandlerKey => _$this._updateCacheHandlerKey;
|
|
set updateCacheHandlerKey(String? updateCacheHandlerKey) =>
|
|
_$this._updateCacheHandlerKey = updateCacheHandlerKey;
|
|
|
|
Map<String, dynamic>? _updateCacheHandlerContext;
|
|
Map<String, dynamic>? get updateCacheHandlerContext =>
|
|
_$this._updateCacheHandlerContext;
|
|
set updateCacheHandlerContext(
|
|
Map<String, dynamic>? updateCacheHandlerContext) =>
|
|
_$this._updateCacheHandlerContext = updateCacheHandlerContext;
|
|
|
|
_i1.FetchPolicy? _fetchPolicy;
|
|
_i1.FetchPolicy? get fetchPolicy => _$this._fetchPolicy;
|
|
set fetchPolicy(_i1.FetchPolicy? fetchPolicy) =>
|
|
_$this._fetchPolicy = fetchPolicy;
|
|
|
|
bool? _executeOnListen;
|
|
bool? get executeOnListen => _$this._executeOnListen;
|
|
set executeOnListen(bool? executeOnListen) =>
|
|
_$this._executeOnListen = executeOnListen;
|
|
|
|
GMembersReqBuilder() {
|
|
GMembersReq._initializeBuilder(this);
|
|
}
|
|
|
|
GMembersReqBuilder get _$this {
|
|
final $v = _$v;
|
|
if ($v != null) {
|
|
_vars = $v.vars.toBuilder();
|
|
_operation = $v.operation;
|
|
_requestId = $v.requestId;
|
|
_updateResult = $v.updateResult;
|
|
_optimisticResponse = $v.optimisticResponse?.toBuilder();
|
|
_updateCacheHandlerKey = $v.updateCacheHandlerKey;
|
|
_updateCacheHandlerContext = $v.updateCacheHandlerContext;
|
|
_fetchPolicy = $v.fetchPolicy;
|
|
_executeOnListen = $v.executeOnListen;
|
|
_$v = null;
|
|
}
|
|
return this;
|
|
}
|
|
|
|
@override
|
|
void replace(GMembersReq other) {
|
|
ArgumentError.checkNotNull(other, 'other');
|
|
_$v = other as _$GMembersReq;
|
|
}
|
|
|
|
@override
|
|
void update(void Function(GMembersReqBuilder)? updates) {
|
|
if (updates != null) updates(this);
|
|
}
|
|
|
|
@override
|
|
GMembersReq build() => _build();
|
|
|
|
_$GMembersReq _build() {
|
|
_$GMembersReq _$result;
|
|
try {
|
|
_$result = _$v ??
|
|
new _$GMembersReq._(
|
|
vars: vars.build(),
|
|
operation: BuiltValueNullFieldError.checkNotNull(
|
|
operation, r'GMembersReq', 'operation'),
|
|
requestId: requestId,
|
|
updateResult: updateResult,
|
|
optimisticResponse: _optimisticResponse?.build(),
|
|
updateCacheHandlerKey: updateCacheHandlerKey,
|
|
updateCacheHandlerContext: updateCacheHandlerContext,
|
|
fetchPolicy: fetchPolicy,
|
|
executeOnListen: BuiltValueNullFieldError.checkNotNull(
|
|
executeOnListen, r'GMembersReq', 'executeOnListen'));
|
|
} catch (_) {
|
|
late String _$failedField;
|
|
try {
|
|
_$failedField = 'vars';
|
|
vars.build();
|
|
|
|
_$failedField = 'optimisticResponse';
|
|
_optimisticResponse?.build();
|
|
} catch (e) {
|
|
throw new BuiltValueNestedFieldError(
|
|
r'GMembersReq', _$failedField, e.toString());
|
|
}
|
|
rethrow;
|
|
}
|
|
replace(_$result);
|
|
return _$result;
|
|
}
|
|
}
|
|
|
|
class _$GWatchersReq extends GWatchersReq {
|
|
@override
|
|
final _i3.GWatchersVars vars;
|
|
@override
|
|
final _i4.Operation operation;
|
|
@override
|
|
final String? requestId;
|
|
@override
|
|
final _i2.GWatchersData? Function(_i2.GWatchersData?, _i2.GWatchersData?)?
|
|
updateResult;
|
|
@override
|
|
final _i2.GWatchersData? optimisticResponse;
|
|
@override
|
|
final String? updateCacheHandlerKey;
|
|
@override
|
|
final Map<String, dynamic>? updateCacheHandlerContext;
|
|
@override
|
|
final _i1.FetchPolicy? fetchPolicy;
|
|
@override
|
|
final bool executeOnListen;
|
|
|
|
factory _$GWatchersReq([void Function(GWatchersReqBuilder)? updates]) =>
|
|
(new GWatchersReqBuilder()..update(updates))._build();
|
|
|
|
_$GWatchersReq._(
|
|
{required this.vars,
|
|
required this.operation,
|
|
this.requestId,
|
|
this.updateResult,
|
|
this.optimisticResponse,
|
|
this.updateCacheHandlerKey,
|
|
this.updateCacheHandlerContext,
|
|
this.fetchPolicy,
|
|
required this.executeOnListen})
|
|
: super._() {
|
|
BuiltValueNullFieldError.checkNotNull(vars, r'GWatchersReq', 'vars');
|
|
BuiltValueNullFieldError.checkNotNull(
|
|
operation, r'GWatchersReq', 'operation');
|
|
BuiltValueNullFieldError.checkNotNull(
|
|
executeOnListen, r'GWatchersReq', 'executeOnListen');
|
|
}
|
|
|
|
@override
|
|
GWatchersReq rebuild(void Function(GWatchersReqBuilder) updates) =>
|
|
(toBuilder()..update(updates)).build();
|
|
|
|
@override
|
|
GWatchersReqBuilder toBuilder() => new GWatchersReqBuilder()..replace(this);
|
|
|
|
@override
|
|
bool operator ==(Object other) {
|
|
if (identical(other, this)) return true;
|
|
final dynamic _$dynamicOther = other;
|
|
return other is GWatchersReq &&
|
|
vars == other.vars &&
|
|
operation == other.operation &&
|
|
requestId == other.requestId &&
|
|
updateResult == _$dynamicOther.updateResult &&
|
|
optimisticResponse == other.optimisticResponse &&
|
|
updateCacheHandlerKey == other.updateCacheHandlerKey &&
|
|
updateCacheHandlerContext == other.updateCacheHandlerContext &&
|
|
fetchPolicy == other.fetchPolicy &&
|
|
executeOnListen == other.executeOnListen;
|
|
}
|
|
|
|
@override
|
|
int get hashCode {
|
|
return $jf($jc(
|
|
$jc(
|
|
$jc(
|
|
$jc(
|
|
$jc(
|
|
$jc(
|
|
$jc($jc($jc(0, vars.hashCode), operation.hashCode),
|
|
requestId.hashCode),
|
|
updateResult.hashCode),
|
|
optimisticResponse.hashCode),
|
|
updateCacheHandlerKey.hashCode),
|
|
updateCacheHandlerContext.hashCode),
|
|
fetchPolicy.hashCode),
|
|
executeOnListen.hashCode));
|
|
}
|
|
|
|
@override
|
|
String toString() {
|
|
return (newBuiltValueToStringHelper(r'GWatchersReq')
|
|
..add('vars', vars)
|
|
..add('operation', operation)
|
|
..add('requestId', requestId)
|
|
..add('updateResult', updateResult)
|
|
..add('optimisticResponse', optimisticResponse)
|
|
..add('updateCacheHandlerKey', updateCacheHandlerKey)
|
|
..add('updateCacheHandlerContext', updateCacheHandlerContext)
|
|
..add('fetchPolicy', fetchPolicy)
|
|
..add('executeOnListen', executeOnListen))
|
|
.toString();
|
|
}
|
|
}
|
|
|
|
class GWatchersReqBuilder
|
|
implements Builder<GWatchersReq, GWatchersReqBuilder> {
|
|
_$GWatchersReq? _$v;
|
|
|
|
_i3.GWatchersVarsBuilder? _vars;
|
|
_i3.GWatchersVarsBuilder get vars =>
|
|
_$this._vars ??= new _i3.GWatchersVarsBuilder();
|
|
set vars(_i3.GWatchersVarsBuilder? vars) => _$this._vars = vars;
|
|
|
|
_i4.Operation? _operation;
|
|
_i4.Operation? get operation => _$this._operation;
|
|
set operation(_i4.Operation? operation) => _$this._operation = operation;
|
|
|
|
String? _requestId;
|
|
String? get requestId => _$this._requestId;
|
|
set requestId(String? requestId) => _$this._requestId = requestId;
|
|
|
|
_i2.GWatchersData? Function(_i2.GWatchersData?, _i2.GWatchersData?)?
|
|
_updateResult;
|
|
_i2.GWatchersData? Function(_i2.GWatchersData?, _i2.GWatchersData?)?
|
|
get updateResult => _$this._updateResult;
|
|
set updateResult(
|
|
_i2.GWatchersData? Function(_i2.GWatchersData?, _i2.GWatchersData?)?
|
|
updateResult) =>
|
|
_$this._updateResult = updateResult;
|
|
|
|
_i2.GWatchersDataBuilder? _optimisticResponse;
|
|
_i2.GWatchersDataBuilder get optimisticResponse =>
|
|
_$this._optimisticResponse ??= new _i2.GWatchersDataBuilder();
|
|
set optimisticResponse(_i2.GWatchersDataBuilder? optimisticResponse) =>
|
|
_$this._optimisticResponse = optimisticResponse;
|
|
|
|
String? _updateCacheHandlerKey;
|
|
String? get updateCacheHandlerKey => _$this._updateCacheHandlerKey;
|
|
set updateCacheHandlerKey(String? updateCacheHandlerKey) =>
|
|
_$this._updateCacheHandlerKey = updateCacheHandlerKey;
|
|
|
|
Map<String, dynamic>? _updateCacheHandlerContext;
|
|
Map<String, dynamic>? get updateCacheHandlerContext =>
|
|
_$this._updateCacheHandlerContext;
|
|
set updateCacheHandlerContext(
|
|
Map<String, dynamic>? updateCacheHandlerContext) =>
|
|
_$this._updateCacheHandlerContext = updateCacheHandlerContext;
|
|
|
|
_i1.FetchPolicy? _fetchPolicy;
|
|
_i1.FetchPolicy? get fetchPolicy => _$this._fetchPolicy;
|
|
set fetchPolicy(_i1.FetchPolicy? fetchPolicy) =>
|
|
_$this._fetchPolicy = fetchPolicy;
|
|
|
|
bool? _executeOnListen;
|
|
bool? get executeOnListen => _$this._executeOnListen;
|
|
set executeOnListen(bool? executeOnListen) =>
|
|
_$this._executeOnListen = executeOnListen;
|
|
|
|
GWatchersReqBuilder() {
|
|
GWatchersReq._initializeBuilder(this);
|
|
}
|
|
|
|
GWatchersReqBuilder get _$this {
|
|
final $v = _$v;
|
|
if ($v != null) {
|
|
_vars = $v.vars.toBuilder();
|
|
_operation = $v.operation;
|
|
_requestId = $v.requestId;
|
|
_updateResult = $v.updateResult;
|
|
_optimisticResponse = $v.optimisticResponse?.toBuilder();
|
|
_updateCacheHandlerKey = $v.updateCacheHandlerKey;
|
|
_updateCacheHandlerContext = $v.updateCacheHandlerContext;
|
|
_fetchPolicy = $v.fetchPolicy;
|
|
_executeOnListen = $v.executeOnListen;
|
|
_$v = null;
|
|
}
|
|
return this;
|
|
}
|
|
|
|
@override
|
|
void replace(GWatchersReq other) {
|
|
ArgumentError.checkNotNull(other, 'other');
|
|
_$v = other as _$GWatchersReq;
|
|
}
|
|
|
|
@override
|
|
void update(void Function(GWatchersReqBuilder)? updates) {
|
|
if (updates != null) updates(this);
|
|
}
|
|
|
|
@override
|
|
GWatchersReq build() => _build();
|
|
|
|
_$GWatchersReq _build() {
|
|
_$GWatchersReq _$result;
|
|
try {
|
|
_$result = _$v ??
|
|
new _$GWatchersReq._(
|
|
vars: vars.build(),
|
|
operation: BuiltValueNullFieldError.checkNotNull(
|
|
operation, r'GWatchersReq', 'operation'),
|
|
requestId: requestId,
|
|
updateResult: updateResult,
|
|
optimisticResponse: _optimisticResponse?.build(),
|
|
updateCacheHandlerKey: updateCacheHandlerKey,
|
|
updateCacheHandlerContext: updateCacheHandlerContext,
|
|
fetchPolicy: fetchPolicy,
|
|
executeOnListen: BuiltValueNullFieldError.checkNotNull(
|
|
executeOnListen, r'GWatchersReq', 'executeOnListen'));
|
|
} catch (_) {
|
|
late String _$failedField;
|
|
try {
|
|
_$failedField = 'vars';
|
|
vars.build();
|
|
|
|
_$failedField = 'optimisticResponse';
|
|
_optimisticResponse?.build();
|
|
} catch (e) {
|
|
throw new BuiltValueNestedFieldError(
|
|
r'GWatchersReq', _$failedField, e.toString());
|
|
}
|
|
rethrow;
|
|
}
|
|
replace(_$result);
|
|
return _$result;
|
|
}
|
|
}
|
|
|
|
class _$GStargazersReq extends GStargazersReq {
|
|
@override
|
|
final _i3.GStargazersVars vars;
|
|
@override
|
|
final _i4.Operation operation;
|
|
@override
|
|
final String? requestId;
|
|
@override
|
|
final _i2.GStargazersData? Function(
|
|
_i2.GStargazersData?, _i2.GStargazersData?)? updateResult;
|
|
@override
|
|
final _i2.GStargazersData? optimisticResponse;
|
|
@override
|
|
final String? updateCacheHandlerKey;
|
|
@override
|
|
final Map<String, dynamic>? updateCacheHandlerContext;
|
|
@override
|
|
final _i1.FetchPolicy? fetchPolicy;
|
|
@override
|
|
final bool executeOnListen;
|
|
|
|
factory _$GStargazersReq([void Function(GStargazersReqBuilder)? updates]) =>
|
|
(new GStargazersReqBuilder()..update(updates))._build();
|
|
|
|
_$GStargazersReq._(
|
|
{required this.vars,
|
|
required this.operation,
|
|
this.requestId,
|
|
this.updateResult,
|
|
this.optimisticResponse,
|
|
this.updateCacheHandlerKey,
|
|
this.updateCacheHandlerContext,
|
|
this.fetchPolicy,
|
|
required this.executeOnListen})
|
|
: super._() {
|
|
BuiltValueNullFieldError.checkNotNull(vars, r'GStargazersReq', 'vars');
|
|
BuiltValueNullFieldError.checkNotNull(
|
|
operation, r'GStargazersReq', 'operation');
|
|
BuiltValueNullFieldError.checkNotNull(
|
|
executeOnListen, r'GStargazersReq', 'executeOnListen');
|
|
}
|
|
|
|
@override
|
|
GStargazersReq rebuild(void Function(GStargazersReqBuilder) updates) =>
|
|
(toBuilder()..update(updates)).build();
|
|
|
|
@override
|
|
GStargazersReqBuilder toBuilder() =>
|
|
new GStargazersReqBuilder()..replace(this);
|
|
|
|
@override
|
|
bool operator ==(Object other) {
|
|
if (identical(other, this)) return true;
|
|
final dynamic _$dynamicOther = other;
|
|
return other is GStargazersReq &&
|
|
vars == other.vars &&
|
|
operation == other.operation &&
|
|
requestId == other.requestId &&
|
|
updateResult == _$dynamicOther.updateResult &&
|
|
optimisticResponse == other.optimisticResponse &&
|
|
updateCacheHandlerKey == other.updateCacheHandlerKey &&
|
|
updateCacheHandlerContext == other.updateCacheHandlerContext &&
|
|
fetchPolicy == other.fetchPolicy &&
|
|
executeOnListen == other.executeOnListen;
|
|
}
|
|
|
|
@override
|
|
int get hashCode {
|
|
return $jf($jc(
|
|
$jc(
|
|
$jc(
|
|
$jc(
|
|
$jc(
|
|
$jc(
|
|
$jc($jc($jc(0, vars.hashCode), operation.hashCode),
|
|
requestId.hashCode),
|
|
updateResult.hashCode),
|
|
optimisticResponse.hashCode),
|
|
updateCacheHandlerKey.hashCode),
|
|
updateCacheHandlerContext.hashCode),
|
|
fetchPolicy.hashCode),
|
|
executeOnListen.hashCode));
|
|
}
|
|
|
|
@override
|
|
String toString() {
|
|
return (newBuiltValueToStringHelper(r'GStargazersReq')
|
|
..add('vars', vars)
|
|
..add('operation', operation)
|
|
..add('requestId', requestId)
|
|
..add('updateResult', updateResult)
|
|
..add('optimisticResponse', optimisticResponse)
|
|
..add('updateCacheHandlerKey', updateCacheHandlerKey)
|
|
..add('updateCacheHandlerContext', updateCacheHandlerContext)
|
|
..add('fetchPolicy', fetchPolicy)
|
|
..add('executeOnListen', executeOnListen))
|
|
.toString();
|
|
}
|
|
}
|
|
|
|
class GStargazersReqBuilder
|
|
implements Builder<GStargazersReq, GStargazersReqBuilder> {
|
|
_$GStargazersReq? _$v;
|
|
|
|
_i3.GStargazersVarsBuilder? _vars;
|
|
_i3.GStargazersVarsBuilder get vars =>
|
|
_$this._vars ??= new _i3.GStargazersVarsBuilder();
|
|
set vars(_i3.GStargazersVarsBuilder? vars) => _$this._vars = vars;
|
|
|
|
_i4.Operation? _operation;
|
|
_i4.Operation? get operation => _$this._operation;
|
|
set operation(_i4.Operation? operation) => _$this._operation = operation;
|
|
|
|
String? _requestId;
|
|
String? get requestId => _$this._requestId;
|
|
set requestId(String? requestId) => _$this._requestId = requestId;
|
|
|
|
_i2.GStargazersData? Function(_i2.GStargazersData?, _i2.GStargazersData?)?
|
|
_updateResult;
|
|
_i2.GStargazersData? Function(_i2.GStargazersData?, _i2.GStargazersData?)?
|
|
get updateResult => _$this._updateResult;
|
|
set updateResult(
|
|
_i2.GStargazersData? Function(
|
|
_i2.GStargazersData?, _i2.GStargazersData?)?
|
|
updateResult) =>
|
|
_$this._updateResult = updateResult;
|
|
|
|
_i2.GStargazersDataBuilder? _optimisticResponse;
|
|
_i2.GStargazersDataBuilder get optimisticResponse =>
|
|
_$this._optimisticResponse ??= new _i2.GStargazersDataBuilder();
|
|
set optimisticResponse(_i2.GStargazersDataBuilder? optimisticResponse) =>
|
|
_$this._optimisticResponse = optimisticResponse;
|
|
|
|
String? _updateCacheHandlerKey;
|
|
String? get updateCacheHandlerKey => _$this._updateCacheHandlerKey;
|
|
set updateCacheHandlerKey(String? updateCacheHandlerKey) =>
|
|
_$this._updateCacheHandlerKey = updateCacheHandlerKey;
|
|
|
|
Map<String, dynamic>? _updateCacheHandlerContext;
|
|
Map<String, dynamic>? get updateCacheHandlerContext =>
|
|
_$this._updateCacheHandlerContext;
|
|
set updateCacheHandlerContext(
|
|
Map<String, dynamic>? updateCacheHandlerContext) =>
|
|
_$this._updateCacheHandlerContext = updateCacheHandlerContext;
|
|
|
|
_i1.FetchPolicy? _fetchPolicy;
|
|
_i1.FetchPolicy? get fetchPolicy => _$this._fetchPolicy;
|
|
set fetchPolicy(_i1.FetchPolicy? fetchPolicy) =>
|
|
_$this._fetchPolicy = fetchPolicy;
|
|
|
|
bool? _executeOnListen;
|
|
bool? get executeOnListen => _$this._executeOnListen;
|
|
set executeOnListen(bool? executeOnListen) =>
|
|
_$this._executeOnListen = executeOnListen;
|
|
|
|
GStargazersReqBuilder() {
|
|
GStargazersReq._initializeBuilder(this);
|
|
}
|
|
|
|
GStargazersReqBuilder get _$this {
|
|
final $v = _$v;
|
|
if ($v != null) {
|
|
_vars = $v.vars.toBuilder();
|
|
_operation = $v.operation;
|
|
_requestId = $v.requestId;
|
|
_updateResult = $v.updateResult;
|
|
_optimisticResponse = $v.optimisticResponse?.toBuilder();
|
|
_updateCacheHandlerKey = $v.updateCacheHandlerKey;
|
|
_updateCacheHandlerContext = $v.updateCacheHandlerContext;
|
|
_fetchPolicy = $v.fetchPolicy;
|
|
_executeOnListen = $v.executeOnListen;
|
|
_$v = null;
|
|
}
|
|
return this;
|
|
}
|
|
|
|
@override
|
|
void replace(GStargazersReq other) {
|
|
ArgumentError.checkNotNull(other, 'other');
|
|
_$v = other as _$GStargazersReq;
|
|
}
|
|
|
|
@override
|
|
void update(void Function(GStargazersReqBuilder)? updates) {
|
|
if (updates != null) updates(this);
|
|
}
|
|
|
|
@override
|
|
GStargazersReq build() => _build();
|
|
|
|
_$GStargazersReq _build() {
|
|
_$GStargazersReq _$result;
|
|
try {
|
|
_$result = _$v ??
|
|
new _$GStargazersReq._(
|
|
vars: vars.build(),
|
|
operation: BuiltValueNullFieldError.checkNotNull(
|
|
operation, r'GStargazersReq', 'operation'),
|
|
requestId: requestId,
|
|
updateResult: updateResult,
|
|
optimisticResponse: _optimisticResponse?.build(),
|
|
updateCacheHandlerKey: updateCacheHandlerKey,
|
|
updateCacheHandlerContext: updateCacheHandlerContext,
|
|
fetchPolicy: fetchPolicy,
|
|
executeOnListen: BuiltValueNullFieldError.checkNotNull(
|
|
executeOnListen, r'GStargazersReq', 'executeOnListen'));
|
|
} catch (_) {
|
|
late String _$failedField;
|
|
try {
|
|
_$failedField = 'vars';
|
|
vars.build();
|
|
|
|
_$failedField = 'optimisticResponse';
|
|
_optimisticResponse?.build();
|
|
} catch (e) {
|
|
throw new BuiltValueNestedFieldError(
|
|
r'GStargazersReq', _$failedField, e.toString());
|
|
}
|
|
rethrow;
|
|
}
|
|
replace(_$result);
|
|
return _$result;
|
|
}
|
|
}
|
|
|
|
class _$GUserPartsReq extends GUserPartsReq {
|
|
@override
|
|
final _i3.GUserPartsVars vars;
|
|
@override
|
|
final _i7.DocumentNode document;
|
|
@override
|
|
final String? fragmentName;
|
|
@override
|
|
final Map<String, dynamic> idFields;
|
|
|
|
factory _$GUserPartsReq([void Function(GUserPartsReqBuilder)? updates]) =>
|
|
(new GUserPartsReqBuilder()..update(updates))._build();
|
|
|
|
_$GUserPartsReq._(
|
|
{required this.vars,
|
|
required this.document,
|
|
this.fragmentName,
|
|
required this.idFields})
|
|
: super._() {
|
|
BuiltValueNullFieldError.checkNotNull(vars, r'GUserPartsReq', 'vars');
|
|
BuiltValueNullFieldError.checkNotNull(
|
|
document, r'GUserPartsReq', 'document');
|
|
BuiltValueNullFieldError.checkNotNull(
|
|
idFields, r'GUserPartsReq', 'idFields');
|
|
}
|
|
|
|
@override
|
|
GUserPartsReq rebuild(void Function(GUserPartsReqBuilder) updates) =>
|
|
(toBuilder()..update(updates)).build();
|
|
|
|
@override
|
|
GUserPartsReqBuilder toBuilder() => new GUserPartsReqBuilder()..replace(this);
|
|
|
|
@override
|
|
bool operator ==(Object other) {
|
|
if (identical(other, this)) return true;
|
|
return other is GUserPartsReq &&
|
|
vars == other.vars &&
|
|
document == other.document &&
|
|
fragmentName == other.fragmentName &&
|
|
idFields == other.idFields;
|
|
}
|
|
|
|
@override
|
|
int get hashCode {
|
|
return $jf($jc(
|
|
$jc($jc($jc(0, vars.hashCode), document.hashCode),
|
|
fragmentName.hashCode),
|
|
idFields.hashCode));
|
|
}
|
|
|
|
@override
|
|
String toString() {
|
|
return (newBuiltValueToStringHelper(r'GUserPartsReq')
|
|
..add('vars', vars)
|
|
..add('document', document)
|
|
..add('fragmentName', fragmentName)
|
|
..add('idFields', idFields))
|
|
.toString();
|
|
}
|
|
}
|
|
|
|
class GUserPartsReqBuilder
|
|
implements Builder<GUserPartsReq, GUserPartsReqBuilder> {
|
|
_$GUserPartsReq? _$v;
|
|
|
|
_i3.GUserPartsVarsBuilder? _vars;
|
|
_i3.GUserPartsVarsBuilder get vars =>
|
|
_$this._vars ??= new _i3.GUserPartsVarsBuilder();
|
|
set vars(_i3.GUserPartsVarsBuilder? vars) => _$this._vars = vars;
|
|
|
|
_i7.DocumentNode? _document;
|
|
_i7.DocumentNode? get document => _$this._document;
|
|
set document(_i7.DocumentNode? document) => _$this._document = document;
|
|
|
|
String? _fragmentName;
|
|
String? get fragmentName => _$this._fragmentName;
|
|
set fragmentName(String? fragmentName) => _$this._fragmentName = fragmentName;
|
|
|
|
Map<String, dynamic>? _idFields;
|
|
Map<String, dynamic>? get idFields => _$this._idFields;
|
|
set idFields(Map<String, dynamic>? idFields) => _$this._idFields = idFields;
|
|
|
|
GUserPartsReqBuilder() {
|
|
GUserPartsReq._initializeBuilder(this);
|
|
}
|
|
|
|
GUserPartsReqBuilder get _$this {
|
|
final $v = _$v;
|
|
if ($v != null) {
|
|
_vars = $v.vars.toBuilder();
|
|
_document = $v.document;
|
|
_fragmentName = $v.fragmentName;
|
|
_idFields = $v.idFields;
|
|
_$v = null;
|
|
}
|
|
return this;
|
|
}
|
|
|
|
@override
|
|
void replace(GUserPartsReq other) {
|
|
ArgumentError.checkNotNull(other, 'other');
|
|
_$v = other as _$GUserPartsReq;
|
|
}
|
|
|
|
@override
|
|
void update(void Function(GUserPartsReqBuilder)? updates) {
|
|
if (updates != null) updates(this);
|
|
}
|
|
|
|
@override
|
|
GUserPartsReq build() => _build();
|
|
|
|
_$GUserPartsReq _build() {
|
|
_$GUserPartsReq _$result;
|
|
try {
|
|
_$result = _$v ??
|
|
new _$GUserPartsReq._(
|
|
vars: vars.build(),
|
|
document: BuiltValueNullFieldError.checkNotNull(
|
|
document, r'GUserPartsReq', 'document'),
|
|
fragmentName: fragmentName,
|
|
idFields: BuiltValueNullFieldError.checkNotNull(
|
|
idFields, r'GUserPartsReq', 'idFields'));
|
|
} catch (_) {
|
|
late String _$failedField;
|
|
try {
|
|
_$failedField = 'vars';
|
|
vars.build();
|
|
} catch (e) {
|
|
throw new BuiltValueNestedFieldError(
|
|
r'GUserPartsReq', _$failedField, e.toString());
|
|
}
|
|
rethrow;
|
|
}
|
|
replace(_$result);
|
|
return _$result;
|
|
}
|
|
}
|
|
|
|
class _$GOrgPartsReq extends GOrgPartsReq {
|
|
@override
|
|
final _i3.GOrgPartsVars vars;
|
|
@override
|
|
final _i7.DocumentNode document;
|
|
@override
|
|
final String? fragmentName;
|
|
@override
|
|
final Map<String, dynamic> idFields;
|
|
|
|
factory _$GOrgPartsReq([void Function(GOrgPartsReqBuilder)? updates]) =>
|
|
(new GOrgPartsReqBuilder()..update(updates))._build();
|
|
|
|
_$GOrgPartsReq._(
|
|
{required this.vars,
|
|
required this.document,
|
|
this.fragmentName,
|
|
required this.idFields})
|
|
: super._() {
|
|
BuiltValueNullFieldError.checkNotNull(vars, r'GOrgPartsReq', 'vars');
|
|
BuiltValueNullFieldError.checkNotNull(
|
|
document, r'GOrgPartsReq', 'document');
|
|
BuiltValueNullFieldError.checkNotNull(
|
|
idFields, r'GOrgPartsReq', 'idFields');
|
|
}
|
|
|
|
@override
|
|
GOrgPartsReq rebuild(void Function(GOrgPartsReqBuilder) updates) =>
|
|
(toBuilder()..update(updates)).build();
|
|
|
|
@override
|
|
GOrgPartsReqBuilder toBuilder() => new GOrgPartsReqBuilder()..replace(this);
|
|
|
|
@override
|
|
bool operator ==(Object other) {
|
|
if (identical(other, this)) return true;
|
|
return other is GOrgPartsReq &&
|
|
vars == other.vars &&
|
|
document == other.document &&
|
|
fragmentName == other.fragmentName &&
|
|
idFields == other.idFields;
|
|
}
|
|
|
|
@override
|
|
int get hashCode {
|
|
return $jf($jc(
|
|
$jc($jc($jc(0, vars.hashCode), document.hashCode),
|
|
fragmentName.hashCode),
|
|
idFields.hashCode));
|
|
}
|
|
|
|
@override
|
|
String toString() {
|
|
return (newBuiltValueToStringHelper(r'GOrgPartsReq')
|
|
..add('vars', vars)
|
|
..add('document', document)
|
|
..add('fragmentName', fragmentName)
|
|
..add('idFields', idFields))
|
|
.toString();
|
|
}
|
|
}
|
|
|
|
class GOrgPartsReqBuilder
|
|
implements Builder<GOrgPartsReq, GOrgPartsReqBuilder> {
|
|
_$GOrgPartsReq? _$v;
|
|
|
|
_i3.GOrgPartsVarsBuilder? _vars;
|
|
_i3.GOrgPartsVarsBuilder get vars =>
|
|
_$this._vars ??= new _i3.GOrgPartsVarsBuilder();
|
|
set vars(_i3.GOrgPartsVarsBuilder? vars) => _$this._vars = vars;
|
|
|
|
_i7.DocumentNode? _document;
|
|
_i7.DocumentNode? get document => _$this._document;
|
|
set document(_i7.DocumentNode? document) => _$this._document = document;
|
|
|
|
String? _fragmentName;
|
|
String? get fragmentName => _$this._fragmentName;
|
|
set fragmentName(String? fragmentName) => _$this._fragmentName = fragmentName;
|
|
|
|
Map<String, dynamic>? _idFields;
|
|
Map<String, dynamic>? get idFields => _$this._idFields;
|
|
set idFields(Map<String, dynamic>? idFields) => _$this._idFields = idFields;
|
|
|
|
GOrgPartsReqBuilder() {
|
|
GOrgPartsReq._initializeBuilder(this);
|
|
}
|
|
|
|
GOrgPartsReqBuilder get _$this {
|
|
final $v = _$v;
|
|
if ($v != null) {
|
|
_vars = $v.vars.toBuilder();
|
|
_document = $v.document;
|
|
_fragmentName = $v.fragmentName;
|
|
_idFields = $v.idFields;
|
|
_$v = null;
|
|
}
|
|
return this;
|
|
}
|
|
|
|
@override
|
|
void replace(GOrgPartsReq other) {
|
|
ArgumentError.checkNotNull(other, 'other');
|
|
_$v = other as _$GOrgPartsReq;
|
|
}
|
|
|
|
@override
|
|
void update(void Function(GOrgPartsReqBuilder)? updates) {
|
|
if (updates != null) updates(this);
|
|
}
|
|
|
|
@override
|
|
GOrgPartsReq build() => _build();
|
|
|
|
_$GOrgPartsReq _build() {
|
|
_$GOrgPartsReq _$result;
|
|
try {
|
|
_$result = _$v ??
|
|
new _$GOrgPartsReq._(
|
|
vars: vars.build(),
|
|
document: BuiltValueNullFieldError.checkNotNull(
|
|
document, r'GOrgPartsReq', 'document'),
|
|
fragmentName: fragmentName,
|
|
idFields: BuiltValueNullFieldError.checkNotNull(
|
|
idFields, r'GOrgPartsReq', 'idFields'));
|
|
} catch (_) {
|
|
late String _$failedField;
|
|
try {
|
|
_$failedField = 'vars';
|
|
vars.build();
|
|
} catch (e) {
|
|
throw new BuiltValueNestedFieldError(
|
|
r'GOrgPartsReq', _$failedField, e.toString());
|
|
}
|
|
rethrow;
|
|
}
|
|
replace(_$result);
|
|
return _$result;
|
|
}
|
|
}
|
|
|
|
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas
|