Record Class RequestMicrosoftAPIImpl.MicrosoftXBoxLiveResponse
java.lang.Object
java.lang.Record
pro.gravit.launcher.base.request.RequestMicrosoftAPIImpl.MicrosoftXBoxLiveResponse
- Enclosing class:
RequestMicrosoftAPIImpl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theDisplayClaimsrecord component.final booleanIndicates whether some other object is "equal to" this one.getUHS()final inthashCode()Returns a hash code value for this object.Returns the value of theIssueInstantrecord component.NotAfter()Returns the value of theNotAfterrecord component.Token()Returns the value of theTokenrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MicrosoftXBoxLiveResponse
public MicrosoftXBoxLiveResponse(String IssueInstant, String NotAfter, String Token, Map<String, List<Map<String, String>>> DisplayClaims) Creates an instance of aMicrosoftXBoxLiveResponserecord class.- Parameters:
IssueInstant- the value for theIssueInstantrecord componentNotAfter- the value for theNotAfterrecord componentToken- the value for theTokenrecord componentDisplayClaims- the value for theDisplayClaimsrecord component
-
-
Method Details
-
getUHS
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
IssueInstant
Returns the value of theIssueInstantrecord component.- Returns:
- the value of the
IssueInstantrecord component
-
NotAfter
Returns the value of theNotAfterrecord component.- Returns:
- the value of the
NotAfterrecord component
-
Token
Returns the value of theTokenrecord component.- Returns:
- the value of the
Tokenrecord component
-
DisplayClaims
-