Record Class AuthIdentityMetadata
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.AuthIdentityMetadata
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record AuthIdentityMetadata(AuthInfoType type, String host, String login)
extends Record
Credential-free identity metadata.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionAuthIdentityMetadata(AuthInfoType type, String host, String login) Creates an instance of aAuthIdentityMetadatarecord 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
-
AuthIdentityMetadata
Creates an instance of aAuthIdentityMetadatarecord 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
-