v1ConvaiAgentsAgentIdPatch method
Future<Response<GetAgentResponseModel> >
v1ConvaiAgentsAgentIdPatch({
- required String? agentId,
- String? xiApiKey,
- required BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatch? body,
Patches An Agent Settings @param agent_id The id of an agent. This is returned on agent creation. @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<GetAgentResponseModel>> v1ConvaiAgentsAgentIdPatch({
required String? agentId,
String? xiApiKey,
required BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatch? body,
}) {
generatedMapping.putIfAbsent(
GetAgentResponseModel,
() => GetAgentResponseModel.fromJsonFactory,
);
return _v1ConvaiAgentsAgentIdPatch(
agentId: agentId,
xiApiKey: xiApiKey?.toString(),
body: body,
);
}