Class: Softlayer::Network::Security::Scanner::Request

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/network/security/scanner/request.rb,
lib/softlayer/network/security/scanner/request/status.rb

Defined Under Namespace

Classes: Representer, Status

Constant Summary collapse

SERVICE =
'SoftLayer_Network_Security_Scanner_Request'

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

#accountObject

Returns the value of attribute account.



17
18
19
# File 'lib/softlayer/network/security/scanner/request.rb', line 17

def 
  @account
end

#account_idObject

Returns the value of attribute account_id.



8
9
10
# File 'lib/softlayer/network/security/scanner/request.rb', line 8

def 
  @account_id
end

#create_dateObject

Returns the value of attribute create_date.



9
10
11
# File 'lib/softlayer/network/security/scanner/request.rb', line 9

def create_date
  @create_date
end

#guestObject

Returns the value of attribute guest.



18
19
20
# File 'lib/softlayer/network/security/scanner/request.rb', line 18

def guest
  @guest
end

#guest_idObject

Returns the value of attribute guest_id.



10
11
12
# File 'lib/softlayer/network/security/scanner/request.rb', line 10

def guest_id
  @guest_id
end

#hardwareObject

Returns the value of attribute hardware.



19
20
21
# File 'lib/softlayer/network/security/scanner/request.rb', line 19

def hardware
  @hardware
end

#hardware_idObject

Returns the value of attribute hardware_id.



11
12
13
# File 'lib/softlayer/network/security/scanner/request.rb', line 11

def hardware_id
  @hardware_id
end

#host_idObject

Returns the value of attribute host_id.



12
13
14
# File 'lib/softlayer/network/security/scanner/request.rb', line 12

def host_id
  @host_id
end

#idObject

Returns the value of attribute id.



13
14
15
# File 'lib/softlayer/network/security/scanner/request.rb', line 13

def id
  @id
end

#ip_addressObject

Returns the value of attribute ip_address.



14
15
16
# File 'lib/softlayer/network/security/scanner/request.rb', line 14

def ip_address
  @ip_address
end

#modify_dateObject

Returns the value of attribute modify_date.



15
16
17
# File 'lib/softlayer/network/security/scanner/request.rb', line 15

def modify_date
  @modify_date
end

#requestor_owned_flagObject

Returns the value of attribute requestor_owned_flag.



20
21
22
# File 'lib/softlayer/network/security/scanner/request.rb', line 20

def requestor_owned_flag
  @requestor_owned_flag
end

#statusObject

Returns the value of attribute status.



21
22
23
# File 'lib/softlayer/network/security/scanner/request.rb', line 21

def status
  @status
end

#status_idObject

Returns the value of attribute status_id.



16
17
18
# File 'lib/softlayer/network/security/scanner/request.rb', line 16

def status_id
  @status_id
end

Class Method Details

.create_object(message) ⇒ Object

template_object



24
25
26
# File 'lib/softlayer/network/security/scanner/request.rb', line 24

def self.create_object(message)
  request(:create_object, Softlayer::Network::Security::Scanner::Request, message)
end

Instance Method Details

#get_accountObject



28
29
30
# File 'lib/softlayer/network/security/scanner/request.rb', line 28

def 
  request(:get_account, Softlayer::Account)
end

#get_guestObject



32
33
34
# File 'lib/softlayer/network/security/scanner/request.rb', line 32

def get_guest
  request(:get_guest, Softlayer::Virtual::Guest)
end

#get_hardwareObject



36
37
38
# File 'lib/softlayer/network/security/scanner/request.rb', line 36

def get_hardware
  request(:get_hardware, Softlayer::Hardware)
end

#get_objectObject



40
41
42
# File 'lib/softlayer/network/security/scanner/request.rb', line 40

def get_object
  request(:get_object, Softlayer::Network::Security::Scanner::Request)
end

#get_reportObject



44
45
46
# File 'lib/softlayer/network/security/scanner/request.rb', line 44

def get_report
  request(:get_report, String)
end

#get_requestor_owned_flagObject



48
49
50
# File 'lib/softlayer/network/security/scanner/request.rb', line 48

def get_requestor_owned_flag
  request(:get_requestor_owned_flag, Boolean)
end

#get_statusObject



52
53
54
# File 'lib/softlayer/network/security/scanner/request.rb', line 52

def get_status
  request(:get_status, Softlayer::Network::Security::Scanner::Request::Status)
end