GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings.fromJson constructor

GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings.fromJson(
    core.Map json_)
    : this(
        accessToken: json_.containsKey('accessToken')
            ? json_['accessToken'] as core.String
            : null,
        branches: json_.containsKey('branches')
            ? (json_['branches'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        repositoryUri: json_.containsKey('repositoryUri')
            ? json_['repositoryUri'] as core.String
            : null,
        trackingBranch: json_.containsKey('trackingBranch')
            ? json_['trackingBranch'] as core.String
            : null,
      );