Class: Softlayer::Network::Service::Resource

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/network/service/resource.rb,
lib/softlayer/network/service/resource/hub.rb,
lib/softlayer/network/service/resource/type.rb,
lib/softlayer/network/service/resource/attribute.rb,
lib/softlayer/network/service/resource/hub/swift.rb,
lib/softlayer/network/service/resource/attribute/type.rb,
lib/softlayer/network/service/resource/monitoring_hub.rb,
lib/softlayer/network/service/resource/nimsoft_landing_hub.rb

Direct Known Subclasses

Hub, MonitoringHub

Defined Under Namespace

Classes: Attribute, Hub, MonitoringHub, NimsoftLandingHub, Representer, Type

Instance Attribute Summary collapse

Method Summary

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

#api_hostObject

Returns the value of attribute api_host.



15
16
17
# File 'lib/softlayer/network/service/resource.rb', line 15

def api_host
  @api_host
end

#api_passwordObject

Returns the value of attribute api_password.



16
17
18
# File 'lib/softlayer/network/service/resource.rb', line 16

def api_password
  @api_password
end

#api_pathObject

Returns the value of attribute api_path.



17
18
19
# File 'lib/softlayer/network/service/resource.rb', line 17

def api_path
  @api_path
end

#api_portObject

Returns the value of attribute api_port.



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

def api_port
  @api_port
end

#api_protocolObject

Returns the value of attribute api_protocol.



19
20
21
# File 'lib/softlayer/network/service/resource.rb', line 19

def api_protocol
  @api_protocol
end

#api_usernameObject

Returns the value of attribute api_username.



20
21
22
# File 'lib/softlayer/network/service/resource.rb', line 20

def api_username
  @api_username
end

#api_versionObject

Returns the value of attribute api_version.



21
22
23
# File 'lib/softlayer/network/service/resource.rb', line 21

def api_version
  @api_version
end

#attribute_countObject

Returns the value of attribute attribute_count.



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

def attribute_count
  @attribute_count
end

#attributesObject

Returns the value of attribute attributes.



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

def attributes
  @attributes
end

#backend_ip_addressObject

Returns the value of attribute backend_ip_address.



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

def backend_ip_address
  @backend_ip_address
end

#datacenterObject

Returns the value of attribute datacenter.



23
24
25
# File 'lib/softlayer/network/service/resource.rb', line 23

def datacenter
  @datacenter
end

#frontend_ip_addressObject

Returns the value of attribute frontend_ip_address.



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

def frontend_ip_address
  @frontend_ip_address
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#nameObject

Returns the value of attribute name.



13
14
15
# File 'lib/softlayer/network/service/resource.rb', line 13

def name
  @name
end

#network_deviceObject

Returns the value of attribute network_device.



24
25
26
# File 'lib/softlayer/network/service/resource.rb', line 24

def network_device
  @network_device
end

#ssh_usernameObject

Returns the value of attribute ssh_username.



25
26
27
# File 'lib/softlayer/network/service/resource.rb', line 25

def ssh_username
  @ssh_username
end

#typeObject

Returns the value of attribute type.



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

def type
  @type
end