public static void CompareTicketPost(TicketPost one, TicketPost two) { Assert.AreEqual(one.Contents, two.Contents); Assert.AreEqual(one.Creator, two.Creator); Assert.AreEqual(one.Dateline, two.Dateline); Assert.AreEqual(one.Email, two.Email); Assert.AreEqual(one.EmailTo, two.EmailTo); Assert.AreEqual(one.FullName, two.FullName); Assert.AreEqual(one.HasAttachments, two.HasAttachments); Assert.AreEqual(one.Id, two.Id); Assert.AreEqual(one.IPAddress, two.IPAddress); Assert.AreEqual(one.IsEmailed, two.IsEmailed); Assert.AreEqual(one.IsHtml, two.IsHtml); Assert.AreEqual(one.IsSurveyComment, two.IsSurveyComment); Assert.AreEqual(one.IsThirdParty, two.IsThirdParty); Assert.AreEqual(one.StaffId, two.StaffId); Assert.AreEqual(one.UserId, two.UserId); AssertObjectXmlEqual<TicketPost>(one, two); }
public static TicketPostRequest FromResponseData(TicketPost responseData) { return TicketPostRequest.FromResponseType<TicketPost, TicketPostRequest>(responseData); }
public static TicketPostRequest FromResponseData(TicketPost responseData) { return(TicketPostRequest.FromResponseType <TicketPost, TicketPostRequest>(responseData)); }