Record Class GitHubTelemetryClientInfo
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.GitHubTelemetryClientInfo
@Generated("copilot-sdk-codegen")
public record GitHubTelemetryClientInfo(String cliVersion, String osPlatform, String osVersion, String osArch, String nodeVersion, String copilotPlan, String clientType, String clientName, Boolean isStaff, String devDeviceId)
extends Record
Client environment metadata describing the process that produced a telemetry event.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionGitHubTelemetryClientInfo(String cliVersion, String osPlatform, String osVersion, String osArch, String nodeVersion, String copilotPlan, String clientType, String clientName, Boolean isStaff, String devDeviceId) Creates an instance of aGitHubTelemetryClientInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclientNamerecord component.Returns the value of theclientTyperecord component.Returns the value of thecliVersionrecord component.Returns the value of thecopilotPlanrecord component.Returns the value of thedevDeviceIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.isStaff()Returns the value of theisStaffrecord component.Returns the value of thenodeVersionrecord component.osArch()Returns the value of theosArchrecord component.Returns the value of theosPlatformrecord component.Returns the value of theosVersionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GitHubTelemetryClientInfo
public GitHubTelemetryClientInfo(String cliVersion, String osPlatform, String osVersion, String osArch, String nodeVersion, String copilotPlan, String clientType, String clientName, Boolean isStaff, String devDeviceId) Creates an instance of aGitHubTelemetryClientInforecord class.- Parameters:
cliVersion- the value for thecliVersionrecord componentosPlatform- the value for theosPlatformrecord componentosVersion- the value for theosVersionrecord componentosArch- the value for theosArchrecord componentnodeVersion- the value for thenodeVersionrecord componentcopilotPlan- the value for thecopilotPlanrecord componentclientType- the value for theclientTyperecord componentclientName- the value for theclientNamerecord componentisStaff- the value for theisStaffrecord componentdevDeviceId- the value for thedevDeviceIdrecord 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). -
cliVersion
Returns the value of thecliVersionrecord component.- Returns:
- the value of the
cliVersionrecord component
-
osPlatform
Returns the value of theosPlatformrecord component.- Returns:
- the value of the
osPlatformrecord component
-
osVersion
Returns the value of theosVersionrecord component.- Returns:
- the value of the
osVersionrecord component
-
osArch
Returns the value of theosArchrecord component.- Returns:
- the value of the
osArchrecord component
-
nodeVersion
Returns the value of thenodeVersionrecord component.- Returns:
- the value of the
nodeVersionrecord component
-
copilotPlan
Returns the value of thecopilotPlanrecord component.- Returns:
- the value of the
copilotPlanrecord component
-
clientType
Returns the value of theclientTyperecord component.- Returns:
- the value of the
clientTyperecord component
-
clientName
Returns the value of theclientNamerecord component.- Returns:
- the value of the
clientNamerecord component
-
isStaff
Returns the value of theisStaffrecord component.- Returns:
- the value of the
isStaffrecord component
-
devDeviceId
Returns the value of thedevDeviceIdrecord component.- Returns:
- the value of the
devDeviceIdrecord component
-