class Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ImportTaskResult

Model object.

Attributes

date_completed[RW]

@return [DateTime] The date at which the import job completed (Not present if not yet completed). The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.

date_created[RW]

@return [DateTime] The date at which the import job was created. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.

error_details[RW]

@return [String] Details of any errors encountered during the import, if any.

id[RW]

@return [String] Unique identifier of the import task.

state[RW]

@return [JobStates] The current state of the import task. Possible values include: 'Queued', 'Started', 'Succeeded', 'Failed'

Private Class Methods

mapper() click to toggle source

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

# File lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/import_task_result.rb, line 45
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'importTaskResult',
    type: {
      name: 'Composite',
      class_name: 'ImportTaskResult',
      model_properties: {
        storage_url: {
          client_side_validation: true,
          required: false,
          serialized_name: 'storageUrl',
          type: {
            name: 'String'
          }
        },
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'state',
          type: {
            name: 'String'
          }
        },
        date_created: {
          client_side_validation: true,
          required: false,
          serialized_name: 'dateCreated',
          type: {
            name: 'DateTime'
          }
        },
        date_completed: {
          client_side_validation: true,
          required: false,
          serialized_name: 'dateCompleted',
          type: {
            name: 'DateTime'
          }
        },
        error_details: {
          client_side_validation: true,
          required: false,
          serialized_name: 'errorDetails',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end