# 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::Subscriptions::Mgmt::V2019_10_01_preview
  module Models
    #
    # The parameters required to create a new CSP subscription.
    #
    class ModernCspSubscriptionCreationParameters

      include MsRestAzure

      # @return [String] The friendly name of the subscription.
      attr_accessor :display_name

      # @return [String] The SKU ID of the Azure plan. Azure plan determines
      # the pricing and service-level agreement of the subscription.  Use 001
      # for Microsoft Azure Plan and 002 for Microsoft Azure Plan for DevTest.
      attr_accessor :sku_id

      # @return [String] Reseller ID, basically MPN Id.
      attr_accessor :reseller_id


      #
      # Mapper for ModernCspSubscriptionCreationParameters class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ModernCspSubscriptionCreationParameters',
          type: {
            name: 'Composite',
            class_name: 'ModernCspSubscriptionCreationParameters',
            model_properties: {
              display_name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'displayName',
                type: {
                  name: 'String'
                }
              },
              sku_id: {
                client_side_validation: true,
                required: true,
                serialized_name: 'skuId',
                type: {
                  name: 'String'
                }
              },
              reseller_id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'resellerId',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
