Record Class MetadataSnapshotRemoteMetadataRepository
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.MetadataSnapshotRemoteMetadataRepository
@Generated("copilot-sdk-codegen")
public record MetadataSnapshotRemoteMetadataRepository(String owner, String name, String branch)
extends Record
The repository the remote session targets.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionMetadataSnapshotRemoteMetadataRepository(String owner, String name, String branch) Creates an instance of aMetadataSnapshotRemoteMetadataRepositoryrecord 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
-
MetadataSnapshotRemoteMetadataRepository
Creates an instance of aMetadataSnapshotRemoteMetadataRepositoryrecord 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
-