Record Class ConnectorDiscoveryAuthInfo
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.ConnectorDiscoveryAuthInfo
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record ConnectorDiscoveryAuthInfo(AuthInfoType type, String host, String login)
extends Record
Account metadata.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionConnectorDiscoveryAuthInfo(AuthInfoType type, String host, String login) Creates an instance of aConnectorDiscoveryAuthInforecord 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.host()Returns the value of thehostrecord component.login()Returns the value of theloginrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
ConnectorDiscoveryAuthInfo
Creates an instance of aConnectorDiscoveryAuthInforecord class.- Parameters:
type- the value for thetyperecord componenthost- the value for thehostrecord componentlogin- the value for theloginrecord 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). -
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
host
Returns the value of thehostrecord component.- Returns:
- the value of the
hostrecord component
-
login
Returns the value of theloginrecord component.- Returns:
- the value of the
loginrecord component
-