ChannelInputAttachment.fromMap constructor

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

Implementation

factory ChannelInputAttachment.fromMap(Map<String, dynamic> map) {
  return ChannelInputAttachment(
    automaticInputFailoverSettings: (() { final guardedValue = map['automaticInputFailoverSettings']; if (guardedValue == null) return null; return pulumi.Input.fromValue(ChannelInputAttachmentAutomaticInputFailoverSettings.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
    inputAttachmentName: pulumi.Input.fromValue(map['inputAttachmentName'] as String),
    inputId: pulumi.Input.fromValue(map['inputId'] as String),
    inputSettings: (() { final guardedValue = map['inputSettings']; if (guardedValue == null) return null; return pulumi.Input.fromValue(ChannelInputAttachmentInputSettings.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
  );
}