/* Options: Date: 2025-05-04 23:21:01 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetTwilioToken.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class GetTwilioTokenResponse implements IConvertible { /** * The twilio token to use */ // @ApiMember(Description="The twilio token to use") String? token; GetTwilioTokenResponse({this.token}); GetTwilioTokenResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { token = json['token']; return this; } Map toJson() => { 'token': token }; getTypeName() => "GetTwilioTokenResponse"; TypeContext? context = _ctx; } /** * Get a twilio token for client SDKs */ // @Route("/admin/token", "GET") // @Api(Description="Get a twilio token for client SDKs") class GetTwilioToken implements IReturn, IGet, IConvertible { /** * The account ID associated with the token */ // @ApiMember(Description="The account ID associated with the token") String? accountId; GetTwilioToken({this.accountId}); GetTwilioToken.fromJson(Map json) { fromMap(json); } fromMap(Map json) { accountId = json['accountId']; return this; } Map toJson() => { 'accountId': accountId }; createResponse() => GetTwilioTokenResponse(); getResponseTypeName() => "GetTwilioTokenResponse"; getTypeName() => "GetTwilioToken"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'team.evovoice.io', types: { 'GetTwilioTokenResponse': TypeInfo(TypeOf.Class, create:() => GetTwilioTokenResponse()), 'GetTwilioToken': TypeInfo(TypeOf.Class, create:() => GetTwilioToken()), });