public NNotificationsListMessage Build() { // Clone object so builder now operates on new copy. var original = message; message = new NNotificationsListMessage(); message.payload.NotificationsList = new TNotificationsList(original.payload.NotificationsList); return(original); }
public Builder(long limit) { message = new NNotificationsListMessage(); message.payload.NotificationsList.Limit = limit; }