-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
117 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using Newtonsoft.Json; | ||
|
||
namespace StreamChat.Models | ||
{ | ||
public class BlockUserResponse : ApiResponse | ||
{ | ||
public string BlockedByUserID { get; set; } | ||
public string BlockedUserID { get; set; } | ||
public string CreatedAt { get; set; } | ||
} | ||
|
||
public class GetBlockedUsersResponse : ApiResponse | ||
{ | ||
[JsonProperty("blocks")] | ||
public Blocks[] Blocks { get; set; } | ||
} | ||
|
||
public class Blocks | ||
{ | ||
[JsonProperty("user")] | ||
public User BlockedByUser { get; set; } | ||
|
||
[JsonProperty("user_id")] | ||
public string BlockedByUserID { get; set; } | ||
|
||
[JsonProperty("blocked_user")] | ||
public User BlockedUser { get; set; } | ||
|
||
[JsonProperty("blocked_user_id")] | ||
public string BlockedUserID { get; set; } | ||
|
||
[JsonProperty("created_at")] | ||
public DateTime CreatedAt { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters