using NATS.Server.Auth; using NATS.Server.Subscriptions; namespace NATS.Server.Imports; public sealed class ServiceImport { public required Account DestinationAccount { get; init; } public required string From { get; init; } public required string To { get; init; } public SubjectTransform? Transform { get; init; } public ServiceExport? Export { get; init; } public ServiceResponseType ResponseType { get; init; } = ServiceResponseType.Singleton; public byte[]? Sid { get; set; } public bool IsResponse { get; init; } public bool UsePub { get; init; } public bool Invalid { get; set; } public bool Share { get; init; } public bool Tracking { get; init; } public long TimestampTicks { get; set; } }