toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'action': ?action,
    'defaultResponsePlatforms': ?pulumi.Input.mapOptionalInputValue<List<IntentDefaultResponsePlatformsItem>, List<String>>(defaultResponsePlatforms, (value) => pulumi.Input.encodeList<IntentDefaultResponsePlatformsItem, String>(value, (value) => value.wireValue)),
    'displayName': displayName,
    'endInteraction': ?endInteraction,
    'events': ?events,
    'inputContextNames': ?inputContextNames,
    'intentView': ?intentView,
    'isFallback': ?isFallback,
    'languageCode': ?languageCode,
    'liveAgentHandoff': ?liveAgentHandoff,
    'location': ?location,
    'messages': ?pulumi.Input.mapOptionalInputValue<List<GoogleCloudDialogflowV2IntentMessage>, List<Map<String, dynamic>>>(messages, (value) => pulumi.Input.encodeList<GoogleCloudDialogflowV2IntentMessage, Map<String, dynamic>>(value, (value) => value.toMap())),
    'mlDisabled': ?mlDisabled,
    'name': ?name,
    'outputContexts': ?pulumi.Input.mapOptionalInputValue<List<GoogleCloudDialogflowV2Context>, List<Map<String, dynamic>>>(outputContexts, (value) => pulumi.Input.encodeList<GoogleCloudDialogflowV2Context, Map<String, dynamic>>(value, (value) => value.toMap())),
    'parameters': ?pulumi.Input.mapOptionalInputValue<List<GoogleCloudDialogflowV2IntentParameter>, List<Map<String, dynamic>>>(parameters, (value) => pulumi.Input.encodeList<GoogleCloudDialogflowV2IntentParameter, Map<String, dynamic>>(value, (value) => value.toMap())),
    'parentFollowupIntentName': ?parentFollowupIntentName,
    'priority': ?priority,
    'project': ?project,
    'resetContexts': ?resetContexts,
    'trainingPhrases': ?pulumi.Input.mapOptionalInputValue<List<GoogleCloudDialogflowV2IntentTrainingPhrase>, List<Map<String, dynamic>>>(trainingPhrases, (value) => pulumi.Input.encodeList<GoogleCloudDialogflowV2IntentTrainingPhrase, Map<String, dynamic>>(value, (value) => value.toMap())),
    'webhookState': ?pulumi.Input.mapOptionalInputValue<IntentWebhookState, String>(webhookState, (value) => value.wireValue),
  };
}