class Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStatus
Model object.
Attributes
execution_count[RW]
@return [Integer] Gets the number of times this job has executed.
failure_count[RW]
@return [Integer] Gets the number of times this job has failed.
faulted_count[RW]
@return [Integer] Gets the number of faulted occurrences (occurrences that were retried and failed as many times as the retry policy states).
last_execution_time[RW]
@return [DateTime] Gets the time the last occurrence executed in ISO-8601 format. Could be empty if job has not run yet.
next_execution_time[RW]
@return [DateTime] Gets the time of the next occurrence in ISO-8601 format. Could be empty if the job is completed.
Private Class Methods
mapper()
click to toggle source
Mapper for JobStatus
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2016-03-01/generated/azure_mgmt_scheduler/models/job_status.rb, line 39 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'JobStatus', type: { name: 'Composite', class_name: 'JobStatus', model_properties: { execution_count: { client_side_validation: true, required: false, read_only: true, serialized_name: 'executionCount', type: { name: 'Number' } }, failure_count: { client_side_validation: true, required: false, read_only: true, serialized_name: 'failureCount', type: { name: 'Number' } }, faulted_count: { client_side_validation: true, required: false, read_only: true, serialized_name: 'faultedCount', type: { name: 'Number' } }, last_execution_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'lastExecutionTime', type: { name: 'DateTime' } }, next_execution_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'nextExecutionTime', type: { name: 'DateTime' } } } } } end