Evo Voice

<back to all web services

LiveAnswerGetLiveKitConfig

Requires Authentication
Required role:SystemAdministrator
The following routes are available for this service:
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 .csv suffix or ?format=csv

HTTP + CSV

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: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"message":"String"}