Record Class DashScopeApiSpec.QueryFileResponseData
java.lang.Object
java.lang.Record
com.alibaba.cloud.ai.dashscope.spec.DashScopeApiSpec.QueryFileResponseData
- Enclosing class:
- DashScopeApiSpec
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncategory()Returns the value of thecategoryrecord component.final booleanIndicates whether some other object is "equal to" this one.fileId()Returns the value of thefileIdrecord component.fileName()Returns the value of thefileNamerecord component.fileType()Returns the value of thefileTyperecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thesizeBytesrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theuploadtimerecord component.
-
Constructor Details
-
QueryFileResponseData
public QueryFileResponseData(String category, String fileId, String fileName, String fileType, Long sizeBytes, String status, String uploadtime) Creates an instance of aQueryFileResponseDatarecord class.- Parameters:
category- the value for thecategoryrecord componentfileId- the value for thefileIdrecord componentfileName- the value for thefileNamerecord componentfileType- the value for thefileTyperecord componentsizeBytes- the value for thesizeBytesrecord componentstatus- the value for thestatusrecord componentuploadtime- the value for theuploadtimerecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
category
Returns the value of thecategoryrecord component.- Returns:
- the value of the
categoryrecord component
-
fileId
Returns the value of thefileIdrecord component.- Returns:
- the value of the
fileIdrecord component
-
fileName
Returns the value of thefileNamerecord component.- Returns:
- the value of the
fileNamerecord component
-
fileType
Returns the value of thefileTyperecord component.- Returns:
- the value of the
fileTyperecord component
-
sizeBytes
Returns the value of thesizeBytesrecord component.- Returns:
- the value of the
sizeBytesrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
uploadtime
Returns the value of theuploadtimerecord component.- Returns:
- the value of the
uploadtimerecord component
-