Record Class ModelArtifactDetails

java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.ModelArtifactDetails

@CopilotExperimental @Generated("copilot-sdk-codegen") public record ModelArtifactDetails(String format, String family, List<String> families, String parameterSize, String quantization, String architecture, String tokenizer) extends Record
Provider-reported model artifact metadata.
Since:
1.0.0
  • Constructor Details

    • ModelArtifactDetails

      public ModelArtifactDetails(String format, String family, List<String> families, String parameterSize, String quantization, String architecture, String tokenizer)
      Creates an instance of a ModelArtifactDetails record class.
      Parameters:
      format - the value for the format record component
      family - the value for the family record component
      families - the value for the families record component
      parameterSize - the value for the parameterSize record component
      quantization - the value for the quantization record component
      architecture - the value for the architecture record component
      tokenizer - the value for the tokenizer 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.
    • format

      public String format()
      Returns the value of the format record component.
      Returns:
      the value of the format record component
    • family

      public String family()
      Returns the value of the family record component.
      Returns:
      the value of the family record component
    • families

      public List<String> families()
      Returns the value of the families record component.
      Returns:
      the value of the families record component
    • parameterSize

      public String parameterSize()
      Returns the value of the parameterSize record component.
      Returns:
      the value of the parameterSize record component
    • quantization

      public String quantization()
      Returns the value of the quantization record component.
      Returns:
      the value of the quantization record component
    • architecture

      public String architecture()
      Returns the value of the architecture record component.
      Returns:
      the value of the architecture record component
    • tokenizer

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