2022-07-12 12:54:16 +00:00
|
|
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
|
|
|
|
part of 'schema.graphql.dart';
|
|
|
|
|
|
|
|
// **************************************************************************
|
|
|
|
// JsonSerializableGenerator
|
|
|
|
// **************************************************************************
|
|
|
|
|
2022-08-24 05:35:49 +00:00
|
|
|
Input$AutoUpgradeSettingsInput _$Input$AutoUpgradeSettingsInputFromJson(
|
|
|
|
Map<String, dynamic> json) =>
|
|
|
|
Input$AutoUpgradeSettingsInput(
|
|
|
|
enableAutoUpgrade: json['enableAutoUpgrade'] as bool?,
|
|
|
|
allowReboot: json['allowReboot'] as bool?,
|
|
|
|
);
|
|
|
|
|
|
|
|
Map<String, dynamic> _$Input$AutoUpgradeSettingsInputToJson(
|
|
|
|
Input$AutoUpgradeSettingsInput instance) =>
|
|
|
|
<String, dynamic>{
|
|
|
|
'enableAutoUpgrade': instance.enableAutoUpgrade,
|
|
|
|
'allowReboot': instance.allowReboot,
|
|
|
|
};
|
|
|
|
|
|
|
|
Input$MigrateToBindsInput _$Input$MigrateToBindsInputFromJson(
|
|
|
|
Map<String, dynamic> json) =>
|
|
|
|
Input$MigrateToBindsInput(
|
|
|
|
emailBlockDevice: json['emailBlockDevice'] as String,
|
|
|
|
bitwardenBlockDevice: json['bitwardenBlockDevice'] as String,
|
|
|
|
giteaBlockDevice: json['giteaBlockDevice'] as String,
|
|
|
|
nextcloudBlockDevice: json['nextcloudBlockDevice'] as String,
|
|
|
|
pleromaBlockDevice: json['pleromaBlockDevice'] as String,
|
|
|
|
);
|
|
|
|
|
|
|
|
Map<String, dynamic> _$Input$MigrateToBindsInputToJson(
|
|
|
|
Input$MigrateToBindsInput instance) =>
|
|
|
|
<String, dynamic>{
|
|
|
|
'emailBlockDevice': instance.emailBlockDevice,
|
|
|
|
'bitwardenBlockDevice': instance.bitwardenBlockDevice,
|
|
|
|
'giteaBlockDevice': instance.giteaBlockDevice,
|
|
|
|
'nextcloudBlockDevice': instance.nextcloudBlockDevice,
|
|
|
|
'pleromaBlockDevice': instance.pleromaBlockDevice,
|
|
|
|
};
|
|
|
|
|
|
|
|
Input$MoveServiceInput _$Input$MoveServiceInputFromJson(
|
|
|
|
Map<String, dynamic> json) =>
|
|
|
|
Input$MoveServiceInput(
|
|
|
|
serviceId: json['serviceId'] as String,
|
|
|
|
location: json['location'] as String,
|
|
|
|
);
|
|
|
|
|
|
|
|
Map<String, dynamic> _$Input$MoveServiceInputToJson(
|
|
|
|
Input$MoveServiceInput instance) =>
|
|
|
|
<String, dynamic>{
|
|
|
|
'serviceId': instance.serviceId,
|
|
|
|
'location': instance.location,
|
|
|
|
};
|
|
|
|
|
2022-07-12 12:54:16 +00:00
|
|
|
Input$RecoveryKeyLimitsInput _$Input$RecoveryKeyLimitsInputFromJson(
|
|
|
|
Map<String, dynamic> json) =>
|
|
|
|
Input$RecoveryKeyLimitsInput(
|
|
|
|
expirationDate: _nullable$dateTimeFromJson(json['expirationDate']),
|
|
|
|
uses: json['uses'] as int?,
|
|
|
|
);
|
|
|
|
|
2022-07-25 14:06:55 +00:00
|
|
|
Map<String, dynamic> _$Input$RecoveryKeyLimitsInputToJson(
|
|
|
|
Input$RecoveryKeyLimitsInput instance) =>
|
|
|
|
<String, dynamic>{
|
|
|
|
'expirationDate': _nullable$dateTimeToJson(instance.expirationDate),
|
|
|
|
'uses': instance.uses,
|
|
|
|
};
|
|
|
|
|
2022-08-24 05:35:49 +00:00
|
|
|
Input$SshMutationInput _$Input$SshMutationInputFromJson(
|
|
|
|
Map<String, dynamic> json) =>
|
|
|
|
Input$SshMutationInput(
|
|
|
|
username: json['username'] as String,
|
|
|
|
sshKey: json['sshKey'] as String,
|
|
|
|
);
|
|
|
|
|
|
|
|
Map<String, dynamic> _$Input$SshMutationInputToJson(
|
|
|
|
Input$SshMutationInput instance) =>
|
|
|
|
<String, dynamic>{
|
|
|
|
'username': instance.username,
|
|
|
|
'sshKey': instance.sshKey,
|
|
|
|
};
|
|
|
|
|
2022-07-12 12:54:16 +00:00
|
|
|
Input$UseNewDeviceKeyInput _$Input$UseNewDeviceKeyInputFromJson(
|
|
|
|
Map<String, dynamic> json) =>
|
|
|
|
Input$UseNewDeviceKeyInput(
|
|
|
|
key: json['key'] as String,
|
|
|
|
deviceName: json['deviceName'] as String,
|
|
|
|
);
|
|
|
|
|
2022-07-25 14:06:55 +00:00
|
|
|
Map<String, dynamic> _$Input$UseNewDeviceKeyInputToJson(
|
|
|
|
Input$UseNewDeviceKeyInput instance) =>
|
|
|
|
<String, dynamic>{
|
|
|
|
'key': instance.key,
|
|
|
|
'deviceName': instance.deviceName,
|
|
|
|
};
|
|
|
|
|
2022-07-12 12:54:16 +00:00
|
|
|
Input$UseRecoveryKeyInput _$Input$UseRecoveryKeyInputFromJson(
|
|
|
|
Map<String, dynamic> json) =>
|
|
|
|
Input$UseRecoveryKeyInput(
|
|
|
|
key: json['key'] as String,
|
|
|
|
deviceName: json['deviceName'] as String,
|
|
|
|
);
|
2022-07-25 14:06:55 +00:00
|
|
|
|
|
|
|
Map<String, dynamic> _$Input$UseRecoveryKeyInputToJson(
|
|
|
|
Input$UseRecoveryKeyInput instance) =>
|
|
|
|
<String, dynamic>{
|
|
|
|
'key': instance.key,
|
|
|
|
'deviceName': instance.deviceName,
|
|
|
|
};
|
2022-08-24 05:35:49 +00:00
|
|
|
|
|
|
|
Input$UserMutationInput _$Input$UserMutationInputFromJson(
|
|
|
|
Map<String, dynamic> json) =>
|
|
|
|
Input$UserMutationInput(
|
|
|
|
username: json['username'] as String,
|
|
|
|
password: json['password'] as String,
|
|
|
|
);
|
|
|
|
|
|
|
|
Map<String, dynamic> _$Input$UserMutationInputToJson(
|
|
|
|
Input$UserMutationInput instance) =>
|
|
|
|
<String, dynamic>{
|
|
|
|
'username': instance.username,
|
|
|
|
'password': instance.password,
|
|
|
|
};
|