diff --git a/source/BrightcoveOS .NET-MAPI-Wrapper/Model/Items/BrightcoveRendition.cs b/source/BrightcoveOS .NET-MAPI-Wrapper/Model/Items/BrightcoveRendition.cs index 620df28..c844081 100644 --- a/source/BrightcoveOS .NET-MAPI-Wrapper/Model/Items/BrightcoveRendition.cs +++ b/source/BrightcoveOS .NET-MAPI-Wrapper/Model/Items/BrightcoveRendition.cs @@ -15,6 +15,15 @@ namespace BrightcoveMapiWrapper.Model.Items /// public class BrightcoveRendition : BrightcoveItem, IJavaScriptConvertable { + /// + /// The rendition's id. + /// + public long Id + { + get; + private set; + } + /// /// [Optional — required for live streaming only] Depending on your CDN, one of the following /// values: LIMELIGHT_LIVE or AKAMAI_LIVE. @@ -158,6 +167,13 @@ public void Deserialize(IDictionary dictionary, JavaScriptSerial ApiUtil.ThrowIfError(dictionary, key, serializer); break; + case "id": + if (dictionary[key] != null) + { + Id = (long)dictionary[key]; + } + break; + case "controllerType": ControllerType = ((string)dictionary[key]).ToBrightcoveEnum(); break;