public static AllowedQuality FromQuality(Quality quality, bool allowed) => new AllowedQuality(quality) { Allowed = allowed };
public void SetQuality(Quality quality) => this.Quality = quality;
private AllowedQuality(Quality quality) { this.Quality = quality; }