com.mojang.realmsclient.dto

public record Subscription

gan
com.mojang.realmsclient.dto.Subscription
net.minecraft.class_4887
net.minecraft.client.realms.dto.Subscription

Field summary

Modifier and TypeField
private final Instant
a
startDate
comp_5030
startDate
private final int
b
daysLeft
comp_5031
daysLeft
private final Subscription$SubscriptionType
c
type
comp_5032
type
private static final org.slf4j.Logger
d
LOGGER
field_22656
LOGGER

Constructor summary

ModifierConstructor
public (Instant startDate, int daysLeft, Subscription$SubscriptionType type)

Method summary

Modifier and TypeMethod
public static Subscription
a(String arg0)
parse(String arg0)
method_25085(String arg0)
parse(String json)
private static Subscription$SubscriptionType
b(String arg0)
typeFrom(String arg0)
method_25086(String arg0)
typeFrom(String subscriptionType)
public Instant
a()
startDate()
comp_5030()
startDate()
public int
b()
daysLeft()
comp_5031()
daysLeft()
public Subscription$SubscriptionType
c()
type()
comp_5032()
type()