Record Class OpenIdConnectSecurityScheme_v0_3
java.lang.Object
java.lang.Record
org.a2aproject.sdk.compat03.spec.OpenIdConnectSecurityScheme_v0_3
- All Implemented Interfaces:
SecurityScheme_v0_3
public record OpenIdConnectSecurityScheme_v0_3(String openIdConnectUrl, @Nullable String description, String type)
extends Record
implements SecurityScheme_v0_3
Defines a security scheme using OpenID Connect.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOpenIdConnectSecurityScheme_v0_3(String openIdConnectUrl, @Nullable String description) OpenIdConnectSecurityScheme_v0_3(String openIdConnectUrl, @Nullable String description, String type) Creates an instance of aOpenIdConnectSecurityScheme_v0_3record class. -
Method Summary
Modifier and TypeMethodDescription@Nullable StringReturns the value of thedescriptionrecord 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 theopenIdConnectUrlrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
OpenIdConnectSecurityScheme_v0_3
public OpenIdConnectSecurityScheme_v0_3(String openIdConnectUrl, @Nullable String description, String type) Creates an instance of aOpenIdConnectSecurityScheme_v0_3record class.- Parameters:
openIdConnectUrl- the value for theopenIdConnectUrlrecord componentdescription- the value for thedescriptionrecord componenttype- the value for thetyperecord component
-
OpenIdConnectSecurityScheme_v0_3
-
-
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). -
openIdConnectUrl
Returns the value of theopenIdConnectUrlrecord component.- Returns:
- the value of the
openIdConnectUrlrecord component
-
description
Returns the value of thedescriptionrecord component.- Specified by:
descriptionin interfaceSecurityScheme_v0_3- Returns:
- the value of the
descriptionrecord component
-
type
Returns the value of thetyperecord component.- Specified by:
typein interfaceSecurityScheme_v0_3- Returns:
- the value of the
typerecord component
-