# 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::Monitor::Mgmt::V2017_10_01_preview
  module Models
    #
    # Subscription migrate date information properties
    #
    class EASubscriptionMigrationDate

      include MsRestAzure

      # @return [Boolean] Is subscription in the grand fatherable subscription
      # list.
      attr_accessor :is_grand_fatherable_subscription

      # @return [DateTime] Time to start using new pricing model.
      attr_accessor :opted_in_date


      #
      # Mapper for EASubscriptionMigrationDate class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'EASubscriptionMigrationDate',
          type: {
            name: 'Composite',
            class_name: 'EASubscriptionMigrationDate',
            model_properties: {
              is_grand_fatherable_subscription: {
                client_side_validation: true,
                required: false,
                serialized_name: 'isGrandFatherableSubscription',
                type: {
                  name: 'Boolean'
                }
              },
              opted_in_date: {
                client_side_validation: true,
                required: false,
                serialized_name: 'optedInDate',
                type: {
                  name: 'DateTime'
                }
              }
            }
          }
        }
      end
    end
  end
end
