GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContext.fromMap constructor
GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContext.fromMap(
- Map<String, dynamic> map
)
Implementation
factory GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContext.fromMap(Map<String, dynamic> map) {
return GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContext(
aliasContext: (() { final guardedValue = map['aliasContext']; if (guardedValue == null) return null; return pulumi.Input.fromValue(GoogleDevtoolsContaineranalysisV1alpha1AliasContext.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
gerritProject: (() { final guardedValue = map['gerritProject']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
hostUri: (() { final guardedValue = map['hostUri']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
revisionId: (() { final guardedValue = map['revisionId']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
);
}