UpdateDnsRecordSetRequest.fromJson constructor

UpdateDnsRecordSetRequest.fromJson(
  1. Map json_
)

Implementation

UpdateDnsRecordSetRequest.fromJson(core.Map json_)
    : this(
        consumerNetwork: json_.containsKey('consumerNetwork')
            ? json_['consumerNetwork'] as core.String
            : null,
        existingDnsRecordSet: json_.containsKey('existingDnsRecordSet')
            ? DnsRecordSet.fromJson(json_['existingDnsRecordSet']
                as core.Map<core.String, core.dynamic>)
            : null,
        newDnsRecordSet: json_.containsKey('newDnsRecordSet')
            ? DnsRecordSet.fromJson(json_['newDnsRecordSet']
                as core.Map<core.String, core.dynamic>)
            : null,
        zone: json_.containsKey('zone') ? json_['zone'] as core.String : null,
      );