public function jsonSerialize()
    {
        return [
            'name' => $this->name(),
            'type' => $this->type(),
            'files_count' => $this->filesCount(),
            'size' => $this->size(),
            'uploaded_bytes' => $this->uploadedBytes(),
            'downloaded_bytes' => $this->downloadedBytes(),
        ];
    }
public function jsonSerialize()
    {
        return [
            'name' => $this->name(),
            'type' => $this->type(),
            'files_count' => $this->filesCount(),
            'size' => $this->size(),
            'uploaded_bytes' => $this->uploadedBytes(),
            'downloaded_bytes' => $this->downloadedBytes(),
        ];
    }
public function jsonSerialize ( ) { return [ 'name' => $ this -> name ( ) , 'type' => $ this -> type ( ) , 'files_count' => $ this -> filesCount ( ) , 'size' => $ this -> size ( ) , 'uploaded_bytes' => $ this -> uploadedBytes ( ) , 'downloaded_bytes' => $ this -> downloadedBytes ( ) , ] ; }
JSON representation of container.

@return array
JSON representation of container .