Class: Xberg::ArchiveMetadata

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeArchiveMetadata

Returns a new instance of ArchiveMetadata.

Parameters:

  • format: (String)
  • file_count: (Integer)
  • file_list: (Array[String])
  • total_size: (Integer)
  • compressed_size: (Integer)


1290
# File 'sig/types.rbs', line 1290

def initialize: (?format: String, ?file_count: Integer, ?file_list: Array[String], ?total_size: Integer, ?compressed_size: Integer) -> void

Instance Attribute Details

#compressed_sizeInteger?

Returns the value of attribute compressed_size.

Returns:

  • (Integer, nil)


1288
1289
1290
# File 'sig/types.rbs', line 1288

def compressed_size
  @compressed_size
end

#file_countInteger?

Returns the value of attribute file_count.

Returns:

  • (Integer, nil)


1285
1286
1287
# File 'sig/types.rbs', line 1285

def file_count
  @file_count
end

#file_listArray[String]?

Returns the value of attribute file_list.

Returns:

  • (Array[String], nil)


1286
1287
1288
# File 'sig/types.rbs', line 1286

def file_list
  @file_list
end

#formatString?

Returns the value of attribute format.

Returns:

  • (String, nil)


1284
1285
1286
# File 'sig/types.rbs', line 1284

def format
  @format
end

#total_sizeInteger?

Returns the value of attribute total_size.

Returns:

  • (Integer, nil)


1287
1288
1289
# File 'sig/types.rbs', line 1287

def total_size
  @total_size
end