Record Class McpOauthRequiredStaticClientConfig
java.lang.Object
java.lang.Record
com.github.copilot.generated.McpOauthRequiredStaticClientConfig
@Generated("copilot-sdk-codegen")
public record McpOauthRequiredStaticClientConfig(String clientId, Boolean publicClient, String grantType)
extends Record
Static OAuth client configuration, if the server specifies one
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionMcpOauthRequiredStaticClientConfig(String clientId, Boolean publicClient, String grantType) Creates an instance of aMcpOauthRequiredStaticClientConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionclientId()Returns the value of theclientIdrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thegrantTyperecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thepublicClientrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
McpOauthRequiredStaticClientConfig
Creates an instance of aMcpOauthRequiredStaticClientConfigrecord class.- Parameters:
clientId- the value for theclientIdrecord componentpublicClient- the value for thepublicClientrecord componentgrantType- the value for thegrantTyperecord 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). -
clientId
Returns the value of theclientIdrecord component.- Returns:
- the value of the
clientIdrecord component
-
publicClient
Returns the value of thepublicClientrecord component.- Returns:
- the value of the
publicClientrecord component
-
grantType
Returns the value of thegrantTyperecord component.- Returns:
- the value of the
grantTyperecord component
-