# 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::V2020_09_01
  module Models
    #
    # Put subscription properties.
    #
    class PutAliasRequestProperties

      include MsRestAzure

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

      # @return [Workload] The workload type of the subscription. It can be
      # either Production or DevTest. Possible values include: 'Production',
      # 'DevTest'
      attr_accessor :workload

      # @return [String] Determines whether subscription is fieldLed,
      # partnerLed or LegacyEA
      attr_accessor :billing_scope

      # @return [String] This parameter can be used to create alias for
      # existing subscription Id
      attr_accessor :subscription_id


      #
      # Mapper for PutAliasRequestProperties class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'PutAliasRequestProperties',
          type: {
            name: 'Composite',
            class_name: 'PutAliasRequestProperties',
            model_properties: {
              display_name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'displayName',
                type: {
                  name: 'String'
                }
              },
              workload: {
                client_side_validation: true,
                required: true,
                serialized_name: 'workload',
                type: {
                  name: 'String'
                }
              },
              billing_scope: {
                client_side_validation: true,
                required: true,
                serialized_name: 'billingScope',
                type: {
                  name: 'String'
                }
              },
              subscription_id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'subscriptionId',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
