v1ConvaiSettingsPatch method

Future<Response<GetConvAISettingsResponseModel>> v1ConvaiSettingsPatch({
  1. String? xiApiKey,
  2. required PatchConvAISettingsRequest? body,
})

Update Convai Settings @param xi-api-key Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.

Implementation

Future<chopper.Response<GetConvAISettingsResponseModel>>
v1ConvaiSettingsPatch({
  String? xiApiKey,
  required PatchConvAISettingsRequest? body,
}) {
  generatedMapping.putIfAbsent(
    GetConvAISettingsResponseModel,
    () => GetConvAISettingsResponseModel.fromJsonFactory,
  );

  return _v1ConvaiSettingsPatch(xiApiKey: xiApiKey?.toString(), body: body);
}