0.4.0: Claim, Models/ DTOs, compile
LeaderboardSession.ClaimAsync sends onClaim. Generated DTOs live under Models/ with nullable wire fields. Remove incomplete duplicate type files.
This commit is contained in:
+7
-8
@@ -1,28 +1,27 @@
|
||||
// Code generated by apigen. DO NOT EDIT.
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System.Collections.Generic;
|
||||
using System;
|
||||
|
||||
namespace RudderSdk.Core.Models.Player;
|
||||
|
||||
public class Player
|
||||
{
|
||||
[JsonProperty("createdAt")]
|
||||
public string CreatedAt { get; set; }
|
||||
public DateTimeOffset? CreatedAt { get; set; }
|
||||
|
||||
[JsonProperty("id")]
|
||||
public string Id { get; set; }
|
||||
public string? Id { get; set; }
|
||||
|
||||
[JsonProperty("language")]
|
||||
public string Language { get; set; }
|
||||
public string? Language { get; set; }
|
||||
|
||||
[JsonProperty("nickname")]
|
||||
public string Nickname { get; set; }
|
||||
public string? Nickname { get; set; }
|
||||
|
||||
[JsonProperty("projectId")]
|
||||
public string ProjectId { get; set; }
|
||||
public string? ProjectId { get; set; }
|
||||
|
||||
[JsonProperty("region")]
|
||||
public string Region { get; set; }
|
||||
public string? Region { get; set; }
|
||||
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// Code generated by apigen. DO NOT EDIT.
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace RudderSdk.Core.Models.Player;
|
||||
@@ -8,9 +7,9 @@ namespace RudderSdk.Core.Models.Player;
|
||||
public class PlayerProfile
|
||||
{
|
||||
[JsonProperty("player")]
|
||||
public Player Player { get; set; }
|
||||
public Player? Player { get; set; }
|
||||
|
||||
[JsonProperty("wallets")]
|
||||
public List<Wallet> Wallets { get; set; }
|
||||
public List<Wallet>? Wallets { get; set; }
|
||||
|
||||
}
|
||||
|
||||
+2
-4
@@ -1,16 +1,14 @@
|
||||
// Code generated by apigen. DO NOT EDIT.
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace RudderSdk.Core.Models.Player;
|
||||
|
||||
public class Wallet
|
||||
{
|
||||
[JsonProperty("balance")]
|
||||
public long Balance { get; set; }
|
||||
public long? Balance { get; set; }
|
||||
|
||||
[JsonProperty("currency")]
|
||||
public string Currency { get; set; }
|
||||
public string? Currency { get; set; }
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user