Class: SlideshareApi::Model::Slideshow

Inherits:
Object
  • Object
show all
Defined in:
lib/slideshare_api/model/slideshow.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(slideshow_xml = nil) ⇒ Slideshow

Returns a new instance of Slideshow.



18
19
20
21
# File 'lib/slideshare_api/model/slideshow.rb', line 18

def initialize(slideshow_xml = nil)
  @original_slideshow_xml = slideshow_xml
  setup_attributes_from_xml if @original_slideshow_xml
end

Instance Attribute Details

#comment_countObject

Returns the value of attribute comment_count.



4
5
6
# File 'lib/slideshare_api/model/slideshow.rb', line 4

def comment_count
  @comment_count
end

#created_atObject

Returns the value of attribute created_at.



4
5
6
# File 'lib/slideshare_api/model/slideshow.rb', line 4

def created_at
  @created_at
end

#descriptionObject

Returns the value of attribute description.



4
5
6
# File 'lib/slideshare_api/model/slideshow.rb', line 4

def description
  @description
end

#download_countObject

Returns the value of attribute download_count.



4
5
6
# File 'lib/slideshare_api/model/slideshow.rb', line 4

def download_count
  @download_count
end

#embedObject

Returns the value of attribute embed.



4
5
6
# File 'lib/slideshare_api/model/slideshow.rb', line 4

def embed
  @embed
end

#favorite_countObject

Returns the value of attribute favorite_count.



4
5
6
# File 'lib/slideshare_api/model/slideshow.rb', line 4

def favorite_count
  @favorite_count
end

#formatObject

Returns the value of attribute format.



4
5
6
# File 'lib/slideshare_api/model/slideshow.rb', line 4

def format
  @format
end

#idObject

Returns the value of attribute id.



4
5
6
# File 'lib/slideshare_api/model/slideshow.rb', line 4

def id
  @id
end

#is_downloadableObject

Returns the value of attribute is_downloadable.



4
5
6
# File 'lib/slideshare_api/model/slideshow.rb', line 4

def is_downloadable
  @is_downloadable
end

#is_embaddableObject

Returns the value of attribute is_embaddable.



4
5
6
# File 'lib/slideshare_api/model/slideshow.rb', line 4

def is_embaddable
  @is_embaddable
end

#is_in_contestObject

Returns the value of attribute is_in_contest.



4
5
6
# File 'lib/slideshare_api/model/slideshow.rb', line 4

def is_in_contest
  @is_in_contest
end

#is_not_flaggedObject

Returns the value of attribute is_not_flagged.



4
5
6
# File 'lib/slideshare_api/model/slideshow.rb', line 4

def is_not_flagged
  @is_not_flagged
end

#is_privateObject

Returns the value of attribute is_private.



4
5
6
# File 'lib/slideshare_api/model/slideshow.rb', line 4

def is_private
  @is_private
end

#is_visibleObject

Returns the value of attribute is_visible.



4
5
6
# File 'lib/slideshare_api/model/slideshow.rb', line 4

def is_visible
  @is_visible
end

#is_visible_by_contactsObject

Returns the value of attribute is_visible_by_contacts.



4
5
6
# File 'lib/slideshare_api/model/slideshow.rb', line 4

def is_visible_by_contacts
  @is_visible_by_contacts
end

#languageObject

Returns the value of attribute language.



4
5
6
# File 'lib/slideshare_api/model/slideshow.rb', line 4

def language
  @language
end

#original_slideshow_xmlObject

Returns the value of attribute original_slideshow_xml.



4
5
6
# File 'lib/slideshare_api/model/slideshow.rb', line 4

def original_slideshow_xml
  @original_slideshow_xml
end

#ppt_locationObject

Returns the value of attribute ppt_location.



4
5
6
# File 'lib/slideshare_api/model/slideshow.rb', line 4

def ppt_location
  @ppt_location
end

Returns the value of attribute related_slideshow_ids.



4
5
6
# File 'lib/slideshare_api/model/slideshow.rb', line 4

def related_slideshow_ids
  @related_slideshow_ids
end

#slide_countObject

Returns the value of attribute slide_count.



4
5
6
# File 'lib/slideshare_api/model/slideshow.rb', line 4

def slide_count
  @slide_count
end

#statusObject

Returns the value of attribute status.



4
5
6
# File 'lib/slideshare_api/model/slideshow.rb', line 4

def status
  @status
end

#stripped_titleObject

Returns the value of attribute stripped_title.



4
5
6
# File 'lib/slideshare_api/model/slideshow.rb', line 4

def stripped_title
  @stripped_title
end

#tagsObject

Returns the value of attribute tags.



4
5
6
# File 'lib/slideshare_api/model/slideshow.rb', line 4

def tags
  @tags
end

#thumbnail_sizeObject

Returns the value of attribute thumbnail_size.



4
5
6
# File 'lib/slideshare_api/model/slideshow.rb', line 4

def thumbnail_size
  @thumbnail_size
end

#thumbnail_small_urlObject

Returns the value of attribute thumbnail_small_url.



4
5
6
# File 'lib/slideshare_api/model/slideshow.rb', line 4

def thumbnail_small_url
  @thumbnail_small_url
end

#thumbnail_urlObject

Returns the value of attribute thumbnail_url.



4
5
6
# File 'lib/slideshare_api/model/slideshow.rb', line 4

def thumbnail_url
  @thumbnail_url
end

#titleObject

Returns the value of attribute title.



4
5
6
# File 'lib/slideshare_api/model/slideshow.rb', line 4

def title
  @title
end

#typeObject

Returns the value of attribute type.



4
5
6
# File 'lib/slideshare_api/model/slideshow.rb', line 4

def type
  @type
end

#updated_atObject

Returns the value of attribute updated_at.



4
5
6
# File 'lib/slideshare_api/model/slideshow.rb', line 4

def updated_at
  @updated_at
end

#urlObject

Returns the value of attribute url.



4
5
6
# File 'lib/slideshare_api/model/slideshow.rb', line 4

def url
  @url
end

#url_is_secretObject

Returns the value of attribute url_is_secret.



4
5
6
# File 'lib/slideshare_api/model/slideshow.rb', line 4

def url_is_secret
  @url_is_secret
end

#user_idObject

Returns the value of attribute user_id.



4
5
6
# File 'lib/slideshare_api/model/slideshow.rb', line 4

def user_id
  @user_id
end

#usernameObject

Returns the value of attribute username.



4
5
6
# File 'lib/slideshare_api/model/slideshow.rb', line 4

def username
  @username
end

#view_countObject

Returns the value of attribute view_count.



4
5
6
# File 'lib/slideshare_api/model/slideshow.rb', line 4

def view_count
  @view_count
end

Instance Method Details

#==(other) ⇒ Object



23
24
25
# File 'lib/slideshare_api/model/slideshow.rb', line 23

def ==(other)
  other.class == self.class && other.state == self.state
end