GetNetworkAttachmentComputeV1Result.fromMap constructor
GetNetworkAttachmentComputeV1Result.fromMap(
- Map<String, dynamic> map
)
Implementation
factory GetNetworkAttachmentComputeV1Result.fromMap(Map<String, dynamic> map) {
return GetNetworkAttachmentComputeV1Result(
connectionEndpoints: pulumi.Input.decodeList<NetworkAttachmentConnectedEndpointResponseComputeV1>(map['connectionEndpoints']!, (value) => NetworkAttachmentConnectedEndpointResponseComputeV1.fromMap((value as Map).cast<String, dynamic>())),
connectionPreference: map['connectionPreference'] as String,
creationTimestamp: map['creationTimestamp'] as String,
description: map['description'] as String,
fingerprint: map['fingerprint'] as String,
kind: map['kind'] as String,
name: map['name'] as String,
network: map['network'] as String,
producerAcceptLists: (map['producerAcceptLists'] as List).cast<String>(),
producerRejectLists: (map['producerRejectLists'] as List).cast<String>(),
region: map['region'] as String,
selfLink: map['selfLink'] as String,
selfLinkWithId: map['selfLinkWithId'] as String,
subnetworks: (map['subnetworks'] as List).cast<String>(),
);
}