GoogleCloudDialogflowCxV3Webhook.fromJson constructor

GoogleCloudDialogflowCxV3Webhook.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3Webhook.fromJson(core.Map json_)
  : this(
      disabled: json_['disabled'] as core.bool?,
      displayName: json_['displayName'] as core.String?,
      genericWebService: json_.containsKey('genericWebService')
          ? GoogleCloudDialogflowCxV3WebhookGenericWebService.fromJson(
              json_['genericWebService']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      name: json_['name'] as core.String?,
      serviceDirectory: json_.containsKey('serviceDirectory')
          ? GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig.fromJson(
              json_['serviceDirectory']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      timeout: json_['timeout'] as core.String?,
    );