toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (automatedAgentConfig != null)
        'automatedAgentConfig': automatedAgentConfig!,
      if (createTime != null) 'createTime': createTime!,
      if (displayName != null) 'displayName': displayName!,
      if (humanAgentAssistantConfig != null)
        'humanAgentAssistantConfig': humanAgentAssistantConfig!,
      if (humanAgentHandoffConfig != null)
        'humanAgentHandoffConfig': humanAgentHandoffConfig!,
      if (languageCode != null) 'languageCode': languageCode!,
      if (loggingConfig != null) 'loggingConfig': loggingConfig!,
      if (name != null) 'name': name!,
      if (newMessageEventNotificationConfig != null)
        'newMessageEventNotificationConfig':
            newMessageEventNotificationConfig!,
      if (notificationConfig != null)
        'notificationConfig': notificationConfig!,
      if (securitySettings != null) 'securitySettings': securitySettings!,
      if (sttConfig != null) 'sttConfig': sttConfig!,
      if (timeZone != null) 'timeZone': timeZone!,
      if (ttsConfig != null) 'ttsConfig': ttsConfig!,
      if (updateTime != null) 'updateTime': updateTime!,
    };