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 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 a GitHubTelemetryClientInfo record class.
      Parameters:
      cliVersion - the value for the cliVersion record component
      osPlatform - the value for the osPlatform record component
      osVersion - the value for the osVersion record component
      osArch - the value for the osArch record component
      nodeVersion - the value for the nodeVersion record component
      copilotPlan - the value for the copilotPlan record component
      clientType - the value for the clientType record component
      clientName - the value for the clientName record component
      isStaff - the value for the isStaff record component
      devDeviceId - the value for the devDeviceId record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • cliVersion

      public String cliVersion()
      Returns the value of the cliVersion record component.
      Returns:
      the value of the cliVersion record component
    • osPlatform

      public String osPlatform()
      Returns the value of the osPlatform record component.
      Returns:
      the value of the osPlatform record component
    • osVersion

      public String osVersion()
      Returns the value of the osVersion record component.
      Returns:
      the value of the osVersion record component
    • osArch

      public String osArch()
      Returns the value of the osArch record component.
      Returns:
      the value of the osArch record component
    • nodeVersion

      public String nodeVersion()
      Returns the value of the nodeVersion record component.
      Returns:
      the value of the nodeVersion record component
    • copilotPlan

      public String copilotPlan()
      Returns the value of the copilotPlan record component.
      Returns:
      the value of the copilotPlan record component
    • clientType

      public String clientType()
      Returns the value of the clientType record component.
      Returns:
      the value of the clientType record component
    • clientName

      public String clientName()
      Returns the value of the clientName record component.
      Returns:
      the value of the clientName record component
    • isStaff

      public Boolean isStaff()
      Returns the value of the isStaff record component.
      Returns:
      the value of the isStaff record component
    • devDeviceId

      public String devDeviceId()
      Returns the value of the devDeviceId record component.
      Returns:
      the value of the devDeviceId record component