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



9
10
11
# File 'lib/tdlib/types/storage_statistics_fast.rb', line 9

def database_size
  @database_size
end

#file_countInteger

Approximate number of files.

Returns:

  • (Integer)

    the current value of file_count



9
10
11
# File 'lib/tdlib/types/storage_statistics_fast.rb', line 9

def file_count
  @file_count
end

#files_sizeInteger

Approximate total size of files.

Returns:

  • (Integer)

    the current value of files_size



9
10
11
# File 'lib/tdlib/types/storage_statistics_fast.rb', line 9

def files_size
  @files_size
end

#language_pack_database_sizeInteger

Size of the language pack database.

Returns:

  • (Integer)

    the current value of language_pack_database_size



9
10
11
# File 'lib/tdlib/types/storage_statistics_fast.rb', line 9

def language_pack_database_size
  @language_pack_database_size
end

#log_sizeInteger

Size of the TDLib internal log.

Returns:

  • (Integer)

    the current value of log_size



9
10
11
# File 'lib/tdlib/types/storage_statistics_fast.rb', line 9

def log_size
  @log_size
end