/* Options: Date: 2026-01-27 18:48:12 Version: 8.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://buildmax.org //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetConnections.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; abstract class IUser extends IIdTemplatesItem { ReadOnlyCollection? Groups; String? EmailAddress; bool? HasPassword; String? HomeFolder; String? Password; bool? SbcUser; } abstract class IUserGroup extends IIdTemplatesItem, IGroup { ReadOnlyCollection? Users; } enum PropertyType { Binary, Boolean, ConnectionString, Credential, Integer, Picklist, String, OAuth2, Certificate, } abstract class IConnectionPropertyDescription extends IInterface { String? Description; String? Name; String? PropertyId; PropertyType? PropertyType; } abstract class IConnectorConnection extends IStatus { String? ConnectorId; String? Description; String? Id; int? MaxConnections; String? Name; ReadOnlyCollection? Permissions; ReadOnlyCollection? PropertyDescriptions; IUser? SetupUser; } enum PermissionType { Group, User, } abstract class IConnectionPermission extends IInterface { bool? Allow; IConnectorConnection? Connection; PermissionType? Type; } abstract class IStatus extends IInterface { bool? Status; } abstract class IInterface { } abstract class IIdTemplatesItem extends IStatus { String? Id; String? Name; String? Description; ReadOnlyCollection? Templates; } abstract class IGroup extends IInterface { bool? UseGroupSettings; } class GetConnectionsResponse implements IConvertible { List? Connections; bool? IsAuthenticated; GetConnectionsResponse({this.Connections,this.IsAuthenticated}); GetConnectionsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Connections = JsonConverters.fromJson(json['Connections'],'List',context!); IsAuthenticated = json['IsAuthenticated']; return this; } Map toJson() => { 'Connections': JsonConverters.toJson(Connections,'List',context!), 'IsAuthenticated': IsAuthenticated }; getTypeName() => "GetConnectionsResponse"; TypeContext? context = _ctx; } // @Route("/connections", "GET") class GetConnections implements IReturn, IConvertible, IGet { GetConnections(); GetConnections.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => GetConnectionsResponse(); getResponseTypeName() => "GetConnectionsResponse"; getTypeName() => "GetConnections"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'buildmax.org', types: { 'IUser': TypeInfo(TypeOf.Interface), 'IUserGroup': TypeInfo(TypeOf.Interface), 'PropertyType': TypeInfo(TypeOf.Enum, enumValues:PropertyType.values), 'IConnectionPropertyDescription': TypeInfo(TypeOf.Interface), 'IConnectorConnection': TypeInfo(TypeOf.Interface), 'PermissionType': TypeInfo(TypeOf.Enum, enumValues:PermissionType.values), 'IConnectionPermission': TypeInfo(TypeOf.Interface), 'IStatus': TypeInfo(TypeOf.Interface), 'IInterface': TypeInfo(TypeOf.Interface), 'IIdTemplatesItem': TypeInfo(TypeOf.Interface), 'IGroup': TypeInfo(TypeOf.Interface), 'GetConnectionsResponse': TypeInfo(TypeOf.Class, create:() => GetConnectionsResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetConnections': TypeInfo(TypeOf.Class, create:() => GetConnections()), });