Class ObjectStats


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class ObjectStats
    extends Object
    ObjectStats
    • Constructor Detail

      • ObjectStats

        public ObjectStats()
    • Method Detail

      • getPath

        @Nonnull
        public String getPath()
        Get path
        Returns:
        path
      • setPath

        public void setPath​(String path)
      • getPhysicalAddress

        @Nonnull
        public String getPhysicalAddress()
        The location of the object on the underlying object store. Formatted as a native URI with the object store type as scheme (\"s3://...\", \"gs://...\", etc.) Or, in the case of presign=true, will be an HTTP URL to be consumed via regular HTTP GET
        Returns:
        physicalAddress
      • setPhysicalAddress

        public void setPhysicalAddress​(String physicalAddress)
      • physicalAddressExpiry

        public ObjectStats physicalAddressExpiry​(Long physicalAddressExpiry)
      • getPhysicalAddressExpiry

        @Nullable
        public Long getPhysicalAddressExpiry()
        If present and nonzero, physical_address is a pre-signed URL and will expire at this Unix Epoch time. This will be shorter than the pre-signed URL lifetime if an authentication token is about to expire. This field is *optional*.
        Returns:
        physicalAddressExpiry
      • setPhysicalAddressExpiry

        public void setPhysicalAddressExpiry​(Long physicalAddressExpiry)
      • getChecksum

        @Nonnull
        public String getChecksum()
        Get checksum
        Returns:
        checksum
      • setChecksum

        public void setChecksum​(String checksum)
      • getSizeBytes

        @Nullable
        public Long getSizeBytes()
        Get sizeBytes
        Returns:
        sizeBytes
      • setSizeBytes

        public void setSizeBytes​(Long sizeBytes)
      • getMtime

        @Nonnull
        public Long getMtime()
        Unix Epoch in seconds
        Returns:
        mtime
      • setMtime

        public void setMtime​(Long mtime)
      • getMetadata

        @Nullable
        public Map<String,​String> getMetadata()
        Get metadata
        Returns:
        metadata
      • setMetadata

        public void setMetadata​(Map<String,​String> metadata)
      • getContentType

        @Nullable
        public String getContentType()
        Object media type
        Returns:
        contentType
      • setContentType

        public void setContentType​(String contentType)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object