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-07-02 15:22:07 +00:00
|
|
|
import 'server_api.graphql.dart';
|
2022-08-24 05:35:49 +00:00
|
|
|
|
2023-06-23 02:22:48 +00:00
|
|
|
class Fragment$fragmentDnsRecords {
|
|
|
|
Fragment$fragmentDnsRecords({
|
|
|
|
required this.recordType,
|
|
|
|
required this.name,
|
|
|
|
required this.content,
|
|
|
|
required this.ttl,
|
|
|
|
this.priority,
|
|
|
|
this.$__typename = 'DnsRecord',
|
|
|
|
});
|
|
|
|
|
|
|
|
factory Fragment$fragmentDnsRecords.fromJson(Map<String, dynamic> json) {
|
|
|
|
final l$recordType = json['recordType'];
|
|
|
|
final l$name = json['name'];
|
|
|
|
final l$content = json['content'];
|
|
|
|
final l$ttl = json['ttl'];
|
|
|
|
final l$priority = json['priority'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Fragment$fragmentDnsRecords(
|
|
|
|
recordType: (l$recordType as String),
|
|
|
|
name: (l$name as String),
|
|
|
|
content: (l$content as String),
|
|
|
|
ttl: (l$ttl as int),
|
|
|
|
priority: (l$priority as int?),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
final String recordType;
|
|
|
|
|
|
|
|
final String name;
|
|
|
|
|
|
|
|
final String content;
|
|
|
|
|
|
|
|
final int ttl;
|
|
|
|
|
|
|
|
final int? priority;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$recordType = recordType;
|
|
|
|
_resultData['recordType'] = l$recordType;
|
|
|
|
final l$name = name;
|
|
|
|
_resultData['name'] = l$name;
|
|
|
|
final l$content = content;
|
|
|
|
_resultData['content'] = l$content;
|
|
|
|
final l$ttl = ttl;
|
|
|
|
_resultData['ttl'] = l$ttl;
|
|
|
|
final l$priority = priority;
|
|
|
|
_resultData['priority'] = l$priority;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
int get hashCode {
|
|
|
|
final l$recordType = recordType;
|
|
|
|
final l$name = name;
|
|
|
|
final l$content = content;
|
|
|
|
final l$ttl = ttl;
|
|
|
|
final l$priority = priority;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
return Object.hashAll([
|
|
|
|
l$recordType,
|
|
|
|
l$name,
|
|
|
|
l$content,
|
|
|
|
l$ttl,
|
|
|
|
l$priority,
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (!(other is Fragment$fragmentDnsRecords) ||
|
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$recordType = recordType;
|
|
|
|
final lOther$recordType = other.recordType;
|
|
|
|
if (l$recordType != lOther$recordType) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$name = name;
|
|
|
|
final lOther$name = other.name;
|
|
|
|
if (l$name != lOther$name) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$content = content;
|
|
|
|
final lOther$content = other.content;
|
|
|
|
if (l$content != lOther$content) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$ttl = ttl;
|
|
|
|
final lOther$ttl = other.ttl;
|
|
|
|
if (l$ttl != lOther$ttl) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$priority = priority;
|
|
|
|
final lOther$priority = other.priority;
|
|
|
|
if (l$priority != lOther$priority) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
final lOther$$__typename = other.$__typename;
|
|
|
|
if (l$$__typename != lOther$$__typename) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Fragment$fragmentDnsRecords
|
|
|
|
on Fragment$fragmentDnsRecords {
|
|
|
|
CopyWith$Fragment$fragmentDnsRecords<Fragment$fragmentDnsRecords>
|
|
|
|
get copyWith => CopyWith$Fragment$fragmentDnsRecords(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Fragment$fragmentDnsRecords<TRes> {
|
|
|
|
factory CopyWith$Fragment$fragmentDnsRecords(
|
|
|
|
Fragment$fragmentDnsRecords instance,
|
|
|
|
TRes Function(Fragment$fragmentDnsRecords) then,
|
|
|
|
) = _CopyWithImpl$Fragment$fragmentDnsRecords;
|
|
|
|
|
|
|
|
factory CopyWith$Fragment$fragmentDnsRecords.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Fragment$fragmentDnsRecords;
|
|
|
|
|
|
|
|
TRes call({
|
|
|
|
String? recordType,
|
|
|
|
String? name,
|
|
|
|
String? content,
|
|
|
|
int? ttl,
|
|
|
|
int? priority,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Fragment$fragmentDnsRecords<TRes>
|
|
|
|
implements CopyWith$Fragment$fragmentDnsRecords<TRes> {
|
|
|
|
_CopyWithImpl$Fragment$fragmentDnsRecords(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
|
|
|
|
|
|
|
final Fragment$fragmentDnsRecords _instance;
|
|
|
|
|
|
|
|
final TRes Function(Fragment$fragmentDnsRecords) _then;
|
|
|
|
|
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
|
|
|
|
|
|
|
TRes call({
|
|
|
|
Object? recordType = _undefined,
|
|
|
|
Object? name = _undefined,
|
|
|
|
Object? content = _undefined,
|
|
|
|
Object? ttl = _undefined,
|
|
|
|
Object? priority = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
|
|
|
_then(Fragment$fragmentDnsRecords(
|
|
|
|
recordType: recordType == _undefined || recordType == null
|
|
|
|
? _instance.recordType
|
|
|
|
: (recordType as String),
|
|
|
|
name: name == _undefined || name == null
|
|
|
|
? _instance.name
|
|
|
|
: (name as String),
|
|
|
|
content: content == _undefined || content == null
|
|
|
|
? _instance.content
|
|
|
|
: (content as String),
|
|
|
|
ttl: ttl == _undefined || ttl == null ? _instance.ttl : (ttl as int),
|
|
|
|
priority:
|
|
|
|
priority == _undefined ? _instance.priority : (priority as int?),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Fragment$fragmentDnsRecords<TRes>
|
|
|
|
implements CopyWith$Fragment$fragmentDnsRecords<TRes> {
|
|
|
|
_CopyWithStubImpl$Fragment$fragmentDnsRecords(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
|
|
|
call({
|
|
|
|
String? recordType,
|
|
|
|
String? name,
|
|
|
|
String? content,
|
|
|
|
int? ttl,
|
|
|
|
int? priority,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
|
|
|
_res;
|
|
|
|
}
|
|
|
|
|
|
|
|
const fragmentDefinitionfragmentDnsRecords = FragmentDefinitionNode(
|
|
|
|
name: NameNode(value: 'fragmentDnsRecords'),
|
|
|
|
typeCondition: TypeConditionNode(
|
|
|
|
on: NamedTypeNode(
|
|
|
|
name: NameNode(value: 'DnsRecord'),
|
|
|
|
isNonNull: false,
|
|
|
|
)),
|
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'recordType'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'name'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'content'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'ttl'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'priority'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: '__typename'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
]),
|
|
|
|
);
|
|
|
|
const documentNodeFragmentfragmentDnsRecords = DocumentNode(definitions: [
|
|
|
|
fragmentDefinitionfragmentDnsRecords,
|
|
|
|
]);
|
|
|
|
|
|
|
|
extension ClientExtension$Fragment$fragmentDnsRecords on graphql.GraphQLClient {
|
|
|
|
void writeFragment$fragmentDnsRecords({
|
|
|
|
required Fragment$fragmentDnsRecords data,
|
|
|
|
required Map<String, dynamic> idFields,
|
|
|
|
bool broadcast = true,
|
|
|
|
}) =>
|
|
|
|
this.writeFragment(
|
|
|
|
graphql.FragmentRequest(
|
|
|
|
idFields: idFields,
|
|
|
|
fragment: const graphql.Fragment(
|
|
|
|
fragmentName: 'fragmentDnsRecords',
|
|
|
|
document: documentNodeFragmentfragmentDnsRecords,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
data: data.toJson(),
|
|
|
|
broadcast: broadcast,
|
|
|
|
);
|
|
|
|
Fragment$fragmentDnsRecords? readFragment$fragmentDnsRecords({
|
|
|
|
required Map<String, dynamic> idFields,
|
|
|
|
bool optimistic = true,
|
|
|
|
}) {
|
|
|
|
final result = this.readFragment(
|
|
|
|
graphql.FragmentRequest(
|
|
|
|
idFields: idFields,
|
|
|
|
fragment: const graphql.Fragment(
|
|
|
|
fragmentName: 'fragmentDnsRecords',
|
|
|
|
document: documentNodeFragmentfragmentDnsRecords,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
optimistic: optimistic,
|
|
|
|
);
|
|
|
|
return result == null ? null : Fragment$fragmentDnsRecords.fromJson(result);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-08-24 05:35:49 +00:00
|
|
|
class Query$SystemSettings {
|
2023-02-24 10:44:55 +00:00
|
|
|
Query$SystemSettings({
|
|
|
|
required this.system,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'Query',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
factory Query$SystemSettings.fromJson(Map<String, dynamic> json) {
|
|
|
|
final l$system = json['system'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Query$SystemSettings(
|
|
|
|
system: Query$SystemSettings$system.fromJson(
|
|
|
|
(l$system as Map<String, dynamic>)),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final Query$SystemSettings$system system;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$system = system;
|
|
|
|
_resultData['system'] = l$system.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$system = system;
|
|
|
|
final l$$__typename = $__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
|
|
|
l$system,
|
|
|
|
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$SystemSettings) || 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$system = system;
|
|
|
|
final lOther$system = other.system;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$system != lOther$system) {
|
|
|
|
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$SystemSettings on Query$SystemSettings {
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Query$SystemSettings<Query$SystemSettings> get copyWith =>
|
2023-02-24 10:44:55 +00:00
|
|
|
CopyWith$Query$SystemSettings(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Query$SystemSettings<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
factory CopyWith$Query$SystemSettings(
|
|
|
|
Query$SystemSettings instance,
|
|
|
|
TRes Function(Query$SystemSettings) then,
|
|
|
|
) = _CopyWithImpl$Query$SystemSettings;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Query$SystemSettings.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Query$SystemSettings;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Query$SystemSettings$system? system,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Query$SystemSettings$system<TRes> get system;
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Query$SystemSettings<TRes>
|
|
|
|
implements CopyWith$Query$SystemSettings<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
_CopyWithImpl$Query$SystemSettings(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Query$SystemSettings _instance;
|
|
|
|
|
|
|
|
final TRes Function(Query$SystemSettings) _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? system = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Query$SystemSettings(
|
2023-02-24 10:44:55 +00:00
|
|
|
system: system == _undefined || system == null
|
|
|
|
? _instance.system
|
|
|
|
: (system as Query$SystemSettings$system),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Query$SystemSettings$system<TRes> get system {
|
|
|
|
final local$system = _instance.system;
|
|
|
|
return CopyWith$Query$SystemSettings$system(
|
|
|
|
local$system, (e) => call(system: e));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Query$SystemSettings<TRes>
|
|
|
|
implements CopyWith$Query$SystemSettings<TRes> {
|
|
|
|
_CopyWithStubImpl$Query$SystemSettings(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
call({
|
|
|
|
Query$SystemSettings$system? system,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
|
|
|
_res;
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Query$SystemSettings$system<TRes> get system =>
|
|
|
|
CopyWith$Query$SystemSettings$system.stub(_res);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
const documentNodeQuerySystemSettings = DocumentNode(definitions: [
|
|
|
|
OperationDefinitionNode(
|
2023-02-24 10:44:55 +00:00
|
|
|
type: OperationType.query,
|
|
|
|
name: NameNode(value: 'SystemSettings'),
|
|
|
|
variableDefinitions: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'system'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'settings'),
|
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: 'autoUpgrade'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'allowReboot'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'enable'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: '__typename'),
|
|
|
|
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: 'ssh'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'enable'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'passwordAuthentication'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: '__typename'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
]),
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'timezone'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: '__typename'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
]),
|
|
|
|
),
|
|
|
|
FieldNode(
|
2022-08-24 05:35:49 +00:00
|
|
|
name: NameNode(value: '__typename'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
2023-02-24 10:44:55 +00:00
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
]),
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: '__typename'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
]),
|
|
|
|
),
|
2022-08-24 05:35:49 +00:00
|
|
|
]);
|
|
|
|
Query$SystemSettings _parserFn$Query$SystemSettings(
|
|
|
|
Map<String, dynamic> data) =>
|
|
|
|
Query$SystemSettings.fromJson(data);
|
2023-05-30 17:25:46 +00:00
|
|
|
typedef OnQueryComplete$Query$SystemSettings = FutureOr<void> Function(
|
|
|
|
Map<String, dynamic>?,
|
|
|
|
Query$SystemSettings?,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
class Options$Query$SystemSettings
|
|
|
|
extends graphql.QueryOptions<Query$SystemSettings> {
|
2023-02-24 10:44:55 +00:00
|
|
|
Options$Query$SystemSettings({
|
|
|
|
String? operationName,
|
|
|
|
graphql.FetchPolicy? fetchPolicy,
|
|
|
|
graphql.ErrorPolicy? errorPolicy,
|
|
|
|
graphql.CacheRereadPolicy? cacheRereadPolicy,
|
|
|
|
Object? optimisticResult,
|
2023-05-30 17:25:46 +00:00
|
|
|
Query$SystemSettings? typedOptimisticResult,
|
2023-02-24 10:44:55 +00:00
|
|
|
Duration? pollInterval,
|
|
|
|
graphql.Context? context,
|
2023-05-30 17:25:46 +00:00
|
|
|
OnQueryComplete$Query$SystemSettings? 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$SystemSettings(data),
|
|
|
|
),
|
|
|
|
onError: onError,
|
2023-02-24 10:44:55 +00:00
|
|
|
document: documentNodeQuerySystemSettings,
|
|
|
|
parserFn: _parserFn$Query$SystemSettings,
|
|
|
|
);
|
2023-05-30 17:25:46 +00:00
|
|
|
|
|
|
|
final OnQueryComplete$Query$SystemSettings? 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$SystemSettings
|
|
|
|
extends graphql.WatchQueryOptions<Query$SystemSettings> {
|
2023-02-24 10:44:55 +00:00
|
|
|
WatchOptions$Query$SystemSettings({
|
|
|
|
String? operationName,
|
|
|
|
graphql.FetchPolicy? fetchPolicy,
|
|
|
|
graphql.ErrorPolicy? errorPolicy,
|
|
|
|
graphql.CacheRereadPolicy? cacheRereadPolicy,
|
|
|
|
Object? optimisticResult,
|
2023-05-30 17:25:46 +00:00
|
|
|
Query$SystemSettings? 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: documentNodeQuerySystemSettings,
|
|
|
|
pollInterval: pollInterval,
|
|
|
|
eagerlyFetchResults: eagerlyFetchResults,
|
|
|
|
carryForwardDataOnException: carryForwardDataOnException,
|
|
|
|
fetchResults: fetchResults,
|
|
|
|
parserFn: _parserFn$Query$SystemSettings,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class FetchMoreOptions$Query$SystemSettings extends graphql.FetchMoreOptions {
|
|
|
|
FetchMoreOptions$Query$SystemSettings(
|
|
|
|
{required graphql.UpdateQuery updateQuery})
|
|
|
|
: super(
|
2023-02-24 10:44:55 +00:00
|
|
|
updateQuery: updateQuery,
|
|
|
|
document: documentNodeQuerySystemSettings,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
extension ClientExtension$Query$SystemSettings on graphql.GraphQLClient {
|
|
|
|
Future<graphql.QueryResult<Query$SystemSettings>> query$SystemSettings(
|
|
|
|
[Options$Query$SystemSettings? options]) async =>
|
|
|
|
await this.query(options ?? Options$Query$SystemSettings());
|
|
|
|
graphql.ObservableQuery<Query$SystemSettings> watchQuery$SystemSettings(
|
|
|
|
[WatchOptions$Query$SystemSettings? options]) =>
|
|
|
|
this.watchQuery(options ?? WatchOptions$Query$SystemSettings());
|
2023-02-24 10:44:55 +00:00
|
|
|
void writeQuery$SystemSettings({
|
|
|
|
required Query$SystemSettings data,
|
|
|
|
bool broadcast = true,
|
|
|
|
}) =>
|
2022-08-24 05:35:49 +00:00
|
|
|
this.writeQuery(
|
|
|
|
graphql.Request(
|
|
|
|
operation:
|
|
|
|
graphql.Operation(document: documentNodeQuerySystemSettings)),
|
2023-02-24 10:44:55 +00:00
|
|
|
data: data.toJson(),
|
|
|
|
broadcast: broadcast,
|
|
|
|
);
|
|
|
|
Query$SystemSettings? readQuery$SystemSettings({bool optimistic = true}) {
|
|
|
|
final result = this.readQuery(
|
|
|
|
graphql.Request(
|
|
|
|
operation:
|
|
|
|
graphql.Operation(document: documentNodeQuerySystemSettings)),
|
|
|
|
optimistic: optimistic,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
return result == null ? null : Query$SystemSettings.fromJson(result);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class Query$SystemSettings$system {
|
2023-02-24 10:44:55 +00:00
|
|
|
Query$SystemSettings$system({
|
|
|
|
required this.settings,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'System',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
factory Query$SystemSettings$system.fromJson(Map<String, dynamic> json) {
|
|
|
|
final l$settings = json['settings'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Query$SystemSettings$system(
|
|
|
|
settings: Query$SystemSettings$system$settings.fromJson(
|
|
|
|
(l$settings as Map<String, dynamic>)),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final Query$SystemSettings$system$settings settings;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$settings = settings;
|
|
|
|
_resultData['settings'] = l$settings.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$settings = settings;
|
|
|
|
final l$$__typename = $__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
|
|
|
l$settings,
|
|
|
|
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$SystemSettings$system) ||
|
2023-02-24 10:44:55 +00:00
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$settings = settings;
|
|
|
|
final lOther$settings = other.settings;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$settings != lOther$settings) {
|
|
|
|
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$SystemSettings$system
|
|
|
|
on Query$SystemSettings$system {
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Query$SystemSettings$system<Query$SystemSettings$system>
|
2023-02-24 10:44:55 +00:00
|
|
|
get copyWith => CopyWith$Query$SystemSettings$system(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Query$SystemSettings$system<TRes> {
|
|
|
|
factory CopyWith$Query$SystemSettings$system(
|
2023-02-24 10:44:55 +00:00
|
|
|
Query$SystemSettings$system instance,
|
|
|
|
TRes Function(Query$SystemSettings$system) then,
|
|
|
|
) = _CopyWithImpl$Query$SystemSettings$system;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Query$SystemSettings$system.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Query$SystemSettings$system;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Query$SystemSettings$system$settings? settings,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Query$SystemSettings$system$settings<TRes> get settings;
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Query$SystemSettings$system<TRes>
|
|
|
|
implements CopyWith$Query$SystemSettings$system<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
_CopyWithImpl$Query$SystemSettings$system(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Query$SystemSettings$system _instance;
|
|
|
|
|
|
|
|
final TRes Function(Query$SystemSettings$system) _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? settings = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Query$SystemSettings$system(
|
2023-02-24 10:44:55 +00:00
|
|
|
settings: settings == _undefined || settings == null
|
|
|
|
? _instance.settings
|
|
|
|
: (settings as Query$SystemSettings$system$settings),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Query$SystemSettings$system$settings<TRes> get settings {
|
|
|
|
final local$settings = _instance.settings;
|
|
|
|
return CopyWith$Query$SystemSettings$system$settings(
|
|
|
|
local$settings, (e) => call(settings: e));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Query$SystemSettings$system<TRes>
|
|
|
|
implements CopyWith$Query$SystemSettings$system<TRes> {
|
|
|
|
_CopyWithStubImpl$Query$SystemSettings$system(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
call({
|
|
|
|
Query$SystemSettings$system$settings? settings,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_res;
|
|
|
|
CopyWith$Query$SystemSettings$system$settings<TRes> get settings =>
|
|
|
|
CopyWith$Query$SystemSettings$system$settings.stub(_res);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class Query$SystemSettings$system$settings {
|
2023-02-24 10:44:55 +00:00
|
|
|
Query$SystemSettings$system$settings({
|
|
|
|
required this.autoUpgrade,
|
|
|
|
required this.ssh,
|
|
|
|
required this.timezone,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'SystemSettings',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
factory Query$SystemSettings$system$settings.fromJson(
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> json) {
|
|
|
|
final l$autoUpgrade = json['autoUpgrade'];
|
|
|
|
final l$ssh = json['ssh'];
|
|
|
|
final l$timezone = json['timezone'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Query$SystemSettings$system$settings(
|
|
|
|
autoUpgrade: Query$SystemSettings$system$settings$autoUpgrade.fromJson(
|
|
|
|
(l$autoUpgrade as Map<String, dynamic>)),
|
|
|
|
ssh: Query$SystemSettings$system$settings$ssh.fromJson(
|
|
|
|
(l$ssh as Map<String, dynamic>)),
|
|
|
|
timezone: (l$timezone as String),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final Query$SystemSettings$system$settings$autoUpgrade autoUpgrade;
|
|
|
|
|
|
|
|
final Query$SystemSettings$system$settings$ssh ssh;
|
|
|
|
|
|
|
|
final String timezone;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$autoUpgrade = autoUpgrade;
|
|
|
|
_resultData['autoUpgrade'] = l$autoUpgrade.toJson();
|
|
|
|
final l$ssh = ssh;
|
|
|
|
_resultData['ssh'] = l$ssh.toJson();
|
|
|
|
final l$timezone = timezone;
|
|
|
|
_resultData['timezone'] = l$timezone;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
2022-08-24 05:35:49 +00:00
|
|
|
int get hashCode {
|
|
|
|
final l$autoUpgrade = autoUpgrade;
|
|
|
|
final l$ssh = ssh;
|
|
|
|
final l$timezone = timezone;
|
|
|
|
final l$$__typename = $__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
|
|
|
l$autoUpgrade,
|
|
|
|
l$ssh,
|
|
|
|
l$timezone,
|
|
|
|
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$SystemSettings$system$settings) ||
|
2023-02-24 10:44:55 +00:00
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$autoUpgrade = autoUpgrade;
|
|
|
|
final lOther$autoUpgrade = other.autoUpgrade;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$autoUpgrade != lOther$autoUpgrade) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$ssh = ssh;
|
|
|
|
final lOther$ssh = other.ssh;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$ssh != lOther$ssh) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$timezone = timezone;
|
|
|
|
final lOther$timezone = other.timezone;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$timezone != lOther$timezone) {
|
|
|
|
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$SystemSettings$system$settings
|
|
|
|
on Query$SystemSettings$system$settings {
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Query$SystemSettings$system$settings<
|
|
|
|
Query$SystemSettings$system$settings>
|
2023-02-24 10:44:55 +00:00
|
|
|
get copyWith => CopyWith$Query$SystemSettings$system$settings(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Query$SystemSettings$system$settings<TRes> {
|
|
|
|
factory CopyWith$Query$SystemSettings$system$settings(
|
2023-02-24 10:44:55 +00:00
|
|
|
Query$SystemSettings$system$settings instance,
|
|
|
|
TRes Function(Query$SystemSettings$system$settings) then,
|
|
|
|
) = _CopyWithImpl$Query$SystemSettings$system$settings;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Query$SystemSettings$system$settings.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Query$SystemSettings$system$settings;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Query$SystemSettings$system$settings$autoUpgrade? autoUpgrade,
|
|
|
|
Query$SystemSettings$system$settings$ssh? ssh,
|
|
|
|
String? timezone,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Query$SystemSettings$system$settings$autoUpgrade<TRes>
|
|
|
|
get autoUpgrade;
|
|
|
|
CopyWith$Query$SystemSettings$system$settings$ssh<TRes> get ssh;
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Query$SystemSettings$system$settings<TRes>
|
|
|
|
implements CopyWith$Query$SystemSettings$system$settings<TRes> {
|
|
|
|
_CopyWithImpl$Query$SystemSettings$system$settings(
|
2023-02-24 10:44:55 +00:00
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Query$SystemSettings$system$settings _instance;
|
|
|
|
|
|
|
|
final TRes Function(Query$SystemSettings$system$settings) _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? autoUpgrade = _undefined,
|
|
|
|
Object? ssh = _undefined,
|
|
|
|
Object? timezone = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Query$SystemSettings$system$settings(
|
2023-02-24 10:44:55 +00:00
|
|
|
autoUpgrade: autoUpgrade == _undefined || autoUpgrade == null
|
|
|
|
? _instance.autoUpgrade
|
|
|
|
: (autoUpgrade as Query$SystemSettings$system$settings$autoUpgrade),
|
|
|
|
ssh: ssh == _undefined || ssh == null
|
|
|
|
? _instance.ssh
|
|
|
|
: (ssh as Query$SystemSettings$system$settings$ssh),
|
|
|
|
timezone: timezone == _undefined || timezone == null
|
|
|
|
? _instance.timezone
|
|
|
|
: (timezone as String),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Query$SystemSettings$system$settings$autoUpgrade<TRes>
|
|
|
|
get autoUpgrade {
|
|
|
|
final local$autoUpgrade = _instance.autoUpgrade;
|
|
|
|
return CopyWith$Query$SystemSettings$system$settings$autoUpgrade(
|
|
|
|
local$autoUpgrade, (e) => call(autoUpgrade: e));
|
|
|
|
}
|
|
|
|
|
|
|
|
CopyWith$Query$SystemSettings$system$settings$ssh<TRes> get ssh {
|
|
|
|
final local$ssh = _instance.ssh;
|
|
|
|
return CopyWith$Query$SystemSettings$system$settings$ssh(
|
|
|
|
local$ssh, (e) => call(ssh: e));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Query$SystemSettings$system$settings<TRes>
|
|
|
|
implements CopyWith$Query$SystemSettings$system$settings<TRes> {
|
|
|
|
_CopyWithStubImpl$Query$SystemSettings$system$settings(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
call({
|
|
|
|
Query$SystemSettings$system$settings$autoUpgrade? autoUpgrade,
|
|
|
|
Query$SystemSettings$system$settings$ssh? ssh,
|
|
|
|
String? timezone,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_res;
|
|
|
|
CopyWith$Query$SystemSettings$system$settings$autoUpgrade<TRes>
|
|
|
|
get autoUpgrade =>
|
|
|
|
CopyWith$Query$SystemSettings$system$settings$autoUpgrade.stub(_res);
|
|
|
|
CopyWith$Query$SystemSettings$system$settings$ssh<TRes> get ssh =>
|
|
|
|
CopyWith$Query$SystemSettings$system$settings$ssh.stub(_res);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class Query$SystemSettings$system$settings$autoUpgrade {
|
2023-02-24 10:44:55 +00:00
|
|
|
Query$SystemSettings$system$settings$autoUpgrade({
|
|
|
|
required this.allowReboot,
|
|
|
|
required this.enable,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'AutoUpgradeOptions',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
factory Query$SystemSettings$system$settings$autoUpgrade.fromJson(
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> json) {
|
|
|
|
final l$allowReboot = json['allowReboot'];
|
|
|
|
final l$enable = json['enable'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Query$SystemSettings$system$settings$autoUpgrade(
|
|
|
|
allowReboot: (l$allowReboot as bool),
|
|
|
|
enable: (l$enable as bool),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final bool allowReboot;
|
|
|
|
|
|
|
|
final bool enable;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$allowReboot = allowReboot;
|
|
|
|
_resultData['allowReboot'] = l$allowReboot;
|
|
|
|
final l$enable = enable;
|
|
|
|
_resultData['enable'] = l$enable;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
2022-08-24 05:35:49 +00:00
|
|
|
int get hashCode {
|
|
|
|
final l$allowReboot = allowReboot;
|
|
|
|
final l$enable = enable;
|
|
|
|
final l$$__typename = $__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
|
|
|
l$allowReboot,
|
|
|
|
l$enable,
|
|
|
|
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$SystemSettings$system$settings$autoUpgrade) ||
|
2023-02-24 10:44:55 +00:00
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$allowReboot = allowReboot;
|
|
|
|
final lOther$allowReboot = other.allowReboot;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$allowReboot != lOther$allowReboot) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$enable = enable;
|
|
|
|
final lOther$enable = other.enable;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$enable != lOther$enable) {
|
|
|
|
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$SystemSettings$system$settings$autoUpgrade
|
|
|
|
on Query$SystemSettings$system$settings$autoUpgrade {
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Query$SystemSettings$system$settings$autoUpgrade<
|
|
|
|
Query$SystemSettings$system$settings$autoUpgrade>
|
|
|
|
get copyWith => CopyWith$Query$SystemSettings$system$settings$autoUpgrade(
|
2023-02-24 10:44:55 +00:00
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Query$SystemSettings$system$settings$autoUpgrade<TRes> {
|
|
|
|
factory CopyWith$Query$SystemSettings$system$settings$autoUpgrade(
|
2023-02-24 10:44:55 +00:00
|
|
|
Query$SystemSettings$system$settings$autoUpgrade instance,
|
|
|
|
TRes Function(Query$SystemSettings$system$settings$autoUpgrade) then,
|
|
|
|
) = _CopyWithImpl$Query$SystemSettings$system$settings$autoUpgrade;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Query$SystemSettings$system$settings$autoUpgrade.stub(
|
|
|
|
TRes res) =
|
|
|
|
_CopyWithStubImpl$Query$SystemSettings$system$settings$autoUpgrade;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
bool? allowReboot,
|
|
|
|
bool? enable,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Query$SystemSettings$system$settings$autoUpgrade<TRes>
|
|
|
|
implements CopyWith$Query$SystemSettings$system$settings$autoUpgrade<TRes> {
|
|
|
|
_CopyWithImpl$Query$SystemSettings$system$settings$autoUpgrade(
|
2023-02-24 10:44:55 +00:00
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Query$SystemSettings$system$settings$autoUpgrade _instance;
|
|
|
|
|
|
|
|
final TRes Function(Query$SystemSettings$system$settings$autoUpgrade) _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? allowReboot = _undefined,
|
|
|
|
Object? enable = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Query$SystemSettings$system$settings$autoUpgrade(
|
2023-02-24 10:44:55 +00:00
|
|
|
allowReboot: allowReboot == _undefined || allowReboot == null
|
|
|
|
? _instance.allowReboot
|
|
|
|
: (allowReboot as bool),
|
|
|
|
enable: enable == _undefined || enable == null
|
|
|
|
? _instance.enable
|
|
|
|
: (enable as bool),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Query$SystemSettings$system$settings$autoUpgrade<TRes>
|
|
|
|
implements CopyWith$Query$SystemSettings$system$settings$autoUpgrade<TRes> {
|
|
|
|
_CopyWithStubImpl$Query$SystemSettings$system$settings$autoUpgrade(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
call({
|
|
|
|
bool? allowReboot,
|
|
|
|
bool? enable,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
|
|
|
_res;
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class Query$SystemSettings$system$settings$ssh {
|
2023-02-24 10:44:55 +00:00
|
|
|
Query$SystemSettings$system$settings$ssh({
|
|
|
|
required this.enable,
|
|
|
|
required this.passwordAuthentication,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'SshSettings',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
factory Query$SystemSettings$system$settings$ssh.fromJson(
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> json) {
|
|
|
|
final l$enable = json['enable'];
|
|
|
|
final l$passwordAuthentication = json['passwordAuthentication'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Query$SystemSettings$system$settings$ssh(
|
|
|
|
enable: (l$enable as bool),
|
|
|
|
passwordAuthentication: (l$passwordAuthentication as bool),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final bool enable;
|
|
|
|
|
|
|
|
final bool passwordAuthentication;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$enable = enable;
|
|
|
|
_resultData['enable'] = l$enable;
|
|
|
|
final l$passwordAuthentication = passwordAuthentication;
|
|
|
|
_resultData['passwordAuthentication'] = l$passwordAuthentication;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
2022-08-24 05:35:49 +00:00
|
|
|
int get hashCode {
|
|
|
|
final l$enable = enable;
|
|
|
|
final l$passwordAuthentication = passwordAuthentication;
|
|
|
|
final l$$__typename = $__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
|
|
|
l$enable,
|
|
|
|
l$passwordAuthentication,
|
|
|
|
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$SystemSettings$system$settings$ssh) ||
|
2023-02-24 10:44:55 +00:00
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$enable = enable;
|
|
|
|
final lOther$enable = other.enable;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$enable != lOther$enable) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$passwordAuthentication = passwordAuthentication;
|
|
|
|
final lOther$passwordAuthentication = other.passwordAuthentication;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$passwordAuthentication != lOther$passwordAuthentication) {
|
|
|
|
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$SystemSettings$system$settings$ssh
|
|
|
|
on Query$SystemSettings$system$settings$ssh {
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Query$SystemSettings$system$settings$ssh<
|
|
|
|
Query$SystemSettings$system$settings$ssh>
|
2023-02-24 10:44:55 +00:00
|
|
|
get copyWith => CopyWith$Query$SystemSettings$system$settings$ssh(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Query$SystemSettings$system$settings$ssh<TRes> {
|
|
|
|
factory CopyWith$Query$SystemSettings$system$settings$ssh(
|
2023-02-24 10:44:55 +00:00
|
|
|
Query$SystemSettings$system$settings$ssh instance,
|
|
|
|
TRes Function(Query$SystemSettings$system$settings$ssh) then,
|
|
|
|
) = _CopyWithImpl$Query$SystemSettings$system$settings$ssh;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Query$SystemSettings$system$settings$ssh.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Query$SystemSettings$system$settings$ssh;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
bool? enable,
|
|
|
|
bool? passwordAuthentication,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Query$SystemSettings$system$settings$ssh<TRes>
|
|
|
|
implements CopyWith$Query$SystemSettings$system$settings$ssh<TRes> {
|
|
|
|
_CopyWithImpl$Query$SystemSettings$system$settings$ssh(
|
2023-02-24 10:44:55 +00:00
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Query$SystemSettings$system$settings$ssh _instance;
|
|
|
|
|
|
|
|
final TRes Function(Query$SystemSettings$system$settings$ssh) _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? enable = _undefined,
|
|
|
|
Object? passwordAuthentication = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Query$SystemSettings$system$settings$ssh(
|
2023-02-24 10:44:55 +00:00
|
|
|
enable: enable == _undefined || enable == null
|
|
|
|
? _instance.enable
|
|
|
|
: (enable as bool),
|
|
|
|
passwordAuthentication: passwordAuthentication == _undefined ||
|
|
|
|
passwordAuthentication == null
|
|
|
|
? _instance.passwordAuthentication
|
|
|
|
: (passwordAuthentication as bool),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Query$SystemSettings$system$settings$ssh<TRes>
|
|
|
|
implements CopyWith$Query$SystemSettings$system$settings$ssh<TRes> {
|
|
|
|
_CopyWithStubImpl$Query$SystemSettings$system$settings$ssh(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
call({
|
|
|
|
bool? enable,
|
|
|
|
bool? passwordAuthentication,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_res;
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
2022-09-02 05:59:46 +00:00
|
|
|
class Query$SystemIsUsingBinds {
|
2023-02-24 10:44:55 +00:00
|
|
|
Query$SystemIsUsingBinds({
|
|
|
|
required this.system,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'Query',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
factory Query$SystemIsUsingBinds.fromJson(Map<String, dynamic> json) {
|
|
|
|
final l$system = json['system'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Query$SystemIsUsingBinds(
|
|
|
|
system: Query$SystemIsUsingBinds$system.fromJson(
|
|
|
|
(l$system as Map<String, dynamic>)),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-09-02 05:59:46 +00:00
|
|
|
|
|
|
|
final Query$SystemIsUsingBinds$system system;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$system = system;
|
|
|
|
_resultData['system'] = l$system.toJson();
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
2022-09-02 05:59:46 +00:00
|
|
|
int get hashCode {
|
|
|
|
final l$system = system;
|
|
|
|
final l$$__typename = $__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
|
|
|
l$system,
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
2022-09-02 05:59:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
2023-02-24 10:44:55 +00:00
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
2022-09-02 05:59:46 +00:00
|
|
|
if (!(other is Query$SystemIsUsingBinds) ||
|
2023-02-24 10:44:55 +00:00
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-09-02 05:59:46 +00:00
|
|
|
final l$system = system;
|
|
|
|
final lOther$system = other.system;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$system != lOther$system) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-09-02 05:59:46 +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-09-02 05:59:46 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Query$SystemIsUsingBinds
|
|
|
|
on Query$SystemIsUsingBinds {
|
|
|
|
CopyWith$Query$SystemIsUsingBinds<Query$SystemIsUsingBinds> get copyWith =>
|
2023-02-24 10:44:55 +00:00
|
|
|
CopyWith$Query$SystemIsUsingBinds(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-09-02 05:59:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Query$SystemIsUsingBinds<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
factory CopyWith$Query$SystemIsUsingBinds(
|
|
|
|
Query$SystemIsUsingBinds instance,
|
|
|
|
TRes Function(Query$SystemIsUsingBinds) then,
|
|
|
|
) = _CopyWithImpl$Query$SystemIsUsingBinds;
|
2022-09-02 05:59:46 +00:00
|
|
|
|
|
|
|
factory CopyWith$Query$SystemIsUsingBinds.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Query$SystemIsUsingBinds;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Query$SystemIsUsingBinds$system? system,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
2022-09-02 05:59:46 +00:00
|
|
|
CopyWith$Query$SystemIsUsingBinds$system<TRes> get system;
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Query$SystemIsUsingBinds<TRes>
|
|
|
|
implements CopyWith$Query$SystemIsUsingBinds<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
_CopyWithImpl$Query$SystemIsUsingBinds(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-09-02 05:59:46 +00:00
|
|
|
|
|
|
|
final Query$SystemIsUsingBinds _instance;
|
|
|
|
|
|
|
|
final TRes Function(Query$SystemIsUsingBinds) _then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2022-09-02 05:59:46 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Object? system = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-09-02 05:59:46 +00:00
|
|
|
_then(Query$SystemIsUsingBinds(
|
2023-02-24 10:44:55 +00:00
|
|
|
system: system == _undefined || system == null
|
|
|
|
? _instance.system
|
|
|
|
: (system as Query$SystemIsUsingBinds$system),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2022-09-02 05:59:46 +00:00
|
|
|
CopyWith$Query$SystemIsUsingBinds$system<TRes> get system {
|
|
|
|
final local$system = _instance.system;
|
|
|
|
return CopyWith$Query$SystemIsUsingBinds$system(
|
|
|
|
local$system, (e) => call(system: e));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Query$SystemIsUsingBinds<TRes>
|
|
|
|
implements CopyWith$Query$SystemIsUsingBinds<TRes> {
|
|
|
|
_CopyWithStubImpl$Query$SystemIsUsingBinds(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
call({
|
|
|
|
Query$SystemIsUsingBinds$system? system,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
|
|
|
_res;
|
2022-09-02 05:59:46 +00:00
|
|
|
CopyWith$Query$SystemIsUsingBinds$system<TRes> get system =>
|
|
|
|
CopyWith$Query$SystemIsUsingBinds$system.stub(_res);
|
|
|
|
}
|
|
|
|
|
|
|
|
const documentNodeQuerySystemIsUsingBinds = DocumentNode(definitions: [
|
|
|
|
OperationDefinitionNode(
|
2023-02-24 10:44:55 +00:00
|
|
|
type: OperationType.query,
|
|
|
|
name: NameNode(value: 'SystemIsUsingBinds'),
|
|
|
|
variableDefinitions: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'system'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'info'),
|
2022-09-02 05:59:46 +00:00
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FieldNode(
|
2023-02-24 10:44:55 +00:00
|
|
|
name: NameNode(value: 'usingBinds'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
2022-09-02 05:59:46 +00:00
|
|
|
FieldNode(
|
2023-02-24 10:44:55 +00:00
|
|
|
name: NameNode(value: '__typename'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
]),
|
|
|
|
),
|
|
|
|
FieldNode(
|
2022-09-02 05:59:46 +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-09-02 05:59:46 +00:00
|
|
|
]);
|
|
|
|
Query$SystemIsUsingBinds _parserFn$Query$SystemIsUsingBinds(
|
|
|
|
Map<String, dynamic> data) =>
|
|
|
|
Query$SystemIsUsingBinds.fromJson(data);
|
2023-05-30 17:25:46 +00:00
|
|
|
typedef OnQueryComplete$Query$SystemIsUsingBinds = FutureOr<void> Function(
|
|
|
|
Map<String, dynamic>?,
|
|
|
|
Query$SystemIsUsingBinds?,
|
|
|
|
);
|
2022-09-02 05:59:46 +00:00
|
|
|
|
|
|
|
class Options$Query$SystemIsUsingBinds
|
|
|
|
extends graphql.QueryOptions<Query$SystemIsUsingBinds> {
|
2023-02-24 10:44:55 +00:00
|
|
|
Options$Query$SystemIsUsingBinds({
|
|
|
|
String? operationName,
|
|
|
|
graphql.FetchPolicy? fetchPolicy,
|
|
|
|
graphql.ErrorPolicy? errorPolicy,
|
|
|
|
graphql.CacheRereadPolicy? cacheRereadPolicy,
|
|
|
|
Object? optimisticResult,
|
2023-05-30 17:25:46 +00:00
|
|
|
Query$SystemIsUsingBinds? typedOptimisticResult,
|
2023-02-24 10:44:55 +00:00
|
|
|
Duration? pollInterval,
|
|
|
|
graphql.Context? context,
|
2023-05-30 17:25:46 +00:00
|
|
|
OnQueryComplete$Query$SystemIsUsingBinds? 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$SystemIsUsingBinds(data),
|
|
|
|
),
|
|
|
|
onError: onError,
|
2023-02-24 10:44:55 +00:00
|
|
|
document: documentNodeQuerySystemIsUsingBinds,
|
|
|
|
parserFn: _parserFn$Query$SystemIsUsingBinds,
|
|
|
|
);
|
2023-05-30 17:25:46 +00:00
|
|
|
|
|
|
|
final OnQueryComplete$Query$SystemIsUsingBinds? onCompleteWithParsed;
|
|
|
|
|
|
|
|
@override
|
|
|
|
List<Object?> get properties => [
|
|
|
|
...super.onComplete == null
|
|
|
|
? super.properties
|
|
|
|
: super.properties.where((property) => property != onComplete),
|
|
|
|
onCompleteWithParsed,
|
|
|
|
];
|
2022-09-02 05:59:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class WatchOptions$Query$SystemIsUsingBinds
|
|
|
|
extends graphql.WatchQueryOptions<Query$SystemIsUsingBinds> {
|
2023-02-24 10:44:55 +00:00
|
|
|
WatchOptions$Query$SystemIsUsingBinds({
|
|
|
|
String? operationName,
|
|
|
|
graphql.FetchPolicy? fetchPolicy,
|
|
|
|
graphql.ErrorPolicy? errorPolicy,
|
|
|
|
graphql.CacheRereadPolicy? cacheRereadPolicy,
|
|
|
|
Object? optimisticResult,
|
2023-05-30 17:25:46 +00:00
|
|
|
Query$SystemIsUsingBinds? 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: documentNodeQuerySystemIsUsingBinds,
|
|
|
|
pollInterval: pollInterval,
|
|
|
|
eagerlyFetchResults: eagerlyFetchResults,
|
|
|
|
carryForwardDataOnException: carryForwardDataOnException,
|
|
|
|
fetchResults: fetchResults,
|
|
|
|
parserFn: _parserFn$Query$SystemIsUsingBinds,
|
|
|
|
);
|
2022-09-02 05:59:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class FetchMoreOptions$Query$SystemIsUsingBinds
|
|
|
|
extends graphql.FetchMoreOptions {
|
|
|
|
FetchMoreOptions$Query$SystemIsUsingBinds(
|
|
|
|
{required graphql.UpdateQuery updateQuery})
|
|
|
|
: super(
|
2023-02-24 10:44:55 +00:00
|
|
|
updateQuery: updateQuery,
|
|
|
|
document: documentNodeQuerySystemIsUsingBinds,
|
|
|
|
);
|
2022-09-02 05:59:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
extension ClientExtension$Query$SystemIsUsingBinds on graphql.GraphQLClient {
|
|
|
|
Future<graphql.QueryResult<Query$SystemIsUsingBinds>>
|
|
|
|
query$SystemIsUsingBinds(
|
|
|
|
[Options$Query$SystemIsUsingBinds? options]) async =>
|
|
|
|
await this.query(options ?? Options$Query$SystemIsUsingBinds());
|
|
|
|
graphql.ObservableQuery<Query$SystemIsUsingBinds>
|
|
|
|
watchQuery$SystemIsUsingBinds(
|
|
|
|
[WatchOptions$Query$SystemIsUsingBinds? options]) =>
|
|
|
|
this.watchQuery(options ?? WatchOptions$Query$SystemIsUsingBinds());
|
2023-02-24 10:44:55 +00:00
|
|
|
void writeQuery$SystemIsUsingBinds({
|
|
|
|
required Query$SystemIsUsingBinds data,
|
|
|
|
bool broadcast = true,
|
|
|
|
}) =>
|
2022-09-02 05:59:46 +00:00
|
|
|
this.writeQuery(
|
|
|
|
graphql.Request(
|
|
|
|
operation: graphql.Operation(
|
|
|
|
document: documentNodeQuerySystemIsUsingBinds)),
|
2023-02-24 10:44:55 +00:00
|
|
|
data: data.toJson(),
|
|
|
|
broadcast: broadcast,
|
|
|
|
);
|
|
|
|
Query$SystemIsUsingBinds? readQuery$SystemIsUsingBinds(
|
|
|
|
{bool optimistic = true}) {
|
|
|
|
final result = this.readQuery(
|
|
|
|
graphql.Request(
|
|
|
|
operation:
|
|
|
|
graphql.Operation(document: documentNodeQuerySystemIsUsingBinds)),
|
|
|
|
optimistic: optimistic,
|
|
|
|
);
|
2022-09-02 05:59:46 +00:00
|
|
|
return result == null ? null : Query$SystemIsUsingBinds.fromJson(result);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class Query$SystemIsUsingBinds$system {
|
2023-02-24 10:44:55 +00:00
|
|
|
Query$SystemIsUsingBinds$system({
|
|
|
|
required this.info,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'System',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
factory Query$SystemIsUsingBinds$system.fromJson(Map<String, dynamic> json) {
|
|
|
|
final l$info = json['info'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Query$SystemIsUsingBinds$system(
|
|
|
|
info: Query$SystemIsUsingBinds$system$info.fromJson(
|
|
|
|
(l$info as Map<String, dynamic>)),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-09-02 05:59:46 +00:00
|
|
|
|
|
|
|
final Query$SystemIsUsingBinds$system$info info;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$info = info;
|
|
|
|
_resultData['info'] = l$info.toJson();
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
2022-09-02 05:59:46 +00:00
|
|
|
int get hashCode {
|
|
|
|
final l$info = info;
|
|
|
|
final l$$__typename = $__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
|
|
|
l$info,
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
2022-09-02 05:59:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
2023-02-24 10:44:55 +00:00
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
2022-09-02 05:59:46 +00:00
|
|
|
if (!(other is Query$SystemIsUsingBinds$system) ||
|
2023-02-24 10:44:55 +00:00
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-09-02 05:59:46 +00:00
|
|
|
final l$info = info;
|
|
|
|
final lOther$info = other.info;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$info != lOther$info) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-09-02 05:59:46 +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-09-02 05:59:46 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Query$SystemIsUsingBinds$system
|
|
|
|
on Query$SystemIsUsingBinds$system {
|
|
|
|
CopyWith$Query$SystemIsUsingBinds$system<Query$SystemIsUsingBinds$system>
|
2023-02-24 10:44:55 +00:00
|
|
|
get copyWith => CopyWith$Query$SystemIsUsingBinds$system(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-09-02 05:59:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Query$SystemIsUsingBinds$system<TRes> {
|
|
|
|
factory CopyWith$Query$SystemIsUsingBinds$system(
|
2023-02-24 10:44:55 +00:00
|
|
|
Query$SystemIsUsingBinds$system instance,
|
|
|
|
TRes Function(Query$SystemIsUsingBinds$system) then,
|
|
|
|
) = _CopyWithImpl$Query$SystemIsUsingBinds$system;
|
2022-09-02 05:59:46 +00:00
|
|
|
|
|
|
|
factory CopyWith$Query$SystemIsUsingBinds$system.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Query$SystemIsUsingBinds$system;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Query$SystemIsUsingBinds$system$info? info,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
2022-09-02 05:59:46 +00:00
|
|
|
CopyWith$Query$SystemIsUsingBinds$system$info<TRes> get info;
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Query$SystemIsUsingBinds$system<TRes>
|
|
|
|
implements CopyWith$Query$SystemIsUsingBinds$system<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
_CopyWithImpl$Query$SystemIsUsingBinds$system(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-09-02 05:59:46 +00:00
|
|
|
|
|
|
|
final Query$SystemIsUsingBinds$system _instance;
|
|
|
|
|
|
|
|
final TRes Function(Query$SystemIsUsingBinds$system) _then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2022-09-02 05:59:46 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Object? info = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-09-02 05:59:46 +00:00
|
|
|
_then(Query$SystemIsUsingBinds$system(
|
2023-02-24 10:44:55 +00:00
|
|
|
info: info == _undefined || info == null
|
|
|
|
? _instance.info
|
|
|
|
: (info as Query$SystemIsUsingBinds$system$info),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2022-09-02 05:59:46 +00:00
|
|
|
CopyWith$Query$SystemIsUsingBinds$system$info<TRes> get info {
|
|
|
|
final local$info = _instance.info;
|
|
|
|
return CopyWith$Query$SystemIsUsingBinds$system$info(
|
|
|
|
local$info, (e) => call(info: e));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Query$SystemIsUsingBinds$system<TRes>
|
|
|
|
implements CopyWith$Query$SystemIsUsingBinds$system<TRes> {
|
|
|
|
_CopyWithStubImpl$Query$SystemIsUsingBinds$system(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
call({
|
|
|
|
Query$SystemIsUsingBinds$system$info? info,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
2022-09-02 05:59:46 +00:00
|
|
|
_res;
|
|
|
|
CopyWith$Query$SystemIsUsingBinds$system$info<TRes> get info =>
|
|
|
|
CopyWith$Query$SystemIsUsingBinds$system$info.stub(_res);
|
|
|
|
}
|
|
|
|
|
|
|
|
class Query$SystemIsUsingBinds$system$info {
|
2023-02-24 10:44:55 +00:00
|
|
|
Query$SystemIsUsingBinds$system$info({
|
|
|
|
required this.usingBinds,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'SystemInfo',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
2022-09-02 05:59:46 +00:00
|
|
|
|
|
|
|
factory Query$SystemIsUsingBinds$system$info.fromJson(
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> json) {
|
|
|
|
final l$usingBinds = json['usingBinds'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Query$SystemIsUsingBinds$system$info(
|
|
|
|
usingBinds: (l$usingBinds as bool),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-09-02 05:59:46 +00:00
|
|
|
|
|
|
|
final bool usingBinds;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$usingBinds = usingBinds;
|
|
|
|
_resultData['usingBinds'] = l$usingBinds;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
_resultData['__typename'] = l$$__typename;
|
|
|
|
return _resultData;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
2022-09-02 05:59:46 +00:00
|
|
|
int get hashCode {
|
|
|
|
final l$usingBinds = usingBinds;
|
|
|
|
final l$$__typename = $__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
|
|
|
l$usingBinds,
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
2022-09-02 05:59:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
2023-02-24 10:44:55 +00:00
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
2022-09-02 05:59:46 +00:00
|
|
|
if (!(other is Query$SystemIsUsingBinds$system$info) ||
|
2023-02-24 10:44:55 +00:00
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-09-02 05:59:46 +00:00
|
|
|
final l$usingBinds = usingBinds;
|
|
|
|
final lOther$usingBinds = other.usingBinds;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$usingBinds != lOther$usingBinds) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-09-02 05:59:46 +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-09-02 05:59:46 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Query$SystemIsUsingBinds$system$info
|
|
|
|
on Query$SystemIsUsingBinds$system$info {
|
|
|
|
CopyWith$Query$SystemIsUsingBinds$system$info<
|
|
|
|
Query$SystemIsUsingBinds$system$info>
|
2023-02-24 10:44:55 +00:00
|
|
|
get copyWith => CopyWith$Query$SystemIsUsingBinds$system$info(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-09-02 05:59:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Query$SystemIsUsingBinds$system$info<TRes> {
|
|
|
|
factory CopyWith$Query$SystemIsUsingBinds$system$info(
|
2023-02-24 10:44:55 +00:00
|
|
|
Query$SystemIsUsingBinds$system$info instance,
|
|
|
|
TRes Function(Query$SystemIsUsingBinds$system$info) then,
|
|
|
|
) = _CopyWithImpl$Query$SystemIsUsingBinds$system$info;
|
2022-09-02 05:59:46 +00:00
|
|
|
|
|
|
|
factory CopyWith$Query$SystemIsUsingBinds$system$info.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Query$SystemIsUsingBinds$system$info;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
bool? usingBinds,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
2022-09-02 05:59:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Query$SystemIsUsingBinds$system$info<TRes>
|
|
|
|
implements CopyWith$Query$SystemIsUsingBinds$system$info<TRes> {
|
|
|
|
_CopyWithImpl$Query$SystemIsUsingBinds$system$info(
|
2023-02-24 10:44:55 +00:00
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-09-02 05:59:46 +00:00
|
|
|
|
|
|
|
final Query$SystemIsUsingBinds$system$info _instance;
|
|
|
|
|
|
|
|
final TRes Function(Query$SystemIsUsingBinds$system$info) _then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2022-09-02 05:59:46 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Object? usingBinds = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-09-02 05:59:46 +00:00
|
|
|
_then(Query$SystemIsUsingBinds$system$info(
|
2023-02-24 10:44:55 +00:00
|
|
|
usingBinds: usingBinds == _undefined || usingBinds == null
|
|
|
|
? _instance.usingBinds
|
|
|
|
: (usingBinds as bool),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2022-09-02 05:59:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Query$SystemIsUsingBinds$system$info<TRes>
|
|
|
|
implements CopyWith$Query$SystemIsUsingBinds$system$info<TRes> {
|
|
|
|
_CopyWithStubImpl$Query$SystemIsUsingBinds$system$info(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
call({
|
|
|
|
bool? usingBinds,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
|
|
|
_res;
|
2022-09-02 05:59:46 +00:00
|
|
|
}
|
|
|
|
|
2022-08-24 05:35:49 +00:00
|
|
|
class Query$DomainInfo {
|
2023-02-24 10:44:55 +00:00
|
|
|
Query$DomainInfo({
|
|
|
|
required this.system,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'Query',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
factory Query$DomainInfo.fromJson(Map<String, dynamic> json) {
|
|
|
|
final l$system = json['system'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Query$DomainInfo(
|
|
|
|
system:
|
|
|
|
Query$DomainInfo$system.fromJson((l$system as Map<String, dynamic>)),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final Query$DomainInfo$system system;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$system = system;
|
|
|
|
_resultData['system'] = l$system.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$system = system;
|
|
|
|
final l$$__typename = $__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
|
|
|
l$system,
|
|
|
|
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$DomainInfo) || 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$system = system;
|
|
|
|
final lOther$system = other.system;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$system != lOther$system) {
|
|
|
|
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$DomainInfo on Query$DomainInfo {
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Query$DomainInfo<Query$DomainInfo> get copyWith =>
|
2023-02-24 10:44:55 +00:00
|
|
|
CopyWith$Query$DomainInfo(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Query$DomainInfo<TRes> {
|
|
|
|
factory CopyWith$Query$DomainInfo(
|
2023-02-24 10:44:55 +00:00
|
|
|
Query$DomainInfo instance,
|
|
|
|
TRes Function(Query$DomainInfo) then,
|
|
|
|
) = _CopyWithImpl$Query$DomainInfo;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Query$DomainInfo.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Query$DomainInfo;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Query$DomainInfo$system? system,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Query$DomainInfo$system<TRes> get system;
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Query$DomainInfo<TRes>
|
|
|
|
implements CopyWith$Query$DomainInfo<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
_CopyWithImpl$Query$DomainInfo(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Query$DomainInfo _instance;
|
|
|
|
|
|
|
|
final TRes Function(Query$DomainInfo) _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? system = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Query$DomainInfo(
|
2023-02-24 10:44:55 +00:00
|
|
|
system: system == _undefined || system == null
|
|
|
|
? _instance.system
|
|
|
|
: (system as Query$DomainInfo$system),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Query$DomainInfo$system<TRes> get system {
|
|
|
|
final local$system = _instance.system;
|
|
|
|
return CopyWith$Query$DomainInfo$system(
|
|
|
|
local$system, (e) => call(system: e));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Query$DomainInfo<TRes>
|
|
|
|
implements CopyWith$Query$DomainInfo<TRes> {
|
|
|
|
_CopyWithStubImpl$Query$DomainInfo(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
call({
|
|
|
|
Query$DomainInfo$system? system,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
|
|
|
_res;
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Query$DomainInfo$system<TRes> get system =>
|
|
|
|
CopyWith$Query$DomainInfo$system.stub(_res);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
const documentNodeQueryDomainInfo = DocumentNode(definitions: [
|
|
|
|
OperationDefinitionNode(
|
2023-02-24 10:44:55 +00:00
|
|
|
type: OperationType.query,
|
|
|
|
name: NameNode(value: 'DomainInfo'),
|
|
|
|
variableDefinitions: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'system'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'domainInfo'),
|
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: 'domain'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'hostname'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'provider'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'requiredDnsRecords'),
|
|
|
|
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,
|
|
|
|
),
|
|
|
|
]),
|
|
|
|
),
|
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$DomainInfo _parserFn$Query$DomainInfo(Map<String, dynamic> data) =>
|
|
|
|
Query$DomainInfo.fromJson(data);
|
2023-05-30 17:25:46 +00:00
|
|
|
typedef OnQueryComplete$Query$DomainInfo = FutureOr<void> Function(
|
|
|
|
Map<String, dynamic>?,
|
|
|
|
Query$DomainInfo?,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
class Options$Query$DomainInfo extends graphql.QueryOptions<Query$DomainInfo> {
|
2023-02-24 10:44:55 +00:00
|
|
|
Options$Query$DomainInfo({
|
|
|
|
String? operationName,
|
|
|
|
graphql.FetchPolicy? fetchPolicy,
|
|
|
|
graphql.ErrorPolicy? errorPolicy,
|
|
|
|
graphql.CacheRereadPolicy? cacheRereadPolicy,
|
|
|
|
Object? optimisticResult,
|
2023-05-30 17:25:46 +00:00
|
|
|
Query$DomainInfo? typedOptimisticResult,
|
2023-02-24 10:44:55 +00:00
|
|
|
Duration? pollInterval,
|
|
|
|
graphql.Context? context,
|
2023-05-30 17:25:46 +00:00
|
|
|
OnQueryComplete$Query$DomainInfo? 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$DomainInfo(data),
|
|
|
|
),
|
|
|
|
onError: onError,
|
2023-02-24 10:44:55 +00:00
|
|
|
document: documentNodeQueryDomainInfo,
|
|
|
|
parserFn: _parserFn$Query$DomainInfo,
|
|
|
|
);
|
2023-05-30 17:25:46 +00:00
|
|
|
|
|
|
|
final OnQueryComplete$Query$DomainInfo? 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$DomainInfo
|
|
|
|
extends graphql.WatchQueryOptions<Query$DomainInfo> {
|
2023-02-24 10:44:55 +00:00
|
|
|
WatchOptions$Query$DomainInfo({
|
|
|
|
String? operationName,
|
|
|
|
graphql.FetchPolicy? fetchPolicy,
|
|
|
|
graphql.ErrorPolicy? errorPolicy,
|
|
|
|
graphql.CacheRereadPolicy? cacheRereadPolicy,
|
|
|
|
Object? optimisticResult,
|
2023-05-30 17:25:46 +00:00
|
|
|
Query$DomainInfo? 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: documentNodeQueryDomainInfo,
|
|
|
|
pollInterval: pollInterval,
|
|
|
|
eagerlyFetchResults: eagerlyFetchResults,
|
|
|
|
carryForwardDataOnException: carryForwardDataOnException,
|
|
|
|
fetchResults: fetchResults,
|
|
|
|
parserFn: _parserFn$Query$DomainInfo,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class FetchMoreOptions$Query$DomainInfo extends graphql.FetchMoreOptions {
|
|
|
|
FetchMoreOptions$Query$DomainInfo({required graphql.UpdateQuery updateQuery})
|
2023-02-24 10:44:55 +00:00
|
|
|
: super(
|
|
|
|
updateQuery: updateQuery,
|
|
|
|
document: documentNodeQueryDomainInfo,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
extension ClientExtension$Query$DomainInfo on graphql.GraphQLClient {
|
|
|
|
Future<graphql.QueryResult<Query$DomainInfo>> query$DomainInfo(
|
|
|
|
[Options$Query$DomainInfo? options]) async =>
|
|
|
|
await this.query(options ?? Options$Query$DomainInfo());
|
|
|
|
graphql.ObservableQuery<Query$DomainInfo> watchQuery$DomainInfo(
|
|
|
|
[WatchOptions$Query$DomainInfo? options]) =>
|
|
|
|
this.watchQuery(options ?? WatchOptions$Query$DomainInfo());
|
2023-02-24 10:44:55 +00:00
|
|
|
void writeQuery$DomainInfo({
|
|
|
|
required Query$DomainInfo data,
|
|
|
|
bool broadcast = true,
|
|
|
|
}) =>
|
2022-08-24 05:35:49 +00:00
|
|
|
this.writeQuery(
|
|
|
|
graphql.Request(
|
|
|
|
operation:
|
|
|
|
graphql.Operation(document: documentNodeQueryDomainInfo)),
|
2023-02-24 10:44:55 +00:00
|
|
|
data: data.toJson(),
|
|
|
|
broadcast: broadcast,
|
|
|
|
);
|
|
|
|
Query$DomainInfo? readQuery$DomainInfo({bool optimistic = true}) {
|
|
|
|
final result = this.readQuery(
|
|
|
|
graphql.Request(
|
|
|
|
operation: graphql.Operation(document: documentNodeQueryDomainInfo)),
|
|
|
|
optimistic: optimistic,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
return result == null ? null : Query$DomainInfo.fromJson(result);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class Query$DomainInfo$system {
|
2023-02-24 10:44:55 +00:00
|
|
|
Query$DomainInfo$system({
|
|
|
|
required this.domainInfo,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'System',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
factory Query$DomainInfo$system.fromJson(Map<String, dynamic> json) {
|
|
|
|
final l$domainInfo = json['domainInfo'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Query$DomainInfo$system(
|
|
|
|
domainInfo: Query$DomainInfo$system$domainInfo.fromJson(
|
|
|
|
(l$domainInfo as Map<String, dynamic>)),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final Query$DomainInfo$system$domainInfo domainInfo;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$domainInfo = domainInfo;
|
|
|
|
_resultData['domainInfo'] = l$domainInfo.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$domainInfo = domainInfo;
|
|
|
|
final l$$__typename = $__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
|
|
|
l$domainInfo,
|
|
|
|
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$DomainInfo$system) ||
|
|
|
|
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$domainInfo = domainInfo;
|
|
|
|
final lOther$domainInfo = other.domainInfo;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$domainInfo != lOther$domainInfo) {
|
|
|
|
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$DomainInfo$system on Query$DomainInfo$system {
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Query$DomainInfo$system<Query$DomainInfo$system> get copyWith =>
|
2023-02-24 10:44:55 +00:00
|
|
|
CopyWith$Query$DomainInfo$system(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Query$DomainInfo$system<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
factory CopyWith$Query$DomainInfo$system(
|
|
|
|
Query$DomainInfo$system instance,
|
|
|
|
TRes Function(Query$DomainInfo$system) then,
|
|
|
|
) = _CopyWithImpl$Query$DomainInfo$system;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Query$DomainInfo$system.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Query$DomainInfo$system;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Query$DomainInfo$system$domainInfo? domainInfo,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Query$DomainInfo$system$domainInfo<TRes> get domainInfo;
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Query$DomainInfo$system<TRes>
|
|
|
|
implements CopyWith$Query$DomainInfo$system<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
_CopyWithImpl$Query$DomainInfo$system(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Query$DomainInfo$system _instance;
|
|
|
|
|
|
|
|
final TRes Function(Query$DomainInfo$system) _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? domainInfo = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Query$DomainInfo$system(
|
2023-02-24 10:44:55 +00:00
|
|
|
domainInfo: domainInfo == _undefined || domainInfo == null
|
|
|
|
? _instance.domainInfo
|
|
|
|
: (domainInfo as Query$DomainInfo$system$domainInfo),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Query$DomainInfo$system$domainInfo<TRes> get domainInfo {
|
|
|
|
final local$domainInfo = _instance.domainInfo;
|
|
|
|
return CopyWith$Query$DomainInfo$system$domainInfo(
|
|
|
|
local$domainInfo, (e) => call(domainInfo: e));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Query$DomainInfo$system<TRes>
|
|
|
|
implements CopyWith$Query$DomainInfo$system<TRes> {
|
|
|
|
_CopyWithStubImpl$Query$DomainInfo$system(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
call({
|
|
|
|
Query$DomainInfo$system$domainInfo? domainInfo,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_res;
|
|
|
|
CopyWith$Query$DomainInfo$system$domainInfo<TRes> get domainInfo =>
|
|
|
|
CopyWith$Query$DomainInfo$system$domainInfo.stub(_res);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class Query$DomainInfo$system$domainInfo {
|
2023-02-24 10:44:55 +00:00
|
|
|
Query$DomainInfo$system$domainInfo({
|
|
|
|
required this.domain,
|
|
|
|
required this.hostname,
|
|
|
|
required this.provider,
|
|
|
|
required this.requiredDnsRecords,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'SystemDomainInfo',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
factory Query$DomainInfo$system$domainInfo.fromJson(
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> json) {
|
|
|
|
final l$domain = json['domain'];
|
|
|
|
final l$hostname = json['hostname'];
|
|
|
|
final l$provider = json['provider'];
|
|
|
|
final l$requiredDnsRecords = json['requiredDnsRecords'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Query$DomainInfo$system$domainInfo(
|
|
|
|
domain: (l$domain as String),
|
|
|
|
hostname: (l$hostname as String),
|
|
|
|
provider: fromJson$Enum$DnsProvider((l$provider as String)),
|
|
|
|
requiredDnsRecords: (l$requiredDnsRecords 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(),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final String domain;
|
|
|
|
|
|
|
|
final String hostname;
|
|
|
|
|
|
|
|
final Enum$DnsProvider provider;
|
|
|
|
|
2023-06-23 02:22:48 +00:00
|
|
|
final List<Fragment$fragmentDnsRecords> requiredDnsRecords;
|
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>{};
|
|
|
|
final l$domain = domain;
|
|
|
|
_resultData['domain'] = l$domain;
|
|
|
|
final l$hostname = hostname;
|
|
|
|
_resultData['hostname'] = l$hostname;
|
|
|
|
final l$provider = provider;
|
|
|
|
_resultData['provider'] = toJson$Enum$DnsProvider(l$provider);
|
|
|
|
final l$requiredDnsRecords = requiredDnsRecords;
|
|
|
|
_resultData['requiredDnsRecords'] =
|
|
|
|
l$requiredDnsRecords.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$domain = domain;
|
|
|
|
final l$hostname = hostname;
|
|
|
|
final l$provider = provider;
|
|
|
|
final l$requiredDnsRecords = requiredDnsRecords;
|
|
|
|
final l$$__typename = $__typename;
|
|
|
|
return Object.hashAll([
|
|
|
|
l$domain,
|
|
|
|
l$hostname,
|
|
|
|
l$provider,
|
|
|
|
Object.hashAll(l$requiredDnsRecords.map((v) => v)),
|
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$DomainInfo$system$domainInfo) ||
|
2023-02-24 10:44:55 +00:00
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$domain = domain;
|
|
|
|
final lOther$domain = other.domain;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$domain != lOther$domain) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$hostname = hostname;
|
|
|
|
final lOther$hostname = other.hostname;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$hostname != lOther$hostname) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$provider = provider;
|
|
|
|
final lOther$provider = other.provider;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$provider != lOther$provider) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$requiredDnsRecords = requiredDnsRecords;
|
|
|
|
final lOther$requiredDnsRecords = other.requiredDnsRecords;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$requiredDnsRecords.length != lOther$requiredDnsRecords.length) {
|
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
|
|
|
for (int i = 0; i < l$requiredDnsRecords.length; i++) {
|
|
|
|
final l$requiredDnsRecords$entry = l$requiredDnsRecords[i];
|
|
|
|
final lOther$requiredDnsRecords$entry = lOther$requiredDnsRecords[i];
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$requiredDnsRecords$entry != lOther$requiredDnsRecords$entry) {
|
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$$__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$DomainInfo$system$domainInfo
|
|
|
|
on Query$DomainInfo$system$domainInfo {
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Query$DomainInfo$system$domainInfo<
|
|
|
|
Query$DomainInfo$system$domainInfo>
|
2023-02-24 10:44:55 +00:00
|
|
|
get copyWith => CopyWith$Query$DomainInfo$system$domainInfo(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Query$DomainInfo$system$domainInfo<TRes> {
|
|
|
|
factory CopyWith$Query$DomainInfo$system$domainInfo(
|
2023-02-24 10:44:55 +00:00
|
|
|
Query$DomainInfo$system$domainInfo instance,
|
|
|
|
TRes Function(Query$DomainInfo$system$domainInfo) then,
|
|
|
|
) = _CopyWithImpl$Query$DomainInfo$system$domainInfo;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Query$DomainInfo$system$domainInfo.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Query$DomainInfo$system$domainInfo;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
String? domain,
|
|
|
|
String? hostname,
|
|
|
|
Enum$DnsProvider? provider,
|
2023-06-23 02:22:48 +00:00
|
|
|
List<Fragment$fragmentDnsRecords>? requiredDnsRecords,
|
2023-02-24 10:44:55 +00:00
|
|
|
String? $__typename,
|
|
|
|
});
|
2022-08-29 18:18:07 +00:00
|
|
|
TRes requiredDnsRecords(
|
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);
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Query$DomainInfo$system$domainInfo<TRes>
|
|
|
|
implements CopyWith$Query$DomainInfo$system$domainInfo<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
_CopyWithImpl$Query$DomainInfo$system$domainInfo(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Query$DomainInfo$system$domainInfo _instance;
|
|
|
|
|
|
|
|
final TRes Function(Query$DomainInfo$system$domainInfo) _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? domain = _undefined,
|
|
|
|
Object? hostname = _undefined,
|
|
|
|
Object? provider = _undefined,
|
|
|
|
Object? requiredDnsRecords = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Query$DomainInfo$system$domainInfo(
|
2023-02-24 10:44:55 +00:00
|
|
|
domain: domain == _undefined || domain == null
|
|
|
|
? _instance.domain
|
|
|
|
: (domain as String),
|
|
|
|
hostname: hostname == _undefined || hostname == null
|
|
|
|
? _instance.hostname
|
|
|
|
: (hostname as String),
|
|
|
|
provider: provider == _undefined || provider == null
|
|
|
|
? _instance.provider
|
|
|
|
: (provider as Enum$DnsProvider),
|
|
|
|
requiredDnsRecords:
|
|
|
|
requiredDnsRecords == _undefined || requiredDnsRecords == null
|
|
|
|
? _instance.requiredDnsRecords
|
2023-06-23 02:22:48 +00:00
|
|
|
: (requiredDnsRecords as List<Fragment$fragmentDnsRecords>),
|
2023-02-24 10:44:55 +00:00
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2022-08-29 18:18:07 +00:00
|
|
|
TRes requiredDnsRecords(
|
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
|
|
|
requiredDnsRecords: _fn(_instance.requiredDnsRecords
|
2023-06-23 02:22:48 +00:00
|
|
|
.map((e) => CopyWith$Fragment$fragmentDnsRecords(
|
2023-02-24 10:44:55 +00:00
|
|
|
e,
|
|
|
|
(i) => i,
|
|
|
|
))).toList());
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Query$DomainInfo$system$domainInfo<TRes>
|
|
|
|
implements CopyWith$Query$DomainInfo$system$domainInfo<TRes> {
|
|
|
|
_CopyWithStubImpl$Query$DomainInfo$system$domainInfo(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
call({
|
|
|
|
String? domain,
|
|
|
|
String? hostname,
|
|
|
|
Enum$DnsProvider? provider,
|
2023-06-23 02:22:48 +00:00
|
|
|
List<Fragment$fragmentDnsRecords>? requiredDnsRecords,
|
2023-02-24 10:44:55 +00:00
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_res;
|
|
|
|
requiredDnsRecords(_fn) => _res;
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class Variables$Mutation$ChangeTimezone {
|
2023-02-24 10:44:55 +00:00
|
|
|
factory Variables$Mutation$ChangeTimezone({required String timezone}) =>
|
|
|
|
Variables$Mutation$ChangeTimezone._({
|
|
|
|
r'timezone': timezone,
|
|
|
|
});
|
|
|
|
|
|
|
|
Variables$Mutation$ChangeTimezone._(this._$data);
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
factory Variables$Mutation$ChangeTimezone.fromJson(
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> data) {
|
|
|
|
final result$data = <String, dynamic>{};
|
|
|
|
final l$timezone = data['timezone'];
|
|
|
|
result$data['timezone'] = (l$timezone as String);
|
|
|
|
return Variables$Mutation$ChangeTimezone._(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 timezone => (_$data['timezone'] as String);
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final result$data = <String, dynamic>{};
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$timezone = timezone;
|
2023-02-24 10:44:55 +00:00
|
|
|
result$data['timezone'] = l$timezone;
|
|
|
|
return result$data;
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
CopyWith$Variables$Mutation$ChangeTimezone<Variables$Mutation$ChangeTimezone>
|
|
|
|
get copyWith => CopyWith$Variables$Mutation$ChangeTimezone(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
2023-02-24 10:44:55 +00:00
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
if (!(other is Variables$Mutation$ChangeTimezone) ||
|
2023-02-24 10:44:55 +00:00
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$timezone = timezone;
|
|
|
|
final lOther$timezone = other.timezone;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$timezone != lOther$timezone) {
|
|
|
|
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$timezone = timezone;
|
|
|
|
return Object.hashAll([l$timezone]);
|
|
|
|
}
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Variables$Mutation$ChangeTimezone<TRes> {
|
|
|
|
factory CopyWith$Variables$Mutation$ChangeTimezone(
|
2023-02-24 10:44:55 +00:00
|
|
|
Variables$Mutation$ChangeTimezone instance,
|
|
|
|
TRes Function(Variables$Mutation$ChangeTimezone) then,
|
|
|
|
) = _CopyWithImpl$Variables$Mutation$ChangeTimezone;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Variables$Mutation$ChangeTimezone.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Variables$Mutation$ChangeTimezone;
|
|
|
|
|
|
|
|
TRes call({String? timezone});
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Variables$Mutation$ChangeTimezone<TRes>
|
|
|
|
implements CopyWith$Variables$Mutation$ChangeTimezone<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
_CopyWithImpl$Variables$Mutation$ChangeTimezone(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Variables$Mutation$ChangeTimezone _instance;
|
|
|
|
|
|
|
|
final TRes Function(Variables$Mutation$ChangeTimezone) _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? timezone = _undefined}) =>
|
2023-02-24 10:44:55 +00:00
|
|
|
_then(Variables$Mutation$ChangeTimezone._({
|
|
|
|
..._instance._$data,
|
|
|
|
if (timezone != _undefined && timezone != null)
|
|
|
|
'timezone': (timezone as String),
|
|
|
|
}));
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Variables$Mutation$ChangeTimezone<TRes>
|
|
|
|
implements CopyWith$Variables$Mutation$ChangeTimezone<TRes> {
|
|
|
|
_CopyWithStubImpl$Variables$Mutation$ChangeTimezone(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
|
|
|
call({String? timezone}) => _res;
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class Mutation$ChangeTimezone {
|
2023-02-24 10:44:55 +00:00
|
|
|
Mutation$ChangeTimezone({
|
|
|
|
required this.changeTimezone,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'Mutation',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
factory Mutation$ChangeTimezone.fromJson(Map<String, dynamic> json) {
|
|
|
|
final l$changeTimezone = json['changeTimezone'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Mutation$ChangeTimezone(
|
|
|
|
changeTimezone: Mutation$ChangeTimezone$changeTimezone.fromJson(
|
|
|
|
(l$changeTimezone as Map<String, dynamic>)),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final Mutation$ChangeTimezone$changeTimezone changeTimezone;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$changeTimezone = changeTimezone;
|
|
|
|
_resultData['changeTimezone'] = l$changeTimezone.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$changeTimezone = changeTimezone;
|
|
|
|
final l$$__typename = $__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
|
|
|
l$changeTimezone,
|
|
|
|
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$ChangeTimezone) ||
|
|
|
|
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$changeTimezone = changeTimezone;
|
|
|
|
final lOther$changeTimezone = other.changeTimezone;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$changeTimezone != lOther$changeTimezone) {
|
|
|
|
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$ChangeTimezone on Mutation$ChangeTimezone {
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Mutation$ChangeTimezone<Mutation$ChangeTimezone> get copyWith =>
|
2023-02-24 10:44:55 +00:00
|
|
|
CopyWith$Mutation$ChangeTimezone(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Mutation$ChangeTimezone<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
factory CopyWith$Mutation$ChangeTimezone(
|
|
|
|
Mutation$ChangeTimezone instance,
|
|
|
|
TRes Function(Mutation$ChangeTimezone) then,
|
|
|
|
) = _CopyWithImpl$Mutation$ChangeTimezone;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Mutation$ChangeTimezone.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Mutation$ChangeTimezone;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Mutation$ChangeTimezone$changeTimezone? changeTimezone,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Mutation$ChangeTimezone$changeTimezone<TRes> get changeTimezone;
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Mutation$ChangeTimezone<TRes>
|
|
|
|
implements CopyWith$Mutation$ChangeTimezone<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
_CopyWithImpl$Mutation$ChangeTimezone(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Mutation$ChangeTimezone _instance;
|
|
|
|
|
|
|
|
final TRes Function(Mutation$ChangeTimezone) _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? changeTimezone = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Mutation$ChangeTimezone(
|
2023-02-24 10:44:55 +00:00
|
|
|
changeTimezone: changeTimezone == _undefined || changeTimezone == null
|
|
|
|
? _instance.changeTimezone
|
|
|
|
: (changeTimezone as Mutation$ChangeTimezone$changeTimezone),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Mutation$ChangeTimezone$changeTimezone<TRes> get changeTimezone {
|
|
|
|
final local$changeTimezone = _instance.changeTimezone;
|
|
|
|
return CopyWith$Mutation$ChangeTimezone$changeTimezone(
|
|
|
|
local$changeTimezone, (e) => call(changeTimezone: e));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Mutation$ChangeTimezone<TRes>
|
|
|
|
implements CopyWith$Mutation$ChangeTimezone<TRes> {
|
|
|
|
_CopyWithStubImpl$Mutation$ChangeTimezone(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
call({
|
|
|
|
Mutation$ChangeTimezone$changeTimezone? changeTimezone,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_res;
|
|
|
|
CopyWith$Mutation$ChangeTimezone$changeTimezone<TRes> get changeTimezone =>
|
|
|
|
CopyWith$Mutation$ChangeTimezone$changeTimezone.stub(_res);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
const documentNodeMutationChangeTimezone = DocumentNode(definitions: [
|
|
|
|
OperationDefinitionNode(
|
2023-02-24 10:44:55 +00:00
|
|
|
type: OperationType.mutation,
|
|
|
|
name: NameNode(value: 'ChangeTimezone'),
|
|
|
|
variableDefinitions: [
|
|
|
|
VariableDefinitionNode(
|
|
|
|
variable: VariableNode(name: NameNode(value: 'timezone')),
|
|
|
|
type: NamedTypeNode(
|
|
|
|
name: NameNode(value: 'String'),
|
|
|
|
isNonNull: true,
|
|
|
|
),
|
|
|
|
defaultValue: DefaultValueNode(value: null),
|
|
|
|
directives: [],
|
|
|
|
)
|
|
|
|
],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'changeTimezone'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [
|
|
|
|
ArgumentNode(
|
|
|
|
name: NameNode(value: 'timezone'),
|
|
|
|
value: VariableNode(name: NameNode(value: 'timezone')),
|
|
|
|
)
|
|
|
|
],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FragmentSpreadNode(
|
|
|
|
name: NameNode(value: 'basicMutationReturnFields'),
|
|
|
|
directives: [],
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'timezone'),
|
2022-08-24 05:35:49 +00:00
|
|
|
alias: null,
|
2023-02-24 10:44:55 +00:00
|
|
|
arguments: [],
|
2022-08-24 05:35:49 +00:00
|
|
|
directives: [],
|
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,
|
|
|
|
),
|
|
|
|
]),
|
|
|
|
),
|
2022-08-24 05:35:49 +00:00
|
|
|
fragmentDefinitionbasicMutationReturnFields,
|
|
|
|
]);
|
|
|
|
Mutation$ChangeTimezone _parserFn$Mutation$ChangeTimezone(
|
|
|
|
Map<String, dynamic> data) =>
|
|
|
|
Mutation$ChangeTimezone.fromJson(data);
|
|
|
|
typedef OnMutationCompleted$Mutation$ChangeTimezone = FutureOr<void> Function(
|
2023-05-30 17:25:46 +00:00
|
|
|
Map<String, dynamic>?,
|
2023-02-24 10:44:55 +00:00
|
|
|
Mutation$ChangeTimezone?,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
class Options$Mutation$ChangeTimezone
|
|
|
|
extends graphql.MutationOptions<Mutation$ChangeTimezone> {
|
2023-02-24 10:44:55 +00:00
|
|
|
Options$Mutation$ChangeTimezone({
|
|
|
|
String? operationName,
|
|
|
|
required Variables$Mutation$ChangeTimezone variables,
|
|
|
|
graphql.FetchPolicy? fetchPolicy,
|
|
|
|
graphql.ErrorPolicy? errorPolicy,
|
|
|
|
graphql.CacheRereadPolicy? cacheRereadPolicy,
|
|
|
|
Object? optimisticResult,
|
2023-05-30 17:25:46 +00:00
|
|
|
Mutation$ChangeTimezone? typedOptimisticResult,
|
2023-02-24 10:44:55 +00:00
|
|
|
graphql.Context? context,
|
|
|
|
OnMutationCompleted$Mutation$ChangeTimezone? onCompleted,
|
|
|
|
graphql.OnMutationUpdate<Mutation$ChangeTimezone>? 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$ChangeTimezone(data),
|
|
|
|
),
|
|
|
|
update: update,
|
|
|
|
onError: onError,
|
|
|
|
document: documentNodeMutationChangeTimezone,
|
|
|
|
parserFn: _parserFn$Mutation$ChangeTimezone,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final OnMutationCompleted$Mutation$ChangeTimezone? 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$ChangeTimezone
|
|
|
|
extends graphql.WatchQueryOptions<Mutation$ChangeTimezone> {
|
2023-02-24 10:44:55 +00:00
|
|
|
WatchOptions$Mutation$ChangeTimezone({
|
|
|
|
String? operationName,
|
|
|
|
required Variables$Mutation$ChangeTimezone variables,
|
|
|
|
graphql.FetchPolicy? fetchPolicy,
|
|
|
|
graphql.ErrorPolicy? errorPolicy,
|
|
|
|
graphql.CacheRereadPolicy? cacheRereadPolicy,
|
|
|
|
Object? optimisticResult,
|
2023-05-30 17:25:46 +00:00
|
|
|
Mutation$ChangeTimezone? 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: documentNodeMutationChangeTimezone,
|
|
|
|
pollInterval: pollInterval,
|
|
|
|
eagerlyFetchResults: eagerlyFetchResults,
|
|
|
|
carryForwardDataOnException: carryForwardDataOnException,
|
|
|
|
fetchResults: fetchResults,
|
|
|
|
parserFn: _parserFn$Mutation$ChangeTimezone,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
extension ClientExtension$Mutation$ChangeTimezone on graphql.GraphQLClient {
|
|
|
|
Future<graphql.QueryResult<Mutation$ChangeTimezone>> mutate$ChangeTimezone(
|
|
|
|
Options$Mutation$ChangeTimezone options) async =>
|
|
|
|
await this.mutate(options);
|
|
|
|
graphql.ObservableQuery<Mutation$ChangeTimezone> watchMutation$ChangeTimezone(
|
|
|
|
WatchOptions$Mutation$ChangeTimezone options) =>
|
|
|
|
this.watchMutation(options);
|
|
|
|
}
|
|
|
|
|
|
|
|
class Mutation$ChangeTimezone$changeTimezone
|
2023-02-24 10:44:55 +00:00
|
|
|
implements Fragment$basicMutationReturnFields$$TimezoneMutationReturn {
|
|
|
|
Mutation$ChangeTimezone$changeTimezone({
|
|
|
|
required this.code,
|
|
|
|
required this.message,
|
|
|
|
required this.success,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'TimezoneMutationReturn',
|
2023-02-24 10:44:55 +00:00
|
|
|
this.timezone,
|
|
|
|
});
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
factory Mutation$ChangeTimezone$changeTimezone.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'];
|
|
|
|
final l$timezone = json['timezone'];
|
|
|
|
return Mutation$ChangeTimezone$changeTimezone(
|
|
|
|
code: (l$code as int),
|
|
|
|
message: (l$message as String),
|
|
|
|
success: (l$success as bool),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
timezone: (l$timezone as String?),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final int code;
|
|
|
|
|
|
|
|
final String message;
|
|
|
|
|
|
|
|
final bool success;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
|
|
|
final String? timezone;
|
|
|
|
|
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$timezone = timezone;
|
|
|
|
_resultData['timezone'] = l$timezone;
|
|
|
|
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$timezone = timezone;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
|
|
|
l$code,
|
|
|
|
l$message,
|
|
|
|
l$success,
|
|
|
|
l$$__typename,
|
|
|
|
l$timezone,
|
|
|
|
]);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
2023-02-24 10:44:55 +00:00
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
if (!(other is Mutation$ChangeTimezone$changeTimezone) ||
|
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$timezone = timezone;
|
|
|
|
final lOther$timezone = other.timezone;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$timezone != lOther$timezone) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Mutation$ChangeTimezone$changeTimezone
|
|
|
|
on Mutation$ChangeTimezone$changeTimezone {
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Mutation$ChangeTimezone$changeTimezone<
|
|
|
|
Mutation$ChangeTimezone$changeTimezone>
|
2023-02-24 10:44:55 +00:00
|
|
|
get copyWith => CopyWith$Mutation$ChangeTimezone$changeTimezone(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Mutation$ChangeTimezone$changeTimezone<TRes> {
|
|
|
|
factory CopyWith$Mutation$ChangeTimezone$changeTimezone(
|
2023-02-24 10:44:55 +00:00
|
|
|
Mutation$ChangeTimezone$changeTimezone instance,
|
|
|
|
TRes Function(Mutation$ChangeTimezone$changeTimezone) then,
|
|
|
|
) = _CopyWithImpl$Mutation$ChangeTimezone$changeTimezone;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Mutation$ChangeTimezone$changeTimezone.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Mutation$ChangeTimezone$changeTimezone;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
String? timezone,
|
|
|
|
});
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Mutation$ChangeTimezone$changeTimezone<TRes>
|
|
|
|
implements CopyWith$Mutation$ChangeTimezone$changeTimezone<TRes> {
|
|
|
|
_CopyWithImpl$Mutation$ChangeTimezone$changeTimezone(
|
2023-02-24 10:44:55 +00:00
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Mutation$ChangeTimezone$changeTimezone _instance;
|
|
|
|
|
|
|
|
final TRes Function(Mutation$ChangeTimezone$changeTimezone) _then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Object? code = _undefined,
|
|
|
|
Object? message = _undefined,
|
|
|
|
Object? success = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
Object? timezone = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Mutation$ChangeTimezone$changeTimezone(
|
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),
|
|
|
|
timezone:
|
|
|
|
timezone == _undefined ? _instance.timezone : (timezone as String?),
|
|
|
|
));
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Mutation$ChangeTimezone$changeTimezone<TRes>
|
|
|
|
implements CopyWith$Mutation$ChangeTimezone$changeTimezone<TRes> {
|
|
|
|
_CopyWithStubImpl$Mutation$ChangeTimezone$changeTimezone(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
String? timezone,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_res;
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class Variables$Mutation$ChangeAutoUpgradeSettings {
|
2023-02-24 10:44:55 +00:00
|
|
|
factory Variables$Mutation$ChangeAutoUpgradeSettings(
|
|
|
|
{required Input$AutoUpgradeSettingsInput settings}) =>
|
|
|
|
Variables$Mutation$ChangeAutoUpgradeSettings._({
|
|
|
|
r'settings': settings,
|
|
|
|
});
|
|
|
|
|
|
|
|
Variables$Mutation$ChangeAutoUpgradeSettings._(this._$data);
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
factory Variables$Mutation$ChangeAutoUpgradeSettings.fromJson(
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> data) {
|
|
|
|
final result$data = <String, dynamic>{};
|
|
|
|
final l$settings = data['settings'];
|
|
|
|
result$data['settings'] = Input$AutoUpgradeSettingsInput.fromJson(
|
|
|
|
(l$settings as Map<String, dynamic>));
|
|
|
|
return Variables$Mutation$ChangeAutoUpgradeSettings._(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$AutoUpgradeSettingsInput get settings =>
|
|
|
|
(_$data['settings'] as Input$AutoUpgradeSettingsInput);
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final result$data = <String, dynamic>{};
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$settings = settings;
|
2023-02-24 10:44:55 +00:00
|
|
|
result$data['settings'] = l$settings.toJson();
|
|
|
|
return result$data;
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
CopyWith$Variables$Mutation$ChangeAutoUpgradeSettings<
|
|
|
|
Variables$Mutation$ChangeAutoUpgradeSettings>
|
|
|
|
get copyWith => CopyWith$Variables$Mutation$ChangeAutoUpgradeSettings(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
2023-02-24 10:44:55 +00:00
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
if (!(other is Variables$Mutation$ChangeAutoUpgradeSettings) ||
|
2023-02-24 10:44:55 +00:00
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$settings = settings;
|
|
|
|
final lOther$settings = other.settings;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$settings != lOther$settings) {
|
|
|
|
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$settings = settings;
|
|
|
|
return Object.hashAll([l$settings]);
|
|
|
|
}
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Variables$Mutation$ChangeAutoUpgradeSettings<TRes> {
|
|
|
|
factory CopyWith$Variables$Mutation$ChangeAutoUpgradeSettings(
|
2023-02-24 10:44:55 +00:00
|
|
|
Variables$Mutation$ChangeAutoUpgradeSettings instance,
|
|
|
|
TRes Function(Variables$Mutation$ChangeAutoUpgradeSettings) then,
|
|
|
|
) = _CopyWithImpl$Variables$Mutation$ChangeAutoUpgradeSettings;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Variables$Mutation$ChangeAutoUpgradeSettings.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Variables$Mutation$ChangeAutoUpgradeSettings;
|
|
|
|
|
|
|
|
TRes call({Input$AutoUpgradeSettingsInput? settings});
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Variables$Mutation$ChangeAutoUpgradeSettings<TRes>
|
|
|
|
implements CopyWith$Variables$Mutation$ChangeAutoUpgradeSettings<TRes> {
|
|
|
|
_CopyWithImpl$Variables$Mutation$ChangeAutoUpgradeSettings(
|
2023-02-24 10:44:55 +00:00
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Variables$Mutation$ChangeAutoUpgradeSettings _instance;
|
|
|
|
|
|
|
|
final TRes Function(Variables$Mutation$ChangeAutoUpgradeSettings) _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? settings = _undefined}) =>
|
2023-02-24 10:44:55 +00:00
|
|
|
_then(Variables$Mutation$ChangeAutoUpgradeSettings._({
|
|
|
|
..._instance._$data,
|
|
|
|
if (settings != _undefined && settings != null)
|
|
|
|
'settings': (settings as Input$AutoUpgradeSettingsInput),
|
|
|
|
}));
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Variables$Mutation$ChangeAutoUpgradeSettings<TRes>
|
|
|
|
implements CopyWith$Variables$Mutation$ChangeAutoUpgradeSettings<TRes> {
|
|
|
|
_CopyWithStubImpl$Variables$Mutation$ChangeAutoUpgradeSettings(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
|
|
|
call({Input$AutoUpgradeSettingsInput? settings}) => _res;
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class Mutation$ChangeAutoUpgradeSettings {
|
2023-02-24 10:44:55 +00:00
|
|
|
Mutation$ChangeAutoUpgradeSettings({
|
|
|
|
required this.changeAutoUpgradeSettings,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'Mutation',
|
2023-02-24 10:44:55 +00:00
|
|
|
});
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
factory Mutation$ChangeAutoUpgradeSettings.fromJson(
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> json) {
|
|
|
|
final l$changeAutoUpgradeSettings = json['changeAutoUpgradeSettings'];
|
|
|
|
final l$$__typename = json['__typename'];
|
|
|
|
return Mutation$ChangeAutoUpgradeSettings(
|
|
|
|
changeAutoUpgradeSettings:
|
|
|
|
Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings.fromJson(
|
|
|
|
(l$changeAutoUpgradeSettings as Map<String, dynamic>)),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings
|
|
|
|
changeAutoUpgradeSettings;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final _resultData = <String, dynamic>{};
|
|
|
|
final l$changeAutoUpgradeSettings = changeAutoUpgradeSettings;
|
|
|
|
_resultData['changeAutoUpgradeSettings'] =
|
|
|
|
l$changeAutoUpgradeSettings.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$changeAutoUpgradeSettings = changeAutoUpgradeSettings;
|
|
|
|
final l$$__typename = $__typename;
|
2023-02-24 10:44:55 +00:00
|
|
|
return Object.hashAll([
|
|
|
|
l$changeAutoUpgradeSettings,
|
|
|
|
l$$__typename,
|
|
|
|
]);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
2023-02-24 10:44:55 +00:00
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
if (!(other is Mutation$ChangeAutoUpgradeSettings) ||
|
2023-02-24 10:44:55 +00:00
|
|
|
runtimeType != other.runtimeType) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$changeAutoUpgradeSettings = changeAutoUpgradeSettings;
|
|
|
|
final lOther$changeAutoUpgradeSettings = other.changeAutoUpgradeSettings;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$changeAutoUpgradeSettings != lOther$changeAutoUpgradeSettings) {
|
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$$__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$ChangeAutoUpgradeSettings
|
|
|
|
on Mutation$ChangeAutoUpgradeSettings {
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Mutation$ChangeAutoUpgradeSettings<
|
|
|
|
Mutation$ChangeAutoUpgradeSettings>
|
2023-02-24 10:44:55 +00:00
|
|
|
get copyWith => CopyWith$Mutation$ChangeAutoUpgradeSettings(
|
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Mutation$ChangeAutoUpgradeSettings<TRes> {
|
|
|
|
factory CopyWith$Mutation$ChangeAutoUpgradeSettings(
|
2023-02-24 10:44:55 +00:00
|
|
|
Mutation$ChangeAutoUpgradeSettings instance,
|
|
|
|
TRes Function(Mutation$ChangeAutoUpgradeSettings) then,
|
|
|
|
) = _CopyWithImpl$Mutation$ChangeAutoUpgradeSettings;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Mutation$ChangeAutoUpgradeSettings.stub(TRes res) =
|
|
|
|
_CopyWithStubImpl$Mutation$ChangeAutoUpgradeSettings;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings?
|
|
|
|
changeAutoUpgradeSettings,
|
|
|
|
String? $__typename,
|
|
|
|
});
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings<TRes>
|
|
|
|
get changeAutoUpgradeSettings;
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Mutation$ChangeAutoUpgradeSettings<TRes>
|
|
|
|
implements CopyWith$Mutation$ChangeAutoUpgradeSettings<TRes> {
|
2023-02-24 10:44:55 +00:00
|
|
|
_CopyWithImpl$Mutation$ChangeAutoUpgradeSettings(
|
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Mutation$ChangeAutoUpgradeSettings _instance;
|
|
|
|
|
|
|
|
final TRes Function(Mutation$ChangeAutoUpgradeSettings) _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? changeAutoUpgradeSettings = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Mutation$ChangeAutoUpgradeSettings(
|
2023-02-24 10:44:55 +00:00
|
|
|
changeAutoUpgradeSettings: changeAutoUpgradeSettings == _undefined ||
|
|
|
|
changeAutoUpgradeSettings == null
|
|
|
|
? _instance.changeAutoUpgradeSettings
|
|
|
|
: (changeAutoUpgradeSettings
|
|
|
|
as Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings),
|
|
|
|
$__typename: $__typename == _undefined || $__typename == null
|
|
|
|
? _instance.$__typename
|
|
|
|
: ($__typename as String),
|
|
|
|
));
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings<TRes>
|
|
|
|
get changeAutoUpgradeSettings {
|
|
|
|
final local$changeAutoUpgradeSettings = _instance.changeAutoUpgradeSettings;
|
|
|
|
return CopyWith$Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings(
|
|
|
|
local$changeAutoUpgradeSettings,
|
|
|
|
(e) => call(changeAutoUpgradeSettings: e));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Mutation$ChangeAutoUpgradeSettings<TRes>
|
|
|
|
implements CopyWith$Mutation$ChangeAutoUpgradeSettings<TRes> {
|
|
|
|
_CopyWithStubImpl$Mutation$ChangeAutoUpgradeSettings(this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
call({
|
|
|
|
Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings?
|
|
|
|
changeAutoUpgradeSettings,
|
|
|
|
String? $__typename,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_res;
|
|
|
|
CopyWith$Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings<TRes>
|
|
|
|
get changeAutoUpgradeSettings =>
|
|
|
|
CopyWith$Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings
|
|
|
|
.stub(_res);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
const documentNodeMutationChangeAutoUpgradeSettings =
|
|
|
|
DocumentNode(definitions: [
|
|
|
|
OperationDefinitionNode(
|
2023-02-24 10:44:55 +00:00
|
|
|
type: OperationType.mutation,
|
|
|
|
name: NameNode(value: 'ChangeAutoUpgradeSettings'),
|
|
|
|
variableDefinitions: [
|
|
|
|
VariableDefinitionNode(
|
|
|
|
variable: VariableNode(name: NameNode(value: 'settings')),
|
|
|
|
type: NamedTypeNode(
|
|
|
|
name: NameNode(value: 'AutoUpgradeSettingsInput'),
|
|
|
|
isNonNull: true,
|
|
|
|
),
|
|
|
|
defaultValue: DefaultValueNode(value: null),
|
|
|
|
directives: [],
|
|
|
|
)
|
|
|
|
],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'changeAutoUpgradeSettings'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [
|
|
|
|
ArgumentNode(
|
|
|
|
name: NameNode(value: 'settings'),
|
|
|
|
value: VariableNode(name: NameNode(value: 'settings')),
|
|
|
|
)
|
|
|
|
],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: SelectionSetNode(selections: [
|
|
|
|
FragmentSpreadNode(
|
|
|
|
name: NameNode(value: 'basicMutationReturnFields'),
|
|
|
|
directives: [],
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'allowReboot'),
|
2022-08-24 05:35:49 +00:00
|
|
|
alias: null,
|
2023-02-24 10:44:55 +00:00
|
|
|
arguments: [],
|
2022-08-24 05:35:49 +00:00
|
|
|
directives: [],
|
2023-02-24 10:44:55 +00:00
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: 'enableAutoUpgrade'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
FieldNode(
|
2022-08-24 05:35:49 +00:00
|
|
|
name: NameNode(value: '__typename'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
2023-02-24 10:44:55 +00:00
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
]),
|
|
|
|
),
|
|
|
|
FieldNode(
|
|
|
|
name: NameNode(value: '__typename'),
|
|
|
|
alias: null,
|
|
|
|
arguments: [],
|
|
|
|
directives: [],
|
|
|
|
selectionSet: null,
|
|
|
|
),
|
|
|
|
]),
|
|
|
|
),
|
2022-08-24 05:35:49 +00:00
|
|
|
fragmentDefinitionbasicMutationReturnFields,
|
|
|
|
]);
|
|
|
|
Mutation$ChangeAutoUpgradeSettings _parserFn$Mutation$ChangeAutoUpgradeSettings(
|
|
|
|
Map<String, dynamic> data) =>
|
|
|
|
Mutation$ChangeAutoUpgradeSettings.fromJson(data);
|
|
|
|
typedef OnMutationCompleted$Mutation$ChangeAutoUpgradeSettings = FutureOr<void>
|
2023-02-24 10:44:55 +00:00
|
|
|
Function(
|
2023-05-30 17:25:46 +00:00
|
|
|
Map<String, dynamic>?,
|
2023-02-24 10:44:55 +00:00
|
|
|
Mutation$ChangeAutoUpgradeSettings?,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
class Options$Mutation$ChangeAutoUpgradeSettings
|
|
|
|
extends graphql.MutationOptions<Mutation$ChangeAutoUpgradeSettings> {
|
2023-02-24 10:44:55 +00:00
|
|
|
Options$Mutation$ChangeAutoUpgradeSettings({
|
|
|
|
String? operationName,
|
|
|
|
required Variables$Mutation$ChangeAutoUpgradeSettings variables,
|
|
|
|
graphql.FetchPolicy? fetchPolicy,
|
|
|
|
graphql.ErrorPolicy? errorPolicy,
|
|
|
|
graphql.CacheRereadPolicy? cacheRereadPolicy,
|
|
|
|
Object? optimisticResult,
|
2023-05-30 17:25:46 +00:00
|
|
|
Mutation$ChangeAutoUpgradeSettings? typedOptimisticResult,
|
2023-02-24 10:44:55 +00:00
|
|
|
graphql.Context? context,
|
|
|
|
OnMutationCompleted$Mutation$ChangeAutoUpgradeSettings? onCompleted,
|
|
|
|
graphql.OnMutationUpdate<Mutation$ChangeAutoUpgradeSettings>? 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$ChangeAutoUpgradeSettings(data),
|
|
|
|
),
|
|
|
|
update: update,
|
|
|
|
onError: onError,
|
|
|
|
document: documentNodeMutationChangeAutoUpgradeSettings,
|
|
|
|
parserFn: _parserFn$Mutation$ChangeAutoUpgradeSettings,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final OnMutationCompleted$Mutation$ChangeAutoUpgradeSettings?
|
|
|
|
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$ChangeAutoUpgradeSettings
|
|
|
|
extends graphql.WatchQueryOptions<Mutation$ChangeAutoUpgradeSettings> {
|
2023-02-24 10:44:55 +00:00
|
|
|
WatchOptions$Mutation$ChangeAutoUpgradeSettings({
|
|
|
|
String? operationName,
|
|
|
|
required Variables$Mutation$ChangeAutoUpgradeSettings variables,
|
|
|
|
graphql.FetchPolicy? fetchPolicy,
|
|
|
|
graphql.ErrorPolicy? errorPolicy,
|
|
|
|
graphql.CacheRereadPolicy? cacheRereadPolicy,
|
|
|
|
Object? optimisticResult,
|
2023-05-30 17:25:46 +00:00
|
|
|
Mutation$ChangeAutoUpgradeSettings? 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: documentNodeMutationChangeAutoUpgradeSettings,
|
|
|
|
pollInterval: pollInterval,
|
|
|
|
eagerlyFetchResults: eagerlyFetchResults,
|
|
|
|
carryForwardDataOnException: carryForwardDataOnException,
|
|
|
|
fetchResults: fetchResults,
|
|
|
|
parserFn: _parserFn$Mutation$ChangeAutoUpgradeSettings,
|
|
|
|
);
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
extension ClientExtension$Mutation$ChangeAutoUpgradeSettings
|
|
|
|
on graphql.GraphQLClient {
|
|
|
|
Future<graphql.QueryResult<Mutation$ChangeAutoUpgradeSettings>>
|
|
|
|
mutate$ChangeAutoUpgradeSettings(
|
|
|
|
Options$Mutation$ChangeAutoUpgradeSettings options) async =>
|
|
|
|
await this.mutate(options);
|
|
|
|
graphql.ObservableQuery<Mutation$ChangeAutoUpgradeSettings>
|
|
|
|
watchMutation$ChangeAutoUpgradeSettings(
|
|
|
|
WatchOptions$Mutation$ChangeAutoUpgradeSettings options) =>
|
|
|
|
this.watchMutation(options);
|
|
|
|
}
|
|
|
|
|
|
|
|
class Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings
|
2023-02-24 10:44:55 +00:00
|
|
|
implements
|
|
|
|
Fragment$basicMutationReturnFields$$AutoUpgradeSettingsMutationReturn {
|
|
|
|
Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings({
|
|
|
|
required this.code,
|
|
|
|
required this.message,
|
|
|
|
required this.success,
|
2023-05-30 17:25:46 +00:00
|
|
|
this.$__typename = 'AutoUpgradeSettingsMutationReturn',
|
2023-02-24 10:44:55 +00:00
|
|
|
required this.allowReboot,
|
|
|
|
required this.enableAutoUpgrade,
|
|
|
|
});
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
factory Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings.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'];
|
|
|
|
final l$allowReboot = json['allowReboot'];
|
|
|
|
final l$enableAutoUpgrade = json['enableAutoUpgrade'];
|
|
|
|
return Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings(
|
|
|
|
code: (l$code as int),
|
|
|
|
message: (l$message as String),
|
|
|
|
success: (l$success as bool),
|
|
|
|
$__typename: (l$$__typename as String),
|
|
|
|
allowReboot: (l$allowReboot as bool),
|
|
|
|
enableAutoUpgrade: (l$enableAutoUpgrade as bool),
|
|
|
|
);
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
final int code;
|
|
|
|
|
|
|
|
final String message;
|
|
|
|
|
|
|
|
final bool success;
|
|
|
|
|
|
|
|
final String $__typename;
|
|
|
|
|
|
|
|
final bool allowReboot;
|
|
|
|
|
|
|
|
final bool enableAutoUpgrade;
|
|
|
|
|
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$allowReboot = allowReboot;
|
|
|
|
_resultData['allowReboot'] = l$allowReboot;
|
|
|
|
final l$enableAutoUpgrade = enableAutoUpgrade;
|
|
|
|
_resultData['enableAutoUpgrade'] = l$enableAutoUpgrade;
|
|
|
|
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$allowReboot = allowReboot;
|
|
|
|
final l$enableAutoUpgrade = enableAutoUpgrade;
|
|
|
|
return Object.hashAll([
|
|
|
|
l$code,
|
|
|
|
l$message,
|
|
|
|
l$success,
|
|
|
|
l$$__typename,
|
|
|
|
l$allowReboot,
|
2023-02-24 10:44:55 +00:00
|
|
|
l$enableAutoUpgrade,
|
2022-08-24 05:35:49 +00:00
|
|
|
]);
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
2023-02-24 10:44:55 +00:00
|
|
|
if (identical(this, other)) {
|
|
|
|
return true;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
if (!(other
|
|
|
|
is Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings) ||
|
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$allowReboot = allowReboot;
|
|
|
|
final lOther$allowReboot = other.allowReboot;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$allowReboot != lOther$allowReboot) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
final l$enableAutoUpgrade = enableAutoUpgrade;
|
|
|
|
final lOther$enableAutoUpgrade = other.enableAutoUpgrade;
|
2023-02-24 10:44:55 +00:00
|
|
|
if (l$enableAutoUpgrade != lOther$enableAutoUpgrade) {
|
|
|
|
return false;
|
|
|
|
}
|
2022-08-24 05:35:49 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
extension UtilityExtension$Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings
|
|
|
|
on Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings {
|
2022-08-29 18:18:07 +00:00
|
|
|
CopyWith$Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings<
|
|
|
|
Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings>
|
|
|
|
get copyWith =>
|
|
|
|
CopyWith$Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings(
|
2023-02-24 10:44:55 +00:00
|
|
|
this,
|
|
|
|
(i) => i,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class CopyWith$Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings<
|
|
|
|
TRes> {
|
|
|
|
factory CopyWith$Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings(
|
2023-02-24 10:44:55 +00:00
|
|
|
Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings instance,
|
|
|
|
TRes Function(Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings)
|
|
|
|
then,
|
|
|
|
) = _CopyWithImpl$Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings;
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
factory CopyWith$Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings.stub(
|
|
|
|
TRes res) =
|
|
|
|
_CopyWithStubImpl$Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
bool? allowReboot,
|
|
|
|
bool? enableAutoUpgrade,
|
|
|
|
});
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithImpl$Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings<
|
|
|
|
TRes>
|
|
|
|
implements
|
|
|
|
CopyWith$Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings<
|
|
|
|
TRes> {
|
|
|
|
_CopyWithImpl$Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings(
|
2023-02-24 10:44:55 +00:00
|
|
|
this._instance,
|
|
|
|
this._then,
|
|
|
|
);
|
2022-08-29 18:18:07 +00:00
|
|
|
|
|
|
|
final Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings _instance;
|
|
|
|
|
|
|
|
final TRes Function(
|
|
|
|
Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings) _then;
|
|
|
|
|
2023-05-30 17:25:46 +00:00
|
|
|
static const _undefined = <dynamic, dynamic>{};
|
2022-08-29 18:18:07 +00:00
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
TRes call({
|
|
|
|
Object? code = _undefined,
|
|
|
|
Object? message = _undefined,
|
|
|
|
Object? success = _undefined,
|
|
|
|
Object? $__typename = _undefined,
|
|
|
|
Object? allowReboot = _undefined,
|
|
|
|
Object? enableAutoUpgrade = _undefined,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_then(Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings(
|
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),
|
|
|
|
allowReboot: allowReboot == _undefined || allowReboot == null
|
|
|
|
? _instance.allowReboot
|
|
|
|
: (allowReboot as bool),
|
|
|
|
enableAutoUpgrade:
|
|
|
|
enableAutoUpgrade == _undefined || enableAutoUpgrade == null
|
|
|
|
? _instance.enableAutoUpgrade
|
|
|
|
: (enableAutoUpgrade as bool),
|
|
|
|
));
|
2022-08-29 18:18:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class _CopyWithStubImpl$Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings<
|
|
|
|
TRes>
|
|
|
|
implements
|
|
|
|
CopyWith$Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings<
|
|
|
|
TRes> {
|
|
|
|
_CopyWithStubImpl$Mutation$ChangeAutoUpgradeSettings$changeAutoUpgradeSettings(
|
|
|
|
this._res);
|
|
|
|
|
|
|
|
TRes _res;
|
|
|
|
|
2023-02-24 10:44:55 +00:00
|
|
|
call({
|
|
|
|
int? code,
|
|
|
|
String? message,
|
|
|
|
bool? success,
|
|
|
|
String? $__typename,
|
|
|
|
bool? allowReboot,
|
|
|
|
bool? enableAutoUpgrade,
|
|
|
|
}) =>
|
2022-08-29 18:18:07 +00:00
|
|
|
_res;
|
2022-08-24 05:35:49 +00:00
|
|
|
}
|