Class: EveOnline::ESI::Models::IndustryJob
- Defined in:
- lib/eve_online/esi/models/industry_job.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
- #activity_id ⇒ Object
- #as_json ⇒ Object
- #blueprint_id ⇒ Object
- #blueprint_location_id ⇒ Object
- #blueprint_type_id ⇒ Object
- #completed_character_id ⇒ Object
- #completed_date ⇒ Object
- #cost ⇒ Object
- #duration ⇒ Object
- #end_date ⇒ Object
- #facility_id ⇒ Object
- #installer_id ⇒ Object
- #job_id ⇒ Object
- #licensed_runs ⇒ Object
- #output_location_id ⇒ Object
- #pause_date ⇒ Object
- #probability ⇒ Object
- #product_type_id ⇒ Object
- #runs ⇒ Object
- #start_date ⇒ Object
- #station_id ⇒ Object
- #status ⇒ Object
- #successful_runs ⇒ Object
Methods inherited from Base
Constructor Details
This class inherits a constructor from EveOnline::ESI::Models::Base
Instance Method Details
#activity_id ⇒ Object
35 36 37 |
# File 'lib/eve_online/esi/models/industry_job.rb', line 35 def activity_id ['activity_id'] end |
#as_json ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'lib/eve_online/esi/models/industry_job.rb', line 7 def as_json { activity_id: activity_id, blueprint_id: blueprint_id, blueprint_location_id: blueprint_location_id, blueprint_type_id: blueprint_type_id, completed_character_id: completed_character_id, completed_date: completed_date, cost: cost, duration: duration, end_date: end_date, facility_id: facility_id, installer_id: installer_id, job_id: job_id, licensed_runs: licensed_runs, output_location_id: output_location_id, pause_date: pause_date, probability: probability, product_type_id: product_type_id, runs: runs, start_date: start_date, station_id: station_id, status: status, successful_runs: successful_runs # location_id WTF??? } end |
#blueprint_id ⇒ Object
39 40 41 |
# File 'lib/eve_online/esi/models/industry_job.rb', line 39 def blueprint_id ['blueprint_id'] end |
#blueprint_location_id ⇒ Object
43 44 45 |
# File 'lib/eve_online/esi/models/industry_job.rb', line 43 def blueprint_location_id ['blueprint_location_id'] end |
#blueprint_type_id ⇒ Object
47 48 49 |
# File 'lib/eve_online/esi/models/industry_job.rb', line 47 def blueprint_type_id ['blueprint_type_id'] end |
#completed_character_id ⇒ Object
51 52 53 |
# File 'lib/eve_online/esi/models/industry_job.rb', line 51 def completed_character_id ['completed_character_id'] end |
#completed_date ⇒ Object
55 56 57 58 59 |
# File 'lib/eve_online/esi/models/industry_job.rb', line 55 def completed_date completed_date = ['completed_date'] parse_datetime_with_timezone(completed_date) if completed_date end |
#cost ⇒ Object
61 62 63 |
# File 'lib/eve_online/esi/models/industry_job.rb', line 61 def cost ['cost'] end |
#duration ⇒ Object
65 66 67 |
# File 'lib/eve_online/esi/models/industry_job.rb', line 65 def duration ['duration'] end |
#end_date ⇒ Object
69 70 71 72 73 |
# File 'lib/eve_online/esi/models/industry_job.rb', line 69 def end_date end_date = ['end_date'] parse_datetime_with_timezone(end_date) if end_date end |
#facility_id ⇒ Object
75 76 77 |
# File 'lib/eve_online/esi/models/industry_job.rb', line 75 def facility_id ['facility_id'] end |
#installer_id ⇒ Object
79 80 81 |
# File 'lib/eve_online/esi/models/industry_job.rb', line 79 def installer_id ['installer_id'] end |
#job_id ⇒ Object
83 84 85 |
# File 'lib/eve_online/esi/models/industry_job.rb', line 83 def job_id ['job_id'] end |
#licensed_runs ⇒ Object
87 88 89 |
# File 'lib/eve_online/esi/models/industry_job.rb', line 87 def licensed_runs ['licensed_runs'] end |
#output_location_id ⇒ Object
91 92 93 |
# File 'lib/eve_online/esi/models/industry_job.rb', line 91 def output_location_id ['output_location_id'] end |
#pause_date ⇒ Object
95 96 97 98 99 |
# File 'lib/eve_online/esi/models/industry_job.rb', line 95 def pause_date pause_date = ['pause_date'] parse_datetime_with_timezone(pause_date) if pause_date end |
#probability ⇒ Object
101 102 103 |
# File 'lib/eve_online/esi/models/industry_job.rb', line 101 def probability ['probability'] end |
#product_type_id ⇒ Object
105 106 107 |
# File 'lib/eve_online/esi/models/industry_job.rb', line 105 def product_type_id ['product_type_id'] end |
#runs ⇒ Object
109 110 111 |
# File 'lib/eve_online/esi/models/industry_job.rb', line 109 def runs ['runs'] end |
#start_date ⇒ Object
113 114 115 116 117 |
# File 'lib/eve_online/esi/models/industry_job.rb', line 113 def start_date start_date = ['start_date'] parse_datetime_with_timezone(start_date) if start_date end |
#station_id ⇒ Object
119 120 121 |
# File 'lib/eve_online/esi/models/industry_job.rb', line 119 def station_id ['station_id'] end |
#status ⇒ Object
123 124 125 |
# File 'lib/eve_online/esi/models/industry_job.rb', line 123 def status ['status'] end |
#successful_runs ⇒ Object
127 128 129 |
# File 'lib/eve_online/esi/models/industry_job.rb', line 127 def successful_runs ['successful_runs'] end |