Class: Softlayer::Auxiliary::Press::Release

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/auxiliary/press/release.rb,
lib/softlayer/auxiliary/press/release/about.rb,
lib/softlayer/auxiliary/press/release/media.rb,
lib/softlayer/auxiliary/press/release/contact.rb,
lib/softlayer/auxiliary/press/release/content.rb,
lib/softlayer/auxiliary/press/release/about/press.rb,
lib/softlayer/auxiliary/press/release/contact/press.rb,
lib/softlayer/auxiliary/press/release/media/partner.rb,
lib/softlayer/auxiliary/press/release/about/press/release.rb,
lib/softlayer/auxiliary/press/release/media/partner/press.rb,
lib/softlayer/auxiliary/press/release/contact/press/release.rb,
lib/softlayer/auxiliary/press/release/media/partner/press/release.rb

Defined Under Namespace

Modules: Media Classes: About, Contact, Content, Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Auxiliary_Press_Release'

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Model

all, all_request_for, create, find, #init_headers, parse, process_message, #request, request, service_name, #service_name, #to_hash, #to_softlayer

Methods included from Model::Operations

extended, #filter, included, #limit, #mask, #request_headers

Instance Attribute Details

#aboutObject

Returns the value of attribute about.



19
20
21
# File 'lib/softlayer/auxiliary/press/release.rb', line 19

def about
  @about
end

#about_countObject

Returns the value of attribute about_count.



16
17
18
# File 'lib/softlayer/auxiliary/press/release.rb', line 16

def about_count
  @about_count
end

#contact_countObject

Returns the value of attribute contact_count.



17
18
19
# File 'lib/softlayer/auxiliary/press/release.rb', line 17

def contact_count
  @contact_count
end

#contactsObject

Returns the value of attribute contacts.



20
21
22
# File 'lib/softlayer/auxiliary/press/release.rb', line 20

def contacts
  @contacts
end

#idObject

Returns the value of attribute id.



10
11
12
# File 'lib/softlayer/auxiliary/press/release.rb', line 10

def id
  @id
end

#media_partner_countObject

Returns the value of attribute media_partner_count.



18
19
20
# File 'lib/softlayer/auxiliary/press/release.rb', line 18

def media_partner_count
  @media_partner_count
end

#media_partnersObject

Returns the value of attribute media_partners.



21
22
23
# File 'lib/softlayer/auxiliary/press/release.rb', line 21

def media_partners
  @media_partners
end

#press_release_contentObject

Returns the value of attribute press_release_content.



22
23
24
# File 'lib/softlayer/auxiliary/press/release.rb', line 22

def press_release_content
  @press_release_content
end

#publish_dateObject

Returns the value of attribute publish_date.



11
12
13
# File 'lib/softlayer/auxiliary/press/release.rb', line 11

def publish_date
  @publish_date
end

#release_locationObject

Returns the value of attribute release_location.



12
13
14
# File 'lib/softlayer/auxiliary/press/release.rb', line 12

def release_location
  @release_location
end

#sub_titleObject

Returns the value of attribute sub_title.



13
14
15
# File 'lib/softlayer/auxiliary/press/release.rb', line 13

def sub_title
  @sub_title
end

#titleObject

Returns the value of attribute title.



14
15
16
# File 'lib/softlayer/auxiliary/press/release.rb', line 14

def title
  @title
end

#website_highlight_flagObject

Returns the value of attribute website_highlight_flag.



15
16
17
# File 'lib/softlayer/auxiliary/press/release.rb', line 15

def website_highlight_flag
  @website_highlight_flag
end

Class Method Details

.get_all_objectsObject



28
29
30
# File 'lib/softlayer/auxiliary/press/release.rb', line 28

def self.get_all_objects
  request(:get_all_objects, Array[Softlayer::Auxiliary::Press::Release])
end

.get_rendered_press_releases(message) ⇒ Object

result_limit year



54
55
56
# File 'lib/softlayer/auxiliary/press/release.rb', line 54

def self.get_rendered_press_releases(message)
  request(:get_rendered_press_releases, Array[Softlayer::Auxiliary::Press::Release], message)
end

.get_website_highlight_press_releasesObject



58
59
60
# File 'lib/softlayer/auxiliary/press/release.rb', line 58

def self.get_website_highlight_press_releases
  request(:get_website_highlight_press_releases, Array[Softlayer::Auxiliary::Press::Release])
end

Instance Method Details

#get_aboutObject



24
25
26
# File 'lib/softlayer/auxiliary/press/release.rb', line 24

def get_about
  request(:get_about, Array[Softlayer::Auxiliary::Press::Release::About::Press::Release])
end

#get_contactsObject



32
33
34
# File 'lib/softlayer/auxiliary/press/release.rb', line 32

def get_contacts
  request(:get_contacts, Array[Softlayer::Auxiliary::Press::Release::Contact::Press::Release])
end

#get_media_partnersObject



36
37
38
# File 'lib/softlayer/auxiliary/press/release.rb', line 36

def get_media_partners
  request(:get_media_partners, Array[Softlayer::Auxiliary::Press::Release::Media::Partner::Press::Release])
end

#get_objectObject



40
41
42
# File 'lib/softlayer/auxiliary/press/release.rb', line 40

def get_object
  request(:get_object, Softlayer::Auxiliary::Press::Release)
end

#get_press_release_contentObject



44
45
46
# File 'lib/softlayer/auxiliary/press/release.rb', line 44

def get_press_release_content
  request(:get_press_release_content, Softlayer::Auxiliary::Press::Release::Content)
end

#get_rendered_press_releaseObject



48
49
50
# File 'lib/softlayer/auxiliary/press/release.rb', line 48

def get_rendered_press_release
  request(:get_rendered_press_release, Array[Softlayer::Auxiliary::Press::Release])
end