/* Options: Date: 2025-12-06 07:53:09 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: DropboxShareRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class DropboxShareResponse implements IConvertible { ResponseStatus? ResponseStatus; DropboxShareResponse({this.ResponseStatus}); DropboxShareResponse.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() => "DropboxShareResponse"; TypeContext? context = _ctx; } // @Route("/v1/DropboxShare/{ContactId}/{AgentId}/{AttachmentId}/{SharerAgentId}", "POST,OPTIONS") // @Route("/v1/DropboxShare/{AgentId}/{AttachmentId}/{SharerAgentId}", "POST,OPTIONS") // @Route("/v1/DropboxShare/{DropboxShareId}", "DELETE,OPTIONS") // @Route("/v1/DropboxShare/{DropboxShareId}/{canShare}", "PUT,OPTIONS") class DropboxShareRequest implements IReturn, IConvertible, IPost { int? ContactId; int? DropboxShareId; int? AgentId; String? AttachmentId; int? SharerAgentId; bool? canShare; DropboxShareRequest({this.ContactId,this.DropboxShareId,this.AgentId,this.AttachmentId,this.SharerAgentId,this.canShare}); DropboxShareRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ContactId = json['ContactId']; DropboxShareId = json['DropboxShareId']; AgentId = json['AgentId']; AttachmentId = json['AttachmentId']; SharerAgentId = json['SharerAgentId']; canShare = json['canShare']; return this; } Map toJson() => { 'ContactId': ContactId, 'DropboxShareId': DropboxShareId, 'AgentId': AgentId, 'AttachmentId': AttachmentId, 'SharerAgentId': SharerAgentId, 'canShare': canShare }; createResponse() => DropboxShareResponse(); getResponseTypeName() => "DropboxShareResponse"; getTypeName() => "DropboxShareRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'DropboxShareResponse': TypeInfo(TypeOf.Class, create:() => DropboxShareResponse()), 'DropboxShareRequest': TypeInfo(TypeOf.Class, create:() => DropboxShareRequest()), });