// Copyright © WireMock.Net using System; using System.Collections.Generic; namespace WireMock.Models.Mime; /// /// An interface exposing the public, readable properties of a ContentDisposition. /// public interface IContentDispositionData { /// /// Get the disposition. /// /// The disposition. string Disposition { get; } /// /// Get a value indicating whether the is an attachment. /// /// if the is an attachment; otherwise, . bool IsAttachment { get; } /// /// Get the list of parameters on the ContentDisposition. /// /// The parameters. public IList Parameters { get; } /// /// Get the name of the file. /// /// The name of the file. string FileName { get; } /// /// Get the creation-date parameter. /// /// The creation date. DateTimeOffset? CreationDate { get; } /// /// Get the modification-date parameter. /// /// The modification date. DateTimeOffset? ModificationDate { get; } /// /// Get the read-date parameter. /// /// The read date. DateTimeOffset? ReadDate { get; } /// /// Get the size parameter. /// /// The size. long? Size { get; } }