/* Options: Date: 2025-12-06 06:05:51 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: DropboxShareRequestExtended.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class DropboxShareExtended implements IConvertible { int? DropboxShareId; int? SharerAgentId; int? ContactId; int? ProjectId; int? AgentId; String? FirstName; String? LastName; String? AttachmentId; bool? CanShare; DropboxShareExtended({this.DropboxShareId,this.SharerAgentId,this.ContactId,this.ProjectId,this.AgentId,this.FirstName,this.LastName,this.AttachmentId,this.CanShare}); DropboxShareExtended.fromJson(Map json) { fromMap(json); } fromMap(Map json) { DropboxShareId = json['DropboxShareId']; SharerAgentId = json['SharerAgentId']; ContactId = json['ContactId']; ProjectId = json['ProjectId']; AgentId = json['AgentId']; FirstName = json['FirstName']; LastName = json['LastName']; AttachmentId = json['AttachmentId']; CanShare = json['CanShare']; return this; } Map toJson() => { 'DropboxShareId': DropboxShareId, 'SharerAgentId': SharerAgentId, 'ContactId': ContactId, 'ProjectId': ProjectId, 'AgentId': AgentId, 'FirstName': FirstName, 'LastName': LastName, 'AttachmentId': AttachmentId, 'CanShare': CanShare }; getTypeName() => "DropboxShareExtended"; TypeContext? context = _ctx; } class DropboxShareResponseExtended implements IConvertible { ResponseStatus? ResponseStatus; List? DropboxShareExtended = []; DropboxShareResponseExtended({this.ResponseStatus,this.DropboxShareExtended}); DropboxShareResponseExtended.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); DropboxShareExtended = JsonConverters.fromJson(json['DropboxShareExtended'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'DropboxShareExtended': JsonConverters.toJson(DropboxShareExtended,'List',context!) }; getTypeName() => "DropboxShareResponseExtended"; TypeContext? context = _ctx; } // @Route("/v1/DropboxShareExtended/{ContactId}/{AttachmentId}/{SharerAgentId}", "GET,OPTIONS") // @Route("/v1/DropboxShareExtended/DB/{AttachmentId}/{SharerAgentId}", "GET,OPTIONS") class DropboxShareRequestExtended implements IReturn, IConvertible, IGet { int? ContactId; String? AttachmentId; int? SharerAgentId; DropboxShareRequestExtended({this.ContactId,this.AttachmentId,this.SharerAgentId}); DropboxShareRequestExtended.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ContactId = json['ContactId']; AttachmentId = json['AttachmentId']; SharerAgentId = json['SharerAgentId']; return this; } Map toJson() => { 'ContactId': ContactId, 'AttachmentId': AttachmentId, 'SharerAgentId': SharerAgentId }; createResponse() => DropboxShareResponseExtended(); getResponseTypeName() => "DropboxShareResponseExtended"; getTypeName() => "DropboxShareRequestExtended"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'DropboxShareExtended': TypeInfo(TypeOf.Class, create:() => DropboxShareExtended()), 'DropboxShareResponseExtended': TypeInfo(TypeOf.Class, create:() => DropboxShareResponseExtended()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'DropboxShareRequestExtended': TypeInfo(TypeOf.Class, create:() => DropboxShareRequestExtended()), });