Record Class APIKeySecurityScheme_v0_3
java.lang.Object
java.lang.Record
org.a2aproject.sdk.compat03.spec.APIKeySecurityScheme_v0_3
- All Implemented Interfaces:
SecurityScheme_v0_3
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumRepresents the location of the API key. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAPIKeySecurityScheme_v0_3(String in, String name, @Nullable String description) APIKeySecurityScheme_v0_3(String in, String name, @Nullable String description, @Nullable String type) Creates an instance of aAPIKeySecurityScheme_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.in()Returns the value of theinrecord component.name()Returns the value of thenamerecord 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
-
APIKeySecurityScheme_v0_3
public APIKeySecurityScheme_v0_3(String in, String name, @Nullable String description, @Nullable String type) Creates an instance of aAPIKeySecurityScheme_v0_3record class.- Parameters:
in- the value for theinrecord componentname- the value for thenamerecord componentdescription- the value for thedescriptionrecord componenttype- the value for thetyperecord component
-
APIKeySecurityScheme_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). -
in
Returns the value of theinrecord component.- Returns:
- the value of the
inrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord 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
-