Record Class RequestMicrosoftAPIImpl.MicrosoftAuthMethod
java.lang.Object
java.lang.Record
pro.gravit.launcher.base.request.RequestMicrosoftAPIImpl.MicrosoftAuthMethod
- All Implemented Interfaces:
pro.gravit.launcher.core.api.method.AuthMethod
- Enclosing class:
RequestMicrosoftAPIImpl
public static record RequestMicrosoftAPIImpl.MicrosoftAuthMethod(pro.gravit.launcher.core.api.method.details.AuthDeviceFlowDetails details)
extends Record
implements pro.gravit.launcher.core.api.method.AuthMethod
-
Constructor Summary
ConstructorsConstructorDescriptionMicrosoftAuthMethod(pro.gravit.launcher.core.api.method.details.AuthDeviceFlowDetails details) Creates an instance of aMicrosoftAuthMethodrecord class. -
Method Summary
Modifier and TypeMethodDescriptionpro.gravit.launcher.core.api.method.details.AuthDeviceFlowDetailsdetails()Returns the value of thedetailsrecord component.final booleanIndicates whether some other object is "equal to" this one.List<pro.gravit.launcher.core.api.method.AuthMethodDetails> getName()final inthashCode()Returns a hash code value for this object.booleanfinal StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MicrosoftAuthMethod
public MicrosoftAuthMethod(pro.gravit.launcher.core.api.method.details.AuthDeviceFlowDetails details) Creates an instance of aMicrosoftAuthMethodrecord class.- Parameters:
details- the value for thedetailsrecord component
-
-
Method Details
-
getDetails
- Specified by:
getDetailsin interfacepro.gravit.launcher.core.api.method.AuthMethod
-
getName
- Specified by:
getNamein interfacepro.gravit.launcher.core.api.method.AuthMethod
-
getDisplayName
- Specified by:
getDisplayNamein interfacepro.gravit.launcher.core.api.method.AuthMethod
-
isVisible
public boolean isVisible()- Specified by:
isVisiblein interfacepro.gravit.launcher.core.api.method.AuthMethod
-
getFeatures
-
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). -
details
public pro.gravit.launcher.core.api.method.details.AuthDeviceFlowDetails details()Returns the value of thedetailsrecord component.- Returns:
- the value of the
detailsrecord component
-