Method: KatapultAPI::VirtualMachine#hash
- Defined in:
- lib/katapult-ruby/models/virtual_machine.rb
#hash ⇒ Integer
Calculates hash code according to all attributes.
315 316 317 |
# File 'lib/katapult-ruby/models/virtual_machine.rb', line 315 def hash [id, name, hostname, fqdn, description, created_at, initial_root_password, state, zone, organization, group, package, attached_iso, memory_in_gb, cpu_cores, use_dedicated_cpus, gpu_type, gpus, , tag_names, ip_addresses].hash end |