public Topic(XmlElement node) : base(node) { foreach (XmlElement propertyNode in node.ChildNodes) { switch (propertyNode.Name) { case "id": this._Id = propertyNode.InnerText; continue; case "name": this._Name = propertyNode.InnerText; continue; case "subscribersAmount": this._SubscribersAmount = propertyNode.InnerText; continue; case "automaticIssueNotification": this._AutomaticIssueNotification = (TopicAutomaticIssueNotification)StringEnum.Parse(typeof(TopicAutomaticIssueNotification), propertyNode.InnerText); continue; case "lastMessageSentDateSec": this._LastMessageSentDateSec = ParseLong(propertyNode.InnerText); continue; } } }
public static TopicUpdateStatusRequestBuilder UpdateStatus(int id, TopicAutomaticIssueNotification automaticIssueNotification) { return(new TopicUpdateStatusRequestBuilder(id, automaticIssueNotification)); }
public TopicUpdateStatusRequestBuilder(int id, TopicAutomaticIssueNotification automaticIssueNotification) : this() { this.Id = id; this.AutomaticIssueNotification = automaticIssueNotification; }