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:
+8
-8
@@ -1,6 +1,6 @@
|
||||
// Code generated by apigen. DO NOT EDIT.
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace RudderSdk.Core.Models.Stores;
|
||||
@@ -8,24 +8,24 @@ namespace RudderSdk.Core.Models.Stores;
|
||||
public class Offer
|
||||
{
|
||||
[JsonProperty("contents")]
|
||||
public List<OfferContent> Contents { get; set; }
|
||||
public List<OfferContent>? Contents { get; set; }
|
||||
|
||||
[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("maxPurchases")]
|
||||
public int MaxPurchases { get; set; }
|
||||
public int? MaxPurchases { get; set; }
|
||||
|
||||
[JsonProperty("name")]
|
||||
public string Name { get; set; }
|
||||
public string? Name { get; set; }
|
||||
|
||||
[JsonProperty("price")]
|
||||
public OfferPrice Price { get; set; }
|
||||
public OfferPrice? Price { get; set; }
|
||||
|
||||
[JsonProperty("updatedAt")]
|
||||
public string UpdatedAt { get; set; }
|
||||
public DateTimeOffset? UpdatedAt { get; set; }
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user