RepoSourceResponse.fromMap constructor
RepoSourceResponse.fromMap(
- Map<String, dynamic> map
)
Implementation
factory RepoSourceResponse.fromMap(Map<String, dynamic> map) {
return RepoSourceResponse(
branchName: pulumi.Input.fromValue(map['branchName'] as String),
commitSha: pulumi.Input.fromValue(map['commitSha'] as String),
dir: pulumi.Input.fromValue(map['dir'] as String),
invertRegex: pulumi.Input.fromValue(map['invertRegex'] as bool),
project: pulumi.Input.fromValue(map['project'] as String),
repoName: pulumi.Input.fromValue(map['repoName'] as String),
substitutions: pulumi.Input.fromValue((map['substitutions'] as Map).cast<String, String>()),
tagName: pulumi.Input.fromValue(map['tagName'] as String),
);
}