private void CompareTicketAttachment(TicketAttachment one, TicketAttachment two) { Assert.AreEqual(one.Dateline, two.Dateline); Assert.AreEqual(one.FileName, two.FileName); Assert.AreEqual(one.FileSize, two.FileSize); Assert.AreEqual(one.FileType, two.FileType); Assert.AreEqual(one.Id, two.Id); Assert.AreEqual(one.TicketId, two.TicketId); Assert.AreEqual(one.TicketPostId, two.TicketPostId); //AssertObjectXmlEqual<TicketAttachment>(one, two); }
public static TicketAttachmentRequest FromResponseData(TicketAttachment responseData) { return TicketAttachmentRequest.FromResponseType<TicketAttachment, TicketAttachmentRequest>(responseData); }
public static TicketAttachmentRequest FromResponseData(TicketAttachment responseData) { return(TicketAttachmentRequest.FromResponseType <TicketAttachment, TicketAttachmentRequest>(responseData)); }