Skip to content

LicenseData

ClassAssetInventoryAssetInventory.Editor
public sealed class LicenseData

Optional alternatives and pinned supplemental terms for a complex package license.

public const int CurrentVersion = 1

Returns

System.Int32

public bool ShouldSerializeOptions()

Tells JSON serialization to include options only when at least one alternative is recorded.

Returns

System.Boolean

public LicenseData()

public int Version { get; set; }

Returns

System.Int32

public LicenseSelectionSnapshot Selected { get; set; }

Returns

AssetInventory.LicenseSelectionSnapshot

public List<LicenseOption> Options { get; set; }

Returns

System.Collections.Generic.List{AssetInventory.LicenseOption}