GetNfsShareResult.fromMap constructor

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

Implementation

factory GetNfsShareResult.fromMap(Map<String, dynamic> map) {
  return GetNfsShareResult(
    allowedClients: pulumi.Input.decodeList<AllowedClientResponse>(map['allowedClients']!, (value) => AllowedClientResponse.fromMap((value as Map).cast<String, dynamic>())),
    labels: (map['labels'] as Map).cast<String, String>(),
    name: map['name'] as String,
    nfsShareId: map['nfsShareId'] as String,
    pod: map['pod'] as String,
    requestedSizeGib: map['requestedSizeGib'] as String,
    state: map['state'] as String,
    storageType: map['storageType'] as String,
    volume: map['volume'] as String,
  );
}