mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-18 06:39:14 +00:00
42 lines
1.2 KiB
Dart
42 lines
1.2 KiB
Dart
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||
|
|
||
|
part of 'digital_ocean_dns_info.dart';
|
||
|
|
||
|
// **************************************************************************
|
||
|
// JsonSerializableGenerator
|
||
|
// **************************************************************************
|
||
|
|
||
|
DigitalOceanDomain _$DigitalOceanDomainFromJson(Map<String, dynamic> json) =>
|
||
|
DigitalOceanDomain(
|
||
|
name: json['name'] as String,
|
||
|
ttl: json['ttl'] as int?,
|
||
|
);
|
||
|
|
||
|
Map<String, dynamic> _$DigitalOceanDomainToJson(DigitalOceanDomain instance) =>
|
||
|
<String, dynamic>{
|
||
|
'name': instance.name,
|
||
|
'ttl': instance.ttl,
|
||
|
};
|
||
|
|
||
|
DigitalOceanDnsRecord _$DigitalOceanDnsRecordFromJson(
|
||
|
Map<String, dynamic> json) =>
|
||
|
DigitalOceanDnsRecord(
|
||
|
id: json['id'] as int?,
|
||
|
name: json['name'] as String,
|
||
|
type: json['type'] as String,
|
||
|
ttl: json['ttl'] as int,
|
||
|
data: json['data'] as String,
|
||
|
priority: json['priority'] as int?,
|
||
|
);
|
||
|
|
||
|
Map<String, dynamic> _$DigitalOceanDnsRecordToJson(
|
||
|
DigitalOceanDnsRecord instance) =>
|
||
|
<String, dynamic>{
|
||
|
'id': instance.id,
|
||
|
'name': instance.name,
|
||
|
'type': instance.type,
|
||
|
'ttl': instance.ttl,
|
||
|
'data': instance.data,
|
||
|
'priority': instance.priority,
|
||
|
};
|