private Link ( VersionOne.SDK.APIClient.Asset asset ) : VersionOne.SDK.APIClient | ||
asset | VersionOne.SDK.APIClient.Asset | |
return | VersionOne.SDK.APIClient |
internal Link(Asset asset) {
Title = asset.GetAttribute(asset.AssetType.GetAttributeDefinition(Entity.NameProperty)).Value.ToString();
Url = asset.GetAttribute(asset.AssetType.GetAttributeDefinition(UrlProperty)).Value.ToString();
OnMenu = (bool)asset.GetAttribute(asset.AssetType.GetAttributeDefinition(OnMenuProperty)).Value;
}