Record Class McpOauthRequiredStaticClientConfig
java.lang.Object
java.lang.Record
com.github.copilot.generated.McpOauthRequiredStaticClientConfig
-
Constructor Summary
ConstructorsConstructorDescriptionMcpOauthRequiredStaticClientConfig(String clientId, String clientSecret, Boolean publicClient, String grantType) Creates an instance of aMcpOauthRequiredStaticClientConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionclientId()Returns the value of theclientIdrecord component.Returns the value of theclientSecretrecord 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
public McpOauthRequiredStaticClientConfig(String clientId, String clientSecret, Boolean publicClient, String grantType) Creates an instance of aMcpOauthRequiredStaticClientConfigrecord class.- Parameters:
clientId- the value for theclientIdrecord componentclientSecret- the value for theclientSecretrecord 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
-
clientSecret
Returns the value of theclientSecretrecord component.- Returns:
- the value of the
clientSecretrecord 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
-