class Azure::StorageCache::Mgmt::V2020_10_01::Models::AscOperation

The status of operation.

Attributes

end_time[RW]

@return [String] The end time of the operation.

error[RW]

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

id[RW]

@return [String] The operation Id.

name[RW]

@return [String] The operation name.

output[RW]

@return Additional Operation Specific Properties

start_time[RW]

@return [String] The start time of the operation.

status[RW]

@return [String] The status of the operation.

Private Class Methods

mapper() click to toggle source

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

# File lib/2020-10-01/generated/azure_mgmt_storagecache/models/asc_operation.rb, line 41
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AscOperation',
    type: {
      name: 'Composite',
      class_name: 'AscOperation',
      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: 'String'
          }
        },
        end_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'endTime',
          type: {
            name: 'String'
          }
        },
        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: 'ErrorResponse'
          }
        },
        output: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.output',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ObjectElementType',
                type: {
                  name: 'Object'
                }
            }
          }
        }
      }
    }
  }
end