class Azure::Labservices::Mgmt::V2018_10_15::Models::LatestOperationResult

Details of the status of an operation.

Attributes

error_code[RW]

@return [String] Error code on failure.

error_message[RW]

@return [String] The error message.

http_method[RW]

@return [String] The HttpMethod - PUT/POST/DELETE for the operation.

operation_url[RW]

@return [String] The URL to use to check long-running operation status

request_uri[RW]

@return [String] Request URI of the operation.

status[RW]

@return [String] The current status of the operation.

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-10-15/generated/azure_mgmt_labservices/models/latest_operation_result.rb, line 38
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'LatestOperationResult',
    type: {
      name: 'Composite',
      class_name: 'LatestOperationResult',
      model_properties: {
        status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'status',
          type: {
            name: 'String'
          }
        },
        error_code: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'errorCode',
          type: {
            name: 'String'
          }
        },
        error_message: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'errorMessage',
          type: {
            name: 'String'
          }
        },
        request_uri: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'requestUri',
          type: {
            name: 'String'
          }
        },
        http_method: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'httpMethod',
          type: {
            name: 'String'
          }
        },
        operation_url: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'operationUrl',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end