Record Class McpOauthRequiredEvent.McpOauthRequiredEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.McpOauthRequiredEvent.McpOauthRequiredEventData
- Enclosing class:
McpOauthRequiredEvent
public static record McpOauthRequiredEvent.McpOauthRequiredEventData(String requestId, String serverName, String serverUrl, McpOauthRequiredStaticClientConfig staticClientConfig, McpOauthWWWAuthenticateParams wwwAuthenticateParams, String resourceMetadata, McpOauthRequestReason reason)
extends Record
Data payload for
McpOauthRequiredEvent.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionMcpOauthRequiredEventData(String requestId, String serverName, String serverUrl, McpOauthRequiredStaticClientConfig staticClientConfig, McpOauthWWWAuthenticateParams wwwAuthenticateParams, String resourceMetadata, McpOauthRequestReason reason) Creates an instance of aMcpOauthRequiredEventDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.reason()Returns the value of thereasonrecord component.Returns the value of therequestIdrecord component.Returns the value of theresourceMetadatarecord component.Returns the value of theserverNamerecord component.Returns the value of theserverUrlrecord component.Returns the value of thestaticClientConfigrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thewwwAuthenticateParamsrecord component.
-
Constructor Details
-
McpOauthRequiredEventData
public McpOauthRequiredEventData(String requestId, String serverName, String serverUrl, McpOauthRequiredStaticClientConfig staticClientConfig, McpOauthWWWAuthenticateParams wwwAuthenticateParams, String resourceMetadata, McpOauthRequestReason reason) Creates an instance of aMcpOauthRequiredEventDatarecord class.- Parameters:
requestId- the value for therequestIdrecord componentserverName- the value for theserverNamerecord componentserverUrl- the value for theserverUrlrecord componentstaticClientConfig- the value for thestaticClientConfigrecord componentwwwAuthenticateParams- the value for thewwwAuthenticateParamsrecord componentresourceMetadata- the value for theresourceMetadatarecord componentreason- the value for thereasonrecord 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). -
requestId
Returns the value of therequestIdrecord component.- Returns:
- the value of the
requestIdrecord component
-
serverName
Returns the value of theserverNamerecord component.- Returns:
- the value of the
serverNamerecord component
-
serverUrl
Returns the value of theserverUrlrecord component.- Returns:
- the value of the
serverUrlrecord component
-
staticClientConfig
Returns the value of thestaticClientConfigrecord component.- Returns:
- the value of the
staticClientConfigrecord component
-
wwwAuthenticateParams
Returns the value of thewwwAuthenticateParamsrecord component.- Returns:
- the value of the
wwwAuthenticateParamsrecord component
-
resourceMetadata
Returns the value of theresourceMetadatarecord component.- Returns:
- the value of the
resourceMetadatarecord component
-
reason
Returns the value of thereasonrecord component.- Returns:
- the value of the
reasonrecord component
-