Class: Softlayer::Marketplace::Partner
- Inherits:
-
Entity
- Object
- Softlayer::Model
- Entity
- Softlayer::Marketplace::Partner
- Defined in:
- lib/softlayer/marketplace/partner.rb,
lib/softlayer/marketplace/partner/file.rb,
lib/softlayer/marketplace/partner/attachment.rb,
lib/softlayer/marketplace/partner/attachment/type.rb,
lib/softlayer/marketplace/partner/file/attributes.rb
Defined Under Namespace
Classes: Attachment, File, Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Marketplace_Partner'
Instance Attribute Summary collapse
-
#account_id ⇒ Object
Returns the value of attribute account_id.
-
#attached_files ⇒ Object
Returns the value of attribute attached_files.
-
#attachment_count ⇒ Object
Returns the value of attribute attachment_count.
-
#attachments ⇒ Object
Returns the value of attribute attachments.
-
#company_description ⇒ Object
Returns the value of attribute company_description.
-
#company_name ⇒ Object
Returns the value of attribute company_name.
-
#headline_description ⇒ Object
Returns the value of attribute headline_description.
-
#id ⇒ Object
Returns the value of attribute id.
-
#link_free_trial ⇒ Object
Returns the value of attribute link_free_trial.
-
#link_order_page ⇒ Object
Returns the value of attribute link_order_page.
-
#link_website ⇒ Object
Returns the value of attribute link_website.
-
#logo_medium ⇒ Object
Returns the value of attribute logo_medium.
-
#logo_medium_temp ⇒ Object
Returns the value of attribute logo_medium_temp.
-
#logo_small ⇒ Object
Returns the value of attribute logo_small.
-
#logo_small_temp ⇒ Object
Returns the value of attribute logo_small_temp.
-
#meta_description ⇒ Object
Returns the value of attribute meta_description.
-
#meta_keywords ⇒ Object
Returns the value of attribute meta_keywords.
-
#product_benefits ⇒ Object
Returns the value of attribute product_benefits.
-
#product_category_id ⇒ Object
Returns the value of attribute product_category_id.
-
#product_description_long ⇒ Object
Returns the value of attribute product_description_long.
-
#product_description_short ⇒ Object
Returns the value of attribute product_description_short.
-
#product_features ⇒ Object
Returns the value of attribute product_features.
-
#product_name ⇒ Object
Returns the value of attribute product_name.
-
#product_title ⇒ Object
Returns the value of attribute product_title.
-
#url_identifier ⇒ Object
Returns the value of attribute url_identifier.
Class Method Summary collapse
- .get_all_objects ⇒ Object
-
.get_all_published_partners(message) ⇒ Object
search_term.
-
.get_featured_partners(message) ⇒ Object
non.
-
.get_partner_by_url_identifier(message) ⇒ Object
url_identifier.
Instance Method Summary collapse
- #get_attachments ⇒ Object
-
#get_file(message) ⇒ Object
name.
- #get_logo_medium ⇒ Object
- #get_logo_medium_temp ⇒ Object
- #get_logo_small ⇒ Object
- #get_logo_small_temp ⇒ Object
- #get_object ⇒ Object
Methods inherited from Softlayer::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 Softlayer::Model::Operations
extended, #filter, included, #limit, #mask, #request_headers
Instance Attribute Details
#account_id ⇒ Object
Returns the value of attribute account_id.
7 8 9 |
# File 'lib/softlayer/marketplace/partner.rb', line 7 def account_id @account_id end |
#attached_files ⇒ Object
Returns the value of attribute attached_files.
8 9 10 |
# File 'lib/softlayer/marketplace/partner.rb', line 8 def attached_files @attached_files end |
#attachment_count ⇒ Object
Returns the value of attribute attachment_count.
26 27 28 |
# File 'lib/softlayer/marketplace/partner.rb', line 26 def @attachment_count end |
#attachments ⇒ Object
Returns the value of attribute attachments.
27 28 29 |
# File 'lib/softlayer/marketplace/partner.rb', line 27 def @attachments end |
#company_description ⇒ Object
Returns the value of attribute company_description.
9 10 11 |
# File 'lib/softlayer/marketplace/partner.rb', line 9 def company_description @company_description end |
#company_name ⇒ Object
Returns the value of attribute company_name.
10 11 12 |
# File 'lib/softlayer/marketplace/partner.rb', line 10 def company_name @company_name end |
#headline_description ⇒ Object
Returns the value of attribute headline_description.
11 12 13 |
# File 'lib/softlayer/marketplace/partner.rb', line 11 def headline_description @headline_description end |
#id ⇒ Object
Returns the value of attribute id.
12 13 14 |
# File 'lib/softlayer/marketplace/partner.rb', line 12 def id @id end |
#link_free_trial ⇒ Object
Returns the value of attribute link_free_trial.
13 14 15 |
# File 'lib/softlayer/marketplace/partner.rb', line 13 def link_free_trial @link_free_trial end |
#link_order_page ⇒ Object
Returns the value of attribute link_order_page.
14 15 16 |
# File 'lib/softlayer/marketplace/partner.rb', line 14 def link_order_page @link_order_page end |
#link_website ⇒ Object
Returns the value of attribute link_website.
15 16 17 |
# File 'lib/softlayer/marketplace/partner.rb', line 15 def link_website @link_website end |
#logo_medium ⇒ Object
Returns the value of attribute logo_medium.
28 29 30 |
# File 'lib/softlayer/marketplace/partner.rb', line 28 def logo_medium @logo_medium end |
#logo_medium_temp ⇒ Object
Returns the value of attribute logo_medium_temp.
29 30 31 |
# File 'lib/softlayer/marketplace/partner.rb', line 29 def logo_medium_temp @logo_medium_temp end |
#logo_small ⇒ Object
Returns the value of attribute logo_small.
30 31 32 |
# File 'lib/softlayer/marketplace/partner.rb', line 30 def logo_small @logo_small end |
#logo_small_temp ⇒ Object
Returns the value of attribute logo_small_temp.
31 32 33 |
# File 'lib/softlayer/marketplace/partner.rb', line 31 def logo_small_temp @logo_small_temp end |
#meta_description ⇒ Object
Returns the value of attribute meta_description.
16 17 18 |
# File 'lib/softlayer/marketplace/partner.rb', line 16 def @meta_description end |
#meta_keywords ⇒ Object
Returns the value of attribute meta_keywords.
17 18 19 |
# File 'lib/softlayer/marketplace/partner.rb', line 17 def @meta_keywords end |
#product_benefits ⇒ Object
Returns the value of attribute product_benefits.
18 19 20 |
# File 'lib/softlayer/marketplace/partner.rb', line 18 def product_benefits @product_benefits end |
#product_category_id ⇒ Object
Returns the value of attribute product_category_id.
19 20 21 |
# File 'lib/softlayer/marketplace/partner.rb', line 19 def product_category_id @product_category_id end |
#product_description_long ⇒ Object
Returns the value of attribute product_description_long.
20 21 22 |
# File 'lib/softlayer/marketplace/partner.rb', line 20 def product_description_long @product_description_long end |
#product_description_short ⇒ Object
Returns the value of attribute product_description_short.
21 22 23 |
# File 'lib/softlayer/marketplace/partner.rb', line 21 def product_description_short @product_description_short end |
#product_features ⇒ Object
Returns the value of attribute product_features.
22 23 24 |
# File 'lib/softlayer/marketplace/partner.rb', line 22 def product_features @product_features end |
#product_name ⇒ Object
Returns the value of attribute product_name.
23 24 25 |
# File 'lib/softlayer/marketplace/partner.rb', line 23 def product_name @product_name end |
#product_title ⇒ Object
Returns the value of attribute product_title.
24 25 26 |
# File 'lib/softlayer/marketplace/partner.rb', line 24 def product_title @product_title end |
#url_identifier ⇒ Object
Returns the value of attribute url_identifier.
25 26 27 |
# File 'lib/softlayer/marketplace/partner.rb', line 25 def url_identifier @url_identifier end |
Class Method Details
.get_all_objects ⇒ Object
33 34 35 |
# File 'lib/softlayer/marketplace/partner.rb', line 33 def self.get_all_objects request(:get_all_objects, Array[Softlayer::Marketplace::Partner]) end |
.get_all_published_partners(message) ⇒ Object
search_term
38 39 40 |
# File 'lib/softlayer/marketplace/partner.rb', line 38 def self.get_all_published_partners() request(:get_all_published_partners, Array[Softlayer::Marketplace::Partner], ) end |
.get_featured_partners(message) ⇒ Object
non
47 48 49 |
# File 'lib/softlayer/marketplace/partner.rb', line 47 def self.get_featured_partners() request(:get_featured_partners, Array[Softlayer::Marketplace::Partner], ) end |
.get_partner_by_url_identifier(message) ⇒ Object
url_identifier
77 78 79 |
# File 'lib/softlayer/marketplace/partner.rb', line 77 def self.get_partner_by_url_identifier() request(:get_partner_by_url_identifier, Softlayer::Marketplace::Partner, ) end |
Instance Method Details
#get_attachments ⇒ Object
42 43 44 |
# File 'lib/softlayer/marketplace/partner.rb', line 42 def request(:get_attachments, Array[Softlayer::Marketplace::Partner::Attachment]) end |
#get_file(message) ⇒ Object
name
52 53 54 |
# File 'lib/softlayer/marketplace/partner.rb', line 52 def get_file() request(:get_file, Softlayer::Marketplace::Partner::File, ) end |
#get_logo_medium ⇒ Object
56 57 58 |
# File 'lib/softlayer/marketplace/partner.rb', line 56 def get_logo_medium request(:get_logo_medium, Softlayer::Marketplace::Partner::Attachment) end |
#get_logo_medium_temp ⇒ Object
60 61 62 |
# File 'lib/softlayer/marketplace/partner.rb', line 60 def get_logo_medium_temp request(:get_logo_medium_temp, Softlayer::Marketplace::Partner::Attachment) end |
#get_logo_small ⇒ Object
64 65 66 |
# File 'lib/softlayer/marketplace/partner.rb', line 64 def get_logo_small request(:get_logo_small, Softlayer::Marketplace::Partner::Attachment) end |
#get_logo_small_temp ⇒ Object
68 69 70 |
# File 'lib/softlayer/marketplace/partner.rb', line 68 def get_logo_small_temp request(:get_logo_small_temp, Softlayer::Marketplace::Partner::Attachment) end |
#get_object ⇒ Object
72 73 74 |
# File 'lib/softlayer/marketplace/partner.rb', line 72 def get_object request(:get_object, Softlayer::Marketplace::Partner) end |