Class: TD::Types::StorageStatisticsFast

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/storage_statistics_fast.rb

Overview

Contains approximate storage usage statistics, excluding files of unknown file type.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#database_sizeInteger

Size of the database.

Returns:

  • (Integer)

    the current value of database_size



7
8
9
# File 'lib/tdlib/types/storage_statistics_fast.rb', line 7

def database_size
  @database_size
end

#file_countInteger

Approximate number of files.

Returns:

  • (Integer)

    the current value of file_count



7
8
9
# File 'lib/tdlib/types/storage_statistics_fast.rb', line 7

def file_count
  @file_count
end

#files_sizeInteger

Approximate total size of files.

Returns:

  • (Integer)

    the current value of files_size



7
8
9
# File 'lib/tdlib/types/storage_statistics_fast.rb', line 7

def files_size
  @files_size
end