toArgMap method

Map<String, Object?> toArgMap()

Implementation

Map<String, Object?> toArgMap() => {
  'ref': ref.toTfJson(),
  'repo_type': repoType.toTfJson(),
  if (uri != null) 'uri': uri!.toTfJson(),
  if (repository != null) 'repository': repository!.toTfJson(),
  if (githubEnterpriseConfig != null)
    'github_enterprise_config': githubEnterpriseConfig!.toTfJson(),
  if (bitbucketServerConfig != null)
    'bitbucket_server_config': bitbucketServerConfig!.toTfJson(),
};