GoogleCloudDialogflowCxV3RestoreAgentRequest.fromJson constructor

GoogleCloudDialogflowCxV3RestoreAgentRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3RestoreAgentRequest.fromJson(core.Map json_)
    : this(
        agentContent: json_.containsKey('agentContent')
            ? json_['agentContent'] as core.String
            : null,
        agentUri: json_.containsKey('agentUri')
            ? json_['agentUri'] as core.String
            : null,
        gitSource: json_.containsKey('gitSource')
            ? GoogleCloudDialogflowCxV3RestoreAgentRequestGitSource.fromJson(
                json_['gitSource'] as core.Map<core.String, core.dynamic>)
            : null,
        restoreOption: json_.containsKey('restoreOption')
            ? json_['restoreOption'] as core.String
            : null,
      );