2022-08-24 05:35:49 +00:00
|
|
|
import 'dart:async';
|
|
|
|
import 'package:gql/ast.dart';
|
|
|
|
import 'package:graphql/client.dart' as graphql;
|
|
|
|
import 'package:selfprivacy/utils/scalars.dart';
|
|
|
|
import 'schema.graphql.dart';
|
2023-06-23 02:22:48 +00:00
|
|
|
import 'server_settings.graphql.dart';
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
class Fragment$basicMutationReturnFields {
|
2023-02-24 10:44:55 +00:00
|
|
|
Fragment$basicMutationReturnFields({
|
|
|
|
required this.code,
|
|
|
|
required this.message,
|
|
|
|
required this.success,
|
|
|
|
required this.$__typename,
|
|
|
|
});
|
|
|
|
|
|
|
|
factory Fragment$basicMutationReturnFields.fromJson(
|
|
|
|
Map<String, dynamic> json) {
|
|
|
|
switch (json["__typename"] as String) {
|
|
|
|
case "ApiKeyMutationReturn":
|
|
|
|
return Fragment$basicMutationReturnFields$$ApiKeyMutationReturn
|
|
|
|
.fromJson(json);
|
|
|
|
|
|
|
|
case "AutoUpgradeSettingsMutationReturn":
|
|
|
|
return Fragment$basicMutationReturnFields$$AutoUpgradeSettingsMutationReturn
|
|
|
|
.fromJson(json);
|
|
|
|
|
|
|
|
case "DeviceApiTokenMutationReturn":
|
|
|
|
return Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn
|
|
|
|
.fromJson(json);
|
|
|
|
|
2023-06-16 01:30:46 +00:00
|
|
|
case "GenericBackupConfigReturn":
|
|
|
|
return Fragment$basicMutationReturnFields$$GenericBackupConfigReturn
|
|
|
|
.fromJson(json);
|
|
|
|
|
2023-06-19 21:05:57 +00:00
|
|
|
case "GenericJobMutationReturn":
|
|
|
|
return Fragment$basicMutationReturnFields$$GenericJobMutationReturn
|
2023-02-24 10:44:55 +00:00
|
|
|
.fromJson(json);
|
|
|
|
|
|
|
|
case "GenericMutationReturn":
|
|
|
|
return Fragment$basicMutationReturnFields$$GenericMutationReturn
|
|
|
|
.fromJson(json);
|
|
|
|
|
|
|
|
case "ServiceJobMutationReturn":
|
|
|
|
return Fragment$basicMutationReturnFields$$ServiceJobMutationReturn
|
|
|
|
.fromJson(json);
|
|
|
|
|
|
|
|
case "ServiceMutationReturn":
|
|
|
|
return Fragment$basicMutationReturnFields$$ServiceMutationReturn
|
|
|
|
.fromJson(json);
|
|
|
|
|
|
|
|
case "TimezoneMutationReturn":
|
|
|
|
return Fragment$basicMutationReturnFields$$TimezoneMutationReturn
|
|
|
|
.fromJson(json);
|
|
|
|
|
|
|
|
case "UserMutationReturn":
|
|
|
|
return Fragment$basicMutationReturnFields$$UserMutationReturn.fromJson(
|
|
|
|
json);
|
|
|
|
|
|
|
|
default:
|
|
|
|
final l$code = json['code'];
|
|
|
|
final l$message = json['message'];
|
|
|
|
final l$success = json['success'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Fragment$basicMutationReturnFields(
|
|
|
|
code: (l$code as int),
|
|
|
|
message: (l$message as String),
|
|
|
|
success: (l$success as bool),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
final int code;
|
|
|
|
|
|
|
|
final String message;
|
|
|
|
|
|
|
|
final bool success;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$code = code;
|
|
|
|
_resultData['code'] = l$code;
|
|
|
|
final l$message = message;
|
|
|
|
_resultData['message'] = l$message;
|
|
|
|
final l$success = success;
|
|
|
|
_resultData['success'] = l$success;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
int get hashCode {
|
|
|
|
final l$code = code;
|
|
|
|
final l$message = message;
|
|
|
|
final l$success = success;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
return Object.hashAll([
|
|
|
|
l$code,
|
|
|
|
l$message,
|
|
|
|
l$success,
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (!(other is Fragment$basicMutationReturnFields) ||
|
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$code = code;
|
|
|
|
final lOther$code = other.code;
|
|
|
|
if (l$code != lOther$code) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$message = message;
|
|
|
|
final lOther$message = other.message;
|
|
|
|
if (l$message != lOther$message) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$success = success;
|
|
|
|
final lOther$success = other.success;
|
|
|
|
if (l$success != lOther$success) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final lOther$$__typename = other.$__typename;
|
|
|
|
if (l$$__typename != lOther$$__typename) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Fragment$basicMutationReturnFields
|
|
|
|
on Fragment$basicMutationReturnFields {
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields<
|
|
|
|
Fragment$basicMutationReturnFields>
|
|
|
|
get copyWith => CopyWith$Fragment$basicMutationReturnFields(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2023-05-30 17:25:46 +00:00
|
|
|
_T when<_T>({
|
|
|
|
required _T Function(
|
|
|
|
Fragment$basicMutationReturnFields$$ApiKeyMutationReturn)
|
|
|
|
apiKeyMutationReturn,
|
|
|
|
required _T Function(
|
|
|
|
Fragment$basicMutationReturnFields$$AutoUpgradeSettingsMutationReturn)
|
|
|
|
autoUpgradeSettingsMutationReturn,
|
|
|
|
required _T Function(
|
|
|
|
Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn)
|
|
|
|
deviceApiTokenMutationReturn,
|
2023-06-16 01:30:46 +00:00
|
|
|
required _T Function(
|
|
|
|
Fragment$basicMutationReturnFields$$GenericBackupConfigReturn)
|
|
|
|
genericBackupConfigReturn,
|
2023-05-30 17:25:46 +00:00
|
|
|
required _T Function(
|
2023-06-19 21:05:57 +00:00
|
|
|
Fragment$basicMutationReturnFields$$GenericJobMutationReturn)
|
|
|
|
genericJobMutationReturn,
|
2023-05-30 17:25:46 +00:00
|
|
|
required _T Function(
|
|
|
|
Fragment$basicMutationReturnFields$$GenericMutationReturn)
|
|
|
|
genericMutationReturn,
|
|
|
|
required _T Function(
|
|
|
|
Fragment$basicMutationReturnFields$$ServiceJobMutationReturn)
|
|
|
|
serviceJobMutationReturn,
|
|
|
|
required _T Function(
|
|
|
|
Fragment$basicMutationReturnFields$$ServiceMutationReturn)
|
|
|
|
serviceMutationReturn,
|
|
|
|
required _T Function(
|
|
|
|
Fragment$basicMutationReturnFields$$TimezoneMutationReturn)
|
|
|
|
timezoneMutationReturn,
|
|
|
|
required _T Function(Fragment$basicMutationReturnFields$$UserMutationReturn)
|
|
|
|
userMutationReturn,
|
|
|
|
required _T Function() orElse,
|
|
|
|
}) {
|
|
|
|
switch ($__typename) {
|
|
|
|
case "ApiKeyMutationReturn":
|
|
|
|
return apiKeyMutationReturn(
|
|
|
|
this as Fragment$basicMutationReturnFields$$ApiKeyMutationReturn);
|
|
|
|
|
|
|
|
case "AutoUpgradeSettingsMutationReturn":
|
|
|
|
return autoUpgradeSettingsMutationReturn(this
|
|
|
|
as Fragment$basicMutationReturnFields$$AutoUpgradeSettingsMutationReturn);
|
|
|
|
|
|
|
|
case "DeviceApiTokenMutationReturn":
|
|
|
|
return deviceApiTokenMutationReturn(this
|
|
|
|
as Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn);
|
|
|
|
|
2023-06-16 01:30:46 +00:00
|
|
|
case "GenericBackupConfigReturn":
|
|
|
|
return genericBackupConfigReturn(this
|
|
|
|
as Fragment$basicMutationReturnFields$$GenericBackupConfigReturn);
|
|
|
|
|
2023-06-19 21:05:57 +00:00
|
|
|
case "GenericJobMutationReturn":
|
|
|
|
return genericJobMutationReturn(this
|
|
|
|
as Fragment$basicMutationReturnFields$$GenericJobMutationReturn);
|
2023-05-30 17:25:46 +00:00
|
|
|
|
|
|
|
case "GenericMutationReturn":
|
|
|
|
return genericMutationReturn(
|
|
|
|
this as Fragment$basicMutationReturnFields$$GenericMutationReturn);
|
|
|
|
|
|
|
|
case "ServiceJobMutationReturn":
|
|
|
|
return serviceJobMutationReturn(this
|
|
|
|
as Fragment$basicMutationReturnFields$$ServiceJobMutationReturn);
|
|
|
|
|
|
|
|
case "ServiceMutationReturn":
|
|
|
|
return serviceMutationReturn(
|
|
|
|
this as Fragment$basicMutationReturnFields$$ServiceMutationReturn);
|
|
|
|
|
|
|
|
case "TimezoneMutationReturn":
|
|
|
|
return timezoneMutationReturn(
|
|
|
|
this as Fragment$basicMutationReturnFields$$TimezoneMutationReturn);
|
|
|
|
|
|
|
|
case "UserMutationReturn":
|
|
|
|
return userMutationReturn(
|
|
|
|
this as Fragment$basicMutationReturnFields$$UserMutationReturn);
|
|
|
|
|
|
|
|
default:
|
|
|
|
return orElse();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
_T maybeWhen<_T>({
|
|
|
|
_T Function(Fragment$basicMutationReturnFields$$ApiKeyMutationReturn)?
|
|
|
|
apiKeyMutationReturn,
|
|
|
|
_T Function(
|
|
|
|
Fragment$basicMutationReturnFields$$AutoUpgradeSettingsMutationReturn)?
|
|
|
|
autoUpgradeSettingsMutationReturn,
|
|
|
|
_T Function(
|
|
|
|
Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn)?
|
|
|
|
deviceApiTokenMutationReturn,
|
2023-06-16 01:30:46 +00:00
|
|
|
_T Function(Fragment$basicMutationReturnFields$$GenericBackupConfigReturn)?
|
|
|
|
genericBackupConfigReturn,
|
2023-06-19 21:05:57 +00:00
|
|
|
_T Function(Fragment$basicMutationReturnFields$$GenericJobMutationReturn)?
|
|
|
|
genericJobMutationReturn,
|
2023-05-30 17:25:46 +00:00
|
|
|
_T Function(Fragment$basicMutationReturnFields$$GenericMutationReturn)?
|
|
|
|
genericMutationReturn,
|
|
|
|
_T Function(Fragment$basicMutationReturnFields$$ServiceJobMutationReturn)?
|
|
|
|
serviceJobMutationReturn,
|
|
|
|
_T Function(Fragment$basicMutationReturnFields$$ServiceMutationReturn)?
|
|
|
|
serviceMutationReturn,
|
|
|
|
_T Function(Fragment$basicMutationReturnFields$$TimezoneMutationReturn)?
|
|
|
|
timezoneMutationReturn,
|
|
|
|
_T Function(Fragment$basicMutationReturnFields$$UserMutationReturn)?
|
|
|
|
userMutationReturn,
|
|
|
|
required _T Function() orElse,
|
|
|
|
}) {
|
|
|
|
switch ($__typename) {
|
|
|
|
case "ApiKeyMutationReturn":
|
|
|
|
if (apiKeyMutationReturn != null) {
|
|
|
|
return apiKeyMutationReturn(
|
|
|
|
this as Fragment$basicMutationReturnFields$$ApiKeyMutationReturn);
|
|
|
|
} else {
|
|
|
|
return orElse();
|
|
|
|
}
|
|
|
|
|
|
|
|
case "AutoUpgradeSettingsMutationReturn":
|
|
|
|
if (autoUpgradeSettingsMutationReturn != null) {
|
|
|
|
return autoUpgradeSettingsMutationReturn(this
|
|
|
|
as Fragment$basicMutationReturnFields$$AutoUpgradeSettingsMutationReturn);
|
|
|
|
} else {
|
|
|
|
return orElse();
|
|
|
|
}
|
|
|
|
|
|
|
|
case "DeviceApiTokenMutationReturn":
|
|
|
|
if (deviceApiTokenMutationReturn != null) {
|
|
|
|
return deviceApiTokenMutationReturn(this
|
|
|
|
as Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn);
|
|
|
|
} else {
|
|
|
|
return orElse();
|
|
|
|
}
|
|
|
|
|
2023-06-16 01:30:46 +00:00
|
|
|
case "GenericBackupConfigReturn":
|
|
|
|
if (genericBackupConfigReturn != null) {
|
|
|
|
return genericBackupConfigReturn(this
|
|
|
|
as Fragment$basicMutationReturnFields$$GenericBackupConfigReturn);
|
|
|
|
} else {
|
|
|
|
return orElse();
|
|
|
|
}
|
|
|
|
|
2023-06-19 21:05:57 +00:00
|
|
|
case "GenericJobMutationReturn":
|
|
|
|
if (genericJobMutationReturn != null) {
|
|
|
|
return genericJobMutationReturn(this
|
|
|
|
as Fragment$basicMutationReturnFields$$GenericJobMutationReturn);
|
2023-05-30 17:25:46 +00:00
|
|
|
} else {
|
|
|
|
return orElse();
|
|
|
|
}
|
|
|
|
|
|
|
|
case "GenericMutationReturn":
|
|
|
|
if (genericMutationReturn != null) {
|
|
|
|
return genericMutationReturn(this
|
|
|
|
as Fragment$basicMutationReturnFields$$GenericMutationReturn);
|
|
|
|
} else {
|
|
|
|
return orElse();
|
|
|
|
}
|
|
|
|
|
|
|
|
case "ServiceJobMutationReturn":
|
|
|
|
if (serviceJobMutationReturn != null) {
|
|
|
|
return serviceJobMutationReturn(this
|
|
|
|
as Fragment$basicMutationReturnFields$$ServiceJobMutationReturn);
|
|
|
|
} else {
|
|
|
|
return orElse();
|
|
|
|
}
|
|
|
|
|
|
|
|
case "ServiceMutationReturn":
|
|
|
|
if (serviceMutationReturn != null) {
|
|
|
|
return serviceMutationReturn(this
|
|
|
|
as Fragment$basicMutationReturnFields$$ServiceMutationReturn);
|
|
|
|
} else {
|
|
|
|
return orElse();
|
|
|
|
}
|
|
|
|
|
|
|
|
case "TimezoneMutationReturn":
|
|
|
|
if (timezoneMutationReturn != null) {
|
|
|
|
return timezoneMutationReturn(this
|
|
|
|
as Fragment$basicMutationReturnFields$$TimezoneMutationReturn);
|
|
|
|
} else {
|
|
|
|
return orElse();
|
|
|
|
}
|
|
|
|
|
|
|
|
case "UserMutationReturn":
|
|
|
|
if (userMutationReturn != null) {
|
|
|
|
return userMutationReturn(
|
|
|
|
this as Fragment$basicMutationReturnFields$$UserMutationReturn);
|
|
|
|
} else {
|
|
|
|
return orElse();
|
|
|
|
}
|
|
|
|
|
|
|
|
default:
|
|
|
|
return orElse();
|
|
|
|
}
|
|
|
|
}
|
2023-02-24 10:44:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Fragment$basicMutationReturnFields<TRes> {
|
|
|
|
factory CopyWith$Fragment$basicMutationReturnFields(
|
|
|
|
Fragment$basicMutationReturnFields instance,
|
|
|
|
TRes Function(Fragment$basicMutationReturnFields) then,
|
|
|
|
) = _CopyWithImpl$Fragment$basicMutationReturnFields;
|
|
|
|
|
|
|
|
factory CopyWith$Fragment$basicMutationReturnFields.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Fragment$basicMutationReturnFields;
|
|
|
|
|
|
|
|
TRes call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Fragment$basicMutationReturnFields<TRes>
|
|
|
|
implements CopyWith$Fragment$basicMutationReturnFields<TRes> {
|
|
|
|
_CopyWithImpl$Fragment$basicMutationReturnFields(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
|
|
|
|
|
|
|
final Fragment$basicMutationReturnFields _instance;
|
|
|
|
|
|
|
|
final TRes Function(Fragment$basicMutationReturnFields) _then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2023-02-24 10:44:55 +00:00
|
|
|
|
|
|
|
TRes call({
|
|
|
|
Object? code = _undefined,
|
|
|
|
Object? message = _undefined,
|
|
|
|
Object? success = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
|
|
|
_then(Fragment$basicMutationReturnFields(
|
|
|
|
code:
|
|
|
|
code == _undefined || code == null ? _instance.code : (code as int),
|
|
|
|
message: message == _undefined || message == null
|
|
|
|
? _instance.message
|
|
|
|
: (message as String),
|
|
|
|
success: success == _undefined || success == null
|
|
|
|
? _instance.success
|
|
|
|
: (success as bool),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Fragment$basicMutationReturnFields<TRes>
|
|
|
|
implements CopyWith$Fragment$basicMutationReturnFields<TRes> {
|
|
|
|
_CopyWithStubImpl$Fragment$basicMutationReturnFields(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
|
|
|
call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
|
|
|
_res;
|
|
|
|
}
|
|
|
|
|
|
|
|
const fragmentDefinitionbasicMutationReturnFields = FragmentDefinitionNode(
|
|
|
|
name: NameNode(value: 'basicMutationReturnFields'),
|
|
|
|
typeCondition: TypeConditionNode(
|
|
|
|
on: NamedTypeNode(
|
|
|
|
name: NameNode(value: 'MutationReturnInterface'),
|
|
|
|
isNonNull: false,
|
|
|
|
)),
|
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'code'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'message'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'success'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: '__typename'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
]),
|
|
|
|
);
|
|
|
|
const documentNodeFragmentbasicMutationReturnFields =
|
|
|
|
DocumentNode(definitions: [
|
|
|
|
fragmentDefinitionbasicMutationReturnFields,
|
|
|
|
]);
|
|
|
|
|
|
|
|
extension ClientExtension$Fragment$basicMutationReturnFields
|
|
|
|
on graphql.GraphQLClient {
|
|
|
|
void writeFragment$basicMutationReturnFields({
|
|
|
|
required Fragment$basicMutationReturnFields data,
|
|
|
|
required Map<String, dynamic> idFields,
|
|
|
|
bool broadcast = true,
|
|
|
|
}) =>
|
|
|
|
this.writeFragment(
|
|
|
|
graphql.FragmentRequest(
|
|
|
|
idFields: idFields,
|
|
|
|
fragment: const graphql.Fragment(
|
|
|
|
fragmentName: 'basicMutationReturnFields',
|
|
|
|
document: documentNodeFragmentbasicMutationReturnFields,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
data: data.toJson(),
|
|
|
|
broadcast: broadcast,
|
|
|
|
);
|
|
|
|
Fragment$basicMutationReturnFields? readFragment$basicMutationReturnFields({
|
|
|
|
required Map<String, dynamic> idFields,
|
|
|
|
bool optimistic = true,
|
|
|
|
}) {
|
|
|
|
final result = this.readFragment(
|
|
|
|
graphql.FragmentRequest(
|
|
|
|
idFields: idFields,
|
|
|
|
fragment: const graphql.Fragment(
|
|
|
|
fragmentName: 'basicMutationReturnFields',
|
|
|
|
document: documentNodeFragmentbasicMutationReturnFields,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
optimistic: optimistic,
|
|
|
|
);
|
|
|
|
return result == null
|
|
|
|
? null
|
|
|
|
: Fragment$basicMutationReturnFields.fromJson(result);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class Fragment$basicMutationReturnFields$$ApiKeyMutationReturn
|
|
|
|
implements Fragment$basicMutationReturnFields {
|
|
|
|
Fragment$basicMutationReturnFields$$ApiKeyMutationReturn({
|
|
|
|
required this.code,
|
|
|
|
required this.message,
|
|
|
|
required this.success,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'ApiKeyMutationReturn',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
factory Fragment$basicMutationReturnFields$$ApiKeyMutationReturn.fromJson(
|
|
|
|
Map<String, dynamic> json) {
|
|
|
|
final l$code = json['code'];
|
|
|
|
final l$message = json['message'];
|
|
|
|
final l$success = json['success'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Fragment$basicMutationReturnFields$$ApiKeyMutationReturn(
|
|
|
|
code: (l$code as int),
|
|
|
|
message: (l$message as String),
|
|
|
|
success: (l$success as bool),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
final int code;
|
|
|
|
|
|
|
|
final String message;
|
|
|
|
|
|
|
|
final bool success;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$code = code;
|
|
|
|
_resultData['code'] = l$code;
|
|
|
|
final l$message = message;
|
|
|
|
_resultData['message'] = l$message;
|
|
|
|
final l$success = success;
|
|
|
|
_resultData['success'] = l$success;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
int get hashCode {
|
|
|
|
final l$code = code;
|
|
|
|
final l$message = message;
|
|
|
|
final l$success = success;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
return Object.hashAll([
|
|
|
|
l$code,
|
|
|
|
l$message,
|
|
|
|
l$success,
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (!(other is Fragment$basicMutationReturnFields$$ApiKeyMutationReturn) ||
|
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$code = code;
|
|
|
|
final lOther$code = other.code;
|
|
|
|
if (l$code != lOther$code) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$message = message;
|
|
|
|
final lOther$message = other.message;
|
|
|
|
if (l$message != lOther$message) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$success = success;
|
|
|
|
final lOther$success = other.success;
|
|
|
|
if (l$success != lOther$success) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final lOther$$__typename = other.$__typename;
|
|
|
|
if (l$$__typename != lOther$$__typename) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Fragment$basicMutationReturnFields$$ApiKeyMutationReturn
|
|
|
|
on Fragment$basicMutationReturnFields$$ApiKeyMutationReturn {
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$ApiKeyMutationReturn<
|
|
|
|
Fragment$basicMutationReturnFields$$ApiKeyMutationReturn>
|
|
|
|
get copyWith =>
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$ApiKeyMutationReturn(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Fragment$basicMutationReturnFields$$ApiKeyMutationReturn<
|
|
|
|
TRes> {
|
|
|
|
factory CopyWith$Fragment$basicMutationReturnFields$$ApiKeyMutationReturn(
|
|
|
|
Fragment$basicMutationReturnFields$$ApiKeyMutationReturn instance,
|
|
|
|
TRes Function(Fragment$basicMutationReturnFields$$ApiKeyMutationReturn)
|
|
|
|
then,
|
|
|
|
) = _CopyWithImpl$Fragment$basicMutationReturnFields$$ApiKeyMutationReturn;
|
|
|
|
|
|
|
|
factory CopyWith$Fragment$basicMutationReturnFields$$ApiKeyMutationReturn.stub(
|
|
|
|
TRes res) =
|
|
|
|
_CopyWithStubImpl$Fragment$basicMutationReturnFields$$ApiKeyMutationReturn;
|
|
|
|
|
|
|
|
TRes call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Fragment$basicMutationReturnFields$$ApiKeyMutationReturn<
|
|
|
|
TRes>
|
|
|
|
implements
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$ApiKeyMutationReturn<
|
|
|
|
TRes> {
|
|
|
|
_CopyWithImpl$Fragment$basicMutationReturnFields$$ApiKeyMutationReturn(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
|
|
|
|
|
|
|
final Fragment$basicMutationReturnFields$$ApiKeyMutationReturn _instance;
|
|
|
|
|
|
|
|
final TRes Function(Fragment$basicMutationReturnFields$$ApiKeyMutationReturn)
|
|
|
|
_then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2023-02-24 10:44:55 +00:00
|
|
|
|
|
|
|
TRes call({
|
|
|
|
Object? code = _undefined,
|
|
|
|
Object? message = _undefined,
|
|
|
|
Object? success = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
|
|
|
_then(Fragment$basicMutationReturnFields$$ApiKeyMutationReturn(
|
|
|
|
code:
|
|
|
|
code == _undefined || code == null ? _instance.code : (code as int),
|
|
|
|
message: message == _undefined || message == null
|
|
|
|
? _instance.message
|
|
|
|
: (message as String),
|
|
|
|
success: success == _undefined || success == null
|
|
|
|
? _instance.success
|
|
|
|
: (success as bool),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Fragment$basicMutationReturnFields$$ApiKeyMutationReturn<
|
|
|
|
TRes>
|
|
|
|
implements
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$ApiKeyMutationReturn<
|
|
|
|
TRes> {
|
|
|
|
_CopyWithStubImpl$Fragment$basicMutationReturnFields$$ApiKeyMutationReturn(
|
|
|
|
this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
|
|
|
call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
|
|
|
_res;
|
|
|
|
}
|
|
|
|
|
|
|
|
class Fragment$basicMutationReturnFields$$AutoUpgradeSettingsMutationReturn
|
|
|
|
implements Fragment$basicMutationReturnFields {
|
|
|
|
Fragment$basicMutationReturnFields$$AutoUpgradeSettingsMutationReturn({
|
|
|
|
required this.code,
|
|
|
|
required this.message,
|
|
|
|
required this.success,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'AutoUpgradeSettingsMutationReturn',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
factory Fragment$basicMutationReturnFields$$AutoUpgradeSettingsMutationReturn.fromJson(
|
|
|
|
Map<String, dynamic> json) {
|
|
|
|
final l$code = json['code'];
|
|
|
|
final l$message = json['message'];
|
|
|
|
final l$success = json['success'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Fragment$basicMutationReturnFields$$AutoUpgradeSettingsMutationReturn(
|
|
|
|
code: (l$code as int),
|
|
|
|
message: (l$message as String),
|
|
|
|
success: (l$success as bool),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
final int code;
|
|
|
|
|
|
|
|
final String message;
|
|
|
|
|
|
|
|
final bool success;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$code = code;
|
|
|
|
_resultData['code'] = l$code;
|
|
|
|
final l$message = message;
|
|
|
|
_resultData['message'] = l$message;
|
|
|
|
final l$success = success;
|
|
|
|
_resultData['success'] = l$success;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
int get hashCode {
|
|
|
|
final l$code = code;
|
|
|
|
final l$message = message;
|
|
|
|
final l$success = success;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
return Object.hashAll([
|
|
|
|
l$code,
|
|
|
|
l$message,
|
|
|
|
l$success,
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (!(other
|
|
|
|
is Fragment$basicMutationReturnFields$$AutoUpgradeSettingsMutationReturn) ||
|
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$code = code;
|
|
|
|
final lOther$code = other.code;
|
|
|
|
if (l$code != lOther$code) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$message = message;
|
|
|
|
final lOther$message = other.message;
|
|
|
|
if (l$message != lOther$message) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$success = success;
|
|
|
|
final lOther$success = other.success;
|
|
|
|
if (l$success != lOther$success) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final lOther$$__typename = other.$__typename;
|
|
|
|
if (l$$__typename != lOther$$__typename) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Fragment$basicMutationReturnFields$$AutoUpgradeSettingsMutationReturn
|
|
|
|
on Fragment$basicMutationReturnFields$$AutoUpgradeSettingsMutationReturn {
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$AutoUpgradeSettingsMutationReturn<
|
|
|
|
Fragment$basicMutationReturnFields$$AutoUpgradeSettingsMutationReturn>
|
|
|
|
get copyWith =>
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$AutoUpgradeSettingsMutationReturn(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Fragment$basicMutationReturnFields$$AutoUpgradeSettingsMutationReturn<
|
|
|
|
TRes> {
|
|
|
|
factory CopyWith$Fragment$basicMutationReturnFields$$AutoUpgradeSettingsMutationReturn(
|
|
|
|
Fragment$basicMutationReturnFields$$AutoUpgradeSettingsMutationReturn
|
|
|
|
instance,
|
|
|
|
TRes Function(
|
|
|
|
Fragment$basicMutationReturnFields$$AutoUpgradeSettingsMutationReturn)
|
|
|
|
then,
|
|
|
|
) = _CopyWithImpl$Fragment$basicMutationReturnFields$$AutoUpgradeSettingsMutationReturn;
|
|
|
|
|
|
|
|
factory CopyWith$Fragment$basicMutationReturnFields$$AutoUpgradeSettingsMutationReturn.stub(
|
|
|
|
TRes res) =
|
|
|
|
_CopyWithStubImpl$Fragment$basicMutationReturnFields$$AutoUpgradeSettingsMutationReturn;
|
|
|
|
|
|
|
|
TRes call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Fragment$basicMutationReturnFields$$AutoUpgradeSettingsMutationReturn<
|
|
|
|
TRes>
|
|
|
|
implements
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$AutoUpgradeSettingsMutationReturn<
|
|
|
|
TRes> {
|
|
|
|
_CopyWithImpl$Fragment$basicMutationReturnFields$$AutoUpgradeSettingsMutationReturn(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
|
|
|
|
|
|
|
final Fragment$basicMutationReturnFields$$AutoUpgradeSettingsMutationReturn
|
|
|
|
_instance;
|
|
|
|
|
|
|
|
final TRes Function(
|
|
|
|
Fragment$basicMutationReturnFields$$AutoUpgradeSettingsMutationReturn)
|
|
|
|
_then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2023-02-24 10:44:55 +00:00
|
|
|
|
|
|
|
TRes call({
|
|
|
|
Object? code = _undefined,
|
|
|
|
Object? message = _undefined,
|
|
|
|
Object? success = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
|
|
|
_then(
|
|
|
|
Fragment$basicMutationReturnFields$$AutoUpgradeSettingsMutationReturn(
|
|
|
|
code:
|
|
|
|
code == _undefined || code == null ? _instance.code : (code as int),
|
|
|
|
message: message == _undefined || message == null
|
|
|
|
? _instance.message
|
|
|
|
: (message as String),
|
|
|
|
success: success == _undefined || success == null
|
|
|
|
? _instance.success
|
|
|
|
: (success as bool),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Fragment$basicMutationReturnFields$$AutoUpgradeSettingsMutationReturn<
|
|
|
|
TRes>
|
|
|
|
implements
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$AutoUpgradeSettingsMutationReturn<
|
|
|
|
TRes> {
|
|
|
|
_CopyWithStubImpl$Fragment$basicMutationReturnFields$$AutoUpgradeSettingsMutationReturn(
|
|
|
|
this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
|
|
|
call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
|
|
|
_res;
|
|
|
|
}
|
|
|
|
|
|
|
|
class Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn
|
|
|
|
implements Fragment$basicMutationReturnFields {
|
|
|
|
Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn({
|
|
|
|
required this.code,
|
|
|
|
required this.message,
|
|
|
|
required this.success,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'DeviceApiTokenMutationReturn',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
factory Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn.fromJson(
|
|
|
|
Map<String, dynamic> json) {
|
|
|
|
final l$code = json['code'];
|
|
|
|
final l$message = json['message'];
|
|
|
|
final l$success = json['success'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn(
|
|
|
|
code: (l$code as int),
|
|
|
|
message: (l$message as String),
|
|
|
|
success: (l$success as bool),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
final int code;
|
|
|
|
|
|
|
|
final String message;
|
|
|
|
|
|
|
|
final bool success;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$code = code;
|
|
|
|
_resultData['code'] = l$code;
|
|
|
|
final l$message = message;
|
|
|
|
_resultData['message'] = l$message;
|
|
|
|
final l$success = success;
|
|
|
|
_resultData['success'] = l$success;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
int get hashCode {
|
|
|
|
final l$code = code;
|
|
|
|
final l$message = message;
|
|
|
|
final l$success = success;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
return Object.hashAll([
|
|
|
|
l$code,
|
|
|
|
l$message,
|
|
|
|
l$success,
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (!(other
|
|
|
|
is Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn) ||
|
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$code = code;
|
|
|
|
final lOther$code = other.code;
|
|
|
|
if (l$code != lOther$code) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$message = message;
|
|
|
|
final lOther$message = other.message;
|
|
|
|
if (l$message != lOther$message) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$success = success;
|
|
|
|
final lOther$success = other.success;
|
|
|
|
if (l$success != lOther$success) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final lOther$$__typename = other.$__typename;
|
|
|
|
if (l$$__typename != lOther$$__typename) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn
|
|
|
|
on Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn {
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn<
|
|
|
|
Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn>
|
|
|
|
get copyWith =>
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn<
|
|
|
|
TRes> {
|
|
|
|
factory CopyWith$Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn(
|
|
|
|
Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn instance,
|
|
|
|
TRes Function(
|
|
|
|
Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn)
|
|
|
|
then,
|
|
|
|
) = _CopyWithImpl$Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn;
|
|
|
|
|
|
|
|
factory CopyWith$Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn.stub(
|
|
|
|
TRes res) =
|
|
|
|
_CopyWithStubImpl$Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn;
|
|
|
|
|
|
|
|
TRes call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn<
|
|
|
|
TRes>
|
|
|
|
implements
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn<
|
|
|
|
TRes> {
|
|
|
|
_CopyWithImpl$Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
|
|
|
|
|
|
|
final Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn
|
|
|
|
_instance;
|
|
|
|
|
|
|
|
final TRes Function(
|
|
|
|
Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn) _then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2023-02-24 10:44:55 +00:00
|
|
|
|
|
|
|
TRes call({
|
|
|
|
Object? code = _undefined,
|
|
|
|
Object? message = _undefined,
|
|
|
|
Object? success = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
|
|
|
_then(Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn(
|
|
|
|
code:
|
|
|
|
code == _undefined || code == null ? _instance.code : (code as int),
|
|
|
|
message: message == _undefined || message == null
|
|
|
|
? _instance.message
|
|
|
|
: (message as String),
|
|
|
|
success: success == _undefined || success == null
|
|
|
|
? _instance.success
|
|
|
|
: (success as bool),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn<
|
|
|
|
TRes>
|
|
|
|
implements
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn<
|
|
|
|
TRes> {
|
|
|
|
_CopyWithStubImpl$Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn(
|
|
|
|
this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
|
|
|
call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
|
|
|
_res;
|
|
|
|
}
|
|
|
|
|
2023-06-16 01:30:46 +00:00
|
|
|
class Fragment$basicMutationReturnFields$$GenericBackupConfigReturn
|
|
|
|
implements Fragment$basicMutationReturnFields {
|
|
|
|
Fragment$basicMutationReturnFields$$GenericBackupConfigReturn({
|
|
|
|
required this.code,
|
|
|
|
required this.message,
|
|
|
|
required this.success,
|
|
|
|
this.$__typename = 'GenericBackupConfigReturn',
|
|
|
|
});
|
|
|
|
|
|
|
|
factory Fragment$basicMutationReturnFields$$GenericBackupConfigReturn.fromJson(
|
|
|
|
Map<String, dynamic> json) {
|
|
|
|
final l$code = json['code'];
|
|
|
|
final l$message = json['message'];
|
|
|
|
final l$success = json['success'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
|
|
|
code: (l$code as int),
|
|
|
|
message: (l$message as String),
|
|
|
|
success: (l$success as bool),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
final int code;
|
|
|
|
|
|
|
|
final String message;
|
|
|
|
|
|
|
|
final bool success;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$code = code;
|
|
|
|
_resultData['code'] = l$code;
|
|
|
|
final l$message = message;
|
|
|
|
_resultData['message'] = l$message;
|
|
|
|
final l$success = success;
|
|
|
|
_resultData['success'] = l$success;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
int get hashCode {
|
|
|
|
final l$code = code;
|
|
|
|
final l$message = message;
|
|
|
|
final l$success = success;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
return Object.hashAll([
|
|
|
|
l$code,
|
|
|
|
l$message,
|
|
|
|
l$success,
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (!(other
|
|
|
|
is Fragment$basicMutationReturnFields$$GenericBackupConfigReturn) ||
|
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$code = code;
|
|
|
|
final lOther$code = other.code;
|
|
|
|
if (l$code != lOther$code) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$message = message;
|
|
|
|
final lOther$message = other.message;
|
|
|
|
if (l$message != lOther$message) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$success = success;
|
|
|
|
final lOther$success = other.success;
|
|
|
|
if (l$success != lOther$success) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final lOther$$__typename = other.$__typename;
|
|
|
|
if (l$$__typename != lOther$$__typename) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn
|
|
|
|
on Fragment$basicMutationReturnFields$$GenericBackupConfigReturn {
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
|
|
|
Fragment$basicMutationReturnFields$$GenericBackupConfigReturn>
|
|
|
|
get copyWith =>
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
|
|
|
TRes> {
|
|
|
|
factory CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
|
|
|
Fragment$basicMutationReturnFields$$GenericBackupConfigReturn instance,
|
|
|
|
TRes Function(Fragment$basicMutationReturnFields$$GenericBackupConfigReturn)
|
|
|
|
then,
|
|
|
|
) = _CopyWithImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn;
|
|
|
|
|
|
|
|
factory CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn.stub(
|
|
|
|
TRes res) =
|
|
|
|
_CopyWithStubImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn;
|
|
|
|
|
|
|
|
TRes call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
|
|
|
TRes>
|
|
|
|
implements
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
|
|
|
TRes> {
|
|
|
|
_CopyWithImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
|
|
|
|
|
|
|
final Fragment$basicMutationReturnFields$$GenericBackupConfigReturn _instance;
|
|
|
|
|
|
|
|
final TRes Function(
|
|
|
|
Fragment$basicMutationReturnFields$$GenericBackupConfigReturn) _then;
|
|
|
|
|
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
|
|
|
|
|
|
|
TRes call({
|
|
|
|
Object? code = _undefined,
|
|
|
|
Object? message = _undefined,
|
|
|
|
Object? success = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
|
|
|
_then(Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
|
|
|
code:
|
|
|
|
code == _undefined || code == null ? _instance.code : (code as int),
|
|
|
|
message: message == _undefined || message == null
|
|
|
|
? _instance.message
|
|
|
|
: (message as String),
|
|
|
|
success: success == _undefined || success == null
|
|
|
|
? _instance.success
|
|
|
|
: (success as bool),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
|
|
|
TRes>
|
|
|
|
implements
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
|
|
|
TRes> {
|
|
|
|
_CopyWithStubImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
|
|
|
this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
|
|
|
call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
|
|
|
_res;
|
|
|
|
}
|
|
|
|
|
2023-06-19 21:05:57 +00:00
|
|
|
class Fragment$basicMutationReturnFields$$GenericJobMutationReturn
|
2023-02-24 10:44:55 +00:00
|
|
|
implements Fragment$basicMutationReturnFields {
|
2023-06-19 21:05:57 +00:00
|
|
|
Fragment$basicMutationReturnFields$$GenericJobMutationReturn({
|
2023-02-24 10:44:55 +00:00
|
|
|
required this.code,
|
|
|
|
required this.message,
|
|
|
|
required this.success,
|
2023-06-19 21:05:57 +00:00
|
|
|
this.$__typename = 'GenericJobMutationReturn',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
|
|
|
|
2023-06-19 21:05:57 +00:00
|
|
|
factory Fragment$basicMutationReturnFields$$GenericJobMutationReturn.fromJson(
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> json) {
|
|
|
|
final l$code = json['code'];
|
|
|
|
final l$message = json['message'];
|
|
|
|
final l$success = json['success'];
|
|
|
|
final l$$__typename = json['__typename'];
|
2023-06-19 21:05:57 +00:00
|
|
|
return Fragment$basicMutationReturnFields$$GenericJobMutationReturn(
|
2023-02-24 10:44:55 +00:00
|
|
|
code: (l$code as int),
|
|
|
|
message: (l$message as String),
|
|
|
|
success: (l$success as bool),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
final int code;
|
|
|
|
|
|
|
|
final String message;
|
|
|
|
|
|
|
|
final bool success;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$code = code;
|
|
|
|
_resultData['code'] = l$code;
|
|
|
|
final l$message = message;
|
|
|
|
_resultData['message'] = l$message;
|
|
|
|
final l$success = success;
|
|
|
|
_resultData['success'] = l$success;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
int get hashCode {
|
|
|
|
final l$code = code;
|
|
|
|
final l$message = message;
|
|
|
|
final l$success = success;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
return Object.hashAll([
|
|
|
|
l$code,
|
|
|
|
l$message,
|
|
|
|
l$success,
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (!(other
|
2023-06-19 21:05:57 +00:00
|
|
|
is Fragment$basicMutationReturnFields$$GenericJobMutationReturn) ||
|
2023-02-24 10:44:55 +00:00
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$code = code;
|
|
|
|
final lOther$code = other.code;
|
|
|
|
if (l$code != lOther$code) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$message = message;
|
|
|
|
final lOther$message = other.message;
|
|
|
|
if (l$message != lOther$message) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$success = success;
|
|
|
|
final lOther$success = other.success;
|
|
|
|
if (l$success != lOther$success) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final lOther$$__typename = other.$__typename;
|
|
|
|
if (l$$__typename != lOther$$__typename) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-06-19 21:05:57 +00:00
|
|
|
extension UtilityExtension$Fragment$basicMutationReturnFields$$GenericJobMutationReturn
|
|
|
|
on Fragment$basicMutationReturnFields$$GenericJobMutationReturn {
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$GenericJobMutationReturn<
|
|
|
|
Fragment$basicMutationReturnFields$$GenericJobMutationReturn>
|
2023-02-24 10:44:55 +00:00
|
|
|
get copyWith =>
|
2023-06-19 21:05:57 +00:00
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$GenericJobMutationReturn(
|
2023-02-24 10:44:55 +00:00
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
2023-06-19 21:05:57 +00:00
|
|
|
abstract class CopyWith$Fragment$basicMutationReturnFields$$GenericJobMutationReturn<
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes> {
|
2023-06-19 21:05:57 +00:00
|
|
|
factory CopyWith$Fragment$basicMutationReturnFields$$GenericJobMutationReturn(
|
|
|
|
Fragment$basicMutationReturnFields$$GenericJobMutationReturn instance,
|
|
|
|
TRes Function(Fragment$basicMutationReturnFields$$GenericJobMutationReturn)
|
2023-02-24 10:44:55 +00:00
|
|
|
then,
|
2023-06-19 21:05:57 +00:00
|
|
|
) = _CopyWithImpl$Fragment$basicMutationReturnFields$$GenericJobMutationReturn;
|
2023-02-24 10:44:55 +00:00
|
|
|
|
2023-06-19 21:05:57 +00:00
|
|
|
factory CopyWith$Fragment$basicMutationReturnFields$$GenericJobMutationReturn.stub(
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes res) =
|
2023-06-19 21:05:57 +00:00
|
|
|
_CopyWithStubImpl$Fragment$basicMutationReturnFields$$GenericJobMutationReturn;
|
2023-02-24 10:44:55 +00:00
|
|
|
|
|
|
|
TRes call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
2023-06-19 21:05:57 +00:00
|
|
|
class _CopyWithImpl$Fragment$basicMutationReturnFields$$GenericJobMutationReturn<
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes>
|
|
|
|
implements
|
2023-06-19 21:05:57 +00:00
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$GenericJobMutationReturn<
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes> {
|
2023-06-19 21:05:57 +00:00
|
|
|
_CopyWithImpl$Fragment$basicMutationReturnFields$$GenericJobMutationReturn(
|
2023-02-24 10:44:55 +00:00
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
|
|
|
|
2023-06-19 21:05:57 +00:00
|
|
|
final Fragment$basicMutationReturnFields$$GenericJobMutationReturn _instance;
|
2023-02-24 10:44:55 +00:00
|
|
|
|
|
|
|
final TRes Function(
|
2023-06-19 21:05:57 +00:00
|
|
|
Fragment$basicMutationReturnFields$$GenericJobMutationReturn) _then;
|
2023-02-24 10:44:55 +00:00
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2023-02-24 10:44:55 +00:00
|
|
|
|
|
|
|
TRes call({
|
|
|
|
Object? code = _undefined,
|
|
|
|
Object? message = _undefined,
|
|
|
|
Object? success = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2023-06-19 21:05:57 +00:00
|
|
|
_then(Fragment$basicMutationReturnFields$$GenericJobMutationReturn(
|
2023-02-24 10:44:55 +00:00
|
|
|
code:
|
|
|
|
code == _undefined || code == null ? _instance.code : (code as int),
|
|
|
|
message: message == _undefined || message == null
|
|
|
|
? _instance.message
|
|
|
|
: (message as String),
|
|
|
|
success: success == _undefined || success == null
|
|
|
|
? _instance.success
|
|
|
|
: (success as bool),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
|
|
|
}
|
|
|
|
|
2023-06-19 21:05:57 +00:00
|
|
|
class _CopyWithStubImpl$Fragment$basicMutationReturnFields$$GenericJobMutationReturn<
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes>
|
|
|
|
implements
|
2023-06-19 21:05:57 +00:00
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$GenericJobMutationReturn<
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes> {
|
2023-06-19 21:05:57 +00:00
|
|
|
_CopyWithStubImpl$Fragment$basicMutationReturnFields$$GenericJobMutationReturn(
|
2023-02-24 10:44:55 +00:00
|
|
|
this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
|
|
|
call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
|
|
|
_res;
|
|
|
|
}
|
|
|
|
|
|
|
|
class Fragment$basicMutationReturnFields$$GenericMutationReturn
|
|
|
|
implements Fragment$basicMutationReturnFields {
|
|
|
|
Fragment$basicMutationReturnFields$$GenericMutationReturn({
|
|
|
|
required this.code,
|
|
|
|
required this.message,
|
|
|
|
required this.success,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'GenericMutationReturn',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
factory Fragment$basicMutationReturnFields$$GenericMutationReturn.fromJson(
|
|
|
|
Map<String, dynamic> json) {
|
|
|
|
final l$code = json['code'];
|
|
|
|
final l$message = json['message'];
|
|
|
|
final l$success = json['success'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Fragment$basicMutationReturnFields$$GenericMutationReturn(
|
|
|
|
code: (l$code as int),
|
|
|
|
message: (l$message as String),
|
|
|
|
success: (l$success as bool),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
final int code;
|
|
|
|
|
|
|
|
final String message;
|
|
|
|
|
|
|
|
final bool success;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$code = code;
|
|
|
|
_resultData['code'] = l$code;
|
|
|
|
final l$message = message;
|
|
|
|
_resultData['message'] = l$message;
|
|
|
|
final l$success = success;
|
|
|
|
_resultData['success'] = l$success;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
int get hashCode {
|
|
|
|
final l$code = code;
|
|
|
|
final l$message = message;
|
|
|
|
final l$success = success;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
return Object.hashAll([
|
|
|
|
l$code,
|
|
|
|
l$message,
|
|
|
|
l$success,
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (!(other is Fragment$basicMutationReturnFields$$GenericMutationReturn) ||
|
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$code = code;
|
|
|
|
final lOther$code = other.code;
|
|
|
|
if (l$code != lOther$code) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$message = message;
|
|
|
|
final lOther$message = other.message;
|
|
|
|
if (l$message != lOther$message) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$success = success;
|
|
|
|
final lOther$success = other.success;
|
|
|
|
if (l$success != lOther$success) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final lOther$$__typename = other.$__typename;
|
|
|
|
if (l$$__typename != lOther$$__typename) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Fragment$basicMutationReturnFields$$GenericMutationReturn
|
|
|
|
on Fragment$basicMutationReturnFields$$GenericMutationReturn {
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$GenericMutationReturn<
|
|
|
|
Fragment$basicMutationReturnFields$$GenericMutationReturn>
|
|
|
|
get copyWith =>
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$GenericMutationReturn(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Fragment$basicMutationReturnFields$$GenericMutationReturn<
|
|
|
|
TRes> {
|
|
|
|
factory CopyWith$Fragment$basicMutationReturnFields$$GenericMutationReturn(
|
|
|
|
Fragment$basicMutationReturnFields$$GenericMutationReturn instance,
|
|
|
|
TRes Function(Fragment$basicMutationReturnFields$$GenericMutationReturn)
|
|
|
|
then,
|
|
|
|
) = _CopyWithImpl$Fragment$basicMutationReturnFields$$GenericMutationReturn;
|
|
|
|
|
|
|
|
factory CopyWith$Fragment$basicMutationReturnFields$$GenericMutationReturn.stub(
|
|
|
|
TRes res) =
|
|
|
|
_CopyWithStubImpl$Fragment$basicMutationReturnFields$$GenericMutationReturn;
|
|
|
|
|
|
|
|
TRes call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Fragment$basicMutationReturnFields$$GenericMutationReturn<
|
|
|
|
TRes>
|
|
|
|
implements
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$GenericMutationReturn<
|
|
|
|
TRes> {
|
|
|
|
_CopyWithImpl$Fragment$basicMutationReturnFields$$GenericMutationReturn(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
|
|
|
|
|
|
|
final Fragment$basicMutationReturnFields$$GenericMutationReturn _instance;
|
|
|
|
|
|
|
|
final TRes Function(Fragment$basicMutationReturnFields$$GenericMutationReturn)
|
|
|
|
_then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2023-02-24 10:44:55 +00:00
|
|
|
|
|
|
|
TRes call({
|
|
|
|
Object? code = _undefined,
|
|
|
|
Object? message = _undefined,
|
|
|
|
Object? success = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
|
|
|
_then(Fragment$basicMutationReturnFields$$GenericMutationReturn(
|
|
|
|
code:
|
|
|
|
code == _undefined || code == null ? _instance.code : (code as int),
|
|
|
|
message: message == _undefined || message == null
|
|
|
|
? _instance.message
|
|
|
|
: (message as String),
|
|
|
|
success: success == _undefined || success == null
|
|
|
|
? _instance.success
|
|
|
|
: (success as bool),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Fragment$basicMutationReturnFields$$GenericMutationReturn<
|
|
|
|
TRes>
|
|
|
|
implements
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$GenericMutationReturn<
|
|
|
|
TRes> {
|
|
|
|
_CopyWithStubImpl$Fragment$basicMutationReturnFields$$GenericMutationReturn(
|
|
|
|
this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
|
|
|
call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
|
|
|
_res;
|
|
|
|
}
|
|
|
|
|
|
|
|
class Fragment$basicMutationReturnFields$$ServiceJobMutationReturn
|
|
|
|
implements Fragment$basicMutationReturnFields {
|
|
|
|
Fragment$basicMutationReturnFields$$ServiceJobMutationReturn({
|
|
|
|
required this.code,
|
|
|
|
required this.message,
|
|
|
|
required this.success,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'ServiceJobMutationReturn',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
factory Fragment$basicMutationReturnFields$$ServiceJobMutationReturn.fromJson(
|
|
|
|
Map<String, dynamic> json) {
|
|
|
|
final l$code = json['code'];
|
|
|
|
final l$message = json['message'];
|
|
|
|
final l$success = json['success'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Fragment$basicMutationReturnFields$$ServiceJobMutationReturn(
|
|
|
|
code: (l$code as int),
|
|
|
|
message: (l$message as String),
|
|
|
|
success: (l$success as bool),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
final int code;
|
|
|
|
|
|
|
|
final String message;
|
|
|
|
|
|
|
|
final bool success;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$code = code;
|
|
|
|
_resultData['code'] = l$code;
|
|
|
|
final l$message = message;
|
|
|
|
_resultData['message'] = l$message;
|
|
|
|
final l$success = success;
|
|
|
|
_resultData['success'] = l$success;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
@override
|
2023-02-24 10:44:55 +00:00
|
|
|
int get hashCode {
|
|
|
|
final l$code = code;
|
|
|
|
final l$message = message;
|
|
|
|
final l$success = success;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
return Object.hashAll([
|
|
|
|
l$code,
|
|
|
|
l$message,
|
|
|
|
l$success,
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (!(other
|
|
|
|
is Fragment$basicMutationReturnFields$$ServiceJobMutationReturn) ||
|
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$code = code;
|
|
|
|
final lOther$code = other.code;
|
|
|
|
if (l$code != lOther$code) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$message = message;
|
|
|
|
final lOther$message = other.message;
|
|
|
|
if (l$message != lOther$message) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$success = success;
|
|
|
|
final lOther$success = other.success;
|
|
|
|
if (l$success != lOther$success) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final lOther$$__typename = other.$__typename;
|
|
|
|
if (l$$__typename != lOther$$__typename) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Fragment$basicMutationReturnFields$$ServiceJobMutationReturn
|
|
|
|
on Fragment$basicMutationReturnFields$$ServiceJobMutationReturn {
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$ServiceJobMutationReturn<
|
|
|
|
Fragment$basicMutationReturnFields$$ServiceJobMutationReturn>
|
|
|
|
get copyWith =>
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$ServiceJobMutationReturn(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Fragment$basicMutationReturnFields$$ServiceJobMutationReturn<
|
|
|
|
TRes> {
|
|
|
|
factory CopyWith$Fragment$basicMutationReturnFields$$ServiceJobMutationReturn(
|
|
|
|
Fragment$basicMutationReturnFields$$ServiceJobMutationReturn instance,
|
|
|
|
TRes Function(Fragment$basicMutationReturnFields$$ServiceJobMutationReturn)
|
|
|
|
then,
|
|
|
|
) = _CopyWithImpl$Fragment$basicMutationReturnFields$$ServiceJobMutationReturn;
|
|
|
|
|
|
|
|
factory CopyWith$Fragment$basicMutationReturnFields$$ServiceJobMutationReturn.stub(
|
|
|
|
TRes res) =
|
|
|
|
_CopyWithStubImpl$Fragment$basicMutationReturnFields$$ServiceJobMutationReturn;
|
|
|
|
|
|
|
|
TRes call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Fragment$basicMutationReturnFields$$ServiceJobMutationReturn<
|
|
|
|
TRes>
|
|
|
|
implements
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$ServiceJobMutationReturn<
|
|
|
|
TRes> {
|
|
|
|
_CopyWithImpl$Fragment$basicMutationReturnFields$$ServiceJobMutationReturn(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
|
|
|
|
|
|
|
final Fragment$basicMutationReturnFields$$ServiceJobMutationReturn _instance;
|
|
|
|
|
|
|
|
final TRes Function(
|
|
|
|
Fragment$basicMutationReturnFields$$ServiceJobMutationReturn) _then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2023-02-24 10:44:55 +00:00
|
|
|
|
|
|
|
TRes call({
|
|
|
|
Object? code = _undefined,
|
|
|
|
Object? message = _undefined,
|
|
|
|
Object? success = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
|
|
|
_then(Fragment$basicMutationReturnFields$$ServiceJobMutationReturn(
|
|
|
|
code:
|
|
|
|
code == _undefined || code == null ? _instance.code : (code as int),
|
|
|
|
message: message == _undefined || message == null
|
|
|
|
? _instance.message
|
|
|
|
: (message as String),
|
|
|
|
success: success == _undefined || success == null
|
|
|
|
? _instance.success
|
|
|
|
: (success as bool),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Fragment$basicMutationReturnFields$$ServiceJobMutationReturn<
|
|
|
|
TRes>
|
|
|
|
implements
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$ServiceJobMutationReturn<
|
|
|
|
TRes> {
|
|
|
|
_CopyWithStubImpl$Fragment$basicMutationReturnFields$$ServiceJobMutationReturn(
|
|
|
|
this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
|
|
|
call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
|
|
|
_res;
|
|
|
|
}
|
|
|
|
|
|
|
|
class Fragment$basicMutationReturnFields$$ServiceMutationReturn
|
|
|
|
implements Fragment$basicMutationReturnFields {
|
|
|
|
Fragment$basicMutationReturnFields$$ServiceMutationReturn({
|
|
|
|
required this.code,
|
|
|
|
required this.message,
|
|
|
|
required this.success,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'ServiceMutationReturn',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
factory Fragment$basicMutationReturnFields$$ServiceMutationReturn.fromJson(
|
|
|
|
Map<String, dynamic> json) {
|
|
|
|
final l$code = json['code'];
|
|
|
|
final l$message = json['message'];
|
|
|
|
final l$success = json['success'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Fragment$basicMutationReturnFields$$ServiceMutationReturn(
|
|
|
|
code: (l$code as int),
|
|
|
|
message: (l$message as String),
|
|
|
|
success: (l$success as bool),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
final int code;
|
|
|
|
|
|
|
|
final String message;
|
|
|
|
|
|
|
|
final bool success;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$code = code;
|
|
|
|
_resultData['code'] = l$code;
|
|
|
|
final l$message = message;
|
|
|
|
_resultData['message'] = l$message;
|
|
|
|
final l$success = success;
|
|
|
|
_resultData['success'] = l$success;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
int get hashCode {
|
|
|
|
final l$code = code;
|
|
|
|
final l$message = message;
|
|
|
|
final l$success = success;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
return Object.hashAll([
|
|
|
|
l$code,
|
|
|
|
l$message,
|
|
|
|
l$success,
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (!(other is Fragment$basicMutationReturnFields$$ServiceMutationReturn) ||
|
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$code = code;
|
|
|
|
final lOther$code = other.code;
|
|
|
|
if (l$code != lOther$code) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$message = message;
|
|
|
|
final lOther$message = other.message;
|
|
|
|
if (l$message != lOther$message) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$success = success;
|
|
|
|
final lOther$success = other.success;
|
|
|
|
if (l$success != lOther$success) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final lOther$$__typename = other.$__typename;
|
|
|
|
if (l$$__typename != lOther$$__typename) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Fragment$basicMutationReturnFields$$ServiceMutationReturn
|
|
|
|
on Fragment$basicMutationReturnFields$$ServiceMutationReturn {
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$ServiceMutationReturn<
|
|
|
|
Fragment$basicMutationReturnFields$$ServiceMutationReturn>
|
|
|
|
get copyWith =>
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$ServiceMutationReturn(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Fragment$basicMutationReturnFields$$ServiceMutationReturn<
|
|
|
|
TRes> {
|
|
|
|
factory CopyWith$Fragment$basicMutationReturnFields$$ServiceMutationReturn(
|
|
|
|
Fragment$basicMutationReturnFields$$ServiceMutationReturn instance,
|
|
|
|
TRes Function(Fragment$basicMutationReturnFields$$ServiceMutationReturn)
|
|
|
|
then,
|
|
|
|
) = _CopyWithImpl$Fragment$basicMutationReturnFields$$ServiceMutationReturn;
|
|
|
|
|
|
|
|
factory CopyWith$Fragment$basicMutationReturnFields$$ServiceMutationReturn.stub(
|
|
|
|
TRes res) =
|
|
|
|
_CopyWithStubImpl$Fragment$basicMutationReturnFields$$ServiceMutationReturn;
|
|
|
|
|
|
|
|
TRes call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Fragment$basicMutationReturnFields$$ServiceMutationReturn<
|
|
|
|
TRes>
|
|
|
|
implements
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$ServiceMutationReturn<
|
|
|
|
TRes> {
|
|
|
|
_CopyWithImpl$Fragment$basicMutationReturnFields$$ServiceMutationReturn(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
|
|
|
|
|
|
|
final Fragment$basicMutationReturnFields$$ServiceMutationReturn _instance;
|
|
|
|
|
|
|
|
final TRes Function(Fragment$basicMutationReturnFields$$ServiceMutationReturn)
|
|
|
|
_then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2023-02-24 10:44:55 +00:00
|
|
|
|
|
|
|
TRes call({
|
|
|
|
Object? code = _undefined,
|
|
|
|
Object? message = _undefined,
|
|
|
|
Object? success = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
|
|
|
_then(Fragment$basicMutationReturnFields$$ServiceMutationReturn(
|
|
|
|
code:
|
|
|
|
code == _undefined || code == null ? _instance.code : (code as int),
|
|
|
|
message: message == _undefined || message == null
|
|
|
|
? _instance.message
|
|
|
|
: (message as String),
|
|
|
|
success: success == _undefined || success == null
|
|
|
|
? _instance.success
|
|
|
|
: (success as bool),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Fragment$basicMutationReturnFields$$ServiceMutationReturn<
|
|
|
|
TRes>
|
|
|
|
implements
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$ServiceMutationReturn<
|
|
|
|
TRes> {
|
|
|
|
_CopyWithStubImpl$Fragment$basicMutationReturnFields$$ServiceMutationReturn(
|
|
|
|
this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
|
|
|
call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
|
|
|
_res;
|
|
|
|
}
|
|
|
|
|
|
|
|
class Fragment$basicMutationReturnFields$$TimezoneMutationReturn
|
|
|
|
implements Fragment$basicMutationReturnFields {
|
|
|
|
Fragment$basicMutationReturnFields$$TimezoneMutationReturn({
|
|
|
|
required this.code,
|
|
|
|
required this.message,
|
|
|
|
required this.success,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'TimezoneMutationReturn',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
factory Fragment$basicMutationReturnFields$$TimezoneMutationReturn.fromJson(
|
|
|
|
Map<String, dynamic> json) {
|
|
|
|
final l$code = json['code'];
|
|
|
|
final l$message = json['message'];
|
|
|
|
final l$success = json['success'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Fragment$basicMutationReturnFields$$TimezoneMutationReturn(
|
|
|
|
code: (l$code as int),
|
|
|
|
message: (l$message as String),
|
|
|
|
success: (l$success as bool),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
final int code;
|
|
|
|
|
|
|
|
final String message;
|
|
|
|
|
|
|
|
final bool success;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$code = code;
|
|
|
|
_resultData['code'] = l$code;
|
|
|
|
final l$message = message;
|
|
|
|
_resultData['message'] = l$message;
|
|
|
|
final l$success = success;
|
|
|
|
_resultData['success'] = l$success;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
int get hashCode {
|
|
|
|
final l$code = code;
|
|
|
|
final l$message = message;
|
|
|
|
final l$success = success;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
return Object.hashAll([
|
|
|
|
l$code,
|
|
|
|
l$message,
|
|
|
|
l$success,
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (!(other
|
|
|
|
is Fragment$basicMutationReturnFields$$TimezoneMutationReturn) ||
|
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$code = code;
|
|
|
|
final lOther$code = other.code;
|
|
|
|
if (l$code != lOther$code) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$message = message;
|
|
|
|
final lOther$message = other.message;
|
|
|
|
if (l$message != lOther$message) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$success = success;
|
|
|
|
final lOther$success = other.success;
|
|
|
|
if (l$success != lOther$success) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final lOther$$__typename = other.$__typename;
|
|
|
|
if (l$$__typename != lOther$$__typename) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Fragment$basicMutationReturnFields$$TimezoneMutationReturn
|
|
|
|
on Fragment$basicMutationReturnFields$$TimezoneMutationReturn {
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$TimezoneMutationReturn<
|
|
|
|
Fragment$basicMutationReturnFields$$TimezoneMutationReturn>
|
|
|
|
get copyWith =>
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$TimezoneMutationReturn(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Fragment$basicMutationReturnFields$$TimezoneMutationReturn<
|
|
|
|
TRes> {
|
|
|
|
factory CopyWith$Fragment$basicMutationReturnFields$$TimezoneMutationReturn(
|
|
|
|
Fragment$basicMutationReturnFields$$TimezoneMutationReturn instance,
|
|
|
|
TRes Function(Fragment$basicMutationReturnFields$$TimezoneMutationReturn)
|
|
|
|
then,
|
|
|
|
) = _CopyWithImpl$Fragment$basicMutationReturnFields$$TimezoneMutationReturn;
|
|
|
|
|
|
|
|
factory CopyWith$Fragment$basicMutationReturnFields$$TimezoneMutationReturn.stub(
|
|
|
|
TRes res) =
|
|
|
|
_CopyWithStubImpl$Fragment$basicMutationReturnFields$$TimezoneMutationReturn;
|
|
|
|
|
|
|
|
TRes call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Fragment$basicMutationReturnFields$$TimezoneMutationReturn<
|
|
|
|
TRes>
|
|
|
|
implements
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$TimezoneMutationReturn<
|
|
|
|
TRes> {
|
|
|
|
_CopyWithImpl$Fragment$basicMutationReturnFields$$TimezoneMutationReturn(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
|
|
|
|
|
|
|
final Fragment$basicMutationReturnFields$$TimezoneMutationReturn _instance;
|
|
|
|
|
|
|
|
final TRes Function(
|
|
|
|
Fragment$basicMutationReturnFields$$TimezoneMutationReturn) _then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2023-02-24 10:44:55 +00:00
|
|
|
|
|
|
|
TRes call({
|
|
|
|
Object? code = _undefined,
|
|
|
|
Object? message = _undefined,
|
|
|
|
Object? success = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
|
|
|
_then(Fragment$basicMutationReturnFields$$TimezoneMutationReturn(
|
|
|
|
code:
|
|
|
|
code == _undefined || code == null ? _instance.code : (code as int),
|
|
|
|
message: message == _undefined || message == null
|
|
|
|
? _instance.message
|
|
|
|
: (message as String),
|
|
|
|
success: success == _undefined || success == null
|
|
|
|
? _instance.success
|
|
|
|
: (success as bool),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Fragment$basicMutationReturnFields$$TimezoneMutationReturn<
|
|
|
|
TRes>
|
|
|
|
implements
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$TimezoneMutationReturn<
|
|
|
|
TRes> {
|
|
|
|
_CopyWithStubImpl$Fragment$basicMutationReturnFields$$TimezoneMutationReturn(
|
|
|
|
this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
|
|
|
call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
|
|
|
_res;
|
|
|
|
}
|
|
|
|
|
|
|
|
class Fragment$basicMutationReturnFields$$UserMutationReturn
|
|
|
|
implements Fragment$basicMutationReturnFields {
|
|
|
|
Fragment$basicMutationReturnFields$$UserMutationReturn({
|
|
|
|
required this.code,
|
|
|
|
required this.message,
|
|
|
|
required this.success,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'UserMutationReturn',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
factory Fragment$basicMutationReturnFields$$UserMutationReturn.fromJson(
|
|
|
|
Map<String, dynamic> json) {
|
|
|
|
final l$code = json['code'];
|
|
|
|
final l$message = json['message'];
|
|
|
|
final l$success = json['success'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Fragment$basicMutationReturnFields$$UserMutationReturn(
|
|
|
|
code: (l$code as int),
|
|
|
|
message: (l$message as String),
|
|
|
|
success: (l$success as bool),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final int code;
|
|
|
|
|
|
|
|
final String message;
|
|
|
|
|
|
|
|
final bool success;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$code = code;
|
|
|
|
_resultData['code'] = l$code;
|
|
|
|
final l$message = message;
|
|
|
|
_resultData['message'] = l$message;
|
|
|
|
final l$success = success;
|
|
|
|
_resultData['success'] = l$success;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
2022-08-24 05:35:49 +00:00
|
|
|
int get hashCode {
|
|
|
|
final l$code = code;
|
|
|
|
final l$message = message;
|
|
|
|
final l$success = success;
|
|
|
|
final l$$__typename = $__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
|
|
|
l$code,
|
|
|
|
l$message,
|
|
|
|
l$success,
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
2023-02-24 10:44:55 +00:00
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (!(other is Fragment$basicMutationReturnFields$$UserMutationReturn) ||
|
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$code = code;
|
|
|
|
final lOther$code = other.code;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$code != lOther$code) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$message = message;
|
|
|
|
final lOther$message = other.message;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$message != lOther$message) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$success = success;
|
|
|
|
final lOther$success = other.success;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$success != lOther$success) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final lOther$$__typename = other.$__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$$__typename != lOther$$__typename) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
extension UtilityExtension$Fragment$basicMutationReturnFields$$UserMutationReturn
|
|
|
|
on Fragment$basicMutationReturnFields$$UserMutationReturn {
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$UserMutationReturn<
|
|
|
|
Fragment$basicMutationReturnFields$$UserMutationReturn>
|
2022-08-29 18:18:07 +00:00
|
|
|
get copyWith =>
|
2023-02-24 10:44:55 +00:00
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$UserMutationReturn(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
abstract class CopyWith$Fragment$basicMutationReturnFields$$UserMutationReturn<
|
|
|
|
TRes> {
|
|
|
|
factory CopyWith$Fragment$basicMutationReturnFields$$UserMutationReturn(
|
|
|
|
Fragment$basicMutationReturnFields$$UserMutationReturn instance,
|
|
|
|
TRes Function(Fragment$basicMutationReturnFields$$UserMutationReturn) then,
|
|
|
|
) = _CopyWithImpl$Fragment$basicMutationReturnFields$$UserMutationReturn;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
factory CopyWith$Fragment$basicMutationReturnFields$$UserMutationReturn.stub(
|
|
|
|
TRes res) =
|
|
|
|
_CopyWithStubImpl$Fragment$basicMutationReturnFields$$UserMutationReturn;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
class _CopyWithImpl$Fragment$basicMutationReturnFields$$UserMutationReturn<TRes>
|
|
|
|
implements
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$UserMutationReturn<TRes> {
|
|
|
|
_CopyWithImpl$Fragment$basicMutationReturnFields$$UserMutationReturn(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
final Fragment$basicMutationReturnFields$$UserMutationReturn _instance;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
final TRes Function(Fragment$basicMutationReturnFields$$UserMutationReturn)
|
|
|
|
_then;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Object? code = _undefined,
|
|
|
|
Object? message = _undefined,
|
|
|
|
Object? success = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
|
|
|
_then(Fragment$basicMutationReturnFields$$UserMutationReturn(
|
|
|
|
code:
|
|
|
|
code == _undefined || code == null ? _instance.code : (code as int),
|
|
|
|
message: message == _undefined || message == null
|
|
|
|
? _instance.message
|
|
|
|
: (message as String),
|
|
|
|
success: success == _undefined || success == null
|
|
|
|
? _instance.success
|
|
|
|
: (success as bool),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Fragment$basicMutationReturnFields$$UserMutationReturn<
|
|
|
|
TRes>
|
|
|
|
implements
|
|
|
|
CopyWith$Fragment$basicMutationReturnFields$$UserMutationReturn<TRes> {
|
|
|
|
_CopyWithStubImpl$Fragment$basicMutationReturnFields$$UserMutationReturn(
|
|
|
|
this._res);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_res;
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class Query$AllServices {
|
2023-02-24 10:44:55 +00:00
|
|
|
Query$AllServices({
|
|
|
|
required this.services,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'Query',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
factory Query$AllServices.fromJson(Map<String, dynamic> json) {
|
|
|
|
final l$services = json['services'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Query$AllServices(
|
|
|
|
services: Query$AllServices$services.fromJson(
|
|
|
|
(l$services as Map<String, dynamic>)),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final Query$AllServices$services services;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$services = services;
|
|
|
|
_resultData['services'] = l$services.toJson();
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
2022-08-24 05:35:49 +00:00
|
|
|
int get hashCode {
|
|
|
|
final l$services = services;
|
|
|
|
final l$$__typename = $__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
|
|
|
l$services,
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
2023-02-24 10:44:55 +00:00
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (!(other is Query$AllServices) || runtimeType != other.runtimeType) {
|
2022-08-24 05:35:49 +00:00
|
|
|
return false;
|
2023-02-24 10:44:55 +00:00
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$services = services;
|
|
|
|
final lOther$services = other.services;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$services != lOther$services) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final lOther$$__typename = other.$__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$$__typename != lOther$$__typename) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Query$AllServices on Query$AllServices {
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Query$AllServices<Query$AllServices> get copyWith =>
|
2023-02-24 10:44:55 +00:00
|
|
|
CopyWith$Query$AllServices(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Query$AllServices<TRes> {
|
|
|
|
factory CopyWith$Query$AllServices(
|
2023-02-24 10:44:55 +00:00
|
|
|
Query$AllServices instance,
|
|
|
|
TRes Function(Query$AllServices) then,
|
|
|
|
) = _CopyWithImpl$Query$AllServices;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Query$AllServices.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Query$AllServices;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Query$AllServices$services? services,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Query$AllServices$services<TRes> get services;
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Query$AllServices<TRes>
|
|
|
|
implements CopyWith$Query$AllServices<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
_CopyWithImpl$Query$AllServices(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Query$AllServices _instance;
|
|
|
|
|
|
|
|
final TRes Function(Query$AllServices) _then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Object? services = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Query$AllServices(
|
2023-02-24 10:44:55 +00:00
|
|
|
services: services == _undefined || services == null
|
|
|
|
? _instance.services
|
|
|
|
: (services as Query$AllServices$services),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Query$AllServices$services<TRes> get services {
|
|
|
|
final local$services = _instance.services;
|
|
|
|
return CopyWith$Query$AllServices$services(
|
|
|
|
local$services, (e) => call(services: e));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Query$AllServices<TRes>
|
|
|
|
implements CopyWith$Query$AllServices<TRes> {
|
|
|
|
_CopyWithStubImpl$Query$AllServices(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
call({
|
|
|
|
Query$AllServices$services? services,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
|
|
|
_res;
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Query$AllServices$services<TRes> get services =>
|
|
|
|
CopyWith$Query$AllServices$services.stub(_res);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
const documentNodeQueryAllServices = DocumentNode(definitions: [
|
|
|
|
OperationDefinitionNode(
|
2023-02-24 10:44:55 +00:00
|
|
|
type: OperationType.query,
|
|
|
|
name: NameNode(value: 'AllServices'),
|
|
|
|
variableDefinitions: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'services'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'allServices'),
|
2022-08-24 05:35:49 +00:00
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FieldNode(
|
2023-02-24 10:44:55 +00:00
|
|
|
name: NameNode(value: 'description'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'displayName'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'dnsRecords'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FragmentSpreadNode(
|
2023-06-23 02:22:48 +00:00
|
|
|
name: NameNode(value: 'fragmentDnsRecords'),
|
2023-02-24 10:44:55 +00:00
|
|
|
directives: [],
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: '__typename'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
]),
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'id'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'isEnabled'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'isMovable'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'isRequired'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'status'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'storageUsage'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'title'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'usedSpace'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'volume'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'name'),
|
2022-08-24 05:35:49 +00:00
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
2023-02-24 10:44:55 +00:00
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
2022-08-24 05:35:49 +00:00
|
|
|
name: NameNode(value: '__typename'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
2023-02-24 10:44:55 +00:00
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
]),
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: '__typename'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
]),
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'svgIcon'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'url'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
2022-08-24 05:35:49 +00:00
|
|
|
FieldNode(
|
2023-02-24 10:44:55 +00:00
|
|
|
name: NameNode(value: '__typename'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
]),
|
|
|
|
),
|
|
|
|
FieldNode(
|
2022-08-24 05:35:49 +00:00
|
|
|
name: NameNode(value: '__typename'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
2023-02-24 10:44:55 +00:00
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
]),
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: '__typename'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
]),
|
|
|
|
),
|
2023-06-23 02:22:48 +00:00
|
|
|
fragmentDefinitionfragmentDnsRecords,
|
2022-08-24 05:35:49 +00:00
|
|
|
]);
|
|
|
|
Query$AllServices _parserFn$Query$AllServices(Map<String, dynamic> data) =>
|
|
|
|
Query$AllServices.fromJson(data);
|
2023-05-30 17:25:46 +00:00
|
|
|
typedef OnQueryComplete$Query$AllServices = FutureOr<void> Function(
|
|
|
|
Map<String, dynamic>?,
|
|
|
|
Query$AllServices?,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
class Options$Query$AllServices
|
|
|
|
extends graphql.QueryOptions<Query$AllServices> {
|
2023-02-24 10:44:55 +00:00
|
|
|
Options$Query$AllServices({
|
|
|
|
String? operationName,
|
|
|
|
graphql.FetchPolicy? fetchPolicy,
|
|
|
|
graphql.ErrorPolicy? errorPolicy,
|
|
|
|
graphql.CacheRereadPolicy? cacheRereadPolicy,
|
|
|
|
Object? optimisticResult,
|
2023-05-30 17:25:46 +00:00
|
|
|
Query$AllServices? typedOptimisticResult,
|
2023-02-24 10:44:55 +00:00
|
|
|
Duration? pollInterval,
|
|
|
|
graphql.Context? context,
|
2023-05-30 17:25:46 +00:00
|
|
|
OnQueryComplete$Query$AllServices? onComplete,
|
|
|
|
graphql.OnQueryError? onError,
|
|
|
|
}) : onCompleteWithParsed = onComplete,
|
|
|
|
super(
|
2023-02-24 10:44:55 +00:00
|
|
|
operationName: operationName,
|
|
|
|
fetchPolicy: fetchPolicy,
|
|
|
|
errorPolicy: errorPolicy,
|
|
|
|
cacheRereadPolicy: cacheRereadPolicy,
|
2023-05-30 17:25:46 +00:00
|
|
|
optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(),
|
2023-02-24 10:44:55 +00:00
|
|
|
pollInterval: pollInterval,
|
|
|
|
context: context,
|
2023-05-30 17:25:46 +00:00
|
|
|
onComplete: onComplete == null
|
|
|
|
? null
|
|
|
|
: (data) => onComplete(
|
|
|
|
data,
|
|
|
|
data == null ? null : _parserFn$Query$AllServices(data),
|
|
|
|
),
|
|
|
|
onError: onError,
|
2023-02-24 10:44:55 +00:00
|
|
|
document: documentNodeQueryAllServices,
|
|
|
|
parserFn: _parserFn$Query$AllServices,
|
|
|
|
);
|
2023-05-30 17:25:46 +00:00
|
|
|
|
|
|
|
final OnQueryComplete$Query$AllServices? onCompleteWithParsed;
|
|
|
|
|
|
|
|
@override
|
|
|
|
List<Object?> get properties => [
|
|
|
|
...super.onComplete == null
|
|
|
|
? super.properties
|
|
|
|
: super.properties.where((property) => property != onComplete),
|
|
|
|
onCompleteWithParsed,
|
|
|
|
];
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class WatchOptions$Query$AllServices
|
|
|
|
extends graphql.WatchQueryOptions<Query$AllServices> {
|
2023-02-24 10:44:55 +00:00
|
|
|
WatchOptions$Query$AllServices({
|
|
|
|
String? operationName,
|
|
|
|
graphql.FetchPolicy? fetchPolicy,
|
|
|
|
graphql.ErrorPolicy? errorPolicy,
|
|
|
|
graphql.CacheRereadPolicy? cacheRereadPolicy,
|
|
|
|
Object? optimisticResult,
|
2023-05-30 17:25:46 +00:00
|
|
|
Query$AllServices? typedOptimisticResult,
|
2023-02-24 10:44:55 +00:00
|
|
|
graphql.Context? context,
|
|
|
|
Duration? pollInterval,
|
|
|
|
bool? eagerlyFetchResults,
|
|
|
|
bool carryForwardDataOnException = true,
|
|
|
|
bool fetchResults = false,
|
|
|
|
}) : super(
|
|
|
|
operationName: operationName,
|
|
|
|
fetchPolicy: fetchPolicy,
|
|
|
|
errorPolicy: errorPolicy,
|
|
|
|
cacheRereadPolicy: cacheRereadPolicy,
|
2023-05-30 17:25:46 +00:00
|
|
|
optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(),
|
2023-02-24 10:44:55 +00:00
|
|
|
context: context,
|
|
|
|
document: documentNodeQueryAllServices,
|
|
|
|
pollInterval: pollInterval,
|
|
|
|
eagerlyFetchResults: eagerlyFetchResults,
|
|
|
|
carryForwardDataOnException: carryForwardDataOnException,
|
|
|
|
fetchResults: fetchResults,
|
|
|
|
parserFn: _parserFn$Query$AllServices,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class FetchMoreOptions$Query$AllServices extends graphql.FetchMoreOptions {
|
|
|
|
FetchMoreOptions$Query$AllServices({required graphql.UpdateQuery updateQuery})
|
2023-02-24 10:44:55 +00:00
|
|
|
: super(
|
|
|
|
updateQuery: updateQuery,
|
|
|
|
document: documentNodeQueryAllServices,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
extension ClientExtension$Query$AllServices on graphql.GraphQLClient {
|
|
|
|
Future<graphql.QueryResult<Query$AllServices>> query$AllServices(
|
|
|
|
[Options$Query$AllServices? options]) async =>
|
|
|
|
await this.query(options ?? Options$Query$AllServices());
|
|
|
|
graphql.ObservableQuery<Query$AllServices> watchQuery$AllServices(
|
|
|
|
[WatchOptions$Query$AllServices? options]) =>
|
|
|
|
this.watchQuery(options ?? WatchOptions$Query$AllServices());
|
2023-02-24 10:44:55 +00:00
|
|
|
void writeQuery$AllServices({
|
|
|
|
required Query$AllServices data,
|
|
|
|
bool broadcast = true,
|
|
|
|
}) =>
|
2022-08-24 05:35:49 +00:00
|
|
|
this.writeQuery(
|
|
|
|
graphql.Request(
|
|
|
|
operation:
|
|
|
|
graphql.Operation(document: documentNodeQueryAllServices)),
|
2023-02-24 10:44:55 +00:00
|
|
|
data: data.toJson(),
|
|
|
|
broadcast: broadcast,
|
|
|
|
);
|
|
|
|
Query$AllServices? readQuery$AllServices({bool optimistic = true}) {
|
|
|
|
final result = this.readQuery(
|
|
|
|
graphql.Request(
|
|
|
|
operation: graphql.Operation(document: documentNodeQueryAllServices)),
|
|
|
|
optimistic: optimistic,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
return result == null ? null : Query$AllServices.fromJson(result);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class Query$AllServices$services {
|
2023-02-24 10:44:55 +00:00
|
|
|
Query$AllServices$services({
|
|
|
|
required this.allServices,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'Services',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
factory Query$AllServices$services.fromJson(Map<String, dynamic> json) {
|
|
|
|
final l$allServices = json['allServices'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Query$AllServices$services(
|
|
|
|
allServices: (l$allServices as List<dynamic>)
|
|
|
|
.map((e) => Query$AllServices$services$allServices.fromJson(
|
|
|
|
(e as Map<String, dynamic>)))
|
|
|
|
.toList(),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final List<Query$AllServices$services$allServices> allServices;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$allServices = allServices;
|
|
|
|
_resultData['allServices'] = l$allServices.map((e) => e.toJson()).toList();
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
2022-08-24 05:35:49 +00:00
|
|
|
int get hashCode {
|
|
|
|
final l$allServices = allServices;
|
|
|
|
final l$$__typename = $__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
|
|
|
Object.hashAll(l$allServices.map((v) => v)),
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
2023-02-24 10:44:55 +00:00
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
if (!(other is Query$AllServices$services) ||
|
2023-02-24 10:44:55 +00:00
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$allServices = allServices;
|
|
|
|
final lOther$allServices = other.allServices;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$allServices.length != lOther$allServices.length) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
for (int i = 0; i < l$allServices.length; i++) {
|
|
|
|
final l$allServices$entry = l$allServices[i];
|
|
|
|
final lOther$allServices$entry = lOther$allServices[i];
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$allServices$entry != lOther$allServices$entry) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final lOther$$__typename = other.$__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$$__typename != lOther$$__typename) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Query$AllServices$services
|
|
|
|
on Query$AllServices$services {
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Query$AllServices$services<Query$AllServices$services>
|
2023-02-24 10:44:55 +00:00
|
|
|
get copyWith => CopyWith$Query$AllServices$services(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Query$AllServices$services<TRes> {
|
|
|
|
factory CopyWith$Query$AllServices$services(
|
2023-02-24 10:44:55 +00:00
|
|
|
Query$AllServices$services instance,
|
|
|
|
TRes Function(Query$AllServices$services) then,
|
|
|
|
) = _CopyWithImpl$Query$AllServices$services;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Query$AllServices$services.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Query$AllServices$services;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
List<Query$AllServices$services$allServices>? allServices,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
2022-08-29 18:18:07 +00:00
|
|
|
TRes allServices(
|
|
|
|
Iterable<Query$AllServices$services$allServices> Function(
|
|
|
|
Iterable<
|
|
|
|
CopyWith$Query$AllServices$services$allServices<
|
|
|
|
Query$AllServices$services$allServices>>)
|
|
|
|
_fn);
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Query$AllServices$services<TRes>
|
|
|
|
implements CopyWith$Query$AllServices$services<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
_CopyWithImpl$Query$AllServices$services(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Query$AllServices$services _instance;
|
|
|
|
|
|
|
|
final TRes Function(Query$AllServices$services) _then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Object? allServices = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Query$AllServices$services(
|
2023-02-24 10:44:55 +00:00
|
|
|
allServices: allServices == _undefined || allServices == null
|
|
|
|
? _instance.allServices
|
|
|
|
: (allServices as List<Query$AllServices$services$allServices>),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2022-08-29 18:18:07 +00:00
|
|
|
TRes allServices(
|
|
|
|
Iterable<Query$AllServices$services$allServices> Function(
|
|
|
|
Iterable<
|
|
|
|
CopyWith$Query$AllServices$services$allServices<
|
|
|
|
Query$AllServices$services$allServices>>)
|
|
|
|
_fn) =>
|
|
|
|
call(
|
2023-02-24 10:44:55 +00:00
|
|
|
allServices: _fn(_instance.allServices
|
|
|
|
.map((e) => CopyWith$Query$AllServices$services$allServices(
|
|
|
|
e,
|
|
|
|
(i) => i,
|
|
|
|
))).toList());
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Query$AllServices$services<TRes>
|
|
|
|
implements CopyWith$Query$AllServices$services<TRes> {
|
|
|
|
_CopyWithStubImpl$Query$AllServices$services(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
call({
|
|
|
|
List<Query$AllServices$services$allServices>? allServices,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_res;
|
|
|
|
allServices(_fn) => _res;
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class Query$AllServices$services$allServices {
|
2023-02-24 10:44:55 +00:00
|
|
|
Query$AllServices$services$allServices({
|
|
|
|
required this.description,
|
|
|
|
required this.displayName,
|
|
|
|
this.dnsRecords,
|
|
|
|
required this.id,
|
|
|
|
required this.isEnabled,
|
|
|
|
required this.isMovable,
|
|
|
|
required this.isRequired,
|
|
|
|
required this.status,
|
|
|
|
required this.storageUsage,
|
|
|
|
required this.svgIcon,
|
|
|
|
this.url,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'Service',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
factory Query$AllServices$services$allServices.fromJson(
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> json) {
|
|
|
|
final l$description = json['description'];
|
|
|
|
final l$displayName = json['displayName'];
|
|
|
|
final l$dnsRecords = json['dnsRecords'];
|
|
|
|
final l$id = json['id'];
|
|
|
|
final l$isEnabled = json['isEnabled'];
|
|
|
|
final l$isMovable = json['isMovable'];
|
|
|
|
final l$isRequired = json['isRequired'];
|
|
|
|
final l$status = json['status'];
|
|
|
|
final l$storageUsage = json['storageUsage'];
|
|
|
|
final l$svgIcon = json['svgIcon'];
|
|
|
|
final l$url = json['url'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Query$AllServices$services$allServices(
|
|
|
|
description: (l$description as String),
|
|
|
|
displayName: (l$displayName as String),
|
|
|
|
dnsRecords: (l$dnsRecords as List<dynamic>?)
|
|
|
|
?.map((e) =>
|
2023-06-23 02:22:48 +00:00
|
|
|
Fragment$fragmentDnsRecords.fromJson((e as Map<String, dynamic>)))
|
2023-02-24 10:44:55 +00:00
|
|
|
.toList(),
|
|
|
|
id: (l$id as String),
|
|
|
|
isEnabled: (l$isEnabled as bool),
|
|
|
|
isMovable: (l$isMovable as bool),
|
|
|
|
isRequired: (l$isRequired as bool),
|
|
|
|
status: fromJson$Enum$ServiceStatusEnum((l$status as String)),
|
|
|
|
storageUsage:
|
|
|
|
Query$AllServices$services$allServices$storageUsage.fromJson(
|
|
|
|
(l$storageUsage as Map<String, dynamic>)),
|
|
|
|
svgIcon: (l$svgIcon as String),
|
|
|
|
url: (l$url as String?),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final String description;
|
|
|
|
|
|
|
|
final String displayName;
|
|
|
|
|
2023-06-23 02:22:48 +00:00
|
|
|
final List<Fragment$fragmentDnsRecords>? dnsRecords;
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final String id;
|
|
|
|
|
|
|
|
final bool isEnabled;
|
|
|
|
|
|
|
|
final bool isMovable;
|
|
|
|
|
|
|
|
final bool isRequired;
|
|
|
|
|
|
|
|
final Enum$ServiceStatusEnum status;
|
|
|
|
|
|
|
|
final Query$AllServices$services$allServices$storageUsage storageUsage;
|
|
|
|
|
|
|
|
final String svgIcon;
|
|
|
|
|
|
|
|
final String? url;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$description = description;
|
|
|
|
_resultData['description'] = l$description;
|
|
|
|
final l$displayName = displayName;
|
|
|
|
_resultData['displayName'] = l$displayName;
|
|
|
|
final l$dnsRecords = dnsRecords;
|
|
|
|
_resultData['dnsRecords'] = l$dnsRecords?.map((e) => e.toJson()).toList();
|
|
|
|
final l$id = id;
|
|
|
|
_resultData['id'] = l$id;
|
|
|
|
final l$isEnabled = isEnabled;
|
|
|
|
_resultData['isEnabled'] = l$isEnabled;
|
|
|
|
final l$isMovable = isMovable;
|
|
|
|
_resultData['isMovable'] = l$isMovable;
|
|
|
|
final l$isRequired = isRequired;
|
|
|
|
_resultData['isRequired'] = l$isRequired;
|
|
|
|
final l$status = status;
|
|
|
|
_resultData['status'] = toJson$Enum$ServiceStatusEnum(l$status);
|
|
|
|
final l$storageUsage = storageUsage;
|
|
|
|
_resultData['storageUsage'] = l$storageUsage.toJson();
|
|
|
|
final l$svgIcon = svgIcon;
|
|
|
|
_resultData['svgIcon'] = l$svgIcon;
|
|
|
|
final l$url = url;
|
|
|
|
_resultData['url'] = l$url;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
2022-08-24 05:35:49 +00:00
|
|
|
int get hashCode {
|
|
|
|
final l$description = description;
|
|
|
|
final l$displayName = displayName;
|
|
|
|
final l$dnsRecords = dnsRecords;
|
|
|
|
final l$id = id;
|
|
|
|
final l$isEnabled = isEnabled;
|
|
|
|
final l$isMovable = isMovable;
|
|
|
|
final l$isRequired = isRequired;
|
|
|
|
final l$status = status;
|
|
|
|
final l$storageUsage = storageUsage;
|
|
|
|
final l$svgIcon = svgIcon;
|
|
|
|
final l$url = url;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
return Object.hashAll([
|
|
|
|
l$description,
|
|
|
|
l$displayName,
|
|
|
|
l$dnsRecords == null ? null : Object.hashAll(l$dnsRecords.map((v) => v)),
|
|
|
|
l$id,
|
|
|
|
l$isEnabled,
|
|
|
|
l$isMovable,
|
|
|
|
l$isRequired,
|
|
|
|
l$status,
|
|
|
|
l$storageUsage,
|
|
|
|
l$svgIcon,
|
|
|
|
l$url,
|
2023-02-24 10:44:55 +00:00
|
|
|
l$$__typename,
|
2022-08-24 05:35:49 +00:00
|
|
|
]);
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
2023-02-24 10:44:55 +00:00
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
if (!(other is Query$AllServices$services$allServices) ||
|
2023-02-24 10:44:55 +00:00
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$description = description;
|
|
|
|
final lOther$description = other.description;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$description != lOther$description) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$displayName = displayName;
|
|
|
|
final lOther$displayName = other.displayName;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$displayName != lOther$displayName) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$dnsRecords = dnsRecords;
|
|
|
|
final lOther$dnsRecords = other.dnsRecords;
|
|
|
|
if (l$dnsRecords != null && lOther$dnsRecords != null) {
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$dnsRecords.length != lOther$dnsRecords.length) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
for (int i = 0; i < l$dnsRecords.length; i++) {
|
|
|
|
final l$dnsRecords$entry = l$dnsRecords[i];
|
|
|
|
final lOther$dnsRecords$entry = lOther$dnsRecords[i];
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$dnsRecords$entry != lOther$dnsRecords$entry) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
} else if (l$dnsRecords != lOther$dnsRecords) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$id = id;
|
|
|
|
final lOther$id = other.id;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$id != lOther$id) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$isEnabled = isEnabled;
|
|
|
|
final lOther$isEnabled = other.isEnabled;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$isEnabled != lOther$isEnabled) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$isMovable = isMovable;
|
|
|
|
final lOther$isMovable = other.isMovable;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$isMovable != lOther$isMovable) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$isRequired = isRequired;
|
|
|
|
final lOther$isRequired = other.isRequired;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$isRequired != lOther$isRequired) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$status = status;
|
|
|
|
final lOther$status = other.status;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$status != lOther$status) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$storageUsage = storageUsage;
|
|
|
|
final lOther$storageUsage = other.storageUsage;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$storageUsage != lOther$storageUsage) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$svgIcon = svgIcon;
|
|
|
|
final lOther$svgIcon = other.svgIcon;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$svgIcon != lOther$svgIcon) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$url = url;
|
|
|
|
final lOther$url = other.url;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$url != lOther$url) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final lOther$$__typename = other.$__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$$__typename != lOther$$__typename) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Query$AllServices$services$allServices
|
|
|
|
on Query$AllServices$services$allServices {
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Query$AllServices$services$allServices<
|
|
|
|
Query$AllServices$services$allServices>
|
2023-02-24 10:44:55 +00:00
|
|
|
get copyWith => CopyWith$Query$AllServices$services$allServices(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Query$AllServices$services$allServices<TRes> {
|
|
|
|
factory CopyWith$Query$AllServices$services$allServices(
|
2023-02-24 10:44:55 +00:00
|
|
|
Query$AllServices$services$allServices instance,
|
|
|
|
TRes Function(Query$AllServices$services$allServices) then,
|
|
|
|
) = _CopyWithImpl$Query$AllServices$services$allServices;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Query$AllServices$services$allServices.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Query$AllServices$services$allServices;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
String? description,
|
|
|
|
String? displayName,
|
2023-06-23 02:22:48 +00:00
|
|
|
List<Fragment$fragmentDnsRecords>? dnsRecords,
|
2023-02-24 10:44:55 +00:00
|
|
|
String? id,
|
|
|
|
bool? isEnabled,
|
|
|
|
bool? isMovable,
|
|
|
|
bool? isRequired,
|
|
|
|
Enum$ServiceStatusEnum? status,
|
|
|
|
Query$AllServices$services$allServices$storageUsage? storageUsage,
|
|
|
|
String? svgIcon,
|
|
|
|
String? url,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
2022-08-29 18:18:07 +00:00
|
|
|
TRes dnsRecords(
|
2023-06-23 02:22:48 +00:00
|
|
|
Iterable<Fragment$fragmentDnsRecords>? Function(
|
2022-08-29 18:18:07 +00:00
|
|
|
Iterable<
|
2023-06-23 02:22:48 +00:00
|
|
|
CopyWith$Fragment$fragmentDnsRecords<
|
|
|
|
Fragment$fragmentDnsRecords>>?)
|
2022-08-29 18:18:07 +00:00
|
|
|
_fn);
|
|
|
|
CopyWith$Query$AllServices$services$allServices$storageUsage<TRes>
|
|
|
|
get storageUsage;
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Query$AllServices$services$allServices<TRes>
|
|
|
|
implements CopyWith$Query$AllServices$services$allServices<TRes> {
|
|
|
|
_CopyWithImpl$Query$AllServices$services$allServices(
|
2023-02-24 10:44:55 +00:00
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Query$AllServices$services$allServices _instance;
|
|
|
|
|
|
|
|
final TRes Function(Query$AllServices$services$allServices) _then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Object? description = _undefined,
|
|
|
|
Object? displayName = _undefined,
|
|
|
|
Object? dnsRecords = _undefined,
|
|
|
|
Object? id = _undefined,
|
|
|
|
Object? isEnabled = _undefined,
|
|
|
|
Object? isMovable = _undefined,
|
|
|
|
Object? isRequired = _undefined,
|
|
|
|
Object? status = _undefined,
|
|
|
|
Object? storageUsage = _undefined,
|
|
|
|
Object? svgIcon = _undefined,
|
|
|
|
Object? url = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Query$AllServices$services$allServices(
|
2023-02-24 10:44:55 +00:00
|
|
|
description: description == _undefined || description == null
|
|
|
|
? _instance.description
|
|
|
|
: (description as String),
|
|
|
|
displayName: displayName == _undefined || displayName == null
|
|
|
|
? _instance.displayName
|
|
|
|
: (displayName as String),
|
|
|
|
dnsRecords: dnsRecords == _undefined
|
|
|
|
? _instance.dnsRecords
|
2023-06-23 02:22:48 +00:00
|
|
|
: (dnsRecords as List<Fragment$fragmentDnsRecords>?),
|
2023-02-24 10:44:55 +00:00
|
|
|
id: id == _undefined || id == null ? _instance.id : (id as String),
|
|
|
|
isEnabled: isEnabled == _undefined || isEnabled == null
|
|
|
|
? _instance.isEnabled
|
|
|
|
: (isEnabled as bool),
|
|
|
|
isMovable: isMovable == _undefined || isMovable == null
|
|
|
|
? _instance.isMovable
|
|
|
|
: (isMovable as bool),
|
|
|
|
isRequired: isRequired == _undefined || isRequired == null
|
|
|
|
? _instance.isRequired
|
|
|
|
: (isRequired as bool),
|
|
|
|
status: status == _undefined || status == null
|
|
|
|
? _instance.status
|
|
|
|
: (status as Enum$ServiceStatusEnum),
|
|
|
|
storageUsage: storageUsage == _undefined || storageUsage == null
|
|
|
|
? _instance.storageUsage
|
|
|
|
: (storageUsage
|
|
|
|
as Query$AllServices$services$allServices$storageUsage),
|
|
|
|
svgIcon: svgIcon == _undefined || svgIcon == null
|
|
|
|
? _instance.svgIcon
|
|
|
|
: (svgIcon as String),
|
|
|
|
url: url == _undefined ? _instance.url : (url as String?),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2022-08-29 18:18:07 +00:00
|
|
|
TRes dnsRecords(
|
2023-06-23 02:22:48 +00:00
|
|
|
Iterable<Fragment$fragmentDnsRecords>? Function(
|
2022-08-29 18:18:07 +00:00
|
|
|
Iterable<
|
2023-06-23 02:22:48 +00:00
|
|
|
CopyWith$Fragment$fragmentDnsRecords<
|
|
|
|
Fragment$fragmentDnsRecords>>?)
|
2022-08-29 18:18:07 +00:00
|
|
|
_fn) =>
|
|
|
|
call(
|
2022-10-30 14:21:38 +00:00
|
|
|
dnsRecords: _fn(_instance.dnsRecords
|
2023-06-23 02:22:48 +00:00
|
|
|
?.map((e) => CopyWith$Fragment$fragmentDnsRecords(
|
2023-02-24 10:44:55 +00:00
|
|
|
e,
|
|
|
|
(i) => i,
|
|
|
|
)))?.toList());
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Query$AllServices$services$allServices$storageUsage<TRes>
|
|
|
|
get storageUsage {
|
|
|
|
final local$storageUsage = _instance.storageUsage;
|
|
|
|
return CopyWith$Query$AllServices$services$allServices$storageUsage(
|
|
|
|
local$storageUsage, (e) => call(storageUsage: e));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Query$AllServices$services$allServices<TRes>
|
|
|
|
implements CopyWith$Query$AllServices$services$allServices<TRes> {
|
|
|
|
_CopyWithStubImpl$Query$AllServices$services$allServices(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
call({
|
|
|
|
String? description,
|
|
|
|
String? displayName,
|
2023-06-23 02:22:48 +00:00
|
|
|
List<Fragment$fragmentDnsRecords>? dnsRecords,
|
2023-02-24 10:44:55 +00:00
|
|
|
String? id,
|
|
|
|
bool? isEnabled,
|
|
|
|
bool? isMovable,
|
|
|
|
bool? isRequired,
|
|
|
|
Enum$ServiceStatusEnum? status,
|
|
|
|
Query$AllServices$services$allServices$storageUsage? storageUsage,
|
|
|
|
String? svgIcon,
|
|
|
|
String? url,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_res;
|
|
|
|
dnsRecords(_fn) => _res;
|
|
|
|
CopyWith$Query$AllServices$services$allServices$storageUsage<TRes>
|
|
|
|
get storageUsage =>
|
|
|
|
CopyWith$Query$AllServices$services$allServices$storageUsage.stub(
|
|
|
|
_res);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class Query$AllServices$services$allServices$storageUsage {
|
2023-02-24 10:44:55 +00:00
|
|
|
Query$AllServices$services$allServices$storageUsage({
|
|
|
|
required this.title,
|
|
|
|
required this.usedSpace,
|
|
|
|
this.volume,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'ServiceStorageUsage',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
factory Query$AllServices$services$allServices$storageUsage.fromJson(
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> json) {
|
|
|
|
final l$title = json['title'];
|
|
|
|
final l$usedSpace = json['usedSpace'];
|
|
|
|
final l$volume = json['volume'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Query$AllServices$services$allServices$storageUsage(
|
|
|
|
title: (l$title as String),
|
|
|
|
usedSpace: (l$usedSpace as String),
|
|
|
|
volume: l$volume == null
|
|
|
|
? null
|
|
|
|
: Query$AllServices$services$allServices$storageUsage$volume.fromJson(
|
|
|
|
(l$volume as Map<String, dynamic>)),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final String title;
|
|
|
|
|
|
|
|
final String usedSpace;
|
|
|
|
|
|
|
|
final Query$AllServices$services$allServices$storageUsage$volume? volume;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$title = title;
|
|
|
|
_resultData['title'] = l$title;
|
|
|
|
final l$usedSpace = usedSpace;
|
|
|
|
_resultData['usedSpace'] = l$usedSpace;
|
|
|
|
final l$volume = volume;
|
|
|
|
_resultData['volume'] = l$volume?.toJson();
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
2022-08-24 05:35:49 +00:00
|
|
|
int get hashCode {
|
|
|
|
final l$title = title;
|
|
|
|
final l$usedSpace = usedSpace;
|
|
|
|
final l$volume = volume;
|
|
|
|
final l$$__typename = $__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
|
|
|
l$title,
|
|
|
|
l$usedSpace,
|
|
|
|
l$volume,
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
2023-02-24 10:44:55 +00:00
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
if (!(other is Query$AllServices$services$allServices$storageUsage) ||
|
2023-02-24 10:44:55 +00:00
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$title = title;
|
|
|
|
final lOther$title = other.title;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$title != lOther$title) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$usedSpace = usedSpace;
|
|
|
|
final lOther$usedSpace = other.usedSpace;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$usedSpace != lOther$usedSpace) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$volume = volume;
|
|
|
|
final lOther$volume = other.volume;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$volume != lOther$volume) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final lOther$$__typename = other.$__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$$__typename != lOther$$__typename) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Query$AllServices$services$allServices$storageUsage
|
|
|
|
on Query$AllServices$services$allServices$storageUsage {
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Query$AllServices$services$allServices$storageUsage<
|
|
|
|
Query$AllServices$services$allServices$storageUsage>
|
|
|
|
get copyWith =>
|
|
|
|
CopyWith$Query$AllServices$services$allServices$storageUsage(
|
2023-02-24 10:44:55 +00:00
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Query$AllServices$services$allServices$storageUsage<
|
|
|
|
TRes> {
|
|
|
|
factory CopyWith$Query$AllServices$services$allServices$storageUsage(
|
2023-02-24 10:44:55 +00:00
|
|
|
Query$AllServices$services$allServices$storageUsage instance,
|
|
|
|
TRes Function(Query$AllServices$services$allServices$storageUsage) then,
|
|
|
|
) = _CopyWithImpl$Query$AllServices$services$allServices$storageUsage;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Query$AllServices$services$allServices$storageUsage.stub(
|
|
|
|
TRes res) =
|
|
|
|
_CopyWithStubImpl$Query$AllServices$services$allServices$storageUsage;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
String? title,
|
|
|
|
String? usedSpace,
|
|
|
|
Query$AllServices$services$allServices$storageUsage$volume? volume,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Query$AllServices$services$allServices$storageUsage$volume<TRes>
|
|
|
|
get volume;
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Query$AllServices$services$allServices$storageUsage<TRes>
|
|
|
|
implements
|
|
|
|
CopyWith$Query$AllServices$services$allServices$storageUsage<TRes> {
|
|
|
|
_CopyWithImpl$Query$AllServices$services$allServices$storageUsage(
|
2023-02-24 10:44:55 +00:00
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Query$AllServices$services$allServices$storageUsage _instance;
|
|
|
|
|
|
|
|
final TRes Function(Query$AllServices$services$allServices$storageUsage)
|
|
|
|
_then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Object? title = _undefined,
|
|
|
|
Object? usedSpace = _undefined,
|
|
|
|
Object? volume = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Query$AllServices$services$allServices$storageUsage(
|
2023-02-24 10:44:55 +00:00
|
|
|
title: title == _undefined || title == null
|
|
|
|
? _instance.title
|
|
|
|
: (title as String),
|
|
|
|
usedSpace: usedSpace == _undefined || usedSpace == null
|
|
|
|
? _instance.usedSpace
|
|
|
|
: (usedSpace as String),
|
|
|
|
volume: volume == _undefined
|
|
|
|
? _instance.volume
|
|
|
|
: (volume
|
|
|
|
as Query$AllServices$services$allServices$storageUsage$volume?),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Query$AllServices$services$allServices$storageUsage$volume<TRes>
|
|
|
|
get volume {
|
|
|
|
final local$volume = _instance.volume;
|
|
|
|
return local$volume == null
|
|
|
|
? CopyWith$Query$AllServices$services$allServices$storageUsage$volume
|
|
|
|
.stub(_then(_instance))
|
|
|
|
: CopyWith$Query$AllServices$services$allServices$storageUsage$volume(
|
|
|
|
local$volume, (e) => call(volume: e));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Query$AllServices$services$allServices$storageUsage<
|
|
|
|
TRes>
|
|
|
|
implements
|
|
|
|
CopyWith$Query$AllServices$services$allServices$storageUsage<TRes> {
|
|
|
|
_CopyWithStubImpl$Query$AllServices$services$allServices$storageUsage(
|
|
|
|
this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
call({
|
|
|
|
String? title,
|
|
|
|
String? usedSpace,
|
|
|
|
Query$AllServices$services$allServices$storageUsage$volume? volume,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_res;
|
|
|
|
CopyWith$Query$AllServices$services$allServices$storageUsage$volume<TRes>
|
|
|
|
get volume =>
|
|
|
|
CopyWith$Query$AllServices$services$allServices$storageUsage$volume
|
|
|
|
.stub(_res);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class Query$AllServices$services$allServices$storageUsage$volume {
|
2023-02-24 10:44:55 +00:00
|
|
|
Query$AllServices$services$allServices$storageUsage$volume({
|
|
|
|
required this.name,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'StorageVolume',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
factory Query$AllServices$services$allServices$storageUsage$volume.fromJson(
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> json) {
|
|
|
|
final l$name = json['name'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Query$AllServices$services$allServices$storageUsage$volume(
|
|
|
|
name: (l$name as String),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final String name;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$name = name;
|
|
|
|
_resultData['name'] = l$name;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
2022-08-24 05:35:49 +00:00
|
|
|
int get hashCode {
|
|
|
|
final l$name = name;
|
|
|
|
final l$$__typename = $__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
|
|
|
l$name,
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
2023-02-24 10:44:55 +00:00
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
if (!(other
|
|
|
|
is Query$AllServices$services$allServices$storageUsage$volume) ||
|
2023-02-24 10:44:55 +00:00
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$name = name;
|
|
|
|
final lOther$name = other.name;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$name != lOther$name) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final lOther$$__typename = other.$__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$$__typename != lOther$$__typename) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Query$AllServices$services$allServices$storageUsage$volume
|
|
|
|
on Query$AllServices$services$allServices$storageUsage$volume {
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Query$AllServices$services$allServices$storageUsage$volume<
|
|
|
|
Query$AllServices$services$allServices$storageUsage$volume>
|
|
|
|
get copyWith =>
|
|
|
|
CopyWith$Query$AllServices$services$allServices$storageUsage$volume(
|
2023-02-24 10:44:55 +00:00
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Query$AllServices$services$allServices$storageUsage$volume<
|
|
|
|
TRes> {
|
|
|
|
factory CopyWith$Query$AllServices$services$allServices$storageUsage$volume(
|
2023-02-24 10:44:55 +00:00
|
|
|
Query$AllServices$services$allServices$storageUsage$volume instance,
|
|
|
|
TRes Function(Query$AllServices$services$allServices$storageUsage$volume)
|
|
|
|
then,
|
|
|
|
) = _CopyWithImpl$Query$AllServices$services$allServices$storageUsage$volume;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Query$AllServices$services$allServices$storageUsage$volume.stub(
|
|
|
|
TRes res) =
|
|
|
|
_CopyWithStubImpl$Query$AllServices$services$allServices$storageUsage$volume;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
String? name,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Query$AllServices$services$allServices$storageUsage$volume<
|
|
|
|
TRes>
|
|
|
|
implements
|
|
|
|
CopyWith$Query$AllServices$services$allServices$storageUsage$volume<
|
|
|
|
TRes> {
|
|
|
|
_CopyWithImpl$Query$AllServices$services$allServices$storageUsage$volume(
|
2023-02-24 10:44:55 +00:00
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Query$AllServices$services$allServices$storageUsage$volume _instance;
|
|
|
|
|
|
|
|
final TRes Function(
|
|
|
|
Query$AllServices$services$allServices$storageUsage$volume) _then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Object? name = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Query$AllServices$services$allServices$storageUsage$volume(
|
2023-02-24 10:44:55 +00:00
|
|
|
name: name == _undefined || name == null
|
|
|
|
? _instance.name
|
|
|
|
: (name as String),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Query$AllServices$services$allServices$storageUsage$volume<
|
|
|
|
TRes>
|
|
|
|
implements
|
|
|
|
CopyWith$Query$AllServices$services$allServices$storageUsage$volume<
|
|
|
|
TRes> {
|
|
|
|
_CopyWithStubImpl$Query$AllServices$services$allServices$storageUsage$volume(
|
|
|
|
this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
call({
|
|
|
|
String? name,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
|
|
|
_res;
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class Variables$Mutation$EnableService {
|
2023-02-24 10:44:55 +00:00
|
|
|
factory Variables$Mutation$EnableService({required String serviceId}) =>
|
|
|
|
Variables$Mutation$EnableService._({
|
|
|
|
r'serviceId': serviceId,
|
|
|
|
});
|
|
|
|
|
|
|
|
Variables$Mutation$EnableService._(this._$data);
|
|
|
|
|
|
|
|
factory Variables$Mutation$EnableService.fromJson(Map<String, dynamic> data) {
|
|
|
|
final result$data = <String, dynamic>{};
|
|
|
|
final l$serviceId = data['serviceId'];
|
|
|
|
result$data['serviceId'] = (l$serviceId as String);
|
|
|
|
return Variables$Mutation$EnableService._(result$data);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> _$data;
|
2022-08-24 05:35:49 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
String get serviceId => (_$data['serviceId'] as String);
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final result$data = <String, dynamic>{};
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$serviceId = serviceId;
|
2023-02-24 10:44:55 +00:00
|
|
|
result$data['serviceId'] = l$serviceId;
|
|
|
|
return result$data;
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
CopyWith$Variables$Mutation$EnableService<Variables$Mutation$EnableService>
|
|
|
|
get copyWith => CopyWith$Variables$Mutation$EnableService(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
2023-02-24 10:44:55 +00:00
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
if (!(other is Variables$Mutation$EnableService) ||
|
2023-02-24 10:44:55 +00:00
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$serviceId = serviceId;
|
|
|
|
final lOther$serviceId = other.serviceId;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$serviceId != lOther$serviceId) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
@override
|
|
|
|
int get hashCode {
|
|
|
|
final l$serviceId = serviceId;
|
|
|
|
return Object.hashAll([l$serviceId]);
|
|
|
|
}
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Variables$Mutation$EnableService<TRes> {
|
|
|
|
factory CopyWith$Variables$Mutation$EnableService(
|
2023-02-24 10:44:55 +00:00
|
|
|
Variables$Mutation$EnableService instance,
|
|
|
|
TRes Function(Variables$Mutation$EnableService) then,
|
|
|
|
) = _CopyWithImpl$Variables$Mutation$EnableService;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Variables$Mutation$EnableService.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Variables$Mutation$EnableService;
|
|
|
|
|
|
|
|
TRes call({String? serviceId});
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Variables$Mutation$EnableService<TRes>
|
|
|
|
implements CopyWith$Variables$Mutation$EnableService<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
_CopyWithImpl$Variables$Mutation$EnableService(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Variables$Mutation$EnableService _instance;
|
|
|
|
|
|
|
|
final TRes Function(Variables$Mutation$EnableService) _then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
TRes call({Object? serviceId = _undefined}) =>
|
2023-02-24 10:44:55 +00:00
|
|
|
_then(Variables$Mutation$EnableService._({
|
|
|
|
..._instance._$data,
|
|
|
|
if (serviceId != _undefined && serviceId != null)
|
|
|
|
'serviceId': (serviceId as String),
|
|
|
|
}));
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Variables$Mutation$EnableService<TRes>
|
|
|
|
implements CopyWith$Variables$Mutation$EnableService<TRes> {
|
|
|
|
_CopyWithStubImpl$Variables$Mutation$EnableService(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
|
|
|
call({String? serviceId}) => _res;
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class Mutation$EnableService {
|
2023-02-24 10:44:55 +00:00
|
|
|
Mutation$EnableService({
|
|
|
|
required this.enableService,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'Mutation',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
factory Mutation$EnableService.fromJson(Map<String, dynamic> json) {
|
|
|
|
final l$enableService = json['enableService'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Mutation$EnableService(
|
|
|
|
enableService: Mutation$EnableService$enableService.fromJson(
|
|
|
|
(l$enableService as Map<String, dynamic>)),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final Mutation$EnableService$enableService enableService;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$enableService = enableService;
|
|
|
|
_resultData['enableService'] = l$enableService.toJson();
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
2022-08-24 05:35:49 +00:00
|
|
|
int get hashCode {
|
|
|
|
final l$enableService = enableService;
|
|
|
|
final l$$__typename = $__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
|
|
|
l$enableService,
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
2023-02-24 10:44:55 +00:00
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (!(other is Mutation$EnableService) ||
|
|
|
|
runtimeType != other.runtimeType) {
|
2022-08-24 05:35:49 +00:00
|
|
|
return false;
|
2023-02-24 10:44:55 +00:00
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$enableService = enableService;
|
|
|
|
final lOther$enableService = other.enableService;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$enableService != lOther$enableService) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final lOther$$__typename = other.$__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$$__typename != lOther$$__typename) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Mutation$EnableService on Mutation$EnableService {
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Mutation$EnableService<Mutation$EnableService> get copyWith =>
|
2023-02-24 10:44:55 +00:00
|
|
|
CopyWith$Mutation$EnableService(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Mutation$EnableService<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
factory CopyWith$Mutation$EnableService(
|
|
|
|
Mutation$EnableService instance,
|
|
|
|
TRes Function(Mutation$EnableService) then,
|
|
|
|
) = _CopyWithImpl$Mutation$EnableService;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Mutation$EnableService.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Mutation$EnableService;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Mutation$EnableService$enableService? enableService,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Mutation$EnableService$enableService<TRes> get enableService;
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Mutation$EnableService<TRes>
|
|
|
|
implements CopyWith$Mutation$EnableService<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
_CopyWithImpl$Mutation$EnableService(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Mutation$EnableService _instance;
|
|
|
|
|
|
|
|
final TRes Function(Mutation$EnableService) _then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Object? enableService = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Mutation$EnableService(
|
2023-02-24 10:44:55 +00:00
|
|
|
enableService: enableService == _undefined || enableService == null
|
|
|
|
? _instance.enableService
|
|
|
|
: (enableService as Mutation$EnableService$enableService),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Mutation$EnableService$enableService<TRes> get enableService {
|
|
|
|
final local$enableService = _instance.enableService;
|
|
|
|
return CopyWith$Mutation$EnableService$enableService(
|
|
|
|
local$enableService, (e) => call(enableService: e));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Mutation$EnableService<TRes>
|
|
|
|
implements CopyWith$Mutation$EnableService<TRes> {
|
|
|
|
_CopyWithStubImpl$Mutation$EnableService(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
call({
|
|
|
|
Mutation$EnableService$enableService? enableService,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_res;
|
|
|
|
CopyWith$Mutation$EnableService$enableService<TRes> get enableService =>
|
|
|
|
CopyWith$Mutation$EnableService$enableService.stub(_res);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
const documentNodeMutationEnableService = DocumentNode(definitions: [
|
|
|
|
OperationDefinitionNode(
|
2023-02-24 10:44:55 +00:00
|
|
|
type: OperationType.mutation,
|
|
|
|
name: NameNode(value: 'EnableService'),
|
|
|
|
variableDefinitions: [
|
|
|
|
VariableDefinitionNode(
|
|
|
|
variable: VariableNode(name: NameNode(value: 'serviceId')),
|
|
|
|
type: NamedTypeNode(
|
|
|
|
name: NameNode(value: 'String'),
|
|
|
|
isNonNull: true,
|
|
|
|
),
|
|
|
|
defaultValue: DefaultValueNode(value: null),
|
|
|
|
directives: [],
|
|
|
|
)
|
|
|
|
],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'enableService'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [
|
|
|
|
ArgumentNode(
|
|
|
|
name: NameNode(value: 'serviceId'),
|
|
|
|
value: VariableNode(name: NameNode(value: 'serviceId')),
|
|
|
|
)
|
|
|
|
],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FragmentSpreadNode(
|
|
|
|
name: NameNode(value: 'basicMutationReturnFields'),
|
2022-08-24 05:35:49 +00:00
|
|
|
directives: [],
|
2023-02-24 10:44:55 +00:00
|
|
|
),
|
|
|
|
FieldNode(
|
2022-08-24 05:35:49 +00:00
|
|
|
name: NameNode(value: '__typename'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
2023-02-24 10:44:55 +00:00
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
]),
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: '__typename'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
]),
|
|
|
|
),
|
2022-08-24 05:35:49 +00:00
|
|
|
fragmentDefinitionbasicMutationReturnFields,
|
|
|
|
]);
|
|
|
|
Mutation$EnableService _parserFn$Mutation$EnableService(
|
|
|
|
Map<String, dynamic> data) =>
|
|
|
|
Mutation$EnableService.fromJson(data);
|
|
|
|
typedef OnMutationCompleted$Mutation$EnableService = FutureOr<void> Function(
|
2023-05-30 17:25:46 +00:00
|
|
|
Map<String, dynamic>?,
|
2023-02-24 10:44:55 +00:00
|
|
|
Mutation$EnableService?,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
class Options$Mutation$EnableService
|
|
|
|
extends graphql.MutationOptions<Mutation$EnableService> {
|
2023-02-24 10:44:55 +00:00
|
|
|
Options$Mutation$EnableService({
|
|
|
|
String? operationName,
|
|
|
|
required Variables$Mutation$EnableService variables,
|
|
|
|
graphql.FetchPolicy? fetchPolicy,
|
|
|
|
graphql.ErrorPolicy? errorPolicy,
|
|
|
|
graphql.CacheRereadPolicy? cacheRereadPolicy,
|
|
|
|
Object? optimisticResult,
|
2023-05-30 17:25:46 +00:00
|
|
|
Mutation$EnableService? typedOptimisticResult,
|
2023-02-24 10:44:55 +00:00
|
|
|
graphql.Context? context,
|
|
|
|
OnMutationCompleted$Mutation$EnableService? onCompleted,
|
|
|
|
graphql.OnMutationUpdate<Mutation$EnableService>? update,
|
|
|
|
graphql.OnError? onError,
|
|
|
|
}) : onCompletedWithParsed = onCompleted,
|
2022-08-24 05:35:49 +00:00
|
|
|
super(
|
2023-02-24 10:44:55 +00:00
|
|
|
variables: variables.toJson(),
|
|
|
|
operationName: operationName,
|
|
|
|
fetchPolicy: fetchPolicy,
|
|
|
|
errorPolicy: errorPolicy,
|
|
|
|
cacheRereadPolicy: cacheRereadPolicy,
|
2023-05-30 17:25:46 +00:00
|
|
|
optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(),
|
2023-02-24 10:44:55 +00:00
|
|
|
context: context,
|
|
|
|
onCompleted: onCompleted == null
|
|
|
|
? null
|
|
|
|
: (data) => onCompleted(
|
2022-08-24 05:35:49 +00:00
|
|
|
data,
|
|
|
|
data == null
|
|
|
|
? null
|
2023-02-24 10:44:55 +00:00
|
|
|
: _parserFn$Mutation$EnableService(data),
|
|
|
|
),
|
|
|
|
update: update,
|
|
|
|
onError: onError,
|
|
|
|
document: documentNodeMutationEnableService,
|
|
|
|
parserFn: _parserFn$Mutation$EnableService,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final OnMutationCompleted$Mutation$EnableService? onCompletedWithParsed;
|
|
|
|
|
|
|
|
@override
|
|
|
|
List<Object?> get properties => [
|
|
|
|
...super.onCompleted == null
|
|
|
|
? super.properties
|
|
|
|
: super.properties.where((property) => property != onCompleted),
|
2023-02-24 10:44:55 +00:00
|
|
|
onCompletedWithParsed,
|
2022-08-24 05:35:49 +00:00
|
|
|
];
|
|
|
|
}
|
|
|
|
|
|
|
|
class WatchOptions$Mutation$EnableService
|
|
|
|
extends graphql.WatchQueryOptions<Mutation$EnableService> {
|
2023-02-24 10:44:55 +00:00
|
|
|
WatchOptions$Mutation$EnableService({
|
|
|
|
String? operationName,
|
|
|
|
required Variables$Mutation$EnableService variables,
|
|
|
|
graphql.FetchPolicy? fetchPolicy,
|
|
|
|
graphql.ErrorPolicy? errorPolicy,
|
|
|
|
graphql.CacheRereadPolicy? cacheRereadPolicy,
|
|
|
|
Object? optimisticResult,
|
2023-05-30 17:25:46 +00:00
|
|
|
Mutation$EnableService? typedOptimisticResult,
|
2023-02-24 10:44:55 +00:00
|
|
|
graphql.Context? context,
|
|
|
|
Duration? pollInterval,
|
|
|
|
bool? eagerlyFetchResults,
|
|
|
|
bool carryForwardDataOnException = true,
|
|
|
|
bool fetchResults = false,
|
|
|
|
}) : super(
|
|
|
|
variables: variables.toJson(),
|
|
|
|
operationName: operationName,
|
|
|
|
fetchPolicy: fetchPolicy,
|
|
|
|
errorPolicy: errorPolicy,
|
|
|
|
cacheRereadPolicy: cacheRereadPolicy,
|
2023-05-30 17:25:46 +00:00
|
|
|
optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(),
|
2023-02-24 10:44:55 +00:00
|
|
|
context: context,
|
|
|
|
document: documentNodeMutationEnableService,
|
|
|
|
pollInterval: pollInterval,
|
|
|
|
eagerlyFetchResults: eagerlyFetchResults,
|
|
|
|
carryForwardDataOnException: carryForwardDataOnException,
|
|
|
|
fetchResults: fetchResults,
|
|
|
|
parserFn: _parserFn$Mutation$EnableService,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
extension ClientExtension$Mutation$EnableService on graphql.GraphQLClient {
|
|
|
|
Future<graphql.QueryResult<Mutation$EnableService>> mutate$EnableService(
|
|
|
|
Options$Mutation$EnableService options) async =>
|
|
|
|
await this.mutate(options);
|
|
|
|
graphql.ObservableQuery<Mutation$EnableService> watchMutation$EnableService(
|
|
|
|
WatchOptions$Mutation$EnableService options) =>
|
|
|
|
this.watchMutation(options);
|
|
|
|
}
|
|
|
|
|
|
|
|
class Mutation$EnableService$enableService
|
2023-02-24 10:44:55 +00:00
|
|
|
implements Fragment$basicMutationReturnFields$$ServiceMutationReturn {
|
|
|
|
Mutation$EnableService$enableService({
|
|
|
|
required this.code,
|
|
|
|
required this.message,
|
|
|
|
required this.success,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'ServiceMutationReturn',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
factory Mutation$EnableService$enableService.fromJson(
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> json) {
|
|
|
|
final l$code = json['code'];
|
|
|
|
final l$message = json['message'];
|
|
|
|
final l$success = json['success'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Mutation$EnableService$enableService(
|
|
|
|
code: (l$code as int),
|
|
|
|
message: (l$message as String),
|
|
|
|
success: (l$success as bool),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final int code;
|
|
|
|
|
|
|
|
final String message;
|
|
|
|
|
|
|
|
final bool success;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$code = code;
|
|
|
|
_resultData['code'] = l$code;
|
|
|
|
final l$message = message;
|
|
|
|
_resultData['message'] = l$message;
|
|
|
|
final l$success = success;
|
|
|
|
_resultData['success'] = l$success;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
2022-08-24 05:35:49 +00:00
|
|
|
int get hashCode {
|
|
|
|
final l$code = code;
|
|
|
|
final l$message = message;
|
|
|
|
final l$success = success;
|
|
|
|
final l$$__typename = $__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
|
|
|
l$code,
|
|
|
|
l$message,
|
|
|
|
l$success,
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
2023-02-24 10:44:55 +00:00
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
if (!(other is Mutation$EnableService$enableService) ||
|
2023-02-24 10:44:55 +00:00
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$code = code;
|
|
|
|
final lOther$code = other.code;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$code != lOther$code) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$message = message;
|
|
|
|
final lOther$message = other.message;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$message != lOther$message) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$success = success;
|
|
|
|
final lOther$success = other.success;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$success != lOther$success) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final lOther$$__typename = other.$__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$$__typename != lOther$$__typename) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Mutation$EnableService$enableService
|
|
|
|
on Mutation$EnableService$enableService {
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Mutation$EnableService$enableService<
|
|
|
|
Mutation$EnableService$enableService>
|
2023-02-24 10:44:55 +00:00
|
|
|
get copyWith => CopyWith$Mutation$EnableService$enableService(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Mutation$EnableService$enableService<TRes> {
|
|
|
|
factory CopyWith$Mutation$EnableService$enableService(
|
2023-02-24 10:44:55 +00:00
|
|
|
Mutation$EnableService$enableService instance,
|
|
|
|
TRes Function(Mutation$EnableService$enableService) then,
|
|
|
|
) = _CopyWithImpl$Mutation$EnableService$enableService;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Mutation$EnableService$enableService.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Mutation$EnableService$enableService;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Mutation$EnableService$enableService<TRes>
|
|
|
|
implements CopyWith$Mutation$EnableService$enableService<TRes> {
|
|
|
|
_CopyWithImpl$Mutation$EnableService$enableService(
|
2023-02-24 10:44:55 +00:00
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Mutation$EnableService$enableService _instance;
|
|
|
|
|
|
|
|
final TRes Function(Mutation$EnableService$enableService) _then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Object? code = _undefined,
|
|
|
|
Object? message = _undefined,
|
|
|
|
Object? success = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Mutation$EnableService$enableService(
|
2023-02-24 10:44:55 +00:00
|
|
|
code:
|
|
|
|
code == _undefined || code == null ? _instance.code : (code as int),
|
|
|
|
message: message == _undefined || message == null
|
|
|
|
? _instance.message
|
|
|
|
: (message as String),
|
|
|
|
success: success == _undefined || success == null
|
|
|
|
? _instance.success
|
|
|
|
: (success as bool),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Mutation$EnableService$enableService<TRes>
|
|
|
|
implements CopyWith$Mutation$EnableService$enableService<TRes> {
|
|
|
|
_CopyWithStubImpl$Mutation$EnableService$enableService(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_res;
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class Variables$Mutation$DisableService {
|
2023-02-24 10:44:55 +00:00
|
|
|
factory Variables$Mutation$DisableService({required String serviceId}) =>
|
|
|
|
Variables$Mutation$DisableService._({
|
|
|
|
r'serviceId': serviceId,
|
|
|
|
});
|
|
|
|
|
|
|
|
Variables$Mutation$DisableService._(this._$data);
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
factory Variables$Mutation$DisableService.fromJson(
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> data) {
|
|
|
|
final result$data = <String, dynamic>{};
|
|
|
|
final l$serviceId = data['serviceId'];
|
|
|
|
result$data['serviceId'] = (l$serviceId as String);
|
|
|
|
return Variables$Mutation$DisableService._(result$data);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> _$data;
|
2022-08-24 05:35:49 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
String get serviceId => (_$data['serviceId'] as String);
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final result$data = <String, dynamic>{};
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$serviceId = serviceId;
|
2023-02-24 10:44:55 +00:00
|
|
|
result$data['serviceId'] = l$serviceId;
|
|
|
|
return result$data;
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
CopyWith$Variables$Mutation$DisableService<Variables$Mutation$DisableService>
|
|
|
|
get copyWith => CopyWith$Variables$Mutation$DisableService(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
2023-02-24 10:44:55 +00:00
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
if (!(other is Variables$Mutation$DisableService) ||
|
2023-02-24 10:44:55 +00:00
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$serviceId = serviceId;
|
|
|
|
final lOther$serviceId = other.serviceId;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$serviceId != lOther$serviceId) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
@override
|
|
|
|
int get hashCode {
|
|
|
|
final l$serviceId = serviceId;
|
|
|
|
return Object.hashAll([l$serviceId]);
|
|
|
|
}
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Variables$Mutation$DisableService<TRes> {
|
|
|
|
factory CopyWith$Variables$Mutation$DisableService(
|
2023-02-24 10:44:55 +00:00
|
|
|
Variables$Mutation$DisableService instance,
|
|
|
|
TRes Function(Variables$Mutation$DisableService) then,
|
|
|
|
) = _CopyWithImpl$Variables$Mutation$DisableService;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Variables$Mutation$DisableService.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Variables$Mutation$DisableService;
|
|
|
|
|
|
|
|
TRes call({String? serviceId});
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Variables$Mutation$DisableService<TRes>
|
|
|
|
implements CopyWith$Variables$Mutation$DisableService<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
_CopyWithImpl$Variables$Mutation$DisableService(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Variables$Mutation$DisableService _instance;
|
|
|
|
|
|
|
|
final TRes Function(Variables$Mutation$DisableService) _then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
TRes call({Object? serviceId = _undefined}) =>
|
2023-02-24 10:44:55 +00:00
|
|
|
_then(Variables$Mutation$DisableService._({
|
|
|
|
..._instance._$data,
|
|
|
|
if (serviceId != _undefined && serviceId != null)
|
|
|
|
'serviceId': (serviceId as String),
|
|
|
|
}));
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Variables$Mutation$DisableService<TRes>
|
|
|
|
implements CopyWith$Variables$Mutation$DisableService<TRes> {
|
|
|
|
_CopyWithStubImpl$Variables$Mutation$DisableService(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
|
|
|
call({String? serviceId}) => _res;
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class Mutation$DisableService {
|
2023-02-24 10:44:55 +00:00
|
|
|
Mutation$DisableService({
|
|
|
|
required this.disableService,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'Mutation',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
factory Mutation$DisableService.fromJson(Map<String, dynamic> json) {
|
|
|
|
final l$disableService = json['disableService'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Mutation$DisableService(
|
|
|
|
disableService: Mutation$DisableService$disableService.fromJson(
|
|
|
|
(l$disableService as Map<String, dynamic>)),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final Mutation$DisableService$disableService disableService;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$disableService = disableService;
|
|
|
|
_resultData['disableService'] = l$disableService.toJson();
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
2022-08-24 05:35:49 +00:00
|
|
|
int get hashCode {
|
|
|
|
final l$disableService = disableService;
|
|
|
|
final l$$__typename = $__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
|
|
|
l$disableService,
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
2023-02-24 10:44:55 +00:00
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (!(other is Mutation$DisableService) ||
|
|
|
|
runtimeType != other.runtimeType) {
|
2022-08-24 05:35:49 +00:00
|
|
|
return false;
|
2023-02-24 10:44:55 +00:00
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$disableService = disableService;
|
|
|
|
final lOther$disableService = other.disableService;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$disableService != lOther$disableService) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final lOther$$__typename = other.$__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$$__typename != lOther$$__typename) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Mutation$DisableService on Mutation$DisableService {
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Mutation$DisableService<Mutation$DisableService> get copyWith =>
|
2023-02-24 10:44:55 +00:00
|
|
|
CopyWith$Mutation$DisableService(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Mutation$DisableService<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
factory CopyWith$Mutation$DisableService(
|
|
|
|
Mutation$DisableService instance,
|
|
|
|
TRes Function(Mutation$DisableService) then,
|
|
|
|
) = _CopyWithImpl$Mutation$DisableService;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Mutation$DisableService.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Mutation$DisableService;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Mutation$DisableService$disableService? disableService,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Mutation$DisableService$disableService<TRes> get disableService;
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Mutation$DisableService<TRes>
|
|
|
|
implements CopyWith$Mutation$DisableService<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
_CopyWithImpl$Mutation$DisableService(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Mutation$DisableService _instance;
|
|
|
|
|
|
|
|
final TRes Function(Mutation$DisableService) _then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Object? disableService = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Mutation$DisableService(
|
2023-02-24 10:44:55 +00:00
|
|
|
disableService: disableService == _undefined || disableService == null
|
|
|
|
? _instance.disableService
|
|
|
|
: (disableService as Mutation$DisableService$disableService),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Mutation$DisableService$disableService<TRes> get disableService {
|
|
|
|
final local$disableService = _instance.disableService;
|
|
|
|
return CopyWith$Mutation$DisableService$disableService(
|
|
|
|
local$disableService, (e) => call(disableService: e));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Mutation$DisableService<TRes>
|
|
|
|
implements CopyWith$Mutation$DisableService<TRes> {
|
|
|
|
_CopyWithStubImpl$Mutation$DisableService(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
call({
|
|
|
|
Mutation$DisableService$disableService? disableService,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_res;
|
|
|
|
CopyWith$Mutation$DisableService$disableService<TRes> get disableService =>
|
|
|
|
CopyWith$Mutation$DisableService$disableService.stub(_res);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
const documentNodeMutationDisableService = DocumentNode(definitions: [
|
|
|
|
OperationDefinitionNode(
|
2023-02-24 10:44:55 +00:00
|
|
|
type: OperationType.mutation,
|
|
|
|
name: NameNode(value: 'DisableService'),
|
|
|
|
variableDefinitions: [
|
|
|
|
VariableDefinitionNode(
|
|
|
|
variable: VariableNode(name: NameNode(value: 'serviceId')),
|
|
|
|
type: NamedTypeNode(
|
|
|
|
name: NameNode(value: 'String'),
|
|
|
|
isNonNull: true,
|
|
|
|
),
|
|
|
|
defaultValue: DefaultValueNode(value: null),
|
|
|
|
directives: [],
|
|
|
|
)
|
|
|
|
],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'disableService'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [
|
|
|
|
ArgumentNode(
|
|
|
|
name: NameNode(value: 'serviceId'),
|
|
|
|
value: VariableNode(name: NameNode(value: 'serviceId')),
|
|
|
|
)
|
|
|
|
],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FragmentSpreadNode(
|
|
|
|
name: NameNode(value: 'basicMutationReturnFields'),
|
2022-08-24 05:35:49 +00:00
|
|
|
directives: [],
|
2023-02-24 10:44:55 +00:00
|
|
|
),
|
|
|
|
FieldNode(
|
2022-08-24 05:35:49 +00:00
|
|
|
name: NameNode(value: '__typename'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
2023-02-24 10:44:55 +00:00
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
]),
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: '__typename'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
]),
|
|
|
|
),
|
2022-08-24 05:35:49 +00:00
|
|
|
fragmentDefinitionbasicMutationReturnFields,
|
|
|
|
]);
|
|
|
|
Mutation$DisableService _parserFn$Mutation$DisableService(
|
|
|
|
Map<String, dynamic> data) =>
|
|
|
|
Mutation$DisableService.fromJson(data);
|
|
|
|
typedef OnMutationCompleted$Mutation$DisableService = FutureOr<void> Function(
|
2023-05-30 17:25:46 +00:00
|
|
|
Map<String, dynamic>?,
|
2023-02-24 10:44:55 +00:00
|
|
|
Mutation$DisableService?,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
class Options$Mutation$DisableService
|
|
|
|
extends graphql.MutationOptions<Mutation$DisableService> {
|
2023-02-24 10:44:55 +00:00
|
|
|
Options$Mutation$DisableService({
|
|
|
|
String? operationName,
|
|
|
|
required Variables$Mutation$DisableService variables,
|
|
|
|
graphql.FetchPolicy? fetchPolicy,
|
|
|
|
graphql.ErrorPolicy? errorPolicy,
|
|
|
|
graphql.CacheRereadPolicy? cacheRereadPolicy,
|
|
|
|
Object? optimisticResult,
|
2023-05-30 17:25:46 +00:00
|
|
|
Mutation$DisableService? typedOptimisticResult,
|
2023-02-24 10:44:55 +00:00
|
|
|
graphql.Context? context,
|
|
|
|
OnMutationCompleted$Mutation$DisableService? onCompleted,
|
|
|
|
graphql.OnMutationUpdate<Mutation$DisableService>? update,
|
|
|
|
graphql.OnError? onError,
|
|
|
|
}) : onCompletedWithParsed = onCompleted,
|
2022-08-24 05:35:49 +00:00
|
|
|
super(
|
2023-02-24 10:44:55 +00:00
|
|
|
variables: variables.toJson(),
|
|
|
|
operationName: operationName,
|
|
|
|
fetchPolicy: fetchPolicy,
|
|
|
|
errorPolicy: errorPolicy,
|
|
|
|
cacheRereadPolicy: cacheRereadPolicy,
|
2023-05-30 17:25:46 +00:00
|
|
|
optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(),
|
2023-02-24 10:44:55 +00:00
|
|
|
context: context,
|
|
|
|
onCompleted: onCompleted == null
|
|
|
|
? null
|
|
|
|
: (data) => onCompleted(
|
2022-08-24 05:35:49 +00:00
|
|
|
data,
|
|
|
|
data == null
|
|
|
|
? null
|
2023-02-24 10:44:55 +00:00
|
|
|
: _parserFn$Mutation$DisableService(data),
|
|
|
|
),
|
|
|
|
update: update,
|
|
|
|
onError: onError,
|
|
|
|
document: documentNodeMutationDisableService,
|
|
|
|
parserFn: _parserFn$Mutation$DisableService,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final OnMutationCompleted$Mutation$DisableService? onCompletedWithParsed;
|
|
|
|
|
|
|
|
@override
|
|
|
|
List<Object?> get properties => [
|
|
|
|
...super.onCompleted == null
|
|
|
|
? super.properties
|
|
|
|
: super.properties.where((property) => property != onCompleted),
|
2023-02-24 10:44:55 +00:00
|
|
|
onCompletedWithParsed,
|
2022-08-24 05:35:49 +00:00
|
|
|
];
|
|
|
|
}
|
|
|
|
|
|
|
|
class WatchOptions$Mutation$DisableService
|
|
|
|
extends graphql.WatchQueryOptions<Mutation$DisableService> {
|
2023-02-24 10:44:55 +00:00
|
|
|
WatchOptions$Mutation$DisableService({
|
|
|
|
String? operationName,
|
|
|
|
required Variables$Mutation$DisableService variables,
|
|
|
|
graphql.FetchPolicy? fetchPolicy,
|
|
|
|
graphql.ErrorPolicy? errorPolicy,
|
|
|
|
graphql.CacheRereadPolicy? cacheRereadPolicy,
|
|
|
|
Object? optimisticResult,
|
2023-05-30 17:25:46 +00:00
|
|
|
Mutation$DisableService? typedOptimisticResult,
|
2023-02-24 10:44:55 +00:00
|
|
|
graphql.Context? context,
|
|
|
|
Duration? pollInterval,
|
|
|
|
bool? eagerlyFetchResults,
|
|
|
|
bool carryForwardDataOnException = true,
|
|
|
|
bool fetchResults = false,
|
|
|
|
}) : super(
|
|
|
|
variables: variables.toJson(),
|
|
|
|
operationName: operationName,
|
|
|
|
fetchPolicy: fetchPolicy,
|
|
|
|
errorPolicy: errorPolicy,
|
|
|
|
cacheRereadPolicy: cacheRereadPolicy,
|
2023-05-30 17:25:46 +00:00
|
|
|
optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(),
|
2023-02-24 10:44:55 +00:00
|
|
|
context: context,
|
|
|
|
document: documentNodeMutationDisableService,
|
|
|
|
pollInterval: pollInterval,
|
|
|
|
eagerlyFetchResults: eagerlyFetchResults,
|
|
|
|
carryForwardDataOnException: carryForwardDataOnException,
|
|
|
|
fetchResults: fetchResults,
|
|
|
|
parserFn: _parserFn$Mutation$DisableService,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
extension ClientExtension$Mutation$DisableService on graphql.GraphQLClient {
|
|
|
|
Future<graphql.QueryResult<Mutation$DisableService>> mutate$DisableService(
|
|
|
|
Options$Mutation$DisableService options) async =>
|
|
|
|
await this.mutate(options);
|
|
|
|
graphql.ObservableQuery<Mutation$DisableService> watchMutation$DisableService(
|
|
|
|
WatchOptions$Mutation$DisableService options) =>
|
|
|
|
this.watchMutation(options);
|
|
|
|
}
|
|
|
|
|
|
|
|
class Mutation$DisableService$disableService
|
2023-02-24 10:44:55 +00:00
|
|
|
implements Fragment$basicMutationReturnFields$$ServiceMutationReturn {
|
|
|
|
Mutation$DisableService$disableService({
|
|
|
|
required this.code,
|
|
|
|
required this.message,
|
|
|
|
required this.success,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'ServiceMutationReturn',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
factory Mutation$DisableService$disableService.fromJson(
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> json) {
|
|
|
|
final l$code = json['code'];
|
|
|
|
final l$message = json['message'];
|
|
|
|
final l$success = json['success'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Mutation$DisableService$disableService(
|
|
|
|
code: (l$code as int),
|
|
|
|
message: (l$message as String),
|
|
|
|
success: (l$success as bool),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final int code;
|
|
|
|
|
|
|
|
final String message;
|
|
|
|
|
|
|
|
final bool success;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$code = code;
|
|
|
|
_resultData['code'] = l$code;
|
|
|
|
final l$message = message;
|
|
|
|
_resultData['message'] = l$message;
|
|
|
|
final l$success = success;
|
|
|
|
_resultData['success'] = l$success;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
2022-08-24 05:35:49 +00:00
|
|
|
int get hashCode {
|
|
|
|
final l$code = code;
|
|
|
|
final l$message = message;
|
|
|
|
final l$success = success;
|
|
|
|
final l$$__typename = $__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
|
|
|
l$code,
|
|
|
|
l$message,
|
|
|
|
l$success,
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
2023-02-24 10:44:55 +00:00
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
if (!(other is Mutation$DisableService$disableService) ||
|
2023-02-24 10:44:55 +00:00
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$code = code;
|
|
|
|
final lOther$code = other.code;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$code != lOther$code) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$message = message;
|
|
|
|
final lOther$message = other.message;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$message != lOther$message) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$success = success;
|
|
|
|
final lOther$success = other.success;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$success != lOther$success) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final lOther$$__typename = other.$__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$$__typename != lOther$$__typename) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Mutation$DisableService$disableService
|
|
|
|
on Mutation$DisableService$disableService {
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Mutation$DisableService$disableService<
|
|
|
|
Mutation$DisableService$disableService>
|
2023-02-24 10:44:55 +00:00
|
|
|
get copyWith => CopyWith$Mutation$DisableService$disableService(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Mutation$DisableService$disableService<TRes> {
|
|
|
|
factory CopyWith$Mutation$DisableService$disableService(
|
2023-02-24 10:44:55 +00:00
|
|
|
Mutation$DisableService$disableService instance,
|
|
|
|
TRes Function(Mutation$DisableService$disableService) then,
|
|
|
|
) = _CopyWithImpl$Mutation$DisableService$disableService;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Mutation$DisableService$disableService.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Mutation$DisableService$disableService;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Mutation$DisableService$disableService<TRes>
|
|
|
|
implements CopyWith$Mutation$DisableService$disableService<TRes> {
|
|
|
|
_CopyWithImpl$Mutation$DisableService$disableService(
|
2023-02-24 10:44:55 +00:00
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Mutation$DisableService$disableService _instance;
|
|
|
|
|
|
|
|
final TRes Function(Mutation$DisableService$disableService) _then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Object? code = _undefined,
|
|
|
|
Object? message = _undefined,
|
|
|
|
Object? success = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Mutation$DisableService$disableService(
|
2023-02-24 10:44:55 +00:00
|
|
|
code:
|
|
|
|
code == _undefined || code == null ? _instance.code : (code as int),
|
|
|
|
message: message == _undefined || message == null
|
|
|
|
? _instance.message
|
|
|
|
: (message as String),
|
|
|
|
success: success == _undefined || success == null
|
|
|
|
? _instance.success
|
|
|
|
: (success as bool),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Mutation$DisableService$disableService<TRes>
|
|
|
|
implements CopyWith$Mutation$DisableService$disableService<TRes> {
|
|
|
|
_CopyWithStubImpl$Mutation$DisableService$disableService(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_res;
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class Variables$Mutation$StopService {
|
2023-02-24 10:44:55 +00:00
|
|
|
factory Variables$Mutation$StopService({required String serviceId}) =>
|
|
|
|
Variables$Mutation$StopService._({
|
|
|
|
r'serviceId': serviceId,
|
|
|
|
});
|
|
|
|
|
|
|
|
Variables$Mutation$StopService._(this._$data);
|
|
|
|
|
|
|
|
factory Variables$Mutation$StopService.fromJson(Map<String, dynamic> data) {
|
|
|
|
final result$data = <String, dynamic>{};
|
|
|
|
final l$serviceId = data['serviceId'];
|
|
|
|
result$data['serviceId'] = (l$serviceId as String);
|
|
|
|
return Variables$Mutation$StopService._(result$data);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> _$data;
|
2022-08-24 05:35:49 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
String get serviceId => (_$data['serviceId'] as String);
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final result$data = <String, dynamic>{};
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$serviceId = serviceId;
|
2023-02-24 10:44:55 +00:00
|
|
|
result$data['serviceId'] = l$serviceId;
|
|
|
|
return result$data;
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
CopyWith$Variables$Mutation$StopService<Variables$Mutation$StopService>
|
|
|
|
get copyWith => CopyWith$Variables$Mutation$StopService(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
2023-02-24 10:44:55 +00:00
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
if (!(other is Variables$Mutation$StopService) ||
|
2023-02-24 10:44:55 +00:00
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$serviceId = serviceId;
|
|
|
|
final lOther$serviceId = other.serviceId;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$serviceId != lOther$serviceId) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
@override
|
|
|
|
int get hashCode {
|
|
|
|
final l$serviceId = serviceId;
|
|
|
|
return Object.hashAll([l$serviceId]);
|
|
|
|
}
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Variables$Mutation$StopService<TRes> {
|
|
|
|
factory CopyWith$Variables$Mutation$StopService(
|
2023-02-24 10:44:55 +00:00
|
|
|
Variables$Mutation$StopService instance,
|
|
|
|
TRes Function(Variables$Mutation$StopService) then,
|
|
|
|
) = _CopyWithImpl$Variables$Mutation$StopService;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Variables$Mutation$StopService.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Variables$Mutation$StopService;
|
|
|
|
|
|
|
|
TRes call({String? serviceId});
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Variables$Mutation$StopService<TRes>
|
|
|
|
implements CopyWith$Variables$Mutation$StopService<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
_CopyWithImpl$Variables$Mutation$StopService(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Variables$Mutation$StopService _instance;
|
|
|
|
|
|
|
|
final TRes Function(Variables$Mutation$StopService) _then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
TRes call({Object? serviceId = _undefined}) =>
|
2023-02-24 10:44:55 +00:00
|
|
|
_then(Variables$Mutation$StopService._({
|
|
|
|
..._instance._$data,
|
|
|
|
if (serviceId != _undefined && serviceId != null)
|
|
|
|
'serviceId': (serviceId as String),
|
|
|
|
}));
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Variables$Mutation$StopService<TRes>
|
|
|
|
implements CopyWith$Variables$Mutation$StopService<TRes> {
|
|
|
|
_CopyWithStubImpl$Variables$Mutation$StopService(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
|
|
|
call({String? serviceId}) => _res;
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class Mutation$StopService {
|
2023-02-24 10:44:55 +00:00
|
|
|
Mutation$StopService({
|
|
|
|
required this.stopService,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'Mutation',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
factory Mutation$StopService.fromJson(Map<String, dynamic> json) {
|
|
|
|
final l$stopService = json['stopService'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Mutation$StopService(
|
|
|
|
stopService: Mutation$StopService$stopService.fromJson(
|
|
|
|
(l$stopService as Map<String, dynamic>)),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final Mutation$StopService$stopService stopService;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$stopService = stopService;
|
|
|
|
_resultData['stopService'] = l$stopService.toJson();
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
2022-08-24 05:35:49 +00:00
|
|
|
int get hashCode {
|
|
|
|
final l$stopService = stopService;
|
|
|
|
final l$$__typename = $__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
|
|
|
l$stopService,
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
2023-02-24 10:44:55 +00:00
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (!(other is Mutation$StopService) || runtimeType != other.runtimeType) {
|
2022-08-24 05:35:49 +00:00
|
|
|
return false;
|
2023-02-24 10:44:55 +00:00
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$stopService = stopService;
|
|
|
|
final lOther$stopService = other.stopService;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$stopService != lOther$stopService) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final lOther$$__typename = other.$__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$$__typename != lOther$$__typename) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Mutation$StopService on Mutation$StopService {
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Mutation$StopService<Mutation$StopService> get copyWith =>
|
2023-02-24 10:44:55 +00:00
|
|
|
CopyWith$Mutation$StopService(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Mutation$StopService<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
factory CopyWith$Mutation$StopService(
|
|
|
|
Mutation$StopService instance,
|
|
|
|
TRes Function(Mutation$StopService) then,
|
|
|
|
) = _CopyWithImpl$Mutation$StopService;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Mutation$StopService.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Mutation$StopService;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Mutation$StopService$stopService? stopService,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Mutation$StopService$stopService<TRes> get stopService;
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Mutation$StopService<TRes>
|
|
|
|
implements CopyWith$Mutation$StopService<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
_CopyWithImpl$Mutation$StopService(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Mutation$StopService _instance;
|
|
|
|
|
|
|
|
final TRes Function(Mutation$StopService) _then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Object? stopService = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Mutation$StopService(
|
2023-02-24 10:44:55 +00:00
|
|
|
stopService: stopService == _undefined || stopService == null
|
|
|
|
? _instance.stopService
|
|
|
|
: (stopService as Mutation$StopService$stopService),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Mutation$StopService$stopService<TRes> get stopService {
|
|
|
|
final local$stopService = _instance.stopService;
|
|
|
|
return CopyWith$Mutation$StopService$stopService(
|
|
|
|
local$stopService, (e) => call(stopService: e));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Mutation$StopService<TRes>
|
|
|
|
implements CopyWith$Mutation$StopService<TRes> {
|
|
|
|
_CopyWithStubImpl$Mutation$StopService(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
call({
|
|
|
|
Mutation$StopService$stopService? stopService,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_res;
|
|
|
|
CopyWith$Mutation$StopService$stopService<TRes> get stopService =>
|
|
|
|
CopyWith$Mutation$StopService$stopService.stub(_res);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
const documentNodeMutationStopService = DocumentNode(definitions: [
|
|
|
|
OperationDefinitionNode(
|
2023-02-24 10:44:55 +00:00
|
|
|
type: OperationType.mutation,
|
|
|
|
name: NameNode(value: 'StopService'),
|
|
|
|
variableDefinitions: [
|
|
|
|
VariableDefinitionNode(
|
|
|
|
variable: VariableNode(name: NameNode(value: 'serviceId')),
|
|
|
|
type: NamedTypeNode(
|
|
|
|
name: NameNode(value: 'String'),
|
|
|
|
isNonNull: true,
|
|
|
|
),
|
|
|
|
defaultValue: DefaultValueNode(value: null),
|
|
|
|
directives: [],
|
|
|
|
)
|
|
|
|
],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'stopService'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [
|
|
|
|
ArgumentNode(
|
|
|
|
name: NameNode(value: 'serviceId'),
|
|
|
|
value: VariableNode(name: NameNode(value: 'serviceId')),
|
|
|
|
)
|
|
|
|
],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FragmentSpreadNode(
|
|
|
|
name: NameNode(value: 'basicMutationReturnFields'),
|
2022-08-24 05:35:49 +00:00
|
|
|
directives: [],
|
2023-02-24 10:44:55 +00:00
|
|
|
),
|
|
|
|
FieldNode(
|
2022-08-24 05:35:49 +00:00
|
|
|
name: NameNode(value: '__typename'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
2023-02-24 10:44:55 +00:00
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
]),
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: '__typename'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
]),
|
|
|
|
),
|
2022-08-24 05:35:49 +00:00
|
|
|
fragmentDefinitionbasicMutationReturnFields,
|
|
|
|
]);
|
|
|
|
Mutation$StopService _parserFn$Mutation$StopService(
|
|
|
|
Map<String, dynamic> data) =>
|
|
|
|
Mutation$StopService.fromJson(data);
|
|
|
|
typedef OnMutationCompleted$Mutation$StopService = FutureOr<void> Function(
|
2023-05-30 17:25:46 +00:00
|
|
|
Map<String, dynamic>?,
|
2023-02-24 10:44:55 +00:00
|
|
|
Mutation$StopService?,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
class Options$Mutation$StopService
|
|
|
|
extends graphql.MutationOptions<Mutation$StopService> {
|
2023-02-24 10:44:55 +00:00
|
|
|
Options$Mutation$StopService({
|
|
|
|
String? operationName,
|
|
|
|
required Variables$Mutation$StopService variables,
|
|
|
|
graphql.FetchPolicy? fetchPolicy,
|
|
|
|
graphql.ErrorPolicy? errorPolicy,
|
|
|
|
graphql.CacheRereadPolicy? cacheRereadPolicy,
|
|
|
|
Object? optimisticResult,
|
2023-05-30 17:25:46 +00:00
|
|
|
Mutation$StopService? typedOptimisticResult,
|
2023-02-24 10:44:55 +00:00
|
|
|
graphql.Context? context,
|
|
|
|
OnMutationCompleted$Mutation$StopService? onCompleted,
|
|
|
|
graphql.OnMutationUpdate<Mutation$StopService>? update,
|
|
|
|
graphql.OnError? onError,
|
|
|
|
}) : onCompletedWithParsed = onCompleted,
|
2022-08-24 05:35:49 +00:00
|
|
|
super(
|
2023-02-24 10:44:55 +00:00
|
|
|
variables: variables.toJson(),
|
|
|
|
operationName: operationName,
|
|
|
|
fetchPolicy: fetchPolicy,
|
|
|
|
errorPolicy: errorPolicy,
|
|
|
|
cacheRereadPolicy: cacheRereadPolicy,
|
2023-05-30 17:25:46 +00:00
|
|
|
optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(),
|
2023-02-24 10:44:55 +00:00
|
|
|
context: context,
|
|
|
|
onCompleted: onCompleted == null
|
|
|
|
? null
|
|
|
|
: (data) => onCompleted(
|
|
|
|
data,
|
|
|
|
data == null ? null : _parserFn$Mutation$StopService(data),
|
|
|
|
),
|
|
|
|
update: update,
|
|
|
|
onError: onError,
|
|
|
|
document: documentNodeMutationStopService,
|
|
|
|
parserFn: _parserFn$Mutation$StopService,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final OnMutationCompleted$Mutation$StopService? onCompletedWithParsed;
|
|
|
|
|
|
|
|
@override
|
|
|
|
List<Object?> get properties => [
|
|
|
|
...super.onCompleted == null
|
|
|
|
? super.properties
|
|
|
|
: super.properties.where((property) => property != onCompleted),
|
2023-02-24 10:44:55 +00:00
|
|
|
onCompletedWithParsed,
|
2022-08-24 05:35:49 +00:00
|
|
|
];
|
|
|
|
}
|
|
|
|
|
|
|
|
class WatchOptions$Mutation$StopService
|
|
|
|
extends graphql.WatchQueryOptions<Mutation$StopService> {
|
2023-02-24 10:44:55 +00:00
|
|
|
WatchOptions$Mutation$StopService({
|
|
|
|
String? operationName,
|
|
|
|
required Variables$Mutation$StopService variables,
|
|
|
|
graphql.FetchPolicy? fetchPolicy,
|
|
|
|
graphql.ErrorPolicy? errorPolicy,
|
|
|
|
graphql.CacheRereadPolicy? cacheRereadPolicy,
|
|
|
|
Object? optimisticResult,
|
2023-05-30 17:25:46 +00:00
|
|
|
Mutation$StopService? typedOptimisticResult,
|
2023-02-24 10:44:55 +00:00
|
|
|
graphql.Context? context,
|
|
|
|
Duration? pollInterval,
|
|
|
|
bool? eagerlyFetchResults,
|
|
|
|
bool carryForwardDataOnException = true,
|
|
|
|
bool fetchResults = false,
|
|
|
|
}) : super(
|
|
|
|
variables: variables.toJson(),
|
|
|
|
operationName: operationName,
|
|
|
|
fetchPolicy: fetchPolicy,
|
|
|
|
errorPolicy: errorPolicy,
|
|
|
|
cacheRereadPolicy: cacheRereadPolicy,
|
2023-05-30 17:25:46 +00:00
|
|
|
optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(),
|
2023-02-24 10:44:55 +00:00
|
|
|
context: context,
|
|
|
|
document: documentNodeMutationStopService,
|
|
|
|
pollInterval: pollInterval,
|
|
|
|
eagerlyFetchResults: eagerlyFetchResults,
|
|
|
|
carryForwardDataOnException: carryForwardDataOnException,
|
|
|
|
fetchResults: fetchResults,
|
|
|
|
parserFn: _parserFn$Mutation$StopService,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
extension ClientExtension$Mutation$StopService on graphql.GraphQLClient {
|
|
|
|
Future<graphql.QueryResult<Mutation$StopService>> mutate$StopService(
|
|
|
|
Options$Mutation$StopService options) async =>
|
|
|
|
await this.mutate(options);
|
|
|
|
graphql.ObservableQuery<Mutation$StopService> watchMutation$StopService(
|
|
|
|
WatchOptions$Mutation$StopService options) =>
|
|
|
|
this.watchMutation(options);
|
|
|
|
}
|
|
|
|
|
|
|
|
class Mutation$StopService$stopService
|
2023-02-24 10:44:55 +00:00
|
|
|
implements Fragment$basicMutationReturnFields$$ServiceMutationReturn {
|
|
|
|
Mutation$StopService$stopService({
|
|
|
|
required this.code,
|
|
|
|
required this.message,
|
|
|
|
required this.success,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'ServiceMutationReturn',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
factory Mutation$StopService$stopService.fromJson(Map<String, dynamic> json) {
|
|
|
|
final l$code = json['code'];
|
|
|
|
final l$message = json['message'];
|
|
|
|
final l$success = json['success'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Mutation$StopService$stopService(
|
|
|
|
code: (l$code as int),
|
|
|
|
message: (l$message as String),
|
|
|
|
success: (l$success as bool),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final int code;
|
|
|
|
|
|
|
|
final String message;
|
|
|
|
|
|
|
|
final bool success;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$code = code;
|
|
|
|
_resultData['code'] = l$code;
|
|
|
|
final l$message = message;
|
|
|
|
_resultData['message'] = l$message;
|
|
|
|
final l$success = success;
|
|
|
|
_resultData['success'] = l$success;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
2022-08-24 05:35:49 +00:00
|
|
|
int get hashCode {
|
|
|
|
final l$code = code;
|
|
|
|
final l$message = message;
|
|
|
|
final l$success = success;
|
|
|
|
final l$$__typename = $__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
|
|
|
l$code,
|
|
|
|
l$message,
|
|
|
|
l$success,
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
2023-02-24 10:44:55 +00:00
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
if (!(other is Mutation$StopService$stopService) ||
|
2023-02-24 10:44:55 +00:00
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$code = code;
|
|
|
|
final lOther$code = other.code;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$code != lOther$code) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$message = message;
|
|
|
|
final lOther$message = other.message;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$message != lOther$message) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$success = success;
|
|
|
|
final lOther$success = other.success;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$success != lOther$success) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final lOther$$__typename = other.$__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$$__typename != lOther$$__typename) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Mutation$StopService$stopService
|
|
|
|
on Mutation$StopService$stopService {
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Mutation$StopService$stopService<Mutation$StopService$stopService>
|
2023-02-24 10:44:55 +00:00
|
|
|
get copyWith => CopyWith$Mutation$StopService$stopService(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Mutation$StopService$stopService<TRes> {
|
|
|
|
factory CopyWith$Mutation$StopService$stopService(
|
2023-02-24 10:44:55 +00:00
|
|
|
Mutation$StopService$stopService instance,
|
|
|
|
TRes Function(Mutation$StopService$stopService) then,
|
|
|
|
) = _CopyWithImpl$Mutation$StopService$stopService;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Mutation$StopService$stopService.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Mutation$StopService$stopService;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Mutation$StopService$stopService<TRes>
|
|
|
|
implements CopyWith$Mutation$StopService$stopService<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
_CopyWithImpl$Mutation$StopService$stopService(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Mutation$StopService$stopService _instance;
|
|
|
|
|
|
|
|
final TRes Function(Mutation$StopService$stopService) _then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Object? code = _undefined,
|
|
|
|
Object? message = _undefined,
|
|
|
|
Object? success = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Mutation$StopService$stopService(
|
2023-02-24 10:44:55 +00:00
|
|
|
code:
|
|
|
|
code == _undefined || code == null ? _instance.code : (code as int),
|
|
|
|
message: message == _undefined || message == null
|
|
|
|
? _instance.message
|
|
|
|
: (message as String),
|
|
|
|
success: success == _undefined || success == null
|
|
|
|
? _instance.success
|
|
|
|
: (success as bool),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Mutation$StopService$stopService<TRes>
|
|
|
|
implements CopyWith$Mutation$StopService$stopService<TRes> {
|
|
|
|
_CopyWithStubImpl$Mutation$StopService$stopService(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_res;
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class Variables$Mutation$StartService {
|
2023-02-24 10:44:55 +00:00
|
|
|
factory Variables$Mutation$StartService({required String serviceId}) =>
|
|
|
|
Variables$Mutation$StartService._({
|
|
|
|
r'serviceId': serviceId,
|
|
|
|
});
|
|
|
|
|
|
|
|
Variables$Mutation$StartService._(this._$data);
|
|
|
|
|
|
|
|
factory Variables$Mutation$StartService.fromJson(Map<String, dynamic> data) {
|
|
|
|
final result$data = <String, dynamic>{};
|
|
|
|
final l$serviceId = data['serviceId'];
|
|
|
|
result$data['serviceId'] = (l$serviceId as String);
|
|
|
|
return Variables$Mutation$StartService._(result$data);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> _$data;
|
2022-08-24 05:35:49 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
String get serviceId => (_$data['serviceId'] as String);
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final result$data = <String, dynamic>{};
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$serviceId = serviceId;
|
2023-02-24 10:44:55 +00:00
|
|
|
result$data['serviceId'] = l$serviceId;
|
|
|
|
return result$data;
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
CopyWith$Variables$Mutation$StartService<Variables$Mutation$StartService>
|
|
|
|
get copyWith => CopyWith$Variables$Mutation$StartService(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
2023-02-24 10:44:55 +00:00
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
if (!(other is Variables$Mutation$StartService) ||
|
2023-02-24 10:44:55 +00:00
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$serviceId = serviceId;
|
|
|
|
final lOther$serviceId = other.serviceId;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$serviceId != lOther$serviceId) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
@override
|
|
|
|
int get hashCode {
|
|
|
|
final l$serviceId = serviceId;
|
|
|
|
return Object.hashAll([l$serviceId]);
|
|
|
|
}
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Variables$Mutation$StartService<TRes> {
|
|
|
|
factory CopyWith$Variables$Mutation$StartService(
|
2023-02-24 10:44:55 +00:00
|
|
|
Variables$Mutation$StartService instance,
|
|
|
|
TRes Function(Variables$Mutation$StartService) then,
|
|
|
|
) = _CopyWithImpl$Variables$Mutation$StartService;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Variables$Mutation$StartService.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Variables$Mutation$StartService;
|
|
|
|
|
|
|
|
TRes call({String? serviceId});
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Variables$Mutation$StartService<TRes>
|
|
|
|
implements CopyWith$Variables$Mutation$StartService<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
_CopyWithImpl$Variables$Mutation$StartService(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Variables$Mutation$StartService _instance;
|
|
|
|
|
|
|
|
final TRes Function(Variables$Mutation$StartService) _then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
TRes call({Object? serviceId = _undefined}) =>
|
2023-02-24 10:44:55 +00:00
|
|
|
_then(Variables$Mutation$StartService._({
|
|
|
|
..._instance._$data,
|
|
|
|
if (serviceId != _undefined && serviceId != null)
|
|
|
|
'serviceId': (serviceId as String),
|
|
|
|
}));
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Variables$Mutation$StartService<TRes>
|
|
|
|
implements CopyWith$Variables$Mutation$StartService<TRes> {
|
|
|
|
_CopyWithStubImpl$Variables$Mutation$StartService(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
|
|
|
call({String? serviceId}) => _res;
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class Mutation$StartService {
|
2023-02-24 10:44:55 +00:00
|
|
|
Mutation$StartService({
|
|
|
|
required this.startService,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'Mutation',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
factory Mutation$StartService.fromJson(Map<String, dynamic> json) {
|
|
|
|
final l$startService = json['startService'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Mutation$StartService(
|
|
|
|
startService: Mutation$StartService$startService.fromJson(
|
|
|
|
(l$startService as Map<String, dynamic>)),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final Mutation$StartService$startService startService;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$startService = startService;
|
|
|
|
_resultData['startService'] = l$startService.toJson();
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
2022-08-24 05:35:49 +00:00
|
|
|
int get hashCode {
|
|
|
|
final l$startService = startService;
|
|
|
|
final l$$__typename = $__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
|
|
|
l$startService,
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
2023-02-24 10:44:55 +00:00
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (!(other is Mutation$StartService) || runtimeType != other.runtimeType) {
|
2022-08-24 05:35:49 +00:00
|
|
|
return false;
|
2023-02-24 10:44:55 +00:00
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$startService = startService;
|
|
|
|
final lOther$startService = other.startService;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$startService != lOther$startService) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final lOther$$__typename = other.$__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$$__typename != lOther$$__typename) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Mutation$StartService on Mutation$StartService {
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Mutation$StartService<Mutation$StartService> get copyWith =>
|
2023-02-24 10:44:55 +00:00
|
|
|
CopyWith$Mutation$StartService(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Mutation$StartService<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
factory CopyWith$Mutation$StartService(
|
|
|
|
Mutation$StartService instance,
|
|
|
|
TRes Function(Mutation$StartService) then,
|
|
|
|
) = _CopyWithImpl$Mutation$StartService;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Mutation$StartService.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Mutation$StartService;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Mutation$StartService$startService? startService,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Mutation$StartService$startService<TRes> get startService;
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Mutation$StartService<TRes>
|
|
|
|
implements CopyWith$Mutation$StartService<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
_CopyWithImpl$Mutation$StartService(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Mutation$StartService _instance;
|
|
|
|
|
|
|
|
final TRes Function(Mutation$StartService) _then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Object? startService = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Mutation$StartService(
|
2023-02-24 10:44:55 +00:00
|
|
|
startService: startService == _undefined || startService == null
|
|
|
|
? _instance.startService
|
|
|
|
: (startService as Mutation$StartService$startService),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Mutation$StartService$startService<TRes> get startService {
|
|
|
|
final local$startService = _instance.startService;
|
|
|
|
return CopyWith$Mutation$StartService$startService(
|
|
|
|
local$startService, (e) => call(startService: e));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Mutation$StartService<TRes>
|
|
|
|
implements CopyWith$Mutation$StartService<TRes> {
|
|
|
|
_CopyWithStubImpl$Mutation$StartService(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
call({
|
|
|
|
Mutation$StartService$startService? startService,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_res;
|
|
|
|
CopyWith$Mutation$StartService$startService<TRes> get startService =>
|
|
|
|
CopyWith$Mutation$StartService$startService.stub(_res);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
const documentNodeMutationStartService = DocumentNode(definitions: [
|
|
|
|
OperationDefinitionNode(
|
2023-02-24 10:44:55 +00:00
|
|
|
type: OperationType.mutation,
|
|
|
|
name: NameNode(value: 'StartService'),
|
|
|
|
variableDefinitions: [
|
|
|
|
VariableDefinitionNode(
|
|
|
|
variable: VariableNode(name: NameNode(value: 'serviceId')),
|
|
|
|
type: NamedTypeNode(
|
|
|
|
name: NameNode(value: 'String'),
|
|
|
|
isNonNull: true,
|
|
|
|
),
|
|
|
|
defaultValue: DefaultValueNode(value: null),
|
|
|
|
directives: [],
|
|
|
|
)
|
|
|
|
],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'startService'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [
|
|
|
|
ArgumentNode(
|
|
|
|
name: NameNode(value: 'serviceId'),
|
|
|
|
value: VariableNode(name: NameNode(value: 'serviceId')),
|
|
|
|
)
|
|
|
|
],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FragmentSpreadNode(
|
|
|
|
name: NameNode(value: 'basicMutationReturnFields'),
|
2022-08-24 05:35:49 +00:00
|
|
|
directives: [],
|
2023-02-24 10:44:55 +00:00
|
|
|
),
|
|
|
|
FieldNode(
|
2022-08-24 05:35:49 +00:00
|
|
|
name: NameNode(value: '__typename'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
2023-02-24 10:44:55 +00:00
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
]),
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: '__typename'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
]),
|
|
|
|
),
|
2022-08-24 05:35:49 +00:00
|
|
|
fragmentDefinitionbasicMutationReturnFields,
|
|
|
|
]);
|
|
|
|
Mutation$StartService _parserFn$Mutation$StartService(
|
|
|
|
Map<String, dynamic> data) =>
|
|
|
|
Mutation$StartService.fromJson(data);
|
|
|
|
typedef OnMutationCompleted$Mutation$StartService = FutureOr<void> Function(
|
2023-05-30 17:25:46 +00:00
|
|
|
Map<String, dynamic>?,
|
2023-02-24 10:44:55 +00:00
|
|
|
Mutation$StartService?,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
class Options$Mutation$StartService
|
|
|
|
extends graphql.MutationOptions<Mutation$StartService> {
|
2023-02-24 10:44:55 +00:00
|
|
|
Options$Mutation$StartService({
|
|
|
|
String? operationName,
|
|
|
|
required Variables$Mutation$StartService variables,
|
|
|
|
graphql.FetchPolicy? fetchPolicy,
|
|
|
|
graphql.ErrorPolicy? errorPolicy,
|
|
|
|
graphql.CacheRereadPolicy? cacheRereadPolicy,
|
|
|
|
Object? optimisticResult,
|
2023-05-30 17:25:46 +00:00
|
|
|
Mutation$StartService? typedOptimisticResult,
|
2023-02-24 10:44:55 +00:00
|
|
|
graphql.Context? context,
|
|
|
|
OnMutationCompleted$Mutation$StartService? onCompleted,
|
|
|
|
graphql.OnMutationUpdate<Mutation$StartService>? update,
|
|
|
|
graphql.OnError? onError,
|
|
|
|
}) : onCompletedWithParsed = onCompleted,
|
2022-08-24 05:35:49 +00:00
|
|
|
super(
|
2023-02-24 10:44:55 +00:00
|
|
|
variables: variables.toJson(),
|
|
|
|
operationName: operationName,
|
|
|
|
fetchPolicy: fetchPolicy,
|
|
|
|
errorPolicy: errorPolicy,
|
|
|
|
cacheRereadPolicy: cacheRereadPolicy,
|
2023-05-30 17:25:46 +00:00
|
|
|
optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(),
|
2023-02-24 10:44:55 +00:00
|
|
|
context: context,
|
|
|
|
onCompleted: onCompleted == null
|
|
|
|
? null
|
|
|
|
: (data) => onCompleted(
|
|
|
|
data,
|
|
|
|
data == null ? null : _parserFn$Mutation$StartService(data),
|
|
|
|
),
|
|
|
|
update: update,
|
|
|
|
onError: onError,
|
|
|
|
document: documentNodeMutationStartService,
|
|
|
|
parserFn: _parserFn$Mutation$StartService,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final OnMutationCompleted$Mutation$StartService? onCompletedWithParsed;
|
|
|
|
|
|
|
|
@override
|
|
|
|
List<Object?> get properties => [
|
|
|
|
...super.onCompleted == null
|
|
|
|
? super.properties
|
|
|
|
: super.properties.where((property) => property != onCompleted),
|
2023-02-24 10:44:55 +00:00
|
|
|
onCompletedWithParsed,
|
2022-08-24 05:35:49 +00:00
|
|
|
];
|
|
|
|
}
|
|
|
|
|
|
|
|
class WatchOptions$Mutation$StartService
|
|
|
|
extends graphql.WatchQueryOptions<Mutation$StartService> {
|
2023-02-24 10:44:55 +00:00
|
|
|
WatchOptions$Mutation$StartService({
|
|
|
|
String? operationName,
|
|
|
|
required Variables$Mutation$StartService variables,
|
|
|
|
graphql.FetchPolicy? fetchPolicy,
|
|
|
|
graphql.ErrorPolicy? errorPolicy,
|
|
|
|
graphql.CacheRereadPolicy? cacheRereadPolicy,
|
|
|
|
Object? optimisticResult,
|
2023-05-30 17:25:46 +00:00
|
|
|
Mutation$StartService? typedOptimisticResult,
|
2023-02-24 10:44:55 +00:00
|
|
|
graphql.Context? context,
|
|
|
|
Duration? pollInterval,
|
|
|
|
bool? eagerlyFetchResults,
|
|
|
|
bool carryForwardDataOnException = true,
|
|
|
|
bool fetchResults = false,
|
|
|
|
}) : super(
|
|
|
|
variables: variables.toJson(),
|
|
|
|
operationName: operationName,
|
|
|
|
fetchPolicy: fetchPolicy,
|
|
|
|
errorPolicy: errorPolicy,
|
|
|
|
cacheRereadPolicy: cacheRereadPolicy,
|
2023-05-30 17:25:46 +00:00
|
|
|
optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(),
|
2023-02-24 10:44:55 +00:00
|
|
|
context: context,
|
|
|
|
document: documentNodeMutationStartService,
|
|
|
|
pollInterval: pollInterval,
|
|
|
|
eagerlyFetchResults: eagerlyFetchResults,
|
|
|
|
carryForwardDataOnException: carryForwardDataOnException,
|
|
|
|
fetchResults: fetchResults,
|
|
|
|
parserFn: _parserFn$Mutation$StartService,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
extension ClientExtension$Mutation$StartService on graphql.GraphQLClient {
|
|
|
|
Future<graphql.QueryResult<Mutation$StartService>> mutate$StartService(
|
|
|
|
Options$Mutation$StartService options) async =>
|
|
|
|
await this.mutate(options);
|
|
|
|
graphql.ObservableQuery<Mutation$StartService> watchMutation$StartService(
|
|
|
|
WatchOptions$Mutation$StartService options) =>
|
|
|
|
this.watchMutation(options);
|
|
|
|
}
|
|
|
|
|
|
|
|
class Mutation$StartService$startService
|
2023-02-24 10:44:55 +00:00
|
|
|
implements Fragment$basicMutationReturnFields$$ServiceMutationReturn {
|
|
|
|
Mutation$StartService$startService({
|
|
|
|
required this.code,
|
|
|
|
required this.message,
|
|
|
|
required this.success,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'ServiceMutationReturn',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
factory Mutation$StartService$startService.fromJson(
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> json) {
|
|
|
|
final l$code = json['code'];
|
|
|
|
final l$message = json['message'];
|
|
|
|
final l$success = json['success'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Mutation$StartService$startService(
|
|
|
|
code: (l$code as int),
|
|
|
|
message: (l$message as String),
|
|
|
|
success: (l$success as bool),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final int code;
|
|
|
|
|
|
|
|
final String message;
|
|
|
|
|
|
|
|
final bool success;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$code = code;
|
|
|
|
_resultData['code'] = l$code;
|
|
|
|
final l$message = message;
|
|
|
|
_resultData['message'] = l$message;
|
|
|
|
final l$success = success;
|
|
|
|
_resultData['success'] = l$success;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
2022-08-24 05:35:49 +00:00
|
|
|
int get hashCode {
|
|
|
|
final l$code = code;
|
|
|
|
final l$message = message;
|
|
|
|
final l$success = success;
|
|
|
|
final l$$__typename = $__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
|
|
|
l$code,
|
|
|
|
l$message,
|
|
|
|
l$success,
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
2023-02-24 10:44:55 +00:00
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
if (!(other is Mutation$StartService$startService) ||
|
2023-02-24 10:44:55 +00:00
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$code = code;
|
|
|
|
final lOther$code = other.code;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$code != lOther$code) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$message = message;
|
|
|
|
final lOther$message = other.message;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$message != lOther$message) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$success = success;
|
|
|
|
final lOther$success = other.success;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$success != lOther$success) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final lOther$$__typename = other.$__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$$__typename != lOther$$__typename) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Mutation$StartService$startService
|
|
|
|
on Mutation$StartService$startService {
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Mutation$StartService$startService<
|
|
|
|
Mutation$StartService$startService>
|
2023-02-24 10:44:55 +00:00
|
|
|
get copyWith => CopyWith$Mutation$StartService$startService(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Mutation$StartService$startService<TRes> {
|
|
|
|
factory CopyWith$Mutation$StartService$startService(
|
2023-02-24 10:44:55 +00:00
|
|
|
Mutation$StartService$startService instance,
|
|
|
|
TRes Function(Mutation$StartService$startService) then,
|
|
|
|
) = _CopyWithImpl$Mutation$StartService$startService;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Mutation$StartService$startService.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Mutation$StartService$startService;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Mutation$StartService$startService<TRes>
|
|
|
|
implements CopyWith$Mutation$StartService$startService<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
_CopyWithImpl$Mutation$StartService$startService(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Mutation$StartService$startService _instance;
|
|
|
|
|
|
|
|
final TRes Function(Mutation$StartService$startService) _then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Object? code = _undefined,
|
|
|
|
Object? message = _undefined,
|
|
|
|
Object? success = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Mutation$StartService$startService(
|
2023-02-24 10:44:55 +00:00
|
|
|
code:
|
|
|
|
code == _undefined || code == null ? _instance.code : (code as int),
|
|
|
|
message: message == _undefined || message == null
|
|
|
|
? _instance.message
|
|
|
|
: (message as String),
|
|
|
|
success: success == _undefined || success == null
|
|
|
|
? _instance.success
|
|
|
|
: (success as bool),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Mutation$StartService$startService<TRes>
|
|
|
|
implements CopyWith$Mutation$StartService$startService<TRes> {
|
|
|
|
_CopyWithStubImpl$Mutation$StartService$startService(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_res;
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class Variables$Mutation$RestartService {
|
2023-02-24 10:44:55 +00:00
|
|
|
factory Variables$Mutation$RestartService({required String serviceId}) =>
|
|
|
|
Variables$Mutation$RestartService._({
|
|
|
|
r'serviceId': serviceId,
|
|
|
|
});
|
|
|
|
|
|
|
|
Variables$Mutation$RestartService._(this._$data);
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
factory Variables$Mutation$RestartService.fromJson(
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> data) {
|
|
|
|
final result$data = <String, dynamic>{};
|
|
|
|
final l$serviceId = data['serviceId'];
|
|
|
|
result$data['serviceId'] = (l$serviceId as String);
|
|
|
|
return Variables$Mutation$RestartService._(result$data);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> _$data;
|
2022-08-24 05:35:49 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
String get serviceId => (_$data['serviceId'] as String);
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final result$data = <String, dynamic>{};
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$serviceId = serviceId;
|
2023-02-24 10:44:55 +00:00
|
|
|
result$data['serviceId'] = l$serviceId;
|
|
|
|
return result$data;
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
CopyWith$Variables$Mutation$RestartService<Variables$Mutation$RestartService>
|
|
|
|
get copyWith => CopyWith$Variables$Mutation$RestartService(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
2023-02-24 10:44:55 +00:00
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
if (!(other is Variables$Mutation$RestartService) ||
|
2023-02-24 10:44:55 +00:00
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$serviceId = serviceId;
|
|
|
|
final lOther$serviceId = other.serviceId;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$serviceId != lOther$serviceId) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
@override
|
|
|
|
int get hashCode {
|
|
|
|
final l$serviceId = serviceId;
|
|
|
|
return Object.hashAll([l$serviceId]);
|
|
|
|
}
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Variables$Mutation$RestartService<TRes> {
|
|
|
|
factory CopyWith$Variables$Mutation$RestartService(
|
2023-02-24 10:44:55 +00:00
|
|
|
Variables$Mutation$RestartService instance,
|
|
|
|
TRes Function(Variables$Mutation$RestartService) then,
|
|
|
|
) = _CopyWithImpl$Variables$Mutation$RestartService;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Variables$Mutation$RestartService.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Variables$Mutation$RestartService;
|
|
|
|
|
|
|
|
TRes call({String? serviceId});
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Variables$Mutation$RestartService<TRes>
|
|
|
|
implements CopyWith$Variables$Mutation$RestartService<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
_CopyWithImpl$Variables$Mutation$RestartService(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Variables$Mutation$RestartService _instance;
|
|
|
|
|
|
|
|
final TRes Function(Variables$Mutation$RestartService) _then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
TRes call({Object? serviceId = _undefined}) =>
|
2023-02-24 10:44:55 +00:00
|
|
|
_then(Variables$Mutation$RestartService._({
|
|
|
|
..._instance._$data,
|
|
|
|
if (serviceId != _undefined && serviceId != null)
|
|
|
|
'serviceId': (serviceId as String),
|
|
|
|
}));
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Variables$Mutation$RestartService<TRes>
|
|
|
|
implements CopyWith$Variables$Mutation$RestartService<TRes> {
|
|
|
|
_CopyWithStubImpl$Variables$Mutation$RestartService(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
|
|
|
call({String? serviceId}) => _res;
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class Mutation$RestartService {
|
2023-02-24 10:44:55 +00:00
|
|
|
Mutation$RestartService({
|
|
|
|
required this.restartService,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'Mutation',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
factory Mutation$RestartService.fromJson(Map<String, dynamic> json) {
|
|
|
|
final l$restartService = json['restartService'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Mutation$RestartService(
|
|
|
|
restartService: Mutation$RestartService$restartService.fromJson(
|
|
|
|
(l$restartService as Map<String, dynamic>)),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final Mutation$RestartService$restartService restartService;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$restartService = restartService;
|
|
|
|
_resultData['restartService'] = l$restartService.toJson();
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
2022-08-24 05:35:49 +00:00
|
|
|
int get hashCode {
|
|
|
|
final l$restartService = restartService;
|
|
|
|
final l$$__typename = $__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
|
|
|
l$restartService,
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
2023-02-24 10:44:55 +00:00
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (!(other is Mutation$RestartService) ||
|
|
|
|
runtimeType != other.runtimeType) {
|
2022-08-24 05:35:49 +00:00
|
|
|
return false;
|
2023-02-24 10:44:55 +00:00
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$restartService = restartService;
|
|
|
|
final lOther$restartService = other.restartService;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$restartService != lOther$restartService) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final lOther$$__typename = other.$__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$$__typename != lOther$$__typename) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Mutation$RestartService on Mutation$RestartService {
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Mutation$RestartService<Mutation$RestartService> get copyWith =>
|
2023-02-24 10:44:55 +00:00
|
|
|
CopyWith$Mutation$RestartService(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Mutation$RestartService<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
factory CopyWith$Mutation$RestartService(
|
|
|
|
Mutation$RestartService instance,
|
|
|
|
TRes Function(Mutation$RestartService) then,
|
|
|
|
) = _CopyWithImpl$Mutation$RestartService;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Mutation$RestartService.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Mutation$RestartService;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Mutation$RestartService$restartService? restartService,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Mutation$RestartService$restartService<TRes> get restartService;
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Mutation$RestartService<TRes>
|
|
|
|
implements CopyWith$Mutation$RestartService<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
_CopyWithImpl$Mutation$RestartService(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Mutation$RestartService _instance;
|
|
|
|
|
|
|
|
final TRes Function(Mutation$RestartService) _then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Object? restartService = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Mutation$RestartService(
|
2023-02-24 10:44:55 +00:00
|
|
|
restartService: restartService == _undefined || restartService == null
|
|
|
|
? _instance.restartService
|
|
|
|
: (restartService as Mutation$RestartService$restartService),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Mutation$RestartService$restartService<TRes> get restartService {
|
|
|
|
final local$restartService = _instance.restartService;
|
|
|
|
return CopyWith$Mutation$RestartService$restartService(
|
|
|
|
local$restartService, (e) => call(restartService: e));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Mutation$RestartService<TRes>
|
|
|
|
implements CopyWith$Mutation$RestartService<TRes> {
|
|
|
|
_CopyWithStubImpl$Mutation$RestartService(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
call({
|
|
|
|
Mutation$RestartService$restartService? restartService,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_res;
|
|
|
|
CopyWith$Mutation$RestartService$restartService<TRes> get restartService =>
|
|
|
|
CopyWith$Mutation$RestartService$restartService.stub(_res);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
const documentNodeMutationRestartService = DocumentNode(definitions: [
|
|
|
|
OperationDefinitionNode(
|
2023-02-24 10:44:55 +00:00
|
|
|
type: OperationType.mutation,
|
|
|
|
name: NameNode(value: 'RestartService'),
|
|
|
|
variableDefinitions: [
|
|
|
|
VariableDefinitionNode(
|
|
|
|
variable: VariableNode(name: NameNode(value: 'serviceId')),
|
|
|
|
type: NamedTypeNode(
|
|
|
|
name: NameNode(value: 'String'),
|
|
|
|
isNonNull: true,
|
|
|
|
),
|
|
|
|
defaultValue: DefaultValueNode(value: null),
|
|
|
|
directives: [],
|
|
|
|
)
|
|
|
|
],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'restartService'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [
|
|
|
|
ArgumentNode(
|
|
|
|
name: NameNode(value: 'serviceId'),
|
|
|
|
value: VariableNode(name: NameNode(value: 'serviceId')),
|
|
|
|
)
|
|
|
|
],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FragmentSpreadNode(
|
|
|
|
name: NameNode(value: 'basicMutationReturnFields'),
|
2022-08-24 05:35:49 +00:00
|
|
|
directives: [],
|
2023-02-24 10:44:55 +00:00
|
|
|
),
|
|
|
|
FieldNode(
|
2022-08-24 05:35:49 +00:00
|
|
|
name: NameNode(value: '__typename'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
2023-02-24 10:44:55 +00:00
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
]),
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: '__typename'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
]),
|
|
|
|
),
|
2022-08-24 05:35:49 +00:00
|
|
|
fragmentDefinitionbasicMutationReturnFields,
|
|
|
|
]);
|
|
|
|
Mutation$RestartService _parserFn$Mutation$RestartService(
|
|
|
|
Map<String, dynamic> data) =>
|
|
|
|
Mutation$RestartService.fromJson(data);
|
|
|
|
typedef OnMutationCompleted$Mutation$RestartService = FutureOr<void> Function(
|
2023-05-30 17:25:46 +00:00
|
|
|
Map<String, dynamic>?,
|
2023-02-24 10:44:55 +00:00
|
|
|
Mutation$RestartService?,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
class Options$Mutation$RestartService
|
|
|
|
extends graphql.MutationOptions<Mutation$RestartService> {
|
2023-02-24 10:44:55 +00:00
|
|
|
Options$Mutation$RestartService({
|
|
|
|
String? operationName,
|
|
|
|
required Variables$Mutation$RestartService variables,
|
|
|
|
graphql.FetchPolicy? fetchPolicy,
|
|
|
|
graphql.ErrorPolicy? errorPolicy,
|
|
|
|
graphql.CacheRereadPolicy? cacheRereadPolicy,
|
|
|
|
Object? optimisticResult,
|
2023-05-30 17:25:46 +00:00
|
|
|
Mutation$RestartService? typedOptimisticResult,
|
2023-02-24 10:44:55 +00:00
|
|
|
graphql.Context? context,
|
|
|
|
OnMutationCompleted$Mutation$RestartService? onCompleted,
|
|
|
|
graphql.OnMutationUpdate<Mutation$RestartService>? update,
|
|
|
|
graphql.OnError? onError,
|
|
|
|
}) : onCompletedWithParsed = onCompleted,
|
2022-08-24 05:35:49 +00:00
|
|
|
super(
|
2023-02-24 10:44:55 +00:00
|
|
|
variables: variables.toJson(),
|
|
|
|
operationName: operationName,
|
|
|
|
fetchPolicy: fetchPolicy,
|
|
|
|
errorPolicy: errorPolicy,
|
|
|
|
cacheRereadPolicy: cacheRereadPolicy,
|
2023-05-30 17:25:46 +00:00
|
|
|
optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(),
|
2023-02-24 10:44:55 +00:00
|
|
|
context: context,
|
|
|
|
onCompleted: onCompleted == null
|
|
|
|
? null
|
|
|
|
: (data) => onCompleted(
|
2022-08-24 05:35:49 +00:00
|
|
|
data,
|
|
|
|
data == null
|
|
|
|
? null
|
2023-02-24 10:44:55 +00:00
|
|
|
: _parserFn$Mutation$RestartService(data),
|
|
|
|
),
|
|
|
|
update: update,
|
|
|
|
onError: onError,
|
|
|
|
document: documentNodeMutationRestartService,
|
|
|
|
parserFn: _parserFn$Mutation$RestartService,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final OnMutationCompleted$Mutation$RestartService? onCompletedWithParsed;
|
|
|
|
|
|
|
|
@override
|
|
|
|
List<Object?> get properties => [
|
|
|
|
...super.onCompleted == null
|
|
|
|
? super.properties
|
|
|
|
: super.properties.where((property) => property != onCompleted),
|
2023-02-24 10:44:55 +00:00
|
|
|
onCompletedWithParsed,
|
2022-08-24 05:35:49 +00:00
|
|
|
];
|
|
|
|
}
|
|
|
|
|
|
|
|
class WatchOptions$Mutation$RestartService
|
|
|
|
extends graphql.WatchQueryOptions<Mutation$RestartService> {
|
2023-02-24 10:44:55 +00:00
|
|
|
WatchOptions$Mutation$RestartService({
|
|
|
|
String? operationName,
|
|
|
|
required Variables$Mutation$RestartService variables,
|
|
|
|
graphql.FetchPolicy? fetchPolicy,
|
|
|
|
graphql.ErrorPolicy? errorPolicy,
|
|
|
|
graphql.CacheRereadPolicy? cacheRereadPolicy,
|
|
|
|
Object? optimisticResult,
|
2023-05-30 17:25:46 +00:00
|
|
|
Mutation$RestartService? typedOptimisticResult,
|
2023-02-24 10:44:55 +00:00
|
|
|
graphql.Context? context,
|
|
|
|
Duration? pollInterval,
|
|
|
|
bool? eagerlyFetchResults,
|
|
|
|
bool carryForwardDataOnException = true,
|
|
|
|
bool fetchResults = false,
|
|
|
|
}) : super(
|
|
|
|
variables: variables.toJson(),
|
|
|
|
operationName: operationName,
|
|
|
|
fetchPolicy: fetchPolicy,
|
|
|
|
errorPolicy: errorPolicy,
|
|
|
|
cacheRereadPolicy: cacheRereadPolicy,
|
2023-05-30 17:25:46 +00:00
|
|
|
optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(),
|
2023-02-24 10:44:55 +00:00
|
|
|
context: context,
|
|
|
|
document: documentNodeMutationRestartService,
|
|
|
|
pollInterval: pollInterval,
|
|
|
|
eagerlyFetchResults: eagerlyFetchResults,
|
|
|
|
carryForwardDataOnException: carryForwardDataOnException,
|
|
|
|
fetchResults: fetchResults,
|
|
|
|
parserFn: _parserFn$Mutation$RestartService,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
extension ClientExtension$Mutation$RestartService on graphql.GraphQLClient {
|
|
|
|
Future<graphql.QueryResult<Mutation$RestartService>> mutate$RestartService(
|
|
|
|
Options$Mutation$RestartService options) async =>
|
|
|
|
await this.mutate(options);
|
|
|
|
graphql.ObservableQuery<Mutation$RestartService> watchMutation$RestartService(
|
|
|
|
WatchOptions$Mutation$RestartService options) =>
|
|
|
|
this.watchMutation(options);
|
|
|
|
}
|
|
|
|
|
|
|
|
class Mutation$RestartService$restartService
|
2023-02-24 10:44:55 +00:00
|
|
|
implements Fragment$basicMutationReturnFields$$ServiceMutationReturn {
|
|
|
|
Mutation$RestartService$restartService({
|
|
|
|
required this.code,
|
|
|
|
required this.message,
|
|
|
|
required this.success,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'ServiceMutationReturn',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
factory Mutation$RestartService$restartService.fromJson(
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> json) {
|
|
|
|
final l$code = json['code'];
|
|
|
|
final l$message = json['message'];
|
|
|
|
final l$success = json['success'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Mutation$RestartService$restartService(
|
|
|
|
code: (l$code as int),
|
|
|
|
message: (l$message as String),
|
|
|
|
success: (l$success as bool),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final int code;
|
|
|
|
|
|
|
|
final String message;
|
|
|
|
|
|
|
|
final bool success;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$code = code;
|
|
|
|
_resultData['code'] = l$code;
|
|
|
|
final l$message = message;
|
|
|
|
_resultData['message'] = l$message;
|
|
|
|
final l$success = success;
|
|
|
|
_resultData['success'] = l$success;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
2022-08-24 05:35:49 +00:00
|
|
|
int get hashCode {
|
|
|
|
final l$code = code;
|
|
|
|
final l$message = message;
|
|
|
|
final l$success = success;
|
|
|
|
final l$$__typename = $__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
|
|
|
l$code,
|
|
|
|
l$message,
|
|
|
|
l$success,
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
2023-02-24 10:44:55 +00:00
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
if (!(other is Mutation$RestartService$restartService) ||
|
2023-02-24 10:44:55 +00:00
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$code = code;
|
|
|
|
final lOther$code = other.code;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$code != lOther$code) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$message = message;
|
|
|
|
final lOther$message = other.message;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$message != lOther$message) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$success = success;
|
|
|
|
final lOther$success = other.success;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$success != lOther$success) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final lOther$$__typename = other.$__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$$__typename != lOther$$__typename) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Mutation$RestartService$restartService
|
|
|
|
on Mutation$RestartService$restartService {
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Mutation$RestartService$restartService<
|
|
|
|
Mutation$RestartService$restartService>
|
2023-02-24 10:44:55 +00:00
|
|
|
get copyWith => CopyWith$Mutation$RestartService$restartService(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Mutation$RestartService$restartService<TRes> {
|
|
|
|
factory CopyWith$Mutation$RestartService$restartService(
|
2023-02-24 10:44:55 +00:00
|
|
|
Mutation$RestartService$restartService instance,
|
|
|
|
TRes Function(Mutation$RestartService$restartService) then,
|
|
|
|
) = _CopyWithImpl$Mutation$RestartService$restartService;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Mutation$RestartService$restartService.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Mutation$RestartService$restartService;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Mutation$RestartService$restartService<TRes>
|
|
|
|
implements CopyWith$Mutation$RestartService$restartService<TRes> {
|
|
|
|
_CopyWithImpl$Mutation$RestartService$restartService(
|
2023-02-24 10:44:55 +00:00
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Mutation$RestartService$restartService _instance;
|
|
|
|
|
|
|
|
final TRes Function(Mutation$RestartService$restartService) _then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Object? code = _undefined,
|
|
|
|
Object? message = _undefined,
|
|
|
|
Object? success = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Mutation$RestartService$restartService(
|
2023-02-24 10:44:55 +00:00
|
|
|
code:
|
|
|
|
code == _undefined || code == null ? _instance.code : (code as int),
|
|
|
|
message: message == _undefined || message == null
|
|
|
|
? _instance.message
|
|
|
|
: (message as String),
|
|
|
|
success: success == _undefined || success == null
|
|
|
|
? _instance.success
|
|
|
|
: (success as bool),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Mutation$RestartService$restartService<TRes>
|
|
|
|
implements CopyWith$Mutation$RestartService$restartService<TRes> {
|
|
|
|
_CopyWithStubImpl$Mutation$RestartService$restartService(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_res;
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class Variables$Mutation$MoveService {
|
2023-02-24 10:44:55 +00:00
|
|
|
factory Variables$Mutation$MoveService(
|
|
|
|
{required Input$MoveServiceInput input}) =>
|
|
|
|
Variables$Mutation$MoveService._({
|
|
|
|
r'input': input,
|
|
|
|
});
|
|
|
|
|
|
|
|
Variables$Mutation$MoveService._(this._$data);
|
|
|
|
|
|
|
|
factory Variables$Mutation$MoveService.fromJson(Map<String, dynamic> data) {
|
|
|
|
final result$data = <String, dynamic>{};
|
|
|
|
final l$input = data['input'];
|
|
|
|
result$data['input'] =
|
|
|
|
Input$MoveServiceInput.fromJson((l$input as Map<String, dynamic>));
|
|
|
|
return Variables$Mutation$MoveService._(result$data);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> _$data;
|
2022-08-24 05:35:49 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Input$MoveServiceInput get input =>
|
|
|
|
(_$data['input'] as Input$MoveServiceInput);
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final result$data = <String, dynamic>{};
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$input = input;
|
2023-02-24 10:44:55 +00:00
|
|
|
result$data['input'] = l$input.toJson();
|
|
|
|
return result$data;
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
CopyWith$Variables$Mutation$MoveService<Variables$Mutation$MoveService>
|
|
|
|
get copyWith => CopyWith$Variables$Mutation$MoveService(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
2023-02-24 10:44:55 +00:00
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
if (!(other is Variables$Mutation$MoveService) ||
|
2023-02-24 10:44:55 +00:00
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$input = input;
|
|
|
|
final lOther$input = other.input;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$input != lOther$input) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
@override
|
|
|
|
int get hashCode {
|
|
|
|
final l$input = input;
|
|
|
|
return Object.hashAll([l$input]);
|
|
|
|
}
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Variables$Mutation$MoveService<TRes> {
|
|
|
|
factory CopyWith$Variables$Mutation$MoveService(
|
2023-02-24 10:44:55 +00:00
|
|
|
Variables$Mutation$MoveService instance,
|
|
|
|
TRes Function(Variables$Mutation$MoveService) then,
|
|
|
|
) = _CopyWithImpl$Variables$Mutation$MoveService;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Variables$Mutation$MoveService.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Variables$Mutation$MoveService;
|
|
|
|
|
|
|
|
TRes call({Input$MoveServiceInput? input});
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Variables$Mutation$MoveService<TRes>
|
|
|
|
implements CopyWith$Variables$Mutation$MoveService<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
_CopyWithImpl$Variables$Mutation$MoveService(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Variables$Mutation$MoveService _instance;
|
|
|
|
|
|
|
|
final TRes Function(Variables$Mutation$MoveService) _then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
TRes call({Object? input = _undefined}) =>
|
2023-02-24 10:44:55 +00:00
|
|
|
_then(Variables$Mutation$MoveService._({
|
|
|
|
..._instance._$data,
|
|
|
|
if (input != _undefined && input != null)
|
|
|
|
'input': (input as Input$MoveServiceInput),
|
|
|
|
}));
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Variables$Mutation$MoveService<TRes>
|
|
|
|
implements CopyWith$Variables$Mutation$MoveService<TRes> {
|
|
|
|
_CopyWithStubImpl$Variables$Mutation$MoveService(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
|
|
|
call({Input$MoveServiceInput? input}) => _res;
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class Mutation$MoveService {
|
2023-02-24 10:44:55 +00:00
|
|
|
Mutation$MoveService({
|
|
|
|
required this.moveService,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'Mutation',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
factory Mutation$MoveService.fromJson(Map<String, dynamic> json) {
|
|
|
|
final l$moveService = json['moveService'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Mutation$MoveService(
|
|
|
|
moveService: Mutation$MoveService$moveService.fromJson(
|
|
|
|
(l$moveService as Map<String, dynamic>)),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final Mutation$MoveService$moveService moveService;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$moveService = moveService;
|
|
|
|
_resultData['moveService'] = l$moveService.toJson();
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
2022-08-24 05:35:49 +00:00
|
|
|
int get hashCode {
|
|
|
|
final l$moveService = moveService;
|
|
|
|
final l$$__typename = $__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
|
|
|
l$moveService,
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
2023-02-24 10:44:55 +00:00
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (!(other is Mutation$MoveService) || runtimeType != other.runtimeType) {
|
2022-08-24 05:35:49 +00:00
|
|
|
return false;
|
2023-02-24 10:44:55 +00:00
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$moveService = moveService;
|
|
|
|
final lOther$moveService = other.moveService;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$moveService != lOther$moveService) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final lOther$$__typename = other.$__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$$__typename != lOther$$__typename) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Mutation$MoveService on Mutation$MoveService {
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Mutation$MoveService<Mutation$MoveService> get copyWith =>
|
2023-02-24 10:44:55 +00:00
|
|
|
CopyWith$Mutation$MoveService(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Mutation$MoveService<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
factory CopyWith$Mutation$MoveService(
|
|
|
|
Mutation$MoveService instance,
|
|
|
|
TRes Function(Mutation$MoveService) then,
|
|
|
|
) = _CopyWithImpl$Mutation$MoveService;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Mutation$MoveService.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Mutation$MoveService;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Mutation$MoveService$moveService? moveService,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Mutation$MoveService$moveService<TRes> get moveService;
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Mutation$MoveService<TRes>
|
|
|
|
implements CopyWith$Mutation$MoveService<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
_CopyWithImpl$Mutation$MoveService(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Mutation$MoveService _instance;
|
|
|
|
|
|
|
|
final TRes Function(Mutation$MoveService) _then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Object? moveService = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Mutation$MoveService(
|
2023-02-24 10:44:55 +00:00
|
|
|
moveService: moveService == _undefined || moveService == null
|
|
|
|
? _instance.moveService
|
|
|
|
: (moveService as Mutation$MoveService$moveService),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Mutation$MoveService$moveService<TRes> get moveService {
|
|
|
|
final local$moveService = _instance.moveService;
|
|
|
|
return CopyWith$Mutation$MoveService$moveService(
|
|
|
|
local$moveService, (e) => call(moveService: e));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Mutation$MoveService<TRes>
|
|
|
|
implements CopyWith$Mutation$MoveService<TRes> {
|
|
|
|
_CopyWithStubImpl$Mutation$MoveService(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
call({
|
|
|
|
Mutation$MoveService$moveService? moveService,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_res;
|
|
|
|
CopyWith$Mutation$MoveService$moveService<TRes> get moveService =>
|
|
|
|
CopyWith$Mutation$MoveService$moveService.stub(_res);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
const documentNodeMutationMoveService = DocumentNode(definitions: [
|
|
|
|
OperationDefinitionNode(
|
2023-02-24 10:44:55 +00:00
|
|
|
type: OperationType.mutation,
|
|
|
|
name: NameNode(value: 'MoveService'),
|
|
|
|
variableDefinitions: [
|
|
|
|
VariableDefinitionNode(
|
|
|
|
variable: VariableNode(name: NameNode(value: 'input')),
|
|
|
|
type: NamedTypeNode(
|
|
|
|
name: NameNode(value: 'MoveServiceInput'),
|
|
|
|
isNonNull: true,
|
|
|
|
),
|
|
|
|
defaultValue: DefaultValueNode(value: null),
|
|
|
|
directives: [],
|
|
|
|
)
|
|
|
|
],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'moveService'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [
|
|
|
|
ArgumentNode(
|
|
|
|
name: NameNode(value: 'input'),
|
|
|
|
value: VariableNode(name: NameNode(value: 'input')),
|
|
|
|
)
|
|
|
|
],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FragmentSpreadNode(
|
|
|
|
name: NameNode(value: 'basicMutationReturnFields'),
|
|
|
|
directives: [],
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'job'),
|
2022-08-24 05:35:49 +00:00
|
|
|
alias: null,
|
2023-02-24 10:44:55 +00:00
|
|
|
arguments: [],
|
2022-08-24 05:35:49 +00:00
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FieldNode(
|
2023-02-24 10:44:55 +00:00
|
|
|
name: NameNode(value: 'createdAt'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'description'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'error'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'finishedAt'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'name'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'progress'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'result'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
2022-08-24 05:35:49 +00:00
|
|
|
FieldNode(
|
2023-02-24 10:44:55 +00:00
|
|
|
name: NameNode(value: 'status'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'statusText'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'uid'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'updatedAt'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: '__typename'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
]),
|
|
|
|
),
|
|
|
|
FieldNode(
|
2022-08-24 05:35:49 +00:00
|
|
|
name: NameNode(value: '__typename'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
2023-02-24 10:44:55 +00:00
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
]),
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: '__typename'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
]),
|
|
|
|
),
|
2022-08-24 05:35:49 +00:00
|
|
|
fragmentDefinitionbasicMutationReturnFields,
|
|
|
|
]);
|
|
|
|
Mutation$MoveService _parserFn$Mutation$MoveService(
|
|
|
|
Map<String, dynamic> data) =>
|
|
|
|
Mutation$MoveService.fromJson(data);
|
|
|
|
typedef OnMutationCompleted$Mutation$MoveService = FutureOr<void> Function(
|
2023-05-30 17:25:46 +00:00
|
|
|
Map<String, dynamic>?,
|
2023-02-24 10:44:55 +00:00
|
|
|
Mutation$MoveService?,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
class Options$Mutation$MoveService
|
|
|
|
extends graphql.MutationOptions<Mutation$MoveService> {
|
2023-02-24 10:44:55 +00:00
|
|
|
Options$Mutation$MoveService({
|
|
|
|
String? operationName,
|
|
|
|
required Variables$Mutation$MoveService variables,
|
|
|
|
graphql.FetchPolicy? fetchPolicy,
|
|
|
|
graphql.ErrorPolicy? errorPolicy,
|
|
|
|
graphql.CacheRereadPolicy? cacheRereadPolicy,
|
|
|
|
Object? optimisticResult,
|
2023-05-30 17:25:46 +00:00
|
|
|
Mutation$MoveService? typedOptimisticResult,
|
2023-02-24 10:44:55 +00:00
|
|
|
graphql.Context? context,
|
|
|
|
OnMutationCompleted$Mutation$MoveService? onCompleted,
|
|
|
|
graphql.OnMutationUpdate<Mutation$MoveService>? update,
|
|
|
|
graphql.OnError? onError,
|
|
|
|
}) : onCompletedWithParsed = onCompleted,
|
2022-08-24 05:35:49 +00:00
|
|
|
super(
|
2023-02-24 10:44:55 +00:00
|
|
|
variables: variables.toJson(),
|
|
|
|
operationName: operationName,
|
|
|
|
fetchPolicy: fetchPolicy,
|
|
|
|
errorPolicy: errorPolicy,
|
|
|
|
cacheRereadPolicy: cacheRereadPolicy,
|
2023-05-30 17:25:46 +00:00
|
|
|
optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(),
|
2023-02-24 10:44:55 +00:00
|
|
|
context: context,
|
|
|
|
onCompleted: onCompleted == null
|
|
|
|
? null
|
|
|
|
: (data) => onCompleted(
|
|
|
|
data,
|
|
|
|
data == null ? null : _parserFn$Mutation$MoveService(data),
|
|
|
|
),
|
|
|
|
update: update,
|
|
|
|
onError: onError,
|
|
|
|
document: documentNodeMutationMoveService,
|
|
|
|
parserFn: _parserFn$Mutation$MoveService,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final OnMutationCompleted$Mutation$MoveService? onCompletedWithParsed;
|
|
|
|
|
|
|
|
@override
|
|
|
|
List<Object?> get properties => [
|
|
|
|
...super.onCompleted == null
|
|
|
|
? super.properties
|
|
|
|
: super.properties.where((property) => property != onCompleted),
|
2023-02-24 10:44:55 +00:00
|
|
|
onCompletedWithParsed,
|
2022-08-24 05:35:49 +00:00
|
|
|
];
|
|
|
|
}
|
|
|
|
|
|
|
|
class WatchOptions$Mutation$MoveService
|
|
|
|
extends graphql.WatchQueryOptions<Mutation$MoveService> {
|
2023-02-24 10:44:55 +00:00
|
|
|
WatchOptions$Mutation$MoveService({
|
|
|
|
String? operationName,
|
|
|
|
required Variables$Mutation$MoveService variables,
|
|
|
|
graphql.FetchPolicy? fetchPolicy,
|
|
|
|
graphql.ErrorPolicy? errorPolicy,
|
|
|
|
graphql.CacheRereadPolicy? cacheRereadPolicy,
|
|
|
|
Object? optimisticResult,
|
2023-05-30 17:25:46 +00:00
|
|
|
Mutation$MoveService? typedOptimisticResult,
|
2023-02-24 10:44:55 +00:00
|
|
|
graphql.Context? context,
|
|
|
|
Duration? pollInterval,
|
|
|
|
bool? eagerlyFetchResults,
|
|
|
|
bool carryForwardDataOnException = true,
|
|
|
|
bool fetchResults = false,
|
|
|
|
}) : super(
|
|
|
|
variables: variables.toJson(),
|
|
|
|
operationName: operationName,
|
|
|
|
fetchPolicy: fetchPolicy,
|
|
|
|
errorPolicy: errorPolicy,
|
|
|
|
cacheRereadPolicy: cacheRereadPolicy,
|
2023-05-30 17:25:46 +00:00
|
|
|
optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(),
|
2023-02-24 10:44:55 +00:00
|
|
|
context: context,
|
|
|
|
document: documentNodeMutationMoveService,
|
|
|
|
pollInterval: pollInterval,
|
|
|
|
eagerlyFetchResults: eagerlyFetchResults,
|
|
|
|
carryForwardDataOnException: carryForwardDataOnException,
|
|
|
|
fetchResults: fetchResults,
|
|
|
|
parserFn: _parserFn$Mutation$MoveService,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
extension ClientExtension$Mutation$MoveService on graphql.GraphQLClient {
|
|
|
|
Future<graphql.QueryResult<Mutation$MoveService>> mutate$MoveService(
|
|
|
|
Options$Mutation$MoveService options) async =>
|
|
|
|
await this.mutate(options);
|
|
|
|
graphql.ObservableQuery<Mutation$MoveService> watchMutation$MoveService(
|
|
|
|
WatchOptions$Mutation$MoveService options) =>
|
|
|
|
this.watchMutation(options);
|
|
|
|
}
|
|
|
|
|
|
|
|
class Mutation$MoveService$moveService
|
2023-02-24 10:44:55 +00:00
|
|
|
implements Fragment$basicMutationReturnFields$$ServiceJobMutationReturn {
|
|
|
|
Mutation$MoveService$moveService({
|
|
|
|
required this.code,
|
|
|
|
required this.message,
|
|
|
|
required this.success,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'ServiceJobMutationReturn',
|
2023-02-24 10:44:55 +00:00
|
|
|
this.job,
|
|
|
|
});
|
|
|
|
|
|
|
|
factory Mutation$MoveService$moveService.fromJson(Map<String, dynamic> json) {
|
|
|
|
final l$code = json['code'];
|
|
|
|
final l$message = json['message'];
|
|
|
|
final l$success = json['success'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
final l$job = json['job'];
|
|
|
|
return Mutation$MoveService$moveService(
|
|
|
|
code: (l$code as int),
|
|
|
|
message: (l$message as String),
|
|
|
|
success: (l$success as bool),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
job: l$job == null
|
|
|
|
? null
|
|
|
|
: Mutation$MoveService$moveService$job.fromJson(
|
|
|
|
(l$job as Map<String, dynamic>)),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final int code;
|
|
|
|
|
|
|
|
final String message;
|
|
|
|
|
|
|
|
final bool success;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
|
|
|
final Mutation$MoveService$moveService$job? job;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$code = code;
|
|
|
|
_resultData['code'] = l$code;
|
|
|
|
final l$message = message;
|
|
|
|
_resultData['message'] = l$message;
|
|
|
|
final l$success = success;
|
|
|
|
_resultData['success'] = l$success;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
final l$job = job;
|
|
|
|
_resultData['job'] = l$job?.toJson();
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
2022-08-24 05:35:49 +00:00
|
|
|
int get hashCode {
|
|
|
|
final l$code = code;
|
|
|
|
final l$message = message;
|
|
|
|
final l$success = success;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final l$job = job;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
|
|
|
l$code,
|
|
|
|
l$message,
|
|
|
|
l$success,
|
|
|
|
l$$__typename,
|
|
|
|
l$job,
|
|
|
|
]);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
2023-02-24 10:44:55 +00:00
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
if (!(other is Mutation$MoveService$moveService) ||
|
2023-02-24 10:44:55 +00:00
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$code = code;
|
|
|
|
final lOther$code = other.code;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$code != lOther$code) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$message = message;
|
|
|
|
final lOther$message = other.message;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$message != lOther$message) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$success = success;
|
|
|
|
final lOther$success = other.success;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$success != lOther$success) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final lOther$$__typename = other.$__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$$__typename != lOther$$__typename) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$job = job;
|
|
|
|
final lOther$job = other.job;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$job != lOther$job) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Mutation$MoveService$moveService
|
|
|
|
on Mutation$MoveService$moveService {
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Mutation$MoveService$moveService<Mutation$MoveService$moveService>
|
2023-02-24 10:44:55 +00:00
|
|
|
get copyWith => CopyWith$Mutation$MoveService$moveService(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Mutation$MoveService$moveService<TRes> {
|
|
|
|
factory CopyWith$Mutation$MoveService$moveService(
|
2023-02-24 10:44:55 +00:00
|
|
|
Mutation$MoveService$moveService instance,
|
|
|
|
TRes Function(Mutation$MoveService$moveService) then,
|
|
|
|
) = _CopyWithImpl$Mutation$MoveService$moveService;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Mutation$MoveService$moveService.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Mutation$MoveService$moveService;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
Mutation$MoveService$moveService$job? job,
|
|
|
|
});
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Mutation$MoveService$moveService$job<TRes> get job;
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Mutation$MoveService$moveService<TRes>
|
|
|
|
implements CopyWith$Mutation$MoveService$moveService<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
_CopyWithImpl$Mutation$MoveService$moveService(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Mutation$MoveService$moveService _instance;
|
|
|
|
|
|
|
|
final TRes Function(Mutation$MoveService$moveService) _then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Object? code = _undefined,
|
|
|
|
Object? message = _undefined,
|
|
|
|
Object? success = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
Object? job = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Mutation$MoveService$moveService(
|
2023-02-24 10:44:55 +00:00
|
|
|
code:
|
|
|
|
code == _undefined || code == null ? _instance.code : (code as int),
|
|
|
|
message: message == _undefined || message == null
|
|
|
|
? _instance.message
|
|
|
|
: (message as String),
|
|
|
|
success: success == _undefined || success == null
|
|
|
|
? _instance.success
|
|
|
|
: (success as bool),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
job: job == _undefined
|
|
|
|
? _instance.job
|
|
|
|
: (job as Mutation$MoveService$moveService$job?),
|
|
|
|
));
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Mutation$MoveService$moveService$job<TRes> get job {
|
|
|
|
final local$job = _instance.job;
|
|
|
|
return local$job == null
|
|
|
|
? CopyWith$Mutation$MoveService$moveService$job.stub(_then(_instance))
|
|
|
|
: CopyWith$Mutation$MoveService$moveService$job(
|
|
|
|
local$job, (e) => call(job: e));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Mutation$MoveService$moveService<TRes>
|
|
|
|
implements CopyWith$Mutation$MoveService$moveService<TRes> {
|
|
|
|
_CopyWithStubImpl$Mutation$MoveService$moveService(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
Mutation$MoveService$moveService$job? job,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_res;
|
|
|
|
CopyWith$Mutation$MoveService$moveService$job<TRes> get job =>
|
|
|
|
CopyWith$Mutation$MoveService$moveService$job.stub(_res);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class Mutation$MoveService$moveService$job {
|
2023-02-24 10:44:55 +00:00
|
|
|
Mutation$MoveService$moveService$job({
|
|
|
|
required this.createdAt,
|
|
|
|
required this.description,
|
|
|
|
this.error,
|
|
|
|
this.finishedAt,
|
|
|
|
required this.name,
|
|
|
|
this.progress,
|
|
|
|
this.result,
|
|
|
|
required this.status,
|
|
|
|
this.statusText,
|
|
|
|
required this.uid,
|
|
|
|
required this.updatedAt,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'ApiJob',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
factory Mutation$MoveService$moveService$job.fromJson(
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> json) {
|
|
|
|
final l$createdAt = json['createdAt'];
|
|
|
|
final l$description = json['description'];
|
|
|
|
final l$error = json['error'];
|
|
|
|
final l$finishedAt = json['finishedAt'];
|
|
|
|
final l$name = json['name'];
|
|
|
|
final l$progress = json['progress'];
|
|
|
|
final l$result = json['result'];
|
|
|
|
final l$status = json['status'];
|
|
|
|
final l$statusText = json['statusText'];
|
|
|
|
final l$uid = json['uid'];
|
|
|
|
final l$updatedAt = json['updatedAt'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Mutation$MoveService$moveService$job(
|
|
|
|
createdAt: dateTimeFromJson(l$createdAt),
|
|
|
|
description: (l$description as String),
|
|
|
|
error: (l$error as String?),
|
|
|
|
finishedAt: l$finishedAt == null ? null : dateTimeFromJson(l$finishedAt),
|
|
|
|
name: (l$name as String),
|
|
|
|
progress: (l$progress as int?),
|
|
|
|
result: (l$result as String?),
|
|
|
|
status: (l$status as String),
|
|
|
|
statusText: (l$statusText as String?),
|
|
|
|
uid: (l$uid as String),
|
|
|
|
updatedAt: dateTimeFromJson(l$updatedAt),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final DateTime createdAt;
|
|
|
|
|
|
|
|
final String description;
|
|
|
|
|
|
|
|
final String? error;
|
|
|
|
|
|
|
|
final DateTime? finishedAt;
|
|
|
|
|
|
|
|
final String name;
|
|
|
|
|
|
|
|
final int? progress;
|
|
|
|
|
|
|
|
final String? result;
|
|
|
|
|
|
|
|
final String status;
|
|
|
|
|
|
|
|
final String? statusText;
|
|
|
|
|
|
|
|
final String uid;
|
|
|
|
|
|
|
|
final DateTime updatedAt;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$createdAt = createdAt;
|
|
|
|
_resultData['createdAt'] = dateTimeToJson(l$createdAt);
|
|
|
|
final l$description = description;
|
|
|
|
_resultData['description'] = l$description;
|
|
|
|
final l$error = error;
|
|
|
|
_resultData['error'] = l$error;
|
|
|
|
final l$finishedAt = finishedAt;
|
|
|
|
_resultData['finishedAt'] =
|
|
|
|
l$finishedAt == null ? null : dateTimeToJson(l$finishedAt);
|
|
|
|
final l$name = name;
|
|
|
|
_resultData['name'] = l$name;
|
|
|
|
final l$progress = progress;
|
|
|
|
_resultData['progress'] = l$progress;
|
|
|
|
final l$result = result;
|
|
|
|
_resultData['result'] = l$result;
|
|
|
|
final l$status = status;
|
|
|
|
_resultData['status'] = l$status;
|
|
|
|
final l$statusText = statusText;
|
|
|
|
_resultData['statusText'] = l$statusText;
|
|
|
|
final l$uid = uid;
|
|
|
|
_resultData['uid'] = l$uid;
|
|
|
|
final l$updatedAt = updatedAt;
|
|
|
|
_resultData['updatedAt'] = dateTimeToJson(l$updatedAt);
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
2022-08-24 05:35:49 +00:00
|
|
|
int get hashCode {
|
|
|
|
final l$createdAt = createdAt;
|
|
|
|
final l$description = description;
|
|
|
|
final l$error = error;
|
|
|
|
final l$finishedAt = finishedAt;
|
|
|
|
final l$name = name;
|
|
|
|
final l$progress = progress;
|
|
|
|
final l$result = result;
|
|
|
|
final l$status = status;
|
|
|
|
final l$statusText = statusText;
|
|
|
|
final l$uid = uid;
|
|
|
|
final l$updatedAt = updatedAt;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
return Object.hashAll([
|
|
|
|
l$createdAt,
|
|
|
|
l$description,
|
|
|
|
l$error,
|
|
|
|
l$finishedAt,
|
|
|
|
l$name,
|
|
|
|
l$progress,
|
|
|
|
l$result,
|
|
|
|
l$status,
|
|
|
|
l$statusText,
|
|
|
|
l$uid,
|
|
|
|
l$updatedAt,
|
2023-02-24 10:44:55 +00:00
|
|
|
l$$__typename,
|
2022-08-24 05:35:49 +00:00
|
|
|
]);
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
2023-02-24 10:44:55 +00:00
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
if (!(other is Mutation$MoveService$moveService$job) ||
|
2023-02-24 10:44:55 +00:00
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$createdAt = createdAt;
|
|
|
|
final lOther$createdAt = other.createdAt;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$createdAt != lOther$createdAt) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$description = description;
|
|
|
|
final lOther$description = other.description;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$description != lOther$description) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$error = error;
|
|
|
|
final lOther$error = other.error;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$error != lOther$error) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$finishedAt = finishedAt;
|
|
|
|
final lOther$finishedAt = other.finishedAt;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$finishedAt != lOther$finishedAt) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$name = name;
|
|
|
|
final lOther$name = other.name;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$name != lOther$name) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$progress = progress;
|
|
|
|
final lOther$progress = other.progress;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$progress != lOther$progress) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$result = result;
|
|
|
|
final lOther$result = other.result;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$result != lOther$result) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$status = status;
|
|
|
|
final lOther$status = other.status;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$status != lOther$status) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$statusText = statusText;
|
|
|
|
final lOther$statusText = other.statusText;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$statusText != lOther$statusText) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$uid = uid;
|
|
|
|
final lOther$uid = other.uid;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$uid != lOther$uid) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$updatedAt = updatedAt;
|
|
|
|
final lOther$updatedAt = other.updatedAt;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$updatedAt != lOther$updatedAt) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final lOther$$__typename = other.$__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$$__typename != lOther$$__typename) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Mutation$MoveService$moveService$job
|
|
|
|
on Mutation$MoveService$moveService$job {
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Mutation$MoveService$moveService$job<
|
|
|
|
Mutation$MoveService$moveService$job>
|
2023-02-24 10:44:55 +00:00
|
|
|
get copyWith => CopyWith$Mutation$MoveService$moveService$job(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Mutation$MoveService$moveService$job<TRes> {
|
|
|
|
factory CopyWith$Mutation$MoveService$moveService$job(
|
2023-02-24 10:44:55 +00:00
|
|
|
Mutation$MoveService$moveService$job instance,
|
|
|
|
TRes Function(Mutation$MoveService$moveService$job) then,
|
|
|
|
) = _CopyWithImpl$Mutation$MoveService$moveService$job;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Mutation$MoveService$moveService$job.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Mutation$MoveService$moveService$job;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
DateTime? createdAt,
|
|
|
|
String? description,
|
|
|
|
String? error,
|
|
|
|
DateTime? finishedAt,
|
|
|
|
String? name,
|
|
|
|
int? progress,
|
|
|
|
String? result,
|
|
|
|
String? status,
|
|
|
|
String? statusText,
|
|
|
|
String? uid,
|
|
|
|
DateTime? updatedAt,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Mutation$MoveService$moveService$job<TRes>
|
|
|
|
implements CopyWith$Mutation$MoveService$moveService$job<TRes> {
|
|
|
|
_CopyWithImpl$Mutation$MoveService$moveService$job(
|
2023-02-24 10:44:55 +00:00
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Mutation$MoveService$moveService$job _instance;
|
|
|
|
|
|
|
|
final TRes Function(Mutation$MoveService$moveService$job) _then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Object? createdAt = _undefined,
|
|
|
|
Object? description = _undefined,
|
|
|
|
Object? error = _undefined,
|
|
|
|
Object? finishedAt = _undefined,
|
|
|
|
Object? name = _undefined,
|
|
|
|
Object? progress = _undefined,
|
|
|
|
Object? result = _undefined,
|
|
|
|
Object? status = _undefined,
|
|
|
|
Object? statusText = _undefined,
|
|
|
|
Object? uid = _undefined,
|
|
|
|
Object? updatedAt = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Mutation$MoveService$moveService$job(
|
2023-02-24 10:44:55 +00:00
|
|
|
createdAt: createdAt == _undefined || createdAt == null
|
|
|
|
? _instance.createdAt
|
|
|
|
: (createdAt as DateTime),
|
|
|
|
description: description == _undefined || description == null
|
|
|
|
? _instance.description
|
|
|
|
: (description as String),
|
|
|
|
error: error == _undefined ? _instance.error : (error as String?),
|
|
|
|
finishedAt: finishedAt == _undefined
|
|
|
|
? _instance.finishedAt
|
|
|
|
: (finishedAt as DateTime?),
|
|
|
|
name: name == _undefined || name == null
|
|
|
|
? _instance.name
|
|
|
|
: (name as String),
|
|
|
|
progress:
|
|
|
|
progress == _undefined ? _instance.progress : (progress as int?),
|
|
|
|
result: result == _undefined ? _instance.result : (result as String?),
|
|
|
|
status: status == _undefined || status == null
|
|
|
|
? _instance.status
|
|
|
|
: (status as String),
|
|
|
|
statusText: statusText == _undefined
|
|
|
|
? _instance.statusText
|
|
|
|
: (statusText as String?),
|
|
|
|
uid: uid == _undefined || uid == null ? _instance.uid : (uid as String),
|
|
|
|
updatedAt: updatedAt == _undefined || updatedAt == null
|
|
|
|
? _instance.updatedAt
|
|
|
|
: (updatedAt as DateTime),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Mutation$MoveService$moveService$job<TRes>
|
|
|
|
implements CopyWith$Mutation$MoveService$moveService$job<TRes> {
|
|
|
|
_CopyWithStubImpl$Mutation$MoveService$moveService$job(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
call({
|
|
|
|
DateTime? createdAt,
|
|
|
|
String? description,
|
|
|
|
String? error,
|
|
|
|
DateTime? finishedAt,
|
|
|
|
String? name,
|
|
|
|
int? progress,
|
|
|
|
String? result,
|
|
|
|
String? status,
|
|
|
|
String? statusText,
|
|
|
|
String? uid,
|
|
|
|
DateTime? updatedAt,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_res;
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|