private static PageLink ConvertToLinks(dynamic page_links) { var links = new PageLink(); if (page_links != null) { links.Next = page_links.next; } return(links); }
private static PageLink ConvertToLinks(dynamic links) { var pageLink = new PageLink(); if (links == null) { return(pageLink); } foreach (var link in links) { if (link.rel == "next") { pageLink.Next = link.href; } } return(pageLink); }
public ListMessageEventsResponse() { MessageEvents = new MessageEvent[] {}; Links = new PageLink(); }
public ListSuppressionResponse() { Suppressions = new Suppression[] { }; Links = new PageLink(); }