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

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/auxiliary/press/release/contact/press/release.rb

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Auxiliary_Press_Release_Contact_Press_Release'

Instance Attribute 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

#contact_countObject

Returns the value of attribute contact_count.



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

def contact_count
  @contact_count
end

#contactsObject

Returns the value of attribute contacts.



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

def contacts
  @contacts
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#press_release_contact_idObject

Returns the value of attribute press_release_contact_id.



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

def press_release_contact_id
  @press_release_contact_id
end

#press_release_countObject

Returns the value of attribute press_release_count.



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

def press_release_count
  @press_release_count
end

#press_release_idObject

Returns the value of attribute press_release_id.



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

def press_release_id
  @press_release_id
end

#press_releasesObject

Returns the value of attribute press_releases.



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

def press_releases
  @press_releases
end

#sort_orderObject

Returns the value of attribute sort_order.



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

def sort_order
  @sort_order
end

Instance Method Details

#get_contactsObject



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

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

#get_objectObject



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

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

#get_press_releasesObject



26
27
28
# File 'lib/softlayer/auxiliary/press/release/contact/press/release.rb', line 26

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