GetNotificationChannelResult.fromMap constructor
GetNotificationChannelResult.fromMap(
- Map<String, dynamic> map
)
Implementation
factory GetNotificationChannelResult.fromMap(Map<String, dynamic> map) {
return GetNotificationChannelResult(
creationRecord: MutationRecordResponse.fromMap((map['creationRecord']! as Map).cast<String, dynamic>()),
description: map['description'] as String,
displayName: map['displayName'] as String,
enabled: map['enabled'] as bool,
labels: (map['labels'] as Map).cast<String, String>(),
mutationRecords: pulumi.Input.decodeList<MutationRecordResponse>(map['mutationRecords']!, (value) => MutationRecordResponse.fromMap((value as Map).cast<String, dynamic>())),
name: map['name'] as String,
type: map['type'] as String,
userLabels: (map['userLabels'] as Map).cast<String, String>(),
verificationStatus: map['verificationStatus'] as String,
);
}