Class: Softlayer::Layout::Profile::Containers

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/layout/profile/containers.rb

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Layout_Profile_Containers'

Instance Attribute Summary collapse

Class Method 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

#create_dateObject

Returns the value of attribute create_date.



6
7
8
# File 'lib/softlayer/layout/profile/containers.rb', line 6

def create_date
  @create_date
end

#idObject

Returns the value of attribute id.



7
8
9
# File 'lib/softlayer/layout/profile/containers.rb', line 7

def id
  @id
end

#layout_container_idObject

Returns the value of attribute layout_container_id.



8
9
10
# File 'lib/softlayer/layout/profile/containers.rb', line 8

def layout_container_id
  @layout_container_id
end

#layout_container_typeObject

Returns the value of attribute layout_container_type.



11
12
13
# File 'lib/softlayer/layout/profile/containers.rb', line 11

def layout_container_type
  @layout_container_type
end

#layout_profileObject

Returns the value of attribute layout_profile.



12
13
14
# File 'lib/softlayer/layout/profile/containers.rb', line 12

def layout_profile
  @layout_profile
end

#layout_profile_idObject

Returns the value of attribute layout_profile_id.



9
10
11
# File 'lib/softlayer/layout/profile/containers.rb', line 9

def layout_profile_id
  @layout_profile_id
end

#modify_dateObject

Returns the value of attribute modify_date.



10
11
12
# File 'lib/softlayer/layout/profile/containers.rb', line 10

def modify_date
  @modify_date
end

Class Method Details

.create_object(message) ⇒ Object

template_object



15
16
17
# File 'lib/softlayer/layout/profile/containers.rb', line 15

def self.create_object(message)
  request(:create_object, Boolean, message)
end

Instance Method Details

#edit_object(message) ⇒ Object

template_object



20
21
22
# File 'lib/softlayer/layout/profile/containers.rb', line 20

def edit_object(message)
  request(:edit_object, Boolean, message)
end

#get_layout_container_typeObject



24
25
26
# File 'lib/softlayer/layout/profile/containers.rb', line 24

def get_layout_container_type
  request(:get_layout_container_type, Softlayer::Layout::Container)
end

#get_layout_profileObject



28
29
30
# File 'lib/softlayer/layout/profile/containers.rb', line 28

def get_layout_profile
  request(:get_layout_profile, Softlayer::Layout::Profile)
end

#get_objectObject



32
33
34
# File 'lib/softlayer/layout/profile/containers.rb', line 32

def get_object
  request(:get_object, Softlayer::Layout::Profile::Containers)
end