Class: Files::ZipDownloadFiles

Inherits:
Object
  • Object
show all
Defined in:
lib/files.com/models/zip_download_files.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}, options = {}) ⇒ ZipDownloadFiles

Returns a new instance of ZipDownloadFiles.



7
8
9
10
# File 'lib/files.com/models/zip_download_files.rb', line 7

def initialize(attributes = {}, options = {})
  @attributes = attributes || {}
  @options = options || {}
end

Instance Attribute Details

#attributesObject (readonly)

Returns the value of attribute attributes.



5
6
7
# File 'lib/files.com/models/zip_download_files.rb', line 5

def attributes
  @attributes
end

#optionsObject (readonly)

Returns the value of attribute options.



5
6
7
# File 'lib/files.com/models/zip_download_files.rb', line 5

def options
  @options
end

Instance Method Details

#bundle_idObject

int64 - Bundle Id



23
24
25
# File 'lib/files.com/models/zip_download_files.rb', line 23

def bundle_id
  @attributes[:bundle_id]
end

#bundle_registration_idObject

int64 - Bundle Registration Id



28
29
30
# File 'lib/files.com/models/zip_download_files.rb', line 28

def bundle_registration_id
  @attributes[:bundle_registration_id]
end

#cursorObject

string - Cursor for fetching more files in subsequent requests.



38
39
40
# File 'lib/files.com/models/zip_download_files.rb', line 38

def cursor
  @attributes[:cursor]
end

#filesObject

array(object) - A list of file names, sizes, and signed download URLs.



33
34
35
# File 'lib/files.com/models/zip_download_files.rb', line 33

def files
  @attributes[:files]
end

#site_idObject

int64 - Site Id



13
14
15
# File 'lib/files.com/models/zip_download_files.rb', line 13

def site_id
  @attributes[:site_id]
end

#user_idObject

int64 - User Id



18
19
20
# File 'lib/files.com/models/zip_download_files.rb', line 18

def user_id
  @attributes[:user_id]
end