Class: ESIClient::GetCharactersCharacterIdStatsIndustry
- Inherits:
-
Object
- Object
- ESIClient::GetCharactersCharacterIdStatsIndustry
- Defined in:
- lib/esi_client/models/get_characters_character_id_stats_industry.rb
Overview
industry object
Instance Attribute Summary collapse
-
#hacking_successes ⇒ Object
hacking_successes integer.
-
#jobs_cancelled ⇒ Object
jobs_cancelled integer.
-
#jobs_completed_copy_blueprint ⇒ Object
jobs_completed_copy_blueprint integer.
-
#jobs_completed_invention ⇒ Object
jobs_completed_invention integer.
-
#jobs_completed_manufacture ⇒ Object
jobs_completed_manufacture integer.
-
#jobs_completed_manufacture_asteroid ⇒ Object
jobs_completed_manufacture_asteroid integer.
-
#jobs_completed_manufacture_asteroid_quantity ⇒ Object
jobs_completed_manufacture_asteroid_quantity integer.
-
#jobs_completed_manufacture_charge ⇒ Object
jobs_completed_manufacture_charge integer.
-
#jobs_completed_manufacture_charge_quantity ⇒ Object
jobs_completed_manufacture_charge_quantity integer.
-
#jobs_completed_manufacture_commodity ⇒ Object
jobs_completed_manufacture_commodity integer.
-
#jobs_completed_manufacture_commodity_quantity ⇒ Object
jobs_completed_manufacture_commodity_quantity integer.
-
#jobs_completed_manufacture_deployable ⇒ Object
jobs_completed_manufacture_deployable integer.
-
#jobs_completed_manufacture_deployable_quantity ⇒ Object
jobs_completed_manufacture_deployable_quantity integer.
-
#jobs_completed_manufacture_drone ⇒ Object
jobs_completed_manufacture_drone integer.
-
#jobs_completed_manufacture_drone_quantity ⇒ Object
jobs_completed_manufacture_drone_quantity integer.
-
#jobs_completed_manufacture_implant ⇒ Object
jobs_completed_manufacture_implant integer.
-
#jobs_completed_manufacture_implant_quantity ⇒ Object
jobs_completed_manufacture_implant_quantity integer.
-
#jobs_completed_manufacture_module ⇒ Object
jobs_completed_manufacture_module integer.
-
#jobs_completed_manufacture_module_quantity ⇒ Object
jobs_completed_manufacture_module_quantity integer.
-
#jobs_completed_manufacture_other ⇒ Object
jobs_completed_manufacture_other integer.
-
#jobs_completed_manufacture_other_quantity ⇒ Object
jobs_completed_manufacture_other_quantity integer.
-
#jobs_completed_manufacture_ship ⇒ Object
jobs_completed_manufacture_ship integer.
-
#jobs_completed_manufacture_ship_quantity ⇒ Object
jobs_completed_manufacture_ship_quantity integer.
-
#jobs_completed_manufacture_structure ⇒ Object
jobs_completed_manufacture_structure integer.
-
#jobs_completed_manufacture_structure_quantity ⇒ Object
jobs_completed_manufacture_structure_quantity integer.
-
#jobs_completed_manufacture_subsystem ⇒ Object
jobs_completed_manufacture_subsystem integer.
-
#jobs_completed_manufacture_subsystem_quantity ⇒ Object
jobs_completed_manufacture_subsystem_quantity integer.
-
#jobs_completed_material_productivity ⇒ Object
jobs_completed_material_productivity integer.
-
#jobs_completed_time_productivity ⇒ Object
jobs_completed_time_productivity integer.
-
#jobs_started_copy_blueprint ⇒ Object
jobs_started_copy_blueprint integer.
-
#jobs_started_invention ⇒ Object
jobs_started_invention integer.
-
#jobs_started_manufacture ⇒ Object
jobs_started_manufacture integer.
-
#jobs_started_material_productivity ⇒ Object
jobs_started_material_productivity integer.
-
#jobs_started_time_productivity ⇒ Object
jobs_started_time_productivity integer.
-
#reprocess_item ⇒ Object
reprocess_item integer.
-
#reprocess_item_quantity ⇒ Object
reprocess_item_quantity integer.
Class Method Summary collapse
-
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
-
.swagger_types ⇒ Object
Attribute type mapping.
Instance Method Summary collapse
-
#==(o) ⇒ Object
Checks equality by comparing each attribute.
-
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type.
-
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash.
-
#build_from_hash(attributes) ⇒ Object
Builds the object from hash.
- #eql?(o) ⇒ Boolean
-
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
-
#initialize(attributes = {}) ⇒ GetCharactersCharacterIdStatsIndustry
constructor
Initializes the object.
-
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons.
-
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility).
-
#to_hash ⇒ Hash
Returns the object in the form of hash.
-
#to_s ⇒ String
Returns the string representation of the object.
-
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid.
Constructor Details
#initialize(attributes = {}) ⇒ GetCharactersCharacterIdStatsIndustry
Initializes the object
212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 212 def initialize(attributes = {}) return unless attributes.is_a?(Hash) # convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v } if attributes.has_key?(:'hacking_successes') self.hacking_successes = attributes[:'hacking_successes'] end if attributes.has_key?(:'jobs_cancelled') self.jobs_cancelled = attributes[:'jobs_cancelled'] end if attributes.has_key?(:'jobs_completed_copy_blueprint') self.jobs_completed_copy_blueprint = attributes[:'jobs_completed_copy_blueprint'] end if attributes.has_key?(:'jobs_completed_invention') self.jobs_completed_invention = attributes[:'jobs_completed_invention'] end if attributes.has_key?(:'jobs_completed_manufacture') self.jobs_completed_manufacture = attributes[:'jobs_completed_manufacture'] end if attributes.has_key?(:'jobs_completed_manufacture_asteroid') self.jobs_completed_manufacture_asteroid = attributes[:'jobs_completed_manufacture_asteroid'] end if attributes.has_key?(:'jobs_completed_manufacture_asteroid_quantity') self.jobs_completed_manufacture_asteroid_quantity = attributes[:'jobs_completed_manufacture_asteroid_quantity'] end if attributes.has_key?(:'jobs_completed_manufacture_charge') self.jobs_completed_manufacture_charge = attributes[:'jobs_completed_manufacture_charge'] end if attributes.has_key?(:'jobs_completed_manufacture_charge_quantity') self.jobs_completed_manufacture_charge_quantity = attributes[:'jobs_completed_manufacture_charge_quantity'] end if attributes.has_key?(:'jobs_completed_manufacture_commodity') self.jobs_completed_manufacture_commodity = attributes[:'jobs_completed_manufacture_commodity'] end if attributes.has_key?(:'jobs_completed_manufacture_commodity_quantity') self.jobs_completed_manufacture_commodity_quantity = attributes[:'jobs_completed_manufacture_commodity_quantity'] end if attributes.has_key?(:'jobs_completed_manufacture_deployable') self.jobs_completed_manufacture_deployable = attributes[:'jobs_completed_manufacture_deployable'] end if attributes.has_key?(:'jobs_completed_manufacture_deployable_quantity') self.jobs_completed_manufacture_deployable_quantity = attributes[:'jobs_completed_manufacture_deployable_quantity'] end if attributes.has_key?(:'jobs_completed_manufacture_drone') self.jobs_completed_manufacture_drone = attributes[:'jobs_completed_manufacture_drone'] end if attributes.has_key?(:'jobs_completed_manufacture_drone_quantity') self.jobs_completed_manufacture_drone_quantity = attributes[:'jobs_completed_manufacture_drone_quantity'] end if attributes.has_key?(:'jobs_completed_manufacture_implant') self.jobs_completed_manufacture_implant = attributes[:'jobs_completed_manufacture_implant'] end if attributes.has_key?(:'jobs_completed_manufacture_implant_quantity') self.jobs_completed_manufacture_implant_quantity = attributes[:'jobs_completed_manufacture_implant_quantity'] end if attributes.has_key?(:'jobs_completed_manufacture_module') self.jobs_completed_manufacture_module = attributes[:'jobs_completed_manufacture_module'] end if attributes.has_key?(:'jobs_completed_manufacture_module_quantity') self.jobs_completed_manufacture_module_quantity = attributes[:'jobs_completed_manufacture_module_quantity'] end if attributes.has_key?(:'jobs_completed_manufacture_other') self.jobs_completed_manufacture_other = attributes[:'jobs_completed_manufacture_other'] end if attributes.has_key?(:'jobs_completed_manufacture_other_quantity') self.jobs_completed_manufacture_other_quantity = attributes[:'jobs_completed_manufacture_other_quantity'] end if attributes.has_key?(:'jobs_completed_manufacture_ship') self.jobs_completed_manufacture_ship = attributes[:'jobs_completed_manufacture_ship'] end if attributes.has_key?(:'jobs_completed_manufacture_ship_quantity') self.jobs_completed_manufacture_ship_quantity = attributes[:'jobs_completed_manufacture_ship_quantity'] end if attributes.has_key?(:'jobs_completed_manufacture_structure') self.jobs_completed_manufacture_structure = attributes[:'jobs_completed_manufacture_structure'] end if attributes.has_key?(:'jobs_completed_manufacture_structure_quantity') self.jobs_completed_manufacture_structure_quantity = attributes[:'jobs_completed_manufacture_structure_quantity'] end if attributes.has_key?(:'jobs_completed_manufacture_subsystem') self.jobs_completed_manufacture_subsystem = attributes[:'jobs_completed_manufacture_subsystem'] end if attributes.has_key?(:'jobs_completed_manufacture_subsystem_quantity') self.jobs_completed_manufacture_subsystem_quantity = attributes[:'jobs_completed_manufacture_subsystem_quantity'] end if attributes.has_key?(:'jobs_completed_material_productivity') self.jobs_completed_material_productivity = attributes[:'jobs_completed_material_productivity'] end if attributes.has_key?(:'jobs_completed_time_productivity') self.jobs_completed_time_productivity = attributes[:'jobs_completed_time_productivity'] end if attributes.has_key?(:'jobs_started_copy_blueprint') self.jobs_started_copy_blueprint = attributes[:'jobs_started_copy_blueprint'] end if attributes.has_key?(:'jobs_started_invention') self.jobs_started_invention = attributes[:'jobs_started_invention'] end if attributes.has_key?(:'jobs_started_manufacture') self.jobs_started_manufacture = attributes[:'jobs_started_manufacture'] end if attributes.has_key?(:'jobs_started_material_productivity') self.jobs_started_material_productivity = attributes[:'jobs_started_material_productivity'] end if attributes.has_key?(:'jobs_started_time_productivity') self.jobs_started_time_productivity = attributes[:'jobs_started_time_productivity'] end if attributes.has_key?(:'reprocess_item') self.reprocess_item = attributes[:'reprocess_item'] end if attributes.has_key?(:'reprocess_item_quantity') self.reprocess_item_quantity = attributes[:'reprocess_item_quantity'] end end |
Instance Attribute Details
#hacking_successes ⇒ Object
hacking_successes integer
19 20 21 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 19 def hacking_successes @hacking_successes end |
#jobs_cancelled ⇒ Object
jobs_cancelled integer
22 23 24 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 22 def jobs_cancelled @jobs_cancelled end |
#jobs_completed_copy_blueprint ⇒ Object
jobs_completed_copy_blueprint integer
25 26 27 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 25 def jobs_completed_copy_blueprint @jobs_completed_copy_blueprint end |
#jobs_completed_invention ⇒ Object
jobs_completed_invention integer
28 29 30 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 28 def jobs_completed_invention @jobs_completed_invention end |
#jobs_completed_manufacture ⇒ Object
jobs_completed_manufacture integer
31 32 33 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 31 def jobs_completed_manufacture @jobs_completed_manufacture end |
#jobs_completed_manufacture_asteroid ⇒ Object
jobs_completed_manufacture_asteroid integer
34 35 36 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 34 def jobs_completed_manufacture_asteroid @jobs_completed_manufacture_asteroid end |
#jobs_completed_manufacture_asteroid_quantity ⇒ Object
jobs_completed_manufacture_asteroid_quantity integer
37 38 39 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 37 def jobs_completed_manufacture_asteroid_quantity @jobs_completed_manufacture_asteroid_quantity end |
#jobs_completed_manufacture_charge ⇒ Object
jobs_completed_manufacture_charge integer
40 41 42 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 40 def jobs_completed_manufacture_charge @jobs_completed_manufacture_charge end |
#jobs_completed_manufacture_charge_quantity ⇒ Object
jobs_completed_manufacture_charge_quantity integer
43 44 45 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 43 def jobs_completed_manufacture_charge_quantity @jobs_completed_manufacture_charge_quantity end |
#jobs_completed_manufacture_commodity ⇒ Object
jobs_completed_manufacture_commodity integer
46 47 48 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 46 def jobs_completed_manufacture_commodity @jobs_completed_manufacture_commodity end |
#jobs_completed_manufacture_commodity_quantity ⇒ Object
jobs_completed_manufacture_commodity_quantity integer
49 50 51 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 49 def jobs_completed_manufacture_commodity_quantity @jobs_completed_manufacture_commodity_quantity end |
#jobs_completed_manufacture_deployable ⇒ Object
jobs_completed_manufacture_deployable integer
52 53 54 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 52 def jobs_completed_manufacture_deployable @jobs_completed_manufacture_deployable end |
#jobs_completed_manufacture_deployable_quantity ⇒ Object
jobs_completed_manufacture_deployable_quantity integer
55 56 57 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 55 def jobs_completed_manufacture_deployable_quantity @jobs_completed_manufacture_deployable_quantity end |
#jobs_completed_manufacture_drone ⇒ Object
jobs_completed_manufacture_drone integer
58 59 60 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 58 def jobs_completed_manufacture_drone @jobs_completed_manufacture_drone end |
#jobs_completed_manufacture_drone_quantity ⇒ Object
jobs_completed_manufacture_drone_quantity integer
61 62 63 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 61 def jobs_completed_manufacture_drone_quantity @jobs_completed_manufacture_drone_quantity end |
#jobs_completed_manufacture_implant ⇒ Object
jobs_completed_manufacture_implant integer
64 65 66 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 64 def jobs_completed_manufacture_implant @jobs_completed_manufacture_implant end |
#jobs_completed_manufacture_implant_quantity ⇒ Object
jobs_completed_manufacture_implant_quantity integer
67 68 69 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 67 def jobs_completed_manufacture_implant_quantity @jobs_completed_manufacture_implant_quantity end |
#jobs_completed_manufacture_module ⇒ Object
jobs_completed_manufacture_module integer
70 71 72 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 70 def jobs_completed_manufacture_module @jobs_completed_manufacture_module end |
#jobs_completed_manufacture_module_quantity ⇒ Object
jobs_completed_manufacture_module_quantity integer
73 74 75 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 73 def jobs_completed_manufacture_module_quantity @jobs_completed_manufacture_module_quantity end |
#jobs_completed_manufacture_other ⇒ Object
jobs_completed_manufacture_other integer
76 77 78 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 76 def jobs_completed_manufacture_other @jobs_completed_manufacture_other end |
#jobs_completed_manufacture_other_quantity ⇒ Object
jobs_completed_manufacture_other_quantity integer
79 80 81 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 79 def jobs_completed_manufacture_other_quantity @jobs_completed_manufacture_other_quantity end |
#jobs_completed_manufacture_ship ⇒ Object
jobs_completed_manufacture_ship integer
82 83 84 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 82 def jobs_completed_manufacture_ship @jobs_completed_manufacture_ship end |
#jobs_completed_manufacture_ship_quantity ⇒ Object
jobs_completed_manufacture_ship_quantity integer
85 86 87 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 85 def jobs_completed_manufacture_ship_quantity @jobs_completed_manufacture_ship_quantity end |
#jobs_completed_manufacture_structure ⇒ Object
jobs_completed_manufacture_structure integer
88 89 90 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 88 def jobs_completed_manufacture_structure @jobs_completed_manufacture_structure end |
#jobs_completed_manufacture_structure_quantity ⇒ Object
jobs_completed_manufacture_structure_quantity integer
91 92 93 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 91 def jobs_completed_manufacture_structure_quantity @jobs_completed_manufacture_structure_quantity end |
#jobs_completed_manufacture_subsystem ⇒ Object
jobs_completed_manufacture_subsystem integer
94 95 96 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 94 def jobs_completed_manufacture_subsystem @jobs_completed_manufacture_subsystem end |
#jobs_completed_manufacture_subsystem_quantity ⇒ Object
jobs_completed_manufacture_subsystem_quantity integer
97 98 99 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 97 def jobs_completed_manufacture_subsystem_quantity @jobs_completed_manufacture_subsystem_quantity end |
#jobs_completed_material_productivity ⇒ Object
jobs_completed_material_productivity integer
100 101 102 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 100 def jobs_completed_material_productivity @jobs_completed_material_productivity end |
#jobs_completed_time_productivity ⇒ Object
jobs_completed_time_productivity integer
103 104 105 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 103 def jobs_completed_time_productivity @jobs_completed_time_productivity end |
#jobs_started_copy_blueprint ⇒ Object
jobs_started_copy_blueprint integer
106 107 108 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 106 def jobs_started_copy_blueprint @jobs_started_copy_blueprint end |
#jobs_started_invention ⇒ Object
jobs_started_invention integer
109 110 111 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 109 def jobs_started_invention @jobs_started_invention end |
#jobs_started_manufacture ⇒ Object
jobs_started_manufacture integer
112 113 114 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 112 def jobs_started_manufacture @jobs_started_manufacture end |
#jobs_started_material_productivity ⇒ Object
jobs_started_material_productivity integer
115 116 117 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 115 def jobs_started_material_productivity @jobs_started_material_productivity end |
#jobs_started_time_productivity ⇒ Object
jobs_started_time_productivity integer
118 119 120 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 118 def jobs_started_time_productivity @jobs_started_time_productivity end |
#reprocess_item ⇒ Object
reprocess_item integer
121 122 123 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 121 def reprocess_item @reprocess_item end |
#reprocess_item_quantity ⇒ Object
reprocess_item_quantity integer
124 125 126 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 124 def reprocess_item_quantity @reprocess_item_quantity end |
Class Method Details
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 127 def self.attribute_map { :'hacking_successes' => :'hacking_successes', :'jobs_cancelled' => :'jobs_cancelled', :'jobs_completed_copy_blueprint' => :'jobs_completed_copy_blueprint', :'jobs_completed_invention' => :'jobs_completed_invention', :'jobs_completed_manufacture' => :'jobs_completed_manufacture', :'jobs_completed_manufacture_asteroid' => :'jobs_completed_manufacture_asteroid', :'jobs_completed_manufacture_asteroid_quantity' => :'jobs_completed_manufacture_asteroid_quantity', :'jobs_completed_manufacture_charge' => :'jobs_completed_manufacture_charge', :'jobs_completed_manufacture_charge_quantity' => :'jobs_completed_manufacture_charge_quantity', :'jobs_completed_manufacture_commodity' => :'jobs_completed_manufacture_commodity', :'jobs_completed_manufacture_commodity_quantity' => :'jobs_completed_manufacture_commodity_quantity', :'jobs_completed_manufacture_deployable' => :'jobs_completed_manufacture_deployable', :'jobs_completed_manufacture_deployable_quantity' => :'jobs_completed_manufacture_deployable_quantity', :'jobs_completed_manufacture_drone' => :'jobs_completed_manufacture_drone', :'jobs_completed_manufacture_drone_quantity' => :'jobs_completed_manufacture_drone_quantity', :'jobs_completed_manufacture_implant' => :'jobs_completed_manufacture_implant', :'jobs_completed_manufacture_implant_quantity' => :'jobs_completed_manufacture_implant_quantity', :'jobs_completed_manufacture_module' => :'jobs_completed_manufacture_module', :'jobs_completed_manufacture_module_quantity' => :'jobs_completed_manufacture_module_quantity', :'jobs_completed_manufacture_other' => :'jobs_completed_manufacture_other', :'jobs_completed_manufacture_other_quantity' => :'jobs_completed_manufacture_other_quantity', :'jobs_completed_manufacture_ship' => :'jobs_completed_manufacture_ship', :'jobs_completed_manufacture_ship_quantity' => :'jobs_completed_manufacture_ship_quantity', :'jobs_completed_manufacture_structure' => :'jobs_completed_manufacture_structure', :'jobs_completed_manufacture_structure_quantity' => :'jobs_completed_manufacture_structure_quantity', :'jobs_completed_manufacture_subsystem' => :'jobs_completed_manufacture_subsystem', :'jobs_completed_manufacture_subsystem_quantity' => :'jobs_completed_manufacture_subsystem_quantity', :'jobs_completed_material_productivity' => :'jobs_completed_material_productivity', :'jobs_completed_time_productivity' => :'jobs_completed_time_productivity', :'jobs_started_copy_blueprint' => :'jobs_started_copy_blueprint', :'jobs_started_invention' => :'jobs_started_invention', :'jobs_started_manufacture' => :'jobs_started_manufacture', :'jobs_started_material_productivity' => :'jobs_started_material_productivity', :'jobs_started_time_productivity' => :'jobs_started_time_productivity', :'reprocess_item' => :'reprocess_item', :'reprocess_item_quantity' => :'reprocess_item_quantity' } end |
.swagger_types ⇒ Object
Attribute type mapping.
169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 169 def self.swagger_types { :'hacking_successes' => :'Integer', :'jobs_cancelled' => :'Integer', :'jobs_completed_copy_blueprint' => :'Integer', :'jobs_completed_invention' => :'Integer', :'jobs_completed_manufacture' => :'Integer', :'jobs_completed_manufacture_asteroid' => :'Integer', :'jobs_completed_manufacture_asteroid_quantity' => :'Integer', :'jobs_completed_manufacture_charge' => :'Integer', :'jobs_completed_manufacture_charge_quantity' => :'Integer', :'jobs_completed_manufacture_commodity' => :'Integer', :'jobs_completed_manufacture_commodity_quantity' => :'Integer', :'jobs_completed_manufacture_deployable' => :'Integer', :'jobs_completed_manufacture_deployable_quantity' => :'Integer', :'jobs_completed_manufacture_drone' => :'Integer', :'jobs_completed_manufacture_drone_quantity' => :'Integer', :'jobs_completed_manufacture_implant' => :'Integer', :'jobs_completed_manufacture_implant_quantity' => :'Integer', :'jobs_completed_manufacture_module' => :'Integer', :'jobs_completed_manufacture_module_quantity' => :'Integer', :'jobs_completed_manufacture_other' => :'Integer', :'jobs_completed_manufacture_other_quantity' => :'Integer', :'jobs_completed_manufacture_ship' => :'Integer', :'jobs_completed_manufacture_ship_quantity' => :'Integer', :'jobs_completed_manufacture_structure' => :'Integer', :'jobs_completed_manufacture_structure_quantity' => :'Integer', :'jobs_completed_manufacture_subsystem' => :'Integer', :'jobs_completed_manufacture_subsystem_quantity' => :'Integer', :'jobs_completed_material_productivity' => :'Integer', :'jobs_completed_time_productivity' => :'Integer', :'jobs_started_copy_blueprint' => :'Integer', :'jobs_started_invention' => :'Integer', :'jobs_started_manufacture' => :'Integer', :'jobs_started_material_productivity' => :'Integer', :'jobs_started_time_productivity' => :'Integer', :'reprocess_item' => :'Integer', :'reprocess_item_quantity' => :'Integer' } end |
Instance Method Details
#==(o) ⇒ Object
Checks equality by comparing each attribute.
378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 378 def ==(o) return true if self.equal?(o) self.class == o.class && hacking_successes == o.hacking_successes && jobs_cancelled == o.jobs_cancelled && jobs_completed_copy_blueprint == o.jobs_completed_copy_blueprint && jobs_completed_invention == o.jobs_completed_invention && jobs_completed_manufacture == o.jobs_completed_manufacture && jobs_completed_manufacture_asteroid == o.jobs_completed_manufacture_asteroid && jobs_completed_manufacture_asteroid_quantity == o.jobs_completed_manufacture_asteroid_quantity && jobs_completed_manufacture_charge == o.jobs_completed_manufacture_charge && jobs_completed_manufacture_charge_quantity == o.jobs_completed_manufacture_charge_quantity && jobs_completed_manufacture_commodity == o.jobs_completed_manufacture_commodity && jobs_completed_manufacture_commodity_quantity == o.jobs_completed_manufacture_commodity_quantity && jobs_completed_manufacture_deployable == o.jobs_completed_manufacture_deployable && jobs_completed_manufacture_deployable_quantity == o.jobs_completed_manufacture_deployable_quantity && jobs_completed_manufacture_drone == o.jobs_completed_manufacture_drone && jobs_completed_manufacture_drone_quantity == o.jobs_completed_manufacture_drone_quantity && jobs_completed_manufacture_implant == o.jobs_completed_manufacture_implant && jobs_completed_manufacture_implant_quantity == o.jobs_completed_manufacture_implant_quantity && jobs_completed_manufacture_module == o.jobs_completed_manufacture_module && jobs_completed_manufacture_module_quantity == o.jobs_completed_manufacture_module_quantity && jobs_completed_manufacture_other == o.jobs_completed_manufacture_other && jobs_completed_manufacture_other_quantity == o.jobs_completed_manufacture_other_quantity && jobs_completed_manufacture_ship == o.jobs_completed_manufacture_ship && jobs_completed_manufacture_ship_quantity == o.jobs_completed_manufacture_ship_quantity && jobs_completed_manufacture_structure == o.jobs_completed_manufacture_structure && jobs_completed_manufacture_structure_quantity == o.jobs_completed_manufacture_structure_quantity && jobs_completed_manufacture_subsystem == o.jobs_completed_manufacture_subsystem && jobs_completed_manufacture_subsystem_quantity == o.jobs_completed_manufacture_subsystem_quantity && jobs_completed_material_productivity == o.jobs_completed_material_productivity && jobs_completed_time_productivity == o.jobs_completed_time_productivity && jobs_started_copy_blueprint == o.jobs_started_copy_blueprint && jobs_started_invention == o.jobs_started_invention && jobs_started_manufacture == o.jobs_started_manufacture && jobs_started_material_productivity == o.jobs_started_material_productivity && jobs_started_time_productivity == o.jobs_started_time_productivity && reprocess_item == o.reprocess_item && reprocess_item_quantity == o.reprocess_item_quantity end |
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type
455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 455 def _deserialize(type, value) case type.to_sym when :DateTime DateTime.parse(value) when :Date Date.parse(value) when :String value.to_s when :Integer value.to_i when :Float value.to_f when :BOOLEAN if value.to_s =~ /\A(true|t|yes|y|1)\z/i true else false end when :Object # generic object (usually a Hash), return directly value when /\AArray<(?<inner_type>.+)>\z/ inner_type = Regexp.last_match[:inner_type] value.map { |v| _deserialize(inner_type, v) } when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/ k_type = Regexp.last_match[:k_type] v_type = Regexp.last_match[:v_type] {}.tap do |hash| value.each do |k, v| hash[_deserialize(k_type, k)] = _deserialize(v_type, v) end end else # model temp_model = ESIClient.const_get(type).new temp_model.build_from_hash(value) end end |
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value
521 522 523 524 525 526 527 528 529 530 531 532 533 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 521 def _to_hash(value) if value.is_a?(Array) value.compact.map { |v| _to_hash(v) } elsif value.is_a?(Hash) {}.tap do |hash| value.each { |k, v| hash[k] = _to_hash(v) } end elsif value.respond_to? :to_hash value.to_hash else value end end |
#build_from_hash(attributes) ⇒ Object
Builds the object from hash
434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 434 def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) self.class.swagger_types.each_pair do |key, type| if type =~ /\AArray<(.*)>/i # check to ensure the input is an array given that the the attribute # is documented as an array but the input is not if attributes[self.class.attribute_map[key]].is_a?(Array) self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) end elsif !attributes[self.class.attribute_map[key]].nil? self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) end # or else data not found in attributes(hash), not an issue as the data can be optional end self end |
#eql?(o) ⇒ Boolean
421 422 423 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 421 def eql?(o) self == o end |
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
427 428 429 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 427 def hash [hacking_successes, jobs_cancelled, jobs_completed_copy_blueprint, jobs_completed_invention, jobs_completed_manufacture, jobs_completed_manufacture_asteroid, jobs_completed_manufacture_asteroid_quantity, jobs_completed_manufacture_charge, jobs_completed_manufacture_charge_quantity, jobs_completed_manufacture_commodity, jobs_completed_manufacture_commodity_quantity, jobs_completed_manufacture_deployable, jobs_completed_manufacture_deployable_quantity, jobs_completed_manufacture_drone, jobs_completed_manufacture_drone_quantity, jobs_completed_manufacture_implant, jobs_completed_manufacture_implant_quantity, jobs_completed_manufacture_module, jobs_completed_manufacture_module_quantity, jobs_completed_manufacture_other, jobs_completed_manufacture_other_quantity, jobs_completed_manufacture_ship, jobs_completed_manufacture_ship_quantity, jobs_completed_manufacture_structure, jobs_completed_manufacture_structure_quantity, jobs_completed_manufacture_subsystem, jobs_completed_manufacture_subsystem_quantity, jobs_completed_material_productivity, jobs_completed_time_productivity, jobs_started_copy_blueprint, jobs_started_invention, jobs_started_manufacture, jobs_started_material_productivity, jobs_started_time_productivity, reprocess_item, reprocess_item_quantity].hash end |
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
365 366 367 368 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 365 def list_invalid_properties invalid_properties = Array.new invalid_properties end |
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility)
501 502 503 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 501 def to_body to_hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
507 508 509 510 511 512 513 514 515 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 507 def to_hash hash = {} self.class.attribute_map.each_pair do |attr, param| value = self.send(attr) next if value.nil? hash[param] = _to_hash(value) end hash end |
#to_s ⇒ String
Returns the string representation of the object
495 496 497 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 495 def to_s to_hash.to_s end |
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
372 373 374 |
# File 'lib/esi_client/models/get_characters_character_id_stats_industry.rb', line 372 def valid? true end |