/* Options: Date: 2025-05-04 23:30:29 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: GetUniqueEndpointValue.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class GetUniqueEndpointValueResponse implements IConvertible { String? value; GetUniqueEndpointValueResponse({this.value}); GetUniqueEndpointValueResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { value = json['value']; return this; } Map toJson() => { 'value': value }; getTypeName() => "GetUniqueEndpointValueResponse"; TypeContext? context = _ctx; } /** * Get a unique number string value for an endpoint field */ // @Route("/values/endpoint/unique", "GET") // @Api(Description="Get a unique number string value for an endpoint field") class GetUniqueEndpointValue implements IReturn, IConvertible, IGet { /** * The account ID you are interested in */ // @ApiMember(Description="The account ID you are interested in") String? accountId; /** * The endpoint field you want a unique value for */ // @ApiMember(Description="The endpoint field you want a unique value for") String? fieldName; /** * The prefix to use for the value */ // @ApiMember(Description="The prefix to use for the value") String? prefix; /** * The length of the value */ // @ApiMember(Description="The length of the value") int? length; GetUniqueEndpointValue({this.accountId,this.fieldName,this.prefix,this.length}); GetUniqueEndpointValue.fromJson(Map json) { fromMap(json); } fromMap(Map json) { accountId = json['accountId']; fieldName = json['fieldName']; prefix = json['prefix']; length = json['length']; return this; } Map toJson() => { 'accountId': accountId, 'fieldName': fieldName, 'prefix': prefix, 'length': length }; createResponse() => GetUniqueEndpointValueResponse(); getResponseTypeName() => "GetUniqueEndpointValueResponse"; getTypeName() => "GetUniqueEndpointValue"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'team.evovoice.io', types: { 'GetUniqueEndpointValueResponse': TypeInfo(TypeOf.Class, create:() => GetUniqueEndpointValueResponse()), 'GetUniqueEndpointValue': TypeInfo(TypeOf.Class, create:() => GetUniqueEndpointValue()), });