using System;
namespace VersOne.Epub.Schema
{
///
/// Represents a file format, physical media, or dimensions of the EPUB book.
///
/// See ,
/// ,
/// and for more information.
///
///
public class EpubMetadataFormat
{
///
/// Initializes a new instance of the class.
///
/// The format value.
/// The unique ID of this format metadata element or null if the format metadata element doesn't have an ID.
/// The parameter is null.
public EpubMetadataFormat(string format, string? id = null)
{
Format = format ?? throw new ArgumentNullException(nameof(format));
Id = id;
}
///
/// Gets the format value.
///
/// See ,
/// ,
/// and for more information.
///
///
public string Format { get; }
///
/// Gets the unique ID of this format metadata element or null if the format metadata element doesn't have an ID.
/// See for more information.
///
public string? Id { get; }
}
}