GetMetastoreServiceNetworkConfig.fromMap constructor

GetMetastoreServiceNetworkConfig.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GetMetastoreServiceNetworkConfig.fromMap(Map<String, dynamic> map) {
  return GetMetastoreServiceNetworkConfig(
    consumers: pulumi.Input.fromValue(pulumi.Input.decodeList<GetMetastoreServiceNetworkConfigConsumer>(map['consumers']!, (value) => GetMetastoreServiceNetworkConfigConsumer.fromMap((value as Map).cast<String, dynamic>()))),
    customRoutesEnabled: pulumi.Input.fromValue(map['customRoutesEnabled'] as bool),
  );
}