-
Notifications
You must be signed in to change notification settings - Fork 1
/
FollowerListObject.cs
39 lines (31 loc) · 933 Bytes
/
FollowerListObject.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace RecentFollowers
{
public class Follower
{
[JsonPropertyName("user_id")]
public string FromId { get; set; }
[JsonPropertyName("user_name")]
public string FollowerName { get; set; }
[JsonPropertyName("user_login")]
public string FollowerId { get; set; }
[JsonPropertyName("followed_at")]
public DateTime FollowedAt { get; set; }
}
public class Pagination
{
[JsonPropertyName("cursor")]
public string Cursor { get; set; }
}
public class FollowerListObject
{
[JsonPropertyName("data")]
public List<Follower> Data { get; set; }
[JsonPropertyName("pagination")]
public Pagination Pagination { get; set; }
[JsonPropertyName("total")]
public int Total { get; set; }
}
}