Record Class AzureMlDownloadResult

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

@CopilotExperimental @Generated("copilot-sdk-codegen") public record AzureMlDownloadResult(String primaryPath, String manifestPath, Long totalBytes, Boolean reused, Object serveOptions, Long maxConcurrent, List<String> extraFiles, Long totalFailures, Long receivedBytes, Boolean resumed) extends Record
Completed and verified Azure ML model files.
Since:
1.0.0
  • Constructor Details

    • AzureMlDownloadResult

      public AzureMlDownloadResult(String primaryPath, String manifestPath, Long totalBytes, Boolean reused, Object serveOptions, Long maxConcurrent, List<String> extraFiles, Long totalFailures, Long receivedBytes, Boolean resumed)
      Creates an instance of a AzureMlDownloadResult record class.
      Parameters:
      primaryPath - the value for the primaryPath record component
      manifestPath - the value for the manifestPath record component
      totalBytes - the value for the totalBytes record component
      reused - the value for the reused record component
      serveOptions - the value for the serveOptions record component
      maxConcurrent - the value for the maxConcurrent record component
      extraFiles - the value for the extraFiles record component
      totalFailures - the value for the totalFailures record component
      receivedBytes - the value for the receivedBytes record component
      resumed - the value for the resumed 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.
    • primaryPath

      public String primaryPath()
      Returns the value of the primaryPath record component.
      Returns:
      the value of the primaryPath record component
    • manifestPath

      public String manifestPath()
      Returns the value of the manifestPath record component.
      Returns:
      the value of the manifestPath record component
    • totalBytes

      public Long totalBytes()
      Returns the value of the totalBytes record component.
      Returns:
      the value of the totalBytes record component
    • reused

      public Boolean reused()
      Returns the value of the reused record component.
      Returns:
      the value of the reused record component
    • serveOptions

      public Object serveOptions()
      Returns the value of the serveOptions record component.
      Returns:
      the value of the serveOptions record component
    • maxConcurrent

      public Long maxConcurrent()
      Returns the value of the maxConcurrent record component.
      Returns:
      the value of the maxConcurrent record component
    • extraFiles

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

      public Long totalFailures()
      Returns the value of the totalFailures record component.
      Returns:
      the value of the totalFailures record component
    • receivedBytes

      public Long receivedBytes()
      Returns the value of the receivedBytes record component.
      Returns:
      the value of the receivedBytes record component
    • resumed

      public Boolean resumed()
      Returns the value of the resumed record component.
      Returns:
      the value of the resumed record component