Record Class ModelCapabilitiesLimitsVision
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.ModelCapabilitiesLimitsVision
-
Constructor Summary
ConstructorsConstructorDescriptionModelCapabilitiesLimitsVision(List<String> supportedMediaTypes, Long maxPromptImages, Long maxPromptImageSize) Creates an instance of aModelCapabilitiesLimitsVisionrecord 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.Returns the value of themaxPromptImagesrecord component.Returns the value of themaxPromptImageSizerecord component.Returns the value of thesupportedMediaTypesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ModelCapabilitiesLimitsVision
public ModelCapabilitiesLimitsVision(List<String> supportedMediaTypes, Long maxPromptImages, Long maxPromptImageSize) Creates an instance of aModelCapabilitiesLimitsVisionrecord class.- Parameters:
supportedMediaTypes- the value for thesupportedMediaTypesrecord componentmaxPromptImages- the value for themaxPromptImagesrecord componentmaxPromptImageSize- the value for themaxPromptImageSizerecord 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). -
supportedMediaTypes
-
maxPromptImages
Returns the value of themaxPromptImagesrecord component.- Returns:
- the value of the
maxPromptImagesrecord component
-
maxPromptImageSize
Returns the value of themaxPromptImageSizerecord component.- Returns:
- the value of the
maxPromptImageSizerecord component
-