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

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

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Auxiliary_Press_Release_Content'

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

#idObject

Returns the value of attribute id.



7
8
9
# File 'lib/softlayer/auxiliary/press/release/content.rb', line 7

def id
  @id
end

#press_release_idObject

Returns the value of attribute press_release_id.



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

def press_release_id
  @press_release_id
end

#textObject

Returns the value of attribute text.



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

def text
  @text
end

Instance Method Details

#get_objectObject



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

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