public static void CompareTicketNote(TicketNote one, TicketNote two)
        {
            Assert.AreEqual(one.Content, two.Content);
            Assert.AreEqual(one.CreationDate, two.CreationDate);
            Assert.AreEqual(one.CreatorStaffId, two.CreatorStaffId);
            Assert.AreEqual(one.CreatorStaffName, two.CreatorStaffName);
            Assert.AreEqual(one.ForStaffId, two.ForStaffId);
            Assert.AreEqual(one.Id, two.Id);
            Assert.AreEqual(one.NoteColor, two.NoteColor);
            Assert.AreEqual(one.TicketId, two.TicketId);
            Assert.AreEqual(one.Type, two.Type);

            AssertObjectXmlEqual<TicketNote>(one, two);
        }
 public static TicketNoteRequest FromResponseData(TicketNote responseData)
 {
     return TicketNoteRequest.FromResponseType<TicketNote, TicketNoteRequest>(responseData);
 }
Пример #3
0
 public static TicketNoteRequest FromResponseData(TicketNote responseData)
 {
     return(TicketNoteRequest.FromResponseType <TicketNote, TicketNoteRequest>(responseData));
 }