GoogleCloudDialogflowV2AnalyzeContentRequest.fromJson constructor

GoogleCloudDialogflowV2AnalyzeContentRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2AnalyzeContentRequest.fromJson(core.Map json_)
    : this(
        assistQueryParams: json_.containsKey('assistQueryParams')
            ? GoogleCloudDialogflowV2AssistQueryParameters.fromJson(
                json_['assistQueryParams']
                    as core.Map<core.String, core.dynamic>)
            : null,
        cxParameters: json_.containsKey('cxParameters')
            ? json_['cxParameters'] as core.Map<core.String, core.dynamic>
            : null,
        eventInput: json_.containsKey('eventInput')
            ? GoogleCloudDialogflowV2EventInput.fromJson(
                json_['eventInput'] as core.Map<core.String, core.dynamic>)
            : null,
        queryParams: json_.containsKey('queryParams')
            ? GoogleCloudDialogflowV2QueryParameters.fromJson(
                json_['queryParams'] as core.Map<core.String, core.dynamic>)
            : null,
        replyAudioConfig: json_.containsKey('replyAudioConfig')
            ? GoogleCloudDialogflowV2OutputAudioConfig.fromJson(
                json_['replyAudioConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        requestId: json_.containsKey('requestId')
            ? json_['requestId'] as core.String
            : null,
        suggestionInput: json_.containsKey('suggestionInput')
            ? GoogleCloudDialogflowV2SuggestionInput.fromJson(
                json_['suggestionInput']
                    as core.Map<core.String, core.dynamic>)
            : null,
        textInput: json_.containsKey('textInput')
            ? GoogleCloudDialogflowV2TextInput.fromJson(
                json_['textInput'] as core.Map<core.String, core.dynamic>)
            : null,
      );