Record Class AzureMlDownloadParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.AzureMlDownloadParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record AzureMlDownloadParams(String requestId, AzureMlRegistry registry, String name, String version, String destination, String leaseId)
extends Record
Downloads a model version to its configured local library.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionAzureMlDownloadParams(String requestId, AzureMlRegistry registry, String name, String version, String destination, String leaseId) Creates an instance of aAzureMlDownloadParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedestinationrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.leaseId()Returns the value of theleaseIdrecord component.name()Returns the value of thenamerecord component.registry()Returns the value of theregistryrecord component.Returns the value of therequestIdrecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Constructor Details
-
AzureMlDownloadParams
public AzureMlDownloadParams(String requestId, AzureMlRegistry registry, String name, String version, String destination, String leaseId) Creates an instance of aAzureMlDownloadParamsrecord class.- Parameters:
requestId- the value for therequestIdrecord componentregistry- the value for theregistryrecord componentname- the value for thenamerecord componentversion- the value for theversionrecord componentdestination- the value for thedestinationrecord componentleaseId- the value for theleaseIdrecord 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). -
requestId
Returns the value of therequestIdrecord component.- Returns:
- the value of the
requestIdrecord component
-
registry
Returns the value of theregistryrecord component.- Returns:
- the value of the
registryrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
destination
Returns the value of thedestinationrecord component.- Returns:
- the value of the
destinationrecord component
-
leaseId
Returns the value of theleaseIdrecord component.- Returns:
- the value of the
leaseIdrecord component
-