mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-09 01:21:14 +00:00
feat(backups): Introduce read GraphQL nodes for backups
This commit is contained in:
parent
a5bb654a76
commit
13af7e5e1d
24
lib/logic/api_maps/graphql_maps/schema/backups.graphql
Normal file
24
lib/logic/api_maps/graphql_maps/schema/backups.graphql
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
query BackupConfiguration {
|
||||||
|
backup {
|
||||||
|
configuration {
|
||||||
|
autobackupPeriod
|
||||||
|
encryptionKey
|
||||||
|
isInitialized
|
||||||
|
locationId
|
||||||
|
locationName
|
||||||
|
provider
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
query AllBackupSnapshots {
|
||||||
|
backup {
|
||||||
|
allSnapshots {
|
||||||
|
...backupSnapshotFields
|
||||||
|
service {
|
||||||
|
displayName
|
||||||
|
id
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
1548
lib/logic/api_maps/graphql_maps/schema/backups.graphql.dart
Normal file
1548
lib/logic/api_maps/graphql_maps/schema/backups.graphql.dart
Normal file
File diff suppressed because it is too large
Load diff
|
@ -27,6 +27,10 @@ class Fragment$basicMutationReturnFields {
|
||||||
return Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn
|
return Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn
|
||||||
.fromJson(json);
|
.fromJson(json);
|
||||||
|
|
||||||
|
case "GenericBackupConfigReturn":
|
||||||
|
return Fragment$basicMutationReturnFields$$GenericBackupConfigReturn
|
||||||
|
.fromJson(json);
|
||||||
|
|
||||||
case "GenericJobButationReturn":
|
case "GenericJobButationReturn":
|
||||||
return Fragment$basicMutationReturnFields$$GenericJobButationReturn
|
return Fragment$basicMutationReturnFields$$GenericJobButationReturn
|
||||||
.fromJson(json);
|
.fromJson(json);
|
||||||
|
@ -151,6 +155,9 @@ extension UtilityExtension$Fragment$basicMutationReturnFields
|
||||||
required _T Function(
|
required _T Function(
|
||||||
Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn)
|
Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn)
|
||||||
deviceApiTokenMutationReturn,
|
deviceApiTokenMutationReturn,
|
||||||
|
required _T Function(
|
||||||
|
Fragment$basicMutationReturnFields$$GenericBackupConfigReturn)
|
||||||
|
genericBackupConfigReturn,
|
||||||
required _T Function(
|
required _T Function(
|
||||||
Fragment$basicMutationReturnFields$$GenericJobButationReturn)
|
Fragment$basicMutationReturnFields$$GenericJobButationReturn)
|
||||||
genericJobButationReturn,
|
genericJobButationReturn,
|
||||||
|
@ -183,6 +190,10 @@ extension UtilityExtension$Fragment$basicMutationReturnFields
|
||||||
return deviceApiTokenMutationReturn(this
|
return deviceApiTokenMutationReturn(this
|
||||||
as Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn);
|
as Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn);
|
||||||
|
|
||||||
|
case "GenericBackupConfigReturn":
|
||||||
|
return genericBackupConfigReturn(this
|
||||||
|
as Fragment$basicMutationReturnFields$$GenericBackupConfigReturn);
|
||||||
|
|
||||||
case "GenericJobButationReturn":
|
case "GenericJobButationReturn":
|
||||||
return genericJobButationReturn(this
|
return genericJobButationReturn(this
|
||||||
as Fragment$basicMutationReturnFields$$GenericJobButationReturn);
|
as Fragment$basicMutationReturnFields$$GenericJobButationReturn);
|
||||||
|
@ -221,6 +232,8 @@ extension UtilityExtension$Fragment$basicMutationReturnFields
|
||||||
_T Function(
|
_T Function(
|
||||||
Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn)?
|
Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn)?
|
||||||
deviceApiTokenMutationReturn,
|
deviceApiTokenMutationReturn,
|
||||||
|
_T Function(Fragment$basicMutationReturnFields$$GenericBackupConfigReturn)?
|
||||||
|
genericBackupConfigReturn,
|
||||||
_T Function(Fragment$basicMutationReturnFields$$GenericJobButationReturn)?
|
_T Function(Fragment$basicMutationReturnFields$$GenericJobButationReturn)?
|
||||||
genericJobButationReturn,
|
genericJobButationReturn,
|
||||||
_T Function(Fragment$basicMutationReturnFields$$GenericMutationReturn)?
|
_T Function(Fragment$basicMutationReturnFields$$GenericMutationReturn)?
|
||||||
|
@ -260,6 +273,14 @@ extension UtilityExtension$Fragment$basicMutationReturnFields
|
||||||
return orElse();
|
return orElse();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case "GenericBackupConfigReturn":
|
||||||
|
if (genericBackupConfigReturn != null) {
|
||||||
|
return genericBackupConfigReturn(this
|
||||||
|
as Fragment$basicMutationReturnFields$$GenericBackupConfigReturn);
|
||||||
|
} else {
|
||||||
|
return orElse();
|
||||||
|
}
|
||||||
|
|
||||||
case "GenericJobButationReturn":
|
case "GenericJobButationReturn":
|
||||||
if (genericJobButationReturn != null) {
|
if (genericJobButationReturn != null) {
|
||||||
return genericJobButationReturn(this
|
return genericJobButationReturn(this
|
||||||
|
@ -1008,6 +1029,186 @@ class _CopyWithStubImpl$Fragment$basicMutationReturnFields$$DeviceApiTokenMutati
|
||||||
_res;
|
_res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class Fragment$basicMutationReturnFields$$GenericBackupConfigReturn
|
||||||
|
implements Fragment$basicMutationReturnFields {
|
||||||
|
Fragment$basicMutationReturnFields$$GenericBackupConfigReturn({
|
||||||
|
required this.code,
|
||||||
|
required this.message,
|
||||||
|
required this.success,
|
||||||
|
this.$__typename = 'GenericBackupConfigReturn',
|
||||||
|
});
|
||||||
|
|
||||||
|
factory Fragment$basicMutationReturnFields$$GenericBackupConfigReturn.fromJson(
|
||||||
|
Map<String, dynamic> json) {
|
||||||
|
final l$code = json['code'];
|
||||||
|
final l$message = json['message'];
|
||||||
|
final l$success = json['success'];
|
||||||
|
final l$$__typename = json['__typename'];
|
||||||
|
return Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
||||||
|
code: (l$code as int),
|
||||||
|
message: (l$message as String),
|
||||||
|
success: (l$success as bool),
|
||||||
|
$__typename: (l$$__typename as String),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
final int code;
|
||||||
|
|
||||||
|
final String message;
|
||||||
|
|
||||||
|
final bool success;
|
||||||
|
|
||||||
|
final String $__typename;
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final _resultData = <String, dynamic>{};
|
||||||
|
final l$code = code;
|
||||||
|
_resultData['code'] = l$code;
|
||||||
|
final l$message = message;
|
||||||
|
_resultData['message'] = l$message;
|
||||||
|
final l$success = success;
|
||||||
|
_resultData['success'] = l$success;
|
||||||
|
final l$$__typename = $__typename;
|
||||||
|
_resultData['__typename'] = l$$__typename;
|
||||||
|
return _resultData;
|
||||||
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
int get hashCode {
|
||||||
|
final l$code = code;
|
||||||
|
final l$message = message;
|
||||||
|
final l$success = success;
|
||||||
|
final l$$__typename = $__typename;
|
||||||
|
return Object.hashAll([
|
||||||
|
l$code,
|
||||||
|
l$message,
|
||||||
|
l$success,
|
||||||
|
l$$__typename,
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
bool operator ==(Object other) {
|
||||||
|
if (identical(this, other)) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(other
|
||||||
|
is Fragment$basicMutationReturnFields$$GenericBackupConfigReturn) ||
|
||||||
|
runtimeType != other.runtimeType) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
final l$code = code;
|
||||||
|
final lOther$code = other.code;
|
||||||
|
if (l$code != lOther$code) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
final l$message = message;
|
||||||
|
final lOther$message = other.message;
|
||||||
|
if (l$message != lOther$message) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
final l$success = success;
|
||||||
|
final lOther$success = other.success;
|
||||||
|
if (l$success != lOther$success) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
final l$$__typename = $__typename;
|
||||||
|
final lOther$$__typename = other.$__typename;
|
||||||
|
if (l$$__typename != lOther$$__typename) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
extension UtilityExtension$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn
|
||||||
|
on Fragment$basicMutationReturnFields$$GenericBackupConfigReturn {
|
||||||
|
CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
||||||
|
Fragment$basicMutationReturnFields$$GenericBackupConfigReturn>
|
||||||
|
get copyWith =>
|
||||||
|
CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
||||||
|
this,
|
||||||
|
(i) => i,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
abstract class CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
||||||
|
TRes> {
|
||||||
|
factory CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
||||||
|
Fragment$basicMutationReturnFields$$GenericBackupConfigReturn instance,
|
||||||
|
TRes Function(Fragment$basicMutationReturnFields$$GenericBackupConfigReturn)
|
||||||
|
then,
|
||||||
|
) = _CopyWithImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn;
|
||||||
|
|
||||||
|
factory CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn.stub(
|
||||||
|
TRes res) =
|
||||||
|
_CopyWithStubImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn;
|
||||||
|
|
||||||
|
TRes call({
|
||||||
|
int? code,
|
||||||
|
String? message,
|
||||||
|
bool? success,
|
||||||
|
String? $__typename,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
class _CopyWithImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
||||||
|
TRes>
|
||||||
|
implements
|
||||||
|
CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
||||||
|
TRes> {
|
||||||
|
_CopyWithImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
||||||
|
this._instance,
|
||||||
|
this._then,
|
||||||
|
);
|
||||||
|
|
||||||
|
final Fragment$basicMutationReturnFields$$GenericBackupConfigReturn _instance;
|
||||||
|
|
||||||
|
final TRes Function(
|
||||||
|
Fragment$basicMutationReturnFields$$GenericBackupConfigReturn) _then;
|
||||||
|
|
||||||
|
static const _undefined = <dynamic, dynamic>{};
|
||||||
|
|
||||||
|
TRes call({
|
||||||
|
Object? code = _undefined,
|
||||||
|
Object? message = _undefined,
|
||||||
|
Object? success = _undefined,
|
||||||
|
Object? $__typename = _undefined,
|
||||||
|
}) =>
|
||||||
|
_then(Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
||||||
|
code:
|
||||||
|
code == _undefined || code == null ? _instance.code : (code as int),
|
||||||
|
message: message == _undefined || message == null
|
||||||
|
? _instance.message
|
||||||
|
: (message as String),
|
||||||
|
success: success == _undefined || success == null
|
||||||
|
? _instance.success
|
||||||
|
: (success as bool),
|
||||||
|
$__typename: $__typename == _undefined || $__typename == null
|
||||||
|
? _instance.$__typename
|
||||||
|
: ($__typename as String),
|
||||||
|
));
|
||||||
|
}
|
||||||
|
|
||||||
|
class _CopyWithStubImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
||||||
|
TRes>
|
||||||
|
implements
|
||||||
|
CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
||||||
|
TRes> {
|
||||||
|
_CopyWithStubImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
||||||
|
this._res);
|
||||||
|
|
||||||
|
TRes _res;
|
||||||
|
|
||||||
|
call({
|
||||||
|
int? code,
|
||||||
|
String? message,
|
||||||
|
bool? success,
|
||||||
|
String? $__typename,
|
||||||
|
}) =>
|
||||||
|
_res;
|
||||||
|
}
|
||||||
|
|
||||||
class Fragment$basicMutationReturnFields$$GenericJobButationReturn
|
class Fragment$basicMutationReturnFields$$GenericJobButationReturn
|
||||||
implements Fragment$basicMutationReturnFields {
|
implements Fragment$basicMutationReturnFields {
|
||||||
Fragment$basicMutationReturnFields$$GenericJobButationReturn({
|
Fragment$basicMutationReturnFields$$GenericJobButationReturn({
|
||||||
|
|
|
@ -1,54 +1,54 @@
|
||||||
type Alert {
|
type Alert {
|
||||||
message: String!
|
|
||||||
severity: Severity!
|
severity: Severity!
|
||||||
timestamp: DateTime
|
|
||||||
title: String!
|
title: String!
|
||||||
|
message: String!
|
||||||
|
timestamp: DateTime
|
||||||
}
|
}
|
||||||
|
|
||||||
type Api {
|
type Api {
|
||||||
devices: [ApiDevice!]!
|
|
||||||
recoveryKey: ApiRecoveryKeyStatus!
|
|
||||||
version: String!
|
version: String!
|
||||||
|
recoveryKey: ApiRecoveryKeyStatus!
|
||||||
|
devices: [ApiDevice!]!
|
||||||
}
|
}
|
||||||
|
|
||||||
type ApiDevice {
|
type ApiDevice {
|
||||||
|
name: String!
|
||||||
creationDate: DateTime!
|
creationDate: DateTime!
|
||||||
isCaller: Boolean!
|
isCaller: Boolean!
|
||||||
name: String!
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type ApiJob {
|
type ApiJob {
|
||||||
createdAt: DateTime!
|
uid: String!
|
||||||
description: String!
|
|
||||||
error: String
|
|
||||||
finishedAt: DateTime
|
|
||||||
name: String!
|
name: String!
|
||||||
progress: Int
|
description: String!
|
||||||
result: String
|
|
||||||
status: String!
|
status: String!
|
||||||
statusText: String
|
statusText: String
|
||||||
uid: String!
|
progress: Int
|
||||||
|
createdAt: DateTime!
|
||||||
updatedAt: DateTime!
|
updatedAt: DateTime!
|
||||||
|
finishedAt: DateTime
|
||||||
|
error: String
|
||||||
|
result: String
|
||||||
}
|
}
|
||||||
|
|
||||||
type ApiKeyMutationReturn implements MutationReturnInterface {
|
type ApiKeyMutationReturn implements MutationReturnInterface {
|
||||||
|
success: Boolean!
|
||||||
|
message: String!
|
||||||
code: Int!
|
code: Int!
|
||||||
key: String
|
key: String
|
||||||
message: String!
|
|
||||||
success: Boolean!
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type ApiRecoveryKeyStatus {
|
type ApiRecoveryKeyStatus {
|
||||||
creationDate: DateTime
|
|
||||||
exists: Boolean!
|
exists: Boolean!
|
||||||
|
valid: Boolean!
|
||||||
|
creationDate: DateTime
|
||||||
expirationDate: DateTime
|
expirationDate: DateTime
|
||||||
usesLeft: Int
|
usesLeft: Int
|
||||||
valid: Boolean!
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type AutoUpgradeOptions {
|
type AutoUpgradeOptions {
|
||||||
allowReboot: Boolean!
|
|
||||||
enable: Boolean!
|
enable: Boolean!
|
||||||
|
allowReboot: Boolean!
|
||||||
}
|
}
|
||||||
|
|
||||||
input AutoUpgradeSettingsInput {
|
input AutoUpgradeSettingsInput {
|
||||||
|
@ -57,52 +57,89 @@ input AutoUpgradeSettingsInput {
|
||||||
}
|
}
|
||||||
|
|
||||||
type AutoUpgradeSettingsMutationReturn implements MutationReturnInterface {
|
type AutoUpgradeSettingsMutationReturn implements MutationReturnInterface {
|
||||||
allowReboot: Boolean!
|
success: Boolean!
|
||||||
|
message: String!
|
||||||
code: Int!
|
code: Int!
|
||||||
enableAutoUpgrade: Boolean!
|
enableAutoUpgrade: Boolean!
|
||||||
message: String!
|
allowReboot: Boolean!
|
||||||
success: Boolean!
|
}
|
||||||
|
|
||||||
|
type Backup {
|
||||||
|
configuration: BackupConfiguration!
|
||||||
|
allSnapshots: [SnapshotInfo!]!
|
||||||
|
}
|
||||||
|
|
||||||
|
type BackupConfiguration {
|
||||||
|
provider: BackupProvider!
|
||||||
|
encryptionKey: String!
|
||||||
|
isInitialized: Boolean!
|
||||||
|
autobackupPeriod: Int
|
||||||
|
locationName: String
|
||||||
|
locationId: String
|
||||||
|
}
|
||||||
|
|
||||||
|
enum BackupProvider {
|
||||||
|
BACKBLAZE
|
||||||
|
NONE
|
||||||
|
MEMORY
|
||||||
|
FILE
|
||||||
}
|
}
|
||||||
|
|
||||||
"""Date with time (isoformat)"""
|
"""Date with time (isoformat)"""
|
||||||
scalar DateTime
|
scalar DateTime
|
||||||
|
|
||||||
type DeviceApiTokenMutationReturn implements MutationReturnInterface {
|
type DeviceApiTokenMutationReturn implements MutationReturnInterface {
|
||||||
code: Int!
|
|
||||||
message: String!
|
|
||||||
success: Boolean!
|
success: Boolean!
|
||||||
|
message: String!
|
||||||
|
code: Int!
|
||||||
token: String
|
token: String
|
||||||
}
|
}
|
||||||
|
|
||||||
enum DnsProvider {
|
enum DnsProvider {
|
||||||
CLOUDFLARE,
|
CLOUDFLARE
|
||||||
|
DIGITALOCEAN
|
||||||
DESEC
|
DESEC
|
||||||
}
|
}
|
||||||
|
|
||||||
type DnsRecord {
|
type DnsRecord {
|
||||||
content: String!
|
|
||||||
name: String!
|
|
||||||
priority: Int
|
|
||||||
recordType: String!
|
recordType: String!
|
||||||
|
name: String!
|
||||||
|
content: String!
|
||||||
ttl: Int!
|
ttl: Int!
|
||||||
|
priority: Int
|
||||||
|
}
|
||||||
|
|
||||||
|
type GenericBackupConfigReturn implements MutationReturnInterface {
|
||||||
|
success: Boolean!
|
||||||
|
message: String!
|
||||||
|
code: Int!
|
||||||
|
configuration: BackupConfiguration
|
||||||
}
|
}
|
||||||
|
|
||||||
type GenericJobButationReturn implements MutationReturnInterface {
|
type GenericJobButationReturn implements MutationReturnInterface {
|
||||||
|
success: Boolean!
|
||||||
|
message: String!
|
||||||
code: Int!
|
code: Int!
|
||||||
job: ApiJob
|
job: ApiJob
|
||||||
message: String!
|
|
||||||
success: Boolean!
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type GenericMutationReturn implements MutationReturnInterface {
|
type GenericMutationReturn implements MutationReturnInterface {
|
||||||
code: Int!
|
|
||||||
message: String!
|
|
||||||
success: Boolean!
|
success: Boolean!
|
||||||
|
message: String!
|
||||||
|
code: Int!
|
||||||
|
}
|
||||||
|
|
||||||
|
input InitializeRepositoryInput {
|
||||||
|
provider: BackupProvider!
|
||||||
|
locationId: String!
|
||||||
|
locationName: String!
|
||||||
|
login: String!
|
||||||
|
password: String!
|
||||||
}
|
}
|
||||||
|
|
||||||
type Job {
|
type Job {
|
||||||
getJob(jobId: String!): ApiJob
|
|
||||||
getJobs: [ApiJob!]!
|
getJobs: [ApiJob!]!
|
||||||
|
getJob(jobId: String!): ApiJob
|
||||||
}
|
}
|
||||||
|
|
||||||
input MigrateToBindsInput {
|
input MigrateToBindsInput {
|
||||||
|
@ -119,52 +156,59 @@ input MoveServiceInput {
|
||||||
}
|
}
|
||||||
|
|
||||||
type Mutation {
|
type Mutation {
|
||||||
addSshKey(sshInput: SshMutationInput!): UserMutationReturn!
|
|
||||||
authorizeWithNewDeviceApiKey(input: UseNewDeviceKeyInput!): DeviceApiTokenMutationReturn!
|
|
||||||
changeAutoUpgradeSettings(settings: AutoUpgradeSettingsInput!): AutoUpgradeSettingsMutationReturn!
|
|
||||||
changeTimezone(timezone: String!): TimezoneMutationReturn!
|
|
||||||
createUser(user: UserMutationInput!): UserMutationReturn!
|
|
||||||
deleteDeviceApiToken(device: String!): GenericMutationReturn!
|
|
||||||
deleteUser(username: String!): GenericMutationReturn!
|
|
||||||
disableService(serviceId: String!): ServiceMutationReturn!
|
|
||||||
enableService(serviceId: String!): ServiceMutationReturn!
|
|
||||||
getNewDeviceApiKey: ApiKeyMutationReturn!
|
|
||||||
getNewRecoveryApiKey(limits: RecoveryKeyLimitsInput = null): ApiKeyMutationReturn!
|
getNewRecoveryApiKey(limits: RecoveryKeyLimitsInput = null): ApiKeyMutationReturn!
|
||||||
invalidateNewDeviceApiKey: GenericMutationReturn!
|
useRecoveryApiKey(input: UseRecoveryKeyInput!): DeviceApiTokenMutationReturn!
|
||||||
migrateToBinds(input: MigrateToBindsInput!): GenericJobButationReturn!
|
|
||||||
mountVolume(name: String!): GenericMutationReturn!
|
|
||||||
moveService(input: MoveServiceInput!): ServiceJobMutationReturn!
|
|
||||||
pullRepositoryChanges: GenericMutationReturn!
|
|
||||||
rebootSystem: GenericMutationReturn!
|
|
||||||
refreshDeviceApiToken: DeviceApiTokenMutationReturn!
|
refreshDeviceApiToken: DeviceApiTokenMutationReturn!
|
||||||
removeJob(jobId: String!): GenericMutationReturn!
|
deleteDeviceApiToken(device: String!): GenericMutationReturn!
|
||||||
removeSshKey(sshInput: SshMutationInput!): UserMutationReturn!
|
getNewDeviceApiKey: ApiKeyMutationReturn!
|
||||||
resizeVolume(name: String!): GenericMutationReturn!
|
invalidateNewDeviceApiKey: GenericMutationReturn!
|
||||||
restartService(serviceId: String!): ServiceMutationReturn!
|
authorizeWithNewDeviceApiKey(input: UseNewDeviceKeyInput!): DeviceApiTokenMutationReturn!
|
||||||
|
changeTimezone(timezone: String!): TimezoneMutationReturn!
|
||||||
|
changeAutoUpgradeSettings(settings: AutoUpgradeSettingsInput!): AutoUpgradeSettingsMutationReturn!
|
||||||
runSystemRebuild: GenericMutationReturn!
|
runSystemRebuild: GenericMutationReturn!
|
||||||
runSystemRollback: GenericMutationReturn!
|
runSystemRollback: GenericMutationReturn!
|
||||||
runSystemUpgrade: GenericMutationReturn!
|
runSystemUpgrade: GenericMutationReturn!
|
||||||
startService(serviceId: String!): ServiceMutationReturn!
|
rebootSystem: GenericMutationReturn!
|
||||||
stopService(serviceId: String!): ServiceMutationReturn!
|
pullRepositoryChanges: GenericMutationReturn!
|
||||||
testMutation: GenericMutationReturn!
|
createUser(user: UserMutationInput!): UserMutationReturn!
|
||||||
unmountVolume(name: String!): GenericMutationReturn!
|
deleteUser(username: String!): GenericMutationReturn!
|
||||||
updateUser(user: UserMutationInput!): UserMutationReturn!
|
updateUser(user: UserMutationInput!): UserMutationReturn!
|
||||||
useRecoveryApiKey(input: UseRecoveryKeyInput!): DeviceApiTokenMutationReturn!
|
addSshKey(sshInput: SshMutationInput!): UserMutationReturn!
|
||||||
|
removeSshKey(sshInput: SshMutationInput!): UserMutationReturn!
|
||||||
|
resizeVolume(name: String!): GenericMutationReturn!
|
||||||
|
mountVolume(name: String!): GenericMutationReturn!
|
||||||
|
unmountVolume(name: String!): GenericMutationReturn!
|
||||||
|
migrateToBinds(input: MigrateToBindsInput!): GenericJobButationReturn!
|
||||||
|
enableService(serviceId: String!): ServiceMutationReturn!
|
||||||
|
disableService(serviceId: String!): ServiceMutationReturn!
|
||||||
|
stopService(serviceId: String!): ServiceMutationReturn!
|
||||||
|
startService(serviceId: String!): ServiceMutationReturn!
|
||||||
|
restartService(serviceId: String!): ServiceMutationReturn!
|
||||||
|
moveService(input: MoveServiceInput!): ServiceJobMutationReturn!
|
||||||
|
removeJob(jobId: String!): GenericMutationReturn!
|
||||||
|
initializeRepository(repository: InitializeRepositoryInput!): GenericBackupConfigReturn!
|
||||||
|
removeRepository: GenericBackupConfigReturn!
|
||||||
|
setAutobackupPeriod(period: Int = null): GenericBackupConfigReturn!
|
||||||
|
startBackup(serviceId: String = null): GenericJobButationReturn!
|
||||||
|
restoreBackup(snapshotId: String!): GenericJobButationReturn!
|
||||||
|
forceSnapshotsReload: GenericMutationReturn!
|
||||||
|
testMutation: GenericMutationReturn!
|
||||||
}
|
}
|
||||||
|
|
||||||
interface MutationReturnInterface {
|
interface MutationReturnInterface {
|
||||||
code: Int!
|
|
||||||
message: String!
|
|
||||||
success: Boolean!
|
success: Boolean!
|
||||||
|
message: String!
|
||||||
|
code: Int!
|
||||||
}
|
}
|
||||||
|
|
||||||
type Query {
|
type Query {
|
||||||
|
system: System!
|
||||||
api: Api!
|
api: Api!
|
||||||
|
users: Users!
|
||||||
|
storage: Storage!
|
||||||
jobs: Job!
|
jobs: Job!
|
||||||
services: Services!
|
services: Services!
|
||||||
storage: Storage!
|
backup: Backup!
|
||||||
system: System!
|
|
||||||
users: Users!
|
|
||||||
}
|
}
|
||||||
|
|
||||||
input RecoveryKeyLimitsInput {
|
input RecoveryKeyLimitsInput {
|
||||||
|
@ -178,49 +222,50 @@ enum ServerProvider {
|
||||||
}
|
}
|
||||||
|
|
||||||
type Service {
|
type Service {
|
||||||
description: String!
|
|
||||||
displayName: String!
|
|
||||||
dnsRecords: [DnsRecord!]
|
|
||||||
id: String!
|
id: String!
|
||||||
isEnabled: Boolean!
|
displayName: String!
|
||||||
|
description: String!
|
||||||
|
svgIcon: String!
|
||||||
isMovable: Boolean!
|
isMovable: Boolean!
|
||||||
isRequired: Boolean!
|
isRequired: Boolean!
|
||||||
|
isEnabled: Boolean!
|
||||||
status: ServiceStatusEnum!
|
status: ServiceStatusEnum!
|
||||||
storageUsage: ServiceStorageUsage!
|
|
||||||
svgIcon: String!
|
|
||||||
url: String
|
url: String
|
||||||
|
dnsRecords: [DnsRecord!]
|
||||||
|
storageUsage: ServiceStorageUsage!
|
||||||
|
backupSnapshots: [SnapshotInfo!]
|
||||||
}
|
}
|
||||||
|
|
||||||
type ServiceJobMutationReturn implements MutationReturnInterface {
|
type ServiceJobMutationReturn implements MutationReturnInterface {
|
||||||
|
success: Boolean!
|
||||||
|
message: String!
|
||||||
code: Int!
|
code: Int!
|
||||||
job: ApiJob
|
job: ApiJob
|
||||||
message: String!
|
|
||||||
service: Service
|
service: Service
|
||||||
success: Boolean!
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type ServiceMutationReturn implements MutationReturnInterface {
|
type ServiceMutationReturn implements MutationReturnInterface {
|
||||||
code: Int!
|
|
||||||
message: String!
|
|
||||||
service: Service
|
|
||||||
success: Boolean!
|
success: Boolean!
|
||||||
|
message: String!
|
||||||
|
code: Int!
|
||||||
|
service: Service
|
||||||
}
|
}
|
||||||
|
|
||||||
enum ServiceStatusEnum {
|
enum ServiceStatusEnum {
|
||||||
ACTIVATING
|
|
||||||
ACTIVE
|
ACTIVE
|
||||||
DEACTIVATING
|
|
||||||
FAILED
|
|
||||||
INACTIVE
|
|
||||||
OFF
|
|
||||||
RELOADING
|
RELOADING
|
||||||
|
INACTIVE
|
||||||
|
FAILED
|
||||||
|
ACTIVATING
|
||||||
|
DEACTIVATING
|
||||||
|
OFF
|
||||||
}
|
}
|
||||||
|
|
||||||
type ServiceStorageUsage implements StorageUsageInterface {
|
type ServiceStorageUsage implements StorageUsageInterface {
|
||||||
service: Service
|
|
||||||
title: String!
|
|
||||||
usedSpace: String!
|
usedSpace: String!
|
||||||
volume: StorageVolume
|
volume: StorageVolume
|
||||||
|
title: String!
|
||||||
|
service: Service
|
||||||
}
|
}
|
||||||
|
|
||||||
type Services {
|
type Services {
|
||||||
|
@ -228,11 +273,17 @@ type Services {
|
||||||
}
|
}
|
||||||
|
|
||||||
enum Severity {
|
enum Severity {
|
||||||
CRITICAL
|
|
||||||
ERROR
|
|
||||||
INFO
|
INFO
|
||||||
SUCCESS
|
|
||||||
WARNING
|
WARNING
|
||||||
|
ERROR
|
||||||
|
CRITICAL
|
||||||
|
SUCCESS
|
||||||
|
}
|
||||||
|
|
||||||
|
type SnapshotInfo {
|
||||||
|
id: String!
|
||||||
|
service: Service!
|
||||||
|
createdAt: DateTime!
|
||||||
}
|
}
|
||||||
|
|
||||||
input SshMutationInput {
|
input SshMutationInput {
|
||||||
|
@ -251,21 +302,21 @@ type Storage {
|
||||||
}
|
}
|
||||||
|
|
||||||
interface StorageUsageInterface {
|
interface StorageUsageInterface {
|
||||||
title: String!
|
|
||||||
usedSpace: String!
|
usedSpace: String!
|
||||||
volume: StorageVolume
|
volume: StorageVolume
|
||||||
|
title: String!
|
||||||
}
|
}
|
||||||
|
|
||||||
type StorageVolume {
|
type StorageVolume {
|
||||||
freeSpace: String!
|
|
||||||
model: String
|
|
||||||
name: String!
|
|
||||||
root: Boolean!
|
|
||||||
serial: String
|
|
||||||
totalSpace: String!
|
totalSpace: String!
|
||||||
|
freeSpace: String!
|
||||||
|
usedSpace: String!
|
||||||
|
root: Boolean!
|
||||||
|
name: String!
|
||||||
|
model: String
|
||||||
|
serial: String
|
||||||
type: String!
|
type: String!
|
||||||
usages: [StorageUsageInterface!]!
|
usages: [StorageUsageInterface!]!
|
||||||
usedSpace: String!
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type Subscription {
|
type Subscription {
|
||||||
|
@ -273,12 +324,12 @@ type Subscription {
|
||||||
}
|
}
|
||||||
|
|
||||||
type System {
|
type System {
|
||||||
busy: Boolean!
|
status: Alert!
|
||||||
domainInfo: SystemDomainInfo!
|
domainInfo: SystemDomainInfo!
|
||||||
|
settings: SystemSettings!
|
||||||
info: SystemInfo!
|
info: SystemInfo!
|
||||||
provider: SystemProviderInfo!
|
provider: SystemProviderInfo!
|
||||||
settings: SystemSettings!
|
busy: Boolean!
|
||||||
status: Alert!
|
|
||||||
workingDirectory: String!
|
workingDirectory: String!
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -290,14 +341,14 @@ type SystemDomainInfo {
|
||||||
}
|
}
|
||||||
|
|
||||||
type SystemInfo {
|
type SystemInfo {
|
||||||
pythonVersion: String!
|
|
||||||
systemVersion: String!
|
systemVersion: String!
|
||||||
|
pythonVersion: String!
|
||||||
usingBinds: Boolean!
|
usingBinds: Boolean!
|
||||||
}
|
}
|
||||||
|
|
||||||
type SystemProviderInfo {
|
type SystemProviderInfo {
|
||||||
id: String!
|
|
||||||
provider: ServerProvider!
|
provider: ServerProvider!
|
||||||
|
id: String!
|
||||||
}
|
}
|
||||||
|
|
||||||
type SystemSettings {
|
type SystemSettings {
|
||||||
|
@ -307,9 +358,9 @@ type SystemSettings {
|
||||||
}
|
}
|
||||||
|
|
||||||
type TimezoneMutationReturn implements MutationReturnInterface {
|
type TimezoneMutationReturn implements MutationReturnInterface {
|
||||||
code: Int!
|
|
||||||
message: String!
|
|
||||||
success: Boolean!
|
success: Boolean!
|
||||||
|
message: String!
|
||||||
|
code: Int!
|
||||||
timezone: String
|
timezone: String
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -324,9 +375,9 @@ input UseRecoveryKeyInput {
|
||||||
}
|
}
|
||||||
|
|
||||||
type User {
|
type User {
|
||||||
sshKeys: [String!]!
|
|
||||||
userType: UserType!
|
userType: UserType!
|
||||||
username: String!
|
username: String!
|
||||||
|
sshKeys: [String!]!
|
||||||
}
|
}
|
||||||
|
|
||||||
input UserMutationInput {
|
input UserMutationInput {
|
||||||
|
@ -335,9 +386,9 @@ input UserMutationInput {
|
||||||
}
|
}
|
||||||
|
|
||||||
type UserMutationReturn implements MutationReturnInterface {
|
type UserMutationReturn implements MutationReturnInterface {
|
||||||
code: Int!
|
|
||||||
message: String!
|
|
||||||
success: Boolean!
|
success: Boolean!
|
||||||
|
message: String!
|
||||||
|
code: Int!
|
||||||
user: User
|
user: User
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -358,4 +409,9 @@ fragment dnsRecordFields on DnsRecord {
|
||||||
priority
|
priority
|
||||||
recordType
|
recordType
|
||||||
ttl
|
ttl
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fragment backupSnapshotFields on SnapshotInfo {
|
||||||
|
id
|
||||||
|
createdAt
|
||||||
|
}
|
||||||
|
|
|
@ -143,6 +143,190 @@ class _CopyWithStubImpl$Input$AutoUpgradeSettingsInput<TRes>
|
||||||
_res;
|
_res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class Input$InitializeRepositoryInput {
|
||||||
|
factory Input$InitializeRepositoryInput({
|
||||||
|
required Enum$BackupProvider provider,
|
||||||
|
required String locationId,
|
||||||
|
required String locationName,
|
||||||
|
required String login,
|
||||||
|
required String password,
|
||||||
|
}) =>
|
||||||
|
Input$InitializeRepositoryInput._({
|
||||||
|
r'provider': provider,
|
||||||
|
r'locationId': locationId,
|
||||||
|
r'locationName': locationName,
|
||||||
|
r'login': login,
|
||||||
|
r'password': password,
|
||||||
|
});
|
||||||
|
|
||||||
|
Input$InitializeRepositoryInput._(this._$data);
|
||||||
|
|
||||||
|
factory Input$InitializeRepositoryInput.fromJson(Map<String, dynamic> data) {
|
||||||
|
final result$data = <String, dynamic>{};
|
||||||
|
final l$provider = data['provider'];
|
||||||
|
result$data['provider'] =
|
||||||
|
fromJson$Enum$BackupProvider((l$provider as String));
|
||||||
|
final l$locationId = data['locationId'];
|
||||||
|
result$data['locationId'] = (l$locationId as String);
|
||||||
|
final l$locationName = data['locationName'];
|
||||||
|
result$data['locationName'] = (l$locationName as String);
|
||||||
|
final l$login = data['login'];
|
||||||
|
result$data['login'] = (l$login as String);
|
||||||
|
final l$password = data['password'];
|
||||||
|
result$data['password'] = (l$password as String);
|
||||||
|
return Input$InitializeRepositoryInput._(result$data);
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> _$data;
|
||||||
|
|
||||||
|
Enum$BackupProvider get provider =>
|
||||||
|
(_$data['provider'] as Enum$BackupProvider);
|
||||||
|
String get locationId => (_$data['locationId'] as String);
|
||||||
|
String get locationName => (_$data['locationName'] as String);
|
||||||
|
String get login => (_$data['login'] as String);
|
||||||
|
String get password => (_$data['password'] as String);
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final result$data = <String, dynamic>{};
|
||||||
|
final l$provider = provider;
|
||||||
|
result$data['provider'] = toJson$Enum$BackupProvider(l$provider);
|
||||||
|
final l$locationId = locationId;
|
||||||
|
result$data['locationId'] = l$locationId;
|
||||||
|
final l$locationName = locationName;
|
||||||
|
result$data['locationName'] = l$locationName;
|
||||||
|
final l$login = login;
|
||||||
|
result$data['login'] = l$login;
|
||||||
|
final l$password = password;
|
||||||
|
result$data['password'] = l$password;
|
||||||
|
return result$data;
|
||||||
|
}
|
||||||
|
|
||||||
|
CopyWith$Input$InitializeRepositoryInput<Input$InitializeRepositoryInput>
|
||||||
|
get copyWith => CopyWith$Input$InitializeRepositoryInput(
|
||||||
|
this,
|
||||||
|
(i) => i,
|
||||||
|
);
|
||||||
|
@override
|
||||||
|
bool operator ==(Object other) {
|
||||||
|
if (identical(this, other)) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(other is Input$InitializeRepositoryInput) ||
|
||||||
|
runtimeType != other.runtimeType) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
final l$provider = provider;
|
||||||
|
final lOther$provider = other.provider;
|
||||||
|
if (l$provider != lOther$provider) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
final l$locationId = locationId;
|
||||||
|
final lOther$locationId = other.locationId;
|
||||||
|
if (l$locationId != lOther$locationId) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
final l$locationName = locationName;
|
||||||
|
final lOther$locationName = other.locationName;
|
||||||
|
if (l$locationName != lOther$locationName) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
final l$login = login;
|
||||||
|
final lOther$login = other.login;
|
||||||
|
if (l$login != lOther$login) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
final l$password = password;
|
||||||
|
final lOther$password = other.password;
|
||||||
|
if (l$password != lOther$password) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
int get hashCode {
|
||||||
|
final l$provider = provider;
|
||||||
|
final l$locationId = locationId;
|
||||||
|
final l$locationName = locationName;
|
||||||
|
final l$login = login;
|
||||||
|
final l$password = password;
|
||||||
|
return Object.hashAll([
|
||||||
|
l$provider,
|
||||||
|
l$locationId,
|
||||||
|
l$locationName,
|
||||||
|
l$login,
|
||||||
|
l$password,
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
abstract class CopyWith$Input$InitializeRepositoryInput<TRes> {
|
||||||
|
factory CopyWith$Input$InitializeRepositoryInput(
|
||||||
|
Input$InitializeRepositoryInput instance,
|
||||||
|
TRes Function(Input$InitializeRepositoryInput) then,
|
||||||
|
) = _CopyWithImpl$Input$InitializeRepositoryInput;
|
||||||
|
|
||||||
|
factory CopyWith$Input$InitializeRepositoryInput.stub(TRes res) =
|
||||||
|
_CopyWithStubImpl$Input$InitializeRepositoryInput;
|
||||||
|
|
||||||
|
TRes call({
|
||||||
|
Enum$BackupProvider? provider,
|
||||||
|
String? locationId,
|
||||||
|
String? locationName,
|
||||||
|
String? login,
|
||||||
|
String? password,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
class _CopyWithImpl$Input$InitializeRepositoryInput<TRes>
|
||||||
|
implements CopyWith$Input$InitializeRepositoryInput<TRes> {
|
||||||
|
_CopyWithImpl$Input$InitializeRepositoryInput(
|
||||||
|
this._instance,
|
||||||
|
this._then,
|
||||||
|
);
|
||||||
|
|
||||||
|
final Input$InitializeRepositoryInput _instance;
|
||||||
|
|
||||||
|
final TRes Function(Input$InitializeRepositoryInput) _then;
|
||||||
|
|
||||||
|
static const _undefined = <dynamic, dynamic>{};
|
||||||
|
|
||||||
|
TRes call({
|
||||||
|
Object? provider = _undefined,
|
||||||
|
Object? locationId = _undefined,
|
||||||
|
Object? locationName = _undefined,
|
||||||
|
Object? login = _undefined,
|
||||||
|
Object? password = _undefined,
|
||||||
|
}) =>
|
||||||
|
_then(Input$InitializeRepositoryInput._({
|
||||||
|
..._instance._$data,
|
||||||
|
if (provider != _undefined && provider != null)
|
||||||
|
'provider': (provider as Enum$BackupProvider),
|
||||||
|
if (locationId != _undefined && locationId != null)
|
||||||
|
'locationId': (locationId as String),
|
||||||
|
if (locationName != _undefined && locationName != null)
|
||||||
|
'locationName': (locationName as String),
|
||||||
|
if (login != _undefined && login != null) 'login': (login as String),
|
||||||
|
if (password != _undefined && password != null)
|
||||||
|
'password': (password as String),
|
||||||
|
}));
|
||||||
|
}
|
||||||
|
|
||||||
|
class _CopyWithStubImpl$Input$InitializeRepositoryInput<TRes>
|
||||||
|
implements CopyWith$Input$InitializeRepositoryInput<TRes> {
|
||||||
|
_CopyWithStubImpl$Input$InitializeRepositoryInput(this._res);
|
||||||
|
|
||||||
|
TRes _res;
|
||||||
|
|
||||||
|
call({
|
||||||
|
Enum$BackupProvider? provider,
|
||||||
|
String? locationId,
|
||||||
|
String? locationName,
|
||||||
|
String? login,
|
||||||
|
String? password,
|
||||||
|
}) =>
|
||||||
|
_res;
|
||||||
|
}
|
||||||
|
|
||||||
class Input$MigrateToBindsInput {
|
class Input$MigrateToBindsInput {
|
||||||
factory Input$MigrateToBindsInput({
|
factory Input$MigrateToBindsInput({
|
||||||
required String emailBlockDevice,
|
required String emailBlockDevice,
|
||||||
|
@ -1096,12 +1280,46 @@ class _CopyWithStubImpl$Input$UserMutationInput<TRes>
|
||||||
_res;
|
_res;
|
||||||
}
|
}
|
||||||
|
|
||||||
enum Enum$DnsProvider { CLOUDFLARE, DESEC, $unknown }
|
enum Enum$BackupProvider { BACKBLAZE, NONE, MEMORY, FILE, $unknown }
|
||||||
|
|
||||||
|
String toJson$Enum$BackupProvider(Enum$BackupProvider e) {
|
||||||
|
switch (e) {
|
||||||
|
case Enum$BackupProvider.BACKBLAZE:
|
||||||
|
return r'BACKBLAZE';
|
||||||
|
case Enum$BackupProvider.NONE:
|
||||||
|
return r'NONE';
|
||||||
|
case Enum$BackupProvider.MEMORY:
|
||||||
|
return r'MEMORY';
|
||||||
|
case Enum$BackupProvider.FILE:
|
||||||
|
return r'FILE';
|
||||||
|
case Enum$BackupProvider.$unknown:
|
||||||
|
return r'$unknown';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Enum$BackupProvider fromJson$Enum$BackupProvider(String value) {
|
||||||
|
switch (value) {
|
||||||
|
case r'BACKBLAZE':
|
||||||
|
return Enum$BackupProvider.BACKBLAZE;
|
||||||
|
case r'NONE':
|
||||||
|
return Enum$BackupProvider.NONE;
|
||||||
|
case r'MEMORY':
|
||||||
|
return Enum$BackupProvider.MEMORY;
|
||||||
|
case r'FILE':
|
||||||
|
return Enum$BackupProvider.FILE;
|
||||||
|
default:
|
||||||
|
return Enum$BackupProvider.$unknown;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
enum Enum$DnsProvider { CLOUDFLARE, DIGITALOCEAN, DESEC, $unknown }
|
||||||
|
|
||||||
String toJson$Enum$DnsProvider(Enum$DnsProvider e) {
|
String toJson$Enum$DnsProvider(Enum$DnsProvider e) {
|
||||||
switch (e) {
|
switch (e) {
|
||||||
case Enum$DnsProvider.CLOUDFLARE:
|
case Enum$DnsProvider.CLOUDFLARE:
|
||||||
return r'CLOUDFLARE';
|
return r'CLOUDFLARE';
|
||||||
|
case Enum$DnsProvider.DIGITALOCEAN:
|
||||||
|
return r'DIGITALOCEAN';
|
||||||
case Enum$DnsProvider.DESEC:
|
case Enum$DnsProvider.DESEC:
|
||||||
return r'DESEC';
|
return r'DESEC';
|
||||||
case Enum$DnsProvider.$unknown:
|
case Enum$DnsProvider.$unknown:
|
||||||
|
@ -1113,6 +1331,8 @@ Enum$DnsProvider fromJson$Enum$DnsProvider(String value) {
|
||||||
switch (value) {
|
switch (value) {
|
||||||
case r'CLOUDFLARE':
|
case r'CLOUDFLARE':
|
||||||
return Enum$DnsProvider.CLOUDFLARE;
|
return Enum$DnsProvider.CLOUDFLARE;
|
||||||
|
case r'DIGITALOCEAN':
|
||||||
|
return Enum$DnsProvider.DIGITALOCEAN;
|
||||||
case r'DESEC':
|
case r'DESEC':
|
||||||
return Enum$DnsProvider.DESEC;
|
return Enum$DnsProvider.DESEC;
|
||||||
default:
|
default:
|
||||||
|
@ -1145,32 +1365,32 @@ Enum$ServerProvider fromJson$Enum$ServerProvider(String value) {
|
||||||
}
|
}
|
||||||
|
|
||||||
enum Enum$ServiceStatusEnum {
|
enum Enum$ServiceStatusEnum {
|
||||||
ACTIVATING,
|
|
||||||
ACTIVE,
|
ACTIVE,
|
||||||
DEACTIVATING,
|
|
||||||
FAILED,
|
|
||||||
INACTIVE,
|
|
||||||
OFF,
|
|
||||||
RELOADING,
|
RELOADING,
|
||||||
|
INACTIVE,
|
||||||
|
FAILED,
|
||||||
|
ACTIVATING,
|
||||||
|
DEACTIVATING,
|
||||||
|
OFF,
|
||||||
$unknown
|
$unknown
|
||||||
}
|
}
|
||||||
|
|
||||||
String toJson$Enum$ServiceStatusEnum(Enum$ServiceStatusEnum e) {
|
String toJson$Enum$ServiceStatusEnum(Enum$ServiceStatusEnum e) {
|
||||||
switch (e) {
|
switch (e) {
|
||||||
case Enum$ServiceStatusEnum.ACTIVATING:
|
|
||||||
return r'ACTIVATING';
|
|
||||||
case Enum$ServiceStatusEnum.ACTIVE:
|
case Enum$ServiceStatusEnum.ACTIVE:
|
||||||
return r'ACTIVE';
|
return r'ACTIVE';
|
||||||
case Enum$ServiceStatusEnum.DEACTIVATING:
|
|
||||||
return r'DEACTIVATING';
|
|
||||||
case Enum$ServiceStatusEnum.FAILED:
|
|
||||||
return r'FAILED';
|
|
||||||
case Enum$ServiceStatusEnum.INACTIVE:
|
|
||||||
return r'INACTIVE';
|
|
||||||
case Enum$ServiceStatusEnum.OFF:
|
|
||||||
return r'OFF';
|
|
||||||
case Enum$ServiceStatusEnum.RELOADING:
|
case Enum$ServiceStatusEnum.RELOADING:
|
||||||
return r'RELOADING';
|
return r'RELOADING';
|
||||||
|
case Enum$ServiceStatusEnum.INACTIVE:
|
||||||
|
return r'INACTIVE';
|
||||||
|
case Enum$ServiceStatusEnum.FAILED:
|
||||||
|
return r'FAILED';
|
||||||
|
case Enum$ServiceStatusEnum.ACTIVATING:
|
||||||
|
return r'ACTIVATING';
|
||||||
|
case Enum$ServiceStatusEnum.DEACTIVATING:
|
||||||
|
return r'DEACTIVATING';
|
||||||
|
case Enum$ServiceStatusEnum.OFF:
|
||||||
|
return r'OFF';
|
||||||
case Enum$ServiceStatusEnum.$unknown:
|
case Enum$ServiceStatusEnum.$unknown:
|
||||||
return r'$unknown';
|
return r'$unknown';
|
||||||
}
|
}
|
||||||
|
@ -1178,39 +1398,39 @@ String toJson$Enum$ServiceStatusEnum(Enum$ServiceStatusEnum e) {
|
||||||
|
|
||||||
Enum$ServiceStatusEnum fromJson$Enum$ServiceStatusEnum(String value) {
|
Enum$ServiceStatusEnum fromJson$Enum$ServiceStatusEnum(String value) {
|
||||||
switch (value) {
|
switch (value) {
|
||||||
case r'ACTIVATING':
|
|
||||||
return Enum$ServiceStatusEnum.ACTIVATING;
|
|
||||||
case r'ACTIVE':
|
case r'ACTIVE':
|
||||||
return Enum$ServiceStatusEnum.ACTIVE;
|
return Enum$ServiceStatusEnum.ACTIVE;
|
||||||
case r'DEACTIVATING':
|
|
||||||
return Enum$ServiceStatusEnum.DEACTIVATING;
|
|
||||||
case r'FAILED':
|
|
||||||
return Enum$ServiceStatusEnum.FAILED;
|
|
||||||
case r'INACTIVE':
|
|
||||||
return Enum$ServiceStatusEnum.INACTIVE;
|
|
||||||
case r'OFF':
|
|
||||||
return Enum$ServiceStatusEnum.OFF;
|
|
||||||
case r'RELOADING':
|
case r'RELOADING':
|
||||||
return Enum$ServiceStatusEnum.RELOADING;
|
return Enum$ServiceStatusEnum.RELOADING;
|
||||||
|
case r'INACTIVE':
|
||||||
|
return Enum$ServiceStatusEnum.INACTIVE;
|
||||||
|
case r'FAILED':
|
||||||
|
return Enum$ServiceStatusEnum.FAILED;
|
||||||
|
case r'ACTIVATING':
|
||||||
|
return Enum$ServiceStatusEnum.ACTIVATING;
|
||||||
|
case r'DEACTIVATING':
|
||||||
|
return Enum$ServiceStatusEnum.DEACTIVATING;
|
||||||
|
case r'OFF':
|
||||||
|
return Enum$ServiceStatusEnum.OFF;
|
||||||
default:
|
default:
|
||||||
return Enum$ServiceStatusEnum.$unknown;
|
return Enum$ServiceStatusEnum.$unknown;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
enum Enum$Severity { CRITICAL, ERROR, INFO, SUCCESS, WARNING, $unknown }
|
enum Enum$Severity { INFO, WARNING, ERROR, CRITICAL, SUCCESS, $unknown }
|
||||||
|
|
||||||
String toJson$Enum$Severity(Enum$Severity e) {
|
String toJson$Enum$Severity(Enum$Severity e) {
|
||||||
switch (e) {
|
switch (e) {
|
||||||
case Enum$Severity.CRITICAL:
|
|
||||||
return r'CRITICAL';
|
|
||||||
case Enum$Severity.ERROR:
|
|
||||||
return r'ERROR';
|
|
||||||
case Enum$Severity.INFO:
|
case Enum$Severity.INFO:
|
||||||
return r'INFO';
|
return r'INFO';
|
||||||
case Enum$Severity.SUCCESS:
|
|
||||||
return r'SUCCESS';
|
|
||||||
case Enum$Severity.WARNING:
|
case Enum$Severity.WARNING:
|
||||||
return r'WARNING';
|
return r'WARNING';
|
||||||
|
case Enum$Severity.ERROR:
|
||||||
|
return r'ERROR';
|
||||||
|
case Enum$Severity.CRITICAL:
|
||||||
|
return r'CRITICAL';
|
||||||
|
case Enum$Severity.SUCCESS:
|
||||||
|
return r'SUCCESS';
|
||||||
case Enum$Severity.$unknown:
|
case Enum$Severity.$unknown:
|
||||||
return r'$unknown';
|
return r'$unknown';
|
||||||
}
|
}
|
||||||
|
@ -1218,16 +1438,16 @@ String toJson$Enum$Severity(Enum$Severity e) {
|
||||||
|
|
||||||
Enum$Severity fromJson$Enum$Severity(String value) {
|
Enum$Severity fromJson$Enum$Severity(String value) {
|
||||||
switch (value) {
|
switch (value) {
|
||||||
case r'CRITICAL':
|
|
||||||
return Enum$Severity.CRITICAL;
|
|
||||||
case r'ERROR':
|
|
||||||
return Enum$Severity.ERROR;
|
|
||||||
case r'INFO':
|
case r'INFO':
|
||||||
return Enum$Severity.INFO;
|
return Enum$Severity.INFO;
|
||||||
case r'SUCCESS':
|
|
||||||
return Enum$Severity.SUCCESS;
|
|
||||||
case r'WARNING':
|
case r'WARNING':
|
||||||
return Enum$Severity.WARNING;
|
return Enum$Severity.WARNING;
|
||||||
|
case r'ERROR':
|
||||||
|
return Enum$Severity.ERROR;
|
||||||
|
case r'CRITICAL':
|
||||||
|
return Enum$Severity.CRITICAL;
|
||||||
|
case r'SUCCESS':
|
||||||
|
return Enum$Severity.SUCCESS;
|
||||||
default:
|
default:
|
||||||
return Enum$Severity.$unknown;
|
return Enum$Severity.$unknown;
|
||||||
}
|
}
|
||||||
|
@ -1555,11 +1775,229 @@ extension ClientExtension$Fragment$dnsRecordFields on graphql.GraphQLClient {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class Fragment$backupSnapshotFields {
|
||||||
|
Fragment$backupSnapshotFields({
|
||||||
|
required this.id,
|
||||||
|
required this.createdAt,
|
||||||
|
this.$__typename = 'SnapshotInfo',
|
||||||
|
});
|
||||||
|
|
||||||
|
factory Fragment$backupSnapshotFields.fromJson(Map<String, dynamic> json) {
|
||||||
|
final l$id = json['id'];
|
||||||
|
final l$createdAt = json['createdAt'];
|
||||||
|
final l$$__typename = json['__typename'];
|
||||||
|
return Fragment$backupSnapshotFields(
|
||||||
|
id: (l$id as String),
|
||||||
|
createdAt: dateTimeFromJson(l$createdAt),
|
||||||
|
$__typename: (l$$__typename as String),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
final String id;
|
||||||
|
|
||||||
|
final DateTime createdAt;
|
||||||
|
|
||||||
|
final String $__typename;
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final _resultData = <String, dynamic>{};
|
||||||
|
final l$id = id;
|
||||||
|
_resultData['id'] = l$id;
|
||||||
|
final l$createdAt = createdAt;
|
||||||
|
_resultData['createdAt'] = dateTimeToJson(l$createdAt);
|
||||||
|
final l$$__typename = $__typename;
|
||||||
|
_resultData['__typename'] = l$$__typename;
|
||||||
|
return _resultData;
|
||||||
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
int get hashCode {
|
||||||
|
final l$id = id;
|
||||||
|
final l$createdAt = createdAt;
|
||||||
|
final l$$__typename = $__typename;
|
||||||
|
return Object.hashAll([
|
||||||
|
l$id,
|
||||||
|
l$createdAt,
|
||||||
|
l$$__typename,
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
bool operator ==(Object other) {
|
||||||
|
if (identical(this, other)) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(other is Fragment$backupSnapshotFields) ||
|
||||||
|
runtimeType != other.runtimeType) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
final l$id = id;
|
||||||
|
final lOther$id = other.id;
|
||||||
|
if (l$id != lOther$id) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
final l$createdAt = createdAt;
|
||||||
|
final lOther$createdAt = other.createdAt;
|
||||||
|
if (l$createdAt != lOther$createdAt) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
final l$$__typename = $__typename;
|
||||||
|
final lOther$$__typename = other.$__typename;
|
||||||
|
if (l$$__typename != lOther$$__typename) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
extension UtilityExtension$Fragment$backupSnapshotFields
|
||||||
|
on Fragment$backupSnapshotFields {
|
||||||
|
CopyWith$Fragment$backupSnapshotFields<Fragment$backupSnapshotFields>
|
||||||
|
get copyWith => CopyWith$Fragment$backupSnapshotFields(
|
||||||
|
this,
|
||||||
|
(i) => i,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
abstract class CopyWith$Fragment$backupSnapshotFields<TRes> {
|
||||||
|
factory CopyWith$Fragment$backupSnapshotFields(
|
||||||
|
Fragment$backupSnapshotFields instance,
|
||||||
|
TRes Function(Fragment$backupSnapshotFields) then,
|
||||||
|
) = _CopyWithImpl$Fragment$backupSnapshotFields;
|
||||||
|
|
||||||
|
factory CopyWith$Fragment$backupSnapshotFields.stub(TRes res) =
|
||||||
|
_CopyWithStubImpl$Fragment$backupSnapshotFields;
|
||||||
|
|
||||||
|
TRes call({
|
||||||
|
String? id,
|
||||||
|
DateTime? createdAt,
|
||||||
|
String? $__typename,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
class _CopyWithImpl$Fragment$backupSnapshotFields<TRes>
|
||||||
|
implements CopyWith$Fragment$backupSnapshotFields<TRes> {
|
||||||
|
_CopyWithImpl$Fragment$backupSnapshotFields(
|
||||||
|
this._instance,
|
||||||
|
this._then,
|
||||||
|
);
|
||||||
|
|
||||||
|
final Fragment$backupSnapshotFields _instance;
|
||||||
|
|
||||||
|
final TRes Function(Fragment$backupSnapshotFields) _then;
|
||||||
|
|
||||||
|
static const _undefined = <dynamic, dynamic>{};
|
||||||
|
|
||||||
|
TRes call({
|
||||||
|
Object? id = _undefined,
|
||||||
|
Object? createdAt = _undefined,
|
||||||
|
Object? $__typename = _undefined,
|
||||||
|
}) =>
|
||||||
|
_then(Fragment$backupSnapshotFields(
|
||||||
|
id: id == _undefined || id == null ? _instance.id : (id as String),
|
||||||
|
createdAt: createdAt == _undefined || createdAt == null
|
||||||
|
? _instance.createdAt
|
||||||
|
: (createdAt as DateTime),
|
||||||
|
$__typename: $__typename == _undefined || $__typename == null
|
||||||
|
? _instance.$__typename
|
||||||
|
: ($__typename as String),
|
||||||
|
));
|
||||||
|
}
|
||||||
|
|
||||||
|
class _CopyWithStubImpl$Fragment$backupSnapshotFields<TRes>
|
||||||
|
implements CopyWith$Fragment$backupSnapshotFields<TRes> {
|
||||||
|
_CopyWithStubImpl$Fragment$backupSnapshotFields(this._res);
|
||||||
|
|
||||||
|
TRes _res;
|
||||||
|
|
||||||
|
call({
|
||||||
|
String? id,
|
||||||
|
DateTime? createdAt,
|
||||||
|
String? $__typename,
|
||||||
|
}) =>
|
||||||
|
_res;
|
||||||
|
}
|
||||||
|
|
||||||
|
const fragmentDefinitionbackupSnapshotFields = FragmentDefinitionNode(
|
||||||
|
name: NameNode(value: 'backupSnapshotFields'),
|
||||||
|
typeCondition: TypeConditionNode(
|
||||||
|
on: NamedTypeNode(
|
||||||
|
name: NameNode(value: 'SnapshotInfo'),
|
||||||
|
isNonNull: false,
|
||||||
|
)),
|
||||||
|
directives: [],
|
||||||
|
selectionSet: SelectionSetNode(selections: [
|
||||||
|
FieldNode(
|
||||||
|
name: NameNode(value: 'id'),
|
||||||
|
alias: null,
|
||||||
|
arguments: [],
|
||||||
|
directives: [],
|
||||||
|
selectionSet: null,
|
||||||
|
),
|
||||||
|
FieldNode(
|
||||||
|
name: NameNode(value: 'createdAt'),
|
||||||
|
alias: null,
|
||||||
|
arguments: [],
|
||||||
|
directives: [],
|
||||||
|
selectionSet: null,
|
||||||
|
),
|
||||||
|
FieldNode(
|
||||||
|
name: NameNode(value: '__typename'),
|
||||||
|
alias: null,
|
||||||
|
arguments: [],
|
||||||
|
directives: [],
|
||||||
|
selectionSet: null,
|
||||||
|
),
|
||||||
|
]),
|
||||||
|
);
|
||||||
|
const documentNodeFragmentbackupSnapshotFields = DocumentNode(definitions: [
|
||||||
|
fragmentDefinitionbackupSnapshotFields,
|
||||||
|
]);
|
||||||
|
|
||||||
|
extension ClientExtension$Fragment$backupSnapshotFields
|
||||||
|
on graphql.GraphQLClient {
|
||||||
|
void writeFragment$backupSnapshotFields({
|
||||||
|
required Fragment$backupSnapshotFields data,
|
||||||
|
required Map<String, dynamic> idFields,
|
||||||
|
bool broadcast = true,
|
||||||
|
}) =>
|
||||||
|
this.writeFragment(
|
||||||
|
graphql.FragmentRequest(
|
||||||
|
idFields: idFields,
|
||||||
|
fragment: const graphql.Fragment(
|
||||||
|
fragmentName: 'backupSnapshotFields',
|
||||||
|
document: documentNodeFragmentbackupSnapshotFields,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
data: data.toJson(),
|
||||||
|
broadcast: broadcast,
|
||||||
|
);
|
||||||
|
Fragment$backupSnapshotFields? readFragment$backupSnapshotFields({
|
||||||
|
required Map<String, dynamic> idFields,
|
||||||
|
bool optimistic = true,
|
||||||
|
}) {
|
||||||
|
final result = this.readFragment(
|
||||||
|
graphql.FragmentRequest(
|
||||||
|
idFields: idFields,
|
||||||
|
fragment: const graphql.Fragment(
|
||||||
|
fragmentName: 'backupSnapshotFields',
|
||||||
|
document: documentNodeFragmentbackupSnapshotFields,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
optimistic: optimistic,
|
||||||
|
);
|
||||||
|
return result == null
|
||||||
|
? null
|
||||||
|
: Fragment$backupSnapshotFields.fromJson(result);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
const possibleTypesMap = <String, Set<String>>{
|
const possibleTypesMap = <String, Set<String>>{
|
||||||
'MutationReturnInterface': {
|
'MutationReturnInterface': {
|
||||||
'ApiKeyMutationReturn',
|
'ApiKeyMutationReturn',
|
||||||
'AutoUpgradeSettingsMutationReturn',
|
'AutoUpgradeSettingsMutationReturn',
|
||||||
'DeviceApiTokenMutationReturn',
|
'DeviceApiTokenMutationReturn',
|
||||||
|
'GenericBackupConfigReturn',
|
||||||
'GenericJobButationReturn',
|
'GenericJobButationReturn',
|
||||||
'GenericMutationReturn',
|
'GenericMutationReturn',
|
||||||
'ServiceJobMutationReturn',
|
'ServiceJobMutationReturn',
|
||||||
|
|
|
@ -28,6 +28,10 @@ class Fragment$basicMutationReturnFields {
|
||||||
return Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn
|
return Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn
|
||||||
.fromJson(json);
|
.fromJson(json);
|
||||||
|
|
||||||
|
case "GenericBackupConfigReturn":
|
||||||
|
return Fragment$basicMutationReturnFields$$GenericBackupConfigReturn
|
||||||
|
.fromJson(json);
|
||||||
|
|
||||||
case "GenericJobButationReturn":
|
case "GenericJobButationReturn":
|
||||||
return Fragment$basicMutationReturnFields$$GenericJobButationReturn
|
return Fragment$basicMutationReturnFields$$GenericJobButationReturn
|
||||||
.fromJson(json);
|
.fromJson(json);
|
||||||
|
@ -152,6 +156,9 @@ extension UtilityExtension$Fragment$basicMutationReturnFields
|
||||||
required _T Function(
|
required _T Function(
|
||||||
Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn)
|
Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn)
|
||||||
deviceApiTokenMutationReturn,
|
deviceApiTokenMutationReturn,
|
||||||
|
required _T Function(
|
||||||
|
Fragment$basicMutationReturnFields$$GenericBackupConfigReturn)
|
||||||
|
genericBackupConfigReturn,
|
||||||
required _T Function(
|
required _T Function(
|
||||||
Fragment$basicMutationReturnFields$$GenericJobButationReturn)
|
Fragment$basicMutationReturnFields$$GenericJobButationReturn)
|
||||||
genericJobButationReturn,
|
genericJobButationReturn,
|
||||||
|
@ -184,6 +191,10 @@ extension UtilityExtension$Fragment$basicMutationReturnFields
|
||||||
return deviceApiTokenMutationReturn(this
|
return deviceApiTokenMutationReturn(this
|
||||||
as Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn);
|
as Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn);
|
||||||
|
|
||||||
|
case "GenericBackupConfigReturn":
|
||||||
|
return genericBackupConfigReturn(this
|
||||||
|
as Fragment$basicMutationReturnFields$$GenericBackupConfigReturn);
|
||||||
|
|
||||||
case "GenericJobButationReturn":
|
case "GenericJobButationReturn":
|
||||||
return genericJobButationReturn(this
|
return genericJobButationReturn(this
|
||||||
as Fragment$basicMutationReturnFields$$GenericJobButationReturn);
|
as Fragment$basicMutationReturnFields$$GenericJobButationReturn);
|
||||||
|
@ -222,6 +233,8 @@ extension UtilityExtension$Fragment$basicMutationReturnFields
|
||||||
_T Function(
|
_T Function(
|
||||||
Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn)?
|
Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn)?
|
||||||
deviceApiTokenMutationReturn,
|
deviceApiTokenMutationReturn,
|
||||||
|
_T Function(Fragment$basicMutationReturnFields$$GenericBackupConfigReturn)?
|
||||||
|
genericBackupConfigReturn,
|
||||||
_T Function(Fragment$basicMutationReturnFields$$GenericJobButationReturn)?
|
_T Function(Fragment$basicMutationReturnFields$$GenericJobButationReturn)?
|
||||||
genericJobButationReturn,
|
genericJobButationReturn,
|
||||||
_T Function(Fragment$basicMutationReturnFields$$GenericMutationReturn)?
|
_T Function(Fragment$basicMutationReturnFields$$GenericMutationReturn)?
|
||||||
|
@ -261,6 +274,14 @@ extension UtilityExtension$Fragment$basicMutationReturnFields
|
||||||
return orElse();
|
return orElse();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case "GenericBackupConfigReturn":
|
||||||
|
if (genericBackupConfigReturn != null) {
|
||||||
|
return genericBackupConfigReturn(this
|
||||||
|
as Fragment$basicMutationReturnFields$$GenericBackupConfigReturn);
|
||||||
|
} else {
|
||||||
|
return orElse();
|
||||||
|
}
|
||||||
|
|
||||||
case "GenericJobButationReturn":
|
case "GenericJobButationReturn":
|
||||||
if (genericJobButationReturn != null) {
|
if (genericJobButationReturn != null) {
|
||||||
return genericJobButationReturn(this
|
return genericJobButationReturn(this
|
||||||
|
@ -1009,6 +1030,186 @@ class _CopyWithStubImpl$Fragment$basicMutationReturnFields$$DeviceApiTokenMutati
|
||||||
_res;
|
_res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class Fragment$basicMutationReturnFields$$GenericBackupConfigReturn
|
||||||
|
implements Fragment$basicMutationReturnFields {
|
||||||
|
Fragment$basicMutationReturnFields$$GenericBackupConfigReturn({
|
||||||
|
required this.code,
|
||||||
|
required this.message,
|
||||||
|
required this.success,
|
||||||
|
this.$__typename = 'GenericBackupConfigReturn',
|
||||||
|
});
|
||||||
|
|
||||||
|
factory Fragment$basicMutationReturnFields$$GenericBackupConfigReturn.fromJson(
|
||||||
|
Map<String, dynamic> json) {
|
||||||
|
final l$code = json['code'];
|
||||||
|
final l$message = json['message'];
|
||||||
|
final l$success = json['success'];
|
||||||
|
final l$$__typename = json['__typename'];
|
||||||
|
return Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
||||||
|
code: (l$code as int),
|
||||||
|
message: (l$message as String),
|
||||||
|
success: (l$success as bool),
|
||||||
|
$__typename: (l$$__typename as String),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
final int code;
|
||||||
|
|
||||||
|
final String message;
|
||||||
|
|
||||||
|
final bool success;
|
||||||
|
|
||||||
|
final String $__typename;
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final _resultData = <String, dynamic>{};
|
||||||
|
final l$code = code;
|
||||||
|
_resultData['code'] = l$code;
|
||||||
|
final l$message = message;
|
||||||
|
_resultData['message'] = l$message;
|
||||||
|
final l$success = success;
|
||||||
|
_resultData['success'] = l$success;
|
||||||
|
final l$$__typename = $__typename;
|
||||||
|
_resultData['__typename'] = l$$__typename;
|
||||||
|
return _resultData;
|
||||||
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
int get hashCode {
|
||||||
|
final l$code = code;
|
||||||
|
final l$message = message;
|
||||||
|
final l$success = success;
|
||||||
|
final l$$__typename = $__typename;
|
||||||
|
return Object.hashAll([
|
||||||
|
l$code,
|
||||||
|
l$message,
|
||||||
|
l$success,
|
||||||
|
l$$__typename,
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
bool operator ==(Object other) {
|
||||||
|
if (identical(this, other)) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(other
|
||||||
|
is Fragment$basicMutationReturnFields$$GenericBackupConfigReturn) ||
|
||||||
|
runtimeType != other.runtimeType) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
final l$code = code;
|
||||||
|
final lOther$code = other.code;
|
||||||
|
if (l$code != lOther$code) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
final l$message = message;
|
||||||
|
final lOther$message = other.message;
|
||||||
|
if (l$message != lOther$message) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
final l$success = success;
|
||||||
|
final lOther$success = other.success;
|
||||||
|
if (l$success != lOther$success) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
final l$$__typename = $__typename;
|
||||||
|
final lOther$$__typename = other.$__typename;
|
||||||
|
if (l$$__typename != lOther$$__typename) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
extension UtilityExtension$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn
|
||||||
|
on Fragment$basicMutationReturnFields$$GenericBackupConfigReturn {
|
||||||
|
CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
||||||
|
Fragment$basicMutationReturnFields$$GenericBackupConfigReturn>
|
||||||
|
get copyWith =>
|
||||||
|
CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
||||||
|
this,
|
||||||
|
(i) => i,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
abstract class CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
||||||
|
TRes> {
|
||||||
|
factory CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
||||||
|
Fragment$basicMutationReturnFields$$GenericBackupConfigReturn instance,
|
||||||
|
TRes Function(Fragment$basicMutationReturnFields$$GenericBackupConfigReturn)
|
||||||
|
then,
|
||||||
|
) = _CopyWithImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn;
|
||||||
|
|
||||||
|
factory CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn.stub(
|
||||||
|
TRes res) =
|
||||||
|
_CopyWithStubImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn;
|
||||||
|
|
||||||
|
TRes call({
|
||||||
|
int? code,
|
||||||
|
String? message,
|
||||||
|
bool? success,
|
||||||
|
String? $__typename,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
class _CopyWithImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
||||||
|
TRes>
|
||||||
|
implements
|
||||||
|
CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
||||||
|
TRes> {
|
||||||
|
_CopyWithImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
||||||
|
this._instance,
|
||||||
|
this._then,
|
||||||
|
);
|
||||||
|
|
||||||
|
final Fragment$basicMutationReturnFields$$GenericBackupConfigReturn _instance;
|
||||||
|
|
||||||
|
final TRes Function(
|
||||||
|
Fragment$basicMutationReturnFields$$GenericBackupConfigReturn) _then;
|
||||||
|
|
||||||
|
static const _undefined = <dynamic, dynamic>{};
|
||||||
|
|
||||||
|
TRes call({
|
||||||
|
Object? code = _undefined,
|
||||||
|
Object? message = _undefined,
|
||||||
|
Object? success = _undefined,
|
||||||
|
Object? $__typename = _undefined,
|
||||||
|
}) =>
|
||||||
|
_then(Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
||||||
|
code:
|
||||||
|
code == _undefined || code == null ? _instance.code : (code as int),
|
||||||
|
message: message == _undefined || message == null
|
||||||
|
? _instance.message
|
||||||
|
: (message as String),
|
||||||
|
success: success == _undefined || success == null
|
||||||
|
? _instance.success
|
||||||
|
: (success as bool),
|
||||||
|
$__typename: $__typename == _undefined || $__typename == null
|
||||||
|
? _instance.$__typename
|
||||||
|
: ($__typename as String),
|
||||||
|
));
|
||||||
|
}
|
||||||
|
|
||||||
|
class _CopyWithStubImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
||||||
|
TRes>
|
||||||
|
implements
|
||||||
|
CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
||||||
|
TRes> {
|
||||||
|
_CopyWithStubImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
||||||
|
this._res);
|
||||||
|
|
||||||
|
TRes _res;
|
||||||
|
|
||||||
|
call({
|
||||||
|
int? code,
|
||||||
|
String? message,
|
||||||
|
bool? success,
|
||||||
|
String? $__typename,
|
||||||
|
}) =>
|
||||||
|
_res;
|
||||||
|
}
|
||||||
|
|
||||||
class Fragment$basicMutationReturnFields$$GenericJobButationReturn
|
class Fragment$basicMutationReturnFields$$GenericJobButationReturn
|
||||||
implements Fragment$basicMutationReturnFields {
|
implements Fragment$basicMutationReturnFields {
|
||||||
Fragment$basicMutationReturnFields$$GenericJobButationReturn({
|
Fragment$basicMutationReturnFields$$GenericJobButationReturn({
|
||||||
|
|
|
@ -27,6 +27,10 @@ class Fragment$basicMutationReturnFields {
|
||||||
return Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn
|
return Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn
|
||||||
.fromJson(json);
|
.fromJson(json);
|
||||||
|
|
||||||
|
case "GenericBackupConfigReturn":
|
||||||
|
return Fragment$basicMutationReturnFields$$GenericBackupConfigReturn
|
||||||
|
.fromJson(json);
|
||||||
|
|
||||||
case "GenericJobButationReturn":
|
case "GenericJobButationReturn":
|
||||||
return Fragment$basicMutationReturnFields$$GenericJobButationReturn
|
return Fragment$basicMutationReturnFields$$GenericJobButationReturn
|
||||||
.fromJson(json);
|
.fromJson(json);
|
||||||
|
@ -151,6 +155,9 @@ extension UtilityExtension$Fragment$basicMutationReturnFields
|
||||||
required _T Function(
|
required _T Function(
|
||||||
Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn)
|
Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn)
|
||||||
deviceApiTokenMutationReturn,
|
deviceApiTokenMutationReturn,
|
||||||
|
required _T Function(
|
||||||
|
Fragment$basicMutationReturnFields$$GenericBackupConfigReturn)
|
||||||
|
genericBackupConfigReturn,
|
||||||
required _T Function(
|
required _T Function(
|
||||||
Fragment$basicMutationReturnFields$$GenericJobButationReturn)
|
Fragment$basicMutationReturnFields$$GenericJobButationReturn)
|
||||||
genericJobButationReturn,
|
genericJobButationReturn,
|
||||||
|
@ -183,6 +190,10 @@ extension UtilityExtension$Fragment$basicMutationReturnFields
|
||||||
return deviceApiTokenMutationReturn(this
|
return deviceApiTokenMutationReturn(this
|
||||||
as Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn);
|
as Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn);
|
||||||
|
|
||||||
|
case "GenericBackupConfigReturn":
|
||||||
|
return genericBackupConfigReturn(this
|
||||||
|
as Fragment$basicMutationReturnFields$$GenericBackupConfigReturn);
|
||||||
|
|
||||||
case "GenericJobButationReturn":
|
case "GenericJobButationReturn":
|
||||||
return genericJobButationReturn(this
|
return genericJobButationReturn(this
|
||||||
as Fragment$basicMutationReturnFields$$GenericJobButationReturn);
|
as Fragment$basicMutationReturnFields$$GenericJobButationReturn);
|
||||||
|
@ -221,6 +232,8 @@ extension UtilityExtension$Fragment$basicMutationReturnFields
|
||||||
_T Function(
|
_T Function(
|
||||||
Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn)?
|
Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn)?
|
||||||
deviceApiTokenMutationReturn,
|
deviceApiTokenMutationReturn,
|
||||||
|
_T Function(Fragment$basicMutationReturnFields$$GenericBackupConfigReturn)?
|
||||||
|
genericBackupConfigReturn,
|
||||||
_T Function(Fragment$basicMutationReturnFields$$GenericJobButationReturn)?
|
_T Function(Fragment$basicMutationReturnFields$$GenericJobButationReturn)?
|
||||||
genericJobButationReturn,
|
genericJobButationReturn,
|
||||||
_T Function(Fragment$basicMutationReturnFields$$GenericMutationReturn)?
|
_T Function(Fragment$basicMutationReturnFields$$GenericMutationReturn)?
|
||||||
|
@ -260,6 +273,14 @@ extension UtilityExtension$Fragment$basicMutationReturnFields
|
||||||
return orElse();
|
return orElse();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case "GenericBackupConfigReturn":
|
||||||
|
if (genericBackupConfigReturn != null) {
|
||||||
|
return genericBackupConfigReturn(this
|
||||||
|
as Fragment$basicMutationReturnFields$$GenericBackupConfigReturn);
|
||||||
|
} else {
|
||||||
|
return orElse();
|
||||||
|
}
|
||||||
|
|
||||||
case "GenericJobButationReturn":
|
case "GenericJobButationReturn":
|
||||||
if (genericJobButationReturn != null) {
|
if (genericJobButationReturn != null) {
|
||||||
return genericJobButationReturn(this
|
return genericJobButationReturn(this
|
||||||
|
@ -1008,6 +1029,186 @@ class _CopyWithStubImpl$Fragment$basicMutationReturnFields$$DeviceApiTokenMutati
|
||||||
_res;
|
_res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class Fragment$basicMutationReturnFields$$GenericBackupConfigReturn
|
||||||
|
implements Fragment$basicMutationReturnFields {
|
||||||
|
Fragment$basicMutationReturnFields$$GenericBackupConfigReturn({
|
||||||
|
required this.code,
|
||||||
|
required this.message,
|
||||||
|
required this.success,
|
||||||
|
this.$__typename = 'GenericBackupConfigReturn',
|
||||||
|
});
|
||||||
|
|
||||||
|
factory Fragment$basicMutationReturnFields$$GenericBackupConfigReturn.fromJson(
|
||||||
|
Map<String, dynamic> json) {
|
||||||
|
final l$code = json['code'];
|
||||||
|
final l$message = json['message'];
|
||||||
|
final l$success = json['success'];
|
||||||
|
final l$$__typename = json['__typename'];
|
||||||
|
return Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
||||||
|
code: (l$code as int),
|
||||||
|
message: (l$message as String),
|
||||||
|
success: (l$success as bool),
|
||||||
|
$__typename: (l$$__typename as String),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
final int code;
|
||||||
|
|
||||||
|
final String message;
|
||||||
|
|
||||||
|
final bool success;
|
||||||
|
|
||||||
|
final String $__typename;
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final _resultData = <String, dynamic>{};
|
||||||
|
final l$code = code;
|
||||||
|
_resultData['code'] = l$code;
|
||||||
|
final l$message = message;
|
||||||
|
_resultData['message'] = l$message;
|
||||||
|
final l$success = success;
|
||||||
|
_resultData['success'] = l$success;
|
||||||
|
final l$$__typename = $__typename;
|
||||||
|
_resultData['__typename'] = l$$__typename;
|
||||||
|
return _resultData;
|
||||||
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
int get hashCode {
|
||||||
|
final l$code = code;
|
||||||
|
final l$message = message;
|
||||||
|
final l$success = success;
|
||||||
|
final l$$__typename = $__typename;
|
||||||
|
return Object.hashAll([
|
||||||
|
l$code,
|
||||||
|
l$message,
|
||||||
|
l$success,
|
||||||
|
l$$__typename,
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
bool operator ==(Object other) {
|
||||||
|
if (identical(this, other)) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(other
|
||||||
|
is Fragment$basicMutationReturnFields$$GenericBackupConfigReturn) ||
|
||||||
|
runtimeType != other.runtimeType) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
final l$code = code;
|
||||||
|
final lOther$code = other.code;
|
||||||
|
if (l$code != lOther$code) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
final l$message = message;
|
||||||
|
final lOther$message = other.message;
|
||||||
|
if (l$message != lOther$message) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
final l$success = success;
|
||||||
|
final lOther$success = other.success;
|
||||||
|
if (l$success != lOther$success) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
final l$$__typename = $__typename;
|
||||||
|
final lOther$$__typename = other.$__typename;
|
||||||
|
if (l$$__typename != lOther$$__typename) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
extension UtilityExtension$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn
|
||||||
|
on Fragment$basicMutationReturnFields$$GenericBackupConfigReturn {
|
||||||
|
CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
||||||
|
Fragment$basicMutationReturnFields$$GenericBackupConfigReturn>
|
||||||
|
get copyWith =>
|
||||||
|
CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
||||||
|
this,
|
||||||
|
(i) => i,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
abstract class CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
||||||
|
TRes> {
|
||||||
|
factory CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
||||||
|
Fragment$basicMutationReturnFields$$GenericBackupConfigReturn instance,
|
||||||
|
TRes Function(Fragment$basicMutationReturnFields$$GenericBackupConfigReturn)
|
||||||
|
then,
|
||||||
|
) = _CopyWithImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn;
|
||||||
|
|
||||||
|
factory CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn.stub(
|
||||||
|
TRes res) =
|
||||||
|
_CopyWithStubImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn;
|
||||||
|
|
||||||
|
TRes call({
|
||||||
|
int? code,
|
||||||
|
String? message,
|
||||||
|
bool? success,
|
||||||
|
String? $__typename,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
class _CopyWithImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
||||||
|
TRes>
|
||||||
|
implements
|
||||||
|
CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
||||||
|
TRes> {
|
||||||
|
_CopyWithImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
||||||
|
this._instance,
|
||||||
|
this._then,
|
||||||
|
);
|
||||||
|
|
||||||
|
final Fragment$basicMutationReturnFields$$GenericBackupConfigReturn _instance;
|
||||||
|
|
||||||
|
final TRes Function(
|
||||||
|
Fragment$basicMutationReturnFields$$GenericBackupConfigReturn) _then;
|
||||||
|
|
||||||
|
static const _undefined = <dynamic, dynamic>{};
|
||||||
|
|
||||||
|
TRes call({
|
||||||
|
Object? code = _undefined,
|
||||||
|
Object? message = _undefined,
|
||||||
|
Object? success = _undefined,
|
||||||
|
Object? $__typename = _undefined,
|
||||||
|
}) =>
|
||||||
|
_then(Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
||||||
|
code:
|
||||||
|
code == _undefined || code == null ? _instance.code : (code as int),
|
||||||
|
message: message == _undefined || message == null
|
||||||
|
? _instance.message
|
||||||
|
: (message as String),
|
||||||
|
success: success == _undefined || success == null
|
||||||
|
? _instance.success
|
||||||
|
: (success as bool),
|
||||||
|
$__typename: $__typename == _undefined || $__typename == null
|
||||||
|
? _instance.$__typename
|
||||||
|
: ($__typename as String),
|
||||||
|
));
|
||||||
|
}
|
||||||
|
|
||||||
|
class _CopyWithStubImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
||||||
|
TRes>
|
||||||
|
implements
|
||||||
|
CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
||||||
|
TRes> {
|
||||||
|
_CopyWithStubImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
||||||
|
this._res);
|
||||||
|
|
||||||
|
TRes _res;
|
||||||
|
|
||||||
|
call({
|
||||||
|
int? code,
|
||||||
|
String? message,
|
||||||
|
bool? success,
|
||||||
|
String? $__typename,
|
||||||
|
}) =>
|
||||||
|
_res;
|
||||||
|
}
|
||||||
|
|
||||||
class Fragment$basicMutationReturnFields$$GenericJobButationReturn
|
class Fragment$basicMutationReturnFields$$GenericJobButationReturn
|
||||||
implements Fragment$basicMutationReturnFields {
|
implements Fragment$basicMutationReturnFields {
|
||||||
Fragment$basicMutationReturnFields$$GenericJobButationReturn({
|
Fragment$basicMutationReturnFields$$GenericJobButationReturn({
|
||||||
|
|
|
@ -77,4 +77,4 @@ mutation MoveService($input: MoveServiceInput!) {
|
||||||
updatedAt
|
updatedAt
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,6 +28,10 @@ class Fragment$basicMutationReturnFields {
|
||||||
return Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn
|
return Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn
|
||||||
.fromJson(json);
|
.fromJson(json);
|
||||||
|
|
||||||
|
case "GenericBackupConfigReturn":
|
||||||
|
return Fragment$basicMutationReturnFields$$GenericBackupConfigReturn
|
||||||
|
.fromJson(json);
|
||||||
|
|
||||||
case "GenericJobButationReturn":
|
case "GenericJobButationReturn":
|
||||||
return Fragment$basicMutationReturnFields$$GenericJobButationReturn
|
return Fragment$basicMutationReturnFields$$GenericJobButationReturn
|
||||||
.fromJson(json);
|
.fromJson(json);
|
||||||
|
@ -152,6 +156,9 @@ extension UtilityExtension$Fragment$basicMutationReturnFields
|
||||||
required _T Function(
|
required _T Function(
|
||||||
Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn)
|
Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn)
|
||||||
deviceApiTokenMutationReturn,
|
deviceApiTokenMutationReturn,
|
||||||
|
required _T Function(
|
||||||
|
Fragment$basicMutationReturnFields$$GenericBackupConfigReturn)
|
||||||
|
genericBackupConfigReturn,
|
||||||
required _T Function(
|
required _T Function(
|
||||||
Fragment$basicMutationReturnFields$$GenericJobButationReturn)
|
Fragment$basicMutationReturnFields$$GenericJobButationReturn)
|
||||||
genericJobButationReturn,
|
genericJobButationReturn,
|
||||||
|
@ -184,6 +191,10 @@ extension UtilityExtension$Fragment$basicMutationReturnFields
|
||||||
return deviceApiTokenMutationReturn(this
|
return deviceApiTokenMutationReturn(this
|
||||||
as Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn);
|
as Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn);
|
||||||
|
|
||||||
|
case "GenericBackupConfigReturn":
|
||||||
|
return genericBackupConfigReturn(this
|
||||||
|
as Fragment$basicMutationReturnFields$$GenericBackupConfigReturn);
|
||||||
|
|
||||||
case "GenericJobButationReturn":
|
case "GenericJobButationReturn":
|
||||||
return genericJobButationReturn(this
|
return genericJobButationReturn(this
|
||||||
as Fragment$basicMutationReturnFields$$GenericJobButationReturn);
|
as Fragment$basicMutationReturnFields$$GenericJobButationReturn);
|
||||||
|
@ -222,6 +233,8 @@ extension UtilityExtension$Fragment$basicMutationReturnFields
|
||||||
_T Function(
|
_T Function(
|
||||||
Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn)?
|
Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn)?
|
||||||
deviceApiTokenMutationReturn,
|
deviceApiTokenMutationReturn,
|
||||||
|
_T Function(Fragment$basicMutationReturnFields$$GenericBackupConfigReturn)?
|
||||||
|
genericBackupConfigReturn,
|
||||||
_T Function(Fragment$basicMutationReturnFields$$GenericJobButationReturn)?
|
_T Function(Fragment$basicMutationReturnFields$$GenericJobButationReturn)?
|
||||||
genericJobButationReturn,
|
genericJobButationReturn,
|
||||||
_T Function(Fragment$basicMutationReturnFields$$GenericMutationReturn)?
|
_T Function(Fragment$basicMutationReturnFields$$GenericMutationReturn)?
|
||||||
|
@ -261,6 +274,14 @@ extension UtilityExtension$Fragment$basicMutationReturnFields
|
||||||
return orElse();
|
return orElse();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case "GenericBackupConfigReturn":
|
||||||
|
if (genericBackupConfigReturn != null) {
|
||||||
|
return genericBackupConfigReturn(this
|
||||||
|
as Fragment$basicMutationReturnFields$$GenericBackupConfigReturn);
|
||||||
|
} else {
|
||||||
|
return orElse();
|
||||||
|
}
|
||||||
|
|
||||||
case "GenericJobButationReturn":
|
case "GenericJobButationReturn":
|
||||||
if (genericJobButationReturn != null) {
|
if (genericJobButationReturn != null) {
|
||||||
return genericJobButationReturn(this
|
return genericJobButationReturn(this
|
||||||
|
@ -1009,6 +1030,186 @@ class _CopyWithStubImpl$Fragment$basicMutationReturnFields$$DeviceApiTokenMutati
|
||||||
_res;
|
_res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class Fragment$basicMutationReturnFields$$GenericBackupConfigReturn
|
||||||
|
implements Fragment$basicMutationReturnFields {
|
||||||
|
Fragment$basicMutationReturnFields$$GenericBackupConfigReturn({
|
||||||
|
required this.code,
|
||||||
|
required this.message,
|
||||||
|
required this.success,
|
||||||
|
this.$__typename = 'GenericBackupConfigReturn',
|
||||||
|
});
|
||||||
|
|
||||||
|
factory Fragment$basicMutationReturnFields$$GenericBackupConfigReturn.fromJson(
|
||||||
|
Map<String, dynamic> json) {
|
||||||
|
final l$code = json['code'];
|
||||||
|
final l$message = json['message'];
|
||||||
|
final l$success = json['success'];
|
||||||
|
final l$$__typename = json['__typename'];
|
||||||
|
return Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
||||||
|
code: (l$code as int),
|
||||||
|
message: (l$message as String),
|
||||||
|
success: (l$success as bool),
|
||||||
|
$__typename: (l$$__typename as String),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
final int code;
|
||||||
|
|
||||||
|
final String message;
|
||||||
|
|
||||||
|
final bool success;
|
||||||
|
|
||||||
|
final String $__typename;
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final _resultData = <String, dynamic>{};
|
||||||
|
final l$code = code;
|
||||||
|
_resultData['code'] = l$code;
|
||||||
|
final l$message = message;
|
||||||
|
_resultData['message'] = l$message;
|
||||||
|
final l$success = success;
|
||||||
|
_resultData['success'] = l$success;
|
||||||
|
final l$$__typename = $__typename;
|
||||||
|
_resultData['__typename'] = l$$__typename;
|
||||||
|
return _resultData;
|
||||||
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
int get hashCode {
|
||||||
|
final l$code = code;
|
||||||
|
final l$message = message;
|
||||||
|
final l$success = success;
|
||||||
|
final l$$__typename = $__typename;
|
||||||
|
return Object.hashAll([
|
||||||
|
l$code,
|
||||||
|
l$message,
|
||||||
|
l$success,
|
||||||
|
l$$__typename,
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
bool operator ==(Object other) {
|
||||||
|
if (identical(this, other)) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(other
|
||||||
|
is Fragment$basicMutationReturnFields$$GenericBackupConfigReturn) ||
|
||||||
|
runtimeType != other.runtimeType) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
final l$code = code;
|
||||||
|
final lOther$code = other.code;
|
||||||
|
if (l$code != lOther$code) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
final l$message = message;
|
||||||
|
final lOther$message = other.message;
|
||||||
|
if (l$message != lOther$message) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
final l$success = success;
|
||||||
|
final lOther$success = other.success;
|
||||||
|
if (l$success != lOther$success) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
final l$$__typename = $__typename;
|
||||||
|
final lOther$$__typename = other.$__typename;
|
||||||
|
if (l$$__typename != lOther$$__typename) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
extension UtilityExtension$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn
|
||||||
|
on Fragment$basicMutationReturnFields$$GenericBackupConfigReturn {
|
||||||
|
CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
||||||
|
Fragment$basicMutationReturnFields$$GenericBackupConfigReturn>
|
||||||
|
get copyWith =>
|
||||||
|
CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
||||||
|
this,
|
||||||
|
(i) => i,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
abstract class CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
||||||
|
TRes> {
|
||||||
|
factory CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
||||||
|
Fragment$basicMutationReturnFields$$GenericBackupConfigReturn instance,
|
||||||
|
TRes Function(Fragment$basicMutationReturnFields$$GenericBackupConfigReturn)
|
||||||
|
then,
|
||||||
|
) = _CopyWithImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn;
|
||||||
|
|
||||||
|
factory CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn.stub(
|
||||||
|
TRes res) =
|
||||||
|
_CopyWithStubImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn;
|
||||||
|
|
||||||
|
TRes call({
|
||||||
|
int? code,
|
||||||
|
String? message,
|
||||||
|
bool? success,
|
||||||
|
String? $__typename,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
class _CopyWithImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
||||||
|
TRes>
|
||||||
|
implements
|
||||||
|
CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
||||||
|
TRes> {
|
||||||
|
_CopyWithImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
||||||
|
this._instance,
|
||||||
|
this._then,
|
||||||
|
);
|
||||||
|
|
||||||
|
final Fragment$basicMutationReturnFields$$GenericBackupConfigReturn _instance;
|
||||||
|
|
||||||
|
final TRes Function(
|
||||||
|
Fragment$basicMutationReturnFields$$GenericBackupConfigReturn) _then;
|
||||||
|
|
||||||
|
static const _undefined = <dynamic, dynamic>{};
|
||||||
|
|
||||||
|
TRes call({
|
||||||
|
Object? code = _undefined,
|
||||||
|
Object? message = _undefined,
|
||||||
|
Object? success = _undefined,
|
||||||
|
Object? $__typename = _undefined,
|
||||||
|
}) =>
|
||||||
|
_then(Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
||||||
|
code:
|
||||||
|
code == _undefined || code == null ? _instance.code : (code as int),
|
||||||
|
message: message == _undefined || message == null
|
||||||
|
? _instance.message
|
||||||
|
: (message as String),
|
||||||
|
success: success == _undefined || success == null
|
||||||
|
? _instance.success
|
||||||
|
: (success as bool),
|
||||||
|
$__typename: $__typename == _undefined || $__typename == null
|
||||||
|
? _instance.$__typename
|
||||||
|
: ($__typename as String),
|
||||||
|
));
|
||||||
|
}
|
||||||
|
|
||||||
|
class _CopyWithStubImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
||||||
|
TRes>
|
||||||
|
implements
|
||||||
|
CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
||||||
|
TRes> {
|
||||||
|
_CopyWithStubImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
||||||
|
this._res);
|
||||||
|
|
||||||
|
TRes _res;
|
||||||
|
|
||||||
|
call({
|
||||||
|
int? code,
|
||||||
|
String? message,
|
||||||
|
bool? success,
|
||||||
|
String? $__typename,
|
||||||
|
}) =>
|
||||||
|
_res;
|
||||||
|
}
|
||||||
|
|
||||||
class Fragment$basicMutationReturnFields$$GenericJobButationReturn
|
class Fragment$basicMutationReturnFields$$GenericJobButationReturn
|
||||||
implements Fragment$basicMutationReturnFields {
|
implements Fragment$basicMutationReturnFields {
|
||||||
Fragment$basicMutationReturnFields$$GenericJobButationReturn({
|
Fragment$basicMutationReturnFields$$GenericJobButationReturn({
|
||||||
|
|
|
@ -27,6 +27,10 @@ class Fragment$basicMutationReturnFields {
|
||||||
return Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn
|
return Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn
|
||||||
.fromJson(json);
|
.fromJson(json);
|
||||||
|
|
||||||
|
case "GenericBackupConfigReturn":
|
||||||
|
return Fragment$basicMutationReturnFields$$GenericBackupConfigReturn
|
||||||
|
.fromJson(json);
|
||||||
|
|
||||||
case "GenericJobButationReturn":
|
case "GenericJobButationReturn":
|
||||||
return Fragment$basicMutationReturnFields$$GenericJobButationReturn
|
return Fragment$basicMutationReturnFields$$GenericJobButationReturn
|
||||||
.fromJson(json);
|
.fromJson(json);
|
||||||
|
@ -151,6 +155,9 @@ extension UtilityExtension$Fragment$basicMutationReturnFields
|
||||||
required _T Function(
|
required _T Function(
|
||||||
Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn)
|
Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn)
|
||||||
deviceApiTokenMutationReturn,
|
deviceApiTokenMutationReturn,
|
||||||
|
required _T Function(
|
||||||
|
Fragment$basicMutationReturnFields$$GenericBackupConfigReturn)
|
||||||
|
genericBackupConfigReturn,
|
||||||
required _T Function(
|
required _T Function(
|
||||||
Fragment$basicMutationReturnFields$$GenericJobButationReturn)
|
Fragment$basicMutationReturnFields$$GenericJobButationReturn)
|
||||||
genericJobButationReturn,
|
genericJobButationReturn,
|
||||||
|
@ -183,6 +190,10 @@ extension UtilityExtension$Fragment$basicMutationReturnFields
|
||||||
return deviceApiTokenMutationReturn(this
|
return deviceApiTokenMutationReturn(this
|
||||||
as Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn);
|
as Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn);
|
||||||
|
|
||||||
|
case "GenericBackupConfigReturn":
|
||||||
|
return genericBackupConfigReturn(this
|
||||||
|
as Fragment$basicMutationReturnFields$$GenericBackupConfigReturn);
|
||||||
|
|
||||||
case "GenericJobButationReturn":
|
case "GenericJobButationReturn":
|
||||||
return genericJobButationReturn(this
|
return genericJobButationReturn(this
|
||||||
as Fragment$basicMutationReturnFields$$GenericJobButationReturn);
|
as Fragment$basicMutationReturnFields$$GenericJobButationReturn);
|
||||||
|
@ -221,6 +232,8 @@ extension UtilityExtension$Fragment$basicMutationReturnFields
|
||||||
_T Function(
|
_T Function(
|
||||||
Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn)?
|
Fragment$basicMutationReturnFields$$DeviceApiTokenMutationReturn)?
|
||||||
deviceApiTokenMutationReturn,
|
deviceApiTokenMutationReturn,
|
||||||
|
_T Function(Fragment$basicMutationReturnFields$$GenericBackupConfigReturn)?
|
||||||
|
genericBackupConfigReturn,
|
||||||
_T Function(Fragment$basicMutationReturnFields$$GenericJobButationReturn)?
|
_T Function(Fragment$basicMutationReturnFields$$GenericJobButationReturn)?
|
||||||
genericJobButationReturn,
|
genericJobButationReturn,
|
||||||
_T Function(Fragment$basicMutationReturnFields$$GenericMutationReturn)?
|
_T Function(Fragment$basicMutationReturnFields$$GenericMutationReturn)?
|
||||||
|
@ -260,6 +273,14 @@ extension UtilityExtension$Fragment$basicMutationReturnFields
|
||||||
return orElse();
|
return orElse();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case "GenericBackupConfigReturn":
|
||||||
|
if (genericBackupConfigReturn != null) {
|
||||||
|
return genericBackupConfigReturn(this
|
||||||
|
as Fragment$basicMutationReturnFields$$GenericBackupConfigReturn);
|
||||||
|
} else {
|
||||||
|
return orElse();
|
||||||
|
}
|
||||||
|
|
||||||
case "GenericJobButationReturn":
|
case "GenericJobButationReturn":
|
||||||
if (genericJobButationReturn != null) {
|
if (genericJobButationReturn != null) {
|
||||||
return genericJobButationReturn(this
|
return genericJobButationReturn(this
|
||||||
|
@ -1008,6 +1029,186 @@ class _CopyWithStubImpl$Fragment$basicMutationReturnFields$$DeviceApiTokenMutati
|
||||||
_res;
|
_res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class Fragment$basicMutationReturnFields$$GenericBackupConfigReturn
|
||||||
|
implements Fragment$basicMutationReturnFields {
|
||||||
|
Fragment$basicMutationReturnFields$$GenericBackupConfigReturn({
|
||||||
|
required this.code,
|
||||||
|
required this.message,
|
||||||
|
required this.success,
|
||||||
|
this.$__typename = 'GenericBackupConfigReturn',
|
||||||
|
});
|
||||||
|
|
||||||
|
factory Fragment$basicMutationReturnFields$$GenericBackupConfigReturn.fromJson(
|
||||||
|
Map<String, dynamic> json) {
|
||||||
|
final l$code = json['code'];
|
||||||
|
final l$message = json['message'];
|
||||||
|
final l$success = json['success'];
|
||||||
|
final l$$__typename = json['__typename'];
|
||||||
|
return Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
||||||
|
code: (l$code as int),
|
||||||
|
message: (l$message as String),
|
||||||
|
success: (l$success as bool),
|
||||||
|
$__typename: (l$$__typename as String),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
final int code;
|
||||||
|
|
||||||
|
final String message;
|
||||||
|
|
||||||
|
final bool success;
|
||||||
|
|
||||||
|
final String $__typename;
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final _resultData = <String, dynamic>{};
|
||||||
|
final l$code = code;
|
||||||
|
_resultData['code'] = l$code;
|
||||||
|
final l$message = message;
|
||||||
|
_resultData['message'] = l$message;
|
||||||
|
final l$success = success;
|
||||||
|
_resultData['success'] = l$success;
|
||||||
|
final l$$__typename = $__typename;
|
||||||
|
_resultData['__typename'] = l$$__typename;
|
||||||
|
return _resultData;
|
||||||
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
int get hashCode {
|
||||||
|
final l$code = code;
|
||||||
|
final l$message = message;
|
||||||
|
final l$success = success;
|
||||||
|
final l$$__typename = $__typename;
|
||||||
|
return Object.hashAll([
|
||||||
|
l$code,
|
||||||
|
l$message,
|
||||||
|
l$success,
|
||||||
|
l$$__typename,
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
bool operator ==(Object other) {
|
||||||
|
if (identical(this, other)) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(other
|
||||||
|
is Fragment$basicMutationReturnFields$$GenericBackupConfigReturn) ||
|
||||||
|
runtimeType != other.runtimeType) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
final l$code = code;
|
||||||
|
final lOther$code = other.code;
|
||||||
|
if (l$code != lOther$code) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
final l$message = message;
|
||||||
|
final lOther$message = other.message;
|
||||||
|
if (l$message != lOther$message) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
final l$success = success;
|
||||||
|
final lOther$success = other.success;
|
||||||
|
if (l$success != lOther$success) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
final l$$__typename = $__typename;
|
||||||
|
final lOther$$__typename = other.$__typename;
|
||||||
|
if (l$$__typename != lOther$$__typename) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
extension UtilityExtension$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn
|
||||||
|
on Fragment$basicMutationReturnFields$$GenericBackupConfigReturn {
|
||||||
|
CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
||||||
|
Fragment$basicMutationReturnFields$$GenericBackupConfigReturn>
|
||||||
|
get copyWith =>
|
||||||
|
CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
||||||
|
this,
|
||||||
|
(i) => i,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
abstract class CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
||||||
|
TRes> {
|
||||||
|
factory CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
||||||
|
Fragment$basicMutationReturnFields$$GenericBackupConfigReturn instance,
|
||||||
|
TRes Function(Fragment$basicMutationReturnFields$$GenericBackupConfigReturn)
|
||||||
|
then,
|
||||||
|
) = _CopyWithImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn;
|
||||||
|
|
||||||
|
factory CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn.stub(
|
||||||
|
TRes res) =
|
||||||
|
_CopyWithStubImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn;
|
||||||
|
|
||||||
|
TRes call({
|
||||||
|
int? code,
|
||||||
|
String? message,
|
||||||
|
bool? success,
|
||||||
|
String? $__typename,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
class _CopyWithImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
||||||
|
TRes>
|
||||||
|
implements
|
||||||
|
CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
||||||
|
TRes> {
|
||||||
|
_CopyWithImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
||||||
|
this._instance,
|
||||||
|
this._then,
|
||||||
|
);
|
||||||
|
|
||||||
|
final Fragment$basicMutationReturnFields$$GenericBackupConfigReturn _instance;
|
||||||
|
|
||||||
|
final TRes Function(
|
||||||
|
Fragment$basicMutationReturnFields$$GenericBackupConfigReturn) _then;
|
||||||
|
|
||||||
|
static const _undefined = <dynamic, dynamic>{};
|
||||||
|
|
||||||
|
TRes call({
|
||||||
|
Object? code = _undefined,
|
||||||
|
Object? message = _undefined,
|
||||||
|
Object? success = _undefined,
|
||||||
|
Object? $__typename = _undefined,
|
||||||
|
}) =>
|
||||||
|
_then(Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
||||||
|
code:
|
||||||
|
code == _undefined || code == null ? _instance.code : (code as int),
|
||||||
|
message: message == _undefined || message == null
|
||||||
|
? _instance.message
|
||||||
|
: (message as String),
|
||||||
|
success: success == _undefined || success == null
|
||||||
|
? _instance.success
|
||||||
|
: (success as bool),
|
||||||
|
$__typename: $__typename == _undefined || $__typename == null
|
||||||
|
? _instance.$__typename
|
||||||
|
: ($__typename as String),
|
||||||
|
));
|
||||||
|
}
|
||||||
|
|
||||||
|
class _CopyWithStubImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
||||||
|
TRes>
|
||||||
|
implements
|
||||||
|
CopyWith$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn<
|
||||||
|
TRes> {
|
||||||
|
_CopyWithStubImpl$Fragment$basicMutationReturnFields$$GenericBackupConfigReturn(
|
||||||
|
this._res);
|
||||||
|
|
||||||
|
TRes _res;
|
||||||
|
|
||||||
|
call({
|
||||||
|
int? code,
|
||||||
|
String? message,
|
||||||
|
bool? success,
|
||||||
|
String? $__typename,
|
||||||
|
}) =>
|
||||||
|
_res;
|
||||||
|
}
|
||||||
|
|
||||||
class Fragment$basicMutationReturnFields$$GenericJobButationReturn
|
class Fragment$basicMutationReturnFields$$GenericJobButationReturn
|
||||||
implements Fragment$basicMutationReturnFields {
|
implements Fragment$basicMutationReturnFields {
|
||||||
Fragment$basicMutationReturnFields$$GenericJobButationReturn({
|
Fragment$basicMutationReturnFields$$GenericJobButationReturn({
|
||||||
|
|
Loading…
Reference in a new issue