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)


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

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)


1277
1278
1279
# File 'sig/types.rbs', line 1277

def compressed_size
  @compressed_size
end

#file_countInteger?

Returns the value of attribute file_count.

Returns:

  • (Integer, nil)


1274
1275
1276
# File 'sig/types.rbs', line 1274

def file_count
  @file_count
end

#file_listArray[String]?

Returns the value of attribute file_list.

Returns:

  • (Array[String], nil)


1275
1276
1277
# File 'sig/types.rbs', line 1275

def file_list
  @file_list
end

#formatString?

Returns the value of attribute format.

Returns:

  • (String, nil)


1273
1274
1275
# File 'sig/types.rbs', line 1273

def format
  @format
end

#total_sizeInteger?

Returns the value of attribute total_size.

Returns:

  • (Integer, nil)


1276
1277
1278
# File 'sig/types.rbs', line 1276

def total_size
  @total_size
end