Quota.fromJson constructor
Quota.fromJson(
- Map json_
Implementation
Quota.fromJson(core.Map json_)
: this(
dnsKeysPerManagedZone: json_.containsKey('dnsKeysPerManagedZone')
? json_['dnsKeysPerManagedZone'] as core.int
: null,
gkeClustersPerManagedZone:
json_.containsKey('gkeClustersPerManagedZone')
? json_['gkeClustersPerManagedZone'] as core.int
: null,
gkeClustersPerPolicy: json_.containsKey('gkeClustersPerPolicy')
? json_['gkeClustersPerPolicy'] as core.int
: null,
gkeClustersPerResponsePolicy:
json_.containsKey('gkeClustersPerResponsePolicy')
? json_['gkeClustersPerResponsePolicy'] as core.int
: null,
itemsPerRoutingPolicy: json_.containsKey('itemsPerRoutingPolicy')
? json_['itemsPerRoutingPolicy'] as core.int
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
managedZones: json_.containsKey('managedZones')
? json_['managedZones'] as core.int
: null,
managedZonesPerGkeCluster:
json_.containsKey('managedZonesPerGkeCluster')
? json_['managedZonesPerGkeCluster'] as core.int
: null,
managedZonesPerNetwork: json_.containsKey('managedZonesPerNetwork')
? json_['managedZonesPerNetwork'] as core.int
: null,
nameserversPerDelegation:
json_.containsKey('nameserversPerDelegation')
? json_['nameserversPerDelegation'] as core.int
: null,
networksPerManagedZone: json_.containsKey('networksPerManagedZone')
? json_['networksPerManagedZone'] as core.int
: null,
networksPerPolicy: json_.containsKey('networksPerPolicy')
? json_['networksPerPolicy'] as core.int
: null,
networksPerResponsePolicy:
json_.containsKey('networksPerResponsePolicy')
? json_['networksPerResponsePolicy'] as core.int
: null,
peeringZonesPerTargetNetwork:
json_.containsKey('peeringZonesPerTargetNetwork')
? json_['peeringZonesPerTargetNetwork'] as core.int
: null,
policies: json_.containsKey('policies')
? json_['policies'] as core.int
: null,
resourceRecordsPerRrset: json_.containsKey('resourceRecordsPerRrset')
? json_['resourceRecordsPerRrset'] as core.int
: null,
responsePolicies: json_.containsKey('responsePolicies')
? json_['responsePolicies'] as core.int
: null,
responsePolicyRulesPerResponsePolicy:
json_.containsKey('responsePolicyRulesPerResponsePolicy')
? json_['responsePolicyRulesPerResponsePolicy'] as core.int
: null,
rrsetAdditionsPerChange: json_.containsKey('rrsetAdditionsPerChange')
? json_['rrsetAdditionsPerChange'] as core.int
: null,
rrsetDeletionsPerChange: json_.containsKey('rrsetDeletionsPerChange')
? json_['rrsetDeletionsPerChange'] as core.int
: null,
rrsetsPerManagedZone: json_.containsKey('rrsetsPerManagedZone')
? json_['rrsetsPerManagedZone'] as core.int
: null,
targetNameServersPerManagedZone:
json_.containsKey('targetNameServersPerManagedZone')
? json_['targetNameServersPerManagedZone'] as core.int
: null,
targetNameServersPerPolicy:
json_.containsKey('targetNameServersPerPolicy')
? json_['targetNameServersPerPolicy'] as core.int
: null,
totalRrdataSizePerChange:
json_.containsKey('totalRrdataSizePerChange')
? json_['totalRrdataSizePerChange'] as core.int
: null,
whitelistedKeySpecs: json_.containsKey('whitelistedKeySpecs')
? (json_['whitelistedKeySpecs'] as core.List)
.map((value) => DnsKeySpec.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);