/* Options: Date: 2026-06-13 03:55:08 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: DocumentShareLogRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class DocumentShareAccessLog implements IConvertible { int? DocumentShareAccessLogId; int? DocumentShareId; String? EventType; String? Outcome; String? DetailMessage; String? IpAddress; String? UserAgent; String? ActorUserId; DateTime? CreatedAtUtc; DocumentShareAccessLog({this.DocumentShareAccessLogId,this.DocumentShareId,this.EventType,this.Outcome,this.DetailMessage,this.IpAddress,this.UserAgent,this.ActorUserId,this.CreatedAtUtc}); DocumentShareAccessLog.fromJson(Map json) { fromMap(json); } fromMap(Map json) { DocumentShareAccessLogId = json['DocumentShareAccessLogId']; DocumentShareId = json['DocumentShareId']; EventType = json['EventType']; Outcome = json['Outcome']; DetailMessage = json['DetailMessage']; IpAddress = json['IpAddress']; UserAgent = json['UserAgent']; ActorUserId = json['ActorUserId']; CreatedAtUtc = JsonConverters.fromJson(json['CreatedAtUtc'],'DateTime',context!); return this; } Map toJson() => { 'DocumentShareAccessLogId': DocumentShareAccessLogId, 'DocumentShareId': DocumentShareId, 'EventType': EventType, 'Outcome': Outcome, 'DetailMessage': DetailMessage, 'IpAddress': IpAddress, 'UserAgent': UserAgent, 'ActorUserId': ActorUserId, 'CreatedAtUtc': JsonConverters.toJson(CreatedAtUtc,'DateTime',context!) }; getTypeName() => "DocumentShareAccessLog"; TypeContext? context = _ctx; } class DocumentShareLogResponse implements IConvertible { ResponseStatus? ResponseStatus; List? AccessLog = []; DocumentShareLogResponse({this.ResponseStatus,this.AccessLog}); DocumentShareLogResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); AccessLog = JsonConverters.fromJson(json['AccessLog'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'AccessLog': JsonConverters.toJson(AccessLog,'List',context!) }; getTypeName() => "DocumentShareLogResponse"; TypeContext? context = _ctx; } // @Route("/v1/documentshare/{DocumentShareId}/log", "GET,OPTIONS") class DocumentShareLogRequest implements IReturn, IConvertible, IGet { int? DocumentShareId; DocumentShareLogRequest({this.DocumentShareId}); DocumentShareLogRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { DocumentShareId = json['DocumentShareId']; return this; } Map toJson() => { 'DocumentShareId': DocumentShareId }; createResponse() => DocumentShareLogResponse(); getResponseTypeName() => "DocumentShareLogResponse"; getTypeName() => "DocumentShareLogRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'DocumentShareAccessLog': TypeInfo(TypeOf.Class, create:() => DocumentShareAccessLog()), 'DocumentShareLogResponse': TypeInfo(TypeOf.Class, create:() => DocumentShareLogResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'DocumentShareLogRequest': TypeInfo(TypeOf.Class, create:() => DocumentShareLogRequest()), });