Record Class AzureMlLatestResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.AzureMlLatestResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record AzureMlLatestResult(AzureMlRegistry registry, String name, String version, AzureMlProfile profile, Object metadata)
extends Record
Eligible Azure ML model version and its provider metadata.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionAzureMlLatestResult(AzureMlRegistry registry, String name, String version, AzureMlProfile profile, Object metadata) Creates an instance of aAzureMlLatestResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.metadata()Returns the value of themetadatarecord component.name()Returns the value of thenamerecord component.profile()Returns the value of theprofilerecord component.registry()Returns the value of theregistryrecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Constructor Details
-
AzureMlLatestResult
public AzureMlLatestResult(AzureMlRegistry registry, String name, String version, AzureMlProfile profile, Object metadata) Creates an instance of aAzureMlLatestResultrecord class.- Parameters:
registry- the value for theregistryrecord componentname- the value for thenamerecord componentversion- the value for theversionrecord componentprofile- the value for theprofilerecord componentmetadata- the value for themetadatarecord 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). -
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
-
profile
Returns the value of theprofilerecord component.- Returns:
- the value of the
profilerecord component
-
metadata
Returns the value of themetadatarecord component.- Returns:
- the value of the
metadatarecord component
-