Class: Softlayer::Marketplace::Partner

Inherits:
Entity show all
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

Class Method Summary collapse

Instance Method Summary collapse

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_idObject

Returns the value of attribute account_id.



7
8
9
# File 'lib/softlayer/marketplace/partner.rb', line 7

def 
  @account_id
end

#attached_filesObject

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_countObject

Returns the value of attribute attachment_count.



26
27
28
# File 'lib/softlayer/marketplace/partner.rb', line 26

def attachment_count
  @attachment_count
end

#attachmentsObject

Returns the value of attribute attachments.



27
28
29
# File 'lib/softlayer/marketplace/partner.rb', line 27

def attachments
  @attachments
end

#company_descriptionObject

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_nameObject

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_descriptionObject

Returns the value of attribute headline_description.



11
12
13
# File 'lib/softlayer/marketplace/partner.rb', line 11

def headline_description
  @headline_description
end

#idObject

Returns the value of attribute id.



12
13
14
# File 'lib/softlayer/marketplace/partner.rb', line 12

def id
  @id
end

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

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

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_mediumObject

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_tempObject

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_smallObject

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_tempObject

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_descriptionObject

Returns the value of attribute meta_description.



16
17
18
# File 'lib/softlayer/marketplace/partner.rb', line 16

def meta_description
  @meta_description
end

#meta_keywordsObject

Returns the value of attribute meta_keywords.



17
18
19
# File 'lib/softlayer/marketplace/partner.rb', line 17

def meta_keywords
  @meta_keywords
end

#product_benefitsObject

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_idObject

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_longObject

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_shortObject

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_featuresObject

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_nameObject

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_titleObject

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_identifierObject

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_objectsObject



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(message)
  request(:get_all_published_partners, Array[Softlayer::Marketplace::Partner], message)
end

non



47
48
49
# File 'lib/softlayer/marketplace/partner.rb', line 47

def self.get_featured_partners(message)
  request(:get_featured_partners, Array[Softlayer::Marketplace::Partner], message)
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(message)
  request(:get_partner_by_url_identifier, Softlayer::Marketplace::Partner, message)
end

Instance Method Details

#get_attachmentsObject



42
43
44
# File 'lib/softlayer/marketplace/partner.rb', line 42

def get_attachments
  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(message)
  request(:get_file, Softlayer::Marketplace::Partner::File, message)
end

#get_logo_mediumObject



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_tempObject



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_smallObject



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_tempObject



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_objectObject



72
73
74
# File 'lib/softlayer/marketplace/partner.rb', line 72

def get_object
  request(:get_object, Softlayer::Marketplace::Partner)
end