class Azure::Monitor::Mgmt::V2019_10_17_preview::Models::OperationStatus

The status of operation.

Attributes

end_time[RW]

@return [DateTime] End time of the job in standard ISO8601 format.

error[RW]

@return [ErrorResponseCommon] The error detail of the operation if any.

id[RW]

@return [String] The operation Id.

name[RW]

@return [String] The operation name.

start_time[RW]

@return [DateTime] Start time of the job in standard ISO8601 format.

status[RW]

@return [String] The status of the operation.

Private Class Methods

mapper() click to toggle source

Mapper for OperationStatus class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2019-10-17-preview/generated/azure_mgmt_monitor/models/operation_status.rb, line 38
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'OperationStatus',
    type: {
      name: 'Composite',
      class_name: 'OperationStatus',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        start_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'startTime',
          type: {
            name: 'DateTime'
          }
        },
        end_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'endTime',
          type: {
            name: 'DateTime'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'status',
          type: {
            name: 'String'
          }
        },
        error: {
          client_side_validation: true,
          required: false,
          serialized_name: 'error',
          type: {
            name: 'Composite',
            class_name: 'ErrorResponseCommon'
          }
        }
      }
    }
  }
end