Refactor: Update NetworkService with proper initializer and REST methods (GET, POST, PATCH, DELETE)
This commit is contained in:
@@ -175,7 +175,8 @@ namespace Chtn.CSharp.SDK.Models.Network
|
||||
public class UnbanMemberReq
|
||||
{
|
||||
[JsonProperty("networkId")] public string NetworkId { get; set; }
|
||||
[JsonProperty("targetId")] public string TargetId { get; set; }
|
||||
[JsonProperty("targetId")] public string TargetId { get; set; }
|
||||
[JsonProperty("userId")] public string UserId { get; set; }
|
||||
}
|
||||
public class GetBannedMembersReq { [JsonProperty("networkId")] public string NetworkId { get; set; } }
|
||||
public class AssignRankToMemberReq
|
||||
@@ -186,7 +187,9 @@ namespace Chtn.CSharp.SDK.Models.Network
|
||||
public class RemoveRankFromMemberReq
|
||||
{
|
||||
[JsonProperty("rankId")] public string RankId { get; set; }
|
||||
[JsonProperty("targetId")] public string TargetId { get; set; }
|
||||
[JsonProperty("targetId")] public string TargetId { get; set; }
|
||||
[JsonProperty("networkId")] public string NetworkId { get; set; }
|
||||
[JsonProperty("userId")] public string UserId { get; set; }
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user