Skip to content

Commit

Permalink
Merge #193 into 1.7.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Doc94 committed Aug 29, 2024
2 parents 5e12000 + c1a219e commit 094de2a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import discord4j.discordjson.Id;
import discord4j.discordjson.possible.Possible;
import java.util.Optional;
import org.immutables.value.Value;

@Value.Immutable
Expand Down Expand Up @@ -41,8 +42,9 @@ static ImmutableEntitlementData.Builder builder() {
@JsonProperty("starts_at")
Possible<String> startsAt();

// This field return data for canceled renews or null
@JsonProperty("ends_at")
Possible<String> endsAt();
Possible<Optional<String>> endsAt();

@JsonProperty("subscription_id")
Possible<Id> subscriptionId();
Expand Down

0 comments on commit 094de2a

Please sign in to comment.