LinkedRouterApplianceInstances.fromJson constructor

LinkedRouterApplianceInstances.fromJson(
  1. Map json_
)

Implementation

LinkedRouterApplianceInstances.fromJson(core.Map json_)
    : this(
        instances: json_.containsKey('instances')
            ? (json_['instances'] as core.List)
                .map((value) => RouterApplianceInstance.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        siteToSiteDataTransfer: json_.containsKey('siteToSiteDataTransfer')
            ? json_['siteToSiteDataTransfer'] as core.bool
            : null,
        vpcNetwork: json_.containsKey('vpcNetwork')
            ? json_['vpcNetwork'] as core.String
            : null,
      );