You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::MediaStoreData::Types::Item

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mediastoredata/lib/aws-sdk-mediastoredata/types.rb

Overview

A metadata entry for a folder or object.

Instance Attribute Summary collapse

Instance Attribute Details

#content_lengthInteger

The length of the item in bytes.

Returns:

  • (Integer)


240
241
242
243
244
245
246
247
248
# File 'gems/aws-sdk-mediastoredata/lib/aws-sdk-mediastoredata/types.rb', line 240

class Item < Struct.new(
  :name,
  :type,
  :etag,
  :last_modified,
  :content_type,
  :content_length)
  include Aws::Structure
end

#content_typeString

The content type of the item.

Returns:

  • (String)


240
241
242
243
244
245
246
247
248
# File 'gems/aws-sdk-mediastoredata/lib/aws-sdk-mediastoredata/types.rb', line 240

class Item < Struct.new(
  :name,
  :type,
  :etag,
  :last_modified,
  :content_type,
  :content_length)
  include Aws::Structure
end

#etagString

The ETag that represents a unique instance of the item.

Returns:

  • (String)


240
241
242
243
244
245
246
247
248
# File 'gems/aws-sdk-mediastoredata/lib/aws-sdk-mediastoredata/types.rb', line 240

class Item < Struct.new(
  :name,
  :type,
  :etag,
  :last_modified,
  :content_type,
  :content_length)
  include Aws::Structure
end

#last_modifiedTime

The date and time that the item was last modified.

Returns:

  • (Time)


240
241
242
243
244
245
246
247
248
# File 'gems/aws-sdk-mediastoredata/lib/aws-sdk-mediastoredata/types.rb', line 240

class Item < Struct.new(
  :name,
  :type,
  :etag,
  :last_modified,
  :content_type,
  :content_length)
  include Aws::Structure
end

#nameString

The name of the item.

Returns:

  • (String)


240
241
242
243
244
245
246
247
248
# File 'gems/aws-sdk-mediastoredata/lib/aws-sdk-mediastoredata/types.rb', line 240

class Item < Struct.new(
  :name,
  :type,
  :etag,
  :last_modified,
  :content_type,
  :content_length)
  include Aws::Structure
end

#typeString

The item type (folder or object).

Returns:

  • (String)


240
241
242
243
244
245
246
247
248
# File 'gems/aws-sdk-mediastoredata/lib/aws-sdk-mediastoredata/types.rb', line 240

class Item < Struct.new(
  :name,
  :type,
  :etag,
  :last_modified,
  :content_type,
  :content_length)
  include Aws::Structure
end