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

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

Defined Under Namespace

Modules: Press Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Auxiliary_Press_Release_Contact'

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

#emailObject

Returns the value of attribute email.



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

def email
  @email
end

#first_nameObject

Returns the value of attribute first_name.



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

def first_name
  @first_name
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#last_nameObject

Returns the value of attribute last_name.



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

def last_name
  @last_name
end

#phoneObject

Returns the value of attribute phone.



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

def phone
  @phone
end

#professional_titleObject

Returns the value of attribute professional_title.



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

def professional_title
  @professional_title
end

Instance Method Details

#get_objectObject



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

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