GoogleCloudDialogflowCxV3RestoreAgentRequest.fromJson constructor

GoogleCloudDialogflowCxV3RestoreAgentRequest.fromJson(
  1. Map json_
)

Implementation

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