Class: Softlayer::Account::Shipment::Tracking::Data

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/account/shipment/tracking/data.rb

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Account_Shipment_Tracking_Data'

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_employeeObject

Returns the value of attribute create_employee.



14
15
16
# File 'lib/softlayer/account/shipment/tracking/data.rb', line 14

def create_employee
  @create_employee
end

#create_userObject

Returns the value of attribute create_user.



15
16
17
# File 'lib/softlayer/account/shipment/tracking/data.rb', line 15

def create_user
  @create_user
end

#create_user_idObject

Returns the value of attribute create_user_id.



7
8
9
# File 'lib/softlayer/account/shipment/tracking/data.rb', line 7

def create_user_id
  @create_user_id
end

#idObject

Returns the value of attribute id.



8
9
10
# File 'lib/softlayer/account/shipment/tracking/data.rb', line 8

def id
  @id
end

#modify_employeeObject

Returns the value of attribute modify_employee.



16
17
18
# File 'lib/softlayer/account/shipment/tracking/data.rb', line 16

def modify_employee
  @modify_employee
end

#modify_userObject

Returns the value of attribute modify_user.



17
18
19
# File 'lib/softlayer/account/shipment/tracking/data.rb', line 17

def modify_user
  @modify_user
end

#modify_user_idObject

Returns the value of attribute modify_user_id.



9
10
11
# File 'lib/softlayer/account/shipment/tracking/data.rb', line 9

def modify_user_id
  @modify_user_id
end

#package_idObject

Returns the value of attribute package_id.



10
11
12
# File 'lib/softlayer/account/shipment/tracking/data.rb', line 10

def package_id
  @package_id
end

#sequenceObject

Returns the value of attribute sequence.



11
12
13
# File 'lib/softlayer/account/shipment/tracking/data.rb', line 11

def sequence
  @sequence
end

#shipmentObject

Returns the value of attribute shipment.



18
19
20
# File 'lib/softlayer/account/shipment/tracking/data.rb', line 18

def shipment
  @shipment
end

#shipment_idObject

Returns the value of attribute shipment_id.



12
13
14
# File 'lib/softlayer/account/shipment/tracking/data.rb', line 12

def shipment_id
  @shipment_id
end

#tracking_dataObject

Returns the value of attribute tracking_data.



13
14
15
# File 'lib/softlayer/account/shipment/tracking/data.rb', line 13

def tracking_data
  @tracking_data
end

Class Method Details

.create_object(message) ⇒ Object

template_object



21
22
23
# File 'lib/softlayer/account/shipment/tracking/data.rb', line 21

def self.create_object(message)
  request(:create_object, Softlayer::Account::Shipment::Tracking::Data, message)
end

.create_objects(message) ⇒ Object

template_objects



26
27
28
# File 'lib/softlayer/account/shipment/tracking/data.rb', line 26

def self.create_objects(message)
  request(:create_objects, Array[Softlayer::Account::Shipment::Tracking::Data], message)
end

Instance Method Details

#delete_objectObject



30
31
32
# File 'lib/softlayer/account/shipment/tracking/data.rb', line 30

def delete_object
  request(:delete_object, Boolean)
end

#edit_object(message) ⇒ Object

template_object



35
36
37
# File 'lib/softlayer/account/shipment/tracking/data.rb', line 35

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

#get_create_employeeObject



39
40
41
# File 'lib/softlayer/account/shipment/tracking/data.rb', line 39

def get_create_employee
  request(:get_create_employee, Softlayer::User::Employee)
end

#get_create_userObject



43
44
45
# File 'lib/softlayer/account/shipment/tracking/data.rb', line 43

def get_create_user
  request(:get_create_user, Softlayer::User::Customer)
end

#get_modify_employeeObject



47
48
49
# File 'lib/softlayer/account/shipment/tracking/data.rb', line 47

def get_modify_employee
  request(:get_modify_employee, Softlayer::User::Employee)
end

#get_modify_userObject



51
52
53
# File 'lib/softlayer/account/shipment/tracking/data.rb', line 51

def get_modify_user
  request(:get_modify_user, Softlayer::User::Customer)
end

#get_objectObject



55
56
57
# File 'lib/softlayer/account/shipment/tracking/data.rb', line 55

def get_object
  request(:get_object, Softlayer::Account::Shipment::Tracking::Data)
end

#get_shipmentObject



59
60
61
# File 'lib/softlayer/account/shipment/tracking/data.rb', line 59

def get_shipment
  request(:get_shipment, Softlayer::Account::Shipment)
end