2022-08-24 05:35:49 +00:00
|
|
|
import 'dart:async';
|
|
|
|
import 'package:gql/ast.dart';
|
|
|
|
import 'package:graphql/client.dart' as graphql;
|
|
|
|
import 'schema.graphql.dart';
|
2023-06-29 18:38:46 +00:00
|
|
|
import 'server_api.graphql.dart';
|
2023-06-23 02:22:48 +00:00
|
|
|
import 'server_settings.graphql.dart';
|
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),
|
|
|
|
));
|
2023-11-18 06:22:07 +00:00
|
|
|
|
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;
|
2023-11-18 06:22:07 +00:00
|
|
|
|
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,
|
|
|
|
),
|
2023-06-29 18:38:46 +00:00
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'canBeBackedUp'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
2023-07-02 11:41:31 +00:00
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'backupDescription'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
2023-02-24 10:44:55 +00:00
|
|
|
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),
|
|
|
|
));
|
2023-11-18 06:22:07 +00:00
|
|
|
|
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;
|
2023-11-18 06:22:07 +00:00
|
|
|
|
2022-08-29 18:18:07 +00:00
|
|
|
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,
|
2023-06-29 18:38:46 +00:00
|
|
|
required this.canBeBackedUp,
|
2023-07-02 11:41:31 +00:00
|
|
|
required this.backupDescription,
|
2023-02-24 10:44:55 +00:00
|
|
|
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'];
|
2023-06-29 18:38:46 +00:00
|
|
|
final l$canBeBackedUp = json['canBeBackedUp'];
|
2023-07-02 11:41:31 +00:00
|
|
|
final l$backupDescription = json['backupDescription'];
|
2023-02-24 10:44:55 +00:00
|
|
|
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),
|
2023-06-29 18:38:46 +00:00
|
|
|
canBeBackedUp: (l$canBeBackedUp as bool),
|
2023-07-02 11:41:31 +00:00
|
|
|
backupDescription: (l$backupDescription as String),
|
2023-02-24 10:44:55 +00:00
|
|
|
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;
|
|
|
|
|
2023-06-29 18:38:46 +00:00
|
|
|
final bool canBeBackedUp;
|
|
|
|
|
2023-07-02 11:41:31 +00:00
|
|
|
final String backupDescription;
|
|
|
|
|
2022-08-24 05:35:49 +00:00
|
|
|
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;
|
2023-06-29 18:38:46 +00:00
|
|
|
final l$canBeBackedUp = canBeBackedUp;
|
|
|
|
_resultData['canBeBackedUp'] = l$canBeBackedUp;
|
2023-07-02 11:41:31 +00:00
|
|
|
final l$backupDescription = backupDescription;
|
|
|
|
_resultData['backupDescription'] = l$backupDescription;
|
2023-02-24 10:44:55 +00:00
|
|
|
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;
|
2023-06-29 18:38:46 +00:00
|
|
|
final l$canBeBackedUp = canBeBackedUp;
|
2023-07-02 11:41:31 +00:00
|
|
|
final l$backupDescription = backupDescription;
|
2022-08-24 05:35:49 +00:00
|
|
|
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,
|
2023-06-29 18:38:46 +00:00
|
|
|
l$canBeBackedUp,
|
2023-07-02 11:41:31 +00:00
|
|
|
l$backupDescription,
|
2022-08-24 05:35:49 +00:00
|
|
|
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;
|
|
|
|
}
|
2023-06-29 18:38:46 +00:00
|
|
|
final l$canBeBackedUp = canBeBackedUp;
|
|
|
|
final lOther$canBeBackedUp = other.canBeBackedUp;
|
|
|
|
if (l$canBeBackedUp != lOther$canBeBackedUp) {
|
|
|
|
return false;
|
|
|
|
}
|
2023-07-02 11:41:31 +00:00
|
|
|
final l$backupDescription = backupDescription;
|
|
|
|
final lOther$backupDescription = other.backupDescription;
|
|
|
|
if (l$backupDescription != lOther$backupDescription) {
|
|
|
|
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,
|
2023-06-29 18:38:46 +00:00
|
|
|
bool? canBeBackedUp,
|
2023-07-02 11:41:31 +00:00
|
|
|
String? backupDescription,
|
2023-02-24 10:44:55 +00:00
|
|
|
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,
|
2023-06-29 18:38:46 +00:00
|
|
|
Object? canBeBackedUp = _undefined,
|
2023-07-02 11:41:31 +00:00
|
|
|
Object? backupDescription = _undefined,
|
2023-02-24 10:44:55 +00:00
|
|
|
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),
|
2023-06-29 18:38:46 +00:00
|
|
|
canBeBackedUp: canBeBackedUp == _undefined || canBeBackedUp == null
|
|
|
|
? _instance.canBeBackedUp
|
|
|
|
: (canBeBackedUp as bool),
|
2023-07-02 11:41:31 +00:00
|
|
|
backupDescription:
|
|
|
|
backupDescription == _undefined || backupDescription == null
|
|
|
|
? _instance.backupDescription
|
|
|
|
: (backupDescription as String),
|
2023-02-24 10:44:55 +00:00
|
|
|
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),
|
|
|
|
));
|
2023-11-18 06:22:07 +00:00
|
|
|
|
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());
|
2023-11-18 06:22:07 +00:00
|
|
|
|
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,
|
2023-06-29 18:38:46 +00:00
|
|
|
bool? canBeBackedUp,
|
2023-07-02 11:41:31 +00:00
|
|
|
String? backupDescription,
|
2023-02-24 10:44:55 +00:00
|
|
|
Enum$ServiceStatusEnum? status,
|
|
|
|
Query$AllServices$services$allServices$storageUsage? storageUsage,
|
|
|
|
String? svgIcon,
|
|
|
|
String? url,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_res;
|
2023-11-18 06:22:07 +00:00
|
|
|
|
2022-08-29 18:18:07 +00:00
|
|
|
dnsRecords(_fn) => _res;
|
2023-11-18 06:22:07 +00:00
|
|
|
|
2022-08-29 18:18:07 +00:00
|
|
|
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),
|
|
|
|
));
|
2023-11-18 06:22:07 +00:00
|
|
|
|
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;
|
2023-11-18 06:22:07 +00:00
|
|
|
|
2022-08-29 18:18:07 +00:00
|
|
|
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);
|
2023-11-18 06:22:07 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
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,
|
|
|
|
);
|
2023-11-18 06:22:07 +00:00
|
|
|
|
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({
|
2024-01-15 09:11:09 +00:00
|
|
|
required this.services,
|
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) {
|
2024-01-15 09:11:09 +00:00
|
|
|
final l$services = json['services'];
|
2023-02-24 10:44:55 +00:00
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Mutation$EnableService(
|
2024-01-15 09:11:09 +00:00
|
|
|
services: Mutation$EnableService$services.fromJson(
|
|
|
|
(l$services as Map<String, dynamic>)),
|
2023-02-24 10:44:55 +00:00
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
final Mutation$EnableService$services services;
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
2024-01-15 09:11:09 +00:00
|
|
|
final l$services = services;
|
|
|
|
_resultData['services'] = l$services.toJson();
|
2023-02-24 10:44:55 +00:00
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
2022-08-24 05:35:49 +00:00
|
|
|
int get hashCode {
|
2024-01-15 09:11:09 +00:00
|
|
|
final l$services = services;
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$$__typename = $__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
2024-01-15 09:11:09 +00:00
|
|
|
l$services,
|
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;
|
|
|
|
}
|
|
|
|
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
|
|
|
}
|
2024-01-15 09:11:09 +00:00
|
|
|
final l$services = services;
|
|
|
|
final lOther$services = other.services;
|
|
|
|
if (l$services != lOther$services) {
|
2023-02-24 10:44:55 +00:00
|
|
|
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({
|
2024-01-15 09:11:09 +00:00
|
|
|
Mutation$EnableService$services? services,
|
2023-02-24 10:44:55 +00:00
|
|
|
String? $__typename,
|
|
|
|
});
|
2024-01-15 09:11:09 +00:00
|
|
|
CopyWith$Mutation$EnableService$services<TRes> get services;
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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({
|
2024-01-15 09:11:09 +00:00
|
|
|
Object? services = _undefined,
|
2023-02-24 10:44:55 +00:00
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Mutation$EnableService(
|
2024-01-15 09:11:09 +00:00
|
|
|
services: services == _undefined || services == null
|
|
|
|
? _instance.services
|
|
|
|
: (services as Mutation$EnableService$services),
|
2023-02-24 10:44:55 +00:00
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2023-11-18 06:22:07 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
CopyWith$Mutation$EnableService$services<TRes> get services {
|
|
|
|
final local$services = _instance.services;
|
|
|
|
return CopyWith$Mutation$EnableService$services(
|
|
|
|
local$services, (e) => call(services: e));
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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({
|
2024-01-15 09:11:09 +00:00
|
|
|
Mutation$EnableService$services? services,
|
2023-02-24 10:44:55 +00:00
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_res;
|
2023-11-18 06:22:07 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
CopyWith$Mutation$EnableService$services<TRes> get services =>
|
|
|
|
CopyWith$Mutation$EnableService$services.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(
|
2024-01-15 09:11:09 +00:00
|
|
|
name: NameNode(value: 'services'),
|
2023-02-24 10:44:55 +00:00
|
|
|
alias: null,
|
2024-01-15 09:11:09 +00:00
|
|
|
arguments: [],
|
2023-02-24 10:44:55 +00:00
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
2024-01-15 09:11:09 +00:00
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'enableService'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [
|
|
|
|
ArgumentNode(
|
|
|
|
name: NameNode(value: 'serviceId'),
|
|
|
|
value: VariableNode(name: NameNode(value: 'serviceId')),
|
|
|
|
)
|
|
|
|
],
|
2022-08-24 05:35:49 +00:00
|
|
|
directives: [],
|
2024-01-15 09:11:09 +00:00
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FragmentSpreadNode(
|
|
|
|
name: NameNode(value: 'basicMutationReturnFields'),
|
|
|
|
directives: [],
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: '__typename'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
]),
|
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);
|
|
|
|
}
|
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
class Mutation$EnableService$services {
|
|
|
|
Mutation$EnableService$services({
|
|
|
|
required this.enableService,
|
|
|
|
this.$__typename = 'ServicesMutations',
|
|
|
|
});
|
|
|
|
|
|
|
|
factory Mutation$EnableService$services.fromJson(Map<String, dynamic> json) {
|
|
|
|
final l$enableService = json['enableService'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Mutation$EnableService$services(
|
|
|
|
enableService: Mutation$EnableService$services$enableService.fromJson(
|
|
|
|
(l$enableService as Map<String, dynamic>)),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
final Mutation$EnableService$services$enableService enableService;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
|
|
|
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
|
|
|
|
int get hashCode {
|
|
|
|
final l$enableService = enableService;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
return Object.hashAll([
|
|
|
|
l$enableService,
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (!(other is Mutation$EnableService$services) ||
|
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$enableService = enableService;
|
|
|
|
final lOther$enableService = other.enableService;
|
|
|
|
if (l$enableService != lOther$enableService) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final lOther$$__typename = other.$__typename;
|
|
|
|
if (l$$__typename != lOther$$__typename) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Mutation$EnableService$services
|
|
|
|
on Mutation$EnableService$services {
|
|
|
|
CopyWith$Mutation$EnableService$services<Mutation$EnableService$services>
|
|
|
|
get copyWith => CopyWith$Mutation$EnableService$services(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Mutation$EnableService$services<TRes> {
|
|
|
|
factory CopyWith$Mutation$EnableService$services(
|
|
|
|
Mutation$EnableService$services instance,
|
|
|
|
TRes Function(Mutation$EnableService$services) then,
|
|
|
|
) = _CopyWithImpl$Mutation$EnableService$services;
|
|
|
|
|
|
|
|
factory CopyWith$Mutation$EnableService$services.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Mutation$EnableService$services;
|
|
|
|
|
|
|
|
TRes call({
|
|
|
|
Mutation$EnableService$services$enableService? enableService,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
|
|
|
CopyWith$Mutation$EnableService$services$enableService<TRes>
|
|
|
|
get enableService;
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Mutation$EnableService$services<TRes>
|
|
|
|
implements CopyWith$Mutation$EnableService$services<TRes> {
|
|
|
|
_CopyWithImpl$Mutation$EnableService$services(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
|
|
|
|
|
|
|
final Mutation$EnableService$services _instance;
|
|
|
|
|
|
|
|
final TRes Function(Mutation$EnableService$services) _then;
|
|
|
|
|
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
|
|
|
|
|
|
|
TRes call({
|
|
|
|
Object? enableService = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
|
|
|
_then(Mutation$EnableService$services(
|
|
|
|
enableService: enableService == _undefined || enableService == null
|
|
|
|
? _instance.enableService
|
|
|
|
: (enableService as Mutation$EnableService$services$enableService),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
|
|
|
|
|
|
|
CopyWith$Mutation$EnableService$services$enableService<TRes>
|
|
|
|
get enableService {
|
|
|
|
final local$enableService = _instance.enableService;
|
|
|
|
return CopyWith$Mutation$EnableService$services$enableService(
|
|
|
|
local$enableService, (e) => call(enableService: e));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Mutation$EnableService$services<TRes>
|
|
|
|
implements CopyWith$Mutation$EnableService$services<TRes> {
|
|
|
|
_CopyWithStubImpl$Mutation$EnableService$services(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
|
|
|
call({
|
|
|
|
Mutation$EnableService$services$enableService? enableService,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
|
|
|
_res;
|
|
|
|
|
|
|
|
CopyWith$Mutation$EnableService$services$enableService<TRes>
|
|
|
|
get enableService =>
|
|
|
|
CopyWith$Mutation$EnableService$services$enableService.stub(_res);
|
|
|
|
}
|
|
|
|
|
|
|
|
class Mutation$EnableService$services$enableService
|
2023-02-24 10:44:55 +00:00
|
|
|
implements Fragment$basicMutationReturnFields$$ServiceMutationReturn {
|
2024-01-15 09:11:09 +00:00
|
|
|
Mutation$EnableService$services$enableService({
|
2023-02-24 10:44:55 +00:00
|
|
|
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
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
factory Mutation$EnableService$services$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'];
|
2024-01-15 09:11:09 +00:00
|
|
|
return Mutation$EnableService$services$enableService(
|
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),
|
|
|
|
);
|
|
|
|
}
|
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;
|
|
|
|
}
|
2024-01-15 09:11:09 +00:00
|
|
|
if (!(other is Mutation$EnableService$services$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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
extension UtilityExtension$Mutation$EnableService$services$enableService
|
|
|
|
on Mutation$EnableService$services$enableService {
|
|
|
|
CopyWith$Mutation$EnableService$services$enableService<
|
|
|
|
Mutation$EnableService$services$enableService>
|
|
|
|
get copyWith => CopyWith$Mutation$EnableService$services$enableService(
|
2023-02-24 10:44:55 +00:00
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
abstract class CopyWith$Mutation$EnableService$services$enableService<TRes> {
|
|
|
|
factory CopyWith$Mutation$EnableService$services$enableService(
|
|
|
|
Mutation$EnableService$services$enableService instance,
|
|
|
|
TRes Function(Mutation$EnableService$services$enableService) then,
|
|
|
|
) = _CopyWithImpl$Mutation$EnableService$services$enableService;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
factory CopyWith$Mutation$EnableService$services$enableService.stub(
|
|
|
|
TRes res) =
|
|
|
|
_CopyWithStubImpl$Mutation$EnableService$services$enableService;
|
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
|
|
|
}
|
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
class _CopyWithImpl$Mutation$EnableService$services$enableService<TRes>
|
|
|
|
implements CopyWith$Mutation$EnableService$services$enableService<TRes> {
|
|
|
|
_CopyWithImpl$Mutation$EnableService$services$enableService(
|
2023-02-24 10:44:55 +00:00
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
final Mutation$EnableService$services$enableService _instance;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
final TRes Function(Mutation$EnableService$services$enableService) _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,
|
|
|
|
}) =>
|
2024-01-15 09:11:09 +00:00
|
|
|
_then(Mutation$EnableService$services$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
|
|
|
}
|
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
class _CopyWithStubImpl$Mutation$EnableService$services$enableService<TRes>
|
|
|
|
implements CopyWith$Mutation$EnableService$services$enableService<TRes> {
|
|
|
|
_CopyWithStubImpl$Mutation$EnableService$services$enableService(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 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);
|
2023-11-18 06:22:07 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
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,
|
|
|
|
);
|
2023-11-18 06:22:07 +00:00
|
|
|
|
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({
|
2024-01-15 09:11:09 +00:00
|
|
|
required this.services,
|
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) {
|
2024-01-15 09:11:09 +00:00
|
|
|
final l$services = json['services'];
|
2023-02-24 10:44:55 +00:00
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Mutation$DisableService(
|
2024-01-15 09:11:09 +00:00
|
|
|
services: Mutation$DisableService$services.fromJson(
|
|
|
|
(l$services as Map<String, dynamic>)),
|
2023-02-24 10:44:55 +00:00
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
final Mutation$DisableService$services services;
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
2024-01-15 09:11:09 +00:00
|
|
|
final l$services = services;
|
|
|
|
_resultData['services'] = l$services.toJson();
|
2023-02-24 10:44:55 +00:00
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
2022-08-24 05:35:49 +00:00
|
|
|
int get hashCode {
|
2024-01-15 09:11:09 +00:00
|
|
|
final l$services = services;
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$$__typename = $__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
2024-01-15 09:11:09 +00:00
|
|
|
l$services,
|
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;
|
|
|
|
}
|
|
|
|
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
|
|
|
}
|
2024-01-15 09:11:09 +00:00
|
|
|
final l$services = services;
|
|
|
|
final lOther$services = other.services;
|
|
|
|
if (l$services != lOther$services) {
|
2023-02-24 10:44:55 +00:00
|
|
|
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({
|
2024-01-15 09:11:09 +00:00
|
|
|
Mutation$DisableService$services? services,
|
2023-02-24 10:44:55 +00:00
|
|
|
String? $__typename,
|
|
|
|
});
|
2024-01-15 09:11:09 +00:00
|
|
|
CopyWith$Mutation$DisableService$services<TRes> get services;
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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({
|
2024-01-15 09:11:09 +00:00
|
|
|
Object? services = _undefined,
|
2023-02-24 10:44:55 +00:00
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Mutation$DisableService(
|
2024-01-15 09:11:09 +00:00
|
|
|
services: services == _undefined || services == null
|
|
|
|
? _instance.services
|
|
|
|
: (services as Mutation$DisableService$services),
|
2023-02-24 10:44:55 +00:00
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2023-11-18 06:22:07 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
CopyWith$Mutation$DisableService$services<TRes> get services {
|
|
|
|
final local$services = _instance.services;
|
|
|
|
return CopyWith$Mutation$DisableService$services(
|
|
|
|
local$services, (e) => call(services: e));
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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({
|
2024-01-15 09:11:09 +00:00
|
|
|
Mutation$DisableService$services? services,
|
2023-02-24 10:44:55 +00:00
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_res;
|
2023-11-18 06:22:07 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
CopyWith$Mutation$DisableService$services<TRes> get services =>
|
|
|
|
CopyWith$Mutation$DisableService$services.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(
|
2024-01-15 09:11:09 +00:00
|
|
|
name: NameNode(value: 'services'),
|
2023-02-24 10:44:55 +00:00
|
|
|
alias: null,
|
2024-01-15 09:11:09 +00:00
|
|
|
arguments: [],
|
2023-02-24 10:44:55 +00:00
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
2024-01-15 09:11:09 +00:00
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'disableService'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [
|
|
|
|
ArgumentNode(
|
|
|
|
name: NameNode(value: 'serviceId'),
|
|
|
|
value: VariableNode(name: NameNode(value: 'serviceId')),
|
|
|
|
)
|
|
|
|
],
|
2022-08-24 05:35:49 +00:00
|
|
|
directives: [],
|
2024-01-15 09:11:09 +00:00
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FragmentSpreadNode(
|
|
|
|
name: NameNode(value: 'basicMutationReturnFields'),
|
|
|
|
directives: [],
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: '__typename'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
]),
|
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);
|
|
|
|
}
|
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
class Mutation$DisableService$services {
|
|
|
|
Mutation$DisableService$services({
|
|
|
|
required this.disableService,
|
|
|
|
this.$__typename = 'ServicesMutations',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
2022-08-24 05:35:49 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
factory Mutation$DisableService$services.fromJson(Map<String, dynamic> json) {
|
|
|
|
final l$disableService = json['disableService'];
|
2023-02-24 10:44:55 +00:00
|
|
|
final l$$__typename = json['__typename'];
|
2024-01-15 09:11:09 +00:00
|
|
|
return Mutation$DisableService$services(
|
|
|
|
disableService: Mutation$DisableService$services$disableService.fromJson(
|
|
|
|
(l$disableService as Map<String, dynamic>)),
|
2023-02-24 10:44:55 +00:00
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
final Mutation$DisableService$services$disableService disableService;
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
2024-01-15 09:11:09 +00:00
|
|
|
final l$disableService = disableService;
|
|
|
|
_resultData['disableService'] = l$disableService.toJson();
|
2023-02-24 10:44:55 +00:00
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
2022-08-24 05:35:49 +00:00
|
|
|
int get hashCode {
|
2024-01-15 09:11:09 +00:00
|
|
|
final l$disableService = disableService;
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$$__typename = $__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
2024-01-15 09:11:09 +00:00
|
|
|
l$disableService,
|
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;
|
|
|
|
}
|
2024-01-15 09:11:09 +00:00
|
|
|
if (!(other is Mutation$DisableService$services) ||
|
2023-02-24 10:44:55 +00:00
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
2024-01-15 09:11:09 +00:00
|
|
|
final l$disableService = disableService;
|
|
|
|
final lOther$disableService = other.disableService;
|
|
|
|
if (l$disableService != lOther$disableService) {
|
2023-02-24 10:44:55 +00:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
extension UtilityExtension$Mutation$DisableService$services
|
|
|
|
on Mutation$DisableService$services {
|
|
|
|
CopyWith$Mutation$DisableService$services<Mutation$DisableService$services>
|
|
|
|
get copyWith => CopyWith$Mutation$DisableService$services(
|
2023-02-24 10:44:55 +00:00
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
abstract class CopyWith$Mutation$DisableService$services<TRes> {
|
|
|
|
factory CopyWith$Mutation$DisableService$services(
|
|
|
|
Mutation$DisableService$services instance,
|
|
|
|
TRes Function(Mutation$DisableService$services) then,
|
|
|
|
) = _CopyWithImpl$Mutation$DisableService$services;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
factory CopyWith$Mutation$DisableService$services.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Mutation$DisableService$services;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
2024-01-15 09:11:09 +00:00
|
|
|
Mutation$DisableService$services$disableService? disableService,
|
2023-02-24 10:44:55 +00:00
|
|
|
String? $__typename,
|
|
|
|
});
|
2024-01-15 09:11:09 +00:00
|
|
|
CopyWith$Mutation$DisableService$services$disableService<TRes>
|
|
|
|
get disableService;
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
class _CopyWithImpl$Mutation$DisableService$services<TRes>
|
|
|
|
implements CopyWith$Mutation$DisableService$services<TRes> {
|
|
|
|
_CopyWithImpl$Mutation$DisableService$services(
|
2023-02-24 10:44:55 +00:00
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
final Mutation$DisableService$services _instance;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
final TRes Function(Mutation$DisableService$services) _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({
|
2024-01-15 09:11:09 +00:00
|
|
|
Object? disableService = _undefined,
|
2023-02-24 10:44:55 +00:00
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2024-01-15 09:11:09 +00:00
|
|
|
_then(Mutation$DisableService$services(
|
|
|
|
disableService: disableService == _undefined || disableService == null
|
|
|
|
? _instance.disableService
|
|
|
|
: (disableService
|
|
|
|
as Mutation$DisableService$services$disableService),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
|
|
|
|
|
|
|
CopyWith$Mutation$DisableService$services$disableService<TRes>
|
|
|
|
get disableService {
|
|
|
|
final local$disableService = _instance.disableService;
|
|
|
|
return CopyWith$Mutation$DisableService$services$disableService(
|
|
|
|
local$disableService, (e) => call(disableService: e));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Mutation$DisableService$services<TRes>
|
|
|
|
implements CopyWith$Mutation$DisableService$services<TRes> {
|
|
|
|
_CopyWithStubImpl$Mutation$DisableService$services(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
|
|
|
call({
|
|
|
|
Mutation$DisableService$services$disableService? disableService,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
|
|
|
_res;
|
|
|
|
|
|
|
|
CopyWith$Mutation$DisableService$services$disableService<TRes>
|
|
|
|
get disableService =>
|
|
|
|
CopyWith$Mutation$DisableService$services$disableService.stub(_res);
|
|
|
|
}
|
|
|
|
|
|
|
|
class Mutation$DisableService$services$disableService
|
|
|
|
implements Fragment$basicMutationReturnFields$$ServiceMutationReturn {
|
|
|
|
Mutation$DisableService$services$disableService({
|
|
|
|
required this.code,
|
|
|
|
required this.message,
|
|
|
|
required this.success,
|
|
|
|
this.$__typename = 'ServiceMutationReturn',
|
|
|
|
});
|
|
|
|
|
|
|
|
factory Mutation$DisableService$services$disableService.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$DisableService$services$disableService(
|
|
|
|
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 Mutation$DisableService$services$disableService) ||
|
|
|
|
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$Mutation$DisableService$services$disableService
|
|
|
|
on Mutation$DisableService$services$disableService {
|
|
|
|
CopyWith$Mutation$DisableService$services$disableService<
|
|
|
|
Mutation$DisableService$services$disableService>
|
|
|
|
get copyWith => CopyWith$Mutation$DisableService$services$disableService(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Mutation$DisableService$services$disableService<TRes> {
|
|
|
|
factory CopyWith$Mutation$DisableService$services$disableService(
|
|
|
|
Mutation$DisableService$services$disableService instance,
|
|
|
|
TRes Function(Mutation$DisableService$services$disableService) then,
|
|
|
|
) = _CopyWithImpl$Mutation$DisableService$services$disableService;
|
|
|
|
|
|
|
|
factory CopyWith$Mutation$DisableService$services$disableService.stub(
|
|
|
|
TRes res) =
|
|
|
|
_CopyWithStubImpl$Mutation$DisableService$services$disableService;
|
|
|
|
|
|
|
|
TRes call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Mutation$DisableService$services$disableService<TRes>
|
|
|
|
implements CopyWith$Mutation$DisableService$services$disableService<TRes> {
|
|
|
|
_CopyWithImpl$Mutation$DisableService$services$disableService(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
|
|
|
|
|
|
|
final Mutation$DisableService$services$disableService _instance;
|
|
|
|
|
|
|
|
final TRes Function(Mutation$DisableService$services$disableService) _then;
|
|
|
|
|
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
|
|
|
|
|
|
|
TRes call({
|
|
|
|
Object? code = _undefined,
|
|
|
|
Object? message = _undefined,
|
|
|
|
Object? success = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
|
|
|
_then(Mutation$DisableService$services$disableService(
|
|
|
|
code:
|
|
|
|
code == _undefined || code == null ? _instance.code : (code as int),
|
|
|
|
message: message == _undefined || message == null
|
|
|
|
? _instance.message
|
2023-02-24 10:44:55 +00:00
|
|
|
: (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
|
|
|
}
|
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
class _CopyWithStubImpl$Mutation$DisableService$services$disableService<TRes>
|
|
|
|
implements CopyWith$Mutation$DisableService$services$disableService<TRes> {
|
|
|
|
_CopyWithStubImpl$Mutation$DisableService$services$disableService(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 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);
|
2023-11-18 06:22:07 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
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,
|
|
|
|
);
|
2023-11-18 06:22:07 +00:00
|
|
|
|
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({
|
2024-01-15 09:11:09 +00:00
|
|
|
required this.services,
|
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) {
|
2024-01-15 09:11:09 +00:00
|
|
|
final l$services = json['services'];
|
2023-02-24 10:44:55 +00:00
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Mutation$StopService(
|
2024-01-15 09:11:09 +00:00
|
|
|
services: Mutation$StopService$services.fromJson(
|
|
|
|
(l$services as Map<String, dynamic>)),
|
2023-02-24 10:44:55 +00:00
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
final Mutation$StopService$services services;
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
2024-01-15 09:11:09 +00:00
|
|
|
final l$services = services;
|
|
|
|
_resultData['services'] = l$services.toJson();
|
2023-02-24 10:44:55 +00:00
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
2022-08-24 05:35:49 +00:00
|
|
|
int get hashCode {
|
2024-01-15 09:11:09 +00:00
|
|
|
final l$services = services;
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$$__typename = $__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
2024-01-15 09:11:09 +00:00
|
|
|
l$services,
|
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;
|
|
|
|
}
|
|
|
|
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
|
|
|
}
|
2024-01-15 09:11:09 +00:00
|
|
|
final l$services = services;
|
|
|
|
final lOther$services = other.services;
|
|
|
|
if (l$services != lOther$services) {
|
2023-02-24 10:44:55 +00:00
|
|
|
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({
|
2024-01-15 09:11:09 +00:00
|
|
|
Mutation$StopService$services? services,
|
2023-02-24 10:44:55 +00:00
|
|
|
String? $__typename,
|
|
|
|
});
|
2024-01-15 09:11:09 +00:00
|
|
|
CopyWith$Mutation$StopService$services<TRes> get services;
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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({
|
2024-01-15 09:11:09 +00:00
|
|
|
Object? services = _undefined,
|
2023-02-24 10:44:55 +00:00
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Mutation$StopService(
|
2024-01-15 09:11:09 +00:00
|
|
|
services: services == _undefined || services == null
|
|
|
|
? _instance.services
|
|
|
|
: (services as Mutation$StopService$services),
|
2023-02-24 10:44:55 +00:00
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2023-11-18 06:22:07 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
CopyWith$Mutation$StopService$services<TRes> get services {
|
|
|
|
final local$services = _instance.services;
|
|
|
|
return CopyWith$Mutation$StopService$services(
|
|
|
|
local$services, (e) => call(services: e));
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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({
|
2024-01-15 09:11:09 +00:00
|
|
|
Mutation$StopService$services? services,
|
2023-02-24 10:44:55 +00:00
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_res;
|
2023-11-18 06:22:07 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
CopyWith$Mutation$StopService$services<TRes> get services =>
|
|
|
|
CopyWith$Mutation$StopService$services.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(
|
2024-01-15 09:11:09 +00:00
|
|
|
name: NameNode(value: 'services'),
|
2023-02-24 10:44:55 +00:00
|
|
|
alias: null,
|
2024-01-15 09:11:09 +00:00
|
|
|
arguments: [],
|
2023-02-24 10:44:55 +00:00
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
2024-01-15 09:11:09 +00:00
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'stopService'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [
|
|
|
|
ArgumentNode(
|
|
|
|
name: NameNode(value: 'serviceId'),
|
|
|
|
value: VariableNode(name: NameNode(value: 'serviceId')),
|
|
|
|
)
|
|
|
|
],
|
2022-08-24 05:35:49 +00:00
|
|
|
directives: [],
|
2024-01-15 09:11:09 +00:00
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FragmentSpreadNode(
|
|
|
|
name: NameNode(value: 'basicMutationReturnFields'),
|
|
|
|
directives: [],
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: '__typename'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
]),
|
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);
|
|
|
|
}
|
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
class Mutation$StopService$services {
|
|
|
|
Mutation$StopService$services({
|
|
|
|
required this.stopService,
|
|
|
|
this.$__typename = 'ServicesMutations',
|
|
|
|
});
|
|
|
|
|
|
|
|
factory Mutation$StopService$services.fromJson(Map<String, dynamic> json) {
|
|
|
|
final l$stopService = json['stopService'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Mutation$StopService$services(
|
|
|
|
stopService: Mutation$StopService$services$stopService.fromJson(
|
|
|
|
(l$stopService as Map<String, dynamic>)),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
final Mutation$StopService$services$stopService stopService;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
|
|
|
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
|
|
|
|
int get hashCode {
|
|
|
|
final l$stopService = stopService;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
return Object.hashAll([
|
|
|
|
l$stopService,
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (!(other is Mutation$StopService$services) ||
|
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$stopService = stopService;
|
|
|
|
final lOther$stopService = other.stopService;
|
|
|
|
if (l$stopService != lOther$stopService) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final lOther$$__typename = other.$__typename;
|
|
|
|
if (l$$__typename != lOther$$__typename) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Mutation$StopService$services
|
|
|
|
on Mutation$StopService$services {
|
|
|
|
CopyWith$Mutation$StopService$services<Mutation$StopService$services>
|
|
|
|
get copyWith => CopyWith$Mutation$StopService$services(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Mutation$StopService$services<TRes> {
|
|
|
|
factory CopyWith$Mutation$StopService$services(
|
|
|
|
Mutation$StopService$services instance,
|
|
|
|
TRes Function(Mutation$StopService$services) then,
|
|
|
|
) = _CopyWithImpl$Mutation$StopService$services;
|
|
|
|
|
|
|
|
factory CopyWith$Mutation$StopService$services.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Mutation$StopService$services;
|
|
|
|
|
|
|
|
TRes call({
|
|
|
|
Mutation$StopService$services$stopService? stopService,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
|
|
|
CopyWith$Mutation$StopService$services$stopService<TRes> get stopService;
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Mutation$StopService$services<TRes>
|
|
|
|
implements CopyWith$Mutation$StopService$services<TRes> {
|
|
|
|
_CopyWithImpl$Mutation$StopService$services(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
|
|
|
|
|
|
|
final Mutation$StopService$services _instance;
|
|
|
|
|
|
|
|
final TRes Function(Mutation$StopService$services) _then;
|
|
|
|
|
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
|
|
|
|
|
|
|
TRes call({
|
|
|
|
Object? stopService = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
|
|
|
_then(Mutation$StopService$services(
|
|
|
|
stopService: stopService == _undefined || stopService == null
|
|
|
|
? _instance.stopService
|
|
|
|
: (stopService as Mutation$StopService$services$stopService),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
|
|
|
|
|
|
|
CopyWith$Mutation$StopService$services$stopService<TRes> get stopService {
|
|
|
|
final local$stopService = _instance.stopService;
|
|
|
|
return CopyWith$Mutation$StopService$services$stopService(
|
|
|
|
local$stopService, (e) => call(stopService: e));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Mutation$StopService$services<TRes>
|
|
|
|
implements CopyWith$Mutation$StopService$services<TRes> {
|
|
|
|
_CopyWithStubImpl$Mutation$StopService$services(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
|
|
|
call({
|
|
|
|
Mutation$StopService$services$stopService? stopService,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
|
|
|
_res;
|
|
|
|
|
|
|
|
CopyWith$Mutation$StopService$services$stopService<TRes> get stopService =>
|
|
|
|
CopyWith$Mutation$StopService$services$stopService.stub(_res);
|
|
|
|
}
|
|
|
|
|
|
|
|
class Mutation$StopService$services$stopService
|
2023-02-24 10:44:55 +00:00
|
|
|
implements Fragment$basicMutationReturnFields$$ServiceMutationReturn {
|
2024-01-15 09:11:09 +00:00
|
|
|
Mutation$StopService$services$stopService({
|
2023-02-24 10:44:55 +00:00
|
|
|
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
|
|
|
});
|
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
factory Mutation$StopService$services$stopService.fromJson(
|
|
|
|
Map<String, dynamic> json) {
|
2023-02-24 10:44:55 +00:00
|
|
|
final l$code = json['code'];
|
|
|
|
final l$message = json['message'];
|
|
|
|
final l$success = json['success'];
|
|
|
|
final l$$__typename = json['__typename'];
|
2024-01-15 09:11:09 +00:00
|
|
|
return Mutation$StopService$services$stopService(
|
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),
|
|
|
|
);
|
|
|
|
}
|
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;
|
|
|
|
}
|
2024-01-15 09:11:09 +00:00
|
|
|
if (!(other is Mutation$StopService$services$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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
extension UtilityExtension$Mutation$StopService$services$stopService
|
|
|
|
on Mutation$StopService$services$stopService {
|
|
|
|
CopyWith$Mutation$StopService$services$stopService<
|
|
|
|
Mutation$StopService$services$stopService>
|
|
|
|
get copyWith => CopyWith$Mutation$StopService$services$stopService(
|
2023-02-24 10:44:55 +00:00
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
abstract class CopyWith$Mutation$StopService$services$stopService<TRes> {
|
|
|
|
factory CopyWith$Mutation$StopService$services$stopService(
|
|
|
|
Mutation$StopService$services$stopService instance,
|
|
|
|
TRes Function(Mutation$StopService$services$stopService) then,
|
|
|
|
) = _CopyWithImpl$Mutation$StopService$services$stopService;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
factory CopyWith$Mutation$StopService$services$stopService.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Mutation$StopService$services$stopService;
|
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
|
|
|
}
|
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
class _CopyWithImpl$Mutation$StopService$services$stopService<TRes>
|
|
|
|
implements CopyWith$Mutation$StopService$services$stopService<TRes> {
|
|
|
|
_CopyWithImpl$Mutation$StopService$services$stopService(
|
2023-02-24 10:44:55 +00:00
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
final Mutation$StopService$services$stopService _instance;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
final TRes Function(Mutation$StopService$services$stopService) _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,
|
|
|
|
}) =>
|
2024-01-15 09:11:09 +00:00
|
|
|
_then(Mutation$StopService$services$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
|
|
|
}
|
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
class _CopyWithStubImpl$Mutation$StopService$services$stopService<TRes>
|
|
|
|
implements CopyWith$Mutation$StopService$services$stopService<TRes> {
|
|
|
|
_CopyWithStubImpl$Mutation$StopService$services$stopService(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 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);
|
2023-11-18 06:22:07 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
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,
|
|
|
|
);
|
2023-11-18 06:22:07 +00:00
|
|
|
|
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({
|
2024-01-15 09:11:09 +00:00
|
|
|
required this.services,
|
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) {
|
2024-01-15 09:11:09 +00:00
|
|
|
final l$services = json['services'];
|
2023-02-24 10:44:55 +00:00
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Mutation$StartService(
|
2024-01-15 09:11:09 +00:00
|
|
|
services: Mutation$StartService$services.fromJson(
|
|
|
|
(l$services as Map<String, dynamic>)),
|
2023-02-24 10:44:55 +00:00
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
final Mutation$StartService$services services;
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
2024-01-15 09:11:09 +00:00
|
|
|
final l$services = services;
|
|
|
|
_resultData['services'] = l$services.toJson();
|
2023-02-24 10:44:55 +00:00
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
2022-08-24 05:35:49 +00:00
|
|
|
int get hashCode {
|
2024-01-15 09:11:09 +00:00
|
|
|
final l$services = services;
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$$__typename = $__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
2024-01-15 09:11:09 +00:00
|
|
|
l$services,
|
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;
|
|
|
|
}
|
|
|
|
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
|
|
|
}
|
2024-01-15 09:11:09 +00:00
|
|
|
final l$services = services;
|
|
|
|
final lOther$services = other.services;
|
|
|
|
if (l$services != lOther$services) {
|
2023-02-24 10:44:55 +00:00
|
|
|
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({
|
2024-01-15 09:11:09 +00:00
|
|
|
Mutation$StartService$services? services,
|
2023-02-24 10:44:55 +00:00
|
|
|
String? $__typename,
|
|
|
|
});
|
2024-01-15 09:11:09 +00:00
|
|
|
CopyWith$Mutation$StartService$services<TRes> get services;
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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({
|
2024-01-15 09:11:09 +00:00
|
|
|
Object? services = _undefined,
|
2023-02-24 10:44:55 +00:00
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Mutation$StartService(
|
2024-01-15 09:11:09 +00:00
|
|
|
services: services == _undefined || services == null
|
|
|
|
? _instance.services
|
|
|
|
: (services as Mutation$StartService$services),
|
2023-02-24 10:44:55 +00:00
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2023-11-18 06:22:07 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
CopyWith$Mutation$StartService$services<TRes> get services {
|
|
|
|
final local$services = _instance.services;
|
|
|
|
return CopyWith$Mutation$StartService$services(
|
|
|
|
local$services, (e) => call(services: e));
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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({
|
2024-01-15 09:11:09 +00:00
|
|
|
Mutation$StartService$services? services,
|
2023-02-24 10:44:55 +00:00
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_res;
|
2023-11-18 06:22:07 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
CopyWith$Mutation$StartService$services<TRes> get services =>
|
|
|
|
CopyWith$Mutation$StartService$services.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(
|
2024-01-15 09:11:09 +00:00
|
|
|
name: NameNode(value: 'services'),
|
2023-02-24 10:44:55 +00:00
|
|
|
alias: null,
|
2024-01-15 09:11:09 +00:00
|
|
|
arguments: [],
|
2023-02-24 10:44:55 +00:00
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
2024-01-15 09:11:09 +00:00
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'startService'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [
|
|
|
|
ArgumentNode(
|
|
|
|
name: NameNode(value: 'serviceId'),
|
|
|
|
value: VariableNode(name: NameNode(value: 'serviceId')),
|
|
|
|
)
|
|
|
|
],
|
2022-08-24 05:35:49 +00:00
|
|
|
directives: [],
|
2024-01-15 09:11:09 +00:00
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FragmentSpreadNode(
|
|
|
|
name: NameNode(value: 'basicMutationReturnFields'),
|
|
|
|
directives: [],
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: '__typename'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
]),
|
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);
|
|
|
|
}
|
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
class Mutation$StartService$services {
|
|
|
|
Mutation$StartService$services({
|
|
|
|
required this.startService,
|
|
|
|
this.$__typename = 'ServicesMutations',
|
|
|
|
});
|
|
|
|
|
|
|
|
factory Mutation$StartService$services.fromJson(Map<String, dynamic> json) {
|
|
|
|
final l$startService = json['startService'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Mutation$StartService$services(
|
|
|
|
startService: Mutation$StartService$services$startService.fromJson(
|
|
|
|
(l$startService as Map<String, dynamic>)),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
final Mutation$StartService$services$startService startService;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
|
|
|
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
|
|
|
|
int get hashCode {
|
|
|
|
final l$startService = startService;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
return Object.hashAll([
|
|
|
|
l$startService,
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (!(other is Mutation$StartService$services) ||
|
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$startService = startService;
|
|
|
|
final lOther$startService = other.startService;
|
|
|
|
if (l$startService != lOther$startService) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final lOther$$__typename = other.$__typename;
|
|
|
|
if (l$$__typename != lOther$$__typename) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Mutation$StartService$services
|
|
|
|
on Mutation$StartService$services {
|
|
|
|
CopyWith$Mutation$StartService$services<Mutation$StartService$services>
|
|
|
|
get copyWith => CopyWith$Mutation$StartService$services(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Mutation$StartService$services<TRes> {
|
|
|
|
factory CopyWith$Mutation$StartService$services(
|
|
|
|
Mutation$StartService$services instance,
|
|
|
|
TRes Function(Mutation$StartService$services) then,
|
|
|
|
) = _CopyWithImpl$Mutation$StartService$services;
|
|
|
|
|
|
|
|
factory CopyWith$Mutation$StartService$services.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Mutation$StartService$services;
|
|
|
|
|
|
|
|
TRes call({
|
|
|
|
Mutation$StartService$services$startService? startService,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
|
|
|
CopyWith$Mutation$StartService$services$startService<TRes> get startService;
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Mutation$StartService$services<TRes>
|
|
|
|
implements CopyWith$Mutation$StartService$services<TRes> {
|
|
|
|
_CopyWithImpl$Mutation$StartService$services(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
|
|
|
|
|
|
|
final Mutation$StartService$services _instance;
|
|
|
|
|
|
|
|
final TRes Function(Mutation$StartService$services) _then;
|
|
|
|
|
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
|
|
|
|
|
|
|
TRes call({
|
|
|
|
Object? startService = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
|
|
|
_then(Mutation$StartService$services(
|
|
|
|
startService: startService == _undefined || startService == null
|
|
|
|
? _instance.startService
|
|
|
|
: (startService as Mutation$StartService$services$startService),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
|
|
|
|
|
|
|
CopyWith$Mutation$StartService$services$startService<TRes> get startService {
|
|
|
|
final local$startService = _instance.startService;
|
|
|
|
return CopyWith$Mutation$StartService$services$startService(
|
|
|
|
local$startService, (e) => call(startService: e));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Mutation$StartService$services<TRes>
|
|
|
|
implements CopyWith$Mutation$StartService$services<TRes> {
|
|
|
|
_CopyWithStubImpl$Mutation$StartService$services(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
|
|
|
call({
|
|
|
|
Mutation$StartService$services$startService? startService,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
|
|
|
_res;
|
|
|
|
|
|
|
|
CopyWith$Mutation$StartService$services$startService<TRes> get startService =>
|
|
|
|
CopyWith$Mutation$StartService$services$startService.stub(_res);
|
|
|
|
}
|
|
|
|
|
|
|
|
class Mutation$StartService$services$startService
|
2023-02-24 10:44:55 +00:00
|
|
|
implements Fragment$basicMutationReturnFields$$ServiceMutationReturn {
|
2024-01-15 09:11:09 +00:00
|
|
|
Mutation$StartService$services$startService({
|
2023-02-24 10:44:55 +00:00
|
|
|
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
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
factory Mutation$StartService$services$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'];
|
2024-01-15 09:11:09 +00:00
|
|
|
return Mutation$StartService$services$startService(
|
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),
|
|
|
|
);
|
|
|
|
}
|
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;
|
|
|
|
}
|
2024-01-15 09:11:09 +00:00
|
|
|
if (!(other is Mutation$StartService$services$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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
extension UtilityExtension$Mutation$StartService$services$startService
|
|
|
|
on Mutation$StartService$services$startService {
|
|
|
|
CopyWith$Mutation$StartService$services$startService<
|
|
|
|
Mutation$StartService$services$startService>
|
|
|
|
get copyWith => CopyWith$Mutation$StartService$services$startService(
|
2023-02-24 10:44:55 +00:00
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
abstract class CopyWith$Mutation$StartService$services$startService<TRes> {
|
|
|
|
factory CopyWith$Mutation$StartService$services$startService(
|
|
|
|
Mutation$StartService$services$startService instance,
|
|
|
|
TRes Function(Mutation$StartService$services$startService) then,
|
|
|
|
) = _CopyWithImpl$Mutation$StartService$services$startService;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
factory CopyWith$Mutation$StartService$services$startService.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Mutation$StartService$services$startService;
|
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
|
|
|
}
|
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
class _CopyWithImpl$Mutation$StartService$services$startService<TRes>
|
|
|
|
implements CopyWith$Mutation$StartService$services$startService<TRes> {
|
|
|
|
_CopyWithImpl$Mutation$StartService$services$startService(
|
2023-02-24 10:44:55 +00:00
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
final Mutation$StartService$services$startService _instance;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
final TRes Function(Mutation$StartService$services$startService) _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,
|
|
|
|
}) =>
|
2024-01-15 09:11:09 +00:00
|
|
|
_then(Mutation$StartService$services$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
|
|
|
}
|
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
class _CopyWithStubImpl$Mutation$StartService$services$startService<TRes>
|
|
|
|
implements CopyWith$Mutation$StartService$services$startService<TRes> {
|
|
|
|
_CopyWithStubImpl$Mutation$StartService$services$startService(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 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);
|
2023-11-18 06:22:07 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
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,
|
|
|
|
);
|
2023-11-18 06:22:07 +00:00
|
|
|
|
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({
|
2024-01-15 09:11:09 +00:00
|
|
|
required this.services,
|
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) {
|
2024-01-15 09:11:09 +00:00
|
|
|
final l$services = json['services'];
|
2023-02-24 10:44:55 +00:00
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Mutation$RestartService(
|
2024-01-15 09:11:09 +00:00
|
|
|
services: Mutation$RestartService$services.fromJson(
|
|
|
|
(l$services as Map<String, dynamic>)),
|
2023-02-24 10:44:55 +00:00
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
final Mutation$RestartService$services services;
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
2024-01-15 09:11:09 +00:00
|
|
|
final l$services = services;
|
|
|
|
_resultData['services'] = l$services.toJson();
|
2023-02-24 10:44:55 +00:00
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
2022-08-24 05:35:49 +00:00
|
|
|
int get hashCode {
|
2024-01-15 09:11:09 +00:00
|
|
|
final l$services = services;
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$$__typename = $__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
2024-01-15 09:11:09 +00:00
|
|
|
l$services,
|
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;
|
|
|
|
}
|
|
|
|
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
|
|
|
}
|
2024-01-15 09:11:09 +00:00
|
|
|
final l$services = services;
|
|
|
|
final lOther$services = other.services;
|
|
|
|
if (l$services != lOther$services) {
|
2023-02-24 10:44:55 +00:00
|
|
|
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({
|
2024-01-15 09:11:09 +00:00
|
|
|
Mutation$RestartService$services? services,
|
2023-02-24 10:44:55 +00:00
|
|
|
String? $__typename,
|
|
|
|
});
|
2024-01-15 09:11:09 +00:00
|
|
|
CopyWith$Mutation$RestartService$services<TRes> get services;
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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({
|
2024-01-15 09:11:09 +00:00
|
|
|
Object? services = _undefined,
|
2023-02-24 10:44:55 +00:00
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Mutation$RestartService(
|
2024-01-15 09:11:09 +00:00
|
|
|
services: services == _undefined || services == null
|
|
|
|
? _instance.services
|
|
|
|
: (services as Mutation$RestartService$services),
|
2023-02-24 10:44:55 +00:00
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2023-11-18 06:22:07 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
CopyWith$Mutation$RestartService$services<TRes> get services {
|
|
|
|
final local$services = _instance.services;
|
|
|
|
return CopyWith$Mutation$RestartService$services(
|
|
|
|
local$services, (e) => call(services: e));
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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({
|
2024-01-15 09:11:09 +00:00
|
|
|
Mutation$RestartService$services? services,
|
2023-02-24 10:44:55 +00:00
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_res;
|
2023-11-18 06:22:07 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
CopyWith$Mutation$RestartService$services<TRes> get services =>
|
|
|
|
CopyWith$Mutation$RestartService$services.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(
|
2024-01-15 09:11:09 +00:00
|
|
|
name: NameNode(value: 'services'),
|
2023-02-24 10:44:55 +00:00
|
|
|
alias: null,
|
2024-01-15 09:11:09 +00:00
|
|
|
arguments: [],
|
2023-02-24 10:44:55 +00:00
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
2024-01-15 09:11:09 +00:00
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'restartService'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [
|
|
|
|
ArgumentNode(
|
|
|
|
name: NameNode(value: 'serviceId'),
|
|
|
|
value: VariableNode(name: NameNode(value: 'serviceId')),
|
|
|
|
)
|
|
|
|
],
|
2022-08-24 05:35:49 +00:00
|
|
|
directives: [],
|
2024-01-15 09:11:09 +00:00
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FragmentSpreadNode(
|
|
|
|
name: NameNode(value: 'basicMutationReturnFields'),
|
|
|
|
directives: [],
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: '__typename'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
]),
|
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);
|
|
|
|
}
|
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
class Mutation$RestartService$services {
|
|
|
|
Mutation$RestartService$services({
|
|
|
|
required this.restartService,
|
|
|
|
this.$__typename = 'ServicesMutations',
|
|
|
|
});
|
|
|
|
|
|
|
|
factory Mutation$RestartService$services.fromJson(Map<String, dynamic> json) {
|
|
|
|
final l$restartService = json['restartService'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Mutation$RestartService$services(
|
|
|
|
restartService: Mutation$RestartService$services$restartService.fromJson(
|
|
|
|
(l$restartService as Map<String, dynamic>)),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
final Mutation$RestartService$services$restartService restartService;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
|
|
|
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
|
|
|
|
int get hashCode {
|
|
|
|
final l$restartService = restartService;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
return Object.hashAll([
|
|
|
|
l$restartService,
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (!(other is Mutation$RestartService$services) ||
|
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$restartService = restartService;
|
|
|
|
final lOther$restartService = other.restartService;
|
|
|
|
if (l$restartService != lOther$restartService) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final lOther$$__typename = other.$__typename;
|
|
|
|
if (l$$__typename != lOther$$__typename) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Mutation$RestartService$services
|
|
|
|
on Mutation$RestartService$services {
|
|
|
|
CopyWith$Mutation$RestartService$services<Mutation$RestartService$services>
|
|
|
|
get copyWith => CopyWith$Mutation$RestartService$services(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Mutation$RestartService$services<TRes> {
|
|
|
|
factory CopyWith$Mutation$RestartService$services(
|
|
|
|
Mutation$RestartService$services instance,
|
|
|
|
TRes Function(Mutation$RestartService$services) then,
|
|
|
|
) = _CopyWithImpl$Mutation$RestartService$services;
|
|
|
|
|
|
|
|
factory CopyWith$Mutation$RestartService$services.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Mutation$RestartService$services;
|
|
|
|
|
|
|
|
TRes call({
|
|
|
|
Mutation$RestartService$services$restartService? restartService,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
|
|
|
CopyWith$Mutation$RestartService$services$restartService<TRes>
|
|
|
|
get restartService;
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Mutation$RestartService$services<TRes>
|
|
|
|
implements CopyWith$Mutation$RestartService$services<TRes> {
|
|
|
|
_CopyWithImpl$Mutation$RestartService$services(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
|
|
|
|
|
|
|
final Mutation$RestartService$services _instance;
|
|
|
|
|
|
|
|
final TRes Function(Mutation$RestartService$services) _then;
|
|
|
|
|
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
|
|
|
|
|
|
|
TRes call({
|
|
|
|
Object? restartService = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
|
|
|
_then(Mutation$RestartService$services(
|
|
|
|
restartService: restartService == _undefined || restartService == null
|
|
|
|
? _instance.restartService
|
|
|
|
: (restartService
|
|
|
|
as Mutation$RestartService$services$restartService),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
|
|
|
|
|
|
|
CopyWith$Mutation$RestartService$services$restartService<TRes>
|
|
|
|
get restartService {
|
|
|
|
final local$restartService = _instance.restartService;
|
|
|
|
return CopyWith$Mutation$RestartService$services$restartService(
|
|
|
|
local$restartService, (e) => call(restartService: e));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Mutation$RestartService$services<TRes>
|
|
|
|
implements CopyWith$Mutation$RestartService$services<TRes> {
|
|
|
|
_CopyWithStubImpl$Mutation$RestartService$services(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
|
|
|
call({
|
|
|
|
Mutation$RestartService$services$restartService? restartService,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
|
|
|
_res;
|
|
|
|
|
|
|
|
CopyWith$Mutation$RestartService$services$restartService<TRes>
|
|
|
|
get restartService =>
|
|
|
|
CopyWith$Mutation$RestartService$services$restartService.stub(_res);
|
|
|
|
}
|
|
|
|
|
|
|
|
class Mutation$RestartService$services$restartService
|
2023-02-24 10:44:55 +00:00
|
|
|
implements Fragment$basicMutationReturnFields$$ServiceMutationReturn {
|
2024-01-15 09:11:09 +00:00
|
|
|
Mutation$RestartService$services$restartService({
|
2023-02-24 10:44:55 +00:00
|
|
|
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
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
factory Mutation$RestartService$services$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'];
|
2024-01-15 09:11:09 +00:00
|
|
|
return Mutation$RestartService$services$restartService(
|
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),
|
|
|
|
);
|
|
|
|
}
|
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;
|
|
|
|
}
|
2024-01-15 09:11:09 +00:00
|
|
|
if (!(other is Mutation$RestartService$services$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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
extension UtilityExtension$Mutation$RestartService$services$restartService
|
|
|
|
on Mutation$RestartService$services$restartService {
|
|
|
|
CopyWith$Mutation$RestartService$services$restartService<
|
|
|
|
Mutation$RestartService$services$restartService>
|
|
|
|
get copyWith => CopyWith$Mutation$RestartService$services$restartService(
|
2023-02-24 10:44:55 +00:00
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
abstract class CopyWith$Mutation$RestartService$services$restartService<TRes> {
|
|
|
|
factory CopyWith$Mutation$RestartService$services$restartService(
|
|
|
|
Mutation$RestartService$services$restartService instance,
|
|
|
|
TRes Function(Mutation$RestartService$services$restartService) then,
|
|
|
|
) = _CopyWithImpl$Mutation$RestartService$services$restartService;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
factory CopyWith$Mutation$RestartService$services$restartService.stub(
|
|
|
|
TRes res) =
|
|
|
|
_CopyWithStubImpl$Mutation$RestartService$services$restartService;
|
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
|
|
|
}
|
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
class _CopyWithImpl$Mutation$RestartService$services$restartService<TRes>
|
|
|
|
implements CopyWith$Mutation$RestartService$services$restartService<TRes> {
|
|
|
|
_CopyWithImpl$Mutation$RestartService$services$restartService(
|
2023-02-24 10:44:55 +00:00
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
final Mutation$RestartService$services$restartService _instance;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
final TRes Function(Mutation$RestartService$services$restartService) _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,
|
|
|
|
}) =>
|
2024-01-15 09:11:09 +00:00
|
|
|
_then(Mutation$RestartService$services$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
|
|
|
}
|
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
class _CopyWithStubImpl$Mutation$RestartService$services$restartService<TRes>
|
|
|
|
implements CopyWith$Mutation$RestartService$services$restartService<TRes> {
|
|
|
|
_CopyWithStubImpl$Mutation$RestartService$services$restartService(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 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);
|
2023-11-18 06:22:07 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
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,
|
|
|
|
);
|
2023-11-18 06:22:07 +00:00
|
|
|
|
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({
|
2024-01-15 09:11:09 +00:00
|
|
|
required this.services,
|
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) {
|
2024-01-15 09:11:09 +00:00
|
|
|
final l$services = json['services'];
|
2023-02-24 10:44:55 +00:00
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Mutation$MoveService(
|
2024-01-15 09:11:09 +00:00
|
|
|
services: Mutation$MoveService$services.fromJson(
|
|
|
|
(l$services as Map<String, dynamic>)),
|
2023-02-24 10:44:55 +00:00
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
final Mutation$MoveService$services services;
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
2024-01-15 09:11:09 +00:00
|
|
|
final l$services = services;
|
|
|
|
_resultData['services'] = l$services.toJson();
|
2023-02-24 10:44:55 +00:00
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
2022-08-24 05:35:49 +00:00
|
|
|
int get hashCode {
|
2024-01-15 09:11:09 +00:00
|
|
|
final l$services = services;
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$$__typename = $__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
2024-01-15 09:11:09 +00:00
|
|
|
l$services,
|
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;
|
|
|
|
}
|
|
|
|
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
|
|
|
}
|
2024-01-15 09:11:09 +00:00
|
|
|
final l$services = services;
|
|
|
|
final lOther$services = other.services;
|
|
|
|
if (l$services != lOther$services) {
|
2023-02-24 10:44:55 +00:00
|
|
|
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({
|
2024-01-15 09:11:09 +00:00
|
|
|
Mutation$MoveService$services? services,
|
2023-02-24 10:44:55 +00:00
|
|
|
String? $__typename,
|
|
|
|
});
|
2024-01-15 09:11:09 +00:00
|
|
|
CopyWith$Mutation$MoveService$services<TRes> get services;
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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({
|
2024-01-15 09:11:09 +00:00
|
|
|
Object? services = _undefined,
|
2023-02-24 10:44:55 +00:00
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Mutation$MoveService(
|
2024-01-15 09:11:09 +00:00
|
|
|
services: services == _undefined || services == null
|
|
|
|
? _instance.services
|
|
|
|
: (services as Mutation$MoveService$services),
|
2023-02-24 10:44:55 +00:00
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2023-11-18 06:22:07 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
CopyWith$Mutation$MoveService$services<TRes> get services {
|
|
|
|
final local$services = _instance.services;
|
|
|
|
return CopyWith$Mutation$MoveService$services(
|
|
|
|
local$services, (e) => call(services: e));
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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({
|
2024-01-15 09:11:09 +00:00
|
|
|
Mutation$MoveService$services? services,
|
2023-02-24 10:44:55 +00:00
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_res;
|
2023-11-18 06:22:07 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
CopyWith$Mutation$MoveService$services<TRes> get services =>
|
|
|
|
CopyWith$Mutation$MoveService$services.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(
|
2024-01-15 09:11:09 +00:00
|
|
|
name: NameNode(value: 'services'),
|
2023-02-24 10:44:55 +00:00
|
|
|
alias: null,
|
2024-01-15 09:11:09 +00:00
|
|
|
arguments: [],
|
2023-02-24 10:44:55 +00:00
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FieldNode(
|
2024-01-15 09:11:09 +00:00
|
|
|
name: NameNode(value: 'moveService'),
|
2022-08-24 05:35:49 +00:00
|
|
|
alias: null,
|
2024-01-15 09:11:09 +00:00
|
|
|
arguments: [
|
|
|
|
ArgumentNode(
|
|
|
|
name: NameNode(value: 'input'),
|
|
|
|
value: VariableNode(name: NameNode(value: 'input')),
|
|
|
|
)
|
|
|
|
],
|
2022-08-24 05:35:49 +00:00
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
2023-06-29 18:38:46 +00:00
|
|
|
FragmentSpreadNode(
|
2024-01-15 09:11:09 +00:00
|
|
|
name: NameNode(value: 'basicMutationReturnFields'),
|
|
|
|
directives: [],
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'job'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
2023-02-24 10:44:55 +00:00
|
|
|
directives: [],
|
2024-01-15 09:11:09 +00:00
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FragmentSpreadNode(
|
|
|
|
name: NameNode(value: 'basicApiJobsFields'),
|
|
|
|
directives: [],
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: '__typename'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
]),
|
2023-02-24 10:44:55 +00:00
|
|
|
),
|
|
|
|
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,
|
2023-06-29 18:38:46 +00:00
|
|
|
fragmentDefinitionbasicApiJobsFields,
|
2022-08-24 05:35:49 +00:00
|
|
|
]);
|
|
|
|
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);
|
|
|
|
}
|
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
class Mutation$MoveService$services {
|
|
|
|
Mutation$MoveService$services({
|
|
|
|
required this.moveService,
|
|
|
|
this.$__typename = 'ServicesMutations',
|
|
|
|
});
|
|
|
|
|
|
|
|
factory Mutation$MoveService$services.fromJson(Map<String, dynamic> json) {
|
|
|
|
final l$moveService = json['moveService'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Mutation$MoveService$services(
|
|
|
|
moveService: Mutation$MoveService$services$moveService.fromJson(
|
|
|
|
(l$moveService as Map<String, dynamic>)),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
final Mutation$MoveService$services$moveService moveService;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
|
|
|
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
|
|
|
|
int get hashCode {
|
|
|
|
final l$moveService = moveService;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
return Object.hashAll([
|
|
|
|
l$moveService,
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (!(other is Mutation$MoveService$services) ||
|
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$moveService = moveService;
|
|
|
|
final lOther$moveService = other.moveService;
|
|
|
|
if (l$moveService != lOther$moveService) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final lOther$$__typename = other.$__typename;
|
|
|
|
if (l$$__typename != lOther$$__typename) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Mutation$MoveService$services
|
|
|
|
on Mutation$MoveService$services {
|
|
|
|
CopyWith$Mutation$MoveService$services<Mutation$MoveService$services>
|
|
|
|
get copyWith => CopyWith$Mutation$MoveService$services(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Mutation$MoveService$services<TRes> {
|
|
|
|
factory CopyWith$Mutation$MoveService$services(
|
|
|
|
Mutation$MoveService$services instance,
|
|
|
|
TRes Function(Mutation$MoveService$services) then,
|
|
|
|
) = _CopyWithImpl$Mutation$MoveService$services;
|
|
|
|
|
|
|
|
factory CopyWith$Mutation$MoveService$services.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Mutation$MoveService$services;
|
|
|
|
|
|
|
|
TRes call({
|
|
|
|
Mutation$MoveService$services$moveService? moveService,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
|
|
|
CopyWith$Mutation$MoveService$services$moveService<TRes> get moveService;
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Mutation$MoveService$services<TRes>
|
|
|
|
implements CopyWith$Mutation$MoveService$services<TRes> {
|
|
|
|
_CopyWithImpl$Mutation$MoveService$services(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
|
|
|
|
|
|
|
final Mutation$MoveService$services _instance;
|
|
|
|
|
|
|
|
final TRes Function(Mutation$MoveService$services) _then;
|
|
|
|
|
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
|
|
|
|
|
|
|
TRes call({
|
|
|
|
Object? moveService = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
|
|
|
_then(Mutation$MoveService$services(
|
|
|
|
moveService: moveService == _undefined || moveService == null
|
|
|
|
? _instance.moveService
|
|
|
|
: (moveService as Mutation$MoveService$services$moveService),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
|
|
|
|
|
|
|
CopyWith$Mutation$MoveService$services$moveService<TRes> get moveService {
|
|
|
|
final local$moveService = _instance.moveService;
|
|
|
|
return CopyWith$Mutation$MoveService$services$moveService(
|
|
|
|
local$moveService, (e) => call(moveService: e));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Mutation$MoveService$services<TRes>
|
|
|
|
implements CopyWith$Mutation$MoveService$services<TRes> {
|
|
|
|
_CopyWithStubImpl$Mutation$MoveService$services(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
|
|
|
call({
|
|
|
|
Mutation$MoveService$services$moveService? moveService,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
|
|
|
_res;
|
|
|
|
|
|
|
|
CopyWith$Mutation$MoveService$services$moveService<TRes> get moveService =>
|
|
|
|
CopyWith$Mutation$MoveService$services$moveService.stub(_res);
|
|
|
|
}
|
|
|
|
|
|
|
|
class Mutation$MoveService$services$moveService
|
2023-02-24 10:44:55 +00:00
|
|
|
implements Fragment$basicMutationReturnFields$$ServiceJobMutationReturn {
|
2024-01-15 09:11:09 +00:00
|
|
|
Mutation$MoveService$services$moveService({
|
2023-02-24 10:44:55 +00:00
|
|
|
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,
|
|
|
|
});
|
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
factory Mutation$MoveService$services$moveService.fromJson(
|
|
|
|
Map<String, dynamic> json) {
|
2023-02-24 10:44:55 +00:00
|
|
|
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'];
|
2024-01-15 09:11:09 +00:00
|
|
|
return Mutation$MoveService$services$moveService(
|
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),
|
|
|
|
job: l$job == null
|
|
|
|
? null
|
2023-06-29 18:38:46 +00:00
|
|
|
: Fragment$basicApiJobsFields.fromJson(
|
2023-02-24 10:44:55 +00:00
|
|
|
(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;
|
|
|
|
|
2023-06-29 18:38:46 +00:00
|
|
|
final Fragment$basicApiJobsFields? job;
|
2022-08-24 05:35:49 +00:00
|
|
|
|
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;
|
|
|
|
}
|
2024-01-15 09:11:09 +00:00
|
|
|
if (!(other is Mutation$MoveService$services$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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
extension UtilityExtension$Mutation$MoveService$services$moveService
|
|
|
|
on Mutation$MoveService$services$moveService {
|
|
|
|
CopyWith$Mutation$MoveService$services$moveService<
|
|
|
|
Mutation$MoveService$services$moveService>
|
|
|
|
get copyWith => CopyWith$Mutation$MoveService$services$moveService(
|
2023-02-24 10:44:55 +00:00
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
abstract class CopyWith$Mutation$MoveService$services$moveService<TRes> {
|
|
|
|
factory CopyWith$Mutation$MoveService$services$moveService(
|
|
|
|
Mutation$MoveService$services$moveService instance,
|
|
|
|
TRes Function(Mutation$MoveService$services$moveService) then,
|
|
|
|
) = _CopyWithImpl$Mutation$MoveService$services$moveService;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
factory CopyWith$Mutation$MoveService$services$moveService.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Mutation$MoveService$services$moveService;
|
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,
|
2023-06-29 18:38:46 +00:00
|
|
|
Fragment$basicApiJobsFields? job,
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
2023-06-29 18:38:46 +00:00
|
|
|
CopyWith$Fragment$basicApiJobsFields<TRes> get job;
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
class _CopyWithImpl$Mutation$MoveService$services$moveService<TRes>
|
|
|
|
implements CopyWith$Mutation$MoveService$services$moveService<TRes> {
|
|
|
|
_CopyWithImpl$Mutation$MoveService$services$moveService(
|
2023-02-24 10:44:55 +00:00
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
final Mutation$MoveService$services$moveService _instance;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
final TRes Function(Mutation$MoveService$services$moveService) _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,
|
|
|
|
Object? job = _undefined,
|
|
|
|
}) =>
|
2024-01-15 09:11:09 +00:00
|
|
|
_then(Mutation$MoveService$services$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
|
2023-06-29 18:38:46 +00:00
|
|
|
: (job as Fragment$basicApiJobsFields?),
|
2023-02-24 10:44:55 +00:00
|
|
|
));
|
2023-11-18 06:22:07 +00:00
|
|
|
|
2023-06-29 18:38:46 +00:00
|
|
|
CopyWith$Fragment$basicApiJobsFields<TRes> get job {
|
2022-08-29 18:18:07 +00:00
|
|
|
final local$job = _instance.job;
|
|
|
|
return local$job == null
|
2023-06-29 18:38:46 +00:00
|
|
|
? CopyWith$Fragment$basicApiJobsFields.stub(_then(_instance))
|
|
|
|
: CopyWith$Fragment$basicApiJobsFields(local$job, (e) => call(job: e));
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-01-15 09:11:09 +00:00
|
|
|
class _CopyWithStubImpl$Mutation$MoveService$services$moveService<TRes>
|
|
|
|
implements CopyWith$Mutation$MoveService$services$moveService<TRes> {
|
|
|
|
_CopyWithStubImpl$Mutation$MoveService$services$moveService(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,
|
2023-06-29 18:38:46 +00:00
|
|
|
Fragment$basicApiJobsFields? job,
|
2023-02-24 10:44:55 +00:00
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_res;
|
2023-11-18 06:22:07 +00:00
|
|
|
|
2023-06-29 18:38:46 +00:00
|
|
|
CopyWith$Fragment$basicApiJobsFields<TRes> get job =>
|
|
|
|
CopyWith$Fragment$basicApiJobsFields.stub(_res);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|