GoogleCloudDialogflowCxV3Webhook.fromJson constructor

GoogleCloudDialogflowCxV3Webhook.fromJson(
  1. Map json_
)

Implementation

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