} //end NotificationHistory() public NotificationHistory(net.autotask.webservices.NotificationHistory entity) : base(entity) { this.IsActive = bool.Parse(entity.IsActive.ToString()); this.IsDeleted = bool.Parse(entity.IsDeleted.ToString()); this.IsTemplateJob = bool.Parse(entity.IsTemplateJob.ToString()); this.AccountID = long.Parse(entity.AccountID.ToString()); this.EntityNumber = entity.EntityNumber == null ? default(string) : entity.EntityNumber.ToString(); this.EntityTitle = entity.EntityTitle == null ? default(string) : entity.EntityTitle.ToString(); this.InitiatingContactID = long.Parse(entity.InitiatingContactID.ToString()); this.InitiatingResourceID = long.Parse(entity.InitiatingResourceID.ToString()); this.NotificationHistoryTypeID = entity.NotificationHistoryTypeID == null ? default(int?) : int.Parse(entity.NotificationHistoryTypeID.ToString()); this.NotificationSentTime = entity.NotificationSentTime == null ? default(DateTime?) : DateTime.Parse(entity.NotificationSentTime.ToString()); this.OpportunityID = long.Parse(entity.OpportunityID.ToString()); this.ProjectID = long.Parse(entity.ProjectID.ToString()); this.QuoteID = long.Parse(entity.QuoteID.ToString()); this.RecipientDisplayName = entity.RecipientDisplayName == null ? default(string) : entity.RecipientDisplayName.ToString(); this.RecipientEmailAddress = entity.RecipientEmailAddress == null ? default(string) : entity.RecipientEmailAddress.ToString(); this.TaskID = long.Parse(entity.TaskID.ToString()); this.TemplateName = entity.TemplateName == null ? default(string) : entity.TemplateName.ToString(); this.TicketID = long.Parse(entity.TicketID.ToString()); this.TimeEntryID = long.Parse(entity.TimeEntryID.ToString()); } //end NotificationHistory(net.autotask.webservices.NotificationHistory entity)
} //end NotificationHistory() public NotificationHistory(net.autotask.webservices.NotificationHistory entity) : base(entity) { } //end NotificationHistory(net.autotask.webservices.NotificationHistory entity)