File tree Expand file tree Collapse file tree 17 files changed +727
-0
lines changed
Expand file tree Collapse file tree 17 files changed +727
-0
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -37,5 +37,9 @@ public class AdvancedCommunityInfo
3737 [ JsonPropertyName ( "agent" ) ] public GenericProfile Agent { get ; set ; }
3838 [ JsonPropertyName ( "themePack" ) ] public CommunityThemePack ThemePack { get ; set ; }
3939 [ JsonPropertyName ( "advancedSettings" ) ] public CommunityAdvancedSettings AdvancedSettings { get ; set ; }
40+
41+ [ JsonPropertyName ( "userAddedTopicList" ) ] public List < Topic > UserAddedTopicList { get ; set ; }
42+ [ JsonPropertyName ( "mediaList" ) ] public List < List < string > > MediaList { get ; set ; }
43+
4044 }
4145}
Original file line number Diff line number Diff line change 1+ using System ;
2+ using System . Collections . Generic ;
3+ using System . Linq ;
4+ using System . Text ;
5+ using System . Text . Json . Serialization ;
6+ using System . Threading . Tasks ;
7+
8+ namespace Amino . Objects
9+ {
10+ public class BlogCategory
11+ {
12+ [ JsonPropertyName ( "status" ) ] public int Status { get ; set ; }
13+ [ JsonPropertyName ( "modifiedTime" ) ] public string ModifiedTime { get ; set ; }
14+ [ JsonPropertyName ( "icon" ) ] public string IconUrl { get ; set ; }
15+ [ JsonPropertyName ( "style" ) ] public int Style { get ; set ; }
16+ [ JsonPropertyName ( "label" ) ] public string Label { get ; set ; }
17+ [ JsonPropertyName ( "content" ) ] public string Content { get ; set ; }
18+ [ JsonPropertyName ( "createdTime" ) ] public string CreatedTime { get ; set ; }
19+ [ JsonPropertyName ( "position" ) ] public int Position { get ; set ; }
20+ [ JsonPropertyName ( "type" ) ] public int Type { get ; set ; }
21+ [ JsonPropertyName ( "categoryId" ) ] public string CategoryId { get ; set ; }
22+ [ JsonPropertyName ( "blogsCount" ) ] public int BlogsCount { get ; set ; }
23+ }
24+ }
Original file line number Diff line number Diff line change 1+ using System ;
2+ using System . Collections . Generic ;
3+ using System . Linq ;
4+ using System . Text ;
5+ using System . Text . Json . Serialization ;
6+ using System . Threading . Tasks ;
7+
8+ namespace Amino . Objects
9+ {
10+ public class CommunityStats
11+ {
12+ [ JsonPropertyName ( "dailyActiveMembers" ) ] public int DailyActiveMembers { get ; set ; }
13+ [ JsonPropertyName ( "monthlyActiveMembers" ) ] public int MonthlyActiveMembers { get ; set ; }
14+ [ JsonPropertyName ( "totalTimeSpent" ) ] public int TotalTimeSpent { get ; set ; }
15+ [ JsonPropertyName ( "totalPostsCreated" ) ] public int TotalPostsCreated { get ; set ; }
16+ [ JsonPropertyName ( "newMembersToday" ) ] public int NewMembersToday { get ; set ; }
17+ [ JsonPropertyName ( "totalMembers" ) ] public int TotalMembers { get ; set ; }
18+ }
19+ }
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ public class GenericProfile // ROOT JSON ELEMENT: userProfile
1919 [ JsonPropertyName ( "nickname" ) ] public string Nickname { get ; set ; }
2020 [ JsonPropertyName ( "icon" ) ] public string IconUrl { get ; set ; }
2121 [ JsonPropertyName ( "ndcId" ) ] public int ? CommunityId { get ; set ; }
22+ [ JsonPropertyName ( "role" ) ] public int ? Role { get ; set ; }
2223
2324 [ JsonPropertyName ( "avatarFrame" ) ] public GenericAvatarFrame AvatarFrame { get ; set ; }
2425 [ JsonPropertyName ( "influencerInfo" ) ] public InfluencerPriceInfo InfluencerInfo { get ; set ; }
Original file line number Diff line number Diff line change 1+ using System ;
2+ using System . Collections . Generic ;
3+ using System . Linq ;
4+ using System . Text ;
5+ using System . Text . Json . Serialization ;
6+ using System . Threading . Tasks ;
7+
8+ namespace Amino . Objects
9+ {
10+ public class JoinRequest
11+ {
12+ [ JsonPropertyName ( "communityMembershipRequestCount" ) ] public int CommunityMembershipRequestCount { get ; set ; }
13+ [ JsonPropertyName ( "communityMembershipRequestList" ) ] public List < JoinRequestUser > CommunityMembershipRequestList { get ; set ; }
14+ }
15+ }
Original file line number Diff line number Diff line change 1+ using System ;
2+ using System . Collections . Generic ;
3+ using System . Linq ;
4+ using System . Text ;
5+ using System . Text . Json . Serialization ;
6+ using System . Threading . Tasks ;
7+
8+ namespace Amino . Objects
9+ {
10+ public class JoinRequestApplicant
11+ {
12+ [ JsonPropertyName ( "status" ) ] public int Status { get ; set ; }
13+ [ JsonPropertyName ( "uid" ) ] public string UserId { get ; set ; }
14+ [ JsonPropertyName ( "isGlobal" ) ] public bool IsGlobal { get ; set ; }
15+ [ JsonPropertyName ( "role" ) ] public int Role { get ; set ; }
16+ [ JsonPropertyName ( "isStaff" ) ] public bool IsStaff { get ; set ; }
17+ [ JsonPropertyName ( "nickname" ) ] public string Nickname { get ; set ; }
18+ [ JsonPropertyName ( "icon" ) ] public string IconUrl { get ; set ; }
19+ }
20+ }
Original file line number Diff line number Diff line change 1+ using System ;
2+ using System . Collections . Generic ;
3+ using System . Linq ;
4+ using System . Text ;
5+ using System . Text . Json . Serialization ;
6+ using System . Threading . Tasks ;
7+
8+ namespace Amino . Objects
9+ {
10+ public class JoinRequestUser
11+ {
12+ [ JsonPropertyName ( "status" ) ] public int Status { get ; set ; }
13+ [ JsonPropertyName ( "requestId" ) ] public string RequestId { get ; set ; }
14+ [ JsonPropertyName ( "modifiedTime" ) ] public string ModifiedTime { get ; set ; }
15+ [ JsonPropertyName ( "ndcId" ) ] public int CommunityId { get ; set ; }
16+ [ JsonPropertyName ( "createdTime" ) ] public string CreatedTime { get ; set ; }
17+ [ JsonPropertyName ( "message" ) ] public string Message { get ; set ; }
18+ [ JsonPropertyName ( "uid" ) ] public string UserId { get ; set ; }
19+ [ JsonPropertyName ( "applicant" ) ] public JoinRequestApplicant Applicant { get ; set ; }
20+ }
21+ }
Original file line number Diff line number Diff line change 1+ using System ;
2+ using System . Collections . Generic ;
3+ using System . Linq ;
4+ using System . Text ;
5+ using System . Text . Json . Serialization ;
6+ using System . Threading . Tasks ;
7+
8+ namespace Amino . Objects
9+ {
10+ public class Notice
11+ {
12+ [ JsonPropertyName ( "icon" ) ] public string IconUrl { get ; set ; }
13+ //[JsonPropertyName("community")] No Data
14+ [ JsonPropertyName ( "title" ) ] public string Title { get ; set ; }
15+ [ JsonPropertyName ( "ndcId" ) ] public int ? CommunityId { get ; set ; }
16+ [ JsonPropertyName ( "noticeId" ) ] public string NoticeId { get ; set ; }
17+ [ JsonPropertyName ( "notificationId" ) ] public string NotificationId { get ; set ; }
18+ [ JsonPropertyName ( "status" ) ] public int ? Status { get ; set ; }
19+ [ JsonPropertyName ( "type" ) ] public int ? Type { get ; set ; }
20+ [ JsonPropertyName ( "modifiedTime" ) ] public string ModifiedTime { get ; set ; }
21+ [ JsonPropertyName ( "createdTime" ) ] public string CreatedTime { get ; set ; }
22+ //[JsonPropertyName("content")] No Data
23+
24+ [ JsonPropertyName ( "operator" ) ] public GenericProfile Operator { get ; set ; }
25+ [ JsonPropertyName ( "targetUser" ) ] public GenericProfile TargetUser { get ; set ; }
26+ [ JsonPropertyName ( "extensions" ) ] public NoticeExtensions Extensions { get ; set ; }
27+ }
28+ }
Original file line number Diff line number Diff line change 1+ using System ;
2+ using System . Collections . Generic ;
3+ using System . Linq ;
4+ using System . Text ;
5+ using System . Text . Json . Serialization ;
6+ using System . Threading . Tasks ;
7+
8+ namespace Amino . Objects
9+ {
10+ public class NoticeExtensionConfig
11+ {
12+ [ JsonPropertyName ( "showCommunity" ) ] public bool ? ShowCommunity { get ; set ; }
13+ [ JsonPropertyName ( "showOperator" ) ] public bool ? ShowOperator { get ; set ; }
14+ [ JsonPropertyName ( "allowQuickOperation" ) ] public bool ? AllowQuickOperation { get ; set ; }
15+ [ JsonPropertyName ( "operationList" ) ] public List < NoticeExtensionOperation > OperationList { get ; set ; }
16+ }
17+ }
You can’t perform that action at this time.
0 commit comments