public Contributor(JsonElement contributor) { if (contributor.IsNull()) { return; } if (contributor.ValueKind == JsonValueKind.Number) { ID = contributor.GetInt64().ToString(); } else { ID = contributor.GetLong("id_str").ToString(); ScreenName = contributor.GetString("screen_name"); } }
internal Cursors(JsonElement cursors) { Next = cursors.GetLong("next_cursor"); Previous = cursors.GetLong("previous_cursor"); }