Class: ProteusClient::Video

Inherits:
Struct
  • Object
show all
Defined in:
lib/proteus_client/models/video.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Video

Returns a new instance of Video.



4
5
6
7
8
# File 'lib/proteus_client/models/video.rb', line 4

def initialize(options)
  options.each do |key, value|
    self[key.to_sym] = value
  end
end

Instance Attribute Details

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



2
3
4
# File 'lib/proteus_client/models/video.rb', line 2

def id
  @id
end

#thumbnailsObject

Returns the value of attribute thumbnails

Returns:

  • (Object)

    the current value of thumbnails



2
3
4
# File 'lib/proteus_client/models/video.rb', line 2

def thumbnails
  @thumbnails
end

#versionsObject

Returns the value of attribute versions

Returns:

  • (Object)

    the current value of versions



2
3
4
# File 'lib/proteus_client/models/video.rb', line 2

def versions
  @versions
end