Record Class DashScopeApiSpec.QueryFileResponseData

java.lang.Object
java.lang.Record
com.alibaba.cloud.ai.dashscope.spec.DashScopeApiSpec.QueryFileResponseData
Enclosing class:
DashScopeApiSpec

public static record DashScopeApiSpec.QueryFileResponseData(String category, String fileId, String fileName, String fileType, Long sizeBytes, String status, String uploadtime) extends Record
  • Constructor Details

    • QueryFileResponseData

      public QueryFileResponseData(String category, String fileId, String fileName, String fileType, Long sizeBytes, String status, String uploadtime)
      Creates an instance of a QueryFileResponseData record class.
      Parameters:
      category - the value for the category record component
      fileId - the value for the fileId record component
      fileName - the value for the fileName record component
      fileType - the value for the fileType record component
      sizeBytes - the value for the sizeBytes record component
      status - the value for the status record component
      uploadtime - the value for the uploadtime record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • category

      public String category()
      Returns the value of the category record component.
      Returns:
      the value of the category record component
    • fileId

      public String fileId()
      Returns the value of the fileId record component.
      Returns:
      the value of the fileId record component
    • fileName

      public String fileName()
      Returns the value of the fileName record component.
      Returns:
      the value of the fileName record component
    • fileType

      public String fileType()
      Returns the value of the fileType record component.
      Returns:
      the value of the fileType record component
    • sizeBytes

      public Long sizeBytes()
      Returns the value of the sizeBytes record component.
      Returns:
      the value of the sizeBytes record component
    • status

      public String status()
      Returns the value of the status record component.
      Returns:
      the value of the status record component
    • uploadtime

      public String uploadtime()
      Returns the value of the uploadtime record component.
      Returns:
      the value of the uploadtime record component