# 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::Peering::Mgmt::V2019_08_01_preview
  module Models
    #
    # The SKU that defines the tier and kind of the peering.
    #
    class PeeringSku

      include MsRestAzure

      # @return [Name] The name of the peering SKU. Possible values include:
      # 'Basic_Exchange_Free', 'Basic_Direct_Free', 'Premium_Direct_Free',
      # 'Premium_Exchange_Metered', 'Premium_Direct_Metered',
      # 'Premium_Direct_Unlimited'
      attr_accessor :name

      # @return [Tier] The tier of the peering SKU. Possible values include:
      # 'Basic', 'Premium'
      attr_accessor :tier

      # @return [Family] The family of the peering SKU. Possible values
      # include: 'Direct', 'Exchange'
      attr_accessor :family

      # @return [Size] The size of the peering SKU. Possible values include:
      # 'Free', 'Metered', 'Unlimited'
      attr_accessor :size


      #
      # Mapper for PeeringSku class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'PeeringSku',
          type: {
            name: 'Composite',
            class_name: 'PeeringSku',
            model_properties: {
              name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              tier: {
                client_side_validation: true,
                required: false,
                serialized_name: 'tier',
                type: {
                  name: 'String'
                }
              },
              family: {
                client_side_validation: true,
                required: false,
                serialized_name: 'family',
                type: {
                  name: 'String'
                }
              },
              size: {
                client_side_validation: true,
                required: false,
                serialized_name: 'size',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
