public UserAssetsListItemGetRequestBuilder(string assetId, UserAssetsListType listType, UserAssetsListItemType itemType) : this() { this.AssetId = assetId; this.ListType = listType; this.ItemType = itemType; }
public UserAssetsListItem(XmlElement node) : base(node) { foreach (XmlElement propertyNode in node.ChildNodes) { switch (propertyNode.Name) { case "id": this._Id = propertyNode.InnerText; continue; case "orderIndex": this._OrderIndex = ParseInt(propertyNode.InnerText); continue; case "type": this._Type = (UserAssetsListItemType)StringEnum.Parse(typeof(UserAssetsListItemType), propertyNode.InnerText); continue; case "userId": this._UserId = propertyNode.InnerText; continue; case "listType": this._ListType = (UserAssetsListType)StringEnum.Parse(typeof(UserAssetsListType), propertyNode.InnerText); continue; } } }
public static UserAssetsListItemGetRequestBuilder Get(string assetId, UserAssetsListType listType, UserAssetsListItemType itemType) { return(new UserAssetsListItemGetRequestBuilder(assetId, listType, itemType)); }