GitLabEventsConfigResponse.fromMap constructor

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

Implementation

factory GitLabEventsConfigResponse.fromMap(Map<String, dynamic> map) {
  return GitLabEventsConfigResponse(
    gitlabConfig: pulumi.Input.fromValue(GitLabConfigResponse.fromMap((map['gitlabConfig']! as Map).cast<String, dynamic>())),
    gitlabConfigResource: pulumi.Input.fromValue(map['gitlabConfigResource'] as String),
    projectNamespace: pulumi.Input.fromValue(map['projectNamespace'] as String),
    pullRequest: pulumi.Input.fromValue(PullRequestFilterResponse.fromMap((map['pullRequest']! as Map).cast<String, dynamic>())),
    push: pulumi.Input.fromValue(PushFilterResponse.fromMap((map['push']! as Map).cast<String, dynamic>())),
  );
}