Record Class AuthorizationCodeOAuthFlow_v0_3
java.lang.Object
java.lang.Record
org.a2aproject.sdk.compat03.spec.AuthorizationCodeOAuthFlow_v0_3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theauthorizationUrlrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of therefreshUrlrecord component.scopes()Returns the value of thescopesrecord component.tokenUrl()Returns the value of thetokenUrlrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AuthorizationCodeOAuthFlow_v0_3
public AuthorizationCodeOAuthFlow_v0_3(String authorizationUrl, String refreshUrl, Map<String, String> scopes, String tokenUrl) Creates an instance of aAuthorizationCodeOAuthFlow_v0_3record class.- Parameters:
authorizationUrl- the value for theauthorizationUrlrecord componentrefreshUrl- the value for therefreshUrlrecord componentscopes- the value for thescopesrecord componenttokenUrl- the value for thetokenUrlrecord component
-
-
Method Details
-
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). -
authorizationUrl
Returns the value of theauthorizationUrlrecord component.- Returns:
- the value of the
authorizationUrlrecord component
-
refreshUrl
Returns the value of therefreshUrlrecord component.- Returns:
- the value of the
refreshUrlrecord component
-
scopes
-
tokenUrl
Returns the value of thetokenUrlrecord component.- Returns:
- the value of the
tokenUrlrecord component
-