Record Class AzureMlProfile
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.AzureMlProfile
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record AzureMlProfile(String displayName, Long downloadBytes, Long peakDiskBytes, Long recommendedVramBytes, Long maxPromptTokens, Long maxContextWindowTokens, Long maxOutputTokens, Boolean supportsToolCalls, Object serveOptions, AzureMlLicense license)
extends Record
Validated local runtime requirements for an Azure ML model.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionAzureMlProfile(String displayName, Long downloadBytes, Long peakDiskBytes, Long recommendedVramBytes, Long maxPromptTokens, Long maxContextWindowTokens, Long maxOutputTokens, Boolean supportsToolCalls, Object serveOptions, AzureMlLicense license) Creates an instance of aAzureMlProfilerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedisplayNamerecord component.Returns the value of thedownloadBytesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.license()Returns the value of thelicenserecord component.Returns the value of themaxContextWindowTokensrecord component.Returns the value of themaxOutputTokensrecord component.Returns the value of themaxPromptTokensrecord component.Returns the value of thepeakDiskBytesrecord component.Returns the value of therecommendedVramBytesrecord component.Returns the value of theserveOptionsrecord component.Returns the value of thesupportsToolCallsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AzureMlProfile
public AzureMlProfile(String displayName, Long downloadBytes, Long peakDiskBytes, Long recommendedVramBytes, Long maxPromptTokens, Long maxContextWindowTokens, Long maxOutputTokens, Boolean supportsToolCalls, Object serveOptions, AzureMlLicense license) Creates an instance of aAzureMlProfilerecord class.- Parameters:
displayName- the value for thedisplayNamerecord componentdownloadBytes- the value for thedownloadBytesrecord componentpeakDiskBytes- the value for thepeakDiskBytesrecord componentrecommendedVramBytes- the value for therecommendedVramBytesrecord componentmaxPromptTokens- the value for themaxPromptTokensrecord componentmaxContextWindowTokens- the value for themaxContextWindowTokensrecord componentmaxOutputTokens- the value for themaxOutputTokensrecord componentsupportsToolCalls- the value for thesupportsToolCallsrecord componentserveOptions- the value for theserveOptionsrecord componentlicense- the value for thelicenserecord 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). -
displayName
Returns the value of thedisplayNamerecord component.- Returns:
- the value of the
displayNamerecord component
-
downloadBytes
Returns the value of thedownloadBytesrecord component.- Returns:
- the value of the
downloadBytesrecord component
-
peakDiskBytes
Returns the value of thepeakDiskBytesrecord component.- Returns:
- the value of the
peakDiskBytesrecord component
-
recommendedVramBytes
Returns the value of therecommendedVramBytesrecord component.- Returns:
- the value of the
recommendedVramBytesrecord component
-
maxPromptTokens
Returns the value of themaxPromptTokensrecord component.- Returns:
- the value of the
maxPromptTokensrecord component
-
maxContextWindowTokens
Returns the value of themaxContextWindowTokensrecord component.- Returns:
- the value of the
maxContextWindowTokensrecord component
-
maxOutputTokens
Returns the value of themaxOutputTokensrecord component.- Returns:
- the value of the
maxOutputTokensrecord component
-
supportsToolCalls
Returns the value of thesupportsToolCallsrecord component.- Returns:
- the value of the
supportsToolCallsrecord component
-
serveOptions
Returns the value of theserveOptionsrecord component.- Returns:
- the value of the
serveOptionsrecord component
-
license
Returns the value of thelicenserecord component.- Returns:
- the value of the
licenserecord component
-