ManagementOrganizationSecurityHealthAnalyticsCustomModuleState.fromMap constructor
ManagementOrganizationSecurityHealthAnalyticsCustomModuleState.fromMap(
- Map<String, dynamic> map
)
Implementation
factory ManagementOrganizationSecurityHealthAnalyticsCustomModuleState.fromMap(Map<String, dynamic> map) {
return ManagementOrganizationSecurityHealthAnalyticsCustomModuleState(
ancestorModule: (() { final guardedValue = map['ancestorModule']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
customConfig: (() { final guardedValue = map['customConfig']; if (guardedValue == null) return null; return pulumi.Input.fromValue(ManagementOrganizationSecurityHealthAnalyticsCustomModuleCustomConfig.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
deletionPolicy: (() { final guardedValue = map['deletionPolicy']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
displayName: (() { final guardedValue = map['displayName']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
enablementState: (() { final guardedValue = map['enablementState']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
lastEditor: (() { final guardedValue = map['lastEditor']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
location: (() { final guardedValue = map['location']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
name: (() { final guardedValue = map['name']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
organization: (() { final guardedValue = map['organization']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
updateTime: (() { final guardedValue = map['updateTime']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
);
}