Record Class McpOauthWWWAuthenticateParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.McpOauthWWWAuthenticateParams
@Generated("copilot-sdk-codegen")
public record McpOauthWWWAuthenticateParams(String resourceMetadataUrl, String scope, String error)
extends Record
OAuth WWW-Authenticate parameters parsed from an MCP auth challenge
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionMcpOauthWWWAuthenticateParams(String resourceMetadataUrl, String scope, String error) Creates an instance of aMcpOauthWWWAuthenticateParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.error()Returns the value of theerrorrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theresourceMetadataUrlrecord component.scope()Returns the value of thescoperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
McpOauthWWWAuthenticateParams
Creates an instance of aMcpOauthWWWAuthenticateParamsrecord class.- Parameters:
resourceMetadataUrl- the value for theresourceMetadataUrlrecord componentscope- the value for thescoperecord componenterror- the value for theerrorrecord 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). -
resourceMetadataUrl
Returns the value of theresourceMetadataUrlrecord component.- Returns:
- the value of the
resourceMetadataUrlrecord component
-
scope
Returns the value of thescoperecord component.- Returns:
- the value of the
scoperecord component
-
error
Returns the value of theerrorrecord component.- Returns:
- the value of the
errorrecord component
-