Class: Nomad::JobCreate

Inherits:
Response show all
Defined in:
lib/nomad/api/job.rb

Constant Summary

Constants inherited from Response

Response::BUILTIN_LOADERS

Instance Attribute Summary collapse

Method Summary

Methods inherited from Response

#==, decode, #initialize, #to_h

Constructor Details

This class inherits a constructor from Nomad::Response

Instance Attribute Details

#eval_create_indexInteger (readonly)

The job eval_create_index.

Returns:

  • (Integer)


384
# File 'lib/nomad/api/job.rb', line 384

field :EvalCreateIndex, as: :eval_create_index

#eval_idString (readonly)

The job eval_id.

Returns:

  • (String)


379
# File 'lib/nomad/api/job.rb', line 379

field :EvalID, as: :eval_id, load: :string_as_nil

#indexInteger (readonly)

The job index.

Returns:

  • (Integer)


399
# File 'lib/nomad/api/job.rb', line 399

field :Index, as: :index

#job_modify_indexInteger (readonly)

The job job_modify_index.

Returns:

  • (Integer)


389
# File 'lib/nomad/api/job.rb', line 389

field :JobModifyIndex, as: :job_modify_index

#known_leaderBoolean (readonly)

The job known_leader.

Returns:

  • (Boolean)


409
# File 'lib/nomad/api/job.rb', line 409

field :KnownLeader, as: :known_leader

#last_contactInteger (readonly)

The job last_contact.

Returns:

  • (Integer)


404
# File 'lib/nomad/api/job.rb', line 404

field :LastContact, as: :last_contact

#warningsString (readonly)

The job warnings.

Returns:

  • (String)


394
# File 'lib/nomad/api/job.rb', line 394

field :Warnings, as: :warnings, load: :string_as_nil