Record Class ConnectedRemoteSessionMetadataRepository
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.ConnectedRemoteSessionMetadataRepository
@Generated("copilot-sdk-codegen")
public record ConnectedRemoteSessionMetadataRepository(String owner, String name, String branch)
extends Record
Repository associated with the connected remote session.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionConnectedRemoteSessionMetadataRepository(String owner, String name, String branch) Creates an instance of aConnectedRemoteSessionMetadataRepositoryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbranch()Returns the value of thebranchrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.owner()Returns the value of theownerrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ConnectedRemoteSessionMetadataRepository
Creates an instance of aConnectedRemoteSessionMetadataRepositoryrecord class.- Parameters:
owner- the value for theownerrecord componentname- the value for thenamerecord componentbranch- the value for thebranchrecord 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). -
owner
Returns the value of theownerrecord component.- Returns:
- the value of the
ownerrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
branch
Returns the value of thebranchrecord component.- Returns:
- the value of the
branchrecord component
-