Quota.fromJson constructor

Quota.fromJson(
  1. Map json_
)

Implementation

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