GoogleCloudContactcenterinsightsV1UploadConversationRequest.fromJson constructor

GoogleCloudContactcenterinsightsV1UploadConversationRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudContactcenterinsightsV1UploadConversationRequest.fromJson(
  core.Map json_,
) : this(
      conversation: json_.containsKey('conversation')
          ? GoogleCloudContactcenterinsightsV1Conversation.fromJson(
              json_['conversation'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      conversationId: json_['conversationId'] as core.String?,
      parent: json_['parent'] as core.String?,
      redactionConfig: json_.containsKey('redactionConfig')
          ? GoogleCloudContactcenterinsightsV1RedactionConfig.fromJson(
              json_['redactionConfig'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      speechConfig: json_.containsKey('speechConfig')
          ? GoogleCloudContactcenterinsightsV1SpeechConfig.fromJson(
              json_['speechConfig'] as core.Map<core.String, core.dynamic>,
            )
          : null,
    );