/* Options: Date: 2026-08-27 07:59:43 Version: 10.08 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://dev-api-booster.richemont.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetUserScope.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class Scope implements IConvertible { /** * Scope Code - combination of BU / Brand */ // @ApiMember(Description="Scope Code - combination of BU / Brand", IsRequired=true) String scopeCode = ""; /** * Business Unit Code */ // @ApiMember(Description="Business Unit Code", IsRequired=true) String buCode = ""; /** * Brand Trigram */ // @ApiMember(Description="Brand Trigram", IsRequired=true) String brand = ""; /** * Description of the combination */ // @ApiMember(Description="Description of the combination", IsRequired=true) String description = ""; Scope({this.scopeCode="",this.buCode="",this.brand="",this.description=""}); Scope.fromJson(Map json) { fromMap(json); } fromMap(Map json) { scopeCode = json['scopeCode'] ?? ""; buCode = json['buCode'] ?? ""; brand = json['brand'] ?? ""; description = json['description'] ?? ""; return this; } Map toJson() => { 'scopeCode': scopeCode, 'buCode': buCode, 'brand': brand, 'description': description }; getTypeName() => "Scope"; TypeContext? context = _ctx; } class GetUserScopeResponse extends ListBase implements IConvertible { final List l = []; set length(int newLength) { l.length = newLength; } int get length => l.length; Scope operator [](int index) => l[index]; void operator []=(int index, Scope value) { l[index] = value; } GetUserScopeResponse(); GetUserScopeResponse.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "GetUserScopeResponse"; TypeContext? context = _ctx; } // @Route("/authScopes", "GET") class GetUserScope implements IReturn, IConvertible, IGet { GetUserScope(); GetUserScope.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => GetUserScopeResponse(); getResponseTypeName() => "GetUserScopeResponse"; getTypeName() => "GetUserScope"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'dev_api_booster.richemont.com', types: { 'Scope': TypeInfo(TypeOf.Class, create:() => Scope()), 'GetUserScopeResponse': TypeInfo(TypeOf.Class, create:() => GetUserScopeResponse()), 'GetUserScope': TypeInfo(TypeOf.Class, create:() => GetUserScope()), });