using System;
namespace VersOne.Epub.Schema
{
///
/// Represents a source of the EPUB book. A source is a related resource from which the EPUB book is derived.
///
/// See ,
/// ,
/// and for more information.
///
///
public class EpubMetadataSource
{
///
/// Initializes a new instance of the class.
///
/// The source value.
/// The unique ID of this source metadata element or null if the source metadata element doesn't have an ID.
/// The parameter is null.
public EpubMetadataSource(string source, string? id = null)
{
Source = source ?? throw new ArgumentNullException(nameof(source));
Id = id;
}
///
/// Gets the source value.
///
/// See ,
/// ,
/// and for more information.
///
///
public string Source { get; }
///
/// Gets the unique ID of this source metadata element or null if the source metadata element doesn't have an ID.
/// See for more information.
///
public string? Id { get; }
}
}