GetServiceNetworkServiceAssociationsResult.fromMap constructor
GetServiceNetworkServiceAssociationsResult.fromMap(
- Map<String, dynamic> map
)
Implementation
factory GetServiceNetworkServiceAssociationsResult.fromMap(Map<String, dynamic> map) {
return GetServiceNetworkServiceAssociationsResult(
items: (() { final guardedValue = map['items']; if (guardedValue == null) return null; return pulumi.Input.decodeList<GetServiceNetworkServiceAssociationsItem>(guardedValue, (value) => GetServiceNetworkServiceAssociationsItem.fromMap((value as Map).cast<String, dynamic>())); })(),
region: (() { final guardedValue = map['region']; if (guardedValue == null) return null; return guardedValue as String; })(),
serviceIdentifier: (() { final guardedValue = map['serviceIdentifier']; if (guardedValue == null) return null; return guardedValue as String; })(),
serviceNetworkIdentifier: (() { final guardedValue = map['serviceNetworkIdentifier']; if (guardedValue == null) return null; return guardedValue as String; })(),
);
}