/* Options: Date: 2025-12-06 05:31:40 Version: 8.60 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://affiliation-api-zane.dev.platform.georiot.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetGroupAffiliateTokensRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class IAffiliateProgram { String? programGuid; Map? affiliateTokens; } // @DataContract class BaseResponse implements IConvertible { // @DataMember(Name="responseStatus") ResponseStatus? responseStatus; BaseResponse({this.responseStatus}); BaseResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "BaseResponse"; TypeContext? context = _ctx; } // @DataContract class GetGroupAffiliateTokensResponse extends BaseResponse implements IConvertible { // @DataMember List? affiliatePrograms; GetGroupAffiliateTokensResponse({this.affiliatePrograms}); GetGroupAffiliateTokensResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); affiliatePrograms = JsonConverters.fromJson(json['affiliatePrograms'],'List',context!); return this; } Map toJson() => super.toJson()..addAll({ 'affiliatePrograms': JsonConverters.toJson(affiliatePrograms,'List',context!) }); getTypeName() => "GetGroupAffiliateTokensResponse"; TypeContext? context = _ctx; } // @Route("/v4/groups/{groupId}/group-affiliate-tokens", "GET") // @DataContract class GetGroupAffiliateTokensRequest implements IReturn, IConvertible, IGet { // @DataMember(Name="groupId", IsRequired=true) int? groupId; // @DataMember(Name="username", IsRequired=true) String? username; GetGroupAffiliateTokensRequest({this.groupId,this.username}); GetGroupAffiliateTokensRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { groupId = json['groupId']; username = json['username']; return this; } Map toJson() => { 'groupId': groupId, 'username': username }; createResponse() => GetGroupAffiliateTokensResponse(); getResponseTypeName() => "GetGroupAffiliateTokensResponse"; getTypeName() => "GetGroupAffiliateTokensRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'affiliation_api_zane.dev.platform.georiot.com', types: { 'IAffiliateProgram': TypeInfo(TypeOf.Interface), 'BaseResponse': TypeInfo(TypeOf.Class, create:() => BaseResponse()), 'GetGroupAffiliateTokensResponse': TypeInfo(TypeOf.Class, create:() => GetGroupAffiliateTokensResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetGroupAffiliateTokensRequest': TypeInfo(TypeOf.Class, create:() => GetGroupAffiliateTokensRequest()), });