# 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::DataBoxEdge::Mgmt::V2019_08_01
  module Models
    #
    # The network adapter position.
    #
    class NetworkAdapterPosition

      include MsRestAzure

      # @return [NetworkGroup] The network group. Possible values include:
      # 'None', 'NonRDMA', 'RDMA'
      attr_accessor :network_group

      # @return [Integer] The port.
      attr_accessor :port


      #
      # Mapper for NetworkAdapterPosition class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'NetworkAdapterPosition',
          type: {
            name: 'Composite',
            class_name: 'NetworkAdapterPosition',
            model_properties: {
              network_group: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'networkGroup',
                type: {
                  name: 'String'
                }
              },
              port: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'port',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end
