Record Class AzureMlDownloadStatus
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.AzureMlDownloadStatus
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record AzureMlDownloadStatus(String phase, Long completedBytes, Long totalBytes, Long retryAttempt, Long maxAttempts, String retryReason, Long retryDelayMs)
extends Record
Progress and retry facts for one active download.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecompletedBytesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themaxAttemptsrecord component.phase()Returns the value of thephaserecord component.Returns the value of theretryAttemptrecord component.Returns the value of theretryDelayMsrecord component.Returns the value of theretryReasonrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetotalBytesrecord component.
-
Constructor Details
-
AzureMlDownloadStatus
public AzureMlDownloadStatus(String phase, Long completedBytes, Long totalBytes, Long retryAttempt, Long maxAttempts, String retryReason, Long retryDelayMs) Creates an instance of aAzureMlDownloadStatusrecord class.- Parameters:
phase- the value for thephaserecord componentcompletedBytes- the value for thecompletedBytesrecord componenttotalBytes- the value for thetotalBytesrecord componentretryAttempt- the value for theretryAttemptrecord componentmaxAttempts- the value for themaxAttemptsrecord componentretryReason- the value for theretryReasonrecord componentretryDelayMs- the value for theretryDelayMsrecord 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). -
phase
Returns the value of thephaserecord component.- Returns:
- the value of the
phaserecord component
-
completedBytes
Returns the value of thecompletedBytesrecord component.- Returns:
- the value of the
completedBytesrecord component
-
totalBytes
Returns the value of thetotalBytesrecord component.- Returns:
- the value of the
totalBytesrecord component
-
retryAttempt
Returns the value of theretryAttemptrecord component.- Returns:
- the value of the
retryAttemptrecord component
-
maxAttempts
Returns the value of themaxAttemptsrecord component.- Returns:
- the value of the
maxAttemptsrecord component
-
retryReason
Returns the value of theretryReasonrecord component.- Returns:
- the value of the
retryReasonrecord component
-
retryDelayMs
Returns the value of theretryDelayMsrecord component.- Returns:
- the value of the
retryDelayMsrecord component
-