NetworkAttachmentConnectionEndpoint.fromMap constructor

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

Implementation

factory NetworkAttachmentConnectionEndpoint.fromMap(Map<String, dynamic> map) {
  return NetworkAttachmentConnectionEndpoint(
    ipAddress: (() { final guardedValue = map['ipAddress']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    projectIdOrNum: (() { final guardedValue = map['projectIdOrNum']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    secondaryIpCidrRanges: (() { final guardedValue = map['secondaryIpCidrRanges']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    status: (() { final guardedValue = map['status']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    subnetwork: (() { final guardedValue = map['subnetwork']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
  );
}