Package com.mojang.realmsclient.dto
Class Subscription
- java.lang.Object
-
- com.mojang.realmsclient.dto.ValueObject
-
- com.mojang.realmsclient.dto.Subscription
-
public class Subscription extends ValueObject
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Subscription.Type
-
Field Summary
Fields Modifier and Type Field Description int
daysLeft
private static org.apache.logging.log4j.Logger
LOGGER
long
startDate
Subscription.Type
type
-
Constructor Summary
Constructors Constructor Description Subscription()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Subscription
parse(java.lang.String p_230793_0_)
private static Subscription.Type
typeFrom(java.lang.String p_230794_0_)
-
Methods inherited from class com.mojang.realmsclient.dto.ValueObject
toString
-
-
-
-
Field Detail
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
startDate
public long startDate
-
daysLeft
public int daysLeft
-
type
public Subscription.Type type
-
-
Method Detail
-
parse
public static Subscription parse(java.lang.String p_230793_0_)
-
typeFrom
private static Subscription.Type typeFrom(java.lang.String p_230794_0_)
-
-