Class: Softlayer::Network::Pod

Inherits:
Entity show all
Defined in:
lib/softlayer/network/pod.rb

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Network_Pod'

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

#backend_router_idObject

Returns the value of attribute backend_router_id.



5
6
7
# File 'lib/softlayer/network/pod.rb', line 5

def backend_router_id
  @backend_router_id
end

#backend_router_nameObject

Returns the value of attribute backend_router_name.



6
7
8
# File 'lib/softlayer/network/pod.rb', line 6

def backend_router_name
  @backend_router_name
end

#capabilitiesObject

Returns the value of attribute capabilities.



7
8
9
# File 'lib/softlayer/network/pod.rb', line 7

def capabilities
  @capabilities
end

#datacenter_long_nameObject

Returns the value of attribute datacenter_long_name.



8
9
10
# File 'lib/softlayer/network/pod.rb', line 8

def datacenter_long_name
  @datacenter_long_name
end

#datacenter_nameObject

Returns the value of attribute datacenter_name.



9
10
11
# File 'lib/softlayer/network/pod.rb', line 9

def datacenter_name
  @datacenter_name
end

#frontend_router_idObject

Returns the value of attribute frontend_router_id.



10
11
12
# File 'lib/softlayer/network/pod.rb', line 10

def frontend_router_id
  @frontend_router_id
end

#frontend_router_nameObject

Returns the value of attribute frontend_router_name.



11
12
13
# File 'lib/softlayer/network/pod.rb', line 11

def frontend_router_name
  @frontend_router_name
end

#nameObject

Returns the value of attribute name.



12
13
14
# File 'lib/softlayer/network/pod.rb', line 12

def name
  @name
end

Class Method Details

.get_all_objectsObject



14
15
16
# File 'lib/softlayer/network/pod.rb', line 14

def self.get_all_objects
  request(:get_all_objects, Array[Softlayer::Network::Pod])
end

.list_capabilitiesObject



26
27
28
# File 'lib/softlayer/network/pod.rb', line 26

def self.list_capabilities
  request(:list_capabilities, Array[String])
end

Instance Method Details

#get_capabilitiesObject



18
19
20
# File 'lib/softlayer/network/pod.rb', line 18

def get_capabilities
  request(:get_capabilities, Array[String])
end

#get_objectObject



22
23
24
# File 'lib/softlayer/network/pod.rb', line 22

def get_object
  request(:get_object, Softlayer::Network::Pod)
end