Class: Softlayer::Hardware::Benchmark::Certification

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/hardware/benchmark/certification.rb

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Hardware_Benchmark_Certification'

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

#accountObject

Returns the value of attribute account.



9
10
11
# File 'lib/softlayer/hardware/benchmark/certification.rb', line 9

def 
  @account
end

#account_idObject

Returns the value of attribute account_id.



6
7
8
# File 'lib/softlayer/hardware/benchmark/certification.rb', line 6

def 
  @account_id
end

#create_dateObject

Returns the value of attribute create_date.



7
8
9
# File 'lib/softlayer/hardware/benchmark/certification.rb', line 7

def create_date
  @create_date
end

#hardwareObject

Returns the value of attribute hardware.



10
11
12
# File 'lib/softlayer/hardware/benchmark/certification.rb', line 10

def hardware
  @hardware
end

#hardware_idObject

Returns the value of attribute hardware_id.



8
9
10
# File 'lib/softlayer/hardware/benchmark/certification.rb', line 8

def hardware_id
  @hardware_id
end

Instance Method Details

#get_accountObject



12
13
14
# File 'lib/softlayer/hardware/benchmark/certification.rb', line 12

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

#get_hardwareObject



16
17
18
# File 'lib/softlayer/hardware/benchmark/certification.rb', line 16

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

#get_objectObject



20
21
22
# File 'lib/softlayer/hardware/benchmark/certification.rb', line 20

def get_object
  request(:get_object, Softlayer::Hardware::Benchmark::Certification)
end

#get_result_fileObject



24
25
26
# File 'lib/softlayer/hardware/benchmark/certification.rb', line 24

def get_result_file
  request(:get_result_file, Softlayer::Base64Binary)
end