OntapFileSystemEndpoint.fromMap constructor

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

Implementation

factory OntapFileSystemEndpoint.fromMap(Map<String, dynamic> map) {
  return OntapFileSystemEndpoint(
    interclusters: (() { final guardedValue = map['interclusters']; if (guardedValue == null) return null; return pulumi.Input.fromValue(pulumi.Input.decodeList<OntapFileSystemEndpointIntercluster>(guardedValue, (value) => OntapFileSystemEndpointIntercluster.fromMap((value as Map).cast<String, dynamic>()))); })(),
    managements: (() { final guardedValue = map['managements']; if (guardedValue == null) return null; return pulumi.Input.fromValue(pulumi.Input.decodeList<OntapFileSystemEndpointManagement>(guardedValue, (value) => OntapFileSystemEndpointManagement.fromMap((value as Map).cast<String, dynamic>()))); })(),
  );
}