/* Options: Date: 2026-07-08 21:36:43 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: DocumentShareAuditRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class DocumentShareAccessLog implements IConvertible { int? DocumentShareAccessLogId; int? DocumentShareId; String? AttachmentId; String? EventType; String? Outcome; String? DetailMessage; String? IpAddress; String? UserAgent; String? ActorUserId; String? ActorRole; DateTime? CreatedAtUtc; DocumentShareAccessLog({this.DocumentShareAccessLogId,this.DocumentShareId,this.AttachmentId,this.EventType,this.Outcome,this.DetailMessage,this.IpAddress,this.UserAgent,this.ActorUserId,this.ActorRole,this.CreatedAtUtc}); DocumentShareAccessLog.fromJson(Map json) { fromMap(json); } fromMap(Map json) { DocumentShareAccessLogId = json['DocumentShareAccessLogId']; DocumentShareId = json['DocumentShareId']; AttachmentId = json['AttachmentId']; EventType = json['EventType']; Outcome = json['Outcome']; DetailMessage = json['DetailMessage']; IpAddress = json['IpAddress']; UserAgent = json['UserAgent']; ActorUserId = json['ActorUserId']; ActorRole = json['ActorRole']; CreatedAtUtc = JsonConverters.fromJson(json['CreatedAtUtc'],'DateTime',context!); return this; } Map toJson() => { 'DocumentShareAccessLogId': DocumentShareAccessLogId, 'DocumentShareId': DocumentShareId, 'AttachmentId': AttachmentId, 'EventType': EventType, 'Outcome': Outcome, 'DetailMessage': DetailMessage, 'IpAddress': IpAddress, 'UserAgent': UserAgent, 'ActorUserId': ActorUserId, 'ActorRole': ActorRole, 'CreatedAtUtc': JsonConverters.toJson(CreatedAtUtc,'DateTime',context!) }; getTypeName() => "DocumentShareAccessLog"; TypeContext? context = _ctx; } class DocumentShareAccessLogExtended extends DocumentShareAccessLog implements IConvertible { String? RecipientDisplayName; String? RecipientEmail; String? RecipientType; String? SensitivityTier; String? ActorName; DocumentShareAccessLogExtended({this.RecipientDisplayName,this.RecipientEmail,this.RecipientType,this.SensitivityTier,this.ActorName}); DocumentShareAccessLogExtended.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); RecipientDisplayName = json['RecipientDisplayName']; RecipientEmail = json['RecipientEmail']; RecipientType = json['RecipientType']; SensitivityTier = json['SensitivityTier']; ActorName = json['ActorName']; return this; } Map toJson() => super.toJson()..addAll({ 'RecipientDisplayName': RecipientDisplayName, 'RecipientEmail': RecipientEmail, 'RecipientType': RecipientType, 'SensitivityTier': SensitivityTier, 'ActorName': ActorName }); getTypeName() => "DocumentShareAccessLogExtended"; TypeContext? context = _ctx; } class DocumentShareAuditResponse implements IConvertible { ResponseStatus? ResponseStatus; List? AuditLog = []; DocumentShareAuditResponse({this.ResponseStatus,this.AuditLog}); DocumentShareAuditResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); AuditLog = JsonConverters.fromJson(json['AuditLog'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'AuditLog': JsonConverters.toJson(AuditLog,'List',context!) }; getTypeName() => "DocumentShareAuditResponse"; TypeContext? context = _ctx; } // @Route("/v1/documentshare/attachment/{AttachmentId}/log", "GET,OPTIONS") class DocumentShareAuditRequest implements IReturn, IConvertible, IGet { String? AttachmentId; DocumentShareAuditRequest({this.AttachmentId}); DocumentShareAuditRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AttachmentId = json['AttachmentId']; return this; } Map toJson() => { 'AttachmentId': AttachmentId }; createResponse() => DocumentShareAuditResponse(); getResponseTypeName() => "DocumentShareAuditResponse"; getTypeName() => "DocumentShareAuditRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'DocumentShareAccessLog': TypeInfo(TypeOf.Class, create:() => DocumentShareAccessLog()), 'DocumentShareAccessLogExtended': TypeInfo(TypeOf.Class, create:() => DocumentShareAccessLogExtended()), 'DocumentShareAuditResponse': TypeInfo(TypeOf.Class, create:() => DocumentShareAuditResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'DocumentShareAuditRequest': TypeInfo(TypeOf.Class, create:() => DocumentShareAuditRequest()), });