# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ARM::MobileEngagement module Models # # Model object. # # class ExportTaskResult include MsRestAzure include MsRest::JSONable # @return [String] Unique identifier of the export task. attr_accessor :id # @return [String] A description of the export task. attr_accessor :description # @return [ExportState] Possible values include: 'Queued', 'Started', # 'Succeeded', 'Failed' attr_accessor :state # @return [DateTime] The RFC3339 date-time the export task was created. attr_accessor :date_created # @return [DateTime] The RFC3339 date-time the export task was completed. attr_accessor :date_completed # @return [ExportType] Possible values include: 'Activity', 'Tag', # 'Crash', 'Error', 'Event', 'Job', 'Session', 'Token', 'Push' attr_accessor :export_type # @return [String] Details of errors encountered during the export, if # any. attr_accessor :error_details # # Mapper for ExportTaskResult class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'exportTaskResult', type: { name: 'Composite', class_name: 'ExportTaskResult', model_properties: { id: { required: true, serialized_name: 'id', type: { name: 'String' } }, description: { required: false, serialized_name: 'description', type: { name: 'String' } }, state: { required: true, serialized_name: 'state', type: { name: 'Enum', module: 'ExportState' } }, date_created: { required: true, serialized_name: 'dateCreated', type: { name: 'DateTime' } }, date_completed: { required: false, serialized_name: 'dateCompleted', type: { name: 'DateTime' } }, export_type: { required: true, serialized_name: 'exportType', type: { name: 'Enum', module: 'ExportType' } }, error_details: { required: false, serialized_name: 'errorDetails', type: { name: 'String' } } } } } end end end end