| Required role: | SystemAdministrator |
| GET | /nodes/live-answer/livekit/config |
|---|
import 'package:servicestack/servicestack.dart';
class LiveAnswerLiveKitConfig implements IConvertible
{
String? message;
LiveAnswerLiveKitConfig({this.message});
LiveAnswerLiveKitConfig.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
message = json['message'];
return this;
}
Map<String, dynamic> toJson() => {
'message': message
};
getTypeName() => "LiveAnswerLiveKitConfig";
TypeContext? context = _ctx;
}
class LiveAnswerGetLiveKitConfig implements IConvertible
{
String? accountSid;
String? callSid;
LiveAnswerGetLiveKitConfig({this.accountSid,this.callSid});
LiveAnswerGetLiveKitConfig.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
accountSid = json['accountSid'];
callSid = json['callSid'];
return this;
}
Map<String, dynamic> toJson() => {
'accountSid': accountSid,
'callSid': callSid
};
getTypeName() => "LiveAnswerGetLiveKitConfig";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'evovoice.io', types: <String, TypeInfo> {
'LiveAnswerLiveKitConfig': TypeInfo(TypeOf.Class, create:() => LiveAnswerLiveKitConfig()),
'LiveAnswerGetLiveKitConfig': TypeInfo(TypeOf.Class, create:() => LiveAnswerGetLiveKitConfig()),
});
Dart LiveAnswerGetLiveKitConfig DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /nodes/live-answer/livekit/config HTTP/1.1 Host: evovoice.io Accept: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <LiveAnswerLiveKitConfig xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Nodes.AI"> <Message>String</Message> </LiveAnswerLiveKitConfig>