# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module MobileCenterApi
  module Models
    #
    # Model object.
    #
    #
    class AnalyticsModels
      # @return [Integer]
      attr_accessor :total

      # @return [Array<Model>]
      attr_accessor :models_property


      #
      # Mapper for AnalyticsModels class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'AnalyticsModels',
          type: {
            name: 'Composite',
            class_name: 'AnalyticsModels',
            model_properties: {
              total: {
                required: false,
                serialized_name: 'total',
                type: {
                  name: 'Number'
                }
              },
              models_property: {
                required: false,
                serialized_name: 'models',
                type: {
                  name: 'Sequence',
                  element: {
                      required: false,
                      serialized_name: 'ModelElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'Model'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end
