GetRouterResult.fromMap constructor
GetRouterResult.fromMap(
- Map<String, dynamic> map
)
Implementation
factory GetRouterResult.fromMap(Map<String, dynamic> map) {
return GetRouterResult(
bgp: RouterBgpResponse.fromMap((map['bgp']! as Map).cast<String, dynamic>()),
bgpPeers: pulumi.Input.decodeList<RouterBgpPeerResponse>(map['bgpPeers']!, (value) => RouterBgpPeerResponse.fromMap((value as Map).cast<String, dynamic>())),
creationTimestamp: map['creationTimestamp'] as String,
description: map['description'] as String,
encryptedInterconnectRouter: map['encryptedInterconnectRouter'] as bool,
interfaces: pulumi.Input.decodeList<RouterInterfaceResponse>(map['interfaces']!, (value) => RouterInterfaceResponse.fromMap((value as Map).cast<String, dynamic>())),
kind: map['kind'] as String,
md5AuthenticationKeys: pulumi.Input.decodeList<RouterMd5AuthenticationKeyResponse>(map['md5AuthenticationKeys']!, (value) => RouterMd5AuthenticationKeyResponse.fromMap((value as Map).cast<String, dynamic>())),
name: map['name'] as String,
nats: pulumi.Input.decodeList<RouterNatResponse>(map['nats']!, (value) => RouterNatResponse.fromMap((value as Map).cast<String, dynamic>())),
network: map['network'] as String,
region: map['region'] as String,
selfLink: map['selfLink'] as String,
selfLinkWithId: map['selfLinkWithId'] as String,
);
}