Record Class HTTPAuthSecurityScheme_v0_3
java.lang.Object
java.lang.Record
org.a2aproject.sdk.compat03.spec.HTTPAuthSecurityScheme_v0_3
- All Implemented Interfaces:
SecurityScheme_v0_3
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionHTTPAuthSecurityScheme_v0_3(@Nullable String bearerFormat, String scheme, @Nullable String description) HTTPAuthSecurityScheme_v0_3(@Nullable String bearerFormat, String scheme, @Nullable String description, @Nullable String type) Creates an instance of aHTTPAuthSecurityScheme_v0_3record class. -
Method Summary
Modifier and TypeMethodDescription@Nullable StringReturns the value of thebearerFormatrecord component.@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.scheme()Returns the value of theschemerecord 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
-
HTTPAuthSecurityScheme_v0_3
public HTTPAuthSecurityScheme_v0_3(@Nullable String bearerFormat, String scheme, @Nullable String description, @Nullable String type) Creates an instance of aHTTPAuthSecurityScheme_v0_3record class.- Parameters:
bearerFormat- the value for thebearerFormatrecord componentscheme- the value for theschemerecord componentdescription- the value for thedescriptionrecord componenttype- the value for thetyperecord component
-
HTTPAuthSecurityScheme_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). -
bearerFormat
Returns the value of thebearerFormatrecord component.- Returns:
- the value of the
bearerFormatrecord component
-
scheme
Returns the value of theschemerecord component.- Returns:
- the value of the
schemerecord 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
-